@glandais/vcyclist-engine 6.6.0 → 6.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,11 +29,11 @@
29
29
  var CoroutineImpl = kotlin_kotlin.$_$.f6;
30
30
  var Unit_instance = kotlin_kotlin.$_$.l1;
31
31
  var THROW_CCE = kotlin_kotlin.$_$.wb;
32
- var MutableEntry = kotlin_kotlin.$_$.y2;
33
32
  var isInterface = kotlin_kotlin.$_$.f8;
34
33
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.q5;
35
34
  var initMetadataForLambda = kotlin_kotlin.$_$.c8;
36
35
  var constructCallableReference = kotlin_kotlin.$_$.n7;
36
+ var MutableEntry = kotlin_kotlin.$_$.y2;
37
37
  var emptyList = kotlin_kotlin.$_$.s3;
38
38
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u1;
39
39
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.o1;
@@ -150,7 +150,8 @@
150
150
  initMetadataForClass(SmoothingOptions, 'SmoothingOptions', SmoothingOptions);
151
151
  initMetadataForClass(FilterOptions, 'FilterOptions', FilterOptions);
152
152
  initMetadataForLambda(BatchCalculator$setElevations$slambda, CoroutineImpl, VOID, [1]);
153
- initMetadataForCoroutine($setElevationsCOROUTINE$, CoroutineImpl);
153
+ initMetadataForLambda(BatchCalculator$mapByTile$slambda, CoroutineImpl, VOID, [1]);
154
+ initMetadataForCoroutine($mapByTileCOROUTINE$, CoroutineImpl);
154
155
  initMetadataForCoroutine($getElevationsAlongCOROUTINE$, CoroutineImpl);
155
156
  initMetadataForClass(BatchCalculator, 'BatchCalculator', VOID, VOID, VOID, [4, 7]);
156
157
  initMetadataForClass(TileEncoding, 'TileEncoding', VOID, Enum);
@@ -160,13 +161,17 @@
160
161
  initMetadataForObject(Distance, 'Distance');
161
162
  initMetadataForObject(DouglasPeucker, 'DouglasPeucker');
162
163
  initMetadataForObject(EcefConverter, 'EcefConverter');
164
+ initMetadataForClass(UnreadableFlag, 'UnreadableFlag', UnreadableFlag);
163
165
  initMetadataForCoroutine($getElevationCOROUTINE$, CoroutineImpl);
166
+ initMetadataForCoroutine($readOwnCOROUTINE$, CoroutineImpl);
164
167
  initMetadataForCoroutine($getInterpolatedElevationCOROUTINE$, CoroutineImpl);
165
168
  initMetadataForCoroutine($elevationFromPixelCOROUTINE$, CoroutineImpl);
166
- initMetadataForClass(ElevationCalculator, 'ElevationCalculator', VOID, VOID, VOID, [3, 2, 1]);
169
+ initMetadataForClass(ElevationCalculator, 'ElevationCalculator', VOID, VOID, VOID, [3, 4, 2]);
167
170
  initMetadataForObject(ElevationFunctions, 'ElevationFunctions');
168
171
  initMetadataForLambda(ElevationProvider$calculator$slambda, CoroutineImpl, VOID, [2]);
169
172
  initMetadataForLambda(ElevationProvider$calculator$slambda_1, CoroutineImpl, VOID, [2]);
173
+ initMetadataForLambda(ElevationProvider$setElevationsWithOrigin$slambda, CoroutineImpl, VOID, [1]);
174
+ initMetadataForCoroutine($sampleCOROUTINE$, CoroutineImpl);
170
175
  initMetadataForClass(ElevationProvider, 'ElevationProvider', ElevationProvider_init_$Create$, VOID, VOID, [3, 2, 6]);
171
176
  initMetadataForFunctionReference(fetchAndDecodeTile$ref, KFunctionImpl, VOID, [1]);
172
177
  initMetadataForLambda(defaultTileFetcher$slambda, CoroutineImpl, VOID, [1]);
@@ -194,10 +199,13 @@
194
199
  initMetadataForCoroutine($loadCOROUTINE$, CoroutineImpl);
195
200
  initMetadataForClass(LruCache, 'LruCache', VOID, VOID, VOID, [1, 2, 0]);
196
201
  initMetadataForClass(RawTile, 'RawTile');
202
+ initMetadataForClass(TerrainSample, 'TerrainSample');
197
203
  initMetadataForCompanion(Companion_0);
204
+ initMetadataForClass(TerrainOrigin, 'TerrainOrigin', VOID, Enum);
205
+ initMetadataForCompanion(Companion_1);
198
206
  initMetadataForClass(Tile, 'Tile');
199
207
  initMetadataForClass(Entry, 'Entry');
200
- initMetadataForCompanion(Companion_1);
208
+ initMetadataForCompanion(Companion_2);
201
209
  initMetadataForCoroutine($cachedCOROUTINE$, CoroutineImpl);
202
210
  initMetadataForCoroutine($rememberCOROUTINE$, CoroutineImpl);
203
211
  initMetadataForClass(UnreadableTiles, 'UnreadableTiles', VOID, VOID, VOID, [1, 2]);
@@ -221,7 +229,7 @@
221
229
  initMetadataForClass(Pixel, 'Pixel');
222
230
  initMetadataForClass(TileCoordinatesFloat, 'TileCoordinatesFloat');
223
231
  initMetadataForClass(PixelFloat, 'PixelFloat');
224
- initMetadataForCompanion(Companion_2);
232
+ initMetadataForCompanion(Companion_3);
225
233
  initMetadataForClass(Vector3D, 'Vector3D');
226
234
  initMetadataForLambda(getElevation$slambda, CoroutineImpl, VOID, [1]);
227
235
  initMetadataForLambda(getElevationsAlong$slambda, CoroutineImpl, VOID, [1]);
@@ -293,24 +301,82 @@
293
301
  var asLong = numberToLong(d);
294
302
  return toNumber(asLong) === d ? asLong.toString() : d.toString();
295
303
  }
