@glandais/vcyclist-engine 6.4.0 → 6.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,7 +28,7 @@
28
28
  var toNumber = kotlin_kotlin.$_$.x6;
29
29
  var CoroutineImpl = kotlin_kotlin.$_$.z5;
30
30
  var Unit_instance = kotlin_kotlin.$_$.k1;
31
- var THROW_CCE = kotlin_kotlin.$_$.mb;
31
+ var THROW_CCE = kotlin_kotlin.$_$.ob;
32
32
  var MutableEntry = kotlin_kotlin.$_$.w2;
33
33
  var isInterface = kotlin_kotlin.$_$.z7;
34
34
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.k5;
@@ -45,7 +45,7 @@
45
45
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m1;
46
46
  var listOf = kotlin_kotlin.$_$.g4;
47
47
  var numberToInt = kotlin_kotlin.$_$.e8;
48
- var Enum = kotlin_kotlin.$_$.cb;
48
+ var Enum = kotlin_kotlin.$_$.eb;
49
49
  var charSequenceLength = kotlin_kotlin.$_$.f7;
50
50
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.d;
51
51
  var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.i;
@@ -53,9 +53,9 @@
53
53
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.h2;
54
54
  var FloatCompanionObject_instance = kotlin_kotlin.$_$.d1;
55
55
  var floatFromBits = kotlin_kotlin.$_$.l7;
56
- var isNaN_0 = kotlin_kotlin.$_$.zb;
56
+ var isNaN_0 = kotlin_kotlin.$_$.bc;
57
57
  var roundToLong = kotlin_kotlin.$_$.m8;
58
- var Long = kotlin_kotlin.$_$.hb;
58
+ var Long = kotlin_kotlin.$_$.jb;
59
59
  var coerceIn = kotlin_kotlin.$_$.u8;
60
60
  var convertToInt = kotlin_kotlin.$_$.k6;
61
61
  var initMetadataForInterface = kotlin_kotlin.$_$.v7;
@@ -69,7 +69,7 @@
69
69
  var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.i2;
70
70
  var coerceIn_1 = kotlin_kotlin.$_$.t8;
71
71
  var objectCreate = kotlin_kotlin.$_$.f8;
72
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.bc;
72
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.dc;
73
73
  var KFunctionImpl = kotlin_kotlin.$_$.z8;
74
74
  var initMetadataForFunctionReference = kotlin_kotlin.$_$.u7;
75
75
  var getStringHashCode = kotlin_kotlin.$_$.p7;
@@ -82,7 +82,7 @@
82
82
  var async = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
83
83
  var awaitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
84
84
  var coroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
85
- var Exception = kotlin_kotlin.$_$.eb;
85
+ var Exception = kotlin_kotlin.$_$.gb;
86
86
  var Exception_init_$Init$ = kotlin_kotlin.$_$.b2;
87
87
  var captureStack = kotlin_kotlin.$_$.b7;
88
88
  var KtMap = kotlin_kotlin.$_$.u2;
@@ -96,14 +96,18 @@
96
96
  var round = kotlin_kotlin.$_$.n8;
97
97
  var replace = kotlin_kotlin.$_$.ea;
98
98
  var contains = kotlin_kotlin.$_$.m9;
99
- var IllegalStateException = kotlin_kotlin.$_$.gb;
100
- var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.g2;
101
99
  var Monotonic_instance = kotlin_kotlin.$_$.h1;
100
+ var IllegalStateException = kotlin_kotlin.$_$.ib;
101
+ var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.g2;
102
102
  var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
103
- var shiftLeft = kotlin_kotlin.$_$.t6;
104
- var multiply = kotlin_kotlin.$_$.q6;
103
+ var hashCode = kotlin_kotlin.$_$.q7;
104
+ var HashMap_init_$Create$ = kotlin_kotlin.$_$.p1;
105
+ var substringAfter = kotlin_kotlin.$_$.ka;
106
+ var substringBefore = kotlin_kotlin.$_$.ma;
105
107
  var ValueTimeMark__elapsedNow_impl_eonqvs = kotlin_kotlin.$_$.c;
106
108
  var _Duration___get_inWholeMilliseconds__impl__msfiry = kotlin_kotlin.$_$.b;
109
+ var shiftLeft = kotlin_kotlin.$_$.t6;
110
+ var multiply = kotlin_kotlin.$_$.q6;
107
111
  var GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
108
112
  var promise = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
109
113
  var sorted = kotlin_kotlin.$_$.x4;
@@ -111,11 +115,11 @@
111
115
  var KProperty0 = kotlin_kotlin.$_$.b9;
112
116
  var getPropertyCallableRef = kotlin_kotlin.$_$.o7;
113
117
  var isCharSequence = kotlin_kotlin.$_$.y7;
114
- var trim = kotlin_kotlin.$_$.xa;
115
- var toLongOrNull = kotlin_kotlin.$_$.sa;
118
+ var trim = kotlin_kotlin.$_$.za;
119
+ var toLongOrNull = kotlin_kotlin.$_$.ua;
116
120
  var isNumber = kotlin_kotlin.$_$.a8;
117
121
  var await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
118
- var lazy = kotlin_kotlin.$_$.ac;
122
+ var lazy = kotlin_kotlin.$_$.cc;
119
123
  //endregion
120
124
  //region block: pre-declaration
121
125
  initMetadataForClass(SmoothingOptions, 'SmoothingOptions', SmoothingOptions);
@@ -171,6 +175,9 @@
171
175
  initMetadataForClass(TileFetchException, 'TileFetchException', VOID, IllegalStateException);
172
176
  initMetadataForCoroutine($awaitTurnCOROUTINE$, CoroutineImpl);
173
177
  initMetadataForClass(RequestPacer, 'RequestPacer', VOID, VOID, VOID, [0]);
178
+ initMetadataForClass(Key, 'Key');
179
+ initMetadataForCoroutine($ofCOROUTINE$, CoroutineImpl);
180
+ initMetadataForObject(HostPacers, 'HostPacers', VOID, VOID, VOID, [3]);
174
181
  initMetadataForFunctionReference(fetchTileBytes$ref, KFunctionImpl, VOID, [1]);
175
182
  initMetadataForLambda(pacedTileBytesFetcher$slambda, CoroutineImpl, VOID, [1]);
176
183
  initMetadataForClass(TileCoordinates, 'TileCoordinates');
@@ -2847,6 +2854,16 @@
2847
2854
  protoOf(TileManager).v13 = function (tileCoords, $completion) {
2848
2855
  return this.u13_1.i1c(tileCoords, $completion);
2849
2856
  };
