@doordeck/doordeck-headless-sdk 0.78.0 → 0.79.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/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1343 -1343
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +35 -35
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
- package/kotlin/doordeck-sdk.d.ts +4 -0
- package/kotlin/doordeck-sdk.js +11570 -11569
- package/kotlin/kotlin-kotlin-stdlib.js +2792 -2291
- package/kotlin/kotlinx-atomicfu.js +19 -19
- package/kotlin/kotlinx-coroutines-core.js +2805 -2189
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +198 -2
- package/kotlin/kotlinx-io-kotlinx-io-core.js +536 -463
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1939 -1939
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1733 -1684
- package/kotlin/ktor-ktor-client-ktor-client-core.js +3455 -3134
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +540 -438
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +372 -271
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +2017 -0
- package/kotlin/ktor-ktor-http.js +1012 -906
- package/kotlin/ktor-ktor-io.js +1853 -859
- package/kotlin/ktor-ktor-shared-ktor-events.js +13 -13
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +282 -282
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +137 -137
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +57 -57
- package/kotlin/ktor-ktor-utils.js +758 -669
- package/package.json +2 -2
- package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +0 -6
- package/kotlin/ktor-ktor-client-ktor-client-js.js +0 -6
|
@@ -2,73 +2,73 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.
|
|
6
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
5
|
+
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.z4;
|
|
6
|
+
var arrayOf = kotlin_kotlin.$_$.zf;
|
|
7
7
|
var createKType = kotlin_kotlin.$_$.c;
|
|
8
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
8
|
+
var Unit_instance = kotlin_kotlin.$_$.j5;
|
|
9
9
|
var VOID = kotlin_kotlin.$_$.h;
|
|
10
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
13
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
14
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
15
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
16
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
17
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
18
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
19
|
-
var decodeToString = kotlin_kotlin.$_$.
|
|
10
|
+
var isBlank = kotlin_kotlin.$_$.ad;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.wb;
|
|
12
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
13
|
+
var protoOf = kotlin_kotlin.$_$.sb;
|
|
14
|
+
var getStringHashCode = kotlin_kotlin.$_$.pa;
|
|
15
|
+
var THROW_CCE = kotlin_kotlin.$_$.lf;
|
|
16
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
17
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
18
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.va;
|
|
19
|
+
var decodeToString = kotlin_kotlin.$_$.qc;
|
|
20
20
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
21
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
22
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
23
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
24
|
-
var writeText = kotlin_io_ktor_ktor_io.$_$.
|
|
21
|
+
var get_lastIndex = kotlin_kotlin.$_$.dd;
|
|
22
|
+
var charSequenceGet = kotlin_kotlin.$_$.ea;
|
|
23
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s2;
|
|
24
|
+
var writeText = kotlin_io_ktor_ktor_io.$_$.f1;
|
|
25
25
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
26
|
-
var charArray = kotlin_kotlin.$_$.
|
|
27
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var numberToChar = kotlin_kotlin.$_$.fb;
|
|
33
|
-
var indexOf = kotlin_kotlin.$_$.pc;
|
|
26
|
+
var charArray = kotlin_kotlin.$_$.da;
|
|
27
|
+
var concatToString = kotlin_kotlin.$_$.mc;
|
|
28
|
+
var readAvailable = kotlin_io_ktor_ktor_io.$_$.y;
|
|
29
|
+
var toByte = kotlin_kotlin.$_$.tb;
|
|
30
|
+
var numberToChar = kotlin_kotlin.$_$.ob;
|
|
31
|
+
var indexOf = kotlin_kotlin.$_$.zc;
|
|
34
32
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
|
|
35
|
-
var equals = kotlin_kotlin.$_$.
|
|
36
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
37
|
-
var asJsReadonlyMapView = kotlin_kotlin.$_$.
|
|
38
|
-
var KtMutableMap = kotlin_kotlin.$_$.
|
|
39
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
40
|
-
var Entry = kotlin_kotlin.$_$.
|
|
41
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
42
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
43
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
44
|
-
var SupervisorJob = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
45
|
-
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.
|
|
46
|
-
var Key_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
47
|
-
var Element = kotlin_kotlin.$_$.
|
|
48
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
33
|
+
var equals = kotlin_kotlin.$_$.ja;
|
|
34
|
+
var hashCode = kotlin_kotlin.$_$.qa;
|
|
35
|
+
var asJsReadonlyMapView = kotlin_kotlin.$_$.s5;
|
|
36
|
+
var KtMutableMap = kotlin_kotlin.$_$.v5;
|
|
37
|
+
var ensureNotNull = kotlin_kotlin.$_$.dg;
|
|
38
|
+
var Entry = kotlin_kotlin.$_$.r5;
|
|
39
|
+
var isInterface = kotlin_kotlin.$_$.gb;
|
|
40
|
+
var toString_0 = kotlin_kotlin.$_$.og;
|
|
41
|
+
var toString_1 = kotlin_kotlin.$_$.z2;
|
|
42
|
+
var SupervisorJob = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
43
|
+
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.i9;
|
|
44
|
+
var Key_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
45
|
+
var Element = kotlin_kotlin.$_$.r9;
|
|
46
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.e6;
|
|
49
47
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
50
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
51
|
-
var KtMutableSet = kotlin_kotlin.$_$.
|
|
52
|
-
var toList = kotlin_kotlin.$_$.
|
|
53
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
54
|
-
var Enum = kotlin_kotlin.$_$.
|
|
55
|
-
var firstOrNull = kotlin_kotlin.$_$.
|
|
48
|
+
var KtSet = kotlin_kotlin.$_$.x5;
|
|
49
|
+
var KtMutableSet = kotlin_kotlin.$_$.w5;
|
|
50
|
+
var toList = kotlin_kotlin.$_$.s8;
|
|
51
|
+
var initMetadataForObject = kotlin_kotlin.$_$.xa;
|
|
52
|
+
var Enum = kotlin_kotlin.$_$.af;
|
|
53
|
+
var firstOrNull = kotlin_kotlin.$_$.c7;
|
|
56
54
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.p;
|
|
57
55
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.x;
|
|
58
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
59
|
-
var addAll = kotlin_kotlin.$_$.
|
|
60
|
-
var toSet = kotlin_kotlin.$_$.
|
|
61
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
62
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
63
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
64
|
-
var
|
|
65
|
-
var
|
|
66
|
-
var
|
|
67
|
-
var
|
|
68
|
-
var
|
|
56
|
+
var KtMap = kotlin_kotlin.$_$.t5;
|
|
57
|
+
var addAll = kotlin_kotlin.$_$.y5;
|
|
58
|
+
var toSet = kotlin_kotlin.$_$.x8;
|
|
59
|
+
var emptySet = kotlin_kotlin.$_$.a7;
|
|
60
|
+
var emptyMap = kotlin_kotlin.$_$.z6;
|
|
61
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.ma;
|
|
62
|
+
var equals_0 = kotlin_kotlin.$_$.vc;
|
|
63
|
+
var setOf = kotlin_kotlin.$_$.g8;
|
|
64
|
+
var charSequenceLength = kotlin_kotlin.$_$.fa;
|
|
65
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
66
|
+
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.w2;
|
|
67
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.y2;
|
|
69
68
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
|
|
70
69
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
|
|
71
|
-
var
|
|
70
|
+
var Long = kotlin_kotlin.$_$.ff;
|
|
71
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
|
|
72
72
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
73
73
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
74
74
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
@@ -76,47 +76,48 @@
|
|
|
76
76
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v1;
|
|
77
77
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
78
78
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
79
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
80
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
81
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
82
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
83
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
84
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
85
|
-
var KtMutableList = kotlin_kotlin.$_$.
|
|
86
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
87
|
-
var ArrayList = kotlin_kotlin.$_$.
|
|
88
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
89
|
-
var get_lastIndex_0 = kotlin_kotlin.$_$.
|
|
90
|
-
var last = kotlin_kotlin.$_$.
|
|
91
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
92
|
-
var anyToString = kotlin_kotlin.$_$.
|
|
93
|
-
var
|
|
94
|
-
var
|
|
95
|
-
var
|
|
96
|
-
var
|
|
97
|
-
var
|
|
98
|
-
var
|
|
99
|
-
var
|
|
100
|
-
var
|
|
101
|
-
var
|
|
102
|
-
var
|
|
103
|
-
var
|
|
104
|
-
var
|
|
105
|
-
var
|
|
106
|
-
var
|
|
107
|
-
var
|
|
108
|
-
var
|
|
109
|
-
var
|
|
110
|
-
var
|
|
111
|
-
var
|
|
112
|
-
var
|
|
113
|
-
var
|
|
114
|
-
var
|
|
79
|
+
var objectCreate = kotlin_kotlin.$_$.rb;
|
|
80
|
+
var Comparable = kotlin_kotlin.$_$.we;
|
|
81
|
+
var enumEntries = kotlin_kotlin.$_$.v9;
|
|
82
|
+
var CoroutineImpl = kotlin_kotlin.$_$.t9;
|
|
83
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.d9;
|
|
84
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
|
|
85
|
+
var KtMutableList = kotlin_kotlin.$_$.u5;
|
|
86
|
+
var toMutableList = kotlin_kotlin.$_$.v8;
|
|
87
|
+
var ArrayList = kotlin_kotlin.$_$.k5;
|
|
88
|
+
var emptyList = kotlin_kotlin.$_$.y6;
|
|
89
|
+
var get_lastIndex_0 = kotlin_kotlin.$_$.q7;
|
|
90
|
+
var last = kotlin_kotlin.$_$.s7;
|
|
91
|
+
var mutableListOf = kotlin_kotlin.$_$.x7;
|
|
92
|
+
var anyToString = kotlin_kotlin.$_$.y9;
|
|
93
|
+
var KMutableProperty1 = kotlin_kotlin.$_$.hc;
|
|
94
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.oa;
|
|
95
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
96
|
+
var extendThrowable = kotlin_kotlin.$_$.ka;
|
|
97
|
+
var captureStack = kotlin_kotlin.$_$.ba;
|
|
98
|
+
var recoverStackTrace = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
99
|
+
var Companion_instance = kotlin_kotlin.$_$.e5;
|
|
100
|
+
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.a3;
|
|
101
|
+
var createFailure = kotlin_kotlin.$_$.cg;
|
|
102
|
+
var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.b3;
|
|
103
|
+
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.c3;
|
|
104
|
+
var Continuation = kotlin_kotlin.$_$.n9;
|
|
105
|
+
var fillArrayVal = kotlin_kotlin.$_$.la;
|
|
106
|
+
var intercepted = kotlin_kotlin.$_$.g9;
|
|
107
|
+
var KProperty1 = kotlin_kotlin.$_$.jc;
|
|
108
|
+
var lazy = kotlin_kotlin.$_$.jg;
|
|
109
|
+
var isNaN_0 = kotlin_kotlin.$_$.hg;
|
|
110
|
+
var numberToLong = kotlin_kotlin.$_$.qb;
|
|
111
|
+
var IllegalStateException = kotlin_kotlin.$_$.ef;
|
|
112
|
+
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.z1;
|
|
113
|
+
var toList_0 = kotlin_kotlin.$_$.r8;
|
|
114
|
+
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.d3;
|
|
115
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.kg;
|
|
115
116
|
//endregion
|
|
116
117
|
//region block: pre-declaration
|
|
117
118
|
initMetadataForClass(AttributeKey, 'AttributeKey');
|
|
118
119
|
function get(key) {
|
|
119
|
-
var tmp0_elvis_lhs = this.
|
|
120
|
+
var tmp0_elvis_lhs = this.c2f(key);
|
|
120
121
|
var tmp;
|
|
121
122
|
if (tmp0_elvis_lhs == null) {
|
|
122
123
|
throw IllegalStateException_init_$Create$('No instance for key ' + key.toString());
|
|
@@ -140,11 +141,11 @@
|
|
|
140
141
|
initMetadataForClass(JsPlatform, 'JsPlatform', VOID, Enum);
|
|
141
142
|
initMetadataForObject(PlatformUtils, 'PlatformUtils');
|
|
142
143
|
function get_0(name) {
|
|
143
|
-
var tmp0_safe_receiver = this.
|
|
144
|
+
var tmp0_safe_receiver = this.s2g(name);
|
|
144
145
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
145
146
|
}
|
|
146
147
|
function forEach(body) {
|
|
147
|
-
var _iterator__ex2g4s = this.
|
|
148
|
+
var _iterator__ex2g4s = this.u2g().p();
|
|
148
149
|
while (_iterator__ex2g4s.q()) {
|
|
149
150
|
var element = _iterator__ex2g4s.r();
|
|
150
151
|
// Inline function 'io.ktor.util.StringValues.forEach.<anonymous>' call
|
|
@@ -159,6 +160,8 @@
|
|
|
159
160
|
initMetadataForInterface(StringValues, 'StringValues');
|
|
160
161
|
initMetadataForClass(StringValuesBuilderImpl, 'StringValuesBuilderImpl', StringValuesBuilderImpl);
|
|
161
162
|
initMetadataForClass(StringValuesImpl, 'StringValuesImpl', StringValuesImpl, VOID, [StringValues]);
|
|
163
|
+
initMetadataForClass(StringValuesSingleImpl$entries$1, VOID, VOID, VOID, [Entry]);
|
|
164
|
+
initMetadataForClass(StringValuesSingleImpl, 'StringValuesSingleImpl', VOID, VOID, [StringValues]);
|
|
162
165
|
initMetadataForClass(CaseInsensitiveString, 'CaseInsensitiveString');
|
|
163
166
|
initMetadataForClass(CopyOnWriteHashMap, 'CopyOnWriteHashMap', CopyOnWriteHashMap);
|
|
164
167
|
initMetadataForCompanion(Companion);
|
|
@@ -197,11 +200,11 @@
|
|
|
197
200
|
var tmp;
|
|
198
201
|
if (type === VOID) {
|
|
199
202
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
200
|
-
var tmp_0 = PrimitiveClasses_getInstance().
|
|
203
|
+
var tmp_0 = PrimitiveClasses_getInstance().gc();
|
|
201
204
|
// Inline function 'io.ktor.util.reflect.typeOfOrNull' call
|
|
202
205
|
var tmp_1;
|
|
203
206
|
try {
|
|
204
|
-
tmp_1 = createKType(PrimitiveClasses_getInstance().
|
|
207
|
+
tmp_1 = createKType(PrimitiveClasses_getInstance().gc(), arrayOf([]), false);
|
|
205
208
|
} catch ($p) {
|
|
206
209
|
var tmp_2;
|
|
207
210
|
if ($p instanceof Error) {
|
|
@@ -218,10 +221,10 @@
|
|
|
218
221
|
tmp = type;
|
|
219
222
|
}
|
|
220
223
|
type = tmp;
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
224
|
+
this.z2e_1 = name;
|
|
225
|
+
this.a2f_1 = type;
|
|
223
226
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
224
|
-
var this_0 = this.
|
|
227
|
+
var this_0 = this.z2e_1;
|
|
225
228
|
// Inline function 'kotlin.require' call
|
|
226
229
|
if (!!isBlank(this_0)) {
|
|
227
230
|
// Inline function 'io.ktor.util.AttributeKey.<anonymous>' call
|
|
@@ -230,11 +233,11 @@
|
|
|
230
233
|
}
|
|
231
234
|
}
|
|
232
235
|
protoOf(AttributeKey).toString = function () {
|
|
233
|
-
return 'AttributeKey: ' + this.
|
|
236
|
+
return 'AttributeKey: ' + this.z2e_1;
|
|
234
237
|
};
|
|
235
238
|
protoOf(AttributeKey).hashCode = function () {
|
|
236
|
-
var result = getStringHashCode(this.
|
|
237
|
-
result = imul(result, 31) + this.
|
|
239
|
+
var result = getStringHashCode(this.z2e_1);
|
|
240
|
+
result = imul(result, 31) + this.a2f_1.hashCode() | 0;
|
|
238
241
|
return result;
|
|
239
242
|
};
|
|
240
243
|
protoOf(AttributeKey).equals = function (other) {
|
|
@@ -243,9 +246,9 @@
|
|
|
243
246
|
if (!(other instanceof AttributeKey))
|
|
244
247
|
return false;
|
|
245
248
|
var tmp0_other_with_cast = other instanceof AttributeKey ? other : THROW_CCE();
|
|
246
|
-
if (!(this.
|
|
249
|
+
if (!(this.z2e_1 === tmp0_other_with_cast.z2e_1))
|
|
247
250
|
return false;
|
|
248
|
-
if (!this.
|
|
251
|
+
if (!this.a2f_1.equals(tmp0_other_with_cast.a2f_1))
|
|
249
252
|
return false;
|
|
250
253
|
return true;
|
|
251
254
|
};
|
|
@@ -253,11 +256,11 @@
|
|
|
253
256
|
}
|
|
254
257
|
function putAll(_this__u8e3s4, other) {
|
|
255
258
|
// Inline function 'kotlin.collections.forEach' call
|
|
256
|
-
var _iterator__ex2g4s = other.
|
|
259
|
+
var _iterator__ex2g4s = other.h2f().p();
|
|
257
260
|
while (_iterator__ex2g4s.q()) {
|
|
258
261
|
var element = _iterator__ex2g4s.r();
|
|
259
262
|
// Inline function 'io.ktor.util.putAll.<anonymous>' call
|
|
260
|
-
_this__u8e3s4.
|
|
263
|
+
_this__u8e3s4.e2f(element instanceof AttributeKey ? element : THROW_CCE(), other.b2f(element));
|
|
261
264
|
}
|
|
262
265
|
}
|
|
263
266
|
function get_BASE64_INVERSE_ALPHABET() {
|
|
@@ -366,7 +369,7 @@
|
|
|
366
369
|
var builder = new Buffer();
|
|
367
370
|
// Inline function 'io.ktor.util.decodeBase64Bytes.<anonymous>' call
|
|
368
371
|
var data = new Int8Array(4);
|
|
369
|
-
while (
|
|
372
|
+
while (!_this__u8e3s4.g1e()) {
|
|
370
373
|
var read = readAvailable(_this__u8e3s4, data);
|
|
371
374
|
// Inline function 'kotlin.collections.foldIndexed' call
|
|
372
375
|
var index = 0;
|
|
@@ -393,7 +396,7 @@
|
|
|
393
396
|
var index_0 = inductionVariable_0;
|
|
394
397
|
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
395
398
|
var origin = chunk >> imul(8, index_0) & 255;
|
|
396
|
-
builder.
|
|
399
|
+
builder.z1f(toByte(origin));
|
|
397
400
|
}
|
|
398
401
|
while (!(index_0 === last_0));
|
|
399
402
|
}
|
|
@@ -417,13 +420,13 @@
|
|
|
417
420
|
}
|
|
418
421
|
}
|
|
419
422
|
function CaseInsensitiveMap$_get_keys_$lambda_ptzlqj($this$DelegatingMutableSet) {
|
|
420
|
-
return $this$DelegatingMutableSet.
|
|
423
|
+
return $this$DelegatingMutableSet.i2f_1;
|
|
421
424
|
}
|
|
422
425
|
function CaseInsensitiveMap$_get_keys_$lambda_ptzlqj_0($this$DelegatingMutableSet) {
|
|
423
426
|
return caseInsensitive($this$DelegatingMutableSet);
|
|
424
427
|
}
|
|
425
428
|
function CaseInsensitiveMap$_get_entries_$lambda_r32w19($this$DelegatingMutableSet) {
|
|
426
|
-
return new Entry_0($this$DelegatingMutableSet.y().
|
|
429
|
+
return new Entry_0($this$DelegatingMutableSet.y().i2f_1, $this$DelegatingMutableSet.z());
|
|
427
430
|
}
|
|
428
431
|
function CaseInsensitiveMap$_get_entries_$lambda_r32w19_0($this$DelegatingMutableSet) {
|
|
429
432
|
return new Entry_0(caseInsensitive($this$DelegatingMutableSet.y()), $this$DelegatingMutableSet.z());
|
|
@@ -431,49 +434,49 @@
|
|
|
431
434
|
function CaseInsensitiveMap() {
|
|
432
435
|
var tmp = this;
|
|
433
436
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
434
|
-
tmp.
|
|
437
|
+
tmp.k2f_1 = LinkedHashMap_init_$Create$();
|
|
435
438
|
}
|
|
436
439
|
protoOf(CaseInsensitiveMap).s = function () {
|
|
437
|
-
return this.
|
|
440
|
+
return this.k2f_1.s();
|
|
438
441
|
};
|
|
439
|
-
protoOf(CaseInsensitiveMap).
|
|
440
|
-
return this.
|
|
442
|
+
protoOf(CaseInsensitiveMap).l2f = function (key) {
|
|
443
|
+
return this.k2f_1.i2(new CaseInsensitiveString(key));
|
|
441
444
|
};
|
|
442
445
|
protoOf(CaseInsensitiveMap).i2 = function (key) {
|
|
443
446
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
444
447
|
return false;
|
|
445
|
-
return this.
|
|
448
|
+
return this.l2f((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
446
449
|
};
|
|
447
|
-
protoOf(CaseInsensitiveMap).
|
|
448
|
-
return this.
|
|
450
|
+
protoOf(CaseInsensitiveMap).m2f = function (value) {
|
|
451
|
+
return this.k2f_1.j2(value);
|
|
449
452
|
};
|
|
450
453
|
protoOf(CaseInsensitiveMap).j2 = function (value) {
|
|
451
454
|
if (!!(value == null))
|
|
452
455
|
return false;
|
|
453
|
-
return this.
|
|
456
|
+
return this.m2f(!(value == null) ? value : THROW_CCE());
|
|
454
457
|
};
|
|
455
|
-
protoOf(CaseInsensitiveMap).
|
|
456
|
-
return this.
|
|
458
|
+
protoOf(CaseInsensitiveMap).n2f = function (key) {
|
|
459
|
+
return this.k2f_1.k2(caseInsensitive(key));
|
|
457
460
|
};
|
|
458
461
|
protoOf(CaseInsensitiveMap).k2 = function (key) {
|
|
459
462
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
460
463
|
return null;
|
|
461
|
-
return this.
|
|
464
|
+
return this.n2f((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
462
465
|
};
|
|
463
466
|
protoOf(CaseInsensitiveMap).h = function () {
|
|
464
|
-
return this.
|
|
467
|
+
return this.k2f_1.h();
|
|
465
468
|
};
|
|
466
469
|
protoOf(CaseInsensitiveMap).e2 = function () {
|
|
467
|
-
this.
|
|
470
|
+
this.k2f_1.e2();
|
|
468
471
|
};
|
|
469
|
-
protoOf(CaseInsensitiveMap).
|
|
470
|
-
return this.
|
|
472
|
+
protoOf(CaseInsensitiveMap).o2f = function (key, value) {
|
|
473
|
+
return this.k2f_1.n2(caseInsensitive(key), value);
|
|
471
474
|
};
|
|
472
475
|
protoOf(CaseInsensitiveMap).n2 = function (key, value) {
|
|
473
476
|
var tmp = (!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE();
|
|
474
|
-
return this.
|
|
477
|
+
return this.o2f(tmp, !(value == null) ? value : THROW_CCE());
|
|
475
478
|
};
|
|
476
|
-
protoOf(CaseInsensitiveMap).
|
|
479
|
+
protoOf(CaseInsensitiveMap).p2f = function (from) {
|
|
477
480
|
// Inline function 'kotlin.collections.forEach' call
|
|
478
481
|
// Inline function 'kotlin.collections.iterator' call
|
|
479
482
|
var _iterator__ex2g4s = from.x().p();
|
|
@@ -484,32 +487,32 @@
|
|
|
484
487
|
var key = element.y();
|
|
485
488
|
// Inline function 'kotlin.collections.component2' call
|
|
486
489
|
var value = element.z();
|
|
487
|
-
this.
|
|
490
|
+
this.o2f(key, value);
|
|
488
491
|
}
|
|
489
492
|
};
|
|
490
493
|
protoOf(CaseInsensitiveMap).p2 = function (from) {
|
|
491
|
-
return this.
|
|
494
|
+
return this.p2f(from);
|
|
492
495
|
};
|
|
493
|
-
protoOf(CaseInsensitiveMap).
|
|
494
|
-
return this.
|
|
496
|
+
protoOf(CaseInsensitiveMap).q2f = function (key) {
|
|
497
|
+
return this.k2f_1.o2(caseInsensitive(key));
|
|
495
498
|
};
|
|
496
499
|
protoOf(CaseInsensitiveMap).o2 = function (key) {
|
|
497
500
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
498
501
|
return null;
|
|
499
|
-
return this.
|
|
502
|
+
return this.q2f((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
500
503
|
};
|
|
501
504
|
protoOf(CaseInsensitiveMap).l2 = function () {
|
|
502
|
-
var tmp = this.
|
|
505
|
+
var tmp = this.k2f_1.l2();
|
|
503
506
|
var tmp_0 = CaseInsensitiveMap$_get_keys_$lambda_ptzlqj;
|
|
504
507
|
return new DelegatingMutableSet(tmp, tmp_0, CaseInsensitiveMap$_get_keys_$lambda_ptzlqj_0);
|
|
505
508
|
};
|
|
506
509
|
protoOf(CaseInsensitiveMap).x = function () {
|
|
507
|
-
var tmp = this.
|
|
510
|
+
var tmp = this.k2f_1.x();
|
|
508
511
|
var tmp_0 = CaseInsensitiveMap$_get_entries_$lambda_r32w19;
|
|
509
512
|
return new DelegatingMutableSet(tmp, tmp_0, CaseInsensitiveMap$_get_entries_$lambda_r32w19_0);
|
|
510
513
|
};
|
|
511
514
|
protoOf(CaseInsensitiveMap).m2 = function () {
|
|
512
|
-
return this.
|
|
515
|
+
return this.k2f_1.m2();
|
|
513
516
|
};
|
|
514
517
|
protoOf(CaseInsensitiveMap).equals = function (other) {
|
|
515
518
|
var tmp;
|
|
@@ -520,23 +523,23 @@
|
|
|
520
523
|
}
|
|
521
524
|
if (tmp)
|
|
522
525
|
return false;
|
|
523
|
-
return equals(other.
|
|
526
|
+
return equals(other.k2f_1, this.k2f_1);
|
|
524
527
|
};
|
|
525
528
|
protoOf(CaseInsensitiveMap).hashCode = function () {
|
|
526
|
-
return hashCode(this.
|
|
529
|
+
return hashCode(this.k2f_1);
|
|
527
530
|
};
|
|
528
531
|
function Entry_0(key, value) {
|
|
529
|
-
this.
|
|
530
|
-
this.
|
|
532
|
+
this.r2f_1 = key;
|
|
533
|
+
this.s2f_1 = value;
|
|
531
534
|
}
|
|
532
535
|
protoOf(Entry_0).y = function () {
|
|
533
|
-
return this.
|
|
536
|
+
return this.r2f_1;
|
|
534
537
|
};
|
|
535
538
|
protoOf(Entry_0).z = function () {
|
|
536
|
-
return this.
|
|
539
|
+
return this.s2f_1;
|
|
537
540
|
};
|
|
538
541
|
protoOf(Entry_0).hashCode = function () {
|
|
539
|
-
return (527 + hashCode(ensureNotNull(this.
|
|
542
|
+
return (527 + hashCode(ensureNotNull(this.r2f_1)) | 0) + hashCode(ensureNotNull(this.s2f_1)) | 0;
|
|
540
543
|
};
|
|
541
544
|
protoOf(Entry_0).equals = function (other) {
|
|
542
545
|
var tmp;
|
|
@@ -547,10 +550,10 @@
|
|
|
547
550
|
}
|
|
548
551
|
if (tmp)
|
|
549
552
|
return false;
|
|
550
|
-
return equals(other.y(), this.
|
|
553
|
+
return equals(other.y(), this.r2f_1) && equals(other.z(), this.s2f_1);
|
|
551
554
|
};
|
|
552
555
|
protoOf(Entry_0).toString = function () {
|
|
553
|
-
return toString_0(this.
|
|
556
|
+
return toString_0(this.r2f_1) + '=' + toString_0(this.s2f_1);
|
|
554
557
|
};
|
|
555
558
|
function toCharArray(_this__u8e3s4) {
|
|
556
559
|
var tmp = 0;
|
|
@@ -579,35 +582,35 @@
|
|
|
579
582
|
var tmp = SupervisorJob(parent);
|
|
580
583
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
581
584
|
var tmp$ret$0 = new SilentSupervisor$$inlined$CoroutineExceptionHandler$1();
|
|
582
|
-
return tmp.
|
|
585
|
+
return tmp.gh(tmp$ret$0);
|
|
583
586
|
}
|
|
584
587
|
function SilentSupervisor$$inlined$CoroutineExceptionHandler$1() {
|
|
585
588
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
586
589
|
}
|
|
587
|
-
protoOf(SilentSupervisor$$inlined$CoroutineExceptionHandler$1).
|
|
590
|
+
protoOf(SilentSupervisor$$inlined$CoroutineExceptionHandler$1).kv = function (context, exception) {
|
|
588
591
|
// Inline function 'io.ktor.util.SilentSupervisor.<anonymous>' call
|
|
589
592
|
return Unit_instance;
|
|
590
593
|
};
|
|
591
594
|
function DelegatingMutableSet$iterator$1(this$0) {
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
595
|
+
this.v2f_1 = this$0;
|
|
596
|
+
this.u2f_1 = this$0.w2f_1.p();
|
|
594
597
|
}
|
|
595
598
|
protoOf(DelegatingMutableSet$iterator$1).q = function () {
|
|
596
|
-
return this.
|
|
599
|
+
return this.u2f_1.q();
|
|
597
600
|
};
|
|
598
601
|
protoOf(DelegatingMutableSet$iterator$1).r = function () {
|
|
599
|
-
return this.
|
|
602
|
+
return this.v2f_1.x2f_1(this.u2f_1.r());
|
|
600
603
|
};
|
|
601
|
-
protoOf(DelegatingMutableSet$iterator$1).
|
|
602
|
-
return this.
|
|
604
|
+
protoOf(DelegatingMutableSet$iterator$1).r4 = function () {
|
|
605
|
+
return this.u2f_1.r4();
|
|
603
606
|
};
|
|
604
607
|
function DelegatingMutableSet(delegate, convertTo, convert) {
|
|
605
|
-
this.
|
|
606
|
-
this.
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
608
|
+
this.w2f_1 = delegate;
|
|
609
|
+
this.x2f_1 = convertTo;
|
|
610
|
+
this.y2f_1 = convert;
|
|
611
|
+
this.z2f_1 = this.w2f_1.s();
|
|
609
612
|
}
|
|
610
|
-
protoOf(DelegatingMutableSet).
|
|
613
|
+
protoOf(DelegatingMutableSet).a2g = function (_this__u8e3s4) {
|
|
611
614
|
// Inline function 'kotlin.collections.map' call
|
|
612
615
|
// Inline function 'kotlin.collections.mapTo' call
|
|
613
616
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
@@ -615,12 +618,12 @@
|
|
|
615
618
|
while (_iterator__ex2g4s.q()) {
|
|
616
619
|
var item = _iterator__ex2g4s.r();
|
|
617
620
|
// Inline function 'io.ktor.util.DelegatingMutableSet.convert.<anonymous>' call
|
|
618
|
-
var tmp$ret$0 = this.
|
|
621
|
+
var tmp$ret$0 = this.y2f_1(item);
|
|
619
622
|
destination.k(tmp$ret$0);
|
|
620
623
|
}
|
|
621
624
|
return destination;
|
|
622
625
|
};
|
|
623
|
-
protoOf(DelegatingMutableSet).
|
|
626
|
+
protoOf(DelegatingMutableSet).b2g = function (_this__u8e3s4) {
|
|
624
627
|
// Inline function 'kotlin.collections.map' call
|
|
625
628
|
// Inline function 'kotlin.collections.mapTo' call
|
|
626
629
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
@@ -628,51 +631,51 @@
|
|
|
628
631
|
while (_iterator__ex2g4s.q()) {
|
|
629
632
|
var item = _iterator__ex2g4s.r();
|
|
630
633
|
// Inline function 'io.ktor.util.DelegatingMutableSet.convertTo.<anonymous>' call
|
|
631
|
-
var tmp$ret$0 = this.
|
|
634
|
+
var tmp$ret$0 = this.x2f_1(item);
|
|
632
635
|
destination.k(tmp$ret$0);
|
|
633
636
|
}
|
|
634
637
|
return destination;
|
|
635
638
|
};
|
|
636
639
|
protoOf(DelegatingMutableSet).s = function () {
|
|
637
|
-
return this.
|
|
640
|
+
return this.z2f_1;
|
|
638
641
|
};
|
|
639
|
-
protoOf(DelegatingMutableSet).
|
|
640
|
-
return this.
|
|
642
|
+
protoOf(DelegatingMutableSet).c2g = function (element) {
|
|
643
|
+
return this.w2f_1.k(this.y2f_1(element));
|
|
641
644
|
};
|
|
642
645
|
protoOf(DelegatingMutableSet).k = function (element) {
|
|
643
|
-
return this.
|
|
646
|
+
return this.c2g((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
644
647
|
};
|
|
645
|
-
protoOf(DelegatingMutableSet).
|
|
646
|
-
return this.
|
|
648
|
+
protoOf(DelegatingMutableSet).d2g = function (elements) {
|
|
649
|
+
return this.w2f_1.t(this.a2g(elements));
|
|
647
650
|
};
|
|
648
651
|
protoOf(DelegatingMutableSet).t = function (elements) {
|
|
649
|
-
return this.
|
|
652
|
+
return this.d2g(elements);
|
|
650
653
|
};
|
|
651
654
|
protoOf(DelegatingMutableSet).e2 = function () {
|
|
652
|
-
this.
|
|
655
|
+
this.w2f_1.e2();
|
|
653
656
|
};
|
|
654
|
-
protoOf(DelegatingMutableSet).
|
|
655
|
-
return this.
|
|
657
|
+
protoOf(DelegatingMutableSet).e2g = function (element) {
|
|
658
|
+
return this.w2f_1.x1(this.y2f_1(element));
|
|
656
659
|
};
|
|
657
660
|
protoOf(DelegatingMutableSet).x1 = function (element) {
|
|
658
661
|
if (!(element == null ? true : !(element == null)))
|
|
659
662
|
return false;
|
|
660
|
-
return this.
|
|
663
|
+
return this.e2g((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
661
664
|
};
|
|
662
|
-
protoOf(DelegatingMutableSet).
|
|
663
|
-
return this.
|
|
665
|
+
protoOf(DelegatingMutableSet).f2g = function (elements) {
|
|
666
|
+
return this.w2f_1.y1(this.a2g(elements));
|
|
664
667
|
};
|
|
665
668
|
protoOf(DelegatingMutableSet).y1 = function (elements) {
|
|
666
|
-
return this.
|
|
669
|
+
return this.f2g(elements);
|
|
667
670
|
};
|
|
668
671
|
protoOf(DelegatingMutableSet).h = function () {
|
|
669
|
-
return this.
|
|
672
|
+
return this.w2f_1.h();
|
|
670
673
|
};
|
|
671
674
|
protoOf(DelegatingMutableSet).p = function () {
|
|
672
675
|
return new DelegatingMutableSet$iterator$1(this);
|
|
673
676
|
};
|
|
674
677
|
protoOf(DelegatingMutableSet).hashCode = function () {
|
|
675
|
-
return hashCode(this.
|
|
678
|
+
return hashCode(this.w2f_1);
|
|
676
679
|
};
|
|
677
680
|
protoOf(DelegatingMutableSet).equals = function (other) {
|
|
678
681
|
var tmp;
|
|
@@ -683,7 +686,7 @@
|
|
|
683
686
|
}
|
|
684
687
|
if (tmp)
|
|
685
688
|
return false;
|
|
686
|
-
var elements = this.
|
|
689
|
+
var elements = this.b2g(this.w2f_1);
|
|
687
690
|
var tmp_0;
|
|
688
691
|
if (other.y1(elements)) {
|
|
689
692
|
// Inline function 'kotlin.collections.containsAll' call
|
|
@@ -694,11 +697,11 @@
|
|
|
694
697
|
return tmp_0;
|
|
695
698
|
};
|
|
696
699
|
protoOf(DelegatingMutableSet).toString = function () {
|
|
697
|
-
return toString(this.
|
|
700
|
+
return toString(this.b2g(this.w2f_1));
|
|
698
701
|
};
|
|
699
702
|
function Hash() {
|
|
700
703
|
}
|
|
701
|
-
protoOf(Hash).
|
|
704
|
+
protoOf(Hash).g2g = function (objects) {
|
|
702
705
|
return hashCode(toList(objects));
|
|
703
706
|
};
|
|
704
707
|
var Hash_instance;
|
|
@@ -765,13 +768,13 @@
|
|
|
765
768
|
}
|
|
766
769
|
function Js(jsPlatform) {
|
|
767
770
|
Platform.call(this);
|
|
768
|
-
this.
|
|
771
|
+
this.h2g_1 = jsPlatform;
|
|
769
772
|
}
|
|
770
773
|
protoOf(Js).toString = function () {
|
|
771
|
-
return 'Js(jsPlatform=' + this.
|
|
774
|
+
return 'Js(jsPlatform=' + this.h2g_1.toString() + ')';
|
|
772
775
|
};
|
|
773
776
|
protoOf(Js).hashCode = function () {
|
|
774
|
-
return this.
|
|
777
|
+
return this.h2g_1.hashCode();
|
|
775
778
|
};
|
|
776
779
|
protoOf(Js).equals = function (other) {
|
|
777
780
|
if (this === other)
|
|
@@ -779,7 +782,7 @@
|
|
|
779
782
|
if (!(other instanceof Js))
|
|
780
783
|
return false;
|
|
781
784
|
var tmp0_other_with_cast = other instanceof Js ? other : THROW_CCE();
|
|
782
|
-
if (!this.
|
|
785
|
+
if (!this.h2g_1.equals(tmp0_other_with_cast.h2g_1))
|
|
783
786
|
return false;
|
|
784
787
|
return true;
|
|
785
788
|
};
|
|
@@ -804,38 +807,38 @@
|
|
|
804
807
|
var platform = get_platform(this);
|
|
805
808
|
var tmp_0;
|
|
806
809
|
if (platform instanceof Js) {
|
|
807
|
-
tmp_0 = platform.
|
|
810
|
+
tmp_0 = platform.h2g_1.equals(JsPlatform_Browser_getInstance());
|
|
808
811
|
} else {
|
|
809
812
|
if (platform instanceof WasmJs) {
|
|
810
|
-
tmp_0 = platform.
|
|
813
|
+
tmp_0 = platform.i2g_1.equals(JsPlatform_Browser_getInstance());
|
|
811
814
|
} else {
|
|
812
815
|
tmp_0 = false;
|
|
813
816
|
}
|
|
814
817
|
}
|
|
815
|
-
tmp.
|
|
818
|
+
tmp.j2g_1 = tmp_0;
|
|
816
819
|
var tmp_1 = this;
|
|
817
820
|
var platform_0 = get_platform(this);
|
|
818
821
|
var tmp_2;
|
|
819
822
|
if (platform_0 instanceof Js) {
|
|
820
|
-
tmp_2 = platform_0.
|
|
823
|
+
tmp_2 = platform_0.h2g_1.equals(JsPlatform_Node_getInstance());
|
|
821
824
|
} else {
|
|
822
825
|
if (platform_0 instanceof WasmJs) {
|
|
823
|
-
tmp_2 = platform_0.
|
|
826
|
+
tmp_2 = platform_0.i2g_1.equals(JsPlatform_Node_getInstance());
|
|
824
827
|
} else {
|
|
825
828
|
tmp_2 = false;
|
|
826
829
|
}
|
|
827
830
|
}
|
|
828
|
-
tmp_1.
|
|
831
|
+
tmp_1.k2g_1 = tmp_2;
|
|
829
832
|
var tmp_3 = this;
|
|
830
833
|
var tmp_4 = get_platform(this);
|
|
831
|
-
tmp_3.
|
|
834
|
+
tmp_3.l2g_1 = tmp_4 instanceof Js;
|
|
832
835
|
var tmp_5 = this;
|
|
833
836
|
var tmp_6 = get_platform(this);
|
|
834
|
-
tmp_5.
|
|
835
|
-
this.
|
|
836
|
-
this.
|
|
837
|
-
this.
|
|
838
|
-
this.
|
|
837
|
+
tmp_5.m2g_1 = tmp_6 instanceof WasmJs;
|
|
838
|
+
this.n2g_1 = equals(get_platform(this), Jvm_getInstance());
|
|
839
|
+
this.o2g_1 = equals(get_platform(this), Native_getInstance());
|
|
840
|
+
this.p2g_1 = get_isDevelopmentMode(this);
|
|
841
|
+
this.q2g_1 = true;
|
|
839
842
|
}
|
|
840
843
|
var PlatformUtils_instance;
|
|
841
844
|
function PlatformUtils_getInstance() {
|
|
@@ -846,16 +849,16 @@
|
|
|
846
849
|
function StringValues() {
|
|
847
850
|
}
|
|
848
851
|
function ensureListForKey($this, name) {
|
|
849
|
-
var tmp0_elvis_lhs = $this.
|
|
852
|
+
var tmp0_elvis_lhs = $this.x2g_1.k2(name);
|
|
850
853
|
var tmp;
|
|
851
854
|
if (tmp0_elvis_lhs == null) {
|
|
852
855
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
853
856
|
// Inline function 'kotlin.also' call
|
|
854
857
|
var this_0 = ArrayList_init_$Create$_0();
|
|
855
858
|
// Inline function 'io.ktor.util.StringValuesBuilderImpl.ensureListForKey.<anonymous>' call
|
|
856
|
-
$this.
|
|
859
|
+
$this.y2g(name);
|
|
857
860
|
// Inline function 'kotlin.collections.set' call
|
|
858
|
-
$this.
|
|
861
|
+
$this.x2g_1.n2(name, this_0);
|
|
859
862
|
tmp = this_0;
|
|
860
863
|
} else {
|
|
861
864
|
tmp = tmp0_elvis_lhs;
|
|
@@ -864,60 +867,55 @@
|
|
|
864
867
|
}
|
|
865
868
|
function StringValuesBuilderImpl$appendAll$lambda(this$0) {
|
|
866
869
|
return function (name, values) {
|
|
867
|
-
this$0.
|
|
870
|
+
this$0.z2g(name, values);
|
|
868
871
|
return Unit_instance;
|
|
869
872
|
};
|
|
870
873
|
}
|
|
871
874
|
function StringValuesBuilderImpl(caseInsensitiveName, size) {
|
|
872
875
|
caseInsensitiveName = caseInsensitiveName === VOID ? false : caseInsensitiveName;
|
|
873
876
|
size = size === VOID ? 8 : size;
|
|
874
|
-
this.
|
|
875
|
-
this.
|
|
877
|
+
this.w2g_1 = caseInsensitiveName;
|
|
878
|
+
this.x2g_1 = this.w2g_1 ? caseInsensitiveMap() : LinkedHashMap_init_$Create$_0(size);
|
|
876
879
|
}
|
|
877
|
-
protoOf(StringValuesBuilderImpl).
|
|
878
|
-
return this.
|
|
880
|
+
protoOf(StringValuesBuilderImpl).r2g = function () {
|
|
881
|
+
return this.w2g_1;
|
|
879
882
|
};
|
|
880
|
-
protoOf(StringValuesBuilderImpl).
|
|
881
|
-
return this.
|
|
883
|
+
protoOf(StringValuesBuilderImpl).s2g = function (name) {
|
|
884
|
+
return this.x2g_1.k2(name);
|
|
882
885
|
};
|
|
883
|
-
protoOf(StringValuesBuilderImpl).
|
|
886
|
+
protoOf(StringValuesBuilderImpl).a2h = function (name) {
|
|
884
887
|
// Inline function 'kotlin.collections.contains' call
|
|
885
888
|
// Inline function 'kotlin.collections.containsKey' call
|
|
886
|
-
var this_0 = this.
|
|
889
|
+
var this_0 = this.x2g_1;
|
|
887
890
|
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).i2(name);
|
|
888
891
|
};
|
|
889
|
-
protoOf(StringValuesBuilderImpl).
|
|
890
|
-
|
|
891
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x1(value);
|
|
892
|
-
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
893
|
-
};
|
|
894
|
-
protoOf(StringValuesBuilderImpl).q28 = function () {
|
|
895
|
-
return this.u28_1.l2();
|
|
892
|
+
protoOf(StringValuesBuilderImpl).t2g = function () {
|
|
893
|
+
return this.x2g_1.l2();
|
|
896
894
|
};
|
|
897
895
|
protoOf(StringValuesBuilderImpl).h = function () {
|
|
898
|
-
return this.
|
|
896
|
+
return this.x2g_1.h();
|
|
899
897
|
};
|
|
900
|
-
protoOf(StringValuesBuilderImpl).
|
|
901
|
-
return unmodifiable(this.
|
|
898
|
+
protoOf(StringValuesBuilderImpl).u2g = function () {
|
|
899
|
+
return unmodifiable(this.x2g_1.x());
|
|
902
900
|
};
|
|
903
|
-
protoOf(StringValuesBuilderImpl).
|
|
904
|
-
this.
|
|
901
|
+
protoOf(StringValuesBuilderImpl).b2h = function (name, value) {
|
|
902
|
+
this.c2h(value);
|
|
905
903
|
var list = ensureListForKey(this, name);
|
|
906
904
|
list.e2();
|
|
907
905
|
list.k(value);
|
|
908
906
|
};
|
|
909
|
-
protoOf(StringValuesBuilderImpl).
|
|
910
|
-
var tmp0_safe_receiver = this.
|
|
907
|
+
protoOf(StringValuesBuilderImpl).n2f = function (name) {
|
|
908
|
+
var tmp0_safe_receiver = this.s2g(name);
|
|
911
909
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
912
910
|
};
|
|
913
|
-
protoOf(StringValuesBuilderImpl).
|
|
914
|
-
this.
|
|
911
|
+
protoOf(StringValuesBuilderImpl).d2h = function (name, value) {
|
|
912
|
+
this.c2h(value);
|
|
915
913
|
ensureListForKey(this, name).k(value);
|
|
916
914
|
};
|
|
917
|
-
protoOf(StringValuesBuilderImpl).
|
|
918
|
-
stringValues.
|
|
915
|
+
protoOf(StringValuesBuilderImpl).e2h = function (stringValues) {
|
|
916
|
+
stringValues.v2g(StringValuesBuilderImpl$appendAll$lambda(this));
|
|
919
917
|
};
|
|
920
|
-
protoOf(StringValuesBuilderImpl).
|
|
918
|
+
protoOf(StringValuesBuilderImpl).z2g = function (name, values) {
|
|
921
919
|
// Inline function 'kotlin.let' call
|
|
922
920
|
// Inline function 'io.ktor.util.StringValuesBuilderImpl.appendAll.<anonymous>' call
|
|
923
921
|
var list = ensureListForKey(this, name);
|
|
@@ -926,12 +924,12 @@
|
|
|
926
924
|
while (_iterator__ex2g4s.q()) {
|
|
927
925
|
var element = _iterator__ex2g4s.r();
|
|
928
926
|
// Inline function 'io.ktor.util.StringValuesBuilderImpl.appendAll.<anonymous>.<anonymous>' call
|
|
929
|
-
this.
|
|
927
|
+
this.c2h(element);
|
|
930
928
|
}
|
|
931
929
|
addAll(list, values);
|
|
932
930
|
};
|
|
933
|
-
protoOf(StringValuesBuilderImpl).
|
|
934
|
-
var tmp0_safe_receiver = this.
|
|
931
|
+
protoOf(StringValuesBuilderImpl).f2h = function (name, values) {
|
|
932
|
+
var tmp0_safe_receiver = this.x2g_1.k2(name);
|
|
935
933
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toSet(tmp0_safe_receiver);
|
|
936
934
|
var existing = tmp1_elvis_lhs == null ? emptySet() : tmp1_elvis_lhs;
|
|
937
935
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -945,27 +943,27 @@
|
|
|
945
943
|
destination.k(element);
|
|
946
944
|
}
|
|
947
945
|
}
|
|
948
|
-
this.
|
|
946
|
+
this.z2g(name, destination);
|
|
949
947
|
};
|
|
950
|
-
protoOf(StringValuesBuilderImpl).
|
|
951
|
-
this.
|
|
948
|
+
protoOf(StringValuesBuilderImpl).g2h = function (name) {
|
|
949
|
+
this.x2g_1.o2(name);
|
|
952
950
|
};
|
|
953
951
|
protoOf(StringValuesBuilderImpl).e2 = function () {
|
|
954
|
-
this.
|
|
952
|
+
this.x2g_1.e2();
|
|
955
953
|
};
|
|
956
|
-
protoOf(StringValuesBuilderImpl).
|
|
954
|
+
protoOf(StringValuesBuilderImpl).y2g = function (name) {
|
|
957
955
|
};
|
|
958
|
-
protoOf(StringValuesBuilderImpl).
|
|
956
|
+
protoOf(StringValuesBuilderImpl).c2h = function (value) {
|
|
959
957
|
};
|
|
960
958
|
function listForKey($this, name) {
|
|
961
|
-
return $this.
|
|
959
|
+
return $this.i2h_1.k2(name);
|
|
962
960
|
}
|
|
963
961
|
function StringValuesImpl(caseInsensitiveName, values) {
|
|
964
962
|
caseInsensitiveName = caseInsensitiveName === VOID ? false : caseInsensitiveName;
|
|
965
963
|
values = values === VOID ? emptyMap() : values;
|
|
966
|
-
this.
|
|
964
|
+
this.h2h_1 = caseInsensitiveName;
|
|
967
965
|
var tmp;
|
|
968
|
-
if (this.
|
|
966
|
+
if (this.h2h_1) {
|
|
969
967
|
tmp = caseInsensitiveMap();
|
|
970
968
|
} else {
|
|
971
969
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
@@ -1001,30 +999,30 @@
|
|
|
1001
999
|
// Inline function 'kotlin.collections.set' call
|
|
1002
1000
|
newMap.n2(key, list);
|
|
1003
1001
|
}
|
|
1004
|
-
this.
|
|
1002
|
+
this.i2h_1 = newMap;
|
|
1005
1003
|
}
|
|
1006
|
-
protoOf(StringValuesImpl).
|
|
1007
|
-
return this.
|
|
1004
|
+
protoOf(StringValuesImpl).r2g = function () {
|
|
1005
|
+
return this.h2h_1;
|
|
1008
1006
|
};
|
|
1009
|
-
protoOf(StringValuesImpl).
|
|
1007
|
+
protoOf(StringValuesImpl).n2f = function (name) {
|
|
1010
1008
|
var tmp0_safe_receiver = listForKey(this, name);
|
|
1011
1009
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
1012
1010
|
};
|
|
1013
|
-
protoOf(StringValuesImpl).
|
|
1011
|
+
protoOf(StringValuesImpl).s2g = function (name) {
|
|
1014
1012
|
return listForKey(this, name);
|
|
1015
1013
|
};
|
|
1016
|
-
protoOf(StringValuesImpl).
|
|
1017
|
-
return unmodifiable(this.
|
|
1014
|
+
protoOf(StringValuesImpl).t2g = function () {
|
|
1015
|
+
return unmodifiable(this.i2h_1.l2());
|
|
1018
1016
|
};
|
|
1019
1017
|
protoOf(StringValuesImpl).h = function () {
|
|
1020
|
-
return this.
|
|
1018
|
+
return this.i2h_1.h();
|
|
1021
1019
|
};
|
|
1022
|
-
protoOf(StringValuesImpl).
|
|
1023
|
-
return unmodifiable(this.
|
|
1020
|
+
protoOf(StringValuesImpl).u2g = function () {
|
|
1021
|
+
return unmodifiable(this.i2h_1.x());
|
|
1024
1022
|
};
|
|
1025
|
-
protoOf(StringValuesImpl).
|
|
1023
|
+
protoOf(StringValuesImpl).v2g = function (body) {
|
|
1026
1024
|
// Inline function 'kotlin.collections.iterator' call
|
|
1027
|
-
var _iterator__ex2g4s = this.
|
|
1025
|
+
var _iterator__ex2g4s = this.i2h_1.x().p();
|
|
1028
1026
|
while (_iterator__ex2g4s.q()) {
|
|
1029
1027
|
var _destruct__k2r9zo = _iterator__ex2g4s.r();
|
|
1030
1028
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -1035,25 +1033,25 @@
|
|
|
1035
1033
|
}
|
|
1036
1034
|
};
|
|
1037
1035
|
protoOf(StringValuesImpl).toString = function () {
|
|
1038
|
-
return 'StringValues(case=' + !this.
|
|
1036
|
+
return 'StringValues(case=' + !this.h2h_1 + ') ' + toString(this.u2g());
|
|
1039
1037
|
};
|
|
1040
1038
|
protoOf(StringValuesImpl).equals = function (other) {
|
|
1041
1039
|
if (this === other)
|
|
1042
1040
|
return true;
|
|
1043
1041
|
if (!(!(other == null) ? isInterface(other, StringValues) : false))
|
|
1044
1042
|
return false;
|
|
1045
|
-
if (!(this.
|
|
1043
|
+
if (!(this.h2h_1 === other.r2g()))
|
|
1046
1044
|
return false;
|
|
1047
|
-
return entriesEquals(this.
|
|
1045
|
+
return entriesEquals(this.u2g(), other.u2g());
|
|
1048
1046
|
};
|
|
1049
1047
|
protoOf(StringValuesImpl).hashCode = function () {
|
|
1050
|
-
return entriesHashCode(this.
|
|
1048
|
+
return entriesHashCode(this.u2g(), imul(31, getBooleanHashCode(this.h2h_1)));
|
|
1051
1049
|
};
|
|
1052
1050
|
function appendAll(_this__u8e3s4, builder) {
|
|
1053
1051
|
// Inline function 'kotlin.apply' call
|
|
1054
1052
|
// Inline function 'io.ktor.util.appendAll.<anonymous>' call
|
|
1055
1053
|
// Inline function 'kotlin.collections.forEach' call
|
|
1056
|
-
var _iterator__ex2g4s = builder.
|
|
1054
|
+
var _iterator__ex2g4s = builder.u2g().p();
|
|
1057
1055
|
while (_iterator__ex2g4s.q()) {
|
|
1058
1056
|
var element = _iterator__ex2g4s.r();
|
|
1059
1057
|
// Inline function 'io.ktor.util.appendAll.<anonymous>.<anonymous>' call
|
|
@@ -1061,7 +1059,7 @@
|
|
|
1061
1059
|
var name = element.y();
|
|
1062
1060
|
// Inline function 'kotlin.collections.component2' call
|
|
1063
1061
|
var values = element.z();
|
|
1064
|
-
_this__u8e3s4.
|
|
1062
|
+
_this__u8e3s4.z2g(name, values);
|
|
1065
1063
|
}
|
|
1066
1064
|
return _this__u8e3s4;
|
|
1067
1065
|
}
|
|
@@ -1071,6 +1069,75 @@
|
|
|
1071
1069
|
function entriesHashCode(entries, seed) {
|
|
1072
1070
|
return imul(seed, 31) + hashCode(entries) | 0;
|
|
1073
1071
|
}
|
|
1072
|
+
function StringValuesSingleImpl$entries$1(this$0) {
|
|
1073
|
+
this.j2h_1 = this$0.m2h_1;
|
|
1074
|
+
this.k2h_1 = this$0.n2h_1;
|
|
1075
|
+
}
|
|
1076
|
+
protoOf(StringValuesSingleImpl$entries$1).y = function () {
|
|
1077
|
+
return this.j2h_1;
|
|
1078
|
+
};
|
|
1079
|
+
protoOf(StringValuesSingleImpl$entries$1).z = function () {
|
|
1080
|
+
return this.k2h_1;
|
|
1081
|
+
};
|
|
1082
|
+
protoOf(StringValuesSingleImpl$entries$1).toString = function () {
|
|
1083
|
+
return this.j2h_1 + '=' + toString(this.k2h_1);
|
|
1084
|
+
};
|
|
1085
|
+
protoOf(StringValuesSingleImpl$entries$1).equals = function (other) {
|
|
1086
|
+
var tmp;
|
|
1087
|
+
var tmp_0;
|
|
1088
|
+
if (!(other == null) ? isInterface(other, Entry) : false) {
|
|
1089
|
+
tmp_0 = equals(other.y(), this.j2h_1);
|
|
1090
|
+
} else {
|
|
1091
|
+
tmp_0 = false;
|
|
1092
|
+
}
|
|
1093
|
+
if (tmp_0) {
|
|
1094
|
+
tmp = equals(other.z(), this.k2h_1);
|
|
1095
|
+
} else {
|
|
1096
|
+
tmp = false;
|
|
1097
|
+
}
|
|
1098
|
+
return tmp;
|
|
1099
|
+
};
|
|
1100
|
+
protoOf(StringValuesSingleImpl$entries$1).hashCode = function () {
|
|
1101
|
+
return getStringHashCode(this.j2h_1) ^ hashCode(this.k2h_1);
|
|
1102
|
+
};
|
|
1103
|
+
function StringValuesSingleImpl(caseInsensitiveName, name, values) {
|
|
1104
|
+
this.l2h_1 = caseInsensitiveName;
|
|
1105
|
+
this.m2h_1 = name;
|
|
1106
|
+
this.n2h_1 = values;
|
|
1107
|
+
}
|
|
1108
|
+
protoOf(StringValuesSingleImpl).r2g = function () {
|
|
1109
|
+
return this.l2h_1;
|
|
1110
|
+
};
|
|
1111
|
+
protoOf(StringValuesSingleImpl).s2g = function (name) {
|
|
1112
|
+
return equals_0(this.m2h_1, name, this.r2g()) ? this.n2h_1 : null;
|
|
1113
|
+
};
|
|
1114
|
+
protoOf(StringValuesSingleImpl).u2g = function () {
|
|
1115
|
+
return setOf(new StringValuesSingleImpl$entries$1(this));
|
|
1116
|
+
};
|
|
1117
|
+
protoOf(StringValuesSingleImpl).t2g = function () {
|
|
1118
|
+
return setOf(this.m2h_1);
|
|
1119
|
+
};
|
|
1120
|
+
protoOf(StringValuesSingleImpl).toString = function () {
|
|
1121
|
+
return 'StringValues(case=' + !this.r2g() + ') ' + toString(this.u2g());
|
|
1122
|
+
};
|
|
1123
|
+
protoOf(StringValuesSingleImpl).hashCode = function () {
|
|
1124
|
+
return entriesHashCode(this.u2g(), imul(31, getBooleanHashCode(this.r2g())));
|
|
1125
|
+
};
|
|
1126
|
+
protoOf(StringValuesSingleImpl).equals = function (other) {
|
|
1127
|
+
if (this === other)
|
|
1128
|
+
return true;
|
|
1129
|
+
if (!(!(other == null) ? isInterface(other, StringValues) : false))
|
|
1130
|
+
return false;
|
|
1131
|
+
if (!(this.r2g() === other.r2g()))
|
|
1132
|
+
return false;
|
|
1133
|
+
return entriesEquals(this.u2g(), other.u2g());
|
|
1134
|
+
};
|
|
1135
|
+
protoOf(StringValuesSingleImpl).v2g = function (body) {
|
|
1136
|
+
return body(this.m2h_1, this.n2h_1);
|
|
1137
|
+
};
|
|
1138
|
+
protoOf(StringValuesSingleImpl).n2f = function (name) {
|
|
1139
|
+
return equals_0(name, this.m2h_1, this.r2g()) ? firstOrNull(this.n2h_1) : null;
|
|
1140
|
+
};
|
|
1074
1141
|
function toLowerCasePreservingASCIIRules(_this__u8e3s4) {
|
|
1075
1142
|
var tmp$ret$1;
|
|
1076
1143
|
$l$block: {
|
|
@@ -1101,14 +1168,14 @@
|
|
|
1101
1168
|
// Inline function 'kotlin.apply' call
|
|
1102
1169
|
var this_0 = StringBuilder_init_$Create$(capacity);
|
|
1103
1170
|
// Inline function 'io.ktor.util.toLowerCasePreservingASCIIRules.<anonymous>' call
|
|
1104
|
-
this_0.
|
|
1171
|
+
this_0.ad(original, 0, firstIndex);
|
|
1105
1172
|
var inductionVariable_0 = firstIndex;
|
|
1106
1173
|
var last_0 = get_lastIndex(original);
|
|
1107
1174
|
if (inductionVariable_0 <= last_0)
|
|
1108
1175
|
do {
|
|
1109
1176
|
var index_0 = inductionVariable_0;
|
|
1110
1177
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1111
|
-
this_0.
|
|
1178
|
+
this_0.s8(toLowerCasePreservingASCII(charSequenceGet(original, index_0)));
|
|
1112
1179
|
}
|
|
1113
1180
|
while (!(index_0 === last_0));
|
|
1114
1181
|
return this_0.toString();
|
|
@@ -1130,9 +1197,9 @@
|
|
|
1130
1197
|
return tmp;
|
|
1131
1198
|
}
|
|
1132
1199
|
function CaseInsensitiveString(content) {
|
|
1133
|
-
this.
|
|
1200
|
+
this.i2f_1 = content;
|
|
1134
1201
|
var temp = 0;
|
|
1135
|
-
var indexedObject = this.
|
|
1202
|
+
var indexedObject = this.i2f_1;
|
|
1136
1203
|
var inductionVariable = 0;
|
|
1137
1204
|
var last = indexedObject.length;
|
|
1138
1205
|
while (inductionVariable < last) {
|
|
@@ -1148,27 +1215,27 @@
|
|
|
1148
1215
|
var this_0 = charSequenceGet(tmp$ret$2, 0);
|
|
1149
1216
|
temp = tmp + Char__toInt_impl_vasixd(this_0) | 0;
|
|
1150
1217
|
}
|
|
1151
|
-
this.
|
|
1218
|
+
this.j2f_1 = temp;
|
|
1152
1219
|
}
|
|
1153
1220
|
protoOf(CaseInsensitiveString).equals = function (other) {
|
|
1154
1221
|
var tmp0_safe_receiver = other instanceof CaseInsensitiveString ? other : null;
|
|
1155
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1156
|
-
return (tmp1_safe_receiver == null ? null : equals_0(tmp1_safe_receiver, this.
|
|
1222
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i2f_1;
|
|
1223
|
+
return (tmp1_safe_receiver == null ? null : equals_0(tmp1_safe_receiver, this.i2f_1, true)) === true;
|
|
1157
1224
|
};
|
|
1158
1225
|
protoOf(CaseInsensitiveString).hashCode = function () {
|
|
1159
|
-
return this.
|
|
1226
|
+
return this.j2f_1;
|
|
1160
1227
|
};
|
|
1161
1228
|
protoOf(CaseInsensitiveString).toString = function () {
|
|
1162
|
-
return this.
|
|
1229
|
+
return this.i2f_1;
|
|
1163
1230
|
};
|
|
1164
1231
|
function caseInsensitive(_this__u8e3s4) {
|
|
1165
1232
|
return new CaseInsensitiveString(_this__u8e3s4);
|
|
1166
1233
|
}
|
|
1167
1234
|
function CopyOnWriteHashMap() {
|
|
1168
|
-
this.
|
|
1235
|
+
this.o2h_1 = atomic$ref$1(emptyMap());
|
|
1169
1236
|
}
|
|
1170
|
-
protoOf(CopyOnWriteHashMap).
|
|
1171
|
-
return this.
|
|
1237
|
+
protoOf(CopyOnWriteHashMap).p2h = function (key) {
|
|
1238
|
+
return this.o2h_1.kotlinx$atomicfu$value.k2(key);
|
|
1172
1239
|
};
|
|
1173
1240
|
function Companion() {
|
|
1174
1241
|
Companion_instance_0 = this;
|
|
@@ -1176,8 +1243,8 @@
|
|
|
1176
1243
|
// Inline function 'kotlin.arrayOf' call
|
|
1177
1244
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1178
1245
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1179
|
-
tmp.
|
|
1180
|
-
this.
|
|
1246
|
+
tmp.q2h_1 = [null, null, null, createSimpleEnumSerializer('io.ktor.util.date.WeekDay', values()), null, null, createSimpleEnumSerializer('io.ktor.util.date.Month', values_0()), null, null];
|
|
1247
|
+
this.r2h_1 = GMTDate_0(new Long(0, 0));
|
|
1181
1248
|
}
|
|
1182
1249
|
var Companion_instance_0;
|
|
1183
1250
|
function Companion_getInstance() {
|
|
@@ -1188,37 +1255,37 @@
|
|
|
1188
1255
|
function $serializer() {
|
|
1189
1256
|
$serializer_instance = this;
|
|
1190
1257
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('io.ktor.util.date.GMTDate', this, 9);
|
|
1191
|
-
tmp0_serialDesc.
|
|
1192
|
-
tmp0_serialDesc.
|
|
1193
|
-
tmp0_serialDesc.
|
|
1194
|
-
tmp0_serialDesc.
|
|
1195
|
-
tmp0_serialDesc.
|
|
1196
|
-
tmp0_serialDesc.
|
|
1197
|
-
tmp0_serialDesc.
|
|
1198
|
-
tmp0_serialDesc.
|
|
1199
|
-
tmp0_serialDesc.
|
|
1200
|
-
this.
|
|
1201
|
-
}
|
|
1202
|
-
protoOf($serializer).
|
|
1203
|
-
var tmp0_desc = this.
|
|
1204
|
-
var tmp1_output = encoder.
|
|
1205
|
-
var tmp2_cached = Companion_getInstance().
|
|
1206
|
-
tmp1_output.
|
|
1207
|
-
tmp1_output.
|
|
1208
|
-
tmp1_output.
|
|
1209
|
-
tmp1_output.
|
|
1210
|
-
tmp1_output.
|
|
1211
|
-
tmp1_output.
|
|
1212
|
-
tmp1_output.
|
|
1213
|
-
tmp1_output.
|
|
1214
|
-
tmp1_output.
|
|
1215
|
-
tmp1_output.
|
|
1216
|
-
};
|
|
1217
|
-
protoOf($serializer).
|
|
1218
|
-
return this.
|
|
1219
|
-
};
|
|
1220
|
-
protoOf($serializer).
|
|
1221
|
-
var tmp0_desc = this.
|
|
1258
|
+
tmp0_serialDesc.n25('seconds', false);
|
|
1259
|
+
tmp0_serialDesc.n25('minutes', false);
|
|
1260
|
+
tmp0_serialDesc.n25('hours', false);
|
|
1261
|
+
tmp0_serialDesc.n25('dayOfWeek', false);
|
|
1262
|
+
tmp0_serialDesc.n25('dayOfMonth', false);
|
|
1263
|
+
tmp0_serialDesc.n25('dayOfYear', false);
|
|
1264
|
+
tmp0_serialDesc.n25('month', false);
|
|
1265
|
+
tmp0_serialDesc.n25('year', false);
|
|
1266
|
+
tmp0_serialDesc.n25('timestamp', false);
|
|
1267
|
+
this.s2h_1 = tmp0_serialDesc;
|
|
1268
|
+
}
|
|
1269
|
+
protoOf($serializer).t2h = function (encoder, value) {
|
|
1270
|
+
var tmp0_desc = this.s2h_1;
|
|
1271
|
+
var tmp1_output = encoder.z1x(tmp0_desc);
|
|
1272
|
+
var tmp2_cached = Companion_getInstance().q2h_1;
|
|
1273
|
+
tmp1_output.j1z(tmp0_desc, 0, value.u2h_1);
|
|
1274
|
+
tmp1_output.j1z(tmp0_desc, 1, value.v2h_1);
|
|
1275
|
+
tmp1_output.j1z(tmp0_desc, 2, value.w2h_1);
|
|
1276
|
+
tmp1_output.q1z(tmp0_desc, 3, tmp2_cached[3], value.x2h_1);
|
|
1277
|
+
tmp1_output.j1z(tmp0_desc, 4, value.y2h_1);
|
|
1278
|
+
tmp1_output.j1z(tmp0_desc, 5, value.z2h_1);
|
|
1279
|
+
tmp1_output.q1z(tmp0_desc, 6, tmp2_cached[6], value.a2i_1);
|
|
1280
|
+
tmp1_output.j1z(tmp0_desc, 7, value.b2i_1);
|
|
1281
|
+
tmp1_output.k1z(tmp0_desc, 8, value.c2i_1);
|
|
1282
|
+
tmp1_output.a1y(tmp0_desc);
|
|
1283
|
+
};
|
|
1284
|
+
protoOf($serializer).n1u = function (encoder, value) {
|
|
1285
|
+
return this.t2h(encoder, value instanceof GMTDate ? value : THROW_CCE());
|
|
1286
|
+
};
|
|
1287
|
+
protoOf($serializer).o1u = function (decoder) {
|
|
1288
|
+
var tmp0_desc = this.s2h_1;
|
|
1222
1289
|
var tmp1_flag = true;
|
|
1223
1290
|
var tmp2_index = 0;
|
|
1224
1291
|
var tmp3_bitMask0 = 0;
|
|
@@ -1231,82 +1298,82 @@
|
|
|
1231
1298
|
var tmp10_local6 = null;
|
|
1232
1299
|
var tmp11_local7 = 0;
|
|
1233
1300
|
var tmp12_local8 = new Long(0, 0);
|
|
1234
|
-
var tmp13_input = decoder.
|
|
1235
|
-
var tmp14_cached = Companion_getInstance().
|
|
1236
|
-
if (tmp13_input.
|
|
1237
|
-
tmp4_local0 = tmp13_input.
|
|
1301
|
+
var tmp13_input = decoder.z1x(tmp0_desc);
|
|
1302
|
+
var tmp14_cached = Companion_getInstance().q2h_1;
|
|
1303
|
+
if (tmp13_input.p1y()) {
|
|
1304
|
+
tmp4_local0 = tmp13_input.e1y(tmp0_desc, 0);
|
|
1238
1305
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1239
|
-
tmp5_local1 = tmp13_input.
|
|
1306
|
+
tmp5_local1 = tmp13_input.e1y(tmp0_desc, 1);
|
|
1240
1307
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1241
|
-
tmp6_local2 = tmp13_input.
|
|
1308
|
+
tmp6_local2 = tmp13_input.e1y(tmp0_desc, 2);
|
|
1242
1309
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1243
|
-
tmp7_local3 = tmp13_input.
|
|
1310
|
+
tmp7_local3 = tmp13_input.l1y(tmp0_desc, 3, tmp14_cached[3], tmp7_local3);
|
|
1244
1311
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1245
|
-
tmp8_local4 = tmp13_input.
|
|
1312
|
+
tmp8_local4 = tmp13_input.e1y(tmp0_desc, 4);
|
|
1246
1313
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1247
|
-
tmp9_local5 = tmp13_input.
|
|
1314
|
+
tmp9_local5 = tmp13_input.e1y(tmp0_desc, 5);
|
|
1248
1315
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1249
|
-
tmp10_local6 = tmp13_input.
|
|
1316
|
+
tmp10_local6 = tmp13_input.l1y(tmp0_desc, 6, tmp14_cached[6], tmp10_local6);
|
|
1250
1317
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1251
|
-
tmp11_local7 = tmp13_input.
|
|
1318
|
+
tmp11_local7 = tmp13_input.e1y(tmp0_desc, 7);
|
|
1252
1319
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1253
|
-
tmp12_local8 = tmp13_input.
|
|
1320
|
+
tmp12_local8 = tmp13_input.f1y(tmp0_desc, 8);
|
|
1254
1321
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1255
1322
|
} else
|
|
1256
1323
|
while (tmp1_flag) {
|
|
1257
|
-
tmp2_index = tmp13_input.
|
|
1324
|
+
tmp2_index = tmp13_input.q1y(tmp0_desc);
|
|
1258
1325
|
switch (tmp2_index) {
|
|
1259
1326
|
case -1:
|
|
1260
1327
|
tmp1_flag = false;
|
|
1261
1328
|
break;
|
|
1262
1329
|
case 0:
|
|
1263
|
-
tmp4_local0 = tmp13_input.
|
|
1330
|
+
tmp4_local0 = tmp13_input.e1y(tmp0_desc, 0);
|
|
1264
1331
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1265
1332
|
break;
|
|
1266
1333
|
case 1:
|
|
1267
|
-
tmp5_local1 = tmp13_input.
|
|
1334
|
+
tmp5_local1 = tmp13_input.e1y(tmp0_desc, 1);
|
|
1268
1335
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1269
1336
|
break;
|
|
1270
1337
|
case 2:
|
|
1271
|
-
tmp6_local2 = tmp13_input.
|
|
1338
|
+
tmp6_local2 = tmp13_input.e1y(tmp0_desc, 2);
|
|
1272
1339
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1273
1340
|
break;
|
|
1274
1341
|
case 3:
|
|
1275
|
-
tmp7_local3 = tmp13_input.
|
|
1342
|
+
tmp7_local3 = tmp13_input.l1y(tmp0_desc, 3, tmp14_cached[3], tmp7_local3);
|
|
1276
1343
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1277
1344
|
break;
|
|
1278
1345
|
case 4:
|
|
1279
|
-
tmp8_local4 = tmp13_input.
|
|
1346
|
+
tmp8_local4 = tmp13_input.e1y(tmp0_desc, 4);
|
|
1280
1347
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1281
1348
|
break;
|
|
1282
1349
|
case 5:
|
|
1283
|
-
tmp9_local5 = tmp13_input.
|
|
1350
|
+
tmp9_local5 = tmp13_input.e1y(tmp0_desc, 5);
|
|
1284
1351
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1285
1352
|
break;
|
|
1286
1353
|
case 6:
|
|
1287
|
-
tmp10_local6 = tmp13_input.
|
|
1354
|
+
tmp10_local6 = tmp13_input.l1y(tmp0_desc, 6, tmp14_cached[6], tmp10_local6);
|
|
1288
1355
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1289
1356
|
break;
|
|
1290
1357
|
case 7:
|
|
1291
|
-
tmp11_local7 = tmp13_input.
|
|
1358
|
+
tmp11_local7 = tmp13_input.e1y(tmp0_desc, 7);
|
|
1292
1359
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1293
1360
|
break;
|
|
1294
1361
|
case 8:
|
|
1295
|
-
tmp12_local8 = tmp13_input.
|
|
1362
|
+
tmp12_local8 = tmp13_input.f1y(tmp0_desc, 8);
|
|
1296
1363
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1297
1364
|
break;
|
|
1298
1365
|
default:
|
|
1299
1366
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1300
1367
|
}
|
|
1301
1368
|
}
|
|
1302
|
-
tmp13_input.
|
|
1369
|
+
tmp13_input.a1y(tmp0_desc);
|
|
1303
1370
|
return GMTDate_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
1304
1371
|
};
|
|
1305
|
-
protoOf($serializer).
|
|
1306
|
-
return this.
|
|
1372
|
+
protoOf($serializer).m1u = function () {
|
|
1373
|
+
return this.s2h_1;
|
|
1307
1374
|
};
|
|
1308
|
-
protoOf($serializer).
|
|
1309
|
-
var tmp0_cached = Companion_getInstance().
|
|
1375
|
+
protoOf($serializer).d26 = function () {
|
|
1376
|
+
var tmp0_cached = Companion_getInstance().q2h_1;
|
|
1310
1377
|
// Inline function 'kotlin.arrayOf' call
|
|
1311
1378
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1312
1379
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1320,17 +1387,17 @@
|
|
|
1320
1387
|
}
|
|
1321
1388
|
function GMTDate_init_$Init$(seen0, seconds, minutes, hours, dayOfWeek, dayOfMonth, dayOfYear, month, year, timestamp, serializationConstructorMarker, $this) {
|
|
1322
1389
|
if (!(511 === (511 & seen0))) {
|
|
1323
|
-
throwMissingFieldException(seen0, 511, $serializer_getInstance().
|
|
1324
|
-
}
|
|
1325
|
-
$this.
|
|
1326
|
-
$this.
|
|
1327
|
-
$this.
|
|
1328
|
-
$this.
|
|
1329
|
-
$this.
|
|
1330
|
-
$this.
|
|
1331
|
-
$this.
|
|
1332
|
-
$this.
|
|
1333
|
-
$this.
|
|
1390
|
+
throwMissingFieldException(seen0, 511, $serializer_getInstance().s2h_1);
|
|
1391
|
+
}
|
|
1392
|
+
$this.u2h_1 = seconds;
|
|
1393
|
+
$this.v2h_1 = minutes;
|
|
1394
|
+
$this.w2h_1 = hours;
|
|
1395
|
+
$this.x2h_1 = dayOfWeek;
|
|
1396
|
+
$this.y2h_1 = dayOfMonth;
|
|
1397
|
+
$this.z2h_1 = dayOfYear;
|
|
1398
|
+
$this.a2i_1 = month;
|
|
1399
|
+
$this.b2i_1 = year;
|
|
1400
|
+
$this.c2i_1 = timestamp;
|
|
1334
1401
|
return $this;
|
|
1335
1402
|
}
|
|
1336
1403
|
function GMTDate_init_$Create$(seen0, seconds, minutes, hours, dayOfWeek, dayOfMonth, dayOfYear, month, year, timestamp, serializationConstructorMarker) {
|
|
@@ -1338,35 +1405,35 @@
|
|
|
1338
1405
|
}
|
|
1339
1406
|
function GMTDate(seconds, minutes, hours, dayOfWeek, dayOfMonth, dayOfYear, month, year, timestamp) {
|
|
1340
1407
|
Companion_getInstance();
|
|
1341
|
-
this.
|
|
1342
|
-
this.
|
|
1343
|
-
this.
|
|
1344
|
-
this.
|
|
1345
|
-
this.
|
|
1346
|
-
this.
|
|
1347
|
-
this.
|
|
1348
|
-
this.
|
|
1349
|
-
this.
|
|
1350
|
-
}
|
|
1351
|
-
protoOf(GMTDate).
|
|
1352
|
-
return this.
|
|
1408
|
+
this.u2h_1 = seconds;
|
|
1409
|
+
this.v2h_1 = minutes;
|
|
1410
|
+
this.w2h_1 = hours;
|
|
1411
|
+
this.x2h_1 = dayOfWeek;
|
|
1412
|
+
this.y2h_1 = dayOfMonth;
|
|
1413
|
+
this.z2h_1 = dayOfYear;
|
|
1414
|
+
this.a2i_1 = month;
|
|
1415
|
+
this.b2i_1 = year;
|
|
1416
|
+
this.c2i_1 = timestamp;
|
|
1417
|
+
}
|
|
1418
|
+
protoOf(GMTDate).d2i = function (other) {
|
|
1419
|
+
return this.c2i_1.e1(other.c2i_1);
|
|
1353
1420
|
};
|
|
1354
1421
|
protoOf(GMTDate).d = function (other) {
|
|
1355
|
-
return this.
|
|
1422
|
+
return this.d2i(other instanceof GMTDate ? other : THROW_CCE());
|
|
1356
1423
|
};
|
|
1357
1424
|
protoOf(GMTDate).toString = function () {
|
|
1358
|
-
return 'GMTDate(seconds=' + this.
|
|
1425
|
+
return 'GMTDate(seconds=' + this.u2h_1 + ', minutes=' + this.v2h_1 + ', hours=' + this.w2h_1 + ', dayOfWeek=' + this.x2h_1.toString() + ', dayOfMonth=' + this.y2h_1 + ', dayOfYear=' + this.z2h_1 + ', month=' + this.a2i_1.toString() + ', year=' + this.b2i_1 + ', timestamp=' + this.c2i_1.toString() + ')';
|
|
1359
1426
|
};
|
|
1360
1427
|
protoOf(GMTDate).hashCode = function () {
|
|
1361
|
-
var result = this.
|
|
1362
|
-
result = imul(result, 31) + this.
|
|
1363
|
-
result = imul(result, 31) + this.
|
|
1364
|
-
result = imul(result, 31) + this.
|
|
1365
|
-
result = imul(result, 31) + this.
|
|
1366
|
-
result = imul(result, 31) + this.
|
|
1367
|
-
result = imul(result, 31) + this.
|
|
1368
|
-
result = imul(result, 31) + this.
|
|
1369
|
-
result = imul(result, 31) + this.
|
|
1428
|
+
var result = this.u2h_1;
|
|
1429
|
+
result = imul(result, 31) + this.v2h_1 | 0;
|
|
1430
|
+
result = imul(result, 31) + this.w2h_1 | 0;
|
|
1431
|
+
result = imul(result, 31) + this.x2h_1.hashCode() | 0;
|
|
1432
|
+
result = imul(result, 31) + this.y2h_1 | 0;
|
|
1433
|
+
result = imul(result, 31) + this.z2h_1 | 0;
|
|
1434
|
+
result = imul(result, 31) + this.a2i_1.hashCode() | 0;
|
|
1435
|
+
result = imul(result, 31) + this.b2i_1 | 0;
|
|
1436
|
+
result = imul(result, 31) + this.c2i_1.hashCode() | 0;
|
|
1370
1437
|
return result;
|
|
1371
1438
|
};
|
|
1372
1439
|
protoOf(GMTDate).equals = function (other) {
|
|
@@ -1375,23 +1442,23 @@
|
|
|
1375
1442
|
if (!(other instanceof GMTDate))
|
|
1376
1443
|
return false;
|
|
1377
1444
|
var tmp0_other_with_cast = other instanceof GMTDate ? other : THROW_CCE();
|
|
1378
|
-
if (!(this.
|
|
1445
|
+
if (!(this.u2h_1 === tmp0_other_with_cast.u2h_1))
|
|
1379
1446
|
return false;
|
|
1380
|
-
if (!(this.
|
|
1447
|
+
if (!(this.v2h_1 === tmp0_other_with_cast.v2h_1))
|
|
1381
1448
|
return false;
|
|
1382
|
-
if (!(this.
|
|
1449
|
+
if (!(this.w2h_1 === tmp0_other_with_cast.w2h_1))
|
|
1383
1450
|
return false;
|
|
1384
|
-
if (!this.
|
|
1451
|
+
if (!this.x2h_1.equals(tmp0_other_with_cast.x2h_1))
|
|
1385
1452
|
return false;
|
|
1386
|
-
if (!(this.
|
|
1453
|
+
if (!(this.y2h_1 === tmp0_other_with_cast.y2h_1))
|
|
1387
1454
|
return false;
|
|
1388
|
-
if (!(this.
|
|
1455
|
+
if (!(this.z2h_1 === tmp0_other_with_cast.z2h_1))
|
|
1389
1456
|
return false;
|
|
1390
|
-
if (!this.
|
|
1457
|
+
if (!this.a2i_1.equals(tmp0_other_with_cast.a2i_1))
|
|
1391
1458
|
return false;
|
|
1392
|
-
if (!(this.
|
|
1459
|
+
if (!(this.b2i_1 === tmp0_other_with_cast.b2i_1))
|
|
1393
1460
|
return false;
|
|
1394
|
-
if (!this.
|
|
1461
|
+
if (!this.c2i_1.equals(tmp0_other_with_cast.c2i_1))
|
|
1395
1462
|
return false;
|
|
1396
1463
|
return true;
|
|
1397
1464
|
};
|
|
@@ -1404,7 +1471,7 @@
|
|
|
1404
1471
|
var WeekDay_SUNDAY_instance;
|
|
1405
1472
|
function Companion_0() {
|
|
1406
1473
|
}
|
|
1407
|
-
protoOf(Companion_0).
|
|
1474
|
+
protoOf(Companion_0).e2i = function (ordinal) {
|
|
1408
1475
|
return get_entries().u(ordinal);
|
|
1409
1476
|
};
|
|
1410
1477
|
var Companion_instance_1;
|
|
@@ -1435,7 +1502,7 @@
|
|
|
1435
1502
|
var $ENTRIES;
|
|
1436
1503
|
function WeekDay(name, ordinal, value) {
|
|
1437
1504
|
Enum.call(this, name, ordinal);
|
|
1438
|
-
this.
|
|
1505
|
+
this.h2i_1 = value;
|
|
1439
1506
|
}
|
|
1440
1507
|
var Month_JANUARY_instance;
|
|
1441
1508
|
var Month_FEBRUARY_instance;
|
|
@@ -1451,7 +1518,7 @@
|
|
|
1451
1518
|
var Month_DECEMBER_instance;
|
|
1452
1519
|
function Companion_1() {
|
|
1453
1520
|
}
|
|
1454
|
-
protoOf(Companion_1).
|
|
1521
|
+
protoOf(Companion_1).e2i = function (ordinal) {
|
|
1455
1522
|
return get_entries_0().u(ordinal);
|
|
1456
1523
|
};
|
|
1457
1524
|
var Companion_instance_2;
|
|
@@ -1487,7 +1554,7 @@
|
|
|
1487
1554
|
var $ENTRIES_0;
|
|
1488
1555
|
function Month(name, ordinal, value) {
|
|
1489
1556
|
Enum.call(this, name, ordinal);
|
|
1490
|
-
this.
|
|
1557
|
+
this.k2i_1 = value;
|
|
1491
1558
|
}
|
|
1492
1559
|
function WeekDay_MONDAY_getInstance() {
|
|
1493
1560
|
WeekDay_initEntries();
|
|
@@ -1571,26 +1638,26 @@
|
|
|
1571
1638
|
var REMOVE_PREPARED;
|
|
1572
1639
|
var NO_DECISION;
|
|
1573
1640
|
function Symbol(symbol) {
|
|
1574
|
-
this.
|
|
1641
|
+
this.l2i_1 = symbol;
|
|
1575
1642
|
}
|
|
1576
1643
|
protoOf(Symbol).toString = function () {
|
|
1577
|
-
return this.
|
|
1644
|
+
return this.l2i_1;
|
|
1578
1645
|
};
|
|
1579
1646
|
function LockFreeLinkedListNode() {
|
|
1580
1647
|
}
|
|
1581
|
-
protoOf(LockFreeLinkedListNode).
|
|
1648
|
+
protoOf(LockFreeLinkedListNode).y10 = function () {
|
|
1582
1649
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
1583
|
-
var this_0 = this.
|
|
1650
|
+
var this_0 = this.m2i_1;
|
|
1584
1651
|
while (true) {
|
|
1585
1652
|
// Inline function 'io.ktor.util.internal.LockFreeLinkedListNode.<get-next>.<anonymous>' call
|
|
1586
1653
|
var next = this_0.kotlinx$atomicfu$value;
|
|
1587
1654
|
if (!(next instanceof OpDescriptor))
|
|
1588
1655
|
return next;
|
|
1589
|
-
next.
|
|
1656
|
+
next.n2i(this);
|
|
1590
1657
|
}
|
|
1591
1658
|
};
|
|
1592
|
-
protoOf(LockFreeLinkedListNode).
|
|
1593
|
-
return unwrap(this.
|
|
1659
|
+
protoOf(LockFreeLinkedListNode).o2i = function () {
|
|
1660
|
+
return unwrap(this.y10());
|
|
1594
1661
|
};
|
|
1595
1662
|
function Removed() {
|
|
1596
1663
|
}
|
|
@@ -1599,7 +1666,7 @@
|
|
|
1599
1666
|
function unwrap(_this__u8e3s4) {
|
|
1600
1667
|
_init_properties_LockFreeLinkedList_kt__wekxce();
|
|
1601
1668
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof Removed ? _this__u8e3s4 : null;
|
|
1602
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1669
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p2i_1;
|
|
1603
1670
|
var tmp;
|
|
1604
1671
|
if (tmp1_elvis_lhs == null) {
|
|
1605
1672
|
tmp = _this__u8e3s4 instanceof LockFreeLinkedListNode ? _this__u8e3s4 : THROW_CCE();
|
|
@@ -1621,114 +1688,114 @@
|
|
|
1621
1688
|
}
|
|
1622
1689
|
function proceedLoop($this, $completion) {
|
|
1623
1690
|
var tmp = new $proceedLoopCOROUTINE$0($this, $completion);
|
|
1624
|
-
tmp.
|
|
1625
|
-
tmp.
|
|
1626
|
-
return tmp.
|
|
1691
|
+
tmp.i9_1 = Unit_instance;
|
|
1692
|
+
tmp.j9_1 = null;
|
|
1693
|
+
return tmp.o9();
|
|
1627
1694
|
}
|
|
1628
1695
|
function $proceedLoopCOROUTINE$0(_this__u8e3s4, resultContinuation) {
|
|
1629
1696
|
CoroutineImpl.call(this, resultContinuation);
|
|
1630
|
-
this.
|
|
1697
|
+
this.y2i_1 = _this__u8e3s4;
|
|
1631
1698
|
}
|
|
1632
|
-
protoOf($proceedLoopCOROUTINE$0).
|
|
1633
|
-
var suspendResult = this.
|
|
1699
|
+
protoOf($proceedLoopCOROUTINE$0).o9 = function () {
|
|
1700
|
+
var suspendResult = this.i9_1;
|
|
1634
1701
|
$sm: do
|
|
1635
1702
|
try {
|
|
1636
|
-
var tmp = this.
|
|
1703
|
+
var tmp = this.g9_1;
|
|
1637
1704
|
switch (tmp) {
|
|
1638
1705
|
case 0:
|
|
1639
|
-
this.
|
|
1640
|
-
this.
|
|
1706
|
+
this.h9_1 = 6;
|
|
1707
|
+
this.g9_1 = 1;
|
|
1641
1708
|
continue $sm;
|
|
1642
1709
|
case 1:
|
|
1643
|
-
this.
|
|
1644
|
-
if (this.
|
|
1645
|
-
this.
|
|
1710
|
+
this.z2i_1 = this.y2i_1.g2j_1;
|
|
1711
|
+
if (this.z2i_1 === -1) {
|
|
1712
|
+
this.g9_1 = 5;
|
|
1646
1713
|
continue $sm;
|
|
1647
1714
|
} else {
|
|
1648
|
-
this.
|
|
1715
|
+
this.g9_1 = 2;
|
|
1649
1716
|
continue $sm;
|
|
1650
1717
|
}
|
|
1651
1718
|
|
|
1652
1719
|
case 2:
|
|
1653
|
-
this.
|
|
1654
|
-
if (this.
|
|
1655
|
-
this.
|
|
1656
|
-
this.
|
|
1720
|
+
this.a2j_1 = this.y2i_1.d2j_1;
|
|
1721
|
+
if (this.z2i_1 >= this.a2j_1.s()) {
|
|
1722
|
+
this.y2i_1.h2j();
|
|
1723
|
+
this.g9_1 = 5;
|
|
1657
1724
|
continue $sm;
|
|
1658
1725
|
} else {
|
|
1659
|
-
this.
|
|
1726
|
+
this.g9_1 = 3;
|
|
1660
1727
|
continue $sm;
|
|
1661
1728
|
}
|
|
1662
1729
|
|
|
1663
1730
|
case 3:
|
|
1664
|
-
this.
|
|
1665
|
-
this.
|
|
1666
|
-
this.
|
|
1667
|
-
suspendResult = this.
|
|
1731
|
+
this.b2j_1 = this.a2j_1.u(this.z2i_1);
|
|
1732
|
+
this.y2i_1.g2j_1 = this.z2i_1 + 1 | 0;
|
|
1733
|
+
this.g9_1 = 4;
|
|
1734
|
+
suspendResult = this.b2j_1(this.y2i_1, this.y2i_1.f2j_1, this);
|
|
1668
1735
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1669
1736
|
return suspendResult;
|
|
1670
1737
|
}
|
|
1671
1738
|
|
|
1672
1739
|
continue $sm;
|
|
1673
1740
|
case 4:
|
|
1674
|
-
this.
|
|
1741
|
+
this.g9_1 = 1;
|
|
1675
1742
|
continue $sm;
|
|
1676
1743
|
case 5:
|
|
1677
|
-
return this.
|
|
1744
|
+
return this.y2i_1.f2j_1;
|
|
1678
1745
|
case 6:
|
|
1679
|
-
throw this.
|
|
1746
|
+
throw this.j9_1;
|
|
1680
1747
|
}
|
|
1681
1748
|
} catch ($p) {
|
|
1682
1749
|
var e = $p;
|
|
1683
|
-
if (this.
|
|
1750
|
+
if (this.h9_1 === 6) {
|
|
1684
1751
|
throw e;
|
|
1685
1752
|
} else {
|
|
1686
|
-
this.
|
|
1687
|
-
this.
|
|
1753
|
+
this.g9_1 = this.h9_1;
|
|
1754
|
+
this.j9_1 = e;
|
|
1688
1755
|
}
|
|
1689
1756
|
}
|
|
1690
1757
|
while (true);
|
|
1691
1758
|
};
|
|
1692
1759
|
function DebugPipelineContext(context, interceptors, subject, coroutineContext) {
|
|
1693
1760
|
PipelineContext.call(this, context);
|
|
1694
|
-
this.
|
|
1695
|
-
this.
|
|
1696
|
-
this.
|
|
1697
|
-
this.
|
|
1761
|
+
this.d2j_1 = interceptors;
|
|
1762
|
+
this.e2j_1 = coroutineContext;
|
|
1763
|
+
this.f2j_1 = subject;
|
|
1764
|
+
this.g2j_1 = 0;
|
|
1698
1765
|
}
|
|
1699
|
-
protoOf(DebugPipelineContext).
|
|
1700
|
-
return this.
|
|
1766
|
+
protoOf(DebugPipelineContext).ho = function () {
|
|
1767
|
+
return this.e2j_1;
|
|
1701
1768
|
};
|
|
1702
|
-
protoOf(DebugPipelineContext).
|
|
1703
|
-
return this.
|
|
1769
|
+
protoOf(DebugPipelineContext).i2j = function () {
|
|
1770
|
+
return this.f2j_1;
|
|
1704
1771
|
};
|
|
1705
|
-
protoOf(DebugPipelineContext).
|
|
1706
|
-
this.
|
|
1772
|
+
protoOf(DebugPipelineContext).h2j = function () {
|
|
1773
|
+
this.g2j_1 = -1;
|
|
1707
1774
|
};
|
|
1708
|
-
protoOf(DebugPipelineContext).
|
|
1709
|
-
this.
|
|
1710
|
-
return this.
|
|
1775
|
+
protoOf(DebugPipelineContext).j2j = function (subject, $completion) {
|
|
1776
|
+
this.f2j_1 = subject;
|
|
1777
|
+
return this.k2j($completion);
|
|
1711
1778
|
};
|
|
1712
|
-
protoOf(DebugPipelineContext).
|
|
1713
|
-
var index = this.
|
|
1779
|
+
protoOf(DebugPipelineContext).k2j = function ($completion) {
|
|
1780
|
+
var index = this.g2j_1;
|
|
1714
1781
|
if (index < 0)
|
|
1715
|
-
return this.
|
|
1716
|
-
if (index >= this.
|
|
1717
|
-
this.
|
|
1718
|
-
return this.
|
|
1782
|
+
return this.f2j_1;
|
|
1783
|
+
if (index >= this.d2j_1.s()) {
|
|
1784
|
+
this.h2j();
|
|
1785
|
+
return this.f2j_1;
|
|
1719
1786
|
}
|
|
1720
1787
|
return proceedLoop(this, $completion);
|
|
1721
1788
|
};
|
|
1722
|
-
protoOf(DebugPipelineContext).
|
|
1723
|
-
this.
|
|
1724
|
-
this.
|
|
1725
|
-
return this.
|
|
1789
|
+
protoOf(DebugPipelineContext).l2j = function (initial, $completion) {
|
|
1790
|
+
this.g2j_1 = 0;
|
|
1791
|
+
this.f2j_1 = initial;
|
|
1792
|
+
return this.k2j($completion);
|
|
1726
1793
|
};
|
|
1727
1794
|
function PhaseContent_init_$Init$(phase, relation, $this) {
|
|
1728
|
-
var tmp = Companion_getInstance_2().
|
|
1795
|
+
var tmp = Companion_getInstance_2().m2j_1;
|
|
1729
1796
|
PhaseContent.call($this, phase, relation, isInterface(tmp, KtMutableList) ? tmp : THROW_CCE());
|
|
1730
1797
|
// Inline function 'kotlin.check' call
|
|
1731
|
-
if (!Companion_getInstance_2().
|
|
1798
|
+
if (!Companion_getInstance_2().m2j_1.h()) {
|
|
1732
1799
|
// Inline function 'io.ktor.util.pipeline.PhaseContent.<init>.<anonymous>' call
|
|
1733
1800
|
var message = 'The shared empty array list has been modified';
|
|
1734
1801
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
@@ -1739,17 +1806,17 @@
|
|
|
1739
1806
|
return PhaseContent_init_$Init$(phase, relation, objectCreate(protoOf(PhaseContent)));
|
|
1740
1807
|
}
|
|
1741
1808
|
function copiedInterceptors($this) {
|
|
1742
|
-
return toMutableList($this.
|
|
1809
|
+
return toMutableList($this.p2j_1);
|
|
1743
1810
|
}
|
|
1744
1811
|
function copyInterceptors($this) {
|
|
1745
|
-
$this.
|
|
1746
|
-
$this.
|
|
1812
|
+
$this.p2j_1 = copiedInterceptors($this);
|
|
1813
|
+
$this.q2j_1 = false;
|
|
1747
1814
|
}
|
|
1748
1815
|
function Companion_2() {
|
|
1749
1816
|
Companion_instance_3 = this;
|
|
1750
1817
|
var tmp = this;
|
|
1751
1818
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1752
|
-
tmp.
|
|
1819
|
+
tmp.m2j_1 = ArrayList_init_$Create$_0();
|
|
1753
1820
|
}
|
|
1754
1821
|
var Companion_instance_3;
|
|
1755
1822
|
function Companion_getInstance_2() {
|
|
@@ -1759,27 +1826,27 @@
|
|
|
1759
1826
|
}
|
|
1760
1827
|
function PhaseContent(phase, relation, interceptors) {
|
|
1761
1828
|
Companion_getInstance_2();
|
|
1762
|
-
this.
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1765
|
-
this.
|
|
1829
|
+
this.n2j_1 = phase;
|
|
1830
|
+
this.o2j_1 = relation;
|
|
1831
|
+
this.p2j_1 = interceptors;
|
|
1832
|
+
this.q2j_1 = true;
|
|
1766
1833
|
}
|
|
1767
|
-
protoOf(PhaseContent).
|
|
1768
|
-
return this.
|
|
1834
|
+
protoOf(PhaseContent).r2j = function () {
|
|
1835
|
+
return this.p2j_1.h();
|
|
1769
1836
|
};
|
|
1770
1837
|
protoOf(PhaseContent).s = function () {
|
|
1771
|
-
return this.
|
|
1838
|
+
return this.p2j_1.s();
|
|
1772
1839
|
};
|
|
1773
|
-
protoOf(PhaseContent).
|
|
1774
|
-
if (this.
|
|
1840
|
+
protoOf(PhaseContent).s2j = function (interceptor) {
|
|
1841
|
+
if (this.q2j_1) {
|
|
1775
1842
|
copyInterceptors(this);
|
|
1776
1843
|
}
|
|
1777
|
-
this.
|
|
1844
|
+
this.p2j_1.k(interceptor);
|
|
1778
1845
|
};
|
|
1779
|
-
protoOf(PhaseContent).
|
|
1780
|
-
var interceptors = this.
|
|
1846
|
+
protoOf(PhaseContent).t2j = function (destination) {
|
|
1847
|
+
var interceptors = this.p2j_1;
|
|
1781
1848
|
if (destination instanceof ArrayList) {
|
|
1782
|
-
destination.
|
|
1849
|
+
destination.z5(destination.s() + interceptors.s() | 0);
|
|
1783
1850
|
}
|
|
1784
1851
|
var inductionVariable = 0;
|
|
1785
1852
|
var last = interceptors.s();
|
|
@@ -1791,24 +1858,30 @@
|
|
|
1791
1858
|
}
|
|
1792
1859
|
while (inductionVariable < last);
|
|
1793
1860
|
};
|
|
1794
|
-
protoOf(PhaseContent).
|
|
1795
|
-
this.
|
|
1796
|
-
return this.
|
|
1861
|
+
protoOf(PhaseContent).u2j = function () {
|
|
1862
|
+
this.q2j_1 = true;
|
|
1863
|
+
return this.p2j_1;
|
|
1797
1864
|
};
|
|
1798
1865
|
protoOf(PhaseContent).toString = function () {
|
|
1799
|
-
return 'Phase `' + this.
|
|
1866
|
+
return 'Phase `' + this.n2j_1.v2j_1 + '`, ' + this.s() + ' handlers';
|
|
1800
1867
|
};
|
|
1801
|
-
function _set_interceptors__wod97b($this,
|
|
1802
|
-
$this.
|
|
1868
|
+
function _set_interceptors__wod97b($this, _set____db54di) {
|
|
1869
|
+
var tmp0 = $this.a2k_1;
|
|
1870
|
+
interceptors$factory();
|
|
1871
|
+
tmp0.kotlinx$atomicfu$value = _set____db54di;
|
|
1872
|
+
return Unit_instance;
|
|
1803
1873
|
}
|
|
1804
1874
|
function _get_interceptors__h4min7($this) {
|
|
1805
|
-
|
|
1875
|
+
var tmp0 = $this.a2k_1;
|
|
1876
|
+
// Inline function 'kotlinx.atomicfu.AtomicRef.getValue' call
|
|
1877
|
+
interceptors$factory_0();
|
|
1878
|
+
return tmp0.kotlinx$atomicfu$value;
|
|
1806
1879
|
}
|
|
1807
1880
|
function createContext($this, context, subject, coroutineContext) {
|
|
1808
|
-
return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.
|
|
1881
|
+
return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.d2k());
|
|
1809
1882
|
}
|
|
1810
1883
|
function findPhase($this, phase) {
|
|
1811
|
-
var phasesList = $this.
|
|
1884
|
+
var phasesList = $this.y2j_1;
|
|
1812
1885
|
var inductionVariable = 0;
|
|
1813
1886
|
var last = phasesList.s();
|
|
1814
1887
|
if (inductionVariable < last)
|
|
@@ -1823,7 +1896,7 @@
|
|
|
1823
1896
|
}
|
|
1824
1897
|
var tmp;
|
|
1825
1898
|
if (current instanceof PhaseContent) {
|
|
1826
|
-
tmp = current.
|
|
1899
|
+
tmp = current.n2j_1 === phase;
|
|
1827
1900
|
} else {
|
|
1828
1901
|
tmp = false;
|
|
1829
1902
|
}
|
|
@@ -1835,7 +1908,7 @@
|
|
|
1835
1908
|
return null;
|
|
1836
1909
|
}
|
|
1837
1910
|
function findPhaseIndex($this, phase) {
|
|
1838
|
-
var phasesList = $this.
|
|
1911
|
+
var phasesList = $this.y2j_1;
|
|
1839
1912
|
var inductionVariable = 0;
|
|
1840
1913
|
var last = phasesList.s();
|
|
1841
1914
|
if (inductionVariable < last)
|
|
@@ -1849,7 +1922,7 @@
|
|
|
1849
1922
|
} else {
|
|
1850
1923
|
var tmp_0;
|
|
1851
1924
|
if (current instanceof PhaseContent) {
|
|
1852
|
-
tmp_0 = current.
|
|
1925
|
+
tmp_0 = current.n2j_1 === phase;
|
|
1853
1926
|
} else {
|
|
1854
1927
|
tmp_0 = false;
|
|
1855
1928
|
}
|
|
@@ -1863,7 +1936,7 @@
|
|
|
1863
1936
|
return -1;
|
|
1864
1937
|
}
|
|
1865
1938
|
function hasPhase($this, phase) {
|
|
1866
|
-
var phasesList = $this.
|
|
1939
|
+
var phasesList = $this.y2j_1;
|
|
1867
1940
|
var inductionVariable = 0;
|
|
1868
1941
|
var last = phasesList.s();
|
|
1869
1942
|
if (inductionVariable < last)
|
|
@@ -1877,7 +1950,7 @@
|
|
|
1877
1950
|
} else {
|
|
1878
1951
|
var tmp_0;
|
|
1879
1952
|
if (current instanceof PhaseContent) {
|
|
1880
|
-
tmp_0 = current.
|
|
1953
|
+
tmp_0 = current.n2j_1 === phase;
|
|
1881
1954
|
} else {
|
|
1882
1955
|
tmp_0 = false;
|
|
1883
1956
|
}
|
|
@@ -1891,12 +1964,12 @@
|
|
|
1891
1964
|
return false;
|
|
1892
1965
|
}
|
|
1893
1966
|
function cacheInterceptors($this) {
|
|
1894
|
-
var interceptorsQuantity = $this.
|
|
1967
|
+
var interceptorsQuantity = $this.z2j_1;
|
|
1895
1968
|
if (interceptorsQuantity === 0) {
|
|
1896
1969
|
notSharedInterceptorsList($this, emptyList());
|
|
1897
1970
|
return emptyList();
|
|
1898
1971
|
}
|
|
1899
|
-
var phases = $this.
|
|
1972
|
+
var phases = $this.y2j_1;
|
|
1900
1973
|
if (interceptorsQuantity === 1) {
|
|
1901
1974
|
var inductionVariable = 0;
|
|
1902
1975
|
var last = get_lastIndex_0(phases);
|
|
@@ -1913,9 +1986,9 @@
|
|
|
1913
1986
|
tmp_0 = tmp0_elvis_lhs;
|
|
1914
1987
|
}
|
|
1915
1988
|
var phaseContent = tmp_0;
|
|
1916
|
-
if (phaseContent.
|
|
1989
|
+
if (phaseContent.r2j())
|
|
1917
1990
|
continue $l$loop_0;
|
|
1918
|
-
var interceptors = phaseContent.
|
|
1991
|
+
var interceptors = phaseContent.u2j();
|
|
1919
1992
|
setInterceptorsListFromPhase($this, phaseContent);
|
|
1920
1993
|
return interceptors;
|
|
1921
1994
|
}
|
|
@@ -1938,7 +2011,7 @@
|
|
|
1938
2011
|
tmp_2 = tmp1_elvis_lhs;
|
|
1939
2012
|
}
|
|
1940
2013
|
var phase = tmp_2;
|
|
1941
|
-
phase.
|
|
2014
|
+
phase.t2j(destination);
|
|
1942
2015
|
}
|
|
1943
2016
|
while (!(phaseIndex_0 === last_0));
|
|
1944
2017
|
notSharedInterceptorsList($this, destination);
|
|
@@ -1948,31 +2021,31 @@
|
|
|
1948
2021
|
if (_get_interceptors__h4min7($this) == null) {
|
|
1949
2022
|
cacheInterceptors($this);
|
|
1950
2023
|
}
|
|
1951
|
-
$this.
|
|
2024
|
+
$this.b2k_1 = true;
|
|
1952
2025
|
return ensureNotNull(_get_interceptors__h4min7($this));
|
|
1953
2026
|
}
|
|
1954
2027
|
function resetInterceptorsList($this) {
|
|
1955
2028
|
_set_interceptors__wod97b($this, null);
|
|
1956
|
-
$this.
|
|
1957
|
-
$this.
|
|
2029
|
+
$this.b2k_1 = false;
|
|
2030
|
+
$this.c2k_1 = null;
|
|
1958
2031
|
}
|
|
1959
2032
|
function notSharedInterceptorsList($this, list) {
|
|
1960
2033
|
_set_interceptors__wod97b($this, list);
|
|
1961
|
-
$this.
|
|
1962
|
-
$this.
|
|
2034
|
+
$this.b2k_1 = false;
|
|
2035
|
+
$this.c2k_1 = null;
|
|
1963
2036
|
}
|
|
1964
2037
|
function setInterceptorsListFromPhase($this, phaseContent) {
|
|
1965
|
-
_set_interceptors__wod97b($this, phaseContent.
|
|
1966
|
-
$this.
|
|
1967
|
-
$this.
|
|
2038
|
+
_set_interceptors__wod97b($this, phaseContent.u2j());
|
|
2039
|
+
$this.b2k_1 = false;
|
|
2040
|
+
$this.c2k_1 = phaseContent.n2j_1;
|
|
1968
2041
|
}
|
|
1969
2042
|
function tryAddToPhaseFastPath($this, phase, block) {
|
|
1970
2043
|
var currentInterceptors = _get_interceptors__h4min7($this);
|
|
1971
|
-
if ($this.
|
|
2044
|
+
if ($this.y2j_1.h() || currentInterceptors == null) {
|
|
1972
2045
|
return false;
|
|
1973
2046
|
}
|
|
1974
2047
|
var tmp;
|
|
1975
|
-
if ($this.
|
|
2048
|
+
if ($this.b2k_1) {
|
|
1976
2049
|
tmp = true;
|
|
1977
2050
|
} else {
|
|
1978
2051
|
tmp = !(!(currentInterceptors == null) ? isInterface(currentInterceptors, KtMutableList) : false);
|
|
@@ -1980,35 +2053,35 @@
|
|
|
1980
2053
|
if (tmp) {
|
|
1981
2054
|
return false;
|
|
1982
2055
|
}
|
|
1983
|
-
if (equals($this.
|
|
2056
|
+
if (equals($this.c2k_1, phase)) {
|
|
1984
2057
|
currentInterceptors.k(block);
|
|
1985
2058
|
return true;
|
|
1986
2059
|
}
|
|
1987
|
-
if (equals(phase, last($this.
|
|
1988
|
-
ensureNotNull(findPhase($this, phase)).
|
|
2060
|
+
if (equals(phase, last($this.y2j_1)) || findPhaseIndex($this, phase) === get_lastIndex_0($this.y2j_1)) {
|
|
2061
|
+
ensureNotNull(findPhase($this, phase)).s2j(block);
|
|
1989
2062
|
currentInterceptors.k(block);
|
|
1990
2063
|
return true;
|
|
1991
2064
|
}
|
|
1992
2065
|
return false;
|
|
1993
2066
|
}
|
|
1994
2067
|
function Pipeline(phases) {
|
|
1995
|
-
this.
|
|
1996
|
-
this.
|
|
1997
|
-
this.
|
|
1998
|
-
this.
|
|
1999
|
-
this.
|
|
2000
|
-
this.
|
|
2001
|
-
this.
|
|
2002
|
-
}
|
|
2003
|
-
protoOf(Pipeline).
|
|
2004
|
-
return this.
|
|
2005
|
-
};
|
|
2006
|
-
protoOf(Pipeline).
|
|
2068
|
+
this.w2j_1 = AttributesJsFn(true);
|
|
2069
|
+
this.x2j_1 = false;
|
|
2070
|
+
this.y2j_1 = mutableListOf(phases.slice());
|
|
2071
|
+
this.z2j_1 = 0;
|
|
2072
|
+
this.a2k_1 = atomic$ref$1(null);
|
|
2073
|
+
this.b2k_1 = false;
|
|
2074
|
+
this.c2k_1 = null;
|
|
2075
|
+
}
|
|
2076
|
+
protoOf(Pipeline).d2k = function () {
|
|
2077
|
+
return this.x2j_1;
|
|
2078
|
+
};
|
|
2079
|
+
protoOf(Pipeline).e2k = function (context, subject, $completion) {
|
|
2007
2080
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
2008
|
-
var tmp$ret$0 = $completion.
|
|
2009
|
-
return createContext(this, context, subject, tmp$ret$0).
|
|
2081
|
+
var tmp$ret$0 = $completion.m9();
|
|
2082
|
+
return createContext(this, context, subject, tmp$ret$0).l2j(subject, $completion);
|
|
2010
2083
|
};
|
|
2011
|
-
protoOf(Pipeline).
|
|
2084
|
+
protoOf(Pipeline).g2k = function (reference, phase) {
|
|
2012
2085
|
if (hasPhase(this, phase))
|
|
2013
2086
|
return Unit_instance;
|
|
2014
2087
|
var index = findPhaseIndex(this, reference);
|
|
@@ -2017,14 +2090,14 @@
|
|
|
2017
2090
|
}
|
|
2018
2091
|
var lastRelatedPhaseIndex = index;
|
|
2019
2092
|
var inductionVariable = index + 1 | 0;
|
|
2020
|
-
var last = get_lastIndex_0(this.
|
|
2093
|
+
var last = get_lastIndex_0(this.y2j_1);
|
|
2021
2094
|
if (inductionVariable <= last)
|
|
2022
2095
|
$l$loop_0: do {
|
|
2023
2096
|
var i = inductionVariable;
|
|
2024
2097
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2025
|
-
var tmp = this.
|
|
2098
|
+
var tmp = this.y2j_1.u(i);
|
|
2026
2099
|
var tmp0_safe_receiver = tmp instanceof PhaseContent ? tmp : null;
|
|
2027
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2100
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o2j_1;
|
|
2028
2101
|
var tmp_0;
|
|
2029
2102
|
if (tmp1_elvis_lhs == null) {
|
|
2030
2103
|
break $l$loop_0;
|
|
@@ -2033,7 +2106,7 @@
|
|
|
2033
2106
|
}
|
|
2034
2107
|
var relation = tmp_0;
|
|
2035
2108
|
var tmp2_safe_receiver = relation instanceof After ? relation : null;
|
|
2036
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2109
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h2k_1;
|
|
2037
2110
|
var tmp_1;
|
|
2038
2111
|
if (tmp3_elvis_lhs == null) {
|
|
2039
2112
|
continue $l$loop_0;
|
|
@@ -2044,18 +2117,18 @@
|
|
|
2044
2117
|
lastRelatedPhaseIndex = equals(relatedTo, reference) ? i : lastRelatedPhaseIndex;
|
|
2045
2118
|
}
|
|
2046
2119
|
while (!(i === last));
|
|
2047
|
-
this.
|
|
2120
|
+
this.y2j_1.g2(lastRelatedPhaseIndex + 1 | 0, PhaseContent_init_$Create$(phase, new After(reference)));
|
|
2048
2121
|
};
|
|
2049
|
-
protoOf(Pipeline).
|
|
2122
|
+
protoOf(Pipeline).i2k = function (reference, phase) {
|
|
2050
2123
|
if (hasPhase(this, phase))
|
|
2051
2124
|
return Unit_instance;
|
|
2052
2125
|
var index = findPhaseIndex(this, reference);
|
|
2053
2126
|
if (index === -1) {
|
|
2054
2127
|
throw new InvalidPhaseException('Phase ' + reference.toString() + ' was not registered for this pipeline');
|
|
2055
2128
|
}
|
|
2056
|
-
this.
|
|
2129
|
+
this.y2j_1.g2(index, PhaseContent_init_$Create$(phase, new Before(reference)));
|
|
2057
2130
|
};
|
|
2058
|
-
protoOf(Pipeline).
|
|
2131
|
+
protoOf(Pipeline).j2k = function (phase, block) {
|
|
2059
2132
|
var tmp0_elvis_lhs = findPhase(this, phase);
|
|
2060
2133
|
var tmp;
|
|
2061
2134
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2065,21 +2138,35 @@
|
|
|
2065
2138
|
}
|
|
2066
2139
|
var phaseContent = tmp;
|
|
2067
2140
|
if (tryAddToPhaseFastPath(this, phase, block)) {
|
|
2068
|
-
this.
|
|
2141
|
+
this.z2j_1 = this.z2j_1 + 1 | 0;
|
|
2069
2142
|
return Unit_instance;
|
|
2070
2143
|
}
|
|
2071
|
-
phaseContent.
|
|
2072
|
-
this.
|
|
2144
|
+
phaseContent.s2j(block);
|
|
2145
|
+
this.z2j_1 = this.z2j_1 + 1 | 0;
|
|
2073
2146
|
resetInterceptorsList(this);
|
|
2074
|
-
this.
|
|
2147
|
+
this.k2k();
|
|
2075
2148
|
};
|
|
2076
|
-
protoOf(Pipeline).
|
|
2149
|
+
protoOf(Pipeline).k2k = function () {
|
|
2077
2150
|
};
|
|
2078
2151
|
protoOf(Pipeline).toString = function () {
|
|
2079
2152
|
return anyToString(this);
|
|
2080
2153
|
};
|
|
2154
|
+
function interceptors$factory() {
|
|
2155
|
+
return getPropertyCallableRef('interceptors', 1, KMutableProperty1, function (receiver) {
|
|
2156
|
+
return _get_interceptors__h4min7(receiver);
|
|
2157
|
+
}, function (receiver, value) {
|
|
2158
|
+
return _set_interceptors__wod97b(receiver, value);
|
|
2159
|
+
});
|
|
2160
|
+
}
|
|
2161
|
+
function interceptors$factory_0() {
|
|
2162
|
+
return getPropertyCallableRef('interceptors', 1, KMutableProperty1, function (receiver) {
|
|
2163
|
+
return _get_interceptors__h4min7(receiver);
|
|
2164
|
+
}, function (receiver, value) {
|
|
2165
|
+
return _set_interceptors__wod97b(receiver, value);
|
|
2166
|
+
});
|
|
2167
|
+
}
|
|
2081
2168
|
function PipelineContext(context) {
|
|
2082
|
-
this.
|
|
2169
|
+
this.f2k_1 = context;
|
|
2083
2170
|
}
|
|
2084
2171
|
function pipelineContextFor(context, interceptors, subject, coroutineContext, debugMode) {
|
|
2085
2172
|
debugMode = debugMode === VOID ? false : debugMode;
|
|
@@ -2092,10 +2179,10 @@
|
|
|
2092
2179
|
return tmp;
|
|
2093
2180
|
}
|
|
2094
2181
|
function PipelinePhase(name) {
|
|
2095
|
-
this.
|
|
2182
|
+
this.v2j_1 = name;
|
|
2096
2183
|
}
|
|
2097
2184
|
protoOf(PipelinePhase).toString = function () {
|
|
2098
|
-
return "Phase('" + this.
|
|
2185
|
+
return "Phase('" + this.v2j_1 + "')";
|
|
2099
2186
|
};
|
|
2100
2187
|
function InvalidPhaseException(message) {
|
|
2101
2188
|
extendThrowable(this, message);
|
|
@@ -2103,11 +2190,11 @@
|
|
|
2103
2190
|
}
|
|
2104
2191
|
function After(relativeTo) {
|
|
2105
2192
|
PipelinePhaseRelation.call(this);
|
|
2106
|
-
this.
|
|
2193
|
+
this.h2k_1 = relativeTo;
|
|
2107
2194
|
}
|
|
2108
2195
|
function Before(relativeTo) {
|
|
2109
2196
|
PipelinePhaseRelation.call(this);
|
|
2110
|
-
this.
|
|
2197
|
+
this.l2k_1 = relativeTo;
|
|
2111
2198
|
}
|
|
2112
2199
|
function Last() {
|
|
2113
2200
|
Last_instance = this;
|
|
@@ -2153,21 +2240,21 @@
|
|
|
2153
2240
|
}
|
|
2154
2241
|
function loop($this, direct) {
|
|
2155
2242
|
do {
|
|
2156
|
-
var currentIndex = $this.
|
|
2157
|
-
if (currentIndex === $this.
|
|
2243
|
+
var currentIndex = $this.s2k_1;
|
|
2244
|
+
if (currentIndex === $this.n2k_1.s()) {
|
|
2158
2245
|
if (!direct) {
|
|
2159
2246
|
// Inline function 'kotlin.Companion.success' call
|
|
2160
|
-
var value = $this.
|
|
2247
|
+
var value = $this.p2k_1;
|
|
2161
2248
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(value);
|
|
2162
2249
|
resumeRootWith($this, tmp$ret$0);
|
|
2163
2250
|
return false;
|
|
2164
2251
|
}
|
|
2165
2252
|
return true;
|
|
2166
2253
|
}
|
|
2167
|
-
$this.
|
|
2168
|
-
var next = $this.
|
|
2254
|
+
$this.s2k_1 = currentIndex + 1 | 0;
|
|
2255
|
+
var next = $this.n2k_1.u(currentIndex);
|
|
2169
2256
|
try {
|
|
2170
|
-
var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.
|
|
2257
|
+
var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.p2k_1, $this.o2k_1);
|
|
2171
2258
|
if (result === get_COROUTINE_SUSPENDED())
|
|
2172
2259
|
return false;
|
|
2173
2260
|
} catch ($p) {
|
|
@@ -2185,128 +2272,128 @@
|
|
|
2185
2272
|
while (true);
|
|
2186
2273
|
}
|
|
2187
2274
|
function resumeRootWith($this, result) {
|
|
2188
|
-
if ($this.
|
|
2275
|
+
if ($this.r2k_1 < 0) {
|
|
2189
2276
|
// Inline function 'kotlin.error' call
|
|
2190
2277
|
var message = 'No more continuations to resume';
|
|
2191
2278
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2192
2279
|
}
|
|
2193
|
-
var next = ensureNotNull($this.
|
|
2194
|
-
var _unary__edvuaz = $this.
|
|
2195
|
-
$this.
|
|
2196
|
-
$this.
|
|
2280
|
+
var next = ensureNotNull($this.q2k_1[$this.r2k_1]);
|
|
2281
|
+
var _unary__edvuaz = $this.r2k_1;
|
|
2282
|
+
$this.r2k_1 = _unary__edvuaz - 1 | 0;
|
|
2283
|
+
$this.q2k_1[_unary__edvuaz] = null;
|
|
2197
2284
|
if (!_Result___get_isFailure__impl__jpiriv(result)) {
|
|
2198
|
-
next.
|
|
2285
|
+
next.r9(result);
|
|
2199
2286
|
} else {
|
|
2200
2287
|
var exception = recoverStackTraceBridge(ensureNotNull(Result__exceptionOrNull_impl_p6xea9(result)), next);
|
|
2201
2288
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
2202
2289
|
// Inline function 'kotlin.Companion.failure' call
|
|
2203
2290
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
2204
|
-
next.
|
|
2291
|
+
next.r9(tmp$ret$0);
|
|
2205
2292
|
}
|
|
2206
2293
|
}
|
|
2207
2294
|
function discardLastRootContinuation($this) {
|
|
2208
|
-
if ($this.
|
|
2295
|
+
if ($this.r2k_1 < 0)
|
|
2209
2296
|
throw IllegalStateException_init_$Create$('No more continuations to resume');
|
|
2210
|
-
var _unary__edvuaz = $this.
|
|
2211
|
-
$this.
|
|
2212
|
-
$this.
|
|
2297
|
+
var _unary__edvuaz = $this.r2k_1;
|
|
2298
|
+
$this.r2k_1 = _unary__edvuaz - 1 | 0;
|
|
2299
|
+
$this.q2k_1[_unary__edvuaz] = null;
|
|
2213
2300
|
}
|
|
2214
2301
|
function SuspendFunctionGun$continuation$1(this$0) {
|
|
2215
|
-
this.
|
|
2216
|
-
this.
|
|
2302
|
+
this.u2k_1 = this$0;
|
|
2303
|
+
this.t2k_1 = -2147483648;
|
|
2217
2304
|
}
|
|
2218
|
-
protoOf(SuspendFunctionGun$continuation$1).
|
|
2219
|
-
var continuation = this.
|
|
2305
|
+
protoOf(SuspendFunctionGun$continuation$1).m9 = function () {
|
|
2306
|
+
var continuation = this.u2k_1.q2k_1[this.u2k_1.r2k_1];
|
|
2220
2307
|
if (!(continuation === this) && !(continuation == null))
|
|
2221
|
-
return continuation.
|
|
2222
|
-
var index = this.
|
|
2308
|
+
return continuation.m9();
|
|
2309
|
+
var index = this.u2k_1.r2k_1 - 1 | 0;
|
|
2223
2310
|
while (index >= 0) {
|
|
2224
2311
|
var _unary__edvuaz = index;
|
|
2225
2312
|
index = _unary__edvuaz - 1 | 0;
|
|
2226
|
-
var cont = this.
|
|
2313
|
+
var cont = this.u2k_1.q2k_1[_unary__edvuaz];
|
|
2227
2314
|
if (!(cont === this) && !(cont == null))
|
|
2228
|
-
return cont.
|
|
2315
|
+
return cont.m9();
|
|
2229
2316
|
}
|
|
2230
2317
|
// Inline function 'kotlin.error' call
|
|
2231
2318
|
var message = 'Not started';
|
|
2232
2319
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2233
2320
|
};
|
|
2234
|
-
protoOf(SuspendFunctionGun$continuation$1).
|
|
2321
|
+
protoOf(SuspendFunctionGun$continuation$1).v2k = function (result) {
|
|
2235
2322
|
if (_Result___get_isFailure__impl__jpiriv(result)) {
|
|
2236
2323
|
// Inline function 'kotlin.Companion.failure' call
|
|
2237
2324
|
var exception = ensureNotNull(Result__exceptionOrNull_impl_p6xea9(result));
|
|
2238
2325
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
2239
|
-
resumeRootWith(this.
|
|
2326
|
+
resumeRootWith(this.u2k_1, tmp$ret$0);
|
|
2240
2327
|
return Unit_instance;
|
|
2241
2328
|
}
|
|
2242
|
-
loop(this.
|
|
2329
|
+
loop(this.u2k_1, false);
|
|
2243
2330
|
};
|
|
2244
|
-
protoOf(SuspendFunctionGun$continuation$1).
|
|
2245
|
-
return this.
|
|
2331
|
+
protoOf(SuspendFunctionGun$continuation$1).r9 = function (result) {
|
|
2332
|
+
return this.v2k(result);
|
|
2246
2333
|
};
|
|
2247
2334
|
function SuspendFunctionGun(initial, context, blocks) {
|
|
2248
2335
|
PipelineContext.call(this, context);
|
|
2249
|
-
this.
|
|
2336
|
+
this.n2k_1 = blocks;
|
|
2250
2337
|
var tmp = this;
|
|
2251
|
-
tmp.
|
|
2252
|
-
this.
|
|
2338
|
+
tmp.o2k_1 = new SuspendFunctionGun$continuation$1(this);
|
|
2339
|
+
this.p2k_1 = initial;
|
|
2253
2340
|
var tmp_0 = this;
|
|
2254
2341
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2255
|
-
var size = this.
|
|
2256
|
-
tmp_0.
|
|
2257
|
-
this.
|
|
2258
|
-
this.
|
|
2342
|
+
var size = this.n2k_1.s();
|
|
2343
|
+
tmp_0.q2k_1 = fillArrayVal(Array(size), null);
|
|
2344
|
+
this.r2k_1 = -1;
|
|
2345
|
+
this.s2k_1 = 0;
|
|
2259
2346
|
}
|
|
2260
|
-
protoOf(SuspendFunctionGun).
|
|
2261
|
-
return this.
|
|
2347
|
+
protoOf(SuspendFunctionGun).ho = function () {
|
|
2348
|
+
return this.o2k_1.m9();
|
|
2262
2349
|
};
|
|
2263
|
-
protoOf(SuspendFunctionGun).
|
|
2264
|
-
return this.
|
|
2350
|
+
protoOf(SuspendFunctionGun).i2j = function () {
|
|
2351
|
+
return this.p2k_1;
|
|
2265
2352
|
};
|
|
2266
|
-
protoOf(SuspendFunctionGun).
|
|
2353
|
+
protoOf(SuspendFunctionGun).k2j = function ($completion) {
|
|
2267
2354
|
var tmp$ret$0;
|
|
2268
2355
|
$l$block_0: {
|
|
2269
2356
|
// Inline function 'io.ktor.util.pipeline.SuspendFunctionGun.proceed.<anonymous>' call
|
|
2270
|
-
if (this.
|
|
2271
|
-
tmp$ret$0 = this.
|
|
2357
|
+
if (this.s2k_1 === this.n2k_1.s()) {
|
|
2358
|
+
tmp$ret$0 = this.p2k_1;
|
|
2272
2359
|
break $l$block_0;
|
|
2273
2360
|
}
|
|
2274
|
-
this.
|
|
2361
|
+
this.w2k(intercepted($completion));
|
|
2275
2362
|
if (loop(this, true)) {
|
|
2276
2363
|
discardLastRootContinuation(this);
|
|
2277
|
-
tmp$ret$0 = this.
|
|
2364
|
+
tmp$ret$0 = this.p2k_1;
|
|
2278
2365
|
break $l$block_0;
|
|
2279
2366
|
}
|
|
2280
2367
|
tmp$ret$0 = get_COROUTINE_SUSPENDED();
|
|
2281
2368
|
}
|
|
2282
2369
|
return tmp$ret$0;
|
|
2283
2370
|
};
|
|
2284
|
-
protoOf(SuspendFunctionGun).
|
|
2285
|
-
this.
|
|
2286
|
-
return this.
|
|
2371
|
+
protoOf(SuspendFunctionGun).j2j = function (subject, $completion) {
|
|
2372
|
+
this.p2k_1 = subject;
|
|
2373
|
+
return this.k2j($completion);
|
|
2287
2374
|
};
|
|
2288
|
-
protoOf(SuspendFunctionGun).
|
|
2289
|
-
this.
|
|
2290
|
-
if (this.
|
|
2375
|
+
protoOf(SuspendFunctionGun).l2j = function (initial, $completion) {
|
|
2376
|
+
this.s2k_1 = 0;
|
|
2377
|
+
if (this.s2k_1 === this.n2k_1.s())
|
|
2291
2378
|
return initial;
|
|
2292
|
-
this.
|
|
2293
|
-
if (this.
|
|
2379
|
+
this.p2k_1 = initial;
|
|
2380
|
+
if (this.r2k_1 >= 0)
|
|
2294
2381
|
throw IllegalStateException_init_$Create$('Already started');
|
|
2295
|
-
return this.
|
|
2382
|
+
return this.k2j($completion);
|
|
2296
2383
|
};
|
|
2297
|
-
protoOf(SuspendFunctionGun).
|
|
2298
|
-
this.
|
|
2299
|
-
this.
|
|
2384
|
+
protoOf(SuspendFunctionGun).w2k = function (continuation) {
|
|
2385
|
+
this.r2k_1 = this.r2k_1 + 1 | 0;
|
|
2386
|
+
this.q2k_1[this.r2k_1] = continuation;
|
|
2300
2387
|
};
|
|
2301
2388
|
function TypeInfo(type, kotlinType) {
|
|
2302
2389
|
kotlinType = kotlinType === VOID ? null : kotlinType;
|
|
2303
|
-
this.
|
|
2304
|
-
this.
|
|
2390
|
+
this.x2k_1 = type;
|
|
2391
|
+
this.y2k_1 = kotlinType;
|
|
2305
2392
|
}
|
|
2306
2393
|
protoOf(TypeInfo).hashCode = function () {
|
|
2307
|
-
var tmp0_safe_receiver = this.
|
|
2394
|
+
var tmp0_safe_receiver = this.y2k_1;
|
|
2308
2395
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
2309
|
-
return tmp1_elvis_lhs == null ? this.
|
|
2396
|
+
return tmp1_elvis_lhs == null ? this.x2k_1.hashCode() : tmp1_elvis_lhs;
|
|
2310
2397
|
};
|
|
2311
2398
|
protoOf(TypeInfo).equals = function (other) {
|
|
2312
2399
|
if (this === other)
|
|
@@ -2314,16 +2401,16 @@
|
|
|
2314
2401
|
if (!(other instanceof TypeInfo))
|
|
2315
2402
|
return false;
|
|
2316
2403
|
var tmp;
|
|
2317
|
-
if (!(this.
|
|
2318
|
-
tmp = equals(this.
|
|
2404
|
+
if (!(this.y2k_1 == null) || !(other.y2k_1 == null)) {
|
|
2405
|
+
tmp = equals(this.y2k_1, other.y2k_1);
|
|
2319
2406
|
} else {
|
|
2320
|
-
tmp = this.
|
|
2407
|
+
tmp = this.x2k_1.equals(other.x2k_1);
|
|
2321
2408
|
}
|
|
2322
2409
|
return tmp;
|
|
2323
2410
|
};
|
|
2324
2411
|
protoOf(TypeInfo).toString = function () {
|
|
2325
|
-
var tmp0_elvis_lhs = this.
|
|
2326
|
-
return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.
|
|
2412
|
+
var tmp0_elvis_lhs = this.y2k_1;
|
|
2413
|
+
return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.x2k_1 : tmp0_elvis_lhs) + ')';
|
|
2327
2414
|
};
|
|
2328
2415
|
function get_platform(_this__u8e3s4) {
|
|
2329
2416
|
_init_properties_PlatformUtils_js_kt__7rxm8p();
|
|
@@ -2356,7 +2443,7 @@
|
|
|
2356
2443
|
}
|
|
2357
2444
|
function GMTDate_0(timestamp) {
|
|
2358
2445
|
timestamp = timestamp === VOID ? null : timestamp;
|
|
2359
|
-
var tmp1_safe_receiver = timestamp == null ? null : timestamp.
|
|
2446
|
+
var tmp1_safe_receiver = timestamp == null ? null : timestamp.r3();
|
|
2360
2447
|
var tmp;
|
|
2361
2448
|
if (tmp1_safe_receiver == null) {
|
|
2362
2449
|
tmp = null;
|
|
@@ -2370,8 +2457,8 @@
|
|
|
2370
2457
|
if (isNaN_0(date.getTime()))
|
|
2371
2458
|
throw new InvalidTimestampException(ensureNotNull(timestamp));
|
|
2372
2459
|
// Inline function 'kotlin.with' call
|
|
2373
|
-
var dayOfWeek = Companion_instance_1.
|
|
2374
|
-
var month = Companion_instance_2.
|
|
2460
|
+
var dayOfWeek = Companion_instance_1.e2i((date.getUTCDay() + 6 | 0) % 7 | 0);
|
|
2461
|
+
var month = Companion_instance_2.e2i(date.getUTCMonth());
|
|
2375
2462
|
return new GMTDate(date.getUTCSeconds(), date.getUTCMinutes(), date.getUTCHours(), dayOfWeek, date.getUTCDate(), date.getUTCFullYear(), month, date.getUTCFullYear(), numberToLong(date.getTime()));
|
|
2376
2463
|
}
|
|
2377
2464
|
function InvalidTimestampException(timestamp) {
|
|
@@ -2388,24 +2475,24 @@
|
|
|
2388
2475
|
function AttributesJs() {
|
|
2389
2476
|
var tmp = this;
|
|
2390
2477
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2391
|
-
tmp.
|
|
2478
|
+
tmp.z2k_1 = LinkedHashMap_init_$Create$();
|
|
2392
2479
|
}
|
|
2393
|
-
protoOf(AttributesJs).
|
|
2394
|
-
var tmp = this.
|
|
2480
|
+
protoOf(AttributesJs).c2f = function (key) {
|
|
2481
|
+
var tmp = this.z2k_1.k2(key);
|
|
2395
2482
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
2396
2483
|
};
|
|
2397
|
-
protoOf(AttributesJs).
|
|
2398
|
-
return this.
|
|
2484
|
+
protoOf(AttributesJs).d2f = function (key) {
|
|
2485
|
+
return this.z2k_1.i2(key);
|
|
2399
2486
|
};
|
|
2400
|
-
protoOf(AttributesJs).
|
|
2487
|
+
protoOf(AttributesJs).e2f = function (key, value) {
|
|
2401
2488
|
// Inline function 'kotlin.collections.set' call
|
|
2402
|
-
this.
|
|
2489
|
+
this.z2k_1.n2(key, value);
|
|
2403
2490
|
};
|
|
2404
|
-
protoOf(AttributesJs).
|
|
2405
|
-
this.
|
|
2491
|
+
protoOf(AttributesJs).f2f = function (key) {
|
|
2492
|
+
this.z2k_1.o2(key);
|
|
2406
2493
|
};
|
|
2407
|
-
protoOf(AttributesJs).
|
|
2408
|
-
var tmp0_safe_receiver = this.
|
|
2494
|
+
protoOf(AttributesJs).g2f = function (key, block) {
|
|
2495
|
+
var tmp0_safe_receiver = this.z2k_1.k2(key);
|
|
2409
2496
|
if (tmp0_safe_receiver == null)
|
|
2410
2497
|
null;
|
|
2411
2498
|
else {
|
|
@@ -2416,11 +2503,11 @@
|
|
|
2416
2503
|
var this_0 = block();
|
|
2417
2504
|
// Inline function 'io.ktor.util.AttributesJs.computeIfAbsent.<anonymous>' call
|
|
2418
2505
|
// Inline function 'kotlin.collections.set' call
|
|
2419
|
-
this.
|
|
2506
|
+
this.z2k_1.n2(key, this_0);
|
|
2420
2507
|
return this_0;
|
|
2421
2508
|
};
|
|
2422
|
-
protoOf(AttributesJs).
|
|
2423
|
-
return toList_0(this.
|
|
2509
|
+
protoOf(AttributesJs).h2f = function () {
|
|
2510
|
+
return toList_0(this.z2k_1.l2());
|
|
2424
2511
|
};
|
|
2425
2512
|
function unmodifiable(_this__u8e3s4) {
|
|
2426
2513
|
return _this__u8e3s4;
|
|
@@ -2431,94 +2518,91 @@
|
|
|
2431
2518
|
function get_isDevelopmentMode(_this__u8e3s4) {
|
|
2432
2519
|
return false;
|
|
2433
2520
|
}
|
|
2434
|
-
function get_isNewMemoryModel(_this__u8e3s4) {
|
|
2435
|
-
return true;
|
|
2436
|
-
}
|
|
2437
2521
|
function ConcurrentMap(initialCapacity) {
|
|
2438
2522
|
initialCapacity = initialCapacity === VOID ? 32 : initialCapacity;
|
|
2439
|
-
this.
|
|
2523
|
+
this.a2l_1 = LinkedHashMap_init_$Create$_0(initialCapacity);
|
|
2440
2524
|
}
|
|
2441
|
-
protoOf(ConcurrentMap).
|
|
2442
|
-
if (this.
|
|
2443
|
-
return ensureNotNull(this.
|
|
2525
|
+
protoOf(ConcurrentMap).b2l = function (key, block) {
|
|
2526
|
+
if (this.a2l_1.i2(key))
|
|
2527
|
+
return ensureNotNull(this.a2l_1.k2(key));
|
|
2444
2528
|
var value = block();
|
|
2445
2529
|
// Inline function 'kotlin.collections.set' call
|
|
2446
|
-
this.
|
|
2530
|
+
this.a2l_1.n2(key, value);
|
|
2447
2531
|
return value;
|
|
2448
2532
|
};
|
|
2449
2533
|
protoOf(ConcurrentMap).s = function () {
|
|
2450
|
-
return this.
|
|
2534
|
+
return this.a2l_1.s();
|
|
2451
2535
|
};
|
|
2452
|
-
protoOf(ConcurrentMap).
|
|
2453
|
-
return this.
|
|
2536
|
+
protoOf(ConcurrentMap).c2l = function (key) {
|
|
2537
|
+
return this.a2l_1.i2(key);
|
|
2454
2538
|
};
|
|
2455
2539
|
protoOf(ConcurrentMap).i2 = function (key) {
|
|
2456
2540
|
if (!(key == null ? true : !(key == null)))
|
|
2457
2541
|
return false;
|
|
2458
|
-
return this.
|
|
2542
|
+
return this.c2l((key == null ? true : !(key == null)) ? key : THROW_CCE());
|
|
2459
2543
|
};
|
|
2460
|
-
protoOf(ConcurrentMap).
|
|
2461
|
-
return this.
|
|
2544
|
+
protoOf(ConcurrentMap).d2l = function (value) {
|
|
2545
|
+
return this.a2l_1.j2(value);
|
|
2462
2546
|
};
|
|
2463
2547
|
protoOf(ConcurrentMap).j2 = function (value) {
|
|
2464
2548
|
if (!(value == null ? true : !(value == null)))
|
|
2465
2549
|
return false;
|
|
2466
|
-
return this.
|
|
2550
|
+
return this.d2l((value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
2467
2551
|
};
|
|
2468
|
-
protoOf(ConcurrentMap).
|
|
2469
|
-
return this.
|
|
2552
|
+
protoOf(ConcurrentMap).e2l = function (key) {
|
|
2553
|
+
return this.a2l_1.k2(key);
|
|
2470
2554
|
};
|
|
2471
2555
|
protoOf(ConcurrentMap).k2 = function (key) {
|
|
2472
2556
|
if (!(key == null ? true : !(key == null)))
|
|
2473
2557
|
return null;
|
|
2474
|
-
return this.
|
|
2558
|
+
return this.e2l((key == null ? true : !(key == null)) ? key : THROW_CCE());
|
|
2475
2559
|
};
|
|
2476
2560
|
protoOf(ConcurrentMap).h = function () {
|
|
2477
|
-
return this.
|
|
2561
|
+
return this.a2l_1.h();
|
|
2478
2562
|
};
|
|
2479
2563
|
protoOf(ConcurrentMap).x = function () {
|
|
2480
|
-
return this.
|
|
2564
|
+
return this.a2l_1.x();
|
|
2481
2565
|
};
|
|
2482
2566
|
protoOf(ConcurrentMap).l2 = function () {
|
|
2483
|
-
return this.
|
|
2567
|
+
return this.a2l_1.l2();
|
|
2484
2568
|
};
|
|
2485
2569
|
protoOf(ConcurrentMap).m2 = function () {
|
|
2486
|
-
return this.
|
|
2570
|
+
return this.a2l_1.m2();
|
|
2487
2571
|
};
|
|
2488
2572
|
protoOf(ConcurrentMap).e2 = function () {
|
|
2489
|
-
this.
|
|
2573
|
+
this.a2l_1.e2();
|
|
2490
2574
|
};
|
|
2491
|
-
protoOf(ConcurrentMap).
|
|
2492
|
-
return this.
|
|
2575
|
+
protoOf(ConcurrentMap).f2l = function (key, value) {
|
|
2576
|
+
return this.a2l_1.n2(key, value);
|
|
2493
2577
|
};
|
|
2494
2578
|
protoOf(ConcurrentMap).n2 = function (key, value) {
|
|
2495
2579
|
var tmp = (key == null ? true : !(key == null)) ? key : THROW_CCE();
|
|
2496
|
-
return this.
|
|
2580
|
+
return this.f2l(tmp, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
2497
2581
|
};
|
|
2498
|
-
protoOf(ConcurrentMap).
|
|
2499
|
-
this.
|
|
2582
|
+
protoOf(ConcurrentMap).g2l = function (from) {
|
|
2583
|
+
this.a2l_1.p2(from);
|
|
2500
2584
|
};
|
|
2501
2585
|
protoOf(ConcurrentMap).p2 = function (from) {
|
|
2502
|
-
return this.
|
|
2586
|
+
return this.g2l(from);
|
|
2503
2587
|
};
|
|
2504
|
-
protoOf(ConcurrentMap).
|
|
2505
|
-
return this.
|
|
2588
|
+
protoOf(ConcurrentMap).h2l = function (key) {
|
|
2589
|
+
return this.a2l_1.o2(key);
|
|
2506
2590
|
};
|
|
2507
2591
|
protoOf(ConcurrentMap).o2 = function (key) {
|
|
2508
2592
|
if (!(key == null ? true : !(key == null)))
|
|
2509
2593
|
return null;
|
|
2510
|
-
return this.
|
|
2594
|
+
return this.h2l((key == null ? true : !(key == null)) ? key : THROW_CCE());
|
|
2511
2595
|
};
|
|
2512
2596
|
protoOf(ConcurrentMap).hashCode = function () {
|
|
2513
|
-
return this.
|
|
2597
|
+
return this.a2l_1.hashCode();
|
|
2514
2598
|
};
|
|
2515
2599
|
protoOf(ConcurrentMap).equals = function (other) {
|
|
2516
2600
|
if (!(!(other == null) ? isInterface(other, KtMap) : false))
|
|
2517
2601
|
return false;
|
|
2518
|
-
return equals(other, this.
|
|
2602
|
+
return equals(other, this.a2l_1);
|
|
2519
2603
|
};
|
|
2520
2604
|
protoOf(ConcurrentMap).toString = function () {
|
|
2521
|
-
return 'ConcurrentMapJs by ' + this.
|
|
2605
|
+
return 'ConcurrentMapJs by ' + this.a2l_1.toString();
|
|
2522
2606
|
};
|
|
2523
2607
|
function KtorSimpleLogger(name) {
|
|
2524
2608
|
return new KtorSimpleLogger$1();
|
|
@@ -2529,7 +2613,7 @@
|
|
|
2529
2613
|
function KtorSimpleLogger$1() {
|
|
2530
2614
|
var tmp = this;
|
|
2531
2615
|
var tmp_0;
|
|
2532
|
-
switch (PlatformUtils_getInstance().
|
|
2616
|
+
switch (PlatformUtils_getInstance().k2g_1 || PlatformUtils_getInstance().j2g_1) {
|
|
2533
2617
|
case true:
|
|
2534
2618
|
// Inline function 'kotlin.runCatching' call
|
|
2535
2619
|
|
|
@@ -2597,10 +2681,10 @@
|
|
|
2597
2681
|
noWhenBranchMatchedException();
|
|
2598
2682
|
break;
|
|
2599
2683
|
}
|
|
2600
|
-
tmp.
|
|
2684
|
+
tmp.i2l_1 = tmp_0;
|
|
2601
2685
|
}
|
|
2602
|
-
protoOf(KtorSimpleLogger$1).
|
|
2603
|
-
if (this.
|
|
2686
|
+
protoOf(KtorSimpleLogger$1).j2l = function (message) {
|
|
2687
|
+
if (this.i2l_1.u2(LogLevel_TRACE_getInstance()) > 0)
|
|
2604
2688
|
return Unit_instance;
|
|
2605
2689
|
console.debug('TRACE: ' + message);
|
|
2606
2690
|
};
|
|
@@ -2634,6 +2718,9 @@
|
|
|
2634
2718
|
function LogLevel(name, ordinal) {
|
|
2635
2719
|
Enum.call(this, name, ordinal);
|
|
2636
2720
|
}
|
|
2721
|
+
function get_isTraceEnabled(_this__u8e3s4) {
|
|
2722
|
+
return true;
|
|
2723
|
+
}
|
|
2637
2724
|
function LogLevel_TRACE_getInstance() {
|
|
2638
2725
|
LogLevel_initEntries();
|
|
2639
2726
|
return LogLevel_TRACE_instance;
|
|
@@ -2666,12 +2753,12 @@
|
|
|
2666
2753
|
return _this__u8e3s4;
|
|
2667
2754
|
}
|
|
2668
2755
|
function instanceOf(_this__u8e3s4, type) {
|
|
2669
|
-
return type.
|
|
2756
|
+
return type.lb(_this__u8e3s4);
|
|
2670
2757
|
}
|
|
2671
2758
|
//region block: post-declaration
|
|
2672
2759
|
protoOf(CaseInsensitiveMap).asJsReadonlyMapView = asJsReadonlyMapView;
|
|
2673
|
-
protoOf($serializer).
|
|
2674
|
-
protoOf(AttributesJs).
|
|
2760
|
+
protoOf($serializer).e26 = typeParametersSerializers;
|
|
2761
|
+
protoOf(AttributesJs).b2f = get;
|
|
2675
2762
|
protoOf(ConcurrentMap).asJsReadonlyMapView = asJsReadonlyMapView;
|
|
2676
2763
|
//endregion
|
|
2677
2764
|
//region block: init
|
|
@@ -2689,29 +2776,31 @@
|
|
|
2689
2776
|
_.$_$.e = GMTDate_0;
|
|
2690
2777
|
_.$_$.f = LockFreeLinkedListNode;
|
|
2691
2778
|
_.$_$.g = KtorSimpleLogger;
|
|
2692
|
-
_.$_$.h =
|
|
2693
|
-
_.$_$.i =
|
|
2694
|
-
_.$_$.j =
|
|
2695
|
-
_.$_$.k =
|
|
2696
|
-
_.$_$.l =
|
|
2697
|
-
_.$_$.m =
|
|
2698
|
-
_.$_$.n =
|
|
2699
|
-
_.$_$.o =
|
|
2700
|
-
_.$_$.p =
|
|
2701
|
-
_.$_$.q =
|
|
2702
|
-
_.$_$.r =
|
|
2703
|
-
_.$_$.s =
|
|
2704
|
-
_.$_$.t =
|
|
2705
|
-
_.$_$.u =
|
|
2706
|
-
_.$_$.v =
|
|
2707
|
-
_.$_$.w =
|
|
2708
|
-
_.$_$.x =
|
|
2709
|
-
_.$_$.y =
|
|
2710
|
-
_.$_$.z =
|
|
2711
|
-
_.$_$.a1 =
|
|
2712
|
-
_.$_$.b1 =
|
|
2713
|
-
_.$_$.c1 =
|
|
2714
|
-
_.$_$.d1 =
|
|
2779
|
+
_.$_$.h = get_isTraceEnabled;
|
|
2780
|
+
_.$_$.i = PipelineContext;
|
|
2781
|
+
_.$_$.j = PipelinePhase;
|
|
2782
|
+
_.$_$.k = Pipeline;
|
|
2783
|
+
_.$_$.l = TypeInfo;
|
|
2784
|
+
_.$_$.m = instanceOf;
|
|
2785
|
+
_.$_$.n = AttributeKey;
|
|
2786
|
+
_.$_$.o = AttributesJsFn;
|
|
2787
|
+
_.$_$.p = Attributes;
|
|
2788
|
+
_.$_$.q = SilentSupervisor;
|
|
2789
|
+
_.$_$.r = forEach;
|
|
2790
|
+
_.$_$.s = get_0;
|
|
2791
|
+
_.$_$.t = StringValuesBuilderImpl;
|
|
2792
|
+
_.$_$.u = StringValuesImpl;
|
|
2793
|
+
_.$_$.v = StringValuesSingleImpl;
|
|
2794
|
+
_.$_$.w = StringValues;
|
|
2795
|
+
_.$_$.x = appendAll;
|
|
2796
|
+
_.$_$.y = decodeBase64Bytes;
|
|
2797
|
+
_.$_$.z = decodeBase64String;
|
|
2798
|
+
_.$_$.a1 = encodeBase64;
|
|
2799
|
+
_.$_$.b1 = isLowerCase;
|
|
2800
|
+
_.$_$.c1 = putAll;
|
|
2801
|
+
_.$_$.d1 = toCharArray;
|
|
2802
|
+
_.$_$.e1 = toJsArray;
|
|
2803
|
+
_.$_$.f1 = toLowerCasePreservingASCIIRules;
|
|
2715
2804
|
//endregion
|
|
2716
2805
|
return _;
|
|
2717
2806
|
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./ktor-ktor-io.js'), require('./kotlinx-coroutines-core.js'), require('./kotlinx-atomicfu.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js')));
|