@solibo/home-api 1.1.21 → 1.1.22
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.mjs +713 -713
- package/kotlin-kotlin-stdlib.mjs +6 -6
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1842 -1798
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1333 -1333
- package/ktor-ktor-client-content-negotiation.mjs +125 -125
- package/ktor-ktor-client-core.mjs +1802 -1802
- package/ktor-ktor-events.mjs +5 -5
- package/ktor-ktor-http-cio.mjs +306 -306
- package/ktor-ktor-http.mjs +613 -613
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +120 -120
- package/ktor-ktor-serialization.mjs +51 -51
- package/ktor-ktor-utils.mjs +494 -494
- package/ktor-ktor-websockets.mjs +324 -324
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.mts +181 -124
- package/solibo-sdk-sdk-home-api.mjs +48344 -47882
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
|
@@ -16,18 +16,18 @@ function get_DefaultJson() {
|
|
|
16
16
|
var DefaultJson;
|
|
17
17
|
function json(_this__u8e3s4, json, contentType) {
|
|
18
18
|
json = json === VOID ? get_DefaultJson() : json;
|
|
19
|
-
contentType = contentType === VOID ? Application_getInstance().
|
|
19
|
+
contentType = contentType === VOID ? Application_getInstance().n2j_1 : contentType;
|
|
20
20
|
_init_properties_JsonSupport_kt__yf438r();
|
|
21
21
|
serialization(_this__u8e3s4, contentType, json);
|
|
22
22
|
}
|
|
23
23
|
function DefaultJson$lambda($this$Json) {
|
|
24
24
|
_init_properties_JsonSupport_kt__yf438r();
|
|
25
|
-
$this$Json.
|
|
26
|
-
$this$Json.
|
|
27
|
-
$this$Json.
|
|
28
|
-
$this$Json.
|
|
29
|
-
$this$Json.
|
|
30
|
-
$this$Json.
|
|
25
|
+
$this$Json.c4p_1 = true;
|
|
26
|
+
$this$Json.f4p_1 = true;
|
|
27
|
+
$this$Json.q4p_1 = true;
|
|
28
|
+
$this$Json.r4p_1 = true;
|
|
29
|
+
$this$Json.g4p_1 = false;
|
|
30
|
+
$this$Json.s4p_1 = false;
|
|
31
31
|
return Unit_instance;
|
|
32
32
|
}
|
|
33
33
|
var properties_initialized_JsonSupport_kt_9cgd93;
|
|
@@ -88,7 +88,7 @@ function extensions(format) {
|
|
|
88
88
|
var _iterator__ex2g4s = tmp0.t();
|
|
89
89
|
while (_iterator__ex2g4s.u()) {
|
|
90
90
|
var element = _iterator__ex2g4s.v();
|
|
91
|
-
var tmp0_safe_receiver = element.
|
|
91
|
+
var tmp0_safe_receiver = element.p4z(format);
|
|
92
92
|
if (tmp0_safe_receiver == null)
|
|
93
93
|
null;
|
|
94
94
|
else {
|
|
@@ -99,24 +99,24 @@ function extensions(format) {
|
|
|
99
99
|
return destination;
|
|
100
100
|
}
|
|
101
101
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
102
|
-
_this__u8e3s4.
|
|
102
|
+
_this__u8e3s4.y3a(contentType, new KotlinxSerializationConverter(format));
|
|
103
103
|
}
|
|
104
104
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
105
|
+
this.y4z_1 = $$this$unsafeFlow;
|
|
106
|
+
this.z4z_1 = $contentType;
|
|
107
|
+
this.a50_1 = $charset;
|
|
108
|
+
this.b50_1 = $typeInfo;
|
|
109
|
+
this.c50_1 = $value;
|
|
110
110
|
CoroutineImpl.call(this, resultContinuation);
|
|
111
111
|
}
|
|
112
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
113
|
-
var tmp = this.
|
|
112
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).o3b = function (value, $completion) {
|
|
113
|
+
var tmp = this.p3b(value, $completion);
|
|
114
114
|
tmp.l8_1 = Unit_instance;
|
|
115
115
|
tmp.m8_1 = null;
|
|
116
116
|
return tmp.r8();
|
|
117
117
|
};
|
|
118
118
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).d9 = function (p1, $completion) {
|
|
119
|
-
return this.
|
|
119
|
+
return this.o3b((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
120
120
|
};
|
|
121
121
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).r8 = function () {
|
|
122
122
|
var suspendResult = this.l8_1;
|
|
@@ -126,11 +126,11 @@ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).r8 = function
|
|
|
126
126
|
switch (tmp) {
|
|
127
127
|
case 0:
|
|
128
128
|
this.k8_1 = 3;
|
|
129
|
-
var tmp0 = this.
|
|
130
|
-
var tmp2 = this.
|
|
131
|
-
this.
|
|
129
|
+
var tmp0 = this.y4z_1;
|
|
130
|
+
var tmp2 = this.d50_1;
|
|
131
|
+
this.e50_1 = tmp0;
|
|
132
132
|
this.j8_1 = 1;
|
|
133
|
-
suspendResult = tmp2.
|
|
133
|
+
suspendResult = tmp2.k4o(this.z4z_1, this.a50_1, this.b50_1, this.c50_1, this);
|
|
134
134
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
135
135
|
return suspendResult;
|
|
136
136
|
}
|
|
@@ -139,7 +139,7 @@ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).r8 = function
|
|
|
139
139
|
case 1:
|
|
140
140
|
var ARGUMENT = suspendResult;
|
|
141
141
|
this.j8_1 = 2;
|
|
142
|
-
suspendResult = this.
|
|
142
|
+
suspendResult = this.e50_1.d1b(ARGUMENT, this);
|
|
143
143
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
144
144
|
return suspendResult;
|
|
145
145
|
}
|
|
@@ -161,23 +161,23 @@ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).r8 = function
|
|
|
161
161
|
}
|
|
162
162
|
while (true);
|
|
163
163
|
};
|
|
164
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
165
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
166
|
-
i.
|
|
164
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).p3b = function (value, completion) {
|
|
165
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.y4z_1, this.z4z_1, this.a50_1, this.b50_1, this.c50_1, completion);
|
|
166
|
+
i.d50_1 = value;
|
|
167
167
|
return i;
|
|
168
168
|
};
|
|
169
169
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
170
170
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
171
171
|
var l = function (value, $completion) {
|
|
172
|
-
return i.
|
|
172
|
+
return i.o3b(value, $completion);
|
|
173
173
|
};
|
|
174
174
|
l.$arity = 1;
|
|
175
175
|
return l;
|
|
176
176
|
}
|
|
177
177
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
178
178
|
CoroutineImpl.call(this, resultContinuation);
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
179
|
+
this.n50_1 = _this__u8e3s4;
|
|
180
|
+
this.o50_1 = collector;
|
|
181
181
|
}
|
|
182
182
|
protoOf($collectCOROUTINE$).r8 = function () {
|
|
183
183
|
var suspendResult = this.l8_1;
|
|
@@ -187,10 +187,10 @@ protoOf($collectCOROUTINE$).r8 = function () {
|
|
|
187
187
|
switch (tmp) {
|
|
188
188
|
case 0:
|
|
189
189
|
this.k8_1 = 2;
|
|
190
|
-
var $this$unsafeFlow = this.
|
|
190
|
+
var $this$unsafeFlow = this.o50_1;
|
|
191
191
|
this.j8_1 = 1;
|
|
192
|
-
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
193
|
-
suspendResult = this.
|
|
192
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.n50_1.q50_1, this.n50_1.r50_1, this.n50_1.s50_1, this.n50_1.t50_1, null);
|
|
193
|
+
suspendResult = this.n50_1.p50_1.f1b(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
194
194
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
195
195
|
return suspendResult;
|
|
196
196
|
}
|
|
@@ -213,20 +213,20 @@ protoOf($collectCOROUTINE$).r8 = function () {
|
|
|
213
213
|
while (true);
|
|
214
214
|
};
|
|
215
215
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
216
|
+
this.c51_1 = $$this$unsafeFlow;
|
|
217
|
+
this.d51_1 = $charset;
|
|
218
|
+
this.e51_1 = $typeInfo;
|
|
219
|
+
this.f51_1 = $content;
|
|
220
220
|
CoroutineImpl.call(this, resultContinuation);
|
|
221
221
|
}
|
|
222
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
223
|
-
var tmp = this.
|
|
222
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).o3b = function (value, $completion) {
|
|
223
|
+
var tmp = this.p3b(value, $completion);
|
|
224
224
|
tmp.l8_1 = Unit_instance;
|
|
225
225
|
tmp.m8_1 = null;
|
|
226
226
|
return tmp.r8();
|
|
227
227
|
};
|
|
228
228
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).d9 = function (p1, $completion) {
|
|
229
|
-
return this.
|
|
229
|
+
return this.o3b((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
230
230
|
};
|
|
231
231
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r8 = function () {
|
|
232
232
|
var suspendResult = this.l8_1;
|
|
@@ -236,11 +236,11 @@ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r8 = functi
|
|
|
236
236
|
switch (tmp) {
|
|
237
237
|
case 0:
|
|
238
238
|
this.k8_1 = 3;
|
|
239
|
-
var tmp0 = this.
|
|
240
|
-
var tmp2 = this.
|
|
241
|
-
this.
|
|
239
|
+
var tmp0 = this.c51_1;
|
|
240
|
+
var tmp2 = this.g51_1;
|
|
241
|
+
this.h51_1 = tmp0;
|
|
242
242
|
this.j8_1 = 1;
|
|
243
|
-
suspendResult = tmp2.
|
|
243
|
+
suspendResult = tmp2.q3b(this.d51_1, this.e51_1, this.f51_1, this);
|
|
244
244
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
245
245
|
return suspendResult;
|
|
246
246
|
}
|
|
@@ -249,7 +249,7 @@ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r8 = functi
|
|
|
249
249
|
case 1:
|
|
250
250
|
var ARGUMENT = suspendResult;
|
|
251
251
|
this.j8_1 = 2;
|
|
252
|
-
suspendResult = this.
|
|
252
|
+
suspendResult = this.h51_1.d1b(ARGUMENT, this);
|
|
253
253
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
254
254
|
return suspendResult;
|
|
255
255
|
}
|
|
@@ -271,23 +271,23 @@ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r8 = functi
|
|
|
271
271
|
}
|
|
272
272
|
while (true);
|
|
273
273
|
};
|
|
274
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
275
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
276
|
-
i.
|
|
274
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).p3b = function (value, completion) {
|
|
275
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.c51_1, this.d51_1, this.e51_1, this.f51_1, completion);
|
|
276
|
+
i.g51_1 = value;
|
|
277
277
|
return i;
|
|
278
278
|
};
|
|
279
279
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
280
280
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
281
281
|
var l = function (value, $completion) {
|
|
282
|
-
return i.
|
|
282
|
+
return i.o3b(value, $completion);
|
|
283
283
|
};
|
|
284
284
|
l.$arity = 1;
|
|
285
285
|
return l;
|
|
286
286
|
}
|
|
287
287
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
288
288
|
CoroutineImpl.call(this, resultContinuation);
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
289
|
+
this.q51_1 = _this__u8e3s4;
|
|
290
|
+
this.r51_1 = collector;
|
|
291
291
|
}
|
|
292
292
|
protoOf($collectCOROUTINE$_0).r8 = function () {
|
|
293
293
|
var suspendResult = this.l8_1;
|
|
@@ -297,10 +297,10 @@ protoOf($collectCOROUTINE$_0).r8 = function () {
|
|
|
297
297
|
switch (tmp) {
|
|
298
298
|
case 0:
|
|
299
299
|
this.k8_1 = 2;
|
|
300
|
-
var $this$unsafeFlow = this.
|
|
300
|
+
var $this$unsafeFlow = this.r51_1;
|
|
301
301
|
this.j8_1 = 1;
|
|
302
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
303
|
-
suspendResult = this.
|
|
302
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.q51_1.t51_1, this.q51_1.u51_1, this.q51_1.v51_1, null);
|
|
303
|
+
suspendResult = this.q51_1.s51_1.f1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
304
304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305
305
|
return suspendResult;
|
|
306
306
|
}
|
|
@@ -325,11 +325,11 @@ protoOf($collectCOROUTINE$_0).r8 = function () {
|
|
|
325
325
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
326
326
|
var tmp;
|
|
327
327
|
if (isInterface(format, StringFormat)) {
|
|
328
|
-
var content = format.
|
|
328
|
+
var content = format.l1t(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
329
329
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
330
330
|
} else {
|
|
331
331
|
if (isInterface(format, BinaryFormat)) {
|
|
332
|
-
var content_0 = format.
|
|
332
|
+
var content_0 = format.n1t(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
333
333
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
334
334
|
} else {
|
|
335
335
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -339,13 +339,13 @@ function serializeContent($this, serializer, format, value, contentType, charset
|
|
|
339
339
|
return tmp;
|
|
340
340
|
}
|
|
341
341
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
342
|
-
this.
|
|
342
|
+
this.w51_1 = function_0;
|
|
343
343
|
}
|
|
344
344
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d1b = function (value, $completion) {
|
|
345
|
-
return this.
|
|
345
|
+
return this.w51_1(value, $completion);
|
|
346
346
|
};
|
|
347
347
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).g3 = function () {
|
|
348
|
-
return this.
|
|
348
|
+
return this.w51_1;
|
|
349
349
|
};
|
|
350
350
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
351
351
|
var tmp;
|
|
@@ -366,13 +366,13 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
|
366
366
|
return hashCode(this.g3());
|
|
367
367
|
};
|
|
368
368
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
369
|
-
this.
|
|
369
|
+
this.x51_1 = function_0;
|
|
370
370
|
}
|
|
371
371
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d1b = function (value, $completion) {
|
|
372
|
-
return this.
|
|
372
|
+
return this.x51_1(value, $completion);
|
|
373
373
|
};
|
|
374
374
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).g3 = function () {
|
|
375
|
-
return this.
|
|
375
|
+
return this.x51_1;
|
|
376
376
|
};
|
|
377
377
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
378
378
|
var tmp;
|
|
@@ -393,11 +393,11 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
|
393
393
|
return hashCode(this.g3());
|
|
394
394
|
};
|
|
395
395
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
396
|
+
this.p50_1 = $this;
|
|
397
|
+
this.q50_1 = $contentType;
|
|
398
|
+
this.r50_1 = $charset;
|
|
399
|
+
this.s50_1 = $typeInfo;
|
|
400
|
+
this.t50_1 = $value;
|
|
401
401
|
}
|
|
402
402
|
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).e1b = function (collector, $completion) {
|
|
403
403
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -411,14 +411,14 @@ protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).f1b = function (
|
|
|
411
411
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
412
412
|
CoroutineImpl.call(this, resultContinuation);
|
|
413
413
|
}
|
|
414
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
415
|
-
var tmp = this.
|
|
414
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).h52 = function (it, $completion) {
|
|
415
|
+
var tmp = this.i52(it, $completion);
|
|
416
416
|
tmp.l8_1 = Unit_instance;
|
|
417
417
|
tmp.m8_1 = null;
|
|
418
418
|
return tmp.r8();
|
|
419
419
|
};
|
|
420
420
|
protoOf(KotlinxSerializationConverter$serialize$slambda).d9 = function (p1, $completion) {
|
|
421
|
-
return this.
|
|
421
|
+
return this.h52((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
422
422
|
};
|
|
423
423
|
protoOf(KotlinxSerializationConverter$serialize$slambda).r8 = function () {
|
|
424
424
|
var suspendResult = this.l8_1;
|
|
@@ -427,7 +427,7 @@ protoOf(KotlinxSerializationConverter$serialize$slambda).r8 = function () {
|
|
|
427
427
|
var tmp = this.j8_1;
|
|
428
428
|
if (tmp === 0) {
|
|
429
429
|
this.k8_1 = 1;
|
|
430
|
-
return !(this.
|
|
430
|
+
return !(this.g52_1 == null);
|
|
431
431
|
} else if (tmp === 1) {
|
|
432
432
|
throw this.m8_1;
|
|
433
433
|
}
|
|
@@ -437,24 +437,24 @@ protoOf(KotlinxSerializationConverter$serialize$slambda).r8 = function () {
|
|
|
437
437
|
}
|
|
438
438
|
while (true);
|
|
439
439
|
};
|
|
440
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
440
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).i52 = function (it, completion) {
|
|
441
441
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
442
|
-
i.
|
|
442
|
+
i.g52_1 = it;
|
|
443
443
|
return i;
|
|
444
444
|
};
|
|
445
445
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
446
446
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
447
447
|
var l = function (it, $completion) {
|
|
448
|
-
return i.
|
|
448
|
+
return i.h52(it, $completion);
|
|
449
449
|
};
|
|
450
450
|
l.$arity = 1;
|
|
451
451
|
return l;
|
|
452
452
|
}
|
|
453
453
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
454
|
-
this.
|
|
455
|
-
this.
|
|
456
|
-
this.
|
|
457
|
-
this.
|
|
454
|
+
this.s51_1 = $this;
|
|
455
|
+
this.t51_1 = $charset;
|
|
456
|
+
this.u51_1 = $typeInfo;
|
|
457
|
+
this.v51_1 = $content;
|
|
458
458
|
}
|
|
459
459
|
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).e1b = function (collector, $completion) {
|
|
460
460
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -466,17 +466,17 @@ protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).f1b = function
|
|
|
466
466
|
return this.e1b(collector, $completion);
|
|
467
467
|
};
|
|
468
468
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
469
|
-
this.
|
|
469
|
+
this.r52_1 = $content;
|
|
470
470
|
CoroutineImpl.call(this, resultContinuation);
|
|
471
471
|
}
|
|
472
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
473
|
-
var tmp = this.
|
|
472
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).p3c = function (it, $completion) {
|
|
473
|
+
var tmp = this.p3b(it, $completion);
|
|
474
474
|
tmp.l8_1 = Unit_instance;
|
|
475
475
|
tmp.m8_1 = null;
|
|
476
476
|
return tmp.r8();
|
|
477
477
|
};
|
|
478
478
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).d9 = function (p1, $completion) {
|
|
479
|
-
return this.
|
|
479
|
+
return this.p3c((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
480
480
|
};
|
|
481
481
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).r8 = function () {
|
|
482
482
|
var suspendResult = this.l8_1;
|
|
@@ -485,7 +485,7 @@ protoOf(KotlinxSerializationConverter$deserialize$slambda).r8 = function () {
|
|
|
485
485
|
var tmp = this.j8_1;
|
|
486
486
|
if (tmp === 0) {
|
|
487
487
|
this.k8_1 = 1;
|
|
488
|
-
return !(this.
|
|
488
|
+
return !(this.s52_1 == null) || this.r52_1.z1g();
|
|
489
489
|
} else if (tmp === 1) {
|
|
490
490
|
throw this.m8_1;
|
|
491
491
|
}
|
|
@@ -495,26 +495,26 @@ protoOf(KotlinxSerializationConverter$deserialize$slambda).r8 = function () {
|
|
|
495
495
|
}
|
|
496
496
|
while (true);
|
|
497
497
|
};
|
|
498
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
499
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
500
|
-
i.
|
|
498
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).p3b = function (it, completion) {
|
|
499
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.r52_1, completion);
|
|
500
|
+
i.s52_1 = it;
|
|
501
501
|
return i;
|
|
502
502
|
};
|
|
503
503
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
504
504
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
505
505
|
var l = function (it, $completion) {
|
|
506
|
-
return i.
|
|
506
|
+
return i.p3c(it, $completion);
|
|
507
507
|
};
|
|
508
508
|
l.$arity = 1;
|
|
509
509
|
return l;
|
|
510
510
|
}
|
|
511
511
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
512
512
|
CoroutineImpl.call(this, resultContinuation);
|
|
513
|
-
this.
|
|
514
|
-
this.
|
|
515
|
-
this.
|
|
516
|
-
this.
|
|
517
|
-
this.
|
|
513
|
+
this.b53_1 = _this__u8e3s4;
|
|
514
|
+
this.c53_1 = contentType;
|
|
515
|
+
this.d53_1 = charset;
|
|
516
|
+
this.e53_1 = typeInfo;
|
|
517
|
+
this.f53_1 = value;
|
|
518
518
|
}
|
|
519
519
|
protoOf($serializeCOROUTINE$).r8 = function () {
|
|
520
520
|
var suspendResult = this.l8_1;
|
|
@@ -525,8 +525,8 @@ protoOf($serializeCOROUTINE$).r8 = function () {
|
|
|
525
525
|
case 0:
|
|
526
526
|
this.k8_1 = 2;
|
|
527
527
|
this.j8_1 = 1;
|
|
528
|
-
var this_0 = asFlow(this.
|
|
529
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
528
|
+
var this_0 = asFlow(this.b53_1.h53_1);
|
|
529
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.c53_1, this.d53_1, this.e53_1, this.f53_1);
|
|
530
530
|
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
531
531
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
532
532
|
return suspendResult;
|
|
@@ -539,12 +539,12 @@ protoOf($serializeCOROUTINE$).r8 = function () {
|
|
|
539
539
|
return fromExtension;
|
|
540
540
|
var tmp_1;
|
|
541
541
|
try {
|
|
542
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
542
|
+
tmp_1 = serializerForTypeInfo(this.b53_1.g53_1.p1s(), this.e53_1);
|
|
543
543
|
} catch ($p) {
|
|
544
544
|
var tmp_2;
|
|
545
545
|
if ($p instanceof SerializationException) {
|
|
546
546
|
var cause = $p;
|
|
547
|
-
tmp_2 = guessSerializer(this.
|
|
547
|
+
tmp_2 = guessSerializer(this.f53_1, this.b53_1.g53_1.p1s());
|
|
548
548
|
} else {
|
|
549
549
|
throw $p;
|
|
550
550
|
}
|
|
@@ -552,7 +552,7 @@ protoOf($serializeCOROUTINE$).r8 = function () {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
var serializer = tmp_1;
|
|
555
|
-
return serializeContent(this.
|
|
555
|
+
return serializeContent(this.b53_1, serializer, this.b53_1.g53_1, this.f53_1, this.c53_1, this.d53_1);
|
|
556
556
|
case 2:
|
|
557
557
|
throw this.m8_1;
|
|
558
558
|
}
|
|
@@ -569,10 +569,10 @@ protoOf($serializeCOROUTINE$).r8 = function () {
|
|
|
569
569
|
};
|
|
570
570
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
571
571
|
CoroutineImpl.call(this, resultContinuation);
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
572
|
+
this.q53_1 = _this__u8e3s4;
|
|
573
|
+
this.r53_1 = charset;
|
|
574
|
+
this.s53_1 = typeInfo;
|
|
575
|
+
this.t53_1 = content;
|
|
576
576
|
}
|
|
577
577
|
protoOf($deserializeCOROUTINE$).r8 = function () {
|
|
578
578
|
var suspendResult = this.l8_1;
|
|
@@ -583,9 +583,9 @@ protoOf($deserializeCOROUTINE$).r8 = function () {
|
|
|
583
583
|
case 0:
|
|
584
584
|
this.k8_1 = 4;
|
|
585
585
|
this.j8_1 = 1;
|
|
586
|
-
var this_0 = asFlow(this.
|
|
587
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
588
|
-
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
586
|
+
var this_0 = asFlow(this.q53_1.h53_1);
|
|
587
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.r53_1, this.s53_1, this.t53_1);
|
|
588
|
+
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.t53_1, null), this);
|
|
589
589
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
590
590
|
return suspendResult;
|
|
591
591
|
}
|
|
@@ -594,17 +594,17 @@ protoOf($deserializeCOROUTINE$).r8 = function () {
|
|
|
594
594
|
case 1:
|
|
595
595
|
var fromExtension = suspendResult;
|
|
596
596
|
var tmp_1;
|
|
597
|
-
if (!this.
|
|
598
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
597
|
+
if (!this.q53_1.h53_1.r()) {
|
|
598
|
+
tmp_1 = !(fromExtension == null) || this.t53_1.z1g();
|
|
599
599
|
} else {
|
|
600
600
|
tmp_1 = false;
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
if (tmp_1)
|
|
604
604
|
return fromExtension;
|
|
605
|
-
this.
|
|
605
|
+
this.u53_1 = serializerForTypeInfo(this.q53_1.g53_1.p1s(), this.s53_1);
|
|
606
606
|
this.j8_1 = 2;
|
|
607
|
-
suspendResult = readRemaining(this.
|
|
607
|
+
suspendResult = readRemaining(this.t53_1, this);
|
|
608
608
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
609
609
|
return suspendResult;
|
|
610
610
|
}
|
|
@@ -613,16 +613,16 @@ protoOf($deserializeCOROUTINE$).r8 = function () {
|
|
|
613
613
|
case 2:
|
|
614
614
|
var contentPacket = suspendResult;
|
|
615
615
|
this.k8_1 = 3;
|
|
616
|
-
var tmp0_subject = this.
|
|
616
|
+
var tmp0_subject = this.q53_1.g53_1;
|
|
617
617
|
var tmp_2;
|
|
618
618
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
619
|
-
tmp_2 = this.
|
|
619
|
+
tmp_2 = this.q53_1.g53_1.m1t(this.u53_1, readText(contentPacket, this.r53_1));
|
|
620
620
|
} else {
|
|
621
621
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
622
|
-
tmp_2 = this.
|
|
622
|
+
tmp_2 = this.q53_1.g53_1.o1t(this.u53_1, readByteArray(contentPacket));
|
|
623
623
|
} else {
|
|
624
624
|
discard(contentPacket);
|
|
625
|
-
var message = 'Unsupported format ' + toString(this.
|
|
625
|
+
var message = 'Unsupported format ' + toString(this.q53_1.g53_1);
|
|
626
626
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
627
627
|
}
|
|
628
628
|
}
|
|
@@ -653,32 +653,32 @@ protoOf($deserializeCOROUTINE$).r8 = function () {
|
|
|
653
653
|
while (true);
|
|
654
654
|
};
|
|
655
655
|
function KotlinxSerializationConverter(format) {
|
|
656
|
-
this.
|
|
657
|
-
this.
|
|
656
|
+
this.g53_1 = format;
|
|
657
|
+
this.h53_1 = extensions(this.g53_1);
|
|
658
658
|
var tmp;
|
|
659
|
-
var tmp_0 = this.
|
|
659
|
+
var tmp_0 = this.g53_1;
|
|
660
660
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
661
661
|
tmp = true;
|
|
662
662
|
} else {
|
|
663
|
-
var tmp_1 = this.
|
|
663
|
+
var tmp_1 = this.g53_1;
|
|
664
664
|
tmp = isInterface(tmp_1, StringFormat);
|
|
665
665
|
}
|
|
666
666
|
// Inline function 'kotlin.require' call
|
|
667
667
|
if (!tmp) {
|
|
668
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
668
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.g53_1) + ' is not supported.';
|
|
669
669
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
|
-
protoOf(KotlinxSerializationConverter).
|
|
672
|
+
protoOf(KotlinxSerializationConverter).v53 = function (contentType, charset, typeInfo, value, $completion) {
|
|
673
673
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
674
674
|
tmp.l8_1 = Unit_instance;
|
|
675
675
|
tmp.m8_1 = null;
|
|
676
676
|
return tmp.r8();
|
|
677
677
|
};
|
|
678
|
-
protoOf(KotlinxSerializationConverter).
|
|
679
|
-
return this.
|
|
678
|
+
protoOf(KotlinxSerializationConverter).k4o = function (contentType, charset, typeInfo, value, $completion) {
|
|
679
|
+
return this.v53(contentType, charset, typeInfo, value, $completion);
|
|
680
680
|
};
|
|
681
|
-
protoOf(KotlinxSerializationConverter).
|
|
681
|
+
protoOf(KotlinxSerializationConverter).q3b = function (charset, typeInfo, content, $completion) {
|
|
682
682
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
683
683
|
tmp.l8_1 = Unit_instance;
|
|
684
684
|
tmp.m8_1 = null;
|
|
@@ -686,7 +686,7 @@ protoOf(KotlinxSerializationConverter).m3b = function (charset, typeInfo, conten
|
|
|
686
686
|
};
|
|
687
687
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
688
688
|
var module_0 = _this__u8e3s4;
|
|
689
|
-
var tmp0_safe_receiver = typeInfo.
|
|
689
|
+
var tmp0_safe_receiver = typeInfo.p2i_1;
|
|
690
690
|
var tmp;
|
|
691
691
|
if (tmp0_safe_receiver == null) {
|
|
692
692
|
tmp = null;
|
|
@@ -703,13 +703,13 @@ function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
|
703
703
|
var tmp1_elvis_lhs = tmp;
|
|
704
704
|
var tmp_1;
|
|
705
705
|
if (tmp1_elvis_lhs == null) {
|
|
706
|
-
var tmp2_safe_receiver = module_0.
|
|
706
|
+
var tmp2_safe_receiver = module_0.s1t(typeInfo.o2i_1);
|
|
707
707
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
708
708
|
} else {
|
|
709
709
|
tmp_1 = tmp1_elvis_lhs;
|
|
710
710
|
}
|
|
711
711
|
var tmp3_elvis_lhs = tmp_1;
|
|
712
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
712
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.o2i_1), typeInfo) : tmp3_elvis_lhs;
|
|
713
713
|
}
|
|
714
714
|
function guessSerializer(value, module_0) {
|
|
715
715
|
var tmp;
|
|
@@ -739,7 +739,7 @@ function guessSerializer(value, module_0) {
|
|
|
739
739
|
var valueSerializer = elementSerializer(value.w2(), module_0);
|
|
740
740
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
741
741
|
} else {
|
|
742
|
-
var tmp3_elvis_lhs = module_0.
|
|
742
|
+
var tmp3_elvis_lhs = module_0.s1t(getKClassFromExpression(value));
|
|
743
743
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
744
744
|
}
|
|
745
745
|
}
|
|
@@ -751,7 +751,7 @@ function guessSerializer(value, module_0) {
|
|
|
751
751
|
}
|
|
752
752
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
753
753
|
var tmp;
|
|
754
|
-
var tmp0_safe_receiver = typeInfo.
|
|
754
|
+
var tmp0_safe_receiver = typeInfo.p2i_1;
|
|
755
755
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
756
756
|
tmp = get_nullable(_this__u8e3s4);
|
|
757
757
|
} else {
|
|
@@ -776,7 +776,7 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
776
776
|
var _iterator__ex2g4s_0 = destination.t();
|
|
777
777
|
while (_iterator__ex2g4s_0.u()) {
|
|
778
778
|
var e = _iterator__ex2g4s_0.v();
|
|
779
|
-
var key = e.
|
|
779
|
+
var key = e.e1s().j1t();
|
|
780
780
|
if (set.e1(key)) {
|
|
781
781
|
list.e1(e);
|
|
782
782
|
}
|
|
@@ -789,7 +789,7 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
789
789
|
var _iterator__ex2g4s_1 = serializers.t();
|
|
790
790
|
while (_iterator__ex2g4s_1.u()) {
|
|
791
791
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
792
|
-
var tmp$ret$5 = item_0.
|
|
792
|
+
var tmp$ret$5 = item_0.e1s().j1t();
|
|
793
793
|
destination_0.e1(tmp$ret$5);
|
|
794
794
|
}
|
|
795
795
|
// Inline function 'kotlin.error' call
|
|
@@ -798,7 +798,7 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
798
798
|
}
|
|
799
799
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
800
800
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
801
|
-
if (selected.
|
|
801
|
+
if (selected.e1s().v1t()) {
|
|
802
802
|
return selected;
|
|
803
803
|
}
|
|
804
804
|
if (!isInterface(selected, KSerializer))
|