client_plugin_logic_deb 1.8.360 → 1.8.364
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 +809 -806
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +2092 -2031
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +42 -15
- package/Logic_Debertz-client_plugin.js +5154 -5573
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2334 -2386
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +24597 -24359
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +13756 -14963
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1937 -1991
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +7 -7
- package/kotlin-kotlin-stdlib.js +5916 -5864
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +66 -62
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +4148 -4179
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +497 -481
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2660 -2656
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1805 -1793
- 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 +2677 -2753
- 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 +996 -992
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +2028 -2022
- 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 +138 -146
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +851 -861
- 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 +31 -31
- 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 +393 -396
- 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 +1167 -1194
- 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.$_$.g5;
|
|
32
|
+
var CoroutineImpl = kotlin_kotlin.$_$.sa;
|
|
33
|
+
var protoOf = kotlin_kotlin.$_$.md;
|
|
34
|
+
var THROW_CCE = kotlin_kotlin.$_$.qh;
|
|
35
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.da;
|
|
36
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.qc;
|
|
37
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
38
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.oc;
|
|
39
|
+
var toString = kotlin_kotlin.$_$.pd;
|
|
40
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
41
41
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
42
|
+
var isInterface = kotlin_kotlin.$_$.ad;
|
|
43
43
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.j;
|
|
44
44
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q2;
|
|
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.$_$.x2;
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
48
|
+
var equals = kotlin_kotlin.$_$.fc;
|
|
49
|
+
var FunctionAdapter = kotlin_kotlin.$_$.sb;
|
|
50
50
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
51
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.lc;
|
|
52
|
+
var initMetadataForClass = kotlin_kotlin.$_$.mc;
|
|
53
53
|
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
54
54
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
55
55
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
|
|
@@ -59,29 +59,29 @@
|
|
|
59
59
|
var readBytes = kotlin_io_ktor_ktor_io.$_$.x;
|
|
60
60
|
var readText = kotlin_io_ktor_ktor_io.$_$.z;
|
|
61
61
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
62
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
62
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
63
63
|
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
64
64
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a3;
|
|
65
65
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c3;
|
|
66
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
66
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.ge;
|
|
67
67
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
68
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
68
|
+
var KtMap = kotlin_kotlin.$_$.s5;
|
|
69
69
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
70
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
71
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
72
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
70
|
+
var KtSet = kotlin_kotlin.$_$.x5;
|
|
71
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.m7;
|
|
72
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.r4;
|
|
73
73
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
74
74
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
75
|
-
var isArray = kotlin_kotlin.$_$.
|
|
76
|
-
var KtList = kotlin_kotlin.$_$.
|
|
75
|
+
var isArray = kotlin_kotlin.$_$.sc;
|
|
76
|
+
var KtList = kotlin_kotlin.$_$.p5;
|
|
77
77
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
78
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
79
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
80
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
81
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
82
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
83
|
-
var Collection = kotlin_kotlin.$_$.
|
|
84
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
78
|
+
var filterNotNull = kotlin_kotlin.$_$.j7;
|
|
79
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.k6;
|
|
80
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
|
|
81
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
82
|
+
var singleOrNull = kotlin_kotlin.$_$.c9;
|
|
83
|
+
var Collection = kotlin_kotlin.$_$.i5;
|
|
84
|
+
var emptyList = kotlin_kotlin.$_$.f7;
|
|
85
85
|
//endregion
|
|
86
86
|
//region block: pre-declaration
|
|
87
87
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -104,67 +104,61 @@
|
|
|
104
104
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
105
105
|
var destination = ArrayList_init_$Create$();
|
|
106
106
|
// Inline function 'kotlin.collections.forEach' call
|
|
107
|
-
var _iterator__ex2g4s = tmp0.
|
|
108
|
-
while (_iterator__ex2g4s.
|
|
109
|
-
var element = _iterator__ex2g4s.
|
|
110
|
-
var tmp0_safe_receiver = element.
|
|
107
|
+
var _iterator__ex2g4s = tmp0.l();
|
|
108
|
+
while (_iterator__ex2g4s.m()) {
|
|
109
|
+
var element = _iterator__ex2g4s.n();
|
|
110
|
+
var tmp0_safe_receiver = element.g5e(format);
|
|
111
111
|
if (tmp0_safe_receiver == null)
|
|
112
112
|
null;
|
|
113
113
|
else {
|
|
114
114
|
// Inline function 'kotlin.let' call
|
|
115
|
-
destination.
|
|
115
|
+
destination.j(tmp0_safe_receiver);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
return destination;
|
|
119
119
|
}
|
|
120
120
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
121
|
-
_this__u8e3s4.
|
|
121
|
+
_this__u8e3s4.l59(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.p5e_1 = $$this$unsafeFlow;
|
|
125
|
+
this.q5e_1 = $contentType;
|
|
126
|
+
this.r5e_1 = $charset;
|
|
127
|
+
this.s5e_1 = $typeInfo;
|
|
128
|
+
this.t5e_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).a2j = function (value, $completion) {
|
|
132
|
+
var tmp = this.b2j(value, $completion);
|
|
133
|
+
tmp.t8_1 = Unit_instance;
|
|
134
|
+
tmp.u8_1 = null;
|
|
135
|
+
return tmp.z8();
|
|
136
136
|
};
|
|
137
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
138
|
-
return this.
|
|
137
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).h9 = function (p1, $completion) {
|
|
138
|
+
return this.a2j((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).z8 = function () {
|
|
141
|
+
var suspendResult = this.t8_1;
|
|
142
142
|
$sm: do
|
|
143
143
|
try {
|
|
144
|
-
var tmp = this.
|
|
144
|
+
var tmp = this.r8_1;
|
|
145
145
|
switch (tmp) {
|
|
146
146
|
case 0:
|
|
147
|
-
this.
|
|
148
|
-
var
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
this.
|
|
153
|
-
this.i53_1 = this.g53_1;
|
|
154
|
-
var tmp_2 = this;
|
|
155
|
-
tmp_2.j53_1 = this.i53_1;
|
|
156
|
-
this.k53_1 = this.j53_1;
|
|
157
|
-
this.l9_1 = 1;
|
|
158
|
-
suspendResult = this.k53_1.m53(this.a53_1, this.b53_1, this.c53_1, this.d53_1, this);
|
|
147
|
+
this.s8_1 = 3;
|
|
148
|
+
var tmp0 = this.p5e_1;
|
|
149
|
+
var tmp2 = this.u5e_1;
|
|
150
|
+
this.v5e_1 = tmp0;
|
|
151
|
+
this.r8_1 = 1;
|
|
152
|
+
suspendResult = tmp2.w5e(this.q5e_1, this.r5e_1, this.s5e_1, this.t5e_1, this);
|
|
159
153
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
160
154
|
return suspendResult;
|
|
161
155
|
}
|
|
162
156
|
|
|
163
157
|
continue $sm;
|
|
164
158
|
case 1:
|
|
165
|
-
|
|
166
|
-
this.
|
|
167
|
-
suspendResult = this.
|
|
159
|
+
var ARGUMENT = suspendResult;
|
|
160
|
+
this.r8_1 = 2;
|
|
161
|
+
suspendResult = this.v5e_1.g24(ARGUMENT, this);
|
|
168
162
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
169
163
|
return suspendResult;
|
|
170
164
|
}
|
|
@@ -173,51 +167,49 @@
|
|
|
173
167
|
case 2:
|
|
174
168
|
return Unit_instance;
|
|
175
169
|
case 3:
|
|
176
|
-
throw this.
|
|
170
|
+
throw this.u8_1;
|
|
177
171
|
}
|
|
178
172
|
} catch ($p) {
|
|
179
173
|
var e = $p;
|
|
180
|
-
if (this.
|
|
174
|
+
if (this.s8_1 === 3) {
|
|
181
175
|
throw e;
|
|
182
176
|
} else {
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
177
|
+
this.r8_1 = this.s8_1;
|
|
178
|
+
this.u8_1 = e;
|
|
185
179
|
}
|
|
186
180
|
}
|
|
187
181
|
while (true);
|
|
188
182
|
};
|
|
189
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
190
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
191
|
-
i.
|
|
183
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).b2j = function (value, completion) {
|
|
184
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.p5e_1, this.q5e_1, this.r5e_1, this.s5e_1, this.t5e_1, completion);
|
|
185
|
+
i.u5e_1 = value;
|
|
192
186
|
return i;
|
|
193
187
|
};
|
|
194
188
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
195
189
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
196
190
|
var l = function (value, $completion) {
|
|
197
|
-
return i.
|
|
191
|
+
return i.a2j(value, $completion);
|
|
198
192
|
};
|
|
199
193
|
l.$arity = 1;
|
|
200
194
|
return l;
|
|
201
195
|
}
|
|
202
196
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
203
197
|
CoroutineImpl.call(this, resultContinuation);
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
198
|
+
this.f5f_1 = _this__u8e3s4;
|
|
199
|
+
this.g5f_1 = collector;
|
|
206
200
|
}
|
|
207
|
-
protoOf($collectCOROUTINE$).
|
|
208
|
-
var suspendResult = this.
|
|
201
|
+
protoOf($collectCOROUTINE$).z8 = function () {
|
|
202
|
+
var suspendResult = this.t8_1;
|
|
209
203
|
$sm: do
|
|
210
204
|
try {
|
|
211
|
-
var tmp = this.
|
|
205
|
+
var tmp = this.r8_1;
|
|
212
206
|
switch (tmp) {
|
|
213
207
|
case 0:
|
|
214
|
-
this.
|
|
215
|
-
var
|
|
216
|
-
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.y53_1, this.v53_1.a54_1, this.v53_1.b54_1, this.v53_1.c54_1, this.v53_1.d54_1, null);
|
|
220
|
-
suspendResult = this.v53_1.z53_1.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
208
|
+
this.s8_1 = 2;
|
|
209
|
+
var $this$unsafeFlow = this.g5f_1;
|
|
210
|
+
this.r8_1 = 1;
|
|
211
|
+
var tmp_0 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($this$unsafeFlow, this.f5f_1.i5f_1, this.f5f_1.j5f_1, this.f5f_1.k5f_1, this.f5f_1.l5f_1, null);
|
|
212
|
+
suspendResult = this.f5f_1.h5f_1.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
221
213
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
222
214
|
return suspendResult;
|
|
223
215
|
}
|
|
@@ -226,63 +218,57 @@
|
|
|
226
218
|
case 1:
|
|
227
219
|
return Unit_instance;
|
|
228
220
|
case 2:
|
|
229
|
-
throw this.
|
|
221
|
+
throw this.u8_1;
|
|
230
222
|
}
|
|
231
223
|
} catch ($p) {
|
|
232
224
|
var e = $p;
|
|
233
|
-
if (this.
|
|
225
|
+
if (this.s8_1 === 2) {
|
|
234
226
|
throw e;
|
|
235
227
|
} else {
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
228
|
+
this.r8_1 = this.s8_1;
|
|
229
|
+
this.u8_1 = e;
|
|
238
230
|
}
|
|
239
231
|
}
|
|
240
232
|
while (true);
|
|
241
233
|
};
|
|
242
234
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
235
|
+
this.u5f_1 = $$this$unsafeFlow;
|
|
236
|
+
this.v5f_1 = $charset;
|
|
237
|
+
this.w5f_1 = $typeInfo;
|
|
238
|
+
this.x5f_1 = $content;
|
|
247
239
|
CoroutineImpl.call(this, resultContinuation);
|
|
248
240
|
}
|
|
249
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
250
|
-
var tmp = this.
|
|
251
|
-
tmp.
|
|
252
|
-
tmp.
|
|
253
|
-
return tmp.
|
|
241
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).a2j = function (value, $completion) {
|
|
242
|
+
var tmp = this.b2j(value, $completion);
|
|
243
|
+
tmp.t8_1 = Unit_instance;
|
|
244
|
+
tmp.u8_1 = null;
|
|
245
|
+
return tmp.z8();
|
|
254
246
|
};
|
|
255
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
256
|
-
return this.
|
|
247
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h9 = function (p1, $completion) {
|
|
248
|
+
return this.a2j((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
257
249
|
};
|
|
258
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
259
|
-
var suspendResult = this.
|
|
250
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z8 = function () {
|
|
251
|
+
var suspendResult = this.t8_1;
|
|
260
252
|
$sm: do
|
|
261
253
|
try {
|
|
262
|
-
var tmp = this.
|
|
254
|
+
var tmp = this.r8_1;
|
|
263
255
|
switch (tmp) {
|
|
264
256
|
case 0:
|
|
265
|
-
this.
|
|
266
|
-
var
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
this.
|
|
271
|
-
this.u54_1 = this.s54_1;
|
|
272
|
-
var tmp_2 = this;
|
|
273
|
-
tmp_2.v54_1 = this.u54_1;
|
|
274
|
-
this.w54_1 = this.v54_1;
|
|
275
|
-
this.l9_1 = 1;
|
|
276
|
-
suspendResult = this.w54_1.w32(this.n54_1, this.o54_1, this.p54_1, this);
|
|
257
|
+
this.s8_1 = 3;
|
|
258
|
+
var tmp0 = this.u5f_1;
|
|
259
|
+
var tmp2 = this.y5f_1;
|
|
260
|
+
this.z5f_1 = tmp0;
|
|
261
|
+
this.r8_1 = 1;
|
|
262
|
+
suspendResult = tmp2.o59(this.v5f_1, this.w5f_1, this.x5f_1, this);
|
|
277
263
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
278
264
|
return suspendResult;
|
|
279
265
|
}
|
|
280
266
|
|
|
281
267
|
continue $sm;
|
|
282
268
|
case 1:
|
|
283
|
-
|
|
284
|
-
this.
|
|
285
|
-
suspendResult = this.
|
|
269
|
+
var ARGUMENT = suspendResult;
|
|
270
|
+
this.r8_1 = 2;
|
|
271
|
+
suspendResult = this.z5f_1.g24(ARGUMENT, this);
|
|
286
272
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
287
273
|
return suspendResult;
|
|
288
274
|
}
|
|
@@ -291,51 +277,49 @@
|
|
|
291
277
|
case 2:
|
|
292
278
|
return Unit_instance;
|
|
293
279
|
case 3:
|
|
294
|
-
throw this.
|
|
280
|
+
throw this.u8_1;
|
|
295
281
|
}
|
|
296
282
|
} catch ($p) {
|
|
297
283
|
var e = $p;
|
|
298
|
-
if (this.
|
|
284
|
+
if (this.s8_1 === 3) {
|
|
299
285
|
throw e;
|
|
300
286
|
} else {
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
287
|
+
this.r8_1 = this.s8_1;
|
|
288
|
+
this.u8_1 = e;
|
|
303
289
|
}
|
|
304
290
|
}
|
|
305
291
|
while (true);
|
|
306
292
|
};
|
|
307
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
308
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
309
|
-
i.
|
|
293
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).b2j = function (value, completion) {
|
|
294
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.u5f_1, this.v5f_1, this.w5f_1, this.x5f_1, completion);
|
|
295
|
+
i.y5f_1 = value;
|
|
310
296
|
return i;
|
|
311
297
|
};
|
|
312
298
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
313
299
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
314
300
|
var l = function (value, $completion) {
|
|
315
|
-
return i.
|
|
301
|
+
return i.a2j(value, $completion);
|
|
316
302
|
};
|
|
317
303
|
l.$arity = 1;
|
|
318
304
|
return l;
|
|
319
305
|
}
|
|
320
306
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
321
307
|
CoroutineImpl.call(this, resultContinuation);
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
308
|
+
this.i5g_1 = _this__u8e3s4;
|
|
309
|
+
this.j5g_1 = collector;
|
|
324
310
|
}
|
|
325
|
-
protoOf($collectCOROUTINE$_0).
|
|
326
|
-
var suspendResult = this.
|
|
311
|
+
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
312
|
+
var suspendResult = this.t8_1;
|
|
327
313
|
$sm: do
|
|
328
314
|
try {
|
|
329
|
-
var tmp = this.
|
|
315
|
+
var tmp = this.r8_1;
|
|
330
316
|
switch (tmp) {
|
|
331
317
|
case 0:
|
|
332
|
-
this.
|
|
333
|
-
var
|
|
334
|
-
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
337
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.j55_1, this.g55_1.l55_1, this.g55_1.m55_1, this.g55_1.n55_1, null);
|
|
338
|
-
suspendResult = this.g55_1.k55_1.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
318
|
+
this.s8_1 = 2;
|
|
319
|
+
var $this$unsafeFlow = this.j5g_1;
|
|
320
|
+
this.r8_1 = 1;
|
|
321
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.i5g_1.l5g_1, this.i5g_1.m5g_1, this.i5g_1.n5g_1, null);
|
|
322
|
+
suspendResult = this.i5g_1.k5g_1.d23(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
339
323
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
340
324
|
return suspendResult;
|
|
341
325
|
}
|
|
@@ -344,15 +328,15 @@
|
|
|
344
328
|
case 1:
|
|
345
329
|
return Unit_instance;
|
|
346
330
|
case 2:
|
|
347
|
-
throw this.
|
|
331
|
+
throw this.u8_1;
|
|
348
332
|
}
|
|
349
333
|
} catch ($p) {
|
|
350
334
|
var e = $p;
|
|
351
|
-
if (this.
|
|
335
|
+
if (this.s8_1 === 2) {
|
|
352
336
|
throw e;
|
|
353
337
|
} else {
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
338
|
+
this.r8_1 = this.s8_1;
|
|
339
|
+
this.u8_1 = e;
|
|
356
340
|
}
|
|
357
341
|
}
|
|
358
342
|
while (true);
|
|
@@ -360,11 +344,11 @@
|
|
|
360
344
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
361
345
|
var tmp;
|
|
362
346
|
if (isInterface(format, StringFormat)) {
|
|
363
|
-
var content = format.
|
|
347
|
+
var content = format.ep(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
364
348
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
365
349
|
} else {
|
|
366
350
|
if (isInterface(format, BinaryFormat)) {
|
|
367
|
-
var content_0 = format.
|
|
351
|
+
var content_0 = format.gp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
368
352
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
369
353
|
} else {
|
|
370
354
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -374,20 +358,20 @@
|
|
|
374
358
|
return tmp;
|
|
375
359
|
}
|
|
376
360
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
377
|
-
this.
|
|
361
|
+
this.o5g_1 = function_0;
|
|
378
362
|
}
|
|
379
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
380
|
-
return this.
|
|
363
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).g24 = function (value, $completion) {
|
|
364
|
+
return this.o5g_1(value, $completion);
|
|
381
365
|
};
|
|
382
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
383
|
-
return this.
|
|
366
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
367
|
+
return this.o5g_1;
|
|
384
368
|
};
|
|
385
369
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
386
370
|
var tmp;
|
|
387
371
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
388
372
|
var tmp_0;
|
|
389
373
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
390
|
-
tmp_0 = equals(this.
|
|
374
|
+
tmp_0 = equals(this.a3(), other.a3());
|
|
391
375
|
} else {
|
|
392
376
|
tmp_0 = false;
|
|
393
377
|
}
|
|
@@ -398,23 +382,23 @@
|
|
|
398
382
|
return tmp;
|
|
399
383
|
};
|
|
400
384
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
401
|
-
return hashCode(this.
|
|
385
|
+
return hashCode(this.a3());
|
|
402
386
|
};
|
|
403
387
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
404
|
-
this.
|
|
388
|
+
this.p5g_1 = function_0;
|
|
405
389
|
}
|
|
406
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
407
|
-
return this.
|
|
390
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).g24 = function (value, $completion) {
|
|
391
|
+
return this.p5g_1(value, $completion);
|
|
408
392
|
};
|
|
409
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
410
|
-
return this.
|
|
393
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
394
|
+
return this.p5g_1;
|
|
411
395
|
};
|
|
412
396
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
413
397
|
var tmp;
|
|
414
398
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
415
399
|
var tmp_0;
|
|
416
400
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
417
|
-
tmp_0 = equals(this.
|
|
401
|
+
tmp_0 = equals(this.a3(), other.a3());
|
|
418
402
|
} else {
|
|
419
403
|
tmp_0 = false;
|
|
420
404
|
}
|
|
@@ -425,46 +409,46 @@
|
|
|
425
409
|
return tmp;
|
|
426
410
|
};
|
|
427
411
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
428
|
-
return hashCode(this.
|
|
412
|
+
return hashCode(this.a3());
|
|
429
413
|
};
|
|
430
414
|
function KotlinxSerializationConverter$serializeNullable$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
415
|
+
this.h5f_1 = $this;
|
|
416
|
+
this.i5f_1 = $contentType;
|
|
417
|
+
this.j5f_1 = $charset;
|
|
418
|
+
this.k5f_1 = $typeInfo;
|
|
419
|
+
this.l5f_1 = $value;
|
|
436
420
|
}
|
|
437
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
421
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).h24 = function (collector, $completion) {
|
|
438
422
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
439
|
-
tmp.
|
|
440
|
-
tmp.
|
|
441
|
-
return tmp.
|
|
423
|
+
tmp.t8_1 = Unit_instance;
|
|
424
|
+
tmp.u8_1 = null;
|
|
425
|
+
return tmp.z8();
|
|
442
426
|
};
|
|
443
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).
|
|
444
|
-
return this.
|
|
427
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).d23 = function (collector, $completion) {
|
|
428
|
+
return this.h24(collector, $completion);
|
|
445
429
|
};
|
|
446
430
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
447
431
|
CoroutineImpl.call(this, resultContinuation);
|
|
448
432
|
}
|
|
449
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
450
|
-
var tmp = this.
|
|
451
|
-
tmp.
|
|
452
|
-
tmp.
|
|
453
|
-
return tmp.
|
|
433
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z5g = function (it, $completion) {
|
|
434
|
+
var tmp = this.a5h(it, $completion);
|
|
435
|
+
tmp.t8_1 = Unit_instance;
|
|
436
|
+
tmp.u8_1 = null;
|
|
437
|
+
return tmp.z8();
|
|
454
438
|
};
|
|
455
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
456
|
-
return this.
|
|
439
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).h9 = function (p1, $completion) {
|
|
440
|
+
return this.z5g((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
457
441
|
};
|
|
458
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
459
|
-
var suspendResult = this.
|
|
442
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z8 = function () {
|
|
443
|
+
var suspendResult = this.t8_1;
|
|
460
444
|
$sm: do
|
|
461
445
|
try {
|
|
462
|
-
var tmp = this.
|
|
446
|
+
var tmp = this.r8_1;
|
|
463
447
|
if (tmp === 0) {
|
|
464
|
-
this.
|
|
465
|
-
return !(this.
|
|
448
|
+
this.s8_1 = 1;
|
|
449
|
+
return !(this.y5g_1 == null);
|
|
466
450
|
} else if (tmp === 1) {
|
|
467
|
-
throw this.
|
|
451
|
+
throw this.u8_1;
|
|
468
452
|
}
|
|
469
453
|
} catch ($p) {
|
|
470
454
|
var e = $p;
|
|
@@ -472,57 +456,57 @@
|
|
|
472
456
|
}
|
|
473
457
|
while (true);
|
|
474
458
|
};
|
|
475
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
459
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).a5h = function (it, completion) {
|
|
476
460
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
477
|
-
i.
|
|
461
|
+
i.y5g_1 = it;
|
|
478
462
|
return i;
|
|
479
463
|
};
|
|
480
464
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
481
465
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
482
466
|
var l = function (it, $completion) {
|
|
483
|
-
return i.
|
|
467
|
+
return i.z5g(it, $completion);
|
|
484
468
|
};
|
|
485
469
|
l.$arity = 1;
|
|
486
470
|
return l;
|
|
487
471
|
}
|
|
488
472
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
489
|
-
this.
|
|
490
|
-
this.
|
|
491
|
-
this.
|
|
492
|
-
this.
|
|
473
|
+
this.k5g_1 = $this;
|
|
474
|
+
this.l5g_1 = $charset;
|
|
475
|
+
this.m5g_1 = $typeInfo;
|
|
476
|
+
this.n5g_1 = $content;
|
|
493
477
|
}
|
|
494
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
478
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).h24 = function (collector, $completion) {
|
|
495
479
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
496
|
-
tmp.
|
|
497
|
-
tmp.
|
|
498
|
-
return tmp.
|
|
480
|
+
tmp.t8_1 = Unit_instance;
|
|
481
|
+
tmp.u8_1 = null;
|
|
482
|
+
return tmp.z8();
|
|
499
483
|
};
|
|
500
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
501
|
-
return this.
|
|
484
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).d23 = function (collector, $completion) {
|
|
485
|
+
return this.h24(collector, $completion);
|
|
502
486
|
};
|
|
503
487
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
504
|
-
this.
|
|
488
|
+
this.j5h_1 = $content;
|
|
505
489
|
CoroutineImpl.call(this, resultContinuation);
|
|
506
490
|
}
|
|
507
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
508
|
-
var tmp = this.
|
|
509
|
-
tmp.
|
|
510
|
-
tmp.
|
|
511
|
-
return tmp.
|
|
491
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).o5b = function (it, $completion) {
|
|
492
|
+
var tmp = this.b2j(it, $completion);
|
|
493
|
+
tmp.t8_1 = Unit_instance;
|
|
494
|
+
tmp.u8_1 = null;
|
|
495
|
+
return tmp.z8();
|
|
512
496
|
};
|
|
513
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
514
|
-
return this.
|
|
497
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).h9 = function (p1, $completion) {
|
|
498
|
+
return this.o5b((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
515
499
|
};
|
|
516
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
517
|
-
var suspendResult = this.
|
|
500
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).z8 = function () {
|
|
501
|
+
var suspendResult = this.t8_1;
|
|
518
502
|
$sm: do
|
|
519
503
|
try {
|
|
520
|
-
var tmp = this.
|
|
504
|
+
var tmp = this.r8_1;
|
|
521
505
|
if (tmp === 0) {
|
|
522
|
-
this.
|
|
523
|
-
return !(this.
|
|
506
|
+
this.s8_1 = 1;
|
|
507
|
+
return !(this.k5h_1 == null) || this.j5h_1.t2t();
|
|
524
508
|
} else if (tmp === 1) {
|
|
525
|
-
throw this.
|
|
509
|
+
throw this.u8_1;
|
|
526
510
|
}
|
|
527
511
|
} catch ($p) {
|
|
528
512
|
var e = $p;
|
|
@@ -530,38 +514,38 @@
|
|
|
530
514
|
}
|
|
531
515
|
while (true);
|
|
532
516
|
};
|
|
533
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
534
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
535
|
-
i.
|
|
517
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).b2j = function (it, completion) {
|
|
518
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.j5h_1, completion);
|
|
519
|
+
i.k5h_1 = it;
|
|
536
520
|
return i;
|
|
537
521
|
};
|
|
538
522
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
539
523
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
540
524
|
var l = function (it, $completion) {
|
|
541
|
-
return i.
|
|
525
|
+
return i.o5b(it, $completion);
|
|
542
526
|
};
|
|
543
527
|
l.$arity = 1;
|
|
544
528
|
return l;
|
|
545
529
|
}
|
|
546
530
|
function $serializeNullableCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
547
531
|
CoroutineImpl.call(this, resultContinuation);
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
552
|
-
this.
|
|
532
|
+
this.t5h_1 = _this__u8e3s4;
|
|
533
|
+
this.u5h_1 = contentType;
|
|
534
|
+
this.v5h_1 = charset;
|
|
535
|
+
this.w5h_1 = typeInfo;
|
|
536
|
+
this.x5h_1 = value;
|
|
553
537
|
}
|
|
554
|
-
protoOf($serializeNullableCOROUTINE$).
|
|
555
|
-
var suspendResult = this.
|
|
538
|
+
protoOf($serializeNullableCOROUTINE$).z8 = function () {
|
|
539
|
+
var suspendResult = this.t8_1;
|
|
556
540
|
$sm: do
|
|
557
541
|
try {
|
|
558
|
-
var tmp = this.
|
|
542
|
+
var tmp = this.r8_1;
|
|
559
543
|
switch (tmp) {
|
|
560
544
|
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.
|
|
545
|
+
this.s8_1 = 2;
|
|
546
|
+
this.r8_1 = 1;
|
|
547
|
+
var this_0 = asFlow(this.t5h_1.z5h_1);
|
|
548
|
+
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.u5h_1, this.v5h_1, this.w5h_1, this.x5h_1);
|
|
565
549
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
566
550
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
567
551
|
return suspendResult;
|
|
@@ -574,12 +558,12 @@
|
|
|
574
558
|
return fromExtension;
|
|
575
559
|
var tmp_1;
|
|
576
560
|
try {
|
|
577
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
561
|
+
tmp_1 = serializerForTypeInfo(this.t5h_1.y5h_1.ds(), this.w5h_1);
|
|
578
562
|
} catch ($p) {
|
|
579
563
|
var tmp_2;
|
|
580
564
|
if ($p instanceof SerializationException) {
|
|
581
565
|
var cause = $p;
|
|
582
|
-
tmp_2 = guessSerializer(this.
|
|
566
|
+
tmp_2 = guessSerializer(this.x5h_1, this.t5h_1.y5h_1.ds());
|
|
583
567
|
} else {
|
|
584
568
|
throw $p;
|
|
585
569
|
}
|
|
@@ -587,59 +571,59 @@
|
|
|
587
571
|
}
|
|
588
572
|
|
|
589
573
|
var serializer = tmp_1;
|
|
590
|
-
return serializeContent(this.
|
|
574
|
+
return serializeContent(this.t5h_1, serializer, this.t5h_1.y5h_1, this.x5h_1, this.u5h_1, this.v5h_1);
|
|
591
575
|
case 2:
|
|
592
|
-
throw this.
|
|
576
|
+
throw this.u8_1;
|
|
593
577
|
}
|
|
594
578
|
} catch ($p) {
|
|
595
579
|
var e = $p;
|
|
596
|
-
if (this.
|
|
580
|
+
if (this.s8_1 === 2) {
|
|
597
581
|
throw e;
|
|
598
582
|
} else {
|
|
599
|
-
this.
|
|
600
|
-
this.
|
|
583
|
+
this.r8_1 = this.s8_1;
|
|
584
|
+
this.u8_1 = e;
|
|
601
585
|
}
|
|
602
586
|
}
|
|
603
587
|
while (true);
|
|
604
588
|
};
|
|
605
589
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
606
590
|
CoroutineImpl.call(this, resultContinuation);
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
609
|
-
this.
|
|
610
|
-
this.
|
|
591
|
+
this.i5i_1 = _this__u8e3s4;
|
|
592
|
+
this.j5i_1 = charset;
|
|
593
|
+
this.k5i_1 = typeInfo;
|
|
594
|
+
this.l5i_1 = content;
|
|
611
595
|
}
|
|
612
|
-
protoOf($deserializeCOROUTINE$).
|
|
613
|
-
var suspendResult = this.
|
|
596
|
+
protoOf($deserializeCOROUTINE$).z8 = function () {
|
|
597
|
+
var suspendResult = this.t8_1;
|
|
614
598
|
$sm: do
|
|
615
599
|
try {
|
|
616
|
-
var tmp = this.
|
|
600
|
+
var tmp = this.r8_1;
|
|
617
601
|
switch (tmp) {
|
|
618
602
|
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.
|
|
603
|
+
this.s8_1 = 5;
|
|
604
|
+
this.r8_1 = 1;
|
|
605
|
+
var this_0 = asFlow(this.i5i_1.z5h_1);
|
|
606
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.j5i_1, this.k5i_1, this.l5i_1);
|
|
607
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.l5i_1, null), this);
|
|
624
608
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
625
609
|
return suspendResult;
|
|
626
610
|
}
|
|
627
611
|
|
|
628
612
|
continue $sm;
|
|
629
613
|
case 1:
|
|
630
|
-
|
|
614
|
+
var fromExtension = suspendResult;
|
|
631
615
|
var tmp_1;
|
|
632
|
-
if (!this.
|
|
633
|
-
tmp_1 = !(
|
|
616
|
+
if (!this.i5i_1.z5h_1.q()) {
|
|
617
|
+
tmp_1 = !(fromExtension == null) || this.l5i_1.t2t();
|
|
634
618
|
} else {
|
|
635
619
|
tmp_1 = false;
|
|
636
620
|
}
|
|
637
621
|
|
|
638
622
|
if (tmp_1)
|
|
639
|
-
return
|
|
640
|
-
this.
|
|
641
|
-
this.
|
|
642
|
-
suspendResult = this.
|
|
623
|
+
return fromExtension;
|
|
624
|
+
this.m5i_1 = serializerForTypeInfo(this.i5i_1.y5h_1.ds(), this.k5i_1);
|
|
625
|
+
this.r8_1 = 2;
|
|
626
|
+
suspendResult = this.l5i_1.k2z(VOID, this);
|
|
643
627
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
644
628
|
return suspendResult;
|
|
645
629
|
}
|
|
@@ -647,97 +631,97 @@
|
|
|
647
631
|
continue $sm;
|
|
648
632
|
case 2:
|
|
649
633
|
var contentPacket = suspendResult;
|
|
650
|
-
this.
|
|
651
|
-
var tmp0_subject = this.
|
|
634
|
+
this.s8_1 = 3;
|
|
635
|
+
var tmp0_subject = this.i5i_1.y5h_1;
|
|
652
636
|
var tmp_2;
|
|
653
637
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
654
|
-
tmp_2 = this.
|
|
638
|
+
tmp_2 = this.i5i_1.y5h_1.fp(this.m5i_1, readText(contentPacket, this.j5i_1));
|
|
655
639
|
} else {
|
|
656
640
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
657
|
-
tmp_2 = this.
|
|
641
|
+
tmp_2 = this.i5i_1.y5h_1.hp(this.m5i_1, readBytes(contentPacket));
|
|
658
642
|
} else {
|
|
659
643
|
discard(contentPacket);
|
|
660
|
-
var message = 'Unsupported format ' + toString(this.
|
|
644
|
+
var message = 'Unsupported format ' + toString(this.i5i_1.y5h_1);
|
|
661
645
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
662
646
|
}
|
|
663
647
|
}
|
|
664
648
|
|
|
665
649
|
return tmp_2;
|
|
666
650
|
case 3:
|
|
667
|
-
this.
|
|
668
|
-
var tmp_3 = this.
|
|
651
|
+
this.s8_1 = 5;
|
|
652
|
+
var tmp_3 = this.u8_1;
|
|
669
653
|
if (tmp_3 instanceof Error) {
|
|
670
|
-
var cause = this.
|
|
654
|
+
var cause = this.u8_1;
|
|
671
655
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
672
656
|
} else {
|
|
673
|
-
throw this.
|
|
657
|
+
throw this.u8_1;
|
|
674
658
|
}
|
|
675
659
|
|
|
676
660
|
case 4:
|
|
677
|
-
this.
|
|
661
|
+
this.s8_1 = 5;
|
|
678
662
|
return Unit_instance;
|
|
679
663
|
case 5:
|
|
680
|
-
throw this.
|
|
664
|
+
throw this.u8_1;
|
|
681
665
|
}
|
|
682
666
|
} catch ($p) {
|
|
683
667
|
var e = $p;
|
|
684
|
-
if (this.
|
|
668
|
+
if (this.s8_1 === 5) {
|
|
685
669
|
throw e;
|
|
686
670
|
} else {
|
|
687
|
-
this.
|
|
688
|
-
this.
|
|
671
|
+
this.r8_1 = this.s8_1;
|
|
672
|
+
this.u8_1 = e;
|
|
689
673
|
}
|
|
690
674
|
}
|
|
691
675
|
while (true);
|
|
692
676
|
};
|
|
693
677
|
function KotlinxSerializationConverter(format) {
|
|
694
|
-
this.
|
|
695
|
-
this.
|
|
678
|
+
this.y5h_1 = format;
|
|
679
|
+
this.z5h_1 = extensions(this.y5h_1);
|
|
696
680
|
var tmp;
|
|
697
|
-
var tmp_0 = this.
|
|
681
|
+
var tmp_0 = this.y5h_1;
|
|
698
682
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
699
683
|
tmp = true;
|
|
700
684
|
} else {
|
|
701
|
-
var tmp_1 = this.
|
|
685
|
+
var tmp_1 = this.y5h_1;
|
|
702
686
|
tmp = isInterface(tmp_1, StringFormat);
|
|
703
687
|
}
|
|
704
688
|
// Inline function 'kotlin.require' call
|
|
705
689
|
if (!tmp) {
|
|
706
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
690
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.y5h_1) + ' is not supported.';
|
|
707
691
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
708
692
|
}
|
|
709
693
|
}
|
|
710
|
-
protoOf(KotlinxSerializationConverter).
|
|
711
|
-
return this.
|
|
694
|
+
protoOf(KotlinxSerializationConverter).n5i = function (contentType, charset, typeInfo, value, $completion) {
|
|
695
|
+
return this.o5i(contentType, charset, typeInfo, value, $completion);
|
|
712
696
|
};
|
|
713
|
-
protoOf(KotlinxSerializationConverter).
|
|
714
|
-
return this.
|
|
697
|
+
protoOf(KotlinxSerializationConverter).m59 = function (contentType, charset, typeInfo, value, $completion) {
|
|
698
|
+
return this.n5i(contentType, charset, typeInfo, value, $completion);
|
|
715
699
|
};
|
|
716
|
-
protoOf(KotlinxSerializationConverter).
|
|
700
|
+
protoOf(KotlinxSerializationConverter).o5i = function (contentType, charset, typeInfo, value, $completion) {
|
|
717
701
|
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
718
|
-
tmp.
|
|
719
|
-
tmp.
|
|
720
|
-
return tmp.
|
|
702
|
+
tmp.t8_1 = Unit_instance;
|
|
703
|
+
tmp.u8_1 = null;
|
|
704
|
+
return tmp.z8();
|
|
721
705
|
};
|
|
722
|
-
protoOf(KotlinxSerializationConverter).
|
|
723
|
-
return this.
|
|
706
|
+
protoOf(KotlinxSerializationConverter).n59 = function (contentType, charset, typeInfo, value, $completion) {
|
|
707
|
+
return this.o5i(contentType, charset, typeInfo, value, $completion);
|
|
724
708
|
};
|
|
725
|
-
protoOf(KotlinxSerializationConverter).
|
|
709
|
+
protoOf(KotlinxSerializationConverter).o59 = function (charset, typeInfo, content, $completion) {
|
|
726
710
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
727
|
-
tmp.
|
|
728
|
-
tmp.
|
|
729
|
-
return tmp.
|
|
711
|
+
tmp.t8_1 = Unit_instance;
|
|
712
|
+
tmp.u8_1 = null;
|
|
713
|
+
return tmp.z8();
|
|
730
714
|
};
|
|
731
715
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
732
716
|
var module_0 = _this__u8e3s4;
|
|
733
|
-
var tmp0_safe_receiver = typeInfo.
|
|
717
|
+
var tmp0_safe_receiver = typeInfo.k3f_1;
|
|
734
718
|
var tmp;
|
|
735
719
|
if (tmp0_safe_receiver == null) {
|
|
736
720
|
tmp = null;
|
|
737
721
|
} else {
|
|
738
722
|
// Inline function 'kotlin.let' call
|
|
739
723
|
var tmp_0;
|
|
740
|
-
if (tmp0_safe_receiver.
|
|
724
|
+
if (tmp0_safe_receiver.ra().q()) {
|
|
741
725
|
tmp_0 = null;
|
|
742
726
|
} else {
|
|
743
727
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -747,13 +731,13 @@
|
|
|
747
731
|
var tmp2_elvis_lhs = tmp;
|
|
748
732
|
var tmp_1;
|
|
749
733
|
if (tmp2_elvis_lhs == null) {
|
|
750
|
-
var tmp1_safe_receiver = module_0.
|
|
734
|
+
var tmp1_safe_receiver = module_0.kp(typeInfo.i3f_1);
|
|
751
735
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
752
736
|
} else {
|
|
753
737
|
tmp_1 = tmp2_elvis_lhs;
|
|
754
738
|
}
|
|
755
739
|
var tmp3_elvis_lhs = tmp_1;
|
|
756
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
740
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.i3f_1), typeInfo) : tmp3_elvis_lhs;
|
|
757
741
|
}
|
|
758
742
|
function guessSerializer(value, module_0) {
|
|
759
743
|
var tmp;
|
|
@@ -779,11 +763,11 @@
|
|
|
779
763
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
780
764
|
} else {
|
|
781
765
|
if (!(value == null) ? isInterface(value, KtMap) : false) {
|
|
782
|
-
var keySerializer = elementSerializer(value.
|
|
783
|
-
var valueSerializer = elementSerializer(value.
|
|
766
|
+
var keySerializer = elementSerializer(value.c2(), module_0);
|
|
767
|
+
var valueSerializer = elementSerializer(value.d2(), module_0);
|
|
784
768
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
785
769
|
} else {
|
|
786
|
-
var tmp3_elvis_lhs = module_0.
|
|
770
|
+
var tmp3_elvis_lhs = module_0.kp(getKClassFromExpression(value));
|
|
787
771
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
788
772
|
}
|
|
789
773
|
}
|
|
@@ -795,8 +779,8 @@
|
|
|
795
779
|
}
|
|
796
780
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
797
781
|
var tmp;
|
|
798
|
-
var tmp0_safe_receiver = typeInfo.
|
|
799
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
782
|
+
var tmp0_safe_receiver = typeInfo.k3f_1;
|
|
783
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.sa()) === true) {
|
|
800
784
|
tmp = get_nullable(_this__u8e3s4);
|
|
801
785
|
} else {
|
|
802
786
|
tmp = _this__u8e3s4;
|
|
@@ -808,33 +792,33 @@
|
|
|
808
792
|
var this_0 = filterNotNull(_this__u8e3s4);
|
|
809
793
|
// Inline function 'kotlin.collections.mapTo' call
|
|
810
794
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
811
|
-
var _iterator__ex2g4s = this_0.
|
|
812
|
-
while (_iterator__ex2g4s.
|
|
813
|
-
var item = _iterator__ex2g4s.
|
|
795
|
+
var _iterator__ex2g4s = this_0.l();
|
|
796
|
+
while (_iterator__ex2g4s.m()) {
|
|
797
|
+
var item = _iterator__ex2g4s.n();
|
|
814
798
|
var tmp$ret$0 = guessSerializer(item, module_0);
|
|
815
|
-
destination.
|
|
799
|
+
destination.j(tmp$ret$0);
|
|
816
800
|
}
|
|
817
801
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
818
802
|
var set = HashSet_init_$Create$();
|
|
819
803
|
var list = ArrayList_init_$Create$();
|
|
820
|
-
var _iterator__ex2g4s_0 = destination.
|
|
821
|
-
while (_iterator__ex2g4s_0.
|
|
822
|
-
var e = _iterator__ex2g4s_0.
|
|
823
|
-
var key = e.
|
|
824
|
-
if (set.
|
|
825
|
-
list.
|
|
804
|
+
var _iterator__ex2g4s_0 = destination.l();
|
|
805
|
+
while (_iterator__ex2g4s_0.m()) {
|
|
806
|
+
var e = _iterator__ex2g4s_0.n();
|
|
807
|
+
var key = e.bo().cp();
|
|
808
|
+
if (set.j(key)) {
|
|
809
|
+
list.j(e);
|
|
826
810
|
}
|
|
827
811
|
}
|
|
828
812
|
var serializers = list;
|
|
829
|
-
if (serializers.
|
|
813
|
+
if (serializers.o() > 1) {
|
|
830
814
|
// Inline function 'kotlin.collections.map' call
|
|
831
815
|
// Inline function 'kotlin.collections.mapTo' call
|
|
832
816
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(serializers, 10));
|
|
833
|
-
var _iterator__ex2g4s_1 = serializers.
|
|
834
|
-
while (_iterator__ex2g4s_1.
|
|
835
|
-
var item_0 = _iterator__ex2g4s_1.
|
|
836
|
-
var tmp$ret$5 = item_0.
|
|
837
|
-
destination_0.
|
|
817
|
+
var _iterator__ex2g4s_1 = serializers.l();
|
|
818
|
+
while (_iterator__ex2g4s_1.m()) {
|
|
819
|
+
var item_0 = _iterator__ex2g4s_1.n();
|
|
820
|
+
var tmp$ret$5 = item_0.bo().cp();
|
|
821
|
+
destination_0.j(tmp$ret$5);
|
|
838
822
|
}
|
|
839
823
|
// Inline function 'kotlin.error' call
|
|
840
824
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -842,7 +826,7 @@
|
|
|
842
826
|
}
|
|
843
827
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
844
828
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
845
|
-
if (selected.
|
|
829
|
+
if (selected.bo().op()) {
|
|
846
830
|
return selected;
|
|
847
831
|
}
|
|
848
832
|
if (!isInterface(selected, KSerializer))
|
|
@@ -852,7 +836,7 @@
|
|
|
852
836
|
// Inline function 'kotlin.collections.any' call
|
|
853
837
|
var tmp;
|
|
854
838
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
855
|
-
tmp = _this__u8e3s4.
|
|
839
|
+
tmp = _this__u8e3s4.q();
|
|
856
840
|
} else {
|
|
857
841
|
tmp = false;
|
|
858
842
|
}
|
|
@@ -860,9 +844,9 @@
|
|
|
860
844
|
tmp$ret$8 = false;
|
|
861
845
|
break $l$block_0;
|
|
862
846
|
}
|
|
863
|
-
var _iterator__ex2g4s_2 = _this__u8e3s4.
|
|
864
|
-
while (_iterator__ex2g4s_2.
|
|
865
|
-
var element = _iterator__ex2g4s_2.
|
|
847
|
+
var _iterator__ex2g4s_2 = _this__u8e3s4.l();
|
|
848
|
+
while (_iterator__ex2g4s_2.m()) {
|
|
849
|
+
var element = _iterator__ex2g4s_2.n();
|
|
866
850
|
if (element == null) {
|
|
867
851
|
tmp$ret$8 = true;
|
|
868
852
|
break $l$block_0;
|