@doordeck/doordeck-headless-sdk 0.137.0 → 0.139.0
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/kotlin/Kermit-kermit-core.js +61 -61
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +2 -6459
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +57 -57
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.d.ts +80 -80
- package/kotlin/doordeck-sdk.js +13815 -13617
- package/kotlin/kotlin-kotlin-stdlib.js +3464 -2905
- package/kotlin/kotlinx-atomicfu.js +24 -24
- package/kotlin/kotlinx-coroutines-core.js +2412 -2409
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +54 -54
- package/kotlin/kotlinx-io-kotlinx-io-core.js +568 -568
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2130 -2118
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1675 -1659
- package/kotlin/ktor-ktor-client-auth.js +476 -476
- package/kotlin/ktor-ktor-client-content-negotiation.js +220 -220
- package/kotlin/ktor-ktor-client-core.js +3068 -3086
- package/kotlin/ktor-ktor-client-logging.js +1206 -1206
- package/kotlin/ktor-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-http-cio.js +603 -586
- package/kotlin/ktor-ktor-http.js +888 -888
- package/kotlin/ktor-ktor-io.js +1140 -1140
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +287 -287
- package/kotlin/ktor-ktor-serialization.js +130 -130
- package/kotlin/ktor-ktor-utils.js +961 -961
- package/kotlin/ktor-ktor-websockets.js +54 -54
- package/package.json +7 -7
|
@@ -2,59 +2,59 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
5
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
6
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
9
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
10
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
5
|
+
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.k9;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.ib;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.cf;
|
|
9
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.u8;
|
|
10
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.na;
|
|
11
11
|
var VOID = kotlin_kotlin.$_$.h;
|
|
12
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
14
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
15
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
16
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ka;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.mb;
|
|
14
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
15
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.xa;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
|
|
18
|
-
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
18
|
+
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
19
19
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.x1;
|
|
20
20
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.w;
|
|
21
|
-
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
23
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
21
|
+
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
22
|
+
var equals = kotlin_kotlin.$_$.ba;
|
|
23
|
+
var FunctionAdapter = kotlin_kotlin.$_$.o9;
|
|
24
24
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
25
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
25
|
+
var hashCode = kotlin_kotlin.$_$.ha;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ia;
|
|
27
27
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
28
28
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
29
29
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
30
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
30
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q2;
|
|
31
31
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
32
32
|
var discard = kotlin_io_ktor_ktor_io.$_$.y;
|
|
33
33
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
34
34
|
var readText = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
35
35
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
36
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
37
|
-
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
38
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
36
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
37
|
+
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v2;
|
|
38
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
39
39
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
40
|
-
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
41
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
42
|
-
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
43
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
44
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
45
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
46
|
-
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
47
|
-
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
48
|
-
var isArray = kotlin_kotlin.$_$.
|
|
49
|
-
var KtList = kotlin_kotlin.$_$.
|
|
50
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
51
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
52
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
40
|
+
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
41
|
+
var KtMap = kotlin_kotlin.$_$.p5;
|
|
42
|
+
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
43
|
+
var KtSet = kotlin_kotlin.$_$.u5;
|
|
44
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.y6;
|
|
45
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.s4;
|
|
46
|
+
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
47
|
+
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
48
|
+
var isArray = kotlin_kotlin.$_$.pa;
|
|
49
|
+
var KtList = kotlin_kotlin.$_$.m5;
|
|
50
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
51
|
+
var filterNotNull = kotlin_kotlin.$_$.w6;
|
|
52
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.z5;
|
|
53
53
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
|
|
54
54
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
55
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
56
|
-
var Collection = kotlin_kotlin.$_$.
|
|
57
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
55
|
+
var singleOrNull = kotlin_kotlin.$_$.b8;
|
|
56
|
+
var Collection = kotlin_kotlin.$_$.h5;
|
|
57
|
+
var emptyList = kotlin_kotlin.$_$.s6;
|
|
58
58
|
//endregion
|
|
59
59
|
//region block: pre-declaration
|
|
60
60
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
var _iterator__ex2g4s = tmp0.p();
|
|
81
81
|
while (_iterator__ex2g4s.q()) {
|
|
82
82
|
var element = _iterator__ex2g4s.r();
|
|
83
|
-
var tmp0_safe_receiver = element.
|
|
83
|
+
var tmp0_safe_receiver = element.t5k(format);
|
|
84
84
|
if (tmp0_safe_receiver == null)
|
|
85
85
|
null;
|
|
86
86
|
else {
|
|
@@ -91,53 +91,53 @@
|
|
|
91
91
|
return destination;
|
|
92
92
|
}
|
|
93
93
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
94
|
-
_this__u8e3s4.
|
|
94
|
+
_this__u8e3s4.b3f(contentType, new KotlinxSerializationConverter(format));
|
|
95
95
|
}
|
|
96
96
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
97
|
+
this.c5l_1 = $$this$unsafeFlow;
|
|
98
|
+
this.d5l_1 = $contentType;
|
|
99
|
+
this.e5l_1 = $charset;
|
|
100
|
+
this.f5l_1 = $typeInfo;
|
|
101
|
+
this.g5l_1 = $value;
|
|
102
102
|
CoroutineImpl.call(this, resultContinuation);
|
|
103
103
|
}
|
|
104
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
105
|
-
var tmp = this.
|
|
106
|
-
tmp.
|
|
107
|
-
tmp.
|
|
108
|
-
return tmp.
|
|
104
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).x3f = function (value, $completion) {
|
|
105
|
+
var tmp = this.y3f(value, $completion);
|
|
106
|
+
tmp.l9_1 = Unit_instance;
|
|
107
|
+
tmp.m9_1 = null;
|
|
108
|
+
return tmp.r9();
|
|
109
109
|
};
|
|
110
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
111
|
-
return this.
|
|
110
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).fa = function (p1, $completion) {
|
|
111
|
+
return this.x3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
112
112
|
};
|
|
113
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
114
|
-
var suspendResult = this.
|
|
113
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).r9 = function () {
|
|
114
|
+
var suspendResult = this.l9_1;
|
|
115
115
|
$sm: do
|
|
116
116
|
try {
|
|
117
|
-
var tmp = this.
|
|
117
|
+
var tmp = this.j9_1;
|
|
118
118
|
switch (tmp) {
|
|
119
119
|
case 0:
|
|
120
|
-
this.
|
|
120
|
+
this.k9_1 = 3;
|
|
121
121
|
var tmp_0 = this;
|
|
122
|
-
tmp_0.
|
|
122
|
+
tmp_0.i5l_1 = this.c5l_1;
|
|
123
123
|
var tmp_1 = this;
|
|
124
|
-
tmp_1.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
124
|
+
tmp_1.j5l_1 = this.h5l_1;
|
|
125
|
+
this.k5l_1 = this.i5l_1;
|
|
126
|
+
this.l5l_1 = this.j5l_1;
|
|
127
127
|
var tmp_2 = this;
|
|
128
|
-
tmp_2.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
suspendResult = this.
|
|
128
|
+
tmp_2.m5l_1 = this.l5l_1;
|
|
129
|
+
this.n5l_1 = this.m5l_1;
|
|
130
|
+
this.j9_1 = 1;
|
|
131
|
+
suspendResult = this.n5l_1.s5k(this.d5l_1, this.e5l_1, this.f5l_1, this.g5l_1, this);
|
|
132
132
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
133
133
|
return suspendResult;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
continue $sm;
|
|
137
137
|
case 1:
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
suspendResult = this.
|
|
138
|
+
this.o5l_1 = suspendResult;
|
|
139
|
+
this.j9_1 = 2;
|
|
140
|
+
suspendResult = this.k5l_1.k1a(this.o5l_1, this);
|
|
141
141
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
142
142
|
return suspendResult;
|
|
143
143
|
}
|
|
@@ -146,51 +146,51 @@
|
|
|
146
146
|
case 2:
|
|
147
147
|
return Unit_instance;
|
|
148
148
|
case 3:
|
|
149
|
-
throw this.
|
|
149
|
+
throw this.m9_1;
|
|
150
150
|
}
|
|
151
151
|
} catch ($p) {
|
|
152
152
|
var e = $p;
|
|
153
|
-
if (this.
|
|
153
|
+
if (this.k9_1 === 3) {
|
|
154
154
|
throw e;
|
|
155
155
|
} else {
|
|
156
|
-
this.
|
|
157
|
-
this.
|
|
156
|
+
this.j9_1 = this.k9_1;
|
|
157
|
+
this.m9_1 = e;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
while (true);
|
|
161
161
|
};
|
|
162
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
163
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
164
|
-
i.
|
|
162
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).y3f = function (value, completion) {
|
|
163
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.c5l_1, this.d5l_1, this.e5l_1, this.f5l_1, this.g5l_1, completion);
|
|
164
|
+
i.h5l_1 = value;
|
|
165
165
|
return i;
|
|
166
166
|
};
|
|
167
167
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
168
168
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
169
169
|
var l = function (value, $completion) {
|
|
170
|
-
return i.
|
|
170
|
+
return i.x3f(value, $completion);
|
|
171
171
|
};
|
|
172
172
|
l.$arity = 1;
|
|
173
173
|
return l;
|
|
174
174
|
}
|
|
175
175
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
176
176
|
CoroutineImpl.call(this, resultContinuation);
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
177
|
+
this.x5l_1 = _this__u8e3s4;
|
|
178
|
+
this.y5l_1 = collector;
|
|
179
179
|
}
|
|
180
|
-
protoOf($collectCOROUTINE$).
|
|
181
|
-
var suspendResult = this.
|
|
180
|
+
protoOf($collectCOROUTINE$).r9 = function () {
|
|
181
|
+
var suspendResult = this.l9_1;
|
|
182
182
|
$sm: do
|
|
183
183
|
try {
|
|
184
|
-
var tmp = this.
|
|
184
|
+
var tmp = this.j9_1;
|
|
185
185
|
switch (tmp) {
|
|
186
186
|
case 0:
|
|
187
|
-
this.
|
|
187
|
+
this.k9_1 = 2;
|
|
188
188
|
var tmp_0 = this;
|
|
189
|
-
tmp_0.
|
|
190
|
-
this.
|
|
191
|
-
this.
|
|
192
|
-
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.
|
|
193
|
-
suspendResult = this.
|
|
189
|
+
tmp_0.z5l_1 = this.y5l_1;
|
|
190
|
+
this.a5m_1 = this.z5l_1;
|
|
191
|
+
this.j9_1 = 1;
|
|
192
|
+
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.a5m_1, this.x5l_1.c5m_1, this.x5l_1.d5m_1, this.x5l_1.e5m_1, this.x5l_1.f5m_1, null);
|
|
193
|
+
suspendResult = this.x5l_1.b5m_1.m1a(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
194
194
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
195
195
|
return suspendResult;
|
|
196
196
|
}
|
|
@@ -199,63 +199,63 @@
|
|
|
199
199
|
case 1:
|
|
200
200
|
return Unit_instance;
|
|
201
201
|
case 2:
|
|
202
|
-
throw this.
|
|
202
|
+
throw this.m9_1;
|
|
203
203
|
}
|
|
204
204
|
} catch ($p) {
|
|
205
205
|
var e = $p;
|
|
206
|
-
if (this.
|
|
206
|
+
if (this.k9_1 === 2) {
|
|
207
207
|
throw e;
|
|
208
208
|
} else {
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
209
|
+
this.j9_1 = this.k9_1;
|
|
210
|
+
this.m9_1 = e;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
while (true);
|
|
214
214
|
};
|
|
215
215
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
216
|
+
this.o5m_1 = $$this$unsafeFlow;
|
|
217
|
+
this.p5m_1 = $charset;
|
|
218
|
+
this.q5m_1 = $typeInfo;
|
|
219
|
+
this.r5m_1 = $content;
|
|
220
220
|
CoroutineImpl.call(this, resultContinuation);
|
|
221
221
|
}
|
|
222
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
223
|
-
var tmp = this.
|
|
224
|
-
tmp.
|
|
225
|
-
tmp.
|
|
226
|
-
return tmp.
|
|
222
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).x3f = function (value, $completion) {
|
|
223
|
+
var tmp = this.y3f(value, $completion);
|
|
224
|
+
tmp.l9_1 = Unit_instance;
|
|
225
|
+
tmp.m9_1 = null;
|
|
226
|
+
return tmp.r9();
|
|
227
227
|
};
|
|
228
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
229
|
-
return this.
|
|
228
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).fa = function (p1, $completion) {
|
|
229
|
+
return this.x3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
230
230
|
};
|
|
231
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
232
|
-
var suspendResult = this.
|
|
231
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r9 = function () {
|
|
232
|
+
var suspendResult = this.l9_1;
|
|
233
233
|
$sm: do
|
|
234
234
|
try {
|
|
235
|
-
var tmp = this.
|
|
235
|
+
var tmp = this.j9_1;
|
|
236
236
|
switch (tmp) {
|
|
237
237
|
case 0:
|
|
238
|
-
this.
|
|
238
|
+
this.k9_1 = 3;
|
|
239
239
|
var tmp_0 = this;
|
|
240
|
-
tmp_0.
|
|
240
|
+
tmp_0.t5m_1 = this.o5m_1;
|
|
241
241
|
var tmp_1 = this;
|
|
242
|
-
tmp_1.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
242
|
+
tmp_1.u5m_1 = this.s5m_1;
|
|
243
|
+
this.v5m_1 = this.t5m_1;
|
|
244
|
+
this.w5m_1 = this.u5m_1;
|
|
245
245
|
var tmp_2 = this;
|
|
246
|
-
tmp_2.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
suspendResult = this.
|
|
246
|
+
tmp_2.x5m_1 = this.w5m_1;
|
|
247
|
+
this.y5m_1 = this.x5m_1;
|
|
248
|
+
this.j9_1 = 1;
|
|
249
|
+
suspendResult = this.y5m_1.z3f(this.p5m_1, this.q5m_1, this.r5m_1, this);
|
|
250
250
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
251
251
|
return suspendResult;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
continue $sm;
|
|
255
255
|
case 1:
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
suspendResult = this.
|
|
256
|
+
this.z5m_1 = suspendResult;
|
|
257
|
+
this.j9_1 = 2;
|
|
258
|
+
suspendResult = this.v5m_1.k1a(this.z5m_1, this);
|
|
259
259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
260
260
|
return suspendResult;
|
|
261
261
|
}
|
|
@@ -264,51 +264,51 @@
|
|
|
264
264
|
case 2:
|
|
265
265
|
return Unit_instance;
|
|
266
266
|
case 3:
|
|
267
|
-
throw this.
|
|
267
|
+
throw this.m9_1;
|
|
268
268
|
}
|
|
269
269
|
} catch ($p) {
|
|
270
270
|
var e = $p;
|
|
271
|
-
if (this.
|
|
271
|
+
if (this.k9_1 === 3) {
|
|
272
272
|
throw e;
|
|
273
273
|
} else {
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
274
|
+
this.j9_1 = this.k9_1;
|
|
275
|
+
this.m9_1 = e;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
while (true);
|
|
279
279
|
};
|
|
280
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
281
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
282
|
-
i.
|
|
280
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).y3f = function (value, completion) {
|
|
281
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.o5m_1, this.p5m_1, this.q5m_1, this.r5m_1, completion);
|
|
282
|
+
i.s5m_1 = value;
|
|
283
283
|
return i;
|
|
284
284
|
};
|
|
285
285
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
286
286
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
287
287
|
var l = function (value, $completion) {
|
|
288
|
-
return i.
|
|
288
|
+
return i.x3f(value, $completion);
|
|
289
289
|
};
|
|
290
290
|
l.$arity = 1;
|
|
291
291
|
return l;
|
|
292
292
|
}
|
|
293
293
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
294
294
|
CoroutineImpl.call(this, resultContinuation);
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
295
|
+
this.i5n_1 = _this__u8e3s4;
|
|
296
|
+
this.j5n_1 = collector;
|
|
297
297
|
}
|
|
298
|
-
protoOf($collectCOROUTINE$_0).
|
|
299
|
-
var suspendResult = this.
|
|
298
|
+
protoOf($collectCOROUTINE$_0).r9 = function () {
|
|
299
|
+
var suspendResult = this.l9_1;
|
|
300
300
|
$sm: do
|
|
301
301
|
try {
|
|
302
|
-
var tmp = this.
|
|
302
|
+
var tmp = this.j9_1;
|
|
303
303
|
switch (tmp) {
|
|
304
304
|
case 0:
|
|
305
|
-
this.
|
|
305
|
+
this.k9_1 = 2;
|
|
306
306
|
var tmp_0 = this;
|
|
307
|
-
tmp_0.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
311
|
-
suspendResult = this.
|
|
307
|
+
tmp_0.k5n_1 = this.j5n_1;
|
|
308
|
+
this.l5n_1 = this.k5n_1;
|
|
309
|
+
this.j9_1 = 1;
|
|
310
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.l5n_1, this.i5n_1.n5n_1, this.i5n_1.o5n_1, this.i5n_1.p5n_1, null);
|
|
311
|
+
suspendResult = this.i5n_1.m5n_1.m1a(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
312
312
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
313
313
|
return suspendResult;
|
|
314
314
|
}
|
|
@@ -317,15 +317,15 @@
|
|
|
317
317
|
case 1:
|
|
318
318
|
return Unit_instance;
|
|
319
319
|
case 2:
|
|
320
|
-
throw this.
|
|
320
|
+
throw this.m9_1;
|
|
321
321
|
}
|
|
322
322
|
} catch ($p) {
|
|
323
323
|
var e = $p;
|
|
324
|
-
if (this.
|
|
324
|
+
if (this.k9_1 === 2) {
|
|
325
325
|
throw e;
|
|
326
326
|
} else {
|
|
327
|
-
this.
|
|
328
|
-
this.
|
|
327
|
+
this.j9_1 = this.k9_1;
|
|
328
|
+
this.m9_1 = e;
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
while (true);
|
|
@@ -333,11 +333,11 @@
|
|
|
333
333
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
334
334
|
var tmp;
|
|
335
335
|
if (isInterface(format, StringFormat)) {
|
|
336
|
-
var content = format.
|
|
336
|
+
var content = format.n21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
337
337
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
338
338
|
} else {
|
|
339
339
|
if (isInterface(format, BinaryFormat)) {
|
|
340
|
-
var content_0 = format.
|
|
340
|
+
var content_0 = format.p21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
341
341
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
342
342
|
} else {
|
|
343
343
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -347,20 +347,20 @@
|
|
|
347
347
|
return tmp;
|
|
348
348
|
}
|
|
349
349
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
350
|
-
this.
|
|
350
|
+
this.q5n_1 = function_0;
|
|
351
351
|
}
|
|
352
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
353
|
-
return this.
|
|
352
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).k1a = function (value, $completion) {
|
|
353
|
+
return this.q5n_1(value, $completion);
|
|
354
354
|
};
|
|
355
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
356
|
-
return this.
|
|
355
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).u3 = function () {
|
|
356
|
+
return this.q5n_1;
|
|
357
357
|
};
|
|
358
358
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
359
359
|
var tmp;
|
|
360
360
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
361
361
|
var tmp_0;
|
|
362
362
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
363
|
-
tmp_0 = equals(this.
|
|
363
|
+
tmp_0 = equals(this.u3(), other.u3());
|
|
364
364
|
} else {
|
|
365
365
|
tmp_0 = false;
|
|
366
366
|
}
|
|
@@ -371,23 +371,23 @@
|
|
|
371
371
|
return tmp;
|
|
372
372
|
};
|
|
373
373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
374
|
-
return hashCode(this.
|
|
374
|
+
return hashCode(this.u3());
|
|
375
375
|
};
|
|
376
376
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
377
|
-
this.
|
|
377
|
+
this.r5n_1 = function_0;
|
|
378
378
|
}
|
|
379
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
380
|
-
return this.
|
|
379
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).k1a = function (value, $completion) {
|
|
380
|
+
return this.r5n_1(value, $completion);
|
|
381
381
|
};
|
|
382
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
383
|
-
return this.
|
|
382
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).u3 = function () {
|
|
383
|
+
return this.r5n_1;
|
|
384
384
|
};
|
|
385
385
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
386
386
|
var tmp;
|
|
387
387
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
388
388
|
var tmp_0;
|
|
389
389
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
390
|
-
tmp_0 = equals(this.
|
|
390
|
+
tmp_0 = equals(this.u3(), other.u3());
|
|
391
391
|
} else {
|
|
392
392
|
tmp_0 = false;
|
|
393
393
|
}
|
|
@@ -398,46 +398,46 @@
|
|
|
398
398
|
return tmp;
|
|
399
399
|
};
|
|
400
400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
401
|
-
return hashCode(this.
|
|
401
|
+
return hashCode(this.u3());
|
|
402
402
|
};
|
|
403
403
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
404
|
+
this.b5m_1 = $this;
|
|
405
|
+
this.c5m_1 = $contentType;
|
|
406
|
+
this.d5m_1 = $charset;
|
|
407
|
+
this.e5m_1 = $typeInfo;
|
|
408
|
+
this.f5m_1 = $value;
|
|
409
409
|
}
|
|
410
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
410
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).l1a = function (collector, $completion) {
|
|
411
411
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
412
|
-
tmp.
|
|
413
|
-
tmp.
|
|
414
|
-
return tmp.
|
|
412
|
+
tmp.l9_1 = Unit_instance;
|
|
413
|
+
tmp.m9_1 = null;
|
|
414
|
+
return tmp.r9();
|
|
415
415
|
};
|
|
416
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
417
|
-
return this.
|
|
416
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).m1a = function (collector, $completion) {
|
|
417
|
+
return this.l1a(collector, $completion);
|
|
418
418
|
};
|
|
419
419
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
420
420
|
CoroutineImpl.call(this, resultContinuation);
|
|
421
421
|
}
|
|
422
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
423
|
-
var tmp = this.
|
|
424
|
-
tmp.
|
|
425
|
-
tmp.
|
|
426
|
-
return tmp.
|
|
422
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).b5o = function (it, $completion) {
|
|
423
|
+
var tmp = this.c5o(it, $completion);
|
|
424
|
+
tmp.l9_1 = Unit_instance;
|
|
425
|
+
tmp.m9_1 = null;
|
|
426
|
+
return tmp.r9();
|
|
427
427
|
};
|
|
428
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
429
|
-
return this.
|
|
428
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).fa = function (p1, $completion) {
|
|
429
|
+
return this.b5o((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
430
430
|
};
|
|
431
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
432
|
-
var suspendResult = this.
|
|
431
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).r9 = function () {
|
|
432
|
+
var suspendResult = this.l9_1;
|
|
433
433
|
$sm: do
|
|
434
434
|
try {
|
|
435
|
-
var tmp = this.
|
|
435
|
+
var tmp = this.j9_1;
|
|
436
436
|
if (tmp === 0) {
|
|
437
|
-
this.
|
|
438
|
-
return !(this.
|
|
437
|
+
this.k9_1 = 1;
|
|
438
|
+
return !(this.a5o_1 == null);
|
|
439
439
|
} else if (tmp === 1) {
|
|
440
|
-
throw this.
|
|
440
|
+
throw this.m9_1;
|
|
441
441
|
}
|
|
442
442
|
} catch ($p) {
|
|
443
443
|
var e = $p;
|
|
@@ -445,57 +445,57 @@
|
|
|
445
445
|
}
|
|
446
446
|
while (true);
|
|
447
447
|
};
|
|
448
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
448
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).c5o = function (it, completion) {
|
|
449
449
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
450
|
-
i.
|
|
450
|
+
i.a5o_1 = it;
|
|
451
451
|
return i;
|
|
452
452
|
};
|
|
453
453
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
454
454
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
455
455
|
var l = function (it, $completion) {
|
|
456
|
-
return i.
|
|
456
|
+
return i.b5o(it, $completion);
|
|
457
457
|
};
|
|
458
458
|
l.$arity = 1;
|
|
459
459
|
return l;
|
|
460
460
|
}
|
|
461
461
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
462
|
-
this.
|
|
463
|
-
this.
|
|
464
|
-
this.
|
|
465
|
-
this.
|
|
462
|
+
this.m5n_1 = $this;
|
|
463
|
+
this.n5n_1 = $charset;
|
|
464
|
+
this.o5n_1 = $typeInfo;
|
|
465
|
+
this.p5n_1 = $content;
|
|
466
466
|
}
|
|
467
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
467
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).l1a = function (collector, $completion) {
|
|
468
468
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
469
|
-
tmp.
|
|
470
|
-
tmp.
|
|
471
|
-
return tmp.
|
|
469
|
+
tmp.l9_1 = Unit_instance;
|
|
470
|
+
tmp.m9_1 = null;
|
|
471
|
+
return tmp.r9();
|
|
472
472
|
};
|
|
473
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
474
|
-
return this.
|
|
473
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).m1a = function (collector, $completion) {
|
|
474
|
+
return this.l1a(collector, $completion);
|
|
475
475
|
};
|
|
476
476
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
477
|
-
this.
|
|
477
|
+
this.l5o_1 = $content;
|
|
478
478
|
CoroutineImpl.call(this, resultContinuation);
|
|
479
479
|
}
|
|
480
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
481
|
-
var tmp = this.
|
|
482
|
-
tmp.
|
|
483
|
-
tmp.
|
|
484
|
-
return tmp.
|
|
480
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).a3h = function (it, $completion) {
|
|
481
|
+
var tmp = this.y3f(it, $completion);
|
|
482
|
+
tmp.l9_1 = Unit_instance;
|
|
483
|
+
tmp.m9_1 = null;
|
|
484
|
+
return tmp.r9();
|
|
485
485
|
};
|
|
486
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
487
|
-
return this.
|
|
486
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).fa = function (p1, $completion) {
|
|
487
|
+
return this.a3h((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
488
488
|
};
|
|
489
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
490
|
-
var suspendResult = this.
|
|
489
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).r9 = function () {
|
|
490
|
+
var suspendResult = this.l9_1;
|
|
491
491
|
$sm: do
|
|
492
492
|
try {
|
|
493
|
-
var tmp = this.
|
|
493
|
+
var tmp = this.j9_1;
|
|
494
494
|
if (tmp === 0) {
|
|
495
|
-
this.
|
|
496
|
-
return !(this.
|
|
495
|
+
this.k9_1 = 1;
|
|
496
|
+
return !(this.m5o_1 == null) || this.l5o_1.n1o();
|
|
497
497
|
} else if (tmp === 1) {
|
|
498
|
-
throw this.
|
|
498
|
+
throw this.m9_1;
|
|
499
499
|
}
|
|
500
500
|
} catch ($p) {
|
|
501
501
|
var e = $p;
|
|
@@ -503,38 +503,38 @@
|
|
|
503
503
|
}
|
|
504
504
|
while (true);
|
|
505
505
|
};
|
|
506
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
507
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
508
|
-
i.
|
|
506
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).y3f = function (it, completion) {
|
|
507
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.l5o_1, completion);
|
|
508
|
+
i.m5o_1 = it;
|
|
509
509
|
return i;
|
|
510
510
|
};
|
|
511
511
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
512
512
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
513
513
|
var l = function (it, $completion) {
|
|
514
|
-
return i.
|
|
514
|
+
return i.a3h(it, $completion);
|
|
515
515
|
};
|
|
516
516
|
l.$arity = 1;
|
|
517
517
|
return l;
|
|
518
518
|
}
|
|
519
519
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
520
520
|
CoroutineImpl.call(this, resultContinuation);
|
|
521
|
-
this.
|
|
522
|
-
this.
|
|
523
|
-
this.
|
|
524
|
-
this.
|
|
525
|
-
this.
|
|
521
|
+
this.v5o_1 = _this__u8e3s4;
|
|
522
|
+
this.w5o_1 = contentType;
|
|
523
|
+
this.x5o_1 = charset;
|
|
524
|
+
this.y5o_1 = typeInfo;
|
|
525
|
+
this.z5o_1 = value;
|
|
526
526
|
}
|
|
527
|
-
protoOf($serializeCOROUTINE$).
|
|
528
|
-
var suspendResult = this.
|
|
527
|
+
protoOf($serializeCOROUTINE$).r9 = function () {
|
|
528
|
+
var suspendResult = this.l9_1;
|
|
529
529
|
$sm: do
|
|
530
530
|
try {
|
|
531
|
-
var tmp = this.
|
|
531
|
+
var tmp = this.j9_1;
|
|
532
532
|
switch (tmp) {
|
|
533
533
|
case 0:
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
536
|
-
var this_0 = asFlow(this.
|
|
537
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
534
|
+
this.k9_1 = 2;
|
|
535
|
+
this.j9_1 = 1;
|
|
536
|
+
var this_0 = asFlow(this.v5o_1.b5p_1);
|
|
537
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.w5o_1, this.x5o_1, this.y5o_1, this.z5o_1);
|
|
538
538
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
539
539
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
540
540
|
return suspendResult;
|
|
@@ -547,12 +547,12 @@
|
|
|
547
547
|
return fromExtension;
|
|
548
548
|
var tmp_1;
|
|
549
549
|
try {
|
|
550
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
550
|
+
tmp_1 = serializerForTypeInfo(this.v5o_1.a5p_1.m24(), this.y5o_1);
|
|
551
551
|
} catch ($p) {
|
|
552
552
|
var tmp_2;
|
|
553
553
|
if ($p instanceof SerializationException) {
|
|
554
554
|
var cause = $p;
|
|
555
|
-
tmp_2 = guessSerializer(this.
|
|
555
|
+
tmp_2 = guessSerializer(this.z5o_1, this.v5o_1.a5p_1.m24());
|
|
556
556
|
} else {
|
|
557
557
|
throw $p;
|
|
558
558
|
}
|
|
@@ -560,59 +560,59 @@
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
var serializer = tmp_1;
|
|
563
|
-
return serializeContent(this.
|
|
563
|
+
return serializeContent(this.v5o_1, serializer, this.v5o_1.a5p_1, this.z5o_1, this.w5o_1, this.x5o_1);
|
|
564
564
|
case 2:
|
|
565
|
-
throw this.
|
|
565
|
+
throw this.m9_1;
|
|
566
566
|
}
|
|
567
567
|
} catch ($p) {
|
|
568
568
|
var e = $p;
|
|
569
|
-
if (this.
|
|
569
|
+
if (this.k9_1 === 2) {
|
|
570
570
|
throw e;
|
|
571
571
|
} else {
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
572
|
+
this.j9_1 = this.k9_1;
|
|
573
|
+
this.m9_1 = e;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
while (true);
|
|
577
577
|
};
|
|
578
578
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
579
579
|
CoroutineImpl.call(this, resultContinuation);
|
|
580
|
-
this.
|
|
581
|
-
this.
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
580
|
+
this.k5p_1 = _this__u8e3s4;
|
|
581
|
+
this.l5p_1 = charset;
|
|
582
|
+
this.m5p_1 = typeInfo;
|
|
583
|
+
this.n5p_1 = content;
|
|
584
584
|
}
|
|
585
|
-
protoOf($deserializeCOROUTINE$).
|
|
586
|
-
var suspendResult = this.
|
|
585
|
+
protoOf($deserializeCOROUTINE$).r9 = function () {
|
|
586
|
+
var suspendResult = this.l9_1;
|
|
587
587
|
$sm: do
|
|
588
588
|
try {
|
|
589
|
-
var tmp = this.
|
|
589
|
+
var tmp = this.j9_1;
|
|
590
590
|
switch (tmp) {
|
|
591
591
|
case 0:
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
594
|
-
var this_0 = asFlow(this.
|
|
595
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
596
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
592
|
+
this.k9_1 = 4;
|
|
593
|
+
this.j9_1 = 1;
|
|
594
|
+
var this_0 = asFlow(this.k5p_1.b5p_1);
|
|
595
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.l5p_1, this.m5p_1, this.n5p_1);
|
|
596
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.n5p_1, null), this);
|
|
597
597
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
598
598
|
return suspendResult;
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
continue $sm;
|
|
602
602
|
case 1:
|
|
603
|
-
this.
|
|
603
|
+
this.o5p_1 = suspendResult;
|
|
604
604
|
var tmp_1;
|
|
605
|
-
if (!this.
|
|
606
|
-
tmp_1 = !(this.
|
|
605
|
+
if (!this.k5p_1.b5p_1.h()) {
|
|
606
|
+
tmp_1 = !(this.o5p_1 == null) || this.n5p_1.n1o();
|
|
607
607
|
} else {
|
|
608
608
|
tmp_1 = false;
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
if (tmp_1)
|
|
612
|
-
return this.
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
615
|
-
suspendResult = readRemaining(this.
|
|
612
|
+
return this.o5p_1;
|
|
613
|
+
this.p5p_1 = serializerForTypeInfo(this.k5p_1.a5p_1.m24(), this.m5p_1);
|
|
614
|
+
this.j9_1 = 2;
|
|
615
|
+
suspendResult = readRemaining(this.n5p_1, this);
|
|
616
616
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
617
617
|
return suspendResult;
|
|
618
618
|
}
|
|
@@ -620,88 +620,88 @@
|
|
|
620
620
|
continue $sm;
|
|
621
621
|
case 2:
|
|
622
622
|
var contentPacket = suspendResult;
|
|
623
|
-
this.
|
|
624
|
-
var tmp0_subject = this.
|
|
623
|
+
this.k9_1 = 3;
|
|
624
|
+
var tmp0_subject = this.k5p_1.a5p_1;
|
|
625
625
|
var tmp_2;
|
|
626
626
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
627
|
-
tmp_2 = this.
|
|
627
|
+
tmp_2 = this.k5p_1.a5p_1.o21(this.p5p_1, readText(contentPacket, this.l5p_1));
|
|
628
628
|
} else {
|
|
629
629
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
630
|
-
tmp_2 = this.
|
|
630
|
+
tmp_2 = this.k5p_1.a5p_1.q21(this.p5p_1, readByteArray(contentPacket));
|
|
631
631
|
} else {
|
|
632
632
|
discard(contentPacket);
|
|
633
|
-
var message = 'Unsupported format ' + toString(this.
|
|
633
|
+
var message = 'Unsupported format ' + toString(this.k5p_1.a5p_1);
|
|
634
634
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
637
|
|
|
638
638
|
return tmp_2;
|
|
639
639
|
case 3:
|
|
640
|
-
this.
|
|
641
|
-
var tmp_3 = this.
|
|
640
|
+
this.k9_1 = 4;
|
|
641
|
+
var tmp_3 = this.m9_1;
|
|
642
642
|
if (tmp_3 instanceof Error) {
|
|
643
|
-
var cause = this.
|
|
643
|
+
var cause = this.m9_1;
|
|
644
644
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
645
645
|
} else {
|
|
646
|
-
throw this.
|
|
646
|
+
throw this.m9_1;
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
case 4:
|
|
650
|
-
throw this.
|
|
650
|
+
throw this.m9_1;
|
|
651
651
|
}
|
|
652
652
|
} catch ($p) {
|
|
653
653
|
var e = $p;
|
|
654
|
-
if (this.
|
|
654
|
+
if (this.k9_1 === 4) {
|
|
655
655
|
throw e;
|
|
656
656
|
} else {
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
657
|
+
this.j9_1 = this.k9_1;
|
|
658
|
+
this.m9_1 = e;
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
661
|
while (true);
|
|
662
662
|
};
|
|
663
663
|
function KotlinxSerializationConverter(format) {
|
|
664
|
-
this.
|
|
665
|
-
this.
|
|
664
|
+
this.a5p_1 = format;
|
|
665
|
+
this.b5p_1 = extensions(this.a5p_1);
|
|
666
666
|
var tmp;
|
|
667
|
-
var tmp_0 = this.
|
|
667
|
+
var tmp_0 = this.a5p_1;
|
|
668
668
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
669
669
|
tmp = true;
|
|
670
670
|
} else {
|
|
671
|
-
var tmp_1 = this.
|
|
671
|
+
var tmp_1 = this.a5p_1;
|
|
672
672
|
tmp = isInterface(tmp_1, StringFormat);
|
|
673
673
|
}
|
|
674
674
|
// Inline function 'kotlin.require' call
|
|
675
675
|
if (!tmp) {
|
|
676
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
676
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.a5p_1) + ' is not supported.';
|
|
677
677
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
protoOf(KotlinxSerializationConverter).
|
|
680
|
+
protoOf(KotlinxSerializationConverter).q5p = function (contentType, charset, typeInfo, value, $completion) {
|
|
681
681
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
682
|
-
tmp.
|
|
683
|
-
tmp.
|
|
684
|
-
return tmp.
|
|
682
|
+
tmp.l9_1 = Unit_instance;
|
|
683
|
+
tmp.m9_1 = null;
|
|
684
|
+
return tmp.r9();
|
|
685
685
|
};
|
|
686
|
-
protoOf(KotlinxSerializationConverter).
|
|
687
|
-
return this.
|
|
686
|
+
protoOf(KotlinxSerializationConverter).s5k = function (contentType, charset, typeInfo, value, $completion) {
|
|
687
|
+
return this.q5p(contentType, charset, typeInfo, value, $completion);
|
|
688
688
|
};
|
|
689
|
-
protoOf(KotlinxSerializationConverter).
|
|
689
|
+
protoOf(KotlinxSerializationConverter).z3f = function (charset, typeInfo, content, $completion) {
|
|
690
690
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
691
|
-
tmp.
|
|
692
|
-
tmp.
|
|
693
|
-
return tmp.
|
|
691
|
+
tmp.l9_1 = Unit_instance;
|
|
692
|
+
tmp.m9_1 = null;
|
|
693
|
+
return tmp.r9();
|
|
694
694
|
};
|
|
695
695
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
696
696
|
var module_0 = _this__u8e3s4;
|
|
697
|
-
var tmp0_safe_receiver = typeInfo.
|
|
697
|
+
var tmp0_safe_receiver = typeInfo.n2t_1;
|
|
698
698
|
var tmp;
|
|
699
699
|
if (tmp0_safe_receiver == null) {
|
|
700
700
|
tmp = null;
|
|
701
701
|
} else {
|
|
702
702
|
// Inline function 'kotlin.let' call
|
|
703
703
|
var tmp_0;
|
|
704
|
-
if (tmp0_safe_receiver.
|
|
704
|
+
if (tmp0_safe_receiver.dc().h()) {
|
|
705
705
|
tmp_0 = null;
|
|
706
706
|
} else {
|
|
707
707
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -711,13 +711,13 @@
|
|
|
711
711
|
var tmp1_elvis_lhs = tmp;
|
|
712
712
|
var tmp_1;
|
|
713
713
|
if (tmp1_elvis_lhs == null) {
|
|
714
|
-
var tmp2_safe_receiver = module_0.
|
|
714
|
+
var tmp2_safe_receiver = module_0.t21(typeInfo.m2t_1);
|
|
715
715
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
716
716
|
} else {
|
|
717
717
|
tmp_1 = tmp1_elvis_lhs;
|
|
718
718
|
}
|
|
719
719
|
var tmp3_elvis_lhs = tmp_1;
|
|
720
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
720
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.m2t_1), typeInfo) : tmp3_elvis_lhs;
|
|
721
721
|
}
|
|
722
722
|
function guessSerializer(value, module_0) {
|
|
723
723
|
var tmp;
|
|
@@ -743,11 +743,11 @@
|
|
|
743
743
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
744
744
|
} else {
|
|
745
745
|
if (!(value == null) ? isInterface(value, KtMap) : false) {
|
|
746
|
-
var keySerializer = elementSerializer(value.
|
|
747
|
-
var valueSerializer = elementSerializer(value.
|
|
746
|
+
var keySerializer = elementSerializer(value.m2(), module_0);
|
|
747
|
+
var valueSerializer = elementSerializer(value.n2(), module_0);
|
|
748
748
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
749
749
|
} else {
|
|
750
|
-
var tmp3_elvis_lhs = module_0.
|
|
750
|
+
var tmp3_elvis_lhs = module_0.t21(getKClassFromExpression(value));
|
|
751
751
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
752
752
|
}
|
|
753
753
|
}
|
|
@@ -759,8 +759,8 @@
|
|
|
759
759
|
}
|
|
760
760
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
761
761
|
var tmp;
|
|
762
|
-
var tmp0_safe_receiver = typeInfo.
|
|
763
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
762
|
+
var tmp0_safe_receiver = typeInfo.n2t_1;
|
|
763
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ec()) === true) {
|
|
764
764
|
tmp = get_nullable(_this__u8e3s4);
|
|
765
765
|
} else {
|
|
766
766
|
tmp = _this__u8e3s4;
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
var _iterator__ex2g4s_0 = destination.p();
|
|
785
785
|
while (_iterator__ex2g4s_0.q()) {
|
|
786
786
|
var e = _iterator__ex2g4s_0.r();
|
|
787
|
-
var key = e.
|
|
787
|
+
var key = e.k20().l21();
|
|
788
788
|
if (set.k(key)) {
|
|
789
789
|
list.k(e);
|
|
790
790
|
}
|
|
@@ -797,7 +797,7 @@
|
|
|
797
797
|
var _iterator__ex2g4s_1 = serializers.p();
|
|
798
798
|
while (_iterator__ex2g4s_1.q()) {
|
|
799
799
|
var item_0 = _iterator__ex2g4s_1.r();
|
|
800
|
-
var tmp$ret$5 = item_0.
|
|
800
|
+
var tmp$ret$5 = item_0.k20().l21();
|
|
801
801
|
destination_0.k(tmp$ret$5);
|
|
802
802
|
}
|
|
803
803
|
// Inline function 'kotlin.error' call
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
}
|
|
807
807
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
808
808
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
809
|
-
if (selected.
|
|
809
|
+
if (selected.k20().x21()) {
|
|
810
810
|
return selected;
|
|
811
811
|
}
|
|
812
812
|
if (!isInterface(selected, KSerializer))
|