game_client_logic_deb 1.8.387 → 1.8.388
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 +53 -53
- package/Kosi-Kodein-kodein-di.js +516 -516
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1389 -1389
- package/Logic_Debertz-core.js +1106 -1097
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +11099 -10937
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +3403 -3390
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlinx-coroutines-core.js +1262 -1218
- package/kotlinx-coroutines-core.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1431 -1431
- package/ktor-ktor-client-logging.js +269 -269
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +595 -595
- package/ktor-ktor-io.js +1208 -1208
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/ktor-ktor-serialization-kotlinx.js +128 -128
- package/ktor-ktor-serialization.js +63 -63
- package/ktor-ktor-utils.js +477 -477
- package/ktor-ktor-websockets.js +40 -40
- package/package.json +1 -1
- package/random-library-secure-random.js +1 -1
- package/raspberry-cardgame-lib-core.js +164 -164
- package/raspberry-cardgame-lib-random.js +552 -552
- package/uuid.js +11 -11
|
@@ -36,7 +36,7 @@
|
|
|
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().t3c_1 : contentType;
|
|
40
40
|
_init_properties_JsonSupport_kt__yf438r();
|
|
41
41
|
serialization(_this__u8e3s4, contentType, json);
|
|
42
42
|
}
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
48
48
|
var equals = kotlin_kotlin.$_$.bc;
|
|
49
49
|
var FunctionAdapter = kotlin_kotlin.$_$.ob;
|
|
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.$_$.hc;
|
|
52
52
|
var initMetadataForClass = kotlin_kotlin.$_$.ic;
|
|
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.$_$.t;
|
|
55
55
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
56
56
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
57
57
|
var discard = kotlin_io_ktor_ktor_io.$_$.w;
|
|
@@ -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.m4y(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.p4t(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.v4y_1 = $$this$unsafeFlow;
|
|
124
|
+
this.w4y_1 = $contentType;
|
|
125
|
+
this.x4y_1 = $charset;
|
|
126
|
+
this.y4y_1 = $typeInfo;
|
|
127
|
+
this.z4y_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).u4u = function (value, $completion) {
|
|
131
|
+
var tmp = this.v4u(value, $completion);
|
|
132
132
|
tmp.t8_1 = Unit_instance;
|
|
133
133
|
tmp.u8_1 = null;
|
|
134
134
|
return tmp.z8();
|
|
135
135
|
};
|
|
136
136
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).h9 = function (p1, $completion) {
|
|
137
|
-
return this.
|
|
137
|
+
return this.u4u((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
138
138
|
};
|
|
139
139
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).z8 = function () {
|
|
140
140
|
var suspendResult = this.t8_1;
|
|
@@ -144,11 +144,11 @@
|
|
|
144
144
|
switch (tmp) {
|
|
145
145
|
case 0:
|
|
146
146
|
this.s8_1 = 3;
|
|
147
|
-
var tmp0 = this.
|
|
148
|
-
var tmp2 = this.
|
|
149
|
-
this.
|
|
147
|
+
var tmp0 = this.v4y_1;
|
|
148
|
+
var tmp2 = this.a4z_1;
|
|
149
|
+
this.b4z_1 = tmp0;
|
|
150
150
|
this.r8_1 = 1;
|
|
151
|
-
suspendResult = tmp2.
|
|
151
|
+
suspendResult = tmp2.c4z(this.w4y_1, this.x4y_1, this.y4y_1, this.z4y_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.r8_1 = 2;
|
|
160
|
-
suspendResult = this.
|
|
160
|
+
suspendResult = this.b4z_1.z27(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).v4u = function (value, completion) {
|
|
183
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.v4y_1, this.w4y_1, this.x4y_1, this.y4y_1, this.z4y_1, completion);
|
|
184
|
+
i.a4z_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.u4u(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.l4z_1 = _this__u8e3s4;
|
|
198
|
+
this.m4z_1 = collector;
|
|
199
199
|
}
|
|
200
200
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
201
201
|
var suspendResult = this.t8_1;
|
|
@@ -205,10 +205,10 @@
|
|
|
205
205
|
switch (tmp) {
|
|
206
206
|
case 0:
|
|
207
207
|
this.s8_1 = 2;
|
|
208
|
-
var $this$unsafeFlow = this.
|
|
208
|
+
var $this$unsafeFlow = this.m4z_1;
|
|
209
209
|
this.r8_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.l4z_1.o4z_1, this.l4z_1.p4z_1, this.l4z_1.q4z_1, this.l4z_1.r4z_1, null);
|
|
211
|
+
suspendResult = this.l4z_1.n4z_1.l27(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.a50_1 = $$this$unsafeFlow;
|
|
235
|
+
this.b50_1 = $charset;
|
|
236
|
+
this.c50_1 = $typeInfo;
|
|
237
|
+
this.d50_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).u4u = function (value, $completion) {
|
|
241
|
+
var tmp = this.v4u(value, $completion);
|
|
242
242
|
tmp.t8_1 = Unit_instance;
|
|
243
243
|
tmp.u8_1 = null;
|
|
244
244
|
return tmp.z8();
|
|
245
245
|
};
|
|
246
246
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h9 = function (p1, $completion) {
|
|
247
|
-
return this.
|
|
247
|
+
return this.u4u((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
248
248
|
};
|
|
249
249
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z8 = function () {
|
|
250
250
|
var suspendResult = this.t8_1;
|
|
@@ -254,11 +254,11 @@
|
|
|
254
254
|
switch (tmp) {
|
|
255
255
|
case 0:
|
|
256
256
|
this.s8_1 = 3;
|
|
257
|
-
var tmp0 = this.
|
|
258
|
-
var tmp2 = this.
|
|
259
|
-
this.
|
|
257
|
+
var tmp0 = this.a50_1;
|
|
258
|
+
var tmp2 = this.e50_1;
|
|
259
|
+
this.f50_1 = tmp0;
|
|
260
260
|
this.r8_1 = 1;
|
|
261
|
-
suspendResult = tmp2.
|
|
261
|
+
suspendResult = tmp2.s4t(this.b50_1, this.c50_1, this.d50_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.r8_1 = 2;
|
|
270
|
-
suspendResult = this.
|
|
270
|
+
suspendResult = this.f50_1.z27(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).v4u = function (value, completion) {
|
|
293
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.a50_1, this.b50_1, this.c50_1, this.d50_1, completion);
|
|
294
|
+
i.e50_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.u4u(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.o50_1 = _this__u8e3s4;
|
|
308
|
+
this.p50_1 = collector;
|
|
309
309
|
}
|
|
310
310
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
311
311
|
var suspendResult = this.t8_1;
|
|
@@ -315,10 +315,10 @@
|
|
|
315
315
|
switch (tmp) {
|
|
316
316
|
case 0:
|
|
317
317
|
this.s8_1 = 2;
|
|
318
|
-
var $this$unsafeFlow = this.
|
|
318
|
+
var $this$unsafeFlow = this.p50_1;
|
|
319
319
|
this.r8_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.o50_1.r50_1, this.o50_1.s50_1, this.o50_1.t50_1, null);
|
|
321
|
+
suspendResult = this.o50_1.q50_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
322
322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
323
323
|
return suspendResult;
|
|
324
324
|
}
|
|
@@ -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.u50_1 = function_0;
|
|
361
361
|
}
|
|
362
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
363
|
-
return this.
|
|
362
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).z27 = function (value, $completion) {
|
|
363
|
+
return this.u50_1(value, $completion);
|
|
364
364
|
};
|
|
365
365
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
366
|
-
return this.
|
|
366
|
+
return this.u50_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.a3());
|
|
385
385
|
};
|
|
386
386
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
387
|
-
this.
|
|
387
|
+
this.v50_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).z27 = function (value, $completion) {
|
|
390
|
+
return this.v50_1(value, $completion);
|
|
391
391
|
};
|
|
392
392
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
393
|
-
return this.
|
|
393
|
+
return this.v50_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.a3());
|
|
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.n4z_1 = $this;
|
|
415
|
+
this.o4z_1 = $contentType;
|
|
416
|
+
this.p4z_1 = $charset;
|
|
417
|
+
this.q4z_1 = $typeInfo;
|
|
418
|
+
this.r4z_1 = $value;
|
|
419
419
|
}
|
|
420
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
420
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).a28 = function (collector, $completion) {
|
|
421
421
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
422
422
|
tmp.t8_1 = Unit_instance;
|
|
423
423
|
tmp.u8_1 = null;
|
|
424
424
|
return tmp.z8();
|
|
425
425
|
};
|
|
426
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
427
|
-
return this.
|
|
426
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).l27 = function (collector, $completion) {
|
|
427
|
+
return this.a28(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).f51 = function (it, $completion) {
|
|
433
|
+
var tmp = this.g51(it, $completion);
|
|
434
434
|
tmp.t8_1 = Unit_instance;
|
|
435
435
|
tmp.u8_1 = null;
|
|
436
436
|
return tmp.z8();
|
|
437
437
|
};
|
|
438
438
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).h9 = function (p1, $completion) {
|
|
439
|
-
return this.
|
|
439
|
+
return this.f51((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
440
440
|
};
|
|
441
441
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z8 = function () {
|
|
442
442
|
var suspendResult = this.t8_1;
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
var tmp = this.r8_1;
|
|
446
446
|
if (tmp === 0) {
|
|
447
447
|
this.s8_1 = 1;
|
|
448
|
-
return !(this.
|
|
448
|
+
return !(this.e51_1 == null);
|
|
449
449
|
} else if (tmp === 1) {
|
|
450
450
|
throw this.u8_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).g51 = function (it, completion) {
|
|
459
459
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
460
|
-
i.
|
|
460
|
+
i.e51_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.f51(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.q50_1 = $this;
|
|
473
|
+
this.r50_1 = $charset;
|
|
474
|
+
this.s50_1 = $typeInfo;
|
|
475
|
+
this.t50_1 = $content;
|
|
476
476
|
}
|
|
477
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
477
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).a28 = function (collector, $completion) {
|
|
478
478
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
479
479
|
tmp.t8_1 = Unit_instance;
|
|
480
480
|
tmp.u8_1 = null;
|
|
481
481
|
return tmp.z8();
|
|
482
482
|
};
|
|
483
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
484
|
-
return this.
|
|
483
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).l27 = function (collector, $completion) {
|
|
484
|
+
return this.a28(collector, $completion);
|
|
485
485
|
};
|
|
486
486
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
487
|
-
this.
|
|
487
|
+
this.p51_1 = $content;
|
|
488
488
|
CoroutineImpl.call(this, resultContinuation);
|
|
489
489
|
}
|
|
490
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
491
|
-
var tmp = this.
|
|
490
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).u4v = function (it, $completion) {
|
|
491
|
+
var tmp = this.v4u(it, $completion);
|
|
492
492
|
tmp.t8_1 = Unit_instance;
|
|
493
493
|
tmp.u8_1 = null;
|
|
494
494
|
return tmp.z8();
|
|
495
495
|
};
|
|
496
496
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).h9 = function (p1, $completion) {
|
|
497
|
-
return this.
|
|
497
|
+
return this.u4v((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
498
498
|
};
|
|
499
499
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).z8 = function () {
|
|
500
500
|
var suspendResult = this.t8_1;
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
var tmp = this.r8_1;
|
|
504
504
|
if (tmp === 0) {
|
|
505
505
|
this.s8_1 = 1;
|
|
506
|
-
return !(this.
|
|
506
|
+
return !(this.q51_1 == null) || this.p51_1.o2q();
|
|
507
507
|
} else if (tmp === 1) {
|
|
508
508
|
throw this.u8_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).v4u = function (it, completion) {
|
|
517
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.p51_1, completion);
|
|
518
|
+
i.q51_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.u4v(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.z51_1 = _this__u8e3s4;
|
|
532
|
+
this.a52_1 = contentType;
|
|
533
|
+
this.b52_1 = charset;
|
|
534
|
+
this.c52_1 = typeInfo;
|
|
535
|
+
this.d52_1 = value;
|
|
536
536
|
}
|
|
537
537
|
protoOf($serializeNullableCOROUTINE$).z8 = function () {
|
|
538
538
|
var suspendResult = this.t8_1;
|
|
@@ -543,8 +543,8 @@
|
|
|
543
543
|
case 0:
|
|
544
544
|
this.s8_1 = 2;
|
|
545
545
|
this.r8_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.z51_1.f52_1);
|
|
547
|
+
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.a52_1, this.b52_1, this.c52_1, this.d52_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.z51_1.e52_1.ds(), this.c52_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.d52_1, this.z51_1.e52_1.ds());
|
|
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.z51_1, serializer, this.z51_1.e52_1, this.d52_1, this.a52_1, this.b52_1);
|
|
574
574
|
case 2:
|
|
575
575
|
throw this.u8_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.o52_1 = _this__u8e3s4;
|
|
591
|
+
this.p52_1 = charset;
|
|
592
|
+
this.q52_1 = typeInfo;
|
|
593
|
+
this.r52_1 = content;
|
|
594
594
|
}
|
|
595
595
|
protoOf($deserializeCOROUTINE$).z8 = function () {
|
|
596
596
|
var suspendResult = this.t8_1;
|
|
@@ -601,9 +601,9 @@
|
|
|
601
601
|
case 0:
|
|
602
602
|
this.s8_1 = 5;
|
|
603
603
|
this.r8_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.o52_1.f52_1);
|
|
605
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.p52_1, this.q52_1, this.r52_1);
|
|
606
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.r52_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.o52_1.f52_1.r()) {
|
|
616
|
+
tmp_1 = !(fromExtension == null) || this.r52_1.o2q();
|
|
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.s52_1 = serializerForTypeInfo(this.o52_1.e52_1.ds(), this.q52_1);
|
|
624
624
|
this.r8_1 = 2;
|
|
625
|
-
suspendResult = this.
|
|
625
|
+
suspendResult = this.r52_1.f2w(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.s8_1 = 3;
|
|
634
|
-
var tmp0_subject = this.
|
|
634
|
+
var tmp0_subject = this.o52_1.e52_1;
|
|
635
635
|
var tmp_2;
|
|
636
636
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
637
|
-
tmp_2 = this.
|
|
637
|
+
tmp_2 = this.o52_1.e52_1.fp(this.s52_1, readText(contentPacket, this.p52_1));
|
|
638
638
|
} else {
|
|
639
639
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
640
|
-
tmp_2 = this.
|
|
640
|
+
tmp_2 = this.o52_1.e52_1.hp(this.s52_1, readBytes(contentPacket));
|
|
641
641
|
} else {
|
|
642
642
|
discard(contentPacket);
|
|
643
|
-
var message = 'Unsupported format ' + toString(this.
|
|
643
|
+
var message = 'Unsupported format ' + toString(this.o52_1.e52_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.e52_1 = format;
|
|
678
|
+
this.f52_1 = extensions(this.e52_1);
|
|
679
679
|
var tmp;
|
|
680
|
-
var tmp_0 = this.
|
|
680
|
+
var tmp_0 = this.e52_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.e52_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.e52_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).t52 = function (contentType, charset, typeInfo, value, $completion) {
|
|
694
|
+
return this.u52(contentType, charset, typeInfo, value, $completion);
|
|
695
695
|
};
|
|
696
|
-
protoOf(KotlinxSerializationConverter).
|
|
697
|
-
return this.
|
|
696
|
+
protoOf(KotlinxSerializationConverter).q4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
697
|
+
return this.t52(contentType, charset, typeInfo, value, $completion);
|
|
698
698
|
};
|
|
699
|
-
protoOf(KotlinxSerializationConverter).
|
|
699
|
+
protoOf(KotlinxSerializationConverter).u52 = function (contentType, charset, typeInfo, value, $completion) {
|
|
700
700
|
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
701
701
|
tmp.t8_1 = Unit_instance;
|
|
702
702
|
tmp.u8_1 = null;
|
|
703
703
|
return tmp.z8();
|
|
704
704
|
};
|
|
705
|
-
protoOf(KotlinxSerializationConverter).
|
|
706
|
-
return this.
|
|
705
|
+
protoOf(KotlinxSerializationConverter).r4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
706
|
+
return this.u52(contentType, charset, typeInfo, value, $completion);
|
|
707
707
|
};
|
|
708
|
-
protoOf(KotlinxSerializationConverter).
|
|
708
|
+
protoOf(KotlinxSerializationConverter).s4t = function (charset, typeInfo, content, $completion) {
|
|
709
709
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
710
710
|
tmp.t8_1 = Unit_instance;
|
|
711
711
|
tmp.u8_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.d3c_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.kp(typeInfo.
|
|
733
|
+
var tmp1_safe_receiver = module_0.kp(typeInfo.b3c_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.b3c_1), typeInfo) : tmp3_elvis_lhs;
|
|
740
740
|
}
|
|
741
741
|
function guessSerializer(value, module_0) {
|
|
742
742
|
var tmp;
|
|
@@ -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.d3c_1;
|
|
782
782
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.sa()) === true) {
|
|
783
783
|
tmp = get_nullable(_this__u8e3s4);
|
|
784
784
|
} else {
|