raspberry_games_server_game_logic 1.8.342 → 1.8.346
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 +105 -117
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +935 -945
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +4637 -3658
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1909 -1936
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18559 -19039
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +934 -167
- package/Logic_Debertz-game_server.js +2061 -2015
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4834 -4537
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlinx-atomicfu.js +25 -26
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +3195 -3373
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +459 -523
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2372 -2414
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1963 -1977
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +194 -194
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +1902 -1937
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-js.js.map +1 -1
- package/ktor-ktor-client-logging.js +393 -399
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +12 -15
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js +964 -1154
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1715 -1825
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js +238 -243
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +100 -96
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +655 -689
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websocket-serialization.js.map +1 -1
- package/ktor-ktor-websockets.js +71 -77
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -2
- package/raspberry-cardgame-lib-core.js +326 -360
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +148 -119
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +965 -1034
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +36 -35
- package/secure-random-secure-random.js.map +1 -1
- package/uuid.js +35 -39
- package/uuid.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +0 -15
- package/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
|
@@ -27,118 +27,115 @@
|
|
|
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.$_$.
|
|
30
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
31
|
+
var Unit_instance = kotlin_kotlin.$_$.i5;
|
|
32
|
+
var CoroutineImpl = kotlin_kotlin.$_$.qa;
|
|
33
|
+
var protoOf = kotlin_kotlin.$_$.pc;
|
|
34
|
+
var THROW_CCE = kotlin_kotlin.$_$.og;
|
|
35
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ba;
|
|
36
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.sb;
|
|
37
37
|
var VOID = kotlin_kotlin.$_$.f;
|
|
38
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
39
|
-
var toString = kotlin_kotlin.$_$.
|
|
40
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
41
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
38
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.qb;
|
|
39
|
+
var toString = kotlin_kotlin.$_$.uc;
|
|
40
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
41
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
42
|
+
var isInterface = kotlin_kotlin.$_$.cc;
|
|
43
43
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.j;
|
|
44
|
-
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
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
|
-
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
47
|
+
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
48
|
+
var equals = kotlin_kotlin.$_$.hb;
|
|
49
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ua;
|
|
50
50
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
51
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.nb;
|
|
52
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ob;
|
|
53
53
|
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
54
54
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
55
55
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
|
|
56
56
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
57
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
57
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
58
58
|
var discard = kotlin_io_ktor_ktor_io.$_$.w;
|
|
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.$_$.p1;
|
|
63
63
|
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
64
|
-
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
65
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
64
|
+
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z2;
|
|
65
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b3;
|
|
66
66
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
67
|
-
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
68
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
69
|
-
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
70
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
71
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
72
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
73
|
-
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
74
|
-
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
75
|
-
var isArray = kotlin_kotlin.$_$.
|
|
76
|
-
var KtList = kotlin_kotlin.$_$.
|
|
77
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
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.$_$.
|
|
67
|
+
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
68
|
+
var KtMap = kotlin_kotlin.$_$.t5;
|
|
69
|
+
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
70
|
+
var KtSet = kotlin_kotlin.$_$.y5;
|
|
71
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.m7;
|
|
72
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.t4;
|
|
73
|
+
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
74
|
+
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
75
|
+
var isArray = kotlin_kotlin.$_$.ub;
|
|
76
|
+
var KtList = kotlin_kotlin.$_$.q5;
|
|
77
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
78
|
+
var filterNotNull = kotlin_kotlin.$_$.j7;
|
|
79
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.l6;
|
|
80
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
81
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
82
|
+
var singleOrNull = kotlin_kotlin.$_$.b9;
|
|
83
|
+
var Collection = kotlin_kotlin.$_$.k5;
|
|
84
|
+
var emptyList = kotlin_kotlin.$_$.g7;
|
|
85
85
|
//endregion
|
|
86
86
|
//region block: pre-declaration
|
|
87
87
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
88
|
-
initMetadataForCoroutine($collectCOROUTINE
|
|
88
|
+
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
89
89
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
90
|
-
initMetadataForCoroutine($collectCOROUTINE$
|
|
90
|
+
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
91
91
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
92
92
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
93
|
-
initMetadataForClass(
|
|
93
|
+
initMetadataForClass(KotlinxSerializationConverter$serializeNullable$$inlined$map$1, VOID, VOID, VOID, [Flow], [1]);
|
|
94
94
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$slambda, CoroutineImpl, VOID, [1]);
|
|
95
|
-
initMetadataForClass(
|
|
95
|
+
initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, [Flow], [1]);
|
|
96
96
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
|
|
97
|
-
initMetadataForCoroutine($serializeNullableCOROUTINE
|
|
98
|
-
initMetadataForCoroutine($deserializeCOROUTINE
|
|
97
|
+
initMetadataForCoroutine($serializeNullableCOROUTINE$, CoroutineImpl);
|
|
98
|
+
initMetadataForCoroutine($deserializeCOROUTINE$, CoroutineImpl);
|
|
99
99
|
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, [ContentConverter], [4, 3]);
|
|
100
100
|
//endregion
|
|
101
101
|
function extensions(format) {
|
|
102
102
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
103
|
+
var tmp0 = get_providers();
|
|
103
104
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
104
|
-
var this_0 = get_providers();
|
|
105
105
|
var destination = ArrayList_init_$Create$();
|
|
106
106
|
// Inline function 'kotlin.collections.forEach' call
|
|
107
|
-
var
|
|
108
|
-
while (
|
|
109
|
-
var element =
|
|
110
|
-
|
|
111
|
-
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
112
|
-
var tmp0_safe_receiver = element.d4q(format);
|
|
107
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
108
|
+
while (_iterator__ex2g4s.k()) {
|
|
109
|
+
var element = _iterator__ex2g4s.l();
|
|
110
|
+
var tmp0_safe_receiver = element.q4t(format);
|
|
113
111
|
if (tmp0_safe_receiver == null)
|
|
114
112
|
null;
|
|
115
113
|
else {
|
|
116
114
|
// Inline function 'kotlin.let' call
|
|
117
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
118
115
|
destination.e(tmp0_safe_receiver);
|
|
119
116
|
}
|
|
120
117
|
}
|
|
121
118
|
return destination;
|
|
122
119
|
}
|
|
123
120
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
124
|
-
_this__u8e3s4.
|
|
121
|
+
_this__u8e3s4.t2t(contentType, new KotlinxSerializationConverter(format));
|
|
125
122
|
}
|
|
126
123
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
124
|
+
this.z4t_1 = $$this$unsafeFlow;
|
|
125
|
+
this.a4u_1 = $contentType;
|
|
126
|
+
this.b4u_1 = $charset;
|
|
127
|
+
this.c4u_1 = $typeInfo;
|
|
128
|
+
this.d4u_1 = $value;
|
|
132
129
|
CoroutineImpl.call(this, resultContinuation);
|
|
133
130
|
}
|
|
134
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
135
|
-
var tmp = this.
|
|
131
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).l1k = function (value, $completion) {
|
|
132
|
+
var tmp = this.m1k(value, $completion);
|
|
136
133
|
tmp.l9_1 = Unit_instance;
|
|
137
134
|
tmp.m9_1 = null;
|
|
138
135
|
return tmp.r9();
|
|
139
136
|
};
|
|
140
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
141
|
-
return this.
|
|
137
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).z9 = function (p1, $completion) {
|
|
138
|
+
return this.l1k((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
142
139
|
};
|
|
143
140
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).r9 = function () {
|
|
144
141
|
var suspendResult = this.l9_1;
|
|
@@ -149,22 +146,25 @@
|
|
|
149
146
|
case 0:
|
|
150
147
|
this.k9_1 = 3;
|
|
151
148
|
var tmp_0 = this;
|
|
152
|
-
tmp_0.
|
|
149
|
+
tmp_0.f4u_1 = this.z4t_1;
|
|
153
150
|
var tmp_1 = this;
|
|
154
|
-
tmp_1.
|
|
151
|
+
tmp_1.g4u_1 = this.e4u_1;
|
|
152
|
+
this.h4u_1 = this.f4u_1;
|
|
153
|
+
this.i4u_1 = this.g4u_1;
|
|
155
154
|
var tmp_2 = this;
|
|
156
|
-
tmp_2.
|
|
155
|
+
tmp_2.j4u_1 = this.i4u_1;
|
|
156
|
+
this.k4u_1 = this.j4u_1;
|
|
157
157
|
this.j9_1 = 1;
|
|
158
|
-
suspendResult = this.
|
|
158
|
+
suspendResult = this.k4u_1.m4u(this.a4u_1, this.b4u_1, this.c4u_1, this.d4u_1, this);
|
|
159
159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
160
160
|
return suspendResult;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
continue $sm;
|
|
164
164
|
case 1:
|
|
165
|
-
this.
|
|
165
|
+
this.l4u_1 = suspendResult;
|
|
166
166
|
this.j9_1 = 2;
|
|
167
|
-
suspendResult = this.
|
|
167
|
+
suspendResult = this.h4u_1.o1a(this.l4u_1, this);
|
|
168
168
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
169
169
|
return suspendResult;
|
|
170
170
|
}
|
|
@@ -186,25 +186,25 @@
|
|
|
186
186
|
}
|
|
187
187
|
while (true);
|
|
188
188
|
};
|
|
189
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
190
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
191
|
-
i.
|
|
189
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).m1k = function (value, completion) {
|
|
190
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.z4t_1, this.a4u_1, this.b4u_1, this.c4u_1, this.d4u_1, completion);
|
|
191
|
+
i.e4u_1 = value;
|
|
192
192
|
return i;
|
|
193
193
|
};
|
|
194
194
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
195
195
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
196
196
|
var l = function (value, $completion) {
|
|
197
|
-
return i.
|
|
197
|
+
return i.l1k(value, $completion);
|
|
198
198
|
};
|
|
199
199
|
l.$arity = 1;
|
|
200
200
|
return l;
|
|
201
201
|
}
|
|
202
|
-
function $collectCOROUTINE$
|
|
202
|
+
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
203
203
|
CoroutineImpl.call(this, resultContinuation);
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
204
|
+
this.v4u_1 = _this__u8e3s4;
|
|
205
|
+
this.w4u_1 = collector;
|
|
206
206
|
}
|
|
207
|
-
protoOf($collectCOROUTINE$
|
|
207
|
+
protoOf($collectCOROUTINE$).r9 = function () {
|
|
208
208
|
var suspendResult = this.l9_1;
|
|
209
209
|
$sm: do
|
|
210
210
|
try {
|
|
@@ -213,10 +213,11 @@
|
|
|
213
213
|
case 0:
|
|
214
214
|
this.k9_1 = 2;
|
|
215
215
|
var tmp_0 = this;
|
|
216
|
-
tmp_0.
|
|
216
|
+
tmp_0.x4u_1 = this.w4u_1;
|
|
217
|
+
this.y4u_1 = this.x4u_1;
|
|
217
218
|
this.j9_1 = 1;
|
|
218
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
219
|
-
suspendResult = this.
|
|
219
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.y4u_1, this.v4u_1.a4v_1, this.v4u_1.b4v_1, this.v4u_1.c4v_1, this.v4u_1.d4v_1, null);
|
|
220
|
+
suspendResult = this.v4u_1.z4u_1.i19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
220
221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
221
222
|
return suspendResult;
|
|
222
223
|
}
|
|
@@ -239,20 +240,20 @@
|
|
|
239
240
|
while (true);
|
|
240
241
|
};
|
|
241
242
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
243
|
+
this.m4v_1 = $$this$unsafeFlow;
|
|
244
|
+
this.n4v_1 = $charset;
|
|
245
|
+
this.o4v_1 = $typeInfo;
|
|
246
|
+
this.p4v_1 = $content;
|
|
246
247
|
CoroutineImpl.call(this, resultContinuation);
|
|
247
248
|
}
|
|
248
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
249
|
-
var tmp = this.
|
|
249
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l1k = function (value, $completion) {
|
|
250
|
+
var tmp = this.m1k(value, $completion);
|
|
250
251
|
tmp.l9_1 = Unit_instance;
|
|
251
252
|
tmp.m9_1 = null;
|
|
252
253
|
return tmp.r9();
|
|
253
254
|
};
|
|
254
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
255
|
-
return this.
|
|
255
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z9 = function (p1, $completion) {
|
|
256
|
+
return this.l1k((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
256
257
|
};
|
|
257
258
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r9 = function () {
|
|
258
259
|
var suspendResult = this.l9_1;
|
|
@@ -263,22 +264,25 @@
|
|
|
263
264
|
case 0:
|
|
264
265
|
this.k9_1 = 3;
|
|
265
266
|
var tmp_0 = this;
|
|
266
|
-
tmp_0.
|
|
267
|
+
tmp_0.r4v_1 = this.m4v_1;
|
|
267
268
|
var tmp_1 = this;
|
|
268
|
-
tmp_1.
|
|
269
|
+
tmp_1.s4v_1 = this.q4v_1;
|
|
270
|
+
this.t4v_1 = this.r4v_1;
|
|
271
|
+
this.u4v_1 = this.s4v_1;
|
|
269
272
|
var tmp_2 = this;
|
|
270
|
-
tmp_2.
|
|
273
|
+
tmp_2.v4v_1 = this.u4v_1;
|
|
274
|
+
this.w4v_1 = this.v4v_1;
|
|
271
275
|
this.j9_1 = 1;
|
|
272
|
-
suspendResult = this.
|
|
276
|
+
suspendResult = this.w4v_1.w2t(this.n4v_1, this.o4v_1, this.p4v_1, this);
|
|
273
277
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
274
278
|
return suspendResult;
|
|
275
279
|
}
|
|
276
280
|
|
|
277
281
|
continue $sm;
|
|
278
282
|
case 1:
|
|
279
|
-
this.
|
|
283
|
+
this.x4v_1 = suspendResult;
|
|
280
284
|
this.j9_1 = 2;
|
|
281
|
-
suspendResult = this.
|
|
285
|
+
suspendResult = this.t4v_1.o1a(this.x4v_1, this);
|
|
282
286
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
283
287
|
return suspendResult;
|
|
284
288
|
}
|
|
@@ -300,25 +304,25 @@
|
|
|
300
304
|
}
|
|
301
305
|
while (true);
|
|
302
306
|
};
|
|
303
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
304
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
305
|
-
i.
|
|
307
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).m1k = function (value, completion) {
|
|
308
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.m4v_1, this.n4v_1, this.o4v_1, this.p4v_1, completion);
|
|
309
|
+
i.q4v_1 = value;
|
|
306
310
|
return i;
|
|
307
311
|
};
|
|
308
312
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
309
313
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
310
314
|
var l = function (value, $completion) {
|
|
311
|
-
return i.
|
|
315
|
+
return i.l1k(value, $completion);
|
|
312
316
|
};
|
|
313
317
|
l.$arity = 1;
|
|
314
318
|
return l;
|
|
315
319
|
}
|
|
316
|
-
function $collectCOROUTINE$
|
|
320
|
+
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
317
321
|
CoroutineImpl.call(this, resultContinuation);
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
322
|
+
this.g4w_1 = _this__u8e3s4;
|
|
323
|
+
this.h4w_1 = collector;
|
|
320
324
|
}
|
|
321
|
-
protoOf($collectCOROUTINE$
|
|
325
|
+
protoOf($collectCOROUTINE$_0).r9 = function () {
|
|
322
326
|
var suspendResult = this.l9_1;
|
|
323
327
|
$sm: do
|
|
324
328
|
try {
|
|
@@ -327,10 +331,11 @@
|
|
|
327
331
|
case 0:
|
|
328
332
|
this.k9_1 = 2;
|
|
329
333
|
var tmp_0 = this;
|
|
330
|
-
tmp_0.
|
|
334
|
+
tmp_0.i4w_1 = this.h4w_1;
|
|
335
|
+
this.j4w_1 = this.i4w_1;
|
|
331
336
|
this.j9_1 = 1;
|
|
332
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
333
|
-
suspendResult = this.
|
|
337
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.j4w_1, this.g4w_1.l4w_1, this.g4w_1.m4w_1, this.g4w_1.n4w_1, null);
|
|
338
|
+
suspendResult = this.g4w_1.k4w_1.i19(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
334
339
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
335
340
|
return suspendResult;
|
|
336
341
|
}
|
|
@@ -355,11 +360,11 @@
|
|
|
355
360
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
356
361
|
var tmp;
|
|
357
362
|
if (isInterface(format, StringFormat)) {
|
|
358
|
-
var content = format.
|
|
363
|
+
var content = format.k49(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
359
364
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
360
365
|
} else {
|
|
361
366
|
if (isInterface(format, BinaryFormat)) {
|
|
362
|
-
var content_0 = format.
|
|
367
|
+
var content_0 = format.m49(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
363
368
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
364
369
|
} else {
|
|
365
370
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -369,20 +374,20 @@
|
|
|
369
374
|
return tmp;
|
|
370
375
|
}
|
|
371
376
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
372
|
-
this.
|
|
377
|
+
this.o4w_1 = function_0;
|
|
373
378
|
}
|
|
374
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
375
|
-
return this.
|
|
379
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o1a = function (value, $completion) {
|
|
380
|
+
return this.o4w_1(value, $completion);
|
|
376
381
|
};
|
|
377
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
378
|
-
return this.
|
|
382
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
383
|
+
return this.o4w_1;
|
|
379
384
|
};
|
|
380
385
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
381
386
|
var tmp;
|
|
382
387
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
383
388
|
var tmp_0;
|
|
384
389
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
385
|
-
tmp_0 = equals(this.
|
|
390
|
+
tmp_0 = equals(this.q3(), other.q3());
|
|
386
391
|
} else {
|
|
387
392
|
tmp_0 = false;
|
|
388
393
|
}
|
|
@@ -393,23 +398,23 @@
|
|
|
393
398
|
return tmp;
|
|
394
399
|
};
|
|
395
400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
396
|
-
return hashCode(this.
|
|
401
|
+
return hashCode(this.q3());
|
|
397
402
|
};
|
|
398
403
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
399
|
-
this.
|
|
404
|
+
this.p4w_1 = function_0;
|
|
400
405
|
}
|
|
401
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
402
|
-
return this.
|
|
406
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o1a = function (value, $completion) {
|
|
407
|
+
return this.p4w_1(value, $completion);
|
|
403
408
|
};
|
|
404
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
405
|
-
return this.
|
|
409
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
|
|
410
|
+
return this.p4w_1;
|
|
406
411
|
};
|
|
407
412
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
408
413
|
var tmp;
|
|
409
414
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
410
415
|
var tmp_0;
|
|
411
416
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
412
|
-
tmp_0 = equals(this.
|
|
417
|
+
tmp_0 = equals(this.q3(), other.q3());
|
|
413
418
|
} else {
|
|
414
419
|
tmp_0 = false;
|
|
415
420
|
}
|
|
@@ -420,35 +425,35 @@
|
|
|
420
425
|
return tmp;
|
|
421
426
|
};
|
|
422
427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
423
|
-
return hashCode(this.
|
|
424
|
-
};
|
|
425
|
-
function
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
428
|
+
return hashCode(this.q3());
|
|
429
|
+
};
|
|
430
|
+
function KotlinxSerializationConverter$serializeNullable$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
431
|
+
this.z4u_1 = $this;
|
|
432
|
+
this.a4v_1 = $contentType;
|
|
433
|
+
this.b4v_1 = $charset;
|
|
434
|
+
this.c4v_1 = $typeInfo;
|
|
435
|
+
this.d4v_1 = $value;
|
|
431
436
|
}
|
|
432
|
-
protoOf(
|
|
433
|
-
var tmp = new $collectCOROUTINE$
|
|
437
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).p1a = function (collector, $completion) {
|
|
438
|
+
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
434
439
|
tmp.l9_1 = Unit_instance;
|
|
435
440
|
tmp.m9_1 = null;
|
|
436
441
|
return tmp.r9();
|
|
437
442
|
};
|
|
438
|
-
protoOf(
|
|
439
|
-
return this.
|
|
443
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).i19 = function (collector, $completion) {
|
|
444
|
+
return this.p1a(collector, $completion);
|
|
440
445
|
};
|
|
441
446
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
442
447
|
CoroutineImpl.call(this, resultContinuation);
|
|
443
448
|
}
|
|
444
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
445
|
-
var tmp = this.
|
|
449
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z4w = function (it, $completion) {
|
|
450
|
+
var tmp = this.a4x(it, $completion);
|
|
446
451
|
tmp.l9_1 = Unit_instance;
|
|
447
452
|
tmp.m9_1 = null;
|
|
448
453
|
return tmp.r9();
|
|
449
454
|
};
|
|
450
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
451
|
-
return this.
|
|
455
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z9 = function (p1, $completion) {
|
|
456
|
+
return this.z4w((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
452
457
|
};
|
|
453
458
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).r9 = function () {
|
|
454
459
|
var suspendResult = this.l9_1;
|
|
@@ -457,7 +462,7 @@
|
|
|
457
462
|
var tmp = this.j9_1;
|
|
458
463
|
if (tmp === 0) {
|
|
459
464
|
this.k9_1 = 1;
|
|
460
|
-
return !(this.
|
|
465
|
+
return !(this.y4w_1 == null);
|
|
461
466
|
} else if (tmp === 1) {
|
|
462
467
|
throw this.m9_1;
|
|
463
468
|
}
|
|
@@ -467,46 +472,46 @@
|
|
|
467
472
|
}
|
|
468
473
|
while (true);
|
|
469
474
|
};
|
|
470
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
475
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).a4x = function (it, completion) {
|
|
471
476
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
472
|
-
i.
|
|
477
|
+
i.y4w_1 = it;
|
|
473
478
|
return i;
|
|
474
479
|
};
|
|
475
480
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
476
481
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
477
482
|
var l = function (it, $completion) {
|
|
478
|
-
return i.
|
|
483
|
+
return i.z4w(it, $completion);
|
|
479
484
|
};
|
|
480
485
|
l.$arity = 1;
|
|
481
486
|
return l;
|
|
482
487
|
}
|
|
483
|
-
function
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
488
|
+
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
489
|
+
this.k4w_1 = $this;
|
|
490
|
+
this.l4w_1 = $charset;
|
|
491
|
+
this.m4w_1 = $typeInfo;
|
|
492
|
+
this.n4w_1 = $content;
|
|
488
493
|
}
|
|
489
|
-
protoOf(
|
|
490
|
-
var tmp = new $collectCOROUTINE$
|
|
494
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).p1a = function (collector, $completion) {
|
|
495
|
+
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
491
496
|
tmp.l9_1 = Unit_instance;
|
|
492
497
|
tmp.m9_1 = null;
|
|
493
498
|
return tmp.r9();
|
|
494
499
|
};
|
|
495
|
-
protoOf(
|
|
496
|
-
return this.
|
|
500
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).i19 = function (collector, $completion) {
|
|
501
|
+
return this.p1a(collector, $completion);
|
|
497
502
|
};
|
|
498
503
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
499
|
-
this.
|
|
504
|
+
this.j4x_1 = $content;
|
|
500
505
|
CoroutineImpl.call(this, resultContinuation);
|
|
501
506
|
}
|
|
502
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
503
|
-
var tmp = this.
|
|
507
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).e2w = function (it, $completion) {
|
|
508
|
+
var tmp = this.m1k(it, $completion);
|
|
504
509
|
tmp.l9_1 = Unit_instance;
|
|
505
510
|
tmp.m9_1 = null;
|
|
506
511
|
return tmp.r9();
|
|
507
512
|
};
|
|
508
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
509
|
-
return this.
|
|
513
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).z9 = function (p1, $completion) {
|
|
514
|
+
return this.e2w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
510
515
|
};
|
|
511
516
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).r9 = function () {
|
|
512
517
|
var suspendResult = this.l9_1;
|
|
@@ -515,7 +520,7 @@
|
|
|
515
520
|
var tmp = this.j9_1;
|
|
516
521
|
if (tmp === 0) {
|
|
517
522
|
this.k9_1 = 1;
|
|
518
|
-
return !(this.
|
|
523
|
+
return !(this.k4x_1 == null) || this.j4x_1.o1u();
|
|
519
524
|
} else if (tmp === 1) {
|
|
520
525
|
throw this.m9_1;
|
|
521
526
|
}
|
|
@@ -525,28 +530,28 @@
|
|
|
525
530
|
}
|
|
526
531
|
while (true);
|
|
527
532
|
};
|
|
528
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
529
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
530
|
-
i.
|
|
533
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).m1k = function (it, completion) {
|
|
534
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.j4x_1, completion);
|
|
535
|
+
i.k4x_1 = it;
|
|
531
536
|
return i;
|
|
532
537
|
};
|
|
533
538
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
534
539
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
535
540
|
var l = function (it, $completion) {
|
|
536
|
-
return i.
|
|
541
|
+
return i.e2w(it, $completion);
|
|
537
542
|
};
|
|
538
543
|
l.$arity = 1;
|
|
539
544
|
return l;
|
|
540
545
|
}
|
|
541
|
-
function $serializeNullableCOROUTINE$
|
|
546
|
+
function $serializeNullableCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
542
547
|
CoroutineImpl.call(this, resultContinuation);
|
|
543
|
-
this.
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
547
|
-
this.
|
|
548
|
+
this.t4x_1 = _this__u8e3s4;
|
|
549
|
+
this.u4x_1 = contentType;
|
|
550
|
+
this.v4x_1 = charset;
|
|
551
|
+
this.w4x_1 = typeInfo;
|
|
552
|
+
this.x4x_1 = value;
|
|
548
553
|
}
|
|
549
|
-
protoOf($serializeNullableCOROUTINE$
|
|
554
|
+
protoOf($serializeNullableCOROUTINE$).r9 = function () {
|
|
550
555
|
var suspendResult = this.l9_1;
|
|
551
556
|
$sm: do
|
|
552
557
|
try {
|
|
@@ -555,8 +560,8 @@
|
|
|
555
560
|
case 0:
|
|
556
561
|
this.k9_1 = 2;
|
|
557
562
|
this.j9_1 = 1;
|
|
558
|
-
var this_0 = asFlow(this.
|
|
559
|
-
var tmp_0 = new
|
|
563
|
+
var this_0 = asFlow(this.t4x_1.z4x_1);
|
|
564
|
+
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.u4x_1, this.v4x_1, this.w4x_1, this.x4x_1);
|
|
560
565
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
561
566
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
562
567
|
return suspendResult;
|
|
@@ -569,12 +574,12 @@
|
|
|
569
574
|
return fromExtension;
|
|
570
575
|
var tmp_1;
|
|
571
576
|
try {
|
|
572
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
577
|
+
tmp_1 = serializerForTypeInfo(this.t4x_1.y4x_1.j4c(), this.w4x_1);
|
|
573
578
|
} catch ($p) {
|
|
574
579
|
var tmp_2;
|
|
575
580
|
if ($p instanceof SerializationException) {
|
|
576
581
|
var cause = $p;
|
|
577
|
-
tmp_2 = guessSerializer(this.
|
|
582
|
+
tmp_2 = guessSerializer(this.x4x_1, this.t4x_1.y4x_1.j4c());
|
|
578
583
|
} else {
|
|
579
584
|
throw $p;
|
|
580
585
|
}
|
|
@@ -582,7 +587,7 @@
|
|
|
582
587
|
}
|
|
583
588
|
|
|
584
589
|
var serializer = tmp_1;
|
|
585
|
-
return serializeContent(this.
|
|
590
|
+
return serializeContent(this.t4x_1, serializer, this.t4x_1.y4x_1, this.x4x_1, this.u4x_1, this.v4x_1);
|
|
586
591
|
case 2:
|
|
587
592
|
throw this.m9_1;
|
|
588
593
|
}
|
|
@@ -597,14 +602,14 @@
|
|
|
597
602
|
}
|
|
598
603
|
while (true);
|
|
599
604
|
};
|
|
600
|
-
function $deserializeCOROUTINE$
|
|
605
|
+
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
601
606
|
CoroutineImpl.call(this, resultContinuation);
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
604
|
-
this.
|
|
605
|
-
this.
|
|
607
|
+
this.i4y_1 = _this__u8e3s4;
|
|
608
|
+
this.j4y_1 = charset;
|
|
609
|
+
this.k4y_1 = typeInfo;
|
|
610
|
+
this.l4y_1 = content;
|
|
606
611
|
}
|
|
607
|
-
protoOf($deserializeCOROUTINE$
|
|
612
|
+
protoOf($deserializeCOROUTINE$).r9 = function () {
|
|
608
613
|
var suspendResult = this.l9_1;
|
|
609
614
|
$sm: do
|
|
610
615
|
try {
|
|
@@ -613,28 +618,28 @@
|
|
|
613
618
|
case 0:
|
|
614
619
|
this.k9_1 = 5;
|
|
615
620
|
this.j9_1 = 1;
|
|
616
|
-
var this_0 = asFlow(this.
|
|
617
|
-
var tmp_0 = new
|
|
618
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
621
|
+
var this_0 = asFlow(this.i4y_1.z4x_1);
|
|
622
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.j4y_1, this.k4y_1, this.l4y_1);
|
|
623
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.l4y_1, null), this);
|
|
619
624
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
620
625
|
return suspendResult;
|
|
621
626
|
}
|
|
622
627
|
|
|
623
628
|
continue $sm;
|
|
624
629
|
case 1:
|
|
625
|
-
this.
|
|
630
|
+
this.m4y_1 = suspendResult;
|
|
626
631
|
var tmp_1;
|
|
627
|
-
if (!this.
|
|
628
|
-
tmp_1 = !(this.
|
|
632
|
+
if (!this.i4y_1.z4x_1.p()) {
|
|
633
|
+
tmp_1 = !(this.m4y_1 == null) || this.l4y_1.o1u();
|
|
629
634
|
} else {
|
|
630
635
|
tmp_1 = false;
|
|
631
636
|
}
|
|
632
637
|
|
|
633
638
|
if (tmp_1)
|
|
634
|
-
return this.
|
|
635
|
-
this.
|
|
639
|
+
return this.m4y_1;
|
|
640
|
+
this.n4y_1 = serializerForTypeInfo(this.i4y_1.y4x_1.j4c(), this.k4y_1);
|
|
636
641
|
this.j9_1 = 2;
|
|
637
|
-
suspendResult = this.
|
|
642
|
+
suspendResult = this.l4y_1.j20(VOID, this);
|
|
638
643
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
639
644
|
return suspendResult;
|
|
640
645
|
}
|
|
@@ -643,16 +648,16 @@
|
|
|
643
648
|
case 2:
|
|
644
649
|
var contentPacket = suspendResult;
|
|
645
650
|
this.k9_1 = 3;
|
|
646
|
-
var tmp0_subject = this.
|
|
651
|
+
var tmp0_subject = this.i4y_1.y4x_1;
|
|
647
652
|
var tmp_2;
|
|
648
653
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
649
|
-
tmp_2 = this.
|
|
654
|
+
tmp_2 = this.i4y_1.y4x_1.l49(this.n4y_1, readText(contentPacket, this.j4y_1));
|
|
650
655
|
} else {
|
|
651
656
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
652
|
-
tmp_2 = this.
|
|
657
|
+
tmp_2 = this.i4y_1.y4x_1.n49(this.n4y_1, readBytes(contentPacket));
|
|
653
658
|
} else {
|
|
654
659
|
discard(contentPacket);
|
|
655
|
-
var message = 'Unsupported format ' + toString(this.
|
|
660
|
+
var message = 'Unsupported format ' + toString(this.i4y_1.y4x_1);
|
|
656
661
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
657
662
|
}
|
|
658
663
|
}
|
|
@@ -686,57 +691,53 @@
|
|
|
686
691
|
while (true);
|
|
687
692
|
};
|
|
688
693
|
function KotlinxSerializationConverter(format) {
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
691
|
-
// Inline function 'kotlin.require' call
|
|
694
|
+
this.y4x_1 = format;
|
|
695
|
+
this.z4x_1 = extensions(this.y4x_1);
|
|
692
696
|
var tmp;
|
|
693
|
-
var tmp_0 = this.
|
|
697
|
+
var tmp_0 = this.y4x_1;
|
|
694
698
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
695
699
|
tmp = true;
|
|
696
700
|
} else {
|
|
697
|
-
var tmp_1 = this.
|
|
701
|
+
var tmp_1 = this.y4x_1;
|
|
698
702
|
tmp = isInterface(tmp_1, StringFormat);
|
|
699
703
|
}
|
|
700
|
-
// Inline function 'kotlin.
|
|
704
|
+
// Inline function 'kotlin.require' call
|
|
701
705
|
if (!tmp) {
|
|
702
|
-
|
|
703
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.d4u_1) + ' is not supported.';
|
|
706
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.y4x_1) + ' is not supported.';
|
|
704
707
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
705
708
|
}
|
|
706
709
|
}
|
|
707
|
-
protoOf(KotlinxSerializationConverter).
|
|
708
|
-
return this.
|
|
710
|
+
protoOf(KotlinxSerializationConverter).o4y = function (contentType, charset, typeInfo, value, $completion) {
|
|
711
|
+
return this.p4y(contentType, charset, typeInfo, value, $completion);
|
|
709
712
|
};
|
|
710
|
-
protoOf(KotlinxSerializationConverter).
|
|
711
|
-
return this.
|
|
713
|
+
protoOf(KotlinxSerializationConverter).u2t = function (contentType, charset, typeInfo, value, $completion) {
|
|
714
|
+
return this.o4y(contentType, charset, typeInfo, value, $completion);
|
|
712
715
|
};
|
|
713
|
-
protoOf(KotlinxSerializationConverter).
|
|
714
|
-
var tmp = new $serializeNullableCOROUTINE$
|
|
716
|
+
protoOf(KotlinxSerializationConverter).p4y = function (contentType, charset, typeInfo, value, $completion) {
|
|
717
|
+
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
715
718
|
tmp.l9_1 = Unit_instance;
|
|
716
719
|
tmp.m9_1 = null;
|
|
717
720
|
return tmp.r9();
|
|
718
721
|
};
|
|
719
|
-
protoOf(KotlinxSerializationConverter).
|
|
720
|
-
return this.
|
|
722
|
+
protoOf(KotlinxSerializationConverter).v2t = function (contentType, charset, typeInfo, value, $completion) {
|
|
723
|
+
return this.p4y(contentType, charset, typeInfo, value, $completion);
|
|
721
724
|
};
|
|
722
|
-
protoOf(KotlinxSerializationConverter).
|
|
723
|
-
var tmp = new $deserializeCOROUTINE$
|
|
725
|
+
protoOf(KotlinxSerializationConverter).w2t = function (charset, typeInfo, content, $completion) {
|
|
726
|
+
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
724
727
|
tmp.l9_1 = Unit_instance;
|
|
725
728
|
tmp.m9_1 = null;
|
|
726
729
|
return tmp.r9();
|
|
727
730
|
};
|
|
728
731
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
729
732
|
var module_0 = _this__u8e3s4;
|
|
730
|
-
var tmp0_safe_receiver = typeInfo.
|
|
733
|
+
var tmp0_safe_receiver = typeInfo.t2g_1;
|
|
731
734
|
var tmp;
|
|
732
735
|
if (tmp0_safe_receiver == null) {
|
|
733
736
|
tmp = null;
|
|
734
737
|
} else {
|
|
735
738
|
// Inline function 'kotlin.let' call
|
|
736
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
737
|
-
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
738
739
|
var tmp_0;
|
|
739
|
-
if (tmp0_safe_receiver.
|
|
740
|
+
if (tmp0_safe_receiver.lb().p()) {
|
|
740
741
|
tmp_0 = null;
|
|
741
742
|
} else {
|
|
742
743
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -746,13 +747,13 @@
|
|
|
746
747
|
var tmp2_elvis_lhs = tmp;
|
|
747
748
|
var tmp_1;
|
|
748
749
|
if (tmp2_elvis_lhs == null) {
|
|
749
|
-
var tmp1_safe_receiver = module_0.
|
|
750
|
+
var tmp1_safe_receiver = module_0.q49(typeInfo.r2g_1);
|
|
750
751
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
751
752
|
} else {
|
|
752
753
|
tmp_1 = tmp2_elvis_lhs;
|
|
753
754
|
}
|
|
754
755
|
var tmp3_elvis_lhs = tmp_1;
|
|
755
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
756
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.r2g_1), typeInfo) : tmp3_elvis_lhs;
|
|
756
757
|
}
|
|
757
758
|
function guessSerializer(value, module_0) {
|
|
758
759
|
var tmp;
|
|
@@ -769,8 +770,6 @@
|
|
|
769
770
|
tmp_0 = null;
|
|
770
771
|
} else {
|
|
771
772
|
// Inline function 'kotlin.let' call
|
|
772
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
773
|
-
// Inline function 'io.ktor.serialization.kotlinx.guessSerializer.<anonymous>' call
|
|
774
773
|
tmp_0 = guessSerializer(tmp1_safe_receiver, module_0);
|
|
775
774
|
}
|
|
776
775
|
var tmp2_elvis_lhs = tmp_0;
|
|
@@ -780,11 +779,11 @@
|
|
|
780
779
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
781
780
|
} else {
|
|
782
781
|
if (!(value == null) ? isInterface(value, KtMap) : false) {
|
|
783
|
-
var keySerializer = elementSerializer(value.
|
|
784
|
-
var valueSerializer = elementSerializer(value.
|
|
782
|
+
var keySerializer = elementSerializer(value.i2(), module_0);
|
|
783
|
+
var valueSerializer = elementSerializer(value.j2(), module_0);
|
|
785
784
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
786
785
|
} else {
|
|
787
|
-
var tmp3_elvis_lhs = module_0.
|
|
786
|
+
var tmp3_elvis_lhs = module_0.q49(getKClassFromExpression(value));
|
|
788
787
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
789
788
|
}
|
|
790
789
|
}
|
|
@@ -796,8 +795,8 @@
|
|
|
796
795
|
}
|
|
797
796
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
798
797
|
var tmp;
|
|
799
|
-
var tmp0_safe_receiver = typeInfo.
|
|
800
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
798
|
+
var tmp0_safe_receiver = typeInfo.t2g_1;
|
|
799
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.mb()) === true) {
|
|
801
800
|
tmp = get_nullable(_this__u8e3s4);
|
|
802
801
|
} else {
|
|
803
802
|
tmp = _this__u8e3s4;
|
|
@@ -805,48 +804,45 @@
|
|
|
805
804
|
return tmp;
|
|
806
805
|
}
|
|
807
806
|
function elementSerializer(_this__u8e3s4, module_0) {
|
|
808
|
-
// Inline function 'kotlin.collections.distinctBy' call
|
|
809
807
|
// Inline function 'kotlin.collections.map' call
|
|
810
808
|
var this_0 = filterNotNull(_this__u8e3s4);
|
|
811
809
|
// Inline function 'kotlin.collections.mapTo' call
|
|
812
810
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
813
|
-
var
|
|
814
|
-
while (
|
|
815
|
-
var item =
|
|
816
|
-
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
811
|
+
var _iterator__ex2g4s = this_0.j();
|
|
812
|
+
while (_iterator__ex2g4s.k()) {
|
|
813
|
+
var item = _iterator__ex2g4s.l();
|
|
817
814
|
var tmp$ret$0 = guessSerializer(item, module_0);
|
|
818
815
|
destination.e(tmp$ret$0);
|
|
819
816
|
}
|
|
817
|
+
// Inline function 'kotlin.collections.distinctBy' call
|
|
820
818
|
var set = HashSet_init_$Create$();
|
|
821
819
|
var list = ArrayList_init_$Create$();
|
|
822
|
-
var
|
|
823
|
-
while (
|
|
824
|
-
var e =
|
|
825
|
-
|
|
826
|
-
var key = e.w44().x45();
|
|
820
|
+
var _iterator__ex2g4s_0 = destination.j();
|
|
821
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
822
|
+
var e = _iterator__ex2g4s_0.l();
|
|
823
|
+
var key = e.h48().i49();
|
|
827
824
|
if (set.e(key)) {
|
|
828
825
|
list.e(e);
|
|
829
826
|
}
|
|
830
827
|
}
|
|
831
828
|
var serializers = list;
|
|
832
829
|
if (serializers.m() > 1) {
|
|
833
|
-
// Inline function 'kotlin.error' call
|
|
834
830
|
// Inline function 'kotlin.collections.map' call
|
|
835
831
|
// Inline function 'kotlin.collections.mapTo' call
|
|
836
832
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(serializers, 10));
|
|
837
|
-
var
|
|
838
|
-
while (
|
|
839
|
-
var item_0 =
|
|
840
|
-
|
|
841
|
-
var tmp$ret$5 = item_0.w44().x45();
|
|
833
|
+
var _iterator__ex2g4s_1 = serializers.j();
|
|
834
|
+
while (_iterator__ex2g4s_1.k()) {
|
|
835
|
+
var item_0 = _iterator__ex2g4s_1.l();
|
|
836
|
+
var tmp$ret$5 = item_0.h48().i49();
|
|
842
837
|
destination_0.e(tmp$ret$5);
|
|
843
838
|
}
|
|
839
|
+
// Inline function 'kotlin.error' call
|
|
844
840
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
845
841
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
846
842
|
}
|
|
847
843
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
848
844
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
849
|
-
if (selected.
|
|
845
|
+
if (selected.h48().u49()) {
|
|
850
846
|
return selected;
|
|
851
847
|
}
|
|
852
848
|
if (!isInterface(selected, KSerializer))
|
|
@@ -864,10 +860,9 @@
|
|
|
864
860
|
tmp$ret$8 = false;
|
|
865
861
|
break $l$block_0;
|
|
866
862
|
}
|
|
867
|
-
var
|
|
868
|
-
while (
|
|
869
|
-
var element =
|
|
870
|
-
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
863
|
+
var _iterator__ex2g4s_2 = _this__u8e3s4.j();
|
|
864
|
+
while (_iterator__ex2g4s_2.k()) {
|
|
865
|
+
var element = _iterator__ex2g4s_2.l();
|
|
871
866
|
if (element == null) {
|
|
872
867
|
tmp$ret$8 = true;
|
|
873
868
|
break $l$block_0;
|