mrs-toolbox-cli 0.0.129 → 0.0.131
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/88b0986a7186d029-atomicfu-js-ir.js +19 -19
- package/clikt-clikt-mordant.js +245 -0
- package/clikt-clikt-mordant.js.map +1 -0
- package/clikt-clikt.js +3345 -3129
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +806 -611
- package/colormath-root-colormath.js.map +1 -1
- package/com.mrs.platform.configuration.dto.js +6125 -5640
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3750 -2808
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging-js-ir.js +47 -47
- package/kotlin-node.js +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2084 -2056
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1640 -1629
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2124 -2101
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +223 -223
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +2531 -2532
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +13 -13
- package/ktor-ktor-http.js +702 -703
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1583 -1583
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +265 -265
- package/ktor-ktor-serialization.js +126 -126
- package/ktor-ktor-utils.js +519 -519
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +60 -60
- package/ktor-ktor-websockets.js.map +1 -1
- package/mordant-mordant-omnibus.js +8 -0
- package/mordant-mordant-omnibus.js.map +1 -0
- package/mordant-mordant.js +4442 -9011
- package/mordant-mordant.js.map +1 -1
- package/mrs-toolbox-cli.d.ts +43 -1
- package/mrs-toolbox-cli.js +1020 -145
- package/mrs-toolbox-cli.js.map +1 -1
- package/package.json +1 -1
- package/static/init/hooks.webpack.config.js +35 -0
- package/static/init/webpackRoot.config.js +35 -0
- package/toolbox.js +6193 -5547
- package/toolbox.js.map +1 -1
- package/markdown.js +0 -6644
- package/markdown.js.map +0 -1
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_serialization) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
5
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
6
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
9
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
10
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
4
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
5
|
+
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.aa;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.ac;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.og;
|
|
9
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.k9;
|
|
10
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.fb;
|
|
11
11
|
var VOID = kotlin_kotlin.$_$.g;
|
|
12
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
14
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.cb;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.fc;
|
|
14
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
15
15
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
16
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.pb;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.i;
|
|
18
18
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
19
19
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.h1;
|
|
20
20
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
21
21
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
22
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
23
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
22
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
23
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ab;
|
|
24
24
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.o;
|
|
25
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
26
|
-
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
25
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
26
|
+
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
27
27
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
28
28
|
var discard = kotlin_io_ktor_ktor_io.$_$.u;
|
|
29
29
|
var readBytes = kotlin_io_ktor_ktor_io.$_$.v;
|
|
30
30
|
var readText = kotlin_io_ktor_ktor_io.$_$.x;
|
|
31
31
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
32
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
32
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
33
33
|
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
34
34
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
35
35
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
36
36
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
37
37
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
38
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
38
|
+
var KtMap = kotlin_kotlin.$_$.q5;
|
|
39
39
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
40
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
41
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
42
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
40
|
+
var KtSet = kotlin_kotlin.$_$.u5;
|
|
41
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.z6;
|
|
42
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.s4;
|
|
43
43
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
44
44
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
45
|
-
var isArray = kotlin_kotlin.$_$.
|
|
46
|
-
var KtList = kotlin_kotlin.$_$.
|
|
45
|
+
var isArray = kotlin_kotlin.$_$.hb;
|
|
46
|
+
var KtList = kotlin_kotlin.$_$.n5;
|
|
47
47
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
48
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
49
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
50
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
51
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
52
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
53
|
-
var Collection = kotlin_kotlin.$_$.
|
|
54
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
48
|
+
var filterNotNull = kotlin_kotlin.$_$.x6;
|
|
49
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.c6;
|
|
50
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
51
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
52
|
+
var singleOrNull = kotlin_kotlin.$_$.o8;
|
|
53
|
+
var Collection = kotlin_kotlin.$_$.h5;
|
|
54
|
+
var emptyList = kotlin_kotlin.$_$.u6;
|
|
55
55
|
//endregion
|
|
56
56
|
//region block: pre-declaration
|
|
57
57
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
var element = tmp0_iterator.m();
|
|
80
80
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
81
81
|
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
82
|
-
var tmp0_safe_receiver = element.
|
|
82
|
+
var tmp0_safe_receiver = element.u2x(format);
|
|
83
83
|
if (tmp0_safe_receiver == null)
|
|
84
84
|
null;
|
|
85
85
|
else {
|
|
@@ -91,50 +91,50 @@
|
|
|
91
91
|
return destination;
|
|
92
92
|
}
|
|
93
93
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
94
|
-
_this__u8e3s4.
|
|
94
|
+
_this__u8e3s4.w2a(contentType, new KotlinxSerializationConverter(format));
|
|
95
95
|
}
|
|
96
96
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
97
|
+
this.d2y_1 = $$this$unsafeFlow;
|
|
98
|
+
this.e2y_1 = $contentType;
|
|
99
|
+
this.f2y_1 = $charset;
|
|
100
|
+
this.g2y_1 = $typeInfo;
|
|
101
|
+
this.h2y_1 = $value;
|
|
102
102
|
CoroutineImpl.call(this, resultContinuation);
|
|
103
103
|
}
|
|
104
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
105
|
-
var tmp = this.
|
|
106
|
-
tmp.
|
|
107
|
-
tmp.
|
|
108
|
-
return tmp.
|
|
104
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).e2c = function (value, $completion) {
|
|
105
|
+
var tmp = this.f2c(value, $completion);
|
|
106
|
+
tmp.n9_1 = Unit_instance;
|
|
107
|
+
tmp.o9_1 = null;
|
|
108
|
+
return tmp.t9();
|
|
109
109
|
};
|
|
110
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
111
|
-
return this.
|
|
110
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).ba = function (p1, $completion) {
|
|
111
|
+
return this.e2c((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
112
112
|
};
|
|
113
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
114
|
-
var suspendResult = this.
|
|
113
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).t9 = function () {
|
|
114
|
+
var suspendResult = this.n9_1;
|
|
115
115
|
$sm: do
|
|
116
116
|
try {
|
|
117
|
-
var tmp = this.
|
|
117
|
+
var tmp = this.l9_1;
|
|
118
118
|
switch (tmp) {
|
|
119
119
|
case 0:
|
|
120
|
-
this.
|
|
120
|
+
this.m9_1 = 3;
|
|
121
121
|
var tmp_0 = this;
|
|
122
|
-
tmp_0.
|
|
122
|
+
tmp_0.j2y_1 = this.d2y_1;
|
|
123
123
|
var tmp_1 = this;
|
|
124
|
-
tmp_1.
|
|
124
|
+
tmp_1.k2y_1 = this.i2y_1;
|
|
125
125
|
var tmp_2 = this;
|
|
126
|
-
tmp_2.
|
|
127
|
-
this.
|
|
128
|
-
suspendResult = this.
|
|
126
|
+
tmp_2.l2y_1 = this.k2y_1;
|
|
127
|
+
this.l9_1 = 1;
|
|
128
|
+
suspendResult = this.l2y_1.n2y(this.e2y_1, this.f2y_1, this.g2y_1, this.h2y_1, this);
|
|
129
129
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
130
130
|
return suspendResult;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
continue $sm;
|
|
134
134
|
case 1:
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
137
|
-
suspendResult = this.
|
|
135
|
+
this.m2y_1 = suspendResult;
|
|
136
|
+
this.l9_1 = 2;
|
|
137
|
+
suspendResult = this.j2y_1.o16(this.m2y_1, this);
|
|
138
138
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
139
139
|
return suspendResult;
|
|
140
140
|
}
|
|
@@ -143,50 +143,50 @@
|
|
|
143
143
|
case 2:
|
|
144
144
|
return Unit_instance;
|
|
145
145
|
case 3:
|
|
146
|
-
throw this.
|
|
146
|
+
throw this.o9_1;
|
|
147
147
|
}
|
|
148
148
|
} catch ($p) {
|
|
149
149
|
var e = $p;
|
|
150
|
-
if (this.
|
|
150
|
+
if (this.m9_1 === 3) {
|
|
151
151
|
throw e;
|
|
152
152
|
} else {
|
|
153
|
-
this.
|
|
154
|
-
this.
|
|
153
|
+
this.l9_1 = this.m9_1;
|
|
154
|
+
this.o9_1 = e;
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
while (true);
|
|
158
158
|
};
|
|
159
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
160
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
161
|
-
i.
|
|
159
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).f2c = function (value, completion) {
|
|
160
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.d2y_1, this.e2y_1, this.f2y_1, this.g2y_1, this.h2y_1, completion);
|
|
161
|
+
i.i2y_1 = value;
|
|
162
162
|
return i;
|
|
163
163
|
};
|
|
164
164
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
165
165
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
166
166
|
var l = function (value, $completion) {
|
|
167
|
-
return i.
|
|
167
|
+
return i.e2c(value, $completion);
|
|
168
168
|
};
|
|
169
169
|
l.$arity = 1;
|
|
170
170
|
return l;
|
|
171
171
|
}
|
|
172
172
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
173
173
|
CoroutineImpl.call(this, resultContinuation);
|
|
174
|
-
this.
|
|
175
|
-
this.
|
|
174
|
+
this.w2y_1 = _this__u8e3s4;
|
|
175
|
+
this.x2y_1 = collector;
|
|
176
176
|
}
|
|
177
|
-
protoOf($collectCOROUTINE$2).
|
|
178
|
-
var suspendResult = this.
|
|
177
|
+
protoOf($collectCOROUTINE$2).t9 = function () {
|
|
178
|
+
var suspendResult = this.n9_1;
|
|
179
179
|
$sm: do
|
|
180
180
|
try {
|
|
181
|
-
var tmp = this.
|
|
181
|
+
var tmp = this.l9_1;
|
|
182
182
|
switch (tmp) {
|
|
183
183
|
case 0:
|
|
184
|
-
this.
|
|
184
|
+
this.m9_1 = 2;
|
|
185
185
|
var tmp_0 = this;
|
|
186
|
-
tmp_0.
|
|
187
|
-
this.
|
|
188
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
189
|
-
suspendResult = this.
|
|
186
|
+
tmp_0.y2y_1 = this.x2y_1;
|
|
187
|
+
this.l9_1 = 1;
|
|
188
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.y2y_1, this.w2y_1.a2z_1, this.w2y_1.b2z_1, this.w2y_1.c2z_1, this.w2y_1.d2z_1, null);
|
|
189
|
+
suspendResult = this.w2y_1.z2y_1.x15(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
190
190
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
191
191
|
return suspendResult;
|
|
192
192
|
}
|
|
@@ -195,60 +195,60 @@
|
|
|
195
195
|
case 1:
|
|
196
196
|
return Unit_instance;
|
|
197
197
|
case 2:
|
|
198
|
-
throw this.
|
|
198
|
+
throw this.o9_1;
|
|
199
199
|
}
|
|
200
200
|
} catch ($p) {
|
|
201
201
|
var e = $p;
|
|
202
|
-
if (this.
|
|
202
|
+
if (this.m9_1 === 2) {
|
|
203
203
|
throw e;
|
|
204
204
|
} else {
|
|
205
|
-
this.
|
|
206
|
-
this.
|
|
205
|
+
this.l9_1 = this.m9_1;
|
|
206
|
+
this.o9_1 = e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
while (true);
|
|
210
210
|
};
|
|
211
211
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
212
|
-
this.
|
|
213
|
-
this.
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
212
|
+
this.m2z_1 = $$this$unsafeFlow;
|
|
213
|
+
this.n2z_1 = $charset;
|
|
214
|
+
this.o2z_1 = $typeInfo;
|
|
215
|
+
this.p2z_1 = $content;
|
|
216
216
|
CoroutineImpl.call(this, resultContinuation);
|
|
217
217
|
}
|
|
218
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
219
|
-
var tmp = this.
|
|
220
|
-
tmp.
|
|
221
|
-
tmp.
|
|
222
|
-
return tmp.
|
|
218
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).e2c = function (value, $completion) {
|
|
219
|
+
var tmp = this.f2c(value, $completion);
|
|
220
|
+
tmp.n9_1 = Unit_instance;
|
|
221
|
+
tmp.o9_1 = null;
|
|
222
|
+
return tmp.t9();
|
|
223
223
|
};
|
|
224
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
225
|
-
return this.
|
|
224
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).ba = function (p1, $completion) {
|
|
225
|
+
return this.e2c((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
226
226
|
};
|
|
227
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
228
|
-
var suspendResult = this.
|
|
227
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).t9 = function () {
|
|
228
|
+
var suspendResult = this.n9_1;
|
|
229
229
|
$sm: do
|
|
230
230
|
try {
|
|
231
|
-
var tmp = this.
|
|
231
|
+
var tmp = this.l9_1;
|
|
232
232
|
switch (tmp) {
|
|
233
233
|
case 0:
|
|
234
|
-
this.
|
|
234
|
+
this.m9_1 = 3;
|
|
235
235
|
var tmp_0 = this;
|
|
236
|
-
tmp_0.
|
|
236
|
+
tmp_0.r2z_1 = this.m2z_1;
|
|
237
237
|
var tmp_1 = this;
|
|
238
|
-
tmp_1.
|
|
238
|
+
tmp_1.s2z_1 = this.q2z_1;
|
|
239
239
|
var tmp_2 = this;
|
|
240
|
-
tmp_2.
|
|
241
|
-
this.
|
|
242
|
-
suspendResult = this.
|
|
240
|
+
tmp_2.t2z_1 = this.s2z_1;
|
|
241
|
+
this.l9_1 = 1;
|
|
242
|
+
suspendResult = this.t2z_1.z2a(this.n2z_1, this.o2z_1, this.p2z_1, this);
|
|
243
243
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
244
244
|
return suspendResult;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
continue $sm;
|
|
248
248
|
case 1:
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
suspendResult = this.
|
|
249
|
+
this.u2z_1 = suspendResult;
|
|
250
|
+
this.l9_1 = 2;
|
|
251
|
+
suspendResult = this.r2z_1.o16(this.u2z_1, this);
|
|
252
252
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
253
253
|
return suspendResult;
|
|
254
254
|
}
|
|
@@ -257,50 +257,50 @@
|
|
|
257
257
|
case 2:
|
|
258
258
|
return Unit_instance;
|
|
259
259
|
case 3:
|
|
260
|
-
throw this.
|
|
260
|
+
throw this.o9_1;
|
|
261
261
|
}
|
|
262
262
|
} catch ($p) {
|
|
263
263
|
var e = $p;
|
|
264
|
-
if (this.
|
|
264
|
+
if (this.m9_1 === 3) {
|
|
265
265
|
throw e;
|
|
266
266
|
} else {
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
267
|
+
this.l9_1 = this.m9_1;
|
|
268
|
+
this.o9_1 = e;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
while (true);
|
|
272
272
|
};
|
|
273
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
274
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
275
|
-
i.
|
|
273
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).f2c = function (value, completion) {
|
|
274
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.m2z_1, this.n2z_1, this.o2z_1, this.p2z_1, completion);
|
|
275
|
+
i.q2z_1 = value;
|
|
276
276
|
return i;
|
|
277
277
|
};
|
|
278
278
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
279
279
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
280
280
|
var l = function (value, $completion) {
|
|
281
|
-
return i.
|
|
281
|
+
return i.e2c(value, $completion);
|
|
282
282
|
};
|
|
283
283
|
l.$arity = 1;
|
|
284
284
|
return l;
|
|
285
285
|
}
|
|
286
286
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
287
287
|
CoroutineImpl.call(this, resultContinuation);
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
288
|
+
this.d30_1 = _this__u8e3s4;
|
|
289
|
+
this.e30_1 = collector;
|
|
290
290
|
}
|
|
291
|
-
protoOf($collectCOROUTINE$3).
|
|
292
|
-
var suspendResult = this.
|
|
291
|
+
protoOf($collectCOROUTINE$3).t9 = function () {
|
|
292
|
+
var suspendResult = this.n9_1;
|
|
293
293
|
$sm: do
|
|
294
294
|
try {
|
|
295
|
-
var tmp = this.
|
|
295
|
+
var tmp = this.l9_1;
|
|
296
296
|
switch (tmp) {
|
|
297
297
|
case 0:
|
|
298
|
-
this.
|
|
298
|
+
this.m9_1 = 2;
|
|
299
299
|
var tmp_0 = this;
|
|
300
|
-
tmp_0.
|
|
301
|
-
this.
|
|
302
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
303
|
-
suspendResult = this.
|
|
300
|
+
tmp_0.f30_1 = this.e30_1;
|
|
301
|
+
this.l9_1 = 1;
|
|
302
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.f30_1, this.d30_1.h30_1, this.d30_1.i30_1, this.d30_1.j30_1, null);
|
|
303
|
+
suspendResult = this.d30_1.g30_1.x15(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
304
304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305
305
|
return suspendResult;
|
|
306
306
|
}
|
|
@@ -309,15 +309,15 @@
|
|
|
309
309
|
case 1:
|
|
310
310
|
return Unit_instance;
|
|
311
311
|
case 2:
|
|
312
|
-
throw this.
|
|
312
|
+
throw this.o9_1;
|
|
313
313
|
}
|
|
314
314
|
} catch ($p) {
|
|
315
315
|
var e = $p;
|
|
316
|
-
if (this.
|
|
316
|
+
if (this.m9_1 === 2) {
|
|
317
317
|
throw e;
|
|
318
318
|
} else {
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
319
|
+
this.l9_1 = this.m9_1;
|
|
320
|
+
this.o9_1 = e;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
while (true);
|
|
@@ -325,11 +325,11 @@
|
|
|
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.j2e(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.m2e(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,55 +339,55 @@
|
|
|
339
339
|
return tmp;
|
|
340
340
|
}
|
|
341
341
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
342
|
-
this.
|
|
342
|
+
this.k30_1 = function_0;
|
|
343
343
|
}
|
|
344
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
345
|
-
return this.
|
|
344
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o16 = function (value, $completion) {
|
|
345
|
+
return this.k30_1(value, $completion);
|
|
346
346
|
};
|
|
347
347
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
348
|
-
this.
|
|
348
|
+
this.l30_1 = function_0;
|
|
349
349
|
}
|
|
350
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
351
|
-
return this.
|
|
350
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o16 = function (value, $completion) {
|
|
351
|
+
return this.l30_1(value, $completion);
|
|
352
352
|
};
|
|
353
353
|
function _no_name_provided__qut3iv($this, $contentType, $charset, $typeInfo, $value) {
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
354
|
+
this.z2y_1 = $this;
|
|
355
|
+
this.a2z_1 = $contentType;
|
|
356
|
+
this.b2z_1 = $charset;
|
|
357
|
+
this.c2z_1 = $typeInfo;
|
|
358
|
+
this.d2z_1 = $value;
|
|
359
359
|
}
|
|
360
|
-
protoOf(_no_name_provided__qut3iv).
|
|
360
|
+
protoOf(_no_name_provided__qut3iv).p16 = function (collector, $completion) {
|
|
361
361
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
362
|
-
tmp.
|
|
363
|
-
tmp.
|
|
364
|
-
return tmp.
|
|
362
|
+
tmp.n9_1 = Unit_instance;
|
|
363
|
+
tmp.o9_1 = null;
|
|
364
|
+
return tmp.t9();
|
|
365
365
|
};
|
|
366
|
-
protoOf(_no_name_provided__qut3iv).
|
|
367
|
-
return this.
|
|
366
|
+
protoOf(_no_name_provided__qut3iv).x15 = function (collector, $completion) {
|
|
367
|
+
return this.p16(collector, $completion);
|
|
368
368
|
};
|
|
369
369
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
370
370
|
CoroutineImpl.call(this, resultContinuation);
|
|
371
371
|
}
|
|
372
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
373
|
-
var tmp = this.
|
|
374
|
-
tmp.
|
|
375
|
-
tmp.
|
|
376
|
-
return tmp.
|
|
372
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).v30 = function (it, $completion) {
|
|
373
|
+
var tmp = this.w30(it, $completion);
|
|
374
|
+
tmp.n9_1 = Unit_instance;
|
|
375
|
+
tmp.o9_1 = null;
|
|
376
|
+
return tmp.t9();
|
|
377
377
|
};
|
|
378
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
379
|
-
return this.
|
|
378
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).ba = function (p1, $completion) {
|
|
379
|
+
return this.v30((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
380
380
|
};
|
|
381
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
382
|
-
var suspendResult = this.
|
|
381
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).t9 = function () {
|
|
382
|
+
var suspendResult = this.n9_1;
|
|
383
383
|
$sm: do
|
|
384
384
|
try {
|
|
385
|
-
var tmp = this.
|
|
385
|
+
var tmp = this.l9_1;
|
|
386
386
|
if (tmp === 0) {
|
|
387
|
-
this.
|
|
388
|
-
return !(this.
|
|
387
|
+
this.m9_1 = 1;
|
|
388
|
+
return !(this.u30_1 == null);
|
|
389
389
|
} else if (tmp === 1) {
|
|
390
|
-
throw this.
|
|
390
|
+
throw this.o9_1;
|
|
391
391
|
}
|
|
392
392
|
} catch ($p) {
|
|
393
393
|
var e = $p;
|
|
@@ -395,57 +395,57 @@
|
|
|
395
395
|
}
|
|
396
396
|
while (true);
|
|
397
397
|
};
|
|
398
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
398
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).w30 = function (it, completion) {
|
|
399
399
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
400
|
-
i.
|
|
400
|
+
i.u30_1 = it;
|
|
401
401
|
return i;
|
|
402
402
|
};
|
|
403
403
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
404
404
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
405
405
|
var l = function (it, $completion) {
|
|
406
|
-
return i.
|
|
406
|
+
return i.v30(it, $completion);
|
|
407
407
|
};
|
|
408
408
|
l.$arity = 1;
|
|
409
409
|
return l;
|
|
410
410
|
}
|
|
411
411
|
function _no_name_provided__qut3iv_0($this, $charset, $typeInfo, $content) {
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
412
|
+
this.g30_1 = $this;
|
|
413
|
+
this.h30_1 = $charset;
|
|
414
|
+
this.i30_1 = $typeInfo;
|
|
415
|
+
this.j30_1 = $content;
|
|
416
416
|
}
|
|
417
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
417
|
+
protoOf(_no_name_provided__qut3iv_0).p16 = function (collector, $completion) {
|
|
418
418
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
419
|
-
tmp.
|
|
420
|
-
tmp.
|
|
421
|
-
return tmp.
|
|
419
|
+
tmp.n9_1 = Unit_instance;
|
|
420
|
+
tmp.o9_1 = null;
|
|
421
|
+
return tmp.t9();
|
|
422
422
|
};
|
|
423
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
424
|
-
return this.
|
|
423
|
+
protoOf(_no_name_provided__qut3iv_0).x15 = function (collector, $completion) {
|
|
424
|
+
return this.p16(collector, $completion);
|
|
425
425
|
};
|
|
426
426
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
427
|
-
this.
|
|
427
|
+
this.f31_1 = $content;
|
|
428
428
|
CoroutineImpl.call(this, resultContinuation);
|
|
429
429
|
}
|
|
430
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
431
|
-
var tmp = this.
|
|
432
|
-
tmp.
|
|
433
|
-
tmp.
|
|
434
|
-
return tmp.
|
|
430
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).f2d = function (it, $completion) {
|
|
431
|
+
var tmp = this.f2c(it, $completion);
|
|
432
|
+
tmp.n9_1 = Unit_instance;
|
|
433
|
+
tmp.o9_1 = null;
|
|
434
|
+
return tmp.t9();
|
|
435
435
|
};
|
|
436
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
437
|
-
return this.
|
|
436
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).ba = function (p1, $completion) {
|
|
437
|
+
return this.f2d((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
438
438
|
};
|
|
439
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
440
|
-
var suspendResult = this.
|
|
439
|
+
protoOf(KotlinxSerializationConverter$deserialize$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.g31_1 == null) || this.f31_1.f1f();
|
|
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,38 +453,38 @@
|
|
|
453
453
|
}
|
|
454
454
|
while (true);
|
|
455
455
|
};
|
|
456
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
457
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
458
|
-
i.
|
|
456
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).f2c = function (it, completion) {
|
|
457
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.f31_1, completion);
|
|
458
|
+
i.g31_1 = it;
|
|
459
459
|
return i;
|
|
460
460
|
};
|
|
461
461
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
462
462
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
463
463
|
var l = function (it, $completion) {
|
|
464
|
-
return i.
|
|
464
|
+
return i.f2d(it, $completion);
|
|
465
465
|
};
|
|
466
466
|
l.$arity = 1;
|
|
467
467
|
return l;
|
|
468
468
|
}
|
|
469
469
|
function $serializeNullableCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
470
470
|
CoroutineImpl.call(this, resultContinuation);
|
|
471
|
-
this.
|
|
472
|
-
this.
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
475
|
-
this.
|
|
471
|
+
this.p31_1 = _this__u8e3s4;
|
|
472
|
+
this.q31_1 = contentType;
|
|
473
|
+
this.r31_1 = charset;
|
|
474
|
+
this.s31_1 = typeInfo;
|
|
475
|
+
this.t31_1 = value;
|
|
476
476
|
}
|
|
477
|
-
protoOf($serializeNullableCOROUTINE$0).
|
|
478
|
-
var suspendResult = this.
|
|
477
|
+
protoOf($serializeNullableCOROUTINE$0).t9 = function () {
|
|
478
|
+
var suspendResult = this.n9_1;
|
|
479
479
|
$sm: do
|
|
480
480
|
try {
|
|
481
|
-
var tmp = this.
|
|
481
|
+
var tmp = this.l9_1;
|
|
482
482
|
switch (tmp) {
|
|
483
483
|
case 0:
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
486
|
-
var this_0 = asFlow(this.
|
|
487
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
484
|
+
this.m9_1 = 2;
|
|
485
|
+
this.l9_1 = 1;
|
|
486
|
+
var this_0 = asFlow(this.p31_1.v31_1);
|
|
487
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.q31_1, this.r31_1, this.s31_1, this.t31_1);
|
|
488
488
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
489
489
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
490
490
|
return suspendResult;
|
|
@@ -497,12 +497,12 @@
|
|
|
497
497
|
return fromExtension;
|
|
498
498
|
var tmp_1;
|
|
499
499
|
try {
|
|
500
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
500
|
+
tmp_1 = serializerForTypeInfo(this.p31_1.u31_1.l2e(), this.s31_1);
|
|
501
501
|
} catch ($p) {
|
|
502
502
|
var tmp_2;
|
|
503
503
|
if ($p instanceof SerializationException) {
|
|
504
504
|
var cause = $p;
|
|
505
|
-
tmp_2 = guessSerializer(this.
|
|
505
|
+
tmp_2 = guessSerializer(this.t31_1, this.p31_1.u31_1.l2e());
|
|
506
506
|
} else {
|
|
507
507
|
throw $p;
|
|
508
508
|
}
|
|
@@ -510,52 +510,52 @@
|
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
var serializer = tmp_1;
|
|
513
|
-
return serializeContent(this.
|
|
513
|
+
return serializeContent(this.p31_1, serializer, this.p31_1.u31_1, this.t31_1, this.q31_1, this.r31_1);
|
|
514
514
|
case 2:
|
|
515
|
-
throw this.
|
|
515
|
+
throw this.o9_1;
|
|
516
516
|
}
|
|
517
517
|
} catch ($p) {
|
|
518
518
|
var e = $p;
|
|
519
|
-
if (this.
|
|
519
|
+
if (this.m9_1 === 2) {
|
|
520
520
|
throw e;
|
|
521
521
|
} else {
|
|
522
|
-
this.
|
|
523
|
-
this.
|
|
522
|
+
this.l9_1 = this.m9_1;
|
|
523
|
+
this.o9_1 = e;
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
while (true);
|
|
527
527
|
};
|
|
528
528
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
529
529
|
CoroutineImpl.call(this, resultContinuation);
|
|
530
|
-
this.
|
|
531
|
-
this.
|
|
532
|
-
this.
|
|
533
|
-
this.
|
|
530
|
+
this.e32_1 = _this__u8e3s4;
|
|
531
|
+
this.f32_1 = charset;
|
|
532
|
+
this.g32_1 = typeInfo;
|
|
533
|
+
this.h32_1 = content;
|
|
534
534
|
}
|
|
535
|
-
protoOf($deserializeCOROUTINE$1).
|
|
536
|
-
var suspendResult = this.
|
|
535
|
+
protoOf($deserializeCOROUTINE$1).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 _no_name_provided__qut3iv_0(this_0, this.
|
|
546
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
542
|
+
this.m9_1 = 5;
|
|
543
|
+
this.l9_1 = 1;
|
|
544
|
+
var this_0 = asFlow(this.e32_1.v31_1);
|
|
545
|
+
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.f32_1, this.g32_1, this.h32_1);
|
|
546
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.h32_1, null), this);
|
|
547
547
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
548
548
|
return suspendResult;
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
continue $sm;
|
|
552
552
|
case 1:
|
|
553
|
-
this.
|
|
554
|
-
if (!(this.
|
|
555
|
-
return this.
|
|
556
|
-
this.
|
|
557
|
-
this.
|
|
558
|
-
suspendResult = this.
|
|
553
|
+
this.i32_1 = suspendResult;
|
|
554
|
+
if (!(this.i32_1 == null) || this.h32_1.f1f())
|
|
555
|
+
return this.i32_1;
|
|
556
|
+
this.j32_1 = serializerForTypeInfo(this.e32_1.u31_1.l2e(), this.g32_1);
|
|
557
|
+
this.l9_1 = 2;
|
|
558
|
+
suspendResult = this.h32_1.k1k(VOID, this);
|
|
559
559
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
560
560
|
return suspendResult;
|
|
561
561
|
}
|
|
@@ -563,92 +563,92 @@
|
|
|
563
563
|
continue $sm;
|
|
564
564
|
case 2:
|
|
565
565
|
var contentPacket = suspendResult;
|
|
566
|
-
this.
|
|
567
|
-
var tmp0_subject = this.
|
|
566
|
+
this.m9_1 = 3;
|
|
567
|
+
var tmp0_subject = this.e32_1.u31_1;
|
|
568
568
|
var tmp_1;
|
|
569
569
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
570
|
-
tmp_1 = this.
|
|
570
|
+
tmp_1 = this.e32_1.u31_1.k2e(this.j32_1, readText(contentPacket, this.f32_1));
|
|
571
571
|
} else {
|
|
572
572
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
573
|
-
tmp_1 = this.
|
|
573
|
+
tmp_1 = this.e32_1.u31_1.n2e(this.j32_1, readBytes(contentPacket));
|
|
574
574
|
} else {
|
|
575
575
|
discard(contentPacket);
|
|
576
|
-
var message = 'Unsupported format ' + toString(this.
|
|
576
|
+
var message = 'Unsupported format ' + toString(this.e32_1.u31_1);
|
|
577
577
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
return tmp_1;
|
|
582
582
|
case 3:
|
|
583
|
-
this.
|
|
584
|
-
var tmp_2 = this.
|
|
583
|
+
this.m9_1 = 5;
|
|
584
|
+
var tmp_2 = this.o9_1;
|
|
585
585
|
if (tmp_2 instanceof Error) {
|
|
586
|
-
var cause = this.
|
|
586
|
+
var cause = this.o9_1;
|
|
587
587
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
588
588
|
} else {
|
|
589
|
-
throw this.
|
|
589
|
+
throw this.o9_1;
|
|
590
590
|
}
|
|
591
591
|
|
|
592
592
|
case 4:
|
|
593
|
-
this.
|
|
593
|
+
this.m9_1 = 5;
|
|
594
594
|
return Unit_instance;
|
|
595
595
|
case 5:
|
|
596
|
-
throw this.
|
|
596
|
+
throw this.o9_1;
|
|
597
597
|
}
|
|
598
598
|
} catch ($p) {
|
|
599
599
|
var e = $p;
|
|
600
|
-
if (this.
|
|
600
|
+
if (this.m9_1 === 5) {
|
|
601
601
|
throw e;
|
|
602
602
|
} else {
|
|
603
|
-
this.
|
|
604
|
-
this.
|
|
603
|
+
this.l9_1 = this.m9_1;
|
|
604
|
+
this.o9_1 = e;
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
607
|
while (true);
|
|
608
608
|
};
|
|
609
609
|
function KotlinxSerializationConverter(format) {
|
|
610
|
-
this.
|
|
611
|
-
this.
|
|
610
|
+
this.u31_1 = format;
|
|
611
|
+
this.v31_1 = extensions(this.u31_1);
|
|
612
612
|
// Inline function 'kotlin.require' call
|
|
613
613
|
var tmp;
|
|
614
|
-
var tmp_0 = this.
|
|
614
|
+
var tmp_0 = this.u31_1;
|
|
615
615
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
616
616
|
tmp = true;
|
|
617
617
|
} else {
|
|
618
|
-
var tmp_1 = this.
|
|
618
|
+
var tmp_1 = this.u31_1;
|
|
619
619
|
tmp = isInterface(tmp_1, StringFormat);
|
|
620
620
|
}
|
|
621
621
|
// Inline function 'kotlin.contracts.contract' call
|
|
622
622
|
if (!tmp) {
|
|
623
623
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
624
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
624
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.u31_1) + ' is not supported.';
|
|
625
625
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
protoOf(KotlinxSerializationConverter).
|
|
629
|
-
return this.
|
|
628
|
+
protoOf(KotlinxSerializationConverter).k32 = function (contentType, charset, typeInfo, value, $completion) {
|
|
629
|
+
return this.l32(contentType, charset, typeInfo, value, $completion);
|
|
630
630
|
};
|
|
631
|
-
protoOf(KotlinxSerializationConverter).
|
|
632
|
-
return this.
|
|
631
|
+
protoOf(KotlinxSerializationConverter).x2a = function (contentType, charset, typeInfo, value, $completion) {
|
|
632
|
+
return this.k32(contentType, charset, typeInfo, value, $completion);
|
|
633
633
|
};
|
|
634
|
-
protoOf(KotlinxSerializationConverter).
|
|
634
|
+
protoOf(KotlinxSerializationConverter).l32 = function (contentType, charset, typeInfo, value, $completion) {
|
|
635
635
|
var tmp = new $serializeNullableCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
636
|
-
tmp.
|
|
637
|
-
tmp.
|
|
638
|
-
return tmp.
|
|
636
|
+
tmp.n9_1 = Unit_instance;
|
|
637
|
+
tmp.o9_1 = null;
|
|
638
|
+
return tmp.t9();
|
|
639
639
|
};
|
|
640
|
-
protoOf(KotlinxSerializationConverter).
|
|
641
|
-
return this.
|
|
640
|
+
protoOf(KotlinxSerializationConverter).y2a = function (contentType, charset, typeInfo, value, $completion) {
|
|
641
|
+
return this.l32(contentType, charset, typeInfo, value, $completion);
|
|
642
642
|
};
|
|
643
|
-
protoOf(KotlinxSerializationConverter).
|
|
643
|
+
protoOf(KotlinxSerializationConverter).z2a = function (charset, typeInfo, content, $completion) {
|
|
644
644
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
645
|
-
tmp.
|
|
646
|
-
tmp.
|
|
647
|
-
return tmp.
|
|
645
|
+
tmp.n9_1 = Unit_instance;
|
|
646
|
+
tmp.o9_1 = null;
|
|
647
|
+
return tmp.t9();
|
|
648
648
|
};
|
|
649
649
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
650
650
|
var module_0 = _this__u8e3s4;
|
|
651
|
-
var tmp0_safe_receiver = typeInfo.
|
|
651
|
+
var tmp0_safe_receiver = typeInfo.f1y_1;
|
|
652
652
|
var tmp;
|
|
653
653
|
if (tmp0_safe_receiver == null) {
|
|
654
654
|
tmp = null;
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
// Inline function 'kotlin.contracts.contract' call
|
|
658
658
|
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
659
659
|
var tmp_0;
|
|
660
|
-
if (tmp0_safe_receiver.
|
|
660
|
+
if (tmp0_safe_receiver.hb().q()) {
|
|
661
661
|
tmp_0 = null;
|
|
662
662
|
} else {
|
|
663
663
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -667,13 +667,13 @@
|
|
|
667
667
|
var tmp2_elvis_lhs = tmp;
|
|
668
668
|
var tmp_1;
|
|
669
669
|
if (tmp2_elvis_lhs == null) {
|
|
670
|
-
var tmp1_safe_receiver = module_0.
|
|
670
|
+
var tmp1_safe_receiver = module_0.q2e(typeInfo.d1y_1);
|
|
671
671
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
672
672
|
} else {
|
|
673
673
|
tmp_1 = tmp2_elvis_lhs;
|
|
674
674
|
}
|
|
675
675
|
var tmp3_elvis_lhs = tmp_1;
|
|
676
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
676
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.d1y_1), typeInfo) : tmp3_elvis_lhs;
|
|
677
677
|
}
|
|
678
678
|
function guessSerializer(value, module_0) {
|
|
679
679
|
var tmp;
|
|
@@ -705,7 +705,7 @@
|
|
|
705
705
|
var valueSerializer = elementSerializer(value.n2(), module_0);
|
|
706
706
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
707
707
|
} else {
|
|
708
|
-
var tmp3_elvis_lhs = module_0.
|
|
708
|
+
var tmp3_elvis_lhs = module_0.q2e(getKClassFromExpression(value));
|
|
709
709
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
710
710
|
}
|
|
711
711
|
}
|
|
@@ -717,8 +717,8 @@
|
|
|
717
717
|
}
|
|
718
718
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
719
719
|
var tmp;
|
|
720
|
-
var tmp0_safe_receiver = typeInfo.
|
|
721
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
720
|
+
var tmp0_safe_receiver = typeInfo.f1y_1;
|
|
721
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ib()) === true) {
|
|
722
722
|
tmp = get_nullable(_this__u8e3s4);
|
|
723
723
|
} else {
|
|
724
724
|
tmp = _this__u8e3s4;
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
while (tmp0_iterator_0.l()) {
|
|
745
745
|
var e = tmp0_iterator_0.m();
|
|
746
746
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
747
|
-
var key = e.
|
|
747
|
+
var key = e.g2d().h2e();
|
|
748
748
|
if (set.e(key)) {
|
|
749
749
|
list.e(e);
|
|
750
750
|
}
|
|
@@ -759,7 +759,7 @@
|
|
|
759
759
|
while (tmp0_iterator_1.l()) {
|
|
760
760
|
var item_0 = tmp0_iterator_1.m();
|
|
761
761
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
762
|
-
var tmp$ret$5 = item_0.
|
|
762
|
+
var tmp$ret$5 = item_0.g2d().h2e();
|
|
763
763
|
destination_0.e(tmp$ret$5);
|
|
764
764
|
}
|
|
765
765
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
}
|
|
768
768
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
769
769
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
770
|
-
if (selected.
|
|
770
|
+
if (selected.g2d().u2e()) {
|
|
771
771
|
return selected;
|
|
772
772
|
}
|
|
773
773
|
if (!isInterface(selected, KSerializer))
|