@glandais/vcyclist-engine 6.8.0 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/fit-kotlin-sdk.js +3706 -3706
- package/index.d.ts +3 -2
- package/kotlin-kotlin-stdlib.js +7 -7
- package/kotlinx-coroutines-core.js +2 -2
- package/package.json +1 -1
- package/vcyclist-elevation.js +438 -437
- package/vcyclist-elevation.js.map +1 -1
- package/vcyclist-engine.js +1462 -1462
- package/vcyclist-engine.js.map +1 -1
- package/vcyclist-fit.js +177 -177
- package/vcyclist-gpx.js +1129 -1129
- package/xmlutil-core.js +2373 -2373
package/vcyclist-elevation.js
CHANGED
|
@@ -2102,9 +2102,10 @@
|
|
|
2102
2102
|
var ElevationSource_IGN_LIDAR_HD_instance;
|
|
2103
2103
|
function Companion() {
|
|
2104
2104
|
Companion_instance_0 = this;
|
|
2105
|
-
this.c1b_1 =
|
|
2105
|
+
this.c1b_1 = ElevationSource_IGN_LIDAR_HD_getInstance();
|
|
2106
|
+
this.d1b_1 = ElevationSource_MAPTERHORN_getInstance();
|
|
2106
2107
|
}
|
|
2107
|
-
protoOf(Companion).
|
|
2108
|
+
protoOf(Companion).e1b = function () {
|
|
2108
2109
|
// Inline function 'kotlin.collections.map' call
|
|
2109
2110
|
var this_0 = get_entries();
|
|
2110
2111
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2112,12 +2113,12 @@
|
|
|
2112
2113
|
var _iterator__ex2g4s = this_0.l();
|
|
2113
2114
|
while (_iterator__ex2g4s.m()) {
|
|
2114
2115
|
var item = _iterator__ex2g4s.n();
|
|
2115
|
-
var tmp$ret$2 = item.
|
|
2116
|
+
var tmp$ret$2 = item.h1b_1;
|
|
2116
2117
|
destination.k(tmp$ret$2);
|
|
2117
2118
|
}
|
|
2118
2119
|
return destination;
|
|
2119
2120
|
};
|
|
2120
|
-
protoOf(Companion).
|
|
2121
|
+
protoOf(Companion).i1b = function (id) {
|
|
2121
2122
|
var tmp0 = get_entries();
|
|
2122
2123
|
var tmp$ret$0;
|
|
2123
2124
|
$l$block: {
|
|
@@ -2125,7 +2126,7 @@
|
|
|
2125
2126
|
var _iterator__ex2g4s = tmp0.l();
|
|
2126
2127
|
while (_iterator__ex2g4s.m()) {
|
|
2127
2128
|
var element = _iterator__ex2g4s.n();
|
|
2128
|
-
if (element.
|
|
2129
|
+
if (element.h1b_1 === id) {
|
|
2129
2130
|
tmp$ret$0 = element;
|
|
2130
2131
|
break $l$block;
|
|
2131
2132
|
}
|
|
@@ -2135,7 +2136,7 @@
|
|
|
2135
2136
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
2136
2137
|
var tmp;
|
|
2137
2138
|
if (tmp0_elvis_lhs == null) {
|
|
2138
|
-
throw IllegalArgumentException_init_$Create$("Unknown DEM source '" + id + "' \u2014 expected one of " + joinToString(this.
|
|
2139
|
+
throw IllegalArgumentException_init_$Create$("Unknown DEM source '" + id + "' \u2014 expected one of " + joinToString(this.e1b()));
|
|
2139
2140
|
} else {
|
|
2140
2141
|
tmp = tmp0_elvis_lhs;
|
|
2141
2142
|
}
|
|
@@ -2159,9 +2160,9 @@
|
|
|
2159
2160
|
var $ENTRIES;
|
|
2160
2161
|
function ElevationSource(name, ordinal, id) {
|
|
2161
2162
|
Enum.call(this, name, ordinal);
|
|
2162
|
-
this.
|
|
2163
|
+
this.h1b_1 = id;
|
|
2163
2164
|
}
|
|
2164
|
-
protoOf(ElevationSource).
|
|
2165
|
+
protoOf(ElevationSource).j1b = function () {
|
|
2165
2166
|
var tmp;
|
|
2166
2167
|
switch (this.y1_1) {
|
|
2167
2168
|
case 0:
|
|
@@ -2176,14 +2177,14 @@
|
|
|
2176
2177
|
}
|
|
2177
2178
|
return tmp;
|
|
2178
2179
|
};
|
|
2179
|
-
protoOf(ElevationSource).
|
|
2180
|
+
protoOf(ElevationSource).k1b = function () {
|
|
2180
2181
|
var tmp;
|
|
2181
2182
|
switch (this.y1_1) {
|
|
2182
2183
|
case 0:
|
|
2183
2184
|
tmp = (new ElevationProviderConfig()).a19_1;
|
|
2184
2185
|
break;
|
|
2185
2186
|
case 1:
|
|
2186
|
-
tmp = IgnLidarHdLayer_MNT_getInstance().
|
|
2187
|
+
tmp = IgnLidarHdLayer_MNT_getInstance().k1b();
|
|
2187
2188
|
break;
|
|
2188
2189
|
default:
|
|
2189
2190
|
noWhenBranchMatchedException();
|
|
@@ -2191,15 +2192,15 @@
|
|
|
2191
2192
|
}
|
|
2192
2193
|
return tmp;
|
|
2193
2194
|
};
|
|
2194
|
-
protoOf(ElevationSource).
|
|
2195
|
+
protoOf(ElevationSource).o1b = function (zoomLevel) {
|
|
2195
2196
|
var tmp;
|
|
2196
2197
|
switch (this.y1_1) {
|
|
2197
2198
|
case 0:
|
|
2198
|
-
tmp = new ElevationProviderConfig(zoomLevel == null ? this.
|
|
2199
|
+
tmp = new ElevationProviderConfig(zoomLevel == null ? this.k1b() : zoomLevel);
|
|
2199
2200
|
break;
|
|
2200
2201
|
case 1:
|
|
2201
2202
|
var tmp_0 = IgnLidarHdLayer_MNT_getInstance();
|
|
2202
|
-
tmp = tmp_0.
|
|
2203
|
+
tmp = tmp_0.o1b(zoomLevel == null ? this.k1b() : zoomLevel);
|
|
2203
2204
|
break;
|
|
2204
2205
|
default:
|
|
2205
2206
|
noWhenBranchMatchedException();
|
|
@@ -2216,10 +2217,10 @@
|
|
|
2216
2217
|
tmp = fetcherFor;
|
|
2217
2218
|
}
|
|
2218
2219
|
fetcherFor = tmp;
|
|
2219
|
-
var config = _this__u8e3s4.
|
|
2220
|
+
var config = _this__u8e3s4.o1b(zoomLevel);
|
|
2220
2221
|
var fetcher = _this__u8e3s4.equals(ElevationSource_IGN_LIDAR_HD_getInstance()) ? ignCoverageFiltered(config, fetcherFor(config)) : fetcherFor(config);
|
|
2221
2222
|
var primary = ElevationProvider_init_$Create$(config, fetcher);
|
|
2222
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2223
|
+
var tmp0_safe_receiver = _this__u8e3s4.j1b();
|
|
2223
2224
|
var tmp_0;
|
|
2224
2225
|
if (tmp0_safe_receiver == null) {
|
|
2225
2226
|
tmp_0 = null;
|
|
@@ -2230,7 +2231,7 @@
|
|
|
2230
2231
|
var tmp1_elvis_lhs = tmp_0;
|
|
2231
2232
|
var withFallback = tmp1_elvis_lhs == null ? primary : tmp1_elvis_lhs;
|
|
2232
2233
|
var tmp_1;
|
|
2233
|
-
if (_this__u8e3s4.equals(ElevationSource_IGN_LIDAR_HD_getInstance()) && config.a19_1 === IgnLidarHdLayer_MNS_getInstance().
|
|
2234
|
+
if (_this__u8e3s4.equals(ElevationSource_IGN_LIDAR_HD_getInstance()) && config.a19_1 === IgnLidarHdLayer_MNS_getInstance().k1b()) {
|
|
2234
2235
|
tmp_1 = withFallback.q19(provider_0(IgnLidarHdLayer_MNS_getInstance(), null, fetcherFor));
|
|
2235
2236
|
} else {
|
|
2236
2237
|
tmp_1 = withFallback;
|
|
@@ -2259,19 +2260,19 @@
|
|
|
2259
2260
|
return ElevationSource_IGN_LIDAR_HD_instance;
|
|
2260
2261
|
}
|
|
2261
2262
|
function Flux$forEachParallel$slambda$slambda($semaphore, $action, $item, resultContinuation) {
|
|
2262
|
-
this.
|
|
2263
|
-
this.
|
|
2264
|
-
this.
|
|
2263
|
+
this.x1b_1 = $semaphore;
|
|
2264
|
+
this.y1b_1 = $action;
|
|
2265
|
+
this.z1b_1 = $item;
|
|
2265
2266
|
CoroutineImpl.call(this, resultContinuation);
|
|
2266
2267
|
}
|
|
2267
|
-
protoOf(Flux$forEachParallel$slambda$slambda).
|
|
2268
|
-
var tmp = this.
|
|
2268
|
+
protoOf(Flux$forEachParallel$slambda$slambda).d1c = function ($this$async, $completion) {
|
|
2269
|
+
var tmp = this.e1c($this$async, $completion);
|
|
2269
2270
|
tmp.l7_1 = Unit_instance;
|
|
2270
2271
|
tmp.m7_1 = null;
|
|
2271
2272
|
return tmp.r7();
|
|
2272
2273
|
};
|
|
2273
2274
|
protoOf(Flux$forEachParallel$slambda$slambda).z7 = function (p1, $completion) {
|
|
2274
|
-
return this.
|
|
2275
|
+
return this.d1c((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2275
2276
|
};
|
|
2276
2277
|
protoOf(Flux$forEachParallel$slambda$slambda).r7 = function () {
|
|
2277
2278
|
var suspendResult = this.l7_1;
|
|
@@ -2281,41 +2282,41 @@
|
|
|
2281
2282
|
switch (tmp) {
|
|
2282
2283
|
case 0:
|
|
2283
2284
|
this.k7_1 = 6;
|
|
2284
|
-
this.
|
|
2285
|
+
this.b1c_1 = this.x1b_1;
|
|
2285
2286
|
this.j7_1 = 1;
|
|
2286
|
-
suspendResult = this.
|
|
2287
|
+
suspendResult = this.b1c_1.yw(this);
|
|
2287
2288
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2288
2289
|
return suspendResult;
|
|
2289
2290
|
}
|
|
2290
2291
|
|
|
2291
2292
|
continue $sm;
|
|
2292
2293
|
case 1:
|
|
2293
|
-
this.
|
|
2294
|
+
this.c1c_1 = Unit_instance;
|
|
2294
2295
|
this.j7_1 = 2;
|
|
2295
2296
|
continue $sm;
|
|
2296
2297
|
case 2:
|
|
2297
2298
|
this.k7_1 = 5;
|
|
2298
2299
|
this.j7_1 = 3;
|
|
2299
|
-
suspendResult = this.
|
|
2300
|
+
suspendResult = this.y1b_1(this.z1b_1, this);
|
|
2300
2301
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2301
2302
|
return suspendResult;
|
|
2302
2303
|
}
|
|
2303
2304
|
|
|
2304
2305
|
continue $sm;
|
|
2305
2306
|
case 3:
|
|
2306
|
-
this.
|
|
2307
|
+
this.c1c_1 = Unit_instance;
|
|
2307
2308
|
this.k7_1 = 6;
|
|
2308
2309
|
this.j7_1 = 4;
|
|
2309
2310
|
continue $sm;
|
|
2310
2311
|
case 4:
|
|
2311
|
-
this.
|
|
2312
|
+
this.c1c_1;
|
|
2312
2313
|
this.k7_1 = 6;
|
|
2313
|
-
this.
|
|
2314
|
+
this.b1c_1.sw();
|
|
2314
2315
|
return Unit_instance;
|
|
2315
2316
|
case 5:
|
|
2316
2317
|
this.k7_1 = 6;
|
|
2317
2318
|
var t = this.m7_1;
|
|
2318
|
-
this.
|
|
2319
|
+
this.b1c_1.sw();
|
|
2319
2320
|
throw t;
|
|
2320
2321
|
case 6:
|
|
2321
2322
|
throw this.m7_1;
|
|
@@ -2331,31 +2332,31 @@
|
|
|
2331
2332
|
}
|
|
2332
2333
|
while (true);
|
|
2333
2334
|
};
|
|
2334
|
-
protoOf(Flux$forEachParallel$slambda$slambda).
|
|
2335
|
-
var i = new Flux$forEachParallel$slambda$slambda(this.
|
|
2336
|
-
i.
|
|
2335
|
+
protoOf(Flux$forEachParallel$slambda$slambda).e1c = function ($this$async, completion) {
|
|
2336
|
+
var i = new Flux$forEachParallel$slambda$slambda(this.x1b_1, this.y1b_1, this.z1b_1, completion);
|
|
2337
|
+
i.a1c_1 = $this$async;
|
|
2337
2338
|
return i;
|
|
2338
2339
|
};
|
|
2339
2340
|
function Flux$forEachParallel$slambda$slambda_0($semaphore, $action, $item, resultContinuation) {
|
|
2340
2341
|
var i = new Flux$forEachParallel$slambda$slambda($semaphore, $action, $item, resultContinuation);
|
|
2341
2342
|
return constructCallableReference(function ($this$async, $completion) {
|
|
2342
|
-
return i.
|
|
2343
|
+
return i.d1c($this$async, $completion);
|
|
2343
2344
|
}, 1);
|
|
2344
2345
|
}
|
|
2345
2346
|
function Flux$forEachParallel$slambda($maxParallel, $items, $action, resultContinuation) {
|
|
2346
|
-
this.
|
|
2347
|
-
this.
|
|
2348
|
-
this.
|
|
2347
|
+
this.n1c_1 = $maxParallel;
|
|
2348
|
+
this.o1c_1 = $items;
|
|
2349
|
+
this.p1c_1 = $action;
|
|
2349
2350
|
CoroutineImpl.call(this, resultContinuation);
|
|
2350
2351
|
}
|
|
2351
|
-
protoOf(Flux$forEachParallel$slambda).
|
|
2352
|
-
var tmp = this.
|
|
2352
|
+
protoOf(Flux$forEachParallel$slambda).r1c = function ($this$coroutineScope, $completion) {
|
|
2353
|
+
var tmp = this.e1c($this$coroutineScope, $completion);
|
|
2353
2354
|
tmp.l7_1 = Unit_instance;
|
|
2354
2355
|
tmp.m7_1 = null;
|
|
2355
2356
|
return tmp.r7();
|
|
2356
2357
|
};
|
|
2357
2358
|
protoOf(Flux$forEachParallel$slambda).z7 = function (p1, $completion) {
|
|
2358
|
-
return this.
|
|
2359
|
+
return this.r1c((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2359
2360
|
};
|
|
2360
2361
|
protoOf(Flux$forEachParallel$slambda).r7 = function () {
|
|
2361
2362
|
var suspendResult = this.l7_1;
|
|
@@ -2365,14 +2366,14 @@
|
|
|
2365
2366
|
switch (tmp) {
|
|
2366
2367
|
case 0:
|
|
2367
2368
|
this.k7_1 = 2;
|
|
2368
|
-
var semaphore = Semaphore(this.
|
|
2369
|
+
var semaphore = Semaphore(this.n1c_1);
|
|
2369
2370
|
this.j7_1 = 1;
|
|
2370
|
-
var this_0 = this.
|
|
2371
|
+
var this_0 = this.o1c_1;
|
|
2371
2372
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2372
2373
|
var _iterator__ex2g4s = this_0.l();
|
|
2373
2374
|
while (_iterator__ex2g4s.m()) {
|
|
2374
2375
|
var item = _iterator__ex2g4s.n();
|
|
2375
|
-
destination.k(async(this.
|
|
2376
|
+
destination.k(async(this.q1c_1, VOID, VOID, Flux$forEachParallel$slambda$slambda_0(semaphore, this.p1c_1, item, null)));
|
|
2376
2377
|
}
|
|
2377
2378
|
|
|
2378
2379
|
suspendResult = awaitAll(destination, this);
|
|
@@ -2397,23 +2398,23 @@
|
|
|
2397
2398
|
}
|
|
2398
2399
|
while (true);
|
|
2399
2400
|
};
|
|
2400
|
-
protoOf(Flux$forEachParallel$slambda).
|
|
2401
|
-
var i = new Flux$forEachParallel$slambda(this.
|
|
2402
|
-
i.
|
|
2401
|
+
protoOf(Flux$forEachParallel$slambda).e1c = function ($this$coroutineScope, completion) {
|
|
2402
|
+
var i = new Flux$forEachParallel$slambda(this.n1c_1, this.o1c_1, this.p1c_1, completion);
|
|
2403
|
+
i.q1c_1 = $this$coroutineScope;
|
|
2403
2404
|
return i;
|
|
2404
2405
|
};
|
|
2405
2406
|
function Flux$forEachParallel$slambda_0($maxParallel, $items, $action, resultContinuation) {
|
|
2406
2407
|
var i = new Flux$forEachParallel$slambda($maxParallel, $items, $action, resultContinuation);
|
|
2407
2408
|
return constructCallableReference(function ($this$coroutineScope, $completion) {
|
|
2408
|
-
return i.
|
|
2409
|
+
return i.r1c($this$coroutineScope, $completion);
|
|
2409
2410
|
}, 1);
|
|
2410
2411
|
}
|
|
2411
2412
|
function $forEachParallelCOROUTINE$(_this__u8e3s4, items, maxParallel, action, resultContinuation) {
|
|
2412
2413
|
CoroutineImpl.call(this, resultContinuation);
|
|
2413
|
-
this.
|
|
2414
|
-
this.
|
|
2415
|
-
this.
|
|
2416
|
-
this.
|
|
2414
|
+
this.a1d_1 = _this__u8e3s4;
|
|
2415
|
+
this.b1d_1 = items;
|
|
2416
|
+
this.c1d_1 = maxParallel;
|
|
2417
|
+
this.d1d_1 = action;
|
|
2417
2418
|
}
|
|
2418
2419
|
protoOf($forEachParallelCOROUTINE$).r7 = function () {
|
|
2419
2420
|
var suspendResult = this.l7_1;
|
|
@@ -2423,13 +2424,13 @@
|
|
|
2423
2424
|
switch (tmp) {
|
|
2424
2425
|
case 0:
|
|
2425
2426
|
this.k7_1 = 2;
|
|
2426
|
-
if (!(this.
|
|
2427
|
-
var message = 'maxParallel must be >= 1, got ' + this.
|
|
2427
|
+
if (!(this.c1d_1 >= 1)) {
|
|
2428
|
+
var message = 'maxParallel must be >= 1, got ' + this.c1d_1;
|
|
2428
2429
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2429
2430
|
}
|
|
2430
2431
|
|
|
2431
2432
|
this.j7_1 = 1;
|
|
2432
|
-
suspendResult = coroutineScope(Flux$forEachParallel$slambda_0(this.
|
|
2433
|
+
suspendResult = coroutineScope(Flux$forEachParallel$slambda_0(this.c1d_1, this.b1d_1, this.d1d_1, null), this);
|
|
2433
2434
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2434
2435
|
return suspendResult;
|
|
2435
2436
|
}
|
|
@@ -2600,14 +2601,14 @@
|
|
|
2600
2601
|
IgnLidarHdCoverage_instance = this;
|
|
2601
2602
|
var tmp = this;
|
|
2602
2603
|
// Inline function 'kotlin.doubleArrayOf' call
|
|
2603
|
-
tmp.
|
|
2604
|
+
tmp.e1d_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]);
|
|
2604
2605
|
var tmp_0 = this;
|
|
2605
2606
|
// Inline function 'kotlin.doubleArrayOf' call
|
|
2606
|
-
tmp_0.
|
|
2607
|
-
this.
|
|
2607
|
+
tmp_0.f1d_1 = new Float64Array([8.4, 43.15, 9.7, 43.15, 9.7, 41.25, 8.4, 41.25]);
|
|
2608
|
+
this.g1d_1 = listOf([this.e1d_1, this.f1d_1]);
|
|
2608
2609
|
}
|
|
2609
|
-
protoOf(IgnLidarHdCoverage).
|
|
2610
|
-
var tmp0 = this.
|
|
2610
|
+
protoOf(IgnLidarHdCoverage).h1d = function (latitude, longitude) {
|
|
2611
|
+
var tmp0 = this.g1d_1;
|
|
2611
2612
|
var tmp$ret$0;
|
|
2612
2613
|
$l$block_0: {
|
|
2613
2614
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -2633,13 +2634,13 @@
|
|
|
2633
2634
|
}
|
|
2634
2635
|
return tmp$ret$0;
|
|
2635
2636
|
};
|
|
2636
|
-
protoOf(IgnLidarHdCoverage).
|
|
2637
|
+
protoOf(IgnLidarHdCoverage).i1d = function (tc) {
|
|
2637
2638
|
var tiles = 1 << tc.n11_1;
|
|
2638
2639
|
var west = tc.l11_1 / tiles * 360.0 - 180.0;
|
|
2639
2640
|
var east = (tc.l11_1 + 1 | 0) / tiles * 360.0 - 180.0;
|
|
2640
2641
|
var north = latitudeOfRow(this, tc.m11_1, tiles);
|
|
2641
2642
|
var south = latitudeOfRow(this, tc.m11_1 + 1 | 0, tiles);
|
|
2642
|
-
var tmp0 = this.
|
|
2643
|
+
var tmp0 = this.g1d_1;
|
|
2643
2644
|
var tmp$ret$0;
|
|
2644
2645
|
$l$block_0: {
|
|
2645
2646
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -2672,8 +2673,8 @@
|
|
|
2672
2673
|
return IgnLidarHdCoverage_instance;
|
|
2673
2674
|
}
|
|
2674
2675
|
function ignCoverageFiltered$slambda($config, $fetcher, resultContinuation) {
|
|
2675
|
-
this.
|
|
2676
|
-
this.
|
|
2676
|
+
this.r1d_1 = $config;
|
|
2677
|
+
this.s1d_1 = $fetcher;
|
|
2677
2678
|
CoroutineImpl.call(this, resultContinuation);
|
|
2678
2679
|
}
|
|
2679
2680
|
protoOf(ignCoverageFiltered$slambda).a1a = function (url, $completion) {
|
|
@@ -2693,25 +2694,25 @@
|
|
|
2693
2694
|
switch (tmp) {
|
|
2694
2695
|
case 0:
|
|
2695
2696
|
this.k7_1 = 3;
|
|
2696
|
-
if (IgnLidarHdCoverage_getInstance().
|
|
2697
|
+
if (IgnLidarHdCoverage_getInstance().i1d(tileCoordinatesOf(this.t1d_1, this.r1d_1))) {
|
|
2697
2698
|
this.j7_1 = 1;
|
|
2698
|
-
suspendResult = this.
|
|
2699
|
+
suspendResult = this.s1d_1(this.t1d_1, this);
|
|
2699
2700
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2700
2701
|
return suspendResult;
|
|
2701
2702
|
}
|
|
2702
2703
|
continue $sm;
|
|
2703
2704
|
} else {
|
|
2704
|
-
this.
|
|
2705
|
+
this.u1d_1 = noDataTile(this.r1d_1.d19_1);
|
|
2705
2706
|
this.j7_1 = 2;
|
|
2706
2707
|
continue $sm;
|
|
2707
2708
|
}
|
|
2708
2709
|
|
|
2709
2710
|
case 1:
|
|
2710
|
-
this.
|
|
2711
|
+
this.u1d_1 = suspendResult;
|
|
2711
2712
|
this.j7_1 = 2;
|
|
2712
2713
|
continue $sm;
|
|
2713
2714
|
case 2:
|
|
2714
|
-
return this.
|
|
2715
|
+
return this.u1d_1;
|
|
2715
2716
|
case 3:
|
|
2716
2717
|
throw this.m7_1;
|
|
2717
2718
|
}
|
|
@@ -2727,8 +2728,8 @@
|
|
|
2727
2728
|
while (true);
|
|
2728
2729
|
};
|
|
2729
2730
|
protoOf(ignCoverageFiltered$slambda).l1a = function (url, completion) {
|
|
2730
|
-
var i = new ignCoverageFiltered$slambda(this.
|
|
2731
|
-
i.
|
|
2731
|
+
var i = new ignCoverageFiltered$slambda(this.r1d_1, this.s1d_1, completion);
|
|
2732
|
+
i.t1d_1 = url;
|
|
2732
2733
|
return i;
|
|
2733
2734
|
};
|
|
2734
2735
|
function ignCoverageFiltered$slambda_0($config, $fetcher, resultContinuation) {
|
|
@@ -2762,14 +2763,14 @@
|
|
|
2762
2763
|
var $ENTRIES_0;
|
|
2763
2764
|
function IgnLidarHdLayer(name, ordinal, wmsLayer) {
|
|
2764
2765
|
Enum.call(this, name, ordinal);
|
|
2765
|
-
this.
|
|
2766
|
+
this.n1b_1 = wmsLayer;
|
|
2766
2767
|
}
|
|
2767
|
-
protoOf(IgnLidarHdLayer).
|
|
2768
|
+
protoOf(IgnLidarHdLayer).k1b = function () {
|
|
2768
2769
|
return 15;
|
|
2769
2770
|
};
|
|
2770
|
-
protoOf(IgnLidarHdLayer).
|
|
2771
|
-
var tmp1_zoomLevel = zoomLevel == null ? this.
|
|
2772
|
-
var tmp3_tileUrlTemplate = ignWmsTemplate(this.
|
|
2771
|
+
protoOf(IgnLidarHdLayer).o1b = function (zoomLevel) {
|
|
2772
|
+
var tmp1_zoomLevel = zoomLevel == null ? this.k1b() : zoomLevel;
|
|
2773
|
+
var tmp3_tileUrlTemplate = ignWmsTemplate(this.n1b_1, 256);
|
|
2773
2774
|
var tmp4_encoding = TileEncoding_BIL32_getInstance();
|
|
2774
2775
|
var tmp5_attribution = new Attribution('\xA9 IGN \u2014 LiDAR HD ' + this.x1_1 + ', Licence Ouverte Etalab 2.0', 'https://geoservices.ign.fr/lidarhd');
|
|
2775
2776
|
return new ElevationProviderConfig(tmp1_zoomLevel, VOID, tmp3_tileUrlTemplate, 256, tmp5_attribution, tmp4_encoding, 20);
|
|
@@ -2783,7 +2784,7 @@
|
|
|
2783
2784
|
tmp = fetcherFor;
|
|
2784
2785
|
}
|
|
2785
2786
|
fetcherFor = tmp;
|
|
2786
|
-
var config = _this__u8e3s4.
|
|
2787
|
+
var config = _this__u8e3s4.o1b(zoomLevel);
|
|
2787
2788
|
return ElevationProvider_init_$Create$_0(config, ignCoverageFiltered(config, fetcherFor(config)), true);
|
|
2788
2789
|
}
|
|
2789
2790
|
function ignWmsTemplate(layer, tileSize) {
|
|
@@ -2802,13 +2803,13 @@
|
|
|
2802
2803
|
return IgnLidarHdLayer_MNH_instance;
|
|
2803
2804
|
}
|
|
2804
2805
|
function Hit(value) {
|
|
2805
|
-
this.
|
|
2806
|
+
this.v1d_1 = value;
|
|
2806
2807
|
}
|
|
2807
2808
|
function Await(deferred) {
|
|
2808
|
-
this.
|
|
2809
|
+
this.w1d_1 = deferred;
|
|
2809
2810
|
}
|
|
2810
2811
|
function Owner(deferred) {
|
|
2811
|
-
this.
|
|
2812
|
+
this.x1d_1 = deferred;
|
|
2812
2813
|
}
|
|
2813
2814
|
function LoadAbandoned() {
|
|
2814
2815
|
Exception_init_$Init$('load abandoned by its cancelled owner', this);
|
|
@@ -2827,18 +2828,18 @@
|
|
|
2827
2828
|
return tmp.r7();
|
|
2828
2829
|
}
|
|
2829
2830
|
function LruCache$load$slambda(this$0, $key, resultContinuation) {
|
|
2830
|
-
this.
|
|
2831
|
-
this.
|
|
2831
|
+
this.g1f_1 = this$0;
|
|
2832
|
+
this.h1f_1 = $key;
|
|
2832
2833
|
CoroutineImpl.call(this, resultContinuation);
|
|
2833
2834
|
}
|
|
2834
|
-
protoOf(LruCache$load$slambda).
|
|
2835
|
-
var tmp = this.
|
|
2835
|
+
protoOf(LruCache$load$slambda).l1f = function ($this$withContext, $completion) {
|
|
2836
|
+
var tmp = this.e1c($this$withContext, $completion);
|
|
2836
2837
|
tmp.l7_1 = Unit_instance;
|
|
2837
2838
|
tmp.m7_1 = null;
|
|
2838
2839
|
return tmp.r7();
|
|
2839
2840
|
};
|
|
2840
2841
|
protoOf(LruCache$load$slambda).z7 = function (p1, $completion) {
|
|
2841
|
-
return this.
|
|
2842
|
+
return this.l1f((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2842
2843
|
};
|
|
2843
2844
|
protoOf(LruCache$load$slambda).r7 = function () {
|
|
2844
2845
|
var suspendResult = this.l7_1;
|
|
@@ -2848,10 +2849,10 @@
|
|
|
2848
2849
|
switch (tmp) {
|
|
2849
2850
|
case 0:
|
|
2850
2851
|
this.k7_1 = 2;
|
|
2851
|
-
this.
|
|
2852
|
-
this.
|
|
2852
|
+
this.k1f_1 = this.g1f_1.p1f_1;
|
|
2853
|
+
this.j1f_1 = null;
|
|
2853
2854
|
this.j7_1 = 1;
|
|
2854
|
-
suspendResult = this.
|
|
2855
|
+
suspendResult = this.k1f_1.qw(this.j1f_1, this);
|
|
2855
2856
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2856
2857
|
return suspendResult;
|
|
2857
2858
|
}
|
|
@@ -2862,18 +2863,18 @@
|
|
|
2862
2863
|
l$ret$1: do {
|
|
2863
2864
|
var tmp_0;
|
|
2864
2865
|
try {
|
|
2865
|
-
tmp$ret$0 = this.
|
|
2866
|
+
tmp$ret$0 = this.g1f_1.r1f_1.w3(this.h1f_1);
|
|
2866
2867
|
break l$ret$1;
|
|
2867
2868
|
} catch ($p) {
|
|
2868
2869
|
var tmp_1;
|
|
2869
2870
|
var t = $p;
|
|
2870
|
-
this.
|
|
2871
|
+
this.k1f_1.bw(this.j1f_1);
|
|
2871
2872
|
throw t;
|
|
2872
2873
|
}
|
|
2873
2874
|
}
|
|
2874
2875
|
while (false);
|
|
2875
2876
|
var tmp_2 = tmp$ret$0;
|
|
2876
|
-
this.
|
|
2877
|
+
this.k1f_1.bw(this.j1f_1);
|
|
2877
2878
|
return tmp_2;
|
|
2878
2879
|
case 2:
|
|
2879
2880
|
throw this.m7_1;
|
|
@@ -2889,31 +2890,31 @@
|
|
|
2889
2890
|
}
|
|
2890
2891
|
while (true);
|
|
2891
2892
|
};
|
|
2892
|
-
protoOf(LruCache$load$slambda).
|
|
2893
|
-
var i = new LruCache$load$slambda(this.
|
|
2894
|
-
i.
|
|
2893
|
+
protoOf(LruCache$load$slambda).e1c = function ($this$withContext, completion) {
|
|
2894
|
+
var i = new LruCache$load$slambda(this.g1f_1, this.h1f_1, completion);
|
|
2895
|
+
i.i1f_1 = $this$withContext;
|
|
2895
2896
|
return i;
|
|
2896
2897
|
};
|
|
2897
2898
|
function LruCache$load$slambda_0(this$0, $key, resultContinuation) {
|
|
2898
2899
|
var i = new LruCache$load$slambda(this$0, $key, resultContinuation);
|
|
2899
2900
|
return constructCallableReference(function ($this$withContext, $completion) {
|
|
2900
|
-
return i.
|
|
2901
|
+
return i.l1f($this$withContext, $completion);
|
|
2901
2902
|
}, 1);
|
|
2902
2903
|
}
|
|
2903
2904
|
function LruCache$load$slambda_1(this$0, $key, $value, resultContinuation) {
|
|
2904
|
-
this.
|
|
2905
|
-
this.
|
|
2906
|
-
this.
|
|
2905
|
+
this.a1g_1 = this$0;
|
|
2906
|
+
this.b1g_1 = $key;
|
|
2907
|
+
this.c1g_1 = $value;
|
|
2907
2908
|
CoroutineImpl.call(this, resultContinuation);
|
|
2908
2909
|
}
|
|
2909
|
-
protoOf(LruCache$load$slambda_1).
|
|
2910
|
-
var tmp = this.
|
|
2910
|
+
protoOf(LruCache$load$slambda_1).g1g = function ($this$withContext, $completion) {
|
|
2911
|
+
var tmp = this.e1c($this$withContext, $completion);
|
|
2911
2912
|
tmp.l7_1 = Unit_instance;
|
|
2912
2913
|
tmp.m7_1 = null;
|
|
2913
2914
|
return tmp.r7();
|
|
2914
2915
|
};
|
|
2915
2916
|
protoOf(LruCache$load$slambda_1).z7 = function (p1, $completion) {
|
|
2916
|
-
return this.
|
|
2917
|
+
return this.g1g((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2917
2918
|
};
|
|
2918
2919
|
protoOf(LruCache$load$slambda_1).r7 = function () {
|
|
2919
2920
|
var suspendResult = this.l7_1;
|
|
@@ -2923,10 +2924,10 @@
|
|
|
2923
2924
|
switch (tmp) {
|
|
2924
2925
|
case 0:
|
|
2925
2926
|
this.k7_1 = 2;
|
|
2926
|
-
this.
|
|
2927
|
-
this.
|
|
2927
|
+
this.f1g_1 = this.a1g_1.p1f_1;
|
|
2928
|
+
this.e1g_1 = null;
|
|
2928
2929
|
this.j7_1 = 1;
|
|
2929
|
-
suspendResult = this.
|
|
2930
|
+
suspendResult = this.f1g_1.qw(this.e1g_1, this);
|
|
2930
2931
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2931
2932
|
return suspendResult;
|
|
2932
2933
|
}
|
|
@@ -2937,37 +2938,37 @@
|
|
|
2937
2938
|
l$ret$1: do {
|
|
2938
2939
|
var tmp_0;
|
|
2939
2940
|
try {
|
|
2940
|
-
this.
|
|
2941
|
+
this.a1g_1.r1f_1.w3(this.b1g_1);
|
|
2941
2942
|
var oldest = null;
|
|
2942
2943
|
var tmp_1;
|
|
2943
|
-
if (this.
|
|
2944
|
-
var tmp0 = this.
|
|
2945
|
-
var key = this.
|
|
2944
|
+
if (this.a1g_1.q1f_1.o() >= this.a1g_1.m1f_1) {
|
|
2945
|
+
var tmp0 = this.a1g_1.q1f_1;
|
|
2946
|
+
var key = this.b1g_1;
|
|
2946
2947
|
tmp_1 = !(isInterface(tmp0, KtMap) ? tmp0 : THROW_CCE()).r1(key);
|
|
2947
2948
|
} else {
|
|
2948
2949
|
tmp_1 = false;
|
|
2949
2950
|
}
|
|
2950
2951
|
if (tmp_1) {
|
|
2951
|
-
var iter = this.
|
|
2952
|
+
var iter = this.a1g_1.q1f_1.w1().l();
|
|
2952
2953
|
oldest = iter.n().q1();
|
|
2953
2954
|
iter.v2();
|
|
2954
2955
|
}
|
|
2955
|
-
var tmp0_0 = this.
|
|
2956
|
-
var tmp2 = this.
|
|
2957
|
-
var value = this.
|
|
2956
|
+
var tmp0_0 = this.a1g_1.q1f_1;
|
|
2957
|
+
var tmp2 = this.b1g_1;
|
|
2958
|
+
var value = this.c1g_1;
|
|
2958
2959
|
tmp0_0.v3(tmp2, value);
|
|
2959
2960
|
tmp$ret$0 = oldest;
|
|
2960
2961
|
break l$ret$1;
|
|
2961
2962
|
} catch ($p) {
|
|
2962
2963
|
var tmp_2;
|
|
2963
2964
|
var t = $p;
|
|
2964
|
-
this.
|
|
2965
|
+
this.f1g_1.bw(this.e1g_1);
|
|
2965
2966
|
throw t;
|
|
2966
2967
|
}
|
|
2967
2968
|
}
|
|
2968
2969
|
while (false);
|
|
2969
2970
|
var tmp_3 = tmp$ret$0;
|
|
2970
|
-
this.
|
|
2971
|
+
this.f1g_1.bw(this.e1g_1);
|
|
2971
2972
|
return tmp_3;
|
|
2972
2973
|
case 2:
|
|
2973
2974
|
throw this.m7_1;
|
|
@@ -2983,21 +2984,21 @@
|
|
|
2983
2984
|
}
|
|
2984
2985
|
while (true);
|
|
2985
2986
|
};
|
|
2986
|
-
protoOf(LruCache$load$slambda_1).
|
|
2987
|
-
var i = new LruCache$load$slambda_1(this.
|
|
2988
|
-
i.
|
|
2987
|
+
protoOf(LruCache$load$slambda_1).e1c = function ($this$withContext, completion) {
|
|
2988
|
+
var i = new LruCache$load$slambda_1(this.a1g_1, this.b1g_1, this.c1g_1, completion);
|
|
2989
|
+
i.d1g_1 = $this$withContext;
|
|
2989
2990
|
return i;
|
|
2990
2991
|
};
|
|
2991
2992
|
function LruCache$load$slambda_2(this$0, $key, $value, resultContinuation) {
|
|
2992
2993
|
var i = new LruCache$load$slambda_1(this$0, $key, $value, resultContinuation);
|
|
2993
2994
|
return constructCallableReference(function ($this$withContext, $completion) {
|
|
2994
|
-
return i.
|
|
2995
|
+
return i.g1g($this$withContext, $completion);
|
|
2995
2996
|
}, 1);
|
|
2996
2997
|
}
|
|
2997
2998
|
function $getCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
|
|
2998
2999
|
CoroutineImpl.call(this, resultContinuation);
|
|
2999
|
-
this.
|
|
3000
|
-
this.
|
|
3000
|
+
this.p1g_1 = _this__u8e3s4;
|
|
3001
|
+
this.q1g_1 = key;
|
|
3001
3002
|
}
|
|
3002
3003
|
protoOf($getCOROUTINE$).r7 = function () {
|
|
3003
3004
|
var suspendResult = this.l7_1;
|
|
@@ -3016,7 +3017,7 @@
|
|
|
3016
3017
|
}
|
|
3017
3018
|
|
|
3018
3019
|
this.j7_1 = 2;
|
|
3019
|
-
suspendResult = lookupOrClaim(this.
|
|
3020
|
+
suspendResult = lookupOrClaim(this.p1g_1, this.q1g_1, this);
|
|
3020
3021
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3021
3022
|
return suspendResult;
|
|
3022
3023
|
}
|
|
@@ -3025,11 +3026,11 @@
|
|
|
3025
3026
|
case 2:
|
|
3026
3027
|
var lookup = suspendResult;
|
|
3027
3028
|
if (lookup instanceof Hit) {
|
|
3028
|
-
return lookup.
|
|
3029
|
+
return lookup.v1d_1;
|
|
3029
3030
|
} else {
|
|
3030
3031
|
if (lookup instanceof Owner) {
|
|
3031
3032
|
this.j7_1 = 7;
|
|
3032
|
-
suspendResult = load(this.
|
|
3033
|
+
suspendResult = load(this.p1g_1, this.q1g_1, lookup.x1d_1, this);
|
|
3033
3034
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3034
3035
|
return suspendResult;
|
|
3035
3036
|
}
|
|
@@ -3038,7 +3039,7 @@
|
|
|
3038
3039
|
if (lookup instanceof Await) {
|
|
3039
3040
|
this.k7_1 = 4;
|
|
3040
3041
|
this.j7_1 = 3;
|
|
3041
|
-
suspendResult = lookup.
|
|
3042
|
+
suspendResult = lookup.w1d_1.fo(this);
|
|
3042
3043
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3043
3044
|
return suspendResult;
|
|
3044
3045
|
}
|
|
@@ -3090,8 +3091,8 @@
|
|
|
3090
3091
|
};
|
|
3091
3092
|
function $lookupOrClaimCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
|
|
3092
3093
|
CoroutineImpl.call(this, resultContinuation);
|
|
3093
|
-
this.
|
|
3094
|
-
this.
|
|
3094
|
+
this.g1e_1 = _this__u8e3s4;
|
|
3095
|
+
this.h1e_1 = key;
|
|
3095
3096
|
}
|
|
3096
3097
|
protoOf($lookupOrClaimCOROUTINE$).r7 = function () {
|
|
3097
3098
|
var suspendResult = this.l7_1;
|
|
@@ -3101,10 +3102,10 @@
|
|
|
3101
3102
|
switch (tmp) {
|
|
3102
3103
|
case 0:
|
|
3103
3104
|
this.k7_1 = 2;
|
|
3104
|
-
this.
|
|
3105
|
-
this.
|
|
3105
|
+
this.j1e_1 = this.g1e_1.p1f_1;
|
|
3106
|
+
this.i1e_1 = null;
|
|
3106
3107
|
this.j7_1 = 1;
|
|
3107
|
-
suspendResult = this.
|
|
3108
|
+
suspendResult = this.j1e_1.qw(this.i1e_1, this);
|
|
3108
3109
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3109
3110
|
return suspendResult;
|
|
3110
3111
|
}
|
|
@@ -3117,22 +3118,22 @@
|
|
|
3117
3118
|
try {
|
|
3118
3119
|
var tmp$ret$0 = Unit_instance;
|
|
3119
3120
|
l$ret$1: do {
|
|
3120
|
-
var hit = this.
|
|
3121
|
+
var hit = this.g1e_1.q1f_1.w3(this.h1e_1);
|
|
3121
3122
|
if (!(hit == null)) {
|
|
3122
|
-
var tmp0 = this.
|
|
3123
|
-
var key = this.
|
|
3123
|
+
var tmp0 = this.g1e_1.q1f_1;
|
|
3124
|
+
var key = this.h1e_1;
|
|
3124
3125
|
tmp0.v3(key, hit);
|
|
3125
3126
|
tmp$ret$0 = new Hit(hit);
|
|
3126
3127
|
break l$ret$1;
|
|
3127
3128
|
}
|
|
3128
|
-
var raced = this.
|
|
3129
|
+
var raced = this.g1e_1.r1f_1.t1(this.h1e_1);
|
|
3129
3130
|
var tmp_1;
|
|
3130
3131
|
if (!(raced == null)) {
|
|
3131
3132
|
tmp_1 = new Await(raced);
|
|
3132
3133
|
} else {
|
|
3133
3134
|
var ours = CompletableDeferred();
|
|
3134
|
-
var tmp0_0 = this.
|
|
3135
|
-
var key_0 = this.
|
|
3135
|
+
var tmp0_0 = this.g1e_1.r1f_1;
|
|
3136
|
+
var key_0 = this.h1e_1;
|
|
3136
3137
|
tmp0_0.v3(key_0, ours);
|
|
3137
3138
|
tmp_1 = new Owner(ours);
|
|
3138
3139
|
}
|
|
@@ -3144,13 +3145,13 @@
|
|
|
3144
3145
|
} catch ($p) {
|
|
3145
3146
|
var tmp_2;
|
|
3146
3147
|
var t = $p;
|
|
3147
|
-
this.
|
|
3148
|
+
this.j1e_1.bw(this.i1e_1);
|
|
3148
3149
|
throw t;
|
|
3149
3150
|
}
|
|
3150
3151
|
}
|
|
3151
3152
|
while (false);
|
|
3152
3153
|
var tmp_3 = tmp$ret$2;
|
|
3153
|
-
this.
|
|
3154
|
+
this.j1e_1.bw(this.i1e_1);
|
|
3154
3155
|
return tmp_3;
|
|
3155
3156
|
case 2:
|
|
3156
3157
|
throw this.m7_1;
|
|
@@ -3168,9 +3169,9 @@
|
|
|
3168
3169
|
};
|
|
3169
3170
|
function $loadCOROUTINE$(_this__u8e3s4, key, ours, resultContinuation) {
|
|
3170
3171
|
CoroutineImpl.call(this, resultContinuation);
|
|
3171
|
-
this.
|
|
3172
|
-
this.
|
|
3173
|
-
this.
|
|
3172
|
+
this.s1e_1 = _this__u8e3s4;
|
|
3173
|
+
this.t1e_1 = key;
|
|
3174
|
+
this.u1e_1 = ours;
|
|
3174
3175
|
}
|
|
3175
3176
|
protoOf($loadCOROUTINE$).r7 = function () {
|
|
3176
3177
|
var suspendResult = this.l7_1;
|
|
@@ -3182,14 +3183,14 @@
|
|
|
3182
3183
|
this.k7_1 = 6;
|
|
3183
3184
|
this.k7_1 = 2;
|
|
3184
3185
|
this.j7_1 = 1;
|
|
3185
|
-
suspendResult = this.
|
|
3186
|
+
suspendResult = this.s1e_1.n1f_1(this.t1e_1, this);
|
|
3186
3187
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3187
3188
|
return suspendResult;
|
|
3188
3189
|
}
|
|
3189
3190
|
|
|
3190
3191
|
continue $sm;
|
|
3191
3192
|
case 1:
|
|
3192
|
-
this.
|
|
3193
|
+
this.w1e_1 = suspendResult;
|
|
3193
3194
|
this.k7_1 = 6;
|
|
3194
3195
|
this.j7_1 = 4;
|
|
3195
3196
|
continue $sm;
|
|
@@ -3197,10 +3198,10 @@
|
|
|
3197
3198
|
this.k7_1 = 6;
|
|
3198
3199
|
var tmp_0 = this.m7_1;
|
|
3199
3200
|
if (tmp_0 instanceof Error) {
|
|
3200
|
-
this.
|
|
3201
|
+
this.x1e_1 = this.m7_1;
|
|
3201
3202
|
this.j7_1 = 3;
|
|
3202
3203
|
var tmp_1 = NonCancellable_getInstance();
|
|
3203
|
-
suspendResult = withContext(tmp_1, LruCache$load$slambda_0(this.
|
|
3204
|
+
suspendResult = withContext(tmp_1, LruCache$load$slambda_0(this.s1e_1, this.t1e_1, null), this);
|
|
3204
3205
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3205
3206
|
return suspendResult;
|
|
3206
3207
|
}
|
|
@@ -3211,22 +3212,22 @@
|
|
|
3211
3212
|
|
|
3212
3213
|
case 3:
|
|
3213
3214
|
var tmp_2;
|
|
3214
|
-
var tmp_3 = this.
|
|
3215
|
+
var tmp_3 = this.x1e_1;
|
|
3215
3216
|
if (tmp_3 instanceof CancellationException) {
|
|
3216
3217
|
tmp_2 = new LoadAbandoned();
|
|
3217
3218
|
} else {
|
|
3218
|
-
tmp_2 = this.
|
|
3219
|
+
tmp_2 = this.x1e_1;
|
|
3219
3220
|
}
|
|
3220
3221
|
|
|
3221
|
-
this.
|
|
3222
|
+
this.u1e_1.jr(tmp_2);
|
|
3222
3223
|
var tmp_4 = this;
|
|
3223
|
-
throw this.
|
|
3224
|
+
throw this.x1e_1;
|
|
3224
3225
|
case 4:
|
|
3225
3226
|
this.k7_1 = 6;
|
|
3226
|
-
this.
|
|
3227
|
+
this.v1e_1 = this.w1e_1;
|
|
3227
3228
|
this.j7_1 = 5;
|
|
3228
3229
|
var tmp_5 = NonCancellable_getInstance();
|
|
3229
|
-
suspendResult = withContext(tmp_5, LruCache$load$slambda_2(this.
|
|
3230
|
+
suspendResult = withContext(tmp_5, LruCache$load$slambda_2(this.s1e_1, this.t1e_1, this.v1e_1, null), this);
|
|
3230
3231
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3231
3232
|
return suspendResult;
|
|
3232
3233
|
}
|
|
@@ -3234,16 +3235,16 @@
|
|
|
3234
3235
|
continue $sm;
|
|
3235
3236
|
case 5:
|
|
3236
3237
|
var evicted = suspendResult;
|
|
3237
|
-
this.
|
|
3238
|
+
this.u1e_1.ir(this.v1e_1);
|
|
3238
3239
|
if (!(evicted == null)) {
|
|
3239
|
-
var tmp0_safe_receiver = this.
|
|
3240
|
+
var tmp0_safe_receiver = this.s1e_1.o1f_1;
|
|
3240
3241
|
if (tmp0_safe_receiver == null)
|
|
3241
3242
|
null;
|
|
3242
3243
|
else
|
|
3243
3244
|
tmp0_safe_receiver(evicted);
|
|
3244
3245
|
}
|
|
3245
3246
|
|
|
3246
|
-
return this.
|
|
3247
|
+
return this.v1e_1;
|
|
3247
3248
|
case 6:
|
|
3248
3249
|
throw this.m7_1;
|
|
3249
3250
|
}
|
|
@@ -3260,33 +3261,33 @@
|
|
|
3260
3261
|
};
|
|
3261
3262
|
function LruCache(maxSize, loader, onEvict) {
|
|
3262
3263
|
onEvict = onEvict === VOID ? null : onEvict;
|
|
3263
|
-
this.
|
|
3264
|
-
this.
|
|
3265
|
-
this.
|
|
3264
|
+
this.m1f_1 = maxSize;
|
|
3265
|
+
this.n1f_1 = loader;
|
|
3266
|
+
this.o1f_1 = onEvict;
|
|
3266
3267
|
// Inline function 'kotlin.require' call
|
|
3267
|
-
if (!(this.
|
|
3268
|
+
if (!(this.m1f_1 > 0)) {
|
|
3268
3269
|
var message = 'Cache size must be greater than 0';
|
|
3269
3270
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3270
3271
|
}
|
|
3271
|
-
this.
|
|
3272
|
-
this.
|
|
3272
|
+
this.p1f_1 = Mutex();
|
|
3273
|
+
this.q1f_1 = LinkedHashMap_init_$Create$();
|
|
3273
3274
|
var tmp = this;
|
|
3274
3275
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
3275
|
-
tmp.
|
|
3276
|
+
tmp.r1f_1 = LinkedHashMap_init_$Create$();
|
|
3276
3277
|
}
|
|
3277
|
-
protoOf(LruCache).
|
|
3278
|
+
protoOf(LruCache).r1g = function (key, $completion) {
|
|
3278
3279
|
var tmp = new $getCOROUTINE$(this, key, $completion);
|
|
3279
3280
|
tmp.l7_1 = Unit_instance;
|
|
3280
3281
|
tmp.m7_1 = null;
|
|
3281
3282
|
return tmp.r7();
|
|
3282
3283
|
};
|
|
3283
3284
|
function RawTile(width, height, rgba) {
|
|
3284
|
-
this.
|
|
3285
|
-
this.
|
|
3286
|
-
this.
|
|
3285
|
+
this.s1g_1 = width;
|
|
3286
|
+
this.t1g_1 = height;
|
|
3287
|
+
this.u1g_1 = rgba;
|
|
3287
3288
|
// Inline function 'kotlin.require' call
|
|
3288
|
-
if (!(this.
|
|
3289
|
-
var message = 'rgba size ' + this.
|
|
3289
|
+
if (!(this.u1g_1.length === imul(imul(this.s1g_1, this.t1g_1), 4))) {
|
|
3290
|
+
var message = 'rgba size ' + this.u1g_1.length + ' does not match width*height*4 (' + imul(imul(this.s1g_1, this.t1g_1), 4) + ')';
|
|
3290
3291
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3291
3292
|
}
|
|
3292
3293
|
}
|
|
@@ -3295,12 +3296,12 @@
|
|
|
3295
3296
|
return true;
|
|
3296
3297
|
if (!(other instanceof RawTile))
|
|
3297
3298
|
return false;
|
|
3298
|
-
return this.
|
|
3299
|
+
return this.s1g_1 === other.s1g_1 && this.t1g_1 === other.t1g_1 && contentEquals(this.u1g_1, other.u1g_1);
|
|
3299
3300
|
};
|
|
3300
3301
|
protoOf(RawTile).hashCode = function () {
|
|
3301
|
-
var result = this.
|
|
3302
|
-
result = imul(31, result) + this.
|
|
3303
|
-
result = imul(31, result) + contentHashCode(this.
|
|
3302
|
+
var result = this.s1g_1;
|
|
3303
|
+
result = imul(31, result) + this.t1g_1 | 0;
|
|
3304
|
+
result = imul(31, result) + contentHashCode(this.u1g_1) | 0;
|
|
3304
3305
|
return result;
|
|
3305
3306
|
};
|
|
3306
3307
|
function TerrainSample(latitude, longitude, elevation, origin, afterError) {
|
|
@@ -3310,7 +3311,7 @@
|
|
|
3310
3311
|
this.m19_1 = origin;
|
|
3311
3312
|
this.n19_1 = afterError;
|
|
3312
3313
|
}
|
|
3313
|
-
protoOf(TerrainSample).
|
|
3314
|
+
protoOf(TerrainSample).v1g = function (latitude, longitude, elevation, origin, afterError) {
|
|
3314
3315
|
return new TerrainSample(latitude, longitude, elevation, origin, afterError);
|
|
3315
3316
|
};
|
|
3316
3317
|
protoOf(TerrainSample).o19 = function (latitude, longitude, elevation, origin, afterError, $super) {
|
|
@@ -3319,7 +3320,7 @@
|
|
|
3319
3320
|
elevation = elevation === VOID ? this.l19_1 : elevation;
|
|
3320
3321
|
origin = origin === VOID ? this.m19_1 : origin;
|
|
3321
3322
|
afterError = afterError === VOID ? this.n19_1 : afterError;
|
|
3322
|
-
return $super === VOID ? this.
|
|
3323
|
+
return $super === VOID ? this.v1g(latitude, longitude, elevation, origin, afterError) : $super.v1g.call(this, latitude, longitude, elevation, origin, afterError);
|
|
3323
3324
|
};
|
|
3324
3325
|
protoOf(TerrainSample).toString = function () {
|
|
3325
3326
|
return 'TerrainSample(latitude=' + this.j19_1 + ', longitude=' + this.k19_1 + ', elevation=' + this.l19_1 + ', origin=' + this.m19_1.toString() + ', afterError=' + this.n19_1 + ')';
|
|
@@ -3379,7 +3380,7 @@
|
|
|
3379
3380
|
var _iterator__ex2g4s = this_0.l();
|
|
3380
3381
|
while (_iterator__ex2g4s.m()) {
|
|
3381
3382
|
var item = _iterator__ex2g4s.n();
|
|
3382
|
-
var tmp$ret$2 = item.
|
|
3383
|
+
var tmp$ret$2 = item.y1g_1;
|
|
3383
3384
|
destination.k(tmp$ret$2);
|
|
3384
3385
|
}
|
|
3385
3386
|
tmp.h19_1 = destination;
|
|
@@ -3404,7 +3405,7 @@
|
|
|
3404
3405
|
var _iterator__ex2g4s = tmp0.l();
|
|
3405
3406
|
while (_iterator__ex2g4s.m()) {
|
|
3406
3407
|
var element = _iterator__ex2g4s.n();
|
|
3407
|
-
if (element.
|
|
3408
|
+
if (element.o1b(config.a19_1).c19_1 === template) {
|
|
3408
3409
|
tmp$ret$0 = true;
|
|
3409
3410
|
break $l$block_0;
|
|
3410
3411
|
}
|
|
@@ -3414,7 +3415,7 @@
|
|
|
3414
3415
|
if (tmp$ret$0) {
|
|
3415
3416
|
tmp = ElevationSource_IGN_LIDAR_HD_getInstance();
|
|
3416
3417
|
} else {
|
|
3417
|
-
if (template === ElevationSource_MAPTERHORN_getInstance().
|
|
3418
|
+
if (template === ElevationSource_MAPTERHORN_getInstance().o1b(config.a19_1).c19_1) {
|
|
3418
3419
|
tmp = ElevationSource_MAPTERHORN_getInstance();
|
|
3419
3420
|
} else {
|
|
3420
3421
|
tmp = declared;
|
|
@@ -3427,7 +3428,7 @@
|
|
|
3427
3428
|
tmp_1 = TerrainOrigin_IGN_LIDAR_HD_getInstance();
|
|
3428
3429
|
break;
|
|
3429
3430
|
case 0:
|
|
3430
|
-
tmp_1 = IgnLidarHdCoverage_getInstance().
|
|
3431
|
+
tmp_1 = IgnLidarHdCoverage_getInstance().h1d(latitude, longitude) ? TerrainOrigin_MAPTERHORN_MEASURED_getInstance() : TerrainOrigin_MAPTERHORN_getInstance();
|
|
3431
3432
|
break;
|
|
3432
3433
|
case -1:
|
|
3433
3434
|
tmp_1 = TerrainOrigin_OTHER_getInstance();
|
|
@@ -3456,8 +3457,8 @@
|
|
|
3456
3457
|
var $ENTRIES_1;
|
|
3457
3458
|
function TerrainOrigin(name, ordinal, id, measured) {
|
|
3458
3459
|
Enum.call(this, name, ordinal);
|
|
3459
|
-
this.
|
|
3460
|
-
this.
|
|
3460
|
+
this.y1g_1 = id;
|
|
3461
|
+
this.z1g_1 = measured;
|
|
3461
3462
|
}
|
|
3462
3463
|
function TerrainOrigin_IGN_LIDAR_HD_getInstance() {
|
|
3463
3464
|
static_init_2();
|
|
@@ -3480,7 +3481,7 @@
|
|
|
3480
3481
|
return TerrainOrigin_NONE_instance;
|
|
3481
3482
|
}
|
|
3482
3483
|
function Tile_init_$Init$(raw, $this) {
|
|
3483
|
-
Tile.call($this, raw.
|
|
3484
|
+
Tile.call($this, raw.s1g_1, raw.t1g_1, raw.u1g_1);
|
|
3484
3485
|
return $this;
|
|
3485
3486
|
}
|
|
3486
3487
|
function Tile_init_$Create$(raw) {
|
|
@@ -3488,7 +3489,7 @@
|
|
|
3488
3489
|
}
|
|
3489
3490
|
function Companion_1() {
|
|
3490
3491
|
}
|
|
3491
|
-
protoOf(Companion_1).
|
|
3492
|
+
protoOf(Companion_1).a1h = function (r, g, b) {
|
|
3492
3493
|
var raw = r * 256.0 + g + b / 256.0 - 32768.0;
|
|
3493
3494
|
return round(raw * 100.0) / 100.0;
|
|
3494
3495
|
};
|
|
@@ -3535,7 +3536,7 @@
|
|
|
3535
3536
|
var r = this.e16_1[byteOffset] & 255;
|
|
3536
3537
|
var g = this.e16_1[byteOffset + 1 | 0] & 255;
|
|
3537
3538
|
var b = this.e16_1[byteOffset + 2 | 0] & 255;
|
|
3538
|
-
var elevation = r === 0 && g === 0 && b === 0 ? NaN : Companion_instance_2.
|
|
3539
|
+
var elevation = r === 0 && g === 0 && b === 0 ? NaN : Companion_instance_2.a1h(r, g, b);
|
|
3539
3540
|
this.g16_1[idx] = elevation;
|
|
3540
3541
|
this.h16_1 = this.h16_1 + 1 | 0;
|
|
3541
3542
|
return elevation;
|
|
@@ -3546,11 +3547,11 @@
|
|
|
3546
3547
|
};
|
|
3547
3548
|
}
|
|
3548
3549
|
function Entry(failure, untilMs) {
|
|
3549
|
-
this.
|
|
3550
|
-
this.
|
|
3550
|
+
this.b1h_1 = failure;
|
|
3551
|
+
this.c1h_1 = untilMs;
|
|
3551
3552
|
}
|
|
3552
3553
|
function _get_empty__hz710c($this) {
|
|
3553
|
-
var tmp0 = $this.
|
|
3554
|
+
var tmp0 = $this.j1h_1;
|
|
3554
3555
|
var tmp = KProperty1;
|
|
3555
3556
|
// Inline function 'kotlin.getValue' call
|
|
3556
3557
|
getPropertyCallableRef('empty', 1, tmp, UnreadableTiles$_get_empty_$ref_9kivqt(), null);
|
|
@@ -3558,11 +3559,11 @@
|
|
|
3558
3559
|
}
|
|
3559
3560
|
function Companion_2() {
|
|
3560
3561
|
Companion_instance_3 = this;
|
|
3561
|
-
this.
|
|
3562
|
+
this.k1h_1 = new Long(60000, 0);
|
|
3562
3563
|
var tmp = this;
|
|
3563
3564
|
// Inline function 'kotlin.let' call
|
|
3564
3565
|
var origin = Monotonic_instance.wb();
|
|
3565
|
-
tmp.
|
|
3566
|
+
tmp.l1h_1 = UnreadableTiles$Companion$monotonicClock$lambda(origin);
|
|
3566
3567
|
}
|
|
3567
3568
|
var Companion_instance_3;
|
|
3568
3569
|
function Companion_getInstance_3() {
|
|
@@ -3573,7 +3574,7 @@
|
|
|
3573
3574
|
function UnreadableTiles$empty$delegate$lambda(this$0) {
|
|
3574
3575
|
return function () {
|
|
3575
3576
|
// Inline function 'kotlin.also' call
|
|
3576
|
-
var this_0 = Tile_init_$Create$(noDataTile(this$0.
|
|
3577
|
+
var this_0 = Tile_init_$Create$(noDataTile(this$0.e1h_1));
|
|
3577
3578
|
this_0.f16_1 = true;
|
|
3578
3579
|
return this_0;
|
|
3579
3580
|
};
|
|
@@ -3585,8 +3586,8 @@
|
|
|
3585
3586
|
}
|
|
3586
3587
|
function $cachedCOROUTINE$(_this__u8e3s4, tc, resultContinuation) {
|
|
3587
3588
|
CoroutineImpl.call(this, resultContinuation);
|
|
3588
|
-
this.
|
|
3589
|
-
this.
|
|
3589
|
+
this.u1h_1 = _this__u8e3s4;
|
|
3590
|
+
this.v1h_1 = tc;
|
|
3590
3591
|
}
|
|
3591
3592
|
protoOf($cachedCOROUTINE$).r7 = function () {
|
|
3592
3593
|
var suspendResult = this.l7_1;
|
|
@@ -3596,10 +3597,10 @@
|
|
|
3596
3597
|
switch (tmp) {
|
|
3597
3598
|
case 0:
|
|
3598
3599
|
this.k7_1 = 4;
|
|
3599
|
-
this.
|
|
3600
|
-
this.
|
|
3600
|
+
this.y1h_1 = this.u1h_1.h1h_1;
|
|
3601
|
+
this.x1h_1 = null;
|
|
3601
3602
|
this.j7_1 = 1;
|
|
3602
|
-
suspendResult = this.
|
|
3603
|
+
suspendResult = this.y1h_1.qw(this.x1h_1, this);
|
|
3603
3604
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3604
3605
|
return suspendResult;
|
|
3605
3606
|
}
|
|
@@ -3612,7 +3613,7 @@
|
|
|
3612
3613
|
l$ret$1: do {
|
|
3613
3614
|
var tmp_0;
|
|
3614
3615
|
try {
|
|
3615
|
-
var tmp0_elvis_lhs = this.
|
|
3616
|
+
var tmp0_elvis_lhs = this.u1h_1.i1h_1.t1(this.v1h_1);
|
|
3616
3617
|
var tmp_1;
|
|
3617
3618
|
if (tmp0_elvis_lhs == null) {
|
|
3618
3619
|
tmp$ret$0 = null;
|
|
@@ -3621,8 +3622,8 @@
|
|
|
3621
3622
|
tmp_1 = tmp0_elvis_lhs;
|
|
3622
3623
|
}
|
|
3623
3624
|
var e = tmp_1;
|
|
3624
|
-
if (compare(this.
|
|
3625
|
-
this.
|
|
3625
|
+
if (compare(this.u1h_1.g1h_1(), e.c1h_1) >= 0) {
|
|
3626
|
+
this.u1h_1.i1h_1.w3(this.v1h_1);
|
|
3626
3627
|
tmp$ret$0 = null;
|
|
3627
3628
|
break l$ret$1;
|
|
3628
3629
|
}
|
|
@@ -3631,27 +3632,27 @@
|
|
|
3631
3632
|
} catch ($p) {
|
|
3632
3633
|
var tmp_2;
|
|
3633
3634
|
var t = $p;
|
|
3634
|
-
this.
|
|
3635
|
+
this.y1h_1.bw(this.x1h_1);
|
|
3635
3636
|
throw t;
|
|
3636
3637
|
}
|
|
3637
3638
|
}
|
|
3638
3639
|
while (false);
|
|
3639
3640
|
var tmp_3 = tmp$ret$0;
|
|
3640
|
-
this.
|
|
3641
|
+
this.y1h_1.bw(this.x1h_1);
|
|
3641
3642
|
return tmp_3;
|
|
3642
3643
|
}
|
|
3643
3644
|
while (false);
|
|
3644
3645
|
var tmp_4 = tmp$ret$2;
|
|
3645
|
-
this.
|
|
3646
|
+
this.y1h_1.bw(this.x1h_1);
|
|
3646
3647
|
var entry = tmp_4;
|
|
3647
3648
|
var tmp0_safe_receiver = this.p7().w7(Key_instance);
|
|
3648
3649
|
if (tmp0_safe_receiver == null) {
|
|
3649
|
-
this.
|
|
3650
|
+
this.w1h_1 = null;
|
|
3650
3651
|
this.j7_1 = 3;
|
|
3651
3652
|
continue $sm;
|
|
3652
3653
|
} else {
|
|
3653
3654
|
this.j7_1 = 2;
|
|
3654
|
-
suspendResult = tmp0_safe_receiver.
|
|
3655
|
+
suspendResult = tmp0_safe_receiver.c1i(entry.b1h_1, this);
|
|
3655
3656
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3656
3657
|
return suspendResult;
|
|
3657
3658
|
}
|
|
@@ -3660,11 +3661,11 @@
|
|
|
3660
3661
|
|
|
3661
3662
|
case 2:
|
|
3662
3663
|
var tmp_5 = this;
|
|
3663
|
-
tmp_5.
|
|
3664
|
+
tmp_5.w1h_1 = Unit_instance;
|
|
3664
3665
|
this.j7_1 = 3;
|
|
3665
3666
|
continue $sm;
|
|
3666
3667
|
case 3:
|
|
3667
|
-
return _get_empty__hz710c(this.
|
|
3668
|
+
return _get_empty__hz710c(this.u1h_1);
|
|
3668
3669
|
case 4:
|
|
3669
3670
|
throw this.m7_1;
|
|
3670
3671
|
}
|
|
@@ -3681,9 +3682,9 @@
|
|
|
3681
3682
|
};
|
|
3682
3683
|
function $rememberCOROUTINE$(_this__u8e3s4, tc, error, resultContinuation) {
|
|
3683
3684
|
CoroutineImpl.call(this, resultContinuation);
|
|
3684
|
-
this.
|
|
3685
|
-
this.
|
|
3686
|
-
this.
|
|
3685
|
+
this.l1i_1 = _this__u8e3s4;
|
|
3686
|
+
this.m1i_1 = tc;
|
|
3687
|
+
this.n1i_1 = error;
|
|
3687
3688
|
}
|
|
3688
3689
|
protoOf($rememberCOROUTINE$).r7 = function () {
|
|
3689
3690
|
var suspendResult = this.l7_1;
|
|
@@ -3694,13 +3695,13 @@
|
|
|
3694
3695
|
case 0:
|
|
3695
3696
|
this.k7_1 = 4;
|
|
3696
3697
|
var tmp_0 = this;
|
|
3697
|
-
var tmp0_elvis_lhs = this.
|
|
3698
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? getKClassFromExpression(this.
|
|
3699
|
-
tmp_0.
|
|
3700
|
-
this.
|
|
3701
|
-
this.
|
|
3698
|
+
var tmp0_elvis_lhs = this.n1i_1.message;
|
|
3699
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? getKClassFromExpression(this.n1i_1).t8() : tmp0_elvis_lhs;
|
|
3700
|
+
tmp_0.p1i_1 = new TileFailure(this.l1i_1.d1h_1, this.m1i_1, tmp1_elvis_lhs == null ? 'error' : tmp1_elvis_lhs);
|
|
3701
|
+
this.r1i_1 = this.l1i_1.h1h_1;
|
|
3702
|
+
this.q1i_1 = null;
|
|
3702
3703
|
this.j7_1 = 1;
|
|
3703
|
-
suspendResult = this.
|
|
3704
|
+
suspendResult = this.r1i_1.qw(this.q1i_1, this);
|
|
3704
3705
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3705
3706
|
return suspendResult;
|
|
3706
3707
|
}
|
|
@@ -3710,28 +3711,28 @@
|
|
|
3710
3711
|
l$ret$1: do {
|
|
3711
3712
|
var tmp_1;
|
|
3712
3713
|
try {
|
|
3713
|
-
var tmp0 = this.
|
|
3714
|
-
var tmp2 = this.
|
|
3715
|
-
var value = new Entry(this.
|
|
3714
|
+
var tmp0 = this.l1i_1.i1h_1;
|
|
3715
|
+
var tmp2 = this.m1i_1;
|
|
3716
|
+
var value = new Entry(this.p1i_1, add(this.l1i_1.g1h_1(), this.l1i_1.f1h_1));
|
|
3716
3717
|
tmp0.v3(tmp2, value);
|
|
3717
3718
|
break l$ret$1;
|
|
3718
3719
|
} catch ($p) {
|
|
3719
3720
|
var tmp_2;
|
|
3720
3721
|
var t = $p;
|
|
3721
|
-
this.
|
|
3722
|
+
this.r1i_1.bw(this.q1i_1);
|
|
3722
3723
|
throw t;
|
|
3723
3724
|
}
|
|
3724
3725
|
}
|
|
3725
3726
|
while (false);
|
|
3726
|
-
this.
|
|
3727
|
+
this.r1i_1.bw(this.q1i_1);
|
|
3727
3728
|
var tmp2_safe_receiver = this.p7().w7(Key_instance);
|
|
3728
3729
|
if (tmp2_safe_receiver == null) {
|
|
3729
|
-
this.
|
|
3730
|
+
this.o1i_1 = null;
|
|
3730
3731
|
this.j7_1 = 3;
|
|
3731
3732
|
continue $sm;
|
|
3732
3733
|
} else {
|
|
3733
3734
|
this.j7_1 = 2;
|
|
3734
|
-
suspendResult = tmp2_safe_receiver.
|
|
3735
|
+
suspendResult = tmp2_safe_receiver.c1i(this.p1i_1, this);
|
|
3735
3736
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3736
3737
|
return suspendResult;
|
|
3737
3738
|
}
|
|
@@ -3740,11 +3741,11 @@
|
|
|
3740
3741
|
|
|
3741
3742
|
case 2:
|
|
3742
3743
|
var tmp_3 = this;
|
|
3743
|
-
tmp_3.
|
|
3744
|
+
tmp_3.o1i_1 = Unit_instance;
|
|
3744
3745
|
this.j7_1 = 3;
|
|
3745
3746
|
continue $sm;
|
|
3746
3747
|
case 3:
|
|
3747
|
-
return _get_empty__hz710c(this.
|
|
3748
|
+
return _get_empty__hz710c(this.l1i_1);
|
|
3748
3749
|
case 4:
|
|
3749
3750
|
throw this.m7_1;
|
|
3750
3751
|
}
|
|
@@ -3762,40 +3763,40 @@
|
|
|
3762
3763
|
function UnreadableTiles(urlTemplate, tileSize, retryAfterMs, now) {
|
|
3763
3764
|
Companion_getInstance_3();
|
|
3764
3765
|
retryAfterMs = retryAfterMs === VOID ? new Long(60000, 0) : retryAfterMs;
|
|
3765
|
-
now = now === VOID ? Companion_getInstance_3().
|
|
3766
|
-
this.
|
|
3767
|
-
this.
|
|
3768
|
-
this.
|
|
3769
|
-
this.
|
|
3770
|
-
this.
|
|
3771
|
-
this.
|
|
3766
|
+
now = now === VOID ? Companion_getInstance_3().l1h_1 : now;
|
|
3767
|
+
this.d1h_1 = urlTemplate;
|
|
3768
|
+
this.e1h_1 = tileSize;
|
|
3769
|
+
this.f1h_1 = retryAfterMs;
|
|
3770
|
+
this.g1h_1 = now;
|
|
3771
|
+
this.h1h_1 = Mutex();
|
|
3772
|
+
this.i1h_1 = HashMap_init_$Create$();
|
|
3772
3773
|
var tmp = this;
|
|
3773
|
-
tmp.
|
|
3774
|
+
tmp.j1h_1 = lazy(UnreadableTiles$empty$delegate$lambda(this));
|
|
3774
3775
|
}
|
|
3775
|
-
protoOf(UnreadableTiles).
|
|
3776
|
+
protoOf(UnreadableTiles).s1i = function (tc, $completion) {
|
|
3776
3777
|
var tmp = new $cachedCOROUTINE$(this, tc, $completion);
|
|
3777
3778
|
tmp.l7_1 = Unit_instance;
|
|
3778
3779
|
tmp.m7_1 = null;
|
|
3779
3780
|
return tmp.r7();
|
|
3780
3781
|
};
|
|
3781
|
-
protoOf(UnreadableTiles).
|
|
3782
|
+
protoOf(UnreadableTiles).t1i = function (tc, error, $completion) {
|
|
3782
3783
|
var tmp = new $rememberCOROUTINE$(this, tc, error, $completion);
|
|
3783
3784
|
tmp.l7_1 = Unit_instance;
|
|
3784
3785
|
tmp.m7_1 = null;
|
|
3785
3786
|
return tmp.r7();
|
|
3786
3787
|
};
|
|
3787
3788
|
function TileFailure(urlTemplate, tile, message) {
|
|
3788
|
-
this.
|
|
3789
|
-
this.
|
|
3790
|
-
this.
|
|
3789
|
+
this.u1i_1 = urlTemplate;
|
|
3790
|
+
this.v1i_1 = tile;
|
|
3791
|
+
this.w1i_1 = message;
|
|
3791
3792
|
}
|
|
3792
3793
|
protoOf(TileFailure).toString = function () {
|
|
3793
|
-
return 'TileFailure(urlTemplate=' + this.
|
|
3794
|
+
return 'TileFailure(urlTemplate=' + this.u1i_1 + ', tile=' + this.v1i_1.toString() + ', message=' + this.w1i_1 + ')';
|
|
3794
3795
|
};
|
|
3795
3796
|
protoOf(TileFailure).hashCode = function () {
|
|
3796
|
-
var result = getStringHashCode(this.
|
|
3797
|
-
result = imul(result, 31) + this.
|
|
3798
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3797
|
+
var result = getStringHashCode(this.u1i_1);
|
|
3798
|
+
result = imul(result, 31) + this.v1i_1.hashCode() | 0;
|
|
3799
|
+
result = imul(result, 31) + getStringHashCode(this.w1i_1) | 0;
|
|
3799
3800
|
return result;
|
|
3800
3801
|
};
|
|
3801
3802
|
protoOf(TileFailure).equals = function (other) {
|
|
@@ -3803,11 +3804,11 @@
|
|
|
3803
3804
|
return true;
|
|
3804
3805
|
if (!(other instanceof TileFailure))
|
|
3805
3806
|
return false;
|
|
3806
|
-
if (!(this.
|
|
3807
|
+
if (!(this.u1i_1 === other.u1i_1))
|
|
3807
3808
|
return false;
|
|
3808
|
-
if (!this.
|
|
3809
|
+
if (!this.v1i_1.equals(other.v1i_1))
|
|
3809
3810
|
return false;
|
|
3810
|
-
if (!(this.
|
|
3811
|
+
if (!(this.w1i_1 === other.w1i_1))
|
|
3811
3812
|
return false;
|
|
3812
3813
|
return true;
|
|
3813
3814
|
};
|
|
@@ -3819,8 +3820,8 @@
|
|
|
3819
3820
|
}
|
|
3820
3821
|
function $recordCOROUTINE$(_this__u8e3s4, failure, resultContinuation) {
|
|
3821
3822
|
CoroutineImpl.call(this, resultContinuation);
|
|
3822
|
-
this.
|
|
3823
|
-
this.
|
|
3823
|
+
this.f1j_1 = _this__u8e3s4;
|
|
3824
|
+
this.g1j_1 = failure;
|
|
3824
3825
|
}
|
|
3825
3826
|
protoOf($recordCOROUTINE$).r7 = function () {
|
|
3826
3827
|
var suspendResult = this.l7_1;
|
|
@@ -3830,10 +3831,10 @@
|
|
|
3830
3831
|
switch (tmp) {
|
|
3831
3832
|
case 0:
|
|
3832
3833
|
this.k7_1 = 2;
|
|
3833
|
-
this.
|
|
3834
|
-
this.
|
|
3834
|
+
this.i1j_1 = this.f1j_1.a1i_1;
|
|
3835
|
+
this.h1j_1 = null;
|
|
3835
3836
|
this.j7_1 = 1;
|
|
3836
|
-
suspendResult = this.
|
|
3837
|
+
suspendResult = this.i1j_1.qw(this.h1j_1, this);
|
|
3837
3838
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3838
3839
|
return suspendResult;
|
|
3839
3840
|
}
|
|
@@ -3843,12 +3844,12 @@
|
|
|
3843
3844
|
l$ret$1: do {
|
|
3844
3845
|
var tmp_0;
|
|
3845
3846
|
try {
|
|
3846
|
-
var tmp0 = this.
|
|
3847
|
-
var key = this.
|
|
3847
|
+
var tmp0 = this.f1j_1.b1i_1;
|
|
3848
|
+
var key = this.g1j_1.u1i_1 + '|' + this.g1j_1.v1i_1.toString();
|
|
3848
3849
|
var value = tmp0.t1(key);
|
|
3849
3850
|
var tmp_1;
|
|
3850
3851
|
if (value == null) {
|
|
3851
|
-
var answer = this.
|
|
3852
|
+
var answer = this.g1j_1;
|
|
3852
3853
|
tmp0.v3(key, answer);
|
|
3853
3854
|
tmp_1 = answer;
|
|
3854
3855
|
} else {
|
|
@@ -3858,12 +3859,12 @@
|
|
|
3858
3859
|
} catch ($p) {
|
|
3859
3860
|
var tmp_2;
|
|
3860
3861
|
var t = $p;
|
|
3861
|
-
this.
|
|
3862
|
+
this.i1j_1.bw(this.h1j_1);
|
|
3862
3863
|
throw t;
|
|
3863
3864
|
}
|
|
3864
3865
|
}
|
|
3865
3866
|
while (false);
|
|
3866
|
-
this.
|
|
3867
|
+
this.i1j_1.bw(this.h1j_1);
|
|
3867
3868
|
return Unit_instance;
|
|
3868
3869
|
case 2:
|
|
3869
3870
|
throw this.m7_1;
|
|
@@ -3881,17 +3882,17 @@
|
|
|
3881
3882
|
};
|
|
3882
3883
|
function TileFailureLog() {
|
|
3883
3884
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
3884
|
-
this.
|
|
3885
|
-
this.
|
|
3885
|
+
this.a1i_1 = Mutex();
|
|
3886
|
+
this.b1i_1 = LinkedHashMap_init_$Create$();
|
|
3886
3887
|
}
|
|
3887
|
-
protoOf(TileFailureLog).
|
|
3888
|
+
protoOf(TileFailureLog).c1i = function (failure, $completion) {
|
|
3888
3889
|
var tmp = new $recordCOROUTINE$(this, failure, $completion);
|
|
3889
3890
|
tmp.l7_1 = Unit_instance;
|
|
3890
3891
|
tmp.m7_1 = null;
|
|
3891
3892
|
return tmp.r7();
|
|
3892
3893
|
};
|
|
3893
|
-
protoOf(TileFailureLog).
|
|
3894
|
-
return toList_0(this.
|
|
3894
|
+
protoOf(TileFailureLog).j1j = function () {
|
|
3895
|
+
return toList_0(this.b1i_1.v1());
|
|
3895
3896
|
};
|
|
3896
3897
|
function buildUrl($this, tc) {
|
|
3897
3898
|
// Inline function 'kotlin.let' call
|
|
@@ -3908,17 +3909,17 @@
|
|
|
3908
3909
|
return this.a1a((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
|
|
3909
3910
|
};
|
|
3910
3911
|
function TileManager$cache$slambda(this$0, resultContinuation) {
|
|
3911
|
-
this.
|
|
3912
|
+
this.v1j_1 = this$0;
|
|
3912
3913
|
CoroutineImpl.call(this, resultContinuation);
|
|
3913
3914
|
}
|
|
3914
|
-
protoOf(TileManager$cache$slambda).
|
|
3915
|
-
var tmp = this.
|
|
3915
|
+
protoOf(TileManager$cache$slambda).x1j = function (tc, $completion) {
|
|
3916
|
+
var tmp = this.y1j(tc, $completion);
|
|
3916
3917
|
tmp.l7_1 = Unit_instance;
|
|
3917
3918
|
tmp.m7_1 = null;
|
|
3918
3919
|
return tmp.r7();
|
|
3919
3920
|
};
|
|
3920
3921
|
protoOf(TileManager$cache$slambda).z7 = function (p1, $completion) {
|
|
3921
|
-
return this.
|
|
3922
|
+
return this.x1j(p1 instanceof TileCoordinates ? p1 : THROW_CCE(), $completion);
|
|
3922
3923
|
};
|
|
3923
3924
|
protoOf(TileManager$cache$slambda).r7 = function () {
|
|
3924
3925
|
var suspendResult = this.l7_1;
|
|
@@ -3929,7 +3930,7 @@
|
|
|
3929
3930
|
case 0:
|
|
3930
3931
|
this.k7_1 = 2;
|
|
3931
3932
|
this.j7_1 = 1;
|
|
3932
|
-
suspendResult = this.
|
|
3933
|
+
suspendResult = this.v1j_1.y15_1(buildUrl(this.v1j_1, this.w1j_1), this);
|
|
3933
3934
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3934
3935
|
return suspendResult;
|
|
3935
3936
|
}
|
|
@@ -3952,21 +3953,21 @@
|
|
|
3952
3953
|
}
|
|
3953
3954
|
while (true);
|
|
3954
3955
|
};
|
|
3955
|
-
protoOf(TileManager$cache$slambda).
|
|
3956
|
-
var i = new TileManager$cache$slambda(this.
|
|
3957
|
-
i.
|
|
3956
|
+
protoOf(TileManager$cache$slambda).y1j = function (tc, completion) {
|
|
3957
|
+
var i = new TileManager$cache$slambda(this.v1j_1, completion);
|
|
3958
|
+
i.w1j_1 = tc;
|
|
3958
3959
|
return i;
|
|
3959
3960
|
};
|
|
3960
3961
|
function TileManager$cache$slambda_0(this$0, resultContinuation) {
|
|
3961
3962
|
var i = new TileManager$cache$slambda(this$0, resultContinuation);
|
|
3962
3963
|
return constructCallableReference(function (tc, $completion) {
|
|
3963
|
-
return i.
|
|
3964
|
+
return i.x1j(tc, $completion);
|
|
3964
3965
|
}, 1);
|
|
3965
3966
|
}
|
|
3966
3967
|
function $getTileCOROUTINE$(_this__u8e3s4, tileCoords, resultContinuation) {
|
|
3967
3968
|
CoroutineImpl.call(this, resultContinuation);
|
|
3968
|
-
this.
|
|
3969
|
-
this.
|
|
3969
|
+
this.h1k_1 = _this__u8e3s4;
|
|
3970
|
+
this.i1k_1 = tileCoords;
|
|
3970
3971
|
}
|
|
3971
3972
|
protoOf($getTileCOROUTINE$).r7 = function () {
|
|
3972
3973
|
var suspendResult = this.l7_1;
|
|
@@ -3976,16 +3977,16 @@
|
|
|
3976
3977
|
switch (tmp) {
|
|
3977
3978
|
case 0:
|
|
3978
3979
|
this.k7_1 = 8;
|
|
3979
|
-
var tmp0_elvis_lhs = this.
|
|
3980
|
+
var tmp0_elvis_lhs = this.h1k_1.z15_1;
|
|
3980
3981
|
if (tmp0_elvis_lhs == null) {
|
|
3981
3982
|
this.j7_1 = 1;
|
|
3982
|
-
suspendResult = this.
|
|
3983
|
+
suspendResult = this.h1k_1.a16_1.r1g(this.i1k_1, this);
|
|
3983
3984
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3984
3985
|
return suspendResult;
|
|
3985
3986
|
}
|
|
3986
3987
|
continue $sm;
|
|
3987
3988
|
} else {
|
|
3988
|
-
this.
|
|
3989
|
+
this.l1k_1 = tmp0_elvis_lhs;
|
|
3989
3990
|
this.j7_1 = 2;
|
|
3990
3991
|
continue $sm;
|
|
3991
3992
|
}
|
|
@@ -3994,9 +3995,9 @@
|
|
|
3994
3995
|
var tmp_0 = this;
|
|
3995
3996
|
return suspendResult;
|
|
3996
3997
|
case 2:
|
|
3997
|
-
this.
|
|
3998
|
+
this.k1k_1 = this.l1k_1;
|
|
3998
3999
|
this.j7_1 = 3;
|
|
3999
|
-
suspendResult = this.
|
|
4000
|
+
suspendResult = this.k1k_1.s1i(this.i1k_1, this);
|
|
4000
4001
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4001
4002
|
return suspendResult;
|
|
4002
4003
|
}
|
|
@@ -4012,14 +4013,14 @@
|
|
|
4012
4013
|
|
|
4013
4014
|
this.k7_1 = 5;
|
|
4014
4015
|
this.j7_1 = 4;
|
|
4015
|
-
suspendResult = this.
|
|
4016
|
+
suspendResult = this.h1k_1.a16_1.r1g(this.i1k_1, this);
|
|
4016
4017
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4017
4018
|
return suspendResult;
|
|
4018
4019
|
}
|
|
4019
4020
|
|
|
4020
4021
|
continue $sm;
|
|
4021
4022
|
case 4:
|
|
4022
|
-
this.
|
|
4023
|
+
this.j1k_1 = suspendResult;
|
|
4023
4024
|
this.k7_1 = 8;
|
|
4024
4025
|
this.j7_1 = 7;
|
|
4025
4026
|
continue $sm;
|
|
@@ -4036,7 +4037,7 @@
|
|
|
4036
4037
|
var e_0 = this.m7_1;
|
|
4037
4038
|
ensureActive(this.p7());
|
|
4038
4039
|
this.j7_1 = 6;
|
|
4039
|
-
suspendResult = this.
|
|
4040
|
+
suspendResult = this.k1k_1.t1i(this.i1k_1, e_0, this);
|
|
4040
4041
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4041
4042
|
return suspendResult;
|
|
4042
4043
|
}
|
|
@@ -4047,12 +4048,12 @@
|
|
|
4047
4048
|
}
|
|
4048
4049
|
|
|
4049
4050
|
case 6:
|
|
4050
|
-
this.
|
|
4051
|
+
this.j1k_1 = suspendResult;
|
|
4051
4052
|
this.j7_1 = 7;
|
|
4052
4053
|
continue $sm;
|
|
4053
4054
|
case 7:
|
|
4054
4055
|
this.k7_1 = 8;
|
|
4055
|
-
return this.
|
|
4056
|
+
return this.j1k_1;
|
|
4056
4057
|
case 8:
|
|
4057
4058
|
throw this.m7_1;
|
|
4058
4059
|
}
|
|
@@ -4124,13 +4125,13 @@
|
|
|
4124
4125
|
retryAfterSeconds = retryAfterSeconds === VOID ? null : retryAfterSeconds;
|
|
4125
4126
|
IllegalStateException_init_$Init$('Tile fetch failed for ' + url + ': HTTP ' + status, this);
|
|
4126
4127
|
captureStack(this, TileFetchException);
|
|
4127
|
-
this.
|
|
4128
|
-
this.
|
|
4129
|
-
this.
|
|
4128
|
+
this.m1k_1 = url;
|
|
4129
|
+
this.n1k_1 = status;
|
|
4130
|
+
this.o1k_1 = retryAfterSeconds;
|
|
4130
4131
|
}
|
|
4131
4132
|
function $awaitTurnCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4132
4133
|
CoroutineImpl.call(this, resultContinuation);
|
|
4133
|
-
this.
|
|
4134
|
+
this.x1k_1 = _this__u8e3s4;
|
|
4134
4135
|
}
|
|
4135
4136
|
protoOf($awaitTurnCOROUTINE$).r7 = function () {
|
|
4136
4137
|
var suspendResult = this.l7_1;
|
|
@@ -4140,10 +4141,10 @@
|
|
|
4140
4141
|
switch (tmp) {
|
|
4141
4142
|
case 0:
|
|
4142
4143
|
this.k7_1 = 4;
|
|
4143
|
-
this.
|
|
4144
|
-
this.
|
|
4144
|
+
this.z1k_1 = this.x1k_1.c1l_1;
|
|
4145
|
+
this.y1k_1 = null;
|
|
4145
4146
|
this.j7_1 = 1;
|
|
4146
|
-
suspendResult = this.
|
|
4147
|
+
suspendResult = this.z1k_1.qw(this.y1k_1, this);
|
|
4147
4148
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4148
4149
|
return suspendResult;
|
|
4149
4150
|
}
|
|
@@ -4154,22 +4155,22 @@
|
|
|
4154
4155
|
l$ret$1: do {
|
|
4155
4156
|
var tmp_0;
|
|
4156
4157
|
try {
|
|
4157
|
-
var t = toNumber(this.
|
|
4158
|
-
var b = this.
|
|
4158
|
+
var t = toNumber(this.x1k_1.a1l_1());
|
|
4159
|
+
var b = this.x1k_1.d1l_1;
|
|
4159
4160
|
var slot = Math.max(t, b);
|
|
4160
|
-
this.
|
|
4161
|
+
this.x1k_1.d1l_1 = slot + this.x1k_1.b1l_1;
|
|
4161
4162
|
tmp$ret$0 = slot - t;
|
|
4162
4163
|
break l$ret$1;
|
|
4163
4164
|
} catch ($p) {
|
|
4164
4165
|
var tmp_1;
|
|
4165
4166
|
var t_0 = $p;
|
|
4166
|
-
this.
|
|
4167
|
+
this.z1k_1.bw(this.y1k_1);
|
|
4167
4168
|
throw t_0;
|
|
4168
4169
|
}
|
|
4169
4170
|
}
|
|
4170
4171
|
while (false);
|
|
4171
4172
|
var tmp_2 = tmp$ret$0;
|
|
4172
|
-
this.
|
|
4173
|
+
this.z1k_1.bw(this.y1k_1);
|
|
4173
4174
|
var waitMs = tmp_2;
|
|
4174
4175
|
if (waitMs > 0) {
|
|
4175
4176
|
this.j7_1 = 2;
|
|
@@ -4203,29 +4204,29 @@
|
|
|
4203
4204
|
while (true);
|
|
4204
4205
|
};
|
|
4205
4206
|
function RequestPacer(perSecond, now) {
|
|
4206
|
-
this.
|
|
4207
|
-
this.
|
|
4208
|
-
this.
|
|
4209
|
-
this.
|
|
4207
|
+
this.a1l_1 = now;
|
|
4208
|
+
this.b1l_1 = 1000.0 / perSecond;
|
|
4209
|
+
this.c1l_1 = Mutex();
|
|
4210
|
+
this.d1l_1 = -Infinity;
|
|
4210
4211
|
}
|
|
4211
|
-
protoOf(RequestPacer).
|
|
4212
|
+
protoOf(RequestPacer).e1l = function ($completion) {
|
|
4212
4213
|
var tmp = new $awaitTurnCOROUTINE$(this, $completion);
|
|
4213
4214
|
tmp.l7_1 = Unit_instance;
|
|
4214
4215
|
tmp.m7_1 = null;
|
|
4215
4216
|
return tmp.r7();
|
|
4216
4217
|
};
|
|
4217
4218
|
function Key_0(host, perSecond, clock) {
|
|
4218
|
-
this.
|
|
4219
|
-
this.
|
|
4220
|
-
this.
|
|
4219
|
+
this.f1l_1 = host;
|
|
4220
|
+
this.g1l_1 = perSecond;
|
|
4221
|
+
this.h1l_1 = clock;
|
|
4221
4222
|
}
|
|
4222
4223
|
protoOf(Key_0).toString = function () {
|
|
4223
|
-
return 'Key(host=' + this.
|
|
4224
|
+
return 'Key(host=' + this.f1l_1 + ', perSecond=' + this.g1l_1 + ', clock=' + toString(this.h1l_1) + ')';
|
|
4224
4225
|
};
|
|
4225
4226
|
protoOf(Key_0).hashCode = function () {
|
|
4226
|
-
var result = getStringHashCode(this.
|
|
4227
|
-
result = imul(result, 31) + this.
|
|
4228
|
-
result = imul(result, 31) + hashCode(this.
|
|
4227
|
+
var result = getStringHashCode(this.f1l_1);
|
|
4228
|
+
result = imul(result, 31) + this.g1l_1 | 0;
|
|
4229
|
+
result = imul(result, 31) + hashCode(this.h1l_1) | 0;
|
|
4229
4230
|
return result;
|
|
4230
4231
|
};
|
|
4231
4232
|
protoOf(Key_0).equals = function (other) {
|
|
@@ -4233,20 +4234,20 @@
|
|
|
4233
4234
|
return true;
|
|
4234
4235
|
if (!(other instanceof Key_0))
|
|
4235
4236
|
return false;
|
|
4236
|
-
if (!(this.e1l_1 === other.e1l_1))
|
|
4237
|
-
return false;
|
|
4238
4237
|
if (!(this.f1l_1 === other.f1l_1))
|
|
4239
4238
|
return false;
|
|
4240
|
-
if (!
|
|
4239
|
+
if (!(this.g1l_1 === other.g1l_1))
|
|
4240
|
+
return false;
|
|
4241
|
+
if (!equals(this.h1l_1, other.h1l_1))
|
|
4241
4242
|
return false;
|
|
4242
4243
|
return true;
|
|
4243
4244
|
};
|
|
4244
4245
|
function $ofCOROUTINE$(_this__u8e3s4, host, perSecond, clock, resultContinuation) {
|
|
4245
4246
|
CoroutineImpl.call(this, resultContinuation);
|
|
4246
|
-
this.
|
|
4247
|
-
this.
|
|
4248
|
-
this.
|
|
4249
|
-
this.
|
|
4247
|
+
this.q1l_1 = _this__u8e3s4;
|
|
4248
|
+
this.r1l_1 = host;
|
|
4249
|
+
this.s1l_1 = perSecond;
|
|
4250
|
+
this.t1l_1 = clock;
|
|
4250
4251
|
}
|
|
4251
4252
|
protoOf($ofCOROUTINE$).r7 = function () {
|
|
4252
4253
|
var suspendResult = this.l7_1;
|
|
@@ -4256,10 +4257,10 @@
|
|
|
4256
4257
|
switch (tmp) {
|
|
4257
4258
|
case 0:
|
|
4258
4259
|
this.k7_1 = 2;
|
|
4259
|
-
this.
|
|
4260
|
-
this.
|
|
4260
|
+
this.v1l_1 = this.q1l_1.w1l_1;
|
|
4261
|
+
this.u1l_1 = null;
|
|
4261
4262
|
this.j7_1 = 1;
|
|
4262
|
-
suspendResult = this.
|
|
4263
|
+
suspendResult = this.v1l_1.qw(this.u1l_1, this);
|
|
4263
4264
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4264
4265
|
return suspendResult;
|
|
4265
4266
|
}
|
|
@@ -4270,12 +4271,12 @@
|
|
|
4270
4271
|
l$ret$1: do {
|
|
4271
4272
|
var tmp_0;
|
|
4272
4273
|
try {
|
|
4273
|
-
var tmp0 = HostPacers_getInstance().
|
|
4274
|
-
var key = new Key_0(this.
|
|
4274
|
+
var tmp0 = HostPacers_getInstance().x1l_1;
|
|
4275
|
+
var key = new Key_0(this.r1l_1, this.s1l_1, this.t1l_1);
|
|
4275
4276
|
var value = tmp0.t1(key);
|
|
4276
4277
|
var tmp_1;
|
|
4277
4278
|
if (value == null) {
|
|
4278
|
-
var answer = new RequestPacer(this.
|
|
4279
|
+
var answer = new RequestPacer(this.s1l_1, this.t1l_1);
|
|
4279
4280
|
tmp0.v3(key, answer);
|
|
4280
4281
|
tmp_1 = answer;
|
|
4281
4282
|
} else {
|
|
@@ -4286,13 +4287,13 @@
|
|
|
4286
4287
|
} catch ($p) {
|
|
4287
4288
|
var tmp_2;
|
|
4288
4289
|
var t = $p;
|
|
4289
|
-
this.
|
|
4290
|
+
this.v1l_1.bw(this.u1l_1);
|
|
4290
4291
|
throw t;
|
|
4291
4292
|
}
|
|
4292
4293
|
}
|
|
4293
4294
|
while (false);
|
|
4294
4295
|
var tmp_3 = tmp$ret$0;
|
|
4295
|
-
this.
|
|
4296
|
+
this.v1l_1.bw(this.u1l_1);
|
|
4296
4297
|
return tmp_3;
|
|
4297
4298
|
case 2:
|
|
4298
4299
|
throw this.m7_1;
|
|
@@ -4310,10 +4311,10 @@
|
|
|
4310
4311
|
};
|
|
4311
4312
|
function HostPacers() {
|
|
4312
4313
|
HostPacers_instance = this;
|
|
4313
|
-
this.
|
|
4314
|
-
this.
|
|
4314
|
+
this.w1l_1 = Mutex();
|
|
4315
|
+
this.x1l_1 = HashMap_init_$Create$();
|
|
4315
4316
|
}
|
|
4316
|
-
protoOf(HostPacers).
|
|
4317
|
+
protoOf(HostPacers).y1l = function (host, perSecond, clock, $completion) {
|
|
4317
4318
|
var tmp = new $ofCOROUTINE$(this, host, perSecond, clock, $completion);
|
|
4318
4319
|
tmp.l7_1 = Unit_instance;
|
|
4319
4320
|
tmp.m7_1 = null;
|
|
@@ -4337,27 +4338,27 @@
|
|
|
4337
4338
|
function fetchTileBytes$ref() {
|
|
4338
4339
|
KFunctionImpl.call(this, 1, 2, 5);
|
|
4339
4340
|
}
|
|
4340
|
-
protoOf(fetchTileBytes$ref).
|
|
4341
|
+
protoOf(fetchTileBytes$ref).c1m = function (p0, $completion) {
|
|
4341
4342
|
return fetchTileBytes(p0, $completion);
|
|
4342
4343
|
};
|
|
4343
4344
|
protoOf(fetchTileBytes$ref).z7 = function (p1, $completion) {
|
|
4344
|
-
return this.
|
|
4345
|
+
return this.c1m((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
|
|
4345
4346
|
};
|
|
4346
4347
|
function pacedTileBytesFetcher$slambda($maxRequestsPerSecond, $now, $fetch, $maxAttempts, resultContinuation) {
|
|
4347
|
-
this.
|
|
4348
|
-
this.
|
|
4349
|
-
this.
|
|
4350
|
-
this.
|
|
4348
|
+
this.l1m_1 = $maxRequestsPerSecond;
|
|
4349
|
+
this.m1m_1 = $now;
|
|
4350
|
+
this.n1m_1 = $fetch;
|
|
4351
|
+
this.o1m_1 = $maxAttempts;
|
|
4351
4352
|
CoroutineImpl.call(this, resultContinuation);
|
|
4352
4353
|
}
|
|
4353
|
-
protoOf(pacedTileBytesFetcher$slambda).
|
|
4354
|
+
protoOf(pacedTileBytesFetcher$slambda).c1m = function (url, $completion) {
|
|
4354
4355
|
var tmp = this.l1a(url, $completion);
|
|
4355
4356
|
tmp.l7_1 = Unit_instance;
|
|
4356
4357
|
tmp.m7_1 = null;
|
|
4357
4358
|
return tmp.r7();
|
|
4358
4359
|
};
|
|
4359
4360
|
protoOf(pacedTileBytesFetcher$slambda).z7 = function (p1, $completion) {
|
|
4360
|
-
return this.
|
|
4361
|
+
return this.c1m((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
|
|
4361
4362
|
};
|
|
4362
4363
|
protoOf(pacedTileBytesFetcher$slambda).r7 = function () {
|
|
4363
4364
|
var suspendResult = this.l7_1;
|
|
@@ -4367,43 +4368,43 @@
|
|
|
4367
4368
|
switch (tmp) {
|
|
4368
4369
|
case 0:
|
|
4369
4370
|
this.k7_1 = 11;
|
|
4370
|
-
if (this.
|
|
4371
|
+
if (this.l1m_1 > 0) {
|
|
4371
4372
|
this.j7_1 = 1;
|
|
4372
|
-
suspendResult = HostPacers_getInstance().
|
|
4373
|
+
suspendResult = HostPacers_getInstance().y1l(hostOf(this.p1m_1), this.l1m_1, this.m1m_1, this);
|
|
4373
4374
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4374
4375
|
return suspendResult;
|
|
4375
4376
|
}
|
|
4376
4377
|
continue $sm;
|
|
4377
4378
|
} else {
|
|
4378
|
-
this.
|
|
4379
|
+
this.v1m_1 = null;
|
|
4379
4380
|
this.j7_1 = 2;
|
|
4380
4381
|
continue $sm;
|
|
4381
4382
|
}
|
|
4382
4383
|
|
|
4383
4384
|
case 1:
|
|
4384
|
-
this.
|
|
4385
|
+
this.v1m_1 = suspendResult;
|
|
4385
4386
|
this.j7_1 = 2;
|
|
4386
4387
|
continue $sm;
|
|
4387
4388
|
case 2:
|
|
4388
|
-
this.
|
|
4389
|
-
this.
|
|
4390
|
-
this.
|
|
4389
|
+
this.u1m_1 = this.v1m_1;
|
|
4390
|
+
this.s1m_1 = 1;
|
|
4391
|
+
this.q1m_1 = null;
|
|
4391
4392
|
this.j7_1 = 3;
|
|
4392
4393
|
continue $sm;
|
|
4393
4394
|
case 3:
|
|
4394
|
-
if (!(this.
|
|
4395
|
+
if (!(this.q1m_1 == null)) {
|
|
4395
4396
|
this.j7_1 = 10;
|
|
4396
4397
|
continue $sm;
|
|
4397
4398
|
}
|
|
4398
4399
|
|
|
4399
|
-
var tmp0_safe_receiver = this.
|
|
4400
|
+
var tmp0_safe_receiver = this.u1m_1;
|
|
4400
4401
|
if (tmp0_safe_receiver == null) {
|
|
4401
|
-
this.
|
|
4402
|
+
this.t1m_1 = null;
|
|
4402
4403
|
this.j7_1 = 5;
|
|
4403
4404
|
continue $sm;
|
|
4404
4405
|
} else {
|
|
4405
4406
|
this.j7_1 = 4;
|
|
4406
|
-
suspendResult = tmp0_safe_receiver.
|
|
4407
|
+
suspendResult = tmp0_safe_receiver.e1l(this);
|
|
4407
4408
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4408
4409
|
return suspendResult;
|
|
4409
4410
|
}
|
|
@@ -4412,13 +4413,13 @@
|
|
|
4412
4413
|
|
|
4413
4414
|
case 4:
|
|
4414
4415
|
var tmp_0 = this;
|
|
4415
|
-
tmp_0.
|
|
4416
|
+
tmp_0.t1m_1 = Unit_instance;
|
|
4416
4417
|
this.j7_1 = 5;
|
|
4417
4418
|
continue $sm;
|
|
4418
4419
|
case 5:
|
|
4419
4420
|
this.k7_1 = 7;
|
|
4420
4421
|
this.j7_1 = 6;
|
|
4421
|
-
suspendResult = this.
|
|
4422
|
+
suspendResult = this.n1m_1(this.p1m_1, this);
|
|
4422
4423
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4423
4424
|
return suspendResult;
|
|
4424
4425
|
}
|
|
@@ -4426,8 +4427,8 @@
|
|
|
4426
4427
|
continue $sm;
|
|
4427
4428
|
case 6:
|
|
4428
4429
|
var tmp_1 = this;
|
|
4429
|
-
this.
|
|
4430
|
-
tmp_1.
|
|
4430
|
+
this.q1m_1 = suspendResult;
|
|
4431
|
+
tmp_1.r1m_1 = Unit_instance;
|
|
4431
4432
|
this.k7_1 = 11;
|
|
4432
4433
|
this.j7_1 = 9;
|
|
4433
4434
|
continue $sm;
|
|
@@ -4436,11 +4437,11 @@
|
|
|
4436
4437
|
var tmp_2 = this.m7_1;
|
|
4437
4438
|
if (tmp_2 instanceof TileFetchException) {
|
|
4438
4439
|
var e = this.m7_1;
|
|
4439
|
-
if (!(e.
|
|
4440
|
+
if (!(e.n1k_1 === 429) && !(e.n1k_1 === 503) || this.s1m_1 >= this.o1m_1)
|
|
4440
4441
|
throw e;
|
|
4441
4442
|
this.j7_1 = 8;
|
|
4442
|
-
var tmp1_elvis_lhs = e.
|
|
4443
|
-
suspendResult = delay(multiply(tmp1_elvis_lhs == null ? shiftLeft(new Long(1, 0), this.
|
|
4443
|
+
var tmp1_elvis_lhs = e.o1k_1;
|
|
4444
|
+
suspendResult = delay(multiply(tmp1_elvis_lhs == null ? shiftLeft(new Long(1, 0), this.s1m_1 - 1 | 0) : tmp1_elvis_lhs, new Long(1000, 0)), this);
|
|
4444
4445
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4445
4446
|
return suspendResult;
|
|
4446
4447
|
}
|
|
@@ -4451,9 +4452,9 @@
|
|
|
4451
4452
|
|
|
4452
4453
|
case 8:
|
|
4453
4454
|
var tmp_3 = this;
|
|
4454
|
-
var _unary__edvuaz = this.
|
|
4455
|
-
this.
|
|
4456
|
-
tmp_3.
|
|
4455
|
+
var _unary__edvuaz = this.s1m_1;
|
|
4456
|
+
this.s1m_1 = _unary__edvuaz + 1 | 0;
|
|
4457
|
+
tmp_3.r1m_1 = _unary__edvuaz;
|
|
4457
4458
|
this.j7_1 = 9;
|
|
4458
4459
|
continue $sm;
|
|
4459
4460
|
case 9:
|
|
@@ -4461,7 +4462,7 @@
|
|
|
4461
4462
|
this.j7_1 = 3;
|
|
4462
4463
|
continue $sm;
|
|
4463
4464
|
case 10:
|
|
4464
|
-
return this.
|
|
4465
|
+
return this.q1m_1;
|
|
4465
4466
|
case 11:
|
|
4466
4467
|
throw this.m7_1;
|
|
4467
4468
|
}
|
|
@@ -4477,14 +4478,14 @@
|
|
|
4477
4478
|
while (true);
|
|
4478
4479
|
};
|
|
4479
4480
|
protoOf(pacedTileBytesFetcher$slambda).l1a = function (url, completion) {
|
|
4480
|
-
var i = new pacedTileBytesFetcher$slambda(this.
|
|
4481
|
-
i.
|
|
4481
|
+
var i = new pacedTileBytesFetcher$slambda(this.l1m_1, this.m1m_1, this.n1m_1, this.o1m_1, completion);
|
|
4482
|
+
i.p1m_1 = url;
|
|
4482
4483
|
return i;
|
|
4483
4484
|
};
|
|
4484
4485
|
function pacedTileBytesFetcher$slambda_0($maxRequestsPerSecond, $now, $fetch, $maxAttempts, resultContinuation) {
|
|
4485
4486
|
var i = new pacedTileBytesFetcher$slambda($maxRequestsPerSecond, $now, $fetch, $maxAttempts, resultContinuation);
|
|
4486
4487
|
return constructCallableReference(function (url, $completion) {
|
|
4487
|
-
return i.
|
|
4488
|
+
return i.c1m(url, $completion);
|
|
4488
4489
|
}, 1);
|
|
4489
4490
|
}
|
|
4490
4491
|
var properties_initialized_TileRequestPacing_kt_zdwibl;
|
|
@@ -4675,7 +4676,7 @@
|
|
|
4675
4676
|
};
|
|
4676
4677
|
function Companion_3() {
|
|
4677
4678
|
Companion_instance_4 = this;
|
|
4678
|
-
this.
|
|
4679
|
+
this.w1m_1 = new Vector3D(0.0, 0.0, 0.0);
|
|
4679
4680
|
}
|
|
4680
4681
|
var Companion_instance_4;
|
|
4681
4682
|
function Companion_getInstance_4() {
|
|
@@ -4689,7 +4690,7 @@
|
|
|
4689
4690
|
this.y12_1 = y;
|
|
4690
4691
|
this.z12_1 = z;
|
|
4691
4692
|
}
|
|
4692
|
-
protoOf(Vector3D).
|
|
4693
|
+
protoOf(Vector3D).x1m = function (other) {
|
|
4693
4694
|
var tmp0 = this.x12_1 - other.x12_1;
|
|
4694
4695
|
// Inline function 'kotlin.math.hypot' call
|
|
4695
4696
|
var y = this.y12_1 - other.y12_1;
|
|
@@ -4698,28 +4699,28 @@
|
|
|
4698
4699
|
var y_0 = this.z12_1 - other.z12_1;
|
|
4699
4700
|
return hypot(tmp0_0, y_0);
|
|
4700
4701
|
};
|
|
4701
|
-
protoOf(Vector3D).
|
|
4702
|
+
protoOf(Vector3D).y1m = function (other) {
|
|
4702
4703
|
return new Vector3D(this.x12_1 - other.x12_1, this.y12_1 - other.y12_1, this.z12_1 - other.z12_1);
|
|
4703
4704
|
};
|
|
4704
|
-
protoOf(Vector3D).
|
|
4705
|
+
protoOf(Vector3D).z1m = function (other) {
|
|
4705
4706
|
return new Vector3D(this.x12_1 + other.x12_1, this.y12_1 + other.y12_1, this.z12_1 + other.z12_1);
|
|
4706
4707
|
};
|
|
4707
|
-
protoOf(Vector3D).
|
|
4708
|
+
protoOf(Vector3D).a1n = function (scalar) {
|
|
4708
4709
|
return new Vector3D(this.x12_1 * scalar, this.y12_1 * scalar, this.z12_1 * scalar);
|
|
4709
4710
|
};
|
|
4710
|
-
protoOf(Vector3D).
|
|
4711
|
+
protoOf(Vector3D).b1n = function (other) {
|
|
4711
4712
|
return this.x12_1 * other.x12_1 + this.y12_1 * other.y12_1 + this.z12_1 * other.z12_1;
|
|
4712
4713
|
};
|
|
4713
4714
|
protoOf(Vector3D).a13 = function (segmentStart, segmentEnd) {
|
|
4714
|
-
var segmentVector = segmentEnd.
|
|
4715
|
-
var segmentLengthSq = segmentVector.
|
|
4715
|
+
var segmentVector = segmentEnd.y1m(segmentStart);
|
|
4716
|
+
var segmentLengthSq = segmentVector.b1n(segmentVector);
|
|
4716
4717
|
if (segmentLengthSq === 0.0)
|
|
4717
|
-
return this.
|
|
4718
|
-
var pointVector = this.
|
|
4719
|
-
var projection = pointVector.
|
|
4718
|
+
return this.x1m(segmentStart);
|
|
4719
|
+
var pointVector = this.y1m(segmentStart);
|
|
4720
|
+
var projection = pointVector.b1n(segmentVector) / segmentLengthSq;
|
|
4720
4721
|
var clamped = coerceIn_0(projection, 0.0, 1.0);
|
|
4721
|
-
var closest = segmentStart.
|
|
4722
|
-
return this.
|
|
4722
|
+
var closest = segmentStart.z1m(segmentVector.a1n(clamped));
|
|
4723
|
+
return this.x1m(closest);
|
|
4723
4724
|
};
|
|
4724
4725
|
protoOf(Vector3D).toString = function () {
|
|
4725
4726
|
return 'Vector3D(x=' + this.x12_1 + ', y=' + this.y12_1 + ', z=' + this.z12_1 + ')';
|
|
@@ -4776,11 +4777,11 @@
|
|
|
4776
4777
|
tmp = null;
|
|
4777
4778
|
} else {
|
|
4778
4779
|
// Inline function 'kotlin.let' call
|
|
4779
|
-
tmp = Companion_getInstance_0().
|
|
4780
|
+
tmp = Companion_getInstance_0().i1b(tmp2_safe_receiver);
|
|
4780
4781
|
}
|
|
4781
4782
|
var tmp3_elvis_lhs = tmp;
|
|
4782
4783
|
var source = tmp3_elvis_lhs == null ? Companion_getInstance_0().c1b_1 : tmp3_elvis_lhs;
|
|
4783
|
-
var base = source.
|
|
4784
|
+
var base = source.o1b(configDto == null ? null : configDto.zoomLevel);
|
|
4784
4785
|
var tmp6_elvis_lhs = configDto == null ? null : configDto.cacheSize;
|
|
4785
4786
|
var tmp_0 = tmp6_elvis_lhs == null ? base.b19_1 : tmp6_elvis_lhs;
|
|
4786
4787
|
var tmp8_elvis_lhs = configDto == null ? null : configDto.tileUrlTemplate;
|
|
@@ -4788,7 +4789,7 @@
|
|
|
4788
4789
|
var tmp10_elvis_lhs = configDto == null ? null : configDto.tileSize;
|
|
4789
4790
|
var cfg = base.y1a(VOID, tmp_0, tmp_1, tmp10_elvis_lhs == null ? base.d19_1 : tmp10_elvis_lhs);
|
|
4790
4791
|
var primary = ElevationProvider_init_$Create$(cfg);
|
|
4791
|
-
var tmp11_safe_receiver = source.
|
|
4792
|
+
var tmp11_safe_receiver = source.j1b();
|
|
4792
4793
|
var tmp_2;
|
|
4793
4794
|
if (tmp11_safe_receiver == null) {
|
|
4794
4795
|
tmp_2 = null;
|
|
@@ -4876,20 +4877,20 @@
|
|
|
4876
4877
|
return o;
|
|
4877
4878
|
}
|
|
4878
4879
|
function getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation) {
|
|
4879
|
-
this.
|
|
4880
|
-
this.
|
|
4881
|
-
this.
|
|
4882
|
-
this.
|
|
4880
|
+
this.k1n_1 = $provider;
|
|
4881
|
+
this.l1n_1 = $latitude;
|
|
4882
|
+
this.m1n_1 = $longitude;
|
|
4883
|
+
this.n1n_1 = $interpolation;
|
|
4883
4884
|
CoroutineImpl.call(this, resultContinuation);
|
|
4884
4885
|
}
|
|
4885
|
-
protoOf(getElevation$slambda).
|
|
4886
|
-
var tmp = this.
|
|
4886
|
+
protoOf(getElevation$slambda).p1n = function ($this$promise, $completion) {
|
|
4887
|
+
var tmp = this.e1c($this$promise, $completion);
|
|
4887
4888
|
tmp.l7_1 = Unit_instance;
|
|
4888
4889
|
tmp.m7_1 = null;
|
|
4889
4890
|
return tmp.r7();
|
|
4890
4891
|
};
|
|
4891
4892
|
protoOf(getElevation$slambda).z7 = function (p1, $completion) {
|
|
4892
|
-
return this.
|
|
4893
|
+
return this.p1n((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4893
4894
|
};
|
|
4894
4895
|
protoOf(getElevation$slambda).r7 = function () {
|
|
4895
4896
|
var suspendResult = this.l7_1;
|
|
@@ -4900,7 +4901,7 @@
|
|
|
4900
4901
|
case 0:
|
|
4901
4902
|
this.k7_1 = 2;
|
|
4902
4903
|
this.j7_1 = 1;
|
|
4903
|
-
suspendResult = this.
|
|
4904
|
+
suspendResult = this.k1n_1.d18(this.l1n_1, this.m1n_1, this.n1n_1, this);
|
|
4904
4905
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4905
4906
|
return suspendResult;
|
|
4906
4907
|
}
|
|
@@ -4922,31 +4923,31 @@
|
|
|
4922
4923
|
}
|
|
4923
4924
|
while (true);
|
|
4924
4925
|
};
|
|
4925
|
-
protoOf(getElevation$slambda).
|
|
4926
|
-
var i = new getElevation$slambda(this.
|
|
4927
|
-
i.
|
|
4926
|
+
protoOf(getElevation$slambda).e1c = function ($this$promise, completion) {
|
|
4927
|
+
var i = new getElevation$slambda(this.k1n_1, this.l1n_1, this.m1n_1, this.n1n_1, completion);
|
|
4928
|
+
i.o1n_1 = $this$promise;
|
|
4928
4929
|
return i;
|
|
4929
4930
|
};
|
|
4930
4931
|
function getElevation$slambda_0($provider, $latitude, $longitude, $interpolation, resultContinuation) {
|
|
4931
4932
|
var i = new getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation);
|
|
4932
4933
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
4933
|
-
return i.
|
|
4934
|
+
return i.p1n($this$promise, $completion);
|
|
4934
4935
|
}, 1);
|
|
4935
4936
|
}
|
|
4936
4937
|
function getElevationsAlong$slambda($path, $provider, $options, resultContinuation) {
|
|
4937
|
-
this.
|
|
4938
|
-
this.
|
|
4939
|
-
this.
|
|
4938
|
+
this.y1n_1 = $path;
|
|
4939
|
+
this.z1n_1 = $provider;
|
|
4940
|
+
this.a1o_1 = $options;
|
|
4940
4941
|
CoroutineImpl.call(this, resultContinuation);
|
|
4941
4942
|
}
|
|
4942
|
-
protoOf(getElevationsAlong$slambda).
|
|
4943
|
-
var tmp = this.
|
|
4943
|
+
protoOf(getElevationsAlong$slambda).c1o = function ($this$promise, $completion) {
|
|
4944
|
+
var tmp = this.e1c($this$promise, $completion);
|
|
4944
4945
|
tmp.l7_1 = Unit_instance;
|
|
4945
4946
|
tmp.m7_1 = null;
|
|
4946
4947
|
return tmp.r7();
|
|
4947
4948
|
};
|
|
4948
4949
|
protoOf(getElevationsAlong$slambda).z7 = function (p1, $completion) {
|
|
4949
|
-
return this.
|
|
4950
|
+
return this.c1o((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4950
4951
|
};
|
|
4951
4952
|
protoOf(getElevationsAlong$slambda).r7 = function () {
|
|
4952
4953
|
var suspendResult = this.l7_1;
|
|
@@ -4956,7 +4957,7 @@
|
|
|
4956
4957
|
switch (tmp) {
|
|
4957
4958
|
case 0:
|
|
4958
4959
|
this.k7_1 = 2;
|
|
4959
|
-
var this_0 = this.
|
|
4960
|
+
var this_0 = this.y1n_1;
|
|
4960
4961
|
var destination = ArrayList_init_$Create$_0(this_0.length);
|
|
4961
4962
|
var inductionVariable = 0;
|
|
4962
4963
|
var last = this_0.length;
|
|
@@ -4968,21 +4969,21 @@
|
|
|
4968
4969
|
|
|
4969
4970
|
var coords = destination;
|
|
4970
4971
|
this.j7_1 = 1;
|
|
4971
|
-
var tmp0_safe_receiver = this.
|
|
4972
|
+
var tmp0_safe_receiver = this.a1o_1;
|
|
4972
4973
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.step;
|
|
4973
4974
|
var tmp_0 = tmp1_elvis_lhs == null ? 10.0 : tmp1_elvis_lhs;
|
|
4974
|
-
var tmp2_safe_receiver = this.
|
|
4975
|
+
var tmp2_safe_receiver = this.a1o_1;
|
|
4975
4976
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.minDistance;
|
|
4976
4977
|
var tmp_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
|
|
4977
|
-
var tmp4_safe_receiver = this.
|
|
4978
|
+
var tmp4_safe_receiver = this.a1o_1;
|
|
4978
4979
|
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.interpolation;
|
|
4979
4980
|
var tmp_2 = tmp5_elvis_lhs == null ? true : tmp5_elvis_lhs;
|
|
4980
|
-
var tmp6_safe_receiver = this.
|
|
4981
|
+
var tmp6_safe_receiver = this.a1o_1;
|
|
4981
4982
|
var tmp7_safe_receiver = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.smoothingOptions;
|
|
4982
4983
|
var tmp_3 = tmp7_safe_receiver == null ? null : toKotlin(tmp7_safe_receiver);
|
|
4983
|
-
var tmp8_safe_receiver = this.
|
|
4984
|
+
var tmp8_safe_receiver = this.a1o_1;
|
|
4984
4985
|
var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.filterOptions;
|
|
4985
|
-
suspendResult = this.
|
|
4986
|
+
suspendResult = this.z1n_1.w19(coords, tmp_0, tmp_1, tmp_2, tmp_3, tmp9_safe_receiver == null ? null : toKotlin_0(tmp9_safe_receiver), this);
|
|
4986
4987
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4987
4988
|
return suspendResult;
|
|
4988
4989
|
}
|
|
@@ -5015,15 +5016,15 @@
|
|
|
5015
5016
|
}
|
|
5016
5017
|
while (true);
|
|
5017
5018
|
};
|
|
5018
|
-
protoOf(getElevationsAlong$slambda).
|
|
5019
|
-
var i = new getElevationsAlong$slambda(this.
|
|
5020
|
-
i.
|
|
5019
|
+
protoOf(getElevationsAlong$slambda).e1c = function ($this$promise, completion) {
|
|
5020
|
+
var i = new getElevationsAlong$slambda(this.y1n_1, this.z1n_1, this.a1o_1, completion);
|
|
5021
|
+
i.b1o_1 = $this$promise;
|
|
5021
5022
|
return i;
|
|
5022
5023
|
};
|
|
5023
5024
|
function getElevationsAlong$slambda_0($path, $provider, $options, resultContinuation) {
|
|
5024
5025
|
var i = new getElevationsAlong$slambda($path, $provider, $options, resultContinuation);
|
|
5025
5026
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
5026
|
-
return i.
|
|
5027
|
+
return i.c1o($this$promise, $completion);
|
|
5027
5028
|
}, 1);
|
|
5028
5029
|
}
|
|
5029
5030
|
var properties_initialized_ElevationJsApi_kt_8pvyh6;
|
|
@@ -5177,7 +5178,7 @@
|
|
|
5177
5178
|
}
|
|
5178
5179
|
function $fetchAndDecodeTileCOROUTINE$(url, resultContinuation) {
|
|
5179
5180
|
CoroutineImpl.call(this, resultContinuation);
|
|
5180
|
-
this.
|
|
5181
|
+
this.l1o_1 = url;
|
|
5181
5182
|
}
|
|
5182
5183
|
protoOf($fetchAndDecodeTileCOROUTINE$).r7 = function () {
|
|
5183
5184
|
var suspendResult = this.l7_1;
|
|
@@ -5189,14 +5190,14 @@
|
|
|
5189
5190
|
this.k7_1 = 4;
|
|
5190
5191
|
if (get_isNode()) {
|
|
5191
5192
|
this.j7_1 = 2;
|
|
5192
|
-
suspendResult = decodeNode(this.
|
|
5193
|
+
suspendResult = decodeNode(this.l1o_1, this);
|
|
5193
5194
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5194
5195
|
return suspendResult;
|
|
5195
5196
|
}
|
|
5196
5197
|
continue $sm;
|
|
5197
5198
|
} else {
|
|
5198
5199
|
this.j7_1 = 1;
|
|
5199
|
-
suspendResult = decodeBrowser(this.
|
|
5200
|
+
suspendResult = decodeBrowser(this.l1o_1, this);
|
|
5200
5201
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5201
5202
|
return suspendResult;
|
|
5202
5203
|
}
|
|
@@ -5204,15 +5205,15 @@
|
|
|
5204
5205
|
}
|
|
5205
5206
|
|
|
5206
5207
|
case 1:
|
|
5207
|
-
this.
|
|
5208
|
+
this.m1o_1 = suspendResult;
|
|
5208
5209
|
this.j7_1 = 3;
|
|
5209
5210
|
continue $sm;
|
|
5210
5211
|
case 2:
|
|
5211
|
-
this.
|
|
5212
|
+
this.m1o_1 = suspendResult;
|
|
5212
5213
|
this.j7_1 = 3;
|
|
5213
5214
|
continue $sm;
|
|
5214
5215
|
case 3:
|
|
5215
|
-
return this.
|
|
5216
|
+
return this.m1o_1;
|
|
5216
5217
|
case 4:
|
|
5217
5218
|
throw this.m7_1;
|
|
5218
5219
|
}
|
|
@@ -5229,8 +5230,8 @@
|
|
|
5229
5230
|
};
|
|
5230
5231
|
function $decodeTileBytesCOROUTINE$(bytes, sourceUrl, resultContinuation) {
|
|
5231
5232
|
CoroutineImpl.call(this, resultContinuation);
|
|
5232
|
-
this.
|
|
5233
|
-
this.
|
|
5233
|
+
this.v1o_1 = bytes;
|
|
5234
|
+
this.w1o_1 = sourceUrl;
|
|
5234
5235
|
}
|
|
5235
5236
|
protoOf($decodeTileBytesCOROUTINE$).r7 = function () {
|
|
5236
5237
|
var suspendResult = this.l7_1;
|
|
@@ -5242,14 +5243,14 @@
|
|
|
5242
5243
|
this.k7_1 = 4;
|
|
5243
5244
|
if (get_isNode()) {
|
|
5244
5245
|
this.j7_1 = 2;
|
|
5245
|
-
suspendResult = decodeBytesNode(this.
|
|
5246
|
+
suspendResult = decodeBytesNode(this.v1o_1, this.w1o_1, this);
|
|
5246
5247
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5247
5248
|
return suspendResult;
|
|
5248
5249
|
}
|
|
5249
5250
|
continue $sm;
|
|
5250
5251
|
} else {
|
|
5251
5252
|
this.j7_1 = 1;
|
|
5252
|
-
suspendResult = decodeBlob(blobOf(this.
|
|
5253
|
+
suspendResult = decodeBlob(blobOf(this.v1o_1), this.w1o_1, this);
|
|
5253
5254
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5254
5255
|
return suspendResult;
|
|
5255
5256
|
}
|
|
@@ -5257,15 +5258,15 @@
|
|
|
5257
5258
|
}
|
|
5258
5259
|
|
|
5259
5260
|
case 1:
|
|
5260
|
-
this.
|
|
5261
|
+
this.x1o_1 = suspendResult;
|
|
5261
5262
|
this.j7_1 = 3;
|
|
5262
5263
|
continue $sm;
|
|
5263
5264
|
case 2:
|
|
5264
|
-
this.
|
|
5265
|
+
this.x1o_1 = suspendResult;
|
|
5265
5266
|
this.j7_1 = 3;
|
|
5266
5267
|
continue $sm;
|
|
5267
5268
|
case 3:
|
|
5268
|
-
return this.
|
|
5269
|
+
return this.x1o_1;
|
|
5269
5270
|
case 4:
|
|
5270
5271
|
throw this.m7_1;
|
|
5271
5272
|
}
|
|
@@ -5282,7 +5283,7 @@
|
|
|
5282
5283
|
};
|
|
5283
5284
|
function $decodeNodeCOROUTINE$(url, resultContinuation) {
|
|
5284
5285
|
CoroutineImpl.call(this, resultContinuation);
|
|
5285
|
-
this.
|
|
5286
|
+
this.g1p_1 = url;
|
|
5286
5287
|
}
|
|
5287
5288
|
protoOf($decodeNodeCOROUTINE$).r7 = function () {
|
|
5288
5289
|
var suspendResult = this.l7_1;
|
|
@@ -5293,7 +5294,7 @@
|
|
|
5293
5294
|
case 0:
|
|
5294
5295
|
this.k7_1 = 4;
|
|
5295
5296
|
this.j7_1 = 1;
|
|
5296
|
-
suspendResult = await_0(fetchUrlNode(this.
|
|
5297
|
+
suspendResult = await_0(fetchUrlNode(this.g1p_1), this);
|
|
5297
5298
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5298
5299
|
return suspendResult;
|
|
5299
5300
|
}
|
|
@@ -5301,7 +5302,7 @@
|
|
|
5301
5302
|
continue $sm;
|
|
5302
5303
|
case 1:
|
|
5303
5304
|
var res = suspendResult;
|
|
5304
|
-
requireOk(res, this.
|
|
5305
|
+
requireOk(res, this.g1p_1);
|
|
5305
5306
|
this.j7_1 = 2;
|
|
5306
5307
|
suspendResult = await_0(responseArrayBuffer(res), this);
|
|
5307
5308
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -5337,7 +5338,7 @@
|
|
|
5337
5338
|
};
|
|
5338
5339
|
function $decodeBrowserCOROUTINE$(url, resultContinuation) {
|
|
5339
5340
|
CoroutineImpl.call(this, resultContinuation);
|
|
5340
|
-
this.
|
|
5341
|
+
this.p1p_1 = url;
|
|
5341
5342
|
}
|
|
5342
5343
|
protoOf($decodeBrowserCOROUTINE$).r7 = function () {
|
|
5343
5344
|
var suspendResult = this.l7_1;
|
|
@@ -5348,7 +5349,7 @@
|
|
|
5348
5349
|
case 0:
|
|
5349
5350
|
this.k7_1 = 4;
|
|
5350
5351
|
this.j7_1 = 1;
|
|
5351
|
-
suspendResult = await_0(fetchUrlBrowser(this.
|
|
5352
|
+
suspendResult = await_0(fetchUrlBrowser(this.p1p_1), this);
|
|
5352
5353
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5353
5354
|
return suspendResult;
|
|
5354
5355
|
}
|
|
@@ -5356,7 +5357,7 @@
|
|
|
5356
5357
|
continue $sm;
|
|
5357
5358
|
case 1:
|
|
5358
5359
|
var res = suspendResult;
|
|
5359
|
-
requireOk(res, this.
|
|
5360
|
+
requireOk(res, this.p1p_1);
|
|
5360
5361
|
this.j7_1 = 2;
|
|
5361
5362
|
suspendResult = await_0(res.blob(), this);
|
|
5362
5363
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -5367,7 +5368,7 @@
|
|
|
5367
5368
|
case 2:
|
|
5368
5369
|
var ARGUMENT = suspendResult;
|
|
5369
5370
|
this.j7_1 = 3;
|
|
5370
|
-
suspendResult = decodeBlob(ARGUMENT, this.
|
|
5371
|
+
suspendResult = decodeBlob(ARGUMENT, this.p1p_1, this);
|
|
5371
5372
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5372
5373
|
return suspendResult;
|
|
5373
5374
|
}
|
|
@@ -5391,8 +5392,8 @@
|
|
|
5391
5392
|
};
|
|
5392
5393
|
function $decodeBytesNodeCOROUTINE$(bytes, sourceUrl, resultContinuation) {
|
|
5393
5394
|
CoroutineImpl.call(this, resultContinuation);
|
|
5394
|
-
this.
|
|
5395
|
-
this.
|
|
5395
|
+
this.y1p_1 = bytes;
|
|
5396
|
+
this.z1p_1 = sourceUrl;
|
|
5396
5397
|
}
|
|
5397
5398
|
protoOf($decodeBytesNodeCOROUTINE$).r7 = function () {
|
|
5398
5399
|
var suspendResult = this.l7_1;
|
|
@@ -5402,7 +5403,7 @@
|
|
|
5402
5403
|
switch (tmp) {
|
|
5403
5404
|
case 0:
|
|
5404
5405
|
this.k7_1 = 4;
|
|
5405
|
-
var view = this.
|
|
5406
|
+
var view = this.y1p_1;
|
|
5406
5407
|
var buffer = view.buffer.slice(view.byteOffset, view.byteOffset + view.byteLength);
|
|
5407
5408
|
this.k7_1 = 2;
|
|
5408
5409
|
this.j7_1 = 1;
|
|
@@ -5413,7 +5414,7 @@
|
|
|
5413
5414
|
|
|
5414
5415
|
continue $sm;
|
|
5415
5416
|
case 1:
|
|
5416
|
-
this.
|
|
5417
|
+
this.a1q_1 = suspendResult;
|
|
5417
5418
|
this.k7_1 = 4;
|
|
5418
5419
|
this.j7_1 = 3;
|
|
5419
5420
|
continue $sm;
|
|
@@ -5423,7 +5424,7 @@
|
|
|
5423
5424
|
if (tmp_0 instanceof Error) {
|
|
5424
5425
|
var e = this.m7_1;
|
|
5425
5426
|
var tmp_1 = this;
|
|
5426
|
-
var this_0 = this.
|
|
5427
|
+
var this_0 = this.z1p_1;
|
|
5427
5428
|
var tmp_2;
|
|
5428
5429
|
if (charSequenceLength(this_0) === 0) {
|
|
5429
5430
|
tmp_2 = '<unnamed bytes>';
|
|
@@ -5438,7 +5439,7 @@
|
|
|
5438
5439
|
|
|
5439
5440
|
case 3:
|
|
5440
5441
|
this.k7_1 = 4;
|
|
5441
|
-
var image = this.
|
|
5442
|
+
var image = this.a1q_1;
|
|
5442
5443
|
return rawTileFromJsquash(image);
|
|
5443
5444
|
case 4:
|
|
5444
5445
|
throw this.m7_1;
|
|
@@ -5456,8 +5457,8 @@
|
|
|
5456
5457
|
};
|
|
5457
5458
|
function $decodeBlobCOROUTINE$(blob, sourceUrl, resultContinuation) {
|
|
5458
5459
|
CoroutineImpl.call(this, resultContinuation);
|
|
5459
|
-
this.
|
|
5460
|
-
this.
|
|
5460
|
+
this.j1q_1 = blob;
|
|
5461
|
+
this.k1q_1 = sourceUrl;
|
|
5461
5462
|
}
|
|
5462
5463
|
protoOf($decodeBlobCOROUTINE$).r7 = function () {
|
|
5463
5464
|
var suspendResult = this.l7_1;
|
|
@@ -5469,14 +5470,14 @@
|
|
|
5469
5470
|
this.k7_1 = 3;
|
|
5470
5471
|
this.k7_1 = 2;
|
|
5471
5472
|
this.j7_1 = 1;
|
|
5472
|
-
suspendResult = await_0(window.createImageBitmap(this.
|
|
5473
|
+
suspendResult = await_0(window.createImageBitmap(this.j1q_1), this);
|
|
5473
5474
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5474
5475
|
return suspendResult;
|
|
5475
5476
|
}
|
|
5476
5477
|
|
|
5477
5478
|
continue $sm;
|
|
5478
5479
|
case 1:
|
|
5479
|
-
this.
|
|
5480
|
+
this.l1q_1 = suspendResult;
|
|
5480
5481
|
this.k7_1 = 3;
|
|
5481
5482
|
this.j7_1 = 4;
|
|
5482
5483
|
continue $sm;
|
|
@@ -5486,7 +5487,7 @@
|
|
|
5486
5487
|
if (tmp_0 instanceof Error) {
|
|
5487
5488
|
var e = this.m7_1;
|
|
5488
5489
|
var tmp_1 = this;
|
|
5489
|
-
var this_0 = this.
|
|
5490
|
+
var this_0 = this.k1q_1;
|
|
5490
5491
|
var tmp_2;
|
|
5491
5492
|
if (charSequenceLength(this_0) === 0) {
|
|
5492
5493
|
tmp_2 = '<unnamed bytes>';
|
|
@@ -5503,7 +5504,7 @@
|
|
|
5503
5504
|
throw this.m7_1;
|
|
5504
5505
|
case 4:
|
|
5505
5506
|
this.k7_1 = 3;
|
|
5506
|
-
var bitmap = this.
|
|
5507
|
+
var bitmap = this.l1q_1;
|
|
5507
5508
|
l$ret$3: do {
|
|
5508
5509
|
var tmp$ret$0;
|
|
5509
5510
|
l$ret$1: do {
|
|
@@ -5551,7 +5552,7 @@
|
|
|
5551
5552
|
};
|
|
5552
5553
|
function $decodeWebpNodeCOROUTINE$(buffer, resultContinuation) {
|
|
5553
5554
|
CoroutineImpl.call(this, resultContinuation);
|
|
5554
|
-
this.
|
|
5555
|
+
this.u1q_1 = buffer;
|
|
5555
5556
|
}
|
|
5556
5557
|
protoOf($decodeWebpNodeCOROUTINE$).r7 = function () {
|
|
5557
5558
|
var suspendResult = this.l7_1;
|
|
@@ -5570,7 +5571,7 @@
|
|
|
5570
5571
|
continue $sm;
|
|
5571
5572
|
case 1:
|
|
5572
5573
|
var decode = suspendResult;
|
|
5573
|
-
var resultPromise = decode(this.
|
|
5574
|
+
var resultPromise = decode(this.u1q_1);
|
|
5574
5575
|
this.j7_1 = 2;
|
|
5575
5576
|
suspendResult = await_0(resultPromise, this);
|
|
5576
5577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -5596,7 +5597,7 @@
|
|
|
5596
5597
|
};
|
|
5597
5598
|
function $fetchTileBytesCOROUTINE$(url, resultContinuation) {
|
|
5598
5599
|
CoroutineImpl.call(this, resultContinuation);
|
|
5599
|
-
this.
|
|
5600
|
+
this.d1r_1 = url;
|
|
5600
5601
|
}
|
|
5601
5602
|
protoOf($fetchTileBytesCOROUTINE$).r7 = function () {
|
|
5602
5603
|
var suspendResult = this.l7_1;
|
|
@@ -5608,14 +5609,14 @@
|
|
|
5608
5609
|
this.k7_1 = 5;
|
|
5609
5610
|
if (get_isNode()) {
|
|
5610
5611
|
this.j7_1 = 2;
|
|
5611
|
-
suspendResult = await_0(fetchUrlNode(this.
|
|
5612
|
+
suspendResult = await_0(fetchUrlNode(this.d1r_1), this);
|
|
5612
5613
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5613
5614
|
return suspendResult;
|
|
5614
5615
|
}
|
|
5615
5616
|
continue $sm;
|
|
5616
5617
|
} else {
|
|
5617
5618
|
this.j7_1 = 1;
|
|
5618
|
-
suspendResult = await_0(fetchUrlBrowser(this.
|
|
5619
|
+
suspendResult = await_0(fetchUrlBrowser(this.d1r_1), this);
|
|
5619
5620
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5620
5621
|
return suspendResult;
|
|
5621
5622
|
}
|
|
@@ -5623,16 +5624,16 @@
|
|
|
5623
5624
|
}
|
|
5624
5625
|
|
|
5625
5626
|
case 1:
|
|
5626
|
-
this.
|
|
5627
|
+
this.e1r_1 = suspendResult;
|
|
5627
5628
|
this.j7_1 = 3;
|
|
5628
5629
|
continue $sm;
|
|
5629
5630
|
case 2:
|
|
5630
|
-
this.
|
|
5631
|
+
this.e1r_1 = suspendResult;
|
|
5631
5632
|
this.j7_1 = 3;
|
|
5632
5633
|
continue $sm;
|
|
5633
5634
|
case 3:
|
|
5634
|
-
var res = this.
|
|
5635
|
-
requireOk(res, this.
|
|
5635
|
+
var res = this.e1r_1;
|
|
5636
|
+
requireOk(res, this.d1r_1);
|
|
5636
5637
|
this.j7_1 = 4;
|
|
5637
5638
|
suspendResult = await_0(responseArrayBuffer(res), this);
|
|
5638
5639
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -5675,7 +5676,7 @@
|
|
|
5675
5676
|
function fetchTileBytes$ref_0() {
|
|
5676
5677
|
var i = new fetchTileBytes$ref();
|
|
5677
5678
|
return constructCallableReference(function (p0, $completion) {
|
|
5678
|
-
return i.
|
|
5679
|
+
return i.c1m(p0, $completion);
|
|
5679
5680
|
}, 1, 1, 5, 'fetchTileBytes');
|
|
5680
5681
|
}
|
|
5681
5682
|
//region block: init
|