@doordeck/doordeck-headless-sdk 0.94.0 → 0.96.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/Kotlin-DateTime-library-kotlinx-datetime.js +1471 -1471
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +27 -27
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +13 -13
- package/kotlin/doordeck-sdk.js +9661 -9661
- package/kotlin/kotlin-kotlin-stdlib.js +866 -739
- package/kotlin/kotlinx-atomicfu.js +18 -18
- package/kotlin/kotlinx-coroutines-core.js +2601 -1851
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +42 -42
- package/kotlin/kotlinx-io-kotlinx-io-core.js +447 -447
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1818 -1818
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1424 -1424
- package/kotlin/ktor-ktor-client-ktor-client-core.js +1898 -1898
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +411 -323
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +156 -156
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +603 -363
- package/kotlin/ktor-ktor-http.js +754 -754
- package/kotlin/ktor-ktor-io.js +629 -629
- package/kotlin/ktor-ktor-shared-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +158 -158
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +78 -78
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +52 -52
- package/kotlin/ktor-ktor-utils.js +627 -603
- package/package.json +4 -4
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var Exception = kotlin_kotlin.$_$.
|
|
4
|
+
var Exception = kotlin_kotlin.$_$.jf;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.h;
|
|
6
6
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.q1;
|
|
7
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
8
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
7
|
+
var captureStack = kotlin_kotlin.$_$.da;
|
|
8
|
+
var protoOf = kotlin_kotlin.$_$.ub;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.sa;
|
|
10
10
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
11
11
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.l;
|
|
12
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
12
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.wa;
|
|
13
13
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
14
14
|
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.r1;
|
|
15
15
|
var forName = kotlin_io_ktor_ktor_io.$_$.r;
|
|
16
16
|
var isSupported = kotlin_io_ktor_ktor_io.$_$.s;
|
|
17
|
-
var equals = kotlin_kotlin.$_$.
|
|
18
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
19
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
20
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
21
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
22
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
23
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
24
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
25
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
27
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
17
|
+
var equals = kotlin_kotlin.$_$.la;
|
|
18
|
+
var FunctionAdapter = kotlin_kotlin.$_$.z9;
|
|
19
|
+
var isInterface = kotlin_kotlin.$_$.hb;
|
|
20
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
21
|
+
var hashCode = kotlin_kotlin.$_$.ra;
|
|
22
|
+
var CoroutineImpl = kotlin_kotlin.$_$.v9;
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.sf;
|
|
24
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f9;
|
|
25
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.xa;
|
|
26
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ua;
|
|
27
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
28
28
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
29
29
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
30
30
|
//endregion
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
configuration = tmp;
|
|
42
42
|
var tmp_0;
|
|
43
43
|
if ($super === VOID) {
|
|
44
|
-
this.
|
|
44
|
+
this.h38(contentType, converter, configuration);
|
|
45
45
|
tmp_0 = Unit_instance;
|
|
46
46
|
} else {
|
|
47
|
-
tmp_0 = $super.
|
|
47
|
+
tmp_0 = $super.h38.call(this, contentType, converter, configuration);
|
|
48
48
|
}
|
|
49
49
|
return tmp_0;
|
|
50
50
|
}
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
return tmp.o9();
|
|
74
74
|
}
|
|
75
75
|
function suitableCharset(_this__u8e3s4, defaultCharset) {
|
|
76
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
76
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().n1v_1 : defaultCharset;
|
|
77
77
|
var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
|
|
78
78
|
return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
|
|
79
79
|
}
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
function Configuration() {
|
|
84
84
|
}
|
|
85
85
|
function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
86
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
87
|
-
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.
|
|
86
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().n1v_1 : defaultCharset;
|
|
87
|
+
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.r2h(HttpHeaders_getInstance().b2q_1)).p();
|
|
88
88
|
while (_iterator__ex2g4s.q()) {
|
|
89
89
|
var charset = _iterator__ex2g4s.r().tg();
|
|
90
90
|
if (charset === '*')
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
return null;
|
|
96
96
|
}
|
|
97
97
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
98
|
-
this.
|
|
98
|
+
this.j38_1 = function_0;
|
|
99
99
|
}
|
|
100
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
101
|
-
return this.
|
|
100
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).v17 = function (value, $completion) {
|
|
101
|
+
return this.j38_1(value, $completion);
|
|
102
102
|
};
|
|
103
103
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
104
|
-
return this.
|
|
104
|
+
return this.j38_1;
|
|
105
105
|
};
|
|
106
106
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
107
107
|
var tmp;
|
|
@@ -122,20 +122,20 @@
|
|
|
122
122
|
return hashCode(this.s3());
|
|
123
123
|
};
|
|
124
124
|
function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
125
|
+
this.s38_1 = $$this$unsafeFlow;
|
|
126
|
+
this.t38_1 = $charset;
|
|
127
|
+
this.u38_1 = $typeInfo;
|
|
128
|
+
this.v38_1 = $body;
|
|
129
129
|
CoroutineImpl.call(this, resultContinuation);
|
|
130
130
|
}
|
|
131
|
-
protoOf(deserialize$o$collect$slambda).
|
|
132
|
-
var tmp = this.
|
|
131
|
+
protoOf(deserialize$o$collect$slambda).e39 = function (value, $completion) {
|
|
132
|
+
var tmp = this.f39(value, $completion);
|
|
133
133
|
tmp.i9_1 = Unit_instance;
|
|
134
134
|
tmp.j9_1 = null;
|
|
135
135
|
return tmp.o9();
|
|
136
136
|
};
|
|
137
137
|
protoOf(deserialize$o$collect$slambda).ca = function (p1, $completion) {
|
|
138
|
-
return this.
|
|
138
|
+
return this.e39((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
139
139
|
};
|
|
140
140
|
protoOf(deserialize$o$collect$slambda).o9 = function () {
|
|
141
141
|
var suspendResult = this.i9_1;
|
|
@@ -146,25 +146,25 @@
|
|
|
146
146
|
case 0:
|
|
147
147
|
this.h9_1 = 3;
|
|
148
148
|
var tmp_0 = this;
|
|
149
|
-
tmp_0.
|
|
149
|
+
tmp_0.x38_1 = this.s38_1;
|
|
150
150
|
var tmp_1 = this;
|
|
151
|
-
tmp_1.
|
|
152
|
-
this.
|
|
153
|
-
this.
|
|
151
|
+
tmp_1.y38_1 = this.w38_1;
|
|
152
|
+
this.z38_1 = this.x38_1;
|
|
153
|
+
this.a39_1 = this.y38_1;
|
|
154
154
|
var tmp_2 = this;
|
|
155
|
-
tmp_2.
|
|
156
|
-
this.
|
|
155
|
+
tmp_2.b39_1 = this.a39_1;
|
|
156
|
+
this.c39_1 = this.b39_1;
|
|
157
157
|
this.g9_1 = 1;
|
|
158
|
-
suspendResult = this.
|
|
158
|
+
suspendResult = this.c39_1.g39(this.t38_1, this.u38_1, this.v38_1, this);
|
|
159
159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
160
160
|
return suspendResult;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
continue $sm;
|
|
164
164
|
case 1:
|
|
165
|
-
this.
|
|
165
|
+
this.d39_1 = suspendResult;
|
|
166
166
|
this.g9_1 = 2;
|
|
167
|
-
suspendResult = this.
|
|
167
|
+
suspendResult = this.z38_1.v17(this.d39_1, this);
|
|
168
168
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
169
169
|
return suspendResult;
|
|
170
170
|
}
|
|
@@ -186,23 +186,23 @@
|
|
|
186
186
|
}
|
|
187
187
|
while (true);
|
|
188
188
|
};
|
|
189
|
-
protoOf(deserialize$o$collect$slambda).
|
|
190
|
-
var i = new deserialize$o$collect$slambda(this.
|
|
191
|
-
i.
|
|
189
|
+
protoOf(deserialize$o$collect$slambda).f39 = function (value, completion) {
|
|
190
|
+
var i = new deserialize$o$collect$slambda(this.s38_1, this.t38_1, this.u38_1, this.v38_1, completion);
|
|
191
|
+
i.w38_1 = value;
|
|
192
192
|
return i;
|
|
193
193
|
};
|
|
194
194
|
function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
195
195
|
var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
|
|
196
196
|
var l = function (value, $completion) {
|
|
197
|
-
return i.
|
|
197
|
+
return i.e39(value, $completion);
|
|
198
198
|
};
|
|
199
199
|
l.$arity = 1;
|
|
200
200
|
return l;
|
|
201
201
|
}
|
|
202
202
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
203
203
|
CoroutineImpl.call(this, resultContinuation);
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
204
|
+
this.p39_1 = _this__u8e3s4;
|
|
205
|
+
this.q39_1 = collector;
|
|
206
206
|
}
|
|
207
207
|
protoOf($collectCOROUTINE$1).o9 = function () {
|
|
208
208
|
var suspendResult = this.i9_1;
|
|
@@ -213,11 +213,11 @@
|
|
|
213
213
|
case 0:
|
|
214
214
|
this.h9_1 = 2;
|
|
215
215
|
var tmp_0 = this;
|
|
216
|
-
tmp_0.
|
|
217
|
-
this.
|
|
216
|
+
tmp_0.r39_1 = this.q39_1;
|
|
217
|
+
this.s39_1 = this.r39_1;
|
|
218
218
|
this.g9_1 = 1;
|
|
219
|
-
var tmp_1 = deserialize$o$collect$slambda_0(this.
|
|
220
|
-
suspendResult = this.
|
|
219
|
+
var tmp_1 = deserialize$o$collect$slambda_0(this.s39_1, this.p39_1.u39_1, this.p39_1.v39_1, this.p39_1.w39_1, null);
|
|
220
|
+
suspendResult = this.p39_1.t39_1.x17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
221
221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
222
222
|
return suspendResult;
|
|
223
223
|
}
|
|
@@ -240,32 +240,32 @@
|
|
|
240
240
|
while (true);
|
|
241
241
|
};
|
|
242
242
|
function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
243
|
+
this.t39_1 = $this;
|
|
244
|
+
this.u39_1 = $charset;
|
|
245
|
+
this.v39_1 = $typeInfo;
|
|
246
|
+
this.w39_1 = $body;
|
|
247
247
|
}
|
|
248
|
-
protoOf(deserialize$$inlined$map$1).
|
|
248
|
+
protoOf(deserialize$$inlined$map$1).w17 = function (collector, $completion) {
|
|
249
249
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
250
250
|
tmp.i9_1 = Unit_instance;
|
|
251
251
|
tmp.j9_1 = null;
|
|
252
252
|
return tmp.o9();
|
|
253
253
|
};
|
|
254
|
-
protoOf(deserialize$$inlined$map$1).
|
|
255
|
-
return this.
|
|
254
|
+
protoOf(deserialize$$inlined$map$1).x17 = function (collector, $completion) {
|
|
255
|
+
return this.w17(collector, $completion);
|
|
256
256
|
};
|
|
257
257
|
function deserialize$slambda($body, resultContinuation) {
|
|
258
|
-
this.
|
|
258
|
+
this.f3a_1 = $body;
|
|
259
259
|
CoroutineImpl.call(this, resultContinuation);
|
|
260
260
|
}
|
|
261
|
-
protoOf(deserialize$slambda).
|
|
262
|
-
var tmp = this.
|
|
261
|
+
protoOf(deserialize$slambda).h3a = function (it, $completion) {
|
|
262
|
+
var tmp = this.f39(it, $completion);
|
|
263
263
|
tmp.i9_1 = Unit_instance;
|
|
264
264
|
tmp.j9_1 = null;
|
|
265
265
|
return tmp.o9();
|
|
266
266
|
};
|
|
267
267
|
protoOf(deserialize$slambda).ca = function (p1, $completion) {
|
|
268
|
-
return this.
|
|
268
|
+
return this.h3a((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
269
269
|
};
|
|
270
270
|
protoOf(deserialize$slambda).o9 = function () {
|
|
271
271
|
var suspendResult = this.i9_1;
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
var tmp = this.g9_1;
|
|
275
275
|
if (tmp === 0) {
|
|
276
276
|
this.h9_1 = 1;
|
|
277
|
-
return !(this.
|
|
277
|
+
return !(this.g3a_1 == null) || this.f3a_1.x1l();
|
|
278
278
|
} else if (tmp === 1) {
|
|
279
279
|
throw this.j9_1;
|
|
280
280
|
}
|
|
@@ -284,25 +284,25 @@
|
|
|
284
284
|
}
|
|
285
285
|
while (true);
|
|
286
286
|
};
|
|
287
|
-
protoOf(deserialize$slambda).
|
|
288
|
-
var i = new deserialize$slambda(this.
|
|
289
|
-
i.
|
|
287
|
+
protoOf(deserialize$slambda).f39 = function (it, completion) {
|
|
288
|
+
var i = new deserialize$slambda(this.f3a_1, completion);
|
|
289
|
+
i.g3a_1 = it;
|
|
290
290
|
return i;
|
|
291
291
|
};
|
|
292
292
|
function deserialize$slambda_0($body, resultContinuation) {
|
|
293
293
|
var i = new deserialize$slambda($body, resultContinuation);
|
|
294
294
|
var l = function (it, $completion) {
|
|
295
|
-
return i.
|
|
295
|
+
return i.h3a(it, $completion);
|
|
296
296
|
};
|
|
297
297
|
l.$arity = 1;
|
|
298
298
|
return l;
|
|
299
299
|
}
|
|
300
300
|
function $deserializeCOROUTINE$0(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
|
|
301
301
|
CoroutineImpl.call(this, resultContinuation);
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
302
|
+
this.d38_1 = _this__u8e3s4;
|
|
303
|
+
this.e38_1 = body;
|
|
304
|
+
this.f38_1 = typeInfo;
|
|
305
|
+
this.g38_1 = charset;
|
|
306
306
|
}
|
|
307
307
|
protoOf($deserializeCOROUTINE$0).o9 = function () {
|
|
308
308
|
var suspendResult = this.i9_1;
|
|
@@ -313,9 +313,9 @@
|
|
|
313
313
|
case 0:
|
|
314
314
|
this.h9_1 = 2;
|
|
315
315
|
this.g9_1 = 1;
|
|
316
|
-
var this_0 = asFlow(this.
|
|
317
|
-
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.
|
|
318
|
-
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.
|
|
316
|
+
var this_0 = asFlow(this.d38_1);
|
|
317
|
+
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.g38_1, this.f38_1, this.e38_1);
|
|
318
|
+
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.e38_1, null), this);
|
|
319
319
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
320
320
|
return suspendResult;
|
|
321
321
|
}
|
|
@@ -327,14 +327,14 @@
|
|
|
327
327
|
if (!(result == null)) {
|
|
328
328
|
tmp_1 = result;
|
|
329
329
|
} else {
|
|
330
|
-
if (!this.
|
|
331
|
-
tmp_1 = this.
|
|
330
|
+
if (!this.e38_1.x1l()) {
|
|
331
|
+
tmp_1 = this.e38_1;
|
|
332
332
|
} else {
|
|
333
|
-
var tmp0_safe_receiver = this.
|
|
333
|
+
var tmp0_safe_receiver = this.f38_1.b2n_1;
|
|
334
334
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bc()) === true) {
|
|
335
335
|
tmp_1 = NullBody_instance;
|
|
336
336
|
} else {
|
|
337
|
-
throw new ContentConvertException('No suitable converter found for ' + this.
|
|
337
|
+
throw new ContentConvertException('No suitable converter found for ' + this.f38_1.toString());
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
|
|
6
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
7
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
6
|
+
var mapCapacity = kotlin_kotlin.$_$.x7;
|
|
7
|
+
var coerceAtLeast = kotlin_kotlin.$_$.cc;
|
|
8
8
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
9
9
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
10
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
11
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
12
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
13
|
-
var Enum = kotlin_kotlin.$_$.
|
|
14
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
+
var protoOf = kotlin_kotlin.$_$.ub;
|
|
11
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
|
|
12
|
+
var enumEntries = kotlin_kotlin.$_$.x9;
|
|
13
|
+
var Enum = kotlin_kotlin.$_$.hf;
|
|
14
|
+
var initMetadataForClass = kotlin_kotlin.$_$.sa;
|
|
15
15
|
var VOID = kotlin_kotlin.$_$.h;
|
|
16
|
-
var toString = kotlin_kotlin.$_$.
|
|
17
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
18
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
19
|
-
var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
20
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
21
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
22
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
23
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
16
|
+
var toString = kotlin_kotlin.$_$.yb;
|
|
17
|
+
var getStringHashCode = kotlin_kotlin.$_$.qa;
|
|
18
|
+
var THROW_CCE = kotlin_kotlin.$_$.sf;
|
|
19
|
+
var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
20
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ya;
|
|
21
|
+
var compareTo = kotlin_kotlin.$_$.ja;
|
|
22
|
+
var ensureNotNull = kotlin_kotlin.$_$.kg;
|
|
23
|
+
var objectCreate = kotlin_kotlin.$_$.tb;
|
|
24
24
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.c1;
|
|
25
25
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
26
26
|
var writeText = kotlin_io_ktor_ktor_io.$_$.f1;
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
var _iterator__ex2g4s = this_0.p();
|
|
63
63
|
while (_iterator__ex2g4s.q()) {
|
|
64
64
|
var element = _iterator__ex2g4s.r();
|
|
65
|
-
var tmp$ret$0 = element.
|
|
65
|
+
var tmp$ret$0 = element.a37_1;
|
|
66
66
|
destination.n2(tmp$ret$0, element);
|
|
67
67
|
}
|
|
68
|
-
tmp.
|
|
69
|
-
this.
|
|
68
|
+
tmp.b37_1 = destination;
|
|
69
|
+
this.c37_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
70
70
|
}
|
|
71
|
-
protoOf(Companion).
|
|
72
|
-
return this.
|
|
71
|
+
protoOf(Companion).d37 = function (code) {
|
|
72
|
+
return this.b37_1.k2(code);
|
|
73
73
|
};
|
|
74
74
|
var Companion_instance;
|
|
75
75
|
function Companion_getInstance() {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
var $ENTRIES;
|
|
109
109
|
function Codes(name, ordinal, code) {
|
|
110
110
|
Enum.call(this, name, ordinal);
|
|
111
|
-
this.
|
|
111
|
+
this.a37_1 = code;
|
|
112
112
|
}
|
|
113
113
|
function Codes_NORMAL_getInstance() {
|
|
114
114
|
Codes_initEntries();
|
|
@@ -159,19 +159,19 @@
|
|
|
159
159
|
return Codes_TRY_AGAIN_LATER_instance;
|
|
160
160
|
}
|
|
161
161
|
function CloseReason(code, message) {
|
|
162
|
-
this.
|
|
163
|
-
this.
|
|
162
|
+
this.e37_1 = code;
|
|
163
|
+
this.f37_1 = message;
|
|
164
164
|
}
|
|
165
|
-
protoOf(CloseReason).
|
|
166
|
-
return Companion_getInstance().
|
|
165
|
+
protoOf(CloseReason).g37 = function () {
|
|
166
|
+
return Companion_getInstance().d37(this.e37_1);
|
|
167
167
|
};
|
|
168
168
|
protoOf(CloseReason).toString = function () {
|
|
169
|
-
var tmp0_elvis_lhs = this.
|
|
170
|
-
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.
|
|
169
|
+
var tmp0_elvis_lhs = this.g37();
|
|
170
|
+
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.e37_1 : tmp0_elvis_lhs) + ', message=' + this.f37_1 + ')';
|
|
171
171
|
};
|
|
172
172
|
protoOf(CloseReason).hashCode = function () {
|
|
173
|
-
var result = this.
|
|
174
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
173
|
+
var result = this.e37_1;
|
|
174
|
+
result = imul(result, 31) + getStringHashCode(this.f37_1) | 0;
|
|
175
175
|
return result;
|
|
176
176
|
};
|
|
177
177
|
protoOf(CloseReason).equals = function (other) {
|
|
@@ -180,15 +180,15 @@
|
|
|
180
180
|
if (!(other instanceof CloseReason))
|
|
181
181
|
return false;
|
|
182
182
|
var tmp0_other_with_cast = other instanceof CloseReason ? other : THROW_CCE();
|
|
183
|
-
if (!(this.
|
|
183
|
+
if (!(this.e37_1 === tmp0_other_with_cast.e37_1))
|
|
184
184
|
return false;
|
|
185
|
-
if (!(this.
|
|
185
|
+
if (!(this.f37_1 === tmp0_other_with_cast.f37_1))
|
|
186
186
|
return false;
|
|
187
187
|
return true;
|
|
188
188
|
};
|
|
189
189
|
function NonDisposableHandle() {
|
|
190
190
|
}
|
|
191
|
-
protoOf(NonDisposableHandle).
|
|
191
|
+
protoOf(NonDisposableHandle).os = function () {
|
|
192
192
|
return Unit_instance;
|
|
193
193
|
};
|
|
194
194
|
protoOf(NonDisposableHandle).toString = function () {
|
|
@@ -231,10 +231,10 @@
|
|
|
231
231
|
tmp$ret$0 = maxElem;
|
|
232
232
|
break $l$block_0;
|
|
233
233
|
}
|
|
234
|
-
var maxValue = maxElem.
|
|
234
|
+
var maxValue = maxElem.k37_1;
|
|
235
235
|
do {
|
|
236
236
|
var e = iterator.r();
|
|
237
|
-
var v = e.
|
|
237
|
+
var v = e.k37_1;
|
|
238
238
|
if (compareTo(maxValue, v) < 0) {
|
|
239
239
|
maxElem = e;
|
|
240
240
|
maxValue = v;
|
|
@@ -243,10 +243,10 @@
|
|
|
243
243
|
while (iterator.q());
|
|
244
244
|
tmp$ret$0 = maxElem;
|
|
245
245
|
}
|
|
246
|
-
tmp.
|
|
246
|
+
tmp.l37_1 = ensureNotNull(tmp$ret$0).k37_1;
|
|
247
247
|
var tmp_0 = this;
|
|
248
248
|
var tmp_1 = 0;
|
|
249
|
-
var tmp_2 = this.
|
|
249
|
+
var tmp_2 = this.l37_1 + 1 | 0;
|
|
250
250
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
251
251
|
var tmp_3 = Array(tmp_2);
|
|
252
252
|
while (tmp_1 < tmp_2) {
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
var _iterator__ex2g4s = tmp1.p();
|
|
261
261
|
while (_iterator__ex2g4s.q()) {
|
|
262
262
|
var element = _iterator__ex2g4s.r();
|
|
263
|
-
if (element.
|
|
263
|
+
if (element.k37_1 === tmp_4) {
|
|
264
264
|
if (found) {
|
|
265
265
|
tmp$ret$5 = null;
|
|
266
266
|
break $l$block_2;
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
tmp_3[tmp_4] = tmp$ret$5;
|
|
279
279
|
tmp_1 = tmp_1 + 1 | 0;
|
|
280
280
|
}
|
|
281
|
-
tmp_0.
|
|
281
|
+
tmp_0.m37_1 = tmp_3;
|
|
282
282
|
}
|
|
283
283
|
var Companion_instance_0;
|
|
284
284
|
function Companion_getInstance_0() {
|
|
@@ -310,8 +310,8 @@
|
|
|
310
310
|
var $ENTRIES_0;
|
|
311
311
|
function FrameType(name, ordinal, controlFrame, opcode) {
|
|
312
312
|
Enum.call(this, name, ordinal);
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
313
|
+
this.j37_1 = controlFrame;
|
|
314
|
+
this.k37_1 = opcode;
|
|
315
315
|
}
|
|
316
316
|
function FrameType_TEXT_getInstance() {
|
|
317
317
|
FrameType_initEntries();
|
|
@@ -354,8 +354,8 @@
|
|
|
354
354
|
function Close_init_$Init$(reason, $this) {
|
|
355
355
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
356
356
|
var builder = new Buffer();
|
|
357
|
-
builder.
|
|
358
|
-
writeText(builder, reason.
|
|
357
|
+
builder.f1i(reason.e37_1);
|
|
358
|
+
writeText(builder, reason.f37_1);
|
|
359
359
|
Close_init_$Init$_0(builder, $this);
|
|
360
360
|
return $this;
|
|
361
361
|
}
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
return $this;
|
|
368
368
|
}
|
|
369
369
|
function Close_init_$Init$_1($this) {
|
|
370
|
-
Close.call($this, Companion_getInstance_1().
|
|
370
|
+
Close.call($this, Companion_getInstance_1().n37_1);
|
|
371
371
|
return $this;
|
|
372
372
|
}
|
|
373
373
|
function Close_init_$Create$_0() {
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
}
|
|
391
391
|
function Companion_1() {
|
|
392
392
|
Companion_instance_1 = this;
|
|
393
|
-
this.
|
|
393
|
+
this.n37_1 = new Int8Array(0);
|
|
394
394
|
}
|
|
395
395
|
var Companion_instance_1;
|
|
396
396
|
function Companion_getInstance_1() {
|
|
@@ -404,16 +404,16 @@
|
|
|
404
404
|
rsv1 = rsv1 === VOID ? false : rsv1;
|
|
405
405
|
rsv2 = rsv2 === VOID ? false : rsv2;
|
|
406
406
|
rsv3 = rsv3 === VOID ? false : rsv3;
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
407
|
+
this.o37_1 = fin;
|
|
408
|
+
this.p37_1 = frameType;
|
|
409
|
+
this.q37_1 = data;
|
|
410
|
+
this.r37_1 = disposableHandle;
|
|
411
|
+
this.s37_1 = rsv1;
|
|
412
|
+
this.t37_1 = rsv2;
|
|
413
|
+
this.u37_1 = rsv3;
|
|
414
414
|
}
|
|
415
415
|
protoOf(Frame).toString = function () {
|
|
416
|
-
return 'Frame ' + this.
|
|
416
|
+
return 'Frame ' + this.p37_1.toString() + ' (fin=' + this.o37_1 + ', buffer len = ' + this.q37_1.length + ')';
|
|
417
417
|
};
|
|
418
418
|
//region block: init
|
|
419
419
|
NonDisposableHandle_instance = new NonDisposableHandle();
|