game_client_logic_deb 1.8.208 → 1.8.225
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/Kosi-Kaverit-kaverit.js +77 -77
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +610 -610
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1570 -1515
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1621 -1475
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +13762 -13423
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +12 -2
- package/Logic_Debertz-game_client.js +5448 -4755
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3179 -2354
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +3 -3
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlinx-atomicfu.js +66 -66
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +3827 -3784
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +3 -3
- package/kotlinx-io-kotlinx-io-core.js +277 -277
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2296 -2209
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +2069 -1725
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +220 -220
- package/ktor-ktor-client-core.js +2532 -2504
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-js.js +3 -3
- package/ktor-ktor-client-logging.js +573 -549
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +16 -16
- package/ktor-ktor-http.js +748 -726
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1637 -1640
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +14 -14
- package/ktor-ktor-serialization-kotlinx.js +314 -269
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +153 -128
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +702 -702
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websocket-serialization.js +3 -3
- package/ktor-ktor-websockets.js +61 -61
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +262 -233
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +104 -104
- package/raspberry-cardgame-lib-random.js +984 -984
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +21 -21
- package/secure-random-secure-random.js.map +1 -1
- package/uuid.js +30 -30
- package/uuid.js.map +1 -1
|
@@ -1,76 +1,79 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './ktor-ktor-http.js', './kotlinx-coroutines-core.js', './ktor-ktor-io.js', './ktor-ktor-serialization.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./ktor-ktor-http.js'), require('./kotlinx-coroutines-core.js'), require('./ktor-ktor-io.js'), require('./ktor-ktor-serialization.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof
|
|
10
|
+
if (typeof globalThis['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
12
12
|
}
|
|
13
|
-
if (typeof
|
|
13
|
+
if (typeof globalThis['ktor-ktor-http'] === 'undefined') {
|
|
14
14
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'ktor-ktor-http' was not found. Please, check whether 'ktor-ktor-http' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
15
15
|
}
|
|
16
|
-
if (typeof
|
|
16
|
+
if (typeof globalThis['kotlinx-coroutines-core'] === 'undefined') {
|
|
17
17
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'kotlinx-coroutines-core' was not found. Please, check whether 'kotlinx-coroutines-core' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
18
18
|
}
|
|
19
|
-
if (typeof
|
|
19
|
+
if (typeof globalThis['ktor-ktor-io'] === 'undefined') {
|
|
20
20
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'ktor-ktor-io' was not found. Please, check whether 'ktor-ktor-io' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
21
21
|
}
|
|
22
|
-
if (typeof
|
|
22
|
+
if (typeof globalThis['ktor-ktor-serialization'] === 'undefined') {
|
|
23
23
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'ktor-ktor-serialization' was not found. Please, check whether 'ktor-ktor-serialization' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
globalThis['ktor-ktor-serialization-kotlinx'] = factory(typeof globalThis['ktor-ktor-serialization-kotlinx'] === 'undefined' ? {} : globalThis['ktor-ktor-serialization-kotlinx'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['ktor-ktor-http'], globalThis['kotlinx-coroutines-core'], globalThis['ktor-ktor-io'], globalThis['ktor-ktor-serialization']);
|
|
26
26
|
}
|
|
27
|
-
}(
|
|
27
|
+
}(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_serialization) {
|
|
28
28
|
'use strict';
|
|
29
29
|
//region block: imports
|
|
30
30
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
31
31
|
var Unit_instance = kotlin_kotlin.$_$.n5;
|
|
32
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
33
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
34
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
32
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ta;
|
|
33
|
+
var protoOf = kotlin_kotlin.$_$.sc;
|
|
34
|
+
var THROW_CCE = kotlin_kotlin.$_$.tg;
|
|
35
35
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ea;
|
|
36
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
36
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.vb;
|
|
37
37
|
var VOID = kotlin_kotlin.$_$.f;
|
|
38
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
39
|
-
var toString = kotlin_kotlin.$_$.
|
|
38
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.tb;
|
|
39
|
+
var toString = kotlin_kotlin.$_$.wc;
|
|
40
40
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.v1;
|
|
41
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
41
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
42
|
+
var isInterface = kotlin_kotlin.$_$.fc;
|
|
43
43
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.j;
|
|
44
|
-
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
44
|
+
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
45
45
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.k1;
|
|
46
46
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.q;
|
|
47
|
-
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
47
|
+
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
48
|
+
var equals = kotlin_kotlin.$_$.jb;
|
|
49
|
+
var FunctionAdapter = kotlin_kotlin.$_$.xa;
|
|
48
50
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
49
|
-
var
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.qb;
|
|
52
|
+
var initMetadataForClass = kotlin_kotlin.$_$.rb;
|
|
50
53
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
51
54
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
52
55
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
53
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
56
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
54
57
|
var discard = kotlin_io_ktor_ktor_io.$_$.w;
|
|
55
58
|
var readBytes = kotlin_io_ktor_ktor_io.$_$.x;
|
|
56
59
|
var readText = kotlin_io_ktor_ktor_io.$_$.z;
|
|
57
60
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
58
61
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
59
62
|
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
60
|
-
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
61
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
63
|
+
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
64
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y2;
|
|
62
65
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
63
|
-
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
66
|
+
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
64
67
|
var KtMap = kotlin_kotlin.$_$.y5;
|
|
65
|
-
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
68
|
+
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
66
69
|
var KtSet = kotlin_kotlin.$_$.d6;
|
|
67
70
|
var firstOrNull_0 = kotlin_kotlin.$_$.r7;
|
|
68
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
69
|
-
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
70
|
-
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
71
|
-
var isArray = kotlin_kotlin.$_$.
|
|
71
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.a5;
|
|
72
|
+
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
73
|
+
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
74
|
+
var isArray = kotlin_kotlin.$_$.xb;
|
|
72
75
|
var KtList = kotlin_kotlin.$_$.v5;
|
|
73
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
76
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
74
77
|
var filterNotNull = kotlin_kotlin.$_$.o7;
|
|
75
78
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.q6;
|
|
76
79
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
@@ -84,8 +87,8 @@
|
|
|
84
87
|
initMetadataForCoroutine($collectCOROUTINE$2, CoroutineImpl);
|
|
85
88
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
86
89
|
initMetadataForCoroutine($collectCOROUTINE$3, CoroutineImpl);
|
|
87
|
-
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
88
|
-
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
90
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
91
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
89
92
|
initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, VOID, [1]);
|
|
90
93
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$slambda, CoroutineImpl, VOID, [1]);
|
|
91
94
|
initMetadataForClass(_no_name_provided__qut3iv_0, VOID, VOID, VOID, VOID, [1]);
|
|
@@ -105,7 +108,7 @@
|
|
|
105
108
|
var element = tmp0_iterator.l();
|
|
106
109
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
107
110
|
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
108
|
-
var tmp0_safe_receiver = element.
|
|
111
|
+
var tmp0_safe_receiver = element.y4o(format);
|
|
109
112
|
if (tmp0_safe_receiver == null)
|
|
110
113
|
null;
|
|
111
114
|
else {
|
|
@@ -117,50 +120,50 @@
|
|
|
117
120
|
return destination;
|
|
118
121
|
}
|
|
119
122
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
120
|
-
_this__u8e3s4.
|
|
123
|
+
_this__u8e3s4.e2q(contentType, new KotlinxSerializationConverter(format));
|
|
121
124
|
}
|
|
122
125
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
126
|
+
this.h4p_1 = $$this$unsafeFlow;
|
|
127
|
+
this.i4p_1 = $contentType;
|
|
128
|
+
this.j4p_1 = $charset;
|
|
129
|
+
this.k4p_1 = $typeInfo;
|
|
130
|
+
this.l4p_1 = $value;
|
|
128
131
|
CoroutineImpl.call(this, resultContinuation);
|
|
129
132
|
}
|
|
130
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
131
|
-
var tmp = this.
|
|
132
|
-
tmp.
|
|
133
|
-
tmp.
|
|
134
|
-
return tmp.
|
|
133
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).m2r = function (value, $completion) {
|
|
134
|
+
var tmp = this.n2r(value, $completion);
|
|
135
|
+
tmp.j9_1 = Unit_instance;
|
|
136
|
+
tmp.k9_1 = null;
|
|
137
|
+
return tmp.p9();
|
|
135
138
|
};
|
|
136
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
137
|
-
return this.
|
|
139
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).z9 = function (p1, $completion) {
|
|
140
|
+
return this.m2r((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
138
141
|
};
|
|
139
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
140
|
-
var suspendResult = this.
|
|
142
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).p9 = function () {
|
|
143
|
+
var suspendResult = this.j9_1;
|
|
141
144
|
$sm: do
|
|
142
145
|
try {
|
|
143
|
-
var tmp = this.
|
|
146
|
+
var tmp = this.h9_1;
|
|
144
147
|
switch (tmp) {
|
|
145
148
|
case 0:
|
|
146
|
-
this.
|
|
149
|
+
this.i9_1 = 3;
|
|
147
150
|
var tmp_0 = this;
|
|
148
|
-
tmp_0.
|
|
151
|
+
tmp_0.n4p_1 = this.h4p_1;
|
|
149
152
|
var tmp_1 = this;
|
|
150
|
-
tmp_1.
|
|
153
|
+
tmp_1.o4p_1 = this.m4p_1;
|
|
151
154
|
var tmp_2 = this;
|
|
152
|
-
tmp_2.
|
|
153
|
-
this.
|
|
154
|
-
suspendResult = this.
|
|
155
|
+
tmp_2.p4p_1 = this.o4p_1;
|
|
156
|
+
this.h9_1 = 1;
|
|
157
|
+
suspendResult = this.p4p_1.r4p(this.i4p_1, this.j4p_1, this.k4p_1, this.l4p_1, this);
|
|
155
158
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
156
159
|
return suspendResult;
|
|
157
160
|
}
|
|
158
161
|
|
|
159
162
|
continue $sm;
|
|
160
163
|
case 1:
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
-
suspendResult = this.
|
|
164
|
+
this.q4p_1 = suspendResult;
|
|
165
|
+
this.h9_1 = 2;
|
|
166
|
+
suspendResult = this.n4p_1.d18(this.q4p_1, this);
|
|
164
167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
165
168
|
return suspendResult;
|
|
166
169
|
}
|
|
@@ -169,50 +172,50 @@
|
|
|
169
172
|
case 2:
|
|
170
173
|
return Unit_instance;
|
|
171
174
|
case 3:
|
|
172
|
-
throw this.
|
|
175
|
+
throw this.k9_1;
|
|
173
176
|
}
|
|
174
177
|
} catch ($p) {
|
|
175
178
|
var e = $p;
|
|
176
|
-
if (this.
|
|
179
|
+
if (this.i9_1 === 3) {
|
|
177
180
|
throw e;
|
|
178
181
|
} else {
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
182
|
+
this.h9_1 = this.i9_1;
|
|
183
|
+
this.k9_1 = e;
|
|
181
184
|
}
|
|
182
185
|
}
|
|
183
186
|
while (true);
|
|
184
187
|
};
|
|
185
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
186
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
187
|
-
i.
|
|
188
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).n2r = function (value, completion) {
|
|
189
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.h4p_1, this.i4p_1, this.j4p_1, this.k4p_1, this.l4p_1, completion);
|
|
190
|
+
i.m4p_1 = value;
|
|
188
191
|
return i;
|
|
189
192
|
};
|
|
190
193
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
191
194
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
192
195
|
var l = function (value, $completion) {
|
|
193
|
-
return i.
|
|
196
|
+
return i.m2r(value, $completion);
|
|
194
197
|
};
|
|
195
198
|
l.$arity = 1;
|
|
196
199
|
return l;
|
|
197
200
|
}
|
|
198
201
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
199
202
|
CoroutineImpl.call(this, resultContinuation);
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
203
|
+
this.a4q_1 = _this__u8e3s4;
|
|
204
|
+
this.b4q_1 = collector;
|
|
202
205
|
}
|
|
203
|
-
protoOf($collectCOROUTINE$2).
|
|
204
|
-
var suspendResult = this.
|
|
206
|
+
protoOf($collectCOROUTINE$2).p9 = function () {
|
|
207
|
+
var suspendResult = this.j9_1;
|
|
205
208
|
$sm: do
|
|
206
209
|
try {
|
|
207
|
-
var tmp = this.
|
|
210
|
+
var tmp = this.h9_1;
|
|
208
211
|
switch (tmp) {
|
|
209
212
|
case 0:
|
|
210
|
-
this.
|
|
213
|
+
this.i9_1 = 2;
|
|
211
214
|
var tmp_0 = this;
|
|
212
|
-
tmp_0.
|
|
213
|
-
this.
|
|
214
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
215
|
-
suspendResult = this.
|
|
215
|
+
tmp_0.c4q_1 = this.b4q_1;
|
|
216
|
+
this.h9_1 = 1;
|
|
217
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.c4q_1, this.a4q_1.e4q_1, this.a4q_1.f4q_1, this.a4q_1.g4q_1, this.a4q_1.h4q_1, null);
|
|
218
|
+
suspendResult = this.a4q_1.d4q_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
216
219
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
217
220
|
return suspendResult;
|
|
218
221
|
}
|
|
@@ -221,60 +224,60 @@
|
|
|
221
224
|
case 1:
|
|
222
225
|
return Unit_instance;
|
|
223
226
|
case 2:
|
|
224
|
-
throw this.
|
|
227
|
+
throw this.k9_1;
|
|
225
228
|
}
|
|
226
229
|
} catch ($p) {
|
|
227
230
|
var e = $p;
|
|
228
|
-
if (this.
|
|
231
|
+
if (this.i9_1 === 2) {
|
|
229
232
|
throw e;
|
|
230
233
|
} else {
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
234
|
+
this.h9_1 = this.i9_1;
|
|
235
|
+
this.k9_1 = e;
|
|
233
236
|
}
|
|
234
237
|
}
|
|
235
238
|
while (true);
|
|
236
239
|
};
|
|
237
240
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
241
|
+
this.q4q_1 = $$this$unsafeFlow;
|
|
242
|
+
this.r4q_1 = $charset;
|
|
243
|
+
this.s4q_1 = $typeInfo;
|
|
244
|
+
this.t4q_1 = $content;
|
|
242
245
|
CoroutineImpl.call(this, resultContinuation);
|
|
243
246
|
}
|
|
244
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
245
|
-
var tmp = this.
|
|
246
|
-
tmp.
|
|
247
|
-
tmp.
|
|
248
|
-
return tmp.
|
|
247
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).m2r = function (value, $completion) {
|
|
248
|
+
var tmp = this.n2r(value, $completion);
|
|
249
|
+
tmp.j9_1 = Unit_instance;
|
|
250
|
+
tmp.k9_1 = null;
|
|
251
|
+
return tmp.p9();
|
|
249
252
|
};
|
|
250
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
251
|
-
return this.
|
|
253
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z9 = function (p1, $completion) {
|
|
254
|
+
return this.m2r((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
252
255
|
};
|
|
253
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
254
|
-
var suspendResult = this.
|
|
256
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).p9 = function () {
|
|
257
|
+
var suspendResult = this.j9_1;
|
|
255
258
|
$sm: do
|
|
256
259
|
try {
|
|
257
|
-
var tmp = this.
|
|
260
|
+
var tmp = this.h9_1;
|
|
258
261
|
switch (tmp) {
|
|
259
262
|
case 0:
|
|
260
|
-
this.
|
|
263
|
+
this.i9_1 = 3;
|
|
261
264
|
var tmp_0 = this;
|
|
262
|
-
tmp_0.
|
|
265
|
+
tmp_0.v4q_1 = this.q4q_1;
|
|
263
266
|
var tmp_1 = this;
|
|
264
|
-
tmp_1.
|
|
267
|
+
tmp_1.w4q_1 = this.u4q_1;
|
|
265
268
|
var tmp_2 = this;
|
|
266
|
-
tmp_2.
|
|
267
|
-
this.
|
|
268
|
-
suspendResult = this.
|
|
269
|
+
tmp_2.x4q_1 = this.w4q_1;
|
|
270
|
+
this.h9_1 = 1;
|
|
271
|
+
suspendResult = this.x4q_1.h2q(this.r4q_1, this.s4q_1, this.t4q_1, this);
|
|
269
272
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
270
273
|
return suspendResult;
|
|
271
274
|
}
|
|
272
275
|
|
|
273
276
|
continue $sm;
|
|
274
277
|
case 1:
|
|
275
|
-
this.
|
|
276
|
-
this.
|
|
277
|
-
suspendResult = this.
|
|
278
|
+
this.y4q_1 = suspendResult;
|
|
279
|
+
this.h9_1 = 2;
|
|
280
|
+
suspendResult = this.v4q_1.d18(this.y4q_1, this);
|
|
278
281
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
279
282
|
return suspendResult;
|
|
280
283
|
}
|
|
@@ -283,50 +286,50 @@
|
|
|
283
286
|
case 2:
|
|
284
287
|
return Unit_instance;
|
|
285
288
|
case 3:
|
|
286
|
-
throw this.
|
|
289
|
+
throw this.k9_1;
|
|
287
290
|
}
|
|
288
291
|
} catch ($p) {
|
|
289
292
|
var e = $p;
|
|
290
|
-
if (this.
|
|
293
|
+
if (this.i9_1 === 3) {
|
|
291
294
|
throw e;
|
|
292
295
|
} else {
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
296
|
+
this.h9_1 = this.i9_1;
|
|
297
|
+
this.k9_1 = e;
|
|
295
298
|
}
|
|
296
299
|
}
|
|
297
300
|
while (true);
|
|
298
301
|
};
|
|
299
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
300
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
301
|
-
i.
|
|
302
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).n2r = function (value, completion) {
|
|
303
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.q4q_1, this.r4q_1, this.s4q_1, this.t4q_1, completion);
|
|
304
|
+
i.u4q_1 = value;
|
|
302
305
|
return i;
|
|
303
306
|
};
|
|
304
307
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
305
308
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
306
309
|
var l = function (value, $completion) {
|
|
307
|
-
return i.
|
|
310
|
+
return i.m2r(value, $completion);
|
|
308
311
|
};
|
|
309
312
|
l.$arity = 1;
|
|
310
313
|
return l;
|
|
311
314
|
}
|
|
312
315
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
313
316
|
CoroutineImpl.call(this, resultContinuation);
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
317
|
+
this.h4r_1 = _this__u8e3s4;
|
|
318
|
+
this.i4r_1 = collector;
|
|
316
319
|
}
|
|
317
|
-
protoOf($collectCOROUTINE$3).
|
|
318
|
-
var suspendResult = this.
|
|
320
|
+
protoOf($collectCOROUTINE$3).p9 = function () {
|
|
321
|
+
var suspendResult = this.j9_1;
|
|
319
322
|
$sm: do
|
|
320
323
|
try {
|
|
321
|
-
var tmp = this.
|
|
324
|
+
var tmp = this.h9_1;
|
|
322
325
|
switch (tmp) {
|
|
323
326
|
case 0:
|
|
324
|
-
this.
|
|
327
|
+
this.i9_1 = 2;
|
|
325
328
|
var tmp_0 = this;
|
|
326
|
-
tmp_0.
|
|
327
|
-
this.
|
|
328
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
329
|
-
suspendResult = this.
|
|
329
|
+
tmp_0.j4r_1 = this.i4r_1;
|
|
330
|
+
this.h9_1 = 1;
|
|
331
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.j4r_1, this.h4r_1.l4r_1, this.h4r_1.m4r_1, this.h4r_1.n4r_1, null);
|
|
332
|
+
suspendResult = this.h4r_1.k4r_1.m17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
330
333
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
331
334
|
return suspendResult;
|
|
332
335
|
}
|
|
@@ -335,15 +338,15 @@
|
|
|
335
338
|
case 1:
|
|
336
339
|
return Unit_instance;
|
|
337
340
|
case 2:
|
|
338
|
-
throw this.
|
|
341
|
+
throw this.k9_1;
|
|
339
342
|
}
|
|
340
343
|
} catch ($p) {
|
|
341
344
|
var e = $p;
|
|
342
|
-
if (this.
|
|
345
|
+
if (this.i9_1 === 2) {
|
|
343
346
|
throw e;
|
|
344
347
|
} else {
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
348
|
+
this.h9_1 = this.i9_1;
|
|
349
|
+
this.k9_1 = e;
|
|
347
350
|
}
|
|
348
351
|
}
|
|
349
352
|
while (true);
|
|
@@ -351,11 +354,11 @@
|
|
|
351
354
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
352
355
|
var tmp;
|
|
353
356
|
if (isInterface(format, StringFormat)) {
|
|
354
|
-
var content = format.
|
|
357
|
+
var content = format.u44(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
355
358
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
356
359
|
} else {
|
|
357
360
|
if (isInterface(format, BinaryFormat)) {
|
|
358
|
-
var content_0 = format.
|
|
361
|
+
var content_0 = format.x44(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
359
362
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
360
363
|
} else {
|
|
361
364
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -365,55 +368,97 @@
|
|
|
365
368
|
return tmp;
|
|
366
369
|
}
|
|
367
370
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
368
|
-
this.
|
|
371
|
+
this.o4r_1 = function_0;
|
|
369
372
|
}
|
|
370
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
371
|
-
return this.
|
|
373
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d18 = function (value, $completion) {
|
|
374
|
+
return this.o4r_1(value, $completion);
|
|
375
|
+
};
|
|
376
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
|
|
377
|
+
return this.o4r_1;
|
|
378
|
+
};
|
|
379
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
380
|
+
var tmp;
|
|
381
|
+
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
382
|
+
var tmp_0;
|
|
383
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
384
|
+
tmp_0 = equals(this.p3(), other.p3());
|
|
385
|
+
} else {
|
|
386
|
+
tmp_0 = false;
|
|
387
|
+
}
|
|
388
|
+
tmp = tmp_0;
|
|
389
|
+
} else {
|
|
390
|
+
tmp = false;
|
|
391
|
+
}
|
|
392
|
+
return tmp;
|
|
393
|
+
};
|
|
394
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
395
|
+
return hashCode(this.p3());
|
|
372
396
|
};
|
|
373
397
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
374
|
-
this.
|
|
398
|
+
this.p4r_1 = function_0;
|
|
375
399
|
}
|
|
376
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
377
|
-
return this.
|
|
400
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d18 = function (value, $completion) {
|
|
401
|
+
return this.p4r_1(value, $completion);
|
|
402
|
+
};
|
|
403
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p3 = function () {
|
|
404
|
+
return this.p4r_1;
|
|
405
|
+
};
|
|
406
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
407
|
+
var tmp;
|
|
408
|
+
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
409
|
+
var tmp_0;
|
|
410
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
411
|
+
tmp_0 = equals(this.p3(), other.p3());
|
|
412
|
+
} else {
|
|
413
|
+
tmp_0 = false;
|
|
414
|
+
}
|
|
415
|
+
tmp = tmp_0;
|
|
416
|
+
} else {
|
|
417
|
+
tmp = false;
|
|
418
|
+
}
|
|
419
|
+
return tmp;
|
|
420
|
+
};
|
|
421
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
422
|
+
return hashCode(this.p3());
|
|
378
423
|
};
|
|
379
424
|
function _no_name_provided__qut3iv($this, $contentType, $charset, $typeInfo, $value) {
|
|
380
|
-
this.
|
|
381
|
-
this.
|
|
382
|
-
this.
|
|
383
|
-
this.
|
|
384
|
-
this.
|
|
425
|
+
this.d4q_1 = $this;
|
|
426
|
+
this.e4q_1 = $contentType;
|
|
427
|
+
this.f4q_1 = $charset;
|
|
428
|
+
this.g4q_1 = $typeInfo;
|
|
429
|
+
this.h4q_1 = $value;
|
|
385
430
|
}
|
|
386
|
-
protoOf(_no_name_provided__qut3iv).
|
|
431
|
+
protoOf(_no_name_provided__qut3iv).e18 = function (collector, $completion) {
|
|
387
432
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
388
|
-
tmp.
|
|
389
|
-
tmp.
|
|
390
|
-
return tmp.
|
|
433
|
+
tmp.j9_1 = Unit_instance;
|
|
434
|
+
tmp.k9_1 = null;
|
|
435
|
+
return tmp.p9();
|
|
391
436
|
};
|
|
392
|
-
protoOf(_no_name_provided__qut3iv).
|
|
393
|
-
return this.
|
|
437
|
+
protoOf(_no_name_provided__qut3iv).m17 = function (collector, $completion) {
|
|
438
|
+
return this.e18(collector, $completion);
|
|
394
439
|
};
|
|
395
440
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
396
441
|
CoroutineImpl.call(this, resultContinuation);
|
|
397
442
|
}
|
|
398
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
399
|
-
var tmp = this.
|
|
400
|
-
tmp.
|
|
401
|
-
tmp.
|
|
402
|
-
return tmp.
|
|
443
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z4r = function (it, $completion) {
|
|
444
|
+
var tmp = this.a4s(it, $completion);
|
|
445
|
+
tmp.j9_1 = Unit_instance;
|
|
446
|
+
tmp.k9_1 = null;
|
|
447
|
+
return tmp.p9();
|
|
403
448
|
};
|
|
404
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
405
|
-
return this.
|
|
449
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z9 = function (p1, $completion) {
|
|
450
|
+
return this.z4r((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
406
451
|
};
|
|
407
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
408
|
-
var suspendResult = this.
|
|
452
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).p9 = function () {
|
|
453
|
+
var suspendResult = this.j9_1;
|
|
409
454
|
$sm: do
|
|
410
455
|
try {
|
|
411
|
-
var tmp = this.
|
|
456
|
+
var tmp = this.h9_1;
|
|
412
457
|
if (tmp === 0) {
|
|
413
|
-
this.
|
|
414
|
-
return !(this.
|
|
458
|
+
this.i9_1 = 1;
|
|
459
|
+
return !(this.y4r_1 == null);
|
|
415
460
|
} else if (tmp === 1) {
|
|
416
|
-
throw this.
|
|
461
|
+
throw this.k9_1;
|
|
417
462
|
}
|
|
418
463
|
} catch ($p) {
|
|
419
464
|
var e = $p;
|
|
@@ -421,57 +466,57 @@
|
|
|
421
466
|
}
|
|
422
467
|
while (true);
|
|
423
468
|
};
|
|
424
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
469
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).a4s = function (it, completion) {
|
|
425
470
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
426
|
-
i.
|
|
471
|
+
i.y4r_1 = it;
|
|
427
472
|
return i;
|
|
428
473
|
};
|
|
429
474
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
430
475
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
431
476
|
var l = function (it, $completion) {
|
|
432
|
-
return i.
|
|
477
|
+
return i.z4r(it, $completion);
|
|
433
478
|
};
|
|
434
479
|
l.$arity = 1;
|
|
435
480
|
return l;
|
|
436
481
|
}
|
|
437
482
|
function _no_name_provided__qut3iv_0($this, $charset, $typeInfo, $content) {
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
483
|
+
this.k4r_1 = $this;
|
|
484
|
+
this.l4r_1 = $charset;
|
|
485
|
+
this.m4r_1 = $typeInfo;
|
|
486
|
+
this.n4r_1 = $content;
|
|
442
487
|
}
|
|
443
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
488
|
+
protoOf(_no_name_provided__qut3iv_0).e18 = function (collector, $completion) {
|
|
444
489
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
445
|
-
tmp.
|
|
446
|
-
tmp.
|
|
447
|
-
return tmp.
|
|
490
|
+
tmp.j9_1 = Unit_instance;
|
|
491
|
+
tmp.k9_1 = null;
|
|
492
|
+
return tmp.p9();
|
|
448
493
|
};
|
|
449
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
450
|
-
return this.
|
|
494
|
+
protoOf(_no_name_provided__qut3iv_0).m17 = function (collector, $completion) {
|
|
495
|
+
return this.e18(collector, $completion);
|
|
451
496
|
};
|
|
452
497
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
453
|
-
this.
|
|
498
|
+
this.j4s_1 = $content;
|
|
454
499
|
CoroutineImpl.call(this, resultContinuation);
|
|
455
500
|
}
|
|
456
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
457
|
-
var tmp = this.
|
|
458
|
-
tmp.
|
|
459
|
-
tmp.
|
|
460
|
-
return tmp.
|
|
501
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).n2s = function (it, $completion) {
|
|
502
|
+
var tmp = this.n2r(it, $completion);
|
|
503
|
+
tmp.j9_1 = Unit_instance;
|
|
504
|
+
tmp.k9_1 = null;
|
|
505
|
+
return tmp.p9();
|
|
461
506
|
};
|
|
462
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
463
|
-
return this.
|
|
507
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).z9 = function (p1, $completion) {
|
|
508
|
+
return this.n2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
464
509
|
};
|
|
465
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
466
|
-
var suspendResult = this.
|
|
510
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).p9 = function () {
|
|
511
|
+
var suspendResult = this.j9_1;
|
|
467
512
|
$sm: do
|
|
468
513
|
try {
|
|
469
|
-
var tmp = this.
|
|
514
|
+
var tmp = this.h9_1;
|
|
470
515
|
if (tmp === 0) {
|
|
471
|
-
this.
|
|
472
|
-
return !(this.
|
|
516
|
+
this.i9_1 = 1;
|
|
517
|
+
return !(this.k4s_1 == null) || this.j4s_1.b1r();
|
|
473
518
|
} else if (tmp === 1) {
|
|
474
|
-
throw this.
|
|
519
|
+
throw this.k9_1;
|
|
475
520
|
}
|
|
476
521
|
} catch ($p) {
|
|
477
522
|
var e = $p;
|
|
@@ -479,38 +524,38 @@
|
|
|
479
524
|
}
|
|
480
525
|
while (true);
|
|
481
526
|
};
|
|
482
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
483
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
484
|
-
i.
|
|
527
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).n2r = function (it, completion) {
|
|
528
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.j4s_1, completion);
|
|
529
|
+
i.k4s_1 = it;
|
|
485
530
|
return i;
|
|
486
531
|
};
|
|
487
532
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
488
533
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
489
534
|
var l = function (it, $completion) {
|
|
490
|
-
return i.
|
|
535
|
+
return i.n2s(it, $completion);
|
|
491
536
|
};
|
|
492
537
|
l.$arity = 1;
|
|
493
538
|
return l;
|
|
494
539
|
}
|
|
495
540
|
function $serializeNullableCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
496
541
|
CoroutineImpl.call(this, resultContinuation);
|
|
497
|
-
this.
|
|
498
|
-
this.
|
|
499
|
-
this.
|
|
500
|
-
this.
|
|
501
|
-
this.
|
|
542
|
+
this.t4s_1 = _this__u8e3s4;
|
|
543
|
+
this.u4s_1 = contentType;
|
|
544
|
+
this.v4s_1 = charset;
|
|
545
|
+
this.w4s_1 = typeInfo;
|
|
546
|
+
this.x4s_1 = value;
|
|
502
547
|
}
|
|
503
|
-
protoOf($serializeNullableCOROUTINE$0).
|
|
504
|
-
var suspendResult = this.
|
|
548
|
+
protoOf($serializeNullableCOROUTINE$0).p9 = function () {
|
|
549
|
+
var suspendResult = this.j9_1;
|
|
505
550
|
$sm: do
|
|
506
551
|
try {
|
|
507
|
-
var tmp = this.
|
|
552
|
+
var tmp = this.h9_1;
|
|
508
553
|
switch (tmp) {
|
|
509
554
|
case 0:
|
|
510
|
-
this.
|
|
511
|
-
this.
|
|
512
|
-
var this_0 = asFlow(this.
|
|
513
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
555
|
+
this.i9_1 = 2;
|
|
556
|
+
this.h9_1 = 1;
|
|
557
|
+
var this_0 = asFlow(this.t4s_1.z4s_1);
|
|
558
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.u4s_1, this.v4s_1, this.w4s_1, this.x4s_1);
|
|
514
559
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
515
560
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
516
561
|
return suspendResult;
|
|
@@ -523,12 +568,12 @@
|
|
|
523
568
|
return fromExtension;
|
|
524
569
|
var tmp_1;
|
|
525
570
|
try {
|
|
526
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
571
|
+
tmp_1 = serializerForTypeInfo(this.t4s_1.y4s_1.w44(), this.w4s_1);
|
|
527
572
|
} catch ($p) {
|
|
528
573
|
var tmp_2;
|
|
529
574
|
if ($p instanceof SerializationException) {
|
|
530
575
|
var cause = $p;
|
|
531
|
-
tmp_2 = guessSerializer(this.
|
|
576
|
+
tmp_2 = guessSerializer(this.x4s_1, this.t4s_1.y4s_1.w44());
|
|
532
577
|
} else {
|
|
533
578
|
throw $p;
|
|
534
579
|
}
|
|
@@ -536,59 +581,59 @@
|
|
|
536
581
|
}
|
|
537
582
|
|
|
538
583
|
var serializer = tmp_1;
|
|
539
|
-
return serializeContent(this.
|
|
584
|
+
return serializeContent(this.t4s_1, serializer, this.t4s_1.y4s_1, this.x4s_1, this.u4s_1, this.v4s_1);
|
|
540
585
|
case 2:
|
|
541
|
-
throw this.
|
|
586
|
+
throw this.k9_1;
|
|
542
587
|
}
|
|
543
588
|
} catch ($p) {
|
|
544
589
|
var e = $p;
|
|
545
|
-
if (this.
|
|
590
|
+
if (this.i9_1 === 2) {
|
|
546
591
|
throw e;
|
|
547
592
|
} else {
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
593
|
+
this.h9_1 = this.i9_1;
|
|
594
|
+
this.k9_1 = e;
|
|
550
595
|
}
|
|
551
596
|
}
|
|
552
597
|
while (true);
|
|
553
598
|
};
|
|
554
599
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
555
600
|
CoroutineImpl.call(this, resultContinuation);
|
|
556
|
-
this.
|
|
557
|
-
this.
|
|
558
|
-
this.
|
|
559
|
-
this.
|
|
601
|
+
this.i4t_1 = _this__u8e3s4;
|
|
602
|
+
this.j4t_1 = charset;
|
|
603
|
+
this.k4t_1 = typeInfo;
|
|
604
|
+
this.l4t_1 = content;
|
|
560
605
|
}
|
|
561
|
-
protoOf($deserializeCOROUTINE$1).
|
|
562
|
-
var suspendResult = this.
|
|
606
|
+
protoOf($deserializeCOROUTINE$1).p9 = function () {
|
|
607
|
+
var suspendResult = this.j9_1;
|
|
563
608
|
$sm: do
|
|
564
609
|
try {
|
|
565
|
-
var tmp = this.
|
|
610
|
+
var tmp = this.h9_1;
|
|
566
611
|
switch (tmp) {
|
|
567
612
|
case 0:
|
|
568
|
-
this.
|
|
569
|
-
this.
|
|
570
|
-
var this_0 = asFlow(this.
|
|
571
|
-
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.
|
|
572
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
613
|
+
this.i9_1 = 5;
|
|
614
|
+
this.h9_1 = 1;
|
|
615
|
+
var this_0 = asFlow(this.i4t_1.z4s_1);
|
|
616
|
+
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.j4t_1, this.k4t_1, this.l4t_1);
|
|
617
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.l4t_1, null), this);
|
|
573
618
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
574
619
|
return suspendResult;
|
|
575
620
|
}
|
|
576
621
|
|
|
577
622
|
continue $sm;
|
|
578
623
|
case 1:
|
|
579
|
-
this.
|
|
624
|
+
this.m4t_1 = suspendResult;
|
|
580
625
|
var tmp_1;
|
|
581
|
-
if (!this.
|
|
582
|
-
tmp_1 = !(this.
|
|
626
|
+
if (!this.i4t_1.z4s_1.p()) {
|
|
627
|
+
tmp_1 = !(this.m4t_1 == null) || this.l4t_1.b1r();
|
|
583
628
|
} else {
|
|
584
629
|
tmp_1 = false;
|
|
585
630
|
}
|
|
586
631
|
|
|
587
632
|
if (tmp_1)
|
|
588
|
-
return this.
|
|
589
|
-
this.
|
|
590
|
-
this.
|
|
591
|
-
suspendResult = this.
|
|
633
|
+
return this.m4t_1;
|
|
634
|
+
this.n4t_1 = serializerForTypeInfo(this.i4t_1.y4s_1.w44(), this.k4t_1);
|
|
635
|
+
this.h9_1 = 2;
|
|
636
|
+
suspendResult = this.l4t_1.w1w(VOID, this);
|
|
592
637
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
593
638
|
return suspendResult;
|
|
594
639
|
}
|
|
@@ -596,92 +641,92 @@
|
|
|
596
641
|
continue $sm;
|
|
597
642
|
case 2:
|
|
598
643
|
var contentPacket = suspendResult;
|
|
599
|
-
this.
|
|
600
|
-
var tmp0_subject = this.
|
|
644
|
+
this.i9_1 = 3;
|
|
645
|
+
var tmp0_subject = this.i4t_1.y4s_1;
|
|
601
646
|
var tmp_2;
|
|
602
647
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
603
|
-
tmp_2 = this.
|
|
648
|
+
tmp_2 = this.i4t_1.y4s_1.v44(this.n4t_1, readText(contentPacket, this.j4t_1));
|
|
604
649
|
} else {
|
|
605
650
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
606
|
-
tmp_2 = this.
|
|
651
|
+
tmp_2 = this.i4t_1.y4s_1.y44(this.n4t_1, readBytes(contentPacket));
|
|
607
652
|
} else {
|
|
608
653
|
discard(contentPacket);
|
|
609
|
-
var message = 'Unsupported format ' + toString(this.
|
|
654
|
+
var message = 'Unsupported format ' + toString(this.i4t_1.y4s_1);
|
|
610
655
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
611
656
|
}
|
|
612
657
|
}
|
|
613
658
|
|
|
614
659
|
return tmp_2;
|
|
615
660
|
case 3:
|
|
616
|
-
this.
|
|
617
|
-
var tmp_3 = this.
|
|
661
|
+
this.i9_1 = 5;
|
|
662
|
+
var tmp_3 = this.k9_1;
|
|
618
663
|
if (tmp_3 instanceof Error) {
|
|
619
|
-
var cause = this.
|
|
664
|
+
var cause = this.k9_1;
|
|
620
665
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
621
666
|
} else {
|
|
622
|
-
throw this.
|
|
667
|
+
throw this.k9_1;
|
|
623
668
|
}
|
|
624
669
|
|
|
625
670
|
case 4:
|
|
626
|
-
this.
|
|
671
|
+
this.i9_1 = 5;
|
|
627
672
|
return Unit_instance;
|
|
628
673
|
case 5:
|
|
629
|
-
throw this.
|
|
674
|
+
throw this.k9_1;
|
|
630
675
|
}
|
|
631
676
|
} catch ($p) {
|
|
632
677
|
var e = $p;
|
|
633
|
-
if (this.
|
|
678
|
+
if (this.i9_1 === 5) {
|
|
634
679
|
throw e;
|
|
635
680
|
} else {
|
|
636
|
-
this.
|
|
637
|
-
this.
|
|
681
|
+
this.h9_1 = this.i9_1;
|
|
682
|
+
this.k9_1 = e;
|
|
638
683
|
}
|
|
639
684
|
}
|
|
640
685
|
while (true);
|
|
641
686
|
};
|
|
642
687
|
function KotlinxSerializationConverter(format) {
|
|
643
|
-
this.
|
|
644
|
-
this.
|
|
688
|
+
this.y4s_1 = format;
|
|
689
|
+
this.z4s_1 = extensions(this.y4s_1);
|
|
645
690
|
// Inline function 'kotlin.require' call
|
|
646
691
|
var tmp;
|
|
647
|
-
var tmp_0 = this.
|
|
692
|
+
var tmp_0 = this.y4s_1;
|
|
648
693
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
649
694
|
tmp = true;
|
|
650
695
|
} else {
|
|
651
|
-
var tmp_1 = this.
|
|
696
|
+
var tmp_1 = this.y4s_1;
|
|
652
697
|
tmp = isInterface(tmp_1, StringFormat);
|
|
653
698
|
}
|
|
654
699
|
// Inline function 'kotlin.contracts.contract' call
|
|
655
700
|
if (!tmp) {
|
|
656
701
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
657
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
702
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.y4s_1) + ' is not supported.';
|
|
658
703
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
659
704
|
}
|
|
660
705
|
}
|
|
661
|
-
protoOf(KotlinxSerializationConverter).
|
|
662
|
-
return this.
|
|
706
|
+
protoOf(KotlinxSerializationConverter).o4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
707
|
+
return this.p4t(contentType, charset, typeInfo, value, $completion);
|
|
663
708
|
};
|
|
664
|
-
protoOf(KotlinxSerializationConverter).
|
|
665
|
-
return this.
|
|
709
|
+
protoOf(KotlinxSerializationConverter).f2q = function (contentType, charset, typeInfo, value, $completion) {
|
|
710
|
+
return this.o4t(contentType, charset, typeInfo, value, $completion);
|
|
666
711
|
};
|
|
667
|
-
protoOf(KotlinxSerializationConverter).
|
|
712
|
+
protoOf(KotlinxSerializationConverter).p4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
668
713
|
var tmp = new $serializeNullableCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
669
|
-
tmp.
|
|
670
|
-
tmp.
|
|
671
|
-
return tmp.
|
|
714
|
+
tmp.j9_1 = Unit_instance;
|
|
715
|
+
tmp.k9_1 = null;
|
|
716
|
+
return tmp.p9();
|
|
672
717
|
};
|
|
673
|
-
protoOf(KotlinxSerializationConverter).
|
|
674
|
-
return this.
|
|
718
|
+
protoOf(KotlinxSerializationConverter).g2q = function (contentType, charset, typeInfo, value, $completion) {
|
|
719
|
+
return this.p4t(contentType, charset, typeInfo, value, $completion);
|
|
675
720
|
};
|
|
676
|
-
protoOf(KotlinxSerializationConverter).
|
|
721
|
+
protoOf(KotlinxSerializationConverter).h2q = function (charset, typeInfo, content, $completion) {
|
|
677
722
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
678
|
-
tmp.
|
|
679
|
-
tmp.
|
|
680
|
-
return tmp.
|
|
723
|
+
tmp.j9_1 = Unit_instance;
|
|
724
|
+
tmp.k9_1 = null;
|
|
725
|
+
return tmp.p9();
|
|
681
726
|
};
|
|
682
727
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
683
728
|
var module_0 = _this__u8e3s4;
|
|
684
|
-
var tmp0_safe_receiver = typeInfo.
|
|
729
|
+
var tmp0_safe_receiver = typeInfo.e2d_1;
|
|
685
730
|
var tmp;
|
|
686
731
|
if (tmp0_safe_receiver == null) {
|
|
687
732
|
tmp = null;
|
|
@@ -690,7 +735,7 @@
|
|
|
690
735
|
// Inline function 'kotlin.contracts.contract' call
|
|
691
736
|
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
692
737
|
var tmp_0;
|
|
693
|
-
if (tmp0_safe_receiver.
|
|
738
|
+
if (tmp0_safe_receiver.db().p()) {
|
|
694
739
|
tmp_0 = null;
|
|
695
740
|
} else {
|
|
696
741
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -700,13 +745,13 @@
|
|
|
700
745
|
var tmp2_elvis_lhs = tmp;
|
|
701
746
|
var tmp_1;
|
|
702
747
|
if (tmp2_elvis_lhs == null) {
|
|
703
|
-
var tmp1_safe_receiver = module_0.
|
|
748
|
+
var tmp1_safe_receiver = module_0.b45(typeInfo.c2d_1);
|
|
704
749
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
705
750
|
} else {
|
|
706
751
|
tmp_1 = tmp2_elvis_lhs;
|
|
707
752
|
}
|
|
708
753
|
var tmp3_elvis_lhs = tmp_1;
|
|
709
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
754
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.c2d_1), typeInfo) : tmp3_elvis_lhs;
|
|
710
755
|
}
|
|
711
756
|
function guessSerializer(value, module_0) {
|
|
712
757
|
var tmp;
|
|
@@ -738,7 +783,7 @@
|
|
|
738
783
|
var valueSerializer = elementSerializer(value.j2(), module_0);
|
|
739
784
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
740
785
|
} else {
|
|
741
|
-
var tmp3_elvis_lhs = module_0.
|
|
786
|
+
var tmp3_elvis_lhs = module_0.b45(getKClassFromExpression(value));
|
|
742
787
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
743
788
|
}
|
|
744
789
|
}
|
|
@@ -750,8 +795,8 @@
|
|
|
750
795
|
}
|
|
751
796
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
752
797
|
var tmp;
|
|
753
|
-
var tmp0_safe_receiver = typeInfo.
|
|
754
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
798
|
+
var tmp0_safe_receiver = typeInfo.e2d_1;
|
|
799
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.eb()) === true) {
|
|
755
800
|
tmp = get_nullable(_this__u8e3s4);
|
|
756
801
|
} else {
|
|
757
802
|
tmp = _this__u8e3s4;
|
|
@@ -777,7 +822,7 @@
|
|
|
777
822
|
while (tmp0_iterator_0.k()) {
|
|
778
823
|
var e = tmp0_iterator_0.l();
|
|
779
824
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
780
|
-
var key = e.
|
|
825
|
+
var key = e.r43().s44();
|
|
781
826
|
if (set.e(key)) {
|
|
782
827
|
list.e(e);
|
|
783
828
|
}
|
|
@@ -792,7 +837,7 @@
|
|
|
792
837
|
while (tmp0_iterator_1.k()) {
|
|
793
838
|
var item_0 = tmp0_iterator_1.l();
|
|
794
839
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
795
|
-
var tmp$ret$5 = item_0.
|
|
840
|
+
var tmp$ret$5 = item_0.r43().s44();
|
|
796
841
|
destination_0.e(tmp$ret$5);
|
|
797
842
|
}
|
|
798
843
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -800,7 +845,7 @@
|
|
|
800
845
|
}
|
|
801
846
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
802
847
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
803
|
-
if (selected.
|
|
848
|
+
if (selected.r43().f45()) {
|
|
804
849
|
return selected;
|
|
805
850
|
}
|
|
806
851
|
if (!isInterface(selected, KSerializer))
|