raspberry_games_server_game_logic 1.8.347 → 1.8.348
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 +74 -74
- package/Kosi-Kodein-kodein-di.js +635 -635
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1724 -1724
- package/Logic_Debertz-core.js +1836 -1836
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +14979 -14979
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +1599 -1599
- package/error-library-error.js +53 -0
- package/error-library-error.js.map +1 -0
- package/kotlin-kotlin-stdlib.js +2898 -2665
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +23 -23
- package/kotlinx-coroutines-core.js +2914 -2914
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +343 -343
- package/kotlinx-serialization-kotlinx-serialization-core.js +2006 -2006
- package/kotlinx-serialization-kotlinx-serialization-json.js +1537 -1537
- package/ktor-ktor-client-content-negotiation.js +214 -214
- package/ktor-ktor-client-core.js +2526 -2526
- package/ktor-ktor-client-logging.js +553 -553
- package/ktor-ktor-events.js +10 -10
- package/ktor-ktor-http.js +726 -726
- package/ktor-ktor-io.js +1624 -1624
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +277 -277
- package/ktor-ktor-serialization.js +131 -131
- package/ktor-ktor-utils.js +729 -729
- package/ktor-ktor-websockets.js +53 -53
- package/package.json +1 -1
- package/random-library-crypto-rand.js +251 -0
- package/random-library-crypto-rand.js.map +1 -0
- package/random-library-secure-random.js +93 -0
- package/random-library-secure-random.js.map +1 -0
- package/raspberry-cardgame-lib-core.js +280 -280
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +101 -101
- package/raspberry-cardgame-lib-random.js +1107 -1040
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +27 -27
- package/secure-random-secure-random.js +0 -174
- package/secure-random-secure-random.js.map +0 -1
|
@@ -28,28 +28,28 @@
|
|
|
28
28
|
'use strict';
|
|
29
29
|
//region block: imports
|
|
30
30
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
31
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
32
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
33
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
31
|
+
var Unit_instance = kotlin_kotlin.$_$.j5;
|
|
32
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ra;
|
|
33
|
+
var protoOf = kotlin_kotlin.$_$.qc;
|
|
34
34
|
var THROW_CCE = kotlin_kotlin.$_$.og;
|
|
35
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
36
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
35
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ca;
|
|
36
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.tb;
|
|
37
37
|
var VOID = kotlin_kotlin.$_$.f;
|
|
38
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
38
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.rb;
|
|
39
39
|
var toString = kotlin_kotlin.$_$.uc;
|
|
40
40
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
41
41
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
42
|
+
var isInterface = kotlin_kotlin.$_$.dc;
|
|
43
43
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.j;
|
|
44
44
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
45
45
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.k1;
|
|
46
46
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.q;
|
|
47
47
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
48
|
+
var equals = kotlin_kotlin.$_$.ib;
|
|
49
|
+
var FunctionAdapter = kotlin_kotlin.$_$.va;
|
|
50
50
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
51
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.ob;
|
|
52
|
+
var initMetadataForClass = kotlin_kotlin.$_$.pb;
|
|
53
53
|
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
54
54
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
55
55
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
|
|
@@ -65,23 +65,23 @@
|
|
|
65
65
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b3;
|
|
66
66
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
67
67
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
68
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
68
|
+
var KtMap = kotlin_kotlin.$_$.u5;
|
|
69
69
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
70
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
71
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
72
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
70
|
+
var KtSet = kotlin_kotlin.$_$.z5;
|
|
71
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.n7;
|
|
72
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.u4;
|
|
73
73
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
74
74
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
75
|
-
var isArray = kotlin_kotlin.$_$.
|
|
76
|
-
var KtList = kotlin_kotlin.$_$.
|
|
75
|
+
var isArray = kotlin_kotlin.$_$.vb;
|
|
76
|
+
var KtList = kotlin_kotlin.$_$.r5;
|
|
77
77
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
78
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
79
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
78
|
+
var filterNotNull = kotlin_kotlin.$_$.k7;
|
|
79
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.m6;
|
|
80
80
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
81
81
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
82
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
83
|
-
var Collection = kotlin_kotlin.$_$.
|
|
84
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
82
|
+
var singleOrNull = kotlin_kotlin.$_$.c9;
|
|
83
|
+
var Collection = kotlin_kotlin.$_$.l5;
|
|
84
|
+
var emptyList = kotlin_kotlin.$_$.h7;
|
|
85
85
|
//endregion
|
|
86
86
|
//region block: pre-declaration
|
|
87
87
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
var _iterator__ex2g4s = tmp0.j();
|
|
108
108
|
while (_iterator__ex2g4s.k()) {
|
|
109
109
|
var element = _iterator__ex2g4s.l();
|
|
110
|
-
var tmp0_safe_receiver = element.
|
|
110
|
+
var tmp0_safe_receiver = element.e4u(format);
|
|
111
111
|
if (tmp0_safe_receiver == null)
|
|
112
112
|
null;
|
|
113
113
|
else {
|
|
@@ -118,53 +118,53 @@
|
|
|
118
118
|
return destination;
|
|
119
119
|
}
|
|
120
120
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
121
|
-
_this__u8e3s4.
|
|
121
|
+
_this__u8e3s4.h2u(contentType, new KotlinxSerializationConverter(format));
|
|
122
122
|
}
|
|
123
123
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
124
|
+
this.n4u_1 = $$this$unsafeFlow;
|
|
125
|
+
this.o4u_1 = $contentType;
|
|
126
|
+
this.p4u_1 = $charset;
|
|
127
|
+
this.q4u_1 = $typeInfo;
|
|
128
|
+
this.r4u_1 = $value;
|
|
129
129
|
CoroutineImpl.call(this, resultContinuation);
|
|
130
130
|
}
|
|
131
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
132
|
-
var tmp = this.
|
|
133
|
-
tmp.
|
|
134
|
-
tmp.
|
|
135
|
-
return tmp.
|
|
131
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).z1k = function (value, $completion) {
|
|
132
|
+
var tmp = this.a1l(value, $completion);
|
|
133
|
+
tmp.n9_1 = Unit_instance;
|
|
134
|
+
tmp.o9_1 = null;
|
|
135
|
+
return tmp.t9();
|
|
136
136
|
};
|
|
137
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
138
|
-
return this.
|
|
137
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).da = function (p1, $completion) {
|
|
138
|
+
return this.z1k((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
139
139
|
};
|
|
140
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
141
|
-
var suspendResult = this.
|
|
140
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).t9 = function () {
|
|
141
|
+
var suspendResult = this.n9_1;
|
|
142
142
|
$sm: do
|
|
143
143
|
try {
|
|
144
|
-
var tmp = this.
|
|
144
|
+
var tmp = this.l9_1;
|
|
145
145
|
switch (tmp) {
|
|
146
146
|
case 0:
|
|
147
|
-
this.
|
|
147
|
+
this.m9_1 = 3;
|
|
148
148
|
var tmp_0 = this;
|
|
149
|
-
tmp_0.
|
|
149
|
+
tmp_0.t4u_1 = this.n4u_1;
|
|
150
150
|
var tmp_1 = this;
|
|
151
|
-
tmp_1.
|
|
152
|
-
this.
|
|
153
|
-
this.
|
|
151
|
+
tmp_1.u4u_1 = this.s4u_1;
|
|
152
|
+
this.v4u_1 = this.t4u_1;
|
|
153
|
+
this.w4u_1 = this.u4u_1;
|
|
154
154
|
var tmp_2 = this;
|
|
155
|
-
tmp_2.
|
|
156
|
-
this.
|
|
157
|
-
this.
|
|
158
|
-
suspendResult = this.
|
|
155
|
+
tmp_2.x4u_1 = this.w4u_1;
|
|
156
|
+
this.y4u_1 = this.x4u_1;
|
|
157
|
+
this.l9_1 = 1;
|
|
158
|
+
suspendResult = this.y4u_1.a4v(this.o4u_1, this.p4u_1, this.q4u_1, this.r4u_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.
|
|
166
|
-
this.
|
|
167
|
-
suspendResult = this.
|
|
165
|
+
this.z4u_1 = suspendResult;
|
|
166
|
+
this.l9_1 = 2;
|
|
167
|
+
suspendResult = this.v4u_1.c1b(this.z4u_1, this);
|
|
168
168
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
169
169
|
return suspendResult;
|
|
170
170
|
}
|
|
@@ -173,51 +173,51 @@
|
|
|
173
173
|
case 2:
|
|
174
174
|
return Unit_instance;
|
|
175
175
|
case 3:
|
|
176
|
-
throw this.
|
|
176
|
+
throw this.o9_1;
|
|
177
177
|
}
|
|
178
178
|
} catch ($p) {
|
|
179
179
|
var e = $p;
|
|
180
|
-
if (this.
|
|
180
|
+
if (this.m9_1 === 3) {
|
|
181
181
|
throw e;
|
|
182
182
|
} else {
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
183
|
+
this.l9_1 = this.m9_1;
|
|
184
|
+
this.o9_1 = e;
|
|
185
185
|
}
|
|
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).a1l = function (value, completion) {
|
|
190
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.n4u_1, this.o4u_1, this.p4u_1, this.q4u_1, this.r4u_1, completion);
|
|
191
|
+
i.s4u_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.z1k(value, $completion);
|
|
198
198
|
};
|
|
199
199
|
l.$arity = 1;
|
|
200
200
|
return l;
|
|
201
201
|
}
|
|
202
202
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
203
203
|
CoroutineImpl.call(this, resultContinuation);
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
204
|
+
this.j4v_1 = _this__u8e3s4;
|
|
205
|
+
this.k4v_1 = collector;
|
|
206
206
|
}
|
|
207
|
-
protoOf($collectCOROUTINE$).
|
|
208
|
-
var suspendResult = this.
|
|
207
|
+
protoOf($collectCOROUTINE$).t9 = function () {
|
|
208
|
+
var suspendResult = this.n9_1;
|
|
209
209
|
$sm: do
|
|
210
210
|
try {
|
|
211
|
-
var tmp = this.
|
|
211
|
+
var tmp = this.l9_1;
|
|
212
212
|
switch (tmp) {
|
|
213
213
|
case 0:
|
|
214
|
-
this.
|
|
214
|
+
this.m9_1 = 2;
|
|
215
215
|
var tmp_0 = this;
|
|
216
|
-
tmp_0.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
220
|
-
suspendResult = this.
|
|
216
|
+
tmp_0.l4v_1 = this.k4v_1;
|
|
217
|
+
this.m4v_1 = this.l4v_1;
|
|
218
|
+
this.l9_1 = 1;
|
|
219
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.m4v_1, this.j4v_1.o4v_1, this.j4v_1.p4v_1, this.j4v_1.q4v_1, this.j4v_1.r4v_1, null);
|
|
220
|
+
suspendResult = this.j4v_1.n4v_1.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
221
221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
222
222
|
return suspendResult;
|
|
223
223
|
}
|
|
@@ -226,63 +226,63 @@
|
|
|
226
226
|
case 1:
|
|
227
227
|
return Unit_instance;
|
|
228
228
|
case 2:
|
|
229
|
-
throw this.
|
|
229
|
+
throw this.o9_1;
|
|
230
230
|
}
|
|
231
231
|
} catch ($p) {
|
|
232
232
|
var e = $p;
|
|
233
|
-
if (this.
|
|
233
|
+
if (this.m9_1 === 2) {
|
|
234
234
|
throw e;
|
|
235
235
|
} else {
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
236
|
+
this.l9_1 = this.m9_1;
|
|
237
|
+
this.o9_1 = e;
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
while (true);
|
|
241
241
|
};
|
|
242
242
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
243
|
+
this.a4w_1 = $$this$unsafeFlow;
|
|
244
|
+
this.b4w_1 = $charset;
|
|
245
|
+
this.c4w_1 = $typeInfo;
|
|
246
|
+
this.d4w_1 = $content;
|
|
247
247
|
CoroutineImpl.call(this, resultContinuation);
|
|
248
248
|
}
|
|
249
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
250
|
-
var tmp = this.
|
|
251
|
-
tmp.
|
|
252
|
-
tmp.
|
|
253
|
-
return tmp.
|
|
249
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z1k = function (value, $completion) {
|
|
250
|
+
var tmp = this.a1l(value, $completion);
|
|
251
|
+
tmp.n9_1 = Unit_instance;
|
|
252
|
+
tmp.o9_1 = null;
|
|
253
|
+
return tmp.t9();
|
|
254
254
|
};
|
|
255
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
256
|
-
return this.
|
|
255
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).da = function (p1, $completion) {
|
|
256
|
+
return this.z1k((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
257
257
|
};
|
|
258
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
259
|
-
var suspendResult = this.
|
|
258
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).t9 = function () {
|
|
259
|
+
var suspendResult = this.n9_1;
|
|
260
260
|
$sm: do
|
|
261
261
|
try {
|
|
262
|
-
var tmp = this.
|
|
262
|
+
var tmp = this.l9_1;
|
|
263
263
|
switch (tmp) {
|
|
264
264
|
case 0:
|
|
265
|
-
this.
|
|
265
|
+
this.m9_1 = 3;
|
|
266
266
|
var tmp_0 = this;
|
|
267
|
-
tmp_0.
|
|
267
|
+
tmp_0.f4w_1 = this.a4w_1;
|
|
268
268
|
var tmp_1 = this;
|
|
269
|
-
tmp_1.
|
|
270
|
-
this.
|
|
271
|
-
this.
|
|
269
|
+
tmp_1.g4w_1 = this.e4w_1;
|
|
270
|
+
this.h4w_1 = this.f4w_1;
|
|
271
|
+
this.i4w_1 = this.g4w_1;
|
|
272
272
|
var tmp_2 = this;
|
|
273
|
-
tmp_2.
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
276
|
-
suspendResult = this.
|
|
273
|
+
tmp_2.j4w_1 = this.i4w_1;
|
|
274
|
+
this.k4w_1 = this.j4w_1;
|
|
275
|
+
this.l9_1 = 1;
|
|
276
|
+
suspendResult = this.k4w_1.k2u(this.b4w_1, this.c4w_1, this.d4w_1, this);
|
|
277
277
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
278
278
|
return suspendResult;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
continue $sm;
|
|
282
282
|
case 1:
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
285
|
-
suspendResult = this.
|
|
283
|
+
this.l4w_1 = suspendResult;
|
|
284
|
+
this.l9_1 = 2;
|
|
285
|
+
suspendResult = this.h4w_1.c1b(this.l4w_1, this);
|
|
286
286
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
287
287
|
return suspendResult;
|
|
288
288
|
}
|
|
@@ -291,51 +291,51 @@
|
|
|
291
291
|
case 2:
|
|
292
292
|
return Unit_instance;
|
|
293
293
|
case 3:
|
|
294
|
-
throw this.
|
|
294
|
+
throw this.o9_1;
|
|
295
295
|
}
|
|
296
296
|
} catch ($p) {
|
|
297
297
|
var e = $p;
|
|
298
|
-
if (this.
|
|
298
|
+
if (this.m9_1 === 3) {
|
|
299
299
|
throw e;
|
|
300
300
|
} else {
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
301
|
+
this.l9_1 = this.m9_1;
|
|
302
|
+
this.o9_1 = e;
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
while (true);
|
|
306
306
|
};
|
|
307
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
308
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
309
|
-
i.
|
|
307
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).a1l = function (value, completion) {
|
|
308
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.a4w_1, this.b4w_1, this.c4w_1, this.d4w_1, completion);
|
|
309
|
+
i.e4w_1 = value;
|
|
310
310
|
return i;
|
|
311
311
|
};
|
|
312
312
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
313
313
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
314
314
|
var l = function (value, $completion) {
|
|
315
|
-
return i.
|
|
315
|
+
return i.z1k(value, $completion);
|
|
316
316
|
};
|
|
317
317
|
l.$arity = 1;
|
|
318
318
|
return l;
|
|
319
319
|
}
|
|
320
320
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
321
321
|
CoroutineImpl.call(this, resultContinuation);
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
322
|
+
this.u4w_1 = _this__u8e3s4;
|
|
323
|
+
this.v4w_1 = collector;
|
|
324
324
|
}
|
|
325
|
-
protoOf($collectCOROUTINE$_0).
|
|
326
|
-
var suspendResult = this.
|
|
325
|
+
protoOf($collectCOROUTINE$_0).t9 = function () {
|
|
326
|
+
var suspendResult = this.n9_1;
|
|
327
327
|
$sm: do
|
|
328
328
|
try {
|
|
329
|
-
var tmp = this.
|
|
329
|
+
var tmp = this.l9_1;
|
|
330
330
|
switch (tmp) {
|
|
331
331
|
case 0:
|
|
332
|
-
this.
|
|
332
|
+
this.m9_1 = 2;
|
|
333
333
|
var tmp_0 = this;
|
|
334
|
-
tmp_0.
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
337
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
338
|
-
suspendResult = this.
|
|
334
|
+
tmp_0.w4w_1 = this.v4w_1;
|
|
335
|
+
this.x4w_1 = this.w4w_1;
|
|
336
|
+
this.l9_1 = 1;
|
|
337
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.x4w_1, this.u4w_1.z4w_1, this.u4w_1.a4x_1, this.u4w_1.b4x_1, null);
|
|
338
|
+
suspendResult = this.u4w_1.y4w_1.w19(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
339
339
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
340
340
|
return suspendResult;
|
|
341
341
|
}
|
|
@@ -344,15 +344,15 @@
|
|
|
344
344
|
case 1:
|
|
345
345
|
return Unit_instance;
|
|
346
346
|
case 2:
|
|
347
|
-
throw this.
|
|
347
|
+
throw this.o9_1;
|
|
348
348
|
}
|
|
349
349
|
} catch ($p) {
|
|
350
350
|
var e = $p;
|
|
351
|
-
if (this.
|
|
351
|
+
if (this.m9_1 === 2) {
|
|
352
352
|
throw e;
|
|
353
353
|
} else {
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
354
|
+
this.l9_1 = this.m9_1;
|
|
355
|
+
this.o9_1 = e;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
while (true);
|
|
@@ -360,11 +360,11 @@
|
|
|
360
360
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
361
361
|
var tmp;
|
|
362
362
|
if (isInterface(format, StringFormat)) {
|
|
363
|
-
var content = format.
|
|
363
|
+
var content = format.y49(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
364
364
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
365
365
|
} else {
|
|
366
366
|
if (isInterface(format, BinaryFormat)) {
|
|
367
|
-
var content_0 = format.
|
|
367
|
+
var content_0 = format.a4a(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
368
368
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
369
369
|
} else {
|
|
370
370
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -374,20 +374,20 @@
|
|
|
374
374
|
return tmp;
|
|
375
375
|
}
|
|
376
376
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
377
|
-
this.
|
|
377
|
+
this.c4x_1 = function_0;
|
|
378
378
|
}
|
|
379
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
380
|
-
return this.
|
|
379
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).c1b = function (value, $completion) {
|
|
380
|
+
return this.c4x_1(value, $completion);
|
|
381
381
|
};
|
|
382
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
383
|
-
return this.
|
|
382
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).u3 = function () {
|
|
383
|
+
return this.c4x_1;
|
|
384
384
|
};
|
|
385
385
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
386
386
|
var tmp;
|
|
387
387
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
388
388
|
var tmp_0;
|
|
389
389
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
390
|
-
tmp_0 = equals(this.
|
|
390
|
+
tmp_0 = equals(this.u3(), other.u3());
|
|
391
391
|
} else {
|
|
392
392
|
tmp_0 = false;
|
|
393
393
|
}
|
|
@@ -398,23 +398,23 @@
|
|
|
398
398
|
return tmp;
|
|
399
399
|
};
|
|
400
400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
401
|
-
return hashCode(this.
|
|
401
|
+
return hashCode(this.u3());
|
|
402
402
|
};
|
|
403
403
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
404
|
-
this.
|
|
404
|
+
this.d4x_1 = function_0;
|
|
405
405
|
}
|
|
406
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
407
|
-
return this.
|
|
406
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).c1b = function (value, $completion) {
|
|
407
|
+
return this.d4x_1(value, $completion);
|
|
408
408
|
};
|
|
409
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
410
|
-
return this.
|
|
409
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).u3 = function () {
|
|
410
|
+
return this.d4x_1;
|
|
411
411
|
};
|
|
412
412
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
413
413
|
var tmp;
|
|
414
414
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
415
415
|
var tmp_0;
|
|
416
416
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
417
|
-
tmp_0 = equals(this.
|
|
417
|
+
tmp_0 = equals(this.u3(), other.u3());
|
|
418
418
|
} else {
|
|
419
419
|
tmp_0 = false;
|
|
420
420
|
}
|
|
@@ -425,46 +425,46 @@
|
|
|
425
425
|
return tmp;
|
|
426
426
|
};
|
|
427
427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
428
|
-
return hashCode(this.
|
|
428
|
+
return hashCode(this.u3());
|
|
429
429
|
};
|
|
430
430
|
function KotlinxSerializationConverter$serializeNullable$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
431
|
+
this.n4v_1 = $this;
|
|
432
|
+
this.o4v_1 = $contentType;
|
|
433
|
+
this.p4v_1 = $charset;
|
|
434
|
+
this.q4v_1 = $typeInfo;
|
|
435
|
+
this.r4v_1 = $value;
|
|
436
436
|
}
|
|
437
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
437
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).d1b = function (collector, $completion) {
|
|
438
438
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
439
|
-
tmp.
|
|
440
|
-
tmp.
|
|
441
|
-
return tmp.
|
|
439
|
+
tmp.n9_1 = Unit_instance;
|
|
440
|
+
tmp.o9_1 = null;
|
|
441
|
+
return tmp.t9();
|
|
442
442
|
};
|
|
443
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
444
|
-
return this.
|
|
443
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).w19 = function (collector, $completion) {
|
|
444
|
+
return this.d1b(collector, $completion);
|
|
445
445
|
};
|
|
446
446
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
447
447
|
CoroutineImpl.call(this, resultContinuation);
|
|
448
448
|
}
|
|
449
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
450
|
-
var tmp = this.
|
|
451
|
-
tmp.
|
|
452
|
-
tmp.
|
|
453
|
-
return tmp.
|
|
449
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).n4x = function (it, $completion) {
|
|
450
|
+
var tmp = this.o4x(it, $completion);
|
|
451
|
+
tmp.n9_1 = Unit_instance;
|
|
452
|
+
tmp.o9_1 = null;
|
|
453
|
+
return tmp.t9();
|
|
454
454
|
};
|
|
455
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
456
|
-
return this.
|
|
455
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).da = function (p1, $completion) {
|
|
456
|
+
return this.n4x((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
457
457
|
};
|
|
458
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
459
|
-
var suspendResult = this.
|
|
458
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).t9 = function () {
|
|
459
|
+
var suspendResult = this.n9_1;
|
|
460
460
|
$sm: do
|
|
461
461
|
try {
|
|
462
|
-
var tmp = this.
|
|
462
|
+
var tmp = this.l9_1;
|
|
463
463
|
if (tmp === 0) {
|
|
464
|
-
this.
|
|
465
|
-
return !(this.
|
|
464
|
+
this.m9_1 = 1;
|
|
465
|
+
return !(this.m4x_1 == null);
|
|
466
466
|
} else if (tmp === 1) {
|
|
467
|
-
throw this.
|
|
467
|
+
throw this.o9_1;
|
|
468
468
|
}
|
|
469
469
|
} catch ($p) {
|
|
470
470
|
var e = $p;
|
|
@@ -472,57 +472,57 @@
|
|
|
472
472
|
}
|
|
473
473
|
while (true);
|
|
474
474
|
};
|
|
475
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
475
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).o4x = function (it, completion) {
|
|
476
476
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
477
|
-
i.
|
|
477
|
+
i.m4x_1 = it;
|
|
478
478
|
return i;
|
|
479
479
|
};
|
|
480
480
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
481
481
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
482
482
|
var l = function (it, $completion) {
|
|
483
|
-
return i.
|
|
483
|
+
return i.n4x(it, $completion);
|
|
484
484
|
};
|
|
485
485
|
l.$arity = 1;
|
|
486
486
|
return l;
|
|
487
487
|
}
|
|
488
488
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
489
|
-
this.
|
|
490
|
-
this.
|
|
491
|
-
this.
|
|
492
|
-
this.
|
|
489
|
+
this.y4w_1 = $this;
|
|
490
|
+
this.z4w_1 = $charset;
|
|
491
|
+
this.a4x_1 = $typeInfo;
|
|
492
|
+
this.b4x_1 = $content;
|
|
493
493
|
}
|
|
494
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
494
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).d1b = function (collector, $completion) {
|
|
495
495
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
496
|
-
tmp.
|
|
497
|
-
tmp.
|
|
498
|
-
return tmp.
|
|
496
|
+
tmp.n9_1 = Unit_instance;
|
|
497
|
+
tmp.o9_1 = null;
|
|
498
|
+
return tmp.t9();
|
|
499
499
|
};
|
|
500
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
501
|
-
return this.
|
|
500
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).w19 = function (collector, $completion) {
|
|
501
|
+
return this.d1b(collector, $completion);
|
|
502
502
|
};
|
|
503
503
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
504
|
-
this.
|
|
504
|
+
this.x4x_1 = $content;
|
|
505
505
|
CoroutineImpl.call(this, resultContinuation);
|
|
506
506
|
}
|
|
507
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
508
|
-
var tmp = this.
|
|
509
|
-
tmp.
|
|
510
|
-
tmp.
|
|
511
|
-
return tmp.
|
|
507
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).s2w = function (it, $completion) {
|
|
508
|
+
var tmp = this.a1l(it, $completion);
|
|
509
|
+
tmp.n9_1 = Unit_instance;
|
|
510
|
+
tmp.o9_1 = null;
|
|
511
|
+
return tmp.t9();
|
|
512
512
|
};
|
|
513
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
514
|
-
return this.
|
|
513
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).da = function (p1, $completion) {
|
|
514
|
+
return this.s2w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
515
515
|
};
|
|
516
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
517
|
-
var suspendResult = this.
|
|
516
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).t9 = function () {
|
|
517
|
+
var suspendResult = this.n9_1;
|
|
518
518
|
$sm: do
|
|
519
519
|
try {
|
|
520
|
-
var tmp = this.
|
|
520
|
+
var tmp = this.l9_1;
|
|
521
521
|
if (tmp === 0) {
|
|
522
|
-
this.
|
|
523
|
-
return !(this.
|
|
522
|
+
this.m9_1 = 1;
|
|
523
|
+
return !(this.y4x_1 == null) || this.x4x_1.c1v();
|
|
524
524
|
} else if (tmp === 1) {
|
|
525
|
-
throw this.
|
|
525
|
+
throw this.o9_1;
|
|
526
526
|
}
|
|
527
527
|
} catch ($p) {
|
|
528
528
|
var e = $p;
|
|
@@ -530,38 +530,38 @@
|
|
|
530
530
|
}
|
|
531
531
|
while (true);
|
|
532
532
|
};
|
|
533
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
534
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
535
|
-
i.
|
|
533
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).a1l = function (it, completion) {
|
|
534
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.x4x_1, completion);
|
|
535
|
+
i.y4x_1 = it;
|
|
536
536
|
return i;
|
|
537
537
|
};
|
|
538
538
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
539
539
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
540
540
|
var l = function (it, $completion) {
|
|
541
|
-
return i.
|
|
541
|
+
return i.s2w(it, $completion);
|
|
542
542
|
};
|
|
543
543
|
l.$arity = 1;
|
|
544
544
|
return l;
|
|
545
545
|
}
|
|
546
546
|
function $serializeNullableCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
547
547
|
CoroutineImpl.call(this, resultContinuation);
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
552
|
-
this.
|
|
548
|
+
this.h4y_1 = _this__u8e3s4;
|
|
549
|
+
this.i4y_1 = contentType;
|
|
550
|
+
this.j4y_1 = charset;
|
|
551
|
+
this.k4y_1 = typeInfo;
|
|
552
|
+
this.l4y_1 = value;
|
|
553
553
|
}
|
|
554
|
-
protoOf($serializeNullableCOROUTINE$).
|
|
555
|
-
var suspendResult = this.
|
|
554
|
+
protoOf($serializeNullableCOROUTINE$).t9 = function () {
|
|
555
|
+
var suspendResult = this.n9_1;
|
|
556
556
|
$sm: do
|
|
557
557
|
try {
|
|
558
|
-
var tmp = this.
|
|
558
|
+
var tmp = this.l9_1;
|
|
559
559
|
switch (tmp) {
|
|
560
560
|
case 0:
|
|
561
|
-
this.
|
|
562
|
-
this.
|
|
563
|
-
var this_0 = asFlow(this.
|
|
564
|
-
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.
|
|
561
|
+
this.m9_1 = 2;
|
|
562
|
+
this.l9_1 = 1;
|
|
563
|
+
var this_0 = asFlow(this.h4y_1.n4y_1);
|
|
564
|
+
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.i4y_1, this.j4y_1, this.k4y_1, this.l4y_1);
|
|
565
565
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
566
566
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
567
567
|
return suspendResult;
|
|
@@ -574,12 +574,12 @@
|
|
|
574
574
|
return fromExtension;
|
|
575
575
|
var tmp_1;
|
|
576
576
|
try {
|
|
577
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
577
|
+
tmp_1 = serializerForTypeInfo(this.h4y_1.m4y_1.x4c(), this.k4y_1);
|
|
578
578
|
} catch ($p) {
|
|
579
579
|
var tmp_2;
|
|
580
580
|
if ($p instanceof SerializationException) {
|
|
581
581
|
var cause = $p;
|
|
582
|
-
tmp_2 = guessSerializer(this.
|
|
582
|
+
tmp_2 = guessSerializer(this.l4y_1, this.h4y_1.m4y_1.x4c());
|
|
583
583
|
} else {
|
|
584
584
|
throw $p;
|
|
585
585
|
}
|
|
@@ -587,59 +587,59 @@
|
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
var serializer = tmp_1;
|
|
590
|
-
return serializeContent(this.
|
|
590
|
+
return serializeContent(this.h4y_1, serializer, this.h4y_1.m4y_1, this.l4y_1, this.i4y_1, this.j4y_1);
|
|
591
591
|
case 2:
|
|
592
|
-
throw this.
|
|
592
|
+
throw this.o9_1;
|
|
593
593
|
}
|
|
594
594
|
} catch ($p) {
|
|
595
595
|
var e = $p;
|
|
596
|
-
if (this.
|
|
596
|
+
if (this.m9_1 === 2) {
|
|
597
597
|
throw e;
|
|
598
598
|
} else {
|
|
599
|
-
this.
|
|
600
|
-
this.
|
|
599
|
+
this.l9_1 = this.m9_1;
|
|
600
|
+
this.o9_1 = e;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
603
|
while (true);
|
|
604
604
|
};
|
|
605
605
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
606
606
|
CoroutineImpl.call(this, resultContinuation);
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
609
|
-
this.
|
|
610
|
-
this.
|
|
607
|
+
this.w4y_1 = _this__u8e3s4;
|
|
608
|
+
this.x4y_1 = charset;
|
|
609
|
+
this.y4y_1 = typeInfo;
|
|
610
|
+
this.z4y_1 = content;
|
|
611
611
|
}
|
|
612
|
-
protoOf($deserializeCOROUTINE$).
|
|
613
|
-
var suspendResult = this.
|
|
612
|
+
protoOf($deserializeCOROUTINE$).t9 = function () {
|
|
613
|
+
var suspendResult = this.n9_1;
|
|
614
614
|
$sm: do
|
|
615
615
|
try {
|
|
616
|
-
var tmp = this.
|
|
616
|
+
var tmp = this.l9_1;
|
|
617
617
|
switch (tmp) {
|
|
618
618
|
case 0:
|
|
619
|
-
this.
|
|
620
|
-
this.
|
|
621
|
-
var this_0 = asFlow(this.
|
|
622
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
623
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
619
|
+
this.m9_1 = 5;
|
|
620
|
+
this.l9_1 = 1;
|
|
621
|
+
var this_0 = asFlow(this.w4y_1.n4y_1);
|
|
622
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.x4y_1, this.y4y_1, this.z4y_1);
|
|
623
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.z4y_1, null), this);
|
|
624
624
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
625
625
|
return suspendResult;
|
|
626
626
|
}
|
|
627
627
|
|
|
628
628
|
continue $sm;
|
|
629
629
|
case 1:
|
|
630
|
-
this.
|
|
630
|
+
this.a4z_1 = suspendResult;
|
|
631
631
|
var tmp_1;
|
|
632
|
-
if (!this.
|
|
633
|
-
tmp_1 = !(this.
|
|
632
|
+
if (!this.w4y_1.n4y_1.p()) {
|
|
633
|
+
tmp_1 = !(this.a4z_1 == null) || this.z4y_1.c1v();
|
|
634
634
|
} else {
|
|
635
635
|
tmp_1 = false;
|
|
636
636
|
}
|
|
637
637
|
|
|
638
638
|
if (tmp_1)
|
|
639
|
-
return this.
|
|
640
|
-
this.
|
|
641
|
-
this.
|
|
642
|
-
suspendResult = this.
|
|
639
|
+
return this.a4z_1;
|
|
640
|
+
this.b4z_1 = serializerForTypeInfo(this.w4y_1.m4y_1.x4c(), this.y4y_1);
|
|
641
|
+
this.l9_1 = 2;
|
|
642
|
+
suspendResult = this.z4y_1.x20(VOID, this);
|
|
643
643
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
644
644
|
return suspendResult;
|
|
645
645
|
}
|
|
@@ -647,97 +647,97 @@
|
|
|
647
647
|
continue $sm;
|
|
648
648
|
case 2:
|
|
649
649
|
var contentPacket = suspendResult;
|
|
650
|
-
this.
|
|
651
|
-
var tmp0_subject = this.
|
|
650
|
+
this.m9_1 = 3;
|
|
651
|
+
var tmp0_subject = this.w4y_1.m4y_1;
|
|
652
652
|
var tmp_2;
|
|
653
653
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
654
|
-
tmp_2 = this.
|
|
654
|
+
tmp_2 = this.w4y_1.m4y_1.z49(this.b4z_1, readText(contentPacket, this.x4y_1));
|
|
655
655
|
} else {
|
|
656
656
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
657
|
-
tmp_2 = this.
|
|
657
|
+
tmp_2 = this.w4y_1.m4y_1.b4a(this.b4z_1, readBytes(contentPacket));
|
|
658
658
|
} else {
|
|
659
659
|
discard(contentPacket);
|
|
660
|
-
var message = 'Unsupported format ' + toString(this.
|
|
660
|
+
var message = 'Unsupported format ' + toString(this.w4y_1.m4y_1);
|
|
661
661
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
|
|
665
665
|
return tmp_2;
|
|
666
666
|
case 3:
|
|
667
|
-
this.
|
|
668
|
-
var tmp_3 = this.
|
|
667
|
+
this.m9_1 = 5;
|
|
668
|
+
var tmp_3 = this.o9_1;
|
|
669
669
|
if (tmp_3 instanceof Error) {
|
|
670
|
-
var cause = this.
|
|
670
|
+
var cause = this.o9_1;
|
|
671
671
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
672
672
|
} else {
|
|
673
|
-
throw this.
|
|
673
|
+
throw this.o9_1;
|
|
674
674
|
}
|
|
675
675
|
|
|
676
676
|
case 4:
|
|
677
|
-
this.
|
|
677
|
+
this.m9_1 = 5;
|
|
678
678
|
return Unit_instance;
|
|
679
679
|
case 5:
|
|
680
|
-
throw this.
|
|
680
|
+
throw this.o9_1;
|
|
681
681
|
}
|
|
682
682
|
} catch ($p) {
|
|
683
683
|
var e = $p;
|
|
684
|
-
if (this.
|
|
684
|
+
if (this.m9_1 === 5) {
|
|
685
685
|
throw e;
|
|
686
686
|
} else {
|
|
687
|
-
this.
|
|
688
|
-
this.
|
|
687
|
+
this.l9_1 = this.m9_1;
|
|
688
|
+
this.o9_1 = e;
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
while (true);
|
|
692
692
|
};
|
|
693
693
|
function KotlinxSerializationConverter(format) {
|
|
694
|
-
this.
|
|
695
|
-
this.
|
|
694
|
+
this.m4y_1 = format;
|
|
695
|
+
this.n4y_1 = extensions(this.m4y_1);
|
|
696
696
|
var tmp;
|
|
697
|
-
var tmp_0 = this.
|
|
697
|
+
var tmp_0 = this.m4y_1;
|
|
698
698
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
699
699
|
tmp = true;
|
|
700
700
|
} else {
|
|
701
|
-
var tmp_1 = this.
|
|
701
|
+
var tmp_1 = this.m4y_1;
|
|
702
702
|
tmp = isInterface(tmp_1, StringFormat);
|
|
703
703
|
}
|
|
704
704
|
// Inline function 'kotlin.require' call
|
|
705
705
|
if (!tmp) {
|
|
706
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
706
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.m4y_1) + ' is not supported.';
|
|
707
707
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
protoOf(KotlinxSerializationConverter).
|
|
711
|
-
return this.
|
|
710
|
+
protoOf(KotlinxSerializationConverter).c4z = function (contentType, charset, typeInfo, value, $completion) {
|
|
711
|
+
return this.d4z(contentType, charset, typeInfo, value, $completion);
|
|
712
712
|
};
|
|
713
|
-
protoOf(KotlinxSerializationConverter).
|
|
714
|
-
return this.
|
|
713
|
+
protoOf(KotlinxSerializationConverter).i2u = function (contentType, charset, typeInfo, value, $completion) {
|
|
714
|
+
return this.c4z(contentType, charset, typeInfo, value, $completion);
|
|
715
715
|
};
|
|
716
|
-
protoOf(KotlinxSerializationConverter).
|
|
716
|
+
protoOf(KotlinxSerializationConverter).d4z = function (contentType, charset, typeInfo, value, $completion) {
|
|
717
717
|
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
718
|
-
tmp.
|
|
719
|
-
tmp.
|
|
720
|
-
return tmp.
|
|
718
|
+
tmp.n9_1 = Unit_instance;
|
|
719
|
+
tmp.o9_1 = null;
|
|
720
|
+
return tmp.t9();
|
|
721
721
|
};
|
|
722
|
-
protoOf(KotlinxSerializationConverter).
|
|
723
|
-
return this.
|
|
722
|
+
protoOf(KotlinxSerializationConverter).j2u = function (contentType, charset, typeInfo, value, $completion) {
|
|
723
|
+
return this.d4z(contentType, charset, typeInfo, value, $completion);
|
|
724
724
|
};
|
|
725
|
-
protoOf(KotlinxSerializationConverter).
|
|
725
|
+
protoOf(KotlinxSerializationConverter).k2u = function (charset, typeInfo, content, $completion) {
|
|
726
726
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
727
|
-
tmp.
|
|
728
|
-
tmp.
|
|
729
|
-
return tmp.
|
|
727
|
+
tmp.n9_1 = Unit_instance;
|
|
728
|
+
tmp.o9_1 = null;
|
|
729
|
+
return tmp.t9();
|
|
730
730
|
};
|
|
731
731
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
732
732
|
var module_0 = _this__u8e3s4;
|
|
733
|
-
var tmp0_safe_receiver = typeInfo.
|
|
733
|
+
var tmp0_safe_receiver = typeInfo.h2h_1;
|
|
734
734
|
var tmp;
|
|
735
735
|
if (tmp0_safe_receiver == null) {
|
|
736
736
|
tmp = null;
|
|
737
737
|
} else {
|
|
738
738
|
// Inline function 'kotlin.let' call
|
|
739
739
|
var tmp_0;
|
|
740
|
-
if (tmp0_safe_receiver.
|
|
740
|
+
if (tmp0_safe_receiver.pb().p()) {
|
|
741
741
|
tmp_0 = null;
|
|
742
742
|
} else {
|
|
743
743
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -747,13 +747,13 @@
|
|
|
747
747
|
var tmp2_elvis_lhs = tmp;
|
|
748
748
|
var tmp_1;
|
|
749
749
|
if (tmp2_elvis_lhs == null) {
|
|
750
|
-
var tmp1_safe_receiver = module_0.
|
|
750
|
+
var tmp1_safe_receiver = module_0.e4a(typeInfo.f2h_1);
|
|
751
751
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
752
752
|
} else {
|
|
753
753
|
tmp_1 = tmp2_elvis_lhs;
|
|
754
754
|
}
|
|
755
755
|
var tmp3_elvis_lhs = tmp_1;
|
|
756
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
756
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.f2h_1), typeInfo) : tmp3_elvis_lhs;
|
|
757
757
|
}
|
|
758
758
|
function guessSerializer(value, module_0) {
|
|
759
759
|
var tmp;
|
|
@@ -779,11 +779,11 @@
|
|
|
779
779
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
780
780
|
} else {
|
|
781
781
|
if (!(value == null) ? isInterface(value, KtMap) : false) {
|
|
782
|
-
var keySerializer = elementSerializer(value.
|
|
783
|
-
var valueSerializer = elementSerializer(value.
|
|
782
|
+
var keySerializer = elementSerializer(value.l2(), module_0);
|
|
783
|
+
var valueSerializer = elementSerializer(value.m2(), module_0);
|
|
784
784
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
785
785
|
} else {
|
|
786
|
-
var tmp3_elvis_lhs = module_0.
|
|
786
|
+
var tmp3_elvis_lhs = module_0.e4a(getKClassFromExpression(value));
|
|
787
787
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
788
788
|
}
|
|
789
789
|
}
|
|
@@ -795,8 +795,8 @@
|
|
|
795
795
|
}
|
|
796
796
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
797
797
|
var tmp;
|
|
798
|
-
var tmp0_safe_receiver = typeInfo.
|
|
799
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
798
|
+
var tmp0_safe_receiver = typeInfo.h2h_1;
|
|
799
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qb()) === true) {
|
|
800
800
|
tmp = get_nullable(_this__u8e3s4);
|
|
801
801
|
} else {
|
|
802
802
|
tmp = _this__u8e3s4;
|
|
@@ -820,7 +820,7 @@
|
|
|
820
820
|
var _iterator__ex2g4s_0 = destination.j();
|
|
821
821
|
while (_iterator__ex2g4s_0.k()) {
|
|
822
822
|
var e = _iterator__ex2g4s_0.l();
|
|
823
|
-
var key = e.
|
|
823
|
+
var key = e.v48().w49();
|
|
824
824
|
if (set.e(key)) {
|
|
825
825
|
list.e(e);
|
|
826
826
|
}
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
var _iterator__ex2g4s_1 = serializers.j();
|
|
834
834
|
while (_iterator__ex2g4s_1.k()) {
|
|
835
835
|
var item_0 = _iterator__ex2g4s_1.l();
|
|
836
|
-
var tmp$ret$5 = item_0.
|
|
836
|
+
var tmp$ret$5 = item_0.v48().w49();
|
|
837
837
|
destination_0.e(tmp$ret$5);
|
|
838
838
|
}
|
|
839
839
|
// Inline function 'kotlin.error' call
|
|
@@ -842,7 +842,7 @@
|
|
|
842
842
|
}
|
|
843
843
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
844
844
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
845
|
-
if (selected.
|
|
845
|
+
if (selected.v48().i4a()) {
|
|
846
846
|
return selected;
|
|
847
847
|
}
|
|
848
848
|
if (!isInterface(selected, KSerializer))
|