game_client_logic_deb 1.8.305 → 1.8.314
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 +78 -78
- package/Kosi-Kodein-kodein-di.js +647 -647
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1508 -1508
- package/Logic_Debertz-core.js +2240 -2211
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +15420 -15313
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +22 -15
- package/Logic_Debertz-game_client.js +5382 -4785
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2877 -2635
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +25 -25
- package/kotlinx-coroutines-core.js +2851 -2851
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +362 -362
- package/kotlinx-serialization-kotlinx-serialization-core.js +2038 -2038
- package/kotlinx-serialization-kotlinx-serialization-json.js +1569 -1569
- package/ktor-ktor-client-content-negotiation.js +219 -219
- package/ktor-ktor-client-core.js +2528 -2528
- package/ktor-ktor-client-logging.js +553 -553
- package/ktor-ktor-events.js +12 -12
- package/ktor-ktor-http.js +762 -762
- package/ktor-ktor-io.js +1659 -1659
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +271 -271
- package/ktor-ktor-serialization.js +130 -130
- package/ktor-ktor-utils.js +741 -741
- package/ktor-ktor-websockets.js +60 -60
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +339 -316
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +102 -102
- package/raspberry-cardgame-lib-random.js +1042 -1017
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +18 -18
- package/uuid.js +33 -33
|
@@ -28,28 +28,28 @@
|
|
|
28
28
|
'use strict';
|
|
29
29
|
//region block: imports
|
|
30
30
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
31
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
32
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
33
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
34
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
35
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
36
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
31
|
+
var Unit_instance = kotlin_kotlin.$_$.q5;
|
|
32
|
+
var CoroutineImpl = kotlin_kotlin.$_$.xa;
|
|
33
|
+
var protoOf = kotlin_kotlin.$_$.wc;
|
|
34
|
+
var THROW_CCE = kotlin_kotlin.$_$.ug;
|
|
35
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ia;
|
|
36
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.zb;
|
|
37
37
|
var VOID = kotlin_kotlin.$_$.f;
|
|
38
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
39
|
-
var toString = kotlin_kotlin.$_$.
|
|
38
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.xb;
|
|
39
|
+
var toString = kotlin_kotlin.$_$.ad;
|
|
40
40
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
41
41
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
42
|
+
var isInterface = kotlin_kotlin.$_$.jc;
|
|
43
43
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.j;
|
|
44
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
47
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
48
|
+
var equals = kotlin_kotlin.$_$.nb;
|
|
49
|
+
var FunctionAdapter = kotlin_kotlin.$_$.bb;
|
|
50
50
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
51
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.ub;
|
|
52
|
+
var initMetadataForClass = kotlin_kotlin.$_$.vb;
|
|
53
53
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
54
54
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
55
55
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
@@ -64,23 +64,23 @@
|
|
|
64
64
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y2;
|
|
65
65
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
66
66
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
67
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
67
|
+
var KtMap = kotlin_kotlin.$_$.b6;
|
|
68
68
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
69
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
70
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
71
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
69
|
+
var KtSet = kotlin_kotlin.$_$.g6;
|
|
70
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.u7;
|
|
71
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.d5;
|
|
72
72
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
73
73
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
74
|
-
var isArray = kotlin_kotlin.$_$.
|
|
75
|
-
var KtList = kotlin_kotlin.$_$.
|
|
74
|
+
var isArray = kotlin_kotlin.$_$.bc;
|
|
75
|
+
var KtList = kotlin_kotlin.$_$.y5;
|
|
76
76
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
77
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
78
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
77
|
+
var filterNotNull = kotlin_kotlin.$_$.r7;
|
|
78
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.t6;
|
|
79
79
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
80
80
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
81
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
82
|
-
var Collection = kotlin_kotlin.$_$.
|
|
83
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
81
|
+
var singleOrNull = kotlin_kotlin.$_$.j9;
|
|
82
|
+
var Collection = kotlin_kotlin.$_$.s5;
|
|
83
|
+
var emptyList = kotlin_kotlin.$_$.o7;
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: pre-declaration
|
|
86
86
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
var element = tmp0_iterator.l();
|
|
109
109
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
110
110
|
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
111
|
-
var tmp0_safe_receiver = element.
|
|
111
|
+
var tmp0_safe_receiver = element.z4o(format);
|
|
112
112
|
if (tmp0_safe_receiver == null)
|
|
113
113
|
null;
|
|
114
114
|
else {
|
|
@@ -120,50 +120,50 @@
|
|
|
120
120
|
return destination;
|
|
121
121
|
}
|
|
122
122
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
123
|
-
_this__u8e3s4.
|
|
123
|
+
_this__u8e3s4.f2q(contentType, new KotlinxSerializationConverter(format));
|
|
124
124
|
}
|
|
125
125
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
126
|
+
this.i4p_1 = $$this$unsafeFlow;
|
|
127
|
+
this.j4p_1 = $contentType;
|
|
128
|
+
this.k4p_1 = $charset;
|
|
129
|
+
this.l4p_1 = $typeInfo;
|
|
130
|
+
this.m4p_1 = $value;
|
|
131
131
|
CoroutineImpl.call(this, resultContinuation);
|
|
132
132
|
}
|
|
133
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
134
|
-
var tmp = this.
|
|
135
|
-
tmp.
|
|
136
|
-
tmp.
|
|
137
|
-
return tmp.
|
|
133
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).n2r = function (value, $completion) {
|
|
134
|
+
var tmp = this.o2r(value, $completion);
|
|
135
|
+
tmp.l9_1 = Unit_instance;
|
|
136
|
+
tmp.m9_1 = null;
|
|
137
|
+
return tmp.r9();
|
|
138
138
|
};
|
|
139
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
140
|
-
return this.
|
|
139
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).ba = function (p1, $completion) {
|
|
140
|
+
return this.n2r((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
141
141
|
};
|
|
142
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
143
|
-
var suspendResult = this.
|
|
142
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).r9 = function () {
|
|
143
|
+
var suspendResult = this.l9_1;
|
|
144
144
|
$sm: do
|
|
145
145
|
try {
|
|
146
|
-
var tmp = this.
|
|
146
|
+
var tmp = this.j9_1;
|
|
147
147
|
switch (tmp) {
|
|
148
148
|
case 0:
|
|
149
|
-
this.
|
|
149
|
+
this.k9_1 = 3;
|
|
150
150
|
var tmp_0 = this;
|
|
151
|
-
tmp_0.
|
|
151
|
+
tmp_0.o4p_1 = this.i4p_1;
|
|
152
152
|
var tmp_1 = this;
|
|
153
|
-
tmp_1.
|
|
153
|
+
tmp_1.p4p_1 = this.n4p_1;
|
|
154
154
|
var tmp_2 = this;
|
|
155
|
-
tmp_2.
|
|
156
|
-
this.
|
|
157
|
-
suspendResult = this.
|
|
155
|
+
tmp_2.q4p_1 = this.p4p_1;
|
|
156
|
+
this.j9_1 = 1;
|
|
157
|
+
suspendResult = this.q4p_1.s4p(this.j4p_1, this.k4p_1, this.l4p_1, this.m4p_1, this);
|
|
158
158
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
159
159
|
return suspendResult;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
continue $sm;
|
|
163
163
|
case 1:
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
suspendResult = this.
|
|
164
|
+
this.r4p_1 = suspendResult;
|
|
165
|
+
this.j9_1 = 2;
|
|
166
|
+
suspendResult = this.o4p_1.e18(this.r4p_1, this);
|
|
167
167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
168
168
|
return suspendResult;
|
|
169
169
|
}
|
|
@@ -172,50 +172,50 @@
|
|
|
172
172
|
case 2:
|
|
173
173
|
return Unit_instance;
|
|
174
174
|
case 3:
|
|
175
|
-
throw this.
|
|
175
|
+
throw this.m9_1;
|
|
176
176
|
}
|
|
177
177
|
} catch ($p) {
|
|
178
178
|
var e = $p;
|
|
179
|
-
if (this.
|
|
179
|
+
if (this.k9_1 === 3) {
|
|
180
180
|
throw e;
|
|
181
181
|
} else {
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
182
|
+
this.j9_1 = this.k9_1;
|
|
183
|
+
this.m9_1 = e;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
while (true);
|
|
187
187
|
};
|
|
188
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
189
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
190
|
-
i.
|
|
188
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).o2r = function (value, completion) {
|
|
189
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.i4p_1, this.j4p_1, this.k4p_1, this.l4p_1, this.m4p_1, completion);
|
|
190
|
+
i.n4p_1 = value;
|
|
191
191
|
return i;
|
|
192
192
|
};
|
|
193
193
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
194
194
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
195
195
|
var l = function (value, $completion) {
|
|
196
|
-
return i.
|
|
196
|
+
return i.n2r(value, $completion);
|
|
197
197
|
};
|
|
198
198
|
l.$arity = 1;
|
|
199
199
|
return l;
|
|
200
200
|
}
|
|
201
201
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
202
202
|
CoroutineImpl.call(this, resultContinuation);
|
|
203
|
-
this.
|
|
204
|
-
this.
|
|
203
|
+
this.b4q_1 = _this__u8e3s4;
|
|
204
|
+
this.c4q_1 = collector;
|
|
205
205
|
}
|
|
206
|
-
protoOf($collectCOROUTINE$2).
|
|
207
|
-
var suspendResult = this.
|
|
206
|
+
protoOf($collectCOROUTINE$2).r9 = function () {
|
|
207
|
+
var suspendResult = this.l9_1;
|
|
208
208
|
$sm: do
|
|
209
209
|
try {
|
|
210
|
-
var tmp = this.
|
|
210
|
+
var tmp = this.j9_1;
|
|
211
211
|
switch (tmp) {
|
|
212
212
|
case 0:
|
|
213
|
-
this.
|
|
213
|
+
this.k9_1 = 2;
|
|
214
214
|
var tmp_0 = this;
|
|
215
|
-
tmp_0.
|
|
216
|
-
this.
|
|
217
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
218
|
-
suspendResult = this.
|
|
215
|
+
tmp_0.d4q_1 = this.c4q_1;
|
|
216
|
+
this.j9_1 = 1;
|
|
217
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.d4q_1, this.b4q_1.f4q_1, this.b4q_1.g4q_1, this.b4q_1.h4q_1, this.b4q_1.i4q_1, null);
|
|
218
|
+
suspendResult = this.b4q_1.e4q_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
219
219
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
220
220
|
return suspendResult;
|
|
221
221
|
}
|
|
@@ -224,60 +224,60 @@
|
|
|
224
224
|
case 1:
|
|
225
225
|
return Unit_instance;
|
|
226
226
|
case 2:
|
|
227
|
-
throw this.
|
|
227
|
+
throw this.m9_1;
|
|
228
228
|
}
|
|
229
229
|
} catch ($p) {
|
|
230
230
|
var e = $p;
|
|
231
|
-
if (this.
|
|
231
|
+
if (this.k9_1 === 2) {
|
|
232
232
|
throw e;
|
|
233
233
|
} else {
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
234
|
+
this.j9_1 = this.k9_1;
|
|
235
|
+
this.m9_1 = e;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
while (true);
|
|
239
239
|
};
|
|
240
240
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
241
|
+
this.r4q_1 = $$this$unsafeFlow;
|
|
242
|
+
this.s4q_1 = $charset;
|
|
243
|
+
this.t4q_1 = $typeInfo;
|
|
244
|
+
this.u4q_1 = $content;
|
|
245
245
|
CoroutineImpl.call(this, resultContinuation);
|
|
246
246
|
}
|
|
247
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
248
|
-
var tmp = this.
|
|
249
|
-
tmp.
|
|
250
|
-
tmp.
|
|
251
|
-
return tmp.
|
|
247
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).n2r = function (value, $completion) {
|
|
248
|
+
var tmp = this.o2r(value, $completion);
|
|
249
|
+
tmp.l9_1 = Unit_instance;
|
|
250
|
+
tmp.m9_1 = null;
|
|
251
|
+
return tmp.r9();
|
|
252
252
|
};
|
|
253
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
254
|
-
return this.
|
|
253
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).ba = function (p1, $completion) {
|
|
254
|
+
return this.n2r((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
255
255
|
};
|
|
256
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
257
|
-
var suspendResult = this.
|
|
256
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r9 = function () {
|
|
257
|
+
var suspendResult = this.l9_1;
|
|
258
258
|
$sm: do
|
|
259
259
|
try {
|
|
260
|
-
var tmp = this.
|
|
260
|
+
var tmp = this.j9_1;
|
|
261
261
|
switch (tmp) {
|
|
262
262
|
case 0:
|
|
263
|
-
this.
|
|
263
|
+
this.k9_1 = 3;
|
|
264
264
|
var tmp_0 = this;
|
|
265
|
-
tmp_0.
|
|
265
|
+
tmp_0.w4q_1 = this.r4q_1;
|
|
266
266
|
var tmp_1 = this;
|
|
267
|
-
tmp_1.
|
|
267
|
+
tmp_1.x4q_1 = this.v4q_1;
|
|
268
268
|
var tmp_2 = this;
|
|
269
|
-
tmp_2.
|
|
270
|
-
this.
|
|
271
|
-
suspendResult = this.
|
|
269
|
+
tmp_2.y4q_1 = this.x4q_1;
|
|
270
|
+
this.j9_1 = 1;
|
|
271
|
+
suspendResult = this.y4q_1.i2q(this.s4q_1, this.t4q_1, this.u4q_1, this);
|
|
272
272
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
273
273
|
return suspendResult;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
continue $sm;
|
|
277
277
|
case 1:
|
|
278
|
-
this.
|
|
279
|
-
this.
|
|
280
|
-
suspendResult = this.
|
|
278
|
+
this.z4q_1 = suspendResult;
|
|
279
|
+
this.j9_1 = 2;
|
|
280
|
+
suspendResult = this.w4q_1.e18(this.z4q_1, this);
|
|
281
281
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
282
282
|
return suspendResult;
|
|
283
283
|
}
|
|
@@ -286,50 +286,50 @@
|
|
|
286
286
|
case 2:
|
|
287
287
|
return Unit_instance;
|
|
288
288
|
case 3:
|
|
289
|
-
throw this.
|
|
289
|
+
throw this.m9_1;
|
|
290
290
|
}
|
|
291
291
|
} catch ($p) {
|
|
292
292
|
var e = $p;
|
|
293
|
-
if (this.
|
|
293
|
+
if (this.k9_1 === 3) {
|
|
294
294
|
throw e;
|
|
295
295
|
} else {
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
296
|
+
this.j9_1 = this.k9_1;
|
|
297
|
+
this.m9_1 = e;
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
while (true);
|
|
301
301
|
};
|
|
302
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
303
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
304
|
-
i.
|
|
302
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).o2r = function (value, completion) {
|
|
303
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.r4q_1, this.s4q_1, this.t4q_1, this.u4q_1, completion);
|
|
304
|
+
i.v4q_1 = value;
|
|
305
305
|
return i;
|
|
306
306
|
};
|
|
307
307
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
308
308
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
309
309
|
var l = function (value, $completion) {
|
|
310
|
-
return i.
|
|
310
|
+
return i.n2r(value, $completion);
|
|
311
311
|
};
|
|
312
312
|
l.$arity = 1;
|
|
313
313
|
return l;
|
|
314
314
|
}
|
|
315
315
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
316
316
|
CoroutineImpl.call(this, resultContinuation);
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
317
|
+
this.i4r_1 = _this__u8e3s4;
|
|
318
|
+
this.j4r_1 = collector;
|
|
319
319
|
}
|
|
320
|
-
protoOf($collectCOROUTINE$3).
|
|
321
|
-
var suspendResult = this.
|
|
320
|
+
protoOf($collectCOROUTINE$3).r9 = function () {
|
|
321
|
+
var suspendResult = this.l9_1;
|
|
322
322
|
$sm: do
|
|
323
323
|
try {
|
|
324
|
-
var tmp = this.
|
|
324
|
+
var tmp = this.j9_1;
|
|
325
325
|
switch (tmp) {
|
|
326
326
|
case 0:
|
|
327
|
-
this.
|
|
327
|
+
this.k9_1 = 2;
|
|
328
328
|
var tmp_0 = this;
|
|
329
|
-
tmp_0.
|
|
330
|
-
this.
|
|
331
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
332
|
-
suspendResult = this.
|
|
329
|
+
tmp_0.k4r_1 = this.j4r_1;
|
|
330
|
+
this.j9_1 = 1;
|
|
331
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.k4r_1, this.i4r_1.m4r_1, this.i4r_1.n4r_1, this.i4r_1.o4r_1, null);
|
|
332
|
+
suspendResult = this.i4r_1.l4r_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
333
333
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
334
334
|
return suspendResult;
|
|
335
335
|
}
|
|
@@ -338,15 +338,15 @@
|
|
|
338
338
|
case 1:
|
|
339
339
|
return Unit_instance;
|
|
340
340
|
case 2:
|
|
341
|
-
throw this.
|
|
341
|
+
throw this.m9_1;
|
|
342
342
|
}
|
|
343
343
|
} catch ($p) {
|
|
344
344
|
var e = $p;
|
|
345
|
-
if (this.
|
|
345
|
+
if (this.k9_1 === 2) {
|
|
346
346
|
throw e;
|
|
347
347
|
} else {
|
|
348
|
-
this.
|
|
349
|
-
this.
|
|
348
|
+
this.j9_1 = this.k9_1;
|
|
349
|
+
this.m9_1 = e;
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
while (true);
|
|
@@ -354,11 +354,11 @@
|
|
|
354
354
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
355
355
|
var tmp;
|
|
356
356
|
if (isInterface(format, StringFormat)) {
|
|
357
|
-
var content = format.
|
|
357
|
+
var content = format.v44(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
358
358
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
359
359
|
} else {
|
|
360
360
|
if (isInterface(format, BinaryFormat)) {
|
|
361
|
-
var content_0 = format.
|
|
361
|
+
var content_0 = format.y44(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
362
362
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
363
363
|
} else {
|
|
364
364
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -368,20 +368,20 @@
|
|
|
368
368
|
return tmp;
|
|
369
369
|
}
|
|
370
370
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
371
|
-
this.
|
|
371
|
+
this.p4r_1 = function_0;
|
|
372
372
|
}
|
|
373
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
374
|
-
return this.
|
|
373
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).e18 = function (value, $completion) {
|
|
374
|
+
return this.p4r_1(value, $completion);
|
|
375
375
|
};
|
|
376
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
377
|
-
return this.
|
|
376
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t3 = function () {
|
|
377
|
+
return this.p4r_1;
|
|
378
378
|
};
|
|
379
379
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
380
380
|
var tmp;
|
|
381
381
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
382
382
|
var tmp_0;
|
|
383
383
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
384
|
-
tmp_0 = equals(this.
|
|
384
|
+
tmp_0 = equals(this.t3(), other.t3());
|
|
385
385
|
} else {
|
|
386
386
|
tmp_0 = false;
|
|
387
387
|
}
|
|
@@ -392,23 +392,23 @@
|
|
|
392
392
|
return tmp;
|
|
393
393
|
};
|
|
394
394
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
395
|
-
return hashCode(this.
|
|
395
|
+
return hashCode(this.t3());
|
|
396
396
|
};
|
|
397
397
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
398
|
-
this.
|
|
398
|
+
this.q4r_1 = function_0;
|
|
399
399
|
}
|
|
400
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
401
|
-
return this.
|
|
400
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).e18 = function (value, $completion) {
|
|
401
|
+
return this.q4r_1(value, $completion);
|
|
402
402
|
};
|
|
403
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
404
|
-
return this.
|
|
403
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).t3 = function () {
|
|
404
|
+
return this.q4r_1;
|
|
405
405
|
};
|
|
406
406
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
407
407
|
var tmp;
|
|
408
408
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
409
409
|
var tmp_0;
|
|
410
410
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
411
|
-
tmp_0 = equals(this.
|
|
411
|
+
tmp_0 = equals(this.t3(), other.t3());
|
|
412
412
|
} else {
|
|
413
413
|
tmp_0 = false;
|
|
414
414
|
}
|
|
@@ -419,46 +419,46 @@
|
|
|
419
419
|
return tmp;
|
|
420
420
|
};
|
|
421
421
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
422
|
-
return hashCode(this.
|
|
422
|
+
return hashCode(this.t3());
|
|
423
423
|
};
|
|
424
424
|
function _no_name_provided__qut3iv($this, $contentType, $charset, $typeInfo, $value) {
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
425
|
+
this.e4q_1 = $this;
|
|
426
|
+
this.f4q_1 = $contentType;
|
|
427
|
+
this.g4q_1 = $charset;
|
|
428
|
+
this.h4q_1 = $typeInfo;
|
|
429
|
+
this.i4q_1 = $value;
|
|
430
430
|
}
|
|
431
|
-
protoOf(_no_name_provided__qut3iv).
|
|
431
|
+
protoOf(_no_name_provided__qut3iv).f18 = function (collector, $completion) {
|
|
432
432
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
433
|
-
tmp.
|
|
434
|
-
tmp.
|
|
435
|
-
return tmp.
|
|
433
|
+
tmp.l9_1 = Unit_instance;
|
|
434
|
+
tmp.m9_1 = null;
|
|
435
|
+
return tmp.r9();
|
|
436
436
|
};
|
|
437
|
-
protoOf(_no_name_provided__qut3iv).
|
|
438
|
-
return this.
|
|
437
|
+
protoOf(_no_name_provided__qut3iv).n17 = function (collector, $completion) {
|
|
438
|
+
return this.f18(collector, $completion);
|
|
439
439
|
};
|
|
440
440
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
441
441
|
CoroutineImpl.call(this, resultContinuation);
|
|
442
442
|
}
|
|
443
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
444
|
-
var tmp = this.
|
|
445
|
-
tmp.
|
|
446
|
-
tmp.
|
|
447
|
-
return tmp.
|
|
443
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).a4s = function (it, $completion) {
|
|
444
|
+
var tmp = this.b4s(it, $completion);
|
|
445
|
+
tmp.l9_1 = Unit_instance;
|
|
446
|
+
tmp.m9_1 = null;
|
|
447
|
+
return tmp.r9();
|
|
448
448
|
};
|
|
449
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
450
|
-
return this.
|
|
449
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).ba = function (p1, $completion) {
|
|
450
|
+
return this.a4s((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
451
451
|
};
|
|
452
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
453
|
-
var suspendResult = this.
|
|
452
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).r9 = function () {
|
|
453
|
+
var suspendResult = this.l9_1;
|
|
454
454
|
$sm: do
|
|
455
455
|
try {
|
|
456
|
-
var tmp = this.
|
|
456
|
+
var tmp = this.j9_1;
|
|
457
457
|
if (tmp === 0) {
|
|
458
|
-
this.
|
|
459
|
-
return !(this.
|
|
458
|
+
this.k9_1 = 1;
|
|
459
|
+
return !(this.z4r_1 == null);
|
|
460
460
|
} else if (tmp === 1) {
|
|
461
|
-
throw this.
|
|
461
|
+
throw this.m9_1;
|
|
462
462
|
}
|
|
463
463
|
} catch ($p) {
|
|
464
464
|
var e = $p;
|
|
@@ -466,57 +466,57 @@
|
|
|
466
466
|
}
|
|
467
467
|
while (true);
|
|
468
468
|
};
|
|
469
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
469
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).b4s = function (it, completion) {
|
|
470
470
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
471
|
-
i.
|
|
471
|
+
i.z4r_1 = it;
|
|
472
472
|
return i;
|
|
473
473
|
};
|
|
474
474
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
475
475
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
476
476
|
var l = function (it, $completion) {
|
|
477
|
-
return i.
|
|
477
|
+
return i.a4s(it, $completion);
|
|
478
478
|
};
|
|
479
479
|
l.$arity = 1;
|
|
480
480
|
return l;
|
|
481
481
|
}
|
|
482
482
|
function _no_name_provided__qut3iv_0($this, $charset, $typeInfo, $content) {
|
|
483
|
-
this.
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
483
|
+
this.l4r_1 = $this;
|
|
484
|
+
this.m4r_1 = $charset;
|
|
485
|
+
this.n4r_1 = $typeInfo;
|
|
486
|
+
this.o4r_1 = $content;
|
|
487
487
|
}
|
|
488
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
488
|
+
protoOf(_no_name_provided__qut3iv_0).f18 = function (collector, $completion) {
|
|
489
489
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
490
|
-
tmp.
|
|
491
|
-
tmp.
|
|
492
|
-
return tmp.
|
|
490
|
+
tmp.l9_1 = Unit_instance;
|
|
491
|
+
tmp.m9_1 = null;
|
|
492
|
+
return tmp.r9();
|
|
493
493
|
};
|
|
494
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
495
|
-
return this.
|
|
494
|
+
protoOf(_no_name_provided__qut3iv_0).n17 = function (collector, $completion) {
|
|
495
|
+
return this.f18(collector, $completion);
|
|
496
496
|
};
|
|
497
497
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
498
|
-
this.
|
|
498
|
+
this.k4s_1 = $content;
|
|
499
499
|
CoroutineImpl.call(this, resultContinuation);
|
|
500
500
|
}
|
|
501
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
502
|
-
var tmp = this.
|
|
503
|
-
tmp.
|
|
504
|
-
tmp.
|
|
505
|
-
return tmp.
|
|
501
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).o2s = function (it, $completion) {
|
|
502
|
+
var tmp = this.o2r(it, $completion);
|
|
503
|
+
tmp.l9_1 = Unit_instance;
|
|
504
|
+
tmp.m9_1 = null;
|
|
505
|
+
return tmp.r9();
|
|
506
506
|
};
|
|
507
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
508
|
-
return this.
|
|
507
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).ba = function (p1, $completion) {
|
|
508
|
+
return this.o2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
509
509
|
};
|
|
510
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
511
|
-
var suspendResult = this.
|
|
510
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).r9 = function () {
|
|
511
|
+
var suspendResult = this.l9_1;
|
|
512
512
|
$sm: do
|
|
513
513
|
try {
|
|
514
|
-
var tmp = this.
|
|
514
|
+
var tmp = this.j9_1;
|
|
515
515
|
if (tmp === 0) {
|
|
516
|
-
this.
|
|
517
|
-
return !(this.
|
|
516
|
+
this.k9_1 = 1;
|
|
517
|
+
return !(this.l4s_1 == null) || this.k4s_1.c1r();
|
|
518
518
|
} else if (tmp === 1) {
|
|
519
|
-
throw this.
|
|
519
|
+
throw this.m9_1;
|
|
520
520
|
}
|
|
521
521
|
} catch ($p) {
|
|
522
522
|
var e = $p;
|
|
@@ -524,38 +524,38 @@
|
|
|
524
524
|
}
|
|
525
525
|
while (true);
|
|
526
526
|
};
|
|
527
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
528
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
529
|
-
i.
|
|
527
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).o2r = function (it, completion) {
|
|
528
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.k4s_1, completion);
|
|
529
|
+
i.l4s_1 = it;
|
|
530
530
|
return i;
|
|
531
531
|
};
|
|
532
532
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
533
533
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
534
534
|
var l = function (it, $completion) {
|
|
535
|
-
return i.
|
|
535
|
+
return i.o2s(it, $completion);
|
|
536
536
|
};
|
|
537
537
|
l.$arity = 1;
|
|
538
538
|
return l;
|
|
539
539
|
}
|
|
540
540
|
function $serializeNullableCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
541
541
|
CoroutineImpl.call(this, resultContinuation);
|
|
542
|
-
this.
|
|
543
|
-
this.
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
542
|
+
this.u4s_1 = _this__u8e3s4;
|
|
543
|
+
this.v4s_1 = contentType;
|
|
544
|
+
this.w4s_1 = charset;
|
|
545
|
+
this.x4s_1 = typeInfo;
|
|
546
|
+
this.y4s_1 = value;
|
|
547
547
|
}
|
|
548
|
-
protoOf($serializeNullableCOROUTINE$0).
|
|
549
|
-
var suspendResult = this.
|
|
548
|
+
protoOf($serializeNullableCOROUTINE$0).r9 = function () {
|
|
549
|
+
var suspendResult = this.l9_1;
|
|
550
550
|
$sm: do
|
|
551
551
|
try {
|
|
552
|
-
var tmp = this.
|
|
552
|
+
var tmp = this.j9_1;
|
|
553
553
|
switch (tmp) {
|
|
554
554
|
case 0:
|
|
555
|
-
this.
|
|
556
|
-
this.
|
|
557
|
-
var this_0 = asFlow(this.
|
|
558
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
555
|
+
this.k9_1 = 2;
|
|
556
|
+
this.j9_1 = 1;
|
|
557
|
+
var this_0 = asFlow(this.u4s_1.a4t_1);
|
|
558
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.v4s_1, this.w4s_1, this.x4s_1, this.y4s_1);
|
|
559
559
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
560
560
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
561
561
|
return suspendResult;
|
|
@@ -568,12 +568,12 @@
|
|
|
568
568
|
return fromExtension;
|
|
569
569
|
var tmp_1;
|
|
570
570
|
try {
|
|
571
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
571
|
+
tmp_1 = serializerForTypeInfo(this.u4s_1.z4s_1.x44(), this.x4s_1);
|
|
572
572
|
} catch ($p) {
|
|
573
573
|
var tmp_2;
|
|
574
574
|
if ($p instanceof SerializationException) {
|
|
575
575
|
var cause = $p;
|
|
576
|
-
tmp_2 = guessSerializer(this.
|
|
576
|
+
tmp_2 = guessSerializer(this.y4s_1, this.u4s_1.z4s_1.x44());
|
|
577
577
|
} else {
|
|
578
578
|
throw $p;
|
|
579
579
|
}
|
|
@@ -581,59 +581,59 @@
|
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
var serializer = tmp_1;
|
|
584
|
-
return serializeContent(this.
|
|
584
|
+
return serializeContent(this.u4s_1, serializer, this.u4s_1.z4s_1, this.y4s_1, this.v4s_1, this.w4s_1);
|
|
585
585
|
case 2:
|
|
586
|
-
throw this.
|
|
586
|
+
throw this.m9_1;
|
|
587
587
|
}
|
|
588
588
|
} catch ($p) {
|
|
589
589
|
var e = $p;
|
|
590
|
-
if (this.
|
|
590
|
+
if (this.k9_1 === 2) {
|
|
591
591
|
throw e;
|
|
592
592
|
} else {
|
|
593
|
-
this.
|
|
594
|
-
this.
|
|
593
|
+
this.j9_1 = this.k9_1;
|
|
594
|
+
this.m9_1 = e;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
while (true);
|
|
598
598
|
};
|
|
599
599
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
600
600
|
CoroutineImpl.call(this, resultContinuation);
|
|
601
|
-
this.
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
604
|
-
this.
|
|
601
|
+
this.j4t_1 = _this__u8e3s4;
|
|
602
|
+
this.k4t_1 = charset;
|
|
603
|
+
this.l4t_1 = typeInfo;
|
|
604
|
+
this.m4t_1 = content;
|
|
605
605
|
}
|
|
606
|
-
protoOf($deserializeCOROUTINE$1).
|
|
607
|
-
var suspendResult = this.
|
|
606
|
+
protoOf($deserializeCOROUTINE$1).r9 = function () {
|
|
607
|
+
var suspendResult = this.l9_1;
|
|
608
608
|
$sm: do
|
|
609
609
|
try {
|
|
610
|
-
var tmp = this.
|
|
610
|
+
var tmp = this.j9_1;
|
|
611
611
|
switch (tmp) {
|
|
612
612
|
case 0:
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
615
|
-
var this_0 = asFlow(this.
|
|
616
|
-
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.
|
|
617
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
613
|
+
this.k9_1 = 5;
|
|
614
|
+
this.j9_1 = 1;
|
|
615
|
+
var this_0 = asFlow(this.j4t_1.a4t_1);
|
|
616
|
+
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.k4t_1, this.l4t_1, this.m4t_1);
|
|
617
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.m4t_1, null), this);
|
|
618
618
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
619
619
|
return suspendResult;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
continue $sm;
|
|
623
623
|
case 1:
|
|
624
|
-
this.
|
|
624
|
+
this.n4t_1 = suspendResult;
|
|
625
625
|
var tmp_1;
|
|
626
|
-
if (!this.
|
|
627
|
-
tmp_1 = !(this.
|
|
626
|
+
if (!this.j4t_1.a4t_1.p()) {
|
|
627
|
+
tmp_1 = !(this.n4t_1 == null) || this.m4t_1.c1r();
|
|
628
628
|
} else {
|
|
629
629
|
tmp_1 = false;
|
|
630
630
|
}
|
|
631
631
|
|
|
632
632
|
if (tmp_1)
|
|
633
|
-
return this.
|
|
634
|
-
this.
|
|
635
|
-
this.
|
|
636
|
-
suspendResult = this.
|
|
633
|
+
return this.n4t_1;
|
|
634
|
+
this.o4t_1 = serializerForTypeInfo(this.j4t_1.z4s_1.x44(), this.l4t_1);
|
|
635
|
+
this.j9_1 = 2;
|
|
636
|
+
suspendResult = this.m4t_1.x1w(VOID, this);
|
|
637
637
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
638
638
|
return suspendResult;
|
|
639
639
|
}
|
|
@@ -641,92 +641,92 @@
|
|
|
641
641
|
continue $sm;
|
|
642
642
|
case 2:
|
|
643
643
|
var contentPacket = suspendResult;
|
|
644
|
-
this.
|
|
645
|
-
var tmp0_subject = this.
|
|
644
|
+
this.k9_1 = 3;
|
|
645
|
+
var tmp0_subject = this.j4t_1.z4s_1;
|
|
646
646
|
var tmp_2;
|
|
647
647
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
648
|
-
tmp_2 = this.
|
|
648
|
+
tmp_2 = this.j4t_1.z4s_1.w44(this.o4t_1, readText(contentPacket, this.k4t_1));
|
|
649
649
|
} else {
|
|
650
650
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
651
|
-
tmp_2 = this.
|
|
651
|
+
tmp_2 = this.j4t_1.z4s_1.z44(this.o4t_1, readBytes(contentPacket));
|
|
652
652
|
} else {
|
|
653
653
|
discard(contentPacket);
|
|
654
|
-
var message = 'Unsupported format ' + toString(this.
|
|
654
|
+
var message = 'Unsupported format ' + toString(this.j4t_1.z4s_1);
|
|
655
655
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
return tmp_2;
|
|
660
660
|
case 3:
|
|
661
|
-
this.
|
|
662
|
-
var tmp_3 = this.
|
|
661
|
+
this.k9_1 = 5;
|
|
662
|
+
var tmp_3 = this.m9_1;
|
|
663
663
|
if (tmp_3 instanceof Error) {
|
|
664
|
-
var cause = this.
|
|
664
|
+
var cause = this.m9_1;
|
|
665
665
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
666
666
|
} else {
|
|
667
|
-
throw this.
|
|
667
|
+
throw this.m9_1;
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
case 4:
|
|
671
|
-
this.
|
|
671
|
+
this.k9_1 = 5;
|
|
672
672
|
return Unit_instance;
|
|
673
673
|
case 5:
|
|
674
|
-
throw this.
|
|
674
|
+
throw this.m9_1;
|
|
675
675
|
}
|
|
676
676
|
} catch ($p) {
|
|
677
677
|
var e = $p;
|
|
678
|
-
if (this.
|
|
678
|
+
if (this.k9_1 === 5) {
|
|
679
679
|
throw e;
|
|
680
680
|
} else {
|
|
681
|
-
this.
|
|
682
|
-
this.
|
|
681
|
+
this.j9_1 = this.k9_1;
|
|
682
|
+
this.m9_1 = e;
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
685
|
while (true);
|
|
686
686
|
};
|
|
687
687
|
function KotlinxSerializationConverter(format) {
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
688
|
+
this.z4s_1 = format;
|
|
689
|
+
this.a4t_1 = extensions(this.z4s_1);
|
|
690
690
|
// Inline function 'kotlin.require' call
|
|
691
691
|
var tmp;
|
|
692
|
-
var tmp_0 = this.
|
|
692
|
+
var tmp_0 = this.z4s_1;
|
|
693
693
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
694
694
|
tmp = true;
|
|
695
695
|
} else {
|
|
696
|
-
var tmp_1 = this.
|
|
696
|
+
var tmp_1 = this.z4s_1;
|
|
697
697
|
tmp = isInterface(tmp_1, StringFormat);
|
|
698
698
|
}
|
|
699
699
|
// Inline function 'kotlin.contracts.contract' call
|
|
700
700
|
if (!tmp) {
|
|
701
701
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
702
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
702
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.z4s_1) + ' is not supported.';
|
|
703
703
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
704
704
|
}
|
|
705
705
|
}
|
|
706
|
-
protoOf(KotlinxSerializationConverter).
|
|
707
|
-
return this.
|
|
706
|
+
protoOf(KotlinxSerializationConverter).p4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
707
|
+
return this.q4t(contentType, charset, typeInfo, value, $completion);
|
|
708
708
|
};
|
|
709
|
-
protoOf(KotlinxSerializationConverter).
|
|
710
|
-
return this.
|
|
709
|
+
protoOf(KotlinxSerializationConverter).g2q = function (contentType, charset, typeInfo, value, $completion) {
|
|
710
|
+
return this.p4t(contentType, charset, typeInfo, value, $completion);
|
|
711
711
|
};
|
|
712
|
-
protoOf(KotlinxSerializationConverter).
|
|
712
|
+
protoOf(KotlinxSerializationConverter).q4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
713
713
|
var tmp = new $serializeNullableCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
714
|
-
tmp.
|
|
715
|
-
tmp.
|
|
716
|
-
return tmp.
|
|
714
|
+
tmp.l9_1 = Unit_instance;
|
|
715
|
+
tmp.m9_1 = null;
|
|
716
|
+
return tmp.r9();
|
|
717
717
|
};
|
|
718
|
-
protoOf(KotlinxSerializationConverter).
|
|
719
|
-
return this.
|
|
718
|
+
protoOf(KotlinxSerializationConverter).h2q = function (contentType, charset, typeInfo, value, $completion) {
|
|
719
|
+
return this.q4t(contentType, charset, typeInfo, value, $completion);
|
|
720
720
|
};
|
|
721
|
-
protoOf(KotlinxSerializationConverter).
|
|
721
|
+
protoOf(KotlinxSerializationConverter).i2q = function (charset, typeInfo, content, $completion) {
|
|
722
722
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
723
|
-
tmp.
|
|
724
|
-
tmp.
|
|
725
|
-
return tmp.
|
|
723
|
+
tmp.l9_1 = Unit_instance;
|
|
724
|
+
tmp.m9_1 = null;
|
|
725
|
+
return tmp.r9();
|
|
726
726
|
};
|
|
727
727
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
728
728
|
var module_0 = _this__u8e3s4;
|
|
729
|
-
var tmp0_safe_receiver = typeInfo.
|
|
729
|
+
var tmp0_safe_receiver = typeInfo.f2d_1;
|
|
730
730
|
var tmp;
|
|
731
731
|
if (tmp0_safe_receiver == null) {
|
|
732
732
|
tmp = null;
|
|
@@ -735,7 +735,7 @@
|
|
|
735
735
|
// Inline function 'kotlin.contracts.contract' call
|
|
736
736
|
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
737
737
|
var tmp_0;
|
|
738
|
-
if (tmp0_safe_receiver.
|
|
738
|
+
if (tmp0_safe_receiver.fb().p()) {
|
|
739
739
|
tmp_0 = null;
|
|
740
740
|
} else {
|
|
741
741
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -745,13 +745,13 @@
|
|
|
745
745
|
var tmp2_elvis_lhs = tmp;
|
|
746
746
|
var tmp_1;
|
|
747
747
|
if (tmp2_elvis_lhs == null) {
|
|
748
|
-
var tmp1_safe_receiver = module_0.
|
|
748
|
+
var tmp1_safe_receiver = module_0.c45(typeInfo.d2d_1);
|
|
749
749
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
750
750
|
} else {
|
|
751
751
|
tmp_1 = tmp2_elvis_lhs;
|
|
752
752
|
}
|
|
753
753
|
var tmp3_elvis_lhs = tmp_1;
|
|
754
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
754
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.d2d_1), typeInfo) : tmp3_elvis_lhs;
|
|
755
755
|
}
|
|
756
756
|
function guessSerializer(value, module_0) {
|
|
757
757
|
var tmp;
|
|
@@ -779,11 +779,11 @@
|
|
|
779
779
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
780
780
|
} else {
|
|
781
781
|
if (!(value == null) ? isInterface(value, KtMap) : false) {
|
|
782
|
-
var keySerializer = elementSerializer(value.
|
|
783
|
-
var valueSerializer = elementSerializer(value.
|
|
782
|
+
var keySerializer = elementSerializer(value.l2(), module_0);
|
|
783
|
+
var valueSerializer = elementSerializer(value.m2(), module_0);
|
|
784
784
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
785
785
|
} else {
|
|
786
|
-
var tmp3_elvis_lhs = module_0.
|
|
786
|
+
var tmp3_elvis_lhs = module_0.c45(getKClassFromExpression(value));
|
|
787
787
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
788
788
|
}
|
|
789
789
|
}
|
|
@@ -795,8 +795,8 @@
|
|
|
795
795
|
}
|
|
796
796
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
797
797
|
var tmp;
|
|
798
|
-
var tmp0_safe_receiver = typeInfo.
|
|
799
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
798
|
+
var tmp0_safe_receiver = typeInfo.f2d_1;
|
|
799
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gb()) === true) {
|
|
800
800
|
tmp = get_nullable(_this__u8e3s4);
|
|
801
801
|
} else {
|
|
802
802
|
tmp = _this__u8e3s4;
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
while (tmp0_iterator_0.k()) {
|
|
823
823
|
var e = tmp0_iterator_0.l();
|
|
824
824
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
825
|
-
var key = e.
|
|
825
|
+
var key = e.s43().t44();
|
|
826
826
|
if (set.e(key)) {
|
|
827
827
|
list.e(e);
|
|
828
828
|
}
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
while (tmp0_iterator_1.k()) {
|
|
838
838
|
var item_0 = tmp0_iterator_1.l();
|
|
839
839
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
840
|
-
var tmp$ret$5 = item_0.
|
|
840
|
+
var tmp$ret$5 = item_0.s43().t44();
|
|
841
841
|
destination_0.e(tmp$ret$5);
|
|
842
842
|
}
|
|
843
843
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -845,7 +845,7 @@
|
|
|
845
845
|
}
|
|
846
846
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
847
847
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
848
|
-
if (selected.
|
|
848
|
+
if (selected.s43().g45()) {
|
|
849
849
|
return selected;
|
|
850
850
|
}
|
|
851
851
|
if (!isInterface(selected, KSerializer))
|