2857
+ function get_processClock() {
2858
+ _init_properties_TileRequestPacing_kt__e3tnun();
2859
+ return processClock;
2860
+ }
2861
+ var processClock;
2862
+ function monotonicMillis() {
2863
+ _init_properties_TileRequestPacing_kt__e3tnun();
2864
+ var origin = Monotonic_instance.va();
2865
+ return monotonicMillis$lambda(origin);
2866
+ }
2850
2867
  function pacedTileBytesFetcher(maxRequestsPerSecond, fetch, maxAttempts, now) {
2851
2868
  var tmp;
2852
2869
  if (fetch === VOID) {
@@ -2856,7 +2873,8 @@
2856
2873
  }
2857
2874
  fetch = tmp;
2858
2875
  maxAttempts = maxAttempts === VOID ? 6 : maxAttempts;
2859
- now = now === VOID ? monotonicMillis() : now;
2876
+ now = now === VOID ? get_processClock() : now;
2877
+ _init_properties_TileRequestPacing_kt__e3tnun();
2860
2878
  // Inline function 'kotlin.require' call
2861
2879
  if (!(maxRequestsPerSecond >= 0)) {
2862
2880
  var message = 'maxRequestsPerSecond must be >= 0, was ' + maxRequestsPerSecond;
@@ -2867,8 +2885,7 @@
2867
2885
  var message_0 = 'maxAttempts must be >= 1, was ' + maxAttempts;
2868
2886
  throw IllegalArgumentException_init_$Create$(toString(message_0));
2869
2887
  }
2870
- var pacer = maxRequestsPerSecond > 0 ? new RequestPacer(maxRequestsPerSecond, now) : null;
2871
- return pacedTileBytesFetcher$slambda_0(pacer, fetch, maxAttempts, null);
2888
+ return pacedTileBytesFetcher$slambda_0(maxRequestsPerSecond, now, fetch, maxAttempts, null);
2872
2889
  }
2873
2890
  function TileFetchException(url, status, retryAfterSeconds) {
2874
2891
  retryAfterSeconds = retryAfterSeconds === VOID ? null : retryAfterSeconds;
@@ -2878,10 +2895,6 @@
2878
2895
  this.d1d_1 = status;
2879
2896
  this.e1d_1 = retryAfterSeconds;
2880
2897
  }
2881
- function monotonicMillis() {
2882
- var origin = Monotonic_instance.va();
2883
- return monotonicMillis$lambda(origin);
2884
- }
2885
2898
  function $awaitTurnCOROUTINE$(_this__u8e3s4, resultContinuation) {
2886
2899
  CoroutineImpl.call(this, resultContinuation);
2887
2900
  this.n1d_1 = _this__u8e3s4;
@@ -2968,29 +2981,150 @@
2968
2981
  tmp.j7_1 = null;
2969
2982
  return tmp.o7();
2970
2983
  };
2984
+ function Key(host, perSecond, clock) {
2985
+ this.v1d_1 = host;
2986
+ this.w1d_1 = perSecond;
2987
+ this.x1d_1 = clock;
2988
+ }
2989
+ protoOf(Key).toString = function () {
2990
+ return 'Key(host=' + this.v1d_1 + ', perSecond=' + this.w1d_1 + ', clock=' + toString(this.x1d_1) + ')';
2991
+ };
2992
+ protoOf(Key).hashCode = function () {
2993
+ var result = getStringHashCode(this.v1d_1);
2994
+ result = imul(result, 31) + this.w1d_1 | 0;
2995
+ result = imul(result, 31) + hashCode(this.x1d_1) | 0;
2996
+ return result;
2997
+ };
2998
+ protoOf(Key).equals = function (other) {
2999
+ if (this === other)
3000
+ return true;
3001
+ if (!(other instanceof Key))
3002
+ return false;
3003
+ if (!(this.v1d_1 === other.v1d_1))
3004
+ return false;
3005
+ if (!(this.w1d_1 === other.w1d_1))
3006
+ return false;
3007
+ if (!equals(this.x1d_1, other.x1d_1))
3008
+ return false;
3009
+ return true;
3010
+ };
3011
+ function $ofCOROUTINE$(_this__u8e3s4, host, perSecond, clock, resultContinuation) {
3012
+ CoroutineImpl.call(this, resultContinuation);
3013
+ this.g1e_1 = _this__u8e3s4;
3014
+ this.h1e_1 = host;
3015
+ this.i1e_1 = perSecond;
3016
+ this.j1e_1 = clock;
3017
+ }
3018
+ protoOf($ofCOROUTINE$).o7 = function () {
3019
+ var suspendResult = this.i7_1;
3020
+ $sm: do
3021
+ try {
3022
+ var tmp = this.g7_1;
3023
+ switch (tmp) {
3024
+ case 0:
3025
+ this.h7_1 = 2;
3026
+ this.l1e_1 = this.g1e_1.m1e_1;
3027
+ this.k1e_1 = null;
3028
+ this.g7_1 = 1;
3029
+ suspendResult = this.l1e_1.rv(this.k1e_1, this);
3030
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
3031
+ return suspendResult;
3032
+ }
3033
+
3034
+ continue $sm;
3035
+ case 1:
3036
+ var tmp$ret$0 = Unit_instance;
3037
+ l$ret$1: do {
3038
+ var tmp_0;
3039
+ try {
3040
+ var tmp0 = HostPacers_getInstance().n1e_1;
3041
+ var key = new Key(this.h1e_1, this.i1e_1, this.j1e_1);
3042
+ var value = tmp0.q1(key);
3043
+ var tmp_1;
3044
+ if (value == null) {
3045
+ var answer = new RequestPacer(this.i1e_1, this.j1e_1);
3046
+ tmp0.s3(key, answer);
3047
+ tmp_1 = answer;
3048
+ } else {
3049
+ tmp_1 = value;
3050
+ }
3051
+ tmp$ret$0 = tmp_1;
3052
+ break l$ret$1;
3053
+ } catch ($p) {
3054
+ var tmp_2;
3055
+ var t = $p;
3056
+ this.l1e_1.cv(this.k1e_1);
3057
+ throw t;
3058
+ }
3059
+ }
3060
+ while (false);
3061
+ var tmp_3 = tmp$ret$0;
3062
+ this.l1e_1.cv(this.k1e_1);
3063
+ return tmp_3;
3064
+ case 2:
3065
+ throw this.j7_1;
3066
+ }
3067
+ } catch ($p_0) {
3068
+ var e = $p_0;
3069
+ if (this.h7_1 === 2) {
3070
+ throw e;
3071
+ } else {
3072
+ this.g7_1 = this.h7_1;
3073
+ this.j7_1 = e;
3074
+ }
3075
+ }
3076
+ while (true);
3077
+ };
3078
+ function HostPacers() {
3079
+ HostPacers_instance = this;
3080
+ this.m1e_1 = Mutex();
3081
+ this.n1e_1 = HashMap_init_$Create$();
3082
+ }
3083
+ protoOf(HostPacers).o1e = function (host, perSecond, clock, $completion) {
3084
+ var tmp = new $ofCOROUTINE$(this, host, perSecond, clock, $completion);
3085
+ tmp.i7_1 = Unit_instance;
3086
+ tmp.j7_1 = null;
3087
+ return tmp.o7();
3088
+ };
3089
+ var HostPacers_instance;
3090
+ function HostPacers_getInstance() {
3091
+ if (HostPacers_instance == null)
3092
+ new HostPacers();
3093
+ return HostPacers_instance;
3094
+ }
3095
+ function hostOf(url) {
3096
+ _init_properties_TileRequestPacing_kt__e3tnun();
3097
+ return substringBefore(substringBefore(substringAfter(url, '://'), _Char___init__impl__6a9atx(47)), _Char___init__impl__6a9atx(63));
3098
+ }
3099
+ function monotonicMillis$lambda($origin) {
3100
+ return function () {
3101
+ return _Duration___get_inWholeMilliseconds__impl__msfiry(ValueTimeMark__elapsedNow_impl_eonqvs($origin));
3102
+ };
3103
+ }
2971
3104
  function fetchTileBytes$ref() {
2972
3105
  KFunctionImpl.call(this, 1, 2, 4);
2973
3106
  }
