client_plugin_logic_deb 1.8.303 → 1.8.305
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 +1377 -1377
- package/Logic_Debertz-client_plugin.d.ts +3 -3
- package/Logic_Debertz-client_plugin.js +2982 -2982
- package/Logic_Debertz-core.js +1732 -1732
- package/Logic_Debertz-engine.js +16175 -16070
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +7860 -7879
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1067 -992
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +1554 -1708
- 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 +1256 -1256
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +139 -139
- package/ktor-ktor-serialization.js +65 -65
- 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 +201 -195
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +881 -908
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +5 -5
- package/uuid.js +11 -11
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
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.$_$.r;
|
|
51
51
|
var hashCode = kotlin_kotlin.$_$.tb;
|
|
52
52
|
var initMetadataForClass = kotlin_kotlin.$_$.ub;
|
|
53
|
-
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
53
|
+
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
54
54
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
55
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
55
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
|
|
56
56
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
57
57
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
58
58
|
var discard = kotlin_io_ktor_ktor_io.$_$.w;
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
var element = tmp0_iterator.l();
|
|
110
110
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
111
111
|
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
112
|
-
var tmp0_safe_receiver = element.
|
|
112
|
+
var tmp0_safe_receiver = element.i4t(format);
|
|
113
113
|
if (tmp0_safe_receiver == null)
|
|
114
114
|
null;
|
|
115
115
|
else {
|
|
@@ -121,24 +121,24 @@
|
|
|
121
121
|
return destination;
|
|
122
122
|
}
|
|
123
123
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
124
|
-
_this__u8e3s4.
|
|
124
|
+
_this__u8e3s4.q2u(contentType, new KotlinxSerializationConverter(format));
|
|
125
125
|
}
|
|
126
126
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
127
|
+
this.r4t_1 = $$this$unsafeFlow;
|
|
128
|
+
this.s4t_1 = $contentType;
|
|
129
|
+
this.t4t_1 = $charset;
|
|
130
|
+
this.u4t_1 = $typeInfo;
|
|
131
|
+
this.v4t_1 = $value;
|
|
132
132
|
CoroutineImpl.call(this, resultContinuation);
|
|
133
133
|
}
|
|
134
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
135
|
-
var tmp = this.
|
|
134
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).p1l = function (value, $completion) {
|
|
135
|
+
var tmp = this.q1l(value, $completion);
|
|
136
136
|
tmp.h9_1 = Unit_instance;
|
|
137
137
|
tmp.i9_1 = null;
|
|
138
138
|
return tmp.n9();
|
|
139
139
|
};
|
|
140
140
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).x9 = function (p1, $completion) {
|
|
141
|
-
return this.
|
|
141
|
+
return this.p1l((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
142
142
|
};
|
|
143
143
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).n9 = function () {
|
|
144
144
|
var suspendResult = this.h9_1;
|
|
@@ -149,22 +149,22 @@
|
|
|
149
149
|
case 0:
|
|
150
150
|
this.g9_1 = 3;
|
|
151
151
|
var tmp_0 = this;
|
|
152
|
-
tmp_0.
|
|
152
|
+
tmp_0.x4t_1 = this.r4t_1;
|
|
153
153
|
var tmp_1 = this;
|
|
154
|
-
tmp_1.
|
|
154
|
+
tmp_1.y4t_1 = this.w4t_1;
|
|
155
155
|
var tmp_2 = this;
|
|
156
|
-
tmp_2.
|
|
156
|
+
tmp_2.z4t_1 = this.y4t_1;
|
|
157
157
|
this.f9_1 = 1;
|
|
158
|
-
suspendResult = this.
|
|
158
|
+
suspendResult = this.z4t_1.b4u(this.s4t_1, this.t4t_1, this.u4t_1, this.v4t_1, this);
|
|
159
159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
160
160
|
return suspendResult;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
continue $sm;
|
|
164
164
|
case 1:
|
|
165
|
-
this.
|
|
165
|
+
this.a4u_1 = suspendResult;
|
|
166
166
|
this.f9_1 = 2;
|
|
167
|
-
suspendResult = this.
|
|
167
|
+
suspendResult = this.x4t_1.d18(this.a4u_1, this);
|
|
168
168
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
169
169
|
return suspendResult;
|
|
170
170
|
}
|
|
@@ -186,23 +186,23 @@
|
|
|
186
186
|
}
|
|
187
187
|
while (true);
|
|
188
188
|
};
|
|
189
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
190
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
191
|
-
i.
|
|
189
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).q1l = function (value, completion) {
|
|
190
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.r4t_1, this.s4t_1, this.t4t_1, this.u4t_1, this.v4t_1, completion);
|
|
191
|
+
i.w4t_1 = value;
|
|
192
192
|
return i;
|
|
193
193
|
};
|
|
194
194
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
195
195
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
196
196
|
var l = function (value, $completion) {
|
|
197
|
-
return i.
|
|
197
|
+
return i.p1l(value, $completion);
|
|
198
198
|
};
|
|
199
199
|
l.$arity = 1;
|
|
200
200
|
return l;
|
|
201
201
|
}
|
|
202
202
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
203
203
|
CoroutineImpl.call(this, resultContinuation);
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
204
|
+
this.k4u_1 = _this__u8e3s4;
|
|
205
|
+
this.l4u_1 = collector;
|
|
206
206
|
}
|
|
207
207
|
protoOf($collectCOROUTINE$2).n9 = function () {
|
|
208
208
|
var suspendResult = this.h9_1;
|
|
@@ -213,10 +213,10 @@
|
|
|
213
213
|
case 0:
|
|
214
214
|
this.g9_1 = 2;
|
|
215
215
|
var tmp_0 = this;
|
|
216
|
-
tmp_0.
|
|
216
|
+
tmp_0.m4u_1 = this.l4u_1;
|
|
217
217
|
this.f9_1 = 1;
|
|
218
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
219
|
-
suspendResult = this.
|
|
218
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.m4u_1, this.k4u_1.o4u_1, this.k4u_1.p4u_1, this.k4u_1.q4u_1, this.k4u_1.r4u_1, null);
|
|
219
|
+
suspendResult = this.k4u_1.n4u_1.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
220
220
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
221
221
|
return suspendResult;
|
|
222
222
|
}
|
|
@@ -239,20 +239,20 @@
|
|
|
239
239
|
while (true);
|
|
240
240
|
};
|
|
241
241
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
242
|
+
this.a4v_1 = $$this$unsafeFlow;
|
|
243
|
+
this.b4v_1 = $charset;
|
|
244
|
+
this.c4v_1 = $typeInfo;
|
|
245
|
+
this.d4v_1 = $content;
|
|
246
246
|
CoroutineImpl.call(this, resultContinuation);
|
|
247
247
|
}
|
|
248
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
249
|
-
var tmp = this.
|
|
248
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).p1l = function (value, $completion) {
|
|
249
|
+
var tmp = this.q1l(value, $completion);
|
|
250
250
|
tmp.h9_1 = Unit_instance;
|
|
251
251
|
tmp.i9_1 = null;
|
|
252
252
|
return tmp.n9();
|
|
253
253
|
};
|
|
254
254
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).x9 = function (p1, $completion) {
|
|
255
|
-
return this.
|
|
255
|
+
return this.p1l((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
256
256
|
};
|
|
257
257
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).n9 = function () {
|
|
258
258
|
var suspendResult = this.h9_1;
|
|
@@ -263,22 +263,22 @@
|
|
|
263
263
|
case 0:
|
|
264
264
|
this.g9_1 = 3;
|
|
265
265
|
var tmp_0 = this;
|
|
266
|
-
tmp_0.
|
|
266
|
+
tmp_0.f4v_1 = this.a4v_1;
|
|
267
267
|
var tmp_1 = this;
|
|
268
|
-
tmp_1.
|
|
268
|
+
tmp_1.g4v_1 = this.e4v_1;
|
|
269
269
|
var tmp_2 = this;
|
|
270
|
-
tmp_2.
|
|
270
|
+
tmp_2.h4v_1 = this.g4v_1;
|
|
271
271
|
this.f9_1 = 1;
|
|
272
|
-
suspendResult = this.
|
|
272
|
+
suspendResult = this.h4v_1.t2u(this.b4v_1, this.c4v_1, this.d4v_1, this);
|
|
273
273
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
274
274
|
return suspendResult;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
continue $sm;
|
|
278
278
|
case 1:
|
|
279
|
-
this.
|
|
279
|
+
this.i4v_1 = suspendResult;
|
|
280
280
|
this.f9_1 = 2;
|
|
281
|
-
suspendResult = this.
|
|
281
|
+
suspendResult = this.f4v_1.d18(this.i4v_1, this);
|
|
282
282
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
283
283
|
return suspendResult;
|
|
284
284
|
}
|
|
@@ -300,23 +300,23 @@
|
|
|
300
300
|
}
|
|
301
301
|
while (true);
|
|
302
302
|
};
|
|
303
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
304
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
305
|
-
i.
|
|
303
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).q1l = function (value, completion) {
|
|
304
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.a4v_1, this.b4v_1, this.c4v_1, this.d4v_1, completion);
|
|
305
|
+
i.e4v_1 = value;
|
|
306
306
|
return i;
|
|
307
307
|
};
|
|
308
308
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
309
309
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
310
310
|
var l = function (value, $completion) {
|
|
311
|
-
return i.
|
|
311
|
+
return i.p1l(value, $completion);
|
|
312
312
|
};
|
|
313
313
|
l.$arity = 1;
|
|
314
314
|
return l;
|
|
315
315
|
}
|
|
316
316
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
317
317
|
CoroutineImpl.call(this, resultContinuation);
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
318
|
+
this.r4v_1 = _this__u8e3s4;
|
|
319
|
+
this.s4v_1 = collector;
|
|
320
320
|
}
|
|
321
321
|
protoOf($collectCOROUTINE$3).n9 = function () {
|
|
322
322
|
var suspendResult = this.h9_1;
|
|
@@ -327,10 +327,10 @@
|
|
|
327
327
|
case 0:
|
|
328
328
|
this.g9_1 = 2;
|
|
329
329
|
var tmp_0 = this;
|
|
330
|
-
tmp_0.
|
|
330
|
+
tmp_0.t4v_1 = this.s4v_1;
|
|
331
331
|
this.f9_1 = 1;
|
|
332
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
333
|
-
suspendResult = this.
|
|
332
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.t4v_1, this.r4v_1.v4v_1, this.r4v_1.w4v_1, this.r4v_1.x4v_1, null);
|
|
333
|
+
suspendResult = this.r4v_1.u4v_1.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
334
334
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
335
335
|
return suspendResult;
|
|
336
336
|
}
|
|
@@ -355,11 +355,11 @@
|
|
|
355
355
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
356
356
|
var tmp;
|
|
357
357
|
if (isInterface(format, StringFormat)) {
|
|
358
|
-
var content = format.
|
|
358
|
+
var content = format.e49(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
359
359
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
360
360
|
} else {
|
|
361
361
|
if (isInterface(format, BinaryFormat)) {
|
|
362
|
-
var content_0 = format.
|
|
362
|
+
var content_0 = format.h49(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
363
363
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
364
364
|
} else {
|
|
365
365
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -369,13 +369,13 @@
|
|
|
369
369
|
return tmp;
|
|
370
370
|
}
|
|
371
371
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
372
|
-
this.
|
|
372
|
+
this.y4v_1 = function_0;
|
|
373
373
|
}
|
|
374
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
375
|
-
return this.
|
|
374
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d18 = function (value, $completion) {
|
|
375
|
+
return this.y4v_1(value, $completion);
|
|
376
376
|
};
|
|
377
377
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
|
|
378
|
-
return this.
|
|
378
|
+
return this.y4v_1;
|
|
379
379
|
};
|
|
380
380
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
381
381
|
var tmp;
|
|
@@ -396,13 +396,13 @@
|
|
|
396
396
|
return hashCode(this.p3());
|
|
397
397
|
};
|
|
398
398
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
399
|
-
this.
|
|
399
|
+
this.z4v_1 = function_0;
|
|
400
400
|
}
|
|
401
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
402
|
-
return this.
|
|
401
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d18 = function (value, $completion) {
|
|
402
|
+
return this.z4v_1(value, $completion);
|
|
403
403
|
};
|
|
404
404
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p3 = function () {
|
|
405
|
-
return this.
|
|
405
|
+
return this.z4v_1;
|
|
406
406
|
};
|
|
407
407
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
408
408
|
var tmp;
|
|
@@ -423,32 +423,32 @@
|
|
|
423
423
|
return hashCode(this.p3());
|
|
424
424
|
};
|
|
425
425
|
function _no_name_provided__qut3iv($this, $contentType, $charset, $typeInfo, $value) {
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
426
|
+
this.n4u_1 = $this;
|
|
427
|
+
this.o4u_1 = $contentType;
|
|
428
|
+
this.p4u_1 = $charset;
|
|
429
|
+
this.q4u_1 = $typeInfo;
|
|
430
|
+
this.r4u_1 = $value;
|
|
431
431
|
}
|
|
432
|
-
protoOf(_no_name_provided__qut3iv).
|
|
432
|
+
protoOf(_no_name_provided__qut3iv).e18 = function (collector, $completion) {
|
|
433
433
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
434
434
|
tmp.h9_1 = Unit_instance;
|
|
435
435
|
tmp.i9_1 = null;
|
|
436
436
|
return tmp.n9();
|
|
437
437
|
};
|
|
438
|
-
protoOf(_no_name_provided__qut3iv).
|
|
439
|
-
return this.
|
|
438
|
+
protoOf(_no_name_provided__qut3iv).z16 = function (collector, $completion) {
|
|
439
|
+
return this.e18(collector, $completion);
|
|
440
440
|
};
|
|
441
441
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
442
442
|
CoroutineImpl.call(this, resultContinuation);
|
|
443
443
|
}
|
|
444
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
445
|
-
var tmp = this.
|
|
444
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).j4w = function (it, $completion) {
|
|
445
|
+
var tmp = this.k4w(it, $completion);
|
|
446
446
|
tmp.h9_1 = Unit_instance;
|
|
447
447
|
tmp.i9_1 = null;
|
|
448
448
|
return tmp.n9();
|
|
449
449
|
};
|
|
450
450
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).x9 = function (p1, $completion) {
|
|
451
|
-
return this.
|
|
451
|
+
return this.j4w((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
452
452
|
};
|
|
453
453
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).n9 = function () {
|
|
454
454
|
var suspendResult = this.h9_1;
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
var tmp = this.f9_1;
|
|
458
458
|
if (tmp === 0) {
|
|
459
459
|
this.g9_1 = 1;
|
|
460
|
-
return !(this.
|
|
460
|
+
return !(this.i4w_1 == null);
|
|
461
461
|
} else if (tmp === 1) {
|
|
462
462
|
throw this.i9_1;
|
|
463
463
|
}
|
|
@@ -467,46 +467,46 @@
|
|
|
467
467
|
}
|
|
468
468
|
while (true);
|
|
469
469
|
};
|
|
470
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
470
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).k4w = function (it, completion) {
|
|
471
471
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
472
|
-
i.
|
|
472
|
+
i.i4w_1 = it;
|
|
473
473
|
return i;
|
|
474
474
|
};
|
|
475
475
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
476
476
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
477
477
|
var l = function (it, $completion) {
|
|
478
|
-
return i.
|
|
478
|
+
return i.j4w(it, $completion);
|
|
479
479
|
};
|
|
480
480
|
l.$arity = 1;
|
|
481
481
|
return l;
|
|
482
482
|
}
|
|
483
483
|
function _no_name_provided__qut3iv_0($this, $charset, $typeInfo, $content) {
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
484
|
+
this.u4v_1 = $this;
|
|
485
|
+
this.v4v_1 = $charset;
|
|
486
|
+
this.w4v_1 = $typeInfo;
|
|
487
|
+
this.x4v_1 = $content;
|
|
488
488
|
}
|
|
489
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
489
|
+
protoOf(_no_name_provided__qut3iv_0).e18 = function (collector, $completion) {
|
|
490
490
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
491
491
|
tmp.h9_1 = Unit_instance;
|
|
492
492
|
tmp.i9_1 = null;
|
|
493
493
|
return tmp.n9();
|
|
494
494
|
};
|
|
495
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
496
|
-
return this.
|
|
495
|
+
protoOf(_no_name_provided__qut3iv_0).z16 = function (collector, $completion) {
|
|
496
|
+
return this.e18(collector, $completion);
|
|
497
497
|
};
|
|
498
498
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
499
|
-
this.
|
|
499
|
+
this.t4w_1 = $content;
|
|
500
500
|
CoroutineImpl.call(this, resultContinuation);
|
|
501
501
|
}
|
|
502
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
503
|
-
var tmp = this.
|
|
502
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).x2w = function (it, $completion) {
|
|
503
|
+
var tmp = this.q1l(it, $completion);
|
|
504
504
|
tmp.h9_1 = Unit_instance;
|
|
505
505
|
tmp.i9_1 = null;
|
|
506
506
|
return tmp.n9();
|
|
507
507
|
};
|
|
508
508
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).x9 = function (p1, $completion) {
|
|
509
|
-
return this.
|
|
509
|
+
return this.x2w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
510
510
|
};
|
|
511
511
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).n9 = function () {
|
|
512
512
|
var suspendResult = this.h9_1;
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
var tmp = this.f9_1;
|
|
516
516
|
if (tmp === 0) {
|
|
517
517
|
this.g9_1 = 1;
|
|
518
|
-
return !(this.
|
|
518
|
+
return !(this.u4w_1 == null) || this.t4w_1.n1v();
|
|
519
519
|
} else if (tmp === 1) {
|
|
520
520
|
throw this.i9_1;
|
|
521
521
|
}
|
|
@@ -525,26 +525,26 @@
|
|
|
525
525
|
}
|
|
526
526
|
while (true);
|
|
527
527
|
};
|
|
528
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
529
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
530
|
-
i.
|
|
528
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).q1l = function (it, completion) {
|
|
529
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.t4w_1, completion);
|
|
530
|
+
i.u4w_1 = it;
|
|
531
531
|
return i;
|
|
532
532
|
};
|
|
533
533
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
534
534
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
535
535
|
var l = function (it, $completion) {
|
|
536
|
-
return i.
|
|
536
|
+
return i.x2w(it, $completion);
|
|
537
537
|
};
|
|
538
538
|
l.$arity = 1;
|
|
539
539
|
return l;
|
|
540
540
|
}
|
|
541
541
|
function $serializeNullableCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
542
542
|
CoroutineImpl.call(this, resultContinuation);
|
|
543
|
-
this.
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
547
|
-
this.
|
|
543
|
+
this.d4x_1 = _this__u8e3s4;
|
|
544
|
+
this.e4x_1 = contentType;
|
|
545
|
+
this.f4x_1 = charset;
|
|
546
|
+
this.g4x_1 = typeInfo;
|
|
547
|
+
this.h4x_1 = value;
|
|
548
548
|
}
|
|
549
549
|
protoOf($serializeNullableCOROUTINE$0).n9 = function () {
|
|
550
550
|
var suspendResult = this.h9_1;
|
|
@@ -555,8 +555,8 @@
|
|
|
555
555
|
case 0:
|
|
556
556
|
this.g9_1 = 2;
|
|
557
557
|
this.f9_1 = 1;
|
|
558
|
-
var this_0 = asFlow(this.
|
|
559
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
558
|
+
var this_0 = asFlow(this.d4x_1.j4x_1);
|
|
559
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.e4x_1, this.f4x_1, this.g4x_1, this.h4x_1);
|
|
560
560
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
561
561
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
562
562
|
return suspendResult;
|
|
@@ -569,12 +569,12 @@
|
|
|
569
569
|
return fromExtension;
|
|
570
570
|
var tmp_1;
|
|
571
571
|
try {
|
|
572
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
572
|
+
tmp_1 = serializerForTypeInfo(this.d4x_1.i4x_1.g49(), this.g4x_1);
|
|
573
573
|
} catch ($p) {
|
|
574
574
|
var tmp_2;
|
|
575
575
|
if ($p instanceof SerializationException) {
|
|
576
576
|
var cause = $p;
|
|
577
|
-
tmp_2 = guessSerializer(this.
|
|
577
|
+
tmp_2 = guessSerializer(this.h4x_1, this.d4x_1.i4x_1.g49());
|
|
578
578
|
} else {
|
|
579
579
|
throw $p;
|
|
580
580
|
}
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
}
|
|
583
583
|
|
|
584
584
|
var serializer = tmp_1;
|
|
585
|
-
return serializeContent(this.
|
|
585
|
+
return serializeContent(this.d4x_1, serializer, this.d4x_1.i4x_1, this.h4x_1, this.e4x_1, this.f4x_1);
|
|
586
586
|
case 2:
|
|
587
587
|
throw this.i9_1;
|
|
588
588
|
}
|
|
@@ -599,10 +599,10 @@
|
|
|
599
599
|
};
|
|
600
600
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
601
601
|
CoroutineImpl.call(this, resultContinuation);
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
604
|
-
this.
|
|
605
|
-
this.
|
|
602
|
+
this.s4x_1 = _this__u8e3s4;
|
|
603
|
+
this.t4x_1 = charset;
|
|
604
|
+
this.u4x_1 = typeInfo;
|
|
605
|
+
this.v4x_1 = content;
|
|
606
606
|
}
|
|
607
607
|
protoOf($deserializeCOROUTINE$1).n9 = function () {
|
|
608
608
|
var suspendResult = this.h9_1;
|
|
@@ -613,28 +613,28 @@
|
|
|
613
613
|
case 0:
|
|
614
614
|
this.g9_1 = 5;
|
|
615
615
|
this.f9_1 = 1;
|
|
616
|
-
var this_0 = asFlow(this.
|
|
617
|
-
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.
|
|
618
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
616
|
+
var this_0 = asFlow(this.s4x_1.j4x_1);
|
|
617
|
+
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.t4x_1, this.u4x_1, this.v4x_1);
|
|
618
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.v4x_1, null), this);
|
|
619
619
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
620
620
|
return suspendResult;
|
|
621
621
|
}
|
|
622
622
|
|
|
623
623
|
continue $sm;
|
|
624
624
|
case 1:
|
|
625
|
-
this.
|
|
625
|
+
this.w4x_1 = suspendResult;
|
|
626
626
|
var tmp_1;
|
|
627
|
-
if (!this.
|
|
628
|
-
tmp_1 = !(this.
|
|
627
|
+
if (!this.s4x_1.j4x_1.p()) {
|
|
628
|
+
tmp_1 = !(this.w4x_1 == null) || this.v4x_1.n1v();
|
|
629
629
|
} else {
|
|
630
630
|
tmp_1 = false;
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
if (tmp_1)
|
|
634
|
-
return this.
|
|
635
|
-
this.
|
|
634
|
+
return this.w4x_1;
|
|
635
|
+
this.x4x_1 = serializerForTypeInfo(this.s4x_1.i4x_1.g49(), this.u4x_1);
|
|
636
636
|
this.f9_1 = 2;
|
|
637
|
-
suspendResult = this.
|
|
637
|
+
suspendResult = this.v4x_1.i21(VOID, this);
|
|
638
638
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
639
639
|
return suspendResult;
|
|
640
640
|
}
|
|
@@ -643,16 +643,16 @@
|
|
|
643
643
|
case 2:
|
|
644
644
|
var contentPacket = suspendResult;
|
|
645
645
|
this.g9_1 = 3;
|
|
646
|
-
var tmp0_subject = this.
|
|
646
|
+
var tmp0_subject = this.s4x_1.i4x_1;
|
|
647
647
|
var tmp_2;
|
|
648
648
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
649
|
-
tmp_2 = this.
|
|
649
|
+
tmp_2 = this.s4x_1.i4x_1.f49(this.x4x_1, readText(contentPacket, this.t4x_1));
|
|
650
650
|
} else {
|
|
651
651
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
652
|
-
tmp_2 = this.
|
|
652
|
+
tmp_2 = this.s4x_1.i4x_1.i49(this.x4x_1, readBytes(contentPacket));
|
|
653
653
|
} else {
|
|
654
654
|
discard(contentPacket);
|
|
655
|
-
var message = 'Unsupported format ' + toString(this.
|
|
655
|
+
var message = 'Unsupported format ' + toString(this.s4x_1.i4x_1);
|
|
656
656
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
657
657
|
}
|
|
658
658
|
}
|
|
@@ -686,40 +686,40 @@
|
|
|
686
686
|
while (true);
|
|
687
687
|
};
|
|
688
688
|
function KotlinxSerializationConverter(format) {
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
689
|
+
this.i4x_1 = format;
|
|
690
|
+
this.j4x_1 = extensions(this.i4x_1);
|
|
691
691
|
// Inline function 'kotlin.require' call
|
|
692
692
|
var tmp;
|
|
693
|
-
var tmp_0 = this.
|
|
693
|
+
var tmp_0 = this.i4x_1;
|
|
694
694
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
695
695
|
tmp = true;
|
|
696
696
|
} else {
|
|
697
|
-
var tmp_1 = this.
|
|
697
|
+
var tmp_1 = this.i4x_1;
|
|
698
698
|
tmp = isInterface(tmp_1, StringFormat);
|
|
699
699
|
}
|
|
700
700
|
// Inline function 'kotlin.contracts.contract' call
|
|
701
701
|
if (!tmp) {
|
|
702
702
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
703
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
703
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.i4x_1) + ' is not supported.';
|
|
704
704
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
|
-
protoOf(KotlinxSerializationConverter).
|
|
708
|
-
return this.
|
|
707
|
+
protoOf(KotlinxSerializationConverter).y4x = function (contentType, charset, typeInfo, value, $completion) {
|
|
708
|
+
return this.z4x(contentType, charset, typeInfo, value, $completion);
|
|
709
709
|
};
|
|
710
|
-
protoOf(KotlinxSerializationConverter).
|
|
711
|
-
return this.
|
|
710
|
+
protoOf(KotlinxSerializationConverter).r2u = function (contentType, charset, typeInfo, value, $completion) {
|
|
711
|
+
return this.y4x(contentType, charset, typeInfo, value, $completion);
|
|
712
712
|
};
|
|
713
|
-
protoOf(KotlinxSerializationConverter).
|
|
713
|
+
protoOf(KotlinxSerializationConverter).z4x = function (contentType, charset, typeInfo, value, $completion) {
|
|
714
714
|
var tmp = new $serializeNullableCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
715
715
|
tmp.h9_1 = Unit_instance;
|
|
716
716
|
tmp.i9_1 = null;
|
|
717
717
|
return tmp.n9();
|
|
718
718
|
};
|
|
719
|
-
protoOf(KotlinxSerializationConverter).
|
|
720
|
-
return this.
|
|
719
|
+
protoOf(KotlinxSerializationConverter).s2u = function (contentType, charset, typeInfo, value, $completion) {
|
|
720
|
+
return this.z4x(contentType, charset, typeInfo, value, $completion);
|
|
721
721
|
};
|
|
722
|
-
protoOf(KotlinxSerializationConverter).
|
|
722
|
+
protoOf(KotlinxSerializationConverter).t2u = function (charset, typeInfo, content, $completion) {
|
|
723
723
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
724
724
|
tmp.h9_1 = Unit_instance;
|
|
725
725
|
tmp.i9_1 = null;
|
|
@@ -727,7 +727,7 @@
|
|
|
727
727
|
};
|
|
728
728
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
729
729
|
var module_0 = _this__u8e3s4;
|
|
730
|
-
var tmp0_safe_receiver = typeInfo.
|
|
730
|
+
var tmp0_safe_receiver = typeInfo.q2h_1;
|
|
731
731
|
var tmp;
|
|
732
732
|
if (tmp0_safe_receiver == null) {
|
|
733
733
|
tmp = null;
|
|
@@ -746,13 +746,13 @@
|
|
|
746
746
|
var tmp2_elvis_lhs = tmp;
|
|
747
747
|
var tmp_1;
|
|
748
748
|
if (tmp2_elvis_lhs == null) {
|
|
749
|
-
var tmp1_safe_receiver = module_0.
|
|
749
|
+
var tmp1_safe_receiver = module_0.l49(typeInfo.o2h_1);
|
|
750
750
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
751
751
|
} else {
|
|
752
752
|
tmp_1 = tmp2_elvis_lhs;
|
|
753
753
|
}
|
|
754
754
|
var tmp3_elvis_lhs = tmp_1;
|
|
755
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
755
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.o2h_1), typeInfo) : tmp3_elvis_lhs;
|
|
756
756
|
}
|
|
757
757
|
function guessSerializer(value, module_0) {
|
|
758
758
|
var tmp;
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
var valueSerializer = elementSerializer(value.j2(), module_0);
|
|
785
785
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
786
786
|
} else {
|
|
787
|
-
var tmp3_elvis_lhs = module_0.
|
|
787
|
+
var tmp3_elvis_lhs = module_0.l49(getKClassFromExpression(value));
|
|
788
788
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
789
789
|
}
|
|
790
790
|
}
|
|
@@ -796,7 +796,7 @@
|
|
|
796
796
|
}
|
|
797
797
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
798
798
|
var tmp;
|
|
799
|
-
var tmp0_safe_receiver = typeInfo.
|
|
799
|
+
var tmp0_safe_receiver = typeInfo.q2h_1;
|
|
800
800
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.cb()) === true) {
|
|
801
801
|
tmp = get_nullable(_this__u8e3s4);
|
|
802
802
|
} else {
|
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
while (tmp0_iterator_0.k()) {
|
|
824
824
|
var e = tmp0_iterator_0.l();
|
|
825
825
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
826
|
-
var key = e.
|
|
826
|
+
var key = e.b48().c49();
|
|
827
827
|
if (set.e(key)) {
|
|
828
828
|
list.e(e);
|
|
829
829
|
}
|
|
@@ -838,7 +838,7 @@
|
|
|
838
838
|
while (tmp0_iterator_1.k()) {
|
|
839
839
|
var item_0 = tmp0_iterator_1.l();
|
|
840
840
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
841
|
-
var tmp$ret$5 = item_0.
|
|
841
|
+
var tmp$ret$5 = item_0.b48().c49();
|
|
842
842
|
destination_0.e(tmp$ret$5);
|
|
843
843
|
}
|
|
844
844
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -846,7 +846,7 @@
|
|
|
846
846
|
}
|
|
847
847
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
848
848
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
849
|
-
if (selected.
|
|
849
|
+
if (selected.b48().p49()) {
|
|
850
850
|
return selected;
|
|
851
851
|
}
|
|
852
852
|
if (!isInterface(selected, KSerializer))
|