game_client_logic_deb 1.8.450 → 1.8.453
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 +92 -92
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +823 -783
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1920 -1920
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-ai_module.js +684 -688
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-core.js +1846 -1855
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18659 -18669
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +733 -634
- package/Logic_Debertz-game_client.js +5168 -5187
- package/Logic_Debertz-game_client.js.map +1 -1
- package/error-library-error.js +7 -7
- package/kotlin-kotlin-stdlib.js +5748 -4875
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-coroutines-core.js +3277 -3225
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +204 -5
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +1689 -428
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2253 -2252
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-io.js +15 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +1626 -1626
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +457 -395
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +6692 -3988
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +2628 -894
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +14 -14
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http-cio.js +2278 -0
- package/ktor-ktor-http-cio.js.map +1 -0
- package/ktor-ktor-http.js +1274 -1134
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +2599 -5515
- 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 +331 -337
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +142 -152
- package/ktor-ktor-serialization.js.map +1 -1
- package/{ktor-ktor-client-js.js → ktor-ktor-sse.js} +2 -2
- package/ktor-ktor-sse.js.map +1 -0
- package/ktor-ktor-utils.js +1711 -1144
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +123 -136
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +2 -4
- package/random-library-crypto-rand.js +15 -15
- 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 +372 -373
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +120 -121
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +1109 -1134
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +38 -38
- package/uuid.js.map +1 -1
- /package/{ktor-ktor-client-js.js.map → kotlinx-serialization-kotlinx-serialization-json-io.js.map} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './ktor-ktor-http.js', './kotlinx-coroutines-core.js', './ktor-ktor-io.js', './ktor-ktor-serialization.js'], factory);
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './ktor-ktor-http.js', './kotlinx-coroutines-core.js', './ktor-ktor-io.js', './kotlinx-io-kotlinx-io-core.js', './ktor-ktor-serialization.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./ktor-ktor-http.js'), require('./kotlinx-coroutines-core.js'), require('./ktor-ktor-io.js'), require('./ktor-ktor-serialization.js'));
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./ktor-ktor-http.js'), require('./kotlinx-coroutines-core.js'), require('./ktor-ktor-io.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./ktor-ktor-serialization.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
@@ -19,83 +19,86 @@
|
|
|
19
19
|
if (typeof globalThis['ktor-ktor-io'] === 'undefined') {
|
|
20
20
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'ktor-ktor-io' was not found. Please, check whether 'ktor-ktor-io' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
21
21
|
}
|
|
22
|
+
if (typeof globalThis['kotlinx-io-kotlinx-io-core'] === 'undefined') {
|
|
23
|
+
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'kotlinx-io-kotlinx-io-core' was not found. Please, check whether 'kotlinx-io-kotlinx-io-core' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
24
|
+
}
|
|
22
25
|
if (typeof globalThis['ktor-ktor-serialization'] === 'undefined') {
|
|
23
26
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'ktor-ktor-serialization' was not found. Please, check whether 'ktor-ktor-serialization' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
24
27
|
}
|
|
25
|
-
globalThis['ktor-ktor-serialization-kotlinx'] = factory(typeof globalThis['ktor-ktor-serialization-kotlinx'] === 'undefined' ? {} : globalThis['ktor-ktor-serialization-kotlinx'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['ktor-ktor-http'], globalThis['kotlinx-coroutines-core'], globalThis['ktor-ktor-io'], globalThis['ktor-ktor-serialization']);
|
|
28
|
+
globalThis['ktor-ktor-serialization-kotlinx'] = factory(typeof globalThis['ktor-ktor-serialization-kotlinx'] === 'undefined' ? {} : globalThis['ktor-ktor-serialization-kotlinx'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['ktor-ktor-http'], globalThis['kotlinx-coroutines-core'], globalThis['ktor-ktor-io'], globalThis['kotlinx-io-kotlinx-io-core'], globalThis['ktor-ktor-serialization']);
|
|
26
29
|
}
|
|
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) {
|
|
30
|
+
}(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_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_io_ktor_ktor_serialization) {
|
|
28
31
|
'use strict';
|
|
29
32
|
//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.$_$.
|
|
33
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
34
|
+
var Unit_instance = kotlin_kotlin.$_$.h5;
|
|
35
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ya;
|
|
36
|
+
var protoOf = kotlin_kotlin.$_$.wd;
|
|
37
|
+
var THROW_CCE = kotlin_kotlin.$_$.ii;
|
|
38
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ia;
|
|
39
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.ad;
|
|
37
40
|
var VOID = kotlin_kotlin.$_$.b;
|
|
38
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
39
|
-
var toString = kotlin_kotlin.$_$.
|
|
40
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
41
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.xc;
|
|
42
|
+
var toString = kotlin_kotlin.$_$.zd;
|
|
43
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
41
44
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
43
|
-
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.
|
|
45
|
+
var isInterface = kotlin_kotlin.$_$.kd;
|
|
46
|
+
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.k;
|
|
44
47
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
45
|
-
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.
|
|
46
|
-
var TextContent = kotlin_io_ktor_ktor_http.$_$.
|
|
48
|
+
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.t1;
|
|
49
|
+
var TextContent = kotlin_io_ktor_ktor_http.$_$.u;
|
|
47
50
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
50
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
51
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
53
|
-
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.
|
|
54
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
51
|
+
var equals = kotlin_kotlin.$_$.oc;
|
|
52
|
+
var FunctionAdapter = kotlin_kotlin.$_$.bc;
|
|
53
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
54
|
+
var hashCode = kotlin_kotlin.$_$.uc;
|
|
55
|
+
var initMetadataForClass = kotlin_kotlin.$_$.vc;
|
|
56
|
+
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
57
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
55
58
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
56
59
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
57
|
-
var
|
|
58
|
-
var
|
|
60
|
+
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
61
|
+
var discard = kotlin_io_ktor_ktor_io.$_$.y;
|
|
62
|
+
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.p;
|
|
59
63
|
var readText = kotlin_io_ktor_ktor_io.$_$.z;
|
|
60
|
-
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.
|
|
61
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
62
|
-
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
64
|
+
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
65
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
63
66
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z2;
|
|
64
67
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b3;
|
|
65
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
68
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.pe;
|
|
66
69
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
67
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
70
|
+
var KtMap = kotlin_kotlin.$_$.s5;
|
|
68
71
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
69
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
70
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
71
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
72
|
+
var KtSet = kotlin_kotlin.$_$.x5;
|
|
73
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.n7;
|
|
74
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.s4;
|
|
72
75
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
73
76
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
74
|
-
var isArray = kotlin_kotlin.$_$.
|
|
75
|
-
var KtList = kotlin_kotlin.$_$.
|
|
77
|
+
var isArray = kotlin_kotlin.$_$.cd;
|
|
78
|
+
var KtList = kotlin_kotlin.$_$.p5;
|
|
76
79
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
77
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
78
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
79
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
80
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
81
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
82
|
-
var Collection = kotlin_kotlin.$_$.
|
|
83
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
80
|
+
var filterNotNull = kotlin_kotlin.$_$.k7;
|
|
81
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.k6;
|
|
82
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h;
|
|
83
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
84
|
+
var singleOrNull = kotlin_kotlin.$_$.g9;
|
|
85
|
+
var Collection = kotlin_kotlin.$_$.j5;
|
|
86
|
+
var emptyList = kotlin_kotlin.$_$.g7;
|
|
84
87
|
//endregion
|
|
85
88
|
//region block: pre-declaration
|
|
86
|
-
initMetadataForLambda(KotlinxSerializationConverter$
|
|
89
|
+
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
87
90
|
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
88
91
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
89
92
|
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
90
93
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
91
94
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
92
|
-
initMetadataForClass(KotlinxSerializationConverter$
|
|
93
|
-
initMetadataForLambda(KotlinxSerializationConverter$
|
|
95
|
+
initMetadataForClass(KotlinxSerializationConverter$serialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
96
|
+
initMetadataForLambda(KotlinxSerializationConverter$serialize$slambda, CoroutineImpl, VOID, [1]);
|
|
94
97
|
initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
95
98
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
|
|
96
|
-
initMetadataForCoroutine($
|
|
99
|
+
initMetadataForCoroutine($serializeCOROUTINE$, CoroutineImpl);
|
|
97
100
|
initMetadataForCoroutine($deserializeCOROUTINE$, CoroutineImpl);
|
|
98
|
-
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID,
|
|
101
|
+
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, VOID, [4, 3]);
|
|
99
102
|
//endregion
|
|
100
103
|
function extensions(format) {
|
|
101
104
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -103,52 +106,52 @@
|
|
|
103
106
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
104
107
|
var destination = ArrayList_init_$Create$();
|
|
105
108
|
// Inline function 'kotlin.collections.forEach' call
|
|
106
|
-
var _iterator__ex2g4s = tmp0.
|
|
107
|
-
while (_iterator__ex2g4s.
|
|
108
|
-
var element = _iterator__ex2g4s.
|
|
109
|
-
var tmp0_safe_receiver = element.
|
|
109
|
+
var _iterator__ex2g4s = tmp0.t();
|
|
110
|
+
while (_iterator__ex2g4s.u()) {
|
|
111
|
+
var element = _iterator__ex2g4s.v();
|
|
112
|
+
var tmp0_safe_receiver = element.n5p(format);
|
|
110
113
|
if (tmp0_safe_receiver == null)
|
|
111
114
|
null;
|
|
112
115
|
else {
|
|
113
116
|
// Inline function 'kotlin.let' call
|
|
114
|
-
destination.
|
|
117
|
+
destination.e1(tmp0_safe_receiver);
|
|
115
118
|
}
|
|
116
119
|
}
|
|
117
120
|
return destination;
|
|
118
121
|
}
|
|
119
122
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
120
|
-
_this__u8e3s4.
|
|
123
|
+
_this__u8e3s4.x3v(contentType, new KotlinxSerializationConverter(format));
|
|
121
124
|
}
|
|
122
|
-
function KotlinxSerializationConverter$
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
125
|
+
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
126
|
+
this.w5p_1 = $$this$unsafeFlow;
|
|
127
|
+
this.x5p_1 = $contentType;
|
|
128
|
+
this.y5p_1 = $charset;
|
|
129
|
+
this.z5p_1 = $typeInfo;
|
|
130
|
+
this.a5q_1 = $value;
|
|
128
131
|
CoroutineImpl.call(this, resultContinuation);
|
|
129
132
|
}
|
|
130
|
-
protoOf(KotlinxSerializationConverter$
|
|
131
|
-
var tmp = this.
|
|
132
|
-
tmp.
|
|
133
|
-
tmp.
|
|
134
|
-
return tmp.
|
|
133
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).n3w = function (value, $completion) {
|
|
134
|
+
var tmp = this.o3w(value, $completion);
|
|
135
|
+
tmp.g9_1 = Unit_instance;
|
|
136
|
+
tmp.h9_1 = null;
|
|
137
|
+
return tmp.m9();
|
|
135
138
|
};
|
|
136
|
-
protoOf(KotlinxSerializationConverter$
|
|
137
|
-
return this.
|
|
139
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
140
|
+
return this.n3w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
138
141
|
};
|
|
139
|
-
protoOf(KotlinxSerializationConverter$
|
|
140
|
-
var suspendResult = this.
|
|
142
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).m9 = function () {
|
|
143
|
+
var suspendResult = this.g9_1;
|
|
141
144
|
$sm: do
|
|
142
145
|
try {
|
|
143
|
-
var tmp = this.
|
|
146
|
+
var tmp = this.e9_1;
|
|
144
147
|
switch (tmp) {
|
|
145
148
|
case 0:
|
|
146
|
-
this.
|
|
147
|
-
var tmp0 = this.
|
|
148
|
-
var tmp2 = this.
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
151
|
-
suspendResult = tmp2.
|
|
149
|
+
this.f9_1 = 3;
|
|
150
|
+
var tmp0 = this.w5p_1;
|
|
151
|
+
var tmp2 = this.b5q_1;
|
|
152
|
+
this.c5q_1 = tmp0;
|
|
153
|
+
this.e9_1 = 1;
|
|
154
|
+
suspendResult = tmp2.m5p(this.x5p_1, this.y5p_1, this.z5p_1, this.a5q_1, this);
|
|
152
155
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
153
156
|
return suspendResult;
|
|
154
157
|
}
|
|
@@ -156,8 +159,8 @@
|
|
|
156
159
|
continue $sm;
|
|
157
160
|
case 1:
|
|
158
161
|
var ARGUMENT = suspendResult;
|
|
159
|
-
this.
|
|
160
|
-
suspendResult = this.
|
|
162
|
+
this.e9_1 = 2;
|
|
163
|
+
suspendResult = this.c5q_1.d2a(ARGUMENT, this);
|
|
161
164
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
162
165
|
return suspendResult;
|
|
163
166
|
}
|
|
@@ -166,49 +169,49 @@
|
|
|
166
169
|
case 2:
|
|
167
170
|
return Unit_instance;
|
|
168
171
|
case 3:
|
|
169
|
-
throw this.
|
|
172
|
+
throw this.h9_1;
|
|
170
173
|
}
|
|
171
174
|
} catch ($p) {
|
|
172
175
|
var e = $p;
|
|
173
|
-
if (this.
|
|
176
|
+
if (this.f9_1 === 3) {
|
|
174
177
|
throw e;
|
|
175
178
|
} else {
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
179
|
+
this.e9_1 = this.f9_1;
|
|
180
|
+
this.h9_1 = e;
|
|
178
181
|
}
|
|
179
182
|
}
|
|
180
183
|
while (true);
|
|
181
184
|
};
|
|
182
|
-
protoOf(KotlinxSerializationConverter$
|
|
183
|
-
var i = new KotlinxSerializationConverter$
|
|
184
|
-
i.
|
|
185
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).o3w = function (value, completion) {
|
|
186
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.w5p_1, this.x5p_1, this.y5p_1, this.z5p_1, this.a5q_1, completion);
|
|
187
|
+
i.b5q_1 = value;
|
|
185
188
|
return i;
|
|
186
189
|
};
|
|
187
|
-
function KotlinxSerializationConverter$
|
|
188
|
-
var i = new KotlinxSerializationConverter$
|
|
190
|
+
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
191
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
189
192
|
var l = function (value, $completion) {
|
|
190
|
-
return i.
|
|
193
|
+
return i.n3w(value, $completion);
|
|
191
194
|
};
|
|
192
195
|
l.$arity = 1;
|
|
193
196
|
return l;
|
|
194
197
|
}
|
|
195
198
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
196
199
|
CoroutineImpl.call(this, resultContinuation);
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
200
|
+
this.l5q_1 = _this__u8e3s4;
|
|
201
|
+
this.m5q_1 = collector;
|
|
199
202
|
}
|
|
200
|
-
protoOf($collectCOROUTINE$).
|
|
201
|
-
var suspendResult = this.
|
|
203
|
+
protoOf($collectCOROUTINE$).m9 = function () {
|
|
204
|
+
var suspendResult = this.g9_1;
|
|
202
205
|
$sm: do
|
|
203
206
|
try {
|
|
204
|
-
var tmp = this.
|
|
207
|
+
var tmp = this.e9_1;
|
|
205
208
|
switch (tmp) {
|
|
206
209
|
case 0:
|
|
207
|
-
this.
|
|
208
|
-
var $this$unsafeFlow = this.
|
|
209
|
-
this.
|
|
210
|
-
var tmp_0 = KotlinxSerializationConverter$
|
|
211
|
-
suspendResult = this.
|
|
210
|
+
this.f9_1 = 2;
|
|
211
|
+
var $this$unsafeFlow = this.m5q_1;
|
|
212
|
+
this.e9_1 = 1;
|
|
213
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.l5q_1.o5q_1, this.l5q_1.p5q_1, this.l5q_1.q5q_1, this.l5q_1.r5q_1, null);
|
|
214
|
+
suspendResult = this.l5q_1.n5q_1.p29(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
212
215
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
213
216
|
return suspendResult;
|
|
214
217
|
}
|
|
@@ -217,48 +220,48 @@
|
|
|
217
220
|
case 1:
|
|
218
221
|
return Unit_instance;
|
|
219
222
|
case 2:
|
|
220
|
-
throw this.
|
|
223
|
+
throw this.h9_1;
|
|
221
224
|
}
|
|
222
225
|
} catch ($p) {
|
|
223
226
|
var e = $p;
|
|
224
|
-
if (this.
|
|
227
|
+
if (this.f9_1 === 2) {
|
|
225
228
|
throw e;
|
|
226
229
|
} else {
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
230
|
+
this.e9_1 = this.f9_1;
|
|
231
|
+
this.h9_1 = e;
|
|
229
232
|
}
|
|
230
233
|
}
|
|
231
234
|
while (true);
|
|
232
235
|
};
|
|
233
236
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
237
|
+
this.a5r_1 = $$this$unsafeFlow;
|
|
238
|
+
this.b5r_1 = $charset;
|
|
239
|
+
this.c5r_1 = $typeInfo;
|
|
240
|
+
this.d5r_1 = $content;
|
|
238
241
|
CoroutineImpl.call(this, resultContinuation);
|
|
239
242
|
}
|
|
240
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
241
|
-
var tmp = this.
|
|
242
|
-
tmp.
|
|
243
|
-
tmp.
|
|
244
|
-
return tmp.
|
|
243
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).n3w = function (value, $completion) {
|
|
244
|
+
var tmp = this.o3w(value, $completion);
|
|
245
|
+
tmp.g9_1 = Unit_instance;
|
|
246
|
+
tmp.h9_1 = null;
|
|
247
|
+
return tmp.m9();
|
|
245
248
|
};
|
|
246
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
247
|
-
return this.
|
|
249
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
250
|
+
return this.n3w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
248
251
|
};
|
|
249
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
250
|
-
var suspendResult = this.
|
|
252
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).m9 = function () {
|
|
253
|
+
var suspendResult = this.g9_1;
|
|
251
254
|
$sm: do
|
|
252
255
|
try {
|
|
253
|
-
var tmp = this.
|
|
256
|
+
var tmp = this.e9_1;
|
|
254
257
|
switch (tmp) {
|
|
255
258
|
case 0:
|
|
256
|
-
this.
|
|
257
|
-
var tmp0 = this.
|
|
258
|
-
var tmp2 = this.
|
|
259
|
-
this.
|
|
260
|
-
this.
|
|
261
|
-
suspendResult = tmp2.
|
|
259
|
+
this.f9_1 = 3;
|
|
260
|
+
var tmp0 = this.a5r_1;
|
|
261
|
+
var tmp2 = this.e5r_1;
|
|
262
|
+
this.f5r_1 = tmp0;
|
|
263
|
+
this.e9_1 = 1;
|
|
264
|
+
suspendResult = tmp2.p3w(this.b5r_1, this.c5r_1, this.d5r_1, this);
|
|
262
265
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
263
266
|
return suspendResult;
|
|
264
267
|
}
|
|
@@ -266,8 +269,8 @@
|
|
|
266
269
|
continue $sm;
|
|
267
270
|
case 1:
|
|
268
271
|
var ARGUMENT = suspendResult;
|
|
269
|
-
this.
|
|
270
|
-
suspendResult = this.
|
|
272
|
+
this.e9_1 = 2;
|
|
273
|
+
suspendResult = this.f5r_1.d2a(ARGUMENT, this);
|
|
271
274
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
272
275
|
return suspendResult;
|
|
273
276
|
}
|
|
@@ -276,49 +279,49 @@
|
|
|
276
279
|
case 2:
|
|
277
280
|
return Unit_instance;
|
|
278
281
|
case 3:
|
|
279
|
-
throw this.
|
|
282
|
+
throw this.h9_1;
|
|
280
283
|
}
|
|
281
284
|
} catch ($p) {
|
|
282
285
|
var e = $p;
|
|
283
|
-
if (this.
|
|
286
|
+
if (this.f9_1 === 3) {
|
|
284
287
|
throw e;
|
|
285
288
|
} else {
|
|
286
|
-
this.
|
|
287
|
-
this.
|
|
289
|
+
this.e9_1 = this.f9_1;
|
|
290
|
+
this.h9_1 = e;
|
|
288
291
|
}
|
|
289
292
|
}
|
|
290
293
|
while (true);
|
|
291
294
|
};
|
|
292
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
293
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
294
|
-
i.
|
|
295
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).o3w = function (value, completion) {
|
|
296
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.a5r_1, this.b5r_1, this.c5r_1, this.d5r_1, completion);
|
|
297
|
+
i.e5r_1 = value;
|
|
295
298
|
return i;
|
|
296
299
|
};
|
|
297
300
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
298
301
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
299
302
|
var l = function (value, $completion) {
|
|
300
|
-
return i.
|
|
303
|
+
return i.n3w(value, $completion);
|
|
301
304
|
};
|
|
302
305
|
l.$arity = 1;
|
|
303
306
|
return l;
|
|
304
307
|
}
|
|
305
308
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
306
309
|
CoroutineImpl.call(this, resultContinuation);
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
310
|
+
this.o5r_1 = _this__u8e3s4;
|
|
311
|
+
this.p5r_1 = collector;
|
|
309
312
|
}
|
|
310
|
-
protoOf($collectCOROUTINE$_0).
|
|
311
|
-
var suspendResult = this.
|
|
313
|
+
protoOf($collectCOROUTINE$_0).m9 = function () {
|
|
314
|
+
var suspendResult = this.g9_1;
|
|
312
315
|
$sm: do
|
|
313
316
|
try {
|
|
314
|
-
var tmp = this.
|
|
317
|
+
var tmp = this.e9_1;
|
|
315
318
|
switch (tmp) {
|
|
316
319
|
case 0:
|
|
317
|
-
this.
|
|
318
|
-
var $this$unsafeFlow = this.
|
|
319
|
-
this.
|
|
320
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
321
|
-
suspendResult = this.
|
|
320
|
+
this.f9_1 = 2;
|
|
321
|
+
var $this$unsafeFlow = this.p5r_1;
|
|
322
|
+
this.e9_1 = 1;
|
|
323
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.o5r_1.r5r_1, this.o5r_1.s5r_1, this.o5r_1.t5r_1, null);
|
|
324
|
+
suspendResult = this.o5r_1.q5r_1.p29(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
322
325
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
323
326
|
return suspendResult;
|
|
324
327
|
}
|
|
@@ -327,15 +330,15 @@
|
|
|
327
330
|
case 1:
|
|
328
331
|
return Unit_instance;
|
|
329
332
|
case 2:
|
|
330
|
-
throw this.
|
|
333
|
+
throw this.h9_1;
|
|
331
334
|
}
|
|
332
335
|
} catch ($p) {
|
|
333
336
|
var e = $p;
|
|
334
|
-
if (this.
|
|
337
|
+
if (this.f9_1 === 2) {
|
|
335
338
|
throw e;
|
|
336
339
|
} else {
|
|
337
|
-
this.
|
|
338
|
-
this.
|
|
340
|
+
this.e9_1 = this.f9_1;
|
|
341
|
+
this.h9_1 = e;
|
|
339
342
|
}
|
|
340
343
|
}
|
|
341
344
|
while (true);
|
|
@@ -343,11 +346,11 @@
|
|
|
343
346
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
344
347
|
var tmp;
|
|
345
348
|
if (isInterface(format, StringFormat)) {
|
|
346
|
-
var content = format.
|
|
349
|
+
var content = format.vp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
347
350
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
348
351
|
} else {
|
|
349
352
|
if (isInterface(format, BinaryFormat)) {
|
|
350
|
-
var content_0 = format.
|
|
353
|
+
var content_0 = format.xp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
351
354
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
352
355
|
} else {
|
|
353
356
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -357,20 +360,20 @@
|
|
|
357
360
|
return tmp;
|
|
358
361
|
}
|
|
359
362
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
360
|
-
this.
|
|
363
|
+
this.u5r_1 = function_0;
|
|
361
364
|
}
|
|
362
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
363
|
-
return this.
|
|
365
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d2a = function (value, $completion) {
|
|
366
|
+
return this.u5r_1(value, $completion);
|
|
364
367
|
};
|
|
365
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
366
|
-
return this.
|
|
368
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
369
|
+
return this.u5r_1;
|
|
367
370
|
};
|
|
368
371
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
369
372
|
var tmp;
|
|
370
373
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
371
374
|
var tmp_0;
|
|
372
375
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
373
|
-
tmp_0 = equals(this.
|
|
376
|
+
tmp_0 = equals(this.s3(), other.s3());
|
|
374
377
|
} else {
|
|
375
378
|
tmp_0 = false;
|
|
376
379
|
}
|
|
@@ -381,23 +384,23 @@
|
|
|
381
384
|
return tmp;
|
|
382
385
|
};
|
|
383
386
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
384
|
-
return hashCode(this.
|
|
387
|
+
return hashCode(this.s3());
|
|
385
388
|
};
|
|
386
389
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
387
|
-
this.
|
|
390
|
+
this.v5r_1 = function_0;
|
|
388
391
|
}
|
|
389
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
390
|
-
return this.
|
|
392
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d2a = function (value, $completion) {
|
|
393
|
+
return this.v5r_1(value, $completion);
|
|
391
394
|
};
|
|
392
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
393
|
-
return this.
|
|
395
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s3 = function () {
|
|
396
|
+
return this.v5r_1;
|
|
394
397
|
};
|
|
395
398
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
396
399
|
var tmp;
|
|
397
400
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
398
401
|
var tmp_0;
|
|
399
402
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
400
|
-
tmp_0 = equals(this.
|
|
403
|
+
tmp_0 = equals(this.s3(), other.s3());
|
|
401
404
|
} else {
|
|
402
405
|
tmp_0 = false;
|
|
403
406
|
}
|
|
@@ -408,46 +411,46 @@
|
|
|
408
411
|
return tmp;
|
|
409
412
|
};
|
|
410
413
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
411
|
-
return hashCode(this.
|
|
412
|
-
};
|
|
413
|
-
function KotlinxSerializationConverter$
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
414
|
+
return hashCode(this.s3());
|
|
415
|
+
};
|
|
416
|
+
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
417
|
+
this.n5q_1 = $this;
|
|
418
|
+
this.o5q_1 = $contentType;
|
|
419
|
+
this.p5q_1 = $charset;
|
|
420
|
+
this.q5q_1 = $typeInfo;
|
|
421
|
+
this.r5q_1 = $value;
|
|
419
422
|
}
|
|
420
|
-
protoOf(KotlinxSerializationConverter$
|
|
423
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).e2a = function (collector, $completion) {
|
|
421
424
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
422
|
-
tmp.
|
|
423
|
-
tmp.
|
|
424
|
-
return tmp.
|
|
425
|
+
tmp.g9_1 = Unit_instance;
|
|
426
|
+
tmp.h9_1 = null;
|
|
427
|
+
return tmp.m9();
|
|
425
428
|
};
|
|
426
|
-
protoOf(KotlinxSerializationConverter$
|
|
427
|
-
return this.
|
|
429
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).p29 = function (collector, $completion) {
|
|
430
|
+
return this.e2a(collector, $completion);
|
|
428
431
|
};
|
|
429
|
-
function KotlinxSerializationConverter$
|
|
432
|
+
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
430
433
|
CoroutineImpl.call(this, resultContinuation);
|
|
431
434
|
}
|
|
432
|
-
protoOf(KotlinxSerializationConverter$
|
|
433
|
-
var tmp = this.
|
|
434
|
-
tmp.
|
|
435
|
-
tmp.
|
|
436
|
-
return tmp.
|
|
435
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).f5s = function (it, $completion) {
|
|
436
|
+
var tmp = this.g5s(it, $completion);
|
|
437
|
+
tmp.g9_1 = Unit_instance;
|
|
438
|
+
tmp.h9_1 = null;
|
|
439
|
+
return tmp.m9();
|
|
437
440
|
};
|
|
438
|
-
protoOf(KotlinxSerializationConverter$
|
|
439
|
-
return this.
|
|
441
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).y9 = function (p1, $completion) {
|
|
442
|
+
return this.f5s((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
440
443
|
};
|
|
441
|
-
protoOf(KotlinxSerializationConverter$
|
|
442
|
-
var suspendResult = this.
|
|
444
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).m9 = function () {
|
|
445
|
+
var suspendResult = this.g9_1;
|
|
443
446
|
$sm: do
|
|
444
447
|
try {
|
|
445
|
-
var tmp = this.
|
|
448
|
+
var tmp = this.e9_1;
|
|
446
449
|
if (tmp === 0) {
|
|
447
|
-
this.
|
|
448
|
-
return !(this.
|
|
450
|
+
this.f9_1 = 1;
|
|
451
|
+
return !(this.e5s_1 == null);
|
|
449
452
|
} else if (tmp === 1) {
|
|
450
|
-
throw this.
|
|
453
|
+
throw this.h9_1;
|
|
451
454
|
}
|
|
452
455
|
} catch ($p) {
|
|
453
456
|
var e = $p;
|
|
@@ -455,57 +458,57 @@
|
|
|
455
458
|
}
|
|
456
459
|
while (true);
|
|
457
460
|
};
|
|
458
|
-
protoOf(KotlinxSerializationConverter$
|
|
459
|
-
var i = new KotlinxSerializationConverter$
|
|
460
|
-
i.
|
|
461
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).g5s = function (it, completion) {
|
|
462
|
+
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
463
|
+
i.e5s_1 = it;
|
|
461
464
|
return i;
|
|
462
465
|
};
|
|
463
|
-
function KotlinxSerializationConverter$
|
|
464
|
-
var i = new KotlinxSerializationConverter$
|
|
466
|
+
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
467
|
+
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
465
468
|
var l = function (it, $completion) {
|
|
466
|
-
return i.
|
|
469
|
+
return i.f5s(it, $completion);
|
|
467
470
|
};
|
|
468
471
|
l.$arity = 1;
|
|
469
472
|
return l;
|
|
470
473
|
}
|
|
471
474
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
472
|
-
this.
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
475
|
-
this.
|
|
475
|
+
this.q5r_1 = $this;
|
|
476
|
+
this.r5r_1 = $charset;
|
|
477
|
+
this.s5r_1 = $typeInfo;
|
|
478
|
+
this.t5r_1 = $content;
|
|
476
479
|
}
|
|
477
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
480
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).e2a = function (collector, $completion) {
|
|
478
481
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
479
|
-
tmp.
|
|
480
|
-
tmp.
|
|
481
|
-
return tmp.
|
|
482
|
+
tmp.g9_1 = Unit_instance;
|
|
483
|
+
tmp.h9_1 = null;
|
|
484
|
+
return tmp.m9();
|
|
482
485
|
};
|
|
483
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
484
|
-
return this.
|
|
486
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).p29 = function (collector, $completion) {
|
|
487
|
+
return this.e2a(collector, $completion);
|
|
485
488
|
};
|
|
486
489
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
487
|
-
this.
|
|
490
|
+
this.p5s_1 = $content;
|
|
488
491
|
CoroutineImpl.call(this, resultContinuation);
|
|
489
492
|
}
|
|
490
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
491
|
-
var tmp = this.
|
|
492
|
-
tmp.
|
|
493
|
-
tmp.
|
|
494
|
-
return tmp.
|
|
493
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).o3x = function (it, $completion) {
|
|
494
|
+
var tmp = this.o3w(it, $completion);
|
|
495
|
+
tmp.g9_1 = Unit_instance;
|
|
496
|
+
tmp.h9_1 = null;
|
|
497
|
+
return tmp.m9();
|
|
495
498
|
};
|
|
496
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
497
|
-
return this.
|
|
499
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).y9 = function (p1, $completion) {
|
|
500
|
+
return this.o3x((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
498
501
|
};
|
|
499
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
500
|
-
var suspendResult = this.
|
|
502
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).m9 = function () {
|
|
503
|
+
var suspendResult = this.g9_1;
|
|
501
504
|
$sm: do
|
|
502
505
|
try {
|
|
503
|
-
var tmp = this.
|
|
506
|
+
var tmp = this.e9_1;
|
|
504
507
|
if (tmp === 0) {
|
|
505
|
-
this.
|
|
506
|
-
return !(this.
|
|
508
|
+
this.f9_1 = 1;
|
|
509
|
+
return !(this.q5s_1 == null) || this.p5s_1.d2s();
|
|
507
510
|
} else if (tmp === 1) {
|
|
508
|
-
throw this.
|
|
511
|
+
throw this.h9_1;
|
|
509
512
|
}
|
|
510
513
|
} catch ($p) {
|
|
511
514
|
var e = $p;
|
|
@@ -513,39 +516,39 @@
|
|
|
513
516
|
}
|
|
514
517
|
while (true);
|
|
515
518
|
};
|
|
516
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
517
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
518
|
-
i.
|
|
519
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).o3w = function (it, completion) {
|
|
520
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.p5s_1, completion);
|
|
521
|
+
i.q5s_1 = it;
|
|
519
522
|
return i;
|
|
520
523
|
};
|
|
521
524
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
522
525
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
523
526
|
var l = function (it, $completion) {
|
|
524
|
-
return i.
|
|
527
|
+
return i.o3x(it, $completion);
|
|
525
528
|
};
|
|
526
529
|
l.$arity = 1;
|
|
527
530
|
return l;
|
|
528
531
|
}
|
|
529
|
-
function $
|
|
532
|
+
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
530
533
|
CoroutineImpl.call(this, resultContinuation);
|
|
531
|
-
this.
|
|
532
|
-
this.
|
|
533
|
-
this.
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
534
|
+
this.z5s_1 = _this__u8e3s4;
|
|
535
|
+
this.a5t_1 = contentType;
|
|
536
|
+
this.b5t_1 = charset;
|
|
537
|
+
this.c5t_1 = typeInfo;
|
|
538
|
+
this.d5t_1 = value;
|
|
536
539
|
}
|
|
537
|
-
protoOf($
|
|
538
|
-
var suspendResult = this.
|
|
540
|
+
protoOf($serializeCOROUTINE$).m9 = function () {
|
|
541
|
+
var suspendResult = this.g9_1;
|
|
539
542
|
$sm: do
|
|
540
543
|
try {
|
|
541
|
-
var tmp = this.
|
|
544
|
+
var tmp = this.e9_1;
|
|
542
545
|
switch (tmp) {
|
|
543
546
|
case 0:
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
var this_0 = asFlow(this.
|
|
547
|
-
var tmp_0 = new KotlinxSerializationConverter$
|
|
548
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$
|
|
547
|
+
this.f9_1 = 2;
|
|
548
|
+
this.e9_1 = 1;
|
|
549
|
+
var this_0 = asFlow(this.z5s_1.f5t_1);
|
|
550
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.a5t_1, this.b5t_1, this.c5t_1, this.d5t_1);
|
|
551
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
549
552
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
550
553
|
return suspendResult;
|
|
551
554
|
}
|
|
@@ -557,12 +560,12 @@
|
|
|
557
560
|
return fromExtension;
|
|
558
561
|
var tmp_1;
|
|
559
562
|
try {
|
|
560
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
563
|
+
tmp_1 = serializerForTypeInfo(this.z5s_1.e5t_1.us(), this.c5t_1);
|
|
561
564
|
} catch ($p) {
|
|
562
565
|
var tmp_2;
|
|
563
566
|
if ($p instanceof SerializationException) {
|
|
564
567
|
var cause = $p;
|
|
565
|
-
tmp_2 = guessSerializer(this.
|
|
568
|
+
tmp_2 = guessSerializer(this.d5t_1, this.z5s_1.e5t_1.us());
|
|
566
569
|
} else {
|
|
567
570
|
throw $p;
|
|
568
571
|
}
|
|
@@ -570,40 +573,40 @@
|
|
|
570
573
|
}
|
|
571
574
|
|
|
572
575
|
var serializer = tmp_1;
|
|
573
|
-
return serializeContent(this.
|
|
576
|
+
return serializeContent(this.z5s_1, serializer, this.z5s_1.e5t_1, this.d5t_1, this.a5t_1, this.b5t_1);
|
|
574
577
|
case 2:
|
|
575
|
-
throw this.
|
|
578
|
+
throw this.h9_1;
|
|
576
579
|
}
|
|
577
580
|
} catch ($p) {
|
|
578
581
|
var e = $p;
|
|
579
|
-
if (this.
|
|
582
|
+
if (this.f9_1 === 2) {
|
|
580
583
|
throw e;
|
|
581
584
|
} else {
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
585
|
+
this.e9_1 = this.f9_1;
|
|
586
|
+
this.h9_1 = e;
|
|
584
587
|
}
|
|
585
588
|
}
|
|
586
589
|
while (true);
|
|
587
590
|
};
|
|
588
591
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
589
592
|
CoroutineImpl.call(this, resultContinuation);
|
|
590
|
-
this.
|
|
591
|
-
this.
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
593
|
+
this.o5t_1 = _this__u8e3s4;
|
|
594
|
+
this.p5t_1 = charset;
|
|
595
|
+
this.q5t_1 = typeInfo;
|
|
596
|
+
this.r5t_1 = content;
|
|
594
597
|
}
|
|
595
|
-
protoOf($deserializeCOROUTINE$).
|
|
596
|
-
var suspendResult = this.
|
|
598
|
+
protoOf($deserializeCOROUTINE$).m9 = function () {
|
|
599
|
+
var suspendResult = this.g9_1;
|
|
597
600
|
$sm: do
|
|
598
601
|
try {
|
|
599
|
-
var tmp = this.
|
|
602
|
+
var tmp = this.e9_1;
|
|
600
603
|
switch (tmp) {
|
|
601
604
|
case 0:
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
604
|
-
var this_0 = asFlow(this.
|
|
605
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
606
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
605
|
+
this.f9_1 = 4;
|
|
606
|
+
this.e9_1 = 1;
|
|
607
|
+
var this_0 = asFlow(this.o5t_1.f5t_1);
|
|
608
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.p5t_1, this.q5t_1, this.r5t_1);
|
|
609
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.r5t_1, null), this);
|
|
607
610
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
608
611
|
return suspendResult;
|
|
609
612
|
}
|
|
@@ -612,17 +615,17 @@
|
|
|
612
615
|
case 1:
|
|
613
616
|
var fromExtension = suspendResult;
|
|
614
617
|
var tmp_1;
|
|
615
|
-
if (!this.
|
|
616
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
618
|
+
if (!this.o5t_1.f5t_1.r()) {
|
|
619
|
+
tmp_1 = !(fromExtension == null) || this.r5t_1.d2s();
|
|
617
620
|
} else {
|
|
618
621
|
tmp_1 = false;
|
|
619
622
|
}
|
|
620
623
|
|
|
621
624
|
if (tmp_1)
|
|
622
625
|
return fromExtension;
|
|
623
|
-
this.
|
|
624
|
-
this.
|
|
625
|
-
suspendResult = this.
|
|
626
|
+
this.s5t_1 = serializerForTypeInfo(this.o5t_1.e5t_1.us(), this.q5t_1);
|
|
627
|
+
this.e9_1 = 2;
|
|
628
|
+
suspendResult = readRemaining(this.r5t_1, this);
|
|
626
629
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
627
630
|
return suspendResult;
|
|
628
631
|
}
|
|
@@ -630,123 +633,114 @@
|
|
|
630
633
|
continue $sm;
|
|
631
634
|
case 2:
|
|
632
635
|
var contentPacket = suspendResult;
|
|
633
|
-
this.
|
|
634
|
-
var tmp0_subject = this.
|
|
636
|
+
this.f9_1 = 3;
|
|
637
|
+
var tmp0_subject = this.o5t_1.e5t_1;
|
|
635
638
|
var tmp_2;
|
|
636
639
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
637
|
-
tmp_2 = this.
|
|
640
|
+
tmp_2 = this.o5t_1.e5t_1.wp(this.s5t_1, readText(contentPacket, this.p5t_1));
|
|
638
641
|
} else {
|
|
639
642
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
640
|
-
tmp_2 = this.
|
|
643
|
+
tmp_2 = this.o5t_1.e5t_1.yp(this.s5t_1, readByteArray(contentPacket));
|
|
641
644
|
} else {
|
|
642
645
|
discard(contentPacket);
|
|
643
|
-
var message = 'Unsupported format ' + toString(this.
|
|
646
|
+
var message = 'Unsupported format ' + toString(this.o5t_1.e5t_1);
|
|
644
647
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
645
648
|
}
|
|
646
649
|
}
|
|
647
650
|
|
|
648
651
|
return tmp_2;
|
|
649
652
|
case 3:
|
|
650
|
-
this.
|
|
651
|
-
var tmp_3 = this.
|
|
653
|
+
this.f9_1 = 4;
|
|
654
|
+
var tmp_3 = this.h9_1;
|
|
652
655
|
if (tmp_3 instanceof Error) {
|
|
653
|
-
var cause = this.
|
|
656
|
+
var cause = this.h9_1;
|
|
654
657
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
655
658
|
} else {
|
|
656
|
-
throw this.
|
|
659
|
+
throw this.h9_1;
|
|
657
660
|
}
|
|
658
661
|
|
|
659
662
|
case 4:
|
|
660
|
-
this.
|
|
661
|
-
return Unit_instance;
|
|
662
|
-
case 5:
|
|
663
|
-
throw this.v8_1;
|
|
663
|
+
throw this.h9_1;
|
|
664
664
|
}
|
|
665
665
|
} catch ($p) {
|
|
666
666
|
var e = $p;
|
|
667
|
-
if (this.
|
|
667
|
+
if (this.f9_1 === 4) {
|
|
668
668
|
throw e;
|
|
669
669
|
} else {
|
|
670
|
-
this.
|
|
671
|
-
this.
|
|
670
|
+
this.e9_1 = this.f9_1;
|
|
671
|
+
this.h9_1 = e;
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
while (true);
|
|
675
675
|
};
|
|
676
676
|
function KotlinxSerializationConverter(format) {
|
|
677
|
-
this.
|
|
678
|
-
this.
|
|
677
|
+
this.e5t_1 = format;
|
|
678
|
+
this.f5t_1 = extensions(this.e5t_1);
|
|
679
679
|
var tmp;
|
|
680
|
-
var tmp_0 = this.
|
|
680
|
+
var tmp_0 = this.e5t_1;
|
|
681
681
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
682
682
|
tmp = true;
|
|
683
683
|
} else {
|
|
684
|
-
var tmp_1 = this.
|
|
684
|
+
var tmp_1 = this.e5t_1;
|
|
685
685
|
tmp = isInterface(tmp_1, StringFormat);
|
|
686
686
|
}
|
|
687
687
|
// Inline function 'kotlin.require' call
|
|
688
688
|
if (!tmp) {
|
|
689
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
689
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.e5t_1) + ' is not supported.';
|
|
690
690
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
|
-
protoOf(KotlinxSerializationConverter).
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
return
|
|
698
|
-
};
|
|
699
|
-
protoOf(KotlinxSerializationConverter).v52 = function (contentType, charset, typeInfo, value, $completion) {
|
|
700
|
-
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
701
|
-
tmp.u8_1 = Unit_instance;
|
|
702
|
-
tmp.v8_1 = null;
|
|
703
|
-
return tmp.a9();
|
|
693
|
+
protoOf(KotlinxSerializationConverter).t5t = function (contentType, charset, typeInfo, value, $completion) {
|
|
694
|
+
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
695
|
+
tmp.g9_1 = Unit_instance;
|
|
696
|
+
tmp.h9_1 = null;
|
|
697
|
+
return tmp.m9();
|
|
704
698
|
};
|
|
705
|
-
protoOf(KotlinxSerializationConverter).
|
|
706
|
-
return this.
|
|
699
|
+
protoOf(KotlinxSerializationConverter).m5p = function (contentType, charset, typeInfo, value, $completion) {
|
|
700
|
+
return this.t5t(contentType, charset, typeInfo, value, $completion);
|
|
707
701
|
};
|
|
708
|
-
protoOf(KotlinxSerializationConverter).
|
|
702
|
+
protoOf(KotlinxSerializationConverter).p3w = function (charset, typeInfo, content, $completion) {
|
|
709
703
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
710
|
-
tmp.
|
|
711
|
-
tmp.
|
|
712
|
-
return tmp.
|
|
704
|
+
tmp.g9_1 = Unit_instance;
|
|
705
|
+
tmp.h9_1 = null;
|
|
706
|
+
return tmp.m9();
|
|
713
707
|
};
|
|
714
708
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
715
709
|
var module_0 = _this__u8e3s4;
|
|
716
|
-
var tmp0_safe_receiver = typeInfo.
|
|
710
|
+
var tmp0_safe_receiver = typeInfo.f3b_1;
|
|
717
711
|
var tmp;
|
|
718
712
|
if (tmp0_safe_receiver == null) {
|
|
719
713
|
tmp = null;
|
|
720
714
|
} else {
|
|
721
715
|
// Inline function 'kotlin.let' call
|
|
722
716
|
var tmp_0;
|
|
723
|
-
if (tmp0_safe_receiver.
|
|
717
|
+
if (tmp0_safe_receiver.k().r()) {
|
|
724
718
|
tmp_0 = null;
|
|
725
719
|
} else {
|
|
726
720
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
727
721
|
}
|
|
728
722
|
tmp = tmp_0;
|
|
729
723
|
}
|
|
730
|
-
var
|
|
724
|
+
var tmp1_elvis_lhs = tmp;
|
|
731
725
|
var tmp_1;
|
|
732
|
-
if (
|
|
733
|
-
var
|
|
734
|
-
tmp_1 =
|
|
726
|
+
if (tmp1_elvis_lhs == null) {
|
|
727
|
+
var tmp2_safe_receiver = module_0.bq(typeInfo.e3b_1);
|
|
728
|
+
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
735
729
|
} else {
|
|
736
|
-
tmp_1 =
|
|
730
|
+
tmp_1 = tmp1_elvis_lhs;
|
|
737
731
|
}
|
|
738
732
|
var tmp3_elvis_lhs = tmp_1;
|
|
739
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
733
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.e3b_1), typeInfo) : tmp3_elvis_lhs;
|
|
740
734
|
}
|
|
741
735
|
function guessSerializer(value, module_0) {
|
|
742
736
|
var tmp;
|
|
743
737
|
if (value == null) {
|
|
744
738
|
tmp = get_nullable(serializer_0(StringCompanionObject_instance));
|
|
745
739
|
} else {
|
|
746
|
-
if (
|
|
740
|
+
if (isInterface(value, KtList)) {
|
|
747
741
|
tmp = ListSerializer(elementSerializer(value, module_0));
|
|
748
742
|
} else {
|
|
749
|
-
if (
|
|
743
|
+
if (isArray(value)) {
|
|
750
744
|
var tmp1_safe_receiver = firstOrNull_0(value);
|
|
751
745
|
var tmp_0;
|
|
752
746
|
if (tmp1_safe_receiver == null) {
|
|
@@ -758,15 +752,15 @@
|
|
|
758
752
|
var tmp2_elvis_lhs = tmp_0;
|
|
759
753
|
tmp = tmp2_elvis_lhs == null ? ListSerializer(serializer_0(StringCompanionObject_instance)) : tmp2_elvis_lhs;
|
|
760
754
|
} else {
|
|
761
|
-
if (
|
|
755
|
+
if (isInterface(value, KtSet)) {
|
|
762
756
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
763
757
|
} else {
|
|
764
|
-
if (
|
|
765
|
-
var keySerializer = elementSerializer(value.
|
|
766
|
-
var valueSerializer = elementSerializer(value.
|
|
758
|
+
if (isInterface(value, KtMap)) {
|
|
759
|
+
var keySerializer = elementSerializer(value.x2(), module_0);
|
|
760
|
+
var valueSerializer = elementSerializer(value.y2(), module_0);
|
|
767
761
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
768
762
|
} else {
|
|
769
|
-
var tmp3_elvis_lhs = module_0.
|
|
763
|
+
var tmp3_elvis_lhs = module_0.bq(getKClassFromExpression(value));
|
|
770
764
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
771
765
|
}
|
|
772
766
|
}
|
|
@@ -778,8 +772,8 @@
|
|
|
778
772
|
}
|
|
779
773
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
780
774
|
var tmp;
|
|
781
|
-
var tmp0_safe_receiver = typeInfo.
|
|
782
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
775
|
+
var tmp0_safe_receiver = typeInfo.f3b_1;
|
|
776
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
783
777
|
tmp = get_nullable(_this__u8e3s4);
|
|
784
778
|
} else {
|
|
785
779
|
tmp = _this__u8e3s4;
|
|
@@ -791,33 +785,33 @@
|
|
|
791
785
|
var this_0 = filterNotNull(_this__u8e3s4);
|
|
792
786
|
// Inline function 'kotlin.collections.mapTo' call
|
|
793
787
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
794
|
-
var _iterator__ex2g4s = this_0.
|
|
795
|
-
while (_iterator__ex2g4s.
|
|
796
|
-
var item = _iterator__ex2g4s.
|
|
788
|
+
var _iterator__ex2g4s = this_0.t();
|
|
789
|
+
while (_iterator__ex2g4s.u()) {
|
|
790
|
+
var item = _iterator__ex2g4s.v();
|
|
797
791
|
var tmp$ret$0 = guessSerializer(item, module_0);
|
|
798
|
-
destination.
|
|
792
|
+
destination.e1(tmp$ret$0);
|
|
799
793
|
}
|
|
800
794
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
801
795
|
var set = HashSet_init_$Create$();
|
|
802
796
|
var list = ArrayList_init_$Create$();
|
|
803
|
-
var _iterator__ex2g4s_0 = destination.
|
|
804
|
-
while (_iterator__ex2g4s_0.
|
|
805
|
-
var e = _iterator__ex2g4s_0.
|
|
806
|
-
var key = e.
|
|
807
|
-
if (set.
|
|
808
|
-
list.
|
|
797
|
+
var _iterator__ex2g4s_0 = destination.t();
|
|
798
|
+
while (_iterator__ex2g4s_0.u()) {
|
|
799
|
+
var e = _iterator__ex2g4s_0.v();
|
|
800
|
+
var key = e.so().tp();
|
|
801
|
+
if (set.e1(key)) {
|
|
802
|
+
list.e1(e);
|
|
809
803
|
}
|
|
810
804
|
}
|
|
811
805
|
var serializers = list;
|
|
812
|
-
if (serializers.
|
|
806
|
+
if (serializers.g1() > 1) {
|
|
813
807
|
// Inline function 'kotlin.collections.map' call
|
|
814
808
|
// Inline function 'kotlin.collections.mapTo' call
|
|
815
809
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(serializers, 10));
|
|
816
|
-
var _iterator__ex2g4s_1 = serializers.
|
|
817
|
-
while (_iterator__ex2g4s_1.
|
|
818
|
-
var item_0 = _iterator__ex2g4s_1.
|
|
819
|
-
var tmp$ret$5 = item_0.
|
|
820
|
-
destination_0.
|
|
810
|
+
var _iterator__ex2g4s_1 = serializers.t();
|
|
811
|
+
while (_iterator__ex2g4s_1.u()) {
|
|
812
|
+
var item_0 = _iterator__ex2g4s_1.v();
|
|
813
|
+
var tmp$ret$5 = item_0.so().tp();
|
|
814
|
+
destination_0.e1(tmp$ret$5);
|
|
821
815
|
}
|
|
822
816
|
// Inline function 'kotlin.error' call
|
|
823
817
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -825,7 +819,7 @@
|
|
|
825
819
|
}
|
|
826
820
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
827
821
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
828
|
-
if (selected.
|
|
822
|
+
if (selected.so().fq()) {
|
|
829
823
|
return selected;
|
|
830
824
|
}
|
|
831
825
|
if (!isInterface(selected, KSerializer))
|
|
@@ -843,9 +837,9 @@
|
|
|
843
837
|
tmp$ret$8 = false;
|
|
844
838
|
break $l$block_0;
|
|
845
839
|
}
|
|
846
|
-
var _iterator__ex2g4s_2 = _this__u8e3s4.
|
|
847
|
-
while (_iterator__ex2g4s_2.
|
|
848
|
-
var element = _iterator__ex2g4s_2.
|
|
840
|
+
var _iterator__ex2g4s_2 = _this__u8e3s4.t();
|
|
841
|
+
while (_iterator__ex2g4s_2.u()) {
|
|
842
|
+
var element = _iterator__ex2g4s_2.v();
|
|
849
843
|
if (element == null) {
|
|
850
844
|
tmp$ret$8 = true;
|
|
851
845
|
break $l$block_0;
|