@xiuper/mpp-core 0.0.2 → 3.0.0-alpha4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1796 -1796
- package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +278 -278
- package/Xiuper-mpp-codegraph.js +240 -240
- package/kaml.js +639 -639
- package/koog-agents-agents-core.js +4606 -4606
- package/koog-agents-agents-tools.js +41 -41
- package/koog-agents-agents-utils.js +52 -52
- package/koog-http-client-http-client-core.js +4 -4
- package/koog-http-client-http-client-ktor.js +166 -166
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +906 -906
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +299 -299
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +838 -838
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +452 -452
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +1002 -1002
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +3358 -3358
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +532 -532
- package/koog-prompt-prompt-executor-prompt-executor-clients.js +29 -29
- package/koog-prompt-prompt-executor-prompt-executor-llms.js +25 -25
- package/koog-prompt-prompt-executor-prompt-executor-model.js +4 -4
- package/koog-prompt-prompt-llm.js +120 -120
- package/koog-prompt-prompt-markdown.js +30 -30
- package/koog-prompt-prompt-model.js +1055 -1055
- package/koog-prompt-prompt-structure.js +342 -342
- package/koog-utils.js +10 -10
- package/kotlin-kotlin-stdlib.js +453 -411
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging.js +116 -116
- package/kotlin-sdk-kotlin-sdk-client.js +260 -260
- package/kotlin-sdk-kotlin-sdk-core.js +2568 -2568
- package/kotlinx-atomicfu.js +5 -5
- package/kotlinx-coroutines-core.js +532 -654
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +40 -40
- package/kotlinx-io-kotlinx-io-core.js +605 -605
- package/kotlinx-serialization-kotlinx-serialization-core.js +75 -75
- package/kotlinx-serialization-kotlinx-serialization-json.js +95 -95
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +163 -163
- package/ktor-ktor-client-core.js +2237 -2235
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +15 -15
- package/ktor-ktor-http-cio.js +725 -725
- package/ktor-ktor-http.js +805 -805
- package/ktor-ktor-io.js +766 -766
- package/ktor-ktor-network.js +285 -285
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/ktor-ktor-serialization-kotlinx.js +130 -130
- package/ktor-ktor-serialization.js +68 -68
- package/ktor-ktor-server-cio.js +724 -724
- package/ktor-ktor-server-core.js +1793 -1793
- package/ktor-ktor-server-sse.js +125 -125
- package/ktor-ktor-sse.js +40 -40
- package/ktor-ktor-utils.js +690 -690
- package/ktor-ktor-websockets.js +49 -49
- package/markdown.js +1561 -1561
- package/okio-parent-okio.js +368 -368
- package/package.json +1 -1
- package/snakeyaml-engine-kmp.js +2005 -2005
- package/urlencoder-urlencoder-lib.js +43 -43
- package/xiuper-mpp-core.d.ts +45 -7
- package/xiuper-mpp-core.js +22405 -18664
- package/xiuper-mpp-core.js.map +1 -1
- package/autodev-mpp-core.d.ts +0 -1312
- package/autodev-mpp-core.js +0 -86483
- package/autodev-mpp-core.js.map +0 -1
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
var DefaultJson;
|
|
37
37
|
function json(_this__u8e3s4, json, contentType) {
|
|
38
38
|
json = json === VOID ? get_DefaultJson() : json;
|
|
39
|
-
contentType = contentType === VOID ? Application_getInstance().
|
|
39
|
+
contentType = contentType === VOID ? Application_getInstance().m56_1 : contentType;
|
|
40
40
|
_init_properties_JsonSupport_kt__yf438r();
|
|
41
41
|
serialization(_this__u8e3s4, contentType, json);
|
|
42
42
|
}
|
|
@@ -32,29 +32,29 @@
|
|
|
32
32
|
//region block: imports
|
|
33
33
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
34
34
|
var Unit_instance = kotlin_kotlin.$_$.h6;
|
|
35
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
36
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
37
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
38
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
39
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
35
|
+
var CoroutineImpl = kotlin_kotlin.$_$.wc;
|
|
36
|
+
var protoOf = kotlin_kotlin.$_$.ze;
|
|
37
|
+
var THROW_CCE = kotlin_kotlin.$_$.dl;
|
|
38
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.gc;
|
|
39
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.ce;
|
|
40
40
|
var VOID = kotlin_kotlin.$_$.h;
|
|
41
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
42
|
-
var toString = kotlin_kotlin.$_$.
|
|
41
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.zd;
|
|
42
|
+
var toString = kotlin_kotlin.$_$.df;
|
|
43
43
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.j2;
|
|
44
44
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x3;
|
|
45
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
45
|
+
var isInterface = kotlin_kotlin.$_$.me;
|
|
46
46
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.o;
|
|
47
47
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v3;
|
|
48
48
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.p2;
|
|
49
49
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.b1;
|
|
50
50
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c4;
|
|
51
|
-
var equals = kotlin_kotlin.$_$.
|
|
52
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
53
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
54
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
55
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
51
|
+
var equals = kotlin_kotlin.$_$.pd;
|
|
52
|
+
var FunctionAdapter = kotlin_kotlin.$_$.cd;
|
|
53
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
54
|
+
var hashCode = kotlin_kotlin.$_$.wd;
|
|
55
|
+
var initMetadataForClass = kotlin_kotlin.$_$.xd;
|
|
56
56
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.x;
|
|
57
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
57
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f1;
|
|
58
58
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
59
59
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a4;
|
|
60
60
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.g;
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.q5;
|
|
75
75
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
76
76
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
77
|
-
var isArray = kotlin_kotlin.$_$.
|
|
77
|
+
var isArray = kotlin_kotlin.$_$.ee;
|
|
78
78
|
var KtList = kotlin_kotlin.$_$.s6;
|
|
79
79
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
80
80
|
var filterNotNull = kotlin_kotlin.$_$.r8;
|
|
81
81
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.p7;
|
|
82
82
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.s;
|
|
83
83
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
84
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
84
|
+
var singleOrNull = kotlin_kotlin.$_$.sa;
|
|
85
85
|
var Collection = kotlin_kotlin.$_$.n6;
|
|
86
86
|
var emptyList = kotlin_kotlin.$_$.m8;
|
|
87
87
|
//endregion
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
var _iterator__ex2g4s = tmp0.p();
|
|
110
110
|
while (_iterator__ex2g4s.q()) {
|
|
111
111
|
var element = _iterator__ex2g4s.r();
|
|
112
|
-
var tmp0_safe_receiver = element.
|
|
112
|
+
var tmp0_safe_receiver = element.n7p(format);
|
|
113
113
|
if (tmp0_safe_receiver == null)
|
|
114
114
|
null;
|
|
115
115
|
else {
|
|
@@ -120,14 +120,14 @@
|
|
|
120
120
|
return destination;
|
|
121
121
|
}
|
|
122
122
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
123
|
-
_this__u8e3s4.
|
|
123
|
+
_this__u8e3s4.f60(contentType, new KotlinxSerializationConverter(format));
|
|
124
124
|
}
|
|
125
125
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
126
|
+
this.w7p_1 = $$this$unsafeFlow;
|
|
127
|
+
this.x7p_1 = $contentType;
|
|
128
|
+
this.y7p_1 = $charset;
|
|
129
|
+
this.z7p_1 = $typeInfo;
|
|
130
|
+
this.a7q_1 = $value;
|
|
131
131
|
CoroutineImpl.call(this, resultContinuation);
|
|
132
132
|
}
|
|
133
133
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).j2w = function (value, $completion) {
|
|
@@ -148,25 +148,25 @@
|
|
|
148
148
|
case 0:
|
|
149
149
|
this.y9_1 = 3;
|
|
150
150
|
var tmp_0 = this;
|
|
151
|
-
tmp_0.
|
|
151
|
+
tmp_0.c7q_1 = this.w7p_1;
|
|
152
152
|
var tmp_1 = this;
|
|
153
|
-
tmp_1.
|
|
154
|
-
this.
|
|
155
|
-
this.
|
|
153
|
+
tmp_1.d7q_1 = this.b7q_1;
|
|
154
|
+
this.e7q_1 = this.c7q_1;
|
|
155
|
+
this.f7q_1 = this.d7q_1;
|
|
156
156
|
var tmp_2 = this;
|
|
157
|
-
tmp_2.
|
|
158
|
-
this.
|
|
157
|
+
tmp_2.g7q_1 = this.f7q_1;
|
|
158
|
+
this.h7q_1 = this.g7q_1;
|
|
159
159
|
this.x9_1 = 1;
|
|
160
|
-
suspendResult = this.
|
|
160
|
+
suspendResult = this.h7q_1.m7p(this.x7p_1, this.y7p_1, this.z7p_1, this.a7q_1, this);
|
|
161
161
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
162
162
|
return suspendResult;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
continue $sm;
|
|
166
166
|
case 1:
|
|
167
|
-
this.
|
|
167
|
+
this.i7q_1 = suspendResult;
|
|
168
168
|
this.x9_1 = 2;
|
|
169
|
-
suspendResult = this.
|
|
169
|
+
suspendResult = this.e7q_1.b2l(this.i7q_1, this);
|
|
170
170
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
171
171
|
return suspendResult;
|
|
172
172
|
}
|
|
@@ -189,8 +189,8 @@
|
|
|
189
189
|
while (true);
|
|
190
190
|
};
|
|
191
191
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).k2w = function (value, completion) {
|
|
192
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
193
|
-
i.
|
|
192
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.w7p_1, this.x7p_1, this.y7p_1, this.z7p_1, this.a7q_1, completion);
|
|
193
|
+
i.b7q_1 = value;
|
|
194
194
|
return i;
|
|
195
195
|
};
|
|
196
196
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
@@ -203,8 +203,8 @@
|
|
|
203
203
|
}
|
|
204
204
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
205
205
|
CoroutineImpl.call(this, resultContinuation);
|
|
206
|
-
this.
|
|
207
|
-
this.
|
|
206
|
+
this.r7q_1 = _this__u8e3s4;
|
|
207
|
+
this.s7q_1 = collector;
|
|
208
208
|
}
|
|
209
209
|
protoOf($collectCOROUTINE$).fa = function () {
|
|
210
210
|
var suspendResult = this.z9_1;
|
|
@@ -215,11 +215,11 @@
|
|
|
215
215
|
case 0:
|
|
216
216
|
this.y9_1 = 2;
|
|
217
217
|
var tmp_0 = this;
|
|
218
|
-
tmp_0.
|
|
219
|
-
this.
|
|
218
|
+
tmp_0.t7q_1 = this.s7q_1;
|
|
219
|
+
this.u7q_1 = this.t7q_1;
|
|
220
220
|
this.x9_1 = 1;
|
|
221
|
-
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.
|
|
222
|
-
suspendResult = this.
|
|
221
|
+
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.u7q_1, this.r7q_1.w7q_1, this.r7q_1.x7q_1, this.r7q_1.y7q_1, this.r7q_1.z7q_1, null);
|
|
222
|
+
suspendResult = this.r7q_1.v7q_1.g2k(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
223
223
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
224
224
|
return suspendResult;
|
|
225
225
|
}
|
|
@@ -242,10 +242,10 @@
|
|
|
242
242
|
while (true);
|
|
243
243
|
};
|
|
244
244
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
245
|
+
this.i7r_1 = $$this$unsafeFlow;
|
|
246
|
+
this.j7r_1 = $charset;
|
|
247
|
+
this.k7r_1 = $typeInfo;
|
|
248
|
+
this.l7r_1 = $content;
|
|
249
249
|
CoroutineImpl.call(this, resultContinuation);
|
|
250
250
|
}
|
|
251
251
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).j2w = function (value, $completion) {
|
|
@@ -266,25 +266,25 @@
|
|
|
266
266
|
case 0:
|
|
267
267
|
this.y9_1 = 3;
|
|
268
268
|
var tmp_0 = this;
|
|
269
|
-
tmp_0.
|
|
269
|
+
tmp_0.n7r_1 = this.i7r_1;
|
|
270
270
|
var tmp_1 = this;
|
|
271
|
-
tmp_1.
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
271
|
+
tmp_1.o7r_1 = this.m7r_1;
|
|
272
|
+
this.p7r_1 = this.n7r_1;
|
|
273
|
+
this.q7r_1 = this.o7r_1;
|
|
274
274
|
var tmp_2 = this;
|
|
275
|
-
tmp_2.
|
|
276
|
-
this.
|
|
275
|
+
tmp_2.r7r_1 = this.q7r_1;
|
|
276
|
+
this.s7r_1 = this.r7r_1;
|
|
277
277
|
this.x9_1 = 1;
|
|
278
|
-
suspendResult = this.
|
|
278
|
+
suspendResult = this.s7r_1.b61(this.j7r_1, this.k7r_1, this.l7r_1, this);
|
|
279
279
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
280
280
|
return suspendResult;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
continue $sm;
|
|
284
284
|
case 1:
|
|
285
|
-
this.
|
|
285
|
+
this.t7r_1 = suspendResult;
|
|
286
286
|
this.x9_1 = 2;
|
|
287
|
-
suspendResult = this.
|
|
287
|
+
suspendResult = this.p7r_1.b2l(this.t7r_1, this);
|
|
288
288
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
289
289
|
return suspendResult;
|
|
290
290
|
}
|
|
@@ -307,8 +307,8 @@
|
|
|
307
307
|
while (true);
|
|
308
308
|
};
|
|
309
309
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).k2w = function (value, completion) {
|
|
310
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
311
|
-
i.
|
|
310
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.i7r_1, this.j7r_1, this.k7r_1, this.l7r_1, completion);
|
|
311
|
+
i.m7r_1 = value;
|
|
312
312
|
return i;
|
|
313
313
|
};
|
|
314
314
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
@@ -321,8 +321,8 @@
|
|
|
321
321
|
}
|
|
322
322
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
323
323
|
CoroutineImpl.call(this, resultContinuation);
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
324
|
+
this.c7s_1 = _this__u8e3s4;
|
|
325
|
+
this.d7s_1 = collector;
|
|
326
326
|
}
|
|
327
327
|
protoOf($collectCOROUTINE$_0).fa = function () {
|
|
328
328
|
var suspendResult = this.z9_1;
|
|
@@ -333,11 +333,11 @@
|
|
|
333
333
|
case 0:
|
|
334
334
|
this.y9_1 = 2;
|
|
335
335
|
var tmp_0 = this;
|
|
336
|
-
tmp_0.
|
|
337
|
-
this.
|
|
336
|
+
tmp_0.e7s_1 = this.d7s_1;
|
|
337
|
+
this.f7s_1 = this.e7s_1;
|
|
338
338
|
this.x9_1 = 1;
|
|
339
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
340
|
-
suspendResult = this.
|
|
339
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.f7s_1, this.c7s_1.h7s_1, this.c7s_1.i7s_1, this.c7s_1.j7s_1, null);
|
|
340
|
+
suspendResult = this.c7s_1.g7s_1.g2k(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
341
341
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
342
342
|
return suspendResult;
|
|
343
343
|
}
|
|
@@ -376,13 +376,13 @@
|
|
|
376
376
|
return tmp;
|
|
377
377
|
}
|
|
378
378
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
379
|
-
this.
|
|
379
|
+
this.k7s_1 = function_0;
|
|
380
380
|
}
|
|
381
381
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b2l = function (value, $completion) {
|
|
382
|
-
return this.
|
|
382
|
+
return this.k7s_1(value, $completion);
|
|
383
383
|
};
|
|
384
384
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).v3 = function () {
|
|
385
|
-
return this.
|
|
385
|
+
return this.k7s_1;
|
|
386
386
|
};
|
|
387
387
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
388
388
|
var tmp;
|
|
@@ -403,13 +403,13 @@
|
|
|
403
403
|
return hashCode(this.v3());
|
|
404
404
|
};
|
|
405
405
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
406
|
-
this.
|
|
406
|
+
this.l7s_1 = function_0;
|
|
407
407
|
}
|
|
408
408
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b2l = function (value, $completion) {
|
|
409
|
-
return this.
|
|
409
|
+
return this.l7s_1(value, $completion);
|
|
410
410
|
};
|
|
411
411
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).v3 = function () {
|
|
412
|
-
return this.
|
|
412
|
+
return this.l7s_1;
|
|
413
413
|
};
|
|
414
414
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
415
415
|
var tmp;
|
|
@@ -430,11 +430,11 @@
|
|
|
430
430
|
return hashCode(this.v3());
|
|
431
431
|
};
|
|
432
432
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
433
|
+
this.v7q_1 = $this;
|
|
434
|
+
this.w7q_1 = $contentType;
|
|
435
|
+
this.x7q_1 = $charset;
|
|
436
|
+
this.y7q_1 = $typeInfo;
|
|
437
|
+
this.z7q_1 = $value;
|
|
438
438
|
}
|
|
439
439
|
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).c2l = function (collector, $completion) {
|
|
440
440
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -448,14 +448,14 @@
|
|
|
448
448
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
449
449
|
CoroutineImpl.call(this, resultContinuation);
|
|
450
450
|
}
|
|
451
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
452
|
-
var tmp = this.
|
|
451
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).v7s = function (it, $completion) {
|
|
452
|
+
var tmp = this.w7s(it, $completion);
|
|
453
453
|
tmp.z9_1 = Unit_instance;
|
|
454
454
|
tmp.aa_1 = null;
|
|
455
455
|
return tmp.fa();
|
|
456
456
|
};
|
|
457
457
|
protoOf(KotlinxSerializationConverter$serialize$slambda).ra = function (p1, $completion) {
|
|
458
|
-
return this.
|
|
458
|
+
return this.v7s((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
459
459
|
};
|
|
460
460
|
protoOf(KotlinxSerializationConverter$serialize$slambda).fa = function () {
|
|
461
461
|
var suspendResult = this.z9_1;
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
var tmp = this.x9_1;
|
|
465
465
|
if (tmp === 0) {
|
|
466
466
|
this.y9_1 = 1;
|
|
467
|
-
return !(this.
|
|
467
|
+
return !(this.u7s_1 == null);
|
|
468
468
|
} else if (tmp === 1) {
|
|
469
469
|
throw this.aa_1;
|
|
470
470
|
}
|
|
@@ -474,24 +474,24 @@
|
|
|
474
474
|
}
|
|
475
475
|
while (true);
|
|
476
476
|
};
|
|
477
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
477
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).w7s = function (it, completion) {
|
|
478
478
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
479
|
-
i.
|
|
479
|
+
i.u7s_1 = it;
|
|
480
480
|
return i;
|
|
481
481
|
};
|
|
482
482
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
483
483
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
484
484
|
var l = function (it, $completion) {
|
|
485
|
-
return i.
|
|
485
|
+
return i.v7s(it, $completion);
|
|
486
486
|
};
|
|
487
487
|
l.$arity = 1;
|
|
488
488
|
return l;
|
|
489
489
|
}
|
|
490
490
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
491
|
-
this.
|
|
492
|
-
this.
|
|
493
|
-
this.
|
|
494
|
-
this.
|
|
491
|
+
this.g7s_1 = $this;
|
|
492
|
+
this.h7s_1 = $charset;
|
|
493
|
+
this.i7s_1 = $typeInfo;
|
|
494
|
+
this.j7s_1 = $content;
|
|
495
495
|
}
|
|
496
496
|
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).c2l = function (collector, $completion) {
|
|
497
497
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -503,17 +503,17 @@
|
|
|
503
503
|
return this.c2l(collector, $completion);
|
|
504
504
|
};
|
|
505
505
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
506
|
-
this.
|
|
506
|
+
this.f7t_1 = $content;
|
|
507
507
|
CoroutineImpl.call(this, resultContinuation);
|
|
508
508
|
}
|
|
509
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
509
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).c62 = function (it, $completion) {
|
|
510
510
|
var tmp = this.k2w(it, $completion);
|
|
511
511
|
tmp.z9_1 = Unit_instance;
|
|
512
512
|
tmp.aa_1 = null;
|
|
513
513
|
return tmp.fa();
|
|
514
514
|
};
|
|
515
515
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).ra = function (p1, $completion) {
|
|
516
|
-
return this.
|
|
516
|
+
return this.c62((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
517
517
|
};
|
|
518
518
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).fa = function () {
|
|
519
519
|
var suspendResult = this.z9_1;
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
var tmp = this.x9_1;
|
|
523
523
|
if (tmp === 0) {
|
|
524
524
|
this.y9_1 = 1;
|
|
525
|
-
return !(this.
|
|
525
|
+
return !(this.g7t_1 == null) || this.f7t_1.q4h();
|
|
526
526
|
} else if (tmp === 1) {
|
|
527
527
|
throw this.aa_1;
|
|
528
528
|
}
|
|
@@ -533,25 +533,25 @@
|
|
|
533
533
|
while (true);
|
|
534
534
|
};
|
|
535
535
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).k2w = function (it, completion) {
|
|
536
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
537
|
-
i.
|
|
536
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.f7t_1, completion);
|
|
537
|
+
i.g7t_1 = it;
|
|
538
538
|
return i;
|
|
539
539
|
};
|
|
540
540
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
541
541
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
542
542
|
var l = function (it, $completion) {
|
|
543
|
-
return i.
|
|
543
|
+
return i.c62(it, $completion);
|
|
544
544
|
};
|
|
545
545
|
l.$arity = 1;
|
|
546
546
|
return l;
|
|
547
547
|
}
|
|
548
548
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
549
549
|
CoroutineImpl.call(this, resultContinuation);
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
554
|
-
this.
|
|
550
|
+
this.p7t_1 = _this__u8e3s4;
|
|
551
|
+
this.q7t_1 = contentType;
|
|
552
|
+
this.r7t_1 = charset;
|
|
553
|
+
this.s7t_1 = typeInfo;
|
|
554
|
+
this.t7t_1 = value;
|
|
555
555
|
}
|
|
556
556
|
protoOf($serializeCOROUTINE$).fa = function () {
|
|
557
557
|
var suspendResult = this.z9_1;
|
|
@@ -562,8 +562,8 @@
|
|
|
562
562
|
case 0:
|
|
563
563
|
this.y9_1 = 2;
|
|
564
564
|
this.x9_1 = 1;
|
|
565
|
-
var this_0 = asFlow(this.
|
|
566
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
565
|
+
var this_0 = asFlow(this.p7t_1.v7t_1);
|
|
566
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.q7t_1, this.r7t_1, this.s7t_1, this.t7t_1);
|
|
567
567
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
568
568
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
569
569
|
return suspendResult;
|
|
@@ -576,12 +576,12 @@
|
|
|
576
576
|
return fromExtension;
|
|
577
577
|
var tmp_1;
|
|
578
578
|
try {
|
|
579
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
579
|
+
tmp_1 = serializerForTypeInfo(this.p7t_1.u7t_1.lz(), this.s7t_1);
|
|
580
580
|
} catch ($p) {
|
|
581
581
|
var tmp_2;
|
|
582
582
|
if ($p instanceof SerializationException) {
|
|
583
583
|
var cause = $p;
|
|
584
|
-
tmp_2 = guessSerializer(this.
|
|
584
|
+
tmp_2 = guessSerializer(this.t7t_1, this.p7t_1.u7t_1.lz());
|
|
585
585
|
} else {
|
|
586
586
|
throw $p;
|
|
587
587
|
}
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
var serializer = tmp_1;
|
|
592
|
-
return serializeContent(this.
|
|
592
|
+
return serializeContent(this.p7t_1, serializer, this.p7t_1.u7t_1, this.t7t_1, this.q7t_1, this.r7t_1);
|
|
593
593
|
case 2:
|
|
594
594
|
throw this.aa_1;
|
|
595
595
|
}
|
|
@@ -606,10 +606,10 @@
|
|
|
606
606
|
};
|
|
607
607
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
608
608
|
CoroutineImpl.call(this, resultContinuation);
|
|
609
|
-
this.
|
|
610
|
-
this.
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
609
|
+
this.e7u_1 = _this__u8e3s4;
|
|
610
|
+
this.f7u_1 = charset;
|
|
611
|
+
this.g7u_1 = typeInfo;
|
|
612
|
+
this.h7u_1 = content;
|
|
613
613
|
}
|
|
614
614
|
protoOf($deserializeCOROUTINE$).fa = function () {
|
|
615
615
|
var suspendResult = this.z9_1;
|
|
@@ -620,28 +620,28 @@
|
|
|
620
620
|
case 0:
|
|
621
621
|
this.y9_1 = 4;
|
|
622
622
|
this.x9_1 = 1;
|
|
623
|
-
var this_0 = asFlow(this.
|
|
624
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
625
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
623
|
+
var this_0 = asFlow(this.e7u_1.v7t_1);
|
|
624
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.f7u_1, this.g7u_1, this.h7u_1);
|
|
625
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.h7u_1, null), this);
|
|
626
626
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
627
627
|
return suspendResult;
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
continue $sm;
|
|
631
631
|
case 1:
|
|
632
|
-
this.
|
|
632
|
+
this.i7u_1 = suspendResult;
|
|
633
633
|
var tmp_1;
|
|
634
|
-
if (!this.
|
|
635
|
-
tmp_1 = !(this.
|
|
634
|
+
if (!this.e7u_1.v7t_1.m()) {
|
|
635
|
+
tmp_1 = !(this.i7u_1 == null) || this.h7u_1.q4h();
|
|
636
636
|
} else {
|
|
637
637
|
tmp_1 = false;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
if (tmp_1)
|
|
641
|
-
return this.
|
|
642
|
-
this.
|
|
641
|
+
return this.i7u_1;
|
|
642
|
+
this.j7u_1 = serializerForTypeInfo(this.e7u_1.u7t_1.lz(), this.g7u_1);
|
|
643
643
|
this.x9_1 = 2;
|
|
644
|
-
suspendResult = readRemaining(this.
|
|
644
|
+
suspendResult = readRemaining(this.h7u_1, this);
|
|
645
645
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
646
646
|
return suspendResult;
|
|
647
647
|
}
|
|
@@ -650,16 +650,16 @@
|
|
|
650
650
|
case 2:
|
|
651
651
|
var contentPacket = suspendResult;
|
|
652
652
|
this.y9_1 = 3;
|
|
653
|
-
var tmp0_subject = this.
|
|
653
|
+
var tmp0_subject = this.e7u_1.u7t_1;
|
|
654
654
|
var tmp_2;
|
|
655
655
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
656
|
-
tmp_2 = this.
|
|
656
|
+
tmp_2 = this.e7u_1.u7t_1.hw(this.j7u_1, readText(contentPacket, this.f7u_1));
|
|
657
657
|
} else {
|
|
658
658
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
659
|
-
tmp_2 = this.
|
|
659
|
+
tmp_2 = this.e7u_1.u7t_1.jw(this.j7u_1, readByteArray(contentPacket));
|
|
660
660
|
} else {
|
|
661
661
|
discard(contentPacket);
|
|
662
|
-
var message = 'Unsupported format ' + toString(this.
|
|
662
|
+
var message = 'Unsupported format ' + toString(this.e7u_1.u7t_1);
|
|
663
663
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
664
664
|
}
|
|
665
665
|
}
|
|
@@ -690,32 +690,32 @@
|
|
|
690
690
|
while (true);
|
|
691
691
|
};
|
|
692
692
|
function KotlinxSerializationConverter(format) {
|
|
693
|
-
this.
|
|
694
|
-
this.
|
|
693
|
+
this.u7t_1 = format;
|
|
694
|
+
this.v7t_1 = extensions(this.u7t_1);
|
|
695
695
|
var tmp;
|
|
696
|
-
var tmp_0 = this.
|
|
696
|
+
var tmp_0 = this.u7t_1;
|
|
697
697
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
698
698
|
tmp = true;
|
|
699
699
|
} else {
|
|
700
|
-
var tmp_1 = this.
|
|
700
|
+
var tmp_1 = this.u7t_1;
|
|
701
701
|
tmp = isInterface(tmp_1, StringFormat);
|
|
702
702
|
}
|
|
703
703
|
// Inline function 'kotlin.require' call
|
|
704
704
|
if (!tmp) {
|
|
705
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
705
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.u7t_1) + ' is not supported.';
|
|
706
706
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
|
-
protoOf(KotlinxSerializationConverter).
|
|
709
|
+
protoOf(KotlinxSerializationConverter).k7u = function (contentType, charset, typeInfo, value, $completion) {
|
|
710
710
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
711
711
|
tmp.z9_1 = Unit_instance;
|
|
712
712
|
tmp.aa_1 = null;
|
|
713
713
|
return tmp.fa();
|
|
714
714
|
};
|
|
715
|
-
protoOf(KotlinxSerializationConverter).
|
|
716
|
-
return this.
|
|
715
|
+
protoOf(KotlinxSerializationConverter).m7p = function (contentType, charset, typeInfo, value, $completion) {
|
|
716
|
+
return this.k7u(contentType, charset, typeInfo, value, $completion);
|
|
717
717
|
};
|
|
718
|
-
protoOf(KotlinxSerializationConverter).
|
|
718
|
+
protoOf(KotlinxSerializationConverter).b61 = function (charset, typeInfo, content, $completion) {
|
|
719
719
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
720
720
|
tmp.z9_1 = Unit_instance;
|
|
721
721
|
tmp.aa_1 = null;
|
|
@@ -723,7 +723,7 @@
|
|
|
723
723
|
};
|
|
724
724
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
725
725
|
var module_0 = _this__u8e3s4;
|
|
726
|
-
var tmp0_safe_receiver = typeInfo.
|
|
726
|
+
var tmp0_safe_receiver = typeInfo.y54_1;
|
|
727
727
|
var tmp;
|
|
728
728
|
if (tmp0_safe_receiver == null) {
|
|
729
729
|
tmp = null;
|
|
@@ -740,13 +740,13 @@
|
|
|
740
740
|
var tmp1_elvis_lhs = tmp;
|
|
741
741
|
var tmp_1;
|
|
742
742
|
if (tmp1_elvis_lhs == null) {
|
|
743
|
-
var tmp2_safe_receiver = module_0.mw(typeInfo.
|
|
743
|
+
var tmp2_safe_receiver = module_0.mw(typeInfo.x54_1);
|
|
744
744
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
745
745
|
} else {
|
|
746
746
|
tmp_1 = tmp1_elvis_lhs;
|
|
747
747
|
}
|
|
748
748
|
var tmp3_elvis_lhs = tmp_1;
|
|
749
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
749
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.x54_1), typeInfo) : tmp3_elvis_lhs;
|
|
750
750
|
}
|
|
751
751
|
function guessSerializer(value, module_0) {
|
|
752
752
|
var tmp;
|
|
@@ -788,7 +788,7 @@
|
|
|
788
788
|
}
|
|
789
789
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
790
790
|
var tmp;
|
|
791
|
-
var tmp0_safe_receiver = typeInfo.
|
|
791
|
+
var tmp0_safe_receiver = typeInfo.y54_1;
|
|
792
792
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qc()) === true) {
|
|
793
793
|
tmp = get_nullable(_this__u8e3s4);
|
|
794
794
|
} else {
|