@icure/cardinal-sdk 2.0.0-PREVIEW-10 → 2.0.0-PREVIEW-13
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/Kermit-kermit-core.mjs +42 -42
- package/Kermit-kermit.mjs +8 -8
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +3919 -3777
- package/KotlinBigInteger-bignum.mjs +1434 -1470
- package/api/AnonymousHealthcarePartyApi.d.mts +2 -2
- package/cardinal-sdk-ts.d.mts +338 -100
- package/cardinal-sdk-ts.mjs +56590 -56248
- package/cardinal-sdk.mjs +126945 -106218
- package/kerberus.mjs +381 -381
- package/kotlin-kotlin-stdlib.mjs +3412 -2764
- package/kotlinx-atomicfu.mjs +14 -14
- package/kotlinx-coroutines-core.mjs +2690 -2687
- package/kotlinx-io-kotlinx-io-bytestring.mjs +47 -47
- package/kotlinx-io-kotlinx-io-core.mjs +539 -539
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +2149 -2111
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +2047 -2029
- package/kryptom-lib.mjs +2065 -2081
- package/ktor-ktor-client-content-negotiation.mjs +217 -217
- package/ktor-ktor-client-core.mjs +2997 -2993
- package/ktor-ktor-events.mjs +8 -8
- package/ktor-ktor-http-cio.mjs +538 -537
- package/ktor-ktor-http.mjs +799 -927
- package/ktor-ktor-io.mjs +1079 -1079
- package/ktor-ktor-serialization-kotlinx-json.mjs +10 -10
- package/ktor-ktor-serialization-kotlinx.mjs +270 -270
- package/ktor-ktor-serialization.mjs +129 -129
- package/ktor-ktor-utils.mjs +614 -600
- package/ktor-ktor-websockets.mjs +751 -750
- package/model.d.mts +0 -1
- package/model.mjs +0 -1
- package/package.json +2 -3
- package/ktor-ktor-client-ktor-client-core.mjs +0 -8986
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs +0 -756
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs +0 -2
- package/ktor-ktor-http-ktor-http-cio.mjs +0 -1996
- package/ktor-ktor-shared-ktor-events.mjs +0 -79
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs +0 -44
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs +0 -857
- package/ktor-ktor-shared-ktor-serialization.mjs +0 -371
- package/ktor-ktor-shared-ktor-sse.mjs +0 -2
- package/ktor-ktor-shared-ktor-websocket-serialization.mjs +0 -2
- package/ktor-ktor-shared-ktor-websockets.mjs +0 -2334
- package/model/UserAndHealthcareParty.d.mts +0 -7
- package/model/UserAndHealthcareParty.mjs +0 -6
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ArrayList_init_$Create$
|
|
3
|
-
|
|
2
|
+
ArrayList_init_$Create$149jv2ovkkvnt as ArrayList_init_$Create$,
|
|
3
|
+
Unit_instance1fbcbse1fwigr as Unit_instance,
|
|
4
4
|
CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
|
|
5
5
|
protoOf180f3jzyo7rfj as protoOf,
|
|
6
6
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
7
7
|
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
|
|
8
8
|
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
9
|
-
|
|
9
|
+
VOID3gxj6tk5isa35 as VOID,
|
|
10
10
|
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
|
|
11
11
|
toString1pkumu07cwy4m as toString,
|
|
12
|
-
IllegalStateException_init_$Create$
|
|
12
|
+
IllegalStateException_init_$Create$2w9444nebyjns as IllegalStateException_init_$Create$,
|
|
13
13
|
isInterface3d6p8outrmvmk as isInterface,
|
|
14
14
|
equals2au1ep9vhcato as equals,
|
|
15
15
|
FunctionAdapter3lcrrz3moet5b as FunctionAdapter,
|
|
16
16
|
hashCodeq5arwsb9dgti as hashCode,
|
|
17
17
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
18
|
-
IllegalArgumentException_init_$Create$
|
|
18
|
+
IllegalArgumentException_init_$Create$3ewkh27kzt8z8 as IllegalArgumentException_init_$Create$,
|
|
19
19
|
getKClassFromExpression3vpejubogshaw as getKClassFromExpression,
|
|
20
20
|
KtMap140uvy3s5zad8 as KtMap,
|
|
21
21
|
KtSetjrjc7fhfd6b9 as KtSet,
|
|
22
22
|
firstOrNull1gk7vzkf4h3nq as firstOrNull,
|
|
23
|
-
|
|
23
|
+
StringCompanionObject_instance3alxothmy382k as StringCompanionObject_instance,
|
|
24
24
|
isArray1hxjqtqy632bc as isArray,
|
|
25
25
|
KtList3hktaavzmj137 as KtList,
|
|
26
26
|
filterNotNull3qfgcwmxhwfxe as filterNotNull,
|
|
27
27
|
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
28
|
-
ArrayList_init_$Create$
|
|
29
|
-
HashSet_init_$Create$
|
|
28
|
+
ArrayList_init_$Create$3bxttkj3v1mea as ArrayList_init_$Create$_0,
|
|
29
|
+
HashSet_init_$Create$3vvk876hypkbb as HashSet_init_$Create$,
|
|
30
30
|
singleOrNullrknfaxokm1sl as singleOrNull,
|
|
31
31
|
Collection1k04j3hzsbod0 as Collection,
|
|
32
32
|
emptyList1g2z5xcrvp2zy as emptyList,
|
|
@@ -53,10 +53,10 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
FlowCollector26clgpmzihvke as FlowCollector,
|
|
55
55
|
asFlow3ngsnn5xpz8pw as asFlow,
|
|
56
|
-
|
|
56
|
+
firstOrNull3jjcu7fygcopr as firstOrNull_0,
|
|
57
57
|
} from './kotlinx-coroutines-core.mjs';
|
|
58
58
|
import {
|
|
59
|
-
|
|
59
|
+
readRemaining1x8kk1vq7p6gm as readRemaining,
|
|
60
60
|
discard3ugntd47xyll6 as discard,
|
|
61
61
|
readText27783kyxjxi1g as readText,
|
|
62
62
|
} from './ktor-ktor-io.mjs';
|
|
@@ -66,17 +66,17 @@ import { JsonConvertExceptiongnc5x6xwaf77 as JsonConvertException } from './ktor
|
|
|
66
66
|
//endregion
|
|
67
67
|
//region block: pre-declaration
|
|
68
68
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
69
|
-
initMetadataForCoroutine($collectCOROUTINE
|
|
69
|
+
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
70
70
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
71
|
-
initMetadataForCoroutine($collectCOROUTINE$
|
|
71
|
+
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
72
72
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
73
73
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
74
74
|
initMetadataForClass(KotlinxSerializationConverter$serialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
75
75
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$slambda, CoroutineImpl, VOID, [1]);
|
|
76
76
|
initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
77
77
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
|
|
78
|
-
initMetadataForCoroutine($serializeCOROUTINE
|
|
79
|
-
initMetadataForCoroutine($deserializeCOROUTINE
|
|
78
|
+
initMetadataForCoroutine($serializeCOROUTINE$, CoroutineImpl);
|
|
79
|
+
initMetadataForCoroutine($deserializeCOROUTINE$, CoroutineImpl);
|
|
80
80
|
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, VOID, [4, 3]);
|
|
81
81
|
//endregion
|
|
82
82
|
function extensions(format) {
|
|
@@ -88,7 +88,7 @@ function extensions(format) {
|
|
|
88
88
|
var _iterator__ex2g4s = tmp0.q();
|
|
89
89
|
while (_iterator__ex2g4s.r()) {
|
|
90
90
|
var element = _iterator__ex2g4s.s();
|
|
91
|
-
var tmp0_safe_receiver = element.
|
|
91
|
+
var tmp0_safe_receiver = element.t50(format);
|
|
92
92
|
if (tmp0_safe_receiver == null)
|
|
93
93
|
null;
|
|
94
94
|
else {
|
|
@@ -99,53 +99,53 @@ function extensions(format) {
|
|
|
99
99
|
return destination;
|
|
100
100
|
}
|
|
101
101
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
102
|
-
_this__u8e3s4.
|
|
102
|
+
_this__u8e3s4.h3n(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.c51_1 = $$this$unsafeFlow;
|
|
106
|
+
this.d51_1 = $contentType;
|
|
107
|
+
this.e51_1 = $charset;
|
|
108
|
+
this.f51_1 = $typeInfo;
|
|
109
|
+
this.g51_1 = $value;
|
|
110
110
|
CoroutineImpl.call(this, resultContinuation);
|
|
111
111
|
}
|
|
112
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
113
|
-
var tmp = this.
|
|
114
|
-
tmp.
|
|
115
|
-
tmp.
|
|
116
|
-
return tmp.
|
|
112
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).d3o = function (value, $completion) {
|
|
113
|
+
var tmp = this.e3o(value, $completion);
|
|
114
|
+
tmp.n9_1 = Unit_instance;
|
|
115
|
+
tmp.o9_1 = null;
|
|
116
|
+
return tmp.t9();
|
|
117
117
|
};
|
|
118
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
119
|
-
return this.
|
|
118
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).ha = function (p1, $completion) {
|
|
119
|
+
return this.d3o((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
120
120
|
};
|
|
121
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
122
|
-
var suspendResult = this.
|
|
121
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).t9 = function () {
|
|
122
|
+
var suspendResult = this.n9_1;
|
|
123
123
|
$sm: do
|
|
124
124
|
try {
|
|
125
|
-
var tmp = this.
|
|
125
|
+
var tmp = this.l9_1;
|
|
126
126
|
switch (tmp) {
|
|
127
127
|
case 0:
|
|
128
|
-
this.
|
|
128
|
+
this.m9_1 = 3;
|
|
129
129
|
var tmp_0 = this;
|
|
130
|
-
tmp_0.
|
|
130
|
+
tmp_0.i51_1 = this.c51_1;
|
|
131
131
|
var tmp_1 = this;
|
|
132
|
-
tmp_1.
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
132
|
+
tmp_1.j51_1 = this.h51_1;
|
|
133
|
+
this.k51_1 = this.i51_1;
|
|
134
|
+
this.l51_1 = this.j51_1;
|
|
135
135
|
var tmp_2 = this;
|
|
136
|
-
tmp_2.
|
|
137
|
-
this.
|
|
138
|
-
this.
|
|
139
|
-
suspendResult = this.
|
|
136
|
+
tmp_2.m51_1 = this.l51_1;
|
|
137
|
+
this.n51_1 = this.m51_1;
|
|
138
|
+
this.l9_1 = 1;
|
|
139
|
+
suspendResult = this.n51_1.s50(this.d51_1, this.e51_1, this.f51_1, this.g51_1, this);
|
|
140
140
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
141
141
|
return suspendResult;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
continue $sm;
|
|
145
145
|
case 1:
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
suspendResult = this.
|
|
146
|
+
this.o51_1 = suspendResult;
|
|
147
|
+
this.l9_1 = 2;
|
|
148
|
+
suspendResult = this.k51_1.w1d(this.o51_1, this);
|
|
149
149
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
150
150
|
return suspendResult;
|
|
151
151
|
}
|
|
@@ -154,51 +154,51 @@ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).s9 = function
|
|
|
154
154
|
case 2:
|
|
155
155
|
return Unit_instance;
|
|
156
156
|
case 3:
|
|
157
|
-
throw this.
|
|
157
|
+
throw this.o9_1;
|
|
158
158
|
}
|
|
159
159
|
} catch ($p) {
|
|
160
160
|
var e = $p;
|
|
161
|
-
if (this.
|
|
161
|
+
if (this.m9_1 === 3) {
|
|
162
162
|
throw e;
|
|
163
163
|
} else {
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
164
|
+
this.l9_1 = this.m9_1;
|
|
165
|
+
this.o9_1 = e;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
while (true);
|
|
169
169
|
};
|
|
170
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
171
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
172
|
-
i.
|
|
170
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).e3o = function (value, completion) {
|
|
171
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.c51_1, this.d51_1, this.e51_1, this.f51_1, this.g51_1, completion);
|
|
172
|
+
i.h51_1 = value;
|
|
173
173
|
return i;
|
|
174
174
|
};
|
|
175
175
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
176
176
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
177
177
|
var l = function (value, $completion) {
|
|
178
|
-
return i.
|
|
178
|
+
return i.d3o(value, $completion);
|
|
179
179
|
};
|
|
180
180
|
l.$arity = 1;
|
|
181
181
|
return l;
|
|
182
182
|
}
|
|
183
|
-
function $collectCOROUTINE$
|
|
183
|
+
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
184
184
|
CoroutineImpl.call(this, resultContinuation);
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
185
|
+
this.x51_1 = _this__u8e3s4;
|
|
186
|
+
this.y51_1 = collector;
|
|
187
187
|
}
|
|
188
|
-
protoOf($collectCOROUTINE$
|
|
189
|
-
var suspendResult = this.
|
|
188
|
+
protoOf($collectCOROUTINE$).t9 = function () {
|
|
189
|
+
var suspendResult = this.n9_1;
|
|
190
190
|
$sm: do
|
|
191
191
|
try {
|
|
192
|
-
var tmp = this.
|
|
192
|
+
var tmp = this.l9_1;
|
|
193
193
|
switch (tmp) {
|
|
194
194
|
case 0:
|
|
195
|
-
this.
|
|
195
|
+
this.m9_1 = 2;
|
|
196
196
|
var tmp_0 = this;
|
|
197
|
-
tmp_0.
|
|
198
|
-
this.
|
|
199
|
-
this.
|
|
200
|
-
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.
|
|
201
|
-
suspendResult = this.
|
|
197
|
+
tmp_0.z51_1 = this.y51_1;
|
|
198
|
+
this.a52_1 = this.z51_1;
|
|
199
|
+
this.l9_1 = 1;
|
|
200
|
+
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.a52_1, this.x51_1.c52_1, this.x51_1.d52_1, this.x51_1.e52_1, this.x51_1.f52_1, null);
|
|
201
|
+
suspendResult = this.x51_1.b52_1.c1d(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
202
202
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
203
203
|
return suspendResult;
|
|
204
204
|
}
|
|
@@ -207,63 +207,63 @@ protoOf($collectCOROUTINE$2).s9 = function () {
|
|
|
207
207
|
case 1:
|
|
208
208
|
return Unit_instance;
|
|
209
209
|
case 2:
|
|
210
|
-
throw this.
|
|
210
|
+
throw this.o9_1;
|
|
211
211
|
}
|
|
212
212
|
} catch ($p) {
|
|
213
213
|
var e = $p;
|
|
214
|
-
if (this.
|
|
214
|
+
if (this.m9_1 === 2) {
|
|
215
215
|
throw e;
|
|
216
216
|
} else {
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
217
|
+
this.l9_1 = this.m9_1;
|
|
218
|
+
this.o9_1 = e;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
while (true);
|
|
222
222
|
};
|
|
223
223
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
224
|
+
this.o52_1 = $$this$unsafeFlow;
|
|
225
|
+
this.p52_1 = $charset;
|
|
226
|
+
this.q52_1 = $typeInfo;
|
|
227
|
+
this.r52_1 = $content;
|
|
228
228
|
CoroutineImpl.call(this, resultContinuation);
|
|
229
229
|
}
|
|
230
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
231
|
-
var tmp = this.
|
|
232
|
-
tmp.
|
|
233
|
-
tmp.
|
|
234
|
-
return tmp.
|
|
230
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).d3o = function (value, $completion) {
|
|
231
|
+
var tmp = this.e3o(value, $completion);
|
|
232
|
+
tmp.n9_1 = Unit_instance;
|
|
233
|
+
tmp.o9_1 = null;
|
|
234
|
+
return tmp.t9();
|
|
235
235
|
};
|
|
236
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
237
|
-
return this.
|
|
236
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).ha = function (p1, $completion) {
|
|
237
|
+
return this.d3o((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
238
238
|
};
|
|
239
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
240
|
-
var suspendResult = this.
|
|
239
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).t9 = function () {
|
|
240
|
+
var suspendResult = this.n9_1;
|
|
241
241
|
$sm: do
|
|
242
242
|
try {
|
|
243
|
-
var tmp = this.
|
|
243
|
+
var tmp = this.l9_1;
|
|
244
244
|
switch (tmp) {
|
|
245
245
|
case 0:
|
|
246
|
-
this.
|
|
246
|
+
this.m9_1 = 3;
|
|
247
247
|
var tmp_0 = this;
|
|
248
|
-
tmp_0.
|
|
248
|
+
tmp_0.t52_1 = this.o52_1;
|
|
249
249
|
var tmp_1 = this;
|
|
250
|
-
tmp_1.
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
250
|
+
tmp_1.u52_1 = this.s52_1;
|
|
251
|
+
this.v52_1 = this.t52_1;
|
|
252
|
+
this.w52_1 = this.u52_1;
|
|
253
253
|
var tmp_2 = this;
|
|
254
|
-
tmp_2.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
suspendResult = this.
|
|
254
|
+
tmp_2.x52_1 = this.w52_1;
|
|
255
|
+
this.y52_1 = this.x52_1;
|
|
256
|
+
this.l9_1 = 1;
|
|
257
|
+
suspendResult = this.y52_1.f3o(this.p52_1, this.q52_1, this.r52_1, this);
|
|
258
258
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
259
259
|
return suspendResult;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
continue $sm;
|
|
263
263
|
case 1:
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
266
|
-
suspendResult = this.
|
|
264
|
+
this.z52_1 = suspendResult;
|
|
265
|
+
this.l9_1 = 2;
|
|
266
|
+
suspendResult = this.v52_1.w1d(this.z52_1, this);
|
|
267
267
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
268
268
|
return suspendResult;
|
|
269
269
|
}
|
|
@@ -272,51 +272,51 @@ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).s9 = functi
|
|
|
272
272
|
case 2:
|
|
273
273
|
return Unit_instance;
|
|
274
274
|
case 3:
|
|
275
|
-
throw this.
|
|
275
|
+
throw this.o9_1;
|
|
276
276
|
}
|
|
277
277
|
} catch ($p) {
|
|
278
278
|
var e = $p;
|
|
279
|
-
if (this.
|
|
279
|
+
if (this.m9_1 === 3) {
|
|
280
280
|
throw e;
|
|
281
281
|
} else {
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
282
|
+
this.l9_1 = this.m9_1;
|
|
283
|
+
this.o9_1 = e;
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
while (true);
|
|
287
287
|
};
|
|
288
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
289
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
290
|
-
i.
|
|
288
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).e3o = function (value, completion) {
|
|
289
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.o52_1, this.p52_1, this.q52_1, this.r52_1, completion);
|
|
290
|
+
i.s52_1 = value;
|
|
291
291
|
return i;
|
|
292
292
|
};
|
|
293
293
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
294
294
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
295
295
|
var l = function (value, $completion) {
|
|
296
|
-
return i.
|
|
296
|
+
return i.d3o(value, $completion);
|
|
297
297
|
};
|
|
298
298
|
l.$arity = 1;
|
|
299
299
|
return l;
|
|
300
300
|
}
|
|
301
|
-
function $collectCOROUTINE$
|
|
301
|
+
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
302
302
|
CoroutineImpl.call(this, resultContinuation);
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
303
|
+
this.i53_1 = _this__u8e3s4;
|
|
304
|
+
this.j53_1 = collector;
|
|
305
305
|
}
|
|
306
|
-
protoOf($collectCOROUTINE$
|
|
307
|
-
var suspendResult = this.
|
|
306
|
+
protoOf($collectCOROUTINE$_0).t9 = function () {
|
|
307
|
+
var suspendResult = this.n9_1;
|
|
308
308
|
$sm: do
|
|
309
309
|
try {
|
|
310
|
-
var tmp = this.
|
|
310
|
+
var tmp = this.l9_1;
|
|
311
311
|
switch (tmp) {
|
|
312
312
|
case 0:
|
|
313
|
-
this.
|
|
313
|
+
this.m9_1 = 2;
|
|
314
314
|
var tmp_0 = this;
|
|
315
|
-
tmp_0.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
319
|
-
suspendResult = this.
|
|
315
|
+
tmp_0.k53_1 = this.j53_1;
|
|
316
|
+
this.l53_1 = this.k53_1;
|
|
317
|
+
this.l9_1 = 1;
|
|
318
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.l53_1, this.i53_1.n53_1, this.i53_1.o53_1, this.i53_1.p53_1, null);
|
|
319
|
+
suspendResult = this.i53_1.m53_1.c1d(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
320
320
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
321
321
|
return suspendResult;
|
|
322
322
|
}
|
|
@@ -325,15 +325,15 @@ protoOf($collectCOROUTINE$3).s9 = function () {
|
|
|
325
325
|
case 1:
|
|
326
326
|
return Unit_instance;
|
|
327
327
|
case 2:
|
|
328
|
-
throw this.
|
|
328
|
+
throw this.o9_1;
|
|
329
329
|
}
|
|
330
330
|
} catch ($p) {
|
|
331
331
|
var e = $p;
|
|
332
|
-
if (this.
|
|
332
|
+
if (this.m9_1 === 2) {
|
|
333
333
|
throw e;
|
|
334
334
|
} else {
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
335
|
+
this.l9_1 = this.m9_1;
|
|
336
|
+
this.o9_1 = e;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
while (true);
|
|
@@ -341,11 +341,11 @@ protoOf($collectCOROUTINE$3).s9 = function () {
|
|
|
341
341
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
342
342
|
var tmp;
|
|
343
343
|
if (isInterface(format, StringFormat)) {
|
|
344
|
-
var content = format.
|
|
344
|
+
var content = format.n23(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
345
345
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
346
346
|
} else {
|
|
347
347
|
if (isInterface(format, BinaryFormat)) {
|
|
348
|
-
var content_0 = format.
|
|
348
|
+
var content_0 = format.p23(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
349
349
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
350
350
|
} else {
|
|
351
351
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -355,20 +355,20 @@ function serializeContent($this, serializer, format, value, contentType, charset
|
|
|
355
355
|
return tmp;
|
|
356
356
|
}
|
|
357
357
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
358
|
-
this.
|
|
358
|
+
this.q53_1 = function_0;
|
|
359
359
|
}
|
|
360
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
361
|
-
return this.
|
|
360
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).w1d = function (value, $completion) {
|
|
361
|
+
return this.q53_1(value, $completion);
|
|
362
362
|
};
|
|
363
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
364
|
-
return this.
|
|
363
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).w3 = function () {
|
|
364
|
+
return this.q53_1;
|
|
365
365
|
};
|
|
366
366
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
367
367
|
var tmp;
|
|
368
368
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
369
369
|
var tmp_0;
|
|
370
370
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
371
|
-
tmp_0 = equals(this.
|
|
371
|
+
tmp_0 = equals(this.w3(), other.w3());
|
|
372
372
|
} else {
|
|
373
373
|
tmp_0 = false;
|
|
374
374
|
}
|
|
@@ -379,23 +379,23 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
|
379
379
|
return tmp;
|
|
380
380
|
};
|
|
381
381
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
382
|
-
return hashCode(this.
|
|
382
|
+
return hashCode(this.w3());
|
|
383
383
|
};
|
|
384
384
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
385
|
-
this.
|
|
385
|
+
this.r53_1 = function_0;
|
|
386
386
|
}
|
|
387
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
388
|
-
return this.
|
|
387
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).w1d = function (value, $completion) {
|
|
388
|
+
return this.r53_1(value, $completion);
|
|
389
389
|
};
|
|
390
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
391
|
-
return this.
|
|
390
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).w3 = function () {
|
|
391
|
+
return this.r53_1;
|
|
392
392
|
};
|
|
393
393
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
394
394
|
var tmp;
|
|
395
395
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
396
396
|
var tmp_0;
|
|
397
397
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
398
|
-
tmp_0 = equals(this.
|
|
398
|
+
tmp_0 = equals(this.w3(), other.w3());
|
|
399
399
|
} else {
|
|
400
400
|
tmp_0 = false;
|
|
401
401
|
}
|
|
@@ -406,46 +406,46 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other)
|
|
|
406
406
|
return tmp;
|
|
407
407
|
};
|
|
408
408
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
409
|
-
return hashCode(this.
|
|
409
|
+
return hashCode(this.w3());
|
|
410
410
|
};
|
|
411
411
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
412
|
+
this.b52_1 = $this;
|
|
413
|
+
this.c52_1 = $contentType;
|
|
414
|
+
this.d52_1 = $charset;
|
|
415
|
+
this.e52_1 = $typeInfo;
|
|
416
|
+
this.f52_1 = $value;
|
|
417
417
|
}
|
|
418
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
419
|
-
var tmp = new $collectCOROUTINE$
|
|
420
|
-
tmp.
|
|
421
|
-
tmp.
|
|
422
|
-
return tmp.
|
|
418
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).x1d = function (collector, $completion) {
|
|
419
|
+
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
420
|
+
tmp.n9_1 = Unit_instance;
|
|
421
|
+
tmp.o9_1 = null;
|
|
422
|
+
return tmp.t9();
|
|
423
423
|
};
|
|
424
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
425
|
-
return this.
|
|
424
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).c1d = function (collector, $completion) {
|
|
425
|
+
return this.x1d(collector, $completion);
|
|
426
426
|
};
|
|
427
427
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
428
428
|
CoroutineImpl.call(this, resultContinuation);
|
|
429
429
|
}
|
|
430
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
431
|
-
var tmp = this.
|
|
432
|
-
tmp.
|
|
433
|
-
tmp.
|
|
434
|
-
return tmp.
|
|
430
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).b54 = function (it, $completion) {
|
|
431
|
+
var tmp = this.c54(it, $completion);
|
|
432
|
+
tmp.n9_1 = Unit_instance;
|
|
433
|
+
tmp.o9_1 = null;
|
|
434
|
+
return tmp.t9();
|
|
435
435
|
};
|
|
436
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
437
|
-
return this.
|
|
436
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).ha = function (p1, $completion) {
|
|
437
|
+
return this.b54((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
438
438
|
};
|
|
439
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
440
|
-
var suspendResult = this.
|
|
439
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).t9 = function () {
|
|
440
|
+
var suspendResult = this.n9_1;
|
|
441
441
|
$sm: do
|
|
442
442
|
try {
|
|
443
|
-
var tmp = this.
|
|
443
|
+
var tmp = this.l9_1;
|
|
444
444
|
if (tmp === 0) {
|
|
445
|
-
this.
|
|
446
|
-
return !(this.
|
|
445
|
+
this.m9_1 = 1;
|
|
446
|
+
return !(this.a54_1 == null);
|
|
447
447
|
} else if (tmp === 1) {
|
|
448
|
-
throw this.
|
|
448
|
+
throw this.o9_1;
|
|
449
449
|
}
|
|
450
450
|
} catch ($p) {
|
|
451
451
|
var e = $p;
|
|
@@ -453,57 +453,57 @@ protoOf(KotlinxSerializationConverter$serialize$slambda).s9 = function () {
|
|
|
453
453
|
}
|
|
454
454
|
while (true);
|
|
455
455
|
};
|
|
456
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
456
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).c54 = function (it, completion) {
|
|
457
457
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
458
|
-
i.
|
|
458
|
+
i.a54_1 = it;
|
|
459
459
|
return i;
|
|
460
460
|
};
|
|
461
461
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
462
462
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
463
463
|
var l = function (it, $completion) {
|
|
464
|
-
return i.
|
|
464
|
+
return i.b54(it, $completion);
|
|
465
465
|
};
|
|
466
466
|
l.$arity = 1;
|
|
467
467
|
return l;
|
|
468
468
|
}
|
|
469
469
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
470
|
-
this.
|
|
471
|
-
this.
|
|
472
|
-
this.
|
|
473
|
-
this.
|
|
470
|
+
this.m53_1 = $this;
|
|
471
|
+
this.n53_1 = $charset;
|
|
472
|
+
this.o53_1 = $typeInfo;
|
|
473
|
+
this.p53_1 = $content;
|
|
474
474
|
}
|
|
475
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
476
|
-
var tmp = new $collectCOROUTINE$
|
|
477
|
-
tmp.
|
|
478
|
-
tmp.
|
|
479
|
-
return tmp.
|
|
475
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).x1d = function (collector, $completion) {
|
|
476
|
+
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
477
|
+
tmp.n9_1 = Unit_instance;
|
|
478
|
+
tmp.o9_1 = null;
|
|
479
|
+
return tmp.t9();
|
|
480
480
|
};
|
|
481
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
482
|
-
return this.
|
|
481
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).c1d = function (collector, $completion) {
|
|
482
|
+
return this.x1d(collector, $completion);
|
|
483
483
|
};
|
|
484
484
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
485
|
-
this.
|
|
485
|
+
this.l54_1 = $content;
|
|
486
486
|
CoroutineImpl.call(this, resultContinuation);
|
|
487
487
|
}
|
|
488
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
489
|
-
var tmp = this.
|
|
490
|
-
tmp.
|
|
491
|
-
tmp.
|
|
492
|
-
return tmp.
|
|
488
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).g3p = function (it, $completion) {
|
|
489
|
+
var tmp = this.e3o(it, $completion);
|
|
490
|
+
tmp.n9_1 = Unit_instance;
|
|
491
|
+
tmp.o9_1 = null;
|
|
492
|
+
return tmp.t9();
|
|
493
493
|
};
|
|
494
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
495
|
-
return this.
|
|
494
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).ha = function (p1, $completion) {
|
|
495
|
+
return this.g3p((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
496
496
|
};
|
|
497
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
498
|
-
var suspendResult = this.
|
|
497
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).t9 = function () {
|
|
498
|
+
var suspendResult = this.n9_1;
|
|
499
499
|
$sm: do
|
|
500
500
|
try {
|
|
501
|
-
var tmp = this.
|
|
501
|
+
var tmp = this.l9_1;
|
|
502
502
|
if (tmp === 0) {
|
|
503
|
-
this.
|
|
504
|
-
return !(this.
|
|
503
|
+
this.m9_1 = 1;
|
|
504
|
+
return !(this.m54_1 == null) || this.l54_1.z1r();
|
|
505
505
|
} else if (tmp === 1) {
|
|
506
|
-
throw this.
|
|
506
|
+
throw this.o9_1;
|
|
507
507
|
}
|
|
508
508
|
} catch ($p) {
|
|
509
509
|
var e = $p;
|
|
@@ -511,38 +511,38 @@ protoOf(KotlinxSerializationConverter$deserialize$slambda).s9 = function () {
|
|
|
511
511
|
}
|
|
512
512
|
while (true);
|
|
513
513
|
};
|
|
514
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
515
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
516
|
-
i.
|
|
514
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).e3o = function (it, completion) {
|
|
515
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.l54_1, completion);
|
|
516
|
+
i.m54_1 = it;
|
|
517
517
|
return i;
|
|
518
518
|
};
|
|
519
519
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
520
520
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
521
521
|
var l = function (it, $completion) {
|
|
522
|
-
return i.
|
|
522
|
+
return i.g3p(it, $completion);
|
|
523
523
|
};
|
|
524
524
|
l.$arity = 1;
|
|
525
525
|
return l;
|
|
526
526
|
}
|
|
527
|
-
function $serializeCOROUTINE$
|
|
527
|
+
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
528
528
|
CoroutineImpl.call(this, resultContinuation);
|
|
529
|
-
this.
|
|
530
|
-
this.
|
|
531
|
-
this.
|
|
532
|
-
this.
|
|
533
|
-
this.
|
|
529
|
+
this.v54_1 = _this__u8e3s4;
|
|
530
|
+
this.w54_1 = contentType;
|
|
531
|
+
this.x54_1 = charset;
|
|
532
|
+
this.y54_1 = typeInfo;
|
|
533
|
+
this.z54_1 = value;
|
|
534
534
|
}
|
|
535
|
-
protoOf($serializeCOROUTINE$
|
|
536
|
-
var suspendResult = this.
|
|
535
|
+
protoOf($serializeCOROUTINE$).t9 = function () {
|
|
536
|
+
var suspendResult = this.n9_1;
|
|
537
537
|
$sm: do
|
|
538
538
|
try {
|
|
539
|
-
var tmp = this.
|
|
539
|
+
var tmp = this.l9_1;
|
|
540
540
|
switch (tmp) {
|
|
541
541
|
case 0:
|
|
542
|
-
this.
|
|
543
|
-
this.
|
|
544
|
-
var this_0 = asFlow(this.
|
|
545
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
542
|
+
this.m9_1 = 2;
|
|
543
|
+
this.l9_1 = 1;
|
|
544
|
+
var this_0 = asFlow(this.v54_1.b55_1);
|
|
545
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.w54_1, this.x54_1, this.y54_1, this.z54_1);
|
|
546
546
|
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
547
547
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
548
548
|
return suspendResult;
|
|
@@ -555,12 +555,12 @@ protoOf($serializeCOROUTINE$0).s9 = function () {
|
|
|
555
555
|
return fromExtension;
|
|
556
556
|
var tmp_1;
|
|
557
557
|
try {
|
|
558
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
558
|
+
tmp_1 = serializerForTypeInfo(this.v54_1.a55_1.n26(), this.y54_1);
|
|
559
559
|
} catch ($p) {
|
|
560
560
|
var tmp_2;
|
|
561
561
|
if ($p instanceof SerializationException) {
|
|
562
562
|
var cause = $p;
|
|
563
|
-
tmp_2 = guessSerializer(this.
|
|
563
|
+
tmp_2 = guessSerializer(this.z54_1, this.v54_1.a55_1.n26());
|
|
564
564
|
} else {
|
|
565
565
|
throw $p;
|
|
566
566
|
}
|
|
@@ -568,59 +568,59 @@ protoOf($serializeCOROUTINE$0).s9 = function () {
|
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
var serializer = tmp_1;
|
|
571
|
-
return serializeContent(this.
|
|
571
|
+
return serializeContent(this.v54_1, serializer, this.v54_1.a55_1, this.z54_1, this.w54_1, this.x54_1);
|
|
572
572
|
case 2:
|
|
573
|
-
throw this.
|
|
573
|
+
throw this.o9_1;
|
|
574
574
|
}
|
|
575
575
|
} catch ($p) {
|
|
576
576
|
var e = $p;
|
|
577
|
-
if (this.
|
|
577
|
+
if (this.m9_1 === 2) {
|
|
578
578
|
throw e;
|
|
579
579
|
} else {
|
|
580
|
-
this.
|
|
581
|
-
this.
|
|
580
|
+
this.l9_1 = this.m9_1;
|
|
581
|
+
this.o9_1 = e;
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
while (true);
|
|
585
585
|
};
|
|
586
|
-
function $deserializeCOROUTINE$
|
|
586
|
+
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
587
587
|
CoroutineImpl.call(this, resultContinuation);
|
|
588
|
-
this.
|
|
589
|
-
this.
|
|
590
|
-
this.
|
|
591
|
-
this.
|
|
588
|
+
this.k55_1 = _this__u8e3s4;
|
|
589
|
+
this.l55_1 = charset;
|
|
590
|
+
this.m55_1 = typeInfo;
|
|
591
|
+
this.n55_1 = content;
|
|
592
592
|
}
|
|
593
|
-
protoOf($deserializeCOROUTINE$
|
|
594
|
-
var suspendResult = this.
|
|
593
|
+
protoOf($deserializeCOROUTINE$).t9 = function () {
|
|
594
|
+
var suspendResult = this.n9_1;
|
|
595
595
|
$sm: do
|
|
596
596
|
try {
|
|
597
|
-
var tmp = this.
|
|
597
|
+
var tmp = this.l9_1;
|
|
598
598
|
switch (tmp) {
|
|
599
599
|
case 0:
|
|
600
|
-
this.
|
|
601
|
-
this.
|
|
602
|
-
var this_0 = asFlow(this.
|
|
603
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
604
|
-
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
600
|
+
this.m9_1 = 4;
|
|
601
|
+
this.l9_1 = 1;
|
|
602
|
+
var this_0 = asFlow(this.k55_1.b55_1);
|
|
603
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.l55_1, this.m55_1, this.n55_1);
|
|
604
|
+
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.n55_1, null), this);
|
|
605
605
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
606
606
|
return suspendResult;
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
continue $sm;
|
|
610
610
|
case 1:
|
|
611
|
-
this.
|
|
611
|
+
this.o55_1 = suspendResult;
|
|
612
612
|
var tmp_1;
|
|
613
|
-
if (!this.
|
|
614
|
-
tmp_1 = !(this.
|
|
613
|
+
if (!this.k55_1.b55_1.h()) {
|
|
614
|
+
tmp_1 = !(this.o55_1 == null) || this.n55_1.z1r();
|
|
615
615
|
} else {
|
|
616
616
|
tmp_1 = false;
|
|
617
617
|
}
|
|
618
618
|
|
|
619
619
|
if (tmp_1)
|
|
620
|
-
return this.
|
|
621
|
-
this.
|
|
622
|
-
this.
|
|
623
|
-
suspendResult = readRemaining(this.
|
|
620
|
+
return this.o55_1;
|
|
621
|
+
this.p55_1 = serializerForTypeInfo(this.k55_1.a55_1.n26(), this.m55_1);
|
|
622
|
+
this.l9_1 = 2;
|
|
623
|
+
suspendResult = readRemaining(this.n55_1, this);
|
|
624
624
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
625
625
|
return suspendResult;
|
|
626
626
|
}
|
|
@@ -628,88 +628,88 @@ protoOf($deserializeCOROUTINE$1).s9 = function () {
|
|
|
628
628
|
continue $sm;
|
|
629
629
|
case 2:
|
|
630
630
|
var contentPacket = suspendResult;
|
|
631
|
-
this.
|
|
632
|
-
var tmp0_subject = this.
|
|
631
|
+
this.m9_1 = 3;
|
|
632
|
+
var tmp0_subject = this.k55_1.a55_1;
|
|
633
633
|
var tmp_2;
|
|
634
634
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
635
|
-
tmp_2 = this.
|
|
635
|
+
tmp_2 = this.k55_1.a55_1.o23(this.p55_1, readText(contentPacket, this.l55_1));
|
|
636
636
|
} else {
|
|
637
637
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
638
|
-
tmp_2 = this.
|
|
638
|
+
tmp_2 = this.k55_1.a55_1.q23(this.p55_1, readByteArray(contentPacket));
|
|
639
639
|
} else {
|
|
640
640
|
discard(contentPacket);
|
|
641
|
-
var message = 'Unsupported format ' + toString(this.
|
|
641
|
+
var message = 'Unsupported format ' + toString(this.k55_1.a55_1);
|
|
642
642
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
return tmp_2;
|
|
647
647
|
case 3:
|
|
648
|
-
this.
|
|
649
|
-
var tmp_3 = this.
|
|
648
|
+
this.m9_1 = 4;
|
|
649
|
+
var tmp_3 = this.o9_1;
|
|
650
650
|
if (tmp_3 instanceof Error) {
|
|
651
|
-
var cause = this.
|
|
651
|
+
var cause = this.o9_1;
|
|
652
652
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
653
653
|
} else {
|
|
654
|
-
throw this.
|
|
654
|
+
throw this.o9_1;
|
|
655
655
|
}
|
|
656
656
|
|
|
657
657
|
case 4:
|
|
658
|
-
throw this.
|
|
658
|
+
throw this.o9_1;
|
|
659
659
|
}
|
|
660
660
|
} catch ($p) {
|
|
661
661
|
var e = $p;
|
|
662
|
-
if (this.
|
|
662
|
+
if (this.m9_1 === 4) {
|
|
663
663
|
throw e;
|
|
664
664
|
} else {
|
|
665
|
-
this.
|
|
666
|
-
this.
|
|
665
|
+
this.l9_1 = this.m9_1;
|
|
666
|
+
this.o9_1 = e;
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
while (true);
|
|
670
670
|
};
|
|
671
671
|
function KotlinxSerializationConverter(format) {
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
672
|
+
this.a55_1 = format;
|
|
673
|
+
this.b55_1 = extensions(this.a55_1);
|
|
674
674
|
var tmp;
|
|
675
|
-
var tmp_0 = this.
|
|
675
|
+
var tmp_0 = this.a55_1;
|
|
676
676
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
677
677
|
tmp = true;
|
|
678
678
|
} else {
|
|
679
|
-
var tmp_1 = this.
|
|
679
|
+
var tmp_1 = this.a55_1;
|
|
680
680
|
tmp = isInterface(tmp_1, StringFormat);
|
|
681
681
|
}
|
|
682
682
|
// Inline function 'kotlin.require' call
|
|
683
683
|
if (!tmp) {
|
|
684
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
684
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.a55_1) + ' is not supported.';
|
|
685
685
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
|
-
protoOf(KotlinxSerializationConverter).
|
|
689
|
-
var tmp = new $serializeCOROUTINE$
|
|
690
|
-
tmp.
|
|
691
|
-
tmp.
|
|
692
|
-
return tmp.
|
|
688
|
+
protoOf(KotlinxSerializationConverter).q55 = function (contentType, charset, typeInfo, value, $completion) {
|
|
689
|
+
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
690
|
+
tmp.n9_1 = Unit_instance;
|
|
691
|
+
tmp.o9_1 = null;
|
|
692
|
+
return tmp.t9();
|
|
693
693
|
};
|
|
694
|
-
protoOf(KotlinxSerializationConverter).
|
|
695
|
-
return this.
|
|
694
|
+
protoOf(KotlinxSerializationConverter).s50 = function (contentType, charset, typeInfo, value, $completion) {
|
|
695
|
+
return this.q55(contentType, charset, typeInfo, value, $completion);
|
|
696
696
|
};
|
|
697
|
-
protoOf(KotlinxSerializationConverter).
|
|
698
|
-
var tmp = new $deserializeCOROUTINE$
|
|
699
|
-
tmp.
|
|
700
|
-
tmp.
|
|
701
|
-
return tmp.
|
|
697
|
+
protoOf(KotlinxSerializationConverter).f3o = function (charset, typeInfo, content, $completion) {
|
|
698
|
+
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
699
|
+
tmp.n9_1 = Unit_instance;
|
|
700
|
+
tmp.o9_1 = null;
|
|
701
|
+
return tmp.t9();
|
|
702
702
|
};
|
|
703
703
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
704
704
|
var module_0 = _this__u8e3s4;
|
|
705
|
-
var tmp0_safe_receiver = typeInfo.
|
|
705
|
+
var tmp0_safe_receiver = typeInfo.k2u_1;
|
|
706
706
|
var tmp;
|
|
707
707
|
if (tmp0_safe_receiver == null) {
|
|
708
708
|
tmp = null;
|
|
709
709
|
} else {
|
|
710
710
|
// Inline function 'kotlin.let' call
|
|
711
711
|
var tmp_0;
|
|
712
|
-
if (tmp0_safe_receiver.
|
|
712
|
+
if (tmp0_safe_receiver.jc().h()) {
|
|
713
713
|
tmp_0 = null;
|
|
714
714
|
} else {
|
|
715
715
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -719,13 +719,13 @@ function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
|
719
719
|
var tmp1_elvis_lhs = tmp;
|
|
720
720
|
var tmp_1;
|
|
721
721
|
if (tmp1_elvis_lhs == null) {
|
|
722
|
-
var tmp2_safe_receiver = module_0.
|
|
722
|
+
var tmp2_safe_receiver = module_0.t23(typeInfo.j2u_1);
|
|
723
723
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
724
724
|
} else {
|
|
725
725
|
tmp_1 = tmp1_elvis_lhs;
|
|
726
726
|
}
|
|
727
727
|
var tmp3_elvis_lhs = tmp_1;
|
|
728
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
728
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.j2u_1), typeInfo) : tmp3_elvis_lhs;
|
|
729
729
|
}
|
|
730
730
|
function guessSerializer(value, module_0) {
|
|
731
731
|
var tmp;
|
|
@@ -755,7 +755,7 @@ function guessSerializer(value, module_0) {
|
|
|
755
755
|
var valueSerializer = elementSerializer(value.r2(), module_0);
|
|
756
756
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
757
757
|
} else {
|
|
758
|
-
var tmp3_elvis_lhs = module_0.
|
|
758
|
+
var tmp3_elvis_lhs = module_0.t23(getKClassFromExpression(value));
|
|
759
759
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
760
760
|
}
|
|
761
761
|
}
|
|
@@ -767,8 +767,8 @@ function guessSerializer(value, module_0) {
|
|
|
767
767
|
}
|
|
768
768
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
769
769
|
var tmp;
|
|
770
|
-
var tmp0_safe_receiver = typeInfo.
|
|
771
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
770
|
+
var tmp0_safe_receiver = typeInfo.k2u_1;
|
|
771
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.kc()) === true) {
|
|
772
772
|
tmp = get_nullable(_this__u8e3s4);
|
|
773
773
|
} else {
|
|
774
774
|
tmp = _this__u8e3s4;
|
|
@@ -792,7 +792,7 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
792
792
|
var _iterator__ex2g4s_0 = destination.q();
|
|
793
793
|
while (_iterator__ex2g4s_0.r()) {
|
|
794
794
|
var e = _iterator__ex2g4s_0.s();
|
|
795
|
-
var key = e.
|
|
795
|
+
var key = e.m22().m23();
|
|
796
796
|
if (set.k(key)) {
|
|
797
797
|
list.k(e);
|
|
798
798
|
}
|
|
@@ -805,7 +805,7 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
805
805
|
var _iterator__ex2g4s_1 = serializers.q();
|
|
806
806
|
while (_iterator__ex2g4s_1.r()) {
|
|
807
807
|
var item_0 = _iterator__ex2g4s_1.s();
|
|
808
|
-
var tmp$ret$5 = item_0.
|
|
808
|
+
var tmp$ret$5 = item_0.m22().m23();
|
|
809
809
|
destination_0.k(tmp$ret$5);
|
|
810
810
|
}
|
|
811
811
|
// Inline function 'kotlin.error' call
|
|
@@ -814,7 +814,7 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
814
814
|
}
|
|
815
815
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
816
816
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
817
|
-
if (selected.
|
|
817
|
+
if (selected.m22().x23()) {
|
|
818
818
|
return selected;
|
|
819
819
|
}
|
|
820
820
|
if (!isInterface(selected, KSerializer))
|