@doordeck/doordeck-headless-sdk 0.71.0 → 0.73.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/README.md +14 -14
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1343 -1343
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +35 -35
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
- package/kotlin/doordeck-sdk.d.ts +463 -489
- package/kotlin/doordeck-sdk.js +28975 -28999
- package/kotlin/kotlin-kotlin-stdlib.js +2288 -2789
- package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +6 -0
- package/kotlin/kotlinx-atomicfu.js +19 -19
- package/kotlin/kotlinx-coroutines-core.js +2189 -2805
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +2 -198
- package/kotlin/kotlinx-io-kotlinx-io-core.js +463 -536
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1939 -1939
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1684 -1733
- package/kotlin/ktor-ktor-client-ktor-client-core.js +3074 -3401
- package/kotlin/ktor-ktor-client-ktor-client-js.js +6 -0
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +438 -540
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +271 -372
- package/kotlin/ktor-ktor-http.js +906 -1012
- package/kotlin/ktor-ktor-io.js +880 -1782
- package/kotlin/ktor-ktor-shared-ktor-events.js +13 -13
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +282 -282
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +137 -137
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +57 -57
- package/kotlin/ktor-ktor-utils.js +668 -758
- package/package.json +2 -2
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +0 -2009
|
@@ -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.$_$.g5;
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.l9;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.jb;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.ve;
|
|
9
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
|
|
10
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.oa;
|
|
11
11
|
var VOID = kotlin_kotlin.$_$.h;
|
|
12
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
14
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.la;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.nb;
|
|
14
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.y1;
|
|
15
15
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
16
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
17
|
-
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.ya;
|
|
17
|
+
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.l;
|
|
18
18
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
19
|
-
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.
|
|
20
|
-
var TextContent = kotlin_io_ktor_ktor_http.$_$.
|
|
19
|
+
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.p1;
|
|
20
|
+
var TextContent = kotlin_io_ktor_ktor_http.$_$.u;
|
|
21
21
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
23
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
24
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
25
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
27
|
-
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.
|
|
28
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
22
|
+
var equals = kotlin_kotlin.$_$.ba;
|
|
23
|
+
var FunctionAdapter = kotlin_kotlin.$_$.p9;
|
|
24
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
|
|
25
|
+
var hashCode = kotlin_kotlin.$_$.ia;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ja;
|
|
27
|
+
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
28
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
29
29
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
30
30
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
31
31
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.d;
|
|
32
|
-
var discard = kotlin_io_ktor_ktor_io.$_$.
|
|
32
|
+
var discard = kotlin_io_ktor_ktor_io.$_$.s;
|
|
33
33
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
34
|
-
var readText = kotlin_io_ktor_ktor_io.$_$.
|
|
34
|
+
var readText = kotlin_io_ktor_ktor_io.$_$.u;
|
|
35
35
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
36
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
36
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
37
37
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
38
38
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
39
39
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
40
40
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
41
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
41
|
+
var KtMap = kotlin_kotlin.$_$.q5;
|
|
42
42
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
43
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
44
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
45
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
43
|
+
var KtSet = kotlin_kotlin.$_$.u5;
|
|
44
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.x6;
|
|
45
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.v4;
|
|
46
46
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
47
47
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
48
|
-
var isArray = kotlin_kotlin.$_$.
|
|
49
|
-
var KtList = kotlin_kotlin.$_$.
|
|
48
|
+
var isArray = kotlin_kotlin.$_$.qa;
|
|
49
|
+
var KtList = kotlin_kotlin.$_$.n5;
|
|
50
50
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
51
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
52
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
51
|
+
var filterNotNull = kotlin_kotlin.$_$.v6;
|
|
52
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
|
|
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.$_$.c8;
|
|
56
|
+
var Collection = kotlin_kotlin.$_$.i5;
|
|
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]);
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
var element = _iterator__ex2g4s.r();
|
|
83
83
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
84
84
|
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
85
|
-
var tmp0_safe_receiver = element.
|
|
85
|
+
var tmp0_safe_receiver = element.x4a(format);
|
|
86
86
|
if (tmp0_safe_receiver == null)
|
|
87
87
|
null;
|
|
88
88
|
else {
|
|
@@ -94,53 +94,53 @@
|
|
|
94
94
|
return destination;
|
|
95
95
|
}
|
|
96
96
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
97
|
-
_this__u8e3s4.
|
|
97
|
+
_this__u8e3s4.f2r(contentType, new KotlinxSerializationConverter(format));
|
|
98
98
|
}
|
|
99
99
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
100
|
+
this.g4b_1 = $$this$unsafeFlow;
|
|
101
|
+
this.h4b_1 = $contentType;
|
|
102
|
+
this.i4b_1 = $charset;
|
|
103
|
+
this.j4b_1 = $typeInfo;
|
|
104
|
+
this.k4b_1 = $value;
|
|
105
105
|
CoroutineImpl.call(this, resultContinuation);
|
|
106
106
|
}
|
|
107
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
108
|
-
var tmp = this.
|
|
109
|
-
tmp.
|
|
110
|
-
tmp.
|
|
111
|
-
return tmp.
|
|
107
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).b2s = function (value, $completion) {
|
|
108
|
+
var tmp = this.c2s(value, $completion);
|
|
109
|
+
tmp.f9_1 = Unit_instance;
|
|
110
|
+
tmp.g9_1 = null;
|
|
111
|
+
return tmp.l9();
|
|
112
112
|
};
|
|
113
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
114
|
-
return this.
|
|
113
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).v9 = function (p1, $completion) {
|
|
114
|
+
return this.b2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
115
115
|
};
|
|
116
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
117
|
-
var suspendResult = this.
|
|
116
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l9 = function () {
|
|
117
|
+
var suspendResult = this.f9_1;
|
|
118
118
|
$sm: do
|
|
119
119
|
try {
|
|
120
|
-
var tmp = this.
|
|
120
|
+
var tmp = this.d9_1;
|
|
121
121
|
switch (tmp) {
|
|
122
122
|
case 0:
|
|
123
|
-
this.
|
|
123
|
+
this.e9_1 = 3;
|
|
124
124
|
var tmp_0 = this;
|
|
125
|
-
tmp_0.
|
|
125
|
+
tmp_0.m4b_1 = this.g4b_1;
|
|
126
126
|
var tmp_1 = this;
|
|
127
|
-
tmp_1.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
127
|
+
tmp_1.n4b_1 = this.l4b_1;
|
|
128
|
+
this.o4b_1 = this.m4b_1;
|
|
129
|
+
this.p4b_1 = this.n4b_1;
|
|
130
130
|
var tmp_2 = this;
|
|
131
|
-
tmp_2.
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
suspendResult = this.
|
|
131
|
+
tmp_2.q4b_1 = this.p4b_1;
|
|
132
|
+
this.r4b_1 = this.q4b_1;
|
|
133
|
+
this.d9_1 = 1;
|
|
134
|
+
suspendResult = this.r4b_1.w4a(this.h4b_1, this.i4b_1, this.j4b_1, this.k4b_1, this);
|
|
135
135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
136
136
|
return suspendResult;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
continue $sm;
|
|
140
140
|
case 1:
|
|
141
|
-
this.
|
|
142
|
-
this.
|
|
143
|
-
suspendResult = this.
|
|
141
|
+
this.s4b_1 = suspendResult;
|
|
142
|
+
this.d9_1 = 2;
|
|
143
|
+
suspendResult = this.o4b_1.k14(this.s4b_1, this);
|
|
144
144
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
145
145
|
return suspendResult;
|
|
146
146
|
}
|
|
@@ -149,51 +149,51 @@
|
|
|
149
149
|
case 2:
|
|
150
150
|
return Unit_instance;
|
|
151
151
|
case 3:
|
|
152
|
-
throw this.
|
|
152
|
+
throw this.g9_1;
|
|
153
153
|
}
|
|
154
154
|
} catch ($p) {
|
|
155
155
|
var e = $p;
|
|
156
|
-
if (this.
|
|
156
|
+
if (this.e9_1 === 3) {
|
|
157
157
|
throw e;
|
|
158
158
|
} else {
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
159
|
+
this.d9_1 = this.e9_1;
|
|
160
|
+
this.g9_1 = e;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
while (true);
|
|
164
164
|
};
|
|
165
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
166
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
167
|
-
i.
|
|
165
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).c2s = function (value, completion) {
|
|
166
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.g4b_1, this.h4b_1, this.i4b_1, this.j4b_1, this.k4b_1, completion);
|
|
167
|
+
i.l4b_1 = value;
|
|
168
168
|
return i;
|
|
169
169
|
};
|
|
170
170
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
171
171
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
172
172
|
var l = function (value, $completion) {
|
|
173
|
-
return i.
|
|
173
|
+
return i.b2s(value, $completion);
|
|
174
174
|
};
|
|
175
175
|
l.$arity = 1;
|
|
176
176
|
return l;
|
|
177
177
|
}
|
|
178
178
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
179
179
|
CoroutineImpl.call(this, resultContinuation);
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
180
|
+
this.b4c_1 = _this__u8e3s4;
|
|
181
|
+
this.c4c_1 = collector;
|
|
182
182
|
}
|
|
183
|
-
protoOf($collectCOROUTINE$2).
|
|
184
|
-
var suspendResult = this.
|
|
183
|
+
protoOf($collectCOROUTINE$2).l9 = function () {
|
|
184
|
+
var suspendResult = this.f9_1;
|
|
185
185
|
$sm: do
|
|
186
186
|
try {
|
|
187
|
-
var tmp = this.
|
|
187
|
+
var tmp = this.d9_1;
|
|
188
188
|
switch (tmp) {
|
|
189
189
|
case 0:
|
|
190
|
-
this.
|
|
190
|
+
this.e9_1 = 2;
|
|
191
191
|
var tmp_0 = this;
|
|
192
|
-
tmp_0.
|
|
193
|
-
this.
|
|
194
|
-
this.
|
|
195
|
-
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.
|
|
196
|
-
suspendResult = this.
|
|
192
|
+
tmp_0.d4c_1 = this.c4c_1;
|
|
193
|
+
this.e4c_1 = this.d4c_1;
|
|
194
|
+
this.d9_1 = 1;
|
|
195
|
+
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.e4c_1, this.b4c_1.g4c_1, this.b4c_1.h4c_1, this.b4c_1.i4c_1, this.b4c_1.j4c_1, null);
|
|
196
|
+
suspendResult = this.b4c_1.f4c_1.m14(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
197
197
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
198
198
|
return suspendResult;
|
|
199
199
|
}
|
|
@@ -202,63 +202,63 @@
|
|
|
202
202
|
case 1:
|
|
203
203
|
return Unit_instance;
|
|
204
204
|
case 2:
|
|
205
|
-
throw this.
|
|
205
|
+
throw this.g9_1;
|
|
206
206
|
}
|
|
207
207
|
} catch ($p) {
|
|
208
208
|
var e = $p;
|
|
209
|
-
if (this.
|
|
209
|
+
if (this.e9_1 === 2) {
|
|
210
210
|
throw e;
|
|
211
211
|
} else {
|
|
212
|
-
this.
|
|
213
|
-
this.
|
|
212
|
+
this.d9_1 = this.e9_1;
|
|
213
|
+
this.g9_1 = e;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
while (true);
|
|
217
217
|
};
|
|
218
218
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
219
|
+
this.s4c_1 = $$this$unsafeFlow;
|
|
220
|
+
this.t4c_1 = $charset;
|
|
221
|
+
this.u4c_1 = $typeInfo;
|
|
222
|
+
this.v4c_1 = $content;
|
|
223
223
|
CoroutineImpl.call(this, resultContinuation);
|
|
224
224
|
}
|
|
225
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
226
|
-
var tmp = this.
|
|
227
|
-
tmp.
|
|
228
|
-
tmp.
|
|
229
|
-
return tmp.
|
|
225
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).b2s = function (value, $completion) {
|
|
226
|
+
var tmp = this.c2s(value, $completion);
|
|
227
|
+
tmp.f9_1 = Unit_instance;
|
|
228
|
+
tmp.g9_1 = null;
|
|
229
|
+
return tmp.l9();
|
|
230
230
|
};
|
|
231
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
232
|
-
return this.
|
|
231
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).v9 = function (p1, $completion) {
|
|
232
|
+
return this.b2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
233
233
|
};
|
|
234
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
235
|
-
var suspendResult = this.
|
|
234
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l9 = function () {
|
|
235
|
+
var suspendResult = this.f9_1;
|
|
236
236
|
$sm: do
|
|
237
237
|
try {
|
|
238
|
-
var tmp = this.
|
|
238
|
+
var tmp = this.d9_1;
|
|
239
239
|
switch (tmp) {
|
|
240
240
|
case 0:
|
|
241
|
-
this.
|
|
241
|
+
this.e9_1 = 3;
|
|
242
242
|
var tmp_0 = this;
|
|
243
|
-
tmp_0.
|
|
243
|
+
tmp_0.x4c_1 = this.s4c_1;
|
|
244
244
|
var tmp_1 = this;
|
|
245
|
-
tmp_1.
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
245
|
+
tmp_1.y4c_1 = this.w4c_1;
|
|
246
|
+
this.z4c_1 = this.x4c_1;
|
|
247
|
+
this.a4d_1 = this.y4c_1;
|
|
248
248
|
var tmp_2 = this;
|
|
249
|
-
tmp_2.
|
|
250
|
-
this.
|
|
251
|
-
this.
|
|
252
|
-
suspendResult = this.
|
|
249
|
+
tmp_2.b4d_1 = this.a4d_1;
|
|
250
|
+
this.c4d_1 = this.b4d_1;
|
|
251
|
+
this.d9_1 = 1;
|
|
252
|
+
suspendResult = this.c4d_1.d2s(this.t4c_1, this.u4c_1, this.v4c_1, this);
|
|
253
253
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
254
254
|
return suspendResult;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
continue $sm;
|
|
258
258
|
case 1:
|
|
259
|
-
this.
|
|
260
|
-
this.
|
|
261
|
-
suspendResult = this.
|
|
259
|
+
this.d4d_1 = suspendResult;
|
|
260
|
+
this.d9_1 = 2;
|
|
261
|
+
suspendResult = this.z4c_1.k14(this.d4d_1, this);
|
|
262
262
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
263
263
|
return suspendResult;
|
|
264
264
|
}
|
|
@@ -267,51 +267,51 @@
|
|
|
267
267
|
case 2:
|
|
268
268
|
return Unit_instance;
|
|
269
269
|
case 3:
|
|
270
|
-
throw this.
|
|
270
|
+
throw this.g9_1;
|
|
271
271
|
}
|
|
272
272
|
} catch ($p) {
|
|
273
273
|
var e = $p;
|
|
274
|
-
if (this.
|
|
274
|
+
if (this.e9_1 === 3) {
|
|
275
275
|
throw e;
|
|
276
276
|
} else {
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
277
|
+
this.d9_1 = this.e9_1;
|
|
278
|
+
this.g9_1 = e;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
while (true);
|
|
282
282
|
};
|
|
283
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
284
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
285
|
-
i.
|
|
283
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).c2s = function (value, completion) {
|
|
284
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.s4c_1, this.t4c_1, this.u4c_1, this.v4c_1, completion);
|
|
285
|
+
i.w4c_1 = value;
|
|
286
286
|
return i;
|
|
287
287
|
};
|
|
288
288
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
289
289
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
290
290
|
var l = function (value, $completion) {
|
|
291
|
-
return i.
|
|
291
|
+
return i.b2s(value, $completion);
|
|
292
292
|
};
|
|
293
293
|
l.$arity = 1;
|
|
294
294
|
return l;
|
|
295
295
|
}
|
|
296
296
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
297
297
|
CoroutineImpl.call(this, resultContinuation);
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
298
|
+
this.m4d_1 = _this__u8e3s4;
|
|
299
|
+
this.n4d_1 = collector;
|
|
300
300
|
}
|
|
301
|
-
protoOf($collectCOROUTINE$3).
|
|
302
|
-
var suspendResult = this.
|
|
301
|
+
protoOf($collectCOROUTINE$3).l9 = function () {
|
|
302
|
+
var suspendResult = this.f9_1;
|
|
303
303
|
$sm: do
|
|
304
304
|
try {
|
|
305
|
-
var tmp = this.
|
|
305
|
+
var tmp = this.d9_1;
|
|
306
306
|
switch (tmp) {
|
|
307
307
|
case 0:
|
|
308
|
-
this.
|
|
308
|
+
this.e9_1 = 2;
|
|
309
309
|
var tmp_0 = this;
|
|
310
|
-
tmp_0.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
314
|
-
suspendResult = this.
|
|
310
|
+
tmp_0.o4d_1 = this.n4d_1;
|
|
311
|
+
this.p4d_1 = this.o4d_1;
|
|
312
|
+
this.d9_1 = 1;
|
|
313
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.p4d_1, this.m4d_1.r4d_1, this.m4d_1.s4d_1, this.m4d_1.t4d_1, null);
|
|
314
|
+
suspendResult = this.m4d_1.q4d_1.m14(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
315
315
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
316
316
|
return suspendResult;
|
|
317
317
|
}
|
|
@@ -320,15 +320,15 @@
|
|
|
320
320
|
case 1:
|
|
321
321
|
return Unit_instance;
|
|
322
322
|
case 2:
|
|
323
|
-
throw this.
|
|
323
|
+
throw this.g9_1;
|
|
324
324
|
}
|
|
325
325
|
} catch ($p) {
|
|
326
326
|
var e = $p;
|
|
327
|
-
if (this.
|
|
327
|
+
if (this.e9_1 === 2) {
|
|
328
328
|
throw e;
|
|
329
329
|
} else {
|
|
330
|
-
this.
|
|
331
|
-
this.
|
|
330
|
+
this.d9_1 = this.e9_1;
|
|
331
|
+
this.g9_1 = e;
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
while (true);
|
|
@@ -336,11 +336,11 @@
|
|
|
336
336
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
337
337
|
var tmp;
|
|
338
338
|
if (isInterface(format, StringFormat)) {
|
|
339
|
-
var content = format.
|
|
339
|
+
var content = format.m1n(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
340
340
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
341
341
|
} else {
|
|
342
342
|
if (isInterface(format, BinaryFormat)) {
|
|
343
|
-
var content_0 = format.
|
|
343
|
+
var content_0 = format.p1n(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
344
344
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
345
345
|
} else {
|
|
346
346
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -350,20 +350,20 @@
|
|
|
350
350
|
return tmp;
|
|
351
351
|
}
|
|
352
352
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
353
|
-
this.
|
|
353
|
+
this.u4d_1 = function_0;
|
|
354
354
|
}
|
|
355
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
356
|
-
return this.
|
|
355
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).k14 = function (value, $completion) {
|
|
356
|
+
return this.u4d_1(value, $completion);
|
|
357
357
|
};
|
|
358
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
359
|
-
return this.
|
|
358
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r3 = function () {
|
|
359
|
+
return this.u4d_1;
|
|
360
360
|
};
|
|
361
361
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
362
362
|
var tmp;
|
|
363
363
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
364
364
|
var tmp_0;
|
|
365
365
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
366
|
-
tmp_0 = equals(this.
|
|
366
|
+
tmp_0 = equals(this.r3(), other.r3());
|
|
367
367
|
} else {
|
|
368
368
|
tmp_0 = false;
|
|
369
369
|
}
|
|
@@ -374,23 +374,23 @@
|
|
|
374
374
|
return tmp;
|
|
375
375
|
};
|
|
376
376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
377
|
-
return hashCode(this.
|
|
377
|
+
return hashCode(this.r3());
|
|
378
378
|
};
|
|
379
379
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
380
|
-
this.
|
|
380
|
+
this.v4d_1 = function_0;
|
|
381
381
|
}
|
|
382
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
383
|
-
return this.
|
|
382
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).k14 = function (value, $completion) {
|
|
383
|
+
return this.v4d_1(value, $completion);
|
|
384
384
|
};
|
|
385
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
386
|
-
return this.
|
|
385
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r3 = function () {
|
|
386
|
+
return this.v4d_1;
|
|
387
387
|
};
|
|
388
388
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
389
389
|
var tmp;
|
|
390
390
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
391
391
|
var tmp_0;
|
|
392
392
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
393
|
-
tmp_0 = equals(this.
|
|
393
|
+
tmp_0 = equals(this.r3(), other.r3());
|
|
394
394
|
} else {
|
|
395
395
|
tmp_0 = false;
|
|
396
396
|
}
|
|
@@ -401,46 +401,46 @@
|
|
|
401
401
|
return tmp;
|
|
402
402
|
};
|
|
403
403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
404
|
-
return hashCode(this.
|
|
404
|
+
return hashCode(this.r3());
|
|
405
405
|
};
|
|
406
406
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
407
|
+
this.f4c_1 = $this;
|
|
408
|
+
this.g4c_1 = $contentType;
|
|
409
|
+
this.h4c_1 = $charset;
|
|
410
|
+
this.i4c_1 = $typeInfo;
|
|
411
|
+
this.j4c_1 = $value;
|
|
412
412
|
}
|
|
413
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
413
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).l14 = function (collector, $completion) {
|
|
414
414
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
415
|
-
tmp.
|
|
416
|
-
tmp.
|
|
417
|
-
return tmp.
|
|
415
|
+
tmp.f9_1 = Unit_instance;
|
|
416
|
+
tmp.g9_1 = null;
|
|
417
|
+
return tmp.l9();
|
|
418
418
|
};
|
|
419
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
420
|
-
return this.
|
|
419
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).m14 = function (collector, $completion) {
|
|
420
|
+
return this.l14(collector, $completion);
|
|
421
421
|
};
|
|
422
422
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
423
423
|
CoroutineImpl.call(this, resultContinuation);
|
|
424
424
|
}
|
|
425
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
426
|
-
var tmp = this.
|
|
427
|
-
tmp.
|
|
428
|
-
tmp.
|
|
429
|
-
return tmp.
|
|
425
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).f4e = function (it, $completion) {
|
|
426
|
+
var tmp = this.g4e(it, $completion);
|
|
427
|
+
tmp.f9_1 = Unit_instance;
|
|
428
|
+
tmp.g9_1 = null;
|
|
429
|
+
return tmp.l9();
|
|
430
430
|
};
|
|
431
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
432
|
-
return this.
|
|
431
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).v9 = function (p1, $completion) {
|
|
432
|
+
return this.f4e((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
433
433
|
};
|
|
434
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
435
|
-
var suspendResult = this.
|
|
434
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).l9 = function () {
|
|
435
|
+
var suspendResult = this.f9_1;
|
|
436
436
|
$sm: do
|
|
437
437
|
try {
|
|
438
|
-
var tmp = this.
|
|
438
|
+
var tmp = this.d9_1;
|
|
439
439
|
if (tmp === 0) {
|
|
440
|
-
this.
|
|
441
|
-
return !(this.
|
|
440
|
+
this.e9_1 = 1;
|
|
441
|
+
return !(this.e4e_1 == null);
|
|
442
442
|
} else if (tmp === 1) {
|
|
443
|
-
throw this.
|
|
443
|
+
throw this.g9_1;
|
|
444
444
|
}
|
|
445
445
|
} catch ($p) {
|
|
446
446
|
var e = $p;
|
|
@@ -448,57 +448,57 @@
|
|
|
448
448
|
}
|
|
449
449
|
while (true);
|
|
450
450
|
};
|
|
451
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
451
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).g4e = function (it, completion) {
|
|
452
452
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
453
|
-
i.
|
|
453
|
+
i.e4e_1 = it;
|
|
454
454
|
return i;
|
|
455
455
|
};
|
|
456
456
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
457
457
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
458
458
|
var l = function (it, $completion) {
|
|
459
|
-
return i.
|
|
459
|
+
return i.f4e(it, $completion);
|
|
460
460
|
};
|
|
461
461
|
l.$arity = 1;
|
|
462
462
|
return l;
|
|
463
463
|
}
|
|
464
464
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
465
|
-
this.
|
|
466
|
-
this.
|
|
467
|
-
this.
|
|
468
|
-
this.
|
|
465
|
+
this.q4d_1 = $this;
|
|
466
|
+
this.r4d_1 = $charset;
|
|
467
|
+
this.s4d_1 = $typeInfo;
|
|
468
|
+
this.t4d_1 = $content;
|
|
469
469
|
}
|
|
470
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
470
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).l14 = function (collector, $completion) {
|
|
471
471
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
472
|
-
tmp.
|
|
473
|
-
tmp.
|
|
474
|
-
return tmp.
|
|
472
|
+
tmp.f9_1 = Unit_instance;
|
|
473
|
+
tmp.g9_1 = null;
|
|
474
|
+
return tmp.l9();
|
|
475
475
|
};
|
|
476
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
477
|
-
return this.
|
|
476
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).m14 = function (collector, $completion) {
|
|
477
|
+
return this.l14(collector, $completion);
|
|
478
478
|
};
|
|
479
479
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
480
|
-
this.
|
|
480
|
+
this.p4e_1 = $content;
|
|
481
481
|
CoroutineImpl.call(this, resultContinuation);
|
|
482
482
|
}
|
|
483
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
484
|
-
var tmp = this.
|
|
485
|
-
tmp.
|
|
486
|
-
tmp.
|
|
487
|
-
return tmp.
|
|
483
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).e2t = function (it, $completion) {
|
|
484
|
+
var tmp = this.c2s(it, $completion);
|
|
485
|
+
tmp.f9_1 = Unit_instance;
|
|
486
|
+
tmp.g9_1 = null;
|
|
487
|
+
return tmp.l9();
|
|
488
488
|
};
|
|
489
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
490
|
-
return this.
|
|
489
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).v9 = function (p1, $completion) {
|
|
490
|
+
return this.e2t((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
491
491
|
};
|
|
492
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
493
|
-
var suspendResult = this.
|
|
492
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).l9 = function () {
|
|
493
|
+
var suspendResult = this.f9_1;
|
|
494
494
|
$sm: do
|
|
495
495
|
try {
|
|
496
|
-
var tmp = this.
|
|
496
|
+
var tmp = this.d9_1;
|
|
497
497
|
if (tmp === 0) {
|
|
498
|
-
this.
|
|
499
|
-
return !(this.
|
|
498
|
+
this.e9_1 = 1;
|
|
499
|
+
return !(this.q4e_1 == null) || this.p4e_1.l1g();
|
|
500
500
|
} else if (tmp === 1) {
|
|
501
|
-
throw this.
|
|
501
|
+
throw this.g9_1;
|
|
502
502
|
}
|
|
503
503
|
} catch ($p) {
|
|
504
504
|
var e = $p;
|
|
@@ -506,38 +506,38 @@
|
|
|
506
506
|
}
|
|
507
507
|
while (true);
|
|
508
508
|
};
|
|
509
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
510
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
511
|
-
i.
|
|
509
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).c2s = function (it, completion) {
|
|
510
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.p4e_1, completion);
|
|
511
|
+
i.q4e_1 = it;
|
|
512
512
|
return i;
|
|
513
513
|
};
|
|
514
514
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
515
515
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
516
516
|
var l = function (it, $completion) {
|
|
517
|
-
return i.
|
|
517
|
+
return i.e2t(it, $completion);
|
|
518
518
|
};
|
|
519
519
|
l.$arity = 1;
|
|
520
520
|
return l;
|
|
521
521
|
}
|
|
522
522
|
function $serializeCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
523
523
|
CoroutineImpl.call(this, resultContinuation);
|
|
524
|
-
this.
|
|
525
|
-
this.
|
|
526
|
-
this.
|
|
527
|
-
this.
|
|
528
|
-
this.
|
|
524
|
+
this.z4e_1 = _this__u8e3s4;
|
|
525
|
+
this.a4f_1 = contentType;
|
|
526
|
+
this.b4f_1 = charset;
|
|
527
|
+
this.c4f_1 = typeInfo;
|
|
528
|
+
this.d4f_1 = value;
|
|
529
529
|
}
|
|
530
|
-
protoOf($serializeCOROUTINE$0).
|
|
531
|
-
var suspendResult = this.
|
|
530
|
+
protoOf($serializeCOROUTINE$0).l9 = function () {
|
|
531
|
+
var suspendResult = this.f9_1;
|
|
532
532
|
$sm: do
|
|
533
533
|
try {
|
|
534
|
-
var tmp = this.
|
|
534
|
+
var tmp = this.d9_1;
|
|
535
535
|
switch (tmp) {
|
|
536
536
|
case 0:
|
|
537
|
-
this.
|
|
538
|
-
this.
|
|
539
|
-
var this_0 = asFlow(this.
|
|
540
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
537
|
+
this.e9_1 = 2;
|
|
538
|
+
this.d9_1 = 1;
|
|
539
|
+
var this_0 = asFlow(this.z4e_1.f4f_1);
|
|
540
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.a4f_1, this.b4f_1, this.c4f_1, this.d4f_1);
|
|
541
541
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
542
542
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
543
543
|
return suspendResult;
|
|
@@ -550,12 +550,12 @@
|
|
|
550
550
|
return fromExtension;
|
|
551
551
|
var tmp_1;
|
|
552
552
|
try {
|
|
553
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
553
|
+
tmp_1 = serializerForTypeInfo(this.z4e_1.e4f_1.o1n(), this.c4f_1);
|
|
554
554
|
} catch ($p) {
|
|
555
555
|
var tmp_2;
|
|
556
556
|
if ($p instanceof SerializationException) {
|
|
557
557
|
var cause = $p;
|
|
558
|
-
tmp_2 = guessSerializer(this.
|
|
558
|
+
tmp_2 = guessSerializer(this.d4f_1, this.z4e_1.e4f_1.o1n());
|
|
559
559
|
} else {
|
|
560
560
|
throw $p;
|
|
561
561
|
}
|
|
@@ -563,59 +563,59 @@
|
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
var serializer = tmp_1;
|
|
566
|
-
return serializeContent(this.
|
|
566
|
+
return serializeContent(this.z4e_1, serializer, this.z4e_1.e4f_1, this.d4f_1, this.a4f_1, this.b4f_1);
|
|
567
567
|
case 2:
|
|
568
|
-
throw this.
|
|
568
|
+
throw this.g9_1;
|
|
569
569
|
}
|
|
570
570
|
} catch ($p) {
|
|
571
571
|
var e = $p;
|
|
572
|
-
if (this.
|
|
572
|
+
if (this.e9_1 === 2) {
|
|
573
573
|
throw e;
|
|
574
574
|
} else {
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
575
|
+
this.d9_1 = this.e9_1;
|
|
576
|
+
this.g9_1 = e;
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
while (true);
|
|
580
580
|
};
|
|
581
581
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
582
582
|
CoroutineImpl.call(this, resultContinuation);
|
|
583
|
-
this.
|
|
584
|
-
this.
|
|
585
|
-
this.
|
|
586
|
-
this.
|
|
583
|
+
this.o4f_1 = _this__u8e3s4;
|
|
584
|
+
this.p4f_1 = charset;
|
|
585
|
+
this.q4f_1 = typeInfo;
|
|
586
|
+
this.r4f_1 = content;
|
|
587
587
|
}
|
|
588
|
-
protoOf($deserializeCOROUTINE$1).
|
|
589
|
-
var suspendResult = this.
|
|
588
|
+
protoOf($deserializeCOROUTINE$1).l9 = function () {
|
|
589
|
+
var suspendResult = this.f9_1;
|
|
590
590
|
$sm: do
|
|
591
591
|
try {
|
|
592
|
-
var tmp = this.
|
|
592
|
+
var tmp = this.d9_1;
|
|
593
593
|
switch (tmp) {
|
|
594
594
|
case 0:
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
597
|
-
var this_0 = asFlow(this.
|
|
598
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
599
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
595
|
+
this.e9_1 = 4;
|
|
596
|
+
this.d9_1 = 1;
|
|
597
|
+
var this_0 = asFlow(this.o4f_1.f4f_1);
|
|
598
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.p4f_1, this.q4f_1, this.r4f_1);
|
|
599
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.r4f_1, null), this);
|
|
600
600
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
601
601
|
return suspendResult;
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
continue $sm;
|
|
605
605
|
case 1:
|
|
606
|
-
this.
|
|
606
|
+
this.s4f_1 = suspendResult;
|
|
607
607
|
var tmp_1;
|
|
608
|
-
if (!this.
|
|
609
|
-
tmp_1 = !(this.
|
|
608
|
+
if (!this.o4f_1.f4f_1.h()) {
|
|
609
|
+
tmp_1 = !(this.s4f_1 == null) || this.r4f_1.l1g();
|
|
610
610
|
} else {
|
|
611
611
|
tmp_1 = false;
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
if (tmp_1)
|
|
615
|
-
return this.
|
|
616
|
-
this.
|
|
617
|
-
this.
|
|
618
|
-
suspendResult = readRemaining(this.
|
|
615
|
+
return this.s4f_1;
|
|
616
|
+
this.t4f_1 = serializerForTypeInfo(this.o4f_1.e4f_1.o1n(), this.q4f_1);
|
|
617
|
+
this.d9_1 = 2;
|
|
618
|
+
suspendResult = readRemaining(this.r4f_1, this);
|
|
619
619
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
620
620
|
return suspendResult;
|
|
621
621
|
}
|
|
@@ -623,82 +623,82 @@
|
|
|
623
623
|
continue $sm;
|
|
624
624
|
case 2:
|
|
625
625
|
var contentPacket = suspendResult;
|
|
626
|
-
this.
|
|
627
|
-
var tmp0_subject = this.
|
|
626
|
+
this.e9_1 = 3;
|
|
627
|
+
var tmp0_subject = this.o4f_1.e4f_1;
|
|
628
628
|
var tmp_2;
|
|
629
629
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
630
|
-
tmp_2 = this.
|
|
630
|
+
tmp_2 = this.o4f_1.e4f_1.n1n(this.t4f_1, readText(contentPacket, this.p4f_1));
|
|
631
631
|
} else {
|
|
632
632
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
633
|
-
tmp_2 = this.
|
|
633
|
+
tmp_2 = this.o4f_1.e4f_1.q1n(this.t4f_1, readByteArray(contentPacket));
|
|
634
634
|
} else {
|
|
635
635
|
discard(contentPacket);
|
|
636
|
-
var message = 'Unsupported format ' + toString(this.
|
|
636
|
+
var message = 'Unsupported format ' + toString(this.o4f_1.e4f_1);
|
|
637
637
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
return tmp_2;
|
|
642
642
|
case 3:
|
|
643
|
-
this.
|
|
644
|
-
var tmp_3 = this.
|
|
643
|
+
this.e9_1 = 4;
|
|
644
|
+
var tmp_3 = this.g9_1;
|
|
645
645
|
if (tmp_3 instanceof Error) {
|
|
646
|
-
var cause = this.
|
|
646
|
+
var cause = this.g9_1;
|
|
647
647
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
648
648
|
} else {
|
|
649
|
-
throw this.
|
|
649
|
+
throw this.g9_1;
|
|
650
650
|
}
|
|
651
651
|
|
|
652
652
|
case 4:
|
|
653
|
-
throw this.
|
|
653
|
+
throw this.g9_1;
|
|
654
654
|
}
|
|
655
655
|
} catch ($p) {
|
|
656
656
|
var e = $p;
|
|
657
|
-
if (this.
|
|
657
|
+
if (this.e9_1 === 4) {
|
|
658
658
|
throw e;
|
|
659
659
|
} else {
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
660
|
+
this.d9_1 = this.e9_1;
|
|
661
|
+
this.g9_1 = e;
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
while (true);
|
|
665
665
|
};
|
|
666
666
|
function KotlinxSerializationConverter(format) {
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
667
|
+
this.e4f_1 = format;
|
|
668
|
+
this.f4f_1 = extensions(this.e4f_1);
|
|
669
669
|
var tmp;
|
|
670
|
-
var tmp_0 = this.
|
|
670
|
+
var tmp_0 = this.e4f_1;
|
|
671
671
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
672
672
|
tmp = true;
|
|
673
673
|
} else {
|
|
674
|
-
var tmp_1 = this.
|
|
674
|
+
var tmp_1 = this.e4f_1;
|
|
675
675
|
tmp = isInterface(tmp_1, StringFormat);
|
|
676
676
|
}
|
|
677
677
|
// Inline function 'kotlin.require' call
|
|
678
678
|
if (!tmp) {
|
|
679
679
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
680
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
680
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.e4f_1) + ' is not supported.';
|
|
681
681
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
|
-
protoOf(KotlinxSerializationConverter).
|
|
684
|
+
protoOf(KotlinxSerializationConverter).u4f = function (contentType, charset, typeInfo, value, $completion) {
|
|
685
685
|
var tmp = new $serializeCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
686
|
-
tmp.
|
|
687
|
-
tmp.
|
|
688
|
-
return tmp.
|
|
686
|
+
tmp.f9_1 = Unit_instance;
|
|
687
|
+
tmp.g9_1 = null;
|
|
688
|
+
return tmp.l9();
|
|
689
689
|
};
|
|
690
|
-
protoOf(KotlinxSerializationConverter).
|
|
691
|
-
return this.
|
|
690
|
+
protoOf(KotlinxSerializationConverter).w4a = function (contentType, charset, typeInfo, value, $completion) {
|
|
691
|
+
return this.u4f(contentType, charset, typeInfo, value, $completion);
|
|
692
692
|
};
|
|
693
|
-
protoOf(KotlinxSerializationConverter).
|
|
693
|
+
protoOf(KotlinxSerializationConverter).d2s = function (charset, typeInfo, content, $completion) {
|
|
694
694
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
695
|
-
tmp.
|
|
696
|
-
tmp.
|
|
697
|
-
return tmp.
|
|
695
|
+
tmp.f9_1 = Unit_instance;
|
|
696
|
+
tmp.g9_1 = null;
|
|
697
|
+
return tmp.l9();
|
|
698
698
|
};
|
|
699
699
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
700
700
|
var module_0 = _this__u8e3s4;
|
|
701
|
-
var tmp0_safe_receiver = typeInfo.
|
|
701
|
+
var tmp0_safe_receiver = typeInfo.r2c_1;
|
|
702
702
|
var tmp;
|
|
703
703
|
if (tmp0_safe_receiver == null) {
|
|
704
704
|
tmp = null;
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
// Inline function 'kotlin.let' call
|
|
707
707
|
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
708
708
|
var tmp_0;
|
|
709
|
-
if (tmp0_safe_receiver.
|
|
709
|
+
if (tmp0_safe_receiver.tb().h()) {
|
|
710
710
|
tmp_0 = null;
|
|
711
711
|
} else {
|
|
712
712
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -716,13 +716,13 @@
|
|
|
716
716
|
var tmp1_elvis_lhs = tmp;
|
|
717
717
|
var tmp_1;
|
|
718
718
|
if (tmp1_elvis_lhs == null) {
|
|
719
|
-
var tmp2_safe_receiver = module_0.
|
|
719
|
+
var tmp2_safe_receiver = module_0.t1n(typeInfo.q2c_1);
|
|
720
720
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
721
721
|
} else {
|
|
722
722
|
tmp_1 = tmp1_elvis_lhs;
|
|
723
723
|
}
|
|
724
724
|
var tmp3_elvis_lhs = tmp_1;
|
|
725
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
725
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.q2c_1), typeInfo) : tmp3_elvis_lhs;
|
|
726
726
|
}
|
|
727
727
|
function guessSerializer(value, module_0) {
|
|
728
728
|
var tmp;
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
var valueSerializer = elementSerializer(value.m2(), module_0);
|
|
754
754
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
755
755
|
} else {
|
|
756
|
-
var tmp3_elvis_lhs = module_0.
|
|
756
|
+
var tmp3_elvis_lhs = module_0.t1n(getKClassFromExpression(value));
|
|
757
757
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
@@ -765,8 +765,8 @@
|
|
|
765
765
|
}
|
|
766
766
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
767
767
|
var tmp;
|
|
768
|
-
var tmp0_safe_receiver = typeInfo.
|
|
769
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
768
|
+
var tmp0_safe_receiver = typeInfo.r2c_1;
|
|
769
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ub()) === true) {
|
|
770
770
|
tmp = get_nullable(_this__u8e3s4);
|
|
771
771
|
} else {
|
|
772
772
|
tmp = _this__u8e3s4;
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
while (_iterator__ex2g4s_0.q()) {
|
|
793
793
|
var e = _iterator__ex2g4s_0.r();
|
|
794
794
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
795
|
-
var key = e.
|
|
795
|
+
var key = e.j1m().k1n();
|
|
796
796
|
if (set.k(key)) {
|
|
797
797
|
list.k(e);
|
|
798
798
|
}
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
while (_iterator__ex2g4s_1.q()) {
|
|
807
807
|
var item_0 = _iterator__ex2g4s_1.r();
|
|
808
808
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
809
|
-
var tmp$ret$5 = item_0.
|
|
809
|
+
var tmp$ret$5 = item_0.j1m().k1n();
|
|
810
810
|
destination_0.k(tmp$ret$5);
|
|
811
811
|
}
|
|
812
812
|
// Inline function 'kotlin.error' call
|
|
@@ -815,7 +815,7 @@
|
|
|
815
815
|
}
|
|
816
816
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
817
817
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
818
|
-
if (selected.
|
|
818
|
+
if (selected.j1m().x1n()) {
|
|
819
819
|
return selected;
|
|
820
820
|
}
|
|
821
821
|
if (!isInterface(selected, KSerializer))
|