@doordeck/doordeck-headless-sdk 0.114.0 → 0.116.0
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/Kermit-kermit-core.js +59 -58
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1899 -1681
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +6 -6
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +30 -11
- package/kotlin/doordeck-sdk.d.ts +1576 -290
- package/kotlin/doordeck-sdk.js +6395 -6373
- package/kotlin/kotlin-kotlin-stdlib.js +590 -719
- package/kotlin/kotlinx-atomicfu.js +5 -5
- package/kotlin/kotlinx-coroutines-core.js +246 -243
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +12 -12
- package/kotlin/kotlinx-io-kotlinx-io-core.js +104 -104
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +126 -117
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1216 -1214
- package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js → ktor-ktor-client-auth.js} +283 -286
- package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js → ktor-ktor-client-content-negotiation.js} +169 -169
- package/kotlin/{ktor-ktor-client-ktor-client-core.js → ktor-ktor-client-core.js} +2515 -2518
- package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js → ktor-ktor-client-logging.js} +926 -831
- package/kotlin/{ktor-ktor-shared-ktor-events.js → ktor-ktor-events.js} +9 -9
- package/kotlin/{ktor-ktor-http-ktor-http-cio.js → ktor-ktor-http-cio.js} +371 -370
- package/kotlin/ktor-ktor-http.js +867 -952
- package/kotlin/ktor-ktor-io.js +389 -411
- package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js → ktor-ktor-serialization-kotlinx-json.js} +7 -7
- package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js → ktor-ktor-serialization-kotlinx.js} +150 -150
- package/kotlin/{ktor-ktor-shared-ktor-serialization.js → ktor-ktor-serialization.js} +75 -75
- package/kotlin/ktor-ktor-utils.js +117 -92
- package/kotlin/{ktor-ktor-shared-ktor-websockets.js → ktor-ktor-websockets.js} +52 -52
- package/package.json +3 -3
- /package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js → ktor-ktor-client-encoding.js} +0 -0
- /package/kotlin/{ktor-ktor-shared-ktor-sse.js → ktor-ktor-sse.js} +0 -0
- /package/kotlin/{ktor-ktor-shared-ktor-websocket-serialization.js → ktor-ktor-websocket-serialization.js} +0 -0
|
@@ -4,34 +4,34 @@
|
|
|
4
4
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
6
6
|
var CoroutineImpl = kotlin_kotlin.$_$.v9;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.vb;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.vf;
|
|
9
9
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f9;
|
|
10
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
10
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.ya;
|
|
11
11
|
var VOID = kotlin_kotlin.$_$.h;
|
|
12
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.va;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.zb;
|
|
14
14
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
15
15
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
16
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.ib;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
|
|
18
18
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
19
|
-
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.
|
|
19
|
+
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.x1;
|
|
20
20
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.w;
|
|
21
21
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
22
|
+
var equals = kotlin_kotlin.$_$.ma;
|
|
23
23
|
var FunctionAdapter = kotlin_kotlin.$_$.z9;
|
|
24
24
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
25
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
25
|
+
var hashCode = kotlin_kotlin.$_$.sa;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ta;
|
|
27
27
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
28
28
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
29
29
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
30
30
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
31
31
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
32
|
-
var discard = kotlin_io_ktor_ktor_io.$_$.
|
|
32
|
+
var discard = kotlin_io_ktor_ktor_io.$_$.y;
|
|
33
33
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
34
|
-
var readText = kotlin_io_ktor_ktor_io.$_$.
|
|
34
|
+
var readText = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
35
35
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
36
36
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
37
37
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.z4;
|
|
46
46
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
47
47
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
48
|
-
var isArray = kotlin_kotlin.$_$.
|
|
48
|
+
var isArray = kotlin_kotlin.$_$.ab;
|
|
49
49
|
var KtList = kotlin_kotlin.$_$.r5;
|
|
50
50
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
51
51
|
var filterNotNull = kotlin_kotlin.$_$.d7;
|
|
@@ -58,17 +58,17 @@
|
|
|
58
58
|
//endregion
|
|
59
59
|
//region block: pre-declaration
|
|
60
60
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
61
|
-
initMetadataForCoroutine($collectCOROUTINE
|
|
61
|
+
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
62
62
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
63
|
-
initMetadataForCoroutine($collectCOROUTINE$
|
|
63
|
+
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
64
64
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
65
65
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
66
66
|
initMetadataForClass(KotlinxSerializationConverter$serialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
67
67
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$slambda, CoroutineImpl, VOID, [1]);
|
|
68
68
|
initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
69
69
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
|
|
70
|
-
initMetadataForCoroutine($serializeCOROUTINE
|
|
71
|
-
initMetadataForCoroutine($deserializeCOROUTINE
|
|
70
|
+
initMetadataForCoroutine($serializeCOROUTINE$, CoroutineImpl);
|
|
71
|
+
initMetadataForCoroutine($deserializeCOROUTINE$, CoroutineImpl);
|
|
72
72
|
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, VOID, [4, 3]);
|
|
73
73
|
//endregion
|
|
74
74
|
function extensions(format) {
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
var _iterator__ex2g4s = tmp0.p();
|
|
81
81
|
while (_iterator__ex2g4s.q()) {
|
|
82
82
|
var element = _iterator__ex2g4s.r();
|
|
83
|
-
var tmp0_safe_receiver = element.
|
|
83
|
+
var tmp0_safe_receiver = element.g5j(format);
|
|
84
84
|
if (tmp0_safe_receiver == null)
|
|
85
85
|
null;
|
|
86
86
|
else {
|
|
@@ -91,24 +91,24 @@
|
|
|
91
91
|
return destination;
|
|
92
92
|
}
|
|
93
93
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
94
|
-
_this__u8e3s4.
|
|
94
|
+
_this__u8e3s4.m3d(contentType, new KotlinxSerializationConverter(format));
|
|
95
95
|
}
|
|
96
96
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
97
|
+
this.p5j_1 = $$this$unsafeFlow;
|
|
98
|
+
this.q5j_1 = $contentType;
|
|
99
|
+
this.r5j_1 = $charset;
|
|
100
|
+
this.s5j_1 = $typeInfo;
|
|
101
|
+
this.t5j_1 = $value;
|
|
102
102
|
CoroutineImpl.call(this, resultContinuation);
|
|
103
103
|
}
|
|
104
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
105
|
-
var tmp = this.
|
|
104
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).i3e = function (value, $completion) {
|
|
105
|
+
var tmp = this.j3e(value, $completion);
|
|
106
106
|
tmp.i9_1 = Unit_instance;
|
|
107
107
|
tmp.j9_1 = null;
|
|
108
108
|
return tmp.o9();
|
|
109
109
|
};
|
|
110
110
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).ca = function (p1, $completion) {
|
|
111
|
-
return this.
|
|
111
|
+
return this.i3e((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
112
112
|
};
|
|
113
113
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).o9 = function () {
|
|
114
114
|
var suspendResult = this.i9_1;
|
|
@@ -119,25 +119,25 @@
|
|
|
119
119
|
case 0:
|
|
120
120
|
this.h9_1 = 3;
|
|
121
121
|
var tmp_0 = this;
|
|
122
|
-
tmp_0.
|
|
122
|
+
tmp_0.v5j_1 = this.p5j_1;
|
|
123
123
|
var tmp_1 = this;
|
|
124
|
-
tmp_1.
|
|
125
|
-
this.w5j_1 = this.u5j_1;
|
|
124
|
+
tmp_1.w5j_1 = this.u5j_1;
|
|
126
125
|
this.x5j_1 = this.v5j_1;
|
|
126
|
+
this.y5j_1 = this.w5j_1;
|
|
127
127
|
var tmp_2 = this;
|
|
128
|
-
tmp_2.
|
|
129
|
-
this.
|
|
128
|
+
tmp_2.z5j_1 = this.y5j_1;
|
|
129
|
+
this.a5k_1 = this.z5j_1;
|
|
130
130
|
this.g9_1 = 1;
|
|
131
|
-
suspendResult = this.
|
|
131
|
+
suspendResult = this.a5k_1.f5j(this.q5j_1, this.r5j_1, this.s5j_1, this.t5j_1, this);
|
|
132
132
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
133
133
|
return suspendResult;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
continue $sm;
|
|
137
137
|
case 1:
|
|
138
|
-
this.
|
|
138
|
+
this.b5k_1 = suspendResult;
|
|
139
139
|
this.g9_1 = 2;
|
|
140
|
-
suspendResult = this.
|
|
140
|
+
suspendResult = this.x5j_1.y18(this.b5k_1, this);
|
|
141
141
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
142
142
|
return suspendResult;
|
|
143
143
|
}
|
|
@@ -159,25 +159,25 @@
|
|
|
159
159
|
}
|
|
160
160
|
while (true);
|
|
161
161
|
};
|
|
162
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
163
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
164
|
-
i.
|
|
162
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).j3e = function (value, completion) {
|
|
163
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.p5j_1, this.q5j_1, this.r5j_1, this.s5j_1, this.t5j_1, completion);
|
|
164
|
+
i.u5j_1 = value;
|
|
165
165
|
return i;
|
|
166
166
|
};
|
|
167
167
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
168
168
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
169
169
|
var l = function (value, $completion) {
|
|
170
|
-
return i.
|
|
170
|
+
return i.i3e(value, $completion);
|
|
171
171
|
};
|
|
172
172
|
l.$arity = 1;
|
|
173
173
|
return l;
|
|
174
174
|
}
|
|
175
|
-
function $collectCOROUTINE$
|
|
175
|
+
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
176
176
|
CoroutineImpl.call(this, resultContinuation);
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
177
|
+
this.k5k_1 = _this__u8e3s4;
|
|
178
|
+
this.l5k_1 = collector;
|
|
179
179
|
}
|
|
180
|
-
protoOf($collectCOROUTINE$
|
|
180
|
+
protoOf($collectCOROUTINE$).o9 = function () {
|
|
181
181
|
var suspendResult = this.i9_1;
|
|
182
182
|
$sm: do
|
|
183
183
|
try {
|
|
@@ -186,11 +186,11 @@
|
|
|
186
186
|
case 0:
|
|
187
187
|
this.h9_1 = 2;
|
|
188
188
|
var tmp_0 = this;
|
|
189
|
-
tmp_0.
|
|
190
|
-
this.
|
|
189
|
+
tmp_0.m5k_1 = this.l5k_1;
|
|
190
|
+
this.n5k_1 = this.m5k_1;
|
|
191
191
|
this.g9_1 = 1;
|
|
192
|
-
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.
|
|
193
|
-
suspendResult = this.
|
|
192
|
+
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.n5k_1, this.k5k_1.p5k_1, this.k5k_1.q5k_1, this.k5k_1.r5k_1, this.k5k_1.s5k_1, null);
|
|
193
|
+
suspendResult = this.k5k_1.o5k_1.a19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
194
194
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
195
195
|
return suspendResult;
|
|
196
196
|
}
|
|
@@ -213,20 +213,20 @@
|
|
|
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.b5l_1 = $$this$unsafeFlow;
|
|
217
|
+
this.c5l_1 = $charset;
|
|
218
|
+
this.d5l_1 = $typeInfo;
|
|
219
|
+
this.e5l_1 = $content;
|
|
220
220
|
CoroutineImpl.call(this, resultContinuation);
|
|
221
221
|
}
|
|
222
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
223
|
-
var tmp = this.
|
|
222
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i3e = function (value, $completion) {
|
|
223
|
+
var tmp = this.j3e(value, $completion);
|
|
224
224
|
tmp.i9_1 = Unit_instance;
|
|
225
225
|
tmp.j9_1 = null;
|
|
226
226
|
return tmp.o9();
|
|
227
227
|
};
|
|
228
228
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).ca = function (p1, $completion) {
|
|
229
|
-
return this.
|
|
229
|
+
return this.i3e((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
230
230
|
};
|
|
231
231
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).o9 = function () {
|
|
232
232
|
var suspendResult = this.i9_1;
|
|
@@ -237,25 +237,25 @@
|
|
|
237
237
|
case 0:
|
|
238
238
|
this.h9_1 = 3;
|
|
239
239
|
var tmp_0 = this;
|
|
240
|
-
tmp_0.
|
|
240
|
+
tmp_0.g5l_1 = this.b5l_1;
|
|
241
241
|
var tmp_1 = this;
|
|
242
|
-
tmp_1.
|
|
243
|
-
this.h5l_1 = this.f5l_1;
|
|
242
|
+
tmp_1.h5l_1 = this.f5l_1;
|
|
244
243
|
this.i5l_1 = this.g5l_1;
|
|
244
|
+
this.j5l_1 = this.h5l_1;
|
|
245
245
|
var tmp_2 = this;
|
|
246
|
-
tmp_2.
|
|
247
|
-
this.
|
|
246
|
+
tmp_2.k5l_1 = this.j5l_1;
|
|
247
|
+
this.l5l_1 = this.k5l_1;
|
|
248
248
|
this.g9_1 = 1;
|
|
249
|
-
suspendResult = this.
|
|
249
|
+
suspendResult = this.l5l_1.k3e(this.c5l_1, this.d5l_1, this.e5l_1, this);
|
|
250
250
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
251
251
|
return suspendResult;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
continue $sm;
|
|
255
255
|
case 1:
|
|
256
|
-
this.
|
|
256
|
+
this.m5l_1 = suspendResult;
|
|
257
257
|
this.g9_1 = 2;
|
|
258
|
-
suspendResult = this.
|
|
258
|
+
suspendResult = this.i5l_1.y18(this.m5l_1, this);
|
|
259
259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
260
260
|
return suspendResult;
|
|
261
261
|
}
|
|
@@ -277,25 +277,25 @@
|
|
|
277
277
|
}
|
|
278
278
|
while (true);
|
|
279
279
|
};
|
|
280
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
281
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
282
|
-
i.
|
|
280
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).j3e = function (value, completion) {
|
|
281
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.b5l_1, this.c5l_1, this.d5l_1, this.e5l_1, completion);
|
|
282
|
+
i.f5l_1 = value;
|
|
283
283
|
return i;
|
|
284
284
|
};
|
|
285
285
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
286
286
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
287
287
|
var l = function (value, $completion) {
|
|
288
|
-
return i.
|
|
288
|
+
return i.i3e(value, $completion);
|
|
289
289
|
};
|
|
290
290
|
l.$arity = 1;
|
|
291
291
|
return l;
|
|
292
292
|
}
|
|
293
|
-
function $collectCOROUTINE$
|
|
293
|
+
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
294
294
|
CoroutineImpl.call(this, resultContinuation);
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
295
|
+
this.v5l_1 = _this__u8e3s4;
|
|
296
|
+
this.w5l_1 = collector;
|
|
297
297
|
}
|
|
298
|
-
protoOf($collectCOROUTINE$
|
|
298
|
+
protoOf($collectCOROUTINE$_0).o9 = function () {
|
|
299
299
|
var suspendResult = this.i9_1;
|
|
300
300
|
$sm: do
|
|
301
301
|
try {
|
|
@@ -304,11 +304,11 @@
|
|
|
304
304
|
case 0:
|
|
305
305
|
this.h9_1 = 2;
|
|
306
306
|
var tmp_0 = this;
|
|
307
|
-
tmp_0.
|
|
308
|
-
this.
|
|
307
|
+
tmp_0.x5l_1 = this.w5l_1;
|
|
308
|
+
this.y5l_1 = this.x5l_1;
|
|
309
309
|
this.g9_1 = 1;
|
|
310
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
311
|
-
suspendResult = this.
|
|
310
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.y5l_1, this.v5l_1.a5m_1, this.v5l_1.b5m_1, this.v5l_1.c5m_1, null);
|
|
311
|
+
suspendResult = this.v5l_1.z5l_1.a19(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
312
312
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
313
313
|
return suspendResult;
|
|
314
314
|
}
|
|
@@ -347,13 +347,13 @@
|
|
|
347
347
|
return tmp;
|
|
348
348
|
}
|
|
349
349
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
350
|
-
this.
|
|
350
|
+
this.d5m_1 = function_0;
|
|
351
351
|
}
|
|
352
352
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).y18 = function (value, $completion) {
|
|
353
|
-
return this.
|
|
353
|
+
return this.d5m_1(value, $completion);
|
|
354
354
|
};
|
|
355
355
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
356
|
-
return this.
|
|
356
|
+
return this.d5m_1;
|
|
357
357
|
};
|
|
358
358
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
359
359
|
var tmp;
|
|
@@ -374,13 +374,13 @@
|
|
|
374
374
|
return hashCode(this.s3());
|
|
375
375
|
};
|
|
376
376
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
377
|
-
this.
|
|
377
|
+
this.e5m_1 = function_0;
|
|
378
378
|
}
|
|
379
379
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).y18 = function (value, $completion) {
|
|
380
|
-
return this.
|
|
380
|
+
return this.e5m_1(value, $completion);
|
|
381
381
|
};
|
|
382
382
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s3 = function () {
|
|
383
|
-
return this.
|
|
383
|
+
return this.e5m_1;
|
|
384
384
|
};
|
|
385
385
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
386
386
|
var tmp;
|
|
@@ -401,14 +401,14 @@
|
|
|
401
401
|
return hashCode(this.s3());
|
|
402
402
|
};
|
|
403
403
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
404
|
+
this.o5k_1 = $this;
|
|
405
|
+
this.p5k_1 = $contentType;
|
|
406
|
+
this.q5k_1 = $charset;
|
|
407
|
+
this.r5k_1 = $typeInfo;
|
|
408
|
+
this.s5k_1 = $value;
|
|
409
409
|
}
|
|
410
410
|
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).z18 = function (collector, $completion) {
|
|
411
|
-
var tmp = new $collectCOROUTINE$
|
|
411
|
+
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
412
412
|
tmp.i9_1 = Unit_instance;
|
|
413
413
|
tmp.j9_1 = null;
|
|
414
414
|
return tmp.o9();
|
|
@@ -419,14 +419,14 @@
|
|
|
419
419
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
420
420
|
CoroutineImpl.call(this, resultContinuation);
|
|
421
421
|
}
|
|
422
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
423
|
-
var tmp = this.
|
|
422
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).o5m = function (it, $completion) {
|
|
423
|
+
var tmp = this.p5m(it, $completion);
|
|
424
424
|
tmp.i9_1 = Unit_instance;
|
|
425
425
|
tmp.j9_1 = null;
|
|
426
426
|
return tmp.o9();
|
|
427
427
|
};
|
|
428
428
|
protoOf(KotlinxSerializationConverter$serialize$slambda).ca = function (p1, $completion) {
|
|
429
|
-
return this.
|
|
429
|
+
return this.o5m((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
430
430
|
};
|
|
431
431
|
protoOf(KotlinxSerializationConverter$serialize$slambda).o9 = function () {
|
|
432
432
|
var suspendResult = this.i9_1;
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
var tmp = this.g9_1;
|
|
436
436
|
if (tmp === 0) {
|
|
437
437
|
this.h9_1 = 1;
|
|
438
|
-
return !(this.
|
|
438
|
+
return !(this.n5m_1 == null);
|
|
439
439
|
} else if (tmp === 1) {
|
|
440
440
|
throw this.j9_1;
|
|
441
441
|
}
|
|
@@ -445,27 +445,27 @@
|
|
|
445
445
|
}
|
|
446
446
|
while (true);
|
|
447
447
|
};
|
|
448
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
448
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).p5m = function (it, completion) {
|
|
449
449
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
450
|
-
i.
|
|
450
|
+
i.n5m_1 = it;
|
|
451
451
|
return i;
|
|
452
452
|
};
|
|
453
453
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
454
454
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
455
455
|
var l = function (it, $completion) {
|
|
456
|
-
return i.
|
|
456
|
+
return i.o5m(it, $completion);
|
|
457
457
|
};
|
|
458
458
|
l.$arity = 1;
|
|
459
459
|
return l;
|
|
460
460
|
}
|
|
461
461
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
462
|
-
this.
|
|
463
|
-
this.
|
|
464
|
-
this.
|
|
465
|
-
this.
|
|
462
|
+
this.z5l_1 = $this;
|
|
463
|
+
this.a5m_1 = $charset;
|
|
464
|
+
this.b5m_1 = $typeInfo;
|
|
465
|
+
this.c5m_1 = $content;
|
|
466
466
|
}
|
|
467
467
|
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).z18 = function (collector, $completion) {
|
|
468
|
-
var tmp = new $collectCOROUTINE$
|
|
468
|
+
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
469
469
|
tmp.i9_1 = Unit_instance;
|
|
470
470
|
tmp.j9_1 = null;
|
|
471
471
|
return tmp.o9();
|
|
@@ -474,17 +474,17 @@
|
|
|
474
474
|
return this.z18(collector, $completion);
|
|
475
475
|
};
|
|
476
476
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
477
|
-
this.
|
|
477
|
+
this.y5m_1 = $content;
|
|
478
478
|
CoroutineImpl.call(this, resultContinuation);
|
|
479
479
|
}
|
|
480
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
481
|
-
var tmp = this.
|
|
480
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).l3f = function (it, $completion) {
|
|
481
|
+
var tmp = this.j3e(it, $completion);
|
|
482
482
|
tmp.i9_1 = Unit_instance;
|
|
483
483
|
tmp.j9_1 = null;
|
|
484
484
|
return tmp.o9();
|
|
485
485
|
};
|
|
486
486
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).ca = function (p1, $completion) {
|
|
487
|
-
return this.
|
|
487
|
+
return this.l3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
488
488
|
};
|
|
489
489
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).o9 = function () {
|
|
490
490
|
var suspendResult = this.i9_1;
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
var tmp = this.g9_1;
|
|
494
494
|
if (tmp === 0) {
|
|
495
495
|
this.h9_1 = 1;
|
|
496
|
-
return !(this.
|
|
496
|
+
return !(this.z5m_1 == null) || this.y5m_1.b1n();
|
|
497
497
|
} else if (tmp === 1) {
|
|
498
498
|
throw this.j9_1;
|
|
499
499
|
}
|
|
@@ -503,28 +503,28 @@
|
|
|
503
503
|
}
|
|
504
504
|
while (true);
|
|
505
505
|
};
|
|
506
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
507
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
508
|
-
i.
|
|
506
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).j3e = function (it, completion) {
|
|
507
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.y5m_1, completion);
|
|
508
|
+
i.z5m_1 = it;
|
|
509
509
|
return i;
|
|
510
510
|
};
|
|
511
511
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
512
512
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
513
513
|
var l = function (it, $completion) {
|
|
514
|
-
return i.
|
|
514
|
+
return i.l3f(it, $completion);
|
|
515
515
|
};
|
|
516
516
|
l.$arity = 1;
|
|
517
517
|
return l;
|
|
518
518
|
}
|
|
519
|
-
function $serializeCOROUTINE$
|
|
519
|
+
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
520
520
|
CoroutineImpl.call(this, resultContinuation);
|
|
521
|
-
this.
|
|
522
|
-
this.
|
|
523
|
-
this.
|
|
524
|
-
this.
|
|
525
|
-
this.
|
|
521
|
+
this.i5n_1 = _this__u8e3s4;
|
|
522
|
+
this.j5n_1 = contentType;
|
|
523
|
+
this.k5n_1 = charset;
|
|
524
|
+
this.l5n_1 = typeInfo;
|
|
525
|
+
this.m5n_1 = value;
|
|
526
526
|
}
|
|
527
|
-
protoOf($serializeCOROUTINE$
|
|
527
|
+
protoOf($serializeCOROUTINE$).o9 = function () {
|
|
528
528
|
var suspendResult = this.i9_1;
|
|
529
529
|
$sm: do
|
|
530
530
|
try {
|
|
@@ -533,8 +533,8 @@
|
|
|
533
533
|
case 0:
|
|
534
534
|
this.h9_1 = 2;
|
|
535
535
|
this.g9_1 = 1;
|
|
536
|
-
var this_0 = asFlow(this.
|
|
537
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
536
|
+
var this_0 = asFlow(this.i5n_1.o5n_1);
|
|
537
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.j5n_1, this.k5n_1, this.l5n_1, this.m5n_1);
|
|
538
538
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
539
539
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
540
540
|
return suspendResult;
|
|
@@ -547,12 +547,12 @@
|
|
|
547
547
|
return fromExtension;
|
|
548
548
|
var tmp_1;
|
|
549
549
|
try {
|
|
550
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
550
|
+
tmp_1 = serializerForTypeInfo(this.i5n_1.n5n_1.a23(), this.l5n_1);
|
|
551
551
|
} catch ($p) {
|
|
552
552
|
var tmp_2;
|
|
553
553
|
if ($p instanceof SerializationException) {
|
|
554
554
|
var cause = $p;
|
|
555
|
-
tmp_2 = guessSerializer(this.
|
|
555
|
+
tmp_2 = guessSerializer(this.m5n_1, this.i5n_1.n5n_1.a23());
|
|
556
556
|
} else {
|
|
557
557
|
throw $p;
|
|
558
558
|
}
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
var serializer = tmp_1;
|
|
563
|
-
return serializeContent(this.
|
|
563
|
+
return serializeContent(this.i5n_1, serializer, this.i5n_1.n5n_1, this.m5n_1, this.j5n_1, this.k5n_1);
|
|
564
564
|
case 2:
|
|
565
565
|
throw this.j9_1;
|
|
566
566
|
}
|
|
@@ -575,14 +575,14 @@
|
|
|
575
575
|
}
|
|
576
576
|
while (true);
|
|
577
577
|
};
|
|
578
|
-
function $deserializeCOROUTINE$
|
|
578
|
+
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
579
579
|
CoroutineImpl.call(this, resultContinuation);
|
|
580
|
-
this.
|
|
581
|
-
this.
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
580
|
+
this.x5n_1 = _this__u8e3s4;
|
|
581
|
+
this.y5n_1 = charset;
|
|
582
|
+
this.z5n_1 = typeInfo;
|
|
583
|
+
this.a5o_1 = content;
|
|
584
584
|
}
|
|
585
|
-
protoOf($deserializeCOROUTINE$
|
|
585
|
+
protoOf($deserializeCOROUTINE$).o9 = function () {
|
|
586
586
|
var suspendResult = this.i9_1;
|
|
587
587
|
$sm: do
|
|
588
588
|
try {
|
|
@@ -591,28 +591,28 @@
|
|
|
591
591
|
case 0:
|
|
592
592
|
this.h9_1 = 4;
|
|
593
593
|
this.g9_1 = 1;
|
|
594
|
-
var this_0 = asFlow(this.
|
|
595
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
596
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
594
|
+
var this_0 = asFlow(this.x5n_1.o5n_1);
|
|
595
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.y5n_1, this.z5n_1, this.a5o_1);
|
|
596
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.a5o_1, null), this);
|
|
597
597
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
598
598
|
return suspendResult;
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
continue $sm;
|
|
602
602
|
case 1:
|
|
603
|
-
this.
|
|
603
|
+
this.b5o_1 = suspendResult;
|
|
604
604
|
var tmp_1;
|
|
605
|
-
if (!this.
|
|
606
|
-
tmp_1 = !(this.
|
|
605
|
+
if (!this.x5n_1.o5n_1.h()) {
|
|
606
|
+
tmp_1 = !(this.b5o_1 == null) || this.a5o_1.b1n();
|
|
607
607
|
} else {
|
|
608
608
|
tmp_1 = false;
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
if (tmp_1)
|
|
612
|
-
return this.
|
|
613
|
-
this.
|
|
612
|
+
return this.b5o_1;
|
|
613
|
+
this.c5o_1 = serializerForTypeInfo(this.x5n_1.n5n_1.a23(), this.z5n_1);
|
|
614
614
|
this.g9_1 = 2;
|
|
615
|
-
suspendResult = readRemaining(this.
|
|
615
|
+
suspendResult = readRemaining(this.a5o_1, this);
|
|
616
616
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
617
617
|
return suspendResult;
|
|
618
618
|
}
|
|
@@ -621,16 +621,16 @@
|
|
|
621
621
|
case 2:
|
|
622
622
|
var contentPacket = suspendResult;
|
|
623
623
|
this.h9_1 = 3;
|
|
624
|
-
var tmp0_subject = this.
|
|
624
|
+
var tmp0_subject = this.x5n_1.n5n_1;
|
|
625
625
|
var tmp_2;
|
|
626
626
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
627
|
-
tmp_2 = this.
|
|
627
|
+
tmp_2 = this.x5n_1.n5n_1.c20(this.c5o_1, readText(contentPacket, this.y5n_1));
|
|
628
628
|
} else {
|
|
629
629
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
630
|
-
tmp_2 = this.
|
|
630
|
+
tmp_2 = this.x5n_1.n5n_1.e20(this.c5o_1, readByteArray(contentPacket));
|
|
631
631
|
} else {
|
|
632
632
|
discard(contentPacket);
|
|
633
|
-
var message = 'Unsupported format ' + toString(this.
|
|
633
|
+
var message = 'Unsupported format ' + toString(this.x5n_1.n5n_1);
|
|
634
634
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
635
635
|
}
|
|
636
636
|
}
|
|
@@ -661,33 +661,33 @@
|
|
|
661
661
|
while (true);
|
|
662
662
|
};
|
|
663
663
|
function KotlinxSerializationConverter(format) {
|
|
664
|
-
this.
|
|
665
|
-
this.
|
|
664
|
+
this.n5n_1 = format;
|
|
665
|
+
this.o5n_1 = extensions(this.n5n_1);
|
|
666
666
|
var tmp;
|
|
667
|
-
var tmp_0 = this.
|
|
667
|
+
var tmp_0 = this.n5n_1;
|
|
668
668
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
669
669
|
tmp = true;
|
|
670
670
|
} else {
|
|
671
|
-
var tmp_1 = this.
|
|
671
|
+
var tmp_1 = this.n5n_1;
|
|
672
672
|
tmp = isInterface(tmp_1, StringFormat);
|
|
673
673
|
}
|
|
674
674
|
// Inline function 'kotlin.require' call
|
|
675
675
|
if (!tmp) {
|
|
676
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
676
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.n5n_1) + ' is not supported.';
|
|
677
677
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
protoOf(KotlinxSerializationConverter).
|
|
681
|
-
var tmp = new $serializeCOROUTINE$
|
|
680
|
+
protoOf(KotlinxSerializationConverter).d5o = function (contentType, charset, typeInfo, value, $completion) {
|
|
681
|
+
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
682
682
|
tmp.i9_1 = Unit_instance;
|
|
683
683
|
tmp.j9_1 = null;
|
|
684
684
|
return tmp.o9();
|
|
685
685
|
};
|
|
686
|
-
protoOf(KotlinxSerializationConverter).
|
|
687
|
-
return this.
|
|
686
|
+
protoOf(KotlinxSerializationConverter).f5j = function (contentType, charset, typeInfo, value, $completion) {
|
|
687
|
+
return this.d5o(contentType, charset, typeInfo, value, $completion);
|
|
688
688
|
};
|
|
689
|
-
protoOf(KotlinxSerializationConverter).
|
|
690
|
-
var tmp = new $deserializeCOROUTINE$
|
|
689
|
+
protoOf(KotlinxSerializationConverter).k3e = function (charset, typeInfo, content, $completion) {
|
|
690
|
+
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
691
691
|
tmp.i9_1 = Unit_instance;
|
|
692
692
|
tmp.j9_1 = null;
|
|
693
693
|
return tmp.o9();
|
|
@@ -847,4 +847,4 @@
|
|
|
847
847
|
_.$_$.a = serialization;
|
|
848
848
|
//endregion
|
|
849
849
|
return _;
|
|
850
|
-
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./ktor-ktor-http.js'), require('./kotlinx-coroutines-core.js'), require('./ktor-ktor-io.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./ktor-ktor-
|
|
850
|
+
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./ktor-ktor-http.js'), require('./kotlinx-coroutines-core.js'), require('./ktor-ktor-io.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./ktor-ktor-serialization.js')));
|