game_client_logic_deb 1.8.304 → 1.8.310
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 +56 -56
- package/Kosi-Kodein-kodein-di.js +511 -511
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1376 -1376
- package/Logic_Debertz-core.js +1449 -1449
- package/Logic_Debertz-engine.js +13801 -13806
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +4 -3
- package/Logic_Debertz-game_client.js +3132 -3140
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +1419 -1573
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +316 -316
- package/kotlinx-serialization-kotlinx-serialization-core.js +1801 -1801
- package/kotlinx-serialization-kotlinx-serialization-json.js +1328 -1328
- package/ktor-ktor-client-content-negotiation.js +133 -133
- package/ktor-ktor-client-core.js +1536 -1536
- package/ktor-ktor-client-logging.js +287 -287
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +599 -599
- package/ktor-ktor-io.js +1255 -1255
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +138 -138
- package/ktor-ktor-serialization.js +64 -64
- package/ktor-ktor-utils.js +498 -498
- package/ktor-ktor-websockets.js +41 -41
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +190 -187
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +880 -948
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +5 -5
- package/uuid.js +11 -11
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
48
48
|
var equals = kotlin_kotlin.$_$.mb;
|
|
49
49
|
var FunctionAdapter = kotlin_kotlin.$_$.ab;
|
|
50
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
50
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
51
51
|
var hashCode = kotlin_kotlin.$_$.tb;
|
|
52
52
|
var initMetadataForClass = kotlin_kotlin.$_$.ub;
|
|
53
53
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
54
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
54
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
55
55
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
56
56
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
57
57
|
var discard = kotlin_io_ktor_ktor_io.$_$.w;
|
|
@@ -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.l4o(format);
|
|
112
112
|
if (tmp0_safe_receiver == null)
|
|
113
113
|
null;
|
|
114
114
|
else {
|
|
@@ -120,24 +120,24 @@
|
|
|
120
120
|
return destination;
|
|
121
121
|
}
|
|
122
122
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
123
|
-
_this__u8e3s4.
|
|
123
|
+
_this__u8e3s4.r2p(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.u4o_1 = $$this$unsafeFlow;
|
|
127
|
+
this.v4o_1 = $contentType;
|
|
128
|
+
this.w4o_1 = $charset;
|
|
129
|
+
this.x4o_1 = $typeInfo;
|
|
130
|
+
this.y4o_1 = $value;
|
|
131
131
|
CoroutineImpl.call(this, resultContinuation);
|
|
132
132
|
}
|
|
133
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
134
|
-
var tmp = this.
|
|
133
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).z2q = function (value, $completion) {
|
|
134
|
+
var tmp = this.a2r(value, $completion);
|
|
135
135
|
tmp.h9_1 = Unit_instance;
|
|
136
136
|
tmp.i9_1 = null;
|
|
137
137
|
return tmp.n9();
|
|
138
138
|
};
|
|
139
139
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).x9 = function (p1, $completion) {
|
|
140
|
-
return this.
|
|
140
|
+
return this.z2q((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
141
141
|
};
|
|
142
142
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).n9 = function () {
|
|
143
143
|
var suspendResult = this.h9_1;
|
|
@@ -148,22 +148,22 @@
|
|
|
148
148
|
case 0:
|
|
149
149
|
this.g9_1 = 3;
|
|
150
150
|
var tmp_0 = this;
|
|
151
|
-
tmp_0.
|
|
151
|
+
tmp_0.a4p_1 = this.u4o_1;
|
|
152
152
|
var tmp_1 = this;
|
|
153
|
-
tmp_1.
|
|
153
|
+
tmp_1.b4p_1 = this.z4o_1;
|
|
154
154
|
var tmp_2 = this;
|
|
155
|
-
tmp_2.
|
|
155
|
+
tmp_2.c4p_1 = this.b4p_1;
|
|
156
156
|
this.f9_1 = 1;
|
|
157
|
-
suspendResult = this.
|
|
157
|
+
suspendResult = this.c4p_1.e4p(this.v4o_1, this.w4o_1, this.x4o_1, this.y4o_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.
|
|
164
|
+
this.d4p_1 = suspendResult;
|
|
165
165
|
this.f9_1 = 2;
|
|
166
|
-
suspendResult = this.
|
|
166
|
+
suspendResult = this.a4p_1.q17(this.d4p_1, this);
|
|
167
167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
168
168
|
return suspendResult;
|
|
169
169
|
}
|
|
@@ -185,23 +185,23 @@
|
|
|
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).a2r = function (value, completion) {
|
|
189
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.u4o_1, this.v4o_1, this.w4o_1, this.x4o_1, this.y4o_1, completion);
|
|
190
|
+
i.z4o_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.z2q(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.n4p_1 = _this__u8e3s4;
|
|
204
|
+
this.o4p_1 = collector;
|
|
205
205
|
}
|
|
206
206
|
protoOf($collectCOROUTINE$2).n9 = function () {
|
|
207
207
|
var suspendResult = this.h9_1;
|
|
@@ -212,10 +212,10 @@
|
|
|
212
212
|
case 0:
|
|
213
213
|
this.g9_1 = 2;
|
|
214
214
|
var tmp_0 = this;
|
|
215
|
-
tmp_0.
|
|
215
|
+
tmp_0.p4p_1 = this.o4p_1;
|
|
216
216
|
this.f9_1 = 1;
|
|
217
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
218
|
-
suspendResult = this.
|
|
217
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.p4p_1, this.n4p_1.r4p_1, this.n4p_1.s4p_1, this.n4p_1.t4p_1, this.n4p_1.u4p_1, null);
|
|
218
|
+
suspendResult = this.n4p_1.q4p_1.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
219
219
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
220
220
|
return suspendResult;
|
|
221
221
|
}
|
|
@@ -238,20 +238,20 @@
|
|
|
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.d4q_1 = $$this$unsafeFlow;
|
|
242
|
+
this.e4q_1 = $charset;
|
|
243
|
+
this.f4q_1 = $typeInfo;
|
|
244
|
+
this.g4q_1 = $content;
|
|
245
245
|
CoroutineImpl.call(this, resultContinuation);
|
|
246
246
|
}
|
|
247
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
248
|
-
var tmp = this.
|
|
247
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z2q = function (value, $completion) {
|
|
248
|
+
var tmp = this.a2r(value, $completion);
|
|
249
249
|
tmp.h9_1 = Unit_instance;
|
|
250
250
|
tmp.i9_1 = null;
|
|
251
251
|
return tmp.n9();
|
|
252
252
|
};
|
|
253
253
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).x9 = function (p1, $completion) {
|
|
254
|
-
return this.
|
|
254
|
+
return this.z2q((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
255
255
|
};
|
|
256
256
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).n9 = function () {
|
|
257
257
|
var suspendResult = this.h9_1;
|
|
@@ -262,22 +262,22 @@
|
|
|
262
262
|
case 0:
|
|
263
263
|
this.g9_1 = 3;
|
|
264
264
|
var tmp_0 = this;
|
|
265
|
-
tmp_0.
|
|
265
|
+
tmp_0.i4q_1 = this.d4q_1;
|
|
266
266
|
var tmp_1 = this;
|
|
267
|
-
tmp_1.
|
|
267
|
+
tmp_1.j4q_1 = this.h4q_1;
|
|
268
268
|
var tmp_2 = this;
|
|
269
|
-
tmp_2.
|
|
269
|
+
tmp_2.k4q_1 = this.j4q_1;
|
|
270
270
|
this.f9_1 = 1;
|
|
271
|
-
suspendResult = this.
|
|
271
|
+
suspendResult = this.k4q_1.u2p(this.e4q_1, this.f4q_1, this.g4q_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.
|
|
278
|
+
this.l4q_1 = suspendResult;
|
|
279
279
|
this.f9_1 = 2;
|
|
280
|
-
suspendResult = this.
|
|
280
|
+
suspendResult = this.i4q_1.q17(this.l4q_1, this);
|
|
281
281
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
282
282
|
return suspendResult;
|
|
283
283
|
}
|
|
@@ -299,23 +299,23 @@
|
|
|
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).a2r = function (value, completion) {
|
|
303
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.d4q_1, this.e4q_1, this.f4q_1, this.g4q_1, completion);
|
|
304
|
+
i.h4q_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.z2q(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.u4q_1 = _this__u8e3s4;
|
|
318
|
+
this.v4q_1 = collector;
|
|
319
319
|
}
|
|
320
320
|
protoOf($collectCOROUTINE$3).n9 = function () {
|
|
321
321
|
var suspendResult = this.h9_1;
|
|
@@ -326,10 +326,10 @@
|
|
|
326
326
|
case 0:
|
|
327
327
|
this.g9_1 = 2;
|
|
328
328
|
var tmp_0 = this;
|
|
329
|
-
tmp_0.
|
|
329
|
+
tmp_0.w4q_1 = this.v4q_1;
|
|
330
330
|
this.f9_1 = 1;
|
|
331
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
332
|
-
suspendResult = this.
|
|
331
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.w4q_1, this.u4q_1.y4q_1, this.u4q_1.z4q_1, this.u4q_1.a4r_1, null);
|
|
332
|
+
suspendResult = this.u4q_1.x4q_1.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
333
333
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
334
334
|
return suspendResult;
|
|
335
335
|
}
|
|
@@ -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.h44(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.k44(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,13 +368,13 @@
|
|
|
368
368
|
return tmp;
|
|
369
369
|
}
|
|
370
370
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
371
|
-
this.
|
|
371
|
+
this.b4r_1 = function_0;
|
|
372
372
|
}
|
|
373
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
374
|
-
return this.
|
|
373
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q17 = function (value, $completion) {
|
|
374
|
+
return this.b4r_1(value, $completion);
|
|
375
375
|
};
|
|
376
376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
|
|
377
|
-
return this.
|
|
377
|
+
return this.b4r_1;
|
|
378
378
|
};
|
|
379
379
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
380
380
|
var tmp;
|
|
@@ -395,13 +395,13 @@
|
|
|
395
395
|
return hashCode(this.p3());
|
|
396
396
|
};
|
|
397
397
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
398
|
-
this.
|
|
398
|
+
this.c4r_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).q17 = function (value, $completion) {
|
|
401
|
+
return this.c4r_1(value, $completion);
|
|
402
402
|
};
|
|
403
403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p3 = function () {
|
|
404
|
-
return this.
|
|
404
|
+
return this.c4r_1;
|
|
405
405
|
};
|
|
406
406
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
407
407
|
var tmp;
|
|
@@ -422,32 +422,32 @@
|
|
|
422
422
|
return hashCode(this.p3());
|
|
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.q4p_1 = $this;
|
|
426
|
+
this.r4p_1 = $contentType;
|
|
427
|
+
this.s4p_1 = $charset;
|
|
428
|
+
this.t4p_1 = $typeInfo;
|
|
429
|
+
this.u4p_1 = $value;
|
|
430
430
|
}
|
|
431
|
-
protoOf(_no_name_provided__qut3iv).
|
|
431
|
+
protoOf(_no_name_provided__qut3iv).r17 = function (collector, $completion) {
|
|
432
432
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
433
433
|
tmp.h9_1 = Unit_instance;
|
|
434
434
|
tmp.i9_1 = null;
|
|
435
435
|
return tmp.n9();
|
|
436
436
|
};
|
|
437
|
-
protoOf(_no_name_provided__qut3iv).
|
|
438
|
-
return this.
|
|
437
|
+
protoOf(_no_name_provided__qut3iv).z16 = function (collector, $completion) {
|
|
438
|
+
return this.r17(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.
|
|
443
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).m4r = function (it, $completion) {
|
|
444
|
+
var tmp = this.n4r(it, $completion);
|
|
445
445
|
tmp.h9_1 = Unit_instance;
|
|
446
446
|
tmp.i9_1 = null;
|
|
447
447
|
return tmp.n9();
|
|
448
448
|
};
|
|
449
449
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).x9 = function (p1, $completion) {
|
|
450
|
-
return this.
|
|
450
|
+
return this.m4r((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
451
451
|
};
|
|
452
452
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).n9 = function () {
|
|
453
453
|
var suspendResult = this.h9_1;
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
var tmp = this.f9_1;
|
|
457
457
|
if (tmp === 0) {
|
|
458
458
|
this.g9_1 = 1;
|
|
459
|
-
return !(this.
|
|
459
|
+
return !(this.l4r_1 == null);
|
|
460
460
|
} else if (tmp === 1) {
|
|
461
461
|
throw this.i9_1;
|
|
462
462
|
}
|
|
@@ -466,46 +466,46 @@
|
|
|
466
466
|
}
|
|
467
467
|
while (true);
|
|
468
468
|
};
|
|
469
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
469
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).n4r = function (it, completion) {
|
|
470
470
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
471
|
-
i.
|
|
471
|
+
i.l4r_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.m4r(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.x4q_1 = $this;
|
|
484
|
+
this.y4q_1 = $charset;
|
|
485
|
+
this.z4q_1 = $typeInfo;
|
|
486
|
+
this.a4r_1 = $content;
|
|
487
487
|
}
|
|
488
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
488
|
+
protoOf(_no_name_provided__qut3iv_0).r17 = function (collector, $completion) {
|
|
489
489
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
490
490
|
tmp.h9_1 = Unit_instance;
|
|
491
491
|
tmp.i9_1 = null;
|
|
492
492
|
return tmp.n9();
|
|
493
493
|
};
|
|
494
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
495
|
-
return this.
|
|
494
|
+
protoOf(_no_name_provided__qut3iv_0).z16 = function (collector, $completion) {
|
|
495
|
+
return this.r17(collector, $completion);
|
|
496
496
|
};
|
|
497
497
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
498
|
-
this.
|
|
498
|
+
this.w4r_1 = $content;
|
|
499
499
|
CoroutineImpl.call(this, resultContinuation);
|
|
500
500
|
}
|
|
501
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
502
|
-
var tmp = this.
|
|
501
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).a2s = function (it, $completion) {
|
|
502
|
+
var tmp = this.a2r(it, $completion);
|
|
503
503
|
tmp.h9_1 = Unit_instance;
|
|
504
504
|
tmp.i9_1 = null;
|
|
505
505
|
return tmp.n9();
|
|
506
506
|
};
|
|
507
507
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).x9 = function (p1, $completion) {
|
|
508
|
-
return this.
|
|
508
|
+
return this.a2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
509
509
|
};
|
|
510
510
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).n9 = function () {
|
|
511
511
|
var suspendResult = this.h9_1;
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
var tmp = this.f9_1;
|
|
515
515
|
if (tmp === 0) {
|
|
516
516
|
this.g9_1 = 1;
|
|
517
|
-
return !(this.
|
|
517
|
+
return !(this.x4r_1 == null) || this.w4r_1.o1q();
|
|
518
518
|
} else if (tmp === 1) {
|
|
519
519
|
throw this.i9_1;
|
|
520
520
|
}
|
|
@@ -524,26 +524,26 @@
|
|
|
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).a2r = function (it, completion) {
|
|
528
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.w4r_1, completion);
|
|
529
|
+
i.x4r_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.a2s(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.g4s_1 = _this__u8e3s4;
|
|
543
|
+
this.h4s_1 = contentType;
|
|
544
|
+
this.i4s_1 = charset;
|
|
545
|
+
this.j4s_1 = typeInfo;
|
|
546
|
+
this.k4s_1 = value;
|
|
547
547
|
}
|
|
548
548
|
protoOf($serializeNullableCOROUTINE$0).n9 = function () {
|
|
549
549
|
var suspendResult = this.h9_1;
|
|
@@ -554,8 +554,8 @@
|
|
|
554
554
|
case 0:
|
|
555
555
|
this.g9_1 = 2;
|
|
556
556
|
this.f9_1 = 1;
|
|
557
|
-
var this_0 = asFlow(this.
|
|
558
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
557
|
+
var this_0 = asFlow(this.g4s_1.m4s_1);
|
|
558
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.h4s_1, this.i4s_1, this.j4s_1, this.k4s_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.g4s_1.l4s_1.j44(), this.j4s_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.k4s_1, this.g4s_1.l4s_1.j44());
|
|
577
577
|
} else {
|
|
578
578
|
throw $p;
|
|
579
579
|
}
|
|
@@ -581,7 +581,7 @@
|
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
var serializer = tmp_1;
|
|
584
|
-
return serializeContent(this.
|
|
584
|
+
return serializeContent(this.g4s_1, serializer, this.g4s_1.l4s_1, this.k4s_1, this.h4s_1, this.i4s_1);
|
|
585
585
|
case 2:
|
|
586
586
|
throw this.i9_1;
|
|
587
587
|
}
|
|
@@ -598,10 +598,10 @@
|
|
|
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.v4s_1 = _this__u8e3s4;
|
|
602
|
+
this.w4s_1 = charset;
|
|
603
|
+
this.x4s_1 = typeInfo;
|
|
604
|
+
this.y4s_1 = content;
|
|
605
605
|
}
|
|
606
606
|
protoOf($deserializeCOROUTINE$1).n9 = function () {
|
|
607
607
|
var suspendResult = this.h9_1;
|
|
@@ -612,28 +612,28 @@
|
|
|
612
612
|
case 0:
|
|
613
613
|
this.g9_1 = 5;
|
|
614
614
|
this.f9_1 = 1;
|
|
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.
|
|
615
|
+
var this_0 = asFlow(this.v4s_1.m4s_1);
|
|
616
|
+
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.w4s_1, this.x4s_1, this.y4s_1);
|
|
617
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.y4s_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.z4s_1 = suspendResult;
|
|
625
625
|
var tmp_1;
|
|
626
|
-
if (!this.
|
|
627
|
-
tmp_1 = !(this.
|
|
626
|
+
if (!this.v4s_1.m4s_1.p()) {
|
|
627
|
+
tmp_1 = !(this.z4s_1 == null) || this.y4s_1.o1q();
|
|
628
628
|
} else {
|
|
629
629
|
tmp_1 = false;
|
|
630
630
|
}
|
|
631
631
|
|
|
632
632
|
if (tmp_1)
|
|
633
|
-
return this.
|
|
634
|
-
this.
|
|
633
|
+
return this.z4s_1;
|
|
634
|
+
this.a4t_1 = serializerForTypeInfo(this.v4s_1.l4s_1.j44(), this.x4s_1);
|
|
635
635
|
this.f9_1 = 2;
|
|
636
|
-
suspendResult = this.
|
|
636
|
+
suspendResult = this.y4s_1.j1w(VOID, this);
|
|
637
637
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
638
638
|
return suspendResult;
|
|
639
639
|
}
|
|
@@ -642,16 +642,16 @@
|
|
|
642
642
|
case 2:
|
|
643
643
|
var contentPacket = suspendResult;
|
|
644
644
|
this.g9_1 = 3;
|
|
645
|
-
var tmp0_subject = this.
|
|
645
|
+
var tmp0_subject = this.v4s_1.l4s_1;
|
|
646
646
|
var tmp_2;
|
|
647
647
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
648
|
-
tmp_2 = this.
|
|
648
|
+
tmp_2 = this.v4s_1.l4s_1.i44(this.a4t_1, readText(contentPacket, this.w4s_1));
|
|
649
649
|
} else {
|
|
650
650
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
651
|
-
tmp_2 = this.
|
|
651
|
+
tmp_2 = this.v4s_1.l4s_1.l44(this.a4t_1, readBytes(contentPacket));
|
|
652
652
|
} else {
|
|
653
653
|
discard(contentPacket);
|
|
654
|
-
var message = 'Unsupported format ' + toString(this.
|
|
654
|
+
var message = 'Unsupported format ' + toString(this.v4s_1.l4s_1);
|
|
655
655
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
656
656
|
}
|
|
657
657
|
}
|
|
@@ -685,40 +685,40 @@
|
|
|
685
685
|
while (true);
|
|
686
686
|
};
|
|
687
687
|
function KotlinxSerializationConverter(format) {
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
688
|
+
this.l4s_1 = format;
|
|
689
|
+
this.m4s_1 = extensions(this.l4s_1);
|
|
690
690
|
// Inline function 'kotlin.require' call
|
|
691
691
|
var tmp;
|
|
692
|
-
var tmp_0 = this.
|
|
692
|
+
var tmp_0 = this.l4s_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.l4s_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.l4s_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).b4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
707
|
+
return this.c4t(contentType, charset, typeInfo, value, $completion);
|
|
708
708
|
};
|
|
709
|
-
protoOf(KotlinxSerializationConverter).
|
|
710
|
-
return this.
|
|
709
|
+
protoOf(KotlinxSerializationConverter).s2p = function (contentType, charset, typeInfo, value, $completion) {
|
|
710
|
+
return this.b4t(contentType, charset, typeInfo, value, $completion);
|
|
711
711
|
};
|
|
712
|
-
protoOf(KotlinxSerializationConverter).
|
|
712
|
+
protoOf(KotlinxSerializationConverter).c4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
713
713
|
var tmp = new $serializeNullableCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
714
714
|
tmp.h9_1 = Unit_instance;
|
|
715
715
|
tmp.i9_1 = null;
|
|
716
716
|
return tmp.n9();
|
|
717
717
|
};
|
|
718
|
-
protoOf(KotlinxSerializationConverter).
|
|
719
|
-
return this.
|
|
718
|
+
protoOf(KotlinxSerializationConverter).t2p = function (contentType, charset, typeInfo, value, $completion) {
|
|
719
|
+
return this.c4t(contentType, charset, typeInfo, value, $completion);
|
|
720
720
|
};
|
|
721
|
-
protoOf(KotlinxSerializationConverter).
|
|
721
|
+
protoOf(KotlinxSerializationConverter).u2p = function (charset, typeInfo, content, $completion) {
|
|
722
722
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
723
723
|
tmp.h9_1 = Unit_instance;
|
|
724
724
|
tmp.i9_1 = null;
|
|
@@ -726,7 +726,7 @@
|
|
|
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.r2c_1;
|
|
730
730
|
var tmp;
|
|
731
731
|
if (tmp0_safe_receiver == null) {
|
|
732
732
|
tmp = null;
|
|
@@ -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.o44(typeInfo.p2c_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.p2c_1), typeInfo) : tmp3_elvis_lhs;
|
|
755
755
|
}
|
|
756
756
|
function guessSerializer(value, module_0) {
|
|
757
757
|
var tmp;
|
|
@@ -783,7 +783,7 @@
|
|
|
783
783
|
var valueSerializer = elementSerializer(value.j2(), 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.o44(getKClassFromExpression(value));
|
|
787
787
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
788
788
|
}
|
|
789
789
|
}
|
|
@@ -795,7 +795,7 @@
|
|
|
795
795
|
}
|
|
796
796
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
797
797
|
var tmp;
|
|
798
|
-
var tmp0_safe_receiver = typeInfo.
|
|
798
|
+
var tmp0_safe_receiver = typeInfo.r2c_1;
|
|
799
799
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.cb()) === true) {
|
|
800
800
|
tmp = get_nullable(_this__u8e3s4);
|
|
801
801
|
} else {
|
|
@@ -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.e43().f44();
|
|
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.e43().f44();
|
|
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.e43().s44()) {
|
|
849
849
|
return selected;
|
|
850
850
|
}
|
|
851
851
|
if (!isInterface(selected, KSerializer))
|