@doordeck/doordeck-headless-sdk 0.85.0 → 0.87.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/README.md +1 -1
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +76 -207
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +6 -6
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +2 -2
- package/kotlin/doordeck-sdk.js +807 -738
- package/kotlin/kotlin-kotlin-stdlib.js +1066 -1150
- package/kotlin/kotlinx-atomicfu.js +5 -6
- package/kotlin/kotlinx-coroutines-core.js +176 -375
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +9 -10
- package/kotlin/kotlinx-io-kotlinx-io-core.js +41 -135
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +77 -136
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +76 -159
- package/kotlin/ktor-ktor-client-ktor-client-core.js +62 -98
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +21 -27
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +14 -14
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +27 -57
- package/kotlin/ktor-ktor-http.js +71 -134
- package/kotlin/ktor-ktor-io.js +55 -78
- package/kotlin/ktor-ktor-shared-ktor-events.js +4 -6
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +9 -19
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +10 -10
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +12 -18
- package/kotlin/ktor-ktor-utils.js +40 -70
- package/package.json +3 -3
package/kotlin/ktor-ktor-io.js
CHANGED
|
@@ -4,44 +4,44 @@
|
|
|
4
4
|
var Companion_instance = kotlin_kotlin.$_$.f5;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
6
6
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.b3;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
9
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
10
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
8
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
|
|
9
|
+
var THROW_CCE = kotlin_kotlin.$_$.nf;
|
|
10
|
+
var initMetadataForObject = kotlin_kotlin.$_$.xa;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.qg;
|
|
12
|
+
var hashCode = kotlin_kotlin.$_$.qa;
|
|
13
13
|
var equals = kotlin_kotlin.$_$.ka;
|
|
14
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
15
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
16
|
-
var Result = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
18
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
19
|
-
var newThrowable = kotlin_kotlin.$_$.
|
|
20
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
14
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
15
|
+
var createFailure = kotlin_kotlin.$_$.eg;
|
|
16
|
+
var Result = kotlin_kotlin.$_$.lf;
|
|
17
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.va;
|
|
18
|
+
var toString_0 = kotlin_kotlin.$_$.ie;
|
|
19
|
+
var newThrowable = kotlin_kotlin.$_$.mb;
|
|
20
|
+
var stackTraceToString = kotlin_kotlin.$_$.og;
|
|
21
21
|
var VOID = kotlin_kotlin.$_$.h;
|
|
22
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
22
|
+
var isInterface = kotlin_kotlin.$_$.gb;
|
|
23
23
|
var CoroutineImpl = kotlin_kotlin.$_$.u9;
|
|
24
|
-
var toLong = kotlin_kotlin.$_$.
|
|
25
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
24
|
+
var toLong = kotlin_kotlin.$_$.vb;
|
|
25
|
+
var numberToLong = kotlin_kotlin.$_$.rb;
|
|
26
26
|
var intercepted = kotlin_kotlin.$_$.h9;
|
|
27
27
|
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
28
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
28
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.mg;
|
|
29
29
|
var returnIfSuspended = kotlin_kotlin.$_$.m;
|
|
30
30
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
|
|
31
|
-
var Long = kotlin_kotlin.$_$.
|
|
32
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
31
|
+
var Long = kotlin_kotlin.$_$.hf;
|
|
32
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
|
|
33
33
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
34
34
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
|
|
35
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
35
|
+
var IllegalStateException = kotlin_kotlin.$_$.gf;
|
|
36
36
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.b2;
|
|
37
37
|
var captureStack = kotlin_kotlin.$_$.ca;
|
|
38
38
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
39
39
|
var decodeToString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.d;
|
|
40
|
-
var replace = kotlin_kotlin.$_$.
|
|
40
|
+
var replace = kotlin_kotlin.$_$.md;
|
|
41
41
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
42
42
|
var readString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.n;
|
|
43
|
-
var closeFinally = kotlin_kotlin.$_$.
|
|
44
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
43
|
+
var closeFinally = kotlin_kotlin.$_$.cg;
|
|
44
|
+
var toString_1 = kotlin_kotlin.$_$.xb;
|
|
45
45
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
46
46
|
var readByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
47
47
|
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.s4;
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
|
|
50
50
|
var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
51
51
|
var Continuation = kotlin_kotlin.$_$.o9;
|
|
52
|
-
var initMetadataForFunctionReference = kotlin_kotlin.$_$.
|
|
52
|
+
var initMetadataForFunctionReference = kotlin_kotlin.$_$.ua;
|
|
53
53
|
var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h1;
|
|
54
54
|
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
55
55
|
var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g1;
|
|
56
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
56
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.wa;
|
|
57
57
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
58
58
|
var CancellationException = kotlin_kotlin.$_$.d9;
|
|
59
59
|
var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
|
|
@@ -66,25 +66,24 @@
|
|
|
66
66
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
67
67
|
var charSequenceLength = kotlin_kotlin.$_$.ga;
|
|
68
68
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.i;
|
|
69
|
-
var encodeToByteArray = kotlin_kotlin.$_$.
|
|
69
|
+
var encodeToByteArray = kotlin_kotlin.$_$.sc;
|
|
70
70
|
var readString_1 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.m;
|
|
71
71
|
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
|
|
72
|
-
var AutoCloseable = kotlin_kotlin.$_$.
|
|
72
|
+
var AutoCloseable = kotlin_kotlin.$_$.ve;
|
|
73
73
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
|
|
74
|
-
var replace_0 = kotlin_kotlin.$_$.
|
|
74
|
+
var replace_0 = kotlin_kotlin.$_$.nd;
|
|
75
75
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
76
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
76
|
+
var getStringHashCode = kotlin_kotlin.$_$.pa;
|
|
77
77
|
var IOException_init_$Init$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
78
78
|
var readByteArray_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
79
79
|
var charSequenceSubSequence = kotlin_kotlin.$_$.ha;
|
|
80
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
81
|
-
var trim = kotlin_kotlin.$_$.
|
|
82
|
-
var toByte = kotlin_kotlin.$_$.
|
|
83
|
-
var decodeToString_0 = kotlin_kotlin.$_$.
|
|
80
|
+
var isCharSequence = kotlin_kotlin.$_$.cb;
|
|
81
|
+
var trim = kotlin_kotlin.$_$.qe;
|
|
82
|
+
var toByte = kotlin_kotlin.$_$.ub;
|
|
83
|
+
var decodeToString_0 = kotlin_kotlin.$_$.qc;
|
|
84
84
|
var setOf = kotlin_kotlin.$_$.i8;
|
|
85
85
|
var charSequenceGet = kotlin_kotlin.$_$.fa;
|
|
86
86
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.z2;
|
|
87
|
-
var fillArrayVal = kotlin_kotlin.$_$.ma;
|
|
88
87
|
//endregion
|
|
89
88
|
//region block: pre-declaration
|
|
90
89
|
initMetadataForCompanion(Companion);
|
|
@@ -100,13 +99,12 @@
|
|
|
100
99
|
tmp_0 = null;
|
|
101
100
|
} else {
|
|
102
101
|
// Inline function 'kotlin.let' call
|
|
103
|
-
// Inline function 'io.ktor.utils.io.Task.resume.<anonymous>' call
|
|
104
102
|
// Inline function 'kotlin.Companion.failure' call
|
|
105
103
|
var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(throwable));
|
|
106
104
|
tmp_0 = new Result(tmp$ret$2);
|
|
107
105
|
}
|
|
108
106
|
var tmp1_elvis_lhs = tmp_0;
|
|
109
|
-
return tmp.r9(tmp1_elvis_lhs == null ? Companion_getInstance().f1h_1 : tmp1_elvis_lhs.
|
|
107
|
+
return tmp.r9(tmp1_elvis_lhs == null ? Companion_getInstance().f1h_1 : tmp1_elvis_lhs.il_1);
|
|
110
108
|
}
|
|
111
109
|
initMetadataForInterface(Task, 'Task');
|
|
112
110
|
initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
|
|
@@ -233,7 +231,6 @@
|
|
|
233
231
|
var tmp = this;
|
|
234
232
|
// Inline function 'kotlin.also' call
|
|
235
233
|
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.m1h_1), 16));
|
|
236
|
-
// Inline function 'io.ktor.utils.io.Read.<anonymous>' call
|
|
237
234
|
stackTraceToString(this_0);
|
|
238
235
|
tmp.n1h_1 = this_0;
|
|
239
236
|
}
|
|
@@ -254,7 +251,6 @@
|
|
|
254
251
|
var tmp = this;
|
|
255
252
|
// Inline function 'kotlin.also' call
|
|
256
253
|
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.o1h_1), 16));
|
|
257
|
-
// Inline function 'io.ktor.utils.io.Write.<anonymous>' call
|
|
258
254
|
stackTraceToString(this_0);
|
|
259
255
|
tmp.p1h_1 = this_0;
|
|
260
256
|
}
|
|
@@ -271,7 +267,6 @@
|
|
|
271
267
|
function moveFlushToReadBuffer($this) {
|
|
272
268
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
273
269
|
$this.t1h_1;
|
|
274
|
-
// Inline function 'io.ktor.utils.io.ByteChannel.moveFlushToReadBuffer.<anonymous>' call
|
|
275
270
|
$this.r1h_1.j1f($this.v1h_1);
|
|
276
271
|
$this.s1h_1 = 0;
|
|
277
272
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
@@ -633,7 +628,6 @@
|
|
|
633
628
|
return Unit_instance;
|
|
634
629
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
635
630
|
this.t1h_1;
|
|
636
|
-
// Inline function 'io.ktor.utils.io.ByteChannel.flushWriteBuffer.<anonymous>' call
|
|
637
631
|
var count = this.w1h_1.s().j1();
|
|
638
632
|
this.r1h_1.y1f(this.w1h_1);
|
|
639
633
|
this.s1h_1 = this.s1h_1 + count | 0;
|
|
@@ -682,7 +676,6 @@
|
|
|
682
676
|
length = length === VOID ? content.length : length;
|
|
683
677
|
// Inline function 'kotlin.also' call
|
|
684
678
|
var this_0 = new Buffer();
|
|
685
|
-
// Inline function 'io.ktor.utils.io.ByteReadChannel.<anonymous>' call
|
|
686
679
|
this_0.p1f(content, offset, offset + length | 0);
|
|
687
680
|
var source = this_0;
|
|
688
681
|
return ByteReadChannel_0(source);
|
|
@@ -1949,7 +1942,6 @@
|
|
|
1949
1942
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
1950
1943
|
// Inline function 'kotlin.apply' call
|
|
1951
1944
|
var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel, null));
|
|
1952
|
-
// Inline function 'io.ktor.utils.io.writer.<anonymous>' call
|
|
1953
1945
|
this_0.jp(writer$lambda(channel));
|
|
1954
1946
|
var job = this_0;
|
|
1955
1947
|
return new WriterJob(channel, job);
|
|
@@ -2027,7 +2019,7 @@
|
|
|
2027
2019
|
this.h9_1 = 4;
|
|
2028
2020
|
this.h9_1 = 3;
|
|
2029
2021
|
this.g9_1 = 2;
|
|
2030
|
-
suspendResult = this.s1r_1(new WriterScope(this.t1r_1, this.u1r_1.ho().
|
|
2022
|
+
suspendResult = this.s1r_1(new WriterScope(this.t1r_1, this.u1r_1.ho().kh(this.v1r_1)), this);
|
|
2031
2023
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2032
2024
|
return suspendResult;
|
|
2033
2025
|
}
|
|
@@ -2090,23 +2082,22 @@
|
|
|
2090
2082
|
|
|
2091
2083
|
continue $sm;
|
|
2092
2084
|
case 6:
|
|
2085
|
+
this.f1s_1 = Unit_instance;
|
|
2093
2086
|
var tmp_7 = this;
|
|
2094
|
-
tmp_7.f1s_1 = Unit_instance;
|
|
2095
|
-
var tmp_8 = this;
|
|
2096
2087
|
this.c1s_1;
|
|
2097
2088
|
var value = this.f1s_1;
|
|
2098
|
-
|
|
2089
|
+
tmp_7.b1s_1 = _Result___init__impl__xyqfz8(value);
|
|
2099
2090
|
this.h9_1 = 14;
|
|
2100
2091
|
this.g9_1 = 8;
|
|
2101
2092
|
continue $sm;
|
|
2102
2093
|
case 7:
|
|
2103
2094
|
this.h9_1 = 14;
|
|
2104
|
-
var
|
|
2105
|
-
if (
|
|
2095
|
+
var tmp_8 = this.j9_1;
|
|
2096
|
+
if (tmp_8 instanceof Error) {
|
|
2106
2097
|
this.g1s_1 = this.j9_1;
|
|
2107
|
-
var
|
|
2098
|
+
var tmp_9 = this;
|
|
2108
2099
|
var exception = this.g1s_1;
|
|
2109
|
-
|
|
2100
|
+
tmp_9.b1s_1 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
2110
2101
|
this.g9_1 = 8;
|
|
2111
2102
|
continue $sm;
|
|
2112
2103
|
} else {
|
|
@@ -2126,14 +2117,14 @@
|
|
|
2126
2117
|
|
|
2127
2118
|
continue $sm;
|
|
2128
2119
|
case 10:
|
|
2129
|
-
var
|
|
2130
|
-
|
|
2120
|
+
var tmp_10 = this;
|
|
2121
|
+
tmp_10.h1s_1 = this.u1r_1;
|
|
2131
2122
|
this.i1s_1 = this.h1s_1;
|
|
2132
2123
|
this.h9_1 = 12;
|
|
2124
|
+
var tmp_11 = this;
|
|
2125
|
+
tmp_11.k1s_1 = Companion_instance;
|
|
2133
2126
|
var tmp_12 = this;
|
|
2134
|
-
tmp_12.
|
|
2135
|
-
var tmp_13 = this;
|
|
2136
|
-
tmp_13.l1s_1 = this.i1s_1;
|
|
2127
|
+
tmp_12.l1s_1 = this.i1s_1;
|
|
2137
2128
|
this.m1s_1 = this.l1s_1;
|
|
2138
2129
|
this.g9_1 = 11;
|
|
2139
2130
|
suspendResult = this.t1r_1.w1j(this);
|
|
@@ -2143,19 +2134,19 @@
|
|
|
2143
2134
|
|
|
2144
2135
|
continue $sm;
|
|
2145
2136
|
case 11:
|
|
2146
|
-
var
|
|
2137
|
+
var tmp_13 = this;
|
|
2147
2138
|
this.k1s_1;
|
|
2148
|
-
|
|
2139
|
+
tmp_13.j1s_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2149
2140
|
this.h9_1 = 14;
|
|
2150
2141
|
this.g9_1 = 13;
|
|
2151
2142
|
continue $sm;
|
|
2152
2143
|
case 12:
|
|
2153
2144
|
this.h9_1 = 14;
|
|
2154
|
-
var
|
|
2155
|
-
if (
|
|
2145
|
+
var tmp_14 = this.j9_1;
|
|
2146
|
+
if (tmp_14 instanceof Error) {
|
|
2156
2147
|
var e = this.j9_1;
|
|
2157
|
-
var
|
|
2158
|
-
|
|
2148
|
+
var tmp_15 = this;
|
|
2149
|
+
tmp_15.j1s_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2159
2150
|
this.g9_1 = 13;
|
|
2160
2151
|
continue $sm;
|
|
2161
2152
|
} else {
|
|
@@ -2449,7 +2440,6 @@
|
|
|
2449
2440
|
var _iterator__ex2g4s = tmp0.p();
|
|
2450
2441
|
while (_iterator__ex2g4s.q()) {
|
|
2451
2442
|
var element = _iterator__ex2g4s.r();
|
|
2452
|
-
// Inline function 'io.ktor.utils.io.LineEndingMode.toString.<anonymous>' call
|
|
2453
2443
|
var it = element.g1t_1;
|
|
2454
2444
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
2455
2445
|
destination.k(element);
|
|
@@ -2544,7 +2534,6 @@
|
|
|
2544
2534
|
var capacity = (tmp0.e1(b) <= 0 ? tmp0 : b).j1();
|
|
2545
2535
|
// Inline function 'kotlin.apply' call
|
|
2546
2536
|
var this_0 = StringBuilder_init_$Create$(capacity);
|
|
2547
|
-
// Inline function 'io.ktor.utils.io.charsets.decode.<anonymous>' call
|
|
2548
2537
|
decode_0(_this__u8e3s4, input, this_0, max);
|
|
2549
2538
|
return this_0.toString();
|
|
2550
2539
|
}
|
|
@@ -2572,7 +2561,6 @@
|
|
|
2572
2561
|
toIndex = toIndex === VOID ? charSequenceLength(input) : toIndex;
|
|
2573
2562
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
2574
2563
|
var builder = new Buffer();
|
|
2575
|
-
// Inline function 'io.ktor.utils.io.charsets.encode.<anonymous>' call
|
|
2576
2564
|
encodeToImpl(_this__u8e3s4, builder, input, fromIndex, toIndex);
|
|
2577
2565
|
return builder;
|
|
2578
2566
|
}
|
|
@@ -2710,8 +2698,6 @@
|
|
|
2710
2698
|
default:
|
|
2711
2699
|
// Inline function 'kotlin.let' call
|
|
2712
2700
|
|
|
2713
|
-
// Inline function 'io.ktor.utils.io.charsets.Companion.forName.<anonymous>' call
|
|
2714
|
-
|
|
2715
2701
|
var it = replace_0(name, _Char___init__impl__6a9atx(95), _Char___init__impl__6a9atx(45));
|
|
2716
2702
|
var tmp_1;
|
|
2717
2703
|
if (it === 'iso-8859-1') {
|
|
@@ -2755,8 +2741,6 @@
|
|
|
2755
2741
|
default:
|
|
2756
2742
|
// Inline function 'kotlin.let' call
|
|
2757
2743
|
|
|
2758
|
-
// Inline function 'io.ktor.utils.io.charsets.Companion.isSupported.<anonymous>' call
|
|
2759
|
-
|
|
2760
2744
|
var it = replace_0(charset, _Char___init__impl__6a9atx(95), _Char___init__impl__6a9atx(45));
|
|
2761
2745
|
var tmp_2;
|
|
2762
2746
|
if (it === 'iso-8859-1') {
|
|
@@ -2906,7 +2890,6 @@
|
|
|
2906
2890
|
// Inline function 'kotlin.require' call
|
|
2907
2891
|
// Inline function 'kotlin.require' call
|
|
2908
2892
|
if (!(fromIndex <= toIndex)) {
|
|
2909
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
2910
2893
|
var message = 'Failed requirement.';
|
|
2911
2894
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
2912
2895
|
}
|
|
@@ -2915,14 +2898,13 @@
|
|
|
2915
2898
|
}
|
|
2916
2899
|
// Inline function 'kotlin.require' call
|
|
2917
2900
|
if (!(get_charset(_this__u8e3s4) === Charsets_getInstance().j1t_1)) {
|
|
2918
|
-
// Inline function 'io.ktor.utils.io.charsets.encodeImpl.<anonymous>' call
|
|
2919
2901
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
2920
2902
|
throw IllegalArgumentException_init_$Create$(toString_1(message_0));
|
|
2921
2903
|
}
|
|
2922
2904
|
var encoder = new TextEncoder();
|
|
2923
2905
|
// Inline function 'kotlin.text.substring' call
|
|
2924
|
-
var tmp$ret$
|
|
2925
|
-
var result = encoder.encode(tmp$ret$
|
|
2906
|
+
var tmp$ret$5 = toString_1(charSequenceSubSequence(input, fromIndex, toIndex));
|
|
2907
|
+
var result = encoder.encode(tmp$ret$5);
|
|
2926
2908
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2927
2909
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2928
2910
|
dst.s1f(result);
|
|
@@ -2989,10 +2971,8 @@
|
|
|
2989
2971
|
fatal = fatal === VOID ? false : fatal;
|
|
2990
2972
|
// Inline function 'kotlin.apply' call
|
|
2991
2973
|
var this_0 = new Object();
|
|
2992
|
-
// Inline function 'io.ktor.utils.io.charsets.textDecoderOptions.<anonymous>' call
|
|
2993
2974
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2994
2975
|
// Inline function 'kotlin.with' call
|
|
2995
|
-
// Inline function 'io.ktor.utils.io.charsets.textDecoderOptions.<anonymous>.<anonymous>' call
|
|
2996
2976
|
this_0.fatal = fatal;
|
|
2997
2977
|
return this_0;
|
|
2998
2978
|
}
|
|
@@ -3020,7 +3000,6 @@
|
|
|
3020
3000
|
var requestedEncoding = toString_1(trim(isCharSequence(encoding) ? encoding : THROW_CCE())).toLowerCase();
|
|
3021
3001
|
// Inline function 'kotlin.check' call
|
|
3022
3002
|
if (!get_ENCODING_ALIASES().x1(requestedEncoding)) {
|
|
3023
|
-
// Inline function 'io.ktor.utils.io.charsets.TextDecoderFallback.<anonymous>' call
|
|
3024
3003
|
var message = encoding + ' is not supported.';
|
|
3025
3004
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3026
3005
|
}
|
|
@@ -3028,7 +3007,6 @@
|
|
|
3028
3007
|
protoOf(TextDecoderFallback).j1u = function (buffer) {
|
|
3029
3008
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
3030
3009
|
var builder = new Buffer();
|
|
3031
|
-
// Inline function 'io.ktor.utils.io.charsets.TextDecoderFallback.decode.<anonymous>' call
|
|
3032
3010
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
3033
3011
|
var inductionVariable = 0;
|
|
3034
3012
|
var last = bytes.length;
|
|
@@ -3043,7 +3021,6 @@
|
|
|
3043
3021
|
if (point < 0) {
|
|
3044
3022
|
// Inline function 'kotlin.check' call
|
|
3045
3023
|
if (!!this.l1u_1) {
|
|
3046
|
-
// Inline function 'io.ktor.utils.io.charsets.TextDecoderFallback.decode.<anonymous>.<anonymous>' call
|
|
3047
3024
|
var message = 'Invalid character: ' + point;
|
|
3048
3025
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3049
3026
|
}
|
|
@@ -3122,7 +3099,7 @@
|
|
|
3122
3099
|
var tmp = this;
|
|
3123
3100
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3124
3101
|
var size = this.s1t_1;
|
|
3125
|
-
tmp.t1t_1 =
|
|
3102
|
+
tmp.t1t_1 = Array(size);
|
|
3126
3103
|
this.u1t_1 = 0;
|
|
3127
3104
|
}
|
|
3128
3105
|
protoOf(DefaultPool).v1t = function (instance) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_utils, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
5
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
4
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
5
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
6
6
|
var LockFreeLinkedListNode = kotlin_io_ktor_ktor_utils.$_$.f;
|
|
7
7
|
var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
8
8
|
var VOID = kotlin_kotlin.$_$.h;
|
|
9
9
|
var CopyOnWriteHashMap = kotlin_io_ktor_ktor_utils.$_$.d;
|
|
10
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
10
|
+
var THROW_CCE = kotlin_kotlin.$_$.nf;
|
|
11
11
|
var equals = kotlin_kotlin.$_$.ka;
|
|
12
|
-
var addSuppressed = kotlin_kotlin.$_$.
|
|
12
|
+
var addSuppressed = kotlin_kotlin.$_$.ag;
|
|
13
13
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
14
14
|
//endregion
|
|
15
15
|
//region block: pre-declaration
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
var cur = tmp instanceof LockFreeLinkedListNode ? tmp : THROW_CCE();
|
|
36
36
|
while (!equals(cur, tmp0_safe_receiver)) {
|
|
37
37
|
if (cur instanceof HandlerRegistration) {
|
|
38
|
-
// Inline function 'io.ktor.events.Events.raise.<anonymous>' call
|
|
39
38
|
var registration = cur;
|
|
40
39
|
try {
|
|
41
40
|
var tmp_0 = registration.w33_1;
|
|
@@ -53,7 +52,6 @@
|
|
|
53
52
|
}
|
|
54
53
|
if (tmp_1 == null) {
|
|
55
54
|
// Inline function 'kotlin.run' call
|
|
56
|
-
// Inline function 'io.ktor.events.Events.raise.<anonymous>.<anonymous>' call
|
|
57
55
|
exception = e;
|
|
58
56
|
}
|
|
59
57
|
} else {
|
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
6
6
|
var CoroutineImpl = kotlin_kotlin.$_$.u9;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.nf;
|
|
9
9
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
|
|
10
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
10
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.wa;
|
|
11
11
|
var VOID = kotlin_kotlin.$_$.h;
|
|
12
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
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.$_$.gb;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.n;
|
|
18
18
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
19
19
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.u1;
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
var equals = kotlin_kotlin.$_$.ka;
|
|
23
23
|
var FunctionAdapter = kotlin_kotlin.$_$.y9;
|
|
24
24
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
25
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
25
|
+
var hashCode = kotlin_kotlin.$_$.qa;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
27
27
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.w;
|
|
28
28
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
29
29
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
@@ -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.$_$.ya;
|
|
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.$_$.c7;
|
|
@@ -80,14 +80,11 @@
|
|
|
80
80
|
var _iterator__ex2g4s = tmp0.p();
|
|
81
81
|
while (_iterator__ex2g4s.q()) {
|
|
82
82
|
var element = _iterator__ex2g4s.r();
|
|
83
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
84
|
-
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
85
83
|
var tmp0_safe_receiver = element.m4q(format);
|
|
86
84
|
if (tmp0_safe_receiver == null)
|
|
87
85
|
null;
|
|
88
86
|
else {
|
|
89
87
|
// Inline function 'kotlin.let' call
|
|
90
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
91
88
|
destination.k(tmp0_safe_receiver);
|
|
92
89
|
}
|
|
93
90
|
}
|
|
@@ -676,7 +673,6 @@
|
|
|
676
673
|
}
|
|
677
674
|
// Inline function 'kotlin.require' call
|
|
678
675
|
if (!tmp) {
|
|
679
|
-
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
680
676
|
var message = 'Only binary and string formats are supported, ' + toString(this.t4u_1) + ' is not supported.';
|
|
681
677
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
682
678
|
}
|
|
@@ -704,7 +700,6 @@
|
|
|
704
700
|
tmp = null;
|
|
705
701
|
} else {
|
|
706
702
|
// Inline function 'kotlin.let' call
|
|
707
|
-
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
708
703
|
var tmp_0;
|
|
709
704
|
if (tmp0_safe_receiver.ac().h()) {
|
|
710
705
|
tmp_0 = null;
|
|
@@ -739,7 +734,6 @@
|
|
|
739
734
|
tmp_0 = null;
|
|
740
735
|
} else {
|
|
741
736
|
// Inline function 'kotlin.let' call
|
|
742
|
-
// Inline function 'io.ktor.serialization.kotlinx.guessSerializer.<anonymous>' call
|
|
743
737
|
tmp_0 = guessSerializer(tmp1_safe_receiver, module_0);
|
|
744
738
|
}
|
|
745
739
|
var tmp2_elvis_lhs = tmp_0;
|
|
@@ -781,7 +775,6 @@
|
|
|
781
775
|
var _iterator__ex2g4s = this_0.p();
|
|
782
776
|
while (_iterator__ex2g4s.q()) {
|
|
783
777
|
var item = _iterator__ex2g4s.r();
|
|
784
|
-
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
785
778
|
var tmp$ret$0 = guessSerializer(item, module_0);
|
|
786
779
|
destination.k(tmp$ret$0);
|
|
787
780
|
}
|
|
@@ -791,7 +784,6 @@
|
|
|
791
784
|
var _iterator__ex2g4s_0 = destination.p();
|
|
792
785
|
while (_iterator__ex2g4s_0.q()) {
|
|
793
786
|
var e = _iterator__ex2g4s_0.r();
|
|
794
|
-
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
795
787
|
var key = e.m1u().n1v();
|
|
796
788
|
if (set.k(key)) {
|
|
797
789
|
list.k(e);
|
|
@@ -805,7 +797,6 @@
|
|
|
805
797
|
var _iterator__ex2g4s_1 = serializers.p();
|
|
806
798
|
while (_iterator__ex2g4s_1.q()) {
|
|
807
799
|
var item_0 = _iterator__ex2g4s_1.r();
|
|
808
|
-
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
809
800
|
var tmp$ret$5 = item_0.m1u().n1v();
|
|
810
801
|
destination_0.k(tmp$ret$5);
|
|
811
802
|
}
|
|
@@ -836,7 +827,6 @@
|
|
|
836
827
|
var _iterator__ex2g4s_2 = _this__u8e3s4.p();
|
|
837
828
|
while (_iterator__ex2g4s_2.q()) {
|
|
838
829
|
var element = _iterator__ex2g4s_2.r();
|
|
839
|
-
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
840
830
|
if (element == null) {
|
|
841
831
|
tmp$ret$8 = true;
|
|
842
832
|
break $l$block_0;
|
|
@@ -1,29 +1,29 @@
|
|
|
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.$_$.ef;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.h;
|
|
6
6
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.q1;
|
|
7
7
|
var captureStack = kotlin_kotlin.$_$.ca;
|
|
8
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
8
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
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.$_$.va;
|
|
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
17
|
var equals = kotlin_kotlin.$_$.ka;
|
|
18
18
|
var FunctionAdapter = kotlin_kotlin.$_$.y9;
|
|
19
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
19
|
+
var isInterface = kotlin_kotlin.$_$.gb;
|
|
20
20
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
21
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
21
|
+
var hashCode = kotlin_kotlin.$_$.qa;
|
|
22
22
|
var CoroutineImpl = kotlin_kotlin.$_$.u9;
|
|
23
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.nf;
|
|
24
24
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
|
|
25
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
25
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.wa;
|
|
26
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
|
|
27
27
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
28
28
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
29
29
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().j1t_1 : defaultCharset;
|
|
87
87
|
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.n2f(HttpHeaders_getInstance().y2n_1)).p();
|
|
88
88
|
while (_iterator__ex2g4s.q()) {
|
|
89
|
-
var charset = _iterator__ex2g4s.r().
|
|
89
|
+
var charset = _iterator__ex2g4s.r().tg();
|
|
90
90
|
if (charset === '*')
|
|
91
91
|
return defaultCharset;
|
|
92
92
|
else if (isSupported(Charsets_getInstance(), charset))
|
|
@@ -4,24 +4,23 @@
|
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
|
|
6
6
|
var mapCapacity = kotlin_kotlin.$_$.w7;
|
|
7
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
7
|
+
var coerceAtLeast = kotlin_kotlin.$_$.ac;
|
|
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.$_$.
|
|
10
|
+
var protoOf = kotlin_kotlin.$_$.tb;
|
|
11
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
|
|
12
12
|
var enumEntries = kotlin_kotlin.$_$.w9;
|
|
13
|
-
var Enum = kotlin_kotlin.$_$.
|
|
14
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
13
|
+
var Enum = kotlin_kotlin.$_$.cf;
|
|
14
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ra;
|
|
15
15
|
var VOID = kotlin_kotlin.$_$.h;
|
|
16
|
-
var toString = kotlin_kotlin.$_$.
|
|
17
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
18
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
16
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
17
|
+
var getStringHashCode = kotlin_kotlin.$_$.pa;
|
|
18
|
+
var THROW_CCE = kotlin_kotlin.$_$.nf;
|
|
19
19
|
var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
20
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
20
|
+
var initMetadataForObject = kotlin_kotlin.$_$.xa;
|
|
21
21
|
var compareTo = kotlin_kotlin.$_$.ia;
|
|
22
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
23
|
-
var
|
|
24
|
-
var objectCreate = kotlin_kotlin.$_$.tb;
|
|
22
|
+
var ensureNotNull = kotlin_kotlin.$_$.fg;
|
|
23
|
+
var objectCreate = kotlin_kotlin.$_$.sb;
|
|
25
24
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.c1;
|
|
26
25
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
27
26
|
var writeText = kotlin_io_ktor_ktor_io.$_$.f1;
|
|
@@ -63,7 +62,6 @@
|
|
|
63
62
|
var _iterator__ex2g4s = this_0.p();
|
|
64
63
|
while (_iterator__ex2g4s.q()) {
|
|
65
64
|
var element = _iterator__ex2g4s.r();
|
|
66
|
-
// Inline function 'io.ktor.websocket.Companion.byCodeMap.<anonymous>' call
|
|
67
65
|
var tmp$ret$0 = element.z33_1;
|
|
68
66
|
destination.n2(tmp$ret$0, element);
|
|
69
67
|
}
|
|
@@ -233,11 +231,9 @@
|
|
|
233
231
|
tmp$ret$0 = maxElem;
|
|
234
232
|
break $l$block_0;
|
|
235
233
|
}
|
|
236
|
-
// Inline function 'io.ktor.websocket.Companion.maxOpcode.<anonymous>' call
|
|
237
234
|
var maxValue = maxElem.j34_1;
|
|
238
235
|
do {
|
|
239
236
|
var e = iterator.r();
|
|
240
|
-
// Inline function 'io.ktor.websocket.Companion.maxOpcode.<anonymous>' call
|
|
241
237
|
var v = e.j34_1;
|
|
242
238
|
if (compareTo(maxValue, v) < 0) {
|
|
243
239
|
maxElem = e;
|
|
@@ -252,7 +248,7 @@
|
|
|
252
248
|
var tmp_1 = 0;
|
|
253
249
|
var tmp_2 = this.k34_1 + 1 | 0;
|
|
254
250
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
255
|
-
var tmp_3 =
|
|
251
|
+
var tmp_3 = Array(tmp_2);
|
|
256
252
|
while (tmp_1 < tmp_2) {
|
|
257
253
|
var tmp_4 = tmp_1;
|
|
258
254
|
var tmp1 = get_entries_0();
|
|
@@ -264,7 +260,6 @@
|
|
|
264
260
|
var _iterator__ex2g4s = tmp1.p();
|
|
265
261
|
while (_iterator__ex2g4s.q()) {
|
|
266
262
|
var element = _iterator__ex2g4s.r();
|
|
267
|
-
// Inline function 'io.ktor.websocket.Companion.byOpcodeArray.<anonymous>' call
|
|
268
263
|
if (element.j34_1 === tmp_4) {
|
|
269
264
|
if (found) {
|
|
270
265
|
tmp$ret$5 = null;
|
|
@@ -359,7 +354,6 @@
|
|
|
359
354
|
function Close_init_$Init$(reason, $this) {
|
|
360
355
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
361
356
|
var builder = new Buffer();
|
|
362
|
-
// Inline function 'io.ktor.websocket.Close.<init>.<anonymous>' call
|
|
363
357
|
builder.b1g(reason.d34_1);
|
|
364
358
|
writeText(builder, reason.e34_1);
|
|
365
359
|
Close_init_$Init$_0(builder, $this);
|