@solibo/solibo-sdk 1.6.6 → 1.6.8
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/KmLogging-logging.mjs +77 -77
- package/KotlinBigInteger-bignum.mjs +1099 -1099
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +4 -4
- package/cryptography-kotlin-cryptography-bigint.mjs +26 -26
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +136 -136
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +118 -118
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +246 -246
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/kotlin-kotlin-stdlib.mjs +9 -9
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1053 -1053
- package/ktor-ktor-client-auth.mjs +230 -230
- package/ktor-ktor-client-content-negotiation.mjs +111 -111
- package/ktor-ktor-client-core.mjs +1265 -1260
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-encoding.mjs +81 -81
- package/ktor-ktor-client-logging.mjs +522 -522
- package/ktor-ktor-client-mock.mjs +39 -39
- package/ktor-ktor-serialization-kotlinx-json.mjs +5 -5
- package/ktor-ktor-serialization-kotlinx.mjs +93 -93
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +25808 -25808
- package/solibo-sdk-sdk.mjs +2946 -2901
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -62,19 +62,19 @@ function MockEngine_init_$Create$(config) {
|
|
|
62
62
|
}
|
|
63
63
|
function Companion() {
|
|
64
64
|
}
|
|
65
|
-
protoOf(Companion).
|
|
65
|
+
protoOf(Companion).drd = function (block) {
|
|
66
66
|
// Inline function 'kotlin.apply' call
|
|
67
67
|
var this_0 = new MockEngineConfig();
|
|
68
68
|
block(this_0);
|
|
69
69
|
return MockEngine_init_$Create$(this_0);
|
|
70
70
|
};
|
|
71
71
|
protoOf(Companion).q4j = function (block) {
|
|
72
|
-
return this.
|
|
72
|
+
return this.drd(block);
|
|
73
73
|
};
|
|
74
|
-
protoOf(Companion).
|
|
74
|
+
protoOf(Companion).erd = function (handler) {
|
|
75
75
|
// Inline function 'kotlin.apply' call
|
|
76
76
|
var this_0 = new MockEngineConfig();
|
|
77
|
-
this_0.
|
|
77
|
+
this_0.jrd_1.e1(handler);
|
|
78
78
|
return MockEngine_init_$Create$(this_0);
|
|
79
79
|
};
|
|
80
80
|
var Companion_instance;
|
|
@@ -82,9 +82,9 @@ function Companion_getInstance_1() {
|
|
|
82
82
|
return Companion_instance;
|
|
83
83
|
}
|
|
84
84
|
function MockEngine$execute$slambda($handler, $callContext, $data, resultContinuation) {
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
85
|
+
this.trd_1 = $handler;
|
|
86
|
+
this.urd_1 = $callContext;
|
|
87
|
+
this.vrd_1 = $data;
|
|
88
88
|
CoroutineImpl.call(this, resultContinuation);
|
|
89
89
|
}
|
|
90
90
|
protoOf(MockEngine$execute$slambda).e4p = function ($this$withContext, $completion) {
|
|
@@ -105,7 +105,7 @@ protoOf(MockEngine$execute$slambda).u9 = function () {
|
|
|
105
105
|
case 0:
|
|
106
106
|
this.n9_1 = 2;
|
|
107
107
|
this.m9_1 = 1;
|
|
108
|
-
suspendResult = this.
|
|
108
|
+
suspendResult = this.trd_1(new MockRequestHandleScope(this.urd_1), this.vrd_1, this);
|
|
109
109
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
110
110
|
return suspendResult;
|
|
111
111
|
}
|
|
@@ -128,8 +128,8 @@ protoOf(MockEngine$execute$slambda).u9 = function () {
|
|
|
128
128
|
while (true);
|
|
129
129
|
};
|
|
130
130
|
protoOf(MockEngine$execute$slambda).h2j = function ($this$withContext, completion) {
|
|
131
|
-
var i = new MockEngine$execute$slambda(this.
|
|
132
|
-
i.
|
|
131
|
+
var i = new MockEngine$execute$slambda(this.trd_1, this.urd_1, this.vrd_1, completion);
|
|
132
|
+
i.wrd_1 = $this$withContext;
|
|
133
133
|
return i;
|
|
134
134
|
};
|
|
135
135
|
function MockEngine$execute$slambda_0($handler, $callContext, $data, resultContinuation) {
|
|
@@ -142,14 +142,14 @@ function MockEngine$execute$slambda_0($handler, $callContext, $data, resultConti
|
|
|
142
142
|
}
|
|
143
143
|
function MockEngine$close$lambda(this$0) {
|
|
144
144
|
return function (it) {
|
|
145
|
-
this$0.
|
|
145
|
+
this$0.fre_1.e24();
|
|
146
146
|
return Unit_instance;
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
149
|
function $executeCOROUTINE$(_this__u8e3s4, data, resultContinuation) {
|
|
150
150
|
CoroutineImpl.call(this, resultContinuation);
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
151
|
+
this.rre_1 = _this__u8e3s4;
|
|
152
|
+
this.sre_1 = data;
|
|
153
153
|
}
|
|
154
154
|
protoOf($executeCOROUTINE$).u9 = function () {
|
|
155
155
|
var suspendResult = this.o9_1;
|
|
@@ -168,22 +168,22 @@ protoOf($executeCOROUTINE$).u9 = function () {
|
|
|
168
168
|
continue $sm;
|
|
169
169
|
case 1:
|
|
170
170
|
var callContext_0 = suspendResult;
|
|
171
|
-
this.
|
|
172
|
-
if (this.
|
|
173
|
-
var message = 'Unhandled ' + this.
|
|
171
|
+
this.rre_1.ere_1;
|
|
172
|
+
if (this.rre_1.ire_1 >= this.rre_1.s4i().jrd_1.g1()) {
|
|
173
|
+
var message = 'Unhandled ' + this.sre_1.w4n_1.toString();
|
|
174
174
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
var handler = this.
|
|
178
|
-
this.
|
|
179
|
-
if (this.
|
|
180
|
-
this.
|
|
177
|
+
var handler = this.rre_1.s4i().jrd_1.h1(this.rre_1.ire_1);
|
|
178
|
+
this.rre_1.ire_1 = this.rre_1.ire_1 + 1 | 0;
|
|
179
|
+
if (this.rre_1.s4i().krd_1) {
|
|
180
|
+
this.rre_1.ire_1 = this.rre_1.ire_1 % this.rre_1.s4i().jrd_1.g1() | 0;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
var handler_0 = handler;
|
|
184
184
|
this.m9_1 = 2;
|
|
185
|
-
var tmp_0 = this.
|
|
186
|
-
suspendResult = withContext(tmp_0, MockEngine$execute$slambda_0(handler_0, callContext_0, this.
|
|
185
|
+
var tmp_0 = this.rre_1.k4p().yj(callContext_0);
|
|
186
|
+
suspendResult = withContext(tmp_0, MockEngine$execute$slambda_0(handler_0, callContext_0, this.sre_1, null), this);
|
|
187
187
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
188
188
|
return suspendResult;
|
|
189
189
|
}
|
|
@@ -191,9 +191,9 @@ protoOf($executeCOROUTINE$).u9 = function () {
|
|
|
191
191
|
continue $sm;
|
|
192
192
|
case 2:
|
|
193
193
|
var response = suspendResult;
|
|
194
|
-
this.
|
|
195
|
-
this.
|
|
196
|
-
this.
|
|
194
|
+
this.rre_1.ere_1;
|
|
195
|
+
this.rre_1.gre_1.e1(this.sre_1);
|
|
196
|
+
this.rre_1.hre_1.e1(response);
|
|
197
197
|
return response;
|
|
198
198
|
case 3:
|
|
199
199
|
throw this.p9_1;
|
|
@@ -211,31 +211,31 @@ protoOf($executeCOROUTINE$).u9 = function () {
|
|
|
211
211
|
};
|
|
212
212
|
function MockEngine(config, throwIfEmptyConfig) {
|
|
213
213
|
HttpClientEngineBase.call(this, 'ktor-mock');
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
214
|
+
this.cre_1 = config;
|
|
215
|
+
this.dre_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, WebSocketExtensionsCapability_instance]);
|
|
216
|
+
this.ere_1 = new Object();
|
|
217
|
+
this.fre_1 = Job();
|
|
218
218
|
var tmp = this;
|
|
219
219
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
220
|
-
tmp.
|
|
220
|
+
tmp.gre_1 = ArrayList_init_$Create$();
|
|
221
221
|
var tmp_0 = this;
|
|
222
222
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
223
|
-
tmp_0.
|
|
224
|
-
this.
|
|
223
|
+
tmp_0.hre_1 = ArrayList_init_$Create$();
|
|
224
|
+
this.ire_1 = 0;
|
|
225
225
|
if (throwIfEmptyConfig) {
|
|
226
226
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
227
227
|
// Inline function 'kotlin.check' call
|
|
228
|
-
if (!!this.s4i().
|
|
228
|
+
if (!!this.s4i().jrd_1.r()) {
|
|
229
229
|
var message = 'No request handler provided in [MockEngineConfig], please provide at least one.';
|
|
230
230
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
protoOf(MockEngine).s4i = function () {
|
|
235
|
-
return this.
|
|
235
|
+
return this.cre_1;
|
|
236
236
|
};
|
|
237
237
|
protoOf(MockEngine).d4o = function () {
|
|
238
|
-
return this.
|
|
238
|
+
return this.dre_1;
|
|
239
239
|
};
|
|
240
240
|
protoOf(MockEngine).f4p = function (data, $completion) {
|
|
241
241
|
var tmp = new $executeCOROUTINE$(this, data, $completion);
|
|
@@ -249,14 +249,14 @@ protoOf(MockEngine).c5 = function () {
|
|
|
249
249
|
tmp.y1w(MockEngine$close$lambda(this));
|
|
250
250
|
};
|
|
251
251
|
function MockRequestHandleScope(callContext) {
|
|
252
|
-
this.
|
|
252
|
+
this.tre_1 = callContext;
|
|
253
253
|
}
|
|
254
254
|
function MockEngineConfig() {
|
|
255
255
|
HttpClientEngineConfig.call(this);
|
|
256
256
|
var tmp = this;
|
|
257
257
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
258
|
-
tmp.
|
|
259
|
-
this.
|
|
258
|
+
tmp.jrd_1 = ArrayList_init_$Create$();
|
|
259
|
+
this.krd_1 = true;
|
|
260
260
|
}
|
|
261
261
|
var EmptyArray;
|
|
262
262
|
function respond(_this__u8e3s4, content, status, headers) {
|
|
@@ -269,7 +269,7 @@ function respond_0(_this__u8e3s4, content, status, headers) {
|
|
|
269
269
|
status = status === VOID ? Companion_getInstance().y3r_1 : status;
|
|
270
270
|
headers = headers === VOID ? headersOf() : headers;
|
|
271
271
|
_init_properties_MockUtils_kt__e2fup7();
|
|
272
|
-
return new HttpResponseData(status, GMTDate(), headers, Companion_getInstance_0().o3r_1, content, _this__u8e3s4.
|
|
272
|
+
return new HttpResponseData(status, GMTDate(), headers, Companion_getInstance_0().o3r_1, content, _this__u8e3s4.tre_1);
|
|
273
273
|
}
|
|
274
274
|
var properties_initialized_MockUtils_kt_4monrr;
|
|
275
275
|
function _init_properties_MockUtils_kt__e2fup7() {
|
|
@@ -22,12 +22,12 @@ function json(_this__u8e3s4, json, contentType) {
|
|
|
22
22
|
}
|
|
23
23
|
function DefaultJson$lambda($this$Json) {
|
|
24
24
|
_init_properties_JsonSupport_kt__yf438r();
|
|
25
|
-
$this$Json.
|
|
26
|
-
$this$Json.
|
|
27
|
-
$this$Json.x6b_1 = true;
|
|
25
|
+
$this$Json.k6b_1 = true;
|
|
26
|
+
$this$Json.n6b_1 = true;
|
|
28
27
|
$this$Json.y6b_1 = true;
|
|
29
|
-
$this$Json.
|
|
30
|
-
$this$Json.
|
|
28
|
+
$this$Json.z6b_1 = true;
|
|
29
|
+
$this$Json.o6b_1 = false;
|
|
30
|
+
$this$Json.a6c_1 = false;
|
|
31
31
|
return Unit_instance;
|
|
32
32
|
}
|
|
33
33
|
var properties_initialized_JsonSupport_kt_9cgd93;
|
|
@@ -88,7 +88,7 @@ function extensions(format) {
|
|
|
88
88
|
var _iterator__ex2g4s = tmp0.t();
|
|
89
89
|
while (_iterator__ex2g4s.u()) {
|
|
90
90
|
var element = _iterator__ex2g4s.v();
|
|
91
|
-
var tmp0_safe_receiver = element.
|
|
91
|
+
var tmp0_safe_receiver = element.z6o(format);
|
|
92
92
|
if (tmp0_safe_receiver == null)
|
|
93
93
|
null;
|
|
94
94
|
else {
|
|
@@ -102,11 +102,11 @@ function serialization(_this__u8e3s4, contentType, format) {
|
|
|
102
102
|
_this__u8e3s4.j4e(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.i6p_1 = $$this$unsafeFlow;
|
|
106
|
+
this.j6p_1 = $contentType;
|
|
107
|
+
this.k6p_1 = $charset;
|
|
108
|
+
this.l6p_1 = $typeInfo;
|
|
109
|
+
this.m6p_1 = $value;
|
|
110
110
|
CoroutineImpl.call(this, resultContinuation);
|
|
111
111
|
}
|
|
112
112
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).z4e = function (value, $completion) {
|
|
@@ -126,11 +126,11 @@ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).u9 = function
|
|
|
126
126
|
switch (tmp) {
|
|
127
127
|
case 0:
|
|
128
128
|
this.n9_1 = 3;
|
|
129
|
-
var tmp0 = this.
|
|
130
|
-
var tmp2 = this.
|
|
131
|
-
this.
|
|
129
|
+
var tmp0 = this.i6p_1;
|
|
130
|
+
var tmp2 = this.n6p_1;
|
|
131
|
+
this.o6p_1 = tmp0;
|
|
132
132
|
this.m9_1 = 1;
|
|
133
|
-
suspendResult = tmp2.
|
|
133
|
+
suspendResult = tmp2.y6o(this.j6p_1, this.k6p_1, this.l6p_1, this.m6p_1, this);
|
|
134
134
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
135
135
|
return suspendResult;
|
|
136
136
|
}
|
|
@@ -139,7 +139,7 @@ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).u9 = function
|
|
|
139
139
|
case 1:
|
|
140
140
|
var ARGUMENT = suspendResult;
|
|
141
141
|
this.m9_1 = 2;
|
|
142
|
-
suspendResult = this.
|
|
142
|
+
suspendResult = this.o6p_1.v2g(ARGUMENT, this);
|
|
143
143
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
144
144
|
return suspendResult;
|
|
145
145
|
}
|
|
@@ -162,8 +162,8 @@ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).u9 = function
|
|
|
162
162
|
while (true);
|
|
163
163
|
};
|
|
164
164
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).a4f = function (value, completion) {
|
|
165
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
166
|
-
i.
|
|
165
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.i6p_1, this.j6p_1, this.k6p_1, this.l6p_1, this.m6p_1, completion);
|
|
166
|
+
i.n6p_1 = value;
|
|
167
167
|
return i;
|
|
168
168
|
};
|
|
169
169
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
@@ -176,8 +176,8 @@ function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsa
|
|
|
176
176
|
}
|
|
177
177
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
178
178
|
CoroutineImpl.call(this, resultContinuation);
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
179
|
+
this.x6p_1 = _this__u8e3s4;
|
|
180
|
+
this.y6p_1 = collector;
|
|
181
181
|
}
|
|
182
182
|
protoOf($collectCOROUTINE$).u9 = function () {
|
|
183
183
|
var suspendResult = this.o9_1;
|
|
@@ -187,10 +187,10 @@ protoOf($collectCOROUTINE$).u9 = function () {
|
|
|
187
187
|
switch (tmp) {
|
|
188
188
|
case 0:
|
|
189
189
|
this.n9_1 = 2;
|
|
190
|
-
var $this$unsafeFlow = this.
|
|
190
|
+
var $this$unsafeFlow = this.y6p_1;
|
|
191
191
|
this.m9_1 = 1;
|
|
192
|
-
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
193
|
-
suspendResult = this.
|
|
192
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.x6p_1.a6q_1, this.x6p_1.b6q_1, this.x6p_1.c6q_1, this.x6p_1.d6q_1, null);
|
|
193
|
+
suspendResult = this.x6p_1.z6p_1.x2g(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
194
194
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
195
195
|
return suspendResult;
|
|
196
196
|
}
|
|
@@ -213,10 +213,10 @@ protoOf($collectCOROUTINE$).u9 = function () {
|
|
|
213
213
|
while (true);
|
|
214
214
|
};
|
|
215
215
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
216
|
+
this.m6q_1 = $$this$unsafeFlow;
|
|
217
|
+
this.n6q_1 = $charset;
|
|
218
|
+
this.o6q_1 = $typeInfo;
|
|
219
|
+
this.p6q_1 = $content;
|
|
220
220
|
CoroutineImpl.call(this, resultContinuation);
|
|
221
221
|
}
|
|
222
222
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z4e = function (value, $completion) {
|
|
@@ -236,11 +236,11 @@ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).u9 = functi
|
|
|
236
236
|
switch (tmp) {
|
|
237
237
|
case 0:
|
|
238
238
|
this.n9_1 = 3;
|
|
239
|
-
var tmp0 = this.
|
|
240
|
-
var tmp2 = this.
|
|
241
|
-
this.
|
|
239
|
+
var tmp0 = this.m6q_1;
|
|
240
|
+
var tmp2 = this.q6q_1;
|
|
241
|
+
this.r6q_1 = tmp0;
|
|
242
242
|
this.m9_1 = 1;
|
|
243
|
-
suspendResult = tmp2.b4f(this.
|
|
243
|
+
suspendResult = tmp2.b4f(this.n6q_1, this.o6q_1, this.p6q_1, this);
|
|
244
244
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
245
245
|
return suspendResult;
|
|
246
246
|
}
|
|
@@ -249,7 +249,7 @@ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).u9 = functi
|
|
|
249
249
|
case 1:
|
|
250
250
|
var ARGUMENT = suspendResult;
|
|
251
251
|
this.m9_1 = 2;
|
|
252
|
-
suspendResult = this.
|
|
252
|
+
suspendResult = this.r6q_1.v2g(ARGUMENT, this);
|
|
253
253
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
254
254
|
return suspendResult;
|
|
255
255
|
}
|
|
@@ -272,8 +272,8 @@ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).u9 = functi
|
|
|
272
272
|
while (true);
|
|
273
273
|
};
|
|
274
274
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).a4f = function (value, completion) {
|
|
275
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
276
|
-
i.
|
|
275
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.m6q_1, this.n6q_1, this.o6q_1, this.p6q_1, completion);
|
|
276
|
+
i.q6q_1 = value;
|
|
277
277
|
return i;
|
|
278
278
|
};
|
|
279
279
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
@@ -286,8 +286,8 @@ function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$un
|
|
|
286
286
|
}
|
|
287
287
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
288
288
|
CoroutineImpl.call(this, resultContinuation);
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
289
|
+
this.a6r_1 = _this__u8e3s4;
|
|
290
|
+
this.b6r_1 = collector;
|
|
291
291
|
}
|
|
292
292
|
protoOf($collectCOROUTINE$_0).u9 = function () {
|
|
293
293
|
var suspendResult = this.o9_1;
|
|
@@ -297,10 +297,10 @@ protoOf($collectCOROUTINE$_0).u9 = function () {
|
|
|
297
297
|
switch (tmp) {
|
|
298
298
|
case 0:
|
|
299
299
|
this.n9_1 = 2;
|
|
300
|
-
var $this$unsafeFlow = this.
|
|
300
|
+
var $this$unsafeFlow = this.b6r_1;
|
|
301
301
|
this.m9_1 = 1;
|
|
302
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
303
|
-
suspendResult = this.
|
|
302
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.a6r_1.d6r_1, this.a6r_1.e6r_1, this.a6r_1.f6r_1, null);
|
|
303
|
+
suspendResult = this.a6r_1.c6r_1.x2g(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
304
304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305
305
|
return suspendResult;
|
|
306
306
|
}
|
|
@@ -340,13 +340,13 @@ function serializeContent($this, serializer, format, value, contentType, charset
|
|
|
340
340
|
return tmp;
|
|
341
341
|
}
|
|
342
342
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
343
|
-
this.
|
|
343
|
+
this.g6r_1 = function_0;
|
|
344
344
|
}
|
|
345
345
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).v2g = function (value, $completion) {
|
|
346
|
-
return this.
|
|
346
|
+
return this.g6r_1(value, $completion);
|
|
347
347
|
};
|
|
348
348
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t3 = function () {
|
|
349
|
-
return this.
|
|
349
|
+
return this.g6r_1;
|
|
350
350
|
};
|
|
351
351
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
352
352
|
var tmp;
|
|
@@ -367,13 +367,13 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
|
367
367
|
return hashCode(this.t3());
|
|
368
368
|
};
|
|
369
369
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
370
|
-
this.
|
|
370
|
+
this.h6r_1 = function_0;
|
|
371
371
|
}
|
|
372
372
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).v2g = function (value, $completion) {
|
|
373
|
-
return this.
|
|
373
|
+
return this.h6r_1(value, $completion);
|
|
374
374
|
};
|
|
375
375
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).t3 = function () {
|
|
376
|
-
return this.
|
|
376
|
+
return this.h6r_1;
|
|
377
377
|
};
|
|
378
378
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
379
379
|
var tmp;
|
|
@@ -394,11 +394,11 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
|
394
394
|
return hashCode(this.t3());
|
|
395
395
|
};
|
|
396
396
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
397
|
+
this.z6p_1 = $this;
|
|
398
|
+
this.a6q_1 = $contentType;
|
|
399
|
+
this.b6q_1 = $charset;
|
|
400
|
+
this.c6q_1 = $typeInfo;
|
|
401
|
+
this.d6q_1 = $value;
|
|
402
402
|
}
|
|
403
403
|
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).w2g = function (collector, $completion) {
|
|
404
404
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -412,14 +412,14 @@ protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).x2g = function (
|
|
|
412
412
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
413
413
|
CoroutineImpl.call(this, resultContinuation);
|
|
414
414
|
}
|
|
415
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
416
|
-
var tmp = this.
|
|
415
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).r6r = function (it, $completion) {
|
|
416
|
+
var tmp = this.s6r(it, $completion);
|
|
417
417
|
tmp.o9_1 = Unit_instance;
|
|
418
418
|
tmp.p9_1 = null;
|
|
419
419
|
return tmp.u9();
|
|
420
420
|
};
|
|
421
421
|
protoOf(KotlinxSerializationConverter$serialize$slambda).ga = function (p1, $completion) {
|
|
422
|
-
return this.
|
|
422
|
+
return this.r6r((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
423
423
|
};
|
|
424
424
|
protoOf(KotlinxSerializationConverter$serialize$slambda).u9 = function () {
|
|
425
425
|
var suspendResult = this.o9_1;
|
|
@@ -428,7 +428,7 @@ protoOf(KotlinxSerializationConverter$serialize$slambda).u9 = function () {
|
|
|
428
428
|
var tmp = this.m9_1;
|
|
429
429
|
if (tmp === 0) {
|
|
430
430
|
this.n9_1 = 1;
|
|
431
|
-
return !(this.
|
|
431
|
+
return !(this.q6r_1 == null);
|
|
432
432
|
} else if (tmp === 1) {
|
|
433
433
|
throw this.p9_1;
|
|
434
434
|
}
|
|
@@ -438,24 +438,24 @@ protoOf(KotlinxSerializationConverter$serialize$slambda).u9 = function () {
|
|
|
438
438
|
}
|
|
439
439
|
while (true);
|
|
440
440
|
};
|
|
441
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
441
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).s6r = function (it, completion) {
|
|
442
442
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
443
|
-
i.
|
|
443
|
+
i.q6r_1 = it;
|
|
444
444
|
return i;
|
|
445
445
|
};
|
|
446
446
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
447
447
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
448
448
|
var l = function (it, $completion) {
|
|
449
|
-
return i.
|
|
449
|
+
return i.r6r(it, $completion);
|
|
450
450
|
};
|
|
451
451
|
l.$arity = 1;
|
|
452
452
|
return l;
|
|
453
453
|
}
|
|
454
454
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
455
|
-
this.
|
|
456
|
-
this.
|
|
457
|
-
this.
|
|
458
|
-
this.
|
|
455
|
+
this.c6r_1 = $this;
|
|
456
|
+
this.d6r_1 = $charset;
|
|
457
|
+
this.e6r_1 = $typeInfo;
|
|
458
|
+
this.f6r_1 = $content;
|
|
459
459
|
}
|
|
460
460
|
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).w2g = function (collector, $completion) {
|
|
461
461
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -467,7 +467,7 @@ protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).x2g = function
|
|
|
467
467
|
return this.w2g(collector, $completion);
|
|
468
468
|
};
|
|
469
469
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
470
|
-
this.
|
|
470
|
+
this.b6s_1 = $content;
|
|
471
471
|
CoroutineImpl.call(this, resultContinuation);
|
|
472
472
|
}
|
|
473
473
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).a4g = function (it, $completion) {
|
|
@@ -486,7 +486,7 @@ protoOf(KotlinxSerializationConverter$deserialize$slambda).u9 = function () {
|
|
|
486
486
|
var tmp = this.m9_1;
|
|
487
487
|
if (tmp === 0) {
|
|
488
488
|
this.n9_1 = 1;
|
|
489
|
-
return !(this.
|
|
489
|
+
return !(this.c6s_1 == null) || this.b6s_1.c2x();
|
|
490
490
|
} else if (tmp === 1) {
|
|
491
491
|
throw this.p9_1;
|
|
492
492
|
}
|
|
@@ -497,8 +497,8 @@ protoOf(KotlinxSerializationConverter$deserialize$slambda).u9 = function () {
|
|
|
497
497
|
while (true);
|
|
498
498
|
};
|
|
499
499
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).a4f = function (it, completion) {
|
|
500
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
501
|
-
i.
|
|
500
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.b6s_1, completion);
|
|
501
|
+
i.c6s_1 = it;
|
|
502
502
|
return i;
|
|
503
503
|
};
|
|
504
504
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
@@ -511,11 +511,11 @@ function KotlinxSerializationConverter$deserialize$slambda_0($content, resultCon
|
|
|
511
511
|
}
|
|
512
512
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
513
513
|
CoroutineImpl.call(this, resultContinuation);
|
|
514
|
-
this.
|
|
515
|
-
this.
|
|
516
|
-
this.
|
|
517
|
-
this.
|
|
518
|
-
this.
|
|
514
|
+
this.l6s_1 = _this__u8e3s4;
|
|
515
|
+
this.m6s_1 = contentType;
|
|
516
|
+
this.n6s_1 = charset;
|
|
517
|
+
this.o6s_1 = typeInfo;
|
|
518
|
+
this.p6s_1 = value;
|
|
519
519
|
}
|
|
520
520
|
protoOf($serializeCOROUTINE$).u9 = function () {
|
|
521
521
|
var suspendResult = this.o9_1;
|
|
@@ -526,8 +526,8 @@ protoOf($serializeCOROUTINE$).u9 = function () {
|
|
|
526
526
|
case 0:
|
|
527
527
|
this.n9_1 = 2;
|
|
528
528
|
this.m9_1 = 1;
|
|
529
|
-
var this_0 = asFlow(this.
|
|
530
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
529
|
+
var this_0 = asFlow(this.l6s_1.r6s_1);
|
|
530
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.m6s_1, this.n6s_1, this.o6s_1, this.p6s_1);
|
|
531
531
|
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
532
532
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
533
533
|
return suspendResult;
|
|
@@ -540,12 +540,12 @@ protoOf($serializeCOROUTINE$).u9 = function () {
|
|
|
540
540
|
return fromExtension;
|
|
541
541
|
var tmp_1;
|
|
542
542
|
try {
|
|
543
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
543
|
+
tmp_1 = serializerForTypeInfo(this.l6s_1.q6s_1.mt(), this.o6s_1);
|
|
544
544
|
} catch ($p) {
|
|
545
545
|
var tmp_2;
|
|
546
546
|
if ($p instanceof SerializationException) {
|
|
547
547
|
var cause = $p;
|
|
548
|
-
tmp_2 = guessSerializer(this.
|
|
548
|
+
tmp_2 = guessSerializer(this.p6s_1, this.l6s_1.q6s_1.mt());
|
|
549
549
|
} else {
|
|
550
550
|
throw $p;
|
|
551
551
|
}
|
|
@@ -553,7 +553,7 @@ protoOf($serializeCOROUTINE$).u9 = function () {
|
|
|
553
553
|
}
|
|
554
554
|
|
|
555
555
|
var serializer = tmp_1;
|
|
556
|
-
return serializeContent(this.
|
|
556
|
+
return serializeContent(this.l6s_1, serializer, this.l6s_1.q6s_1, this.p6s_1, this.m6s_1, this.n6s_1);
|
|
557
557
|
case 2:
|
|
558
558
|
throw this.p9_1;
|
|
559
559
|
}
|
|
@@ -570,10 +570,10 @@ protoOf($serializeCOROUTINE$).u9 = function () {
|
|
|
570
570
|
};
|
|
571
571
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
572
572
|
CoroutineImpl.call(this, resultContinuation);
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
573
|
+
this.a6t_1 = _this__u8e3s4;
|
|
574
|
+
this.b6t_1 = charset;
|
|
575
|
+
this.c6t_1 = typeInfo;
|
|
576
|
+
this.d6t_1 = content;
|
|
577
577
|
}
|
|
578
578
|
protoOf($deserializeCOROUTINE$).u9 = function () {
|
|
579
579
|
var suspendResult = this.o9_1;
|
|
@@ -584,9 +584,9 @@ protoOf($deserializeCOROUTINE$).u9 = function () {
|
|
|
584
584
|
case 0:
|
|
585
585
|
this.n9_1 = 4;
|
|
586
586
|
this.m9_1 = 1;
|
|
587
|
-
var this_0 = asFlow(this.
|
|
588
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
589
|
-
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
587
|
+
var this_0 = asFlow(this.a6t_1.r6s_1);
|
|
588
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.b6t_1, this.c6t_1, this.d6t_1);
|
|
589
|
+
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.d6t_1, null), this);
|
|
590
590
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
591
591
|
return suspendResult;
|
|
592
592
|
}
|
|
@@ -595,17 +595,17 @@ protoOf($deserializeCOROUTINE$).u9 = function () {
|
|
|
595
595
|
case 1:
|
|
596
596
|
var fromExtension = suspendResult;
|
|
597
597
|
var tmp_1;
|
|
598
|
-
if (!this.
|
|
599
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
598
|
+
if (!this.a6t_1.r6s_1.r()) {
|
|
599
|
+
tmp_1 = !(fromExtension == null) || this.d6t_1.c2x();
|
|
600
600
|
} else {
|
|
601
601
|
tmp_1 = false;
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
if (tmp_1)
|
|
605
605
|
return fromExtension;
|
|
606
|
-
this.
|
|
606
|
+
this.e6t_1 = serializerForTypeInfo(this.a6t_1.q6s_1.mt(), this.c6t_1);
|
|
607
607
|
this.m9_1 = 2;
|
|
608
|
-
suspendResult = readRemaining(this.
|
|
608
|
+
suspendResult = readRemaining(this.d6t_1, this);
|
|
609
609
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
610
610
|
return suspendResult;
|
|
611
611
|
}
|
|
@@ -614,16 +614,16 @@ protoOf($deserializeCOROUTINE$).u9 = function () {
|
|
|
614
614
|
case 2:
|
|
615
615
|
var contentPacket = suspendResult;
|
|
616
616
|
this.n9_1 = 3;
|
|
617
|
-
var tmp0_subject = this.
|
|
617
|
+
var tmp0_subject = this.a6t_1.q6s_1;
|
|
618
618
|
var tmp_2;
|
|
619
619
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
620
|
-
tmp_2 = this.
|
|
620
|
+
tmp_2 = this.a6t_1.q6s_1.ju(this.e6t_1, readText(contentPacket, this.b6t_1));
|
|
621
621
|
} else {
|
|
622
622
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
623
|
-
tmp_2 = this.
|
|
623
|
+
tmp_2 = this.a6t_1.q6s_1.lu(this.e6t_1, readByteArray(contentPacket));
|
|
624
624
|
} else {
|
|
625
625
|
discard(contentPacket);
|
|
626
|
-
var message = 'Unsupported format ' + toString(this.
|
|
626
|
+
var message = 'Unsupported format ' + toString(this.a6t_1.q6s_1);
|
|
627
627
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
628
628
|
}
|
|
629
629
|
}
|
|
@@ -654,30 +654,30 @@ protoOf($deserializeCOROUTINE$).u9 = function () {
|
|
|
654
654
|
while (true);
|
|
655
655
|
};
|
|
656
656
|
function KotlinxSerializationConverter(format) {
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
657
|
+
this.q6s_1 = format;
|
|
658
|
+
this.r6s_1 = extensions(this.q6s_1);
|
|
659
659
|
var tmp;
|
|
660
|
-
var tmp_0 = this.
|
|
660
|
+
var tmp_0 = this.q6s_1;
|
|
661
661
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
662
662
|
tmp = true;
|
|
663
663
|
} else {
|
|
664
|
-
var tmp_1 = this.
|
|
664
|
+
var tmp_1 = this.q6s_1;
|
|
665
665
|
tmp = isInterface(tmp_1, StringFormat);
|
|
666
666
|
}
|
|
667
667
|
// Inline function 'kotlin.require' call
|
|
668
668
|
if (!tmp) {
|
|
669
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
669
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.q6s_1) + ' is not supported.';
|
|
670
670
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
|
-
protoOf(KotlinxSerializationConverter).
|
|
673
|
+
protoOf(KotlinxSerializationConverter).f6t = function (contentType, charset, typeInfo, value, $completion) {
|
|
674
674
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
675
675
|
tmp.o9_1 = Unit_instance;
|
|
676
676
|
tmp.p9_1 = null;
|
|
677
677
|
return tmp.u9();
|
|
678
678
|
};
|
|
679
|
-
protoOf(KotlinxSerializationConverter).
|
|
680
|
-
return this.
|
|
679
|
+
protoOf(KotlinxSerializationConverter).y6o = function (contentType, charset, typeInfo, value, $completion) {
|
|
680
|
+
return this.f6t(contentType, charset, typeInfo, value, $completion);
|
|
681
681
|
};
|
|
682
682
|
protoOf(KotlinxSerializationConverter).b4f = function (charset, typeInfo, content, $completion) {
|
|
683
683
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|