@doordeck/doordeck-headless-sdk 0.184.0 → 0.186.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 +7 -7
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +43 -43
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/Signum-internals.js +6 -0
- package/kotlin/doordeck-sdk.d.ts +798 -674
- package/kotlin/doordeck-sdk.js +12518 -12528
- package/kotlin/kotlin-kotlin-stdlib.js +3968 -3525
- package/kotlin/kotlinx-atomicfu.js +22 -22
- package/kotlin/kotlinx-coroutines-core.js +2334 -2339
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +59 -59
- package/kotlin/kotlinx-io-kotlinx-io-core.js +532 -532
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1980 -1979
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1589 -1589
- package/kotlin/ktor-ktor-client-auth.js +471 -473
- package/kotlin/ktor-ktor-client-content-negotiation.js +244 -245
- package/kotlin/ktor-ktor-client-core.js +3207 -3212
- package/kotlin/ktor-ktor-client-logging.js +1319 -1319
- package/kotlin/ktor-ktor-events.js +11 -11
- package/kotlin/ktor-ktor-http-cio.js +575 -575
- package/kotlin/ktor-ktor-http.js +950 -950
- package/kotlin/ktor-ktor-io.js +1120 -1124
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-serialization-kotlinx.js +272 -272
- package/kotlin/ktor-ktor-serialization.js +122 -122
- package/kotlin/ktor-ktor-utils.js +977 -977
- package/kotlin/ktor-ktor-websockets.js +61 -61
- package/package.json +4 -4
|
@@ -2,43 +2,43 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var Long = kotlin_kotlin.$_$.
|
|
5
|
+
var Long = kotlin_kotlin.$_$.wf;
|
|
6
6
|
var VOID = kotlin_kotlin.$_$.b;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.cc;
|
|
8
8
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
9
9
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
10
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
+
var initMetadataForClass = kotlin_kotlin.$_$.eb;
|
|
11
11
|
var Unit_instance = kotlin_kotlin.$_$.b5;
|
|
12
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
+
var toString = kotlin_kotlin.$_$.fc;
|
|
13
13
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
14
|
-
var abs = kotlin_kotlin.$_$.
|
|
14
|
+
var abs = kotlin_kotlin.$_$.gc;
|
|
15
15
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
16
16
|
var CoroutineImpl = kotlin_kotlin.$_$.j9;
|
|
17
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
18
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
17
|
+
var THROW_CCE = kotlin_kotlin.$_$.bg;
|
|
18
|
+
var SequenceScope = kotlin_kotlin.$_$.ad;
|
|
19
19
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t8;
|
|
20
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
20
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.jb;
|
|
21
21
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
22
|
-
var sequence = kotlin_kotlin.$_$.
|
|
22
|
+
var sequence = kotlin_kotlin.$_$.bd;
|
|
23
23
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.h1;
|
|
24
24
|
var fill = kotlin_kotlin.$_$.t6;
|
|
25
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
25
|
+
var isIntArray = kotlin_kotlin.$_$.sb;
|
|
26
26
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
|
|
27
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
28
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
29
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
30
|
-
var Char = kotlin_kotlin.$_$.
|
|
27
|
+
var endsWith = kotlin_kotlin.$_$.kd;
|
|
28
|
+
var charSequenceLength = kotlin_kotlin.$_$.ta;
|
|
29
|
+
var charSequenceGet = kotlin_kotlin.$_$.sa;
|
|
30
|
+
var Char = kotlin_kotlin.$_$.mf;
|
|
31
31
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.g2;
|
|
32
|
-
var contains = kotlin_kotlin.$_$.
|
|
33
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
32
|
+
var contains = kotlin_kotlin.$_$.fd;
|
|
33
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.ua;
|
|
34
34
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.l2;
|
|
35
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
35
|
+
var IllegalStateException = kotlin_kotlin.$_$.vf;
|
|
36
36
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.q1;
|
|
37
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
37
|
+
var captureStack = kotlin_kotlin.$_$.oa;
|
|
38
38
|
var readUTF8LineTo = kotlin_io_ktor_ktor_io.$_$.h;
|
|
39
39
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
40
40
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
41
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
41
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.gb;
|
|
42
42
|
var setOf = kotlin_kotlin.$_$.y7;
|
|
43
43
|
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.q;
|
|
44
44
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.n;
|
|
@@ -46,64 +46,64 @@
|
|
|
46
46
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
47
47
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.a;
|
|
48
48
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
49
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
50
|
-
var toByte = kotlin_kotlin.$_$.
|
|
49
|
+
var toString_0 = kotlin_kotlin.$_$.xe;
|
|
50
|
+
var toByte = kotlin_kotlin.$_$.dc;
|
|
51
51
|
var copyOfRange = kotlin_kotlin.$_$.c6;
|
|
52
52
|
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
53
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
53
|
+
var startsWith = kotlin_kotlin.$_$.ge;
|
|
54
54
|
var readUntil = kotlin_io_ktor_ktor_io.$_$.i;
|
|
55
55
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.m1;
|
|
56
56
|
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
57
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
57
|
+
var isInterface = kotlin_kotlin.$_$.tb;
|
|
58
58
|
var counted = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
59
59
|
var writer = kotlin_io_ktor_ktor_io.$_$.t1;
|
|
60
60
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
61
61
|
var get_remaining = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
62
|
-
var compare = kotlin_kotlin.$_$.
|
|
62
|
+
var compare = kotlin_kotlin.$_$.s9;
|
|
63
63
|
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.j;
|
|
64
64
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
65
65
|
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
|
|
66
66
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
67
67
|
var close = kotlin_io_ktor_ktor_io.$_$.o1;
|
|
68
|
-
var subtract = kotlin_kotlin.$_$.
|
|
69
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
68
|
+
var subtract = kotlin_kotlin.$_$.ia;
|
|
69
|
+
var convertToInt = kotlin_kotlin.$_$.u9;
|
|
70
70
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.e;
|
|
71
71
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
72
72
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
|
|
73
|
-
var add = kotlin_kotlin.$_$.
|
|
74
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
73
|
+
var add = kotlin_kotlin.$_$.p9;
|
|
74
|
+
var fromInt = kotlin_kotlin.$_$.y9;
|
|
75
75
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.d1;
|
|
76
76
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
77
77
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
78
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
78
|
+
var compareTo = kotlin_kotlin.$_$.va;
|
|
79
79
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
80
80
|
var Collection = kotlin_kotlin.$_$.d5;
|
|
81
81
|
var emptyList = kotlin_kotlin.$_$.q6;
|
|
82
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
83
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
82
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.fb;
|
|
83
|
+
var ensureNotNull = kotlin_kotlin.$_$.tg;
|
|
84
84
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.c1;
|
|
85
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
86
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
87
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
85
|
+
var isCharSequence = kotlin_kotlin.$_$.pb;
|
|
86
|
+
var getStringHashCode = kotlin_kotlin.$_$.cb;
|
|
87
|
+
var CharSequence = kotlin_kotlin.$_$.lf;
|
|
88
88
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
89
89
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
90
|
-
var charArray = kotlin_kotlin.$_$.
|
|
91
|
-
var shiftLeft = kotlin_kotlin.$_$.
|
|
90
|
+
var charArray = kotlin_kotlin.$_$.qa;
|
|
91
|
+
var shiftLeft = kotlin_kotlin.$_$.ga;
|
|
92
92
|
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.y1;
|
|
93
93
|
var toString_1 = kotlin_kotlin.$_$.m2;
|
|
94
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
94
|
+
var charCodeAt = kotlin_kotlin.$_$.ra;
|
|
95
95
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
96
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
96
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.zb;
|
|
97
97
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w5;
|
|
98
98
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
99
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
99
|
+
var numberToLong = kotlin_kotlin.$_$.fa;
|
|
100
100
|
var toLongArray = kotlin_kotlin.$_$.i8;
|
|
101
101
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.j2;
|
|
102
102
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.i2;
|
|
103
103
|
var toByteArray_0 = kotlin_kotlin.$_$.d8;
|
|
104
104
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
105
105
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
106
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
106
|
+
var isWhitespace = kotlin_kotlin.$_$.td;
|
|
107
107
|
//endregion
|
|
108
108
|
//region block: pre-declaration
|
|
109
109
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -135,12 +135,12 @@
|
|
|
135
135
|
//endregion
|
|
136
136
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
137
137
|
formFieldLimit = formFieldLimit === VOID ? new Long(65536, 0) : formFieldLimit;
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
138
|
+
this.v33_1 = coroutineContext;
|
|
139
|
+
this.w33_1 = null;
|
|
140
|
+
this.x33_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
141
141
|
}
|
|
142
|
-
protoOf(CIOMultipartDataBase).
|
|
143
|
-
return this.
|
|
142
|
+
protoOf(CIOMultipartDataBase).hs = function () {
|
|
143
|
+
return this.v33_1;
|
|
144
144
|
};
|
|
145
145
|
function get_IntArrayPool() {
|
|
146
146
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -153,103 +153,103 @@
|
|
|
153
153
|
}
|
|
154
154
|
var HeadersDataPool;
|
|
155
155
|
function thresholdReached($this) {
|
|
156
|
-
return $this.
|
|
156
|
+
return $this.z33_1 >= $this.a34_1 * 0.75;
|
|
157
157
|
}
|
|
158
158
|
function resize($this) {
|
|
159
|
-
var prevSize = $this.
|
|
160
|
-
var prevData = $this.
|
|
161
|
-
$this.
|
|
162
|
-
$this.
|
|
159
|
+
var prevSize = $this.z33_1;
|
|
160
|
+
var prevData = $this.b34_1;
|
|
161
|
+
$this.z33_1 = 0;
|
|
162
|
+
$this.a34_1 = imul($this.a34_1, 2) | 128;
|
|
163
163
|
var tmp = $this;
|
|
164
164
|
// Inline function 'kotlin.apply' call
|
|
165
|
-
var this_0 = get_HeadersDataPool().
|
|
166
|
-
this_0.
|
|
167
|
-
tmp.
|
|
168
|
-
var _iterator__ex2g4s = prevData.
|
|
169
|
-
while (_iterator__ex2g4s.
|
|
170
|
-
var headerOffset = _iterator__ex2g4s.
|
|
171
|
-
$this.
|
|
165
|
+
var this_0 = get_HeadersDataPool().i1w();
|
|
166
|
+
this_0.e34(imul(prevData.d34(), 2) | 1);
|
|
167
|
+
tmp.b34_1 = this_0;
|
|
168
|
+
var _iterator__ex2g4s = prevData.f34().t();
|
|
169
|
+
while (_iterator__ex2g4s.u()) {
|
|
170
|
+
var headerOffset = _iterator__ex2g4s.v();
|
|
171
|
+
$this.h34(prevData.g34(headerOffset + 1 | 0), prevData.g34(headerOffset + 2 | 0), prevData.g34(headerOffset + 3 | 0), prevData.g34(headerOffset + 4 | 0));
|
|
172
172
|
}
|
|
173
|
-
get_HeadersDataPool().
|
|
173
|
+
get_HeadersDataPool().j1w(prevData);
|
|
174
174
|
// Inline function 'kotlin.require' call
|
|
175
175
|
// Inline function 'kotlin.require' call
|
|
176
|
-
if (!(prevSize === $this.
|
|
176
|
+
if (!(prevSize === $this.z33_1)) {
|
|
177
177
|
var message = 'Failed requirement.';
|
|
178
178
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
function headerHasName($this, name, headerOffset) {
|
|
182
|
-
var nameStartIndex = $this.
|
|
183
|
-
var nameEndIndex = $this.
|
|
184
|
-
return equalsLowerCase($this.
|
|
182
|
+
var nameStartIndex = $this.b34_1.g34(headerOffset + 1 | 0);
|
|
183
|
+
var nameEndIndex = $this.b34_1.g34(headerOffset + 2 | 0);
|
|
184
|
+
return equalsLowerCase($this.y33_1, nameStartIndex, nameEndIndex, name);
|
|
185
185
|
}
|
|
186
186
|
function HttpHeadersMap(builder) {
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
187
|
+
this.y33_1 = builder;
|
|
188
|
+
this.z33_1 = 0;
|
|
189
|
+
this.a34_1 = 0;
|
|
190
|
+
this.b34_1 = get_HeadersDataPool().i1w();
|
|
191
191
|
}
|
|
192
|
-
protoOf(HttpHeadersMap).
|
|
193
|
-
if (this.
|
|
192
|
+
protoOf(HttpHeadersMap).g2k = function (name) {
|
|
193
|
+
if (this.z33_1 === 0)
|
|
194
194
|
return null;
|
|
195
195
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
196
196
|
var this_0 = hashCodeLowerCase(name);
|
|
197
197
|
var hash = abs(this_0);
|
|
198
|
-
var headerIndex = hash % this.
|
|
199
|
-
while (!(this.
|
|
198
|
+
var headerIndex = hash % this.a34_1 | 0;
|
|
199
|
+
while (!(this.b34_1.g34(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
200
200
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
201
|
-
return this.
|
|
201
|
+
return this.i34(imul(headerIndex, 6));
|
|
202
202
|
}
|
|
203
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
203
|
+
headerIndex = (headerIndex + 1 | 0) % this.a34_1 | 0;
|
|
204
204
|
}
|
|
205
205
|
return null;
|
|
206
206
|
};
|
|
207
|
-
protoOf(HttpHeadersMap).
|
|
208
|
-
return this.
|
|
207
|
+
protoOf(HttpHeadersMap).j34 = function () {
|
|
208
|
+
return this.b34_1.f34();
|
|
209
209
|
};
|
|
210
|
-
protoOf(HttpHeadersMap).
|
|
210
|
+
protoOf(HttpHeadersMap).h34 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
211
211
|
if (thresholdReached(this)) {
|
|
212
212
|
resize(this);
|
|
213
213
|
}
|
|
214
214
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
215
|
-
var this_0 = hashCodeLowerCase(this.
|
|
215
|
+
var this_0 = hashCodeLowerCase(this.y33_1, nameStartIndex, nameEndIndex);
|
|
216
216
|
var hash = abs(this_0);
|
|
217
|
-
var name = this.
|
|
218
|
-
var headerIndex = hash % this.
|
|
217
|
+
var name = this.y33_1.c(nameStartIndex, nameEndIndex);
|
|
218
|
+
var headerIndex = hash % this.a34_1 | 0;
|
|
219
219
|
var sameNameHeaderIndex = -1;
|
|
220
|
-
while (!(this.
|
|
220
|
+
while (!(this.b34_1.g34(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
221
221
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
222
222
|
sameNameHeaderIndex = headerIndex;
|
|
223
223
|
}
|
|
224
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
224
|
+
headerIndex = (headerIndex + 1 | 0) % this.a34_1 | 0;
|
|
225
225
|
}
|
|
226
226
|
var headerOffset = imul(headerIndex, 6);
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
227
|
+
this.b34_1.r34(headerOffset + 0 | 0, hash);
|
|
228
|
+
this.b34_1.r34(headerOffset + 1 | 0, nameStartIndex);
|
|
229
|
+
this.b34_1.r34(headerOffset + 2 | 0, nameEndIndex);
|
|
230
|
+
this.b34_1.r34(headerOffset + 3 | 0, valueStartIndex);
|
|
231
|
+
this.b34_1.r34(headerOffset + 4 | 0, valueEndIndex);
|
|
232
|
+
this.b34_1.r34(headerOffset + 5 | 0, -1);
|
|
233
233
|
if (!(sameNameHeaderIndex === -1)) {
|
|
234
|
-
this.
|
|
234
|
+
this.b34_1.r34(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
235
235
|
}
|
|
236
|
-
this.
|
|
236
|
+
this.z33_1 = this.z33_1 + 1 | 0;
|
|
237
237
|
};
|
|
238
|
-
protoOf(HttpHeadersMap).
|
|
239
|
-
var nameStartIndex = this.
|
|
240
|
-
var nameEndIndex = this.
|
|
241
|
-
return this.
|
|
238
|
+
protoOf(HttpHeadersMap).s34 = function (headerOffset) {
|
|
239
|
+
var nameStartIndex = this.b34_1.g34(headerOffset + 1 | 0);
|
|
240
|
+
var nameEndIndex = this.b34_1.g34(headerOffset + 2 | 0);
|
|
241
|
+
return this.y33_1.c(nameStartIndex, nameEndIndex);
|
|
242
242
|
};
|
|
243
|
-
protoOf(HttpHeadersMap).
|
|
244
|
-
var valueStartIndex = this.
|
|
245
|
-
var valueEndIndex = this.
|
|
246
|
-
return this.
|
|
243
|
+
protoOf(HttpHeadersMap).i34 = function (headerOffset) {
|
|
244
|
+
var valueStartIndex = this.b34_1.g34(headerOffset + 3 | 0);
|
|
245
|
+
var valueEndIndex = this.b34_1.g34(headerOffset + 4 | 0);
|
|
246
|
+
return this.y33_1.c(valueStartIndex, valueEndIndex);
|
|
247
247
|
};
|
|
248
|
-
protoOf(HttpHeadersMap).
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
251
|
-
get_HeadersDataPool().
|
|
252
|
-
this.
|
|
248
|
+
protoOf(HttpHeadersMap).c1h = function () {
|
|
249
|
+
this.z33_1 = 0;
|
|
250
|
+
this.a34_1 = 0;
|
|
251
|
+
get_HeadersDataPool().j1w(this.b34_1);
|
|
252
|
+
this.b34_1 = get_HeadersDataPool().i1w();
|
|
253
253
|
};
|
|
254
254
|
protoOf(HttpHeadersMap).toString = function () {
|
|
255
255
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -259,94 +259,94 @@
|
|
|
259
259
|
return this_0.toString();
|
|
260
260
|
};
|
|
261
261
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
262
|
-
this.
|
|
262
|
+
this.b35_1 = this$0;
|
|
263
263
|
CoroutineImpl.call(this, resultContinuation);
|
|
264
264
|
}
|
|
265
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
266
|
-
var tmp = this.
|
|
267
|
-
tmp.
|
|
268
|
-
tmp.
|
|
269
|
-
return tmp.
|
|
265
|
+
protoOf(HeadersData$headersStarts$slambda).h35 = function ($this$sequence, $completion) {
|
|
266
|
+
var tmp = this.i35($this$sequence, $completion);
|
|
267
|
+
tmp.f9_1 = Unit_instance;
|
|
268
|
+
tmp.g9_1 = null;
|
|
269
|
+
return tmp.l9();
|
|
270
270
|
};
|
|
271
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
272
|
-
return this.
|
|
271
|
+
protoOf(HeadersData$headersStarts$slambda).x9 = function (p1, $completion) {
|
|
272
|
+
return this.h35(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
273
273
|
};
|
|
274
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
275
|
-
var suspendResult = this.
|
|
274
|
+
protoOf(HeadersData$headersStarts$slambda).l9 = function () {
|
|
275
|
+
var suspendResult = this.f9_1;
|
|
276
276
|
$sm: do
|
|
277
277
|
try {
|
|
278
|
-
var tmp = this.
|
|
278
|
+
var tmp = this.d9_1;
|
|
279
279
|
switch (tmp) {
|
|
280
280
|
case 0:
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
281
|
+
this.e9_1 = 7;
|
|
282
|
+
this.d35_1 = 0;
|
|
283
|
+
this.g35_1 = this.b35_1.c34_1.t();
|
|
284
|
+
this.d9_1 = 1;
|
|
285
285
|
continue $sm;
|
|
286
286
|
case 1:
|
|
287
|
-
if (!this.
|
|
288
|
-
this.
|
|
287
|
+
if (!this.g35_1.u()) {
|
|
288
|
+
this.d9_1 = 6;
|
|
289
289
|
continue $sm;
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
292
|
+
this.f35_1 = this.g35_1.v();
|
|
293
|
+
this.e35_1 = 0;
|
|
294
|
+
this.d9_1 = 2;
|
|
295
295
|
continue $sm;
|
|
296
296
|
case 2:
|
|
297
|
-
if (!(this.
|
|
298
|
-
this.
|
|
297
|
+
if (!(this.e35_1 < this.f35_1.length)) {
|
|
298
|
+
this.d9_1 = 5;
|
|
299
299
|
continue $sm;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
if (!(this.
|
|
303
|
-
this.
|
|
304
|
-
suspendResult = this.
|
|
302
|
+
if (!(this.b35_1.g34(this.d35_1 + 0 | 0) === -1)) {
|
|
303
|
+
this.d9_1 = 3;
|
|
304
|
+
suspendResult = this.c35_1.ng(this.d35_1, this);
|
|
305
305
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306
306
|
return suspendResult;
|
|
307
307
|
}
|
|
308
308
|
continue $sm;
|
|
309
309
|
} else {
|
|
310
|
-
this.
|
|
310
|
+
this.d9_1 = 4;
|
|
311
311
|
continue $sm;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
case 3:
|
|
315
|
-
this.
|
|
315
|
+
this.d9_1 = 4;
|
|
316
316
|
continue $sm;
|
|
317
317
|
case 4:
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
318
|
+
this.e35_1 = this.e35_1 + 6 | 0;
|
|
319
|
+
this.d35_1 = this.d35_1 + 6 | 0;
|
|
320
|
+
this.d9_1 = 2;
|
|
321
321
|
continue $sm;
|
|
322
322
|
case 5:
|
|
323
|
-
this.
|
|
323
|
+
this.d9_1 = 1;
|
|
324
324
|
continue $sm;
|
|
325
325
|
case 6:
|
|
326
326
|
return Unit_instance;
|
|
327
327
|
case 7:
|
|
328
|
-
throw this.
|
|
328
|
+
throw this.g9_1;
|
|
329
329
|
}
|
|
330
330
|
} catch ($p) {
|
|
331
331
|
var e = $p;
|
|
332
|
-
if (this.
|
|
332
|
+
if (this.e9_1 === 7) {
|
|
333
333
|
throw e;
|
|
334
334
|
} else {
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
335
|
+
this.d9_1 = this.e9_1;
|
|
336
|
+
this.g9_1 = e;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
while (true);
|
|
340
340
|
};
|
|
341
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
342
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
343
|
-
i.
|
|
341
|
+
protoOf(HeadersData$headersStarts$slambda).i35 = function ($this$sequence, completion) {
|
|
342
|
+
var i = new HeadersData$headersStarts$slambda(this.b35_1, completion);
|
|
343
|
+
i.c35_1 = $this$sequence;
|
|
344
344
|
return i;
|
|
345
345
|
};
|
|
346
346
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
347
347
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
348
348
|
var l = function ($this$sequence, $completion) {
|
|
349
|
-
return i.
|
|
349
|
+
return i.h35($this$sequence, $completion);
|
|
350
350
|
};
|
|
351
351
|
l.$arity = 1;
|
|
352
352
|
return l;
|
|
@@ -354,55 +354,55 @@
|
|
|
354
354
|
function HeadersData() {
|
|
355
355
|
var tmp = this;
|
|
356
356
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
357
|
-
tmp.
|
|
357
|
+
tmp.c34_1 = ArrayList_init_$Create$();
|
|
358
358
|
}
|
|
359
|
-
protoOf(HeadersData).
|
|
360
|
-
return this.
|
|
359
|
+
protoOf(HeadersData).d34 = function () {
|
|
360
|
+
return this.c34_1.l1();
|
|
361
361
|
};
|
|
362
|
-
protoOf(HeadersData).
|
|
362
|
+
protoOf(HeadersData).e34 = function (subArraysCount) {
|
|
363
363
|
// Inline function 'kotlin.repeat' call
|
|
364
364
|
var inductionVariable = 0;
|
|
365
365
|
if (inductionVariable < subArraysCount)
|
|
366
366
|
do {
|
|
367
367
|
var index = inductionVariable;
|
|
368
368
|
inductionVariable = inductionVariable + 1 | 0;
|
|
369
|
-
this.
|
|
369
|
+
this.c34_1.j1(get_IntArrayPool().i1w());
|
|
370
370
|
}
|
|
371
371
|
while (inductionVariable < subArraysCount);
|
|
372
372
|
};
|
|
373
|
-
protoOf(HeadersData).
|
|
374
|
-
return this.
|
|
373
|
+
protoOf(HeadersData).g34 = function (index) {
|
|
374
|
+
return this.c34_1.m1(index / 768 | 0)[index % 768 | 0];
|
|
375
375
|
};
|
|
376
|
-
protoOf(HeadersData).
|
|
377
|
-
this.
|
|
376
|
+
protoOf(HeadersData).r34 = function (index, value) {
|
|
377
|
+
this.c34_1.m1(index / 768 | 0)[index % 768 | 0] = value;
|
|
378
378
|
};
|
|
379
|
-
protoOf(HeadersData).
|
|
379
|
+
protoOf(HeadersData).f34 = function () {
|
|
380
380
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
381
381
|
};
|
|
382
|
-
protoOf(HeadersData).
|
|
383
|
-
var _iterator__ex2g4s = this.
|
|
384
|
-
while (_iterator__ex2g4s.
|
|
385
|
-
var array = _iterator__ex2g4s.
|
|
386
|
-
get_IntArrayPool().
|
|
382
|
+
protoOf(HeadersData).c1h = function () {
|
|
383
|
+
var _iterator__ex2g4s = this.c34_1.t();
|
|
384
|
+
while (_iterator__ex2g4s.u()) {
|
|
385
|
+
var array = _iterator__ex2g4s.v();
|
|
386
|
+
get_IntArrayPool().j1w(array);
|
|
387
387
|
}
|
|
388
|
-
this.
|
|
388
|
+
this.c34_1.t2();
|
|
389
389
|
};
|
|
390
390
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
391
391
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
392
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
393
|
-
while (_iterator__ex2g4s.
|
|
394
|
-
var offset = _iterator__ex2g4s.
|
|
395
|
-
out.
|
|
396
|
-
out.
|
|
397
|
-
out.
|
|
398
|
-
out.
|
|
399
|
-
out.
|
|
392
|
+
var _iterator__ex2g4s = _this__u8e3s4.j34().t();
|
|
393
|
+
while (_iterator__ex2g4s.u()) {
|
|
394
|
+
var offset = _iterator__ex2g4s.v();
|
|
395
|
+
out.k1(indent);
|
|
396
|
+
out.k1(_this__u8e3s4.s34(offset));
|
|
397
|
+
out.k1(' => ');
|
|
398
|
+
out.k1(_this__u8e3s4.i34(offset));
|
|
399
|
+
out.k1('\n');
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
function IntArrayPool$1() {
|
|
403
403
|
DefaultPool.call(this, 1000);
|
|
404
404
|
}
|
|
405
|
-
protoOf(IntArrayPool$1).
|
|
405
|
+
protoOf(IntArrayPool$1).b1w = function () {
|
|
406
406
|
var tmp = 0;
|
|
407
407
|
var tmp_0 = new Int32Array(768);
|
|
408
408
|
while (tmp < 768) {
|
|
@@ -411,25 +411,25 @@
|
|
|
411
411
|
}
|
|
412
412
|
return tmp_0;
|
|
413
413
|
};
|
|
414
|
-
protoOf(IntArrayPool$1).
|
|
414
|
+
protoOf(IntArrayPool$1).m35 = function (instance) {
|
|
415
415
|
fill(instance, -1);
|
|
416
|
-
return protoOf(DefaultPool).
|
|
416
|
+
return protoOf(DefaultPool).g1w.call(this, instance);
|
|
417
417
|
};
|
|
418
|
-
protoOf(IntArrayPool$1).
|
|
419
|
-
return this.
|
|
418
|
+
protoOf(IntArrayPool$1).g1w = function (instance) {
|
|
419
|
+
return this.m35(isIntArray(instance) ? instance : THROW_CCE());
|
|
420
420
|
};
|
|
421
421
|
function HeadersDataPool$1() {
|
|
422
422
|
DefaultPool.call(this, 1000);
|
|
423
423
|
}
|
|
424
|
-
protoOf(HeadersDataPool$1).
|
|
424
|
+
protoOf(HeadersDataPool$1).b1w = function () {
|
|
425
425
|
return new HeadersData();
|
|
426
426
|
};
|
|
427
|
-
protoOf(HeadersDataPool$1).
|
|
428
|
-
instance.
|
|
429
|
-
return protoOf(DefaultPool).
|
|
427
|
+
protoOf(HeadersDataPool$1).q35 = function (instance) {
|
|
428
|
+
instance.c1h();
|
|
429
|
+
return protoOf(DefaultPool).g1w.call(this, instance);
|
|
430
430
|
};
|
|
431
|
-
protoOf(HeadersDataPool$1).
|
|
432
|
-
return this.
|
|
431
|
+
protoOf(HeadersDataPool$1).g1w = function (instance) {
|
|
432
|
+
return this.q35(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
433
433
|
};
|
|
434
434
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
435
435
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -453,22 +453,22 @@
|
|
|
453
453
|
function parseHeaders(input, builder, range, $completion) {
|
|
454
454
|
range = range === VOID ? new MutableRange(0, 0) : range;
|
|
455
455
|
var tmp = new $parseHeadersCOROUTINE$(input, builder, range, $completion);
|
|
456
|
-
tmp.
|
|
457
|
-
tmp.
|
|
458
|
-
return tmp.
|
|
456
|
+
tmp.f9_1 = Unit_instance;
|
|
457
|
+
tmp.g9_1 = null;
|
|
458
|
+
return tmp.l9();
|
|
459
459
|
}
|
|
460
460
|
function parseHeaderName(text, range) {
|
|
461
461
|
_init_properties_HttpParser_kt__gbdom1();
|
|
462
|
-
var index = range.
|
|
463
|
-
var end = range.
|
|
462
|
+
var index = range.e36_1;
|
|
463
|
+
var end = range.f36_1;
|
|
464
464
|
while (index < end) {
|
|
465
465
|
var ch = text.b(index);
|
|
466
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
467
|
-
range.
|
|
466
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.e36_1)) {
|
|
467
|
+
range.e36_1 = index + 1 | 0;
|
|
468
468
|
return index;
|
|
469
469
|
}
|
|
470
470
|
if (isDelimiter(ch)) {
|
|
471
|
-
parseHeaderNameFailed(text, index, range.
|
|
471
|
+
parseHeaderNameFailed(text, index, range.e36_1, ch);
|
|
472
472
|
}
|
|
473
473
|
index = index + 1 | 0;
|
|
474
474
|
}
|
|
@@ -476,12 +476,12 @@
|
|
|
476
476
|
}
|
|
477
477
|
function parseHeaderValue(text, range) {
|
|
478
478
|
_init_properties_HttpParser_kt__gbdom1();
|
|
479
|
-
var start = range.
|
|
480
|
-
var end = range.
|
|
479
|
+
var start = range.e36_1;
|
|
480
|
+
var end = range.f36_1;
|
|
481
481
|
var index = start;
|
|
482
482
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
483
483
|
if (index >= end) {
|
|
484
|
-
range.
|
|
484
|
+
range.e36_1 = end;
|
|
485
485
|
return Unit_instance;
|
|
486
486
|
}
|
|
487
487
|
var valueStart = index;
|
|
@@ -495,8 +495,8 @@
|
|
|
495
495
|
valueLastIndex = index;
|
|
496
496
|
index = index + 1 | 0;
|
|
497
497
|
}
|
|
498
|
-
range.
|
|
499
|
-
range.
|
|
498
|
+
range.e36_1 = valueStart;
|
|
499
|
+
range.f36_1 = valueLastIndex + 1 | 0;
|
|
500
500
|
}
|
|
501
501
|
function validateHostHeader(host) {
|
|
502
502
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -510,7 +510,7 @@
|
|
|
510
510
|
while (inductionVariable < charSequenceLength(host)) {
|
|
511
511
|
var element = charSequenceGet(host, inductionVariable);
|
|
512
512
|
inductionVariable = inductionVariable + 1 | 0;
|
|
513
|
-
if (get_hostForbiddenSymbols().
|
|
513
|
+
if (get_hostForbiddenSymbols().m2(new Char(element))) {
|
|
514
514
|
tmp$ret$1 = true;
|
|
515
515
|
break $l$block;
|
|
516
516
|
}
|
|
@@ -537,9 +537,9 @@
|
|
|
537
537
|
}
|
|
538
538
|
function noColonFound(text, range) {
|
|
539
539
|
_init_properties_HttpParser_kt__gbdom1();
|
|
540
|
-
var tmp2 = range.
|
|
540
|
+
var tmp2 = range.e36_1;
|
|
541
541
|
// Inline function 'kotlin.text.substring' call
|
|
542
|
-
var endIndex = range.
|
|
542
|
+
var endIndex = range.f36_1;
|
|
543
543
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
544
544
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
545
545
|
}
|
|
@@ -555,30 +555,30 @@
|
|
|
555
555
|
}
|
|
556
556
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
557
557
|
CoroutineImpl.call(this, resultContinuation);
|
|
558
|
-
this.
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
558
|
+
this.z35_1 = input;
|
|
559
|
+
this.a36_1 = builder;
|
|
560
|
+
this.b36_1 = range;
|
|
561
561
|
}
|
|
562
|
-
protoOf($parseHeadersCOROUTINE$).
|
|
563
|
-
var suspendResult = this.
|
|
562
|
+
protoOf($parseHeadersCOROUTINE$).l9 = function () {
|
|
563
|
+
var suspendResult = this.f9_1;
|
|
564
564
|
$sm: do
|
|
565
565
|
try {
|
|
566
|
-
var tmp = this.
|
|
566
|
+
var tmp = this.d9_1;
|
|
567
567
|
switch (tmp) {
|
|
568
568
|
case 0:
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
569
|
+
this.e9_1 = 7;
|
|
570
|
+
this.c36_1 = new HttpHeadersMap(this.a36_1);
|
|
571
|
+
this.e9_1 = 6;
|
|
572
|
+
this.d9_1 = 1;
|
|
573
573
|
continue $sm;
|
|
574
574
|
case 1:
|
|
575
575
|
if (!true) {
|
|
576
|
-
this.
|
|
576
|
+
this.d9_1 = 5;
|
|
577
577
|
continue $sm;
|
|
578
578
|
}
|
|
579
579
|
|
|
580
|
-
this.
|
|
581
|
-
suspendResult = readUTF8LineTo(this.
|
|
580
|
+
this.d9_1 = 2;
|
|
581
|
+
suspendResult = readUTF8LineTo(this.z35_1, this.a36_1, 8192, get_httpLineEndings(), this);
|
|
582
582
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
583
583
|
return suspendResult;
|
|
584
584
|
}
|
|
@@ -586,68 +586,68 @@
|
|
|
586
586
|
continue $sm;
|
|
587
587
|
case 2:
|
|
588
588
|
if (!suspendResult) {
|
|
589
|
-
this.
|
|
589
|
+
this.c36_1.c1h();
|
|
590
590
|
return null;
|
|
591
591
|
} else {
|
|
592
|
-
this.
|
|
592
|
+
this.d9_1 = 3;
|
|
593
593
|
continue $sm;
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
case 3:
|
|
597
|
-
this.
|
|
598
|
-
this.
|
|
599
|
-
if (this.
|
|
600
|
-
this.
|
|
597
|
+
this.b36_1.f36_1 = this.a36_1.q34_1;
|
|
598
|
+
this.d36_1 = this.b36_1.f36_1 - this.b36_1.e36_1 | 0;
|
|
599
|
+
if (this.d36_1 === 0) {
|
|
600
|
+
this.d9_1 = 5;
|
|
601
601
|
continue $sm;
|
|
602
602
|
} else {
|
|
603
|
-
this.
|
|
603
|
+
this.d9_1 = 4;
|
|
604
604
|
continue $sm;
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
case 4:
|
|
608
|
-
if (this.
|
|
608
|
+
if (this.d36_1 >= 8192) {
|
|
609
609
|
var message = 'Header line length limit exceeded';
|
|
610
610
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
-
var nameStart = this.
|
|
614
|
-
var nameEnd = parseHeaderName(this.
|
|
615
|
-
var headerEnd = this.
|
|
616
|
-
parseHeaderValue(this.
|
|
617
|
-
var valueStart = this.
|
|
618
|
-
var valueEnd = this.
|
|
619
|
-
this.
|
|
620
|
-
this.
|
|
621
|
-
this.
|
|
613
|
+
var nameStart = this.b36_1.e36_1;
|
|
614
|
+
var nameEnd = parseHeaderName(this.a36_1, this.b36_1);
|
|
615
|
+
var headerEnd = this.b36_1.f36_1;
|
|
616
|
+
parseHeaderValue(this.a36_1, this.b36_1);
|
|
617
|
+
var valueStart = this.b36_1.e36_1;
|
|
618
|
+
var valueEnd = this.b36_1.f36_1;
|
|
619
|
+
this.b36_1.e36_1 = headerEnd;
|
|
620
|
+
this.c36_1.h34(nameStart, nameEnd, valueStart, valueEnd);
|
|
621
|
+
this.d9_1 = 1;
|
|
622
622
|
continue $sm;
|
|
623
623
|
case 5:
|
|
624
|
-
var host = this.
|
|
624
|
+
var host = this.c36_1.g2k(HttpHeaders_getInstance().e2u_1);
|
|
625
625
|
if (!(host == null)) {
|
|
626
626
|
validateHostHeader(host);
|
|
627
627
|
}
|
|
628
628
|
|
|
629
|
-
return this.
|
|
629
|
+
return this.c36_1;
|
|
630
630
|
case 6:
|
|
631
|
-
this.
|
|
632
|
-
var tmp_0 = this.
|
|
631
|
+
this.e9_1 = 7;
|
|
632
|
+
var tmp_0 = this.g9_1;
|
|
633
633
|
if (tmp_0 instanceof Error) {
|
|
634
|
-
var t = this.
|
|
635
|
-
this.
|
|
634
|
+
var t = this.g9_1;
|
|
635
|
+
this.c36_1.c1h();
|
|
636
636
|
throw t;
|
|
637
637
|
} else {
|
|
638
|
-
throw this.
|
|
638
|
+
throw this.g9_1;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
case 7:
|
|
642
|
-
throw this.
|
|
642
|
+
throw this.g9_1;
|
|
643
643
|
}
|
|
644
644
|
} catch ($p) {
|
|
645
645
|
var e = $p;
|
|
646
|
-
if (this.
|
|
646
|
+
if (this.e9_1 === 7) {
|
|
647
647
|
throw e;
|
|
648
648
|
} else {
|
|
649
|
-
this.
|
|
650
|
-
this.
|
|
649
|
+
this.d9_1 = this.e9_1;
|
|
650
|
+
this.g9_1 = e;
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
653
|
while (true);
|
|
@@ -657,8 +657,8 @@
|
|
|
657
657
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
658
658
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
659
659
|
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))]);
|
|
660
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
661
|
-
versions = Companion_instance.
|
|
660
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().g1r_1, Companion_getInstance().f1r_1);
|
|
661
|
+
versions = Companion_instance.g36(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
function get_CrLf() {
|
|
@@ -673,23 +673,23 @@
|
|
|
673
673
|
var PrefixString;
|
|
674
674
|
function Preamble(body) {
|
|
675
675
|
MultipartEvent.call(this);
|
|
676
|
-
this.
|
|
676
|
+
this.h36_1 = body;
|
|
677
677
|
}
|
|
678
678
|
function MultipartPart(headers, body) {
|
|
679
679
|
MultipartEvent.call(this);
|
|
680
|
-
this.
|
|
681
|
-
this.
|
|
680
|
+
this.i36_1 = headers;
|
|
681
|
+
this.j36_1 = body;
|
|
682
682
|
}
|
|
683
683
|
function Epilogue(body) {
|
|
684
684
|
MultipartEvent.call(this);
|
|
685
|
-
this.
|
|
685
|
+
this.k36_1 = body;
|
|
686
686
|
}
|
|
687
687
|
function MultipartEvent() {
|
|
688
688
|
}
|
|
689
689
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
690
690
|
maxPartSize = maxPartSize === VOID ? new Long(-1, 2147483647) : maxPartSize;
|
|
691
691
|
_init_properties_Multipart_kt__ato98a();
|
|
692
|
-
if (!MultiPart_getInstance().
|
|
692
|
+
if (!MultiPart_getInstance().u2r(contentType)) {
|
|
693
693
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
694
694
|
}
|
|
695
695
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -837,21 +837,21 @@
|
|
|
837
837
|
}
|
|
838
838
|
function parsePartHeadersImpl(input, $completion) {
|
|
839
839
|
var tmp = new $parsePartHeadersImplCOROUTINE$(input, $completion);
|
|
840
|
-
tmp.
|
|
841
|
-
tmp.
|
|
842
|
-
return tmp.
|
|
840
|
+
tmp.f9_1 = Unit_instance;
|
|
841
|
+
tmp.g9_1 = null;
|
|
842
|
+
return tmp.l9();
|
|
843
843
|
}
|
|
844
844
|
function parsePartBodyImpl(boundaryPrefixed, input, output, headers, limit, $completion) {
|
|
845
845
|
var tmp = new $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, $completion);
|
|
846
|
-
tmp.
|
|
847
|
-
tmp.
|
|
848
|
-
return tmp.
|
|
846
|
+
tmp.f9_1 = Unit_instance;
|
|
847
|
+
tmp.g9_1 = null;
|
|
848
|
+
return tmp.l9();
|
|
849
849
|
}
|
|
850
850
|
function skipIfFoundReadCount(_this__u8e3s4, prefix, $completion) {
|
|
851
851
|
var tmp = new $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, $completion);
|
|
852
|
-
tmp.
|
|
853
|
-
tmp.
|
|
854
|
-
return tmp.
|
|
852
|
+
tmp.f9_1 = Unit_instance;
|
|
853
|
+
tmp.g9_1 = null;
|
|
854
|
+
return tmp.l9();
|
|
855
855
|
}
|
|
856
856
|
function throwLimitExceeded(actual, limit) {
|
|
857
857
|
_init_properties_Multipart_kt__ato98a();
|
|
@@ -866,37 +866,37 @@
|
|
|
866
866
|
boundaryBytes[_unary__edvuaz] = value;
|
|
867
867
|
}
|
|
868
868
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
869
|
-
this.
|
|
870
|
-
this.
|
|
869
|
+
this.e38_1 = $firstBoundary;
|
|
870
|
+
this.f38_1 = $countedInput;
|
|
871
871
|
CoroutineImpl.call(this, resultContinuation);
|
|
872
872
|
}
|
|
873
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
874
|
-
var tmp = this.
|
|
875
|
-
tmp.
|
|
876
|
-
tmp.
|
|
877
|
-
return tmp.
|
|
873
|
+
protoOf(parseMultipart$slambda$slambda).h38 = function ($this$writer, $completion) {
|
|
874
|
+
var tmp = this.i38($this$writer, $completion);
|
|
875
|
+
tmp.f9_1 = Unit_instance;
|
|
876
|
+
tmp.g9_1 = null;
|
|
877
|
+
return tmp.l9();
|
|
878
878
|
};
|
|
879
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
880
|
-
return this.
|
|
879
|
+
protoOf(parseMultipart$slambda$slambda).x9 = function (p1, $completion) {
|
|
880
|
+
return this.h38(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
881
881
|
};
|
|
882
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
883
|
-
var suspendResult = this.
|
|
882
|
+
protoOf(parseMultipart$slambda$slambda).l9 = function () {
|
|
883
|
+
var suspendResult = this.f9_1;
|
|
884
884
|
$sm: do
|
|
885
885
|
try {
|
|
886
|
-
var tmp = this.
|
|
886
|
+
var tmp = this.d9_1;
|
|
887
887
|
switch (tmp) {
|
|
888
888
|
case 0:
|
|
889
|
-
this.
|
|
890
|
-
this.
|
|
891
|
-
suspendResult = parsePreambleImpl(this.
|
|
889
|
+
this.e9_1 = 3;
|
|
890
|
+
this.d9_1 = 1;
|
|
891
|
+
suspendResult = parsePreambleImpl(this.e38_1, this.f38_1, this.g38_1.s1t_1, new Long(8193, 0), this);
|
|
892
892
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
893
893
|
return suspendResult;
|
|
894
894
|
}
|
|
895
895
|
|
|
896
896
|
continue $sm;
|
|
897
897
|
case 1:
|
|
898
|
-
this.
|
|
899
|
-
suspendResult = this.
|
|
898
|
+
this.d9_1 = 2;
|
|
899
|
+
suspendResult = this.g38_1.s1t_1.z1l(this);
|
|
900
900
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
901
901
|
return suspendResult;
|
|
902
902
|
}
|
|
@@ -905,61 +905,61 @@
|
|
|
905
905
|
case 2:
|
|
906
906
|
return Unit_instance;
|
|
907
907
|
case 3:
|
|
908
|
-
throw this.
|
|
908
|
+
throw this.g9_1;
|
|
909
909
|
}
|
|
910
910
|
} catch ($p) {
|
|
911
911
|
var e = $p;
|
|
912
|
-
if (this.
|
|
912
|
+
if (this.e9_1 === 3) {
|
|
913
913
|
throw e;
|
|
914
914
|
} else {
|
|
915
|
-
this.
|
|
916
|
-
this.
|
|
915
|
+
this.d9_1 = this.e9_1;
|
|
916
|
+
this.g9_1 = e;
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
919
|
while (true);
|
|
920
920
|
};
|
|
921
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
922
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
923
|
-
i.
|
|
921
|
+
protoOf(parseMultipart$slambda$slambda).i38 = function ($this$writer, completion) {
|
|
922
|
+
var i = new parseMultipart$slambda$slambda(this.e38_1, this.f38_1, completion);
|
|
923
|
+
i.g38_1 = $this$writer;
|
|
924
924
|
return i;
|
|
925
925
|
};
|
|
926
926
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
927
927
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
928
928
|
var l = function ($this$writer, $completion) {
|
|
929
|
-
return i.
|
|
929
|
+
return i.h38($this$writer, $completion);
|
|
930
930
|
};
|
|
931
931
|
l.$arity = 1;
|
|
932
932
|
return l;
|
|
933
933
|
}
|
|
934
934
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
935
|
-
this.
|
|
936
|
-
this.
|
|
937
|
-
this.
|
|
938
|
-
this.
|
|
935
|
+
this.r38_1 = $input;
|
|
936
|
+
this.s38_1 = $boundaryPrefixed;
|
|
937
|
+
this.t38_1 = $maxPartSize;
|
|
938
|
+
this.u38_1 = $totalLength;
|
|
939
939
|
CoroutineImpl.call(this, resultContinuation);
|
|
940
940
|
}
|
|
941
|
-
protoOf(parseMultipart$slambda).
|
|
942
|
-
var tmp = this.
|
|
943
|
-
tmp.
|
|
944
|
-
tmp.
|
|
945
|
-
return tmp.
|
|
941
|
+
protoOf(parseMultipart$slambda).d39 = function ($this$produce, $completion) {
|
|
942
|
+
var tmp = this.e39($this$produce, $completion);
|
|
943
|
+
tmp.f9_1 = Unit_instance;
|
|
944
|
+
tmp.g9_1 = null;
|
|
945
|
+
return tmp.l9();
|
|
946
946
|
};
|
|
947
|
-
protoOf(parseMultipart$slambda).
|
|
948
|
-
return this.
|
|
947
|
+
protoOf(parseMultipart$slambda).x9 = function (p1, $completion) {
|
|
948
|
+
return this.d39((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
949
949
|
};
|
|
950
|
-
protoOf(parseMultipart$slambda).
|
|
951
|
-
var suspendResult = this.
|
|
950
|
+
protoOf(parseMultipart$slambda).l9 = function () {
|
|
951
|
+
var suspendResult = this.f9_1;
|
|
952
952
|
$sm: do
|
|
953
953
|
try {
|
|
954
|
-
var tmp = this.
|
|
954
|
+
var tmp = this.d9_1;
|
|
955
955
|
switch (tmp) {
|
|
956
956
|
case 0:
|
|
957
|
-
this.
|
|
958
|
-
this.
|
|
959
|
-
this.
|
|
960
|
-
this.
|
|
961
|
-
this.
|
|
962
|
-
suspendResult = readRemaining(writer(this.
|
|
957
|
+
this.e9_1 = 25;
|
|
958
|
+
this.w38_1 = counted(this.r38_1);
|
|
959
|
+
this.x38_1 = this.w38_1.p1v();
|
|
960
|
+
this.b39_1 = this.s38_1.oo(get_PrefixString().l1());
|
|
961
|
+
this.d9_1 = 1;
|
|
962
|
+
suspendResult = readRemaining(writer(this.v38_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.b39_1, this.w38_1, null)).q1t_1, this);
|
|
963
963
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
964
964
|
return suspendResult;
|
|
965
965
|
}
|
|
@@ -968,57 +968,57 @@
|
|
|
968
968
|
case 1:
|
|
969
969
|
var preambleData = suspendResult;
|
|
970
970
|
if (compare(get_remaining(preambleData), new Long(0, 0)) > 0) {
|
|
971
|
-
this.
|
|
972
|
-
suspendResult = this.
|
|
971
|
+
this.d9_1 = 2;
|
|
972
|
+
suspendResult = this.v38_1.q19(new Preamble(preambleData), this);
|
|
973
973
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
974
974
|
return suspendResult;
|
|
975
975
|
}
|
|
976
976
|
continue $sm;
|
|
977
977
|
} else {
|
|
978
|
-
this.
|
|
978
|
+
this.d9_1 = 3;
|
|
979
979
|
continue $sm;
|
|
980
980
|
}
|
|
981
981
|
|
|
982
982
|
case 2:
|
|
983
|
-
this.
|
|
983
|
+
this.d9_1 = 3;
|
|
984
984
|
continue $sm;
|
|
985
985
|
case 3:
|
|
986
|
-
this.
|
|
986
|
+
this.d9_1 = 4;
|
|
987
987
|
continue $sm;
|
|
988
988
|
case 4:
|
|
989
|
-
if (!this.
|
|
990
|
-
this.
|
|
991
|
-
suspendResult = skipIfFound(this.
|
|
989
|
+
if (!this.w38_1.w1l()) {
|
|
990
|
+
this.d9_1 = 5;
|
|
991
|
+
suspendResult = skipIfFound(this.w38_1, get_PrefixString(), this);
|
|
992
992
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
993
993
|
return suspendResult;
|
|
994
994
|
}
|
|
995
995
|
continue $sm;
|
|
996
996
|
} else {
|
|
997
|
-
this.
|
|
998
|
-
this.
|
|
997
|
+
this.c39_1 = false;
|
|
998
|
+
this.d9_1 = 6;
|
|
999
999
|
continue $sm;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
1002
|
case 5:
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1003
|
+
this.c39_1 = !suspendResult;
|
|
1004
|
+
this.d9_1 = 6;
|
|
1005
1005
|
continue $sm;
|
|
1006
1006
|
case 6:
|
|
1007
|
-
if (!this.
|
|
1008
|
-
this.
|
|
1007
|
+
if (!this.c39_1) {
|
|
1008
|
+
this.d9_1 = 15;
|
|
1009
1009
|
continue $sm;
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
|
-
this.
|
|
1013
|
-
suspendResult = skipIfFound(this.
|
|
1012
|
+
this.d9_1 = 7;
|
|
1013
|
+
suspendResult = skipIfFound(this.w38_1, get_CrLf(), this);
|
|
1014
1014
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1015
1015
|
return suspendResult;
|
|
1016
1016
|
}
|
|
1017
1017
|
|
|
1018
1018
|
continue $sm;
|
|
1019
1019
|
case 7:
|
|
1020
|
-
this.
|
|
1021
|
-
suspendResult = skipIfFound(this.
|
|
1020
|
+
this.d9_1 = 8;
|
|
1021
|
+
suspendResult = skipIfFound(this.w38_1, this.b39_1, this);
|
|
1022
1022
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1023
1023
|
return suspendResult;
|
|
1024
1024
|
}
|
|
@@ -1026,112 +1026,112 @@
|
|
|
1026
1026
|
continue $sm;
|
|
1027
1027
|
case 8:
|
|
1028
1028
|
if (suspendResult) {
|
|
1029
|
-
this.
|
|
1029
|
+
this.d9_1 = 4;
|
|
1030
1030
|
continue $sm;
|
|
1031
1031
|
} else {
|
|
1032
|
-
this.
|
|
1032
|
+
this.d9_1 = 9;
|
|
1033
1033
|
continue $sm;
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
1036
|
case 9:
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1039
|
-
var part = new MultipartPart(this.
|
|
1040
|
-
this.
|
|
1041
|
-
suspendResult = this.
|
|
1037
|
+
this.y38_1 = new ByteChannel();
|
|
1038
|
+
this.a39_1 = CompletableDeferred();
|
|
1039
|
+
var part = new MultipartPart(this.a39_1, this.y38_1);
|
|
1040
|
+
this.d9_1 = 10;
|
|
1041
|
+
suspendResult = this.v38_1.q19(part, this);
|
|
1042
1042
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1043
1043
|
return suspendResult;
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
1046
|
continue $sm;
|
|
1047
1047
|
case 10:
|
|
1048
|
-
this.
|
|
1049
|
-
this.
|
|
1050
|
-
this.
|
|
1051
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1048
|
+
this.z38_1 = null;
|
|
1049
|
+
this.e9_1 = 14;
|
|
1050
|
+
this.d9_1 = 11;
|
|
1051
|
+
suspendResult = parsePartHeadersImpl(this.w38_1, this);
|
|
1052
1052
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1053
1053
|
return suspendResult;
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
1056
|
continue $sm;
|
|
1057
1057
|
case 11:
|
|
1058
|
-
this.
|
|
1059
|
-
if (!this.
|
|
1060
|
-
this.
|
|
1058
|
+
this.z38_1 = suspendResult;
|
|
1059
|
+
if (!this.a39_1.p10(this.z38_1)) {
|
|
1060
|
+
this.z38_1.c1h();
|
|
1061
1061
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1062
1062
|
}
|
|
1063
1063
|
|
|
1064
|
-
this.
|
|
1065
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1064
|
+
this.d9_1 = 12;
|
|
1065
|
+
suspendResult = parsePartBodyImpl(this.s38_1, this.w38_1, this.y38_1, this.z38_1, this.t38_1, this);
|
|
1066
1066
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1067
1067
|
return suspendResult;
|
|
1068
1068
|
}
|
|
1069
1069
|
|
|
1070
1070
|
continue $sm;
|
|
1071
1071
|
case 12:
|
|
1072
|
-
this.
|
|
1073
|
-
this.
|
|
1074
|
-
this.
|
|
1072
|
+
this.y38_1.o4();
|
|
1073
|
+
this.e9_1 = 25;
|
|
1074
|
+
this.d9_1 = 13;
|
|
1075
1075
|
continue $sm;
|
|
1076
1076
|
case 13:
|
|
1077
|
-
this.
|
|
1078
|
-
this.
|
|
1077
|
+
this.e9_1 = 25;
|
|
1078
|
+
this.d9_1 = 4;
|
|
1079
1079
|
continue $sm;
|
|
1080
1080
|
case 14:
|
|
1081
|
-
this.
|
|
1082
|
-
var tmp_0 = this.
|
|
1081
|
+
this.e9_1 = 25;
|
|
1082
|
+
var tmp_0 = this.g9_1;
|
|
1083
1083
|
if (tmp_0 instanceof Error) {
|
|
1084
|
-
var cause = this.
|
|
1085
|
-
if (this.
|
|
1086
|
-
var tmp0_safe_receiver = this.
|
|
1084
|
+
var cause = this.g9_1;
|
|
1085
|
+
if (this.a39_1.q10(cause)) {
|
|
1086
|
+
var tmp0_safe_receiver = this.z38_1;
|
|
1087
1087
|
if (tmp0_safe_receiver == null)
|
|
1088
1088
|
null;
|
|
1089
1089
|
else {
|
|
1090
|
-
tmp0_safe_receiver.
|
|
1090
|
+
tmp0_safe_receiver.c1h();
|
|
1091
1091
|
}
|
|
1092
1092
|
}
|
|
1093
|
-
close(this.
|
|
1093
|
+
close(this.y38_1, cause);
|
|
1094
1094
|
throw cause;
|
|
1095
1095
|
} else {
|
|
1096
|
-
throw this.
|
|
1096
|
+
throw this.g9_1;
|
|
1097
1097
|
}
|
|
1098
1098
|
|
|
1099
1099
|
case 15:
|
|
1100
|
-
this.
|
|
1101
|
-
suspendResult = skipIfFound(this.
|
|
1100
|
+
this.d9_1 = 16;
|
|
1101
|
+
suspendResult = skipIfFound(this.w38_1, get_CrLf(), this);
|
|
1102
1102
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1103
1103
|
return suspendResult;
|
|
1104
1104
|
}
|
|
1105
1105
|
|
|
1106
1106
|
continue $sm;
|
|
1107
1107
|
case 16:
|
|
1108
|
-
this.
|
|
1109
|
-
suspendResult = skipIfFound(this.
|
|
1108
|
+
this.d9_1 = 17;
|
|
1109
|
+
suspendResult = skipIfFound(this.w38_1, get_CrLf(), this);
|
|
1110
1110
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1111
1111
|
return suspendResult;
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
1114
|
continue $sm;
|
|
1115
1115
|
case 17:
|
|
1116
|
-
if (!(this.
|
|
1117
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1118
|
-
var size = subtract(this.
|
|
1116
|
+
if (!(this.u38_1 == null)) {
|
|
1117
|
+
var consumedExceptEpilogue = subtract(this.w38_1.p1v(), this.x38_1);
|
|
1118
|
+
var size = subtract(this.u38_1, consumedExceptEpilogue);
|
|
1119
1119
|
if (compare(size, new Long(2147483647, 0)) > 0)
|
|
1120
1120
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1121
1121
|
if (compare(size, new Long(0, 0)) > 0) {
|
|
1122
|
-
this.
|
|
1123
|
-
suspendResult = readPacket(this.
|
|
1122
|
+
this.d9_1 = 21;
|
|
1123
|
+
suspendResult = readPacket(this.w38_1, convertToInt(size), this);
|
|
1124
1124
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1125
1125
|
return suspendResult;
|
|
1126
1126
|
}
|
|
1127
1127
|
continue $sm;
|
|
1128
1128
|
} else {
|
|
1129
|
-
this.
|
|
1129
|
+
this.d9_1 = 23;
|
|
1130
1130
|
continue $sm;
|
|
1131
1131
|
}
|
|
1132
1132
|
} else {
|
|
1133
|
-
this.
|
|
1134
|
-
suspendResult = readRemaining(this.
|
|
1133
|
+
this.d9_1 = 18;
|
|
1134
|
+
suspendResult = readRemaining(this.w38_1, this);
|
|
1135
1135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1136
1136
|
return suspendResult;
|
|
1137
1137
|
}
|
|
@@ -1140,85 +1140,85 @@
|
|
|
1140
1140
|
|
|
1141
1141
|
case 18:
|
|
1142
1142
|
var epilogueContent = suspendResult;
|
|
1143
|
-
if (!epilogueContent.
|
|
1144
|
-
this.
|
|
1145
|
-
suspendResult = this.
|
|
1143
|
+
if (!epilogueContent.wo()) {
|
|
1144
|
+
this.d9_1 = 19;
|
|
1145
|
+
suspendResult = this.v38_1.q19(new Epilogue(epilogueContent), this);
|
|
1146
1146
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1147
1147
|
return suspendResult;
|
|
1148
1148
|
}
|
|
1149
1149
|
continue $sm;
|
|
1150
1150
|
} else {
|
|
1151
|
-
this.
|
|
1151
|
+
this.d9_1 = 20;
|
|
1152
1152
|
continue $sm;
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
1155
|
case 19:
|
|
1156
|
-
this.
|
|
1156
|
+
this.d9_1 = 20;
|
|
1157
1157
|
continue $sm;
|
|
1158
1158
|
case 20:
|
|
1159
|
-
this.
|
|
1159
|
+
this.d9_1 = 24;
|
|
1160
1160
|
continue $sm;
|
|
1161
1161
|
case 21:
|
|
1162
1162
|
var ARGUMENT = suspendResult;
|
|
1163
1163
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1164
|
-
this.
|
|
1165
|
-
suspendResult = this.
|
|
1164
|
+
this.d9_1 = 22;
|
|
1165
|
+
suspendResult = this.v38_1.q19(ARGUMENT_0, this);
|
|
1166
1166
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1167
1167
|
return suspendResult;
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
1170
|
continue $sm;
|
|
1171
1171
|
case 22:
|
|
1172
|
-
this.
|
|
1172
|
+
this.d9_1 = 23;
|
|
1173
1173
|
continue $sm;
|
|
1174
1174
|
case 23:
|
|
1175
|
-
this.
|
|
1175
|
+
this.d9_1 = 24;
|
|
1176
1176
|
continue $sm;
|
|
1177
1177
|
case 24:
|
|
1178
1178
|
return Unit_instance;
|
|
1179
1179
|
case 25:
|
|
1180
|
-
throw this.
|
|
1180
|
+
throw this.g9_1;
|
|
1181
1181
|
}
|
|
1182
1182
|
} catch ($p) {
|
|
1183
1183
|
var e = $p;
|
|
1184
|
-
if (this.
|
|
1184
|
+
if (this.e9_1 === 25) {
|
|
1185
1185
|
throw e;
|
|
1186
1186
|
} else {
|
|
1187
|
-
this.
|
|
1188
|
-
this.
|
|
1187
|
+
this.d9_1 = this.e9_1;
|
|
1188
|
+
this.g9_1 = e;
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
1191
|
while (true);
|
|
1192
1192
|
};
|
|
1193
|
-
protoOf(parseMultipart$slambda).
|
|
1194
|
-
var i = new parseMultipart$slambda(this.
|
|
1195
|
-
i.
|
|
1193
|
+
protoOf(parseMultipart$slambda).e39 = function ($this$produce, completion) {
|
|
1194
|
+
var i = new parseMultipart$slambda(this.r38_1, this.s38_1, this.t38_1, this.u38_1, completion);
|
|
1195
|
+
i.v38_1 = $this$produce;
|
|
1196
1196
|
return i;
|
|
1197
1197
|
};
|
|
1198
1198
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1199
1199
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1200
1200
|
var l = function ($this$produce, $completion) {
|
|
1201
|
-
return i.
|
|
1201
|
+
return i.d39($this$produce, $completion);
|
|
1202
1202
|
};
|
|
1203
1203
|
l.$arity = 1;
|
|
1204
1204
|
return l;
|
|
1205
1205
|
}
|
|
1206
1206
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1207
1207
|
CoroutineImpl.call(this, resultContinuation);
|
|
1208
|
-
this.
|
|
1208
|
+
this.t36_1 = input;
|
|
1209
1209
|
}
|
|
1210
|
-
protoOf($parsePartHeadersImplCOROUTINE$).
|
|
1211
|
-
var suspendResult = this.
|
|
1210
|
+
protoOf($parsePartHeadersImplCOROUTINE$).l9 = function () {
|
|
1211
|
+
var suspendResult = this.f9_1;
|
|
1212
1212
|
$sm: do
|
|
1213
1213
|
try {
|
|
1214
|
-
var tmp = this.
|
|
1214
|
+
var tmp = this.d9_1;
|
|
1215
1215
|
switch (tmp) {
|
|
1216
1216
|
case 0:
|
|
1217
|
-
this.
|
|
1218
|
-
this.
|
|
1219
|
-
this.
|
|
1220
|
-
this.
|
|
1221
|
-
suspendResult = parseHeaders(this.
|
|
1217
|
+
this.e9_1 = 3;
|
|
1218
|
+
this.u36_1 = new CharArrayBuilder();
|
|
1219
|
+
this.e9_1 = 2;
|
|
1220
|
+
this.d9_1 = 1;
|
|
1221
|
+
suspendResult = parseHeaders(this.t36_1, this.u36_1, VOID, this);
|
|
1222
1222
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1223
1223
|
return suspendResult;
|
|
1224
1224
|
}
|
|
@@ -1235,75 +1235,75 @@
|
|
|
1235
1235
|
|
|
1236
1236
|
return tmp_0;
|
|
1237
1237
|
case 2:
|
|
1238
|
-
this.
|
|
1239
|
-
var tmp_1 = this.
|
|
1238
|
+
this.e9_1 = 3;
|
|
1239
|
+
var tmp_1 = this.g9_1;
|
|
1240
1240
|
if (tmp_1 instanceof Error) {
|
|
1241
|
-
var t = this.
|
|
1242
|
-
this.
|
|
1241
|
+
var t = this.g9_1;
|
|
1242
|
+
this.u36_1.c1h();
|
|
1243
1243
|
throw t;
|
|
1244
1244
|
} else {
|
|
1245
|
-
throw this.
|
|
1245
|
+
throw this.g9_1;
|
|
1246
1246
|
}
|
|
1247
1247
|
|
|
1248
1248
|
case 3:
|
|
1249
|
-
throw this.
|
|
1249
|
+
throw this.g9_1;
|
|
1250
1250
|
}
|
|
1251
1251
|
} catch ($p) {
|
|
1252
1252
|
var e = $p;
|
|
1253
|
-
if (this.
|
|
1253
|
+
if (this.e9_1 === 3) {
|
|
1254
1254
|
throw e;
|
|
1255
1255
|
} else {
|
|
1256
|
-
this.
|
|
1257
|
-
this.
|
|
1256
|
+
this.d9_1 = this.e9_1;
|
|
1257
|
+
this.g9_1 = e;
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
1260
|
while (true);
|
|
1261
1261
|
};
|
|
1262
1262
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1263
1263
|
CoroutineImpl.call(this, resultContinuation);
|
|
1264
|
-
this.
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1267
|
-
this.
|
|
1268
|
-
this.
|
|
1269
|
-
}
|
|
1270
|
-
protoOf($parsePartBodyImplCOROUTINE$).
|
|
1271
|
-
var suspendResult = this.
|
|
1264
|
+
this.d37_1 = boundaryPrefixed;
|
|
1265
|
+
this.e37_1 = input;
|
|
1266
|
+
this.f37_1 = output;
|
|
1267
|
+
this.g37_1 = headers;
|
|
1268
|
+
this.h37_1 = limit;
|
|
1269
|
+
}
|
|
1270
|
+
protoOf($parsePartBodyImplCOROUTINE$).l9 = function () {
|
|
1271
|
+
var suspendResult = this.f9_1;
|
|
1272
1272
|
$sm: do
|
|
1273
1273
|
try {
|
|
1274
|
-
var tmp = this.
|
|
1274
|
+
var tmp = this.d9_1;
|
|
1275
1275
|
switch (tmp) {
|
|
1276
1276
|
case 0:
|
|
1277
|
-
this.
|
|
1278
|
-
var tmp0_safe_receiver = this.
|
|
1277
|
+
this.e9_1 = 6;
|
|
1278
|
+
var tmp0_safe_receiver = this.g37_1.g2k('Content-Length');
|
|
1279
1279
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1280
1280
|
if (contentLength == null) {
|
|
1281
|
-
this.
|
|
1282
|
-
suspendResult = readUntil(this.
|
|
1281
|
+
this.d9_1 = 3;
|
|
1282
|
+
suspendResult = readUntil(this.e37_1, this.d37_1, this.f37_1, this.h37_1, true, this);
|
|
1283
1283
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1284
1284
|
return suspendResult;
|
|
1285
1285
|
}
|
|
1286
1286
|
continue $sm;
|
|
1287
1287
|
} else {
|
|
1288
|
-
var containsUpper = this.
|
|
1288
|
+
var containsUpper = this.h37_1;
|
|
1289
1289
|
if (compare(new Long(0, 0), contentLength) <= 0 ? compare(contentLength, containsUpper) <= 0 : false) {
|
|
1290
|
-
this.
|
|
1291
|
-
suspendResult = copyTo(this.
|
|
1290
|
+
this.d9_1 = 1;
|
|
1291
|
+
suspendResult = copyTo(this.e37_1, this.f37_1, contentLength, this);
|
|
1292
1292
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1293
1293
|
return suspendResult;
|
|
1294
1294
|
}
|
|
1295
1295
|
continue $sm;
|
|
1296
1296
|
} else {
|
|
1297
1297
|
var tmp_0 = this;
|
|
1298
|
-
throwLimitExceeded(contentLength, this.
|
|
1298
|
+
throwLimitExceeded(contentLength, this.h37_1);
|
|
1299
1299
|
}
|
|
1300
1300
|
}
|
|
1301
1301
|
|
|
1302
1302
|
break;
|
|
1303
1303
|
case 1:
|
|
1304
|
-
this.
|
|
1305
|
-
this.
|
|
1306
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1304
|
+
this.k37_1 = suspendResult;
|
|
1305
|
+
this.d9_1 = 2;
|
|
1306
|
+
suspendResult = skipIfFoundReadCount(this.e37_1, this.d37_1, this);
|
|
1307
1307
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1308
1308
|
return suspendResult;
|
|
1309
1309
|
}
|
|
@@ -1311,53 +1311,53 @@
|
|
|
1311
1311
|
continue $sm;
|
|
1312
1312
|
case 2:
|
|
1313
1313
|
var ARGUMENT = suspendResult;
|
|
1314
|
-
this.
|
|
1315
|
-
this.
|
|
1314
|
+
this.j37_1 = add(this.k37_1, ARGUMENT);
|
|
1315
|
+
this.d9_1 = 4;
|
|
1316
1316
|
continue $sm;
|
|
1317
1317
|
case 3:
|
|
1318
|
-
this.
|
|
1319
|
-
this.
|
|
1318
|
+
this.j37_1 = suspendResult;
|
|
1319
|
+
this.d9_1 = 4;
|
|
1320
1320
|
continue $sm;
|
|
1321
1321
|
case 4:
|
|
1322
|
-
this.
|
|
1323
|
-
this.
|
|
1324
|
-
suspendResult = this.
|
|
1322
|
+
this.i37_1 = this.j37_1;
|
|
1323
|
+
this.d9_1 = 5;
|
|
1324
|
+
suspendResult = this.f37_1.n1l(this);
|
|
1325
1325
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1326
1326
|
return suspendResult;
|
|
1327
1327
|
}
|
|
1328
1328
|
|
|
1329
1329
|
continue $sm;
|
|
1330
1330
|
case 5:
|
|
1331
|
-
return this.
|
|
1331
|
+
return this.i37_1;
|
|
1332
1332
|
case 6:
|
|
1333
|
-
throw this.
|
|
1333
|
+
throw this.g9_1;
|
|
1334
1334
|
}
|
|
1335
1335
|
} catch ($p) {
|
|
1336
1336
|
var e = $p;
|
|
1337
|
-
if (this.
|
|
1337
|
+
if (this.e9_1 === 6) {
|
|
1338
1338
|
throw e;
|
|
1339
1339
|
} else {
|
|
1340
|
-
this.
|
|
1341
|
-
this.
|
|
1340
|
+
this.d9_1 = this.e9_1;
|
|
1341
|
+
this.g9_1 = e;
|
|
1342
1342
|
}
|
|
1343
1343
|
}
|
|
1344
1344
|
while (true);
|
|
1345
1345
|
};
|
|
1346
1346
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1347
1347
|
CoroutineImpl.call(this, resultContinuation);
|
|
1348
|
-
this.
|
|
1349
|
-
this.
|
|
1348
|
+
this.t37_1 = _this__u8e3s4;
|
|
1349
|
+
this.u37_1 = prefix;
|
|
1350
1350
|
}
|
|
1351
|
-
protoOf($skipIfFoundReadCountCOROUTINE$).
|
|
1352
|
-
var suspendResult = this.
|
|
1351
|
+
protoOf($skipIfFoundReadCountCOROUTINE$).l9 = function () {
|
|
1352
|
+
var suspendResult = this.f9_1;
|
|
1353
1353
|
$sm: do
|
|
1354
1354
|
try {
|
|
1355
|
-
var tmp = this.
|
|
1355
|
+
var tmp = this.d9_1;
|
|
1356
1356
|
switch (tmp) {
|
|
1357
1357
|
case 0:
|
|
1358
|
-
this.
|
|
1359
|
-
this.
|
|
1360
|
-
suspendResult = skipIfFound(this.
|
|
1358
|
+
this.e9_1 = 3;
|
|
1359
|
+
this.d9_1 = 1;
|
|
1360
|
+
suspendResult = skipIfFound(this.t37_1, this.u37_1, this);
|
|
1361
1361
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1362
1362
|
return suspendResult;
|
|
1363
1363
|
}
|
|
@@ -1366,28 +1366,28 @@
|
|
|
1366
1366
|
case 1:
|
|
1367
1367
|
if (suspendResult) {
|
|
1368
1368
|
var tmp_0 = this;
|
|
1369
|
-
tmp_0.
|
|
1370
|
-
this.
|
|
1369
|
+
tmp_0.v37_1 = fromInt(this.u37_1.l1());
|
|
1370
|
+
this.d9_1 = 2;
|
|
1371
1371
|
continue $sm;
|
|
1372
1372
|
} else {
|
|
1373
1373
|
var tmp_1 = this;
|
|
1374
|
-
tmp_1.
|
|
1375
|
-
this.
|
|
1374
|
+
tmp_1.v37_1 = new Long(0, 0);
|
|
1375
|
+
this.d9_1 = 2;
|
|
1376
1376
|
continue $sm;
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
1379
|
case 2:
|
|
1380
|
-
return this.
|
|
1380
|
+
return this.v37_1;
|
|
1381
1381
|
case 3:
|
|
1382
|
-
throw this.
|
|
1382
|
+
throw this.g9_1;
|
|
1383
1383
|
}
|
|
1384
1384
|
} catch ($p) {
|
|
1385
1385
|
var e = $p;
|
|
1386
|
-
if (this.
|
|
1386
|
+
if (this.e9_1 === 3) {
|
|
1387
1387
|
throw e;
|
|
1388
1388
|
} else {
|
|
1389
|
-
this.
|
|
1390
|
-
this.
|
|
1389
|
+
this.d9_1 = this.e9_1;
|
|
1390
|
+
this.g9_1 = e;
|
|
1391
1391
|
}
|
|
1392
1392
|
}
|
|
1393
1393
|
while (true);
|
|
@@ -1404,58 +1404,58 @@
|
|
|
1404
1404
|
// Inline function 'kotlin.collections.groupBy' call
|
|
1405
1405
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
1406
1406
|
var destination = LinkedHashMap_init_$Create$();
|
|
1407
|
-
var _iterator__ex2g4s = from.
|
|
1408
|
-
while (_iterator__ex2g4s.
|
|
1409
|
-
var element = _iterator__ex2g4s.
|
|
1407
|
+
var _iterator__ex2g4s = from.t();
|
|
1408
|
+
while (_iterator__ex2g4s.u()) {
|
|
1409
|
+
var element = _iterator__ex2g4s.v();
|
|
1410
1410
|
var key = charAt(element, idx);
|
|
1411
1411
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1412
|
-
var value = destination.
|
|
1412
|
+
var value = destination.g3(key);
|
|
1413
1413
|
var tmp;
|
|
1414
1414
|
if (value == null) {
|
|
1415
1415
|
var answer = ArrayList_init_$Create$();
|
|
1416
|
-
destination.
|
|
1416
|
+
destination.y2(key, answer);
|
|
1417
1417
|
tmp = answer;
|
|
1418
1418
|
} else {
|
|
1419
1419
|
tmp = value;
|
|
1420
1420
|
}
|
|
1421
1421
|
var list = tmp;
|
|
1422
|
-
list.
|
|
1422
|
+
list.j1(element);
|
|
1423
1423
|
}
|
|
1424
1424
|
// Inline function 'kotlin.collections.forEach' call
|
|
1425
1425
|
// Inline function 'kotlin.collections.iterator' call
|
|
1426
|
-
var _iterator__ex2g4s_0 = destination.
|
|
1427
|
-
while (_iterator__ex2g4s_0.
|
|
1428
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
1426
|
+
var _iterator__ex2g4s_0 = destination.p1().t();
|
|
1427
|
+
while (_iterator__ex2g4s_0.u()) {
|
|
1428
|
+
var element_0 = _iterator__ex2g4s_0.v();
|
|
1429
1429
|
// Inline function 'kotlin.collections.component1' call
|
|
1430
|
-
var ch = element_0.
|
|
1430
|
+
var ch = element_0.q1().z1_1;
|
|
1431
1431
|
// Inline function 'kotlin.collections.component2' call
|
|
1432
|
-
var list_0 = element_0.
|
|
1432
|
+
var list_0 = element_0.r1();
|
|
1433
1433
|
var nextIdx = idx + 1 | 0;
|
|
1434
1434
|
var children = ArrayList_init_$Create$();
|
|
1435
1435
|
var tmp_0 = Companion_instance;
|
|
1436
1436
|
// Inline function 'kotlin.collections.filter' call
|
|
1437
1437
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1438
1438
|
var destination_0 = ArrayList_init_$Create$();
|
|
1439
|
-
var _iterator__ex2g4s_1 = list_0.
|
|
1440
|
-
while (_iterator__ex2g4s_1.
|
|
1441
|
-
var element_1 = _iterator__ex2g4s_1.
|
|
1439
|
+
var _iterator__ex2g4s_1 = list_0.t();
|
|
1440
|
+
while (_iterator__ex2g4s_1.u()) {
|
|
1441
|
+
var element_1 = _iterator__ex2g4s_1.v();
|
|
1442
1442
|
if (length(element_1) > nextIdx) {
|
|
1443
|
-
destination_0.
|
|
1443
|
+
destination_0.j1(element_1);
|
|
1444
1444
|
}
|
|
1445
1445
|
}
|
|
1446
1446
|
build(tmp_0, children, destination_0, maxLength, nextIdx, length, charAt);
|
|
1447
|
-
children.
|
|
1447
|
+
children.x5();
|
|
1448
1448
|
// Inline function 'kotlin.collections.filter' call
|
|
1449
1449
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1450
1450
|
var destination_1 = ArrayList_init_$Create$();
|
|
1451
|
-
var _iterator__ex2g4s_2 = list_0.
|
|
1452
|
-
while (_iterator__ex2g4s_2.
|
|
1453
|
-
var element_2 = _iterator__ex2g4s_2.
|
|
1451
|
+
var _iterator__ex2g4s_2 = list_0.t();
|
|
1452
|
+
while (_iterator__ex2g4s_2.u()) {
|
|
1453
|
+
var element_2 = _iterator__ex2g4s_2.v();
|
|
1454
1454
|
if (length(element_2) === nextIdx) {
|
|
1455
|
-
destination_1.
|
|
1455
|
+
destination_1.j1(element_2);
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
resultList.
|
|
1458
|
+
resultList.j1(new Node(ch, destination_1, children));
|
|
1459
1459
|
}
|
|
1460
1460
|
}
|
|
1461
1461
|
function AsciiCharTree$Companion$build$lambda(it) {
|
|
@@ -1465,26 +1465,26 @@
|
|
|
1465
1465
|
return new Char(charSequenceGet(s, idx));
|
|
1466
1466
|
}
|
|
1467
1467
|
function Node(ch, exact, children) {
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1470
|
-
this.
|
|
1468
|
+
this.f39_1 = ch;
|
|
1469
|
+
this.g39_1 = exact;
|
|
1470
|
+
this.h39_1 = children;
|
|
1471
1471
|
var tmp = this;
|
|
1472
1472
|
var tmp_0 = 0;
|
|
1473
1473
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1474
1474
|
var tmp_1 = Array(256);
|
|
1475
1475
|
while (tmp_0 < 256) {
|
|
1476
1476
|
var tmp_2 = tmp_0;
|
|
1477
|
-
var tmp0 = this.
|
|
1477
|
+
var tmp0 = this.h39_1;
|
|
1478
1478
|
var tmp$ret$3;
|
|
1479
1479
|
$l$block_0: {
|
|
1480
1480
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
1481
1481
|
var single = null;
|
|
1482
1482
|
var found = false;
|
|
1483
|
-
var _iterator__ex2g4s = tmp0.
|
|
1484
|
-
while (_iterator__ex2g4s.
|
|
1485
|
-
var element = _iterator__ex2g4s.
|
|
1483
|
+
var _iterator__ex2g4s = tmp0.t();
|
|
1484
|
+
while (_iterator__ex2g4s.u()) {
|
|
1485
|
+
var element = _iterator__ex2g4s.v();
|
|
1486
1486
|
// Inline function 'kotlin.code' call
|
|
1487
|
-
var this_0 = element.
|
|
1487
|
+
var this_0 = element.f39_1;
|
|
1488
1488
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1489
1489
|
if (found) {
|
|
1490
1490
|
tmp$ret$3 = null;
|
|
@@ -1503,38 +1503,38 @@
|
|
|
1503
1503
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
1504
1504
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1505
1505
|
}
|
|
1506
|
-
tmp.
|
|
1506
|
+
tmp.i39_1 = tmp_1;
|
|
1507
1507
|
}
|
|
1508
1508
|
function Companion() {
|
|
1509
1509
|
}
|
|
1510
|
-
protoOf(Companion).
|
|
1510
|
+
protoOf(Companion).g36 = function (from) {
|
|
1511
1511
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1512
|
-
return this.
|
|
1512
|
+
return this.j39(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1513
1513
|
};
|
|
1514
|
-
protoOf(Companion).
|
|
1514
|
+
protoOf(Companion).j39 = function (from, length, charAt) {
|
|
1515
1515
|
var tmp$ret$0;
|
|
1516
1516
|
$l$block_0: {
|
|
1517
1517
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
1518
|
-
var iterator = from.
|
|
1519
|
-
if (!iterator.
|
|
1518
|
+
var iterator = from.t();
|
|
1519
|
+
if (!iterator.u()) {
|
|
1520
1520
|
tmp$ret$0 = null;
|
|
1521
1521
|
break $l$block_0;
|
|
1522
1522
|
}
|
|
1523
|
-
var maxElem = iterator.
|
|
1524
|
-
if (!iterator.
|
|
1523
|
+
var maxElem = iterator.v();
|
|
1524
|
+
if (!iterator.u()) {
|
|
1525
1525
|
tmp$ret$0 = maxElem;
|
|
1526
1526
|
break $l$block_0;
|
|
1527
1527
|
}
|
|
1528
1528
|
var maxValue = length(maxElem);
|
|
1529
1529
|
do {
|
|
1530
|
-
var e = iterator.
|
|
1530
|
+
var e = iterator.v();
|
|
1531
1531
|
var v = length(e);
|
|
1532
1532
|
if (compareTo(maxValue, v) < 0) {
|
|
1533
1533
|
maxElem = e;
|
|
1534
1534
|
maxValue = v;
|
|
1535
1535
|
}
|
|
1536
1536
|
}
|
|
1537
|
-
while (iterator.
|
|
1537
|
+
while (iterator.u());
|
|
1538
1538
|
tmp$ret$0 = maxElem;
|
|
1539
1539
|
}
|
|
1540
1540
|
var tmp0_safe_receiver = tmp$ret$0;
|
|
@@ -1558,7 +1558,7 @@
|
|
|
1558
1558
|
// Inline function 'kotlin.collections.any' call
|
|
1559
1559
|
var tmp_1;
|
|
1560
1560
|
if (isInterface(from, Collection)) {
|
|
1561
|
-
tmp_1 = from.
|
|
1561
|
+
tmp_1 = from.r();
|
|
1562
1562
|
} else {
|
|
1563
1563
|
tmp_1 = false;
|
|
1564
1564
|
}
|
|
@@ -1566,9 +1566,9 @@
|
|
|
1566
1566
|
tmp$ret$2 = false;
|
|
1567
1567
|
break $l$block_2;
|
|
1568
1568
|
}
|
|
1569
|
-
var _iterator__ex2g4s = from.
|
|
1570
|
-
while (_iterator__ex2g4s.
|
|
1571
|
-
var element = _iterator__ex2g4s.
|
|
1569
|
+
var _iterator__ex2g4s = from.t();
|
|
1570
|
+
while (_iterator__ex2g4s.u()) {
|
|
1571
|
+
var element = _iterator__ex2g4s.v();
|
|
1572
1572
|
if (length(element) === 0) {
|
|
1573
1573
|
tmp$ret$2 = true;
|
|
1574
1574
|
break $l$block_2;
|
|
@@ -1580,7 +1580,7 @@
|
|
|
1580
1580
|
throw IllegalArgumentException_init_$Create$('There should be no empty entries');
|
|
1581
1581
|
var root = ArrayList_init_$Create$();
|
|
1582
1582
|
build(this, root, from, maxLen, 0, length, charAt);
|
|
1583
|
-
root.
|
|
1583
|
+
root.x5();
|
|
1584
1584
|
return new AsciiCharTree(new Node(_Char___init__impl__6a9atx(0), emptyList(), root));
|
|
1585
1585
|
};
|
|
1586
1586
|
var Companion_instance;
|
|
@@ -1588,10 +1588,10 @@
|
|
|
1588
1588
|
return Companion_instance;
|
|
1589
1589
|
}
|
|
1590
1590
|
function AsciiCharTree(root) {
|
|
1591
|
-
this.
|
|
1591
|
+
this.k39_1 = root;
|
|
1592
1592
|
}
|
|
1593
1593
|
function getImpl($this, index) {
|
|
1594
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1594
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.m34_1).length | 0];
|
|
1595
1595
|
}
|
|
1596
1596
|
function copy($this, startIndex, endIndex) {
|
|
1597
1597
|
if (startIndex === endIndex)
|
|
@@ -1612,7 +1612,7 @@
|
|
|
1612
1612
|
do {
|
|
1613
1613
|
var innerIndex = inductionVariable;
|
|
1614
1614
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1615
|
-
builder.
|
|
1615
|
+
builder.s(buffer[innerIndex]);
|
|
1616
1616
|
}
|
|
1617
1617
|
while (inductionVariable < innerEndIndex);
|
|
1618
1618
|
base = base + 2048 | 0;
|
|
@@ -1620,27 +1620,27 @@
|
|
|
1620
1620
|
return builder;
|
|
1621
1621
|
}
|
|
1622
1622
|
function SubSequenceImpl($outer, start, end) {
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
1625
|
-
this.
|
|
1626
|
-
this.
|
|
1623
|
+
this.o39_1 = $outer;
|
|
1624
|
+
this.l39_1 = start;
|
|
1625
|
+
this.m39_1 = end;
|
|
1626
|
+
this.n39_1 = null;
|
|
1627
1627
|
}
|
|
1628
1628
|
protoOf(SubSequenceImpl).a = function () {
|
|
1629
|
-
return this.
|
|
1629
|
+
return this.m39_1 - this.l39_1 | 0;
|
|
1630
1630
|
};
|
|
1631
1631
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1632
|
-
var withOffset = index + this.
|
|
1632
|
+
var withOffset = index + this.l39_1 | 0;
|
|
1633
1633
|
// Inline function 'kotlin.require' call
|
|
1634
1634
|
if (!(index >= 0)) {
|
|
1635
1635
|
var message = 'index is negative: ' + index;
|
|
1636
1636
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1637
1637
|
}
|
|
1638
1638
|
// Inline function 'kotlin.require' call
|
|
1639
|
-
if (!(withOffset < this.
|
|
1639
|
+
if (!(withOffset < this.m39_1)) {
|
|
1640
1640
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1641
1641
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1642
1642
|
}
|
|
1643
|
-
return getImpl(this.
|
|
1643
|
+
return getImpl(this.o39_1, withOffset);
|
|
1644
1644
|
};
|
|
1645
1645
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1646
1646
|
// Inline function 'kotlin.require' call
|
|
@@ -1654,21 +1654,21 @@
|
|
|
1654
1654
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1655
1655
|
}
|
|
1656
1656
|
// Inline function 'kotlin.require' call
|
|
1657
|
-
if (!(endIndex <= (this.
|
|
1657
|
+
if (!(endIndex <= (this.m39_1 - this.l39_1 | 0))) {
|
|
1658
1658
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1659
1659
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1660
1660
|
}
|
|
1661
1661
|
if (startIndex === endIndex)
|
|
1662
1662
|
return '';
|
|
1663
|
-
return new SubSequenceImpl(this.
|
|
1663
|
+
return new SubSequenceImpl(this.o39_1, this.l39_1 + startIndex | 0, this.l39_1 + endIndex | 0);
|
|
1664
1664
|
};
|
|
1665
1665
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1666
|
-
var tmp0_elvis_lhs = this.
|
|
1666
|
+
var tmp0_elvis_lhs = this.n39_1;
|
|
1667
1667
|
var tmp;
|
|
1668
1668
|
if (tmp0_elvis_lhs == null) {
|
|
1669
1669
|
// Inline function 'kotlin.also' call
|
|
1670
|
-
var this_0 = toString(copy(this.
|
|
1671
|
-
this.
|
|
1670
|
+
var this_0 = toString(copy(this.o39_1, this.l39_1, this.m39_1));
|
|
1671
|
+
this.n39_1 = this_0;
|
|
1672
1672
|
tmp = this_0;
|
|
1673
1673
|
} else {
|
|
1674
1674
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1680,20 +1680,20 @@
|
|
|
1680
1680
|
return false;
|
|
1681
1681
|
if (!(charSequenceLength(other) === this.a()))
|
|
1682
1682
|
return false;
|
|
1683
|
-
return rangeEqualsImpl(this.
|
|
1683
|
+
return rangeEqualsImpl(this.o39_1, this.l39_1, other, 0, this.a());
|
|
1684
1684
|
};
|
|
1685
1685
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1686
|
-
var tmp0_safe_receiver = this.
|
|
1686
|
+
var tmp0_safe_receiver = this.n39_1;
|
|
1687
1687
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1688
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1688
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.o39_1, this.l39_1, this.m39_1) : tmp1_elvis_lhs;
|
|
1689
1689
|
};
|
|
1690
1690
|
function bufferForIndex($this, index) {
|
|
1691
|
-
var list = $this.
|
|
1691
|
+
var list = $this.l34_1;
|
|
1692
1692
|
if (list == null) {
|
|
1693
1693
|
if (index >= 2048) {
|
|
1694
1694
|
throwSingleBuffer($this, index);
|
|
1695
1695
|
}
|
|
1696
|
-
var tmp0_elvis_lhs = $this.
|
|
1696
|
+
var tmp0_elvis_lhs = $this.m34_1;
|
|
1697
1697
|
var tmp;
|
|
1698
1698
|
if (tmp0_elvis_lhs == null) {
|
|
1699
1699
|
throwSingleBuffer($this, index);
|
|
@@ -1702,36 +1702,36 @@
|
|
|
1702
1702
|
}
|
|
1703
1703
|
return tmp;
|
|
1704
1704
|
}
|
|
1705
|
-
return list.
|
|
1705
|
+
return list.m1(index / ensureNotNull($this.m34_1).length | 0);
|
|
1706
1706
|
}
|
|
1707
1707
|
function throwSingleBuffer($this, index) {
|
|
1708
|
-
if ($this.
|
|
1708
|
+
if ($this.o34_1)
|
|
1709
1709
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1710
1710
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1711
1711
|
}
|
|
1712
1712
|
function nonFullBuffer($this) {
|
|
1713
|
-
return $this.
|
|
1713
|
+
return $this.p34_1 === 0 ? appendNewArray($this) : ensureNotNull($this.m34_1);
|
|
1714
1714
|
}
|
|
1715
1715
|
function appendNewArray($this) {
|
|
1716
|
-
var newBuffer = $this.
|
|
1717
|
-
var existing = $this.
|
|
1718
|
-
$this.
|
|
1719
|
-
$this.
|
|
1720
|
-
$this.
|
|
1716
|
+
var newBuffer = $this.k34_1.i1w();
|
|
1717
|
+
var existing = $this.m34_1;
|
|
1718
|
+
$this.m34_1 = newBuffer;
|
|
1719
|
+
$this.p34_1 = newBuffer.length;
|
|
1720
|
+
$this.o34_1 = false;
|
|
1721
1721
|
if (!(existing == null)) {
|
|
1722
|
-
var tmp0_elvis_lhs = $this.
|
|
1722
|
+
var tmp0_elvis_lhs = $this.l34_1;
|
|
1723
1723
|
var tmp;
|
|
1724
1724
|
if (tmp0_elvis_lhs == null) {
|
|
1725
1725
|
// Inline function 'kotlin.also' call
|
|
1726
1726
|
var this_0 = ArrayList_init_$Create$();
|
|
1727
|
-
$this.
|
|
1728
|
-
this_0.
|
|
1727
|
+
$this.l34_1 = this_0;
|
|
1728
|
+
this_0.j1(existing);
|
|
1729
1729
|
tmp = this_0;
|
|
1730
1730
|
} else {
|
|
1731
1731
|
tmp = tmp0_elvis_lhs;
|
|
1732
1732
|
}
|
|
1733
1733
|
var list = tmp;
|
|
1734
|
-
list.
|
|
1734
|
+
list.j1(newBuffer);
|
|
1735
1735
|
}
|
|
1736
1736
|
return newBuffer;
|
|
1737
1737
|
}
|
|
@@ -1763,20 +1763,20 @@
|
|
|
1763
1763
|
return hc;
|
|
1764
1764
|
}
|
|
1765
1765
|
function currentPosition($this) {
|
|
1766
|
-
return ensureNotNull($this.
|
|
1766
|
+
return ensureNotNull($this.m34_1).length - $this.p34_1 | 0;
|
|
1767
1767
|
}
|
|
1768
1768
|
function CharArrayBuilder(pool) {
|
|
1769
1769
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1775
|
-
this.
|
|
1776
|
-
this.
|
|
1770
|
+
this.k34_1 = pool;
|
|
1771
|
+
this.l34_1 = null;
|
|
1772
|
+
this.m34_1 = null;
|
|
1773
|
+
this.n34_1 = null;
|
|
1774
|
+
this.o34_1 = false;
|
|
1775
|
+
this.p34_1 = 0;
|
|
1776
|
+
this.q34_1 = 0;
|
|
1777
1777
|
}
|
|
1778
1778
|
protoOf(CharArrayBuilder).a = function () {
|
|
1779
|
-
return this.
|
|
1779
|
+
return this.q34_1;
|
|
1780
1780
|
};
|
|
1781
1781
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1782
1782
|
// Inline function 'kotlin.require' call
|
|
@@ -1785,8 +1785,8 @@
|
|
|
1785
1785
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1786
1786
|
}
|
|
1787
1787
|
// Inline function 'kotlin.require' call
|
|
1788
|
-
if (!(index < this.
|
|
1789
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1788
|
+
if (!(index < this.q34_1)) {
|
|
1789
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.q34_1 + ')';
|
|
1790
1790
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1791
1791
|
}
|
|
1792
1792
|
return getImpl(this, index);
|
|
@@ -1803,19 +1803,19 @@
|
|
|
1803
1803
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1804
1804
|
}
|
|
1805
1805
|
// Inline function 'kotlin.require' call
|
|
1806
|
-
if (!(endIndex <= this.
|
|
1807
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1806
|
+
if (!(endIndex <= this.q34_1)) {
|
|
1807
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.q34_1 + ')';
|
|
1808
1808
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1809
1809
|
}
|
|
1810
1810
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1811
1811
|
};
|
|
1812
1812
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1813
|
-
var tmp0_elvis_lhs = this.
|
|
1813
|
+
var tmp0_elvis_lhs = this.n34_1;
|
|
1814
1814
|
var tmp;
|
|
1815
1815
|
if (tmp0_elvis_lhs == null) {
|
|
1816
1816
|
// Inline function 'kotlin.also' call
|
|
1817
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1818
|
-
this.
|
|
1817
|
+
var this_0 = toString(copy(this, 0, this.q34_1));
|
|
1818
|
+
this.n34_1 = this_0;
|
|
1819
1819
|
tmp = this_0;
|
|
1820
1820
|
} else {
|
|
1821
1821
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1825,32 +1825,32 @@
|
|
|
1825
1825
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1826
1826
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1827
1827
|
return false;
|
|
1828
|
-
if (!(this.
|
|
1828
|
+
if (!(this.q34_1 === charSequenceLength(other)))
|
|
1829
1829
|
return false;
|
|
1830
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1830
|
+
return rangeEqualsImpl(this, 0, other, 0, this.q34_1);
|
|
1831
1831
|
};
|
|
1832
1832
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1833
|
-
var tmp0_safe_receiver = this.
|
|
1833
|
+
var tmp0_safe_receiver = this.n34_1;
|
|
1834
1834
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1835
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1835
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.q34_1) : tmp1_elvis_lhs;
|
|
1836
1836
|
};
|
|
1837
|
-
protoOf(CharArrayBuilder).
|
|
1838
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1839
|
-
this.
|
|
1840
|
-
this.
|
|
1841
|
-
this.
|
|
1837
|
+
protoOf(CharArrayBuilder).s = function (value) {
|
|
1838
|
+
nonFullBuffer(this)[ensureNotNull(this.m34_1).length - this.p34_1 | 0] = value;
|
|
1839
|
+
this.n34_1 = null;
|
|
1840
|
+
this.p34_1 = this.p34_1 - 1 | 0;
|
|
1841
|
+
this.q34_1 = this.q34_1 + 1 | 0;
|
|
1842
1842
|
return this;
|
|
1843
1843
|
};
|
|
1844
|
-
protoOf(CharArrayBuilder).
|
|
1844
|
+
protoOf(CharArrayBuilder).nc = function (value, startIndex, endIndex) {
|
|
1845
1845
|
if (value == null)
|
|
1846
1846
|
return this;
|
|
1847
1847
|
var current = startIndex;
|
|
1848
1848
|
while (current < endIndex) {
|
|
1849
1849
|
var buffer = nonFullBuffer(this);
|
|
1850
|
-
var offset = buffer.length - this.
|
|
1850
|
+
var offset = buffer.length - this.p34_1 | 0;
|
|
1851
1851
|
var tmp0 = endIndex - current | 0;
|
|
1852
1852
|
// Inline function 'kotlin.math.min' call
|
|
1853
|
-
var b = this.
|
|
1853
|
+
var b = this.p34_1;
|
|
1854
1854
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1855
1855
|
var inductionVariable = 0;
|
|
1856
1856
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1861,45 +1861,45 @@
|
|
|
1861
1861
|
}
|
|
1862
1862
|
while (inductionVariable < bytesToCopy);
|
|
1863
1863
|
current = current + bytesToCopy | 0;
|
|
1864
|
-
this.
|
|
1864
|
+
this.p34_1 = this.p34_1 - bytesToCopy | 0;
|
|
1865
1865
|
}
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1866
|
+
this.n34_1 = null;
|
|
1867
|
+
this.q34_1 = this.q34_1 + (endIndex - startIndex | 0) | 0;
|
|
1868
1868
|
return this;
|
|
1869
1869
|
};
|
|
1870
|
-
protoOf(CharArrayBuilder).
|
|
1870
|
+
protoOf(CharArrayBuilder).k1 = function (value) {
|
|
1871
1871
|
if (value == null)
|
|
1872
1872
|
return this;
|
|
1873
|
-
return this.
|
|
1873
|
+
return this.nc(value, 0, charSequenceLength(value));
|
|
1874
1874
|
};
|
|
1875
|
-
protoOf(CharArrayBuilder).
|
|
1876
|
-
var list = this.
|
|
1875
|
+
protoOf(CharArrayBuilder).c1h = function () {
|
|
1876
|
+
var list = this.l34_1;
|
|
1877
1877
|
if (!(list == null)) {
|
|
1878
|
-
this.
|
|
1878
|
+
this.m34_1 = null;
|
|
1879
1879
|
var inductionVariable = 0;
|
|
1880
|
-
var last = list.
|
|
1880
|
+
var last = list.l1();
|
|
1881
1881
|
if (inductionVariable < last)
|
|
1882
1882
|
do {
|
|
1883
1883
|
var i = inductionVariable;
|
|
1884
1884
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1885
|
-
this.
|
|
1885
|
+
this.k34_1.j1w(list.m1(i));
|
|
1886
1886
|
}
|
|
1887
1887
|
while (inductionVariable < last);
|
|
1888
1888
|
} else {
|
|
1889
|
-
var tmp0_safe_receiver = this.
|
|
1889
|
+
var tmp0_safe_receiver = this.m34_1;
|
|
1890
1890
|
if (tmp0_safe_receiver == null)
|
|
1891
1891
|
null;
|
|
1892
1892
|
else {
|
|
1893
1893
|
// Inline function 'kotlin.let' call
|
|
1894
|
-
this.
|
|
1894
|
+
this.k34_1.j1w(tmp0_safe_receiver);
|
|
1895
1895
|
}
|
|
1896
|
-
this.
|
|
1896
|
+
this.m34_1 = null;
|
|
1897
1897
|
}
|
|
1898
|
-
this.
|
|
1899
|
-
this.
|
|
1900
|
-
this.
|
|
1901
|
-
this.
|
|
1902
|
-
this.
|
|
1898
|
+
this.o34_1 = true;
|
|
1899
|
+
this.l34_1 = null;
|
|
1900
|
+
this.n34_1 = null;
|
|
1901
|
+
this.q34_1 = 0;
|
|
1902
|
+
this.p34_1 = 0;
|
|
1903
1903
|
};
|
|
1904
1904
|
function get_CharArrayPool() {
|
|
1905
1905
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1909,13 +1909,13 @@
|
|
|
1909
1909
|
function CharArrayPool$1() {
|
|
1910
1910
|
NoPoolImpl.call(this);
|
|
1911
1911
|
}
|
|
1912
|
-
protoOf(CharArrayPool$1).
|
|
1912
|
+
protoOf(CharArrayPool$1).i1w = function () {
|
|
1913
1913
|
return charArray(2048);
|
|
1914
1914
|
};
|
|
1915
1915
|
function CharArrayPool$2() {
|
|
1916
1916
|
DefaultPool.call(this, 4096);
|
|
1917
1917
|
}
|
|
1918
|
-
protoOf(CharArrayPool$2).
|
|
1918
|
+
protoOf(CharArrayPool$2).b1w = function () {
|
|
1919
1919
|
return charArray(2048);
|
|
1920
1920
|
};
|
|
1921
1921
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2106,26 +2106,26 @@
|
|
|
2106
2106
|
}
|
|
2107
2107
|
function DefaultHttpMethods$lambda(it) {
|
|
2108
2108
|
_init_properties_Chars_kt__d3i39x();
|
|
2109
|
-
return it.
|
|
2109
|
+
return it.n2x_1.length;
|
|
2110
2110
|
}
|
|
2111
2111
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2112
2112
|
_init_properties_Chars_kt__d3i39x();
|
|
2113
|
-
return new Char(charCodeAt(m.
|
|
2113
|
+
return new Char(charCodeAt(m.n2x_1, idx));
|
|
2114
2114
|
}
|
|
2115
2115
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2116
2116
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2117
2117
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2118
2118
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2119
2119
|
var tmp = Companion_instance;
|
|
2120
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2120
|
+
var tmp_0 = Companion_getInstance_0().m2x_1;
|
|
2121
2121
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2122
|
-
DefaultHttpMethods = tmp.
|
|
2122
|
+
DefaultHttpMethods = tmp.j39(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2123
2123
|
// Inline function 'kotlin.collections.map' call
|
|
2124
2124
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2125
2125
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2126
2126
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2127
|
-
var inductionVariable = this_0.
|
|
2128
|
-
var last = this_0.
|
|
2127
|
+
var inductionVariable = this_0.u1_1;
|
|
2128
|
+
var last = this_0.v1_1;
|
|
2129
2129
|
if (inductionVariable <= last)
|
|
2130
2130
|
do {
|
|
2131
2131
|
var item = inductionVariable;
|
|
@@ -2184,7 +2184,7 @@
|
|
|
2184
2184
|
}
|
|
2185
2185
|
}
|
|
2186
2186
|
var tmp$ret$8 = tmp_2;
|
|
2187
|
-
destination.
|
|
2187
|
+
destination.j1(tmp$ret$8);
|
|
2188
2188
|
}
|
|
2189
2189
|
while (!(item === last));
|
|
2190
2190
|
HexTable = toLongArray(destination);
|
|
@@ -2192,8 +2192,8 @@
|
|
|
2192
2192
|
var this_9 = numberRangeToNumber(0, 15);
|
|
2193
2193
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2194
2194
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_9, 10));
|
|
2195
|
-
var inductionVariable_0 = this_9.
|
|
2196
|
-
var last_0 = this_9.
|
|
2195
|
+
var inductionVariable_0 = this_9.u1_1;
|
|
2196
|
+
var last_0 = this_9.v1_1;
|
|
2197
2197
|
if (inductionVariable_0 <= last_0)
|
|
2198
2198
|
do {
|
|
2199
2199
|
var item_0 = inductionVariable_0;
|
|
@@ -2209,7 +2209,7 @@
|
|
|
2209
2209
|
tmp_9 = toByte(tmp$ret$0_0);
|
|
2210
2210
|
}
|
|
2211
2211
|
var tmp$ret$1_0 = tmp_9;
|
|
2212
|
-
destination_0.
|
|
2212
|
+
destination_0.j1(tmp$ret$1_0);
|
|
2213
2213
|
}
|
|
2214
2214
|
while (!(item_0 === last_0));
|
|
2215
2215
|
HexLetterTable = toByteArray_0(destination_0);
|
|
@@ -2220,11 +2220,11 @@
|
|
|
2220
2220
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2221
2221
|
}
|
|
2222
2222
|
function MutableRange(start, end) {
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2223
|
+
this.e36_1 = start;
|
|
2224
|
+
this.f36_1 = end;
|
|
2225
2225
|
}
|
|
2226
2226
|
protoOf(MutableRange).toString = function () {
|
|
2227
|
-
return 'MutableRange(start=' + this.
|
|
2227
|
+
return 'MutableRange(start=' + this.e36_1 + ', end=' + this.f36_1 + ')';
|
|
2228
2228
|
};
|
|
2229
2229
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2230
2230
|
var index = start;
|