2974
- protoOf(fetchTileBytes$ref).y1d = function (p0, $completion) {
3107
+ protoOf(fetchTileBytes$ref).s1e = function (p0, $completion) {
2975
3108
  return fetchTileBytes(p0, $completion);
2976
3109
  };
2977
3110
  protoOf(fetchTileBytes$ref).w7 = function (p1, $completion) {
2978
- return this.y1d((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
3111
+ return this.s1e((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2979
3112
  };
2980
- function pacedTileBytesFetcher$slambda($pacer, $fetch, $maxAttempts, resultContinuation) {
2981
- this.h1e_1 = $pacer;
2982
- this.i1e_1 = $fetch;
2983
- this.j1e_1 = $maxAttempts;
3113
+ function pacedTileBytesFetcher$slambda($maxRequestsPerSecond, $now, $fetch, $maxAttempts, resultContinuation) {
3114
+ this.b1f_1 = $maxRequestsPerSecond;
3115
+ this.c1f_1 = $now;
3116
+ this.d1f_1 = $fetch;
3117
+ this.e1f_1 = $maxAttempts;
2984
3118
  CoroutineImpl.call(this, resultContinuation);
2985
3119
  }
2986
- protoOf(pacedTileBytesFetcher$slambda).y1d = function (url, $completion) {
3120
+ protoOf(pacedTileBytesFetcher$slambda).s1e = function (url, $completion) {
2987
3121
  var tmp = this.u16(url, $completion);
2988
3122
  tmp.i7_1 = Unit_instance;
2989
3123
  tmp.j7_1 = null;
2990
3124
  return tmp.o7();
2991
3125
  };
2992
3126
  protoOf(pacedTileBytesFetcher$slambda).w7 = function (p1, $completion) {
2993
- return this.y1d((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
3127
+ return this.s1e((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
2994
3128
  };
2995
3129
  protoOf(pacedTileBytesFetcher$slambda).o7 = function () {
2996
3130
  var suspendResult = this.i7_1;
@@ -2999,24 +3133,43 @@
2999
3133
  var tmp = this.g7_1;
3000
3134
  switch (tmp) {
3001
3135
  case 0:
3002
- this.h7_1 = 9;
3003
- this.n1e_1 = 1;
3004
- this.l1e_1 = null;
3005
- this.g7_1 = 1;
3006
- continue $sm;
3136
+ this.h7_1 = 11;
3137
+ if (this.b1f_1 > 0) {
3138
+ this.g7_1 = 1;
3139
+ suspendResult = HostPacers_getInstance().o1e(hostOf(this.f1f_1), this.b1f_1, this.c1f_1, this);
3140
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
3141
+ return suspendResult;
3142
+ }
3143
+ continue $sm;
3144
+ } else {
3145
+ this.l1f_1 = null;
3146
+ this.g7_1 = 2;
3147
+ continue $sm;
3148
+ }
3149
+
3007
3150
  case 1:
3008
- if (!(this.l1e_1 == null)) {
3009
- this.g7_1 = 8;
3151
+ this.l1f_1 = suspendResult;
3152
+ this.g7_1 = 2;
3153
+ continue $sm;
3154
+ case 2:
3155
+ this.k1f_1 = this.l1f_1;
3156
+ this.i1f_1 = 1;
3157
+ this.g1f_1 = null;
3158
+ this.g7_1 = 3;
3159
+ continue $sm;
3160
+ case 3:
3161
+ if (!(this.g1f_1 == null)) {
3162
+ this.g7_1 = 10;
3010
3163
  continue $sm;
3011
3164
  }
3012
3165
 
3013
- var tmp0_safe_receiver = this.h1e_1;
3166
+ var tmp0_safe_receiver = this.k1f_1;
3014
3167
  if (tmp0_safe_receiver == null) {
3015
- this.o1e_1 = null;
3016
- this.g7_1 = 3;
3168
+ this.j1f_1 = null;
3169
+ this.g7_1 = 5;
3017
3170
  continue $sm;
3018
3171
  } else {
3019
- this.g7_1 = 2;
3172
+ this.g7_1 = 4;
3020
3173
  suspendResult = tmp0_safe_receiver.u1d(this);
3021
3174
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3022
3175
  return suspendResult;
@@ -3024,37 +3177,37 @@
3024
3177
  continue $sm;
3025
3178
  }
3026
3179
 
3027
- case 2:
3180
+ case 4:
3028
3181
  var tmp_0 = this;
3029
- tmp_0.o1e_1 = Unit_instance;
3030
- this.g7_1 = 3;
3182
+ tmp_0.j1f_1 = Unit_instance;
3183
+ this.g7_1 = 5;
3031
3184
  continue $sm;
3032
- case 3:
3033
- this.h7_1 = 5;
3034
- this.g7_1 = 4;
3035
- suspendResult = this.i1e_1(this.k1e_1, this);
3185
+ case 5:
3186
+ this.h7_1 = 7;
3187
+ this.g7_1 = 6;
3188
+ suspendResult = this.d1f_1(this.f1f_1, this);
3036
3189
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3037
3190
  return suspendResult;
3038
3191
  }
3039
3192
 
3040
3193
  continue $sm;
3041
- case 4:
3194
+ case 6:
3042
3195
  var tmp_1 = this;
3043
- this.l1e_1 = suspendResult;
3044
- tmp_1.m1e_1 = Unit_instance;
3045
- this.h7_1 = 9;
3046
- this.g7_1 = 7;
3196
+ this.g1f_1 = suspendResult;
3197
+ tmp_1.h1f_1 = Unit_instance;
3198
+ this.h7_1 = 11;
3199
+ this.g7_1 = 9;
3047
3200
  continue $sm;
3048
- case 5:
3049
- this.h7_1 = 9;
3201
+ case 7:
3202
+ this.h7_1 = 11;
3050
3203
  var tmp_2 = this.j7_1;
3051
3204
  if (tmp_2 instanceof TileFetchException) {
3052
3205
  var e = this.j7_1;
3053
- if (!(e.d1d_1 === 429) && !(e.d1d_1 === 503) || this.n1e_1 >= this.j1e_1)
3206
+ if (!(e.d1d_1 === 429) && !(e.d1d_1 === 503) || this.i1f_1 >= this.e1f_1)
3054
3207
  throw e;
3055
- this.g7_1 = 6;
3208
+ this.g7_1 = 8;
3056
3209
  var tmp1_elvis_lhs = e.e1d_1;
3057
- suspendResult = delay(multiply(tmp1_elvis_lhs == null ? shiftLeft(new Long(1, 0), this.n1e_1 - 1 | 0) : tmp1_elvis_lhs, new Long(1000, 0)), this);
3210
+ suspendResult = delay(multiply(tmp1_elvis_lhs == null ? shiftLeft(new Long(1, 0), this.i1f_1 - 1 | 0) : tmp1_elvis_lhs, new Long(1000, 0)), this);
3058
3211
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3059
3212
  return suspendResult;
3060
3213
  }
@@ -3063,25 +3216,25 @@
3063
3216
  throw this.j7_1;
3064
3217
  }
3065
3218
 
3066
- case 6:
3219
+ case 8:
3067
3220
  var tmp_3 = this;
3068
- var _unary__edvuaz = this.n1e_1;
3069
- this.n1e_1 = _unary__edvuaz + 1 | 0;
3070
- tmp_3.m1e_1 = _unary__edvuaz;
3071
- this.g7_1 = 7;
3072
- continue $sm;
3073
- case 7:
3074
- this.h7_1 = 9;
3075
- this.g7_1 = 1;
3221
+ var _unary__edvuaz = this.i1f_1;
3222
+ this.i1f_1 = _unary__edvuaz + 1 | 0;
3223
+ tmp_3.h1f_1 = _unary__edvuaz;
3224
+ this.g7_1 = 9;
3076
3225
  continue $sm;
3077
- case 8:
3078
- return this.l1e_1;
3079
3226
  case 9:
3227
+ this.h7_1 = 11;
3228
+ this.g7_1 = 3;
3229
+ continue $sm;
3230
+ case 10:
3231
+ return this.g1f_1;
3232
+ case 11:
3080
3233
  throw this.j7_1;
3081
3234
  }
3082
3235
  } catch ($p) {
3083
3236
  var e_0 = $p;
3084
- if (this.h7_1 === 9) {
3237
+ if (this.h7_1 === 11) {
3085
3238
  throw e_0;
3086
3239
  } else {
3087
3240
  this.g7_1 = this.h7_1;
@@ -3091,20 +3244,22 @@
3091
3244
  while (true);
3092
3245
  };
3093
3246
  protoOf(pacedTileBytesFetcher$slambda).u16 = function (url, completion) {
3094
- var i = new pacedTileBytesFetcher$slambda(this.h1e_1, this.i1e_1, this.j1e_1, completion);
3095
- i.k1e_1 = url;
3247
+ var i = new pacedTileBytesFetcher$slambda(this.b1f_1, this.c1f_1, this.d1f_1, this.e1f_1, completion);
3248
+ i.f1f_1 = url;
3096
3249
  return i;
3097
3250
  };
3098
- function pacedTileBytesFetcher$slambda_0($pacer, $fetch, $maxAttempts, resultContinuation) {
3099
- var i = new pacedTileBytesFetcher$slambda($pacer, $fetch, $maxAttempts, resultContinuation);
3251
+ function pacedTileBytesFetcher$slambda_0($maxRequestsPerSecond, $now, $fetch, $maxAttempts, resultContinuation) {
3252
+ var i = new pacedTileBytesFetcher$slambda($maxRequestsPerSecond, $now, $fetch, $maxAttempts, resultContinuation);
3100
3253
  return constructCallableReference(function (url, $completion) {
3101
- return i.y1d(url, $completion);
3254
+ return i.s1e(url, $completion);
3102
3255
  }, 1);
3103
3256
  }
3104
- function monotonicMillis$lambda($origin) {
3105
- return function () {
3106
- return _Duration___get_inWholeMilliseconds__impl__msfiry(ValueTimeMark__elapsedNow_impl_eonqvs($origin));
3107
- };
3257
+ var properties_initialized_TileRequestPacing_kt_zdwibl;
3258
+ function _init_properties_TileRequestPacing_kt__e3tnun() {
3259
+ if (!properties_initialized_TileRequestPacing_kt_zdwibl) {
3260
+ properties_initialized_TileRequestPacing_kt_zdwibl = true;
3261
+ processClock = monotonicMillis();
3262
+ }
3108
3263
  }
3109
3264
  function TileCoordinates(x, y, z) {
3110
3265
  this.zz_1 = x;
@@ -3224,7 +3379,7 @@
3224
3379
  };
3225
3380
  function Companion_1() {
3226
3381
  Companion_instance_2 = this;
3227
- this.p1e_1 = new Vector3D(0.0, 0.0, 0.0);
3382
+ this.m1f_1 = new Vector3D(0.0, 0.0, 0.0);
3228
3383
  }
3229
3384
  var Companion_instance_2;
3230
3385
  function Companion_getInstance_1() {
@@ -3238,7 +3393,7 @@
3238
3393
  this.k11_1 = y;
3239
3394
  this.l11_1 = z;
3240
3395
  }
3241
- protoOf(Vector3D).q1e = function (other) {
3396
+ protoOf(Vector3D).n1f = function (other) {
3242
3397
  var tmp0 = this.j11_1 - other.j11_1;
3243
3398
  // Inline function 'kotlin.math.hypot' call
3244
3399
  var y = this.k11_1 - other.k11_1;
@@ -3247,28 +3402,28 @@
3247
3402
  var y_0 = this.l11_1 - other.l11_1;
3248
3403
  return hypot(tmp0_0, y_0);
3249
3404
  };
3250
- protoOf(Vector3D).r1e = function (other) {
3405
+ protoOf(Vector3D).o1f = function (other) {
3251
3406
  return new Vector3D(this.j11_1 - other.j11_1, this.k11_1 - other.k11_1, this.l11_1 - other.l11_1);
3252
3407
  };
3253
- protoOf(Vector3D).s1e = function (other) {
3408
+ protoOf(Vector3D).p1f = function (other) {
3254
3409
  return new Vector3D(this.j11_1 + other.j11_1, this.k11_1 + other.k11_1, this.l11_1 + other.l11_1);
3255
3410
  };
3256
- protoOf(Vector3D).t1e = function (scalar) {
3411
+ protoOf(Vector3D).q1f = function (scalar) {
3257
3412
  return new Vector3D(this.j11_1 * scalar, this.k11_1 * scalar, this.l11_1 * scalar);
3258
3413
  };
3259
- protoOf(Vector3D).u1e = function (other) {
3414
+ protoOf(Vector3D).r1f = function (other) {
3260
3415
  return this.j11_1 * other.j11_1 + this.k11_1 * other.k11_1 + this.l11_1 * other.l11_1;
3261
3416
  };
3262
3417
  protoOf(Vector3D).m11 = function (segmentStart, segmentEnd) {
3263
- var segmentVector = segmentEnd.r1e(segmentStart);
3264
- var segmentLengthSq = segmentVector.u1e(segmentVector);
3418
+ var segmentVector = segmentEnd.o1f(segmentStart);
3419
+ var segmentLengthSq = segmentVector.r1f(segmentVector);
3265
3420
  if (segmentLengthSq === 0.0)
3266
- return this.q1e(segmentStart);
3267
- var pointVector = this.r1e(segmentStart);
3268
- var projection = pointVector.u1e(segmentVector) / segmentLengthSq;
3421
+ return this.n1f(segmentStart);
3422
+ var pointVector = this.o1f(segmentStart);
3423
+ var projection = pointVector.r1f(segmentVector) / segmentLengthSq;
3269
3424
  var clamped = coerceIn_0(projection, 0.0, 1.0);
3270
- var closest = segmentStart.s1e(segmentVector.t1e(clamped));
3271
- return this.q1e(closest);
3425
+ var closest = segmentStart.p1f(segmentVector.q1f(clamped));
3426
+ return this.n1f(closest);
3272
3427
  };
3273
3428
  protoOf(Vector3D).toString = function () {
3274
3429
  return 'Vector3D(x=' + this.j11_1 + ', y=' + this.k11_1 + ', z=' + this.l11_1 + ')';
@@ -3425,20 +3580,20 @@
3425
3580
  return o;
3426
3581
  }
3427
3582
  function getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation) {
3428
- this.d1f_1 = $provider;
3429
- this.e1f_1 = $latitude;
3430
- this.f1f_1 = $longitude;
3431
- this.g1f_1 = $interpolation;
3583
+ this.a1g_1 = $provider;
3584
+ this.b1g_1 = $latitude;
3585
+ this.c1g_1 = $longitude;
3586
+ this.d1g_1 = $interpolation;
3432
3587
  CoroutineImpl.call(this, resultContinuation);
3433
3588
  }
3434
- protoOf(getElevation$slambda).i1f = function ($this$promise, $completion) {
3589
+ protoOf(getElevation$slambda).f1g = function ($this$promise, $completion) {
3435
3590
  var tmp = this.m18($this$promise, $completion);
3436
3591
  tmp.i7_1 = Unit_instance;
3437
3592
  tmp.j7_1 = null;
3438
3593
  return tmp.o7();
3439
3594
  };
3440
3595
  protoOf(getElevation$slambda).w7 = function (p1, $completion) {
3441
- return this.i1f((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
3596
+ return this.f1g((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
3442
3597
  };
3443
3598
  protoOf(getElevation$slambda).o7 = function () {
3444
3599
  var suspendResult = this.i7_1;
@@ -3449,7 +3604,7 @@
3449
3604
  case 0:
3450
3605
  this.h7_1 = 2;
3451
3606
  this.g7_1 = 1;
3452
- suspendResult = this.d1f_1.i15(this.e1f_1, this.f1f_1, this.g1f_1, this);
3607
+ suspendResult = this.a1g_1.i15(this.b1g_1, this.c1g_1, this.d1g_1, this);
3453
3608
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3454
3609
  return suspendResult;
3455
3610
  }
@@ -3472,30 +3627,30 @@
3472
3627
  while (true);
3473
3628
  };
3474
3629
  protoOf(getElevation$slambda).m18 = function ($this$promise, completion) {
3475
- var i = new getElevation$slambda(this.d1f_1, this.e1f_1, this.f1f_1, this.g1f_1, completion);
3476
- i.h1f_1 = $this$promise;
3630
+ var i = new getElevation$slambda(this.a1g_1, this.b1g_1, this.c1g_1, this.d1g_1, completion);
3631
+ i.e1g_1 = $this$promise;
3477
3632
  return i;
3478
3633
  };
3479
3634
  function getElevation$slambda_0($provider, $latitude, $longitude, $interpolation, resultContinuation) {
3480
3635
  var i = new getElevation$slambda($provider, $latitude, $longitude, $interpolation, resultContinuation);
3481
3636
  return constructCallableReference(function ($this$promise, $completion) {
3482
- return i.i1f($this$promise, $completion);
3637
+ return i.f1g($this$promise, $completion);
3483
3638
  }, 1);
3484
3639
  }
3485
3640
  function getElevationsAlong$slambda($path, $provider, $options, resultContinuation) {
3486
- this.r1f_1 = $path;
3487
- this.s1f_1 = $provider;
3488
- this.t1f_1 = $options;
3641
+ this.o1g_1 = $path;
3642
+ this.p1g_1 = $provider;
3643
+ this.q1g_1 = $options;
3489
3644
  CoroutineImpl.call(this, resultContinuation);
3490
3645
  }
3491
- protoOf(getElevationsAlong$slambda).v1f = function ($this$promise, $completion) {
3646
+ protoOf(getElevationsAlong$slambda).s1g = function ($this$promise, $completion) {
3492
3647
  var tmp = this.m18($this$promise, $completion);
3493
3648
  tmp.i7_1 = Unit_instance;
3494
3649
  tmp.j7_1 = null;
3495
3650
  return tmp.o7();
3496
3651
  };
3497
3652
  protoOf(getElevationsAlong$slambda).w7 = function (p1, $completion) {
3498
- return this.v1f((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
3653
+ return this.s1g((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
3499
3654
  };
3500
3655
  protoOf(getElevationsAlong$slambda).o7 = function () {
3501
3656
  var suspendResult = this.i7_1;
@@ -3505,7 +3660,7 @@
3505
3660
  switch (tmp) {
3506
3661
  case 0:
3507
3662
  this.h7_1 = 2;
3508
- var this_0 = this.r1f_1;
3663
+ var this_0 = this.o1g_1;
3509
3664
  var destination = ArrayList_init_$Create$_0(this_0.length);
3510
3665
  var inductionVariable = 0;
3511
3666
  var last = this_0.length;
@@ -3517,21 +3672,21 @@
3517
3672
 
3518
3673
  var coords = destination;
3519
3674
  this.g7_1 = 1;
3520
- var tmp0_safe_receiver = this.t1f_1;
3675
+ var tmp0_safe_receiver = this.q1g_1;
3521
3676
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.step;
3522
3677
  var tmp_0 = tmp1_elvis_lhs == null ? 10.0 : tmp1_elvis_lhs;
3523
- var tmp2_safe_receiver = this.t1f_1;
3678
+ var tmp2_safe_receiver = this.q1g_1;
3524
3679
  var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.minDistance;
3525
3680
  var tmp_1 = tmp3_elvis_lhs == null ? 1.0 : tmp3_elvis_lhs;
3526
- var tmp4_safe_receiver = this.t1f_1;
3681
+ var tmp4_safe_receiver = this.q1g_1;
3527
3682
  var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.interpolation;
3528
3683
  var tmp_2 = tmp5_elvis_lhs == null ? true : tmp5_elvis_lhs;
3529
- var tmp6_safe_receiver = this.t1f_1;
3684
+ var tmp6_safe_receiver = this.q1g_1;
3530
3685
  var tmp7_safe_receiver = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.smoothingOptions;
3531
3686
  var tmp_3 = tmp7_safe_receiver == null ? null : toKotlin(tmp7_safe_receiver);
3532
- var tmp8_safe_receiver = this.t1f_1;
3687
+ var tmp8_safe_receiver = this.q1g_1;
3533
3688
  var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.filterOptions;
3534
- suspendResult = this.s1f_1.f16(coords, tmp_0, tmp_1, tmp_2, tmp_3, tmp9_safe_receiver == null ? null : toKotlin_0(tmp9_safe_receiver), this);
3689
+ suspendResult = this.p1g_1.f16(coords, tmp_0, tmp_1, tmp_2, tmp_3, tmp9_safe_receiver == null ? null : toKotlin_0(tmp9_safe_receiver), this);
3535
3690
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3536
3691
  return suspendResult;
3537
3692
  }
@@ -3565,14 +3720,14 @@
3565
3720
  while (true);
3566
3721
  };
3567
3722
  protoOf(getElevationsAlong$slambda).m18 = function ($this$promise, completion) {
3568
- var i = new getElevationsAlong$slambda(this.r1f_1, this.s1f_1, this.t1f_1, completion);
3569
- i.u1f_1 = $this$promise;
3723
+ var i = new getElevationsAlong$slambda(this.o1g_1, this.p1g_1, this.q1g_1, completion);
3724
+ i.r1g_1 = $this$promise;
3570
3725
  return i;
3571
3726
  };
3572
3727
  function getElevationsAlong$slambda_0($path, $provider, $options, resultContinuation) {
3573
3728
  var i = new getElevationsAlong$slambda($path, $provider, $options, resultContinuation);
3574
3729
  return constructCallableReference(function ($this$promise, $completion) {
3575
- return i.v1f($this$promise, $completion);
3730
+ return i.s1g($this$promise, $completion);
3576
3731
  }, 1);
3577
3732
  }
3578
3733
  var properties_initialized_ElevationJsApi_kt_8pvyh6;
@@ -3726,7 +3881,7 @@
3726
3881
  }
3727
3882
  function $fetchAndDecodeTileCOROUTINE$(url, resultContinuation) {
3728
3883
  CoroutineImpl.call(this, resultContinuation);
3729
- this.e1g_1 = url;
3884
+ this.b1h_1 = url;
3730
3885
  }
3731
3886
  protoOf($fetchAndDecodeTileCOROUTINE$).o7 = function () {
3732
3887
  var suspendResult = this.i7_1;
@@ -3738,14 +3893,14 @@
3738
3893
  this.h7_1 = 4;
3739
3894
  if (get_isNode()) {
3740
3895
  this.g7_1 = 2;
3741
- suspendResult = decodeNode(this.e1g_1, this);
3896
+ suspendResult = decodeNode(this.b1h_1, this);
3742
3897
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3743
3898
  return suspendResult;
3744
3899
  }
3745
3900
  continue $sm;
3746
3901
  } else {
3747
3902
  this.g7_1 = 1;
3748
- suspendResult = decodeBrowser(this.e1g_1, this);
3903
+ suspendResult = decodeBrowser(this.b1h_1, this);
3749
3904
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3750
3905
  return suspendResult;
3751
3906
  }
@@ -3753,15 +3908,15 @@
3753
3908
  }
3754
3909
 
3755
3910
  case 1:
3756
- this.f1g_1 = suspendResult;
3911
+ this.c1h_1 = suspendResult;
3757
3912
  this.g7_1 = 3;
3758
3913
  continue $sm;
3759
3914
  case 2:
3760
- this.f1g_1 = suspendResult;
3915
+ this.c1h_1 = suspendResult;
3761
3916
  this.g7_1 = 3;
3762
3917
  continue $sm;
3763
3918
  case 3:
3764
- return this.f1g_1;
3919
+ return this.c1h_1;
3765
3920
  case 4:
3766
3921
  throw this.j7_1;
3767
3922
  }
@@ -3778,8 +3933,8 @@
3778
3933
  };
3779
3934
  function $decodeTileBytesCOROUTINE$(bytes, sourceUrl, resultContinuation) {
3780
3935
  CoroutineImpl.call(this, resultContinuation);
3781
- this.o1g_1 = bytes;
3782
- this.p1g_1 = sourceUrl;
3936
+ this.l1h_1 = bytes;
3937
+ this.m1h_1 = sourceUrl;
3783
3938
  }
3784
3939
  protoOf($decodeTileBytesCOROUTINE$).o7 = function () {
3785
3940
  var suspendResult = this.i7_1;
@@ -3791,14 +3946,14 @@
3791
3946
  this.h7_1 = 4;
3792
3947
  if (get_isNode()) {
3793
3948
  this.g7_1 = 2;
3794
- suspendResult = decodeBytesNode(this.o1g_1, this.p1g_1, this);
3949
+ suspendResult = decodeBytesNode(this.l1h_1, this.m1h_1, this);
3795
3950
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3796
3951
  return suspendResult;
3797
3952
  }
3798
3953
  continue $sm;
3799
3954
  } else {
3800
3955
  this.g7_1 = 1;
3801
- suspendResult = decodeBlob(blobOf(this.o1g_1), this.p1g_1, this);
3956
+ suspendResult = decodeBlob(blobOf(this.l1h_1), this.m1h_1, this);
3802
3957
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3803
3958
  return suspendResult;
3804
3959
  }
@@ -3806,15 +3961,15 @@
3806
3961
  }
3807
3962
 
3808
3963
  case 1:
3809
- this.q1g_1 = suspendResult;
3964
+ this.n1h_1 = suspendResult;
3810
3965
  this.g7_1 = 3;
3811
3966
  continue $sm;
3812
3967
  case 2:
3813
- this.q1g_1 = suspendResult;
3968
+ this.n1h_1 = suspendResult;
3814
3969
  this.g7_1 = 3;
3815
3970
  continue $sm;
3816
3971
  case 3:
3817
- return this.q1g_1;
3972
+ return this.n1h_1;
3818
3973
  case 4:
3819
3974
  throw this.j7_1;
3820
3975
  }
@@ -3831,7 +3986,7 @@
3831
3986
  };
3832
3987
  function $decodeNodeCOROUTINE$(url, resultContinuation) {
3833
3988
  CoroutineImpl.call(this, resultContinuation);
3834
- this.z1g_1 = url;
3989
+ this.w1h_1 = url;
3835
3990
  }
3836
3991
  protoOf($decodeNodeCOROUTINE$).o7 = function () {
3837
3992
  var suspendResult = this.i7_1;
@@ -3842,7 +3997,7 @@
3842
3997
  case 0:
3843
3998
  this.h7_1 = 4;
3844
3999
  this.g7_1 = 1;
3845
- suspendResult = await_0(fetchUrlNode(this.z1g_1), this);
4000
+ suspendResult = await_0(fetchUrlNode(this.w1h_1), this);
3846
4001
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3847
4002
  return suspendResult;
3848
4003
  }
@@ -3850,7 +4005,7 @@
3850
4005
  continue $sm;
3851
4006
  case 1:
3852
4007
  var res = suspendResult;
3853
- requireOk(res, this.z1g_1);
4008
+ requireOk(res, this.w1h_1);
3854
4009
  this.g7_1 = 2;
3855
4010
  suspendResult = await_0(responseArrayBuffer(res), this);
3856
4011
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -3886,7 +4041,7 @@
3886
4041
  };
3887
4042
  function $decodeBrowserCOROUTINE$(url, resultContinuation) {
3888
4043
  CoroutineImpl.call(this, resultContinuation);
3889
- this.i1h_1 = url;
4044
+ this.f1i_1 = url;
3890
4045
  }
3891
4046
  protoOf($decodeBrowserCOROUTINE$).o7 = function () {
3892
4047
  var suspendResult = this.i7_1;
@@ -3897,7 +4052,7 @@
3897
4052
  case 0:
3898
4053
  this.h7_1 = 4;
3899
4054
  this.g7_1 = 1;
3900
- suspendResult = await_0(fetchUrlBrowser(this.i1h_1), this);
4055
+ suspendResult = await_0(fetchUrlBrowser(this.f1i_1), this);
3901
4056
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3902
4057
  return suspendResult;
3903
4058
  }
@@ -3905,7 +4060,7 @@
3905
4060
  continue $sm;
3906
4061
  case 1:
3907
4062
  var res = suspendResult;
3908
- requireOk(res, this.i1h_1);
4063
+ requireOk(res, this.f1i_1);
3909
4064
  this.g7_1 = 2;
3910
4065
  suspendResult = await_0(res.blob(), this);
3911
4066
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -3916,7 +4071,7 @@
3916
4071
  case 2:
3917
4072
  var ARGUMENT = suspendResult;
3918
4073
  this.g7_1 = 3;
3919
- suspendResult = decodeBlob(ARGUMENT, this.i1h_1, this);
4074
+ suspendResult = decodeBlob(ARGUMENT, this.f1i_1, this);
3920
4075
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3921
4076
  return suspendResult;
3922
4077
  }
@@ -3940,8 +4095,8 @@
3940
4095
  };
3941
4096
  function $decodeBytesNodeCOROUTINE$(bytes, sourceUrl, resultContinuation) {
3942
4097
  CoroutineImpl.call(this, resultContinuation);
3943
- this.r1h_1 = bytes;
3944
- this.s1h_1 = sourceUrl;
4098
+ this.o1i_1 = bytes;
4099
+ this.p1i_1 = sourceUrl;
3945
4100
  }
3946
4101
  protoOf($decodeBytesNodeCOROUTINE$).o7 = function () {
3947
4102
  var suspendResult = this.i7_1;
@@ -3951,7 +4106,7 @@
3951
4106
  switch (tmp) {
3952
4107
  case 0:
3953
4108
  this.h7_1 = 4;
3954
- var view = this.r1h_1;
4109
+ var view = this.o1i_1;
3955
4110
  var buffer = view.buffer.slice(view.byteOffset, view.byteOffset + view.byteLength);
3956
4111
  this.h7_1 = 2;
3957
4112
  this.g7_1 = 1;
@@ -3962,7 +4117,7 @@
3962
4117
 
3963
4118
  continue $sm;
3964
4119
  case 1:
3965
- this.t1h_1 = suspendResult;
4120
+ this.q1i_1 = suspendResult;
3966
4121
  this.h7_1 = 4;
3967
4122
  this.g7_1 = 3;
3968
4123
  continue $sm;
@@ -3972,7 +4127,7 @@
3972
4127
  if (tmp_0 instanceof Error) {
3973
4128
  var e = this.j7_1;
3974
4129
  var tmp_1 = this;
3975
- var this_0 = this.s1h_1;
4130
+ var this_0 = this.p1i_1;
3976
4131
  var tmp_2;
3977
4132
  if (charSequenceLength(this_0) === 0) {
3978
4133
  tmp_2 = '<unnamed bytes>';
@@ -3987,7 +4142,7 @@
3987
4142
 
3988
4143
  case 3:
3989
4144
  this.h7_1 = 4;
3990
- var image = this.t1h_1;
4145
+ var image = this.q1i_1;
3991
4146
  return rawTileFromJsquash(image);
3992
4147
  case 4:
3993
4148
  throw this.j7_1;
@@ -4005,8 +4160,8 @@
4005
4160
  };
4006
4161
  function $decodeBlobCOROUTINE$(blob, sourceUrl, resultContinuation) {
4007
4162
  CoroutineImpl.call(this, resultContinuation);
4008
- this.c1i_1 = blob;
4009
- this.d1i_1 = sourceUrl;
4163
+ this.z1i_1 = blob;
4164
+ this.a1j_1 = sourceUrl;
4010
4165
  }
4011
4166
  protoOf($decodeBlobCOROUTINE$).o7 = function () {
4012
4167
  var suspendResult = this.i7_1;
@@ -4018,14 +4173,14 @@
4018
4173
  this.h7_1 = 3;
4019
4174
  this.h7_1 = 2;
4020
4175
  this.g7_1 = 1;
4021
- suspendResult = await_0(window.createImageBitmap(this.c1i_1), this);
4176
+ suspendResult = await_0(window.createImageBitmap(this.z1i_1), this);
4022
4177
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4023
4178
  return suspendResult;
4024
4179
  }
4025
4180
 
4026
4181
  continue $sm;
4027
4182
  case 1:
4028
- this.e1i_1 = suspendResult;
4183
+ this.b1j_1 = suspendResult;
4029
4184
  this.h7_1 = 3;
4030
4185
  this.g7_1 = 4;
4031
4186
  continue $sm;
@@ -4035,7 +4190,7 @@
4035
4190
  if (tmp_0 instanceof Error) {
4036
4191
  var e = this.j7_1;
4037
4192
  var tmp_1 = this;
4038
- var this_0 = this.d1i_1;
4193
+ var this_0 = this.a1j_1;
4039
4194
  var tmp_2;
4040
4195
  if (charSequenceLength(this_0) === 0) {
4041
4196
  tmp_2 = '<unnamed bytes>';
@@ -4052,7 +4207,7 @@
4052
4207
  throw this.j7_1;
4053
4208
  case 4:
4054
4209
  this.h7_1 = 3;
4055
- var bitmap = this.e1i_1;
4210
+ var bitmap = this.b1j_1;
4056
4211
  l$ret$3: do {
4057
4212
  var tmp$ret$0;
4058
4213
  l$ret$1: do {
@@ -4100,7 +4255,7 @@
4100
4255
  };
4101
4256
  function $decodeWebpNodeCOROUTINE$(buffer, resultContinuation) {
4102
4257
  CoroutineImpl.call(this, resultContinuation);
4103
- this.n1i_1 = buffer;
4258
+ this.k1j_1 = buffer;
4104
4259
  }
4105
4260
  protoOf($decodeWebpNodeCOROUTINE$).o7 = function () {
4106
4261
  var suspendResult = this.i7_1;
@@ -4119,7 +4274,7 @@
4119
4274
  continue $sm;
4120
4275
  case 1:
4121
4276
  var decode = suspendResult;
4122
- var resultPromise = decode(this.n1i_1);
4277
+ var resultPromise = decode(this.k1j_1);
4123
4278
  this.g7_1 = 2;
4124
4279
  suspendResult = await_0(resultPromise, this);
4125
4280
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -4145,7 +4300,7 @@
4145
4300
  };
4146
4301
  function $fetchTileBytesCOROUTINE$(url, resultContinuation) {
4147
4302
  CoroutineImpl.call(this, resultContinuation);
4148
- this.w1i_1 = url;
4303
+ this.t1j_1 = url;
4149
4304
  }
4150
4305
  protoOf($fetchTileBytesCOROUTINE$).o7 = function () {
4151
4306
  var suspendResult = this.i7_1;
@@ -4157,14 +4312,14 @@
4157
4312
  this.h7_1 = 5;
4158
4313
  if (get_isNode()) {
4159
4314
  this.g7_1 = 2;
4160
- suspendResult = await_0(fetchUrlNode(this.w1i_1), this);
4315
+ suspendResult = await_0(fetchUrlNode(this.t1j_1), this);
4161
4316
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4162
4317
  return suspendResult;
4163
4318
  }
4164
4319
  continue $sm;
4165
4320
  } else {
4166
4321
  this.g7_1 = 1;
4167
- suspendResult = await_0(fetchUrlBrowser(this.w1i_1), this);
4322
+ suspendResult = await_0(fetchUrlBrowser(this.t1j_1), this);
4168
4323
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4169
4324
  return suspendResult;
4170
4325
  }
@@ -4172,16 +4327,16 @@
4172
4327
  }
4173
4328
 
4174
4329
  case 1:
4175
- this.x1i_1 = suspendResult;
4330
+ this.u1j_1 = suspendResult;
4176
4331
  this.g7_1 = 3;
4177
4332
  continue $sm;
4178
4333
  case 2:
4179
- this.x1i_1 = suspendResult;
4334
+ this.u1j_1 = suspendResult;
4180
4335
  this.g7_1 = 3;
4181
4336
  continue $sm;
4182
4337
  case 3:
4183
- var res = this.x1i_1;
4184
- requireOk(res, this.w1i_1);
4338
+ var res = this.u1j_1;
4339
+ requireOk(res, this.t1j_1);
4185
4340
  this.g7_1 = 4;
4186
4341
  suspendResult = await_0(responseArrayBuffer(res), this);
4187
4342
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -4224,7 +4379,7 @@
4224
4379
  function fetchTileBytes$ref_0() {
4225
4380
  var i = new fetchTileBytes$ref();
4226
4381
  return constructCallableReference(function (p0, $completion) {
4227
- return i.y1d(p0, $completion);
4382
+ return i.s1e(p0, $completion);
4228
4383
  }, 1, 1, 4, 'fetchTileBytes');
4229
4384
  }
4230
4385
  //region block: init