game_client_logic_deb 1.8.358 → 1.8.363
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 +95 -95
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +797 -794
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +2091 -2030
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1860 -1900
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18086 -18114
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +28 -1
- package/Logic_Debertz-game_client.js +5346 -5632
- package/Logic_Debertz-game_client.js.map +1 -1
- package/error-library-error.js +7 -7
- package/kotlin-kotlin-stdlib.js +5728 -5677
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +83 -79
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +3213 -3216
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +431 -415
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2654 -2650
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1803 -1791
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +262 -269
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +2653 -2729
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +581 -606
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +13 -13
- package/ktor-ktor-http.js +903 -899
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1985 -1976
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +9 -9
- package/ktor-ktor-serialization-kotlinx.js +300 -316
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +133 -141
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +846 -856
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +61 -61
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -1
- package/random-library-crypto-rand.js +16 -16
- package/random-library-crypto-rand.js.map +1 -1
- package/random-library-secure-random.js +10 -10
- package/random-library-secure-random.js.map +1 -1
- package/raspberry-cardgame-lib-core.js +379 -382
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +119 -119
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +1095 -1119
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +39 -39
- package/uuid.js.map +1 -1
|
@@ -27,29 +27,29 @@
|
|
|
27
27
|
}(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_serialization) {
|
|
28
28
|
'use strict';
|
|
29
29
|
//region block: imports
|
|
30
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
31
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
32
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
33
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
34
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
35
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
36
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
37
|
-
var VOID = kotlin_kotlin.$_$.
|
|
38
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
39
|
-
var toString = kotlin_kotlin.$_$.
|
|
40
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
30
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
31
|
+
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
32
|
+
var CoroutineImpl = kotlin_kotlin.$_$.na;
|
|
33
|
+
var protoOf = kotlin_kotlin.$_$.hd;
|
|
34
|
+
var THROW_CCE = kotlin_kotlin.$_$.lh;
|
|
35
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y9;
|
|
36
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.lc;
|
|
37
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
38
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.jc;
|
|
39
|
+
var toString = kotlin_kotlin.$_$.kd;
|
|
40
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
41
41
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
42
|
+
var isInterface = kotlin_kotlin.$_$.vc;
|
|
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.$_$.ac;
|
|
49
|
+
var FunctionAdapter = kotlin_kotlin.$_$.nb;
|
|
50
50
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
51
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.gc;
|
|
52
|
+
var initMetadataForClass = kotlin_kotlin.$_$.hc;
|
|
53
53
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
54
54
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
55
55
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
@@ -58,29 +58,29 @@
|
|
|
58
58
|
var readBytes = kotlin_io_ktor_ktor_io.$_$.x;
|
|
59
59
|
var readText = kotlin_io_ktor_ktor_io.$_$.z;
|
|
60
60
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
61
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
61
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
62
62
|
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
63
63
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z2;
|
|
64
64
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b3;
|
|
65
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
65
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.be;
|
|
66
66
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
67
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
67
|
+
var KtMap = kotlin_kotlin.$_$.q5;
|
|
68
68
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
69
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
70
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
71
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
69
|
+
var KtSet = kotlin_kotlin.$_$.v5;
|
|
70
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.j7;
|
|
71
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.q4;
|
|
72
72
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
73
73
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
74
|
-
var isArray = kotlin_kotlin.$_$.
|
|
75
|
-
var KtList = kotlin_kotlin.$_$.
|
|
74
|
+
var isArray = kotlin_kotlin.$_$.nc;
|
|
75
|
+
var KtList = kotlin_kotlin.$_$.n5;
|
|
76
76
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
77
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
78
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
79
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
80
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
81
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
82
|
-
var Collection = kotlin_kotlin.$_$.
|
|
83
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
77
|
+
var filterNotNull = kotlin_kotlin.$_$.g7;
|
|
78
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.i6;
|
|
79
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
|
|
80
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
81
|
+
var singleOrNull = kotlin_kotlin.$_$.y8;
|
|
82
|
+
var Collection = kotlin_kotlin.$_$.h5;
|
|
83
|
+
var emptyList = kotlin_kotlin.$_$.d7;
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: pre-declaration
|
|
86
86
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -103,67 +103,61 @@
|
|
|
103
103
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
104
104
|
var destination = ArrayList_init_$Create$();
|
|
105
105
|
// Inline function 'kotlin.collections.forEach' call
|
|
106
|
-
var _iterator__ex2g4s = tmp0.
|
|
107
|
-
while (_iterator__ex2g4s.
|
|
108
|
-
var element = _iterator__ex2g4s.
|
|
109
|
-
var tmp0_safe_receiver = element.
|
|
106
|
+
var _iterator__ex2g4s = tmp0.l();
|
|
107
|
+
while (_iterator__ex2g4s.m()) {
|
|
108
|
+
var element = _iterator__ex2g4s.n();
|
|
109
|
+
var tmp0_safe_receiver = element.k4y(format);
|
|
110
110
|
if (tmp0_safe_receiver == null)
|
|
111
111
|
null;
|
|
112
112
|
else {
|
|
113
113
|
// Inline function 'kotlin.let' call
|
|
114
|
-
destination.
|
|
114
|
+
destination.j(tmp0_safe_receiver);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
return destination;
|
|
118
118
|
}
|
|
119
119
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
120
|
-
_this__u8e3s4.
|
|
120
|
+
_this__u8e3s4.n4t(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.t4y_1 = $$this$unsafeFlow;
|
|
124
|
+
this.u4y_1 = $contentType;
|
|
125
|
+
this.v4y_1 = $charset;
|
|
126
|
+
this.w4y_1 = $typeInfo;
|
|
127
|
+
this.x4y_1 = $value;
|
|
128
128
|
CoroutineImpl.call(this, resultContinuation);
|
|
129
129
|
}
|
|
130
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
131
|
-
var tmp = this.
|
|
132
|
-
tmp.
|
|
133
|
-
tmp.
|
|
134
|
-
return tmp.
|
|
130
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).s4u = function (value, $completion) {
|
|
131
|
+
var tmp = this.t4u(value, $completion);
|
|
132
|
+
tmp.t8_1 = Unit_instance;
|
|
133
|
+
tmp.u8_1 = null;
|
|
134
|
+
return tmp.z8();
|
|
135
135
|
};
|
|
136
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
137
|
-
return this.
|
|
136
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).h9 = function (p1, $completion) {
|
|
137
|
+
return this.s4u((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
138
138
|
};
|
|
139
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
140
|
-
var suspendResult = this.
|
|
139
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).z8 = function () {
|
|
140
|
+
var suspendResult = this.t8_1;
|
|
141
141
|
$sm: do
|
|
142
142
|
try {
|
|
143
|
-
var tmp = this.
|
|
143
|
+
var tmp = this.r8_1;
|
|
144
144
|
switch (tmp) {
|
|
145
145
|
case 0:
|
|
146
|
-
this.
|
|
147
|
-
var
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
this.
|
|
152
|
-
this.p4t_1 = this.n4t_1;
|
|
153
|
-
var tmp_2 = this;
|
|
154
|
-
tmp_2.q4t_1 = this.p4t_1;
|
|
155
|
-
this.r4t_1 = this.q4t_1;
|
|
156
|
-
this.l9_1 = 1;
|
|
157
|
-
suspendResult = this.r4t_1.t4t(this.h4t_1, this.i4t_1, this.j4t_1, this.k4t_1, this);
|
|
146
|
+
this.s8_1 = 3;
|
|
147
|
+
var tmp0 = this.t4y_1;
|
|
148
|
+
var tmp2 = this.y4y_1;
|
|
149
|
+
this.z4y_1 = tmp0;
|
|
150
|
+
this.r8_1 = 1;
|
|
151
|
+
suspendResult = tmp2.a4z(this.u4y_1, this.v4y_1, this.w4y_1, this.x4y_1, this);
|
|
158
152
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
159
153
|
return suspendResult;
|
|
160
154
|
}
|
|
161
155
|
|
|
162
156
|
continue $sm;
|
|
163
157
|
case 1:
|
|
164
|
-
|
|
165
|
-
this.
|
|
166
|
-
suspendResult = this.
|
|
158
|
+
var ARGUMENT = suspendResult;
|
|
159
|
+
this.r8_1 = 2;
|
|
160
|
+
suspendResult = this.z4y_1.x27(ARGUMENT, this);
|
|
167
161
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
168
162
|
return suspendResult;
|
|
169
163
|
}
|
|
@@ -172,51 +166,49 @@
|
|
|
172
166
|
case 2:
|
|
173
167
|
return Unit_instance;
|
|
174
168
|
case 3:
|
|
175
|
-
throw this.
|
|
169
|
+
throw this.u8_1;
|
|
176
170
|
}
|
|
177
171
|
} catch ($p) {
|
|
178
172
|
var e = $p;
|
|
179
|
-
if (this.
|
|
173
|
+
if (this.s8_1 === 3) {
|
|
180
174
|
throw e;
|
|
181
175
|
} else {
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
176
|
+
this.r8_1 = this.s8_1;
|
|
177
|
+
this.u8_1 = e;
|
|
184
178
|
}
|
|
185
179
|
}
|
|
186
180
|
while (true);
|
|
187
181
|
};
|
|
188
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
189
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
190
|
-
i.
|
|
182
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).t4u = function (value, completion) {
|
|
183
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.t4y_1, this.u4y_1, this.v4y_1, this.w4y_1, this.x4y_1, completion);
|
|
184
|
+
i.y4y_1 = value;
|
|
191
185
|
return i;
|
|
192
186
|
};
|
|
193
187
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
194
188
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
195
189
|
var l = function (value, $completion) {
|
|
196
|
-
return i.
|
|
190
|
+
return i.s4u(value, $completion);
|
|
197
191
|
};
|
|
198
192
|
l.$arity = 1;
|
|
199
193
|
return l;
|
|
200
194
|
}
|
|
201
195
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
202
196
|
CoroutineImpl.call(this, resultContinuation);
|
|
203
|
-
this.
|
|
204
|
-
this.
|
|
197
|
+
this.j4z_1 = _this__u8e3s4;
|
|
198
|
+
this.k4z_1 = collector;
|
|
205
199
|
}
|
|
206
|
-
protoOf($collectCOROUTINE$).
|
|
207
|
-
var suspendResult = this.
|
|
200
|
+
protoOf($collectCOROUTINE$).z8 = function () {
|
|
201
|
+
var suspendResult = this.t8_1;
|
|
208
202
|
$sm: do
|
|
209
203
|
try {
|
|
210
|
-
var tmp = this.
|
|
204
|
+
var tmp = this.r8_1;
|
|
211
205
|
switch (tmp) {
|
|
212
206
|
case 0:
|
|
213
|
-
this.
|
|
214
|
-
var
|
|
215
|
-
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
218
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.f4u_1, this.c4u_1.h4u_1, this.c4u_1.i4u_1, this.c4u_1.j4u_1, this.c4u_1.k4u_1, null);
|
|
219
|
-
suspendResult = this.c4u_1.g4u_1.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
207
|
+
this.s8_1 = 2;
|
|
208
|
+
var $this$unsafeFlow = this.k4z_1;
|
|
209
|
+
this.r8_1 = 1;
|
|
210
|
+
var tmp_0 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($this$unsafeFlow, this.j4z_1.m4z_1, this.j4z_1.n4z_1, this.j4z_1.o4z_1, this.j4z_1.p4z_1, null);
|
|
211
|
+
suspendResult = this.j4z_1.l4z_1.j27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
220
212
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
221
213
|
return suspendResult;
|
|
222
214
|
}
|
|
@@ -225,63 +217,57 @@
|
|
|
225
217
|
case 1:
|
|
226
218
|
return Unit_instance;
|
|
227
219
|
case 2:
|
|
228
|
-
throw this.
|
|
220
|
+
throw this.u8_1;
|
|
229
221
|
}
|
|
230
222
|
} catch ($p) {
|
|
231
223
|
var e = $p;
|
|
232
|
-
if (this.
|
|
224
|
+
if (this.s8_1 === 2) {
|
|
233
225
|
throw e;
|
|
234
226
|
} else {
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
227
|
+
this.r8_1 = this.s8_1;
|
|
228
|
+
this.u8_1 = e;
|
|
237
229
|
}
|
|
238
230
|
}
|
|
239
231
|
while (true);
|
|
240
232
|
};
|
|
241
233
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
234
|
+
this.y4z_1 = $$this$unsafeFlow;
|
|
235
|
+
this.z4z_1 = $charset;
|
|
236
|
+
this.a50_1 = $typeInfo;
|
|
237
|
+
this.b50_1 = $content;
|
|
246
238
|
CoroutineImpl.call(this, resultContinuation);
|
|
247
239
|
}
|
|
248
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
249
|
-
var tmp = this.
|
|
250
|
-
tmp.
|
|
251
|
-
tmp.
|
|
252
|
-
return tmp.
|
|
240
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).s4u = function (value, $completion) {
|
|
241
|
+
var tmp = this.t4u(value, $completion);
|
|
242
|
+
tmp.t8_1 = Unit_instance;
|
|
243
|
+
tmp.u8_1 = null;
|
|
244
|
+
return tmp.z8();
|
|
253
245
|
};
|
|
254
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
255
|
-
return this.
|
|
246
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h9 = function (p1, $completion) {
|
|
247
|
+
return this.s4u((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
256
248
|
};
|
|
257
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
258
|
-
var suspendResult = this.
|
|
249
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z8 = function () {
|
|
250
|
+
var suspendResult = this.t8_1;
|
|
259
251
|
$sm: do
|
|
260
252
|
try {
|
|
261
|
-
var tmp = this.
|
|
253
|
+
var tmp = this.r8_1;
|
|
262
254
|
switch (tmp) {
|
|
263
255
|
case 0:
|
|
264
|
-
this.
|
|
265
|
-
var
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
this.
|
|
270
|
-
this.b4v_1 = this.z4u_1;
|
|
271
|
-
var tmp_2 = this;
|
|
272
|
-
tmp_2.c4v_1 = this.b4v_1;
|
|
273
|
-
this.d4v_1 = this.c4v_1;
|
|
274
|
-
this.l9_1 = 1;
|
|
275
|
-
suspendResult = this.d4v_1.b2t(this.u4u_1, this.v4u_1, this.w4u_1, this);
|
|
256
|
+
this.s8_1 = 3;
|
|
257
|
+
var tmp0 = this.y4z_1;
|
|
258
|
+
var tmp2 = this.c50_1;
|
|
259
|
+
this.d50_1 = tmp0;
|
|
260
|
+
this.r8_1 = 1;
|
|
261
|
+
suspendResult = tmp2.q4t(this.z4z_1, this.a50_1, this.b50_1, this);
|
|
276
262
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
277
263
|
return suspendResult;
|
|
278
264
|
}
|
|
279
265
|
|
|
280
266
|
continue $sm;
|
|
281
267
|
case 1:
|
|
282
|
-
|
|
283
|
-
this.
|
|
284
|
-
suspendResult = this.
|
|
268
|
+
var ARGUMENT = suspendResult;
|
|
269
|
+
this.r8_1 = 2;
|
|
270
|
+
suspendResult = this.d50_1.x27(ARGUMENT, this);
|
|
285
271
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
286
272
|
return suspendResult;
|
|
287
273
|
}
|
|
@@ -290,51 +276,49 @@
|
|
|
290
276
|
case 2:
|
|
291
277
|
return Unit_instance;
|
|
292
278
|
case 3:
|
|
293
|
-
throw this.
|
|
279
|
+
throw this.u8_1;
|
|
294
280
|
}
|
|
295
281
|
} catch ($p) {
|
|
296
282
|
var e = $p;
|
|
297
|
-
if (this.
|
|
283
|
+
if (this.s8_1 === 3) {
|
|
298
284
|
throw e;
|
|
299
285
|
} else {
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
286
|
+
this.r8_1 = this.s8_1;
|
|
287
|
+
this.u8_1 = e;
|
|
302
288
|
}
|
|
303
289
|
}
|
|
304
290
|
while (true);
|
|
305
291
|
};
|
|
306
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
307
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
308
|
-
i.
|
|
292
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).t4u = function (value, completion) {
|
|
293
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.y4z_1, this.z4z_1, this.a50_1, this.b50_1, completion);
|
|
294
|
+
i.c50_1 = value;
|
|
309
295
|
return i;
|
|
310
296
|
};
|
|
311
297
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
312
298
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
313
299
|
var l = function (value, $completion) {
|
|
314
|
-
return i.
|
|
300
|
+
return i.s4u(value, $completion);
|
|
315
301
|
};
|
|
316
302
|
l.$arity = 1;
|
|
317
303
|
return l;
|
|
318
304
|
}
|
|
319
305
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
320
306
|
CoroutineImpl.call(this, resultContinuation);
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
307
|
+
this.m50_1 = _this__u8e3s4;
|
|
308
|
+
this.n50_1 = collector;
|
|
323
309
|
}
|
|
324
|
-
protoOf($collectCOROUTINE$_0).
|
|
325
|
-
var suspendResult = this.
|
|
310
|
+
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
311
|
+
var suspendResult = this.t8_1;
|
|
326
312
|
$sm: do
|
|
327
313
|
try {
|
|
328
|
-
var tmp = this.
|
|
314
|
+
var tmp = this.r8_1;
|
|
329
315
|
switch (tmp) {
|
|
330
316
|
case 0:
|
|
331
|
-
this.
|
|
332
|
-
var
|
|
333
|
-
|
|
334
|
-
this.
|
|
335
|
-
this.
|
|
336
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.q4v_1, this.n4v_1.s4v_1, this.n4v_1.t4v_1, this.n4v_1.u4v_1, null);
|
|
337
|
-
suspendResult = this.n4v_1.r4v_1.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
317
|
+
this.s8_1 = 2;
|
|
318
|
+
var $this$unsafeFlow = this.n50_1;
|
|
319
|
+
this.r8_1 = 1;
|
|
320
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.m50_1.p50_1, this.m50_1.q50_1, this.m50_1.r50_1, null);
|
|
321
|
+
suspendResult = this.m50_1.o50_1.j27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
338
322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
339
323
|
return suspendResult;
|
|
340
324
|
}
|
|
@@ -343,15 +327,15 @@
|
|
|
343
327
|
case 1:
|
|
344
328
|
return Unit_instance;
|
|
345
329
|
case 2:
|
|
346
|
-
throw this.
|
|
330
|
+
throw this.u8_1;
|
|
347
331
|
}
|
|
348
332
|
} catch ($p) {
|
|
349
333
|
var e = $p;
|
|
350
|
-
if (this.
|
|
334
|
+
if (this.s8_1 === 2) {
|
|
351
335
|
throw e;
|
|
352
336
|
} else {
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
337
|
+
this.r8_1 = this.s8_1;
|
|
338
|
+
this.u8_1 = e;
|
|
355
339
|
}
|
|
356
340
|
}
|
|
357
341
|
while (true);
|
|
@@ -359,11 +343,11 @@
|
|
|
359
343
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
360
344
|
var tmp;
|
|
361
345
|
if (isInterface(format, StringFormat)) {
|
|
362
|
-
var content = format.
|
|
346
|
+
var content = format.ep(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
363
347
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
364
348
|
} else {
|
|
365
349
|
if (isInterface(format, BinaryFormat)) {
|
|
366
|
-
var content_0 = format.
|
|
350
|
+
var content_0 = format.gp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
367
351
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
368
352
|
} else {
|
|
369
353
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -373,20 +357,20 @@
|
|
|
373
357
|
return tmp;
|
|
374
358
|
}
|
|
375
359
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
376
|
-
this.
|
|
360
|
+
this.s50_1 = function_0;
|
|
377
361
|
}
|
|
378
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
379
|
-
return this.
|
|
362
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).x27 = function (value, $completion) {
|
|
363
|
+
return this.s50_1(value, $completion);
|
|
380
364
|
};
|
|
381
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
382
|
-
return this.
|
|
365
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
366
|
+
return this.s50_1;
|
|
383
367
|
};
|
|
384
368
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
385
369
|
var tmp;
|
|
386
370
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
387
371
|
var tmp_0;
|
|
388
372
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
389
|
-
tmp_0 = equals(this.
|
|
373
|
+
tmp_0 = equals(this.a3(), other.a3());
|
|
390
374
|
} else {
|
|
391
375
|
tmp_0 = false;
|
|
392
376
|
}
|
|
@@ -397,23 +381,23 @@
|
|
|
397
381
|
return tmp;
|
|
398
382
|
};
|
|
399
383
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
400
|
-
return hashCode(this.
|
|
384
|
+
return hashCode(this.a3());
|
|
401
385
|
};
|
|
402
386
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
403
|
-
this.
|
|
387
|
+
this.t50_1 = function_0;
|
|
404
388
|
}
|
|
405
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
406
|
-
return this.
|
|
389
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).x27 = function (value, $completion) {
|
|
390
|
+
return this.t50_1(value, $completion);
|
|
407
391
|
};
|
|
408
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
409
|
-
return this.
|
|
392
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
393
|
+
return this.t50_1;
|
|
410
394
|
};
|
|
411
395
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
412
396
|
var tmp;
|
|
413
397
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
414
398
|
var tmp_0;
|
|
415
399
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
416
|
-
tmp_0 = equals(this.
|
|
400
|
+
tmp_0 = equals(this.a3(), other.a3());
|
|
417
401
|
} else {
|
|
418
402
|
tmp_0 = false;
|
|
419
403
|
}
|
|
@@ -424,46 +408,46 @@
|
|
|
424
408
|
return tmp;
|
|
425
409
|
};
|
|
426
410
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
427
|
-
return hashCode(this.
|
|
411
|
+
return hashCode(this.a3());
|
|
428
412
|
};
|
|
429
413
|
function KotlinxSerializationConverter$serializeNullable$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
414
|
+
this.l4z_1 = $this;
|
|
415
|
+
this.m4z_1 = $contentType;
|
|
416
|
+
this.n4z_1 = $charset;
|
|
417
|
+
this.o4z_1 = $typeInfo;
|
|
418
|
+
this.p4z_1 = $value;
|
|
435
419
|
}
|
|
436
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
420
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).y27 = function (collector, $completion) {
|
|
437
421
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
438
|
-
tmp.
|
|
439
|
-
tmp.
|
|
440
|
-
return tmp.
|
|
422
|
+
tmp.t8_1 = Unit_instance;
|
|
423
|
+
tmp.u8_1 = null;
|
|
424
|
+
return tmp.z8();
|
|
441
425
|
};
|
|
442
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
443
|
-
return this.
|
|
426
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).j27 = function (collector, $completion) {
|
|
427
|
+
return this.y27(collector, $completion);
|
|
444
428
|
};
|
|
445
429
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
446
430
|
CoroutineImpl.call(this, resultContinuation);
|
|
447
431
|
}
|
|
448
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
449
|
-
var tmp = this.
|
|
450
|
-
tmp.
|
|
451
|
-
tmp.
|
|
452
|
-
return tmp.
|
|
432
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).d51 = function (it, $completion) {
|
|
433
|
+
var tmp = this.e51(it, $completion);
|
|
434
|
+
tmp.t8_1 = Unit_instance;
|
|
435
|
+
tmp.u8_1 = null;
|
|
436
|
+
return tmp.z8();
|
|
453
437
|
};
|
|
454
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
455
|
-
return this.
|
|
438
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).h9 = function (p1, $completion) {
|
|
439
|
+
return this.d51((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
456
440
|
};
|
|
457
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
458
|
-
var suspendResult = this.
|
|
441
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z8 = function () {
|
|
442
|
+
var suspendResult = this.t8_1;
|
|
459
443
|
$sm: do
|
|
460
444
|
try {
|
|
461
|
-
var tmp = this.
|
|
445
|
+
var tmp = this.r8_1;
|
|
462
446
|
if (tmp === 0) {
|
|
463
|
-
this.
|
|
464
|
-
return !(this.
|
|
447
|
+
this.s8_1 = 1;
|
|
448
|
+
return !(this.c51_1 == null);
|
|
465
449
|
} else if (tmp === 1) {
|
|
466
|
-
throw this.
|
|
450
|
+
throw this.u8_1;
|
|
467
451
|
}
|
|
468
452
|
} catch ($p) {
|
|
469
453
|
var e = $p;
|
|
@@ -471,57 +455,57 @@
|
|
|
471
455
|
}
|
|
472
456
|
while (true);
|
|
473
457
|
};
|
|
474
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
458
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).e51 = function (it, completion) {
|
|
475
459
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
476
|
-
i.
|
|
460
|
+
i.c51_1 = it;
|
|
477
461
|
return i;
|
|
478
462
|
};
|
|
479
463
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
480
464
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
481
465
|
var l = function (it, $completion) {
|
|
482
|
-
return i.
|
|
466
|
+
return i.d51(it, $completion);
|
|
483
467
|
};
|
|
484
468
|
l.$arity = 1;
|
|
485
469
|
return l;
|
|
486
470
|
}
|
|
487
471
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
488
|
-
this.
|
|
489
|
-
this.
|
|
490
|
-
this.
|
|
491
|
-
this.
|
|
472
|
+
this.o50_1 = $this;
|
|
473
|
+
this.p50_1 = $charset;
|
|
474
|
+
this.q50_1 = $typeInfo;
|
|
475
|
+
this.r50_1 = $content;
|
|
492
476
|
}
|
|
493
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
477
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).y27 = function (collector, $completion) {
|
|
494
478
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
495
|
-
tmp.
|
|
496
|
-
tmp.
|
|
497
|
-
return tmp.
|
|
479
|
+
tmp.t8_1 = Unit_instance;
|
|
480
|
+
tmp.u8_1 = null;
|
|
481
|
+
return tmp.z8();
|
|
498
482
|
};
|
|
499
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
500
|
-
return this.
|
|
483
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).j27 = function (collector, $completion) {
|
|
484
|
+
return this.y27(collector, $completion);
|
|
501
485
|
};
|
|
502
486
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
503
|
-
this.
|
|
487
|
+
this.n51_1 = $content;
|
|
504
488
|
CoroutineImpl.call(this, resultContinuation);
|
|
505
489
|
}
|
|
506
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
507
|
-
var tmp = this.
|
|
508
|
-
tmp.
|
|
509
|
-
tmp.
|
|
510
|
-
return tmp.
|
|
490
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).s4v = function (it, $completion) {
|
|
491
|
+
var tmp = this.t4u(it, $completion);
|
|
492
|
+
tmp.t8_1 = Unit_instance;
|
|
493
|
+
tmp.u8_1 = null;
|
|
494
|
+
return tmp.z8();
|
|
511
495
|
};
|
|
512
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
513
|
-
return this.
|
|
496
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).h9 = function (p1, $completion) {
|
|
497
|
+
return this.s4v((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
514
498
|
};
|
|
515
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
516
|
-
var suspendResult = this.
|
|
499
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).z8 = function () {
|
|
500
|
+
var suspendResult = this.t8_1;
|
|
517
501
|
$sm: do
|
|
518
502
|
try {
|
|
519
|
-
var tmp = this.
|
|
503
|
+
var tmp = this.r8_1;
|
|
520
504
|
if (tmp === 0) {
|
|
521
|
-
this.
|
|
522
|
-
return !(this.
|
|
505
|
+
this.s8_1 = 1;
|
|
506
|
+
return !(this.o51_1 == null) || this.n51_1.m2q();
|
|
523
507
|
} else if (tmp === 1) {
|
|
524
|
-
throw this.
|
|
508
|
+
throw this.u8_1;
|
|
525
509
|
}
|
|
526
510
|
} catch ($p) {
|
|
527
511
|
var e = $p;
|
|
@@ -529,38 +513,38 @@
|
|
|
529
513
|
}
|
|
530
514
|
while (true);
|
|
531
515
|
};
|
|
532
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
533
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
534
|
-
i.
|
|
516
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).t4u = function (it, completion) {
|
|
517
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.n51_1, completion);
|
|
518
|
+
i.o51_1 = it;
|
|
535
519
|
return i;
|
|
536
520
|
};
|
|
537
521
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
538
522
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
539
523
|
var l = function (it, $completion) {
|
|
540
|
-
return i.
|
|
524
|
+
return i.s4v(it, $completion);
|
|
541
525
|
};
|
|
542
526
|
l.$arity = 1;
|
|
543
527
|
return l;
|
|
544
528
|
}
|
|
545
529
|
function $serializeNullableCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
546
530
|
CoroutineImpl.call(this, resultContinuation);
|
|
547
|
-
this.
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
531
|
+
this.x51_1 = _this__u8e3s4;
|
|
532
|
+
this.y51_1 = contentType;
|
|
533
|
+
this.z51_1 = charset;
|
|
534
|
+
this.a52_1 = typeInfo;
|
|
535
|
+
this.b52_1 = value;
|
|
552
536
|
}
|
|
553
|
-
protoOf($serializeNullableCOROUTINE$).
|
|
554
|
-
var suspendResult = this.
|
|
537
|
+
protoOf($serializeNullableCOROUTINE$).z8 = function () {
|
|
538
|
+
var suspendResult = this.t8_1;
|
|
555
539
|
$sm: do
|
|
556
540
|
try {
|
|
557
|
-
var tmp = this.
|
|
541
|
+
var tmp = this.r8_1;
|
|
558
542
|
switch (tmp) {
|
|
559
543
|
case 0:
|
|
560
|
-
this.
|
|
561
|
-
this.
|
|
562
|
-
var this_0 = asFlow(this.
|
|
563
|
-
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.
|
|
544
|
+
this.s8_1 = 2;
|
|
545
|
+
this.r8_1 = 1;
|
|
546
|
+
var this_0 = asFlow(this.x51_1.d52_1);
|
|
547
|
+
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.y51_1, this.z51_1, this.a52_1, this.b52_1);
|
|
564
548
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
565
549
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
566
550
|
return suspendResult;
|
|
@@ -573,12 +557,12 @@
|
|
|
573
557
|
return fromExtension;
|
|
574
558
|
var tmp_1;
|
|
575
559
|
try {
|
|
576
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
560
|
+
tmp_1 = serializerForTypeInfo(this.x51_1.c52_1.ds(), this.a52_1);
|
|
577
561
|
} catch ($p) {
|
|
578
562
|
var tmp_2;
|
|
579
563
|
if ($p instanceof SerializationException) {
|
|
580
564
|
var cause = $p;
|
|
581
|
-
tmp_2 = guessSerializer(this.
|
|
565
|
+
tmp_2 = guessSerializer(this.b52_1, this.x51_1.c52_1.ds());
|
|
582
566
|
} else {
|
|
583
567
|
throw $p;
|
|
584
568
|
}
|
|
@@ -586,59 +570,59 @@
|
|
|
586
570
|
}
|
|
587
571
|
|
|
588
572
|
var serializer = tmp_1;
|
|
589
|
-
return serializeContent(this.
|
|
573
|
+
return serializeContent(this.x51_1, serializer, this.x51_1.c52_1, this.b52_1, this.y51_1, this.z51_1);
|
|
590
574
|
case 2:
|
|
591
|
-
throw this.
|
|
575
|
+
throw this.u8_1;
|
|
592
576
|
}
|
|
593
577
|
} catch ($p) {
|
|
594
578
|
var e = $p;
|
|
595
|
-
if (this.
|
|
579
|
+
if (this.s8_1 === 2) {
|
|
596
580
|
throw e;
|
|
597
581
|
} else {
|
|
598
|
-
this.
|
|
599
|
-
this.
|
|
582
|
+
this.r8_1 = this.s8_1;
|
|
583
|
+
this.u8_1 = e;
|
|
600
584
|
}
|
|
601
585
|
}
|
|
602
586
|
while (true);
|
|
603
587
|
};
|
|
604
588
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
605
589
|
CoroutineImpl.call(this, resultContinuation);
|
|
606
|
-
this.
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
609
|
-
this.
|
|
590
|
+
this.m52_1 = _this__u8e3s4;
|
|
591
|
+
this.n52_1 = charset;
|
|
592
|
+
this.o52_1 = typeInfo;
|
|
593
|
+
this.p52_1 = content;
|
|
610
594
|
}
|
|
611
|
-
protoOf($deserializeCOROUTINE$).
|
|
612
|
-
var suspendResult = this.
|
|
595
|
+
protoOf($deserializeCOROUTINE$).z8 = function () {
|
|
596
|
+
var suspendResult = this.t8_1;
|
|
613
597
|
$sm: do
|
|
614
598
|
try {
|
|
615
|
-
var tmp = this.
|
|
599
|
+
var tmp = this.r8_1;
|
|
616
600
|
switch (tmp) {
|
|
617
601
|
case 0:
|
|
618
|
-
this.
|
|
619
|
-
this.
|
|
620
|
-
var this_0 = asFlow(this.
|
|
621
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
622
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
602
|
+
this.s8_1 = 5;
|
|
603
|
+
this.r8_1 = 1;
|
|
604
|
+
var this_0 = asFlow(this.m52_1.d52_1);
|
|
605
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.n52_1, this.o52_1, this.p52_1);
|
|
606
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.p52_1, null), this);
|
|
623
607
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
624
608
|
return suspendResult;
|
|
625
609
|
}
|
|
626
610
|
|
|
627
611
|
continue $sm;
|
|
628
612
|
case 1:
|
|
629
|
-
|
|
613
|
+
var fromExtension = suspendResult;
|
|
630
614
|
var tmp_1;
|
|
631
|
-
if (!this.
|
|
632
|
-
tmp_1 = !(
|
|
615
|
+
if (!this.m52_1.d52_1.r()) {
|
|
616
|
+
tmp_1 = !(fromExtension == null) || this.p52_1.m2q();
|
|
633
617
|
} else {
|
|
634
618
|
tmp_1 = false;
|
|
635
619
|
}
|
|
636
620
|
|
|
637
621
|
if (tmp_1)
|
|
638
|
-
return
|
|
639
|
-
this.
|
|
640
|
-
this.
|
|
641
|
-
suspendResult = this.
|
|
622
|
+
return fromExtension;
|
|
623
|
+
this.q52_1 = serializerForTypeInfo(this.m52_1.c52_1.ds(), this.o52_1);
|
|
624
|
+
this.r8_1 = 2;
|
|
625
|
+
suspendResult = this.p52_1.d2w(VOID, this);
|
|
642
626
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
643
627
|
return suspendResult;
|
|
644
628
|
}
|
|
@@ -646,97 +630,97 @@
|
|
|
646
630
|
continue $sm;
|
|
647
631
|
case 2:
|
|
648
632
|
var contentPacket = suspendResult;
|
|
649
|
-
this.
|
|
650
|
-
var tmp0_subject = this.
|
|
633
|
+
this.s8_1 = 3;
|
|
634
|
+
var tmp0_subject = this.m52_1.c52_1;
|
|
651
635
|
var tmp_2;
|
|
652
636
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
653
|
-
tmp_2 = this.
|
|
637
|
+
tmp_2 = this.m52_1.c52_1.fp(this.q52_1, readText(contentPacket, this.n52_1));
|
|
654
638
|
} else {
|
|
655
639
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
656
|
-
tmp_2 = this.
|
|
640
|
+
tmp_2 = this.m52_1.c52_1.hp(this.q52_1, readBytes(contentPacket));
|
|
657
641
|
} else {
|
|
658
642
|
discard(contentPacket);
|
|
659
|
-
var message = 'Unsupported format ' + toString(this.
|
|
643
|
+
var message = 'Unsupported format ' + toString(this.m52_1.c52_1);
|
|
660
644
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
661
645
|
}
|
|
662
646
|
}
|
|
663
647
|
|
|
664
648
|
return tmp_2;
|
|
665
649
|
case 3:
|
|
666
|
-
this.
|
|
667
|
-
var tmp_3 = this.
|
|
650
|
+
this.s8_1 = 5;
|
|
651
|
+
var tmp_3 = this.u8_1;
|
|
668
652
|
if (tmp_3 instanceof Error) {
|
|
669
|
-
var cause = this.
|
|
653
|
+
var cause = this.u8_1;
|
|
670
654
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
671
655
|
} else {
|
|
672
|
-
throw this.
|
|
656
|
+
throw this.u8_1;
|
|
673
657
|
}
|
|
674
658
|
|
|
675
659
|
case 4:
|
|
676
|
-
this.
|
|
660
|
+
this.s8_1 = 5;
|
|
677
661
|
return Unit_instance;
|
|
678
662
|
case 5:
|
|
679
|
-
throw this.
|
|
663
|
+
throw this.u8_1;
|
|
680
664
|
}
|
|
681
665
|
} catch ($p) {
|
|
682
666
|
var e = $p;
|
|
683
|
-
if (this.
|
|
667
|
+
if (this.s8_1 === 5) {
|
|
684
668
|
throw e;
|
|
685
669
|
} else {
|
|
686
|
-
this.
|
|
687
|
-
this.
|
|
670
|
+
this.r8_1 = this.s8_1;
|
|
671
|
+
this.u8_1 = e;
|
|
688
672
|
}
|
|
689
673
|
}
|
|
690
674
|
while (true);
|
|
691
675
|
};
|
|
692
676
|
function KotlinxSerializationConverter(format) {
|
|
693
|
-
this.
|
|
694
|
-
this.
|
|
677
|
+
this.c52_1 = format;
|
|
678
|
+
this.d52_1 = extensions(this.c52_1);
|
|
695
679
|
var tmp;
|
|
696
|
-
var tmp_0 = this.
|
|
680
|
+
var tmp_0 = this.c52_1;
|
|
697
681
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
698
682
|
tmp = true;
|
|
699
683
|
} else {
|
|
700
|
-
var tmp_1 = this.
|
|
684
|
+
var tmp_1 = this.c52_1;
|
|
701
685
|
tmp = isInterface(tmp_1, StringFormat);
|
|
702
686
|
}
|
|
703
687
|
// Inline function 'kotlin.require' call
|
|
704
688
|
if (!tmp) {
|
|
705
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
689
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.c52_1) + ' is not supported.';
|
|
706
690
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
707
691
|
}
|
|
708
692
|
}
|
|
709
|
-
protoOf(KotlinxSerializationConverter).
|
|
710
|
-
return this.
|
|
693
|
+
protoOf(KotlinxSerializationConverter).r52 = function (contentType, charset, typeInfo, value, $completion) {
|
|
694
|
+
return this.s52(contentType, charset, typeInfo, value, $completion);
|
|
711
695
|
};
|
|
712
|
-
protoOf(KotlinxSerializationConverter).
|
|
713
|
-
return this.
|
|
696
|
+
protoOf(KotlinxSerializationConverter).o4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
697
|
+
return this.r52(contentType, charset, typeInfo, value, $completion);
|
|
714
698
|
};
|
|
715
|
-
protoOf(KotlinxSerializationConverter).
|
|
699
|
+
protoOf(KotlinxSerializationConverter).s52 = function (contentType, charset, typeInfo, value, $completion) {
|
|
716
700
|
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
717
|
-
tmp.
|
|
718
|
-
tmp.
|
|
719
|
-
return tmp.
|
|
701
|
+
tmp.t8_1 = Unit_instance;
|
|
702
|
+
tmp.u8_1 = null;
|
|
703
|
+
return tmp.z8();
|
|
720
704
|
};
|
|
721
|
-
protoOf(KotlinxSerializationConverter).
|
|
722
|
-
return this.
|
|
705
|
+
protoOf(KotlinxSerializationConverter).p4t = function (contentType, charset, typeInfo, value, $completion) {
|
|
706
|
+
return this.s52(contentType, charset, typeInfo, value, $completion);
|
|
723
707
|
};
|
|
724
|
-
protoOf(KotlinxSerializationConverter).
|
|
708
|
+
protoOf(KotlinxSerializationConverter).q4t = function (charset, typeInfo, content, $completion) {
|
|
725
709
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
726
|
-
tmp.
|
|
727
|
-
tmp.
|
|
728
|
-
return tmp.
|
|
710
|
+
tmp.t8_1 = Unit_instance;
|
|
711
|
+
tmp.u8_1 = null;
|
|
712
|
+
return tmp.z8();
|
|
729
713
|
};
|
|
730
714
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
731
715
|
var module_0 = _this__u8e3s4;
|
|
732
|
-
var tmp0_safe_receiver = typeInfo.
|
|
716
|
+
var tmp0_safe_receiver = typeInfo.b3c_1;
|
|
733
717
|
var tmp;
|
|
734
718
|
if (tmp0_safe_receiver == null) {
|
|
735
719
|
tmp = null;
|
|
736
720
|
} else {
|
|
737
721
|
// Inline function 'kotlin.let' call
|
|
738
722
|
var tmp_0;
|
|
739
|
-
if (tmp0_safe_receiver.
|
|
723
|
+
if (tmp0_safe_receiver.ra().r()) {
|
|
740
724
|
tmp_0 = null;
|
|
741
725
|
} else {
|
|
742
726
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -746,13 +730,13 @@
|
|
|
746
730
|
var tmp2_elvis_lhs = tmp;
|
|
747
731
|
var tmp_1;
|
|
748
732
|
if (tmp2_elvis_lhs == null) {
|
|
749
|
-
var tmp1_safe_receiver = module_0.
|
|
733
|
+
var tmp1_safe_receiver = module_0.kp(typeInfo.z3b_1);
|
|
750
734
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
751
735
|
} else {
|
|
752
736
|
tmp_1 = tmp2_elvis_lhs;
|
|
753
737
|
}
|
|
754
738
|
var tmp3_elvis_lhs = tmp_1;
|
|
755
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
739
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.z3b_1), typeInfo) : tmp3_elvis_lhs;
|
|
756
740
|
}
|
|
757
741
|
function guessSerializer(value, module_0) {
|
|
758
742
|
var tmp;
|
|
@@ -778,11 +762,11 @@
|
|
|
778
762
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
779
763
|
} else {
|
|
780
764
|
if (!(value == null) ? isInterface(value, KtMap) : false) {
|
|
781
|
-
var keySerializer = elementSerializer(value.
|
|
782
|
-
var valueSerializer = elementSerializer(value.
|
|
765
|
+
var keySerializer = elementSerializer(value.c2(), module_0);
|
|
766
|
+
var valueSerializer = elementSerializer(value.d2(), module_0);
|
|
783
767
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
784
768
|
} else {
|
|
785
|
-
var tmp3_elvis_lhs = module_0.
|
|
769
|
+
var tmp3_elvis_lhs = module_0.kp(getKClassFromExpression(value));
|
|
786
770
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
787
771
|
}
|
|
788
772
|
}
|
|
@@ -794,8 +778,8 @@
|
|
|
794
778
|
}
|
|
795
779
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
796
780
|
var tmp;
|
|
797
|
-
var tmp0_safe_receiver = typeInfo.
|
|
798
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
781
|
+
var tmp0_safe_receiver = typeInfo.b3c_1;
|
|
782
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.sa()) === true) {
|
|
799
783
|
tmp = get_nullable(_this__u8e3s4);
|
|
800
784
|
} else {
|
|
801
785
|
tmp = _this__u8e3s4;
|
|
@@ -807,33 +791,33 @@
|
|
|
807
791
|
var this_0 = filterNotNull(_this__u8e3s4);
|
|
808
792
|
// Inline function 'kotlin.collections.mapTo' call
|
|
809
793
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
810
|
-
var _iterator__ex2g4s = this_0.
|
|
811
|
-
while (_iterator__ex2g4s.
|
|
812
|
-
var item = _iterator__ex2g4s.
|
|
794
|
+
var _iterator__ex2g4s = this_0.l();
|
|
795
|
+
while (_iterator__ex2g4s.m()) {
|
|
796
|
+
var item = _iterator__ex2g4s.n();
|
|
813
797
|
var tmp$ret$0 = guessSerializer(item, module_0);
|
|
814
|
-
destination.
|
|
798
|
+
destination.j(tmp$ret$0);
|
|
815
799
|
}
|
|
816
800
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
817
801
|
var set = HashSet_init_$Create$();
|
|
818
802
|
var list = ArrayList_init_$Create$();
|
|
819
|
-
var _iterator__ex2g4s_0 = destination.
|
|
820
|
-
while (_iterator__ex2g4s_0.
|
|
821
|
-
var e = _iterator__ex2g4s_0.
|
|
822
|
-
var key = e.
|
|
823
|
-
if (set.
|
|
824
|
-
list.
|
|
803
|
+
var _iterator__ex2g4s_0 = destination.l();
|
|
804
|
+
while (_iterator__ex2g4s_0.m()) {
|
|
805
|
+
var e = _iterator__ex2g4s_0.n();
|
|
806
|
+
var key = e.bo().cp();
|
|
807
|
+
if (set.j(key)) {
|
|
808
|
+
list.j(e);
|
|
825
809
|
}
|
|
826
810
|
}
|
|
827
811
|
var serializers = list;
|
|
828
|
-
if (serializers.
|
|
812
|
+
if (serializers.o() > 1) {
|
|
829
813
|
// Inline function 'kotlin.collections.map' call
|
|
830
814
|
// Inline function 'kotlin.collections.mapTo' call
|
|
831
815
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(serializers, 10));
|
|
832
|
-
var _iterator__ex2g4s_1 = serializers.
|
|
833
|
-
while (_iterator__ex2g4s_1.
|
|
834
|
-
var item_0 = _iterator__ex2g4s_1.
|
|
835
|
-
var tmp$ret$5 = item_0.
|
|
836
|
-
destination_0.
|
|
816
|
+
var _iterator__ex2g4s_1 = serializers.l();
|
|
817
|
+
while (_iterator__ex2g4s_1.m()) {
|
|
818
|
+
var item_0 = _iterator__ex2g4s_1.n();
|
|
819
|
+
var tmp$ret$5 = item_0.bo().cp();
|
|
820
|
+
destination_0.j(tmp$ret$5);
|
|
837
821
|
}
|
|
838
822
|
// Inline function 'kotlin.error' call
|
|
839
823
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -841,7 +825,7 @@
|
|
|
841
825
|
}
|
|
842
826
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
843
827
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
844
|
-
if (selected.
|
|
828
|
+
if (selected.bo().op()) {
|
|
845
829
|
return selected;
|
|
846
830
|
}
|
|
847
831
|
if (!isInterface(selected, KSerializer))
|
|
@@ -851,7 +835,7 @@
|
|
|
851
835
|
// Inline function 'kotlin.collections.any' call
|
|
852
836
|
var tmp;
|
|
853
837
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
854
|
-
tmp = _this__u8e3s4.
|
|
838
|
+
tmp = _this__u8e3s4.r();
|
|
855
839
|
} else {
|
|
856
840
|
tmp = false;
|
|
857
841
|
}
|
|
@@ -859,9 +843,9 @@
|
|
|
859
843
|
tmp$ret$8 = false;
|
|
860
844
|
break $l$block_0;
|
|
861
845
|
}
|
|
862
|
-
var _iterator__ex2g4s_2 = _this__u8e3s4.
|
|
863
|
-
while (_iterator__ex2g4s_2.
|
|
864
|
-
var element = _iterator__ex2g4s_2.
|
|
846
|
+
var _iterator__ex2g4s_2 = _this__u8e3s4.l();
|
|
847
|
+
while (_iterator__ex2g4s_2.m()) {
|
|
848
|
+
var element = _iterator__ex2g4s_2.n();
|
|
865
849
|
if (element == null) {
|
|
866
850
|
tmp$ret$8 = true;
|
|
867
851
|
break $l$block_0;
|