@doordeck/doordeck-headless-sdk 0.204.0 → 0.206.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 +58 -58
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.d.ts +21 -2
- package/kotlin/doordeck-sdk.js +12895 -12809
- package/kotlin/kotlin-kotlin-stdlib.js +1727 -1595
- package/kotlin/kotlinx-atomicfu.js +18 -18
- package/kotlin/kotlinx-coroutines-core.js +2092 -2114
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +48 -48
- package/kotlin/kotlinx-io-kotlinx-io-core.js +476 -476
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1917 -1916
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1498 -1501
- package/kotlin/ktor-ktor-client-auth.js +284 -299
- package/kotlin/ktor-ktor-client-content-negotiation.js +160 -165
- package/kotlin/ktor-ktor-client-core.js +2380 -2491
- package/kotlin/ktor-ktor-client-logging.js +694 -719
- package/kotlin/ktor-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-http-cio.js +381 -386
- package/kotlin/ktor-ktor-http.js +809 -808
- package/kotlin/ktor-ktor-io.js +702 -704
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +166 -173
- package/kotlin/ktor-ktor-serialization.js +76 -79
- package/kotlin/ktor-ktor-utils.js +927 -947
- package/kotlin/ktor-ktor-websockets.js +449 -464
- package/package.json +1 -1
|
@@ -1,64 +1,65 @@
|
|
|
1
1
|
(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) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
5
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
4
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j3;
|
|
5
|
+
var Unit_instance = kotlin_kotlin.$_$.z2;
|
|
6
6
|
var CoroutineImpl = kotlin_kotlin.$_$.s9;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.hc;
|
|
8
8
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.b9;
|
|
9
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
9
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.pb;
|
|
10
10
|
var VOID = kotlin_kotlin.$_$.c;
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
11
|
+
var constructCallableReference = kotlin_kotlin.$_$.ab;
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.mb;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.kc;
|
|
14
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s4;
|
|
15
|
+
var THROW_CCE = kotlin_kotlin.$_$.jg;
|
|
15
16
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
16
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
17
|
+
var isInterface = kotlin_kotlin.$_$.zb;
|
|
17
18
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
|
|
18
19
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
19
20
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.a2;
|
|
20
21
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.x;
|
|
21
22
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
23
|
+
var equals = kotlin_kotlin.$_$.cb;
|
|
23
24
|
var FunctionAdapter = kotlin_kotlin.$_$.oa;
|
|
24
25
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
25
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
26
|
+
var hashCode = kotlin_kotlin.$_$.jb;
|
|
27
|
+
var initMetadataForClass = kotlin_kotlin.$_$.kb;
|
|
27
28
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
28
29
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
29
|
-
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
30
|
+
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
30
31
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
31
|
-
var readRemaining = kotlin_io_ktor_ktor_io.$_$.
|
|
32
|
+
var readRemaining = kotlin_io_ktor_ktor_io.$_$.k;
|
|
32
33
|
var discard = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
33
34
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
34
35
|
var readText = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
35
36
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
36
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
37
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o4;
|
|
37
38
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
38
39
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x2;
|
|
39
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
40
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.zc;
|
|
40
41
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
41
42
|
var KtMap = kotlin_kotlin.$_$.q5;
|
|
42
43
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
43
44
|
var KtSet = kotlin_kotlin.$_$.w5;
|
|
44
45
|
var firstOrNull_0 = kotlin_kotlin.$_$.d7;
|
|
45
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
46
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.l2;
|
|
46
47
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
47
48
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
48
|
-
var isArray = kotlin_kotlin.$_$.
|
|
49
|
+
var isArray = kotlin_kotlin.$_$.rb;
|
|
49
50
|
var KtList = kotlin_kotlin.$_$.n5;
|
|
50
51
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
51
|
-
var Exception = kotlin_kotlin.$_$.
|
|
52
|
+
var Exception = kotlin_kotlin.$_$.cg;
|
|
52
53
|
var joinToString = kotlin_kotlin.$_$.m7;
|
|
53
|
-
var to = kotlin_kotlin.$_$.
|
|
54
|
+
var to = kotlin_kotlin.$_$.nh;
|
|
54
55
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
55
56
|
var filterNotNull = kotlin_kotlin.$_$.b7;
|
|
56
57
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
|
|
57
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
58
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
58
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i3;
|
|
59
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.p3;
|
|
59
60
|
var singleOrNull = kotlin_kotlin.$_$.g8;
|
|
60
61
|
var Collection = kotlin_kotlin.$_$.i5;
|
|
61
|
-
var KClass = kotlin_kotlin.$_$.
|
|
62
|
+
var KClass = kotlin_kotlin.$_$.cd;
|
|
62
63
|
var emptyList = kotlin_kotlin.$_$.w6;
|
|
63
64
|
//endregion
|
|
64
65
|
//region block: pre-declaration
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
var _iterator__ex2g4s = tmp0.t();
|
|
86
87
|
while (_iterator__ex2g4s.u()) {
|
|
87
88
|
var element = _iterator__ex2g4s.v();
|
|
88
|
-
var tmp0_safe_receiver = element.
|
|
89
|
+
var tmp0_safe_receiver = element.g63(format);
|
|
89
90
|
if (tmp0_safe_receiver == null)
|
|
90
91
|
null;
|
|
91
92
|
else {
|
|
@@ -96,24 +97,24 @@
|
|
|
96
97
|
return destination;
|
|
97
98
|
}
|
|
98
99
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
99
|
-
_this__u8e3s4.
|
|
100
|
+
_this__u8e3s4.r3n(contentType, new KotlinxSerializationConverter(format));
|
|
100
101
|
}
|
|
101
102
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
103
|
+
this.p63_1 = $$this$unsafeFlow;
|
|
104
|
+
this.q63_1 = $contentType;
|
|
105
|
+
this.r63_1 = $charset;
|
|
106
|
+
this.s63_1 = $typeInfo;
|
|
107
|
+
this.t63_1 = $value;
|
|
107
108
|
CoroutineImpl.call(this, resultContinuation);
|
|
108
109
|
}
|
|
109
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
110
|
-
var tmp = this.
|
|
110
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).h3o = function (value, $completion) {
|
|
111
|
+
var tmp = this.i3o(value, $completion);
|
|
111
112
|
tmp.f9_1 = Unit_instance;
|
|
112
113
|
tmp.g9_1 = null;
|
|
113
114
|
return tmp.l9();
|
|
114
115
|
};
|
|
115
116
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
116
|
-
return this.
|
|
117
|
+
return this.h3o(p1, $completion);
|
|
117
118
|
};
|
|
118
119
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l9 = function () {
|
|
119
120
|
var suspendResult = this.f9_1;
|
|
@@ -123,11 +124,11 @@
|
|
|
123
124
|
switch (tmp) {
|
|
124
125
|
case 0:
|
|
125
126
|
this.e9_1 = 3;
|
|
126
|
-
var tmp0 = this.
|
|
127
|
-
var tmp2 = this.
|
|
128
|
-
this.
|
|
127
|
+
var tmp0 = this.p63_1;
|
|
128
|
+
var tmp2 = this.u63_1;
|
|
129
|
+
this.v63_1 = tmp0;
|
|
129
130
|
this.d9_1 = 1;
|
|
130
|
-
suspendResult = tmp2.
|
|
131
|
+
suspendResult = tmp2.l5r(this.q63_1, this.r63_1, this.s63_1, this.t63_1, this);
|
|
131
132
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
132
133
|
return suspendResult;
|
|
133
134
|
}
|
|
@@ -136,7 +137,7 @@
|
|
|
136
137
|
case 1:
|
|
137
138
|
var ARGUMENT = suspendResult;
|
|
138
139
|
this.d9_1 = 2;
|
|
139
|
-
suspendResult = this.
|
|
140
|
+
suspendResult = this.v63_1.y1e(ARGUMENT, this);
|
|
140
141
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
141
142
|
return suspendResult;
|
|
142
143
|
}
|
|
@@ -158,23 +159,21 @@
|
|
|
158
159
|
}
|
|
159
160
|
while (true);
|
|
160
161
|
};
|
|
161
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
162
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
163
|
-
i.
|
|
162
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).i3o = function (value, completion) {
|
|
163
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.p63_1, this.q63_1, this.r63_1, this.s63_1, this.t63_1, completion);
|
|
164
|
+
i.u63_1 = value;
|
|
164
165
|
return i;
|
|
165
166
|
};
|
|
166
167
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
167
168
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
168
|
-
|
|
169
|
-
return i.
|
|
170
|
-
};
|
|
171
|
-
l.$arity = 1;
|
|
172
|
-
return l;
|
|
169
|
+
return constructCallableReference(function (value, $completion) {
|
|
170
|
+
return i.h3o(value, $completion);
|
|
171
|
+
}, 1);
|
|
173
172
|
}
|
|
174
173
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
175
174
|
CoroutineImpl.call(this, resultContinuation);
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
175
|
+
this.e64_1 = _this__u8e3s4;
|
|
176
|
+
this.f64_1 = collector;
|
|
178
177
|
}
|
|
179
178
|
protoOf($collectCOROUTINE$).l9 = function () {
|
|
180
179
|
var suspendResult = this.f9_1;
|
|
@@ -184,10 +183,10 @@
|
|
|
184
183
|
switch (tmp) {
|
|
185
184
|
case 0:
|
|
186
185
|
this.e9_1 = 2;
|
|
187
|
-
var $this$unsafeFlow = this.
|
|
186
|
+
var $this$unsafeFlow = this.f64_1;
|
|
188
187
|
this.d9_1 = 1;
|
|
189
|
-
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
190
|
-
suspendResult = this.
|
|
188
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.e64_1.h64_1, this.e64_1.i64_1, this.e64_1.j64_1, this.e64_1.k64_1, null);
|
|
189
|
+
suspendResult = this.e64_1.g64_1.a1f(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
191
190
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
192
191
|
return suspendResult;
|
|
193
192
|
}
|
|
@@ -210,20 +209,20 @@
|
|
|
210
209
|
while (true);
|
|
211
210
|
};
|
|
212
211
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
213
|
-
this.
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
212
|
+
this.t64_1 = $$this$unsafeFlow;
|
|
213
|
+
this.u64_1 = $charset;
|
|
214
|
+
this.v64_1 = $typeInfo;
|
|
215
|
+
this.w64_1 = $content;
|
|
217
216
|
CoroutineImpl.call(this, resultContinuation);
|
|
218
217
|
}
|
|
219
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
220
|
-
var tmp = this.
|
|
218
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h3o = function (value, $completion) {
|
|
219
|
+
var tmp = this.i3o(value, $completion);
|
|
221
220
|
tmp.f9_1 = Unit_instance;
|
|
222
221
|
tmp.g9_1 = null;
|
|
223
222
|
return tmp.l9();
|
|
224
223
|
};
|
|
225
224
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
226
|
-
return this.
|
|
225
|
+
return this.h3o(p1, $completion);
|
|
227
226
|
};
|
|
228
227
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l9 = function () {
|
|
229
228
|
var suspendResult = this.f9_1;
|
|
@@ -233,11 +232,11 @@
|
|
|
233
232
|
switch (tmp) {
|
|
234
233
|
case 0:
|
|
235
234
|
this.e9_1 = 3;
|
|
236
|
-
var tmp0 = this.
|
|
237
|
-
var tmp2 = this.
|
|
238
|
-
this.
|
|
235
|
+
var tmp0 = this.t64_1;
|
|
236
|
+
var tmp2 = this.x64_1;
|
|
237
|
+
this.y64_1 = tmp0;
|
|
239
238
|
this.d9_1 = 1;
|
|
240
|
-
suspendResult = tmp2.
|
|
239
|
+
suspendResult = tmp2.j3o(this.u64_1, this.v64_1, this.w64_1, this);
|
|
241
240
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
242
241
|
return suspendResult;
|
|
243
242
|
}
|
|
@@ -246,7 +245,7 @@
|
|
|
246
245
|
case 1:
|
|
247
246
|
var ARGUMENT = suspendResult;
|
|
248
247
|
this.d9_1 = 2;
|
|
249
|
-
suspendResult = this.
|
|
248
|
+
suspendResult = this.y64_1.y1e(ARGUMENT, this);
|
|
250
249
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
251
250
|
return suspendResult;
|
|
252
251
|
}
|
|
@@ -268,23 +267,21 @@
|
|
|
268
267
|
}
|
|
269
268
|
while (true);
|
|
270
269
|
};
|
|
271
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
272
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
273
|
-
i.
|
|
270
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i3o = function (value, completion) {
|
|
271
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.t64_1, this.u64_1, this.v64_1, this.w64_1, completion);
|
|
272
|
+
i.x64_1 = value;
|
|
274
273
|
return i;
|
|
275
274
|
};
|
|
276
275
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
277
276
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
278
|
-
|
|
279
|
-
return i.
|
|
280
|
-
};
|
|
281
|
-
l.$arity = 1;
|
|
282
|
-
return l;
|
|
277
|
+
return constructCallableReference(function (value, $completion) {
|
|
278
|
+
return i.h3o(value, $completion);
|
|
279
|
+
}, 1);
|
|
283
280
|
}
|
|
284
281
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
285
282
|
CoroutineImpl.call(this, resultContinuation);
|
|
286
|
-
this.
|
|
287
|
-
this.
|
|
283
|
+
this.h65_1 = _this__u8e3s4;
|
|
284
|
+
this.i65_1 = collector;
|
|
288
285
|
}
|
|
289
286
|
protoOf($collectCOROUTINE$_0).l9 = function () {
|
|
290
287
|
var suspendResult = this.f9_1;
|
|
@@ -294,10 +291,10 @@
|
|
|
294
291
|
switch (tmp) {
|
|
295
292
|
case 0:
|
|
296
293
|
this.e9_1 = 2;
|
|
297
|
-
var $this$unsafeFlow = this.
|
|
294
|
+
var $this$unsafeFlow = this.i65_1;
|
|
298
295
|
this.d9_1 = 1;
|
|
299
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
300
|
-
suspendResult = this.
|
|
296
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.h65_1.k65_1, this.h65_1.l65_1, this.h65_1.m65_1, null);
|
|
297
|
+
suspendResult = this.h65_1.j65_1.a1f(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
301
298
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
302
299
|
return suspendResult;
|
|
303
300
|
}
|
|
@@ -322,11 +319,11 @@
|
|
|
322
319
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
323
320
|
var tmp;
|
|
324
321
|
if (isInterface(format, StringFormat)) {
|
|
325
|
-
var content = format.
|
|
322
|
+
var content = format.i21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
326
323
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
327
324
|
} else {
|
|
328
325
|
if (isInterface(format, BinaryFormat)) {
|
|
329
|
-
var content_0 = format.
|
|
326
|
+
var content_0 = format.k21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
330
327
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
331
328
|
} else {
|
|
332
329
|
// Inline function 'kotlin.error' call
|
|
@@ -337,13 +334,13 @@
|
|
|
337
334
|
return tmp;
|
|
338
335
|
}
|
|
339
336
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
340
|
-
this.
|
|
337
|
+
this.n65_1 = function_0;
|
|
341
338
|
}
|
|
342
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
343
|
-
return this.
|
|
339
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).y1e = function (value, $completion) {
|
|
340
|
+
return this.n65_1(value, $completion);
|
|
344
341
|
};
|
|
345
342
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
346
|
-
return this.
|
|
343
|
+
return this.n65_1;
|
|
347
344
|
};
|
|
348
345
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
349
346
|
var tmp;
|
|
@@ -364,13 +361,13 @@
|
|
|
364
361
|
return hashCode(this.q3());
|
|
365
362
|
};
|
|
366
363
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
367
|
-
this.
|
|
364
|
+
this.o65_1 = function_0;
|
|
368
365
|
}
|
|
369
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
370
|
-
return this.
|
|
366
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).y1e = function (value, $completion) {
|
|
367
|
+
return this.o65_1(value, $completion);
|
|
371
368
|
};
|
|
372
369
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
|
|
373
|
-
return this.
|
|
370
|
+
return this.o65_1;
|
|
374
371
|
};
|
|
375
372
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
376
373
|
var tmp;
|
|
@@ -391,32 +388,32 @@
|
|
|
391
388
|
return hashCode(this.q3());
|
|
392
389
|
};
|
|
393
390
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
391
|
+
this.g64_1 = $this;
|
|
392
|
+
this.h64_1 = $contentType;
|
|
393
|
+
this.i64_1 = $charset;
|
|
394
|
+
this.j64_1 = $typeInfo;
|
|
395
|
+
this.k64_1 = $value;
|
|
399
396
|
}
|
|
400
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
397
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).z1e = function (collector, $completion) {
|
|
401
398
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
402
399
|
tmp.f9_1 = Unit_instance;
|
|
403
400
|
tmp.g9_1 = null;
|
|
404
401
|
return tmp.l9();
|
|
405
402
|
};
|
|
406
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
407
|
-
return this.
|
|
403
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).a1f = function (collector, $completion) {
|
|
404
|
+
return this.z1e(collector, $completion);
|
|
408
405
|
};
|
|
409
406
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
410
407
|
CoroutineImpl.call(this, resultContinuation);
|
|
411
408
|
}
|
|
412
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
413
|
-
var tmp = this.
|
|
409
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).y65 = function (it, $completion) {
|
|
410
|
+
var tmp = this.z65(it, $completion);
|
|
414
411
|
tmp.f9_1 = Unit_instance;
|
|
415
412
|
tmp.g9_1 = null;
|
|
416
413
|
return tmp.l9();
|
|
417
414
|
};
|
|
418
415
|
protoOf(KotlinxSerializationConverter$serialize$slambda).y9 = function (p1, $completion) {
|
|
419
|
-
return this.
|
|
416
|
+
return this.y65((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
420
417
|
};
|
|
421
418
|
protoOf(KotlinxSerializationConverter$serialize$slambda).l9 = function () {
|
|
422
419
|
var suspendResult = this.f9_1;
|
|
@@ -425,7 +422,7 @@
|
|
|
425
422
|
var tmp = this.d9_1;
|
|
426
423
|
if (tmp === 0) {
|
|
427
424
|
this.e9_1 = 1;
|
|
428
|
-
return !(this.
|
|
425
|
+
return !(this.x65_1 == null);
|
|
429
426
|
} else if (tmp === 1) {
|
|
430
427
|
throw this.g9_1;
|
|
431
428
|
}
|
|
@@ -435,46 +432,44 @@
|
|
|
435
432
|
}
|
|
436
433
|
while (true);
|
|
437
434
|
};
|
|
438
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
435
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).z65 = function (it, completion) {
|
|
439
436
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
440
|
-
i.
|
|
437
|
+
i.x65_1 = it;
|
|
441
438
|
return i;
|
|
442
439
|
};
|
|
443
440
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
444
441
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
445
|
-
|
|
446
|
-
return i.
|
|
447
|
-
};
|
|
448
|
-
l.$arity = 1;
|
|
449
|
-
return l;
|
|
442
|
+
return constructCallableReference(function (it, $completion) {
|
|
443
|
+
return i.y65(it, $completion);
|
|
444
|
+
}, 1);
|
|
450
445
|
}
|
|
451
446
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
452
|
-
this.
|
|
453
|
-
this.
|
|
454
|
-
this.
|
|
455
|
-
this.
|
|
447
|
+
this.j65_1 = $this;
|
|
448
|
+
this.k65_1 = $charset;
|
|
449
|
+
this.l65_1 = $typeInfo;
|
|
450
|
+
this.m65_1 = $content;
|
|
456
451
|
}
|
|
457
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
452
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).z1e = function (collector, $completion) {
|
|
458
453
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
459
454
|
tmp.f9_1 = Unit_instance;
|
|
460
455
|
tmp.g9_1 = null;
|
|
461
456
|
return tmp.l9();
|
|
462
457
|
};
|
|
463
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
464
|
-
return this.
|
|
458
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).a1f = function (collector, $completion) {
|
|
459
|
+
return this.z1e(collector, $completion);
|
|
465
460
|
};
|
|
466
461
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
467
|
-
this.
|
|
462
|
+
this.i66_1 = $content;
|
|
468
463
|
CoroutineImpl.call(this, resultContinuation);
|
|
469
464
|
}
|
|
470
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
471
|
-
var tmp = this.
|
|
465
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).i3p = function (it, $completion) {
|
|
466
|
+
var tmp = this.i3o(it, $completion);
|
|
472
467
|
tmp.f9_1 = Unit_instance;
|
|
473
468
|
tmp.g9_1 = null;
|
|
474
469
|
return tmp.l9();
|
|
475
470
|
};
|
|
476
471
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).y9 = function (p1, $completion) {
|
|
477
|
-
return this.
|
|
472
|
+
return this.i3p(p1, $completion);
|
|
478
473
|
};
|
|
479
474
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).l9 = function () {
|
|
480
475
|
var suspendResult = this.f9_1;
|
|
@@ -483,7 +478,7 @@
|
|
|
483
478
|
var tmp = this.d9_1;
|
|
484
479
|
if (tmp === 0) {
|
|
485
480
|
this.e9_1 = 1;
|
|
486
|
-
return !(this.
|
|
481
|
+
return !(this.j66_1 == null) || this.i66_1.b1p();
|
|
487
482
|
} else if (tmp === 1) {
|
|
488
483
|
throw this.g9_1;
|
|
489
484
|
}
|
|
@@ -493,26 +488,24 @@
|
|
|
493
488
|
}
|
|
494
489
|
while (true);
|
|
495
490
|
};
|
|
496
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
497
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
498
|
-
i.
|
|
491
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).i3o = function (it, completion) {
|
|
492
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.i66_1, completion);
|
|
493
|
+
i.j66_1 = it;
|
|
499
494
|
return i;
|
|
500
495
|
};
|
|
501
496
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
502
497
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
503
|
-
|
|
504
|
-
return i.
|
|
505
|
-
};
|
|
506
|
-
l.$arity = 1;
|
|
507
|
-
return l;
|
|
498
|
+
return constructCallableReference(function (it, $completion) {
|
|
499
|
+
return i.i3p(it, $completion);
|
|
500
|
+
}, 1);
|
|
508
501
|
}
|
|
509
502
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
510
503
|
CoroutineImpl.call(this, resultContinuation);
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
513
|
-
this.
|
|
514
|
-
this.
|
|
515
|
-
this.
|
|
504
|
+
this.s66_1 = _this__u8e3s4;
|
|
505
|
+
this.t66_1 = contentType;
|
|
506
|
+
this.u66_1 = charset;
|
|
507
|
+
this.v66_1 = typeInfo;
|
|
508
|
+
this.w66_1 = value;
|
|
516
509
|
}
|
|
517
510
|
protoOf($serializeCOROUTINE$).l9 = function () {
|
|
518
511
|
var suspendResult = this.f9_1;
|
|
@@ -523,8 +516,8 @@
|
|
|
523
516
|
case 0:
|
|
524
517
|
this.e9_1 = 2;
|
|
525
518
|
this.d9_1 = 1;
|
|
526
|
-
var this_0 = asFlow(this.
|
|
527
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
519
|
+
var this_0 = asFlow(this.s66_1.y66_1);
|
|
520
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.t66_1, this.u66_1, this.v66_1, this.w66_1);
|
|
528
521
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
529
522
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
530
523
|
return suspendResult;
|
|
@@ -537,12 +530,12 @@
|
|
|
537
530
|
return fromExtension;
|
|
538
531
|
var tmp_1;
|
|
539
532
|
try {
|
|
540
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
533
|
+
tmp_1 = serializerForTypeInfo(this.s66_1.x66_1.j24(), this.v66_1);
|
|
541
534
|
} catch ($p) {
|
|
542
535
|
var tmp_2;
|
|
543
536
|
if ($p instanceof SerializationException) {
|
|
544
537
|
var cause = $p;
|
|
545
|
-
tmp_2 = guessSerializer(this.
|
|
538
|
+
tmp_2 = guessSerializer(this.w66_1, this.s66_1.x66_1.j24());
|
|
546
539
|
} else {
|
|
547
540
|
throw $p;
|
|
548
541
|
}
|
|
@@ -550,12 +543,12 @@
|
|
|
550
543
|
}
|
|
551
544
|
|
|
552
545
|
var serializer = tmp_1;
|
|
553
|
-
return serializeContent(this.
|
|
546
|
+
return serializeContent(this.s66_1, serializer, this.s66_1.x66_1, this.w66_1, this.t66_1, this.u66_1);
|
|
554
547
|
case 2:
|
|
555
548
|
throw this.g9_1;
|
|
556
549
|
}
|
|
557
|
-
} catch ($
|
|
558
|
-
var e = $
|
|
550
|
+
} catch ($p_0) {
|
|
551
|
+
var e = $p_0;
|
|
559
552
|
if (this.e9_1 === 2) {
|
|
560
553
|
throw e;
|
|
561
554
|
} else {
|
|
@@ -567,10 +560,10 @@
|
|
|
567
560
|
};
|
|
568
561
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
569
562
|
CoroutineImpl.call(this, resultContinuation);
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
563
|
+
this.h67_1 = _this__u8e3s4;
|
|
564
|
+
this.i67_1 = charset;
|
|
565
|
+
this.j67_1 = typeInfo;
|
|
566
|
+
this.k67_1 = content;
|
|
574
567
|
}
|
|
575
568
|
protoOf($deserializeCOROUTINE$).l9 = function () {
|
|
576
569
|
var suspendResult = this.f9_1;
|
|
@@ -581,9 +574,9 @@
|
|
|
581
574
|
case 0:
|
|
582
575
|
this.e9_1 = 4;
|
|
583
576
|
this.d9_1 = 1;
|
|
584
|
-
var this_0 = asFlow(this.
|
|
585
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
586
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
577
|
+
var this_0 = asFlow(this.h67_1.y66_1);
|
|
578
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.i67_1, this.j67_1, this.k67_1);
|
|
579
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.k67_1, null), this);
|
|
587
580
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
588
581
|
return suspendResult;
|
|
589
582
|
}
|
|
@@ -592,17 +585,17 @@
|
|
|
592
585
|
case 1:
|
|
593
586
|
var fromExtension = suspendResult;
|
|
594
587
|
var tmp_1;
|
|
595
|
-
if (!this.
|
|
596
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
588
|
+
if (!this.h67_1.y66_1.r()) {
|
|
589
|
+
tmp_1 = !(fromExtension == null) || this.k67_1.b1p();
|
|
597
590
|
} else {
|
|
598
591
|
tmp_1 = false;
|
|
599
592
|
}
|
|
600
593
|
|
|
601
594
|
if (tmp_1)
|
|
602
595
|
return fromExtension;
|
|
603
|
-
this.
|
|
596
|
+
this.l67_1 = serializerForTypeInfo(this.h67_1.x66_1.j24(), this.j67_1);
|
|
604
597
|
this.d9_1 = 2;
|
|
605
|
-
suspendResult = readRemaining(this.
|
|
598
|
+
suspendResult = readRemaining(this.k67_1, this);
|
|
606
599
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
607
600
|
return suspendResult;
|
|
608
601
|
}
|
|
@@ -611,16 +604,16 @@
|
|
|
611
604
|
case 2:
|
|
612
605
|
var contentPacket = suspendResult;
|
|
613
606
|
this.e9_1 = 3;
|
|
614
|
-
var tmp0_subject = this.x66_1
|
|
607
|
+
var tmp0_subject = this.h67_1.x66_1;
|
|
615
608
|
var tmp_2;
|
|
616
609
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
617
|
-
tmp_2 = this.x66_1.
|
|
610
|
+
tmp_2 = this.h67_1.x66_1.j21(this.l67_1, readText(contentPacket, this.i67_1));
|
|
618
611
|
} else {
|
|
619
612
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
620
|
-
tmp_2 = this.x66_1.
|
|
613
|
+
tmp_2 = this.h67_1.x66_1.l21(this.l67_1, readByteArray(contentPacket));
|
|
621
614
|
} else {
|
|
622
615
|
discard(contentPacket);
|
|
623
|
-
var message = 'Unsupported format ' + toString(this.x66_1
|
|
616
|
+
var message = 'Unsupported format ' + toString(this.h67_1.x66_1);
|
|
624
617
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
625
618
|
}
|
|
626
619
|
}
|
|
@@ -651,32 +644,32 @@
|
|
|
651
644
|
while (true);
|
|
652
645
|
};
|
|
653
646
|
function KotlinxSerializationConverter(format) {
|
|
654
|
-
this.
|
|
655
|
-
this.
|
|
647
|
+
this.x66_1 = format;
|
|
648
|
+
this.y66_1 = extensions(this.x66_1);
|
|
656
649
|
var tmp;
|
|
657
|
-
var tmp_0 = this.
|
|
650
|
+
var tmp_0 = this.x66_1;
|
|
658
651
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
659
652
|
tmp = true;
|
|
660
653
|
} else {
|
|
661
|
-
var tmp_1 = this.
|
|
654
|
+
var tmp_1 = this.x66_1;
|
|
662
655
|
tmp = isInterface(tmp_1, StringFormat);
|
|
663
656
|
}
|
|
664
657
|
// Inline function 'kotlin.require' call
|
|
665
658
|
if (!tmp) {
|
|
666
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
659
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.x66_1) + ' is not supported.';
|
|
667
660
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
668
661
|
}
|
|
669
662
|
}
|
|
670
|
-
protoOf(KotlinxSerializationConverter).
|
|
663
|
+
protoOf(KotlinxSerializationConverter).m67 = function (contentType, charset, typeInfo, value, $completion) {
|
|
671
664
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
672
665
|
tmp.f9_1 = Unit_instance;
|
|
673
666
|
tmp.g9_1 = null;
|
|
674
667
|
return tmp.l9();
|
|
675
668
|
};
|
|
676
|
-
protoOf(KotlinxSerializationConverter).
|
|
677
|
-
return this.
|
|
669
|
+
protoOf(KotlinxSerializationConverter).l5r = function (contentType, charset, typeInfo, value, $completion) {
|
|
670
|
+
return this.m67(contentType, charset, typeInfo, value, $completion);
|
|
678
671
|
};
|
|
679
|
-
protoOf(KotlinxSerializationConverter).
|
|
672
|
+
protoOf(KotlinxSerializationConverter).j3o = function (charset, typeInfo, content, $completion) {
|
|
680
673
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
681
674
|
tmp.f9_1 = Unit_instance;
|
|
682
675
|
tmp.g9_1 = null;
|
|
@@ -684,7 +677,7 @@
|
|
|
684
677
|
};
|
|
685
678
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
686
679
|
var module_0 = _this__u8e3s4;
|
|
687
|
-
var tmp0_safe_receiver = typeInfo.
|
|
680
|
+
var tmp0_safe_receiver = typeInfo.w2t_1;
|
|
688
681
|
var tmp;
|
|
689
682
|
if (tmp0_safe_receiver == null) {
|
|
690
683
|
tmp = null;
|
|
@@ -702,13 +695,13 @@
|
|
|
702
695
|
var tmp1_elvis_lhs = tmp;
|
|
703
696
|
var tmp_1;
|
|
704
697
|
if (tmp1_elvis_lhs == null) {
|
|
705
|
-
var tmp2_safe_receiver = module_0.
|
|
698
|
+
var tmp2_safe_receiver = module_0.q21(typeInfo.v2t_1);
|
|
706
699
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
707
700
|
} else {
|
|
708
701
|
tmp_1 = tmp1_elvis_lhs;
|
|
709
702
|
}
|
|
710
703
|
var tmp3_elvis_lhs = tmp_1;
|
|
711
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
704
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.v2t_1), typeInfo) : tmp3_elvis_lhs;
|
|
712
705
|
}
|
|
713
706
|
function guessSerializer(value, module_0) {
|
|
714
707
|
var tmp;
|
|
@@ -738,7 +731,7 @@
|
|
|
738
731
|
var valueSerializer = elementSerializer(value.c3(), module_0);
|
|
739
732
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
740
733
|
} else {
|
|
741
|
-
var tmp3_elvis_lhs = module_0.
|
|
734
|
+
var tmp3_elvis_lhs = module_0.q21(getKClassFromExpression(value));
|
|
742
735
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
743
736
|
}
|
|
744
737
|
}
|
|
@@ -759,7 +752,7 @@
|
|
|
759
752
|
var element = _iterator__ex2g4s.v();
|
|
760
753
|
var tmp;
|
|
761
754
|
try {
|
|
762
|
-
var tmp0_safe_receiver = element.
|
|
755
|
+
var tmp0_safe_receiver = element.gk_1;
|
|
763
756
|
var tmp_0;
|
|
764
757
|
if (tmp0_safe_receiver == null) {
|
|
765
758
|
tmp_0 = null;
|
|
@@ -801,13 +794,13 @@
|
|
|
801
794
|
tmp_3 = to('s', 'are');
|
|
802
795
|
}
|
|
803
796
|
var _destruct__k2r9zo = tmp_3;
|
|
804
|
-
var s = _destruct__k2r9zo.
|
|
805
|
-
var be = _destruct__k2r9zo.
|
|
806
|
-
throw SerializationException_init_$Create$('Serializer for type argument' + s + ' ' + argNames + ' ' + be + " not found for '" + typeInfo.
|
|
797
|
+
var s = _destruct__k2r9zo.jg();
|
|
798
|
+
var be = _destruct__k2r9zo.kg();
|
|
799
|
+
throw SerializationException_init_$Create$('Serializer for type argument' + s + ' ' + argNames + ' ' + be + " not found for '" + typeInfo.v2t_1.o() + "'. " + ('Ensure that the listed type' + s + ' ' + be + " marked as '@Serializable'."));
|
|
807
800
|
}
|
|
808
801
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
809
802
|
var tmp;
|
|
810
|
-
var tmp0_safe_receiver = typeInfo.
|
|
803
|
+
var tmp0_safe_receiver = typeInfo.w2t_1;
|
|
811
804
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
812
805
|
tmp = get_nullable(_this__u8e3s4);
|
|
813
806
|
} else {
|
|
@@ -832,7 +825,7 @@
|
|
|
832
825
|
var _iterator__ex2g4s_0 = destination.t();
|
|
833
826
|
while (_iterator__ex2g4s_0.u()) {
|
|
834
827
|
var e = _iterator__ex2g4s_0.v();
|
|
835
|
-
var key = e.
|
|
828
|
+
var key = e.f20().g21();
|
|
836
829
|
if (set.j1(key)) {
|
|
837
830
|
list.j1(e);
|
|
838
831
|
}
|
|
@@ -845,7 +838,7 @@
|
|
|
845
838
|
var _iterator__ex2g4s_1 = serializers.t();
|
|
846
839
|
while (_iterator__ex2g4s_1.u()) {
|
|
847
840
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
848
|
-
var tmp$ret$7 = item_0.
|
|
841
|
+
var tmp$ret$7 = item_0.f20().g21();
|
|
849
842
|
destination_0.j1(tmp$ret$7);
|
|
850
843
|
}
|
|
851
844
|
// Inline function 'kotlin.error' call
|
|
@@ -854,7 +847,7 @@
|
|
|
854
847
|
}
|
|
855
848
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
856
849
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
857
|
-
if (selected.
|
|
850
|
+
if (selected.f20().u21()) {
|
|
858
851
|
return selected;
|
|
859
852
|
}
|
|
860
853
|
if (!isInterface(selected, KSerializer))
|