296
- function BatchCalculator$setElevations$slambda($coordinates, this$0, $zoomLevel, $interpolation, $results, resultContinuation) {
297
- this.pz_1 = $coordinates;
298
- this.qz_1 = this$0;
299
- this.rz_1 = $zoomLevel;
300
- this.sz_1 = $interpolation;
301
- this.tz_1 = $results;
304
+ function BatchCalculator$setElevations$slambda(this$0, $zoomLevel, $interpolation, resultContinuation) {
305
+ this.pz_1 = this$0;
306
+ this.qz_1 = $zoomLevel;
307
+ this.rz_1 = $interpolation;
302
308
  CoroutineImpl.call(this, resultContinuation);
303
309
  }
304
- protoOf(BatchCalculator$setElevations$slambda).yz = function (_destruct__k2r9zo, $completion) {
305
- var tmp = this.zz(_destruct__k2r9zo, $completion);
310
+ protoOf(BatchCalculator$setElevations$slambda).vz = function (coord, $completion) {
311
+ var tmp = this.wz(coord, $completion);
306
312
  tmp.l7_1 = Unit_instance;
307
313
  tmp.m7_1 = null;
308
314
  return tmp.r7();
309
315
  };
310
316
  protoOf(BatchCalculator$setElevations$slambda).z7 = function (p1, $completion) {
311
- return this.yz((!(p1 == null) ? isInterface(p1, MutableEntry) : false) ? p1 : THROW_CCE(), $completion);
317
+ return this.vz((!(p1 == null) ? isInterface(p1, Coordinates) : false) ? p1 : THROW_CCE(), $completion);
312
318
  };
313
319
  protoOf(BatchCalculator$setElevations$slambda).r7 = function () {
320
+ var suspendResult = this.l7_1;
321
+ $sm: do
322
+ try {
323
+ var tmp = this.j7_1;
324
+ switch (tmp) {
325
+ case 0:
326
+ this.k7_1 = 2;
327
+ this.uz_1 = this.sz_1.xz();
328
+ this.tz_1 = this.sz_1.yz();
329
+ this.j7_1 = 1;
330
+ suspendResult = this.pz_1.zz_1.d10(this.sz_1, this.qz_1, this.rz_1, this);
331
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
332
+ return suspendResult;
333
+ }
334
+
335
+ continue $sm;
336
+ case 1:
337
+ var ARGUMENT = suspendResult;
338
+ return new LatLonElevation(this.uz_1, this.tz_1, ARGUMENT);
339
+ case 2:
340
+ throw this.m7_1;
341
+ }
342
+ } catch ($p) {
343
+ var e = $p;
344
+ if (this.k7_1 === 2) {
345
+ throw e;
346
+ } else {
347
+ this.j7_1 = this.k7_1;
348
+ this.m7_1 = e;
349
+ }
350
+ }
351
+ while (true);
352
+ };
353
+ protoOf(BatchCalculator$setElevations$slambda).wz = function (coord, completion) {
354
+ var i = new BatchCalculator$setElevations$slambda(this.pz_1, this.qz_1, this.rz_1, completion);
355
+ i.sz_1 = coord;
356
+ return i;
357
+ };
358
+ function BatchCalculator$setElevations$slambda_0(this$0, $zoomLevel, $interpolation, resultContinuation) {
359
+ var i = new BatchCalculator$setElevations$slambda(this$0, $zoomLevel, $interpolation, resultContinuation);
360
+ return constructCallableReference(function (coord, $completion) {
361
+ return i.vz(coord, $completion);
362
+ }, 1);
363
+ }
364
+ function BatchCalculator$mapByTile$slambda($results, $read, $coordinates, resultContinuation) {
365
+ this.m10_1 = $results;
366
+ this.n10_1 = $read;
367
+ this.o10_1 = $coordinates;
368
+ CoroutineImpl.call(this, resultContinuation);
369
+ }
370
+ protoOf(BatchCalculator$mapByTile$slambda).s10 = function (_destruct__k2r9zo, $completion) {
371
+ var tmp = this.t10(_destruct__k2r9zo, $completion);
372
+ tmp.l7_1 = Unit_instance;
373
+ tmp.m7_1 = null;
374
+ return tmp.r7();
375
+ };
376
+ protoOf(BatchCalculator$mapByTile$slambda).z7 = function (p1, $completion) {
377
+ return this.s10((!(p1 == null) ? isInterface(p1, MutableEntry) : false) ? p1 : THROW_CCE(), $completion);
378
+ };
379
+ protoOf(BatchCalculator$mapByTile$slambda).r7 = function () {
314
380
  var suspendResult = this.l7_1;
315
381
  $sm: do
316
382
  try {
@@ -318,28 +384,27 @@
318
384
  switch (tmp) {
319
385
  case 0:
320
386
  this.k7_1 = 4;
321
- var indices = this.uz_1.q1();
322
- this.xz_1 = indices.l();
387
+ var indices = this.p10_1.q1();
388
+ this.r10_1 = indices.l();
323
389
  this.j7_1 = 1;
324
390
  continue $sm;
325
391
  case 1:
326
- if (!this.xz_1.m()) {
392
+ if (!this.r10_1.m()) {
327
393
  this.j7_1 = 3;
328
394
  continue $sm;
329
395
  }
330
396
 
331
- this.wz_1 = this.xz_1.n();
332
- this.vz_1 = this.pz_1.p(this.wz_1);
397
+ this.q10_1 = this.r10_1.n();
333
398
  this.j7_1 = 2;
334
- suspendResult = this.qz_1.a10_1.e10(this.vz_1, this.rz_1, this.sz_1, this);
399
+ suspendResult = this.n10_1(this.o10_1.p(this.q10_1), this);
335
400
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
336
401
  return suspendResult;
337
402
  }
338
403
 
339
404
  continue $sm;
340
405
  case 2:
341
- var ele = suspendResult;
342
- this.tz_1[this.wz_1] = new LatLonElevation(this.vz_1.f10(), this.vz_1.g10(), ele);
406
+ var ARGUMENT = suspendResult;
407
+ this.m10_1[this.q10_1] = ARGUMENT;
343
408
  this.j7_1 = 1;
344
409
  continue $sm;
345
410
  case 3:
@@ -358,26 +423,26 @@
358
423
  }
359
424
  while (true);
360
425
  };
361
- protoOf(BatchCalculator$setElevations$slambda).zz = function (_destruct__k2r9zo, completion) {
362
- var i = new BatchCalculator$setElevations$slambda(this.pz_1, this.qz_1, this.rz_1, this.sz_1, this.tz_1, completion);
363
- i.uz_1 = _destruct__k2r9zo;
426
+ protoOf(BatchCalculator$mapByTile$slambda).t10 = function (_destruct__k2r9zo, completion) {
427
+ var i = new BatchCalculator$mapByTile$slambda(this.m10_1, this.n10_1, this.o10_1, completion);
428
+ i.p10_1 = _destruct__k2r9zo;
364
429
  return i;
365
430
  };
366
- function BatchCalculator$setElevations$slambda_0($coordinates, this$0, $zoomLevel, $interpolation, $results, resultContinuation) {
367
- var i = new BatchCalculator$setElevations$slambda($coordinates, this$0, $zoomLevel, $interpolation, $results, resultContinuation);
431
+ function BatchCalculator$mapByTile$slambda_0($results, $read, $coordinates, resultContinuation) {
432
+ var i = new BatchCalculator$mapByTile$slambda($results, $read, $coordinates, resultContinuation);
368
433
  return constructCallableReference(function (_destruct__k2r9zo, $completion) {
369
- return i.yz(_destruct__k2r9zo, $completion);
434
+ return i.s10(_destruct__k2r9zo, $completion);
370
435
  }, 1);
371
436
  }
372
- function $setElevationsCOROUTINE$(_this__u8e3s4, coordinates, zoomLevel, interpolation, maxParallelTiles, resultContinuation) {
437
+ function $mapByTileCOROUTINE$(_this__u8e3s4, coordinates, zoomLevel, maxParallelTiles, read, resultContinuation) {
373
438
  CoroutineImpl.call(this, resultContinuation);
374
- this.p10_1 = _this__u8e3s4;
375
- this.q10_1 = coordinates;
376
- this.r10_1 = zoomLevel;
377
- this.s10_1 = interpolation;
378
- this.t10_1 = maxParallelTiles;
439
+ this.c11_1 = _this__u8e3s4;
440
+ this.d11_1 = coordinates;
441
+ this.e11_1 = zoomLevel;
442
+ this.f11_1 = maxParallelTiles;
443
+ this.g11_1 = read;
379
444
  }
380
- protoOf($setElevationsCOROUTINE$).r7 = function () {
445
+ protoOf($mapByTileCOROUTINE$).r7 = function () {
381
446
  var suspendResult = this.l7_1;
382
447
  $sm: do
383
448
  try {
@@ -385,20 +450,20 @@
385
450
  switch (tmp) {
386
451
  case 0:
387
452
  this.k7_1 = 2;
388
- if (this.q10_1.r())
453
+ if (this.d11_1.r())
389
454
  return emptyList();
390
455
  var tmp_0 = this;
391
- var size = this.q10_1.o();
392
- tmp_0.u10_1 = Array(size);
456
+ var size = this.d11_1.o();
457
+ tmp_0.h11_1 = Array(size);
393
458
  var byTile = LinkedHashMap_init_$Create$();
394
- var iterator = this.q10_1.l();
459
+ var iterator = this.d11_1.l();
395
460
  var index = 0;
396
461
  while (iterator.m()) {
397
462
  var i = index;
398
463
  index = index + 1 | 0;
399
464
  var p = iterator.n();
400
- var tile = ElevationFunctions_instance.x10(p, this.r10_1);
401
- var key = '' + tile.a11_1 + '/' + tile.y10_1 + '/' + tile.z10_1;
465
+ var tile = ElevationFunctions_instance.k11(p, this.e11_1);
466
+ var key = '' + tile.n11_1 + '/' + tile.l11_1 + '/' + tile.m11_1;
402
467
  var value = byTile.t1(key);
403
468
  var tmp_1;
404
469
  if (value == null) {
@@ -414,14 +479,14 @@
414
479
  this.j7_1 = 1;
415
480
  var tmp_2 = Flux_instance;
416
481
  var tmp_3 = byTile.w1();
417
- suspendResult = tmp_2.b11(tmp_3, this.t10_1, BatchCalculator$setElevations$slambda_0(this.q10_1, this.p10_1, this.r10_1, this.s10_1, this.u10_1, null), this);
482
+ suspendResult = tmp_2.o11(tmp_3, this.f11_1, BatchCalculator$mapByTile$slambda_0(this.h11_1, this.g11_1, this.d11_1, null), this);
418
483
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
419
484
  return suspendResult;
420
485
  }
421
486
 
422
487
  continue $sm;
423
488
  case 1:
424
- var tmp_4 = toList(this.u10_1);
489
+ var tmp_4 = toList(this.h11_1);
425
490
  return isInterface(tmp_4, KtList) ? tmp_4 : THROW_CCE();
426
491
  case 2:
427
492
  throw this.m7_1;
@@ -439,14 +504,14 @@
439
504
  };
440
505
  function $getElevationsAlongCOROUTINE$(_this__u8e3s4, path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, resultContinuation) {
441
506
  CoroutineImpl.call(this, resultContinuation);
442
- this.k11_1 = _this__u8e3s4;
443
- this.l11_1 = path;
444
- this.m11_1 = zoomLevel;
445
- this.n11_1 = step;
446
- this.o11_1 = minDistance;
447
- this.p11_1 = interpolation;
448
- this.q11_1 = smoothingOptions;
449
- this.r11_1 = filterOptions;
507
+ this.x11_1 = _this__u8e3s4;
508
+ this.y11_1 = path;
509
+ this.z11_1 = zoomLevel;
510
+ this.a12_1 = step;
511
+ this.b12_1 = minDistance;
512
+ this.c12_1 = interpolation;
513
+ this.d12_1 = smoothingOptions;
514
+ this.e12_1 = filterOptions;
450
515
  }
451
516
  protoOf($getElevationsAlongCOROUTINE$).r7 = function () {
452
517
  var suspendResult = this.l7_1;
@@ -456,19 +521,19 @@
456
521
  switch (tmp) {
457
522
  case 0:
458
523
  this.k7_1 = 2;
459
- if (!(this.l11_1.o() >= 2)) {
524
+ if (!(this.y11_1.o() >= 2)) {
460
525
  var message = 'Path must contain at least 2 coordinates';
461
526
  throw IllegalArgumentException_init_$Create$(toString(message));
462
527
  }
463
528
 
464
- if (!(this.n11_1 > 1.0)) {
465
- var message_0 = 'Step is too small: ' + formatNumber(this.k11_1, this.n11_1) + ' meters';
529
+ if (!(this.a12_1 > 1.0)) {
530
+ var message_0 = 'Step is too small: ' + formatNumber(this.x11_1, this.a12_1) + ' meters';
466
531
  throw IllegalArgumentException_init_$Create$(toString(message_0));
467
532
  }
468
533
 
469
- var densified = this.k11_1.s11(this.l11_1, this.n11_1, this.o11_1);
534
+ var densified = this.x11_1.f12(this.y11_1, this.a12_1, this.b12_1);
470
535
  this.j7_1 = 1;
471
- suspendResult = this.k11_1.t11(densified, this.m11_1, this.p11_1, VOID, this);
536
+ suspendResult = this.x11_1.g12(densified, this.z11_1, this.c12_1, VOID, this);
472
537
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
473
538
  return suspendResult;
474
539
  }
@@ -477,7 +542,7 @@
477
542
  case 1:
478
543
  var withElevation = suspendResult;
479
544
  var tmp_0;
480
- var tmp1_safe_receiver = this.q11_1;
545
+ var tmp1_safe_receiver = this.d12_1;
481
546
  if ((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.dz_1) === true) {
482
547
  tmp_0 = withElevation.o() >= 3;
483
548
  } else {
@@ -487,12 +552,12 @@
487
552
  if (tmp_0) {
488
553
  var tmp_1 = ElevationSmoother_instance;
489
554
  var tmp_2 = withElevation;
490
- var tmp0_elvis_lhs = this.q11_1.cz_1;
491
- withElevation = tmp_1.u11(tmp_2, tmp0_elvis_lhs == null ? 50.0 : tmp0_elvis_lhs);
555
+ var tmp0_elvis_lhs = this.d12_1.cz_1;
556
+ withElevation = tmp_1.h12(tmp_2, tmp0_elvis_lhs == null ? 50.0 : tmp0_elvis_lhs);
492
557
  }
493
558
 
494
559
  var tmp_3;
495
- var tmp4_safe_receiver = this.r11_1;
560
+ var tmp4_safe_receiver = this.e12_1;
496
561
  if ((tmp4_safe_receiver == null ? null : tmp4_safe_receiver.gz_1) === true) {
497
562
  tmp_3 = withElevation.o() > 2;
498
563
  } else {
@@ -502,10 +567,10 @@
502
567
  if (tmp_3) {
503
568
  var tmp_4 = DouglasPeucker_instance;
504
569
  var tmp_5 = withElevation;
505
- var tmp2_elvis_lhs = this.r11_1.ez_1;
570
+ var tmp2_elvis_lhs = this.e12_1.ez_1;
506
571
  var tmp_6 = tmp2_elvis_lhs == null ? 10.0 : tmp2_elvis_lhs;
507
- var tmp3_elvis_lhs = this.r11_1.fz_1;
508
- withElevation = tmp_4.v11(tmp_5, tmp_6, tmp3_elvis_lhs == null ? 3.0 : tmp3_elvis_lhs);
572
+ var tmp3_elvis_lhs = this.e12_1.fz_1;
573
+ withElevation = tmp_4.i12(tmp_5, tmp_6, tmp3_elvis_lhs == null ? 3.0 : tmp3_elvis_lhs);
509
574
  }
510
575
 
511
576
  return withElevation;
@@ -524,25 +589,34 @@
524
589
  while (true);
525
590
  };
526
591
  function BatchCalculator(calculator) {
527
- this.a10_1 = calculator;
592
+ this.zz_1 = calculator;
528
593
  }
529
- protoOf(BatchCalculator).w11 = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) {
530
- var tmp = new $setElevationsCOROUTINE$(this, coordinates, zoomLevel, interpolation, maxParallelTiles, $completion);
594
+ protoOf(BatchCalculator).j12 = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) {
595
+ if (coordinates.r())
596
+ return emptyList();
597
+ return this.k12(coordinates, zoomLevel, maxParallelTiles, BatchCalculator$setElevations$slambda_0(this, zoomLevel, interpolation, null), $completion);
598
+ };
599
+ protoOf(BatchCalculator).g12 = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion, $super) {
600
+ maxParallelTiles = maxParallelTiles === VOID ? 10 : maxParallelTiles;
601
+ return $super === VOID ? this.j12(coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) : $super.j12.call(this, coordinates, zoomLevel, interpolation, maxParallelTiles, $completion);
602
+ };
603
+ protoOf(BatchCalculator).k12 = function (coordinates, zoomLevel, maxParallelTiles, read, $completion) {
604
+ var tmp = new $mapByTileCOROUTINE$(this, coordinates, zoomLevel, maxParallelTiles, read, $completion);
531
605
  tmp.l7_1 = Unit_instance;
532
606
  tmp.m7_1 = null;
533
607
  return tmp.r7();
534
608
  };
535
- protoOf(BatchCalculator).t11 = function (coordinates, zoomLevel, interpolation, maxParallelTiles, $completion, $super) {
609
+ protoOf(BatchCalculator).l12 = function (coordinates, zoomLevel, maxParallelTiles, read, $completion, $super) {
536
610
  maxParallelTiles = maxParallelTiles === VOID ? 10 : maxParallelTiles;
537
- return $super === VOID ? this.w11(coordinates, zoomLevel, interpolation, maxParallelTiles, $completion) : $super.w11.call(this, coordinates, zoomLevel, interpolation, maxParallelTiles, $completion);
611
+ return $super === VOID ? this.k12(coordinates, zoomLevel, maxParallelTiles, read, $completion) : $super.k12.call(this, coordinates, zoomLevel, maxParallelTiles, read, $completion);
538
612
  };
539
- protoOf(BatchCalculator).x11 = function (path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
613
+ protoOf(BatchCalculator).m12 = function (path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
540
614
  var tmp = new $getElevationsAlongCOROUTINE$(this, path, zoomLevel, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion);
541
615
  tmp.l7_1 = Unit_instance;
542
616
  tmp.m7_1 = null;
543
617
  return tmp.r7();
544
618
  };
545
- protoOf(BatchCalculator).s11 = function (path, step, minDistance) {
619
+ protoOf(BatchCalculator).f12 = function (path, step, minDistance) {
546
620
  if (path.r())
547
621
  return emptyList();
548
622
  var out = ArrayList_init_$Create$_0(imul(path.o(), 2));
@@ -557,10 +631,10 @@
557
631
  var i = inductionVariable;
558
632
  inductionVariable = inductionVariable + 1 | 0;
559
633
  var b = path.p(i);
560
- var d = Distance_instance.y11(anchor, b);
634
+ var d = Distance_instance.n12(anchor, b);
561
635
  if (d < minDistance)
562
636
  continue $l$loop;
563
- var between = this.z11(anchor, b, step, d);
637
+ var between = this.o12(anchor, b, step, d);
564
638
  var inductionVariable_0 = 1;
565
639
  var last_0 = between.o();
566
640
  if (inductionVariable_0 < last_0)
@@ -577,15 +651,15 @@
577
651
  while (inductionVariable < last);
578
652
  return out;
579
653
  };
580
- protoOf(BatchCalculator).z11 = function (a, b, step, distance) {
654
+ protoOf(BatchCalculator).o12 = function (a, b, step, distance) {
581
655
  if (distance <= step)
582
656
  return listOf([a, b]);
583
657
  var numSteps = numberToInt(distance / step);
584
658
  var out = ArrayList_init_$Create$_0(numSteps + 2 | 0);
585
659
  // Inline function 'kotlin.collections.plusAssign' call
586
660
  out.k(a);
587
- var latDiff = b.f10() - a.f10();
588
- var lonDiff = b.g10() - a.g10();
661
+ var latDiff = b.xz() - a.xz();
662
+ var lonDiff = b.yz() - a.yz();
589
663
  var inductionVariable = 1;
590
664
  if (inductionVariable <= numSteps)
591
665
  do {
@@ -593,7 +667,7 @@
593
667
  inductionVariable = inductionVariable + 1 | 0;
594
668
  var f = i * step / distance;
595
669
  // Inline function 'kotlin.collections.plusAssign' call
596
- var element = new LatLon(a.f10() + latDiff * f, a.g10() + lonDiff * f);
670
+ var element = new LatLon(a.xz() + latDiff * f, a.yz() + lonDiff * f);
597
671
  out.k(element);
598
672
  }
599
673
  while (!(i === numSteps));
@@ -685,26 +759,26 @@
685
759
  }
686
760
  function LatLon(latitude, longitude, elevation) {
687
761
  elevation = elevation === VOID ? null : elevation;
688
- this.a12_1 = latitude;
689
- this.b12_1 = longitude;
690
- this.c12_1 = elevation;
762
+ this.p12_1 = latitude;
763
+ this.q12_1 = longitude;
764
+ this.r12_1 = elevation;
691
765
  }
692
- protoOf(LatLon).f10 = function () {
693
- return this.a12_1;
766
+ protoOf(LatLon).xz = function () {
767
+ return this.p12_1;
694
768
  };
695
- protoOf(LatLon).g10 = function () {
696
- return this.b12_1;
769
+ protoOf(LatLon).yz = function () {
770
+ return this.q12_1;
697
771
  };
698
- protoOf(LatLon).d12 = function () {
699
- return this.c12_1;
772
+ protoOf(LatLon).s12 = function () {
773
+ return this.r12_1;
700
774
  };
701
775
  protoOf(LatLon).toString = function () {
702
- return 'LatLon(latitude=' + this.a12_1 + ', longitude=' + this.b12_1 + ', elevation=' + this.c12_1 + ')';
776
+ return 'LatLon(latitude=' + this.p12_1 + ', longitude=' + this.q12_1 + ', elevation=' + this.r12_1 + ')';
703
777
  };
704
778
  protoOf(LatLon).hashCode = function () {
705
- var result = getNumberHashCode(this.a12_1);
706
- result = imul(result, 31) + getNumberHashCode(this.b12_1) | 0;
707
- result = imul(result, 31) + (this.c12_1 == null ? 0 : getNumberHashCode(this.c12_1)) | 0;
779
+ var result = getNumberHashCode(this.p12_1);
780
+ result = imul(result, 31) + getNumberHashCode(this.q12_1) | 0;
781
+ result = imul(result, 31) + (this.r12_1 == null ? 0 : getNumberHashCode(this.r12_1)) | 0;
708
782
  return result;
709
783
  };
710
784
  protoOf(LatLon).equals = function (other) {
@@ -712,37 +786,37 @@
712
786
  return true;
713
787
  if (!(other instanceof LatLon))
714
788
  return false;
715
- if (!equals(this.a12_1, other.a12_1))
789
+ if (!equals(this.p12_1, other.p12_1))
716
790
  return false;
717
- if (!equals(this.b12_1, other.b12_1))
791
+ if (!equals(this.q12_1, other.q12_1))
718
792
  return false;
719
- if (!equals(this.c12_1, other.c12_1))
793
+ if (!equals(this.r12_1, other.r12_1))
720
794
  return false;
721
795
  return true;
722
796
  };
723
797
  function Coordinates() {
724
798
  }
725
799
  function LatLonElevation(latitude, longitude, elevation) {
726
- this.e12_1 = latitude;
727
- this.f12_1 = longitude;
728
- this.g12_1 = elevation;
800
+ this.t12_1 = latitude;
801
+ this.u12_1 = longitude;
802
+ this.v12_1 = elevation;
729
803
  }
730
- protoOf(LatLonElevation).f10 = function () {
731
- return this.e12_1;
804
+ protoOf(LatLonElevation).xz = function () {
805
+ return this.t12_1;
732
806
  };
733
- protoOf(LatLonElevation).g10 = function () {
734
- return this.f12_1;
807
+ protoOf(LatLonElevation).yz = function () {
808
+ return this.u12_1;
735
809
  };
736
- protoOf(LatLonElevation).d12 = function () {
737
- return this.g12_1;
810
+ protoOf(LatLonElevation).s12 = function () {
811
+ return this.v12_1;
738
812
  };
739
813
  protoOf(LatLonElevation).toString = function () {
740
- return 'LatLonElevation(latitude=' + this.e12_1 + ', longitude=' + this.f12_1 + ', elevation=' + this.g12_1 + ')';
814
+ return 'LatLonElevation(latitude=' + this.t12_1 + ', longitude=' + this.u12_1 + ', elevation=' + this.v12_1 + ')';
741
815
  };
742
816
  protoOf(LatLonElevation).hashCode = function () {
743
- var result = getNumberHashCode(this.e12_1);
744
- result = imul(result, 31) + getNumberHashCode(this.f12_1) | 0;
745
- result = imul(result, 31) + getNumberHashCode(this.g12_1) | 0;
817
+ var result = getNumberHashCode(this.t12_1);
818
+ result = imul(result, 31) + getNumberHashCode(this.u12_1) | 0;
819
+ result = imul(result, 31) + getNumberHashCode(this.v12_1) | 0;
746
820
  return result;
747
821
  };
748
822
  protoOf(LatLonElevation).equals = function (other) {
@@ -750,21 +824,21 @@
750
824
  return true;
751
825
  if (!(other instanceof LatLonElevation))
752
826
  return false;
753
- if (!equals(this.e12_1, other.e12_1))
827
+ if (!equals(this.t12_1, other.t12_1))
754
828
  return false;
755
- if (!equals(this.f12_1, other.f12_1))
829
+ if (!equals(this.u12_1, other.u12_1))
756
830
  return false;
757
- if (!equals(this.g12_1, other.g12_1))
831
+ if (!equals(this.v12_1, other.v12_1))
758
832
  return false;
759
833
  return true;
760
834
  };
761
835
  function Distance() {
762
836
  }
763
- protoOf(Distance).y11 = function (coord1, coord2) {
764
- var lat1Rad = coord1.f10() * 0.017453292519943295;
765
- var lat2Rad = coord2.f10() * 0.017453292519943295;
766
- var deltaLat = (coord2.f10() - coord1.f10()) * 0.017453292519943295;
767
- var deltaLon = (coord2.g10() - coord1.g10()) * 0.017453292519943295;
837
+ protoOf(Distance).n12 = function (coord1, coord2) {
838
+ var lat1Rad = coord1.xz() * 0.017453292519943295;
839
+ var lat2Rad = coord2.xz() * 0.017453292519943295;
840
+ var deltaLat = (coord2.xz() - coord1.xz()) * 0.017453292519943295;
841
+ var deltaLon = (coord2.yz() - coord1.yz()) * 0.017453292519943295;
768
842
  // Inline function 'kotlin.math.sin' call
769
843
  var x = deltaLat / 2.0;
770
844
  var sinHalfLat = Math.sin(x);
@@ -786,7 +860,7 @@
786
860
  var c = 2.0 * Math.atan2(tmp0, x_2);
787
861
  return 6371000.0 * c;
788
862
  };
789
- protoOf(Distance).h12 = function (points) {
863
+ protoOf(Distance).w12 = function (points) {
790
864
  if (points.r()) {
791
865
  // Inline function 'kotlin.doubleArrayOf' call
792
866
  return new Float64Array([0.0]);
@@ -798,7 +872,7 @@
798
872
  do {
799
873
  var i = inductionVariable;
800
874
  inductionVariable = inductionVariable + 1 | 0;
801
- out[i] = out[i - 1 | 0] + this.y11(points.p(i - 1 | 0), points.p(i));
875
+ out[i] = out[i - 1 | 0] + this.n12(points.p(i - 1 | 0), points.p(i));
802
876
  }
803
877
  while (inductionVariable < last);
804
878
  return out;
@@ -817,7 +891,7 @@
817
891
  do {
818
892
  var i = inductionVariable;
819
893
  inductionVariable = inductionVariable + 1 | 0;
820
- var d = points.p(i).l12(first, last);
894
+ var d = points.p(i).a13(first, last);
821
895
  if (d > maxDistance) {
822
896
  maxDistance = d;
823
897
  maxIndex = i;
@@ -836,7 +910,7 @@
836
910
  }
837
911
  function DouglasPeucker() {
838
912
  }
839
- protoOf(DouglasPeucker).v11 = function (points, tolerance, zExaggeration) {
913
+ protoOf(DouglasPeucker).i12 = function (points, tolerance, zExaggeration) {
840
914
  if (points.o() <= 2)
841
915
  return toList_0(points);
842
916
  // Inline function 'kotlin.collections.map' call
@@ -845,12 +919,12 @@
845
919
  var _iterator__ex2g4s = points.l();
846
920
  while (_iterator__ex2g4s.m()) {
847
921
  var item = _iterator__ex2g4s.n();
848
- var tmp$ret$2 = EcefConverter_instance.m12(item, zExaggeration);
922
+ var tmp$ret$2 = EcefConverter_instance.b13(item, zExaggeration);
849
923
  destination.k(tmp$ret$2);
850
924
  }
851
925
  var ecef = destination;
852
926
  // Inline function 'kotlin.collections.map' call
853
- var this_0 = this.n12(ecef, tolerance);
927
+ var this_0 = this.c13(ecef, tolerance);
854
928
  // Inline function 'kotlin.collections.mapTo' call
855
929
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
856
930
  var _iterator__ex2g4s_0 = this_0.l();
@@ -861,7 +935,7 @@
861
935
  }
862
936
  return destination_0;
863
937
  };
864
- protoOf(DouglasPeucker).n12 = function (points, tolerance) {
938
+ protoOf(DouglasPeucker).c13 = function (points, tolerance) {
865
939
  if (points.o() <= 2)
866
940
  return toList_0(get_indices(points));
867
941
  var lastIndex = get_lastIndex(points);
@@ -882,10 +956,10 @@
882
956
  }
883
957
  function EcefConverter() {
884
958
  }
885
- protoOf(EcefConverter).m12 = function (coordinates, zExaggeration) {
886
- var latRad = coordinates.f10() * 0.017453292519943295;
887
- var lonRad = coordinates.g10() * 0.017453292519943295;
888
- var tmp0_elvis_lhs = coordinates.d12();
959
+ protoOf(EcefConverter).b13 = function (coordinates, zExaggeration) {
960
+ var latRad = coordinates.xz() * 0.017453292519943295;
961
+ var lonRad = coordinates.yz() * 0.017453292519943295;
962
+ var tmp0_elvis_lhs = coordinates.s12();
889
963
  var elevationExaggerated = zExaggeration * (tmp0_elvis_lhs == null ? 0.0 : tmp0_elvis_lhs);
890
964
  // Inline function 'kotlin.math.sin' call
891
965
  var sinLat = Math.sin(latRad);
@@ -907,24 +981,27 @@
907
981
  function EcefConverter_getInstance() {
908
982
  return EcefConverter_instance;
909
983
  }
910
- function getInterpolatedElevation($this, coords, zoomLevel, $completion) {
911
- var tmp = new $getInterpolatedElevationCOROUTINE$($this, coords, zoomLevel, $completion);
984
+ function UnreadableFlag() {
985
+ this.d13_1 = false;
986
+ }
987
+ function getInterpolatedElevation($this, coords, zoomLevel, touched, $completion) {
988
+ var tmp = new $getInterpolatedElevationCOROUTINE$($this, coords, zoomLevel, touched, $completion);
912
989
  tmp.l7_1 = Unit_instance;
913
990
  tmp.m7_1 = null;
914
991
  return tmp.r7();
915
992
  }
916
- function elevationFromPixel($this, pixel, $completion) {
917
- var tmp = new $elevationFromPixelCOROUTINE$($this, pixel, $completion);
993
+ function elevationFromPixel($this, pixel, touched, $completion) {
994
+ var tmp = new $elevationFromPixelCOROUTINE$($this, pixel, touched, $completion);
918
995
  tmp.l7_1 = Unit_instance;
919
996
  tmp.m7_1 = null;
920
997
  return tmp.r7();
921
998
  }
922
999
  function $getElevationCOROUTINE$(_this__u8e3s4, coords, zoomLevel, interpolation, resultContinuation) {
923
1000
  CoroutineImpl.call(this, resultContinuation);
924
- this.b14_1 = _this__u8e3s4;
925
- this.c14_1 = coords;
926
- this.d14_1 = zoomLevel;
927
- this.e14_1 = interpolation;
1001
+ this.t14_1 = _this__u8e3s4;
1002
+ this.u14_1 = coords;
1003
+ this.v14_1 = zoomLevel;
1004
+ this.w14_1 = interpolation;
928
1005
  }
929
1006
  protoOf($getElevationCOROUTINE$).r7 = function () {
930
1007
  var suspendResult = this.l7_1;
@@ -933,19 +1010,81 @@
933
1010
  var tmp = this.j7_1;
934
1011
  switch (tmp) {
935
1012
  case 0:
936
- this.k7_1 = 8;
937
1013
  this.k7_1 = 4;
938
- if (this.e14_1) {
1014
+ this.j7_1 = 1;
1015
+ suspendResult = this.t14_1.y14(this.u14_1, this.v14_1, this.w14_1, null, this);
1016
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1017
+ return suspendResult;
1018
+ }
1019
+
1020
+ continue $sm;
1021
+ case 1:
1022
+ var own = suspendResult;
1023
+ if (!isNaN_0(own))
1024
+ return own;
1025
+ var tmp0_safe_receiver = this.t14_1.c10_1;
1026
+ if (tmp0_safe_receiver == null) {
1027
+ this.x14_1 = null;
1028
+ this.j7_1 = 3;
1029
+ continue $sm;
1030
+ } else {
1031
+ this.j7_1 = 2;
1032
+ suspendResult = tmp0_safe_receiver(this.u14_1, this.w14_1, this);
1033
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1034
+ return suspendResult;
1035
+ }
1036
+ continue $sm;
1037
+ }
1038
+
1039
+ case 2:
1040
+ this.x14_1 = suspendResult;
1041
+ this.j7_1 = 3;
1042
+ continue $sm;
1043
+ case 3:
1044
+ var tmp1_elvis_lhs = this.x14_1;
1045
+ return tmp1_elvis_lhs == null ? 0.0 : tmp1_elvis_lhs;
1046
+ case 4:
1047
+ throw this.m7_1;
1048
+ }
1049
+ } catch ($p) {
1050
+ var e = $p;
1051
+ if (this.k7_1 === 4) {
1052
+ throw e;
1053
+ } else {
1054
+ this.j7_1 = this.k7_1;
1055
+ this.m7_1 = e;
1056
+ }
1057
+ }
1058
+ while (true);
1059
+ };
1060
+ function $readOwnCOROUTINE$(_this__u8e3s4, coords, zoomLevel, interpolation, touched, resultContinuation) {
1061
+ CoroutineImpl.call(this, resultContinuation);
1062
+ this.h15_1 = _this__u8e3s4;
1063
+ this.i15_1 = coords;
1064
+ this.j15_1 = zoomLevel;
1065
+ this.k15_1 = interpolation;
1066
+ this.l15_1 = touched;
1067
+ }
1068
+ protoOf($readOwnCOROUTINE$).r7 = function () {
1069
+ var suspendResult = this.l7_1;
1070
+ $sm: do
1071
+ try {
1072
+ var tmp = this.j7_1;
1073
+ switch (tmp) {
1074
+ case 0:
1075
+ this.k7_1 = 5;
1076
+ this.k7_1 = 4;
1077
+ if (this.k15_1) {
939
1078
  this.j7_1 = 2;
940
- suspendResult = getInterpolatedElevation(this.b14_1, this.c14_1, this.d14_1, this);
1079
+ suspendResult = getInterpolatedElevation(this.h15_1, this.i15_1, this.j15_1, this.l15_1, this);
941
1080
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
942
1081
  return suspendResult;
943
1082
  }
944
1083
  continue $sm;
945
1084
  } else {
946
- var pixel = ElevationFunctions_instance.i14(this.c14_1, this.d14_1, this.b14_1.c10_1);
1085
+ var pixel = ElevationFunctions_instance.o15(this.i15_1, this.j15_1, this.h15_1.b10_1);
947
1086
  this.j7_1 = 1;
948
- suspendResult = elevationFromPixel(this.b14_1, pixel, this);
1087
+ suspendResult = elevationFromPixel(this.h15_1, pixel, this.l15_1, this);
949
1088
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
950
1089
  return suspendResult;
951
1090
  }
@@ -953,20 +1092,20 @@
953
1092
  }
954
1093
 
955
1094
  case 1:
956
- this.h14_1 = suspendResult;
1095
+ this.n15_1 = suspendResult;
957
1096
  this.j7_1 = 3;
958
1097
  continue $sm;
959
1098
  case 2:
960
- this.h14_1 = suspendResult;
1099
+ this.n15_1 = suspendResult;
961
1100
  this.j7_1 = 3;
962
1101
  continue $sm;
963
1102
  case 3:
964
- this.g14_1 = this.h14_1;
965
- this.k7_1 = 8;
966
- this.j7_1 = 5;
1103
+ this.m15_1 = this.n15_1;
1104
+ this.k7_1 = 5;
1105
+ this.j7_1 = 6;
967
1106
  continue $sm;
968
1107
  case 4:
969
- this.k7_1 = 8;
1108
+ this.k7_1 = 5;
970
1109
  var tmp_0 = this.m7_1;
971
1110
  if (tmp_0 instanceof Error) {
972
1111
  var t = this.m7_1;
@@ -977,37 +1116,14 @@
977
1116
  }
978
1117
 
979
1118
  case 5:
980
- this.k7_1 = 8;
981
- var own = this.g14_1;
982
- if (!isNaN_0(own))
983
- return own;
984
- var tmp0_safe_receiver = this.b14_1.d10_1;
985
- if (tmp0_safe_receiver == null) {
986
- this.f14_1 = null;
987
- this.j7_1 = 7;
988
- continue $sm;
989
- } else {
990
- this.j7_1 = 6;
991
- suspendResult = tmp0_safe_receiver(this.c14_1, this.e14_1, this);
992
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
993
- return suspendResult;
994
- }
995
- continue $sm;
996
- }
997
-
998
- case 6:
999
- this.f14_1 = suspendResult;
1000
- this.j7_1 = 7;
1001
- continue $sm;
1002
- case 7:
1003
- var tmp1_elvis_lhs = this.f14_1;
1004
- return tmp1_elvis_lhs == null ? 0.0 : tmp1_elvis_lhs;
1005
- case 8:
1006
1119
  throw this.m7_1;
1120
+ case 6:
1121
+ this.k7_1 = 5;
1122
+ return this.m15_1;
1007
1123
  }
1008
1124
  } catch ($p) {
1009
1125
  var e = $p;
1010
- if (this.k7_1 === 8) {
1126
+ if (this.k7_1 === 5) {
1011
1127
  throw e;
1012
1128
  } else {
1013
1129
  this.j7_1 = this.k7_1;
@@ -1016,11 +1132,12 @@
1016
1132
  }
1017
1133
  while (true);
1018
1134
  };
1019
- function $getInterpolatedElevationCOROUTINE$(_this__u8e3s4, coords, zoomLevel, resultContinuation) {
1135
+ function $getInterpolatedElevationCOROUTINE$(_this__u8e3s4, coords, zoomLevel, touched, resultContinuation) {
1020
1136
  CoroutineImpl.call(this, resultContinuation);
1021
- this.w12_1 = _this__u8e3s4;
1022
- this.x12_1 = coords;
1023
- this.y12_1 = zoomLevel;
1137
+ this.m13_1 = _this__u8e3s4;
1138
+ this.n13_1 = coords;
1139
+ this.o13_1 = zoomLevel;
1140
+ this.p13_1 = touched;
1024
1141
  }
1025
1142
  protoOf($getInterpolatedElevationCOROUTINE$).r7 = function () {
1026
1143
  var suspendResult = this.l7_1;
@@ -1030,46 +1147,46 @@
1030
1147
  switch (tmp) {
1031
1148
  case 0:
1032
1149
  this.k7_1 = 5;
1033
- this.g13_1 = ElevationFunctions_instance.j14(this.x12_1, this.y12_1, this.w12_1.c10_1);
1034
- var fx = this.g13_1.l14_1 - 0.5;
1035
- var fy = this.g13_1.m14_1 - 0.5;
1150
+ this.x13_1 = ElevationFunctions_instance.p15(this.n13_1, this.o13_1, this.m13_1.b10_1);
1151
+ var fx = this.x13_1.r15_1 - 0.5;
1152
+ var fy = this.x13_1.s15_1 - 0.5;
1036
1153
  var tmp_0 = this;
1037
- tmp_0.h13_1 = numberToInt(Math.floor(fx));
1154
+ tmp_0.y13_1 = numberToInt(Math.floor(fx));
1038
1155
  var tmp_1 = this;
1039
- tmp_1.i13_1 = numberToInt(Math.floor(fy));
1040
- this.f13_1 = this.h13_1 + 1 | 0;
1041
- this.e13_1 = this.i13_1 + 1 | 0;
1042
- this.a13_1 = fx - this.h13_1;
1043
- this.z12_1 = fy - this.i13_1;
1156
+ tmp_1.z13_1 = numberToInt(Math.floor(fy));
1157
+ this.w13_1 = this.y13_1 + 1 | 0;
1158
+ this.v13_1 = this.z13_1 + 1 | 0;
1159
+ this.r13_1 = fx - this.y13_1;
1160
+ this.q13_1 = fy - this.z13_1;
1044
1161
  this.j7_1 = 1;
1045
- suspendResult = elevationFromPixel(this.w12_1, ElevationFunctions_instance.n14(new Pixel(this.g13_1.k14_1, this.h13_1, this.i13_1), this.w12_1.c10_1), this);
1162
+ suspendResult = elevationFromPixel(this.m13_1, ElevationFunctions_instance.t15(new Pixel(this.x13_1.q15_1, this.y13_1, this.z13_1), this.m13_1.b10_1), this.p13_1, this);
1046
1163
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1047
1164
  return suspendResult;
1048
1165
  }
1049
1166
 
1050
1167
  continue $sm;
1051
1168
  case 1:
1052
- this.d13_1 = suspendResult;
1169
+ this.u13_1 = suspendResult;
1053
1170
  this.j7_1 = 2;
1054
- suspendResult = elevationFromPixel(this.w12_1, ElevationFunctions_instance.n14(new Pixel(this.g13_1.k14_1, this.f13_1, this.i13_1), this.w12_1.c10_1), this);
1171
+ suspendResult = elevationFromPixel(this.m13_1, ElevationFunctions_instance.t15(new Pixel(this.x13_1.q15_1, this.w13_1, this.z13_1), this.m13_1.b10_1), this.p13_1, this);
1055
1172
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1056
1173
  return suspendResult;
1057
1174
  }
1058
1175
 
1059
1176
  continue $sm;
1060
1177
  case 2:
1061
- this.c13_1 = suspendResult;
1178
+ this.t13_1 = suspendResult;
1062
1179
  this.j7_1 = 3;
1063
- suspendResult = elevationFromPixel(this.w12_1, ElevationFunctions_instance.n14(new Pixel(this.g13_1.k14_1, this.h13_1, this.e13_1), this.w12_1.c10_1), this);
1180
+ suspendResult = elevationFromPixel(this.m13_1, ElevationFunctions_instance.t15(new Pixel(this.x13_1.q15_1, this.y13_1, this.v13_1), this.m13_1.b10_1), this.p13_1, this);
1064
1181
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1065
1182
  return suspendResult;
1066
1183
  }
1067
1184
 
1068
1185
  continue $sm;
1069
1186
  case 3:
1070
- this.b13_1 = suspendResult;
1187
+ this.s13_1 = suspendResult;
1071
1188
  this.j7_1 = 4;
1072
- suspendResult = elevationFromPixel(this.w12_1, ElevationFunctions_instance.n14(new Pixel(this.g13_1.k14_1, this.f13_1, this.e13_1), this.w12_1.c10_1), this);
1189
+ suspendResult = elevationFromPixel(this.m13_1, ElevationFunctions_instance.t15(new Pixel(this.x13_1.q15_1, this.w13_1, this.v13_1), this.m13_1.b10_1), this.p13_1, this);
1073
1190
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1074
1191
  return suspendResult;
1075
1192
  }
@@ -1077,9 +1194,9 @@
1077
1194
  continue $sm;
1078
1195
  case 4:
1079
1196
  var p11 = suspendResult;
1080
- var top = this.d13_1 * (1.0 - this.a13_1) + this.c13_1 * this.a13_1;
1081
- var bottom = this.b13_1 * (1.0 - this.a13_1) + p11 * this.a13_1;
1082
- return top * (1.0 - this.z12_1) + bottom * this.z12_1;
1197
+ var top = this.u13_1 * (1.0 - this.r13_1) + this.t13_1 * this.r13_1;
1198
+ var bottom = this.s13_1 * (1.0 - this.r13_1) + p11 * this.r13_1;
1199
+ return top * (1.0 - this.q13_1) + bottom * this.q13_1;
1083
1200
  case 5:
1084
1201
  throw this.m7_1;
1085
1202
  }
@@ -1094,10 +1211,11 @@
1094
1211
  }
1095
1212
  while (true);
1096
1213
  };
1097
- function $elevationFromPixelCOROUTINE$(_this__u8e3s4, pixel, resultContinuation) {
1214
+ function $elevationFromPixelCOROUTINE$(_this__u8e3s4, pixel, touched, resultContinuation) {
1098
1215
  CoroutineImpl.call(this, resultContinuation);
1099
- this.r13_1 = _this__u8e3s4;
1100
- this.s13_1 = pixel;
1216
+ this.i14_1 = _this__u8e3s4;
1217
+ this.j14_1 = pixel;
1218
+ this.k14_1 = touched;
1101
1219
  }
1102
1220
  protoOf($elevationFromPixelCOROUTINE$).r7 = function () {
1103
1221
  var suspendResult = this.l7_1;
@@ -1108,14 +1226,17 @@
1108
1226
  case 0:
1109
1227
  this.k7_1 = 2;
1110
1228
  this.j7_1 = 1;
1111
- suspendResult = this.r13_1.b10_1.v14(this.s13_1.o14_1, this);
1229
+ suspendResult = this.i14_1.a10_1.b16(this.j14_1.u15_1, this);
1112
1230
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1113
1231
  return suspendResult;
1114
1232
  }
1115
1233
 
1116
1234
  continue $sm;
1117
1235
  case 1:
1118
- return suspendResult.b15(this.s13_1);
1236
+ var tile = suspendResult;
1237
+ if (!(this.k14_1 == null) && tile.f16_1)
1238
+ this.k14_1.d13_1 = true;
1239
+ return tile.i16(this.j14_1);
1119
1240
  case 2:
1120
1241
  throw this.m7_1;
1121
1242
  }
@@ -1133,42 +1254,48 @@
1133
1254
  function ElevationCalculator(tileManager, tileSize, fallback) {
1134
1255
  tileSize = tileSize === VOID ? 256 : tileSize;
1135
1256
  fallback = fallback === VOID ? null : fallback;
1136
- this.b10_1 = tileManager;
1137
- this.c10_1 = tileSize;
1138
- this.d10_1 = fallback;
1257
+ this.a10_1 = tileManager;
1258
+ this.b10_1 = tileSize;
1259
+ this.c10_1 = fallback;
1139
1260
  }
1140
- protoOf(ElevationCalculator).e10 = function (coords, zoomLevel, interpolation, $completion) {
1261
+ protoOf(ElevationCalculator).d10 = function (coords, zoomLevel, interpolation, $completion) {
1141
1262
  var tmp = new $getElevationCOROUTINE$(this, coords, zoomLevel, interpolation, $completion);
1142
1263
  tmp.l7_1 = Unit_instance;
1143
1264
  tmp.m7_1 = null;
1144
1265
  return tmp.r7();
1145
1266
  };
1267
+ protoOf(ElevationCalculator).y14 = function (coords, zoomLevel, interpolation, touched, $completion) {
1268
+ var tmp = new $readOwnCOROUTINE$(this, coords, zoomLevel, interpolation, touched, $completion);
1269
+ tmp.l7_1 = Unit_instance;
1270
+ tmp.m7_1 = null;
1271
+ return tmp.r7();
1272
+ };
1146
1273
  function formatNumber_0($this, d) {
1147
1274
  var asLong = numberToLong(d);
1148
1275
  return toNumber(asLong) === d ? asLong.toString() : d.toString();
1149
1276
  }
1150
1277
  function ElevationFunctions() {
1151
- this.v10_1 = 0;
1152
- this.w10_1 = 15;
1278
+ this.i11_1 = 0;
1279
+ this.j11_1 = 15;
1153
1280
  }
1154
- protoOf(ElevationFunctions).c15 = function (degrees) {
1281
+ protoOf(ElevationFunctions).j16 = function (degrees) {
1155
1282
  return degrees * 0.017453292519943295;
1156
1283
  };
1157
- protoOf(ElevationFunctions).d15 = function (lat) {
1284
+ protoOf(ElevationFunctions).k16 = function (lat) {
1158
1285
  return lat >= -85.0511 && lat <= 85.0511;
1159
1286
  };
1160
- protoOf(ElevationFunctions).e15 = function (lon) {
1287
+ protoOf(ElevationFunctions).l16 = function (lon) {
1161
1288
  return -180.0 <= lon ? lon <= 180.0 : false;
1162
1289
  };
1163
- protoOf(ElevationFunctions).f15 = function (zoom) {
1290
+ protoOf(ElevationFunctions).m16 = function (zoom) {
1164
1291
  return 0 <= zoom ? zoom <= 15 : false;
1165
1292
  };
1166
- protoOf(ElevationFunctions).n14 = function (pixel, tileSize) {
1167
- var x = pixel.p14_1;
1168
- var y = pixel.q14_1;
1169
- var tileX = pixel.o14_1.y10_1;
1170
- var tileY = pixel.o14_1.z10_1;
1171
- var z = pixel.o14_1.a11_1;
1293
+ protoOf(ElevationFunctions).t15 = function (pixel, tileSize) {
1294
+ var x = pixel.v15_1;
1295
+ var y = pixel.w15_1;
1296
+ var tileX = pixel.u15_1.l11_1;
1297
+ var tileY = pixel.u15_1.m11_1;
1298
+ var z = pixel.u15_1.n11_1;
1172
1299
  if (x < 0) {
1173
1300
  x = x + tileSize | 0;
1174
1301
  tileX = tileX - 1 | 0;
@@ -1202,25 +1329,25 @@
1202
1329
  }
1203
1330
  return new Pixel(new TileCoordinates(tileX, tileY, z), x, y);
1204
1331
  };
1205
- protoOf(ElevationFunctions).g15 = function (coords, z) {
1332
+ protoOf(ElevationFunctions).n16 = function (coords, z) {
1206
1333
  // Inline function 'kotlin.require' call
1207
- if (!this.d15(coords.f10())) {
1208
- var message = 'Invalid latitude: ' + formatNumber_0(ElevationFunctions_instance, coords.f10()) + '. Must be between -85.0511 and 85.0511';
1334
+ if (!this.k16(coords.xz())) {
1335
+ var message = 'Invalid latitude: ' + formatNumber_0(ElevationFunctions_instance, coords.xz()) + '. Must be between -85.0511 and 85.0511';
1209
1336
  throw IllegalArgumentException_init_$Create$(toString(message));
1210
1337
  }
1211
1338
  // Inline function 'kotlin.require' call
1212
- if (!this.e15(coords.g10())) {
1213
- var message_0 = 'Invalid longitude: ' + formatNumber_0(ElevationFunctions_instance, coords.g10()) + '. Must be between -180 and 180';
1339
+ if (!this.l16(coords.yz())) {
1340
+ var message_0 = 'Invalid longitude: ' + formatNumber_0(ElevationFunctions_instance, coords.yz()) + '. Must be between -180 and 180';
1214
1341
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1215
1342
  }
1216
1343
  // Inline function 'kotlin.require' call
1217
- if (!this.f15(z)) {
1344
+ if (!this.m16(z)) {
1218
1345
  var message_1 = 'Invalid zoom level: ' + z + '. Must be between 0 and 15';
1219
1346
  throw IllegalArgumentException_init_$Create$(toString(message_1));
1220
1347
  }
1221
- var lat = this.c15(coords.f10());
1348
+ var lat = this.j16(coords.xz());
1222
1349
  var n = 1 << z;
1223
- var xFloat = (coords.g10() + 180.0) / 360.0 * n;
1350
+ var xFloat = (coords.yz() + 180.0) / 360.0 * n;
1224
1351
  // Inline function 'kotlin.math.tan' call
1225
1352
  var tmp = Math.tan(lat);
1226
1353
  // Inline function 'kotlin.math.cos' call
@@ -1236,27 +1363,27 @@
1236
1363
  var y = coerceIn_1(numberToInt(tmp$ret$10), 0, maxTile);
1237
1364
  return new TileCoordinatesFloat(x_0, y, xFloat, yFloat, z);
1238
1365
  };
1239
- protoOf(ElevationFunctions).x10 = function (coords, z) {
1240
- var tile = this.g15(coords, z);
1241
- return new TileCoordinates(tile.h15_1, tile.i15_1, tile.l15_1);
1366
+ protoOf(ElevationFunctions).k11 = function (coords, z) {
1367
+ var tile = this.n16(coords, z);
1368
+ return new TileCoordinates(tile.o16_1, tile.p16_1, tile.s16_1);
1242
1369
  };
1243
- protoOf(ElevationFunctions).i14 = function (coords, z, tileSize) {
1244
- var tile = this.g15(coords, z);
1370
+ protoOf(ElevationFunctions).o15 = function (coords, z, tileSize) {
1371
+ var tile = this.n16(coords, z);
1245
1372
  // Inline function 'kotlin.math.floor' call
1246
- var x = (tile.j15_1 - tile.h15_1) * tileSize;
1373
+ var x = (tile.q16_1 - tile.o16_1) * tileSize;
1247
1374
  var tmp$ret$0 = Math.floor(x);
1248
1375
  var px = coerceIn_1(numberToInt(tmp$ret$0), 0, tileSize - 1 | 0);
1249
1376
  // Inline function 'kotlin.math.floor' call
1250
- var x_0 = (tile.k15_1 - tile.i15_1) * tileSize;
1377
+ var x_0 = (tile.r16_1 - tile.p16_1) * tileSize;
1251
1378
  var tmp$ret$1 = Math.floor(x_0);
1252
1379
  var py = coerceIn_1(numberToInt(tmp$ret$1), 0, tileSize - 1 | 0);
1253
- return new Pixel(new TileCoordinates(tile.h15_1, tile.i15_1, z), px, py);
1380
+ return new Pixel(new TileCoordinates(tile.o16_1, tile.p16_1, z), px, py);
1254
1381
  };
1255
- protoOf(ElevationFunctions).j14 = function (coords, z, tileSize) {
1256
- var tile = this.g15(coords, z);
1257
- var px = (tile.j15_1 - tile.h15_1) * tileSize;
1258
- var py = (tile.k15_1 - tile.i15_1) * tileSize;
1259
- return new PixelFloat(new TileCoordinates(tile.h15_1, tile.i15_1, z), px, py);
1382
+ protoOf(ElevationFunctions).p15 = function (coords, z, tileSize) {
1383
+ var tile = this.n16(coords, z);
1384
+ var px = (tile.q16_1 - tile.o16_1) * tileSize;
1385
+ var py = (tile.r16_1 - tile.p16_1) * tileSize;
1386
+ return new PixelFloat(new TileCoordinates(tile.o16_1, tile.p16_1, z), px, py);
1260
1387
  };
1261
1388
  var ElevationFunctions_instance;
1262
1389
  function ElevationFunctions_getInstance() {
@@ -1265,32 +1392,38 @@
1265
1392
  function ElevationProvider_init_$Init$(config, fetcher, $this) {
1266
1393
  config = config === VOID ? new ElevationProviderConfig() : config;
1267
1394
  fetcher = fetcher === VOID ? defaultTileFetcher(config) : fetcher;
1268
- ElevationProvider.call($this, config, fetcher, null, false, null);
1395
+ ElevationProvider.call($this, config, fetcher, null, false, null, null);
1269
1396
  return $this;
1270
1397
  }
1271
1398
  function ElevationProvider_init_$Create$(config, fetcher) {
1272
1399
  return ElevationProvider_init_$Init$(config, fetcher, objectCreate(protoOf(ElevationProvider)));
1273
1400
  }
1274
1401
  function ElevationProvider_init_$Init$_0(config, fetcher, keepNoData, $this) {
1275
- ElevationProvider.call($this, config, fetcher, null, keepNoData, null);
1402
+ ElevationProvider.call($this, config, fetcher, null, keepNoData, null, null);
1276
1403
  return $this;
1277
1404
  }
1278
1405
  function ElevationProvider_init_$Create$_0(config, fetcher, keepNoData) {
1279
1406
  return ElevationProvider_init_$Init$_0(config, fetcher, keepNoData, objectCreate(protoOf(ElevationProvider)));
1280
1407
  }
1408
+ function sample($this, coords, interpolation, $completion) {
1409
+ var tmp = new $sampleCOROUTINE$($this, coords, interpolation, $completion);
1410
+ tmp.l7_1 = Unit_instance;
1411
+ tmp.m7_1 = null;
1412
+ return tmp.r7();
1413
+ }
1281
1414
  function ElevationProvider$calculator$slambda(this$0, resultContinuation) {
1282
- this.u15_1 = this$0;
1415
+ this.o17_1 = this$0;
1283
1416
  CoroutineImpl.call(this, resultContinuation);
1284
1417
  }
1285
- protoOf(ElevationProvider$calculator$slambda).x15 = function (coords, interpolation, $completion) {
1286
- var tmp = this.y15(coords, interpolation, $completion);
1418
+ protoOf(ElevationProvider$calculator$slambda).r17 = function (coords, interpolation, $completion) {
1419
+ var tmp = this.s17(coords, interpolation, $completion);
1287
1420
  tmp.l7_1 = Unit_instance;
1288
1421
  tmp.m7_1 = null;
1289
1422
  return tmp.r7();
1290
1423
  };
1291
- protoOf(ElevationProvider$calculator$slambda).z15 = function (p1, p2, $completion) {
1424
+ protoOf(ElevationProvider$calculator$slambda).t17 = function (p1, p2, $completion) {
1292
1425
  var tmp = (!(p1 == null) ? isInterface(p1, Coordinates) : false) ? p1 : THROW_CCE();
1293
- return this.x15(tmp, (!(p2 == null) ? typeof p2 === 'boolean' : false) ? p2 : THROW_CCE(), $completion);
1426
+ return this.r17(tmp, (!(p2 == null) ? typeof p2 === 'boolean' : false) ? p2 : THROW_CCE(), $completion);
1294
1427
  };
1295
1428
  protoOf(ElevationProvider$calculator$slambda).r7 = function () {
1296
1429
  var suspendResult = this.l7_1;
@@ -1301,7 +1434,7 @@
1301
1434
  case 0:
1302
1435
  this.k7_1 = 2;
1303
1436
  this.j7_1 = 1;
1304
- suspendResult = this.u15_1.c16_1.i16(this.v15_1.f10(), this.v15_1.g10(), this.w15_1, this);
1437
+ suspendResult = this.o17_1.w17_1.d18(this.p17_1.xz(), this.p17_1.yz(), this.q17_1, this);
1305
1438
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1306
1439
  return suspendResult;
1307
1440
  }
@@ -1323,30 +1456,30 @@
1323
1456
  }
1324
1457
  while (true);
1325
1458
  };
1326
- protoOf(ElevationProvider$calculator$slambda).y15 = function (coords, interpolation, completion) {
1327
- var i = new ElevationProvider$calculator$slambda(this.u15_1, completion);
1328
- i.v15_1 = coords;
1329
- i.w15_1 = interpolation;
1459
+ protoOf(ElevationProvider$calculator$slambda).s17 = function (coords, interpolation, completion) {
1460
+ var i = new ElevationProvider$calculator$slambda(this.o17_1, completion);
1461
+ i.p17_1 = coords;
1462
+ i.q17_1 = interpolation;
1330
1463
  return i;
1331
1464
  };
1332
1465
  function ElevationProvider$calculator$slambda_0(this$0, resultContinuation) {
1333
1466
  var i = new ElevationProvider$calculator$slambda(this$0, resultContinuation);
1334
1467
  return constructCallableReference(function (coords, interpolation, $completion) {
1335
- return i.x15(coords, interpolation, $completion);
1468
+ return i.r17(coords, interpolation, $completion);
1336
1469
  }, 2);
1337
1470
  }
1338
1471
  function ElevationProvider$calculator$slambda_1(resultContinuation) {
1339
1472
  CoroutineImpl.call(this, resultContinuation);
1340
1473
  }
1341
- protoOf(ElevationProvider$calculator$slambda_1).x15 = function (_unused_var__etf5q3, _unused_var__etf5q3_0, $completion) {
1342
- var tmp = this.y15(_unused_var__etf5q3, _unused_var__etf5q3_0, $completion);
1474
+ protoOf(ElevationProvider$calculator$slambda_1).r17 = function (_unused_var__etf5q3, _unused_var__etf5q3_0, $completion) {
1475
+ var tmp = this.s17(_unused_var__etf5q3, _unused_var__etf5q3_0, $completion);
1343
1476
  tmp.l7_1 = Unit_instance;
1344
1477
  tmp.m7_1 = null;
1345
1478
  return tmp.r7();
1346
1479
  };
1347
- protoOf(ElevationProvider$calculator$slambda_1).z15 = function (p1, p2, $completion) {
1480
+ protoOf(ElevationProvider$calculator$slambda_1).t17 = function (p1, p2, $completion) {
1348
1481
  var tmp = (!(p1 == null) ? isInterface(p1, Coordinates) : false) ? p1 : THROW_CCE();
1349
- return this.x15(tmp, (!(p2 == null) ? typeof p2 === 'boolean' : false) ? p2 : THROW_CCE(), $completion);
1482
+ return this.r17(tmp, (!(p2 == null) ? typeof p2 === 'boolean' : false) ? p2 : THROW_CCE(), $completion);
1350
1483
  };
1351
1484
  protoOf(ElevationProvider$calculator$slambda_1).r7 = function () {
1352
1485
  var suspendResult = this.l7_1;
@@ -1365,106 +1498,236 @@
1365
1498
  }
1366
1499
  while (true);
1367
1500
  };
1368
- protoOf(ElevationProvider$calculator$slambda_1).y15 = function (_unused_var__etf5q3, _unused_var__etf5q3_0, completion) {
1501
+ protoOf(ElevationProvider$calculator$slambda_1).s17 = function (_unused_var__etf5q3, _unused_var__etf5q3_0, completion) {
1369
1502
  var i = new ElevationProvider$calculator$slambda_1(completion);
1370
- i.r16_1 = _unused_var__etf5q3;
1371
- i.s16_1 = _unused_var__etf5q3_0;
1503
+ i.m18_1 = _unused_var__etf5q3;
1504
+ i.n18_1 = _unused_var__etf5q3_0;
1372
1505
  return i;
1373
1506
  };
1374
1507
  function ElevationProvider$calculator$slambda_2(resultContinuation) {
1375
1508
  var i = new ElevationProvider$calculator$slambda_1(resultContinuation);
1376
1509
  return constructCallableReference(function (_unused_var__etf5q3, _unused_var__etf5q3_0, $completion) {
1377
- return i.x15(_unused_var__etf5q3, _unused_var__etf5q3_0, $completion);
1510
+ return i.r17(_unused_var__etf5q3, _unused_var__etf5q3_0, $completion);
1378
1511
  }, 2);
1379
1512
  }
1380
- function ElevationProvider(config, fetcher, fallback, keepNoData, surfaceModel) {
1381
- this.a16_1 = config;
1382
- this.b16_1 = fetcher;
1383
- this.c16_1 = fallback;
1384
- this.d16_1 = keepNoData;
1385
- this.e16_1 = surfaceModel;
1513
+ function ElevationProvider$setElevationsWithOrigin$slambda(this$0, $interpolation, resultContinuation) {
1514
+ this.w18_1 = this$0;
1515
+ this.x18_1 = $interpolation;
1516
+ CoroutineImpl.call(this, resultContinuation);
1517
+ }
1518
+ protoOf(ElevationProvider$setElevationsWithOrigin$slambda).z18 = function (it, $completion) {
1519
+ var tmp = this.wz(it, $completion);
1520
+ tmp.l7_1 = Unit_instance;
1521
+ tmp.m7_1 = null;
1522
+ return tmp.r7();
1523
+ };
1524
+ protoOf(ElevationProvider$setElevationsWithOrigin$slambda).z7 = function (p1, $completion) {
1525
+ return this.z18((!(p1 == null) ? isInterface(p1, Coordinates) : false) ? p1 : THROW_CCE(), $completion);
1526
+ };
1527
+ protoOf(ElevationProvider$setElevationsWithOrigin$slambda).r7 = function () {
1528
+ var suspendResult = this.l7_1;
1529
+ $sm: do
1530
+ try {
1531
+ var tmp = this.j7_1;
1532
+ switch (tmp) {
1533
+ case 0:
1534
+ this.k7_1 = 2;
1535
+ this.j7_1 = 1;
1536
+ suspendResult = sample(this.w18_1, this.y18_1, this.x18_1, this);
1537
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1538
+ return suspendResult;
1539
+ }
1540
+
1541
+ continue $sm;
1542
+ case 1:
1543
+ return suspendResult;
1544
+ case 2:
1545
+ throw this.m7_1;
1546
+ }
1547
+ } catch ($p) {
1548
+ var e = $p;
1549
+ if (this.k7_1 === 2) {
1550
+ throw e;
1551
+ } else {
1552
+ this.j7_1 = this.k7_1;
1553
+ this.m7_1 = e;
1554
+ }
1555
+ }
1556
+ while (true);
1557
+ };
1558
+ protoOf(ElevationProvider$setElevationsWithOrigin$slambda).wz = function (it, completion) {
1559
+ var i = new ElevationProvider$setElevationsWithOrigin$slambda(this.w18_1, this.x18_1, completion);
1560
+ i.y18_1 = it;
1561
+ return i;
1562
+ };
1563
+ function ElevationProvider$setElevationsWithOrigin$slambda_0(this$0, $interpolation, resultContinuation) {
1564
+ var i = new ElevationProvider$setElevationsWithOrigin$slambda(this$0, $interpolation, resultContinuation);
1565
+ return constructCallableReference(function (it, $completion) {
1566
+ return i.z18(it, $completion);
1567
+ }, 1);
1568
+ }
1569
+ function $sampleCOROUTINE$(_this__u8e3s4, coords, interpolation, resultContinuation) {
1570
+ CoroutineImpl.call(this, resultContinuation);
1571
+ this.b17_1 = _this__u8e3s4;
1572
+ this.c17_1 = coords;
1573
+ this.d17_1 = interpolation;
1574
+ }
1575
+ protoOf($sampleCOROUTINE$).r7 = function () {
1576
+ var suspendResult = this.l7_1;
1577
+ $sm: do
1578
+ try {
1579
+ var tmp = this.j7_1;
1580
+ switch (tmp) {
1581
+ case 0:
1582
+ this.k7_1 = 4;
1583
+ this.e17_1 = new UnreadableFlag();
1584
+ this.j7_1 = 1;
1585
+ suspendResult = this.b17_1.b18_1.y14(this.c17_1, this.b17_1.u17_1.a19_1, this.d17_1, this.e17_1, this);
1586
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1587
+ return suspendResult;
1588
+ }
1589
+
1590
+ continue $sm;
1591
+ case 1:
1592
+ var own = suspendResult;
1593
+ if (!isNaN_0(own)) {
1594
+ var origin = Companion_getInstance_1().i19(this.b17_1.u17_1, this.b17_1.z17_1, this.c17_1.xz(), this.c17_1.yz());
1595
+ return new TerrainSample(this.c17_1.xz(), this.c17_1.yz(), own, origin, false);
1596
+ }
1597
+
1598
+ var tmp0_safe_receiver = this.b17_1.w17_1;
1599
+ if (tmp0_safe_receiver == null) {
1600
+ this.f17_1 = null;
1601
+ this.j7_1 = 3;
1602
+ continue $sm;
1603
+ } else {
1604
+ this.j7_1 = 2;
1605
+ suspendResult = sample(tmp0_safe_receiver, this.c17_1, this.d17_1, this);
1606
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1607
+ return suspendResult;
1608
+ }
1609
+ continue $sm;
1610
+ }
1611
+
1612
+ case 2:
1613
+ this.f17_1 = suspendResult;
1614
+ this.j7_1 = 3;
1615
+ continue $sm;
1616
+ case 3:
1617
+ var next = this.f17_1;
1618
+ if (!(next == null))
1619
+ return this.e17_1.d13_1 ? next.o19(VOID, VOID, VOID, VOID, true) : next;
1620
+ return new TerrainSample(this.c17_1.xz(), this.c17_1.yz(), this.b17_1.x17_1 ? NaN : 0.0, TerrainOrigin_NONE_getInstance(), this.e17_1.d13_1);
1621
+ case 4:
1622
+ throw this.m7_1;
1623
+ }
1624
+ } catch ($p) {
1625
+ var e = $p;
1626
+ if (this.k7_1 === 4) {
1627
+ throw e;
1628
+ } else {
1629
+ this.j7_1 = this.k7_1;
1630
+ this.m7_1 = e;
1631
+ }
1632
+ }
1633
+ while (true);
1634
+ };
1635
+ function ElevationProvider(config, fetcher, fallback, keepNoData, surfaceModel, declaredSource) {
1636
+ this.u17_1 = config;
1637
+ this.v17_1 = fetcher;
1638
+ this.w17_1 = fallback;
1639
+ this.x17_1 = keepNoData;
1640
+ this.y17_1 = surfaceModel;
1641
+ this.z17_1 = declaredSource;
1386
1642
  // Inline function 'kotlin.require' call
1387
- if (!ElevationFunctions_instance.f15(this.a16_1.t16_1)) {
1388
- var message = 'Invalid zoom level: ' + this.a16_1.t16_1 + '. Must be an integer between ' + '0 and 15';
1643
+ if (!ElevationFunctions_instance.m16(this.u17_1.a19_1)) {
1644
+ var message = 'Invalid zoom level: ' + this.u17_1.a19_1 + '. Must be an integer between ' + '0 and 15';
1389
1645
  throw IllegalArgumentException_init_$Create$(toString(message));
1390
1646
  }
1391
1647
  // Inline function 'kotlin.require' call
1392
- if (!(this.a16_1.u16_1 > 0)) {
1393
- var message_0 = 'Invalid cache size: ' + this.a16_1.u16_1 + '. Must be a positive integer';
1648
+ if (!(this.u17_1.b19_1 > 0)) {
1649
+ var message_0 = 'Invalid cache size: ' + this.u17_1.b19_1 + '. Must be a positive integer';
1394
1650
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1395
1651
  }
1396
1652
  // Inline function 'kotlin.require' call
1397
- if (!(this.a16_1.w16_1 > 0 && (this.a16_1.w16_1 & (this.a16_1.w16_1 - 1 | 0)) === 0)) {
1398
- var message_1 = 'Invalid tile size: ' + this.a16_1.w16_1 + '. Must be a positive power of 2';
1653
+ if (!(this.u17_1.d19_1 > 0 && (this.u17_1.d19_1 & (this.u17_1.d19_1 - 1 | 0)) === 0)) {
1654
+ var message_1 = 'Invalid tile size: ' + this.u17_1.d19_1 + '. Must be a positive power of 2';
1399
1655
  throw IllegalArgumentException_init_$Create$(toString(message_1));
1400
1656
  }
1401
1657
  // Inline function 'kotlin.require' call
1402
- if (!(this.a16_1.z16_1 >= 0)) {
1403
- var message_2 = 'Invalid maxRequestsPerSecond: ' + this.a16_1.z16_1 + '. Must be 0 (no limit) or positive';
1658
+ if (!(this.u17_1.g19_1 >= 0)) {
1659
+ var message_2 = 'Invalid maxRequestsPerSecond: ' + this.u17_1.g19_1 + '. Must be 0 (no limit) or positive';
1404
1660
  throw IllegalArgumentException_init_$Create$(toString(message_2));
1405
1661
  }
1406
1662
  var tmp = this;
1407
1663
  // Inline function 'kotlin.apply' call
1408
- var this_0 = new TileManager(this.a16_1.v16_1, this.a16_1.u16_1, this.b16_1);
1409
- if (!(this.c16_1 == null))
1410
- this_0.t14_1 = new UnreadableTiles(this.a16_1.v16_1, this.a16_1.w16_1);
1411
- tmp.f16_1 = this_0;
1664
+ var this_0 = new TileManager(this.u17_1.c19_1, this.u17_1.b19_1, this.v17_1);
1665
+ if (!(this.w17_1 == null))
1666
+ this_0.z15_1 = new UnreadableTiles(this.u17_1.c19_1, this.u17_1.d19_1);
1667
+ tmp.a18_1 = this_0;
1412
1668
  var tmp_0 = this;
1413
1669
  var tmp_1;
1414
- if (!(this.c16_1 == null)) {
1670
+ if (!(this.w17_1 == null)) {
1415
1671
  tmp_1 = ElevationProvider$calculator$slambda_0(this, null);
1416
- } else if (this.d16_1) {
1672
+ } else if (this.x17_1) {
1417
1673
  tmp_1 = ElevationProvider$calculator$slambda_2(null);
1418
1674
  } else {
1419
1675
  tmp_1 = null;
1420
1676
  }
1421
- tmp_0.g16_1 = new ElevationCalculator(this.f16_1, this.a16_1.w16_1, tmp_1);
1422
- this.h16_1 = new BatchCalculator(this.g16_1);
1677
+ tmp_0.b18_1 = new ElevationCalculator(this.a18_1, this.u17_1.d19_1, tmp_1);
1678
+ this.c18_1 = new BatchCalculator(this.b18_1);
1423
1679
  }
1424
- protoOf(ElevationProvider).a17 = function (other) {
1680
+ protoOf(ElevationProvider).p19 = function (other) {
1425
1681
  // Inline function 'kotlin.require' call
1426
- if (!!this.d16_1) {
1682
+ if (!!this.x17_1) {
1427
1683
  var message = 'a raw IGN LiDAR HD layer takes no fallback: its no-data must stay NaN';
1428
1684
  throw IllegalArgumentException_init_$Create$(toString(message));
1429
1685
  }
1430
- return new ElevationProvider(this.a16_1, this.b16_1, other, false, this.e16_1);
1686
+ return new ElevationProvider(this.u17_1, this.v17_1, other, false, this.y17_1, this.z17_1);
1431
1687
  };
1432
- protoOf(ElevationProvider).b17 = function (surface) {
1688
+ protoOf(ElevationProvider).q19 = function (surface) {
1433
1689
  // Inline function 'kotlin.require' call
1434
- if (!(surface == null || surface.d16_1)) {
1690
+ if (!(surface == null || surface.x17_1)) {
1435
1691
  var message = 'a surface model must keep its no-data as NaN';
1436
1692
  throw IllegalArgumentException_init_$Create$(toString(message));
1437
1693
  }
1438
1694
  // Inline function 'kotlin.require' call
1439
- if (!!this.d16_1) {
1695
+ if (!!this.x17_1) {
1440
1696
  var message_0 = 'a raw IGN LiDAR HD layer carries no surface model';
1441
1697
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1442
1698
  }
1443
- return new ElevationProvider(this.a16_1, this.b16_1, this.c16_1, false, surface);
1699
+ return new ElevationProvider(this.u17_1, this.v17_1, this.w17_1, false, surface, this.z17_1);
1700
+ };
1701
+ protoOf(ElevationProvider).r19 = function () {
1702
+ return this.u17_1.e19_1;
1444
1703
  };
1445
- protoOf(ElevationProvider).c17 = function () {
1446
- return this.a16_1.x16_1;
1704
+ protoOf(ElevationProvider).d18 = function (latitude, longitude, interpolation, $completion) {
1705
+ return this.b18_1.d10(new LatLon(latitude, longitude), this.u17_1.a19_1, interpolation, $completion);
1447
1706
  };
1448
- protoOf(ElevationProvider).i16 = function (latitude, longitude, interpolation, $completion) {
1449
- return this.g16_1.e10(new LatLon(latitude, longitude), this.a16_1.t16_1, interpolation, $completion);
1707
+ protoOf(ElevationProvider).s19 = function (coordinates, interpolation, $completion) {
1708
+ return this.c18_1.g12(coordinates, this.u17_1.a19_1, interpolation, VOID, $completion);
1709
+ };
1710
+ protoOf(ElevationProvider).t19 = function (coordinates, interpolation, $completion, $super) {
1711
+ interpolation = interpolation === VOID ? true : interpolation;
1712
+ return $super === VOID ? this.s19(coordinates, interpolation, $completion) : $super.s19.call(this, coordinates, interpolation, $completion);
1450
1713
  };
1451
- protoOf(ElevationProvider).d17 = function (coordinates, interpolation, $completion) {
1452
- return this.h16_1.t11(coordinates, this.a16_1.t16_1, interpolation, VOID, $completion);
1714
+ protoOf(ElevationProvider).u19 = function (coordinates, interpolation, $completion) {
1715
+ return this.c18_1.l12(coordinates, this.u17_1.a19_1, VOID, ElevationProvider$setElevationsWithOrigin$slambda_0(this, interpolation, null), $completion);
1453
1716
  };
1454
- protoOf(ElevationProvider).e17 = function (coordinates, interpolation, $completion, $super) {
1717
+ protoOf(ElevationProvider).v19 = function (coordinates, interpolation, $completion, $super) {
1455
1718
  interpolation = interpolation === VOID ? true : interpolation;
1456
- return $super === VOID ? this.d17(coordinates, interpolation, $completion) : $super.d17.call(this, coordinates, interpolation, $completion);
1719
+ return $super === VOID ? this.u19(coordinates, interpolation, $completion) : $super.u19.call(this, coordinates, interpolation, $completion);
1457
1720
  };
1458
- protoOf(ElevationProvider).f17 = function (path, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
1459
- return this.h16_1.x11(path, this.a16_1.t16_1, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion);
1721
+ protoOf(ElevationProvider).w19 = function (path, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion) {
1722
+ return this.c18_1.m12(path, this.u17_1.a19_1, step, minDistance, interpolation, smoothingOptions, filterOptions, $completion);
1460
1723
  };
1461
1724
  function defaultTileFetcher(config) {
1462
- if (config.y16_1.equals(TileEncoding_TERRARIUM_getInstance()) && config.z16_1 === 0) {
1725
+ if (config.f19_1.equals(TileEncoding_TERRARIUM_getInstance()) && config.g19_1 === 0) {
1463
1726
  return fetchAndDecodeTile$ref_1();
1464
1727
  }
1465
- var bytes = pacedTileBytesFetcher(config.z16_1);
1728
+ var bytes = pacedTileBytesFetcher(config.g19_1);
1466
1729
  var tmp;
1467
- switch (config.y16_1.y1_1) {
1730
+ switch (config.f19_1.y1_1) {
1468
1731
  case 0:
1469
1732
  tmp = defaultTileFetcher$slambda_0(bytes, null);
1470
1733
  break;
@@ -1480,24 +1743,24 @@
1480
1743
  function fetchAndDecodeTile$ref() {
1481
1744
  KFunctionImpl.call(this, 1, 2, 2);
1482
1745
  }
1483
- protoOf(fetchAndDecodeTile$ref).j17 = function (p0, $completion) {
1746
+ protoOf(fetchAndDecodeTile$ref).a1a = function (p0, $completion) {
1484
1747
  return fetchAndDecodeTile(p0, $completion);
1485
1748
  };
1486
1749
  protoOf(fetchAndDecodeTile$ref).z7 = function (p1, $completion) {
1487
- return this.j17((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1750
+ return this.a1a((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1488
1751
  };
1489
1752
  function defaultTileFetcher$slambda($bytes, resultContinuation) {
1490
- this.s17_1 = $bytes;
1753
+ this.j1a_1 = $bytes;
1491
1754
  CoroutineImpl.call(this, resultContinuation);
1492
1755
  }
1493
- protoOf(defaultTileFetcher$slambda).j17 = function (url, $completion) {
1494
- var tmp = this.u17(url, $completion);
1756
+ protoOf(defaultTileFetcher$slambda).a1a = function (url, $completion) {
1757
+ var tmp = this.l1a(url, $completion);
1495
1758
  tmp.l7_1 = Unit_instance;
1496
1759
  tmp.m7_1 = null;
1497
1760
  return tmp.r7();
1498
1761
  };
1499
1762
  protoOf(defaultTileFetcher$slambda).z7 = function (p1, $completion) {
1500
- return this.j17((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1763
+ return this.a1a((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1501
1764
  };
1502
1765
  protoOf(defaultTileFetcher$slambda).r7 = function () {
1503
1766
  var suspendResult = this.l7_1;
@@ -1508,7 +1771,7 @@
1508
1771
  case 0:
1509
1772
  this.k7_1 = 3;
1510
1773
  this.j7_1 = 1;
1511
- suspendResult = this.s17_1(this.t17_1, this);
1774
+ suspendResult = this.j1a_1(this.k1a_1, this);
1512
1775
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1513
1776
  return suspendResult;
1514
1777
  }
@@ -1517,7 +1780,7 @@
1517
1780
  case 1:
1518
1781
  var ARGUMENT = suspendResult;
1519
1782
  this.j7_1 = 2;
1520
- suspendResult = decodeTileBytes(ARGUMENT, this.t17_1, this);
1783
+ suspendResult = decodeTileBytes(ARGUMENT, this.k1a_1, this);
1521
1784
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1522
1785
  return suspendResult;
1523
1786
  }
@@ -1539,30 +1802,30 @@
1539
1802
  }
1540
1803
  while (true);
1541
1804
  };
1542
- protoOf(defaultTileFetcher$slambda).u17 = function (url, completion) {
1543
- var i = new defaultTileFetcher$slambda(this.s17_1, completion);
1544
- i.t17_1 = url;
1805
+ protoOf(defaultTileFetcher$slambda).l1a = function (url, completion) {
1806
+ var i = new defaultTileFetcher$slambda(this.j1a_1, completion);
1807
+ i.k1a_1 = url;
1545
1808
  return i;
1546
1809
  };
1547
1810
  function defaultTileFetcher$slambda_0($bytes, resultContinuation) {
1548
1811
  var i = new defaultTileFetcher$slambda($bytes, resultContinuation);
1549
1812
  return constructCallableReference(function (url, $completion) {
1550
- return i.j17(url, $completion);
1813
+ return i.a1a(url, $completion);
1551
1814
  }, 1);
1552
1815
  }
1553
1816
  function defaultTileFetcher$slambda_1($bytes, $config, resultContinuation) {
1554
- this.d18_1 = $bytes;
1555
- this.e18_1 = $config;
1817
+ this.u1a_1 = $bytes;
1818
+ this.v1a_1 = $config;
1556
1819
  CoroutineImpl.call(this, resultContinuation);
1557
1820
  }
1558
- protoOf(defaultTileFetcher$slambda_1).j17 = function (url, $completion) {
1559
- var tmp = this.u17(url, $completion);
1821
+ protoOf(defaultTileFetcher$slambda_1).a1a = function (url, $completion) {
1822
+ var tmp = this.l1a(url, $completion);
1560
1823
  tmp.l7_1 = Unit_instance;
1561
1824
  tmp.m7_1 = null;
1562
1825
  return tmp.r7();
1563
1826
  };
1564
1827
  protoOf(defaultTileFetcher$slambda_1).z7 = function (p1, $completion) {
1565
- return this.j17((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1828
+ return this.a1a((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
1566
1829
  };
1567
1830
  protoOf(defaultTileFetcher$slambda_1).r7 = function () {
1568
1831
  var suspendResult = this.l7_1;
@@ -1573,7 +1836,7 @@
1573
1836
  case 0:
1574
1837
  this.k7_1 = 2;
1575
1838
  this.j7_1 = 1;
1576
- suspendResult = this.d18_1(this.f18_1, this);
1839
+ suspendResult = this.u1a_1(this.w1a_1, this);
1577
1840
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1578
1841
  return suspendResult;
1579
1842
  }
@@ -1581,7 +1844,7 @@
1581
1844
  continue $sm;
1582
1845
  case 1:
1583
1846
  var ARGUMENT = suspendResult;
1584
- return decodeBil32Tile(ARGUMENT, this.e18_1.w16_1, this.f18_1);
1847
+ return decodeBil32Tile(ARGUMENT, this.v1a_1.d19_1, this.w1a_1);
1585
1848
  case 2:
1586
1849
  throw this.m7_1;
1587
1850
  }
@@ -1596,15 +1859,15 @@
1596
1859
  }
1597
1860
  while (true);
1598
1861
  };
1599
- protoOf(defaultTileFetcher$slambda_1).u17 = function (url, completion) {
1600
- var i = new defaultTileFetcher$slambda_1(this.d18_1, this.e18_1, completion);
1601
- i.f18_1 = url;
1862
+ protoOf(defaultTileFetcher$slambda_1).l1a = function (url, completion) {
1863
+ var i = new defaultTileFetcher$slambda_1(this.u1a_1, this.v1a_1, completion);
1864
+ i.w1a_1 = url;
1602
1865
  return i;
1603
1866
  };
1604
1867
  function defaultTileFetcher$slambda_2($bytes, $config, resultContinuation) {
1605
1868
  var i = new defaultTileFetcher$slambda_1($bytes, $config, resultContinuation);
1606
1869
  return constructCallableReference(function (url, $completion) {
1607
- return i.j17(url, $completion);
1870
+ return i.a1a(url, $completion);
1608
1871
  }, 1);
1609
1872
  }
1610
1873
  function defaultTileFetcher$ref() {
@@ -1620,38 +1883,38 @@
1620
1883
  attribution = attribution === VOID ? new Attribution('Mapterhorn elevation data. See mapterhorn.com/attribution/ for details.', 'https://mapterhorn.com/attribution/') : attribution;
1621
1884
  encoding = encoding === VOID ? TileEncoding_TERRARIUM_getInstance() : encoding;
1622
1885
  maxRequestsPerSecond = maxRequestsPerSecond === VOID ? 0 : maxRequestsPerSecond;
1623
- this.t16_1 = zoomLevel;
1624
- this.u16_1 = cacheSize;
1625
- this.v16_1 = tileUrlTemplate;
1626
- this.w16_1 = tileSize;
1627
- this.x16_1 = attribution;
1628
- this.y16_1 = encoding;
1629
- this.z16_1 = maxRequestsPerSecond;
1630
- }
1631
- protoOf(ElevationProviderConfig).g18 = function (zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond) {
1886
+ this.a19_1 = zoomLevel;
1887
+ this.b19_1 = cacheSize;
1888
+ this.c19_1 = tileUrlTemplate;
1889
+ this.d19_1 = tileSize;
1890
+ this.e19_1 = attribution;
1891
+ this.f19_1 = encoding;
1892
+ this.g19_1 = maxRequestsPerSecond;
1893
+ }
1894
+ protoOf(ElevationProviderConfig).x1a = function (zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond) {
1632
1895
  return new ElevationProviderConfig(zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond);
1633
1896
  };
1634
- protoOf(ElevationProviderConfig).h18 = function (zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond, $super) {
1635
- zoomLevel = zoomLevel === VOID ? this.t16_1 : zoomLevel;
1636
- cacheSize = cacheSize === VOID ? this.u16_1 : cacheSize;
1637
- tileUrlTemplate = tileUrlTemplate === VOID ? this.v16_1 : tileUrlTemplate;
1638
- tileSize = tileSize === VOID ? this.w16_1 : tileSize;
1639
- attribution = attribution === VOID ? this.x16_1 : attribution;
1640
- encoding = encoding === VOID ? this.y16_1 : encoding;
1641
- maxRequestsPerSecond = maxRequestsPerSecond === VOID ? this.z16_1 : maxRequestsPerSecond;
1642
- return $super === VOID ? this.g18(zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond) : $super.g18.call(this, zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond);
1897
+ protoOf(ElevationProviderConfig).y1a = function (zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond, $super) {
1898
+ zoomLevel = zoomLevel === VOID ? this.a19_1 : zoomLevel;
1899
+ cacheSize = cacheSize === VOID ? this.b19_1 : cacheSize;
1900
+ tileUrlTemplate = tileUrlTemplate === VOID ? this.c19_1 : tileUrlTemplate;
1901
+ tileSize = tileSize === VOID ? this.d19_1 : tileSize;
1902
+ attribution = attribution === VOID ? this.e19_1 : attribution;
1903
+ encoding = encoding === VOID ? this.f19_1 : encoding;
1904
+ maxRequestsPerSecond = maxRequestsPerSecond === VOID ? this.g19_1 : maxRequestsPerSecond;
1905
+ return $super === VOID ? this.x1a(zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond) : $super.x1a.call(this, zoomLevel, cacheSize, tileUrlTemplate, tileSize, attribution, encoding, maxRequestsPerSecond);
1643
1906
  };
1644
1907
  protoOf(ElevationProviderConfig).toString = function () {
1645
- return 'ElevationProviderConfig(zoomLevel=' + this.t16_1 + ', cacheSize=' + this.u16_1 + ', tileUrlTemplate=' + this.v16_1 + ', tileSize=' + this.w16_1 + ', attribution=' + this.x16_1.toString() + ', encoding=' + this.y16_1.toString() + ', maxRequestsPerSecond=' + this.z16_1 + ')';
1908
+ return 'ElevationProviderConfig(zoomLevel=' + this.a19_1 + ', cacheSize=' + this.b19_1 + ', tileUrlTemplate=' + this.c19_1 + ', tileSize=' + this.d19_1 + ', attribution=' + this.e19_1.toString() + ', encoding=' + this.f19_1.toString() + ', maxRequestsPerSecond=' + this.g19_1 + ')';
1646
1909
  };
1647
1910
  protoOf(ElevationProviderConfig).hashCode = function () {
1648
- var result = this.t16_1;
1649
- result = imul(result, 31) + this.u16_1 | 0;
1650
- result = imul(result, 31) + getStringHashCode(this.v16_1) | 0;
1651
- result = imul(result, 31) + this.w16_1 | 0;
1652
- result = imul(result, 31) + this.x16_1.hashCode() | 0;
1653
- result = imul(result, 31) + this.y16_1.hashCode() | 0;
1654
- result = imul(result, 31) + this.z16_1 | 0;
1911
+ var result = this.a19_1;
1912
+ result = imul(result, 31) + this.b19_1 | 0;
1913
+ result = imul(result, 31) + getStringHashCode(this.c19_1) | 0;
1914
+ result = imul(result, 31) + this.d19_1 | 0;
1915
+ result = imul(result, 31) + this.e19_1.hashCode() | 0;
1916
+ result = imul(result, 31) + this.f19_1.hashCode() | 0;
1917
+ result = imul(result, 31) + this.g19_1 | 0;
1655
1918
  return result;
1656
1919
  };
1657
1920
  protoOf(ElevationProviderConfig).equals = function (other) {
@@ -1659,33 +1922,33 @@
1659
1922
  return true;
1660
1923
  if (!(other instanceof ElevationProviderConfig))
1661
1924
  return false;
1662
- if (!(this.t16_1 === other.t16_1))
1925
+ if (!(this.a19_1 === other.a19_1))
1663
1926
  return false;
1664
- if (!(this.u16_1 === other.u16_1))
1927
+ if (!(this.b19_1 === other.b19_1))
1665
1928
  return false;
1666
- if (!(this.v16_1 === other.v16_1))
1929
+ if (!(this.c19_1 === other.c19_1))
1667
1930
  return false;
1668
- if (!(this.w16_1 === other.w16_1))
1931
+ if (!(this.d19_1 === other.d19_1))
1669
1932
  return false;
1670
- if (!this.x16_1.equals(other.x16_1))
1933
+ if (!this.e19_1.equals(other.e19_1))
1671
1934
  return false;
1672
- if (!this.y16_1.equals(other.y16_1))
1935
+ if (!this.f19_1.equals(other.f19_1))
1673
1936
  return false;
1674
- if (!(this.z16_1 === other.z16_1))
1937
+ if (!(this.g19_1 === other.g19_1))
1675
1938
  return false;
1676
1939
  return true;
1677
1940
  };
1678
1941
  function Attribution(text, url) {
1679
1942
  url = url === VOID ? null : url;
1680
- this.i18_1 = text;
1681
- this.j18_1 = url;
1943
+ this.z1a_1 = text;
1944
+ this.a1b_1 = url;
1682
1945
  }
1683
1946
  protoOf(Attribution).toString = function () {
1684
- return 'Attribution(text=' + this.i18_1 + ', url=' + this.j18_1 + ')';
1947
+ return 'Attribution(text=' + this.z1a_1 + ', url=' + this.a1b_1 + ')';
1685
1948
  };
1686
1949
  protoOf(Attribution).hashCode = function () {
1687
- var result = getStringHashCode(this.i18_1);
1688
- result = imul(result, 31) + (this.j18_1 == null ? 0 : getStringHashCode(this.j18_1)) | 0;
1950
+ var result = getStringHashCode(this.z1a_1);
1951
+ result = imul(result, 31) + (this.a1b_1 == null ? 0 : getStringHashCode(this.a1b_1)) | 0;
1689
1952
  return result;
1690
1953
  };
1691
1954
  protoOf(Attribution).equals = function (other) {
@@ -1693,9 +1956,9 @@
1693
1956
  return true;
1694
1957
  if (!(other instanceof Attribution))
1695
1958
  return false;
1696
- if (!(this.i18_1 === other.i18_1))
1959
+ if (!(this.z1a_1 === other.z1a_1))
1697
1960
  return false;
1698
- if (!(this.j18_1 == other.j18_1))
1961
+ if (!(this.a1b_1 == other.a1b_1))
1699
1962
  return false;
1700
1963
  return true;
1701
1964
  };
@@ -1705,7 +1968,7 @@
1705
1968
  }
1706
1969
  function ElevationSmoother() {
1707
1970
  }
1708
- protoOf(ElevationSmoother).u11 = function (points, windowSize) {
1971
+ protoOf(ElevationSmoother).h12 = function (points, windowSize) {
1709
1972
  if (points.o() < 3)
1710
1973
  return points;
1711
1974
  // Inline function 'kotlin.require' call
@@ -1713,17 +1976,17 @@
1713
1976
  var message = 'Invalid window size: ' + formatWindow(ElevationSmoother_instance, windowSize) + '. Must be positive';
1714
1977
  throw IllegalArgumentException_init_$Create$(toString(message));
1715
1978
  }
1716
- var distances = Distance_instance.h12(points);
1979
+ var distances = Distance_instance.w12(points);
1717
1980
  var tmp = 0;
1718
1981
  var tmp_0 = points.o();
1719
1982
  var tmp_1 = new Float64Array(tmp_0);
1720
1983
  while (tmp < tmp_0) {
1721
1984
  var tmp_2 = tmp;
1722
- tmp_1[tmp_2] = points.p(tmp_2).d12();
1985
+ tmp_1[tmp_2] = points.p(tmp_2).s12();
1723
1986
  tmp = tmp + 1 | 0;
1724
1987
  }
1725
1988
  var elevations = tmp_1;
1726
- var smoothed = this.k18(distances, elevations, windowSize);
1989
+ var smoothed = this.b1b(distances, elevations, windowSize);
1727
1990
  // Inline function 'kotlin.collections.List' call
1728
1991
  // Inline function 'kotlin.collections.MutableList' call
1729
1992
  var size = points.o();
@@ -1734,13 +1997,13 @@
1734
1997
  do {
1735
1998
  var index = inductionVariable;
1736
1999
  inductionVariable = inductionVariable + 1 | 0;
1737
- var tmp$ret$7 = new LatLonElevation(points.p(index).f10(), points.p(index).g10(), smoothed[index]);
2000
+ var tmp$ret$7 = new LatLonElevation(points.p(index).xz(), points.p(index).yz(), smoothed[index]);
1738
2001
  list.k(tmp$ret$7);
1739
2002
  }
1740
2003
  while (inductionVariable < size);
1741
2004
  return list;
1742
2005
  };
1743
- protoOf(ElevationSmoother).k18 = function (distanceM, elevationM, windowSize) {
2006
+ protoOf(ElevationSmoother).b1b = function (distanceM, elevationM, windowSize) {
1744
2007
  // Inline function 'kotlin.require' call
1745
2008
  if (!(distanceM.length === elevationM.length)) {
1746
2009
  var message = 'distanceM (' + distanceM.length + ') and elevationM (' + elevationM.length + ') must have the same length';
@@ -1839,9 +2102,9 @@
1839
2102
  var ElevationSource_IGN_LIDAR_HD_instance;
1840
2103
  function Companion() {
1841
2104
  Companion_instance_0 = this;
1842
- this.l18_1 = ElevationSource_MAPTERHORN_getInstance();
2105
+ this.c1b_1 = ElevationSource_MAPTERHORN_getInstance();
1843
2106
  }
1844
- protoOf(Companion).m18 = function () {
2107
+ protoOf(Companion).d1b = function () {
1845
2108
  // Inline function 'kotlin.collections.map' call
1846
2109
  var this_0 = get_entries();
1847
2110
  // Inline function 'kotlin.collections.mapTo' call
@@ -1849,12 +2112,12 @@
1849
2112
  var _iterator__ex2g4s = this_0.l();
1850
2113
  while (_iterator__ex2g4s.m()) {
1851
2114
  var item = _iterator__ex2g4s.n();
1852
- var tmp$ret$2 = item.p18_1;
2115
+ var tmp$ret$2 = item.g1b_1;
1853
2116
  destination.k(tmp$ret$2);
1854
2117
  }
1855
2118
  return destination;
1856
2119
  };
1857
- protoOf(Companion).q18 = function (id) {
2120
+ protoOf(Companion).h1b = function (id) {
1858
2121
  var tmp0 = get_entries();
1859
2122
  var tmp$ret$0;
1860
2123
  $l$block: {
@@ -1862,7 +2125,7 @@
1862
2125
  var _iterator__ex2g4s = tmp0.l();
1863
2126
  while (_iterator__ex2g4s.m()) {
1864
2127
  var element = _iterator__ex2g4s.n();
1865
- if (element.p18_1 === id) {
2128
+ if (element.g1b_1 === id) {
1866
2129
  tmp$ret$0 = element;
1867
2130
  break $l$block;
1868
2131
  }
@@ -1872,7 +2135,7 @@
1872
2135
  var tmp0_elvis_lhs = tmp$ret$0;
1873
2136
  var tmp;
1874
2137
  if (tmp0_elvis_lhs == null) {
1875
- throw IllegalArgumentException_init_$Create$("Unknown DEM source '" + id + "' \u2014 expected one of " + joinToString(this.m18()));
2138
+ throw IllegalArgumentException_init_$Create$("Unknown DEM source '" + id + "' \u2014 expected one of " + joinToString(this.d1b()));
1876
2139
  } else {
1877
2140
  tmp = tmp0_elvis_lhs;
1878
2141
  }
@@ -1896,9 +2159,9 @@
1896
2159
  var $ENTRIES;
1897
2160
  function ElevationSource(name, ordinal, id) {
1898
2161
  Enum.call(this, name, ordinal);
1899
- this.p18_1 = id;
2162
+ this.g1b_1 = id;
1900
2163
  }
1901
- protoOf(ElevationSource).r18 = function () {
2164
+ protoOf(ElevationSource).i1b = function () {
1902
2165
  var tmp;
1903
2166
  switch (this.y1_1) {
1904
2167
  case 0:
@@ -1913,14 +2176,14 @@
1913
2176
  }
1914
2177
  return tmp;
1915
2178
  };
1916
- protoOf(ElevationSource).s18 = function () {
2179
+ protoOf(ElevationSource).j1b = function () {
1917
2180
  var tmp;
1918
2181
  switch (this.y1_1) {
1919
2182
  case 0:
1920
- tmp = (new ElevationProviderConfig()).t16_1;
2183
+ tmp = (new ElevationProviderConfig()).a19_1;
1921
2184
  break;
1922
2185
  case 1:
1923
- tmp = IgnLidarHdLayer_MNT_getInstance().s18();
2186
+ tmp = IgnLidarHdLayer_MNT_getInstance().j1b();
1924
2187
  break;
1925
2188
  default:
1926
2189
  noWhenBranchMatchedException();
@@ -1928,15 +2191,15 @@
1928
2191
  }
1929
2192
  return tmp;
1930
2193
  };
1931
- protoOf(ElevationSource).w18 = function (zoomLevel) {
2194
+ protoOf(ElevationSource).n1b = function (zoomLevel) {
1932
2195
  var tmp;
1933
2196
  switch (this.y1_1) {
1934
2197
  case 0:
1935
- tmp = new ElevationProviderConfig(zoomLevel == null ? this.s18() : zoomLevel);
2198
+ tmp = new ElevationProviderConfig(zoomLevel == null ? this.j1b() : zoomLevel);
1936
2199
  break;
1937
2200
  case 1:
1938
2201
  var tmp_0 = IgnLidarHdLayer_MNT_getInstance();
1939
- tmp = tmp_0.w18(zoomLevel == null ? this.s18() : zoomLevel);
2202
+ tmp = tmp_0.n1b(zoomLevel == null ? this.j1b() : zoomLevel);
1940
2203
  break;
1941
2204
  default:
1942
2205
  noWhenBranchMatchedException();
@@ -1953,32 +2216,32 @@
1953
2216
  tmp = fetcherFor;
1954
2217
  }
1955
2218
  fetcherFor = tmp;
1956
- var config = _this__u8e3s4.w18(zoomLevel);
2219
+ var config = _this__u8e3s4.n1b(zoomLevel);
1957
2220
  var fetcher = _this__u8e3s4.equals(ElevationSource_IGN_LIDAR_HD_getInstance()) ? ignCoverageFiltered(config, fetcherFor(config)) : fetcherFor(config);
1958
2221
  var primary = ElevationProvider_init_$Create$(config, fetcher);
1959
- var tmp0_safe_receiver = _this__u8e3s4.r18();
2222
+ var tmp0_safe_receiver = _this__u8e3s4.i1b();
1960
2223
  var tmp_0;
1961
2224
  if (tmp0_safe_receiver == null) {
1962
2225
  tmp_0 = null;
1963
2226
  } else {
1964
2227
  // Inline function 'kotlin.let' call
1965
- tmp_0 = primary.a17(provider(tmp0_safe_receiver, null, fetcherFor));
2228
+ tmp_0 = primary.p19(provider(tmp0_safe_receiver, null, fetcherFor));
1966
2229
  }
1967
2230
  var tmp1_elvis_lhs = tmp_0;
1968
2231
  var withFallback = tmp1_elvis_lhs == null ? primary : tmp1_elvis_lhs;
1969
2232
  var tmp_1;
1970
- if (_this__u8e3s4.equals(ElevationSource_IGN_LIDAR_HD_getInstance()) && config.t16_1 === IgnLidarHdLayer_MNS_getInstance().s18()) {
1971
- tmp_1 = withFallback.b17(provider_0(IgnLidarHdLayer_MNS_getInstance(), null, fetcherFor));
2233
+ if (_this__u8e3s4.equals(ElevationSource_IGN_LIDAR_HD_getInstance()) && config.a19_1 === IgnLidarHdLayer_MNS_getInstance().j1b()) {
2234
+ tmp_1 = withFallback.q19(provider_0(IgnLidarHdLayer_MNS_getInstance(), null, fetcherFor));
1972
2235
  } else {
1973
2236
  tmp_1 = withFallback;
1974
2237
  }
1975
2238
  return tmp_1;
1976
2239
  }
1977
2240
  function wmsBbox4326(tc) {
1978
- var tiles = 1 << tc.a11_1;
1979
- var west = tc.y10_1 / tiles * 360.0 - 180.0;
1980
- var east = (tc.y10_1 + 1 | 0) / tiles * 360.0 - 180.0;
1981
- return '' + tileNorthLatitude(tc.z10_1 + 1 | 0, tiles) + ',' + west + ',' + tileNorthLatitude(tc.z10_1, tiles) + ',' + east;
2241
+ var tiles = 1 << tc.n11_1;
2242
+ var west = tc.l11_1 / tiles * 360.0 - 180.0;
2243
+ var east = (tc.l11_1 + 1 | 0) / tiles * 360.0 - 180.0;
2244
+ return '' + tileNorthLatitude(tc.m11_1 + 1 | 0, tiles) + ',' + west + ',' + tileNorthLatitude(tc.m11_1, tiles) + ',' + east;
1982
2245
  }
1983
2246
  function tileNorthLatitude(y, tiles) {
1984
2247
  // Inline function 'kotlin.math.sinh' call
@@ -1996,19 +2259,19 @@
1996
2259
  return ElevationSource_IGN_LIDAR_HD_instance;
1997
2260
  }
1998
2261
  function Flux$forEachParallel$slambda$slambda($semaphore, $action, $item, resultContinuation) {
1999
- this.f19_1 = $semaphore;
2000
- this.g19_1 = $action;
2001
- this.h19_1 = $item;
2262
+ this.w1b_1 = $semaphore;
2263
+ this.x1b_1 = $action;
2264
+ this.y1b_1 = $item;
2002
2265
  CoroutineImpl.call(this, resultContinuation);
2003
2266
  }
2004
- protoOf(Flux$forEachParallel$slambda$slambda).l19 = function ($this$async, $completion) {
2005
- var tmp = this.m19($this$async, $completion);
2267
+ protoOf(Flux$forEachParallel$slambda$slambda).c1c = function ($this$async, $completion) {
2268
+ var tmp = this.d1c($this$async, $completion);
2006
2269
  tmp.l7_1 = Unit_instance;
2007
2270
  tmp.m7_1 = null;
2008
2271
  return tmp.r7();
2009
2272
  };
2010
2273
  protoOf(Flux$forEachParallel$slambda$slambda).z7 = function (p1, $completion) {
2011
- return this.l19((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2274
+ return this.c1c((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2012
2275
  };
2013
2276
  protoOf(Flux$forEachParallel$slambda$slambda).r7 = function () {
2014
2277
  var suspendResult = this.l7_1;
@@ -2018,41 +2281,41 @@
2018
2281
  switch (tmp) {
2019
2282
  case 0:
2020
2283
  this.k7_1 = 6;
2021
- this.j19_1 = this.f19_1;
2284
+ this.a1c_1 = this.w1b_1;
2022
2285
  this.j7_1 = 1;
2023
- suspendResult = this.j19_1.yw(this);
2286
+ suspendResult = this.a1c_1.yw(this);
2024
2287
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2025
2288
  return suspendResult;
2026
2289
  }
2027
2290
 
2028
2291
  continue $sm;
2029
2292
  case 1:
2030
- this.k19_1 = Unit_instance;
2293
+ this.b1c_1 = Unit_instance;
2031
2294
  this.j7_1 = 2;
2032
2295
  continue $sm;
2033
2296
  case 2:
2034
2297
  this.k7_1 = 5;
2035
2298
  this.j7_1 = 3;
2036
- suspendResult = this.g19_1(this.h19_1, this);
2299
+ suspendResult = this.x1b_1(this.y1b_1, this);
2037
2300
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2038
2301
  return suspendResult;
2039
2302
  }
2040
2303
 
2041
2304
  continue $sm;
2042
2305
  case 3:
2043
- this.k19_1 = Unit_instance;
2306
+ this.b1c_1 = Unit_instance;
2044
2307
  this.k7_1 = 6;
2045
2308
  this.j7_1 = 4;
2046
2309
  continue $sm;
2047
2310
  case 4:
2048
- this.k19_1;
2311
+ this.b1c_1;
2049
2312
  this.k7_1 = 6;
2050
- this.j19_1.sw();
2313
+ this.a1c_1.sw();
2051
2314
  return Unit_instance;
2052
2315
  case 5:
2053
2316
  this.k7_1 = 6;
2054
2317
  var t = this.m7_1;
2055
- this.j19_1.sw();
2318
+ this.a1c_1.sw();
2056
2319
  throw t;
2057
2320
  case 6:
2058
2321
  throw this.m7_1;
@@ -2068,31 +2331,31 @@
2068
2331
  }
2069
2332
  while (true);
2070
2333
  };
2071
- protoOf(Flux$forEachParallel$slambda$slambda).m19 = function ($this$async, completion) {
2072
- var i = new Flux$forEachParallel$slambda$slambda(this.f19_1, this.g19_1, this.h19_1, completion);
2073
- i.i19_1 = $this$async;
2334
+ protoOf(Flux$forEachParallel$slambda$slambda).d1c = function ($this$async, completion) {
2335
+ var i = new Flux$forEachParallel$slambda$slambda(this.w1b_1, this.x1b_1, this.y1b_1, completion);
2336
+ i.z1b_1 = $this$async;
2074
2337
  return i;
2075
2338
  };
2076
2339
  function Flux$forEachParallel$slambda$slambda_0($semaphore, $action, $item, resultContinuation) {
2077
2340
  var i = new Flux$forEachParallel$slambda$slambda($semaphore, $action, $item, resultContinuation);
2078
2341
  return constructCallableReference(function ($this$async, $completion) {
2079
- return i.l19($this$async, $completion);
2342
+ return i.c1c($this$async, $completion);
2080
2343
  }, 1);
2081
2344
  }
2082
2345
  function Flux$forEachParallel$slambda($maxParallel, $items, $action, resultContinuation) {
2083
- this.v19_1 = $maxParallel;
2084
- this.w19_1 = $items;
2085
- this.x19_1 = $action;
2346
+ this.m1c_1 = $maxParallel;
2347
+ this.n1c_1 = $items;
2348
+ this.o1c_1 = $action;
2086
2349
  CoroutineImpl.call(this, resultContinuation);
2087
2350
  }
2088
- protoOf(Flux$forEachParallel$slambda).z19 = function ($this$coroutineScope, $completion) {
2089
- var tmp = this.m19($this$coroutineScope, $completion);
2351
+ protoOf(Flux$forEachParallel$slambda).q1c = function ($this$coroutineScope, $completion) {
2352
+ var tmp = this.d1c($this$coroutineScope, $completion);
2090
2353
  tmp.l7_1 = Unit_instance;
2091
2354
  tmp.m7_1 = null;
2092
2355
  return tmp.r7();
2093
2356
  };
2094
2357
  protoOf(Flux$forEachParallel$slambda).z7 = function (p1, $completion) {
2095
- return this.z19((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2358
+ return this.q1c((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2096
2359
  };
2097
2360
  protoOf(Flux$forEachParallel$slambda).r7 = function () {
2098
2361
  var suspendResult = this.l7_1;
@@ -2102,14 +2365,14 @@
2102
2365
  switch (tmp) {
2103
2366
  case 0:
2104
2367
  this.k7_1 = 2;
2105
- var semaphore = Semaphore(this.v19_1);
2368
+ var semaphore = Semaphore(this.m1c_1);
2106
2369
  this.j7_1 = 1;
2107
- var this_0 = this.w19_1;
2370
+ var this_0 = this.n1c_1;
2108
2371
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
2109
2372
  var _iterator__ex2g4s = this_0.l();
2110
2373
  while (_iterator__ex2g4s.m()) {
2111
2374
  var item = _iterator__ex2g4s.n();
2112
- destination.k(async(this.y19_1, VOID, VOID, Flux$forEachParallel$slambda$slambda_0(semaphore, this.x19_1, item, null)));
2375
+ destination.k(async(this.p1c_1, VOID, VOID, Flux$forEachParallel$slambda$slambda_0(semaphore, this.o1c_1, item, null)));
2113
2376
  }
2114
2377
 
2115
2378
  suspendResult = awaitAll(destination, this);
@@ -2134,23 +2397,23 @@
2134
2397
  }
2135
2398
  while (true);
2136
2399
  };
2137
- protoOf(Flux$forEachParallel$slambda).m19 = function ($this$coroutineScope, completion) {
2138
- var i = new Flux$forEachParallel$slambda(this.v19_1, this.w19_1, this.x19_1, completion);
2139
- i.y19_1 = $this$coroutineScope;
2400
+ protoOf(Flux$forEachParallel$slambda).d1c = function ($this$coroutineScope, completion) {
2401
+ var i = new Flux$forEachParallel$slambda(this.m1c_1, this.n1c_1, this.o1c_1, completion);
2402
+ i.p1c_1 = $this$coroutineScope;
2140
2403
  return i;
2141
2404
  };
2142
2405
  function Flux$forEachParallel$slambda_0($maxParallel, $items, $action, resultContinuation) {
2143
2406
  var i = new Flux$forEachParallel$slambda($maxParallel, $items, $action, resultContinuation);
2144
2407
  return constructCallableReference(function ($this$coroutineScope, $completion) {
2145
- return i.z19($this$coroutineScope, $completion);
2408
+ return i.q1c($this$coroutineScope, $completion);
2146
2409
  }, 1);
2147
2410
  }
2148
2411
  function $forEachParallelCOROUTINE$(_this__u8e3s4, items, maxParallel, action, resultContinuation) {
2149
2412
  CoroutineImpl.call(this, resultContinuation);
2150
- this.i1a_1 = _this__u8e3s4;
2151
- this.j1a_1 = items;
2152
- this.k1a_1 = maxParallel;
2153
- this.l1a_1 = action;
2413
+ this.z1c_1 = _this__u8e3s4;
2414
+ this.a1d_1 = items;
2415
+ this.b1d_1 = maxParallel;
2416
+ this.c1d_1 = action;
2154
2417
  }
2155
2418
  protoOf($forEachParallelCOROUTINE$).r7 = function () {
2156
2419
  var suspendResult = this.l7_1;
@@ -2160,13 +2423,13 @@
2160
2423
  switch (tmp) {
2161
2424
  case 0:
2162
2425
  this.k7_1 = 2;
2163
- if (!(this.k1a_1 >= 1)) {
2164
- var message = 'maxParallel must be >= 1, got ' + this.k1a_1;
2426
+ if (!(this.b1d_1 >= 1)) {
2427
+ var message = 'maxParallel must be >= 1, got ' + this.b1d_1;
2165
2428
  throw IllegalArgumentException_init_$Create$(toString(message));
2166
2429
  }
2167
2430
 
2168
2431
  this.j7_1 = 1;
2169
- suspendResult = coroutineScope(Flux$forEachParallel$slambda_0(this.k1a_1, this.j1a_1, this.l1a_1, null), this);
2432
+ suspendResult = coroutineScope(Flux$forEachParallel$slambda_0(this.b1d_1, this.a1d_1, this.c1d_1, null), this);
2170
2433
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2171
2434
  return suspendResult;
2172
2435
  }
@@ -2190,7 +2453,7 @@
2190
2453
  };
2191
2454
  function Flux() {
2192
2455
  }
2193
- protoOf(Flux).b11 = function (items, maxParallel, action, $completion) {
2456
+ protoOf(Flux).o11 = function (items, maxParallel, action, $completion) {
2194
2457
  var tmp = new $forEachParallelCOROUTINE$(this, items, maxParallel, action, $completion);
2195
2458
  tmp.l7_1 = Unit_instance;
2196
2459
  tmp.m7_1 = null;
@@ -2337,19 +2600,46 @@
2337
2600
  IgnLidarHdCoverage_instance = this;
2338
2601
  var tmp = this;
2339
2602
  // Inline function 'kotlin.doubleArrayOf' call
2340
- tmp.m1a_1 = new Float64Array([2.4, 51.4, 3.0, 51.15, 3.4, 50.85, 4.3, 50.55, 4.7, 50.35, 5.0, 50.25, 5.2, 49.95, 5.85, 49.62, 6.4, 49.56, 7.4, 49.3, 8.35, 49.1, 8.0, 48.4, 7.75, 47.75, 7.7, 47.6, 6.95, 47.2, 6.55, 46.75, 7.0, 46.45, 7.15, 46.0, 7.05, 45.6, 7.35, 45.3, 7.15, 44.9, 7.15, 44.6, 7.85, 44.2, 7.7, 43.65, 7.7, 43.3, 6.5, 42.9, 4.5, 43.1, 3.4, 42.9, 3.4, 42.35, 2.3, 42.25, 1.3, 42.35, 0.4, 42.55, -0.7, 42.65, -1.4, 42.9, -1.9, 43.2, -2.1, 43.5, -1.7, 44.5, -2.6, 46.6, -3.4, 47.2, -5.3, 47.8, -5.35, 48.65, -4.2, 48.95, -2.4, 49.05, -2.1, 49.8, -0.2, 49.85, 1.2, 50.25, 1.4, 51.05]);
2603
+ tmp.d1d_1 = new Float64Array([2.4, 51.4, 3.0, 51.15, 3.4, 50.85, 4.3, 50.55, 4.7, 50.35, 5.0, 50.25, 5.2, 49.95, 5.85, 49.62, 6.4, 49.56, 7.4, 49.3, 8.35, 49.1, 8.0, 48.4, 7.75, 47.75, 7.7, 47.6, 6.95, 47.2, 6.55, 46.75, 7.0, 46.45, 7.15, 46.0, 7.05, 45.6, 7.35, 45.3, 7.15, 44.9, 7.15, 44.6, 7.85, 44.2, 7.7, 43.65, 7.7, 43.3, 6.5, 42.9, 4.5, 43.1, 3.4, 42.9, 3.4, 42.35, 2.3, 42.25, 1.3, 42.35, 0.4, 42.55, -0.7, 42.65, -1.4, 42.9, -1.9, 43.2, -2.1, 43.5, -1.7, 44.5, -2.6, 46.6, -3.4, 47.2, -5.3, 47.8, -5.35, 48.65, -4.2, 48.95, -2.4, 49.05, -2.1, 49.8, -0.2, 49.85, 1.2, 50.25, 1.4, 51.05]);
2341
2604
  var tmp_0 = this;
2342
2605
  // Inline function 'kotlin.doubleArrayOf' call
2343
- tmp_0.n1a_1 = new Float64Array([8.4, 43.15, 9.7, 43.15, 9.7, 41.25, 8.4, 41.25]);
2344
- this.o1a_1 = listOf([this.m1a_1, this.n1a_1]);
2345
- }
2346
- protoOf(IgnLidarHdCoverage).p1a = function (tc) {
2347
- var tiles = 1 << tc.a11_1;
2348
- var west = tc.y10_1 / tiles * 360.0 - 180.0;
2349
- var east = (tc.y10_1 + 1 | 0) / tiles * 360.0 - 180.0;
2350
- var north = latitudeOfRow(this, tc.z10_1, tiles);
2351
- var south = latitudeOfRow(this, tc.z10_1 + 1 | 0, tiles);
2352
- var tmp0 = this.o1a_1;
2606
+ tmp_0.e1d_1 = new Float64Array([8.4, 43.15, 9.7, 43.15, 9.7, 41.25, 8.4, 41.25]);
2607
+ this.f1d_1 = listOf([this.d1d_1, this.e1d_1]);
2608
+ }
2609
+ protoOf(IgnLidarHdCoverage).g1d = function (latitude, longitude) {
2610
+ var tmp0 = this.f1d_1;
2611
+ var tmp$ret$0;
2612
+ $l$block_0: {
2613
+ // Inline function 'kotlin.collections.any' call
2614
+ var tmp;
2615
+ if (isInterface(tmp0, Collection)) {
2616
+ tmp = tmp0.r();
2617
+ } else {
2618
+ tmp = false;
2619
+ }
2620
+ if (tmp) {
2621
+ tmp$ret$0 = false;
2622
+ break $l$block_0;
2623
+ }
2624
+ var _iterator__ex2g4s = tmp0.l();
2625
+ while (_iterator__ex2g4s.m()) {
2626
+ var element = _iterator__ex2g4s.n();
2627
+ if (inside(IgnLidarHdCoverage_getInstance(), element, longitude, latitude)) {
2628
+ tmp$ret$0 = true;
2629
+ break $l$block_0;
2630
+ }
2631
+ }
2632
+ tmp$ret$0 = false;
2633
+ }
2634
+ return tmp$ret$0;
2635
+ };
2636
+ protoOf(IgnLidarHdCoverage).h1d = function (tc) {
2637
+ var tiles = 1 << tc.n11_1;
2638
+ var west = tc.l11_1 / tiles * 360.0 - 180.0;
2639
+ var east = (tc.l11_1 + 1 | 0) / tiles * 360.0 - 180.0;
2640
+ var north = latitudeOfRow(this, tc.m11_1, tiles);
2641
+ var south = latitudeOfRow(this, tc.m11_1 + 1 | 0, tiles);
2642
+ var tmp0 = this.f1d_1;
2353
2643
  var tmp$ret$0;
2354
2644
  $l$block_0: {
2355
2645
  // Inline function 'kotlin.collections.any' call
@@ -2382,18 +2672,18 @@
2382
2672
  return IgnLidarHdCoverage_instance;
2383
2673
  }
2384
2674
  function ignCoverageFiltered$slambda($config, $fetcher, resultContinuation) {
2385
- this.y1a_1 = $config;
2386
- this.z1a_1 = $fetcher;
2675
+ this.q1d_1 = $config;
2676
+ this.r1d_1 = $fetcher;
2387
2677
  CoroutineImpl.call(this, resultContinuation);
2388
2678
  }
2389
- protoOf(ignCoverageFiltered$slambda).j17 = function (url, $completion) {
2390
- var tmp = this.u17(url, $completion);
2679
+ protoOf(ignCoverageFiltered$slambda).a1a = function (url, $completion) {
2680
+ var tmp = this.l1a(url, $completion);
2391
2681
  tmp.l7_1 = Unit_instance;
2392
2682
  tmp.m7_1 = null;
2393
2683
  return tmp.r7();
2394
2684
  };
2395
2685
  protoOf(ignCoverageFiltered$slambda).z7 = function (p1, $completion) {
2396
- return this.j17((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2686
+ return this.a1a((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2397
2687
  };
2398
2688
  protoOf(ignCoverageFiltered$slambda).r7 = function () {
2399
2689
  var suspendResult = this.l7_1;
@@ -2403,25 +2693,25 @@
2403
2693
  switch (tmp) {
2404
2694
  case 0:
2405
2695
  this.k7_1 = 3;
2406
- if (IgnLidarHdCoverage_getInstance().p1a(tileCoordinatesOf(this.a1b_1, this.y1a_1))) {
2696
+ if (IgnLidarHdCoverage_getInstance().h1d(tileCoordinatesOf(this.s1d_1, this.q1d_1))) {
2407
2697
  this.j7_1 = 1;
2408
- suspendResult = this.z1a_1(this.a1b_1, this);
2698
+ suspendResult = this.r1d_1(this.s1d_1, this);
2409
2699
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2410
2700
  return suspendResult;
2411
2701
  }
2412
2702
  continue $sm;
2413
2703
  } else {
2414
- this.b1b_1 = noDataTile(this.y1a_1.w16_1);
2704
+ this.t1d_1 = noDataTile(this.q1d_1.d19_1);
2415
2705
  this.j7_1 = 2;
2416
2706
  continue $sm;
2417
2707
  }
2418
2708
 
2419
2709
  case 1:
2420
- this.b1b_1 = suspendResult;
2710
+ this.t1d_1 = suspendResult;
2421
2711
  this.j7_1 = 2;
2422
2712
  continue $sm;
2423
2713
  case 2:
2424
- return this.b1b_1;
2714
+ return this.t1d_1;
2425
2715
  case 3:
2426
2716
  throw this.m7_1;
2427
2717
  }
@@ -2436,15 +2726,15 @@
2436
2726
  }
2437
2727
  while (true);
2438
2728
  };
2439
- protoOf(ignCoverageFiltered$slambda).u17 = function (url, completion) {
2440
- var i = new ignCoverageFiltered$slambda(this.y1a_1, this.z1a_1, completion);
2441
- i.a1b_1 = url;
2729
+ protoOf(ignCoverageFiltered$slambda).l1a = function (url, completion) {
2730
+ var i = new ignCoverageFiltered$slambda(this.q1d_1, this.r1d_1, completion);
2731
+ i.s1d_1 = url;
2442
2732
  return i;
2443
2733
  };
2444
2734
  function ignCoverageFiltered$slambda_0($config, $fetcher, resultContinuation) {
2445
2735
  var i = new ignCoverageFiltered$slambda($config, $fetcher, resultContinuation);
2446
2736
  return constructCallableReference(function (url, $completion) {
2447
- return i.j17(url, $completion);
2737
+ return i.a1a(url, $completion);
2448
2738
  }, 1);
2449
2739
  }
2450
2740
  var static_init_called_1;
@@ -2459,16 +2749,27 @@
2459
2749
  var IgnLidarHdLayer_MNT_instance;
2460
2750
  var IgnLidarHdLayer_MNS_instance;
2461
2751
  var IgnLidarHdLayer_MNH_instance;
2752
+ function values_0() {
2753
+ static_init_1();
2754
+ return [IgnLidarHdLayer_MNT_getInstance(), IgnLidarHdLayer_MNS_getInstance(), IgnLidarHdLayer_MNH_getInstance()];
2755
+ }
2756
+ function get_entries_0() {
2757
+ static_init_1();
2758
+ if ($ENTRIES_0 == null)
2759
+ $ENTRIES_0 = enumEntries(values_0());
2760
+ return $ENTRIES_0;
2761
+ }
2762
+ var $ENTRIES_0;
2462
2763
  function IgnLidarHdLayer(name, ordinal, wmsLayer) {
2463
2764
  Enum.call(this, name, ordinal);
2464
- this.v18_1 = wmsLayer;
2765
+ this.m1b_1 = wmsLayer;
2465
2766
  }
2466
- protoOf(IgnLidarHdLayer).s18 = function () {
2767
+ protoOf(IgnLidarHdLayer).j1b = function () {
2467
2768
  return 15;
2468
2769
  };
2469
- protoOf(IgnLidarHdLayer).w18 = function (zoomLevel) {
2470
- var tmp1_zoomLevel = zoomLevel == null ? this.s18() : zoomLevel;
2471
- var tmp3_tileUrlTemplate = ignWmsTemplate(this.v18_1, 256);
2770
+ protoOf(IgnLidarHdLayer).n1b = function (zoomLevel) {
2771
+ var tmp1_zoomLevel = zoomLevel == null ? this.j1b() : zoomLevel;
2772
+ var tmp3_tileUrlTemplate = ignWmsTemplate(this.m1b_1, 256);
2472
2773
  var tmp4_encoding = TileEncoding_BIL32_getInstance();
2473
2774
  var tmp5_attribution = new Attribution('\xA9 IGN \u2014 LiDAR HD ' + this.x1_1 + ', Licence Ouverte Etalab 2.0', 'https://geoservices.ign.fr/lidarhd');
2474
2775
  return new ElevationProviderConfig(tmp1_zoomLevel, VOID, tmp3_tileUrlTemplate, 256, tmp5_attribution, tmp4_encoding, 20);
@@ -2482,7 +2783,7 @@
2482
2783
  tmp = fetcherFor;
2483
2784
  }
2484
2785
  fetcherFor = tmp;
2485
- var config = _this__u8e3s4.w18(zoomLevel);
2786
+ var config = _this__u8e3s4.n1b(zoomLevel);
2486
2787
  return ElevationProvider_init_$Create$_0(config, ignCoverageFiltered(config, fetcherFor(config)), true);
2487
2788
  }
2488
2789
  function ignWmsTemplate(layer, tileSize) {
@@ -2496,14 +2797,18 @@
2496
2797
  static_init_1();
2497
2798
  return IgnLidarHdLayer_MNS_instance;
2498
2799
  }
2800
+ function IgnLidarHdLayer_MNH_getInstance() {
2801
+ static_init_1();
2802
+ return IgnLidarHdLayer_MNH_instance;
2803
+ }
2499
2804
  function Hit(value) {
2500
- this.c1b_1 = value;
2805
+ this.u1d_1 = value;
2501
2806
  }
2502
2807
  function Await(deferred) {
2503
- this.d1b_1 = deferred;
2808
+ this.v1d_1 = deferred;
2504
2809
  }
2505
2810
  function Owner(deferred) {
2506
- this.e1b_1 = deferred;
2811
+ this.w1d_1 = deferred;
2507
2812
  }
2508
2813
  function LoadAbandoned() {
2509
2814
  Exception_init_$Init$('load abandoned by its cancelled owner', this);
@@ -2522,18 +2827,18 @@
2522
2827
  return tmp.r7();
2523
2828
  }
2524
2829
  function LruCache$load$slambda(this$0, $key, resultContinuation) {
2525
- this.n1c_1 = this$0;
2526
- this.o1c_1 = $key;
2830
+ this.f1f_1 = this$0;
2831
+ this.g1f_1 = $key;
2527
2832
  CoroutineImpl.call(this, resultContinuation);
2528
2833
  }
2529
- protoOf(LruCache$load$slambda).s1c = function ($this$withContext, $completion) {
2530
- var tmp = this.m19($this$withContext, $completion);
2834
+ protoOf(LruCache$load$slambda).k1f = function ($this$withContext, $completion) {
2835
+ var tmp = this.d1c($this$withContext, $completion);
2531
2836
  tmp.l7_1 = Unit_instance;
2532
2837
  tmp.m7_1 = null;
2533
2838
  return tmp.r7();
2534
2839
  };
2535
2840
  protoOf(LruCache$load$slambda).z7 = function (p1, $completion) {
2536
- return this.s1c((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2841
+ return this.k1f((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2537
2842
  };
2538
2843
  protoOf(LruCache$load$slambda).r7 = function () {
2539
2844
  var suspendResult = this.l7_1;
@@ -2543,10 +2848,10 @@
2543
2848
  switch (tmp) {
2544
2849
  case 0:
2545
2850
  this.k7_1 = 2;
2546
- this.r1c_1 = this.n1c_1.w1c_1;
2547
- this.q1c_1 = null;
2851
+ this.j1f_1 = this.f1f_1.o1f_1;
2852
+ this.i1f_1 = null;
2548
2853
  this.j7_1 = 1;
2549
- suspendResult = this.r1c_1.qw(this.q1c_1, this);
2854
+ suspendResult = this.j1f_1.qw(this.i1f_1, this);
2550
2855
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2551
2856
  return suspendResult;
2552
2857
  }
@@ -2557,18 +2862,18 @@
2557
2862
  l$ret$1: do {
2558
2863
  var tmp_0;
2559
2864
  try {
2560
- tmp$ret$0 = this.n1c_1.y1c_1.w3(this.o1c_1);
2865
+ tmp$ret$0 = this.f1f_1.q1f_1.w3(this.g1f_1);
2561
2866
  break l$ret$1;
2562
2867
  } catch ($p) {
2563
2868
  var tmp_1;
2564
2869
  var t = $p;
2565
- this.r1c_1.bw(this.q1c_1);
2870
+ this.j1f_1.bw(this.i1f_1);
2566
2871
  throw t;
2567
2872
  }
2568
2873
  }
2569
2874
  while (false);
2570
2875
  var tmp_2 = tmp$ret$0;
2571
- this.r1c_1.bw(this.q1c_1);
2876
+ this.j1f_1.bw(this.i1f_1);
2572
2877
  return tmp_2;
2573
2878
  case 2:
2574
2879
  throw this.m7_1;
@@ -2584,31 +2889,31 @@
2584
2889
  }
2585
2890
  while (true);
2586
2891
  };
2587
- protoOf(LruCache$load$slambda).m19 = function ($this$withContext, completion) {
2588
- var i = new LruCache$load$slambda(this.n1c_1, this.o1c_1, completion);
2589
- i.p1c_1 = $this$withContext;
2892
+ protoOf(LruCache$load$slambda).d1c = function ($this$withContext, completion) {
2893
+ var i = new LruCache$load$slambda(this.f1f_1, this.g1f_1, completion);
2894
+ i.h1f_1 = $this$withContext;
2590
2895
  return i;
2591
2896
  };
2592
2897
  function LruCache$load$slambda_0(this$0, $key, resultContinuation) {
2593
2898
  var i = new LruCache$load$slambda(this$0, $key, resultContinuation);
2594
2899
  return constructCallableReference(function ($this$withContext, $completion) {
2595
- return i.s1c($this$withContext, $completion);
2900
+ return i.k1f($this$withContext, $completion);
2596
2901
  }, 1);
2597
2902
  }
2598
2903
  function LruCache$load$slambda_1(this$0, $key, $value, resultContinuation) {
2599
- this.h1d_1 = this$0;
2600
- this.i1d_1 = $key;
2601
- this.j1d_1 = $value;
2904
+ this.z1f_1 = this$0;
2905
+ this.a1g_1 = $key;
2906
+ this.b1g_1 = $value;
2602
2907
  CoroutineImpl.call(this, resultContinuation);
2603
2908
  }
2604
- protoOf(LruCache$load$slambda_1).n1d = function ($this$withContext, $completion) {
2605
- var tmp = this.m19($this$withContext, $completion);
2909
+ protoOf(LruCache$load$slambda_1).f1g = function ($this$withContext, $completion) {
2910
+ var tmp = this.d1c($this$withContext, $completion);
2606
2911
  tmp.l7_1 = Unit_instance;
2607
2912
  tmp.m7_1 = null;
2608
2913
  return tmp.r7();
2609
2914
  };
2610
2915
  protoOf(LruCache$load$slambda_1).z7 = function (p1, $completion) {
2611
- return this.n1d((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2916
+ return this.f1g((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2612
2917
  };
2613
2918
  protoOf(LruCache$load$slambda_1).r7 = function () {
2614
2919
  var suspendResult = this.l7_1;
@@ -2618,10 +2923,10 @@
2618
2923
  switch (tmp) {
2619
2924
  case 0:
2620
2925
  this.k7_1 = 2;
2621
- this.m1d_1 = this.h1d_1.w1c_1;
2622
- this.l1d_1 = null;
2926
+ this.e1g_1 = this.z1f_1.o1f_1;
2927
+ this.d1g_1 = null;
2623
2928
  this.j7_1 = 1;
2624
- suspendResult = this.m1d_1.qw(this.l1d_1, this);
2929
+ suspendResult = this.e1g_1.qw(this.d1g_1, this);
2625
2930
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2626
2931
  return suspendResult;
2627
2932
  }
@@ -2632,37 +2937,37 @@
2632
2937
  l$ret$1: do {
2633
2938
  var tmp_0;
2634
2939
  try {
2635
- this.h1d_1.y1c_1.w3(this.i1d_1);
2940
+ this.z1f_1.q1f_1.w3(this.a1g_1);
2636
2941
  var oldest = null;
2637
2942
  var tmp_1;
2638
- if (this.h1d_1.x1c_1.o() >= this.h1d_1.t1c_1) {
2639
- var tmp0 = this.h1d_1.x1c_1;
2640
- var key = this.i1d_1;
2943
+ if (this.z1f_1.p1f_1.o() >= this.z1f_1.l1f_1) {
2944
+ var tmp0 = this.z1f_1.p1f_1;
2945
+ var key = this.a1g_1;
2641
2946
  tmp_1 = !(isInterface(tmp0, KtMap) ? tmp0 : THROW_CCE()).r1(key);
2642
2947
  } else {
2643
2948
  tmp_1 = false;
2644
2949
  }
2645
2950
  if (tmp_1) {
2646
- var iter = this.h1d_1.x1c_1.w1().l();
2951
+ var iter = this.z1f_1.p1f_1.w1().l();
2647
2952
  oldest = iter.n().q1();
2648
2953
  iter.v2();
2649
2954
  }
2650
- var tmp0_0 = this.h1d_1.x1c_1;
2651
- var tmp2 = this.i1d_1;
2652
- var value = this.j1d_1;
2955
+ var tmp0_0 = this.z1f_1.p1f_1;
2956
+ var tmp2 = this.a1g_1;
2957
+ var value = this.b1g_1;
2653
2958
  tmp0_0.v3(tmp2, value);
2654
2959
  tmp$ret$0 = oldest;
2655
2960
  break l$ret$1;
2656
2961
  } catch ($p) {
2657
2962
  var tmp_2;
2658
2963
  var t = $p;
2659
- this.m1d_1.bw(this.l1d_1);
2964
+ this.e1g_1.bw(this.d1g_1);
2660
2965
  throw t;
2661
2966
  }
2662
2967
  }
2663
2968
  while (false);
2664
2969
  var tmp_3 = tmp$ret$0;
2665
- this.m1d_1.bw(this.l1d_1);
2970
+ this.e1g_1.bw(this.d1g_1);
2666
2971
  return tmp_3;
2667
2972
  case 2:
2668
2973
  throw this.m7_1;
@@ -2678,21 +2983,21 @@
2678
2983
  }
2679
2984
  while (true);
2680
2985
  };
2681
- protoOf(LruCache$load$slambda_1).m19 = function ($this$withContext, completion) {
2682
- var i = new LruCache$load$slambda_1(this.h1d_1, this.i1d_1, this.j1d_1, completion);
2683
- i.k1d_1 = $this$withContext;
2986
+ protoOf(LruCache$load$slambda_1).d1c = function ($this$withContext, completion) {
2987
+ var i = new LruCache$load$slambda_1(this.z1f_1, this.a1g_1, this.b1g_1, completion);
2988
+ i.c1g_1 = $this$withContext;
2684
2989
  return i;
2685
2990
  };
2686
2991
  function LruCache$load$slambda_2(this$0, $key, $value, resultContinuation) {
2687
2992
  var i = new LruCache$load$slambda_1(this$0, $key, $value, resultContinuation);
2688
2993
  return constructCallableReference(function ($this$withContext, $completion) {
2689
- return i.n1d($this$withContext, $completion);
2994
+ return i.f1g($this$withContext, $completion);
2690
2995
  }, 1);
2691
2996
  }
2692
2997
  function $getCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
2693
2998
  CoroutineImpl.call(this, resultContinuation);
2694
- this.w1d_1 = _this__u8e3s4;
2695
- this.x1d_1 = key;
2999
+ this.o1g_1 = _this__u8e3s4;
3000
+ this.p1g_1 = key;
2696
3001
  }
2697
3002
  protoOf($getCOROUTINE$).r7 = function () {
2698
3003
  var suspendResult = this.l7_1;
@@ -2711,7 +3016,7 @@
2711
3016
  }
2712
3017
 
2713
3018
  this.j7_1 = 2;
2714
- suspendResult = lookupOrClaim(this.w1d_1, this.x1d_1, this);
3019
+ suspendResult = lookupOrClaim(this.o1g_1, this.p1g_1, this);
2715
3020
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2716
3021
  return suspendResult;
2717
3022
  }
@@ -2720,11 +3025,11 @@
2720
3025
  case 2:
2721
3026
  var lookup = suspendResult;
2722
3027
  if (lookup instanceof Hit) {
2723
- return lookup.c1b_1;
3028
+ return lookup.u1d_1;
2724
3029
  } else {
2725
3030
  if (lookup instanceof Owner) {
2726
3031
  this.j7_1 = 7;
2727
- suspendResult = load(this.w1d_1, this.x1d_1, lookup.e1b_1, this);
3032
+ suspendResult = load(this.o1g_1, this.p1g_1, lookup.w1d_1, this);
2728
3033
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2729
3034
  return suspendResult;
2730
3035
  }
@@ -2733,7 +3038,7 @@
2733
3038
  if (lookup instanceof Await) {
2734
3039
  this.k7_1 = 4;
2735
3040
  this.j7_1 = 3;
2736
- suspendResult = lookup.d1b_1.fo(this);
3041
+ suspendResult = lookup.v1d_1.fo(this);
2737
3042
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2738
3043
  return suspendResult;
2739
3044
  }
@@ -2785,8 +3090,8 @@
2785
3090
  };
2786
3091
  function $lookupOrClaimCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
2787
3092
  CoroutineImpl.call(this, resultContinuation);
2788
- this.n1b_1 = _this__u8e3s4;
2789
- this.o1b_1 = key;
3093
+ this.f1e_1 = _this__u8e3s4;
3094
+ this.g1e_1 = key;
2790
3095
  }
2791
3096
  protoOf($lookupOrClaimCOROUTINE$).r7 = function () {
2792
3097
  var suspendResult = this.l7_1;
@@ -2796,10 +3101,10 @@
2796
3101
  switch (tmp) {
2797
3102
  case 0:
2798
3103
  this.k7_1 = 2;
2799
- this.q1b_1 = this.n1b_1.w1c_1;
2800
- this.p1b_1 = null;
3104
+ this.i1e_1 = this.f1e_1.o1f_1;
3105
+ this.h1e_1 = null;
2801
3106
  this.j7_1 = 1;
2802
- suspendResult = this.q1b_1.qw(this.p1b_1, this);
3107
+ suspendResult = this.i1e_1.qw(this.h1e_1, this);
2803
3108
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2804
3109
  return suspendResult;
2805
3110
  }
@@ -2812,22 +3117,22 @@
2812
3117
  try {
2813
3118
  var tmp$ret$0 = Unit_instance;
2814
3119
  l$ret$1: do {
2815
- var hit = this.n1b_1.x1c_1.w3(this.o1b_1);
3120
+ var hit = this.f1e_1.p1f_1.w3(this.g1e_1);
2816
3121
  if (!(hit == null)) {
2817
- var tmp0 = this.n1b_1.x1c_1;
2818
- var key = this.o1b_1;
3122
+ var tmp0 = this.f1e_1.p1f_1;
3123
+ var key = this.g1e_1;
2819
3124
  tmp0.v3(key, hit);
2820
3125
  tmp$ret$0 = new Hit(hit);
2821
3126
  break l$ret$1;
2822
3127
  }
2823
- var raced = this.n1b_1.y1c_1.t1(this.o1b_1);
3128
+ var raced = this.f1e_1.q1f_1.t1(this.g1e_1);
2824
3129
  var tmp_1;
2825
3130
  if (!(raced == null)) {
2826
3131
  tmp_1 = new Await(raced);
2827
3132
  } else {
2828
3133
  var ours = CompletableDeferred();
2829
- var tmp0_0 = this.n1b_1.y1c_1;
2830
- var key_0 = this.o1b_1;
3134
+ var tmp0_0 = this.f1e_1.q1f_1;
3135
+ var key_0 = this.g1e_1;
2831
3136
  tmp0_0.v3(key_0, ours);
2832
3137
  tmp_1 = new Owner(ours);
2833
3138
  }
@@ -2839,13 +3144,13 @@
2839
3144
  } catch ($p) {
2840
3145
  var tmp_2;
2841
3146
  var t = $p;
2842
- this.q1b_1.bw(this.p1b_1);
3147
+ this.i1e_1.bw(this.h1e_1);
2843
3148
  throw t;
2844
3149
  }
2845
3150
  }
2846
3151
  while (false);
2847
3152
  var tmp_3 = tmp$ret$2;
2848
- this.q1b_1.bw(this.p1b_1);
3153
+ this.i1e_1.bw(this.h1e_1);
2849
3154
  return tmp_3;
2850
3155
  case 2:
2851
3156
  throw this.m7_1;
@@ -2863,9 +3168,9 @@
2863
3168
  };
2864
3169
  function $loadCOROUTINE$(_this__u8e3s4, key, ours, resultContinuation) {
2865
3170
  CoroutineImpl.call(this, resultContinuation);
2866
- this.z1b_1 = _this__u8e3s4;
2867
- this.a1c_1 = key;
2868
- this.b1c_1 = ours;
3171
+ this.r1e_1 = _this__u8e3s4;
3172
+ this.s1e_1 = key;
3173
+ this.t1e_1 = ours;
2869
3174
  }
2870
3175
  protoOf($loadCOROUTINE$).r7 = function () {
2871
3176
  var suspendResult = this.l7_1;
@@ -2877,14 +3182,14 @@
2877
3182
  this.k7_1 = 6;
2878
3183
  this.k7_1 = 2;
2879
3184
  this.j7_1 = 1;
2880
- suspendResult = this.z1b_1.u1c_1(this.a1c_1, this);
3185
+ suspendResult = this.r1e_1.m1f_1(this.s1e_1, this);
2881
3186
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2882
3187
  return suspendResult;
2883
3188
  }
2884
3189
 
2885
3190
  continue $sm;
2886
3191
  case 1:
2887
- this.d1c_1 = suspendResult;
3192
+ this.v1e_1 = suspendResult;
2888
3193
  this.k7_1 = 6;
2889
3194
  this.j7_1 = 4;
2890
3195
  continue $sm;
@@ -2892,10 +3197,10 @@
2892
3197
  this.k7_1 = 6;
2893
3198
  var tmp_0 = this.m7_1;
2894
3199
  if (tmp_0 instanceof Error) {
2895
- this.e1c_1 = this.m7_1;
3200
+ this.w1e_1 = this.m7_1;
2896
3201
  this.j7_1 = 3;
2897
3202
  var tmp_1 = NonCancellable_getInstance();
2898
- suspendResult = withContext(tmp_1, LruCache$load$slambda_0(this.z1b_1, this.a1c_1, null), this);
3203
+ suspendResult = withContext(tmp_1, LruCache$load$slambda_0(this.r1e_1, this.s1e_1, null), this);
2899
3204
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2900
3205
  return suspendResult;
2901
3206
  }
@@ -2906,22 +3211,22 @@
2906
3211
 
2907
3212
  case 3:
2908
3213
  var tmp_2;
2909
- var tmp_3 = this.e1c_1;
3214
+ var tmp_3 = this.w1e_1;
2910
3215
  if (tmp_3 instanceof CancellationException) {
2911
3216
  tmp_2 = new LoadAbandoned();
2912
3217
  } else {
2913
- tmp_2 = this.e1c_1;
3218
+ tmp_2 = this.w1e_1;
2914
3219
  }
2915
3220
 
2916
- this.b1c_1.jr(tmp_2);
3221
+ this.t1e_1.jr(tmp_2);
2917
3222
  var tmp_4 = this;
2918
- throw this.e1c_1;
3223
+ throw this.w1e_1;
2919
3224
  case 4:
2920
3225
  this.k7_1 = 6;
2921
- this.c1c_1 = this.d1c_1;
3226
+ this.u1e_1 = this.v1e_1;
2922
3227
  this.j7_1 = 5;
2923
3228
  var tmp_5 = NonCancellable_getInstance();
2924
- suspendResult = withContext(tmp_5, LruCache$load$slambda_2(this.z1b_1, this.a1c_1, this.c1c_1, null), this);
3229
+ suspendResult = withContext(tmp_5, LruCache$load$slambda_2(this.r1e_1, this.s1e_1, this.u1e_1, null), this);
2925
3230
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2926
3231
  return suspendResult;
2927
3232
  }
@@ -2929,16 +3234,16 @@
2929
3234
  continue $sm;
2930
3235
  case 5:
2931
3236
  var evicted = suspendResult;
2932
- this.b1c_1.ir(this.c1c_1);
3237
+ this.t1e_1.ir(this.u1e_1);
2933
3238
  if (!(evicted == null)) {
2934
- var tmp0_safe_receiver = this.z1b_1.v1c_1;
3239
+ var tmp0_safe_receiver = this.r1e_1.n1f_1;
2935
3240
  if (tmp0_safe_receiver == null)
2936
3241
  null;
2937
3242
  else
2938
3243
  tmp0_safe_receiver(evicted);
2939
3244
  }
2940
3245
 
2941
- return this.c1c_1;
3246
+ return this.u1e_1;
2942
3247
  case 6:
2943
3248
  throw this.m7_1;
2944
3249
  }
@@ -2955,33 +3260,33 @@
2955
3260
  };
2956
3261
  function LruCache(maxSize, loader, onEvict) {
2957
3262
  onEvict = onEvict === VOID ? null : onEvict;
2958
- this.t1c_1 = maxSize;
2959
- this.u1c_1 = loader;
2960
- this.v1c_1 = onEvict;
3263
+ this.l1f_1 = maxSize;
3264
+ this.m1f_1 = loader;
3265
+ this.n1f_1 = onEvict;
2961
3266
  // Inline function 'kotlin.require' call
2962
- if (!(this.t1c_1 > 0)) {
3267
+ if (!(this.l1f_1 > 0)) {
2963
3268
  var message = 'Cache size must be greater than 0';
2964
3269
  throw IllegalArgumentException_init_$Create$(toString(message));
2965
3270
  }
2966
- this.w1c_1 = Mutex();
2967
- this.x1c_1 = LinkedHashMap_init_$Create$();
3271
+ this.o1f_1 = Mutex();
3272
+ this.p1f_1 = LinkedHashMap_init_$Create$();
2968
3273
  var tmp = this;
2969
3274
  // Inline function 'kotlin.collections.mutableMapOf' call
2970
- tmp.y1c_1 = LinkedHashMap_init_$Create$();
3275
+ tmp.q1f_1 = LinkedHashMap_init_$Create$();
2971
3276
  }
2972
- protoOf(LruCache).y1d = function (key, $completion) {
3277
+ protoOf(LruCache).q1g = function (key, $completion) {
2973
3278
  var tmp = new $getCOROUTINE$(this, key, $completion);
2974
3279
  tmp.l7_1 = Unit_instance;
2975
3280
  tmp.m7_1 = null;
2976
3281
  return tmp.r7();
2977
3282
  };
2978
3283
  function RawTile(width, height, rgba) {
2979
- this.z1d_1 = width;
2980
- this.a1e_1 = height;
2981
- this.b1e_1 = rgba;
3284
+ this.r1g_1 = width;
3285
+ this.s1g_1 = height;
3286
+ this.t1g_1 = rgba;
2982
3287
  // Inline function 'kotlin.require' call
2983
- if (!(this.b1e_1.length === imul(imul(this.z1d_1, this.a1e_1), 4))) {
2984
- var message = 'rgba size ' + this.b1e_1.length + ' does not match width*height*4 (' + imul(imul(this.z1d_1, this.a1e_1), 4) + ')';
3288
+ if (!(this.t1g_1.length === imul(imul(this.r1g_1, this.s1g_1), 4))) {
3289
+ var message = 'rgba size ' + this.t1g_1.length + ' does not match width*height*4 (' + imul(imul(this.r1g_1, this.s1g_1), 4) + ')';
2985
3290
  throw IllegalArgumentException_init_$Create$(toString(message));
2986
3291
  }
2987
3292
  }
@@ -2990,72 +3295,249 @@
2990
3295
  return true;
2991
3296
  if (!(other instanceof RawTile))
2992
3297
  return false;
2993
- return this.z1d_1 === other.z1d_1 && this.a1e_1 === other.a1e_1 && contentEquals(this.b1e_1, other.b1e_1);
3298
+ return this.r1g_1 === other.r1g_1 && this.s1g_1 === other.s1g_1 && contentEquals(this.t1g_1, other.t1g_1);
2994
3299
  };
2995
3300
  protoOf(RawTile).hashCode = function () {
2996
- var result = this.z1d_1;
2997
- result = imul(31, result) + this.a1e_1 | 0;
2998
- result = imul(31, result) + contentHashCode(this.b1e_1) | 0;
3301
+ var result = this.r1g_1;
3302
+ result = imul(31, result) + this.s1g_1 | 0;
3303
+ result = imul(31, result) + contentHashCode(this.t1g_1) | 0;
2999
3304
  return result;
3000
3305
  };
3306
+ function TerrainSample(latitude, longitude, elevation, origin, afterError) {
3307
+ this.j19_1 = latitude;
3308
+ this.k19_1 = longitude;
3309
+ this.l19_1 = elevation;
3310
+ this.m19_1 = origin;
3311
+ this.n19_1 = afterError;
3312
+ }
3313
+ protoOf(TerrainSample).u1g = function (latitude, longitude, elevation, origin, afterError) {
3314
+ return new TerrainSample(latitude, longitude, elevation, origin, afterError);
3315
+ };
3316
+ protoOf(TerrainSample).o19 = function (latitude, longitude, elevation, origin, afterError, $super) {
3317
+ latitude = latitude === VOID ? this.j19_1 : latitude;
3318
+ longitude = longitude === VOID ? this.k19_1 : longitude;
3319
+ elevation = elevation === VOID ? this.l19_1 : elevation;
3320
+ origin = origin === VOID ? this.m19_1 : origin;
3321
+ afterError = afterError === VOID ? this.n19_1 : afterError;
3322
+ return $super === VOID ? this.u1g(latitude, longitude, elevation, origin, afterError) : $super.u1g.call(this, latitude, longitude, elevation, origin, afterError);
3323
+ };
3324
+ protoOf(TerrainSample).toString = function () {
3325
+ return 'TerrainSample(latitude=' + this.j19_1 + ', longitude=' + this.k19_1 + ', elevation=' + this.l19_1 + ', origin=' + this.m19_1.toString() + ', afterError=' + this.n19_1 + ')';
3326
+ };
3327
+ protoOf(TerrainSample).hashCode = function () {
3328
+ var result = getNumberHashCode(this.j19_1);
3329
+ result = imul(result, 31) + getNumberHashCode(this.k19_1) | 0;
3330
+ result = imul(result, 31) + getNumberHashCode(this.l19_1) | 0;
3331
+ result = imul(result, 31) + this.m19_1.hashCode() | 0;
3332
+ result = imul(result, 31) + getBooleanHashCode(this.n19_1) | 0;
3333
+ return result;
3334
+ };
3335
+ protoOf(TerrainSample).equals = function (other) {
3336
+ if (this === other)
3337
+ return true;
3338
+ if (!(other instanceof TerrainSample))
3339
+ return false;
3340
+ if (!equals(this.j19_1, other.j19_1))
3341
+ return false;
3342
+ if (!equals(this.k19_1, other.k19_1))
3343
+ return false;
3344
+ if (!equals(this.l19_1, other.l19_1))
3345
+ return false;
3346
+ if (!this.m19_1.equals(other.m19_1))
3347
+ return false;
3348
+ if (!(this.n19_1 === other.n19_1))
3349
+ return false;
3350
+ return true;
3351
+ };
3352
+ var static_init_called_2;
3353
+ function static_init_2() {
3354
+ if (static_init_called_2)
3355
+ return Unit_instance;
3356
+ static_init_called_2 = true;
3357
+ TerrainOrigin_IGN_LIDAR_HD_instance = new TerrainOrigin('IGN_LIDAR_HD', 0, 'ign-lidar-hd', true);
3358
+ TerrainOrigin_MAPTERHORN_MEASURED_instance = new TerrainOrigin('MAPTERHORN_MEASURED', 1, 'mapterhorn-measured', true);
3359
+ TerrainOrigin_MAPTERHORN_instance = new TerrainOrigin('MAPTERHORN', 2, 'mapterhorn', false);
3360
+ TerrainOrigin_OTHER_instance = new TerrainOrigin('OTHER', 3, 'other', false);
3361
+ TerrainOrigin_NONE_instance = new TerrainOrigin('NONE', 4, 'none', false);
3362
+ if (Companion_instance_1 == null) {
3363
+ Companion_instance;
3364
+ new Companion_0();
3365
+ }
3366
+ }
3367
+ var TerrainOrigin_IGN_LIDAR_HD_instance;
3368
+ var TerrainOrigin_MAPTERHORN_MEASURED_instance;
3369
+ var TerrainOrigin_MAPTERHORN_instance;
3370
+ var TerrainOrigin_OTHER_instance;
3371
+ var TerrainOrigin_NONE_instance;
3372
+ function Companion_0() {
3373
+ Companion_instance_1 = this;
3374
+ var tmp = this;
3375
+ // Inline function 'kotlin.collections.map' call
3376
+ var this_0 = get_entries_1();
3377
+ // Inline function 'kotlin.collections.mapTo' call
3378
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
3379
+ var _iterator__ex2g4s = this_0.l();
3380
+ while (_iterator__ex2g4s.m()) {
3381
+ var item = _iterator__ex2g4s.n();
3382
+ var tmp$ret$2 = item.x1g_1;
3383
+ destination.k(tmp$ret$2);
3384
+ }
3385
+ tmp.h19_1 = destination;
3386
+ }
3387
+ protoOf(Companion_0).i19 = function (config, declared, latitude, longitude) {
3388
+ var template = config.c19_1;
3389
+ var tmp;
3390
+ var tmp0 = get_entries_0();
3391
+ var tmp$ret$0;
3392
+ $l$block_0: {
3393
+ // Inline function 'kotlin.collections.any' call
3394
+ var tmp_0;
3395
+ if (isInterface(tmp0, Collection)) {
3396
+ tmp_0 = tmp0.r();
3397
+ } else {
3398
+ tmp_0 = false;
3399
+ }
3400
+ if (tmp_0) {
3401
+ tmp$ret$0 = false;
3402
+ break $l$block_0;
3403
+ }
3404
+ var _iterator__ex2g4s = tmp0.l();
3405
+ while (_iterator__ex2g4s.m()) {
3406
+ var element = _iterator__ex2g4s.n();
3407
+ if (element.n1b(config.a19_1).c19_1 === template) {
3408
+ tmp$ret$0 = true;
3409
+ break $l$block_0;
3410
+ }
3411
+ }
3412
+ tmp$ret$0 = false;
3413
+ }
3414
+ if (tmp$ret$0) {
3415
+ tmp = ElevationSource_IGN_LIDAR_HD_getInstance();
3416
+ } else {
3417
+ if (template === ElevationSource_MAPTERHORN_getInstance().n1b(config.a19_1).c19_1) {
3418
+ tmp = ElevationSource_MAPTERHORN_getInstance();
3419
+ } else {
3420
+ tmp = declared;
3421
+ }
3422
+ }
3423
+ var source = tmp;
3424
+ var tmp_1;
3425
+ switch (source == null ? -1 : source.y1_1) {
3426
+ case 1:
3427
+ tmp_1 = TerrainOrigin_IGN_LIDAR_HD_getInstance();
3428
+ break;
3429
+ case 0:
3430
+ tmp_1 = IgnLidarHdCoverage_getInstance().g1d(latitude, longitude) ? TerrainOrigin_MAPTERHORN_MEASURED_getInstance() : TerrainOrigin_MAPTERHORN_getInstance();
3431
+ break;
3432
+ case -1:
3433
+ tmp_1 = TerrainOrigin_OTHER_getInstance();
3434
+ break;
3435
+ default:
3436
+ noWhenBranchMatchedException();
3437
+ break;
3438
+ }
3439
+ return tmp_1;
3440
+ };
3441
+ var Companion_instance_1;
3442
+ function Companion_getInstance_1() {
3443
+ static_init_2();
3444
+ return Companion_instance_1;
3445
+ }
3446
+ function values_1() {
3447
+ static_init_2();
3448
+ return [TerrainOrigin_IGN_LIDAR_HD_getInstance(), TerrainOrigin_MAPTERHORN_MEASURED_getInstance(), TerrainOrigin_MAPTERHORN_getInstance(), TerrainOrigin_OTHER_getInstance(), TerrainOrigin_NONE_getInstance()];
3449
+ }
3450
+ function get_entries_1() {
3451
+ static_init_2();
3452
+ if ($ENTRIES_1 == null)
3453
+ $ENTRIES_1 = enumEntries(values_1());
3454
+ return $ENTRIES_1;
3455
+ }
3456
+ var $ENTRIES_1;
3457
+ function TerrainOrigin(name, ordinal, id, measured) {
3458
+ Enum.call(this, name, ordinal);
3459
+ this.x1g_1 = id;
3460
+ this.y1g_1 = measured;
3461
+ }
3462
+ function TerrainOrigin_IGN_LIDAR_HD_getInstance() {
3463
+ static_init_2();
3464
+ return TerrainOrigin_IGN_LIDAR_HD_instance;
3465
+ }
3466
+ function TerrainOrigin_MAPTERHORN_MEASURED_getInstance() {
3467
+ static_init_2();
3468
+ return TerrainOrigin_MAPTERHORN_MEASURED_instance;
3469
+ }
3470
+ function TerrainOrigin_MAPTERHORN_getInstance() {
3471
+ static_init_2();
3472
+ return TerrainOrigin_MAPTERHORN_instance;
3473
+ }
3474
+ function TerrainOrigin_OTHER_getInstance() {
3475
+ static_init_2();
3476
+ return TerrainOrigin_OTHER_instance;
3477
+ }
3478
+ function TerrainOrigin_NONE_getInstance() {
3479
+ static_init_2();
3480
+ return TerrainOrigin_NONE_instance;
3481
+ }
3001
3482
  function Tile_init_$Init$(raw, $this) {
3002
- Tile.call($this, raw.z1d_1, raw.a1e_1, raw.b1e_1);
3483
+ Tile.call($this, raw.r1g_1, raw.s1g_1, raw.t1g_1);
3003
3484
  return $this;
3004
3485
  }
3005
3486
  function Tile_init_$Create$(raw) {
3006
3487
  return Tile_init_$Init$(raw, objectCreate(protoOf(Tile)));
3007
3488
  }
3008
- function Companion_0() {
3489
+ function Companion_1() {
3009
3490
  }
3010
- protoOf(Companion_0).c1e = function (r, g, b) {
3491
+ protoOf(Companion_1).z1g = function (r, g, b) {
3011
3492
  var raw = r * 256.0 + g + b / 256.0 - 32768.0;
3012
3493
  return round(raw * 100.0) / 100.0;
3013
3494
  };
3014
- var Companion_instance_1;
3015
- function Companion_getInstance_1() {
3016
- return Companion_instance_1;
3495
+ var Companion_instance_2;
3496
+ function Companion_getInstance_2() {
3497
+ return Companion_instance_2;
3017
3498
  }
3018
3499
  function Tile(width, height, rgba) {
3019
- this.w14_1 = width;
3020
- this.x14_1 = height;
3021
- this.y14_1 = rgba;
3500
+ this.c16_1 = width;
3501
+ this.d16_1 = height;
3502
+ this.e16_1 = rgba;
3503
+ this.f16_1 = false;
3022
3504
  var tmp = this;
3023
3505
  var tmp_0 = 0;
3024
- var tmp_1 = imul(this.w14_1, this.x14_1);
3506
+ var tmp_1 = imul(this.c16_1, this.d16_1);
3025
3507
  var tmp_2 = new Float64Array(tmp_1);
3026
3508
  while (tmp_0 < tmp_1) {
3027
3509
  tmp_2[tmp_0] = NaN;
3028
3510
  tmp_0 = tmp_0 + 1 | 0;
3029
3511
  }
3030
- tmp.z14_1 = tmp_2;
3031
- this.a15_1 = 0;
3512
+ tmp.g16_1 = tmp_2;
3513
+ this.h16_1 = 0;
3032
3514
  }
3033
- protoOf(Tile).b15 = function (pixel) {
3034
- var containsUpper = this.w14_1;
3035
- var containsArg = pixel.p14_1;
3515
+ protoOf(Tile).i16 = function (pixel) {
3516
+ var containsUpper = this.c16_1;
3517
+ var containsArg = pixel.v15_1;
3036
3518
  // Inline function 'kotlin.require' call
3037
3519
  if (!(0 <= containsArg ? containsArg < containsUpper : false)) {
3038
- var message = 'Invalid x position: ' + pixel.p14_1 + '. Must be between 0 and ' + (this.w14_1 - 1 | 0);
3520
+ var message = 'Invalid x position: ' + pixel.v15_1 + '. Must be between 0 and ' + (this.c16_1 - 1 | 0);
3039
3521
  throw IllegalArgumentException_init_$Create$(toString(message));
3040
3522
  }
3041
- var containsUpper_0 = this.x14_1;
3042
- var containsArg_0 = pixel.q14_1;
3523
+ var containsUpper_0 = this.d16_1;
3524
+ var containsArg_0 = pixel.w15_1;
3043
3525
  // Inline function 'kotlin.require' call
3044
3526
  if (!(0 <= containsArg_0 ? containsArg_0 < containsUpper_0 : false)) {
3045
- var message_0 = 'Invalid y position: ' + pixel.q14_1 + '. Must be between 0 and ' + (this.x14_1 - 1 | 0);
3527
+ var message_0 = 'Invalid y position: ' + pixel.w15_1 + '. Must be between 0 and ' + (this.d16_1 - 1 | 0);
3046
3528
  throw IllegalArgumentException_init_$Create$(toString(message_0));
3047
3529
  }
3048
- var idx = imul(pixel.q14_1, this.w14_1) + pixel.p14_1 | 0;
3049
- var cached = this.z14_1[idx];
3530
+ var idx = imul(pixel.w15_1, this.c16_1) + pixel.v15_1 | 0;
3531
+ var cached = this.g16_1[idx];
3050
3532
  if (!isNaN_0(cached))
3051
3533
  return cached;
3052
3534
  var byteOffset = imul(idx, 4);
3053
- var r = this.y14_1[byteOffset] & 255;
3054
- var g = this.y14_1[byteOffset + 1 | 0] & 255;
3055
- var b = this.y14_1[byteOffset + 2 | 0] & 255;
3056
- var elevation = r === 0 && g === 0 && b === 0 ? NaN : Companion_instance_1.c1e(r, g, b);
3057
- this.z14_1[idx] = elevation;
3058
- this.a15_1 = this.a15_1 + 1 | 0;
3535
+ var r = this.e16_1[byteOffset] & 255;
3536
+ var g = this.e16_1[byteOffset + 1 | 0] & 255;
3537
+ var b = this.e16_1[byteOffset + 2 | 0] & 255;
3538
+ var elevation = r === 0 && g === 0 && b === 0 ? NaN : Companion_instance_2.z1g(r, g, b);
3539
+ this.g16_1[idx] = elevation;
3540
+ this.h16_1 = this.h16_1 + 1 | 0;
3059
3541
  return elevation;
3060
3542
  };
3061
3543
  function UnreadableTiles$Companion$monotonicClock$lambda($origin) {
@@ -3064,33 +3546,36 @@
3064
3546
  };
3065
3547
  }
3066
3548
  function Entry(failure, untilMs) {
3067
- this.d1e_1 = failure;
3068
- this.e1e_1 = untilMs;
3549
+ this.a1h_1 = failure;
3550
+ this.b1h_1 = untilMs;
3069
3551
  }
3070
3552
  function _get_empty__hz710c($this) {
3071
- var tmp0 = $this.l1e_1;
3553
+ var tmp0 = $this.i1h_1;
3072
3554
  var tmp = KProperty1;
3073
3555
  // Inline function 'kotlin.getValue' call
3074
3556
  getPropertyCallableRef('empty', 1, tmp, UnreadableTiles$_get_empty_$ref_9kivqt(), null);
3075
3557
  return tmp0.q1();
3076
3558
  }
3077
- function Companion_1() {
3078
- Companion_instance_2 = this;
3079
- this.m1e_1 = new Long(60000, 0);
3559
+ function Companion_2() {
3560
+ Companion_instance_3 = this;
3561
+ this.j1h_1 = new Long(60000, 0);
3080
3562
  var tmp = this;
3081
3563
  // Inline function 'kotlin.let' call
3082
3564
  var origin = Monotonic_instance.wb();
3083
- tmp.n1e_1 = UnreadableTiles$Companion$monotonicClock$lambda(origin);
3565
+ tmp.k1h_1 = UnreadableTiles$Companion$monotonicClock$lambda(origin);
3084
3566
  }
3085
- var Companion_instance_2;
3086
- function Companion_getInstance_2() {
3087
- if (Companion_instance_2 == null)
3088
- new Companion_1();
3089
- return Companion_instance_2;
3567
+ var Companion_instance_3;
3568
+ function Companion_getInstance_3() {
3569
+ if (Companion_instance_3 == null)
3570
+ new Companion_2();
3571
+ return Companion_instance_3;
3090
3572
  }
3091
3573
  function UnreadableTiles$empty$delegate$lambda(this$0) {
3092
3574
  return function () {
3093
- return Tile_init_$Create$(noDataTile(this$0.g1e_1));
3575
+ // Inline function 'kotlin.also' call
3576
+ var this_0 = Tile_init_$Create$(noDataTile(this$0.d1h_1));
3577
+ this_0.f16_1 = true;
3578
+ return this_0;
3094
3579
  };
3095
3580
  }
3096
3581
  function UnreadableTiles$_get_empty_$ref_9kivqt() {
@@ -3100,8 +3585,8 @@
3100
3585
  }
3101
3586
  function $cachedCOROUTINE$(_this__u8e3s4, tc, resultContinuation) {
3102
3587
  CoroutineImpl.call(this, resultContinuation);
3103
- this.w1e_1 = _this__u8e3s4;
3104
- this.x1e_1 = tc;
3588
+ this.t1h_1 = _this__u8e3s4;
3589
+ this.u1h_1 = tc;
3105
3590
  }
3106
3591
  protoOf($cachedCOROUTINE$).r7 = function () {
3107
3592
  var suspendResult = this.l7_1;
@@ -3111,10 +3596,10 @@
3111
3596
  switch (tmp) {
3112
3597
  case 0:
3113
3598
  this.k7_1 = 4;
3114
- this.a1f_1 = this.w1e_1.j1e_1;
3115
- this.z1e_1 = null;
3599
+ this.x1h_1 = this.t1h_1.g1h_1;
3600
+ this.w1h_1 = null;
3116
3601
  this.j7_1 = 1;
3117
- suspendResult = this.a1f_1.qw(this.z1e_1, this);
3602
+ suspendResult = this.x1h_1.qw(this.w1h_1, this);
3118
3603
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3119
3604
  return suspendResult;
3120
3605
  }
@@ -3127,7 +3612,7 @@
3127
3612
  l$ret$1: do {
3128
3613
  var tmp_0;
3129
3614
  try {
3130
- var tmp0_elvis_lhs = this.w1e_1.k1e_1.t1(this.x1e_1);
3615
+ var tmp0_elvis_lhs = this.t1h_1.h1h_1.t1(this.u1h_1);
3131
3616
  var tmp_1;
3132
3617
  if (tmp0_elvis_lhs == null) {
3133
3618
  tmp$ret$0 = null;
@@ -3136,8 +3621,8 @@
3136
3621
  tmp_1 = tmp0_elvis_lhs;
3137
3622
  }
3138
3623
  var e = tmp_1;
3139
- if (compare(this.w1e_1.i1e_1(), e.e1e_1) >= 0) {
3140
- this.w1e_1.k1e_1.w3(this.x1e_1);
3624
+ if (compare(this.t1h_1.f1h_1(), e.b1h_1) >= 0) {
3625
+ this.t1h_1.h1h_1.w3(this.u1h_1);
3141
3626
  tmp$ret$0 = null;
3142
3627
  break l$ret$1;
3143
3628
  }
@@ -3146,27 +3631,27 @@
3146
3631
  } catch ($p) {
3147
3632
  var tmp_2;
3148
3633
  var t = $p;
3149
- this.a1f_1.bw(this.z1e_1);
3634
+ this.x1h_1.bw(this.w1h_1);
3150
3635
  throw t;
3151
3636
  }
3152
3637
  }
3153
3638
  while (false);
3154
3639
  var tmp_3 = tmp$ret$0;
3155
- this.a1f_1.bw(this.z1e_1);
3640
+ this.x1h_1.bw(this.w1h_1);
3156
3641
  return tmp_3;
3157
3642
  }
3158
3643
  while (false);
3159
3644
  var tmp_4 = tmp$ret$2;
3160
- this.a1f_1.bw(this.z1e_1);
3645
+ this.x1h_1.bw(this.w1h_1);
3161
3646
  var entry = tmp_4;
3162
3647
  var tmp0_safe_receiver = this.p7().w7(Key_instance);
3163
3648
  if (tmp0_safe_receiver == null) {
3164
- this.y1e_1 = null;
3649
+ this.v1h_1 = null;
3165
3650
  this.j7_1 = 3;
3166
3651
  continue $sm;
3167
3652
  } else {
3168
3653
  this.j7_1 = 2;
3169
- suspendResult = tmp0_safe_receiver.e1f(entry.d1e_1, this);
3654
+ suspendResult = tmp0_safe_receiver.b1i(entry.a1h_1, this);
3170
3655
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3171
3656
  return suspendResult;
3172
3657
  }
@@ -3175,11 +3660,11 @@
3175
3660
 
3176
3661
  case 2:
3177
3662
  var tmp_5 = this;
3178
- tmp_5.y1e_1 = Unit_instance;
3663
+ tmp_5.v1h_1 = Unit_instance;
3179
3664
  this.j7_1 = 3;
3180
3665
  continue $sm;
3181
3666
  case 3:
3182
- return _get_empty__hz710c(this.w1e_1);
3667
+ return _get_empty__hz710c(this.t1h_1);
3183
3668
  case 4:
3184
3669
  throw this.m7_1;
3185
3670
  }
@@ -3196,9 +3681,9 @@
3196
3681
  };
3197
3682
  function $rememberCOROUTINE$(_this__u8e3s4, tc, error, resultContinuation) {
3198
3683
  CoroutineImpl.call(this, resultContinuation);
3199
- this.n1f_1 = _this__u8e3s4;
3200
- this.o1f_1 = tc;
3201
- this.p1f_1 = error;
3684
+ this.k1i_1 = _this__u8e3s4;
3685
+ this.l1i_1 = tc;
3686
+ this.m1i_1 = error;
3202
3687
  }
3203
3688
  protoOf($rememberCOROUTINE$).r7 = function () {
3204
3689
  var suspendResult = this.l7_1;
@@ -3209,13 +3694,13 @@
3209
3694
  case 0:
3210
3695
  this.k7_1 = 4;
3211
3696
  var tmp_0 = this;
3212
- var tmp0_elvis_lhs = this.p1f_1.message;
3213
- var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? getKClassFromExpression(this.p1f_1).t8() : tmp0_elvis_lhs;
3214
- tmp_0.r1f_1 = new TileFailure(this.n1f_1.f1e_1, this.o1f_1, tmp1_elvis_lhs == null ? 'error' : tmp1_elvis_lhs);
3215
- this.t1f_1 = this.n1f_1.j1e_1;
3216
- this.s1f_1 = null;
3697
+ var tmp0_elvis_lhs = this.m1i_1.message;
3698
+ var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? getKClassFromExpression(this.m1i_1).t8() : tmp0_elvis_lhs;
3699
+ tmp_0.o1i_1 = new TileFailure(this.k1i_1.c1h_1, this.l1i_1, tmp1_elvis_lhs == null ? 'error' : tmp1_elvis_lhs);
3700
+ this.q1i_1 = this.k1i_1.g1h_1;
3701
+ this.p1i_1 = null;
3217
3702
  this.j7_1 = 1;
3218
- suspendResult = this.t1f_1.qw(this.s1f_1, this);
3703
+ suspendResult = this.q1i_1.qw(this.p1i_1, this);
3219
3704
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3220
3705
  return suspendResult;
3221
3706
  }
@@ -3225,28 +3710,28 @@
3225
3710
  l$ret$1: do {
3226
3711
  var tmp_1;
3227
3712
  try {
3228
- var tmp0 = this.n1f_1.k1e_1;
3229
- var tmp2 = this.o1f_1;
3230
- var value = new Entry(this.r1f_1, add(this.n1f_1.i1e_1(), this.n1f_1.h1e_1));
3713
+ var tmp0 = this.k1i_1.h1h_1;
3714
+ var tmp2 = this.l1i_1;
3715
+ var value = new Entry(this.o1i_1, add(this.k1i_1.f1h_1(), this.k1i_1.e1h_1));
3231
3716
  tmp0.v3(tmp2, value);
3232
3717
  break l$ret$1;
3233
3718
  } catch ($p) {
3234
3719
  var tmp_2;
3235
3720
  var t = $p;
3236
- this.t1f_1.bw(this.s1f_1);
3721
+ this.q1i_1.bw(this.p1i_1);
3237
3722
  throw t;
3238
3723
  }
3239
3724
  }
3240
3725
  while (false);
3241
- this.t1f_1.bw(this.s1f_1);
3726
+ this.q1i_1.bw(this.p1i_1);
3242
3727
  var tmp2_safe_receiver = this.p7().w7(Key_instance);
3243
3728
  if (tmp2_safe_receiver == null) {
3244
- this.q1f_1 = null;
3729
+ this.n1i_1 = null;
3245
3730
  this.j7_1 = 3;
3246
3731
  continue $sm;
3247
3732
  } else {
3248
3733
  this.j7_1 = 2;
3249
- suspendResult = tmp2_safe_receiver.e1f(this.r1f_1, this);
3734
+ suspendResult = tmp2_safe_receiver.b1i(this.o1i_1, this);
3250
3735
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3251
3736
  return suspendResult;
3252
3737
  }
@@ -3255,11 +3740,11 @@
3255
3740
 
3256
3741
  case 2:
3257
3742
  var tmp_3 = this;
3258
- tmp_3.q1f_1 = Unit_instance;
3743
+ tmp_3.n1i_1 = Unit_instance;
3259
3744
  this.j7_1 = 3;
3260
3745
  continue $sm;
3261
3746
  case 3:
3262
- return _get_empty__hz710c(this.n1f_1);
3747
+ return _get_empty__hz710c(this.k1i_1);
3263
3748
  case 4:
3264
3749
  throw this.m7_1;
3265
3750
  }
@@ -3275,42 +3760,42 @@
3275
3760
  while (true);
3276
3761
  };
3277
3762
  function UnreadableTiles(urlTemplate, tileSize, retryAfterMs, now) {
3278
- Companion_getInstance_2();
3763
+ Companion_getInstance_3();
3279
3764
  retryAfterMs = retryAfterMs === VOID ? new Long(60000, 0) : retryAfterMs;
3280
- now = now === VOID ? Companion_getInstance_2().n1e_1 : now;
3281
- this.f1e_1 = urlTemplate;
3282
- this.g1e_1 = tileSize;
3283
- this.h1e_1 = retryAfterMs;
3284
- this.i1e_1 = now;
3285
- this.j1e_1 = Mutex();
3286
- this.k1e_1 = HashMap_init_$Create$();
3765
+ now = now === VOID ? Companion_getInstance_3().k1h_1 : now;
3766
+ this.c1h_1 = urlTemplate;
3767
+ this.d1h_1 = tileSize;
3768
+ this.e1h_1 = retryAfterMs;
3769
+ this.f1h_1 = now;
3770
+ this.g1h_1 = Mutex();
3771
+ this.h1h_1 = HashMap_init_$Create$();
3287
3772
  var tmp = this;
3288
- tmp.l1e_1 = lazy(UnreadableTiles$empty$delegate$lambda(this));
3773
+ tmp.i1h_1 = lazy(UnreadableTiles$empty$delegate$lambda(this));
3289
3774
  }
3290
- protoOf(UnreadableTiles).u1f = function (tc, $completion) {
3775
+ protoOf(UnreadableTiles).r1i = function (tc, $completion) {
3291
3776
  var tmp = new $cachedCOROUTINE$(this, tc, $completion);
3292
3777
  tmp.l7_1 = Unit_instance;
3293
3778
  tmp.m7_1 = null;
3294
3779
  return tmp.r7();
3295
3780
  };
3296
- protoOf(UnreadableTiles).v1f = function (tc, error, $completion) {
3781
+ protoOf(UnreadableTiles).s1i = function (tc, error, $completion) {
3297
3782
  var tmp = new $rememberCOROUTINE$(this, tc, error, $completion);
3298
3783
  tmp.l7_1 = Unit_instance;
3299
3784
  tmp.m7_1 = null;
3300
3785
  return tmp.r7();
3301
3786
  };
3302
3787
  function TileFailure(urlTemplate, tile, message) {
3303
- this.w1f_1 = urlTemplate;
3304
- this.x1f_1 = tile;
3305
- this.y1f_1 = message;
3788
+ this.t1i_1 = urlTemplate;
3789
+ this.u1i_1 = tile;
3790
+ this.v1i_1 = message;
3306
3791
  }
3307
3792
  protoOf(TileFailure).toString = function () {
3308
- return 'TileFailure(urlTemplate=' + this.w1f_1 + ', tile=' + this.x1f_1.toString() + ', message=' + this.y1f_1 + ')';
3793
+ return 'TileFailure(urlTemplate=' + this.t1i_1 + ', tile=' + this.u1i_1.toString() + ', message=' + this.v1i_1 + ')';
3309
3794
  };
3310
3795
  protoOf(TileFailure).hashCode = function () {
3311
- var result = getStringHashCode(this.w1f_1);
3312
- result = imul(result, 31) + this.x1f_1.hashCode() | 0;
3313
- result = imul(result, 31) + getStringHashCode(this.y1f_1) | 0;
3796
+ var result = getStringHashCode(this.t1i_1);
3797
+ result = imul(result, 31) + this.u1i_1.hashCode() | 0;
3798
+ result = imul(result, 31) + getStringHashCode(this.v1i_1) | 0;
3314
3799
  return result;
3315
3800
  };
3316
3801
  protoOf(TileFailure).equals = function (other) {
@@ -3318,11 +3803,11 @@
3318
3803
  return true;
3319
3804
  if (!(other instanceof TileFailure))
3320
3805
  return false;
3321
- if (!(this.w1f_1 === other.w1f_1))
3806
+ if (!(this.t1i_1 === other.t1i_1))
3322
3807
  return false;
3323
- if (!this.x1f_1.equals(other.x1f_1))
3808
+ if (!this.u1i_1.equals(other.u1i_1))
3324
3809
  return false;
3325
- if (!(this.y1f_1 === other.y1f_1))
3810
+ if (!(this.v1i_1 === other.v1i_1))
3326
3811
  return false;
3327
3812
  return true;
3328
3813
  };
@@ -3334,8 +3819,8 @@
3334
3819
  }
3335
3820
  function $recordCOROUTINE$(_this__u8e3s4, failure, resultContinuation) {
3336
3821
  CoroutineImpl.call(this, resultContinuation);
3337
- this.h1g_1 = _this__u8e3s4;
3338
- this.i1g_1 = failure;
3822
+ this.e1j_1 = _this__u8e3s4;
3823
+ this.f1j_1 = failure;
3339
3824
  }
3340
3825
  protoOf($recordCOROUTINE$).r7 = function () {
3341
3826
  var suspendResult = this.l7_1;
@@ -3345,10 +3830,10 @@
3345
3830
  switch (tmp) {
3346
3831
  case 0:
3347
3832
  this.k7_1 = 2;
3348
- this.k1g_1 = this.h1g_1.c1f_1;
3349
- this.j1g_1 = null;
3833
+ this.h1j_1 = this.e1j_1.z1h_1;
3834
+ this.g1j_1 = null;
3350
3835
  this.j7_1 = 1;
3351
- suspendResult = this.k1g_1.qw(this.j1g_1, this);
3836
+ suspendResult = this.h1j_1.qw(this.g1j_1, this);
3352
3837
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3353
3838
  return suspendResult;
3354
3839
  }
@@ -3358,12 +3843,12 @@
3358
3843
  l$ret$1: do {
3359
3844
  var tmp_0;
3360
3845
  try {
3361
- var tmp0 = this.h1g_1.d1f_1;
3362
- var key = this.i1g_1.w1f_1 + '|' + this.i1g_1.x1f_1.toString();
3846
+ var tmp0 = this.e1j_1.a1i_1;
3847
+ var key = this.f1j_1.t1i_1 + '|' + this.f1j_1.u1i_1.toString();
3363
3848
  var value = tmp0.t1(key);
3364
3849
  var tmp_1;
3365
3850
  if (value == null) {
3366
- var answer = this.i1g_1;
3851
+ var answer = this.f1j_1;
3367
3852
  tmp0.v3(key, answer);
3368
3853
  tmp_1 = answer;
3369
3854
  } else {
@@ -3373,12 +3858,12 @@
3373
3858
  } catch ($p) {
3374
3859
  var tmp_2;
3375
3860
  var t = $p;
3376
- this.k1g_1.bw(this.j1g_1);
3861
+ this.h1j_1.bw(this.g1j_1);
3377
3862
  throw t;
3378
3863
  }
3379
3864
  }
3380
3865
  while (false);
3381
- this.k1g_1.bw(this.j1g_1);
3866
+ this.h1j_1.bw(this.g1j_1);
3382
3867
  return Unit_instance;
3383
3868
  case 2:
3384
3869
  throw this.m7_1;
@@ -3396,44 +3881,44 @@
3396
3881
  };
3397
3882
  function TileFailureLog() {
3398
3883
  AbstractCoroutineContextElement.call(this, Key_instance);
3399
- this.c1f_1 = Mutex();
3400
- this.d1f_1 = LinkedHashMap_init_$Create$();
3884
+ this.z1h_1 = Mutex();
3885
+ this.a1i_1 = LinkedHashMap_init_$Create$();
3401
3886
  }
3402
- protoOf(TileFailureLog).e1f = function (failure, $completion) {
3887
+ protoOf(TileFailureLog).b1i = function (failure, $completion) {
3403
3888
  var tmp = new $recordCOROUTINE$(this, failure, $completion);
3404
3889
  tmp.l7_1 = Unit_instance;
3405
3890
  tmp.m7_1 = null;
3406
3891
  return tmp.r7();
3407
3892
  };
3408
- protoOf(TileFailureLog).l1g = function () {
3409
- return toList_0(this.d1f_1.v1());
3893
+ protoOf(TileFailureLog).i1j = function () {
3894
+ return toList_0(this.a1i_1.v1());
3410
3895
  };
3411
3896
  function buildUrl($this, tc) {
3412
3897
  // Inline function 'kotlin.let' call
3413
- var it = replace(replace(replace($this.r14_1, '{z}', tc.a11_1.toString()), '{x}', tc.y10_1.toString()), '{y}', tc.z10_1.toString());
3898
+ var it = replace(replace(replace($this.x15_1, '{z}', tc.n11_1.toString()), '{x}', tc.l11_1.toString()), '{y}', tc.m11_1.toString());
3414
3899
  return contains(it, '{bbox}') ? replace(it, '{bbox}', wmsBbox4326(tc)) : it;
3415
3900
  }
3416
3901
  function fetchAndDecodeTile$ref_0() {
3417
3902
  KFunctionImpl.call(this, 1, 2, 2);
3418
3903
  }
3419
- protoOf(fetchAndDecodeTile$ref_0).j17 = function (p0, $completion) {
3904
+ protoOf(fetchAndDecodeTile$ref_0).a1a = function (p0, $completion) {
3420
3905
  return fetchAndDecodeTile(p0, $completion);
3421
3906
  };
3422
3907
  protoOf(fetchAndDecodeTile$ref_0).z7 = function (p1, $completion) {
3423
- return this.j17((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
3908
+ return this.a1a((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
3424
3909
  };
3425
3910
  function TileManager$cache$slambda(this$0, resultContinuation) {
3426
- this.x1g_1 = this$0;
3911
+ this.u1j_1 = this$0;
3427
3912
  CoroutineImpl.call(this, resultContinuation);
3428
3913
  }
3429
- protoOf(TileManager$cache$slambda).z1g = function (tc, $completion) {
3430
- var tmp = this.a1h(tc, $completion);
3914
+ protoOf(TileManager$cache$slambda).w1j = function (tc, $completion) {
3915
+ var tmp = this.x1j(tc, $completion);
3431
3916
  tmp.l7_1 = Unit_instance;
3432
3917
  tmp.m7_1 = null;
3433
3918
  return tmp.r7();
3434
3919
  };
3435
3920
  protoOf(TileManager$cache$slambda).z7 = function (p1, $completion) {
3436
- return this.z1g(p1 instanceof TileCoordinates ? p1 : THROW_CCE(), $completion);
3921
+ return this.w1j(p1 instanceof TileCoordinates ? p1 : THROW_CCE(), $completion);
3437
3922
  };
3438
3923
  protoOf(TileManager$cache$slambda).r7 = function () {
3439
3924
  var suspendResult = this.l7_1;
@@ -3444,7 +3929,7 @@
3444
3929
  case 0:
3445
3930
  this.k7_1 = 2;
3446
3931
  this.j7_1 = 1;
3447
- suspendResult = this.x1g_1.s14_1(buildUrl(this.x1g_1, this.y1g_1), this);
3932
+ suspendResult = this.u1j_1.y15_1(buildUrl(this.u1j_1, this.v1j_1), this);
3448
3933
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3449
3934
  return suspendResult;
3450
3935
  }
@@ -3467,21 +3952,21 @@
3467
3952
  }
3468
3953
  while (true);
3469
3954
  };
3470
- protoOf(TileManager$cache$slambda).a1h = function (tc, completion) {
3471
- var i = new TileManager$cache$slambda(this.x1g_1, completion);
3472
- i.y1g_1 = tc;
3955
+ protoOf(TileManager$cache$slambda).x1j = function (tc, completion) {
3956
+ var i = new TileManager$cache$slambda(this.u1j_1, completion);
3957
+ i.v1j_1 = tc;
3473
3958
  return i;
3474
3959
  };
3475
3960
  function TileManager$cache$slambda_0(this$0, resultContinuation) {
3476
3961
  var i = new TileManager$cache$slambda(this$0, resultContinuation);
3477
3962
  return constructCallableReference(function (tc, $completion) {
3478
- return i.z1g(tc, $completion);
3963
+ return i.w1j(tc, $completion);
3479
3964
  }, 1);
3480
3965
  }
3481
3966
  function $getTileCOROUTINE$(_this__u8e3s4, tileCoords, resultContinuation) {
3482
3967
  CoroutineImpl.call(this, resultContinuation);
3483
- this.j1h_1 = _this__u8e3s4;
3484
- this.k1h_1 = tileCoords;
3968
+ this.g1k_1 = _this__u8e3s4;
3969
+ this.h1k_1 = tileCoords;
3485
3970
  }
3486
3971
  protoOf($getTileCOROUTINE$).r7 = function () {
3487
3972
  var suspendResult = this.l7_1;
@@ -3491,16 +3976,16 @@
3491
3976
  switch (tmp) {
3492
3977
  case 0:
3493
3978
  this.k7_1 = 8;
3494
- var tmp0_elvis_lhs = this.j1h_1.t14_1;
3979
+ var tmp0_elvis_lhs = this.g1k_1.z15_1;
3495
3980
  if (tmp0_elvis_lhs == null) {
3496
3981
  this.j7_1 = 1;
3497
- suspendResult = this.j1h_1.u14_1.y1d(this.k1h_1, this);
3982
+ suspendResult = this.g1k_1.a16_1.q1g(this.h1k_1, this);
3498
3983
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3499
3984
  return suspendResult;
3500
3985
  }
3501
3986
  continue $sm;
3502
3987
  } else {
3503
- this.n1h_1 = tmp0_elvis_lhs;
3988
+ this.k1k_1 = tmp0_elvis_lhs;
3504
3989
  this.j7_1 = 2;
3505
3990
  continue $sm;
3506
3991
  }
@@ -3509,9 +3994,9 @@
3509
3994
  var tmp_0 = this;
3510
3995
  return suspendResult;
3511
3996
  case 2:
3512
- this.m1h_1 = this.n1h_1;
3997
+ this.j1k_1 = this.k1k_1;
3513
3998
  this.j7_1 = 3;
3514
- suspendResult = this.m1h_1.u1f(this.k1h_1, this);
3999
+ suspendResult = this.j1k_1.r1i(this.h1k_1, this);
3515
4000
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3516
4001
  return suspendResult;
3517
4002
  }
@@ -3527,14 +4012,14 @@
3527
4012
 
3528
4013
  this.k7_1 = 5;
3529
4014
  this.j7_1 = 4;
3530
- suspendResult = this.j1h_1.u14_1.y1d(this.k1h_1, this);
4015
+ suspendResult = this.g1k_1.a16_1.q1g(this.h1k_1, this);
3531
4016
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3532
4017
  return suspendResult;
3533
4018
  }
3534
4019
 
3535
4020
  continue $sm;
3536
4021
  case 4:
3537
- this.l1h_1 = suspendResult;
4022
+ this.i1k_1 = suspendResult;
3538
4023
  this.k7_1 = 8;
3539
4024
  this.j7_1 = 7;
3540
4025
  continue $sm;
@@ -3551,7 +4036,7 @@
3551
4036
  var e_0 = this.m7_1;
3552
4037
  ensureActive(this.p7());
3553
4038
  this.j7_1 = 6;
3554
- suspendResult = this.m1h_1.v1f(this.k1h_1, e_0, this);
4039
+ suspendResult = this.j1k_1.s1i(this.h1k_1, e_0, this);
3555
4040
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3556
4041
  return suspendResult;
3557
4042
  }
@@ -3562,12 +4047,12 @@
3562
4047
  }
3563
4048
 
3564
4049
  case 6:
3565
- this.l1h_1 = suspendResult;
4050
+ this.i1k_1 = suspendResult;
3566
4051
  this.j7_1 = 7;
3567
4052
  continue $sm;
3568
4053
  case 7:
3569
4054
  this.k7_1 = 8;
3570
- return this.l1h_1;
4055
+ return this.i1k_1;
3571
4056
  case 8:
3572
4057
  throw this.m7_1;
3573
4058
  }
@@ -3590,13 +4075,13 @@
3590
4075
  tmp = fetcher;
3591
4076
  }
3592
4077
  fetcher = tmp;
3593
- this.r14_1 = urlTemplate;
3594
- this.s14_1 = fetcher;
3595
- this.t14_1 = null;
4078
+ this.x15_1 = urlTemplate;
4079
+ this.y15_1 = fetcher;
4080
+ this.z15_1 = null;
3596
4081
  var tmp_0 = this;
3597
- tmp_0.u14_1 = new LruCache(cacheSize, TileManager$cache$slambda_0(this, null));
4082
+ tmp_0.a16_1 = new LruCache(cacheSize, TileManager$cache$slambda_0(this, null));
3598
4083
  }
3599
- protoOf(TileManager).v14 = function (tileCoords, $completion) {
4084
+ protoOf(TileManager).b16 = function (tileCoords, $completion) {
3600
4085
  var tmp = new $getTileCOROUTINE$(this, tileCoords, $completion);
3601
4086
  tmp.l7_1 = Unit_instance;
3602
4087
  tmp.m7_1 = null;
@@ -3639,13 +4124,13 @@
3639
4124
  retryAfterSeconds = retryAfterSeconds === VOID ? null : retryAfterSeconds;
3640
4125
  IllegalStateException_init_$Init$('Tile fetch failed for ' + url + ': HTTP ' + status, this);
3641
4126
  captureStack(this, TileFetchException);
3642
- this.o1h_1 = url;
3643
- this.p1h_1 = status;
3644
- this.q1h_1 = retryAfterSeconds;
4127
+ this.l1k_1 = url;
4128
+ this.m1k_1 = status;
4129
+ this.n1k_1 = retryAfterSeconds;
3645
4130
  }
3646
4131
  function $awaitTurnCOROUTINE$(_this__u8e3s4, resultContinuation) {
3647
4132
  CoroutineImpl.call(this, resultContinuation);
3648
- this.z1h_1 = _this__u8e3s4;
4133
+ this.w1k_1 = _this__u8e3s4;
3649
4134
  }
3650
4135
  protoOf($awaitTurnCOROUTINE$).r7 = function () {
3651
4136
  var suspendResult = this.l7_1;
@@ -3655,10 +4140,10 @@
3655
4140
  switch (tmp) {
3656
4141
  case 0:
3657
4142
  this.k7_1 = 4;
3658
- this.b1i_1 = this.z1h_1.e1i_1;
3659
- this.a1i_1 = null;
4143
+ this.y1k_1 = this.w1k_1.b1l_1;
4144
+ this.x1k_1 = null;
3660
4145
  this.j7_1 = 1;
3661
- suspendResult = this.b1i_1.qw(this.a1i_1, this);
4146
+ suspendResult = this.y1k_1.qw(this.x1k_1, this);
3662
4147
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3663
4148
  return suspendResult;
3664
4149
  }
@@ -3669,22 +4154,22 @@
3669
4154
  l$ret$1: do {
3670
4155
  var tmp_0;
3671
4156
  try {
3672
- var t = toNumber(this.z1h_1.c1i_1());
3673
- var b = this.z1h_1.f1i_1;
4157
+ var t = toNumber(this.w1k_1.z1k_1());
4158
+ var b = this.w1k_1.c1l_1;
3674
4159
  var slot = Math.max(t, b);
3675
- this.z1h_1.f1i_1 = slot + this.z1h_1.d1i_1;
4160
+ this.w1k_1.c1l_1 = slot + this.w1k_1.a1l_1;
3676
4161
  tmp$ret$0 = slot - t;
3677
4162
  break l$ret$1;
3678
4163
  } catch ($p) {
3679
4164
  var tmp_1;
3680
4165
  var t_0 = $p;
3681
- this.b1i_1.bw(this.a1i_1);
4166
+ this.y1k_1.bw(this.x1k_1);
3682
4167
  throw t_0;
3683
4168
  }
3684
4169
  }
3685
4170
  while (false);
3686
4171
  var tmp_2 = tmp$ret$0;
3687
- this.b1i_1.bw(this.a1i_1);
4172
+ this.y1k_1.bw(this.x1k_1);
3688
4173
  var waitMs = tmp_2;
3689
4174
  if (waitMs > 0) {
3690
4175
  this.j7_1 = 2;
@@ -3718,29 +4203,29 @@
3718
4203
  while (true);
3719
4204
  };
3720
4205
  function RequestPacer(perSecond, now) {
3721
- this.c1i_1 = now;
3722
- this.d1i_1 = 1000.0 / perSecond;
3723
- this.e1i_1 = Mutex();
3724
- this.f1i_1 = -Infinity;
4206
+ this.z1k_1 = now;
4207
+ this.a1l_1 = 1000.0 / perSecond;
4208
+ this.b1l_1 = Mutex();
4209
+ this.c1l_1 = -Infinity;
3725
4210
  }
3726
- protoOf(RequestPacer).g1i = function ($completion) {
4211
+ protoOf(RequestPacer).d1l = function ($completion) {
3727
4212
  var tmp = new $awaitTurnCOROUTINE$(this, $completion);
3728
4213
  tmp.l7_1 = Unit_instance;
3729
4214
  tmp.m7_1 = null;
3730
4215
  return tmp.r7();
3731
4216
  };
3732
4217
  function Key_0(host, perSecond, clock) {
3733
- this.h1i_1 = host;
3734
- this.i1i_1 = perSecond;
3735
- this.j1i_1 = clock;
4218
+ this.e1l_1 = host;
4219
+ this.f1l_1 = perSecond;
4220
+ this.g1l_1 = clock;
3736
4221
  }
3737
4222
  protoOf(Key_0).toString = function () {
3738
- return 'Key(host=' + this.h1i_1 + ', perSecond=' + this.i1i_1 + ', clock=' + toString(this.j1i_1) + ')';
4223
+ return 'Key(host=' + this.e1l_1 + ', perSecond=' + this.f1l_1 + ', clock=' + toString(this.g1l_1) + ')';
3739
4224
  };
3740
4225
  protoOf(Key_0).hashCode = function () {
3741
- var result = getStringHashCode(this.h1i_1);
3742
- result = imul(result, 31) + this.i1i_1 | 0;
3743
- result = imul(result, 31) + hashCode(this.j1i_1) | 0;
4226
+ var result = getStringHashCode(this.e1l_1);
4227
+ result = imul(result, 31) + this.f1l_1 | 0;
4228
+ result = imul(result, 31) + hashCode(this.g1l_1) | 0;
3744
4229
  return result;
3745
4230
  };
3746
4231
  protoOf(Key_0).equals = function (other) {
@@ -3748,20 +4233,20 @@
3748
4233
  return true;
3749
4234
  if (!(other instanceof Key_0))
3750
4235
  return false;
3751
- if (!(this.h1i_1 === other.h1i_1))
4236
+ if (!(this.e1l_1 === other.e1l_1))
3752
4237
  return false;
3753
- if (!(this.i1i_1 === other.i1i_1))
4238
+ if (!(this.f1l_1 === other.f1l_1))
3754
4239
  return false;
3755
- if (!equals(this.j1i_1, other.j1i_1))
4240
+ if (!equals(this.g1l_1, other.g1l_1))
3756
4241
  return false;
3757
4242
  return true;
3758
4243
  };
3759
4244
  function $ofCOROUTINE$(_this__u8e3s4, host, perSecond, clock, resultContinuation) {
3760
4245
  CoroutineImpl.call(this, resultContinuation);
3761
- this.s1i_1 = _this__u8e3s4;
3762
- this.t1i_1 = host;
3763
- this.u1i_1 = perSecond;
3764
- this.v1i_1 = clock;
4246
+ this.p1l_1 = _this__u8e3s4;
4247
+ this.q1l_1 = host;
4248
+ this.r1l_1 = perSecond;
4249
+ this.s1l_1 = clock;
3765
4250
  }
3766
4251
  protoOf($ofCOROUTINE$).r7 = function () {
3767
4252
  var suspendResult = this.l7_1;
@@ -3771,10 +4256,10 @@
3771
4256
  switch (tmp) {
3772
4257
  case 0:
3773
4258
  this.k7_1 = 2;
3774
- this.x1i_1 = this.s1i_1.y1i_1;
3775
- this.w1i_1 = null;
4259
+ this.u1l_1 = this.p1l_1.v1l_1;
4260
+ this.t1l_1 = null;
3776
4261
  this.j7_1 = 1;
3777
- suspendResult = this.x1i_1.qw(this.w1i_1, this);
4262
+ suspendResult = this.u1l_1.qw(this.t1l_1, this);
3778
4263
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3779
4264
  return suspendResult;
3780
4265
  }
@@ -3785,12 +4270,12 @@
3785
4270
  l$ret$1: do {
3786
4271
  var tmp_0;
3787
4272
  try {
3788
- var tmp0 = HostPacers_getInstance().z1i_1;
3789
- var key = new Key_0(this.t1i_1, this.u1i_1, this.v1i_1);
4273
+ var tmp0 = HostPacers_getInstance().w1l_1;
4274
+ var key = new Key_0(this.q1l_1, this.r1l_1, this.s1l_1);
3790
4275
  var value = tmp0.t1(key);
3791
4276
  var tmp_1;
3792
4277
  if (value == null) {
3793
- var answer = new RequestPacer(this.u1i_1, this.v1i_1);
4278
+ var answer = new RequestPacer(this.r1l_1, this.s1l_1);
3794
4279
  tmp0.v3(key, answer);
3795
4280
  tmp_1 = answer;
3796
4281
  } else {
@@ -3801,13 +4286,13 @@
3801
4286
  } catch ($p) {
3802
4287
  var tmp_2;
3803
4288
  var t = $p;
3804
- this.x1i_1.bw(this.w1i_1);
4289
+ this.u1l_1.bw(this.t1l_1);
3805
4290
  throw t;
3806
4291
  }
3807
4292
  }
3808
4293
  while (false);
3809
4294
  var tmp_3 = tmp$ret$0;
3810
- this.x1i_1.bw(this.w1i_1);
4295
+ this.u1l_1.bw(this.t1l_1);
3811
4296
  return tmp_3;
3812
4297
  case 2:
3813
4298
  throw this.m7_1;
@@ -3825,10 +4310,10 @@
3825
4310
  };
3826
4311
  function HostPacers() {
3827
4312
  HostPacers_instance = this;
3828
- this.y1i_1 = Mutex();
3829
- this.z1i_1 = HashMap_init_$Create$();
4313
+ this.v1l_1 = Mutex();
4314
+ this.w1l_1 = HashMap_init_$Create$();
3830
4315
  }
3831
- protoOf(HostPacers).a1j = function (host, perSecond, clock, $completion) {
4316
+ protoOf(HostPacers).x1l = function (host, perSecond, clock, $completion) {
3832
4317
  var tmp = new $ofCOROUTINE$(this, host, perSecond, clock, $completion);
3833
4318
  tmp.l7_1 = Unit_instance;
3834
4319
  tmp.m7_1 = null;
@@ -3852,27 +4337,27 @@
3852
4337
  function fetchTileBytes$ref() {
3853
4338
  KFunctionImpl.call(this, 1, 2, 5);
3854
4339
  }
3855
- protoOf(fetchTileBytes$ref).e1j = function (p0, $completion) {
4340
+ protoOf(fetchTileBytes$ref).b1m = function (p0, $completion) {
3856
4341
  return fetchTileBytes(p0, $completion);
3857
4342
  };
3858
4343
  protoOf(fetchTileBytes$ref).z7 = function (p1, $completion) {
3859
- return this.e1j((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
4344
+ return this.b1m((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
3860
4345
  };
3861
4346
  function pacedTileBytesFetcher$slambda($maxRequestsPerSecond, $now, $fetch, $maxAttempts, resultContinuation) {
3862
- this.n1j_1 = $maxRequestsPerSecond;
3863
- this.o1j_1 = $now;
3864
- this.p1j_1 = $fetch;
3865
- this.q1j_1 = $maxAttempts;
4347
+ this.k1m_1 = $maxRequestsPerSecond;
4348
+ this.l1m_1 = $now;
4349
+ this.m1m_1 = $fetch;
4350
+ this.n1m_1 = $maxAttempts;
3866
4351
  CoroutineImpl.call(this, resultContinuation);
3867
4352
  }
3868
- protoOf(pacedTileBytesFetcher$slambda).e1j = function (url, $completion) {
3869
- var tmp = this.u17(url, $completion);
4353
+ protoOf(pacedTileBytesFetcher$slambda).b1m = function (url, $completion) {
4354
+ var tmp = this.l1a(url, $completion);
3870
4355
  tmp.l7_1 = Unit_instance;
3871
4356
  tmp.m7_1 = null;
3872
4357
  return tmp.r7();
3873
4358
  };
3874
4359
  protoOf(pacedTileBytesFetcher$slambda).z7 = function (p1, $completion) {
3875
- return this.e1j((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
4360
+ return this.b1m((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
3876
4361
  };
3877
4362
  protoOf(pacedTileBytesFetcher$slambda).r7 = function () {
3878
4363
  var suspendResult = this.l7_1;
@@ -3882,43 +4367,43 @@
3882
4367
  switch (tmp) {
3883
4368
  case 0:
3884
4369
  this.k7_1 = 11;
3885
- if (this.n1j_1 > 0) {
4370
+ if (this.k1m_1 > 0) {
3886
4371
  this.j7_1 = 1;
3887
- suspendResult = HostPacers_getInstance().a1j(hostOf(this.r1j_1), this.n1j_1, this.o1j_1, this);
4372
+ suspendResult = HostPacers_getInstance().x1l(hostOf(this.o1m_1), this.k1m_1, this.l1m_1, this);
3888
4373
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3889
4374
  return suspendResult;
3890
4375
  }
3891
4376
  continue $sm;
3892
4377
  } else {
3893
- this.x1j_1 = null;
4378
+ this.u1m_1 = null;
3894
4379
  this.j7_1 = 2;
3895
4380
  continue $sm;
3896
4381
  }
3897
4382
 
3898
4383
  case 1:
3899
- this.x1j_1 = suspendResult;
4384
+ this.u1m_1 = suspendResult;
3900
4385
  this.j7_1 = 2;
3901
4386
  continue $sm;
3902
4387
  case 2:
3903
- this.w1j_1 = this.x1j_1;
3904
- this.u1j_1 = 1;
3905
- this.s1j_1 = null;
4388
+ this.t1m_1 = this.u1m_1;
4389
+ this.r1m_1 = 1;
4390
+ this.p1m_1 = null;
3906
4391
  this.j7_1 = 3;
3907
4392
  continue $sm;
3908
4393
  case 3:
3909
- if (!(this.s1j_1 == null)) {
4394
+ if (!(this.p1m_1 == null)) {
3910
4395
  this.j7_1 = 10;
3911
4396
  continue $sm;
3912
4397
  }
3913
4398
 
3914
- var tmp0_safe_receiver = this.w1j_1;
4399
+ var tmp0_safe_receiver = this.t1m_1;
3915
4400
  if (tmp0_safe_receiver == null) {
3916
- this.v1j_1 = null;
4401
+ this.s1m_1 = null;
3917
4402
  this.j7_1 = 5;
3918
4403
  continue $sm;
3919
4404
  } else {
3920
4405
  this.j7_1 = 4;
3921
- suspendResult = tmp0_safe_receiver.g1i(this);
4406
+ suspendResult = tmp0_safe_receiver.d1l(this);
3922
4407
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3923
4408
  return suspendResult;
3924
4409
  }
@@ -3927,13 +4412,13 @@
3927
4412
 
3928
4413
  case 4:
3929
4414
  var tmp_0 = this;
3930
- tmp_0.v1j_1 = Unit_instance;
4415
+ tmp_0.s1m_1 = Unit_instance;
3931
4416
  this.j7_1 = 5;
3932
4417
  continue $sm;
3933
4418
  case 5:
3934
4419
  this.k7_1 = 7;
3935
4420
  this.j7_1 = 6;
3936
- suspendResult = this.p1j_1(this.r1j_1, this);
4421
+ suspendResult = this.m1m_1(this.o1m_1, this);
3937
4422
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3938
4423
  return suspendResult;
3939
4424
  }
@@ -3941,8 +4426,8 @@
3941
4426
  continue $sm;
3942
4427
  case 6:
3943
4428
  var tmp_1 = this;
3944
- this.s1j_1 = suspendResult;
3945
- tmp_1.t1j_1 = Unit_instance;
4429
+ this.p1m_1 = suspendResult;
4430
+ tmp_1.q1m_1 = Unit_instance;
3946
4431
  this.k7_1 = 11;
3947
4432
  this.j7_1 = 9;
3948
4433
  continue $sm;
@@ -3951,11 +4436,11 @@
3951
4436
  var tmp_2 = this.m7_1;
3952
4437
  if (tmp_2 instanceof TileFetchException) {
3953
4438
  var e = this.m7_1;
3954
- if (!(e.p1h_1 === 429) && !(e.p1h_1 === 503) || this.u1j_1 >= this.q1j_1)
4439
+ if (!(e.m1k_1 === 429) && !(e.m1k_1 === 503) || this.r1m_1 >= this.n1m_1)
3955
4440
  throw e;
3956
4441
  this.j7_1 = 8;
3957
- var tmp1_elvis_lhs = e.q1h_1;
3958
- suspendResult = delay(multiply(tmp1_elvis_lhs == null ? shiftLeft(new Long(1, 0), this.u1j_1 - 1 | 0) : tmp1_elvis_lhs, new Long(1000, 0)), this);
4442
+ var tmp1_elvis_lhs = e.n1k_1;
4443
+ suspendResult = delay(multiply(tmp1_elvis_lhs == null ? shiftLeft(new Long(1, 0), this.r1m_1 - 1 | 0) : tmp1_elvis_lhs, new Long(1000, 0)), this);
3959
4444
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3960
4445
  return suspendResult;
3961
4446
  }
@@ -3966,9 +4451,9 @@
3966
4451
 
3967
4452
  case 8:
3968
4453
  var tmp_3 = this;
3969
- var _unary__edvuaz = this.u1j_1;
3970
- this.u1j_1 = _unary__edvuaz + 1 | 0;
3971
- tmp_3.t1j_1 = _unary__edvuaz;
4454
+ var _unary__edvuaz = this.r1m_1;
4455
+ this.r1m_1 = _unary__edvuaz + 1 | 0;
4456
+ tmp_3.q1m_1 = _unary__edvuaz;
3972
4457
  this.j7_1 = 9;
3973
4458
  continue $sm;
3974
4459
  case 9:
@@ -3976,7 +4461,7 @@
3976
4461
  this.j7_1 = 3;
3977
4462
  continue $sm;
3978
4463
  case 10:
3979
- return this.s1j_1;
4464
+ return this.p1m_1;
3980
4465
  case 11:
3981
4466
  throw this.m7_1;
3982
4467
  }
@@ -3991,15 +4476,15 @@
3991
4476
  }
3992
4477
  while (true);
3993
4478
  };
3994
- protoOf(pacedTileBytesFetcher$slambda).u17 = function (url, completion) {
3995
- var i = new pacedTileBytesFetcher$slambda(this.n1j_1, this.o1j_1, this.p1j_1, this.q1j_1, completion);
3996
- i.r1j_1 = url;
4479
+ protoOf(pacedTileBytesFetcher$slambda).l1a = function (url, completion) {
4480
+ var i = new pacedTileBytesFetcher$slambda(this.k1m_1, this.l1m_1, this.m1m_1, this.n1m_1, completion);
4481
+ i.o1m_1 = url;
3997
4482
  return i;
3998
4483
  };
3999
4484
  function pacedTileBytesFetcher$slambda_0($maxRequestsPerSecond, $now, $fetch, $maxAttempts, resultContinuation) {
4000
4485
  var i = new pacedTileBytesFetcher$slambda($maxRequestsPerSecond, $now, $fetch, $maxAttempts, resultContinuation);
4001
4486
  return constructCallableReference(function (url, $completion) {
4002
- return i.e1j(url, $completion);
4487
+ return i.b1m(url, $completion);
4003
4488
  }, 1);
4004
4489
  }
4005
4490
  var properties_initialized_TileRequestPacing_kt_zdwibl;
@@ -4012,7 +4497,7 @@
4012
4497
  function tileCoordinatesOf(url, config) {
4013
4498
  var names = ArrayList_init_$Create$();
4014
4499
  var pattern = StringBuilder_init_$Create$();
4015
- var rest = config.v16_1;
4500
+ var rest = config.c19_1;
4016
4501
  var placeholder = Regex_init_$Create$('\\{(z|x|y|bbox)\\}');
4017
4502
  $l$loop: while (true) {
4018
4503
  var tmp0_elvis_lhs = placeholder.ta(rest);
@@ -4034,7 +4519,7 @@
4034
4519
  var tmp1_elvis_lhs = Regex_init_$Create$(pattern.toString()).ua(url);
4035
4520
  var tmp_0;
4036
4521
  if (tmp1_elvis_lhs == null) {
4037
- throw IllegalArgumentException_init_$Create$('Tile URL ' + url + ' does not match the template ' + config.v16_1);
4522
+ throw IllegalArgumentException_init_$Create$('Tile URL ' + url + ' does not match the template ' + config.c19_1);
4038
4523
  } else {
4039
4524
  tmp_0 = tmp1_elvis_lhs;
4040
4525
  }
@@ -4042,7 +4527,7 @@
4042
4527
  var values = toMap(zip(names, drop(match.kb(), 1)));
4043
4528
  var tmp2_safe_receiver = values.t1('z');
4044
4529
  var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : toInt(tmp2_safe_receiver);
4045
- var z = tmp3_elvis_lhs == null ? config.t16_1 : tmp3_elvis_lhs;
4530
+ var z = tmp3_elvis_lhs == null ? config.a19_1 : tmp3_elvis_lhs;
4046
4531
  var bbox = values.t1('bbox');
4047
4532
  if (bbox == null)
4048
4533
  return new TileCoordinates(toInt(getValue(values, 'x')), toInt(getValue(values, 'y')), z);
@@ -4073,17 +4558,17 @@
4073
4558
  return new TileCoordinates(x, y, z);
4074
4559
  }
4075
4560
  function TileCoordinates(x, y, z) {
4076
- this.y10_1 = x;
4077
- this.z10_1 = y;
4078
- this.a11_1 = z;
4561
+ this.l11_1 = x;
4562
+ this.m11_1 = y;
4563
+ this.n11_1 = z;
4079
4564
  }
4080
4565
  protoOf(TileCoordinates).toString = function () {
4081
- return 'TileCoordinates(x=' + this.y10_1 + ', y=' + this.z10_1 + ', z=' + this.a11_1 + ')';
4566
+ return 'TileCoordinates(x=' + this.l11_1 + ', y=' + this.m11_1 + ', z=' + this.n11_1 + ')';
4082
4567
  };
4083
4568
  protoOf(TileCoordinates).hashCode = function () {
4084
- var result = this.y10_1;
4085
- result = imul(result, 31) + this.z10_1 | 0;
4086
- result = imul(result, 31) + this.a11_1 | 0;
4569
+ var result = this.l11_1;
4570
+ result = imul(result, 31) + this.m11_1 | 0;
4571
+ result = imul(result, 31) + this.n11_1 | 0;
4087
4572
  return result;
4088
4573
  };
4089
4574
  protoOf(TileCoordinates).equals = function (other) {
@@ -4091,26 +4576,26 @@
4091
4576
  return true;
4092
4577
  if (!(other instanceof TileCoordinates))
4093
4578
  return false;
4094
- if (!(this.y10_1 === other.y10_1))
4579
+ if (!(this.l11_1 === other.l11_1))
4095
4580
  return false;
4096
- if (!(this.z10_1 === other.z10_1))
4581
+ if (!(this.m11_1 === other.m11_1))
4097
4582
  return false;
4098
- if (!(this.a11_1 === other.a11_1))
4583
+ if (!(this.n11_1 === other.n11_1))
4099
4584
  return false;
4100
4585
  return true;
4101
4586
  };
4102
4587
  function Pixel(tile, x, y) {
4103
- this.o14_1 = tile;
4104
- this.p14_1 = x;
4105
- this.q14_1 = y;
4588
+ this.u15_1 = tile;
4589
+ this.v15_1 = x;
4590
+ this.w15_1 = y;
4106
4591
  }
4107
4592
  protoOf(Pixel).toString = function () {
4108
- return 'Pixel(tile=' + this.o14_1.toString() + ', x=' + this.p14_1 + ', y=' + this.q14_1 + ')';
4593
+ return 'Pixel(tile=' + this.u15_1.toString() + ', x=' + this.v15_1 + ', y=' + this.w15_1 + ')';
4109
4594
  };
4110
4595
  protoOf(Pixel).hashCode = function () {
4111
- var result = this.o14_1.hashCode();
4112
- result = imul(result, 31) + this.p14_1 | 0;
4113
- result = imul(result, 31) + this.q14_1 | 0;
4596
+ var result = this.u15_1.hashCode();
4597
+ result = imul(result, 31) + this.v15_1 | 0;
4598
+ result = imul(result, 31) + this.w15_1 | 0;
4114
4599
  return result;
4115
4600
  };
4116
4601
  protoOf(Pixel).equals = function (other) {
@@ -4118,30 +4603,30 @@
4118
4603
  return true;
4119
4604
  if (!(other instanceof Pixel))
4120
4605
  return false;
4121
- if (!this.o14_1.equals(other.o14_1))
4606
+ if (!this.u15_1.equals(other.u15_1))
4122
4607
  return false;
4123
- if (!(this.p14_1 === other.p14_1))
4608
+ if (!(this.v15_1 === other.v15_1))
4124
4609
  return false;
4125
- if (!(this.q14_1 === other.q14_1))
4610
+ if (!(this.w15_1 === other.w15_1))
4126
4611
  return false;
4127
4612
  return true;
4128
4613
  };
4129
4614
  function TileCoordinatesFloat(x, y, xFloat, yFloat, z) {
4130
- this.h15_1 = x;
4131
- this.i15_1 = y;
4132
- this.j15_1 = xFloat;
4133
- this.k15_1 = yFloat;
4134
- this.l15_1 = z;
4615
+ this.o16_1 = x;
4616
+ this.p16_1 = y;
4617
+ this.q16_1 = xFloat;
4618
+ this.r16_1 = yFloat;
4619
+ this.s16_1 = z;
4135
4620
  }
4136
4621
  protoOf(TileCoordinatesFloat).toString = function () {
4137
- return 'TileCoordinatesFloat(x=' + this.h15_1 + ', y=' + this.i15_1 + ', xFloat=' + this.j15_1 + ', yFloat=' + this.k15_1 + ', z=' + this.l15_1 + ')';
4622
+ return 'TileCoordinatesFloat(x=' + this.o16_1 + ', y=' + this.p16_1 + ', xFloat=' + this.q16_1 + ', yFloat=' + this.r16_1 + ', z=' + this.s16_1 + ')';
4138
4623
  };
4139
4624
  protoOf(TileCoordinatesFloat).hashCode = function () {
4140
- var result = this.h15_1;
4141
- result = imul(result, 31) + this.i15_1 | 0;
4142
- result = imul(result, 31) + getNumberHashCode(this.j15_1) | 0;
4143
- result = imul(result, 31) + getNumberHashCode(this.k15_1) | 0;
4144
- result = imul(result, 31) + this.l15_1 | 0;
4625
+ var result = this.o16_1;
4626
+ result = imul(result, 31) + this.p16_1 | 0;
4627
+ result = imul(result, 31) + getNumberHashCode(this.q16_1) | 0;
4628
+ result = imul(result, 31) + getNumberHashCode(this.r16_1) | 0;
4629
+ result = imul(result, 31) + this.s16_1 | 0;
4145
4630
  return result;
4146
4631
  };
4147
4632
  protoOf(TileCoordinatesFloat).equals = function (other) {
@@ -4149,30 +4634,30 @@
4149
4634
  return true;
4150
4635
  if (!(other instanceof TileCoordinatesFloat))
4151
4636
  return false;
4152
- if (!(this.h15_1 === other.h15_1))
4637
+ if (!(this.o16_1 === other.o16_1))
4153
4638
  return false;
4154
- if (!(this.i15_1 === other.i15_1))
4639
+ if (!(this.p16_1 === other.p16_1))
4155
4640
  return false;
4156
- if (!equals(this.j15_1, other.j15_1))
4641
+ if (!equals(this.q16_1, other.q16_1))
4157
4642
  return false;
4158
- if (!equals(this.k15_1, other.k15_1))
4643
+ if (!equals(this.r16_1, other.r16_1))
4159
4644
  return false;
4160
- if (!(this.l15_1 === other.l15_1))
4645
+ if (!(this.s16_1 === other.s16_1))
4161
4646
  return false;
4162
4647
  return true;
4163
4648
  };
4164
4649
  function PixelFloat(tile, x, y) {
4165
- this.k14_1 = tile;
4166
- this.l14_1 = x;
4167
- this.m14_1 = y;
4650
+ this.q15_1 = tile;
4651
+ this.r15_1 = x;
4652
+ this.s15_1 = y;
4168
4653
  }
4169
4654
  protoOf(PixelFloat).toString = function () {
4170
- return 'PixelFloat(tile=' + this.k14_1.toString() + ', x=' + this.l14_1 + ', y=' + this.m14_1 + ')';
4655
+ return 'PixelFloat(tile=' + this.q15_1.toString() + ', x=' + this.r15_1 + ', y=' + this.s15_1 + ')';
4171
4656
  };
4172
4657
  protoOf(PixelFloat).hashCode = function () {
4173
- var result = this.k14_1.hashCode();
4174
- result = imul(result, 31) + getNumberHashCode(this.l14_1) | 0;
4175
- result = imul(result, 31) + getNumberHashCode(this.m14_1) | 0;
4658
+ var result = this.q15_1.hashCode();
4659
+ result = imul(result, 31) + getNumberHashCode(this.r15_1) | 0;
4660
+ result = imul(result, 31) + getNumberHashCode(this.s15_1) | 0;
4176
4661
  return result;
4177
4662
  };
4178
4663
  protoOf(PixelFloat).equals = function (other) {
@@ -4180,69 +4665,69 @@
4180
4665
  return true;
4181
4666
  if (!(other instanceof PixelFloat))
4182
4667
  return false;
4183
- if (!this.k14_1.equals(other.k14_1))
4668
+ if (!this.q15_1.equals(other.q15_1))
4184
4669
  return false;
4185
- if (!equals(this.l14_1, other.l14_1))
4670
+ if (!equals(this.r15_1, other.r15_1))
4186
4671
  return false;
4187
- if (!equals(this.m14_1, other.m14_1))
4672
+ if (!equals(this.s15_1, other.s15_1))
4188
4673
  return false;
4189
4674
  return true;
4190
4675
  };
4191
- function Companion_2() {
4192
- Companion_instance_3 = this;
4193
- this.y1j_1 = new Vector3D(0.0, 0.0, 0.0);
4676
+ function Companion_3() {
4677
+ Companion_instance_4 = this;
4678
+ this.v1m_1 = new Vector3D(0.0, 0.0, 0.0);
4194
4679
  }
4195
- var Companion_instance_3;
4196
- function Companion_getInstance_3() {
4197
- if (Companion_instance_3 == null)
4198
- new Companion_2();
4199
- return Companion_instance_3;
4680
+ var Companion_instance_4;
4681
+ function Companion_getInstance_4() {
4682
+ if (Companion_instance_4 == null)
4683
+ new Companion_3();
4684
+ return Companion_instance_4;
4200
4685
  }
4201
4686
  function Vector3D(x, y, z) {
4202
- Companion_getInstance_3();
4203
- this.i12_1 = x;
4204
- this.j12_1 = y;
4205
- this.k12_1 = z;
4687
+ Companion_getInstance_4();
4688
+ this.x12_1 = x;
4689
+ this.y12_1 = y;
4690
+ this.z12_1 = z;
4206
4691
  }
4207
- protoOf(Vector3D).z1j = function (other) {
4208
- var tmp0 = this.i12_1 - other.i12_1;
4692
+ protoOf(Vector3D).w1m = function (other) {
4693
+ var tmp0 = this.x12_1 - other.x12_1;
4209
4694
  // Inline function 'kotlin.math.hypot' call
4210
- var y = this.j12_1 - other.j12_1;
4695
+ var y = this.y12_1 - other.y12_1;
4211
4696
  var tmp0_0 = hypot(tmp0, y);
4212
4697
  // Inline function 'kotlin.math.hypot' call
4213
- var y_0 = this.k12_1 - other.k12_1;
4698
+ var y_0 = this.z12_1 - other.z12_1;
4214
4699
  return hypot(tmp0_0, y_0);
4215
4700
  };
4216
- protoOf(Vector3D).a1k = function (other) {
4217
- return new Vector3D(this.i12_1 - other.i12_1, this.j12_1 - other.j12_1, this.k12_1 - other.k12_1);
4701
+ protoOf(Vector3D).x1m = function (other) {
4702
+ return new Vector3D(this.x12_1 - other.x12_1, this.y12_1 - other.y12_1, this.z12_1 - other.z12_1);
4218
4703
  };
4219
- protoOf(Vector3D).b1k = function (other) {
4220
- return new Vector3D(this.i12_1 + other.i12_1, this.j12_1 + other.j12_1, this.k12_1 + other.k12_1);
4704
+ protoOf(Vector3D).y1m = function (other) {
4705
+ return new Vector3D(this.x12_1 + other.x12_1, this.y12_1 + other.y12_1, this.z12_1 + other.z12_1);
4221
4706
  };
4222
- protoOf(Vector3D).c1k = function (scalar) {
4223
- return new Vector3D(this.i12_1 * scalar, this.j12_1 * scalar, this.k12_1 * scalar);
4707
+ protoOf(Vector3D).z1m = function (scalar) {
4708
+ return new Vector3D(this.x12_1 * scalar, this.y12_1 * scalar, this.z12_1 * scalar);
4224
4709
  };
4225
- protoOf(Vector3D).d1k = function (other) {
4226
- return this.i12_1 * other.i12_1 + this.j12_1 * other.j12_1 + this.k12_1 * other.k12_1;
4710
+ protoOf(Vector3D).a1n = function (other) {
4711
+ return this.x12_1 * other.x12_1 + this.y12_1 * other.y12_1 + this.z12_1 * other.z12_1;
4227
4712
  };
4228
- protoOf(Vector3D).l12 = function (segmentStart, segmentEnd) {
4229
- var segmentVector = segmentEnd.a1k(segmentStart);
4230
- var segmentLengthSq = segmentVector.d1k(segmentVector);
4713
+ protoOf(Vector3D).a13 = function (segmentStart, segmentEnd) {
4714
+ var segmentVector = segmentEnd.x1m(segmentStart);
4715
+ var segmentLengthSq = segmentVector.a1n(segmentVector);
4231
4716
  if (segmentLengthSq === 0.0)
4232
- return this.z1j(segmentStart);
4233
- var pointVector = this.a1k(segmentStart);
4234
- var projection = pointVector.d1k(segmentVector) / segmentLengthSq;
4717
+ return this.w1m(segmentStart);
4718
+ var pointVector = this.x1m(segmentStart);
4719
+ var projection = pointVector.a1n(segmentVector) / segmentLengthSq;
4235
4720
  var clamped = coerceIn_0(projection, 0.0, 1.0);
4236
- var closest = segmentStart.b1k(segmentVector.c1k(clamped));
4237
- return this.z1j(closest);
4721
+ var closest = segmentStart.y1m(segmentVector.z1m(clamped));
4722
+ return this.w1m(closest);
4238
4723
  };
4239
4724
  protoOf(Vector3D).toString = function () {
4240
- return 'Vector3D(x=' + this.i12_1 + ', y=' + this.j12_1 + ', z=' + this.k12_1 + ')';
4725
+ return 'Vector3D(x=' + this.x12_1 + ', y=' + this.y12_1 + ', z=' + this.z12_1 + ')';
4241
4726
  };
4242
4727
  protoOf(Vector3D).hashCode = function () {
4243
- var result = getNumberHashCode(this.i12_1);
4244
- result = imul(result, 31) + getNumberHashCode(this.j12_1) | 0;
4245
- result = imul(result, 31) + getNumberHashCode(this.k12_1) | 0;
4728
+ var result = getNumberHashCode(this.x12_1);
4729
+ result = imul(result, 31) + getNumberHashCode(this.y12_1) | 0;
4730
+ result = imul(result, 31) + getNumberHashCode(this.z12_1) | 0;
4246
4731
  return result;
4247
4732
  };
4248
4733
  protoOf(Vector3D).equals = function (other) {
@@ -4250,11 +4735,11 @@
4250
4735
  return true;
4251
4736
  if (!(other instanceof Vector3D))
4252
4737
  return false;
4253
- if (!equals(this.i12_1, other.i12_1))
4738
+ if (!equals(this.x12_1, other.x12_1))
4254
4739
  return false;
4255
- if (!equals(this.j12_1, other.j12_1))
4740
+ if (!equals(this.y12_1, other.y12_1))
4256
4741
  return false;
4257
- if (!equals(this.k12_1, other.k12_1))
4742
+ if (!equals(this.z12_1, other.z12_1))
4258
4743
  return false;
4259
4744
  return true;
4260
4745
  };
@@ -4291,25 +4776,25 @@
4291
4776
  tmp = null;
4292
4777
  } else {
4293
4778
  // Inline function 'kotlin.let' call
4294
- tmp = Companion_getInstance_0().q18(tmp2_safe_receiver);
4779
+ tmp = Companion_getInstance_0().h1b(tmp2_safe_receiver);
4295
4780
  }
4296
4781
  var tmp3_elvis_lhs = tmp;
4297
- var source = tmp3_elvis_lhs == null ? Companion_getInstance_0().l18_1 : tmp3_elvis_lhs;
4298
- var base = source.w18(configDto == null ? null : configDto.zoomLevel);
4782
+ var source = tmp3_elvis_lhs == null ? Companion_getInstance_0().c1b_1 : tmp3_elvis_lhs;
4783
+ var base = source.n1b(configDto == null ? null : configDto.zoomLevel);
4299
4784
  var tmp6_elvis_lhs = configDto == null ? null : configDto.cacheSize;
4300
- var tmp_0 = tmp6_elvis_lhs == null ? base.u16_1 : tmp6_elvis_lhs;
4785
+ var tmp_0 = tmp6_elvis_lhs == null ? base.b19_1 : tmp6_elvis_lhs;
4301
4786
  var tmp8_elvis_lhs = configDto == null ? null : configDto.tileUrlTemplate;
4302
- var tmp_1 = tmp8_elvis_lhs == null ? base.v16_1 : tmp8_elvis_lhs;
4787
+ var tmp_1 = tmp8_elvis_lhs == null ? base.c19_1 : tmp8_elvis_lhs;
4303
4788
  var tmp10_elvis_lhs = configDto == null ? null : configDto.tileSize;
4304
- var cfg = base.h18(VOID, tmp_0, tmp_1, tmp10_elvis_lhs == null ? base.w16_1 : tmp10_elvis_lhs);
4789
+ var cfg = base.y1a(VOID, tmp_0, tmp_1, tmp10_elvis_lhs == null ? base.d19_1 : tmp10_elvis_lhs);
4305
4790
  var primary = ElevationProvider_init_$Create$(cfg);
4306
- var tmp11_safe_receiver = source.r18();
4791
+ var tmp11_safe_receiver = source.i1b();
4307
4792
  var tmp_2;
4308
4793
  if (tmp11_safe_receiver == null) {
4309
4794
  tmp_2 = null;
4310
4795
  } else {
4311
4796
  // Inline function 'kotlin.let' call
4312
- tmp_2 = primary.a17(provider(tmp11_safe_receiver));
4797
+ tmp_2 = primary.p19(provider(tmp11_safe_receiver));
4313
4798
  }
4314
4799
  var tmp12_elvis_lhs = tmp_2;
4315
4800
  return tmp12_elvis_lhs == null ? primary : tmp12_elvis_lhs;
@@ -4317,8 +4802,8 @@
4317
4802
  function elevationAttribution(provider) {
4318
4803
  _init_properties_ElevationJsApi_kt__1yyas4();
4319
4804
  var o = {};
4320
- o.text = provider.c17().i18_1;
4321
- o.url = provider.c17().j18_1;
4805
+ o.text = provider.r19().z1a_1;
4806
+ o.url = provider.r19().a1b_1;
4322
4807
  // Inline function 'kotlin.js.unsafeCast' call
4323
4808
  return o;
4324
4809
  }
@@ -4391,20 +4876,20 @@
4391
4876
  return o;
4392
4877
  }
4393
4878
  function getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation) {
4394
- this.m1k_1 = $provider;
4395
- this.n1k_1 = $latitude;
4396
- this.o1k_1 = $longitude;
4397
- this.p1k_1 = $interpolation;
4879
+ this.j1n_1 = $provider;
4880
+ this.k1n_1 = $latitude;
4881
+ this.l1n_1 = $longitude;
4882
+ this.m1n_1 = $interpolation;
4398
4883
  CoroutineImpl.call(this, resultContinuation);
4399
4884
  }
4400
- protoOf(getElevation$slambda).r1k = function ($this$promise, $completion) {
4401
- var tmp = this.m19($this$promise, $completion);
4885
+ protoOf(getElevation$slambda).o1n = function ($this$promise, $completion) {
4886
+ var tmp = this.d1c($this$promise, $completion);
4402
4887
  tmp.l7_1 = Unit_instance;
4403
4888
  tmp.m7_1 = null;
4404
4889
  return tmp.r7();
4405
4890
  };
4406
4891
  protoOf(getElevation$slambda).z7 = function (p1, $completion) {
4407
- return this.r1k((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
4892
+ return this.o1n((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
4408
4893
  };
4409
4894
  protoOf(getElevation$slambda).r7 = function () {
4410
4895
  var suspendResult = this.l7_1;
@@ -4415,7 +4900,7 @@
4415
4900
  case 0:
4416
4901
  this.k7_1 = 2;
4417
4902
  this.j7_1 = 1;
4418
- suspendResult = this.m1k_1.i16(this.n1k_1, this.o1k_1, this.p1k_1, this);
4903
+ suspendResult = this.j1n_1.d18(this.k1n_1, this.l1n_1, this.m1n_1, this);
4419
4904
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4420
4905
  return suspendResult;
4421
4906
  }
@@ -4437,31 +4922,31 @@
4437
4922
  }
4438
4923
  while (true);
4439
4924
  };
4440
- protoOf(getElevation$slambda).m19 = function ($this$promise, completion) {
4441
- var i = new getElevation$slambda(this.m1k_1, this.n1k_1, this.o1k_1, this.p1k_1, completion);
4442
- i.q1k_1 = $this$promise;
4925
+ protoOf(getElevation$slambda).d1c = function ($this$promise, completion) {
4926
+ var i = new getElevation$slambda(this.j1n_1, this.k1n_1, this.l1n_1, this.m1n_1, completion);
4927
+ i.n1n_1 = $this$promise;
4443
4928
  return i;
4444
4929
  };
4445
4930
  function getElevation$slambda_0($provider, $latitude, $longitude, $interpolation, resultContinuation) {
4446
4931
  var i = new getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation);
4447
4932
  return constructCallableReference(function ($this$promise, $completion) {
4448
- return i.r1k($this$promise, $completion);
4933
+ return i.o1n($this$promise, $completion);
4449
4934
  }, 1);
4450
4935
  }
4451
4936
  function getElevationsAlong$slambda($path, $provider, $options, resultContinuation) {
4452
- this.a1l_1 = $path;
4453
- this.b1l_1 = $provider;
4454
- this.c1l_1 = $options;
4937
+ this.x1n_1 = $path;
4938
+ this.y1n_1 = $provider;
4939
+ this.z1n_1 = $options;
4455
4940
  CoroutineImpl.call(this, resultContinuation);
4456
4941
  }
4457
- protoOf(getElevationsAlong$slambda).e1l = function ($this$promise, $completion) {
4458
- var tmp = this.m19($this$promise, $completion);
4942
+ protoOf(getElevationsAlong$slambda).b1o = function ($this$promise, $completion) {
4943
+ var tmp = this.d1c($this$promise, $completion);
4459
4944
  tmp.l7_1 = Unit_instance;
4460
4945
  tmp.m7_1 = null;
4461
4946
  return tmp.r7();
4462
4947
  };
4463
4948
  protoOf(getElevationsAlong$slambda).z7 = function (p1, $completion) {
4464
- return this.e1l((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
4949
+ return this.b1o((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
4465
4950
  };
4466
4951
  protoOf(getElevationsAlong$slambda).r7 = function () {
4467
4952
  var suspendResult = this.l7_1;
@@ -4471,7 +4956,7 @@
4471
4956
  switch (tmp) {
4472
4957
  case 0:
4473
4958
  this.k7_1 = 2;
4474
- var this_0 = this.a1l_1;
4959
+ var this_0 = this.x1n_1;
4475
4960
  var destination = ArrayList_init_$Create$_0(this_0.length);
4476
4961
  var inductionVariable = 0;
4477
4962
  var last = this_0.length;
@@ -4483,21 +4968,21 @@
4483
4968
 
4484
4969
  var coords = destination;
4485
4970
  this.j7_1 = 1;
4486
- var tmp0_safe_receiver = this.c1l_1;
4971
+ var tmp0_safe_receiver = this.z1n_1;
4487
4972
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.step;
4488
4973
  var tmp_0 = tmp1_elvis_lhs == null ? 10.0 : tmp1_elvis_lhs;
4489
- var tmp2_safe_receiver = this.c1l_1;
4974
+ var tmp2_safe_receiver = this.z1n_1;
4490
4975
  var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.minDistance;
4491
4976
  var tmp_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
4492
- var tmp4_safe_receiver = this.c1l_1;
4977
+ var tmp4_safe_receiver = this.z1n_1;
4493
4978
  var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.interpolation;
4494
4979
  var tmp_2 = tmp5_elvis_lhs == null ? true : tmp5_elvis_lhs;
4495
- var tmp6_safe_receiver = this.c1l_1;
4980
+ var tmp6_safe_receiver = this.z1n_1;
4496
4981
  var tmp7_safe_receiver = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.smoothingOptions;
4497
4982
  var tmp_3 = tmp7_safe_receiver == null ? null : toKotlin(tmp7_safe_receiver);
4498
- var tmp8_safe_receiver = this.c1l_1;
4983
+ var tmp8_safe_receiver = this.z1n_1;
4499
4984
  var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.filterOptions;
4500
- suspendResult = this.b1l_1.f17(coords, tmp_0, tmp_1, tmp_2, tmp_3, tmp9_safe_receiver == null ? null : toKotlin_0(tmp9_safe_receiver), this);
4985
+ suspendResult = this.y1n_1.w19(coords, tmp_0, tmp_1, tmp_2, tmp_3, tmp9_safe_receiver == null ? null : toKotlin_0(tmp9_safe_receiver), this);
4501
4986
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4502
4987
  return suspendResult;
4503
4988
  }
@@ -4511,7 +4996,7 @@
4511
4996
  while (tmp_4 < tmp_5) {
4512
4997
  var tmp_7 = tmp_4;
4513
4998
  var c = results.p(tmp_7);
4514
- tmp_6[tmp_7] = coordsEle(c.f10(), c.g10(), c.d12());
4999
+ tmp_6[tmp_7] = coordsEle(c.xz(), c.yz(), c.s12());
4515
5000
  tmp_4 = tmp_4 + 1 | 0;
4516
5001
  }
4517
5002
 
@@ -4530,15 +5015,15 @@
4530
5015
  }
4531
5016
  while (true);
4532
5017
  };
4533
- protoOf(getElevationsAlong$slambda).m19 = function ($this$promise, completion) {
4534
- var i = new getElevationsAlong$slambda(this.a1l_1, this.b1l_1, this.c1l_1, completion);
4535
- i.d1l_1 = $this$promise;
5018
+ protoOf(getElevationsAlong$slambda).d1c = function ($this$promise, completion) {
5019
+ var i = new getElevationsAlong$slambda(this.x1n_1, this.y1n_1, this.z1n_1, completion);
5020
+ i.a1o_1 = $this$promise;
4536
5021
  return i;
4537
5022
  };
4538
5023
  function getElevationsAlong$slambda_0($path, $provider, $options, resultContinuation) {
4539
5024
  var i = new getElevationsAlong$slambda($path, $provider, $options, resultContinuation);
4540
5025
  return constructCallableReference(function ($this$promise, $completion) {
4541
- return i.e1l($this$promise, $completion);
5026
+ return i.b1o($this$promise, $completion);
4542
5027
  }, 1);
4543
5028
  }
4544
5029
  var properties_initialized_ElevationJsApi_kt_8pvyh6;
@@ -4692,7 +5177,7 @@
4692
5177
  }
4693
5178
  function $fetchAndDecodeTileCOROUTINE$(url, resultContinuation) {
4694
5179
  CoroutineImpl.call(this, resultContinuation);
4695
- this.n1l_1 = url;
5180
+ this.k1o_1 = url;
4696
5181
  }
4697
5182
  protoOf($fetchAndDecodeTileCOROUTINE$).r7 = function () {
4698
5183
  var suspendResult = this.l7_1;
@@ -4704,14 +5189,14 @@
4704
5189
  this.k7_1 = 4;
4705
5190
  if (get_isNode()) {
4706
5191
  this.j7_1 = 2;
4707
- suspendResult = decodeNode(this.n1l_1, this);
5192
+ suspendResult = decodeNode(this.k1o_1, this);
4708
5193
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4709
5194
  return suspendResult;
4710
5195
  }
4711
5196
  continue $sm;
4712
5197
  } else {
4713
5198
  this.j7_1 = 1;
4714
- suspendResult = decodeBrowser(this.n1l_1, this);
5199
+ suspendResult = decodeBrowser(this.k1o_1, this);
4715
5200
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4716
5201
  return suspendResult;
4717
5202
  }
@@ -4719,15 +5204,15 @@
4719
5204
  }
4720
5205
 
4721
5206
  case 1:
4722
- this.o1l_1 = suspendResult;
5207
+ this.l1o_1 = suspendResult;
4723
5208
  this.j7_1 = 3;
4724
5209
  continue $sm;
4725
5210
  case 2:
4726
- this.o1l_1 = suspendResult;
5211
+ this.l1o_1 = suspendResult;
4727
5212
  this.j7_1 = 3;
4728
5213
  continue $sm;
4729
5214
  case 3:
4730
- return this.o1l_1;
5215
+ return this.l1o_1;
4731
5216
  case 4:
4732
5217
  throw this.m7_1;
4733
5218
  }
@@ -4744,8 +5229,8 @@
4744
5229
  };
4745
5230
  function $decodeTileBytesCOROUTINE$(bytes, sourceUrl, resultContinuation) {
4746
5231
  CoroutineImpl.call(this, resultContinuation);
4747
- this.x1l_1 = bytes;
4748
- this.y1l_1 = sourceUrl;
5232
+ this.u1o_1 = bytes;
5233
+ this.v1o_1 = sourceUrl;
4749
5234
  }
4750
5235
  protoOf($decodeTileBytesCOROUTINE$).r7 = function () {
4751
5236
  var suspendResult = this.l7_1;
@@ -4757,14 +5242,14 @@
4757
5242
  this.k7_1 = 4;
4758
5243
  if (get_isNode()) {
4759
5244
  this.j7_1 = 2;
4760
- suspendResult = decodeBytesNode(this.x1l_1, this.y1l_1, this);
5245
+ suspendResult = decodeBytesNode(this.u1o_1, this.v1o_1, this);
4761
5246
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4762
5247
  return suspendResult;
4763
5248
  }
4764
5249
  continue $sm;
4765
5250
  } else {
4766
5251
  this.j7_1 = 1;
4767
- suspendResult = decodeBlob(blobOf(this.x1l_1), this.y1l_1, this);
5252
+ suspendResult = decodeBlob(blobOf(this.u1o_1), this.v1o_1, this);
4768
5253
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4769
5254
  return suspendResult;
4770
5255
  }
@@ -4772,15 +5257,15 @@
4772
5257
  }
4773
5258
 
4774
5259
  case 1:
4775
- this.z1l_1 = suspendResult;
5260
+ this.w1o_1 = suspendResult;
4776
5261
  this.j7_1 = 3;
4777
5262
  continue $sm;
4778
5263
  case 2:
4779
- this.z1l_1 = suspendResult;
5264
+ this.w1o_1 = suspendResult;
4780
5265
  this.j7_1 = 3;
4781
5266
  continue $sm;
4782
5267
  case 3:
4783
- return this.z1l_1;
5268
+ return this.w1o_1;
4784
5269
  case 4:
4785
5270
  throw this.m7_1;
4786
5271
  }
@@ -4797,7 +5282,7 @@
4797
5282
  };
4798
5283
  function $decodeNodeCOROUTINE$(url, resultContinuation) {
4799
5284
  CoroutineImpl.call(this, resultContinuation);
4800
- this.i1m_1 = url;
5285
+ this.f1p_1 = url;
4801
5286
  }
4802
5287
  protoOf($decodeNodeCOROUTINE$).r7 = function () {
4803
5288
  var suspendResult = this.l7_1;
@@ -4808,7 +5293,7 @@
4808
5293
  case 0:
4809
5294
  this.k7_1 = 4;
4810
5295
  this.j7_1 = 1;
4811
- suspendResult = await_0(fetchUrlNode(this.i1m_1), this);
5296
+ suspendResult = await_0(fetchUrlNode(this.f1p_1), this);
4812
5297
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4813
5298
  return suspendResult;
4814
5299
  }
@@ -4816,7 +5301,7 @@
4816
5301
  continue $sm;
4817
5302
  case 1:
4818
5303
  var res = suspendResult;
4819
- requireOk(res, this.i1m_1);
5304
+ requireOk(res, this.f1p_1);
4820
5305
  this.j7_1 = 2;
4821
5306
  suspendResult = await_0(responseArrayBuffer(res), this);
4822
5307
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -4852,7 +5337,7 @@
4852
5337
  };
4853
5338
  function $decodeBrowserCOROUTINE$(url, resultContinuation) {
4854
5339
  CoroutineImpl.call(this, resultContinuation);
4855
- this.r1m_1 = url;
5340
+ this.o1p_1 = url;
4856
5341
  }
4857
5342
  protoOf($decodeBrowserCOROUTINE$).r7 = function () {
4858
5343
  var suspendResult = this.l7_1;
@@ -4863,7 +5348,7 @@
4863
5348
  case 0:
4864
5349
  this.k7_1 = 4;
4865
5350
  this.j7_1 = 1;
4866
- suspendResult = await_0(fetchUrlBrowser(this.r1m_1), this);
5351
+ suspendResult = await_0(fetchUrlBrowser(this.o1p_1), this);
4867
5352
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4868
5353
  return suspendResult;
4869
5354
  }
@@ -4871,7 +5356,7 @@
4871
5356
  continue $sm;
4872
5357
  case 1:
4873
5358
  var res = suspendResult;
4874
- requireOk(res, this.r1m_1);
5359
+ requireOk(res, this.o1p_1);
4875
5360
  this.j7_1 = 2;
4876
5361
  suspendResult = await_0(res.blob(), this);
4877
5362
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -4882,7 +5367,7 @@
4882
5367
  case 2:
4883
5368
  var ARGUMENT = suspendResult;
4884
5369
  this.j7_1 = 3;
4885
- suspendResult = decodeBlob(ARGUMENT, this.r1m_1, this);
5370
+ suspendResult = decodeBlob(ARGUMENT, this.o1p_1, this);
4886
5371
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4887
5372
  return suspendResult;
4888
5373
  }
@@ -4906,8 +5391,8 @@
4906
5391
  };
4907
5392
  function $decodeBytesNodeCOROUTINE$(bytes, sourceUrl, resultContinuation) {
4908
5393
  CoroutineImpl.call(this, resultContinuation);
4909
- this.a1n_1 = bytes;
4910
- this.b1n_1 = sourceUrl;
5394
+ this.x1p_1 = bytes;
5395
+ this.y1p_1 = sourceUrl;
4911
5396
  }
4912
5397
  protoOf($decodeBytesNodeCOROUTINE$).r7 = function () {
4913
5398
  var suspendResult = this.l7_1;
@@ -4917,7 +5402,7 @@
4917
5402
  switch (tmp) {
4918
5403
  case 0:
4919
5404
  this.k7_1 = 4;
4920
- var view = this.a1n_1;
5405
+ var view = this.x1p_1;
4921
5406
  var buffer = view.buffer.slice(view.byteOffset, view.byteOffset + view.byteLength);
4922
5407
  this.k7_1 = 2;
4923
5408
  this.j7_1 = 1;
@@ -4928,7 +5413,7 @@
4928
5413
 
4929
5414
  continue $sm;
4930
5415
  case 1:
4931
- this.c1n_1 = suspendResult;
5416
+ this.z1p_1 = suspendResult;
4932
5417
  this.k7_1 = 4;
4933
5418
  this.j7_1 = 3;
4934
5419
  continue $sm;
@@ -4938,7 +5423,7 @@
4938
5423
  if (tmp_0 instanceof Error) {
4939
5424
  var e = this.m7_1;
4940
5425
  var tmp_1 = this;
4941
- var this_0 = this.b1n_1;
5426
+ var this_0 = this.y1p_1;
4942
5427
  var tmp_2;
4943
5428
  if (charSequenceLength(this_0) === 0) {
4944
5429
  tmp_2 = '<unnamed bytes>';
@@ -4953,7 +5438,7 @@
4953
5438
 
4954
5439
  case 3:
4955
5440
  this.k7_1 = 4;
4956
- var image = this.c1n_1;
5441
+ var image = this.z1p_1;
4957
5442
  return rawTileFromJsquash(image);
4958
5443
  case 4:
4959
5444
  throw this.m7_1;
@@ -4971,8 +5456,8 @@
4971
5456
  };
4972
5457
  function $decodeBlobCOROUTINE$(blob, sourceUrl, resultContinuation) {
4973
5458
  CoroutineImpl.call(this, resultContinuation);
4974
- this.l1n_1 = blob;
4975
- this.m1n_1 = sourceUrl;
5459
+ this.i1q_1 = blob;
5460
+ this.j1q_1 = sourceUrl;
4976
5461
  }
4977
5462
  protoOf($decodeBlobCOROUTINE$).r7 = function () {
4978
5463
  var suspendResult = this.l7_1;
@@ -4984,14 +5469,14 @@
4984
5469
  this.k7_1 = 3;
4985
5470
  this.k7_1 = 2;
4986
5471
  this.j7_1 = 1;
4987
- suspendResult = await_0(window.createImageBitmap(this.l1n_1), this);
5472
+ suspendResult = await_0(window.createImageBitmap(this.i1q_1), this);
4988
5473
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4989
5474
  return suspendResult;
4990
5475
  }
4991
5476
 
4992
5477
  continue $sm;
4993
5478
  case 1:
4994
- this.n1n_1 = suspendResult;
5479
+ this.k1q_1 = suspendResult;
4995
5480
  this.k7_1 = 3;
4996
5481
  this.j7_1 = 4;
4997
5482
  continue $sm;
@@ -5001,7 +5486,7 @@
5001
5486
  if (tmp_0 instanceof Error) {
5002
5487
  var e = this.m7_1;
5003
5488
  var tmp_1 = this;
5004
- var this_0 = this.m1n_1;
5489
+ var this_0 = this.j1q_1;
5005
5490
  var tmp_2;
5006
5491
  if (charSequenceLength(this_0) === 0) {
5007
5492
  tmp_2 = '<unnamed bytes>';
@@ -5018,7 +5503,7 @@
5018
5503
  throw this.m7_1;
5019
5504
  case 4:
5020
5505
  this.k7_1 = 3;
5021
- var bitmap = this.n1n_1;
5506
+ var bitmap = this.k1q_1;
5022
5507
  l$ret$3: do {
5023
5508
  var tmp$ret$0;
5024
5509
  l$ret$1: do {
@@ -5066,7 +5551,7 @@
5066
5551
  };
5067
5552
  function $decodeWebpNodeCOROUTINE$(buffer, resultContinuation) {
5068
5553
  CoroutineImpl.call(this, resultContinuation);
5069
- this.w1n_1 = buffer;
5554
+ this.t1q_1 = buffer;
5070
5555
  }
5071
5556
  protoOf($decodeWebpNodeCOROUTINE$).r7 = function () {
5072
5557
  var suspendResult = this.l7_1;
@@ -5085,7 +5570,7 @@
5085
5570
  continue $sm;
5086
5571
  case 1:
5087
5572
  var decode = suspendResult;
5088
- var resultPromise = decode(this.w1n_1);
5573
+ var resultPromise = decode(this.t1q_1);
5089
5574
  this.j7_1 = 2;
5090
5575
  suspendResult = await_0(resultPromise, this);
5091
5576
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -5111,7 +5596,7 @@
5111
5596
  };
5112
5597
  function $fetchTileBytesCOROUTINE$(url, resultContinuation) {
5113
5598
  CoroutineImpl.call(this, resultContinuation);
5114
- this.f1o_1 = url;
5599
+ this.c1r_1 = url;
5115
5600
  }
5116
5601
  protoOf($fetchTileBytesCOROUTINE$).r7 = function () {
5117
5602
  var suspendResult = this.l7_1;
@@ -5123,14 +5608,14 @@
5123
5608
  this.k7_1 = 5;
5124
5609
  if (get_isNode()) {
5125
5610
  this.j7_1 = 2;
5126
- suspendResult = await_0(fetchUrlNode(this.f1o_1), this);
5611
+ suspendResult = await_0(fetchUrlNode(this.c1r_1), this);
5127
5612
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
5128
5613
  return suspendResult;
5129
5614
  }
5130
5615
  continue $sm;
5131
5616
  } else {
5132
5617
  this.j7_1 = 1;
5133
- suspendResult = await_0(fetchUrlBrowser(this.f1o_1), this);
5618
+ suspendResult = await_0(fetchUrlBrowser(this.c1r_1), this);
5134
5619
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
5135
5620
  return suspendResult;
5136
5621
  }
@@ -5138,16 +5623,16 @@
5138
5623
  }
5139
5624
 
5140
5625
  case 1:
5141
- this.g1o_1 = suspendResult;
5626
+ this.d1r_1 = suspendResult;
5142
5627
  this.j7_1 = 3;
5143
5628
  continue $sm;
5144
5629
  case 2:
5145
- this.g1o_1 = suspendResult;
5630
+ this.d1r_1 = suspendResult;
5146
5631
  this.j7_1 = 3;
5147
5632
  continue $sm;
5148
5633
  case 3:
5149
- var res = this.g1o_1;
5150
- requireOk(res, this.f1o_1);
5634
+ var res = this.d1r_1;
5635
+ requireOk(res, this.c1r_1);
5151
5636
  this.j7_1 = 4;
5152
5637
  suspendResult = await_0(responseArrayBuffer(res), this);
5153
5638
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -5184,13 +5669,13 @@
5184
5669
  function fetchAndDecodeTile$ref_1() {
5185
5670
  var i = new fetchAndDecodeTile$ref();
5186
5671
  return constructCallableReference(function (p0, $completion) {
5187
- return i.j17(p0, $completion);
5672
+ return i.a1a(p0, $completion);
5188
5673
  }, 1, 1, 2, 'fetchAndDecodeTile');
5189
5674
  }
5190
5675
  function fetchTileBytes$ref_0() {
5191
5676
  var i = new fetchTileBytes$ref();
5192
5677
  return constructCallableReference(function (p0, $completion) {
5193
- return i.e1j(p0, $completion);
5678
+ return i.b1m(p0, $completion);
5194
5679
  }, 1, 1, 5, 'fetchTileBytes');
5195
5680
  }
5196
5681
  //region block: init
@@ -5200,7 +5685,7 @@
5200
5685
  ElevationFunctions_instance = new ElevationFunctions();
5201
5686
  ElevationSmoother_instance = new ElevationSmoother();
5202
5687
  Flux_instance = new Flux();
5203
- Companion_instance_1 = new Companion_0();
5688
+ Companion_instance_2 = new Companion_1();
5204
5689
  Key_instance = new Key();
5205
5690
  //endregion
5206
5691
  //region block: exports
@@ -5217,15 +5702,21 @@
5217
5702
  $jsExportAll$(_);
5218
5703
  _.$jsExportAll$ = $jsExportAll$;
5219
5704
  _.$_$ = _.$_$ || {};
5220
- _.$_$.a = Distance_instance;
5221
- _.$_$.b = DouglasPeucker_instance;
5222
- _.$_$.c = ElevationSmoother_instance;
5223
- _.$_$.d = Companion_getInstance_0;
5224
- _.$_$.e = LatLonElevation;
5225
- _.$_$.f = LatLon;
5226
- _.$_$.g = TileFailureLog;
5227
- _.$_$.h = Vector3D;
5228
- _.$_$.i = provider;
5705
+ _.$_$.a = TerrainOrigin_IGN_LIDAR_HD_getInstance;
5706
+ _.$_$.b = TerrainOrigin_MAPTERHORN_MEASURED_getInstance;
5707
+ _.$_$.c = TerrainOrigin_MAPTERHORN_getInstance;
5708
+ _.$_$.d = TerrainOrigin_NONE_getInstance;
5709
+ _.$_$.e = TerrainOrigin_OTHER_getInstance;
5710
+ _.$_$.f = Distance_instance;
5711
+ _.$_$.g = DouglasPeucker_instance;
5712
+ _.$_$.h = ElevationSmoother_instance;
5713
+ _.$_$.i = Companion_getInstance_0;
5714
+ _.$_$.j = LatLonElevation;
5715
+ _.$_$.k = LatLon;
5716
+ _.$_$.l = get_entries_1;
5717
+ _.$_$.m = TileFailureLog;
5718
+ _.$_$.n = Vector3D;
5719
+ _.$_$.o = provider;
5229
5720
  //endregion
5230
5721
  return _;
5231
5722
  }));