@doordeck/doordeck-headless-sdk 0.35.0 → 0.36.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/Kotlin-DateTime-library-kotlinx-datetime.js +1192 -1192
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +14 -0
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +1 -1
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -6
- package/kotlin/Stately-stately-concurrency.js +6 -6
- package/kotlin/Stately-stately-concurrent-collections.js +53 -53
- package/kotlin/doordeck-sdk.js +7989 -7922
- package/kotlin/doordeck-sdk.js.map +1 -1
- package/kotlin/kotlinx-atomicfu.js +13 -13
- package/kotlin/kotlinx-coroutines-core.js +1555 -1555
- package/kotlin/kotlinx-coroutines-core.js.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core.js +412 -412
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1657 -1657
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1310 -1310
- package/kotlin/ktor-ktor-client-ktor-client-core.js +1696 -1696
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +212 -212
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +120 -120
- package/kotlin/ktor-ktor-http.js +629 -629
- package/kotlin/ktor-ktor-io.js +378 -378
- package/kotlin/ktor-ktor-shared-ktor-events.js +6 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +132 -132
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +58 -58
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +37 -37
- package/kotlin/ktor-ktor-utils.js +507 -507
- package/kotlin/projects-core-koin-core.js +246 -246
- package/package.json +1 -1
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
var element = tmp0_iterator.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.i49(format);
|
|
86
86
|
if (tmp0_safe_receiver == null)
|
|
87
87
|
null;
|
|
88
88
|
else {
|
|
@@ -94,24 +94,24 @@
|
|
|
94
94
|
return destination;
|
|
95
95
|
}
|
|
96
96
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
97
|
-
_this__u8e3s4.
|
|
97
|
+
_this__u8e3s4.o2q(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.r49_1 = $$this$unsafeFlow;
|
|
101
|
+
this.s49_1 = $contentType;
|
|
102
|
+
this.t49_1 = $charset;
|
|
103
|
+
this.u49_1 = $typeInfo;
|
|
104
|
+
this.v49_1 = $value;
|
|
105
105
|
CoroutineImpl.call(this, resultContinuation);
|
|
106
106
|
}
|
|
107
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
108
|
-
var tmp = this.
|
|
107
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).h2r = function (value, $completion) {
|
|
108
|
+
var tmp = this.i2r(value, $completion);
|
|
109
109
|
tmp.f9_1 = Unit_instance;
|
|
110
110
|
tmp.g9_1 = null;
|
|
111
111
|
return tmp.l9();
|
|
112
112
|
};
|
|
113
113
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).v9 = function (p1, $completion) {
|
|
114
|
-
return this.
|
|
114
|
+
return this.h2r((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
115
115
|
};
|
|
116
116
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l9 = function () {
|
|
117
117
|
var suspendResult = this.f9_1;
|
|
@@ -122,22 +122,22 @@
|
|
|
122
122
|
case 0:
|
|
123
123
|
this.e9_1 = 3;
|
|
124
124
|
var tmp_0 = this;
|
|
125
|
-
tmp_0.
|
|
125
|
+
tmp_0.x49_1 = this.r49_1;
|
|
126
126
|
var tmp_1 = this;
|
|
127
|
-
tmp_1.
|
|
127
|
+
tmp_1.y49_1 = this.w49_1;
|
|
128
128
|
var tmp_2 = this;
|
|
129
|
-
tmp_2.
|
|
129
|
+
tmp_2.z49_1 = this.y49_1;
|
|
130
130
|
this.d9_1 = 1;
|
|
131
|
-
suspendResult = this.
|
|
131
|
+
suspendResult = this.z49_1.h49(this.s49_1, this.t49_1, this.u49_1, this.v49_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.
|
|
138
|
+
this.a4a_1 = suspendResult;
|
|
139
139
|
this.d9_1 = 2;
|
|
140
|
-
suspendResult = this.
|
|
140
|
+
suspendResult = this.x49_1.d14(this.a4a_1, this);
|
|
141
141
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
142
142
|
return suspendResult;
|
|
143
143
|
}
|
|
@@ -159,23 +159,23 @@
|
|
|
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).i2r = function (value, completion) {
|
|
163
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.r49_1, this.s49_1, this.t49_1, this.u49_1, this.v49_1, completion);
|
|
164
|
+
i.w49_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.h2r(value, $completion);
|
|
171
171
|
};
|
|
172
172
|
l.$arity = 1;
|
|
173
173
|
return l;
|
|
174
174
|
}
|
|
175
175
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
176
176
|
CoroutineImpl.call(this, resultContinuation);
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
177
|
+
this.j4a_1 = _this__u8e3s4;
|
|
178
|
+
this.k4a_1 = collector;
|
|
179
179
|
}
|
|
180
180
|
protoOf($collectCOROUTINE$2).l9 = function () {
|
|
181
181
|
var suspendResult = this.f9_1;
|
|
@@ -186,10 +186,10 @@
|
|
|
186
186
|
case 0:
|
|
187
187
|
this.e9_1 = 2;
|
|
188
188
|
var tmp_0 = this;
|
|
189
|
-
tmp_0.
|
|
189
|
+
tmp_0.l4a_1 = this.k4a_1;
|
|
190
190
|
this.d9_1 = 1;
|
|
191
|
-
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.
|
|
192
|
-
suspendResult = this.
|
|
191
|
+
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.l4a_1, this.j4a_1.n4a_1, this.j4a_1.o4a_1, this.j4a_1.p4a_1, this.j4a_1.q4a_1, null);
|
|
192
|
+
suspendResult = this.j4a_1.m4a_1.f14(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
193
193
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
194
194
|
return suspendResult;
|
|
195
195
|
}
|
|
@@ -212,20 +212,20 @@
|
|
|
212
212
|
while (true);
|
|
213
213
|
};
|
|
214
214
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
215
|
+
this.z4a_1 = $$this$unsafeFlow;
|
|
216
|
+
this.a4b_1 = $charset;
|
|
217
|
+
this.b4b_1 = $typeInfo;
|
|
218
|
+
this.c4b_1 = $content;
|
|
219
219
|
CoroutineImpl.call(this, resultContinuation);
|
|
220
220
|
}
|
|
221
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
222
|
-
var tmp = this.
|
|
221
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h2r = function (value, $completion) {
|
|
222
|
+
var tmp = this.i2r(value, $completion);
|
|
223
223
|
tmp.f9_1 = Unit_instance;
|
|
224
224
|
tmp.g9_1 = null;
|
|
225
225
|
return tmp.l9();
|
|
226
226
|
};
|
|
227
227
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).v9 = function (p1, $completion) {
|
|
228
|
-
return this.
|
|
228
|
+
return this.h2r((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
229
229
|
};
|
|
230
230
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l9 = function () {
|
|
231
231
|
var suspendResult = this.f9_1;
|
|
@@ -236,22 +236,22 @@
|
|
|
236
236
|
case 0:
|
|
237
237
|
this.e9_1 = 3;
|
|
238
238
|
var tmp_0 = this;
|
|
239
|
-
tmp_0.
|
|
239
|
+
tmp_0.e4b_1 = this.z4a_1;
|
|
240
240
|
var tmp_1 = this;
|
|
241
|
-
tmp_1.
|
|
241
|
+
tmp_1.f4b_1 = this.d4b_1;
|
|
242
242
|
var tmp_2 = this;
|
|
243
|
-
tmp_2.
|
|
243
|
+
tmp_2.g4b_1 = this.f4b_1;
|
|
244
244
|
this.d9_1 = 1;
|
|
245
|
-
suspendResult = this.
|
|
245
|
+
suspendResult = this.g4b_1.j2r(this.a4b_1, this.b4b_1, this.c4b_1, this);
|
|
246
246
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
247
247
|
return suspendResult;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
continue $sm;
|
|
251
251
|
case 1:
|
|
252
|
-
this.
|
|
252
|
+
this.h4b_1 = suspendResult;
|
|
253
253
|
this.d9_1 = 2;
|
|
254
|
-
suspendResult = this.
|
|
254
|
+
suspendResult = this.e4b_1.d14(this.h4b_1, this);
|
|
255
255
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
256
256
|
return suspendResult;
|
|
257
257
|
}
|
|
@@ -273,23 +273,23 @@
|
|
|
273
273
|
}
|
|
274
274
|
while (true);
|
|
275
275
|
};
|
|
276
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
277
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
278
|
-
i.
|
|
276
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i2r = function (value, completion) {
|
|
277
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.z4a_1, this.a4b_1, this.b4b_1, this.c4b_1, completion);
|
|
278
|
+
i.d4b_1 = value;
|
|
279
279
|
return i;
|
|
280
280
|
};
|
|
281
281
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
282
282
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
283
283
|
var l = function (value, $completion) {
|
|
284
|
-
return i.
|
|
284
|
+
return i.h2r(value, $completion);
|
|
285
285
|
};
|
|
286
286
|
l.$arity = 1;
|
|
287
287
|
return l;
|
|
288
288
|
}
|
|
289
289
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
290
290
|
CoroutineImpl.call(this, resultContinuation);
|
|
291
|
-
this.
|
|
292
|
-
this.
|
|
291
|
+
this.q4b_1 = _this__u8e3s4;
|
|
292
|
+
this.r4b_1 = collector;
|
|
293
293
|
}
|
|
294
294
|
protoOf($collectCOROUTINE$3).l9 = function () {
|
|
295
295
|
var suspendResult = this.f9_1;
|
|
@@ -300,10 +300,10 @@
|
|
|
300
300
|
case 0:
|
|
301
301
|
this.e9_1 = 2;
|
|
302
302
|
var tmp_0 = this;
|
|
303
|
-
tmp_0.
|
|
303
|
+
tmp_0.s4b_1 = this.r4b_1;
|
|
304
304
|
this.d9_1 = 1;
|
|
305
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
306
|
-
suspendResult = this.
|
|
305
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.s4b_1, this.q4b_1.u4b_1, this.q4b_1.v4b_1, this.q4b_1.w4b_1, null);
|
|
306
|
+
suspendResult = this.q4b_1.t4b_1.f14(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
307
307
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
308
308
|
return suspendResult;
|
|
309
309
|
}
|
|
@@ -328,11 +328,11 @@
|
|
|
328
328
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
329
329
|
var tmp;
|
|
330
330
|
if (isInterface(format, StringFormat)) {
|
|
331
|
-
var content = format.
|
|
331
|
+
var content = format.v1m(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
332
332
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
333
333
|
} else {
|
|
334
334
|
if (isInterface(format, BinaryFormat)) {
|
|
335
|
-
var content_0 = format.
|
|
335
|
+
var content_0 = format.y1m(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
336
336
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
337
337
|
} else {
|
|
338
338
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -342,13 +342,13 @@
|
|
|
342
342
|
return tmp;
|
|
343
343
|
}
|
|
344
344
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
345
|
-
this.
|
|
345
|
+
this.x4b_1 = function_0;
|
|
346
346
|
}
|
|
347
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
348
|
-
return this.
|
|
347
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d14 = function (value, $completion) {
|
|
348
|
+
return this.x4b_1(value, $completion);
|
|
349
349
|
};
|
|
350
350
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r3 = function () {
|
|
351
|
-
return this.
|
|
351
|
+
return this.x4b_1;
|
|
352
352
|
};
|
|
353
353
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
354
354
|
var tmp;
|
|
@@ -369,13 +369,13 @@
|
|
|
369
369
|
return hashCode(this.r3());
|
|
370
370
|
};
|
|
371
371
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
372
|
-
this.
|
|
372
|
+
this.y4b_1 = function_0;
|
|
373
373
|
}
|
|
374
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
375
|
-
return this.
|
|
374
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d14 = function (value, $completion) {
|
|
375
|
+
return this.y4b_1(value, $completion);
|
|
376
376
|
};
|
|
377
377
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r3 = function () {
|
|
378
|
-
return this.
|
|
378
|
+
return this.y4b_1;
|
|
379
379
|
};
|
|
380
380
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
381
381
|
var tmp;
|
|
@@ -396,32 +396,32 @@
|
|
|
396
396
|
return hashCode(this.r3());
|
|
397
397
|
};
|
|
398
398
|
function _no_name_provided__qut3iv($this, $contentType, $charset, $typeInfo, $value) {
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
399
|
+
this.m4a_1 = $this;
|
|
400
|
+
this.n4a_1 = $contentType;
|
|
401
|
+
this.o4a_1 = $charset;
|
|
402
|
+
this.p4a_1 = $typeInfo;
|
|
403
|
+
this.q4a_1 = $value;
|
|
404
404
|
}
|
|
405
|
-
protoOf(_no_name_provided__qut3iv).
|
|
405
|
+
protoOf(_no_name_provided__qut3iv).e14 = function (collector, $completion) {
|
|
406
406
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
407
407
|
tmp.f9_1 = Unit_instance;
|
|
408
408
|
tmp.g9_1 = null;
|
|
409
409
|
return tmp.l9();
|
|
410
410
|
};
|
|
411
|
-
protoOf(_no_name_provided__qut3iv).
|
|
412
|
-
return this.
|
|
411
|
+
protoOf(_no_name_provided__qut3iv).f14 = function (collector, $completion) {
|
|
412
|
+
return this.e14(collector, $completion);
|
|
413
413
|
};
|
|
414
414
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
415
415
|
CoroutineImpl.call(this, resultContinuation);
|
|
416
416
|
}
|
|
417
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
418
|
-
var tmp = this.
|
|
417
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).i4c = function (it, $completion) {
|
|
418
|
+
var tmp = this.j4c(it, $completion);
|
|
419
419
|
tmp.f9_1 = Unit_instance;
|
|
420
420
|
tmp.g9_1 = null;
|
|
421
421
|
return tmp.l9();
|
|
422
422
|
};
|
|
423
423
|
protoOf(KotlinxSerializationConverter$serialize$slambda).v9 = function (p1, $completion) {
|
|
424
|
-
return this.
|
|
424
|
+
return this.i4c((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
425
425
|
};
|
|
426
426
|
protoOf(KotlinxSerializationConverter$serialize$slambda).l9 = function () {
|
|
427
427
|
var suspendResult = this.f9_1;
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
var tmp = this.d9_1;
|
|
431
431
|
if (tmp === 0) {
|
|
432
432
|
this.e9_1 = 1;
|
|
433
|
-
return !(this.
|
|
433
|
+
return !(this.h4c_1 == null);
|
|
434
434
|
} else if (tmp === 1) {
|
|
435
435
|
throw this.g9_1;
|
|
436
436
|
}
|
|
@@ -440,46 +440,46 @@
|
|
|
440
440
|
}
|
|
441
441
|
while (true);
|
|
442
442
|
};
|
|
443
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
443
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).j4c = function (it, completion) {
|
|
444
444
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
445
|
-
i.
|
|
445
|
+
i.h4c_1 = it;
|
|
446
446
|
return i;
|
|
447
447
|
};
|
|
448
448
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
449
449
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
450
450
|
var l = function (it, $completion) {
|
|
451
|
-
return i.
|
|
451
|
+
return i.i4c(it, $completion);
|
|
452
452
|
};
|
|
453
453
|
l.$arity = 1;
|
|
454
454
|
return l;
|
|
455
455
|
}
|
|
456
456
|
function _no_name_provided__qut3iv_0($this, $charset, $typeInfo, $content) {
|
|
457
|
-
this.
|
|
458
|
-
this.
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
457
|
+
this.t4b_1 = $this;
|
|
458
|
+
this.u4b_1 = $charset;
|
|
459
|
+
this.v4b_1 = $typeInfo;
|
|
460
|
+
this.w4b_1 = $content;
|
|
461
461
|
}
|
|
462
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
462
|
+
protoOf(_no_name_provided__qut3iv_0).e14 = function (collector, $completion) {
|
|
463
463
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
464
464
|
tmp.f9_1 = Unit_instance;
|
|
465
465
|
tmp.g9_1 = null;
|
|
466
466
|
return tmp.l9();
|
|
467
467
|
};
|
|
468
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
469
|
-
return this.
|
|
468
|
+
protoOf(_no_name_provided__qut3iv_0).f14 = function (collector, $completion) {
|
|
469
|
+
return this.e14(collector, $completion);
|
|
470
470
|
};
|
|
471
471
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
472
|
-
this.
|
|
472
|
+
this.s4c_1 = $content;
|
|
473
473
|
CoroutineImpl.call(this, resultContinuation);
|
|
474
474
|
}
|
|
475
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
476
|
-
var tmp = this.
|
|
475
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).j2s = function (it, $completion) {
|
|
476
|
+
var tmp = this.i2r(it, $completion);
|
|
477
477
|
tmp.f9_1 = Unit_instance;
|
|
478
478
|
tmp.g9_1 = null;
|
|
479
479
|
return tmp.l9();
|
|
480
480
|
};
|
|
481
481
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).v9 = function (p1, $completion) {
|
|
482
|
-
return this.
|
|
482
|
+
return this.j2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
483
483
|
};
|
|
484
484
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).l9 = function () {
|
|
485
485
|
var suspendResult = this.f9_1;
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
var tmp = this.d9_1;
|
|
489
489
|
if (tmp === 0) {
|
|
490
490
|
this.e9_1 = 1;
|
|
491
|
-
return !(this.
|
|
491
|
+
return !(this.t4c_1 == null) || this.s4c_1.y1f();
|
|
492
492
|
} else if (tmp === 1) {
|
|
493
493
|
throw this.g9_1;
|
|
494
494
|
}
|
|
@@ -498,26 +498,26 @@
|
|
|
498
498
|
}
|
|
499
499
|
while (true);
|
|
500
500
|
};
|
|
501
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
502
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
503
|
-
i.
|
|
501
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).i2r = function (it, completion) {
|
|
502
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.s4c_1, completion);
|
|
503
|
+
i.t4c_1 = it;
|
|
504
504
|
return i;
|
|
505
505
|
};
|
|
506
506
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
507
507
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
508
508
|
var l = function (it, $completion) {
|
|
509
|
-
return i.
|
|
509
|
+
return i.j2s(it, $completion);
|
|
510
510
|
};
|
|
511
511
|
l.$arity = 1;
|
|
512
512
|
return l;
|
|
513
513
|
}
|
|
514
514
|
function $serializeCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
515
515
|
CoroutineImpl.call(this, resultContinuation);
|
|
516
|
-
this.
|
|
517
|
-
this.
|
|
518
|
-
this.
|
|
519
|
-
this.
|
|
520
|
-
this.
|
|
516
|
+
this.c4d_1 = _this__u8e3s4;
|
|
517
|
+
this.d4d_1 = contentType;
|
|
518
|
+
this.e4d_1 = charset;
|
|
519
|
+
this.f4d_1 = typeInfo;
|
|
520
|
+
this.g4d_1 = value;
|
|
521
521
|
}
|
|
522
522
|
protoOf($serializeCOROUTINE$0).l9 = function () {
|
|
523
523
|
var suspendResult = this.f9_1;
|
|
@@ -528,8 +528,8 @@
|
|
|
528
528
|
case 0:
|
|
529
529
|
this.e9_1 = 2;
|
|
530
530
|
this.d9_1 = 1;
|
|
531
|
-
var this_0 = asFlow(this.
|
|
532
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
531
|
+
var this_0 = asFlow(this.c4d_1.i4d_1);
|
|
532
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.d4d_1, this.e4d_1, this.f4d_1, this.g4d_1);
|
|
533
533
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
534
534
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
535
535
|
return suspendResult;
|
|
@@ -542,12 +542,12 @@
|
|
|
542
542
|
return fromExtension;
|
|
543
543
|
var tmp_1;
|
|
544
544
|
try {
|
|
545
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
545
|
+
tmp_1 = serializerForTypeInfo(this.c4d_1.h4d_1.x1m(), this.f4d_1);
|
|
546
546
|
} catch ($p) {
|
|
547
547
|
var tmp_2;
|
|
548
548
|
if ($p instanceof SerializationException) {
|
|
549
549
|
var cause = $p;
|
|
550
|
-
tmp_2 = guessSerializer(this.
|
|
550
|
+
tmp_2 = guessSerializer(this.g4d_1, this.c4d_1.h4d_1.x1m());
|
|
551
551
|
} else {
|
|
552
552
|
throw $p;
|
|
553
553
|
}
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
var serializer = tmp_1;
|
|
558
|
-
return serializeContent(this.
|
|
558
|
+
return serializeContent(this.c4d_1, serializer, this.c4d_1.h4d_1, this.g4d_1, this.d4d_1, this.e4d_1);
|
|
559
559
|
case 2:
|
|
560
560
|
throw this.g9_1;
|
|
561
561
|
}
|
|
@@ -572,10 +572,10 @@
|
|
|
572
572
|
};
|
|
573
573
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
574
574
|
CoroutineImpl.call(this, resultContinuation);
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
577
|
-
this.
|
|
578
|
-
this.
|
|
575
|
+
this.r4d_1 = _this__u8e3s4;
|
|
576
|
+
this.s4d_1 = charset;
|
|
577
|
+
this.t4d_1 = typeInfo;
|
|
578
|
+
this.u4d_1 = content;
|
|
579
579
|
}
|
|
580
580
|
protoOf($deserializeCOROUTINE$1).l9 = function () {
|
|
581
581
|
var suspendResult = this.f9_1;
|
|
@@ -586,28 +586,28 @@
|
|
|
586
586
|
case 0:
|
|
587
587
|
this.e9_1 = 4;
|
|
588
588
|
this.d9_1 = 1;
|
|
589
|
-
var this_0 = asFlow(this.
|
|
590
|
-
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.
|
|
591
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
589
|
+
var this_0 = asFlow(this.r4d_1.i4d_1);
|
|
590
|
+
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.s4d_1, this.t4d_1, this.u4d_1);
|
|
591
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.u4d_1, null), this);
|
|
592
592
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
593
593
|
return suspendResult;
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
continue $sm;
|
|
597
597
|
case 1:
|
|
598
|
-
this.
|
|
598
|
+
this.v4d_1 = suspendResult;
|
|
599
599
|
var tmp_1;
|
|
600
|
-
if (!this.
|
|
601
|
-
tmp_1 = !(this.
|
|
600
|
+
if (!this.r4d_1.i4d_1.h()) {
|
|
601
|
+
tmp_1 = !(this.v4d_1 == null) || this.u4d_1.y1f();
|
|
602
602
|
} else {
|
|
603
603
|
tmp_1 = false;
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
if (tmp_1)
|
|
607
|
-
return this.
|
|
608
|
-
this.
|
|
607
|
+
return this.v4d_1;
|
|
608
|
+
this.w4d_1 = serializerForTypeInfo(this.r4d_1.h4d_1.x1m(), this.t4d_1);
|
|
609
609
|
this.d9_1 = 2;
|
|
610
|
-
suspendResult = readRemaining(this.
|
|
610
|
+
suspendResult = readRemaining(this.u4d_1, this);
|
|
611
611
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
612
612
|
return suspendResult;
|
|
613
613
|
}
|
|
@@ -616,16 +616,16 @@
|
|
|
616
616
|
case 2:
|
|
617
617
|
var contentPacket = suspendResult;
|
|
618
618
|
this.e9_1 = 3;
|
|
619
|
-
var tmp0_subject = this.
|
|
619
|
+
var tmp0_subject = this.r4d_1.h4d_1;
|
|
620
620
|
var tmp_2;
|
|
621
621
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
622
|
-
tmp_2 = this.
|
|
622
|
+
tmp_2 = this.r4d_1.h4d_1.w1m(this.w4d_1, readText(contentPacket, this.s4d_1));
|
|
623
623
|
} else {
|
|
624
624
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
625
|
-
tmp_2 = this.
|
|
625
|
+
tmp_2 = this.r4d_1.h4d_1.z1m(this.w4d_1, readByteArray(contentPacket));
|
|
626
626
|
} else {
|
|
627
627
|
discard(contentPacket);
|
|
628
|
-
var message = 'Unsupported format ' + toString(this.
|
|
628
|
+
var message = 'Unsupported format ' + toString(this.r4d_1.h4d_1);
|
|
629
629
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
630
630
|
}
|
|
631
631
|
}
|
|
@@ -656,34 +656,34 @@
|
|
|
656
656
|
while (true);
|
|
657
657
|
};
|
|
658
658
|
function KotlinxSerializationConverter(format) {
|
|
659
|
-
this.
|
|
660
|
-
this.
|
|
659
|
+
this.h4d_1 = format;
|
|
660
|
+
this.i4d_1 = extensions(this.h4d_1);
|
|
661
661
|
// Inline function 'kotlin.require' call
|
|
662
662
|
var tmp;
|
|
663
|
-
var tmp_0 = this.
|
|
663
|
+
var tmp_0 = this.h4d_1;
|
|
664
664
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
665
665
|
tmp = true;
|
|
666
666
|
} else {
|
|
667
|
-
var tmp_1 = this.
|
|
667
|
+
var tmp_1 = this.h4d_1;
|
|
668
668
|
tmp = isInterface(tmp_1, StringFormat);
|
|
669
669
|
}
|
|
670
670
|
// Inline function 'kotlin.contracts.contract' call
|
|
671
671
|
if (!tmp) {
|
|
672
672
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
673
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
673
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.h4d_1) + ' is not supported.';
|
|
674
674
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
protoOf(KotlinxSerializationConverter).
|
|
677
|
+
protoOf(KotlinxSerializationConverter).x4d = function (contentType, charset, typeInfo, value, $completion) {
|
|
678
678
|
var tmp = new $serializeCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
679
679
|
tmp.f9_1 = Unit_instance;
|
|
680
680
|
tmp.g9_1 = null;
|
|
681
681
|
return tmp.l9();
|
|
682
682
|
};
|
|
683
|
-
protoOf(KotlinxSerializationConverter).
|
|
684
|
-
return this.
|
|
683
|
+
protoOf(KotlinxSerializationConverter).h49 = function (contentType, charset, typeInfo, value, $completion) {
|
|
684
|
+
return this.x4d(contentType, charset, typeInfo, value, $completion);
|
|
685
685
|
};
|
|
686
|
-
protoOf(KotlinxSerializationConverter).
|
|
686
|
+
protoOf(KotlinxSerializationConverter).j2r = function (charset, typeInfo, content, $completion) {
|
|
687
687
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
688
688
|
tmp.f9_1 = Unit_instance;
|
|
689
689
|
tmp.g9_1 = null;
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
};
|
|
692
692
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
693
693
|
var module_0 = _this__u8e3s4;
|
|
694
|
-
var tmp0_safe_receiver = typeInfo.
|
|
694
|
+
var tmp0_safe_receiver = typeInfo.a2c_1;
|
|
695
695
|
var tmp;
|
|
696
696
|
if (tmp0_safe_receiver == null) {
|
|
697
697
|
tmp = null;
|
|
@@ -710,13 +710,13 @@
|
|
|
710
710
|
var tmp1_elvis_lhs = tmp;
|
|
711
711
|
var tmp_1;
|
|
712
712
|
if (tmp1_elvis_lhs == null) {
|
|
713
|
-
var tmp2_safe_receiver = module_0.
|
|
713
|
+
var tmp2_safe_receiver = module_0.c1n(typeInfo.z2b_1);
|
|
714
714
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
715
715
|
} else {
|
|
716
716
|
tmp_1 = tmp1_elvis_lhs;
|
|
717
717
|
}
|
|
718
718
|
var tmp3_elvis_lhs = tmp_1;
|
|
719
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
719
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.z2b_1), typeInfo) : tmp3_elvis_lhs;
|
|
720
720
|
}
|
|
721
721
|
function guessSerializer(value, module_0) {
|
|
722
722
|
var tmp;
|
|
@@ -748,7 +748,7 @@
|
|
|
748
748
|
var valueSerializer = elementSerializer(value.m2(), module_0);
|
|
749
749
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
750
750
|
} else {
|
|
751
|
-
var tmp3_elvis_lhs = module_0.
|
|
751
|
+
var tmp3_elvis_lhs = module_0.c1n(getKClassFromExpression(value));
|
|
752
752
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
753
753
|
}
|
|
754
754
|
}
|
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
}
|
|
761
761
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
762
762
|
var tmp;
|
|
763
|
-
var tmp0_safe_receiver = typeInfo.
|
|
763
|
+
var tmp0_safe_receiver = typeInfo.a2c_1;
|
|
764
764
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.mb()) === true) {
|
|
765
765
|
tmp = get_nullable(_this__u8e3s4);
|
|
766
766
|
} else {
|
|
@@ -787,7 +787,7 @@
|
|
|
787
787
|
while (tmp0_iterator_0.q()) {
|
|
788
788
|
var e = tmp0_iterator_0.r();
|
|
789
789
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
790
|
-
var key = e.
|
|
790
|
+
var key = e.s1l().t1m();
|
|
791
791
|
if (set.k(key)) {
|
|
792
792
|
list.k(e);
|
|
793
793
|
}
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
while (tmp0_iterator_1.q()) {
|
|
803
803
|
var item_0 = tmp0_iterator_1.r();
|
|
804
804
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
805
|
-
var tmp$ret$5 = item_0.
|
|
805
|
+
var tmp$ret$5 = item_0.s1l().t1m();
|
|
806
806
|
destination_0.k(tmp$ret$5);
|
|
807
807
|
}
|
|
808
808
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -810,7 +810,7 @@
|
|
|
810
810
|
}
|
|
811
811
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
812
812
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
813
|
-
if (selected.
|
|
813
|
+
if (selected.s1l().g1n()) {
|
|
814
814
|
return selected;
|
|
815
815
|
}
|
|
816
816
|
if (!isInterface(selected, KSerializer))
|