@doordeck/doordeck-headless-sdk 0.193.0 → 0.194.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 +60 -60
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.js +10268 -10269
- package/kotlin/kotlin-kotlin-stdlib.js +1776 -1145
- package/kotlin/kotlinx-atomicfu.js +21 -21
- package/kotlin/kotlinx-browser.js +10 -0
- package/kotlin/kotlinx-coroutines-core.js +2530 -2068
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +52 -52
- package/kotlin/kotlinx-io-kotlinx-io-core.js +489 -493
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1980 -1980
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1492 -1492
- package/kotlin/ktor-ktor-client-auth.js +408 -400
- package/kotlin/ktor-ktor-client-content-negotiation.js +185 -186
- package/kotlin/ktor-ktor-client-core.js +2941 -2275
- package/kotlin/ktor-ktor-client-logging.js +1028 -992
- package/kotlin/ktor-ktor-events.js +15 -15
- package/kotlin/ktor-ktor-http-cio.js +413 -418
- package/kotlin/ktor-ktor-http.js +923 -880
- package/kotlin/ktor-ktor-io.js +1057 -988
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +166 -166
- package/kotlin/ktor-ktor-serialization.js +77 -78
- package/kotlin/ktor-ktor-utils.js +945 -990
- package/kotlin/ktor-ktor-websockets.js +2178 -82
- package/package.json +2 -2
|
@@ -3,105 +3,104 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.b;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
7
7
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
8
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
13
|
-
var abs = kotlin_kotlin.$_$.
|
|
14
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
15
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
16
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
17
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
18
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
19
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
20
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
21
|
-
var sequence = kotlin_kotlin.$_$.
|
|
22
|
-
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.
|
|
23
|
-
var fill = kotlin_kotlin.$_$.
|
|
24
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
25
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
26
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
27
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
28
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
29
|
-
var Char = kotlin_kotlin.$_$.
|
|
30
|
-
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.
|
|
31
|
-
var contains = kotlin_kotlin.$_$.
|
|
32
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
33
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
34
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
35
|
-
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.
|
|
36
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
37
|
-
var
|
|
38
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var setOf = kotlin_kotlin.$_$.w7;
|
|
8
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q1;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.cb;
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.c5;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.cc;
|
|
12
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
13
|
+
var abs = kotlin_kotlin.$_$.dc;
|
|
14
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
15
|
+
var CoroutineImpl = kotlin_kotlin.$_$.l9;
|
|
16
|
+
var THROW_CCE = kotlin_kotlin.$_$.zf;
|
|
17
|
+
var SequenceScope = kotlin_kotlin.$_$.yc;
|
|
18
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
|
|
19
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.hb;
|
|
20
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
21
|
+
var sequence = kotlin_kotlin.$_$.zc;
|
|
22
|
+
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
23
|
+
var fill = kotlin_kotlin.$_$.v6;
|
|
24
|
+
var isIntArray = kotlin_kotlin.$_$.qb;
|
|
25
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.h2;
|
|
26
|
+
var endsWith = kotlin_kotlin.$_$.id;
|
|
27
|
+
var charSequenceLength = kotlin_kotlin.$_$.qa;
|
|
28
|
+
var charSequenceGet = kotlin_kotlin.$_$.pa;
|
|
29
|
+
var Char = kotlin_kotlin.$_$.lf;
|
|
30
|
+
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.i2;
|
|
31
|
+
var contains = kotlin_kotlin.$_$.dd;
|
|
32
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.ra;
|
|
33
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.n2;
|
|
34
|
+
var IllegalStateException = kotlin_kotlin.$_$.uf;
|
|
35
|
+
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.s1;
|
|
36
|
+
var captureStack = kotlin_kotlin.$_$.la;
|
|
37
|
+
var readLineStrictTo = kotlin_io_ktor_ktor_io.$_$.e;
|
|
38
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
39
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.eb;
|
|
40
|
+
var setOf = kotlin_kotlin.$_$.a8;
|
|
42
41
|
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.q;
|
|
43
42
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.n;
|
|
44
|
-
var listOf = kotlin_kotlin.$_$.
|
|
43
|
+
var listOf = kotlin_kotlin.$_$.o7;
|
|
45
44
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
46
45
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.a;
|
|
47
46
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
48
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
49
|
-
var toByte = kotlin_kotlin.$_$.
|
|
50
|
-
var copyOfRange = kotlin_kotlin.$_$.
|
|
51
|
-
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
52
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
47
|
+
var toString_0 = kotlin_kotlin.$_$.ve;
|
|
48
|
+
var toByte = kotlin_kotlin.$_$.ac;
|
|
49
|
+
var copyOfRange = kotlin_kotlin.$_$.d6;
|
|
50
|
+
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
51
|
+
var startsWith = kotlin_kotlin.$_$.ee;
|
|
53
52
|
var readUntil = kotlin_io_ktor_ktor_io.$_$.i;
|
|
54
|
-
var WriterScope = kotlin_io_ktor_ktor_io.$_$.
|
|
55
|
-
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
56
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
57
|
-
var counted = kotlin_io_ktor_ktor_io.$_$.
|
|
58
|
-
var writer = kotlin_io_ktor_ktor_io.$_$.
|
|
59
|
-
var readRemaining = kotlin_io_ktor_ktor_io.$_$.
|
|
60
|
-
var get_remaining = kotlin_io_ktor_ktor_io.$_$.
|
|
53
|
+
var WriterScope = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
54
|
+
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
55
|
+
var isInterface = kotlin_kotlin.$_$.rb;
|
|
56
|
+
var counted = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
57
|
+
var writer = kotlin_io_ktor_ktor_io.$_$.w1;
|
|
58
|
+
var readRemaining = kotlin_io_ktor_ktor_io.$_$.g;
|
|
59
|
+
var get_remaining = kotlin_io_ktor_ktor_io.$_$.c1;
|
|
61
60
|
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.j;
|
|
62
|
-
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.
|
|
63
|
-
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
64
|
-
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.
|
|
65
|
-
var close = kotlin_io_ktor_ktor_io.$_$.
|
|
66
|
-
var subtract = kotlin_kotlin.$_$.
|
|
67
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
68
|
-
var readPacket = kotlin_io_ktor_ktor_io.$_$.
|
|
61
|
+
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.l1;
|
|
62
|
+
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l1;
|
|
63
|
+
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
64
|
+
var close = kotlin_io_ktor_ktor_io.$_$.r1;
|
|
65
|
+
var subtract = kotlin_kotlin.$_$.fa;
|
|
66
|
+
var convertToInt = kotlin_kotlin.$_$.t9;
|
|
67
|
+
var readPacket = kotlin_io_ktor_ktor_io.$_$.f;
|
|
69
68
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
70
69
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
|
|
71
|
-
var add = kotlin_kotlin.$_$.
|
|
72
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
73
|
-
var toByteArray = kotlin_io_ktor_ktor_io.$_$.
|
|
70
|
+
var add = kotlin_kotlin.$_$.r9;
|
|
71
|
+
var fromInt = kotlin_kotlin.$_$.w9;
|
|
72
|
+
var toByteArray = kotlin_io_ktor_ktor_io.$_$.f1;
|
|
74
73
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
75
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
76
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
77
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
78
|
-
var Collection = kotlin_kotlin.$_$.
|
|
79
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
80
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
81
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
82
|
-
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
83
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
84
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
85
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
86
|
-
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.
|
|
87
|
-
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.
|
|
88
|
-
var charArray = kotlin_kotlin.$_$.
|
|
89
|
-
var shiftLeft = kotlin_kotlin.$_$.
|
|
90
|
-
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.
|
|
91
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
92
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
74
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
75
|
+
var compareTo = kotlin_kotlin.$_$.sa;
|
|
76
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.z1;
|
|
77
|
+
var Collection = kotlin_kotlin.$_$.e5;
|
|
78
|
+
var emptyList = kotlin_kotlin.$_$.s6;
|
|
79
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.db;
|
|
80
|
+
var ensureNotNull = kotlin_kotlin.$_$.rg;
|
|
81
|
+
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.e1;
|
|
82
|
+
var isCharSequence = kotlin_kotlin.$_$.nb;
|
|
83
|
+
var getStringHashCode = kotlin_kotlin.$_$.ab;
|
|
84
|
+
var CharSequence = kotlin_kotlin.$_$.kf;
|
|
85
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
86
|
+
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.k1;
|
|
87
|
+
var charArray = kotlin_kotlin.$_$.na;
|
|
88
|
+
var shiftLeft = kotlin_kotlin.$_$.da;
|
|
89
|
+
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
90
|
+
var toString_1 = kotlin_kotlin.$_$.o2;
|
|
91
|
+
var charCodeAt = kotlin_kotlin.$_$.oa;
|
|
93
92
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
94
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
95
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
96
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
97
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
98
|
-
var toLongArray = kotlin_kotlin.$_$.
|
|
99
|
-
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.
|
|
100
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
101
|
-
var toByteArray_0 = kotlin_kotlin.$_$.
|
|
93
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.wb;
|
|
94
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.x5;
|
|
95
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
96
|
+
var numberToLong = kotlin_kotlin.$_$.ca;
|
|
97
|
+
var toLongArray = kotlin_kotlin.$_$.k8;
|
|
98
|
+
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.l2;
|
|
99
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.k2;
|
|
100
|
+
var toByteArray_0 = kotlin_kotlin.$_$.f8;
|
|
102
101
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
103
102
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
104
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
103
|
+
var isWhitespace = kotlin_kotlin.$_$.rd;
|
|
105
104
|
//endregion
|
|
106
105
|
//region block: pre-declaration
|
|
107
106
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -133,12 +132,12 @@
|
|
|
133
132
|
//endregion
|
|
134
133
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
135
134
|
formFieldLimit = formFieldLimit === VOID ? 65536n : formFieldLimit;
|
|
136
|
-
this.
|
|
137
|
-
this.
|
|
138
|
-
this.
|
|
135
|
+
this.g36_1 = coroutineContext;
|
|
136
|
+
this.h36_1 = null;
|
|
137
|
+
this.i36_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
139
138
|
}
|
|
140
|
-
protoOf(CIOMultipartDataBase).
|
|
141
|
-
return this.
|
|
139
|
+
protoOf(CIOMultipartDataBase).ws = function () {
|
|
140
|
+
return this.g36_1;
|
|
142
141
|
};
|
|
143
142
|
function get_IntArrayPool() {
|
|
144
143
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -151,103 +150,103 @@
|
|
|
151
150
|
}
|
|
152
151
|
var HeadersDataPool;
|
|
153
152
|
function thresholdReached($this) {
|
|
154
|
-
return $this.
|
|
153
|
+
return $this.k36_1 >= $this.l36_1 * 0.75;
|
|
155
154
|
}
|
|
156
155
|
function resize($this) {
|
|
157
|
-
var prevSize = $this.
|
|
158
|
-
var prevData = $this.
|
|
159
|
-
$this.
|
|
160
|
-
$this.
|
|
156
|
+
var prevSize = $this.k36_1;
|
|
157
|
+
var prevData = $this.m36_1;
|
|
158
|
+
$this.k36_1 = 0;
|
|
159
|
+
$this.l36_1 = imul($this.l36_1, 2) | 128;
|
|
161
160
|
var tmp = $this;
|
|
162
161
|
// Inline function 'kotlin.apply' call
|
|
163
|
-
var this_0 = get_HeadersDataPool().
|
|
164
|
-
this_0.
|
|
165
|
-
tmp.
|
|
166
|
-
var _iterator__ex2g4s = prevData.
|
|
162
|
+
var this_0 = get_HeadersDataPool().q1y();
|
|
163
|
+
this_0.p36(imul(prevData.o36(), 2) | 1);
|
|
164
|
+
tmp.m36_1 = this_0;
|
|
165
|
+
var _iterator__ex2g4s = prevData.q36().t();
|
|
167
166
|
while (_iterator__ex2g4s.u()) {
|
|
168
167
|
var headerOffset = _iterator__ex2g4s.v();
|
|
169
|
-
$this.
|
|
168
|
+
$this.s36(prevData.r36(headerOffset + 1 | 0), prevData.r36(headerOffset + 2 | 0), prevData.r36(headerOffset + 3 | 0), prevData.r36(headerOffset + 4 | 0));
|
|
170
169
|
}
|
|
171
|
-
get_HeadersDataPool().
|
|
170
|
+
get_HeadersDataPool().r1y(prevData);
|
|
172
171
|
// Inline function 'kotlin.require' call
|
|
173
172
|
// Inline function 'kotlin.require' call
|
|
174
|
-
if (!(prevSize === $this.
|
|
173
|
+
if (!(prevSize === $this.k36_1)) {
|
|
175
174
|
var message = 'Failed requirement.';
|
|
176
175
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
177
176
|
}
|
|
178
177
|
}
|
|
179
178
|
function headerHasName($this, name, headerOffset) {
|
|
180
|
-
var nameStartIndex = $this.
|
|
181
|
-
var nameEndIndex = $this.
|
|
182
|
-
return equalsLowerCase($this.
|
|
179
|
+
var nameStartIndex = $this.m36_1.r36(headerOffset + 1 | 0);
|
|
180
|
+
var nameEndIndex = $this.m36_1.r36(headerOffset + 2 | 0);
|
|
181
|
+
return equalsLowerCase($this.j36_1, nameStartIndex, nameEndIndex, name);
|
|
183
182
|
}
|
|
184
183
|
function HttpHeadersMap(builder) {
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
184
|
+
this.j36_1 = builder;
|
|
185
|
+
this.k36_1 = 0;
|
|
186
|
+
this.l36_1 = 0;
|
|
187
|
+
this.m36_1 = get_HeadersDataPool().q1y();
|
|
189
188
|
}
|
|
190
|
-
protoOf(HttpHeadersMap).
|
|
191
|
-
if (this.
|
|
189
|
+
protoOf(HttpHeadersMap).p2m = function (name) {
|
|
190
|
+
if (this.k36_1 === 0)
|
|
192
191
|
return null;
|
|
193
192
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
194
193
|
var this_0 = hashCodeLowerCase(name);
|
|
195
194
|
var hash = abs(this_0);
|
|
196
|
-
var headerIndex = hash % this.
|
|
197
|
-
while (!(this.
|
|
195
|
+
var headerIndex = hash % this.l36_1 | 0;
|
|
196
|
+
while (!(this.m36_1.r36(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
198
197
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
199
|
-
return this.
|
|
198
|
+
return this.t36(imul(headerIndex, 6));
|
|
200
199
|
}
|
|
201
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
200
|
+
headerIndex = (headerIndex + 1 | 0) % this.l36_1 | 0;
|
|
202
201
|
}
|
|
203
202
|
return null;
|
|
204
203
|
};
|
|
205
|
-
protoOf(HttpHeadersMap).
|
|
206
|
-
return this.
|
|
204
|
+
protoOf(HttpHeadersMap).u36 = function () {
|
|
205
|
+
return this.m36_1.q36();
|
|
207
206
|
};
|
|
208
|
-
protoOf(HttpHeadersMap).
|
|
207
|
+
protoOf(HttpHeadersMap).s36 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
209
208
|
if (thresholdReached(this)) {
|
|
210
209
|
resize(this);
|
|
211
210
|
}
|
|
212
211
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
213
|
-
var this_0 = hashCodeLowerCase(this.
|
|
212
|
+
var this_0 = hashCodeLowerCase(this.j36_1, nameStartIndex, nameEndIndex);
|
|
214
213
|
var hash = abs(this_0);
|
|
215
|
-
var name = this.
|
|
216
|
-
var headerIndex = hash % this.
|
|
214
|
+
var name = this.j36_1.c(nameStartIndex, nameEndIndex);
|
|
215
|
+
var headerIndex = hash % this.l36_1 | 0;
|
|
217
216
|
var sameNameHeaderIndex = -1;
|
|
218
|
-
while (!(this.
|
|
217
|
+
while (!(this.m36_1.r36(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
219
218
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
220
219
|
sameNameHeaderIndex = headerIndex;
|
|
221
220
|
}
|
|
222
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
221
|
+
headerIndex = (headerIndex + 1 | 0) % this.l36_1 | 0;
|
|
223
222
|
}
|
|
224
223
|
var headerOffset = imul(headerIndex, 6);
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
224
|
+
this.m36_1.c37(headerOffset + 0 | 0, hash);
|
|
225
|
+
this.m36_1.c37(headerOffset + 1 | 0, nameStartIndex);
|
|
226
|
+
this.m36_1.c37(headerOffset + 2 | 0, nameEndIndex);
|
|
227
|
+
this.m36_1.c37(headerOffset + 3 | 0, valueStartIndex);
|
|
228
|
+
this.m36_1.c37(headerOffset + 4 | 0, valueEndIndex);
|
|
229
|
+
this.m36_1.c37(headerOffset + 5 | 0, -1);
|
|
231
230
|
if (!(sameNameHeaderIndex === -1)) {
|
|
232
|
-
this.
|
|
231
|
+
this.m36_1.c37(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
233
232
|
}
|
|
234
|
-
this.
|
|
233
|
+
this.k36_1 = this.k36_1 + 1 | 0;
|
|
235
234
|
};
|
|
236
|
-
protoOf(HttpHeadersMap).
|
|
237
|
-
var nameStartIndex = this.
|
|
238
|
-
var nameEndIndex = this.
|
|
239
|
-
return this.
|
|
235
|
+
protoOf(HttpHeadersMap).d37 = function (headerOffset) {
|
|
236
|
+
var nameStartIndex = this.m36_1.r36(headerOffset + 1 | 0);
|
|
237
|
+
var nameEndIndex = this.m36_1.r36(headerOffset + 2 | 0);
|
|
238
|
+
return this.j36_1.c(nameStartIndex, nameEndIndex);
|
|
240
239
|
};
|
|
241
|
-
protoOf(HttpHeadersMap).
|
|
242
|
-
var valueStartIndex = this.
|
|
243
|
-
var valueEndIndex = this.
|
|
244
|
-
return this.
|
|
240
|
+
protoOf(HttpHeadersMap).t36 = function (headerOffset) {
|
|
241
|
+
var valueStartIndex = this.m36_1.r36(headerOffset + 3 | 0);
|
|
242
|
+
var valueEndIndex = this.m36_1.r36(headerOffset + 4 | 0);
|
|
243
|
+
return this.j36_1.c(valueStartIndex, valueEndIndex);
|
|
245
244
|
};
|
|
246
|
-
protoOf(HttpHeadersMap).
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
get_HeadersDataPool().
|
|
250
|
-
this.
|
|
245
|
+
protoOf(HttpHeadersMap).k1j = function () {
|
|
246
|
+
this.k36_1 = 0;
|
|
247
|
+
this.l36_1 = 0;
|
|
248
|
+
get_HeadersDataPool().r1y(this.m36_1);
|
|
249
|
+
this.m36_1 = get_HeadersDataPool().q1y();
|
|
251
250
|
};
|
|
252
251
|
protoOf(HttpHeadersMap).toString = function () {
|
|
253
252
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -257,17 +256,17 @@
|
|
|
257
256
|
return this_0.toString();
|
|
258
257
|
};
|
|
259
258
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
260
|
-
this.
|
|
259
|
+
this.m37_1 = this$0;
|
|
261
260
|
CoroutineImpl.call(this, resultContinuation);
|
|
262
261
|
}
|
|
263
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
264
|
-
var tmp = this.
|
|
262
|
+
protoOf(HeadersData$headersStarts$slambda).s37 = function ($this$sequence, $completion) {
|
|
263
|
+
var tmp = this.t37($this$sequence, $completion);
|
|
265
264
|
tmp.c9_1 = Unit_instance;
|
|
266
265
|
tmp.d9_1 = null;
|
|
267
266
|
return tmp.i9();
|
|
268
267
|
};
|
|
269
268
|
protoOf(HeadersData$headersStarts$slambda).u9 = function (p1, $completion) {
|
|
270
|
-
return this.
|
|
269
|
+
return this.s37(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
271
270
|
};
|
|
272
271
|
protoOf(HeadersData$headersStarts$slambda).i9 = function () {
|
|
273
272
|
var suspendResult = this.c9_1;
|
|
@@ -277,29 +276,29 @@
|
|
|
277
276
|
switch (tmp) {
|
|
278
277
|
case 0:
|
|
279
278
|
this.b9_1 = 7;
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
279
|
+
this.o37_1 = 0;
|
|
280
|
+
this.r37_1 = this.m37_1.n36_1.t();
|
|
282
281
|
this.a9_1 = 1;
|
|
283
282
|
continue $sm;
|
|
284
283
|
case 1:
|
|
285
|
-
if (!this.
|
|
284
|
+
if (!this.r37_1.u()) {
|
|
286
285
|
this.a9_1 = 6;
|
|
287
286
|
continue $sm;
|
|
288
287
|
}
|
|
289
288
|
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
289
|
+
this.q37_1 = this.r37_1.v();
|
|
290
|
+
this.p37_1 = 0;
|
|
292
291
|
this.a9_1 = 2;
|
|
293
292
|
continue $sm;
|
|
294
293
|
case 2:
|
|
295
|
-
if (!(this.
|
|
294
|
+
if (!(this.p37_1 < this.q37_1.length)) {
|
|
296
295
|
this.a9_1 = 5;
|
|
297
296
|
continue $sm;
|
|
298
297
|
}
|
|
299
298
|
|
|
300
|
-
if (!(this.
|
|
299
|
+
if (!(this.m37_1.r36(this.o37_1 + 0 | 0) === -1)) {
|
|
301
300
|
this.a9_1 = 3;
|
|
302
|
-
suspendResult = this.
|
|
301
|
+
suspendResult = this.n37_1.kg(this.o37_1, this);
|
|
303
302
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
304
303
|
return suspendResult;
|
|
305
304
|
}
|
|
@@ -313,8 +312,8 @@
|
|
|
313
312
|
this.a9_1 = 4;
|
|
314
313
|
continue $sm;
|
|
315
314
|
case 4:
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
315
|
+
this.p37_1 = this.p37_1 + 6 | 0;
|
|
316
|
+
this.o37_1 = this.o37_1 + 6 | 0;
|
|
318
317
|
this.a9_1 = 2;
|
|
319
318
|
continue $sm;
|
|
320
319
|
case 5:
|
|
@@ -336,15 +335,15 @@
|
|
|
336
335
|
}
|
|
337
336
|
while (true);
|
|
338
337
|
};
|
|
339
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
340
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
341
|
-
i.
|
|
338
|
+
protoOf(HeadersData$headersStarts$slambda).t37 = function ($this$sequence, completion) {
|
|
339
|
+
var i = new HeadersData$headersStarts$slambda(this.m37_1, completion);
|
|
340
|
+
i.n37_1 = $this$sequence;
|
|
342
341
|
return i;
|
|
343
342
|
};
|
|
344
343
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
345
344
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
346
345
|
var l = function ($this$sequence, $completion) {
|
|
347
|
-
return i.
|
|
346
|
+
return i.s37($this$sequence, $completion);
|
|
348
347
|
};
|
|
349
348
|
l.$arity = 1;
|
|
350
349
|
return l;
|
|
@@ -352,55 +351,55 @@
|
|
|
352
351
|
function HeadersData() {
|
|
353
352
|
var tmp = this;
|
|
354
353
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
355
|
-
tmp.
|
|
354
|
+
tmp.n36_1 = ArrayList_init_$Create$();
|
|
356
355
|
}
|
|
357
|
-
protoOf(HeadersData).
|
|
358
|
-
return this.
|
|
356
|
+
protoOf(HeadersData).o36 = function () {
|
|
357
|
+
return this.n36_1.l1();
|
|
359
358
|
};
|
|
360
|
-
protoOf(HeadersData).
|
|
359
|
+
protoOf(HeadersData).p36 = function (subArraysCount) {
|
|
361
360
|
// Inline function 'kotlin.repeat' call
|
|
362
361
|
var inductionVariable = 0;
|
|
363
362
|
if (inductionVariable < subArraysCount)
|
|
364
363
|
do {
|
|
365
364
|
var index = inductionVariable;
|
|
366
365
|
inductionVariable = inductionVariable + 1 | 0;
|
|
367
|
-
this.
|
|
366
|
+
this.n36_1.j1(get_IntArrayPool().q1y());
|
|
368
367
|
}
|
|
369
368
|
while (inductionVariable < subArraysCount);
|
|
370
369
|
};
|
|
371
|
-
protoOf(HeadersData).
|
|
372
|
-
return this.
|
|
370
|
+
protoOf(HeadersData).r36 = function (index) {
|
|
371
|
+
return this.n36_1.m1(index / 768 | 0)[index % 768 | 0];
|
|
373
372
|
};
|
|
374
|
-
protoOf(HeadersData).
|
|
375
|
-
this.
|
|
373
|
+
protoOf(HeadersData).c37 = function (index, value) {
|
|
374
|
+
this.n36_1.m1(index / 768 | 0)[index % 768 | 0] = value;
|
|
376
375
|
};
|
|
377
|
-
protoOf(HeadersData).
|
|
376
|
+
protoOf(HeadersData).q36 = function () {
|
|
378
377
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
379
378
|
};
|
|
380
|
-
protoOf(HeadersData).
|
|
381
|
-
var _iterator__ex2g4s = this.
|
|
379
|
+
protoOf(HeadersData).k1j = function () {
|
|
380
|
+
var _iterator__ex2g4s = this.n36_1.t();
|
|
382
381
|
while (_iterator__ex2g4s.u()) {
|
|
383
382
|
var array = _iterator__ex2g4s.v();
|
|
384
|
-
get_IntArrayPool().
|
|
383
|
+
get_IntArrayPool().r1y(array);
|
|
385
384
|
}
|
|
386
|
-
this.
|
|
385
|
+
this.n36_1.t2();
|
|
387
386
|
};
|
|
388
387
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
389
388
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
390
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
389
|
+
var _iterator__ex2g4s = _this__u8e3s4.u36().t();
|
|
391
390
|
while (_iterator__ex2g4s.u()) {
|
|
392
391
|
var offset = _iterator__ex2g4s.v();
|
|
393
392
|
out.k1(indent);
|
|
394
|
-
out.k1(_this__u8e3s4.
|
|
393
|
+
out.k1(_this__u8e3s4.d37(offset));
|
|
395
394
|
out.k1(' => ');
|
|
396
|
-
out.k1(_this__u8e3s4.
|
|
395
|
+
out.k1(_this__u8e3s4.t36(offset));
|
|
397
396
|
out.k1('\n');
|
|
398
397
|
}
|
|
399
398
|
}
|
|
400
399
|
function IntArrayPool$1() {
|
|
401
400
|
DefaultPool.call(this, 1000);
|
|
402
401
|
}
|
|
403
|
-
protoOf(IntArrayPool$1).
|
|
402
|
+
protoOf(IntArrayPool$1).j1y = function () {
|
|
404
403
|
var tmp = 0;
|
|
405
404
|
var tmp_0 = new Int32Array(768);
|
|
406
405
|
while (tmp < 768) {
|
|
@@ -409,25 +408,25 @@
|
|
|
409
408
|
}
|
|
410
409
|
return tmp_0;
|
|
411
410
|
};
|
|
412
|
-
protoOf(IntArrayPool$1).
|
|
411
|
+
protoOf(IntArrayPool$1).x37 = function (instance) {
|
|
413
412
|
fill(instance, -1);
|
|
414
|
-
return protoOf(DefaultPool).
|
|
413
|
+
return protoOf(DefaultPool).o1y.call(this, instance);
|
|
415
414
|
};
|
|
416
|
-
protoOf(IntArrayPool$1).
|
|
417
|
-
return this.
|
|
415
|
+
protoOf(IntArrayPool$1).o1y = function (instance) {
|
|
416
|
+
return this.x37(isIntArray(instance) ? instance : THROW_CCE());
|
|
418
417
|
};
|
|
419
418
|
function HeadersDataPool$1() {
|
|
420
419
|
DefaultPool.call(this, 1000);
|
|
421
420
|
}
|
|
422
|
-
protoOf(HeadersDataPool$1).
|
|
421
|
+
protoOf(HeadersDataPool$1).j1y = function () {
|
|
423
422
|
return new HeadersData();
|
|
424
423
|
};
|
|
425
|
-
protoOf(HeadersDataPool$1).
|
|
426
|
-
instance.
|
|
427
|
-
return protoOf(DefaultPool).
|
|
424
|
+
protoOf(HeadersDataPool$1).b38 = function (instance) {
|
|
425
|
+
instance.k1j();
|
|
426
|
+
return protoOf(DefaultPool).o1y.call(this, instance);
|
|
428
427
|
};
|
|
429
|
-
protoOf(HeadersDataPool$1).
|
|
430
|
-
return this.
|
|
428
|
+
protoOf(HeadersDataPool$1).o1y = function (instance) {
|
|
429
|
+
return this.b38(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
431
430
|
};
|
|
432
431
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
433
432
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -442,10 +441,6 @@
|
|
|
442
441
|
return hostForbiddenSymbols;
|
|
443
442
|
}
|
|
444
443
|
var hostForbiddenSymbols;
|
|
445
|
-
function get_httpLineEndings() {
|
|
446
|
-
_init_properties_HttpParser_kt__gbdom1();
|
|
447
|
-
return httpLineEndings;
|
|
448
|
-
}
|
|
449
444
|
var httpLineEndings;
|
|
450
445
|
var versions;
|
|
451
446
|
function parseHeaders(input, builder, range, $completion) {
|
|
@@ -457,16 +452,16 @@
|
|
|
457
452
|
}
|
|
458
453
|
function parseHeaderName(text, range) {
|
|
459
454
|
_init_properties_HttpParser_kt__gbdom1();
|
|
460
|
-
var index = range.
|
|
461
|
-
var end = range.
|
|
455
|
+
var index = range.p38_1;
|
|
456
|
+
var end = range.q38_1;
|
|
462
457
|
while (index < end) {
|
|
463
458
|
var ch = text.b(index);
|
|
464
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
465
|
-
range.
|
|
459
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.p38_1)) {
|
|
460
|
+
range.p38_1 = index + 1 | 0;
|
|
466
461
|
return index;
|
|
467
462
|
}
|
|
468
463
|
if (isDelimiter(ch)) {
|
|
469
|
-
parseHeaderNameFailed(text, index, range.
|
|
464
|
+
parseHeaderNameFailed(text, index, range.p38_1, ch);
|
|
470
465
|
}
|
|
471
466
|
index = index + 1 | 0;
|
|
472
467
|
}
|
|
@@ -474,12 +469,12 @@
|
|
|
474
469
|
}
|
|
475
470
|
function parseHeaderValue(text, range) {
|
|
476
471
|
_init_properties_HttpParser_kt__gbdom1();
|
|
477
|
-
var start = range.
|
|
478
|
-
var end = range.
|
|
472
|
+
var start = range.p38_1;
|
|
473
|
+
var end = range.q38_1;
|
|
479
474
|
var index = start;
|
|
480
475
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
481
476
|
if (index >= end) {
|
|
482
|
-
range.
|
|
477
|
+
range.p38_1 = end;
|
|
483
478
|
return Unit_instance;
|
|
484
479
|
}
|
|
485
480
|
var valueStart = index;
|
|
@@ -493,8 +488,8 @@
|
|
|
493
488
|
valueLastIndex = index;
|
|
494
489
|
index = index + 1 | 0;
|
|
495
490
|
}
|
|
496
|
-
range.
|
|
497
|
-
range.
|
|
491
|
+
range.p38_1 = valueStart;
|
|
492
|
+
range.q38_1 = valueLastIndex + 1 | 0;
|
|
498
493
|
}
|
|
499
494
|
function validateHostHeader(host) {
|
|
500
495
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -508,7 +503,7 @@
|
|
|
508
503
|
while (inductionVariable < charSequenceLength(host)) {
|
|
509
504
|
var element = charSequenceGet(host, inductionVariable);
|
|
510
505
|
inductionVariable = inductionVariable + 1 | 0;
|
|
511
|
-
if (get_hostForbiddenSymbols().
|
|
506
|
+
if (get_hostForbiddenSymbols().n2(new Char(element))) {
|
|
512
507
|
tmp$ret$1 = true;
|
|
513
508
|
break $l$block;
|
|
514
509
|
}
|
|
@@ -535,9 +530,9 @@
|
|
|
535
530
|
}
|
|
536
531
|
function noColonFound(text, range) {
|
|
537
532
|
_init_properties_HttpParser_kt__gbdom1();
|
|
538
|
-
var tmp2 = range.
|
|
533
|
+
var tmp2 = range.p38_1;
|
|
539
534
|
// Inline function 'kotlin.text.substring' call
|
|
540
|
-
var endIndex = range.
|
|
535
|
+
var endIndex = range.q38_1;
|
|
541
536
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
542
537
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
543
538
|
}
|
|
@@ -553,9 +548,9 @@
|
|
|
553
548
|
}
|
|
554
549
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
555
550
|
CoroutineImpl.call(this, resultContinuation);
|
|
556
|
-
this.
|
|
557
|
-
this.
|
|
558
|
-
this.
|
|
551
|
+
this.k38_1 = input;
|
|
552
|
+
this.l38_1 = builder;
|
|
553
|
+
this.m38_1 = range;
|
|
559
554
|
}
|
|
560
555
|
protoOf($parseHeadersCOROUTINE$).i9 = function () {
|
|
561
556
|
var suspendResult = this.c9_1;
|
|
@@ -565,7 +560,7 @@
|
|
|
565
560
|
switch (tmp) {
|
|
566
561
|
case 0:
|
|
567
562
|
this.b9_1 = 7;
|
|
568
|
-
this.
|
|
563
|
+
this.n38_1 = new HttpHeadersMap(this.l38_1);
|
|
569
564
|
this.b9_1 = 6;
|
|
570
565
|
this.a9_1 = 1;
|
|
571
566
|
continue $sm;
|
|
@@ -576,15 +571,15 @@
|
|
|
576
571
|
}
|
|
577
572
|
|
|
578
573
|
this.a9_1 = 2;
|
|
579
|
-
suspendResult =
|
|
574
|
+
suspendResult = readLineStrictTo(this.k38_1, this.l38_1, 8192n, VOID, this);
|
|
580
575
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
581
576
|
return suspendResult;
|
|
582
577
|
}
|
|
583
578
|
|
|
584
579
|
continue $sm;
|
|
585
580
|
case 2:
|
|
586
|
-
if (
|
|
587
|
-
this.
|
|
581
|
+
if (suspendResult === -1n) {
|
|
582
|
+
this.n38_1.k1j();
|
|
588
583
|
return null;
|
|
589
584
|
} else {
|
|
590
585
|
this.a9_1 = 3;
|
|
@@ -592,9 +587,9 @@
|
|
|
592
587
|
}
|
|
593
588
|
|
|
594
589
|
case 3:
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
597
|
-
if (this.
|
|
590
|
+
this.m38_1.q38_1 = this.l38_1.b37_1;
|
|
591
|
+
this.o38_1 = this.m38_1.q38_1 - this.m38_1.p38_1 | 0;
|
|
592
|
+
if (this.o38_1 === 0) {
|
|
598
593
|
this.a9_1 = 5;
|
|
599
594
|
continue $sm;
|
|
600
595
|
} else {
|
|
@@ -603,34 +598,34 @@
|
|
|
603
598
|
}
|
|
604
599
|
|
|
605
600
|
case 4:
|
|
606
|
-
if (this.
|
|
601
|
+
if (this.o38_1 >= 8192) {
|
|
607
602
|
var message = 'Header line length limit exceeded';
|
|
608
603
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
609
604
|
}
|
|
610
605
|
|
|
611
|
-
var nameStart = this.
|
|
612
|
-
var nameEnd = parseHeaderName(this.
|
|
613
|
-
var headerEnd = this.
|
|
614
|
-
parseHeaderValue(this.
|
|
615
|
-
var valueStart = this.
|
|
616
|
-
var valueEnd = this.
|
|
617
|
-
this.
|
|
618
|
-
this.
|
|
606
|
+
var nameStart = this.m38_1.p38_1;
|
|
607
|
+
var nameEnd = parseHeaderName(this.l38_1, this.m38_1);
|
|
608
|
+
var headerEnd = this.m38_1.q38_1;
|
|
609
|
+
parseHeaderValue(this.l38_1, this.m38_1);
|
|
610
|
+
var valueStart = this.m38_1.p38_1;
|
|
611
|
+
var valueEnd = this.m38_1.q38_1;
|
|
612
|
+
this.m38_1.p38_1 = headerEnd;
|
|
613
|
+
this.n38_1.s36(nameStart, nameEnd, valueStart, valueEnd);
|
|
619
614
|
this.a9_1 = 1;
|
|
620
615
|
continue $sm;
|
|
621
616
|
case 5:
|
|
622
|
-
var host = this.
|
|
617
|
+
var host = this.n38_1.p2m('Host');
|
|
623
618
|
if (!(host == null)) {
|
|
624
619
|
validateHostHeader(host);
|
|
625
620
|
}
|
|
626
621
|
|
|
627
|
-
return this.
|
|
622
|
+
return this.n38_1;
|
|
628
623
|
case 6:
|
|
629
624
|
this.b9_1 = 7;
|
|
630
625
|
var tmp_0 = this.d9_1;
|
|
631
626
|
if (tmp_0 instanceof Error) {
|
|
632
627
|
var t = this.d9_1;
|
|
633
|
-
this.
|
|
628
|
+
this.n38_1.k1j();
|
|
634
629
|
throw t;
|
|
635
630
|
} else {
|
|
636
631
|
throw this.d9_1;
|
|
@@ -655,8 +650,8 @@
|
|
|
655
650
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
656
651
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
657
652
|
hostForbiddenSymbols = setOf([new Char(_Char___init__impl__6a9atx(47)), new Char(_Char___init__impl__6a9atx(63)), new Char(_Char___init__impl__6a9atx(35)), new Char(_Char___init__impl__6a9atx(64))]);
|
|
658
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
659
|
-
versions = Companion_instance.
|
|
653
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().v1x_1, Companion_getInstance().u1x_1);
|
|
654
|
+
versions = Companion_instance.r38(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
660
655
|
}
|
|
661
656
|
}
|
|
662
657
|
function get_CrLf() {
|
|
@@ -671,23 +666,23 @@
|
|
|
671
666
|
var PrefixString;
|
|
672
667
|
function Preamble(body) {
|
|
673
668
|
MultipartEvent.call(this);
|
|
674
|
-
this.
|
|
669
|
+
this.s38_1 = body;
|
|
675
670
|
}
|
|
676
671
|
function MultipartPart(headers, body) {
|
|
677
672
|
MultipartEvent.call(this);
|
|
678
|
-
this.
|
|
679
|
-
this.
|
|
673
|
+
this.t38_1 = headers;
|
|
674
|
+
this.u38_1 = body;
|
|
680
675
|
}
|
|
681
676
|
function Epilogue(body) {
|
|
682
677
|
MultipartEvent.call(this);
|
|
683
|
-
this.
|
|
678
|
+
this.v38_1 = body;
|
|
684
679
|
}
|
|
685
680
|
function MultipartEvent() {
|
|
686
681
|
}
|
|
687
682
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
688
683
|
maxPartSize = maxPartSize === VOID ? 9223372036854775807n : maxPartSize;
|
|
689
684
|
_init_properties_Multipart_kt__ato98a();
|
|
690
|
-
if (!MultiPart_getInstance().
|
|
685
|
+
if (!MultiPart_getInstance().d2u(contentType)) {
|
|
691
686
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
692
687
|
}
|
|
693
688
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -864,18 +859,18 @@
|
|
|
864
859
|
boundaryBytes[_unary__edvuaz] = value;
|
|
865
860
|
}
|
|
866
861
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
867
|
-
this.
|
|
868
|
-
this.
|
|
862
|
+
this.p3a_1 = $firstBoundary;
|
|
863
|
+
this.q3a_1 = $countedInput;
|
|
869
864
|
CoroutineImpl.call(this, resultContinuation);
|
|
870
865
|
}
|
|
871
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
872
|
-
var tmp = this.
|
|
866
|
+
protoOf(parseMultipart$slambda$slambda).s3a = function ($this$writer, $completion) {
|
|
867
|
+
var tmp = this.t3a($this$writer, $completion);
|
|
873
868
|
tmp.c9_1 = Unit_instance;
|
|
874
869
|
tmp.d9_1 = null;
|
|
875
870
|
return tmp.i9();
|
|
876
871
|
};
|
|
877
872
|
protoOf(parseMultipart$slambda$slambda).u9 = function (p1, $completion) {
|
|
878
|
-
return this.
|
|
873
|
+
return this.s3a(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
879
874
|
};
|
|
880
875
|
protoOf(parseMultipart$slambda$slambda).i9 = function () {
|
|
881
876
|
var suspendResult = this.c9_1;
|
|
@@ -886,7 +881,7 @@
|
|
|
886
881
|
case 0:
|
|
887
882
|
this.b9_1 = 3;
|
|
888
883
|
this.a9_1 = 1;
|
|
889
|
-
suspendResult = parsePreambleImpl(this.
|
|
884
|
+
suspendResult = parsePreambleImpl(this.p3a_1, this.q3a_1, this.r3a_1.v1v_1, 8193n, this);
|
|
890
885
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
891
886
|
return suspendResult;
|
|
892
887
|
}
|
|
@@ -894,7 +889,7 @@
|
|
|
894
889
|
continue $sm;
|
|
895
890
|
case 1:
|
|
896
891
|
this.a9_1 = 2;
|
|
897
|
-
suspendResult = this.
|
|
892
|
+
suspendResult = this.r3a_1.v1v_1.h1o(this);
|
|
898
893
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
899
894
|
return suspendResult;
|
|
900
895
|
}
|
|
@@ -916,34 +911,34 @@
|
|
|
916
911
|
}
|
|
917
912
|
while (true);
|
|
918
913
|
};
|
|
919
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
920
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
921
|
-
i.
|
|
914
|
+
protoOf(parseMultipart$slambda$slambda).t3a = function ($this$writer, completion) {
|
|
915
|
+
var i = new parseMultipart$slambda$slambda(this.p3a_1, this.q3a_1, completion);
|
|
916
|
+
i.r3a_1 = $this$writer;
|
|
922
917
|
return i;
|
|
923
918
|
};
|
|
924
919
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
925
920
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
926
921
|
var l = function ($this$writer, $completion) {
|
|
927
|
-
return i.
|
|
922
|
+
return i.s3a($this$writer, $completion);
|
|
928
923
|
};
|
|
929
924
|
l.$arity = 1;
|
|
930
925
|
return l;
|
|
931
926
|
}
|
|
932
927
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
933
|
-
this.
|
|
934
|
-
this.
|
|
935
|
-
this.
|
|
936
|
-
this.
|
|
928
|
+
this.c3b_1 = $input;
|
|
929
|
+
this.d3b_1 = $boundaryPrefixed;
|
|
930
|
+
this.e3b_1 = $maxPartSize;
|
|
931
|
+
this.f3b_1 = $totalLength;
|
|
937
932
|
CoroutineImpl.call(this, resultContinuation);
|
|
938
933
|
}
|
|
939
|
-
protoOf(parseMultipart$slambda).
|
|
940
|
-
var tmp = this.
|
|
934
|
+
protoOf(parseMultipart$slambda).o3b = function ($this$produce, $completion) {
|
|
935
|
+
var tmp = this.p3b($this$produce, $completion);
|
|
941
936
|
tmp.c9_1 = Unit_instance;
|
|
942
937
|
tmp.d9_1 = null;
|
|
943
938
|
return tmp.i9();
|
|
944
939
|
};
|
|
945
940
|
protoOf(parseMultipart$slambda).u9 = function (p1, $completion) {
|
|
946
|
-
return this.
|
|
941
|
+
return this.o3b((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
947
942
|
};
|
|
948
943
|
protoOf(parseMultipart$slambda).i9 = function () {
|
|
949
944
|
var suspendResult = this.c9_1;
|
|
@@ -953,11 +948,11 @@
|
|
|
953
948
|
switch (tmp) {
|
|
954
949
|
case 0:
|
|
955
950
|
this.b9_1 = 25;
|
|
956
|
-
this.
|
|
957
|
-
this.
|
|
958
|
-
this.
|
|
951
|
+
this.h3b_1 = counted(this.c3b_1);
|
|
952
|
+
this.i3b_1 = this.h3b_1.s1x();
|
|
953
|
+
this.m3b_1 = this.d3b_1.dp(get_PrefixString().l1());
|
|
959
954
|
this.a9_1 = 1;
|
|
960
|
-
suspendResult = readRemaining(writer(this.
|
|
955
|
+
suspendResult = readRemaining(writer(this.g3b_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.m3b_1, this.h3b_1, null)).t1v_1, this);
|
|
961
956
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
962
957
|
return suspendResult;
|
|
963
958
|
}
|
|
@@ -967,7 +962,7 @@
|
|
|
967
962
|
var preambleData = suspendResult;
|
|
968
963
|
if (get_remaining(preambleData) > 0n) {
|
|
969
964
|
this.a9_1 = 2;
|
|
970
|
-
suspendResult = this.
|
|
965
|
+
suspendResult = this.g3b_1.y1b(new Preamble(preambleData), this);
|
|
971
966
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
972
967
|
return suspendResult;
|
|
973
968
|
}
|
|
@@ -984,31 +979,31 @@
|
|
|
984
979
|
this.a9_1 = 4;
|
|
985
980
|
continue $sm;
|
|
986
981
|
case 4:
|
|
987
|
-
if (!this.
|
|
982
|
+
if (!this.h3b_1.e1o()) {
|
|
988
983
|
this.a9_1 = 5;
|
|
989
|
-
suspendResult = skipIfFound(this.
|
|
984
|
+
suspendResult = skipIfFound(this.h3b_1, get_PrefixString(), this);
|
|
990
985
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
991
986
|
return suspendResult;
|
|
992
987
|
}
|
|
993
988
|
continue $sm;
|
|
994
989
|
} else {
|
|
995
|
-
this.
|
|
990
|
+
this.n3b_1 = false;
|
|
996
991
|
this.a9_1 = 6;
|
|
997
992
|
continue $sm;
|
|
998
993
|
}
|
|
999
994
|
|
|
1000
995
|
case 5:
|
|
1001
|
-
this.
|
|
996
|
+
this.n3b_1 = !suspendResult;
|
|
1002
997
|
this.a9_1 = 6;
|
|
1003
998
|
continue $sm;
|
|
1004
999
|
case 6:
|
|
1005
|
-
if (!this.
|
|
1000
|
+
if (!this.n3b_1) {
|
|
1006
1001
|
this.a9_1 = 15;
|
|
1007
1002
|
continue $sm;
|
|
1008
1003
|
}
|
|
1009
1004
|
|
|
1010
1005
|
this.a9_1 = 7;
|
|
1011
|
-
suspendResult = skipIfFound(this.
|
|
1006
|
+
suspendResult = skipIfFound(this.h3b_1, get_CrLf(), this);
|
|
1012
1007
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1013
1008
|
return suspendResult;
|
|
1014
1009
|
}
|
|
@@ -1016,7 +1011,7 @@
|
|
|
1016
1011
|
continue $sm;
|
|
1017
1012
|
case 7:
|
|
1018
1013
|
this.a9_1 = 8;
|
|
1019
|
-
suspendResult = skipIfFound(this.
|
|
1014
|
+
suspendResult = skipIfFound(this.h3b_1, this.m3b_1, this);
|
|
1020
1015
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1021
1016
|
return suspendResult;
|
|
1022
1017
|
}
|
|
@@ -1032,42 +1027,42 @@
|
|
|
1032
1027
|
}
|
|
1033
1028
|
|
|
1034
1029
|
case 9:
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1037
|
-
var part = new MultipartPart(this.
|
|
1030
|
+
this.j3b_1 = new ByteChannel();
|
|
1031
|
+
this.l3b_1 = CompletableDeferred();
|
|
1032
|
+
var part = new MultipartPart(this.l3b_1, this.j3b_1);
|
|
1038
1033
|
this.a9_1 = 10;
|
|
1039
|
-
suspendResult = this.
|
|
1034
|
+
suspendResult = this.g3b_1.y1b(part, this);
|
|
1040
1035
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1041
1036
|
return suspendResult;
|
|
1042
1037
|
}
|
|
1043
1038
|
|
|
1044
1039
|
continue $sm;
|
|
1045
1040
|
case 10:
|
|
1046
|
-
this.
|
|
1041
|
+
this.k3b_1 = null;
|
|
1047
1042
|
this.b9_1 = 14;
|
|
1048
1043
|
this.a9_1 = 11;
|
|
1049
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1044
|
+
suspendResult = parsePartHeadersImpl(this.h3b_1, this);
|
|
1050
1045
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1051
1046
|
return suspendResult;
|
|
1052
1047
|
}
|
|
1053
1048
|
|
|
1054
1049
|
continue $sm;
|
|
1055
1050
|
case 11:
|
|
1056
|
-
this.
|
|
1057
|
-
if (!this.
|
|
1058
|
-
this.
|
|
1051
|
+
this.k3b_1 = suspendResult;
|
|
1052
|
+
if (!this.l3b_1.e11(this.k3b_1)) {
|
|
1053
|
+
this.k3b_1.k1j();
|
|
1059
1054
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1060
1055
|
}
|
|
1061
1056
|
|
|
1062
1057
|
this.a9_1 = 12;
|
|
1063
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1058
|
+
suspendResult = parsePartBodyImpl(this.d3b_1, this.h3b_1, this.j3b_1, this.k3b_1, this.e3b_1, this);
|
|
1064
1059
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1065
1060
|
return suspendResult;
|
|
1066
1061
|
}
|
|
1067
1062
|
|
|
1068
1063
|
continue $sm;
|
|
1069
1064
|
case 12:
|
|
1070
|
-
this.
|
|
1065
|
+
this.j3b_1.l4();
|
|
1071
1066
|
this.b9_1 = 25;
|
|
1072
1067
|
this.a9_1 = 13;
|
|
1073
1068
|
continue $sm;
|
|
@@ -1080,15 +1075,15 @@
|
|
|
1080
1075
|
var tmp_0 = this.d9_1;
|
|
1081
1076
|
if (tmp_0 instanceof Error) {
|
|
1082
1077
|
var cause = this.d9_1;
|
|
1083
|
-
if (this.
|
|
1084
|
-
var tmp0_safe_receiver = this.
|
|
1078
|
+
if (this.l3b_1.f11(cause)) {
|
|
1079
|
+
var tmp0_safe_receiver = this.k3b_1;
|
|
1085
1080
|
if (tmp0_safe_receiver == null)
|
|
1086
1081
|
null;
|
|
1087
1082
|
else {
|
|
1088
|
-
tmp0_safe_receiver.
|
|
1083
|
+
tmp0_safe_receiver.k1j();
|
|
1089
1084
|
}
|
|
1090
1085
|
}
|
|
1091
|
-
close(this.
|
|
1086
|
+
close(this.j3b_1, cause);
|
|
1092
1087
|
throw cause;
|
|
1093
1088
|
} else {
|
|
1094
1089
|
throw this.d9_1;
|
|
@@ -1096,7 +1091,7 @@
|
|
|
1096
1091
|
|
|
1097
1092
|
case 15:
|
|
1098
1093
|
this.a9_1 = 16;
|
|
1099
|
-
suspendResult = skipIfFound(this.
|
|
1094
|
+
suspendResult = skipIfFound(this.h3b_1, get_CrLf(), this);
|
|
1100
1095
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1101
1096
|
return suspendResult;
|
|
1102
1097
|
}
|
|
@@ -1104,21 +1099,21 @@
|
|
|
1104
1099
|
continue $sm;
|
|
1105
1100
|
case 16:
|
|
1106
1101
|
this.a9_1 = 17;
|
|
1107
|
-
suspendResult = skipIfFound(this.
|
|
1102
|
+
suspendResult = skipIfFound(this.h3b_1, get_CrLf(), this);
|
|
1108
1103
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1109
1104
|
return suspendResult;
|
|
1110
1105
|
}
|
|
1111
1106
|
|
|
1112
1107
|
continue $sm;
|
|
1113
1108
|
case 17:
|
|
1114
|
-
if (!(this.
|
|
1115
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1116
|
-
var size = subtract(this.
|
|
1109
|
+
if (!(this.f3b_1 == null)) {
|
|
1110
|
+
var consumedExceptEpilogue = subtract(this.h3b_1.s1x(), this.i3b_1);
|
|
1111
|
+
var size = subtract(this.f3b_1, consumedExceptEpilogue);
|
|
1117
1112
|
if (size > 2147483647n)
|
|
1118
1113
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1119
1114
|
if (size > 0n) {
|
|
1120
1115
|
this.a9_1 = 21;
|
|
1121
|
-
suspendResult = readPacket(this.
|
|
1116
|
+
suspendResult = readPacket(this.h3b_1, convertToInt(size), this);
|
|
1122
1117
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1123
1118
|
return suspendResult;
|
|
1124
1119
|
}
|
|
@@ -1129,7 +1124,7 @@
|
|
|
1129
1124
|
}
|
|
1130
1125
|
} else {
|
|
1131
1126
|
this.a9_1 = 18;
|
|
1132
|
-
suspendResult = readRemaining(this.
|
|
1127
|
+
suspendResult = readRemaining(this.h3b_1, this);
|
|
1133
1128
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1134
1129
|
return suspendResult;
|
|
1135
1130
|
}
|
|
@@ -1138,9 +1133,9 @@
|
|
|
1138
1133
|
|
|
1139
1134
|
case 18:
|
|
1140
1135
|
var epilogueContent = suspendResult;
|
|
1141
|
-
if (!epilogueContent.
|
|
1136
|
+
if (!epilogueContent.lp()) {
|
|
1142
1137
|
this.a9_1 = 19;
|
|
1143
|
-
suspendResult = this.
|
|
1138
|
+
suspendResult = this.g3b_1.y1b(new Epilogue(epilogueContent), this);
|
|
1144
1139
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1145
1140
|
return suspendResult;
|
|
1146
1141
|
}
|
|
@@ -1160,7 +1155,7 @@
|
|
|
1160
1155
|
var ARGUMENT = suspendResult;
|
|
1161
1156
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1162
1157
|
this.a9_1 = 22;
|
|
1163
|
-
suspendResult = this.
|
|
1158
|
+
suspendResult = this.g3b_1.y1b(ARGUMENT_0, this);
|
|
1164
1159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1165
1160
|
return suspendResult;
|
|
1166
1161
|
}
|
|
@@ -1188,22 +1183,22 @@
|
|
|
1188
1183
|
}
|
|
1189
1184
|
while (true);
|
|
1190
1185
|
};
|
|
1191
|
-
protoOf(parseMultipart$slambda).
|
|
1192
|
-
var i = new parseMultipart$slambda(this.
|
|
1193
|
-
i.
|
|
1186
|
+
protoOf(parseMultipart$slambda).p3b = function ($this$produce, completion) {
|
|
1187
|
+
var i = new parseMultipart$slambda(this.c3b_1, this.d3b_1, this.e3b_1, this.f3b_1, completion);
|
|
1188
|
+
i.g3b_1 = $this$produce;
|
|
1194
1189
|
return i;
|
|
1195
1190
|
};
|
|
1196
1191
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1197
1192
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1198
1193
|
var l = function ($this$produce, $completion) {
|
|
1199
|
-
return i.
|
|
1194
|
+
return i.o3b($this$produce, $completion);
|
|
1200
1195
|
};
|
|
1201
1196
|
l.$arity = 1;
|
|
1202
1197
|
return l;
|
|
1203
1198
|
}
|
|
1204
1199
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1205
1200
|
CoroutineImpl.call(this, resultContinuation);
|
|
1206
|
-
this.
|
|
1201
|
+
this.e39_1 = input;
|
|
1207
1202
|
}
|
|
1208
1203
|
protoOf($parsePartHeadersImplCOROUTINE$).i9 = function () {
|
|
1209
1204
|
var suspendResult = this.c9_1;
|
|
@@ -1213,10 +1208,10 @@
|
|
|
1213
1208
|
switch (tmp) {
|
|
1214
1209
|
case 0:
|
|
1215
1210
|
this.b9_1 = 3;
|
|
1216
|
-
this.
|
|
1211
|
+
this.f39_1 = new CharArrayBuilder();
|
|
1217
1212
|
this.b9_1 = 2;
|
|
1218
1213
|
this.a9_1 = 1;
|
|
1219
|
-
suspendResult = parseHeaders(this.
|
|
1214
|
+
suspendResult = parseHeaders(this.e39_1, this.f39_1, VOID, this);
|
|
1220
1215
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1221
1216
|
return suspendResult;
|
|
1222
1217
|
}
|
|
@@ -1237,7 +1232,7 @@
|
|
|
1237
1232
|
var tmp_1 = this.d9_1;
|
|
1238
1233
|
if (tmp_1 instanceof Error) {
|
|
1239
1234
|
var t = this.d9_1;
|
|
1240
|
-
this.
|
|
1235
|
+
this.f39_1.k1j();
|
|
1241
1236
|
throw t;
|
|
1242
1237
|
} else {
|
|
1243
1238
|
throw this.d9_1;
|
|
@@ -1259,11 +1254,11 @@
|
|
|
1259
1254
|
};
|
|
1260
1255
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1261
1256
|
CoroutineImpl.call(this, resultContinuation);
|
|
1262
|
-
this.
|
|
1263
|
-
this.
|
|
1264
|
-
this.
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1257
|
+
this.o39_1 = boundaryPrefixed;
|
|
1258
|
+
this.p39_1 = input;
|
|
1259
|
+
this.q39_1 = output;
|
|
1260
|
+
this.r39_1 = headers;
|
|
1261
|
+
this.s39_1 = limit;
|
|
1267
1262
|
}
|
|
1268
1263
|
protoOf($parsePartBodyImplCOROUTINE$).i9 = function () {
|
|
1269
1264
|
var suspendResult = this.c9_1;
|
|
@@ -1273,35 +1268,35 @@
|
|
|
1273
1268
|
switch (tmp) {
|
|
1274
1269
|
case 0:
|
|
1275
1270
|
this.b9_1 = 6;
|
|
1276
|
-
var tmp0_safe_receiver = this.
|
|
1271
|
+
var tmp0_safe_receiver = this.r39_1.p2m('Content-Length');
|
|
1277
1272
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1278
1273
|
if (contentLength == null) {
|
|
1279
1274
|
this.a9_1 = 3;
|
|
1280
|
-
suspendResult = readUntil(this.
|
|
1275
|
+
suspendResult = readUntil(this.p39_1, this.o39_1, this.q39_1, this.s39_1, true, this);
|
|
1281
1276
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1282
1277
|
return suspendResult;
|
|
1283
1278
|
}
|
|
1284
1279
|
continue $sm;
|
|
1285
1280
|
} else {
|
|
1286
|
-
var containsUpper = this.
|
|
1281
|
+
var containsUpper = this.s39_1;
|
|
1287
1282
|
if (0n <= contentLength ? contentLength <= containsUpper : false) {
|
|
1288
1283
|
this.a9_1 = 1;
|
|
1289
|
-
suspendResult = copyTo(this.
|
|
1284
|
+
suspendResult = copyTo(this.p39_1, this.q39_1, contentLength, this);
|
|
1290
1285
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1291
1286
|
return suspendResult;
|
|
1292
1287
|
}
|
|
1293
1288
|
continue $sm;
|
|
1294
1289
|
} else {
|
|
1295
1290
|
var tmp_0 = this;
|
|
1296
|
-
throwLimitExceeded(contentLength, this.
|
|
1291
|
+
throwLimitExceeded(contentLength, this.s39_1);
|
|
1297
1292
|
}
|
|
1298
1293
|
}
|
|
1299
1294
|
|
|
1300
1295
|
break;
|
|
1301
1296
|
case 1:
|
|
1302
|
-
this.
|
|
1297
|
+
this.v39_1 = suspendResult;
|
|
1303
1298
|
this.a9_1 = 2;
|
|
1304
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1299
|
+
suspendResult = skipIfFoundReadCount(this.p39_1, this.o39_1, this);
|
|
1305
1300
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1306
1301
|
return suspendResult;
|
|
1307
1302
|
}
|
|
@@ -1309,24 +1304,24 @@
|
|
|
1309
1304
|
continue $sm;
|
|
1310
1305
|
case 2:
|
|
1311
1306
|
var ARGUMENT = suspendResult;
|
|
1312
|
-
this.
|
|
1307
|
+
this.u39_1 = add(this.v39_1, ARGUMENT);
|
|
1313
1308
|
this.a9_1 = 4;
|
|
1314
1309
|
continue $sm;
|
|
1315
1310
|
case 3:
|
|
1316
|
-
this.
|
|
1311
|
+
this.u39_1 = suspendResult;
|
|
1317
1312
|
this.a9_1 = 4;
|
|
1318
1313
|
continue $sm;
|
|
1319
1314
|
case 4:
|
|
1320
|
-
this.
|
|
1315
|
+
this.t39_1 = this.u39_1;
|
|
1321
1316
|
this.a9_1 = 5;
|
|
1322
|
-
suspendResult = this.
|
|
1317
|
+
suspendResult = this.q39_1.v1n(this);
|
|
1323
1318
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1324
1319
|
return suspendResult;
|
|
1325
1320
|
}
|
|
1326
1321
|
|
|
1327
1322
|
continue $sm;
|
|
1328
1323
|
case 5:
|
|
1329
|
-
return this.
|
|
1324
|
+
return this.t39_1;
|
|
1330
1325
|
case 6:
|
|
1331
1326
|
throw this.d9_1;
|
|
1332
1327
|
}
|
|
@@ -1343,8 +1338,8 @@
|
|
|
1343
1338
|
};
|
|
1344
1339
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1345
1340
|
CoroutineImpl.call(this, resultContinuation);
|
|
1346
|
-
this.
|
|
1347
|
-
this.
|
|
1341
|
+
this.e3a_1 = _this__u8e3s4;
|
|
1342
|
+
this.f3a_1 = prefix;
|
|
1348
1343
|
}
|
|
1349
1344
|
protoOf($skipIfFoundReadCountCOROUTINE$).i9 = function () {
|
|
1350
1345
|
var suspendResult = this.c9_1;
|
|
@@ -1355,7 +1350,7 @@
|
|
|
1355
1350
|
case 0:
|
|
1356
1351
|
this.b9_1 = 3;
|
|
1357
1352
|
this.a9_1 = 1;
|
|
1358
|
-
suspendResult = skipIfFound(this.
|
|
1353
|
+
suspendResult = skipIfFound(this.e3a_1, this.f3a_1, this);
|
|
1359
1354
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1360
1355
|
return suspendResult;
|
|
1361
1356
|
}
|
|
@@ -1364,18 +1359,18 @@
|
|
|
1364
1359
|
case 1:
|
|
1365
1360
|
if (suspendResult) {
|
|
1366
1361
|
var tmp_0 = this;
|
|
1367
|
-
tmp_0.
|
|
1362
|
+
tmp_0.g3a_1 = fromInt(this.f3a_1.l1());
|
|
1368
1363
|
this.a9_1 = 2;
|
|
1369
1364
|
continue $sm;
|
|
1370
1365
|
} else {
|
|
1371
1366
|
var tmp_1 = this;
|
|
1372
|
-
tmp_1.
|
|
1367
|
+
tmp_1.g3a_1 = 0n;
|
|
1373
1368
|
this.a9_1 = 2;
|
|
1374
1369
|
continue $sm;
|
|
1375
1370
|
}
|
|
1376
1371
|
|
|
1377
1372
|
case 2:
|
|
1378
|
-
return this.
|
|
1373
|
+
return this.g3a_1;
|
|
1379
1374
|
case 3:
|
|
1380
1375
|
throw this.d9_1;
|
|
1381
1376
|
}
|
|
@@ -1421,13 +1416,13 @@
|
|
|
1421
1416
|
}
|
|
1422
1417
|
// Inline function 'kotlin.collections.forEach' call
|
|
1423
1418
|
// Inline function 'kotlin.collections.iterator' call
|
|
1424
|
-
var _iterator__ex2g4s_0 = destination.
|
|
1419
|
+
var _iterator__ex2g4s_0 = destination.q1().t();
|
|
1425
1420
|
while (_iterator__ex2g4s_0.u()) {
|
|
1426
1421
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1427
1422
|
// Inline function 'kotlin.collections.component1' call
|
|
1428
|
-
var ch = element_0.
|
|
1423
|
+
var ch = element_0.r1().a2_1;
|
|
1429
1424
|
// Inline function 'kotlin.collections.component2' call
|
|
1430
|
-
var list_0 = element_0.
|
|
1425
|
+
var list_0 = element_0.s1();
|
|
1431
1426
|
var nextIdx = idx + 1 | 0;
|
|
1432
1427
|
var children = ArrayList_init_$Create$();
|
|
1433
1428
|
var tmp_0 = Companion_instance;
|
|
@@ -1463,16 +1458,16 @@
|
|
|
1463
1458
|
return new Char(charSequenceGet(s, idx));
|
|
1464
1459
|
}
|
|
1465
1460
|
function Node(ch, exact, children) {
|
|
1466
|
-
this.
|
|
1467
|
-
this.
|
|
1468
|
-
this.
|
|
1461
|
+
this.q3b_1 = ch;
|
|
1462
|
+
this.r3b_1 = exact;
|
|
1463
|
+
this.s3b_1 = children;
|
|
1469
1464
|
var tmp = this;
|
|
1470
1465
|
var tmp_0 = 0;
|
|
1471
1466
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1472
1467
|
var tmp_1 = Array(256);
|
|
1473
1468
|
while (tmp_0 < 256) {
|
|
1474
1469
|
var tmp_2 = tmp_0;
|
|
1475
|
-
var tmp0 = this.
|
|
1470
|
+
var tmp0 = this.s3b_1;
|
|
1476
1471
|
var tmp$ret$3;
|
|
1477
1472
|
$l$block_0: {
|
|
1478
1473
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1482,7 +1477,7 @@
|
|
|
1482
1477
|
while (_iterator__ex2g4s.u()) {
|
|
1483
1478
|
var element = _iterator__ex2g4s.v();
|
|
1484
1479
|
// Inline function 'kotlin.code' call
|
|
1485
|
-
var this_0 = element.
|
|
1480
|
+
var this_0 = element.q3b_1;
|
|
1486
1481
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1487
1482
|
if (found) {
|
|
1488
1483
|
tmp$ret$3 = null;
|
|
@@ -1501,15 +1496,15 @@
|
|
|
1501
1496
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
1502
1497
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1503
1498
|
}
|
|
1504
|
-
tmp.
|
|
1499
|
+
tmp.t3b_1 = tmp_1;
|
|
1505
1500
|
}
|
|
1506
1501
|
function Companion() {
|
|
1507
1502
|
}
|
|
1508
|
-
protoOf(Companion).
|
|
1503
|
+
protoOf(Companion).r38 = function (from) {
|
|
1509
1504
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1510
|
-
return this.
|
|
1505
|
+
return this.u3b(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1511
1506
|
};
|
|
1512
|
-
protoOf(Companion).
|
|
1507
|
+
protoOf(Companion).u3b = function (from, length, charAt) {
|
|
1513
1508
|
var tmp$ret$0;
|
|
1514
1509
|
$l$block_0: {
|
|
1515
1510
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1586,10 +1581,10 @@
|
|
|
1586
1581
|
return Companion_instance;
|
|
1587
1582
|
}
|
|
1588
1583
|
function AsciiCharTree(root) {
|
|
1589
|
-
this.
|
|
1584
|
+
this.v3b_1 = root;
|
|
1590
1585
|
}
|
|
1591
1586
|
function getImpl($this, index) {
|
|
1592
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1587
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.x36_1).length | 0];
|
|
1593
1588
|
}
|
|
1594
1589
|
function copy($this, startIndex, endIndex) {
|
|
1595
1590
|
if (startIndex === endIndex)
|
|
@@ -1618,27 +1613,27 @@
|
|
|
1618
1613
|
return builder;
|
|
1619
1614
|
}
|
|
1620
1615
|
function SubSequenceImpl($outer, start, end) {
|
|
1621
|
-
this.
|
|
1622
|
-
this.
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
1616
|
+
this.z3b_1 = $outer;
|
|
1617
|
+
this.w3b_1 = start;
|
|
1618
|
+
this.x3b_1 = end;
|
|
1619
|
+
this.y3b_1 = null;
|
|
1625
1620
|
}
|
|
1626
1621
|
protoOf(SubSequenceImpl).a = function () {
|
|
1627
|
-
return this.
|
|
1622
|
+
return this.x3b_1 - this.w3b_1 | 0;
|
|
1628
1623
|
};
|
|
1629
1624
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1630
|
-
var withOffset = index + this.
|
|
1625
|
+
var withOffset = index + this.w3b_1 | 0;
|
|
1631
1626
|
// Inline function 'kotlin.require' call
|
|
1632
1627
|
if (!(index >= 0)) {
|
|
1633
1628
|
var message = 'index is negative: ' + index;
|
|
1634
1629
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1635
1630
|
}
|
|
1636
1631
|
// Inline function 'kotlin.require' call
|
|
1637
|
-
if (!(withOffset < this.
|
|
1632
|
+
if (!(withOffset < this.x3b_1)) {
|
|
1638
1633
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1639
1634
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1640
1635
|
}
|
|
1641
|
-
return getImpl(this.
|
|
1636
|
+
return getImpl(this.z3b_1, withOffset);
|
|
1642
1637
|
};
|
|
1643
1638
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1644
1639
|
// Inline function 'kotlin.require' call
|
|
@@ -1652,21 +1647,21 @@
|
|
|
1652
1647
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1653
1648
|
}
|
|
1654
1649
|
// Inline function 'kotlin.require' call
|
|
1655
|
-
if (!(endIndex <= (this.
|
|
1650
|
+
if (!(endIndex <= (this.x3b_1 - this.w3b_1 | 0))) {
|
|
1656
1651
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1657
1652
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1658
1653
|
}
|
|
1659
1654
|
if (startIndex === endIndex)
|
|
1660
1655
|
return '';
|
|
1661
|
-
return new SubSequenceImpl(this.
|
|
1656
|
+
return new SubSequenceImpl(this.z3b_1, this.w3b_1 + startIndex | 0, this.w3b_1 + endIndex | 0);
|
|
1662
1657
|
};
|
|
1663
1658
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1664
|
-
var tmp0_elvis_lhs = this.
|
|
1659
|
+
var tmp0_elvis_lhs = this.y3b_1;
|
|
1665
1660
|
var tmp;
|
|
1666
1661
|
if (tmp0_elvis_lhs == null) {
|
|
1667
1662
|
// Inline function 'kotlin.also' call
|
|
1668
|
-
var this_0 = toString(copy(this.
|
|
1669
|
-
this.
|
|
1663
|
+
var this_0 = toString(copy(this.z3b_1, this.w3b_1, this.x3b_1));
|
|
1664
|
+
this.y3b_1 = this_0;
|
|
1670
1665
|
tmp = this_0;
|
|
1671
1666
|
} else {
|
|
1672
1667
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1678,20 +1673,20 @@
|
|
|
1678
1673
|
return false;
|
|
1679
1674
|
if (!(charSequenceLength(other) === this.a()))
|
|
1680
1675
|
return false;
|
|
1681
|
-
return rangeEqualsImpl(this.
|
|
1676
|
+
return rangeEqualsImpl(this.z3b_1, this.w3b_1, other, 0, this.a());
|
|
1682
1677
|
};
|
|
1683
1678
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1684
|
-
var tmp0_safe_receiver = this.
|
|
1679
|
+
var tmp0_safe_receiver = this.y3b_1;
|
|
1685
1680
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1686
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1681
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.z3b_1, this.w3b_1, this.x3b_1) : tmp1_elvis_lhs;
|
|
1687
1682
|
};
|
|
1688
1683
|
function bufferForIndex($this, index) {
|
|
1689
|
-
var list = $this.
|
|
1684
|
+
var list = $this.w36_1;
|
|
1690
1685
|
if (list == null) {
|
|
1691
1686
|
if (index >= 2048) {
|
|
1692
1687
|
throwSingleBuffer($this, index);
|
|
1693
1688
|
}
|
|
1694
|
-
var tmp0_elvis_lhs = $this.
|
|
1689
|
+
var tmp0_elvis_lhs = $this.x36_1;
|
|
1695
1690
|
var tmp;
|
|
1696
1691
|
if (tmp0_elvis_lhs == null) {
|
|
1697
1692
|
throwSingleBuffer($this, index);
|
|
@@ -1700,29 +1695,29 @@
|
|
|
1700
1695
|
}
|
|
1701
1696
|
return tmp;
|
|
1702
1697
|
}
|
|
1703
|
-
return list.m1(index / ensureNotNull($this.
|
|
1698
|
+
return list.m1(index / ensureNotNull($this.x36_1).length | 0);
|
|
1704
1699
|
}
|
|
1705
1700
|
function throwSingleBuffer($this, index) {
|
|
1706
|
-
if ($this.
|
|
1701
|
+
if ($this.z36_1)
|
|
1707
1702
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1708
1703
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1709
1704
|
}
|
|
1710
1705
|
function nonFullBuffer($this) {
|
|
1711
|
-
return $this.
|
|
1706
|
+
return $this.a37_1 === 0 ? appendNewArray($this) : ensureNotNull($this.x36_1);
|
|
1712
1707
|
}
|
|
1713
1708
|
function appendNewArray($this) {
|
|
1714
|
-
var newBuffer = $this.
|
|
1715
|
-
var existing = $this.
|
|
1716
|
-
$this.
|
|
1717
|
-
$this.
|
|
1718
|
-
$this.
|
|
1709
|
+
var newBuffer = $this.v36_1.q1y();
|
|
1710
|
+
var existing = $this.x36_1;
|
|
1711
|
+
$this.x36_1 = newBuffer;
|
|
1712
|
+
$this.a37_1 = newBuffer.length;
|
|
1713
|
+
$this.z36_1 = false;
|
|
1719
1714
|
if (!(existing == null)) {
|
|
1720
|
-
var tmp0_elvis_lhs = $this.
|
|
1715
|
+
var tmp0_elvis_lhs = $this.w36_1;
|
|
1721
1716
|
var tmp;
|
|
1722
1717
|
if (tmp0_elvis_lhs == null) {
|
|
1723
1718
|
// Inline function 'kotlin.also' call
|
|
1724
1719
|
var this_0 = ArrayList_init_$Create$();
|
|
1725
|
-
$this.
|
|
1720
|
+
$this.w36_1 = this_0;
|
|
1726
1721
|
this_0.j1(existing);
|
|
1727
1722
|
tmp = this_0;
|
|
1728
1723
|
} else {
|
|
@@ -1761,20 +1756,20 @@
|
|
|
1761
1756
|
return hc;
|
|
1762
1757
|
}
|
|
1763
1758
|
function currentPosition($this) {
|
|
1764
|
-
return ensureNotNull($this.
|
|
1759
|
+
return ensureNotNull($this.x36_1).length - $this.a37_1 | 0;
|
|
1765
1760
|
}
|
|
1766
1761
|
function CharArrayBuilder(pool) {
|
|
1767
1762
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1768
|
-
this.
|
|
1769
|
-
this.
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1763
|
+
this.v36_1 = pool;
|
|
1764
|
+
this.w36_1 = null;
|
|
1765
|
+
this.x36_1 = null;
|
|
1766
|
+
this.y36_1 = null;
|
|
1767
|
+
this.z36_1 = false;
|
|
1768
|
+
this.a37_1 = 0;
|
|
1769
|
+
this.b37_1 = 0;
|
|
1775
1770
|
}
|
|
1776
1771
|
protoOf(CharArrayBuilder).a = function () {
|
|
1777
|
-
return this.
|
|
1772
|
+
return this.b37_1;
|
|
1778
1773
|
};
|
|
1779
1774
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1780
1775
|
// Inline function 'kotlin.require' call
|
|
@@ -1783,8 +1778,8 @@
|
|
|
1783
1778
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1784
1779
|
}
|
|
1785
1780
|
// Inline function 'kotlin.require' call
|
|
1786
|
-
if (!(index < this.
|
|
1787
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1781
|
+
if (!(index < this.b37_1)) {
|
|
1782
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.b37_1 + ')';
|
|
1788
1783
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1789
1784
|
}
|
|
1790
1785
|
return getImpl(this, index);
|
|
@@ -1801,19 +1796,19 @@
|
|
|
1801
1796
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1802
1797
|
}
|
|
1803
1798
|
// Inline function 'kotlin.require' call
|
|
1804
|
-
if (!(endIndex <= this.
|
|
1805
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1799
|
+
if (!(endIndex <= this.b37_1)) {
|
|
1800
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.b37_1 + ')';
|
|
1806
1801
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1807
1802
|
}
|
|
1808
1803
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1809
1804
|
};
|
|
1810
1805
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1811
|
-
var tmp0_elvis_lhs = this.
|
|
1806
|
+
var tmp0_elvis_lhs = this.y36_1;
|
|
1812
1807
|
var tmp;
|
|
1813
1808
|
if (tmp0_elvis_lhs == null) {
|
|
1814
1809
|
// Inline function 'kotlin.also' call
|
|
1815
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1816
|
-
this.
|
|
1810
|
+
var this_0 = toString(copy(this, 0, this.b37_1));
|
|
1811
|
+
this.y36_1 = this_0;
|
|
1817
1812
|
tmp = this_0;
|
|
1818
1813
|
} else {
|
|
1819
1814
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1823,20 +1818,20 @@
|
|
|
1823
1818
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1824
1819
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1825
1820
|
return false;
|
|
1826
|
-
if (!(this.
|
|
1821
|
+
if (!(this.b37_1 === charSequenceLength(other)))
|
|
1827
1822
|
return false;
|
|
1828
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1823
|
+
return rangeEqualsImpl(this, 0, other, 0, this.b37_1);
|
|
1829
1824
|
};
|
|
1830
1825
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1831
|
-
var tmp0_safe_receiver = this.
|
|
1826
|
+
var tmp0_safe_receiver = this.y36_1;
|
|
1832
1827
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1833
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1828
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.b37_1) : tmp1_elvis_lhs;
|
|
1834
1829
|
};
|
|
1835
1830
|
protoOf(CharArrayBuilder).s = function (value) {
|
|
1836
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1837
|
-
this.
|
|
1838
|
-
this.
|
|
1839
|
-
this.
|
|
1831
|
+
nonFullBuffer(this)[ensureNotNull(this.x36_1).length - this.a37_1 | 0] = value;
|
|
1832
|
+
this.y36_1 = null;
|
|
1833
|
+
this.a37_1 = this.a37_1 - 1 | 0;
|
|
1834
|
+
this.b37_1 = this.b37_1 + 1 | 0;
|
|
1840
1835
|
return this;
|
|
1841
1836
|
};
|
|
1842
1837
|
protoOf(CharArrayBuilder).kc = function (value, startIndex, endIndex) {
|
|
@@ -1845,10 +1840,10 @@
|
|
|
1845
1840
|
var current = startIndex;
|
|
1846
1841
|
while (current < endIndex) {
|
|
1847
1842
|
var buffer = nonFullBuffer(this);
|
|
1848
|
-
var offset = buffer.length - this.
|
|
1843
|
+
var offset = buffer.length - this.a37_1 | 0;
|
|
1849
1844
|
var tmp0 = endIndex - current | 0;
|
|
1850
1845
|
// Inline function 'kotlin.math.min' call
|
|
1851
|
-
var b = this.
|
|
1846
|
+
var b = this.a37_1;
|
|
1852
1847
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1853
1848
|
var inductionVariable = 0;
|
|
1854
1849
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1859,10 +1854,10 @@
|
|
|
1859
1854
|
}
|
|
1860
1855
|
while (inductionVariable < bytesToCopy);
|
|
1861
1856
|
current = current + bytesToCopy | 0;
|
|
1862
|
-
this.
|
|
1857
|
+
this.a37_1 = this.a37_1 - bytesToCopy | 0;
|
|
1863
1858
|
}
|
|
1864
|
-
this.
|
|
1865
|
-
this.
|
|
1859
|
+
this.y36_1 = null;
|
|
1860
|
+
this.b37_1 = this.b37_1 + (endIndex - startIndex | 0) | 0;
|
|
1866
1861
|
return this;
|
|
1867
1862
|
};
|
|
1868
1863
|
protoOf(CharArrayBuilder).k1 = function (value) {
|
|
@@ -1870,34 +1865,34 @@
|
|
|
1870
1865
|
return this;
|
|
1871
1866
|
return this.kc(value, 0, charSequenceLength(value));
|
|
1872
1867
|
};
|
|
1873
|
-
protoOf(CharArrayBuilder).
|
|
1874
|
-
var list = this.
|
|
1868
|
+
protoOf(CharArrayBuilder).k1j = function () {
|
|
1869
|
+
var list = this.w36_1;
|
|
1875
1870
|
if (!(list == null)) {
|
|
1876
|
-
this.
|
|
1871
|
+
this.x36_1 = null;
|
|
1877
1872
|
var inductionVariable = 0;
|
|
1878
1873
|
var last = list.l1();
|
|
1879
1874
|
if (inductionVariable < last)
|
|
1880
1875
|
do {
|
|
1881
1876
|
var i = inductionVariable;
|
|
1882
1877
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1883
|
-
this.
|
|
1878
|
+
this.v36_1.r1y(list.m1(i));
|
|
1884
1879
|
}
|
|
1885
1880
|
while (inductionVariable < last);
|
|
1886
1881
|
} else {
|
|
1887
|
-
var tmp0_safe_receiver = this.
|
|
1882
|
+
var tmp0_safe_receiver = this.x36_1;
|
|
1888
1883
|
if (tmp0_safe_receiver == null)
|
|
1889
1884
|
null;
|
|
1890
1885
|
else {
|
|
1891
1886
|
// Inline function 'kotlin.let' call
|
|
1892
|
-
this.
|
|
1887
|
+
this.v36_1.r1y(tmp0_safe_receiver);
|
|
1893
1888
|
}
|
|
1894
|
-
this.
|
|
1889
|
+
this.x36_1 = null;
|
|
1895
1890
|
}
|
|
1896
|
-
this.
|
|
1897
|
-
this.
|
|
1898
|
-
this.
|
|
1899
|
-
this.
|
|
1900
|
-
this.
|
|
1891
|
+
this.z36_1 = true;
|
|
1892
|
+
this.w36_1 = null;
|
|
1893
|
+
this.y36_1 = null;
|
|
1894
|
+
this.b37_1 = 0;
|
|
1895
|
+
this.a37_1 = 0;
|
|
1901
1896
|
};
|
|
1902
1897
|
function get_CharArrayPool() {
|
|
1903
1898
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1907,13 +1902,13 @@
|
|
|
1907
1902
|
function CharArrayPool$1() {
|
|
1908
1903
|
NoPoolImpl.call(this);
|
|
1909
1904
|
}
|
|
1910
|
-
protoOf(CharArrayPool$1).
|
|
1905
|
+
protoOf(CharArrayPool$1).q1y = function () {
|
|
1911
1906
|
return charArray(2048);
|
|
1912
1907
|
};
|
|
1913
1908
|
function CharArrayPool$2() {
|
|
1914
1909
|
DefaultPool.call(this, 4096);
|
|
1915
1910
|
}
|
|
1916
|
-
protoOf(CharArrayPool$2).
|
|
1911
|
+
protoOf(CharArrayPool$2).j1y = function () {
|
|
1917
1912
|
return charArray(2048);
|
|
1918
1913
|
};
|
|
1919
1914
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2104,26 +2099,26 @@
|
|
|
2104
2099
|
}
|
|
2105
2100
|
function DefaultHttpMethods$lambda(it) {
|
|
2106
2101
|
_init_properties_Chars_kt__d3i39x();
|
|
2107
|
-
return it.
|
|
2102
|
+
return it.y2z_1.length;
|
|
2108
2103
|
}
|
|
2109
2104
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2110
2105
|
_init_properties_Chars_kt__d3i39x();
|
|
2111
|
-
return new Char(charCodeAt(m.
|
|
2106
|
+
return new Char(charCodeAt(m.y2z_1, idx));
|
|
2112
2107
|
}
|
|
2113
2108
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2114
2109
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2115
2110
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2116
2111
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2117
2112
|
var tmp = Companion_instance;
|
|
2118
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2113
|
+
var tmp_0 = Companion_getInstance_0().x2z_1;
|
|
2119
2114
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2120
|
-
DefaultHttpMethods = tmp.
|
|
2115
|
+
DefaultHttpMethods = tmp.u3b(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2121
2116
|
// Inline function 'kotlin.collections.map' call
|
|
2122
2117
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2123
2118
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2124
2119
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2125
|
-
var inductionVariable = this_0.
|
|
2126
|
-
var last = this_0.
|
|
2120
|
+
var inductionVariable = this_0.v1_1;
|
|
2121
|
+
var last = this_0.w1_1;
|
|
2127
2122
|
if (inductionVariable <= last)
|
|
2128
2123
|
do {
|
|
2129
2124
|
var item = inductionVariable;
|
|
@@ -2190,8 +2185,8 @@
|
|
|
2190
2185
|
var this_9 = numberRangeToNumber(0, 15);
|
|
2191
2186
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2192
2187
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_9, 10));
|
|
2193
|
-
var inductionVariable_0 = this_9.
|
|
2194
|
-
var last_0 = this_9.
|
|
2188
|
+
var inductionVariable_0 = this_9.v1_1;
|
|
2189
|
+
var last_0 = this_9.w1_1;
|
|
2195
2190
|
if (inductionVariable_0 <= last_0)
|
|
2196
2191
|
do {
|
|
2197
2192
|
var item_0 = inductionVariable_0;
|
|
@@ -2218,11 +2213,11 @@
|
|
|
2218
2213
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2219
2214
|
}
|
|
2220
2215
|
function MutableRange(start, end) {
|
|
2221
|
-
this.
|
|
2222
|
-
this.
|
|
2216
|
+
this.p38_1 = start;
|
|
2217
|
+
this.q38_1 = end;
|
|
2223
2218
|
}
|
|
2224
2219
|
protoOf(MutableRange).toString = function () {
|
|
2225
|
-
return 'MutableRange(start=' + this.
|
|
2220
|
+
return 'MutableRange(start=' + this.p38_1 + ', end=' + this.q38_1 + ')';
|
|
2226
2221
|
};
|
|
2227
2222
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2228
2223
|
var index = start;
|