game_client_logic_deb 1.8.431 → 1.8.432
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 +2 -2
- package/Kosi-Kodein-kodein-di.js +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime.js +152 -152
- package/Logic_Debertz-ai_module.js +193 -193
- package/Logic_Debertz-core.js +500 -500
- package/Logic_Debertz-engine.js +3660 -3642
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +1 -0
- package/Logic_Debertz-game_client.js +454 -454
- package/kotlin-kotlin-stdlib.js +556 -550
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2134 -2134
- package/kotlinx-io-kotlinx-io-core.js +314 -314
- package/kotlinx-serialization-kotlinx-serialization-core.js +1739 -1739
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1316 -1316
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1442 -1442
- package/ktor-ktor-client-logging.js +265 -265
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +590 -590
- package/ktor-ktor-io.js +1241 -1241
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +132 -132
- package/ktor-ktor-serialization.js +61 -61
- package/ktor-ktor-utils.js +483 -483
- package/ktor-ktor-websockets.js +42 -42
- package/package.json +1 -1
- package/random-library-crypto-rand.js +1 -1
- package/random-library-secure-random.js +2 -2
- package/raspberry-cardgame-lib-core.js +7 -7
- package/raspberry-cardgame-lib-logger.js +90 -90
- package/raspberry-cardgame-lib-random.js +756 -756
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +12 -12
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
var DefaultJson;
|
|
37
37
|
function json(_this__u8e3s4, json, contentType) {
|
|
38
38
|
json = json === VOID ? get_DefaultJson() : json;
|
|
39
|
-
contentType = contentType === VOID ? Application_getInstance().
|
|
39
|
+
contentType = contentType === VOID ? Application_getInstance().u3c_1 : contentType;
|
|
40
40
|
_init_properties_JsonSupport_kt__yf438r();
|
|
41
41
|
serialization(_this__u8e3s4, contentType, json);
|
|
42
42
|
}
|
|
43
43
|
function DefaultJson$lambda($this$Json) {
|
|
44
44
|
_init_properties_JsonSupport_kt__yf438r();
|
|
45
|
-
$this$Json.
|
|
46
|
-
$this$Json.
|
|
47
|
-
$this$Json.r1a_1 = true;
|
|
45
|
+
$this$Json.e1a_1 = true;
|
|
46
|
+
$this$Json.h1a_1 = true;
|
|
48
47
|
$this$Json.s1a_1 = true;
|
|
49
|
-
$this$Json.
|
|
50
|
-
$this$Json.
|
|
48
|
+
$this$Json.t1a_1 = true;
|
|
49
|
+
$this$Json.i1a_1 = false;
|
|
50
|
+
$this$Json.u1a_1 = false;
|
|
51
51
|
return Unit_instance;
|
|
52
52
|
}
|
|
53
53
|
var properties_initialized_JsonSupport_kt_9cgd93;
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
var _iterator__ex2g4s = tmp0.l();
|
|
107
107
|
while (_iterator__ex2g4s.m()) {
|
|
108
108
|
var element = _iterator__ex2g4s.n();
|
|
109
|
-
var tmp0_safe_receiver = element.
|
|
109
|
+
var tmp0_safe_receiver = element.n4y(format);
|
|
110
110
|
if (tmp0_safe_receiver == null)
|
|
111
111
|
null;
|
|
112
112
|
else {
|
|
@@ -117,24 +117,24 @@
|
|
|
117
117
|
return destination;
|
|
118
118
|
}
|
|
119
119
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
120
|
-
_this__u8e3s4.
|
|
120
|
+
_this__u8e3s4.q4t(contentType, new KotlinxSerializationConverter(format));
|
|
121
121
|
}
|
|
122
122
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
123
|
+
this.w4y_1 = $$this$unsafeFlow;
|
|
124
|
+
this.x4y_1 = $contentType;
|
|
125
|
+
this.y4y_1 = $charset;
|
|
126
|
+
this.z4y_1 = $typeInfo;
|
|
127
|
+
this.a4z_1 = $value;
|
|
128
128
|
CoroutineImpl.call(this, resultContinuation);
|
|
129
129
|
}
|
|
130
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
131
|
-
var tmp = this.
|
|
130
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).v4u = function (value, $completion) {
|
|
131
|
+
var tmp = this.w4u(value, $completion);
|
|
132
132
|
tmp.u8_1 = Unit_instance;
|
|
133
133
|
tmp.v8_1 = null;
|
|
134
134
|
return tmp.a9();
|
|
135
135
|
};
|
|
136
136
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).i9 = function (p1, $completion) {
|
|
137
|
-
return this.
|
|
137
|
+
return this.v4u((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
138
138
|
};
|
|
139
139
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).a9 = function () {
|
|
140
140
|
var suspendResult = this.u8_1;
|
|
@@ -144,11 +144,11 @@
|
|
|
144
144
|
switch (tmp) {
|
|
145
145
|
case 0:
|
|
146
146
|
this.t8_1 = 3;
|
|
147
|
-
var tmp0 = this.
|
|
148
|
-
var tmp2 = this.
|
|
149
|
-
this.
|
|
147
|
+
var tmp0 = this.w4y_1;
|
|
148
|
+
var tmp2 = this.b4z_1;
|
|
149
|
+
this.c4z_1 = tmp0;
|
|
150
150
|
this.s8_1 = 1;
|
|
151
|
-
suspendResult = tmp2.
|
|
151
|
+
suspendResult = tmp2.d4z(this.x4y_1, this.y4y_1, this.z4y_1, this.a4z_1, this);
|
|
152
152
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
153
153
|
return suspendResult;
|
|
154
154
|
}
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
case 1:
|
|
158
158
|
var ARGUMENT = suspendResult;
|
|
159
159
|
this.s8_1 = 2;
|
|
160
|
-
suspendResult = this.
|
|
160
|
+
suspendResult = this.c4z_1.a28(ARGUMENT, this);
|
|
161
161
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
162
162
|
return suspendResult;
|
|
163
163
|
}
|
|
@@ -179,23 +179,23 @@
|
|
|
179
179
|
}
|
|
180
180
|
while (true);
|
|
181
181
|
};
|
|
182
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
183
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
184
|
-
i.
|
|
182
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).w4u = function (value, completion) {
|
|
183
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.w4y_1, this.x4y_1, this.y4y_1, this.z4y_1, this.a4z_1, completion);
|
|
184
|
+
i.b4z_1 = value;
|
|
185
185
|
return i;
|
|
186
186
|
};
|
|
187
187
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
188
188
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
189
189
|
var l = function (value, $completion) {
|
|
190
|
-
return i.
|
|
190
|
+
return i.v4u(value, $completion);
|
|
191
191
|
};
|
|
192
192
|
l.$arity = 1;
|
|
193
193
|
return l;
|
|
194
194
|
}
|
|
195
195
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
196
196
|
CoroutineImpl.call(this, resultContinuation);
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
197
|
+
this.m4z_1 = _this__u8e3s4;
|
|
198
|
+
this.n4z_1 = collector;
|
|
199
199
|
}
|
|
200
200
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
201
201
|
var suspendResult = this.u8_1;
|
|
@@ -205,10 +205,10 @@
|
|
|
205
205
|
switch (tmp) {
|
|
206
206
|
case 0:
|
|
207
207
|
this.t8_1 = 2;
|
|
208
|
-
var $this$unsafeFlow = this.
|
|
208
|
+
var $this$unsafeFlow = this.n4z_1;
|
|
209
209
|
this.s8_1 = 1;
|
|
210
|
-
var tmp_0 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($this$unsafeFlow, this.
|
|
211
|
-
suspendResult = this.
|
|
210
|
+
var tmp_0 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($this$unsafeFlow, this.m4z_1.p4z_1, this.m4z_1.q4z_1, this.m4z_1.r4z_1, this.m4z_1.s4z_1, null);
|
|
211
|
+
suspendResult = this.m4z_1.o4z_1.m27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
212
212
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
213
213
|
return suspendResult;
|
|
214
214
|
}
|
|
@@ -231,20 +231,20 @@
|
|
|
231
231
|
while (true);
|
|
232
232
|
};
|
|
233
233
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
234
|
+
this.b50_1 = $$this$unsafeFlow;
|
|
235
|
+
this.c50_1 = $charset;
|
|
236
|
+
this.d50_1 = $typeInfo;
|
|
237
|
+
this.e50_1 = $content;
|
|
238
238
|
CoroutineImpl.call(this, resultContinuation);
|
|
239
239
|
}
|
|
240
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
241
|
-
var tmp = this.
|
|
240
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).v4u = function (value, $completion) {
|
|
241
|
+
var tmp = this.w4u(value, $completion);
|
|
242
242
|
tmp.u8_1 = Unit_instance;
|
|
243
243
|
tmp.v8_1 = null;
|
|
244
244
|
return tmp.a9();
|
|
245
245
|
};
|
|
246
246
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i9 = function (p1, $completion) {
|
|
247
|
-
return this.
|
|
247
|
+
return this.v4u((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
248
248
|
};
|
|
249
249
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).a9 = function () {
|
|
250
250
|
var suspendResult = this.u8_1;
|
|
@@ -254,11 +254,11 @@
|
|
|
254
254
|
switch (tmp) {
|
|
255
255
|
case 0:
|
|
256
256
|
this.t8_1 = 3;
|
|
257
|
-
var tmp0 = this.
|
|
258
|
-
var tmp2 = this.
|
|
259
|
-
this.
|
|
257
|
+
var tmp0 = this.b50_1;
|
|
258
|
+
var tmp2 = this.f50_1;
|
|
259
|
+
this.g50_1 = tmp0;
|
|
260
260
|
this.s8_1 = 1;
|
|
261
|
-
suspendResult = tmp2.
|
|
261
|
+
suspendResult = tmp2.t4t(this.c50_1, this.d50_1, this.e50_1, this);
|
|
262
262
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
263
263
|
return suspendResult;
|
|
264
264
|
}
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
case 1:
|
|
268
268
|
var ARGUMENT = suspendResult;
|
|
269
269
|
this.s8_1 = 2;
|
|
270
|
-
suspendResult = this.
|
|
270
|
+
suspendResult = this.g50_1.a28(ARGUMENT, this);
|
|
271
271
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
272
272
|
return suspendResult;
|
|
273
273
|
}
|
|
@@ -289,23 +289,23 @@
|
|
|
289
289
|
}
|
|
290
290
|
while (true);
|
|
291
291
|
};
|
|
292
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
293
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
294
|
-
i.
|
|
292
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).w4u = function (value, completion) {
|
|
293
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.b50_1, this.c50_1, this.d50_1, this.e50_1, completion);
|
|
294
|
+
i.f50_1 = value;
|
|
295
295
|
return i;
|
|
296
296
|
};
|
|
297
297
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
298
298
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
299
299
|
var l = function (value, $completion) {
|
|
300
|
-
return i.
|
|
300
|
+
return i.v4u(value, $completion);
|
|
301
301
|
};
|
|
302
302
|
l.$arity = 1;
|
|
303
303
|
return l;
|
|
304
304
|
}
|
|
305
305
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
306
306
|
CoroutineImpl.call(this, resultContinuation);
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
307
|
+
this.p50_1 = _this__u8e3s4;
|
|
308
|
+
this.q50_1 = collector;
|
|
309
309
|
}
|
|
310
310
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
311
311
|
var suspendResult = this.u8_1;
|
|
@@ -315,10 +315,10 @@
|
|
|
315
315
|
switch (tmp) {
|
|
316
316
|
case 0:
|
|
317
317
|
this.t8_1 = 2;
|
|
318
|
-
var $this$unsafeFlow = this.
|
|
318
|
+
var $this$unsafeFlow = this.q50_1;
|
|
319
319
|
this.s8_1 = 1;
|
|
320
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
321
|
-
suspendResult = this.
|
|
320
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.p50_1.s50_1, this.p50_1.t50_1, this.p50_1.u50_1, null);
|
|
321
|
+
suspendResult = this.p50_1.r50_1.m27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
322
322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
323
323
|
return suspendResult;
|
|
324
324
|
}
|
|
@@ -343,11 +343,11 @@
|
|
|
343
343
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
344
344
|
var tmp;
|
|
345
345
|
if (isInterface(format, StringFormat)) {
|
|
346
|
-
var content = format.
|
|
346
|
+
var content = format.fp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
347
347
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
348
348
|
} else {
|
|
349
349
|
if (isInterface(format, BinaryFormat)) {
|
|
350
|
-
var content_0 = format.
|
|
350
|
+
var content_0 = format.hp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
351
351
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
352
352
|
} else {
|
|
353
353
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -357,13 +357,13 @@
|
|
|
357
357
|
return tmp;
|
|
358
358
|
}
|
|
359
359
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
360
|
-
this.
|
|
360
|
+
this.v50_1 = function_0;
|
|
361
361
|
}
|
|
362
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
363
|
-
return this.
|
|
362
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a28 = function (value, $completion) {
|
|
363
|
+
return this.v50_1(value, $completion);
|
|
364
364
|
};
|
|
365
365
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
366
|
-
return this.
|
|
366
|
+
return this.v50_1;
|
|
367
367
|
};
|
|
368
368
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
369
369
|
var tmp;
|
|
@@ -384,13 +384,13 @@
|
|
|
384
384
|
return hashCode(this.b3());
|
|
385
385
|
};
|
|
386
386
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
387
|
-
this.
|
|
387
|
+
this.w50_1 = function_0;
|
|
388
388
|
}
|
|
389
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
390
|
-
return this.
|
|
389
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a28 = function (value, $completion) {
|
|
390
|
+
return this.w50_1(value, $completion);
|
|
391
391
|
};
|
|
392
392
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
393
|
-
return this.
|
|
393
|
+
return this.w50_1;
|
|
394
394
|
};
|
|
395
395
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
396
396
|
var tmp;
|
|
@@ -411,32 +411,32 @@
|
|
|
411
411
|
return hashCode(this.b3());
|
|
412
412
|
};
|
|
413
413
|
function KotlinxSerializationConverter$serializeNullable$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
414
|
+
this.o4z_1 = $this;
|
|
415
|
+
this.p4z_1 = $contentType;
|
|
416
|
+
this.q4z_1 = $charset;
|
|
417
|
+
this.r4z_1 = $typeInfo;
|
|
418
|
+
this.s4z_1 = $value;
|
|
419
419
|
}
|
|
420
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
420
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).b28 = function (collector, $completion) {
|
|
421
421
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
422
422
|
tmp.u8_1 = Unit_instance;
|
|
423
423
|
tmp.v8_1 = null;
|
|
424
424
|
return tmp.a9();
|
|
425
425
|
};
|
|
426
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
427
|
-
return this.
|
|
426
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).m27 = function (collector, $completion) {
|
|
427
|
+
return this.b28(collector, $completion);
|
|
428
428
|
};
|
|
429
429
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
430
430
|
CoroutineImpl.call(this, resultContinuation);
|
|
431
431
|
}
|
|
432
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
433
|
-
var tmp = this.
|
|
432
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).g51 = function (it, $completion) {
|
|
433
|
+
var tmp = this.h51(it, $completion);
|
|
434
434
|
tmp.u8_1 = Unit_instance;
|
|
435
435
|
tmp.v8_1 = null;
|
|
436
436
|
return tmp.a9();
|
|
437
437
|
};
|
|
438
438
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).i9 = function (p1, $completion) {
|
|
439
|
-
return this.
|
|
439
|
+
return this.g51((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
440
440
|
};
|
|
441
441
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).a9 = function () {
|
|
442
442
|
var suspendResult = this.u8_1;
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
var tmp = this.s8_1;
|
|
446
446
|
if (tmp === 0) {
|
|
447
447
|
this.t8_1 = 1;
|
|
448
|
-
return !(this.
|
|
448
|
+
return !(this.f51_1 == null);
|
|
449
449
|
} else if (tmp === 1) {
|
|
450
450
|
throw this.v8_1;
|
|
451
451
|
}
|
|
@@ -455,46 +455,46 @@
|
|
|
455
455
|
}
|
|
456
456
|
while (true);
|
|
457
457
|
};
|
|
458
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
458
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).h51 = function (it, completion) {
|
|
459
459
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
460
|
-
i.
|
|
460
|
+
i.f51_1 = it;
|
|
461
461
|
return i;
|
|
462
462
|
};
|
|
463
463
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
464
464
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
465
465
|
var l = function (it, $completion) {
|
|
466
|
-
return i.
|
|
466
|
+
return i.g51(it, $completion);
|
|
467
467
|
};
|
|
468
468
|
l.$arity = 1;
|
|
469
469
|
return l;
|
|
470
470
|
}
|
|
471
471
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
472
|
-
this.
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
475
|
-
this.
|
|
472
|
+
this.r50_1 = $this;
|
|
473
|
+
this.s50_1 = $charset;
|
|
474
|
+
this.t50_1 = $typeInfo;
|
|
475
|
+
this.u50_1 = $content;
|
|
476
476
|
}
|
|
477
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
477
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).b28 = function (collector, $completion) {
|
|
478
478
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
479
479
|
tmp.u8_1 = Unit_instance;
|
|
480
480
|
tmp.v8_1 = null;
|
|
481
481
|
return tmp.a9();
|
|
482
482
|
};
|
|
483
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
484
|
-
return this.
|
|
483
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).m27 = function (collector, $completion) {
|
|
484
|
+
return this.b28(collector, $completion);
|
|
485
485
|
};
|
|
486
486
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
487
|
-
this.
|
|
487
|
+
this.q51_1 = $content;
|
|
488
488
|
CoroutineImpl.call(this, resultContinuation);
|
|
489
489
|
}
|
|
490
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
491
|
-
var tmp = this.
|
|
490
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).v4v = function (it, $completion) {
|
|
491
|
+
var tmp = this.w4u(it, $completion);
|
|
492
492
|
tmp.u8_1 = Unit_instance;
|
|
493
493
|
tmp.v8_1 = null;
|
|
494
494
|
return tmp.a9();
|
|
495
495
|
};
|
|
496
496
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).i9 = function (p1, $completion) {
|
|
497
|
-
return this.
|
|
497
|
+
return this.v4v((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
498
498
|
};
|
|
499
499
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).a9 = function () {
|
|
500
500
|
var suspendResult = this.u8_1;
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
var tmp = this.s8_1;
|
|
504
504
|
if (tmp === 0) {
|
|
505
505
|
this.t8_1 = 1;
|
|
506
|
-
return !(this.
|
|
506
|
+
return !(this.r51_1 == null) || this.q51_1.p2q();
|
|
507
507
|
} else if (tmp === 1) {
|
|
508
508
|
throw this.v8_1;
|
|
509
509
|
}
|
|
@@ -513,26 +513,26 @@
|
|
|
513
513
|
}
|
|
514
514
|
while (true);
|
|
515
515
|
};
|
|
516
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
517
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
518
|
-
i.
|
|
516
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).w4u = function (it, completion) {
|
|
517
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.q51_1, completion);
|
|
518
|
+
i.r51_1 = it;
|
|
519
519
|
return i;
|
|
520
520
|
};
|
|
521
521
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
522
522
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
523
523
|
var l = function (it, $completion) {
|
|
524
|
-
return i.
|
|
524
|
+
return i.v4v(it, $completion);
|
|
525
525
|
};
|
|
526
526
|
l.$arity = 1;
|
|
527
527
|
return l;
|
|
528
528
|
}
|
|
529
529
|
function $serializeNullableCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
530
530
|
CoroutineImpl.call(this, resultContinuation);
|
|
531
|
-
this.
|
|
532
|
-
this.
|
|
533
|
-
this.
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
531
|
+
this.a52_1 = _this__u8e3s4;
|
|
532
|
+
this.b52_1 = contentType;
|
|
533
|
+
this.c52_1 = charset;
|
|
534
|
+
this.d52_1 = typeInfo;
|
|
535
|
+
this.e52_1 = value;
|
|
536
536
|
}
|
|
537
537
|
protoOf($serializeNullableCOROUTINE$).a9 = function () {
|
|
538
538
|
var suspendResult = this.u8_1;
|
|
@@ -543,8 +543,8 @@
|
|
|
543
543
|
case 0:
|
|
544
544
|
this.t8_1 = 2;
|
|
545
545
|
this.s8_1 = 1;
|
|
546
|
-
var this_0 = asFlow(this.
|
|
547
|
-
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.
|
|
546
|
+
var this_0 = asFlow(this.a52_1.g52_1);
|
|
547
|
+
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.b52_1, this.c52_1, this.d52_1, this.e52_1);
|
|
548
548
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
549
549
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
550
550
|
return suspendResult;
|
|
@@ -557,12 +557,12 @@
|
|
|
557
557
|
return fromExtension;
|
|
558
558
|
var tmp_1;
|
|
559
559
|
try {
|
|
560
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
560
|
+
tmp_1 = serializerForTypeInfo(this.a52_1.f52_1.es(), this.d52_1);
|
|
561
561
|
} catch ($p) {
|
|
562
562
|
var tmp_2;
|
|
563
563
|
if ($p instanceof SerializationException) {
|
|
564
564
|
var cause = $p;
|
|
565
|
-
tmp_2 = guessSerializer(this.
|
|
565
|
+
tmp_2 = guessSerializer(this.e52_1, this.a52_1.f52_1.es());
|
|
566
566
|
} else {
|
|
567
567
|
throw $p;
|
|
568
568
|
}
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
var serializer = tmp_1;
|
|
573
|
-
return serializeContent(this.
|
|
573
|
+
return serializeContent(this.a52_1, serializer, this.a52_1.f52_1, this.e52_1, this.b52_1, this.c52_1);
|
|
574
574
|
case 2:
|
|
575
575
|
throw this.v8_1;
|
|
576
576
|
}
|
|
@@ -587,10 +587,10 @@
|
|
|
587
587
|
};
|
|
588
588
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
589
589
|
CoroutineImpl.call(this, resultContinuation);
|
|
590
|
-
this.
|
|
591
|
-
this.
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
590
|
+
this.p52_1 = _this__u8e3s4;
|
|
591
|
+
this.q52_1 = charset;
|
|
592
|
+
this.r52_1 = typeInfo;
|
|
593
|
+
this.s52_1 = content;
|
|
594
594
|
}
|
|
595
595
|
protoOf($deserializeCOROUTINE$).a9 = function () {
|
|
596
596
|
var suspendResult = this.u8_1;
|
|
@@ -601,9 +601,9 @@
|
|
|
601
601
|
case 0:
|
|
602
602
|
this.t8_1 = 5;
|
|
603
603
|
this.s8_1 = 1;
|
|
604
|
-
var this_0 = asFlow(this.
|
|
605
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
606
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
604
|
+
var this_0 = asFlow(this.p52_1.g52_1);
|
|
605
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.q52_1, this.r52_1, this.s52_1);
|
|
606
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.s52_1, null), this);
|
|
607
607
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
608
608
|
return suspendResult;
|
|
609
609
|
}
|
|
@@ -612,17 +612,17 @@
|
|
|
612
612
|
case 1:
|
|
613
613
|
var fromExtension = suspendResult;
|
|
614
614
|
var tmp_1;
|
|
615
|
-
if (!this.
|
|
616
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
615
|
+
if (!this.p52_1.g52_1.r()) {
|
|
616
|
+
tmp_1 = !(fromExtension == null) || this.s52_1.p2q();
|
|
617
617
|
} else {
|
|
618
618
|
tmp_1 = false;
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
if (tmp_1)
|
|
622
622
|
return fromExtension;
|
|
623
|
-
this.
|
|
623
|
+
this.t52_1 = serializerForTypeInfo(this.p52_1.f52_1.es(), this.r52_1);
|
|
624
624
|
this.s8_1 = 2;
|
|
625
|
-
suspendResult = this.
|
|
625
|
+
suspendResult = this.s52_1.g2w(VOID, this);
|
|
626
626
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
627
627
|
return suspendResult;
|
|
628
628
|
}
|
|
@@ -631,16 +631,16 @@
|
|
|
631
631
|
case 2:
|
|
632
632
|
var contentPacket = suspendResult;
|
|
633
633
|
this.t8_1 = 3;
|
|
634
|
-
var tmp0_subject = this.
|
|
634
|
+
var tmp0_subject = this.p52_1.f52_1;
|
|
635
635
|
var tmp_2;
|
|
636
636
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
637
|
-
tmp_2 = this.
|
|
637
|
+
tmp_2 = this.p52_1.f52_1.gp(this.t52_1, readText(contentPacket, this.q52_1));
|
|
638
638
|
} else {
|
|
639
639
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
640
|
-
tmp_2 = this.
|
|
640
|
+
tmp_2 = this.p52_1.f52_1.ip(this.t52_1, readBytes(contentPacket));
|
|
641
641
|
} else {
|
|
642
642
|
discard(contentPacket);
|
|
643
|
-
var message = 'Unsupported format ' + toString(this.
|
|
643
|
+
var message = 'Unsupported format ' + toString(this.p52_1.f52_1);
|
|
644
644
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
645
645
|
}
|
|
646
646
|
}
|
|
@@ -674,38 +674,38 @@
|
|
|
674
674
|
while (true);
|
|
675
675
|
};
|
|
676
676
|
function KotlinxSerializationConverter(format) {
|
|
677
|
-
this.
|
|
678
|
-
this.
|
|
677
|
+
this.f52_1 = format;
|
|
678
|
+
this.g52_1 = extensions(this.f52_1);
|
|
679
679
|
var tmp;
|
|
680
|
-
var tmp_0 = this.
|
|
680
|
+
var tmp_0 = this.f52_1;
|
|
681
681
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
682
682
|
tmp = true;
|
|
683
683
|
} else {
|
|
684
|
-
var tmp_1 = this.
|
|
684
|
+
var tmp_1 = this.f52_1;
|
|
685
685
|
tmp = isInterface(tmp_1, StringFormat);
|
|
686
686
|
}
|
|
687
687
|
// Inline function 'kotlin.require' call
|
|
688
688
|
if (!tmp) {
|
|
689
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
689
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.f52_1) + ' is not supported.';
|
|
690
690
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
|
-
protoOf(KotlinxSerializationConverter).
|
|
694
|
-
return this.
|
|
693
|
+
protoOf(KotlinxSerializationConverter).u52 = function (contentType, charset, typeInfo, value, $completion) {
|
|
694
|
+
return this.v52(contentType, charset, typeInfo, value, $completion);
|
|
695
695
|
};
|
|
696
|
-
protoOf(KotlinxSerializationConverter).
|
|
697
|
-
return this.
|
|
696
|
+
protoOf(KotlinxSerializationConverter).r4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
697
|
+
return this.u52(contentType, charset, typeInfo, value, $completion);
|
|
698
698
|
};
|
|
699
|
-
protoOf(KotlinxSerializationConverter).
|
|
699
|
+
protoOf(KotlinxSerializationConverter).v52 = function (contentType, charset, typeInfo, value, $completion) {
|
|
700
700
|
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
701
701
|
tmp.u8_1 = Unit_instance;
|
|
702
702
|
tmp.v8_1 = null;
|
|
703
703
|
return tmp.a9();
|
|
704
704
|
};
|
|
705
|
-
protoOf(KotlinxSerializationConverter).
|
|
706
|
-
return this.
|
|
705
|
+
protoOf(KotlinxSerializationConverter).s4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
706
|
+
return this.v52(contentType, charset, typeInfo, value, $completion);
|
|
707
707
|
};
|
|
708
|
-
protoOf(KotlinxSerializationConverter).
|
|
708
|
+
protoOf(KotlinxSerializationConverter).t4t = function (charset, typeInfo, content, $completion) {
|
|
709
709
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
710
710
|
tmp.u8_1 = Unit_instance;
|
|
711
711
|
tmp.v8_1 = null;
|
|
@@ -713,7 +713,7 @@
|
|
|
713
713
|
};
|
|
714
714
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
715
715
|
var module_0 = _this__u8e3s4;
|
|
716
|
-
var tmp0_safe_receiver = typeInfo.
|
|
716
|
+
var tmp0_safe_receiver = typeInfo.e3c_1;
|
|
717
717
|
var tmp;
|
|
718
718
|
if (tmp0_safe_receiver == null) {
|
|
719
719
|
tmp = null;
|
|
@@ -730,13 +730,13 @@
|
|
|
730
730
|
var tmp2_elvis_lhs = tmp;
|
|
731
731
|
var tmp_1;
|
|
732
732
|
if (tmp2_elvis_lhs == null) {
|
|
733
|
-
var tmp1_safe_receiver = module_0.
|
|
733
|
+
var tmp1_safe_receiver = module_0.lp(typeInfo.c3c_1);
|
|
734
734
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
735
735
|
} else {
|
|
736
736
|
tmp_1 = tmp2_elvis_lhs;
|
|
737
737
|
}
|
|
738
738
|
var tmp3_elvis_lhs = tmp_1;
|
|
739
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
739
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.c3c_1), typeInfo) : tmp3_elvis_lhs;
|
|
740
740
|
}
|
|
741
741
|
function guessSerializer(value, module_0) {
|
|
742
742
|
var tmp;
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
var valueSerializer = elementSerializer(value.e2(), module_0);
|
|
767
767
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
768
768
|
} else {
|
|
769
|
-
var tmp3_elvis_lhs = module_0.
|
|
769
|
+
var tmp3_elvis_lhs = module_0.lp(getKClassFromExpression(value));
|
|
770
770
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
771
771
|
}
|
|
772
772
|
}
|
|
@@ -778,7 +778,7 @@
|
|
|
778
778
|
}
|
|
779
779
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
780
780
|
var tmp;
|
|
781
|
-
var tmp0_safe_receiver = typeInfo.
|
|
781
|
+
var tmp0_safe_receiver = typeInfo.e3c_1;
|
|
782
782
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ta()) === true) {
|
|
783
783
|
tmp = get_nullable(_this__u8e3s4);
|
|
784
784
|
} else {
|
|
@@ -803,7 +803,7 @@
|
|
|
803
803
|
var _iterator__ex2g4s_0 = destination.l();
|
|
804
804
|
while (_iterator__ex2g4s_0.m()) {
|
|
805
805
|
var e = _iterator__ex2g4s_0.n();
|
|
806
|
-
var key = e.
|
|
806
|
+
var key = e.co().dp();
|
|
807
807
|
if (set.j(key)) {
|
|
808
808
|
list.j(e);
|
|
809
809
|
}
|
|
@@ -816,7 +816,7 @@
|
|
|
816
816
|
var _iterator__ex2g4s_1 = serializers.l();
|
|
817
817
|
while (_iterator__ex2g4s_1.m()) {
|
|
818
818
|
var item_0 = _iterator__ex2g4s_1.n();
|
|
819
|
-
var tmp$ret$5 = item_0.
|
|
819
|
+
var tmp$ret$5 = item_0.co().dp();
|
|
820
820
|
destination_0.j(tmp$ret$5);
|
|
821
821
|
}
|
|
822
822
|
// Inline function 'kotlin.error' call
|
|
@@ -825,7 +825,7 @@
|
|
|
825
825
|
}
|
|
826
826
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
827
827
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
828
|
-
if (selected.
|
|
828
|
+
if (selected.co().pp()) {
|
|
829
829
|
return selected;
|
|
830
830
|
}
|
|
831
831
|
if (!isInterface(selected, KSerializer))
|