@solibo/home-api 1.0.35 → 1.0.37
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-DateTime-library-kotlinx-datetime.js +713 -713
- package/kotlin-kotlin-stdlib.js +963 -847
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +8 -8
- package/kotlinx-coroutines-core.js +89 -89
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +14 -14
- package/kotlinx-io-kotlinx-io-core.js +28 -28
- package/kotlinx-serialization-kotlinx-serialization-core.js +127 -127
- package/kotlinx-serialization-kotlinx-serialization-json.js +1176 -1176
- package/ktor-ktor-client-content-negotiation.js +146 -146
- package/ktor-ktor-client-core.js +1467 -1423
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http-cio.js +53 -53
- package/ktor-ktor-http.js +89 -89
- package/ktor-ktor-io.js +53 -53
- package/ktor-ktor-serialization-kotlinx-json.js +5 -5
- package/ktor-ktor-serialization-kotlinx.js +115 -115
- package/ktor-ktor-serialization.js +14 -14
- package/ktor-ktor-utils.js +101 -99
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +46 -46
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.ts +767 -475
- package/solibo-sdk-sdk-home-api.js +31864 -29394
- package/solibo-sdk-sdk-home-api.js.map +1 -1
|
@@ -32,27 +32,27 @@
|
|
|
32
32
|
//region block: imports
|
|
33
33
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
34
34
|
var Unit_instance = kotlin_kotlin.$_$.y4;
|
|
35
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
36
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
37
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
38
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
39
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
35
|
+
var CoroutineImpl = kotlin_kotlin.$_$.g9;
|
|
36
|
+
var protoOf = kotlin_kotlin.$_$.ub;
|
|
37
|
+
var THROW_CCE = kotlin_kotlin.$_$.uf;
|
|
38
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.p8;
|
|
39
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.cb;
|
|
40
40
|
var VOID = kotlin_kotlin.$_$.b;
|
|
41
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
42
|
-
var toString = kotlin_kotlin.$_$.
|
|
41
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.za;
|
|
42
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
43
43
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
44
44
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
45
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
45
|
+
var isInterface = kotlin_kotlin.$_$.mb;
|
|
46
46
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.l;
|
|
47
47
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
48
48
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.b2;
|
|
49
49
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.z;
|
|
50
50
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
51
|
-
var equals = kotlin_kotlin.$_$.
|
|
52
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
51
|
+
var equals = kotlin_kotlin.$_$.oa;
|
|
52
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ba;
|
|
53
53
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
54
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
55
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
54
|
+
var hashCode = kotlin_kotlin.$_$.wa;
|
|
55
|
+
var initMetadataForClass = kotlin_kotlin.$_$.xa;
|
|
56
56
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.u;
|
|
57
57
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
58
58
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
@@ -65,25 +65,25 @@
|
|
|
65
65
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
66
66
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
67
67
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y2;
|
|
68
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
68
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.lc;
|
|
69
69
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
70
70
|
var KtMap = kotlin_kotlin.$_$.i5;
|
|
71
71
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
72
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
73
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
72
|
+
var KtSet = kotlin_kotlin.$_$.n5;
|
|
73
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.r6;
|
|
74
74
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.l4;
|
|
75
75
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
76
76
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
77
|
-
var isArray = kotlin_kotlin.$_$.
|
|
77
|
+
var isArray = kotlin_kotlin.$_$.eb;
|
|
78
78
|
var KtList = kotlin_kotlin.$_$.f5;
|
|
79
79
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
80
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
81
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
80
|
+
var filterNotNull = kotlin_kotlin.$_$.p6;
|
|
81
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.s5;
|
|
82
82
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
83
83
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
84
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
84
|
+
var singleOrNull = kotlin_kotlin.$_$.u7;
|
|
85
85
|
var Collection = kotlin_kotlin.$_$.a5;
|
|
86
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
86
|
+
var emptyList = kotlin_kotlin.$_$.l6;
|
|
87
87
|
//endregion
|
|
88
88
|
//region block: pre-declaration
|
|
89
89
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
var _iterator__ex2g4s = tmp0.t();
|
|
110
110
|
while (_iterator__ex2g4s.u()) {
|
|
111
111
|
var element = _iterator__ex2g4s.v();
|
|
112
|
-
var tmp0_safe_receiver = element.
|
|
112
|
+
var tmp0_safe_receiver = element.d4y(format);
|
|
113
113
|
if (tmp0_safe_receiver == null)
|
|
114
114
|
null;
|
|
115
115
|
else {
|
|
@@ -123,11 +123,11 @@
|
|
|
123
123
|
_this__u8e3s4.m39(contentType, new KotlinxSerializationConverter(format));
|
|
124
124
|
}
|
|
125
125
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
126
|
+
this.m4y_1 = $$this$unsafeFlow;
|
|
127
|
+
this.n4y_1 = $contentType;
|
|
128
|
+
this.o4y_1 = $charset;
|
|
129
|
+
this.p4y_1 = $typeInfo;
|
|
130
|
+
this.q4y_1 = $value;
|
|
131
131
|
CoroutineImpl.call(this, resultContinuation);
|
|
132
132
|
}
|
|
133
133
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).c3a = function (value, $completion) {
|
|
@@ -147,11 +147,11 @@
|
|
|
147
147
|
switch (tmp) {
|
|
148
148
|
case 0:
|
|
149
149
|
this.h8_1 = 3;
|
|
150
|
-
var tmp0 = this.
|
|
151
|
-
var tmp2 = this.
|
|
152
|
-
this.
|
|
150
|
+
var tmp0 = this.m4y_1;
|
|
151
|
+
var tmp2 = this.r4y_1;
|
|
152
|
+
this.s4y_1 = tmp0;
|
|
153
153
|
this.g8_1 = 1;
|
|
154
|
-
suspendResult = tmp2.
|
|
154
|
+
suspendResult = tmp2.y4m(this.n4y_1, this.o4y_1, this.p4y_1, this.q4y_1, this);
|
|
155
155
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
156
156
|
return suspendResult;
|
|
157
157
|
}
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
case 1:
|
|
161
161
|
var ARGUMENT = suspendResult;
|
|
162
162
|
this.g8_1 = 2;
|
|
163
|
-
suspendResult = this.
|
|
163
|
+
suspendResult = this.s4y_1.v19(ARGUMENT, this);
|
|
164
164
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
165
165
|
return suspendResult;
|
|
166
166
|
}
|
|
@@ -183,8 +183,8 @@
|
|
|
183
183
|
while (true);
|
|
184
184
|
};
|
|
185
185
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).d3a = function (value, completion) {
|
|
186
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
187
|
-
i.
|
|
186
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.m4y_1, this.n4y_1, this.o4y_1, this.p4y_1, this.q4y_1, completion);
|
|
187
|
+
i.r4y_1 = value;
|
|
188
188
|
return i;
|
|
189
189
|
};
|
|
190
190
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
@@ -197,8 +197,8 @@
|
|
|
197
197
|
}
|
|
198
198
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
199
199
|
CoroutineImpl.call(this, resultContinuation);
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
200
|
+
this.b4z_1 = _this__u8e3s4;
|
|
201
|
+
this.c4z_1 = collector;
|
|
202
202
|
}
|
|
203
203
|
protoOf($collectCOROUTINE$).o8 = function () {
|
|
204
204
|
var suspendResult = this.i8_1;
|
|
@@ -208,10 +208,10 @@
|
|
|
208
208
|
switch (tmp) {
|
|
209
209
|
case 0:
|
|
210
210
|
this.h8_1 = 2;
|
|
211
|
-
var $this$unsafeFlow = this.
|
|
211
|
+
var $this$unsafeFlow = this.c4z_1;
|
|
212
212
|
this.g8_1 = 1;
|
|
213
|
-
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
214
|
-
suspendResult = this.
|
|
213
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.b4z_1.e4z_1, this.b4z_1.f4z_1, this.b4z_1.g4z_1, this.b4z_1.h4z_1, null);
|
|
214
|
+
suspendResult = this.b4z_1.d4z_1.x19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
215
215
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
216
216
|
return suspendResult;
|
|
217
217
|
}
|
|
@@ -234,10 +234,10 @@
|
|
|
234
234
|
while (true);
|
|
235
235
|
};
|
|
236
236
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
237
|
+
this.q4z_1 = $$this$unsafeFlow;
|
|
238
|
+
this.r4z_1 = $charset;
|
|
239
|
+
this.s4z_1 = $typeInfo;
|
|
240
|
+
this.t4z_1 = $content;
|
|
241
241
|
CoroutineImpl.call(this, resultContinuation);
|
|
242
242
|
}
|
|
243
243
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).c3a = function (value, $completion) {
|
|
@@ -257,11 +257,11 @@
|
|
|
257
257
|
switch (tmp) {
|
|
258
258
|
case 0:
|
|
259
259
|
this.h8_1 = 3;
|
|
260
|
-
var tmp0 = this.
|
|
261
|
-
var tmp2 = this.
|
|
262
|
-
this.
|
|
260
|
+
var tmp0 = this.q4z_1;
|
|
261
|
+
var tmp2 = this.u4z_1;
|
|
262
|
+
this.v4z_1 = tmp0;
|
|
263
263
|
this.g8_1 = 1;
|
|
264
|
-
suspendResult = tmp2.e3a(this.
|
|
264
|
+
suspendResult = tmp2.e3a(this.r4z_1, this.s4z_1, this.t4z_1, this);
|
|
265
265
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
266
266
|
return suspendResult;
|
|
267
267
|
}
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
case 1:
|
|
271
271
|
var ARGUMENT = suspendResult;
|
|
272
272
|
this.g8_1 = 2;
|
|
273
|
-
suspendResult = this.
|
|
273
|
+
suspendResult = this.v4z_1.v19(ARGUMENT, this);
|
|
274
274
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
275
275
|
return suspendResult;
|
|
276
276
|
}
|
|
@@ -293,8 +293,8 @@
|
|
|
293
293
|
while (true);
|
|
294
294
|
};
|
|
295
295
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).d3a = function (value, completion) {
|
|
296
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
297
|
-
i.
|
|
296
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.q4z_1, this.r4z_1, this.s4z_1, this.t4z_1, completion);
|
|
297
|
+
i.u4z_1 = value;
|
|
298
298
|
return i;
|
|
299
299
|
};
|
|
300
300
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
@@ -307,8 +307,8 @@
|
|
|
307
307
|
}
|
|
308
308
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
309
309
|
CoroutineImpl.call(this, resultContinuation);
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
310
|
+
this.e50_1 = _this__u8e3s4;
|
|
311
|
+
this.f50_1 = collector;
|
|
312
312
|
}
|
|
313
313
|
protoOf($collectCOROUTINE$_0).o8 = function () {
|
|
314
314
|
var suspendResult = this.i8_1;
|
|
@@ -318,10 +318,10 @@
|
|
|
318
318
|
switch (tmp) {
|
|
319
319
|
case 0:
|
|
320
320
|
this.h8_1 = 2;
|
|
321
|
-
var $this$unsafeFlow = this.
|
|
321
|
+
var $this$unsafeFlow = this.f50_1;
|
|
322
322
|
this.g8_1 = 1;
|
|
323
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
324
|
-
suspendResult = this.
|
|
323
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.e50_1.h50_1, this.e50_1.i50_1, this.e50_1.j50_1, null);
|
|
324
|
+
suspendResult = this.e50_1.g50_1.x19(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
325
325
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
326
326
|
return suspendResult;
|
|
327
327
|
}
|
|
@@ -360,13 +360,13 @@
|
|
|
360
360
|
return tmp;
|
|
361
361
|
}
|
|
362
362
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
363
|
-
this.
|
|
363
|
+
this.k50_1 = function_0;
|
|
364
364
|
}
|
|
365
365
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).v19 = function (value, $completion) {
|
|
366
|
-
return this.
|
|
366
|
+
return this.k50_1(value, $completion);
|
|
367
367
|
};
|
|
368
368
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).g3 = function () {
|
|
369
|
-
return this.
|
|
369
|
+
return this.k50_1;
|
|
370
370
|
};
|
|
371
371
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
372
372
|
var tmp;
|
|
@@ -387,13 +387,13 @@
|
|
|
387
387
|
return hashCode(this.g3());
|
|
388
388
|
};
|
|
389
389
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
390
|
-
this.
|
|
390
|
+
this.l50_1 = function_0;
|
|
391
391
|
}
|
|
392
392
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).v19 = function (value, $completion) {
|
|
393
|
-
return this.
|
|
393
|
+
return this.l50_1(value, $completion);
|
|
394
394
|
};
|
|
395
395
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).g3 = function () {
|
|
396
|
-
return this.
|
|
396
|
+
return this.l50_1;
|
|
397
397
|
};
|
|
398
398
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
399
399
|
var tmp;
|
|
@@ -414,11 +414,11 @@
|
|
|
414
414
|
return hashCode(this.g3());
|
|
415
415
|
};
|
|
416
416
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
420
|
-
this.
|
|
421
|
-
this.
|
|
417
|
+
this.d4z_1 = $this;
|
|
418
|
+
this.e4z_1 = $contentType;
|
|
419
|
+
this.f4z_1 = $charset;
|
|
420
|
+
this.g4z_1 = $typeInfo;
|
|
421
|
+
this.h4z_1 = $value;
|
|
422
422
|
}
|
|
423
423
|
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).w19 = function (collector, $completion) {
|
|
424
424
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -432,14 +432,14 @@
|
|
|
432
432
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
433
433
|
CoroutineImpl.call(this, resultContinuation);
|
|
434
434
|
}
|
|
435
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
436
|
-
var tmp = this.
|
|
435
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).v50 = function (it, $completion) {
|
|
436
|
+
var tmp = this.w50(it, $completion);
|
|
437
437
|
tmp.i8_1 = Unit_instance;
|
|
438
438
|
tmp.j8_1 = null;
|
|
439
439
|
return tmp.o8();
|
|
440
440
|
};
|
|
441
441
|
protoOf(KotlinxSerializationConverter$serialize$slambda).a9 = function (p1, $completion) {
|
|
442
|
-
return this.
|
|
442
|
+
return this.v50((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
443
443
|
};
|
|
444
444
|
protoOf(KotlinxSerializationConverter$serialize$slambda).o8 = function () {
|
|
445
445
|
var suspendResult = this.i8_1;
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
var tmp = this.g8_1;
|
|
449
449
|
if (tmp === 0) {
|
|
450
450
|
this.h8_1 = 1;
|
|
451
|
-
return !(this.
|
|
451
|
+
return !(this.u50_1 == null);
|
|
452
452
|
} else if (tmp === 1) {
|
|
453
453
|
throw this.j8_1;
|
|
454
454
|
}
|
|
@@ -458,24 +458,24 @@
|
|
|
458
458
|
}
|
|
459
459
|
while (true);
|
|
460
460
|
};
|
|
461
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
461
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).w50 = function (it, completion) {
|
|
462
462
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
463
|
-
i.
|
|
463
|
+
i.u50_1 = it;
|
|
464
464
|
return i;
|
|
465
465
|
};
|
|
466
466
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
467
467
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
468
468
|
var l = function (it, $completion) {
|
|
469
|
-
return i.
|
|
469
|
+
return i.v50(it, $completion);
|
|
470
470
|
};
|
|
471
471
|
l.$arity = 1;
|
|
472
472
|
return l;
|
|
473
473
|
}
|
|
474
474
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
475
|
-
this.
|
|
476
|
-
this.
|
|
477
|
-
this.
|
|
478
|
-
this.
|
|
475
|
+
this.g50_1 = $this;
|
|
476
|
+
this.h50_1 = $charset;
|
|
477
|
+
this.i50_1 = $typeInfo;
|
|
478
|
+
this.j50_1 = $content;
|
|
479
479
|
}
|
|
480
480
|
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).w19 = function (collector, $completion) {
|
|
481
481
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
return this.w19(collector, $completion);
|
|
488
488
|
};
|
|
489
489
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
490
|
-
this.
|
|
490
|
+
this.f51_1 = $content;
|
|
491
491
|
CoroutineImpl.call(this, resultContinuation);
|
|
492
492
|
}
|
|
493
493
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).d3b = function (it, $completion) {
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
var tmp = this.g8_1;
|
|
507
507
|
if (tmp === 0) {
|
|
508
508
|
this.h8_1 = 1;
|
|
509
|
-
return !(this.
|
|
509
|
+
return !(this.g51_1 == null) || this.f51_1.r1f();
|
|
510
510
|
} else if (tmp === 1) {
|
|
511
511
|
throw this.j8_1;
|
|
512
512
|
}
|
|
@@ -517,8 +517,8 @@
|
|
|
517
517
|
while (true);
|
|
518
518
|
};
|
|
519
519
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).d3a = function (it, completion) {
|
|
520
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
521
|
-
i.
|
|
520
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.f51_1, completion);
|
|
521
|
+
i.g51_1 = it;
|
|
522
522
|
return i;
|
|
523
523
|
};
|
|
524
524
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
@@ -531,11 +531,11 @@
|
|
|
531
531
|
}
|
|
532
532
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
533
533
|
CoroutineImpl.call(this, resultContinuation);
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
536
|
-
this.
|
|
537
|
-
this.
|
|
538
|
-
this.
|
|
534
|
+
this.p51_1 = _this__u8e3s4;
|
|
535
|
+
this.q51_1 = contentType;
|
|
536
|
+
this.r51_1 = charset;
|
|
537
|
+
this.s51_1 = typeInfo;
|
|
538
|
+
this.t51_1 = value;
|
|
539
539
|
}
|
|
540
540
|
protoOf($serializeCOROUTINE$).o8 = function () {
|
|
541
541
|
var suspendResult = this.i8_1;
|
|
@@ -546,8 +546,8 @@
|
|
|
546
546
|
case 0:
|
|
547
547
|
this.h8_1 = 2;
|
|
548
548
|
this.g8_1 = 1;
|
|
549
|
-
var this_0 = asFlow(this.
|
|
550
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
549
|
+
var this_0 = asFlow(this.p51_1.v51_1);
|
|
550
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.q51_1, this.r51_1, this.s51_1, this.t51_1);
|
|
551
551
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
552
552
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
553
553
|
return suspendResult;
|
|
@@ -560,12 +560,12 @@
|
|
|
560
560
|
return fromExtension;
|
|
561
561
|
var tmp_1;
|
|
562
562
|
try {
|
|
563
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
563
|
+
tmp_1 = serializerForTypeInfo(this.p51_1.u51_1.u1u(), this.s51_1);
|
|
564
564
|
} catch ($p) {
|
|
565
565
|
var tmp_2;
|
|
566
566
|
if ($p instanceof SerializationException) {
|
|
567
567
|
var cause = $p;
|
|
568
|
-
tmp_2 = guessSerializer(this.
|
|
568
|
+
tmp_2 = guessSerializer(this.t51_1, this.p51_1.u51_1.u1u());
|
|
569
569
|
} else {
|
|
570
570
|
throw $p;
|
|
571
571
|
}
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
var serializer = tmp_1;
|
|
576
|
-
return serializeContent(this.
|
|
576
|
+
return serializeContent(this.p51_1, serializer, this.p51_1.u51_1, this.t51_1, this.q51_1, this.r51_1);
|
|
577
577
|
case 2:
|
|
578
578
|
throw this.j8_1;
|
|
579
579
|
}
|
|
@@ -590,10 +590,10 @@
|
|
|
590
590
|
};
|
|
591
591
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
592
592
|
CoroutineImpl.call(this, resultContinuation);
|
|
593
|
-
this.
|
|
594
|
-
this.
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
593
|
+
this.e52_1 = _this__u8e3s4;
|
|
594
|
+
this.f52_1 = charset;
|
|
595
|
+
this.g52_1 = typeInfo;
|
|
596
|
+
this.h52_1 = content;
|
|
597
597
|
}
|
|
598
598
|
protoOf($deserializeCOROUTINE$).o8 = function () {
|
|
599
599
|
var suspendResult = this.i8_1;
|
|
@@ -604,9 +604,9 @@
|
|
|
604
604
|
case 0:
|
|
605
605
|
this.h8_1 = 4;
|
|
606
606
|
this.g8_1 = 1;
|
|
607
|
-
var this_0 = asFlow(this.
|
|
608
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
609
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
607
|
+
var this_0 = asFlow(this.e52_1.v51_1);
|
|
608
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.f52_1, this.g52_1, this.h52_1);
|
|
609
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.h52_1, null), this);
|
|
610
610
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
611
611
|
return suspendResult;
|
|
612
612
|
}
|
|
@@ -615,17 +615,17 @@
|
|
|
615
615
|
case 1:
|
|
616
616
|
var fromExtension = suspendResult;
|
|
617
617
|
var tmp_1;
|
|
618
|
-
if (!this.
|
|
619
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
618
|
+
if (!this.e52_1.v51_1.r()) {
|
|
619
|
+
tmp_1 = !(fromExtension == null) || this.h52_1.r1f();
|
|
620
620
|
} else {
|
|
621
621
|
tmp_1 = false;
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
if (tmp_1)
|
|
625
625
|
return fromExtension;
|
|
626
|
-
this.
|
|
626
|
+
this.i52_1 = serializerForTypeInfo(this.e52_1.u51_1.u1u(), this.g52_1);
|
|
627
627
|
this.g8_1 = 2;
|
|
628
|
-
suspendResult = readRemaining(this.
|
|
628
|
+
suspendResult = readRemaining(this.h52_1, this);
|
|
629
629
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
630
630
|
return suspendResult;
|
|
631
631
|
}
|
|
@@ -634,16 +634,16 @@
|
|
|
634
634
|
case 2:
|
|
635
635
|
var contentPacket = suspendResult;
|
|
636
636
|
this.h8_1 = 3;
|
|
637
|
-
var tmp0_subject = this.
|
|
637
|
+
var tmp0_subject = this.e52_1.u51_1;
|
|
638
638
|
var tmp_2;
|
|
639
639
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
640
|
-
tmp_2 = this.
|
|
640
|
+
tmp_2 = this.e52_1.u51_1.v1r(this.i52_1, readText(contentPacket, this.f52_1));
|
|
641
641
|
} else {
|
|
642
642
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
643
|
-
tmp_2 = this.
|
|
643
|
+
tmp_2 = this.e52_1.u51_1.x1r(this.i52_1, readByteArray(contentPacket));
|
|
644
644
|
} else {
|
|
645
645
|
discard(contentPacket);
|
|
646
|
-
var message = 'Unsupported format ' + toString(this.
|
|
646
|
+
var message = 'Unsupported format ' + toString(this.e52_1.u51_1);
|
|
647
647
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
648
648
|
}
|
|
649
649
|
}
|
|
@@ -674,30 +674,30 @@
|
|
|
674
674
|
while (true);
|
|
675
675
|
};
|
|
676
676
|
function KotlinxSerializationConverter(format) {
|
|
677
|
-
this.
|
|
678
|
-
this.
|
|
677
|
+
this.u51_1 = format;
|
|
678
|
+
this.v51_1 = extensions(this.u51_1);
|
|
679
679
|
var tmp;
|
|
680
|
-
var tmp_0 = this.
|
|
680
|
+
var tmp_0 = this.u51_1;
|
|
681
681
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
682
682
|
tmp = true;
|
|
683
683
|
} else {
|
|
684
|
-
var tmp_1 = this.
|
|
684
|
+
var tmp_1 = this.u51_1;
|
|
685
685
|
tmp = isInterface(tmp_1, StringFormat);
|
|
686
686
|
}
|
|
687
687
|
// Inline function 'kotlin.require' call
|
|
688
688
|
if (!tmp) {
|
|
689
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
689
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.u51_1) + ' is not supported.';
|
|
690
690
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
|
-
protoOf(KotlinxSerializationConverter).
|
|
693
|
+
protoOf(KotlinxSerializationConverter).j52 = function (contentType, charset, typeInfo, value, $completion) {
|
|
694
694
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
695
695
|
tmp.i8_1 = Unit_instance;
|
|
696
696
|
tmp.j8_1 = null;
|
|
697
697
|
return tmp.o8();
|
|
698
698
|
};
|
|
699
|
-
protoOf(KotlinxSerializationConverter).
|
|
700
|
-
return this.
|
|
699
|
+
protoOf(KotlinxSerializationConverter).y4m = function (contentType, charset, typeInfo, value, $completion) {
|
|
700
|
+
return this.j52(contentType, charset, typeInfo, value, $completion);
|
|
701
701
|
};
|
|
702
702
|
protoOf(KotlinxSerializationConverter).e3a = function (charset, typeInfo, content, $completion) {
|
|
703
703
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
@@ -756,8 +756,8 @@
|
|
|
756
756
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
757
757
|
} else {
|
|
758
758
|
if (isInterface(value, KtMap)) {
|
|
759
|
-
var keySerializer = elementSerializer(value.
|
|
760
|
-
var valueSerializer = elementSerializer(value.
|
|
759
|
+
var keySerializer = elementSerializer(value.v2(), module_0);
|
|
760
|
+
var valueSerializer = elementSerializer(value.w2(), module_0);
|
|
761
761
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
762
762
|
} else {
|
|
763
763
|
var tmp3_elvis_lhs = module_0.b1s(getKClassFromExpression(value));
|
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
}(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
|
-
var Exception = kotlin_kotlin.$_$.
|
|
24
|
+
var Exception = kotlin_kotlin.$_$.nf;
|
|
25
25
|
var VOID = kotlin_kotlin.$_$.b;
|
|
26
26
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.j1;
|
|
27
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
28
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
29
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
27
|
+
var captureStack = kotlin_kotlin.$_$.fa;
|
|
28
|
+
var protoOf = kotlin_kotlin.$_$.ub;
|
|
29
|
+
var initMetadataForClass = kotlin_kotlin.$_$.xa;
|
|
30
30
|
var Unit_instance = kotlin_kotlin.$_$.y4;
|
|
31
31
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.m;
|
|
32
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
32
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.bb;
|
|
33
33
|
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.x1;
|
|
34
34
|
var forName = kotlin_io_ktor_ktor_io.$_$.s;
|
|
35
35
|
var isSupported = kotlin_io_ktor_ktor_io.$_$.t;
|
|
36
|
-
var equals = kotlin_kotlin.$_$.
|
|
37
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
38
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
36
|
+
var equals = kotlin_kotlin.$_$.oa;
|
|
37
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ba;
|
|
38
|
+
var isInterface = kotlin_kotlin.$_$.mb;
|
|
39
39
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
40
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
41
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
42
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
44
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
45
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
40
|
+
var hashCode = kotlin_kotlin.$_$.wa;
|
|
41
|
+
var CoroutineImpl = kotlin_kotlin.$_$.g9;
|
|
42
|
+
var THROW_CCE = kotlin_kotlin.$_$.uf;
|
|
43
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.p8;
|
|
44
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.cb;
|
|
45
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.za;
|
|
46
46
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
47
47
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
48
48
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|