@doordeck/doordeck-headless-sdk 0.194.0 → 0.195.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 +51 -51
- package/kotlin/Kermit-kermit.js +4 -4
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +19 -19
- package/kotlin/doordeck-sdk.d.ts +22 -22
- package/kotlin/doordeck-sdk.js +10675 -10685
- package/kotlin/kotlin-kotlin-stdlib.js +1215 -1389
- package/kotlin/kotlinx-atomicfu.js +13 -13
- package/kotlin/kotlinx-coroutines-core.js +2407 -2389
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +42 -42
- package/kotlin/kotlinx-io-kotlinx-io-core.js +624 -620
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1892 -1902
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1500 -1499
- package/kotlin/ktor-ktor-client-auth.js +268 -267
- package/kotlin/ktor-ktor-client-content-negotiation.js +137 -137
- package/kotlin/ktor-ktor-client-core.js +2224 -2223
- package/kotlin/ktor-ktor-client-logging.js +658 -657
- package/kotlin/ktor-ktor-events.js +8 -8
- package/kotlin/ktor-ktor-http-cio.js +375 -375
- package/kotlin/ktor-ktor-http.js +800 -799
- package/kotlin/ktor-ktor-io.js +650 -650
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +147 -146
- package/kotlin/ktor-ktor-serialization.js +62 -63
- package/kotlin/ktor-ktor-utils.js +730 -745
- package/kotlin/ktor-ktor-websockets.js +427 -429
- package/package.json +2 -2
|
@@ -7,96 +7,96 @@
|
|
|
7
7
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
8
8
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q1;
|
|
9
9
|
var initMetadataForClass = kotlin_kotlin.$_$.cb;
|
|
10
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.z;
|
|
11
11
|
var toString = kotlin_kotlin.$_$.cc;
|
|
12
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
12
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n2;
|
|
13
13
|
var abs = kotlin_kotlin.$_$.dc;
|
|
14
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
14
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d2;
|
|
15
15
|
var CoroutineImpl = kotlin_kotlin.$_$.l9;
|
|
16
16
|
var THROW_CCE = kotlin_kotlin.$_$.zf;
|
|
17
17
|
var SequenceScope = kotlin_kotlin.$_$.yc;
|
|
18
18
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
|
|
19
19
|
var initMetadataForLambda = kotlin_kotlin.$_$.hb;
|
|
20
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
20
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
21
21
|
var sequence = kotlin_kotlin.$_$.zc;
|
|
22
22
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
23
23
|
var fill = kotlin_kotlin.$_$.v6;
|
|
24
24
|
var isIntArray = kotlin_kotlin.$_$.qb;
|
|
25
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
25
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f3;
|
|
26
26
|
var endsWith = kotlin_kotlin.$_$.id;
|
|
27
27
|
var charSequenceLength = kotlin_kotlin.$_$.qa;
|
|
28
28
|
var charSequenceGet = kotlin_kotlin.$_$.pa;
|
|
29
29
|
var Char = kotlin_kotlin.$_$.lf;
|
|
30
|
-
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.
|
|
30
|
+
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.g3;
|
|
31
31
|
var contains = kotlin_kotlin.$_$.dd;
|
|
32
32
|
var charSequenceSubSequence = kotlin_kotlin.$_$.ra;
|
|
33
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
33
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.l3;
|
|
34
34
|
var IllegalStateException = kotlin_kotlin.$_$.uf;
|
|
35
|
-
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.
|
|
35
|
+
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.q2;
|
|
36
36
|
var captureStack = kotlin_kotlin.$_$.la;
|
|
37
|
-
var readLineStrictTo = kotlin_io_ktor_ktor_io.$_$.
|
|
38
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
37
|
+
var readLineStrictTo = kotlin_io_ktor_ktor_io.$_$.h;
|
|
38
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r2;
|
|
39
39
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.eb;
|
|
40
40
|
var setOf = kotlin_kotlin.$_$.a8;
|
|
41
|
-
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.
|
|
42
|
-
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.
|
|
41
|
+
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.c;
|
|
42
|
+
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.q;
|
|
43
43
|
var listOf = kotlin_kotlin.$_$.o7;
|
|
44
44
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
45
|
-
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.
|
|
45
|
+
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.b;
|
|
46
46
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
47
47
|
var toString_0 = kotlin_kotlin.$_$.ve;
|
|
48
48
|
var toByte = kotlin_kotlin.$_$.ac;
|
|
49
49
|
var copyOfRange = kotlin_kotlin.$_$.d6;
|
|
50
50
|
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
51
51
|
var startsWith = kotlin_kotlin.$_$.ee;
|
|
52
|
-
var readUntil = kotlin_io_ktor_ktor_io.$_$.
|
|
52
|
+
var readUntil = kotlin_io_ktor_ktor_io.$_$.l;
|
|
53
53
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
54
54
|
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
55
55
|
var isInterface = kotlin_kotlin.$_$.rb;
|
|
56
56
|
var counted = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
57
57
|
var writer = kotlin_io_ktor_ktor_io.$_$.w1;
|
|
58
|
-
var readRemaining = kotlin_io_ktor_ktor_io.$_$.
|
|
58
|
+
var readRemaining = kotlin_io_ktor_ktor_io.$_$.j;
|
|
59
59
|
var get_remaining = kotlin_io_ktor_ktor_io.$_$.c1;
|
|
60
|
-
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.
|
|
60
|
+
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.m;
|
|
61
61
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.l1;
|
|
62
62
|
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l1;
|
|
63
|
-
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.
|
|
63
|
+
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
64
64
|
var close = kotlin_io_ktor_ktor_io.$_$.r1;
|
|
65
65
|
var subtract = kotlin_kotlin.$_$.fa;
|
|
66
66
|
var convertToInt = kotlin_kotlin.$_$.t9;
|
|
67
|
-
var readPacket = kotlin_io_ktor_ktor_io.$_$.
|
|
67
|
+
var readPacket = kotlin_io_ktor_ktor_io.$_$.i;
|
|
68
68
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
69
|
-
var copyTo = kotlin_io_ktor_ktor_io.$_$.
|
|
69
|
+
var copyTo = kotlin_io_ktor_ktor_io.$_$.d;
|
|
70
70
|
var add = kotlin_kotlin.$_$.r9;
|
|
71
71
|
var fromInt = kotlin_kotlin.$_$.w9;
|
|
72
72
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.f1;
|
|
73
73
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
74
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
74
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
75
75
|
var compareTo = kotlin_kotlin.$_$.sa;
|
|
76
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
76
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.x2;
|
|
77
77
|
var Collection = kotlin_kotlin.$_$.e5;
|
|
78
78
|
var emptyList = kotlin_kotlin.$_$.s6;
|
|
79
79
|
var initMetadataForCompanion = kotlin_kotlin.$_$.db;
|
|
80
80
|
var ensureNotNull = kotlin_kotlin.$_$.rg;
|
|
81
|
-
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
81
|
+
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.c2;
|
|
82
82
|
var isCharSequence = kotlin_kotlin.$_$.nb;
|
|
83
83
|
var getStringHashCode = kotlin_kotlin.$_$.ab;
|
|
84
84
|
var CharSequence = kotlin_kotlin.$_$.kf;
|
|
85
|
-
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.
|
|
85
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u2;
|
|
86
86
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.k1;
|
|
87
87
|
var charArray = kotlin_kotlin.$_$.na;
|
|
88
88
|
var shiftLeft = kotlin_kotlin.$_$.da;
|
|
89
|
-
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.
|
|
90
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
89
|
+
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.y2;
|
|
90
|
+
var toString_1 = kotlin_kotlin.$_$.m3;
|
|
91
91
|
var charCodeAt = kotlin_kotlin.$_$.oa;
|
|
92
92
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
93
93
|
var numberRangeToNumber = kotlin_kotlin.$_$.wb;
|
|
94
94
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.x5;
|
|
95
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
95
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i1;
|
|
96
96
|
var numberToLong = kotlin_kotlin.$_$.ca;
|
|
97
97
|
var toLongArray = kotlin_kotlin.$_$.k8;
|
|
98
|
-
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.
|
|
99
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
98
|
+
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.j3;
|
|
99
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.i3;
|
|
100
100
|
var toByteArray_0 = kotlin_kotlin.$_$.f8;
|
|
101
101
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
102
102
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
@@ -132,12 +132,12 @@
|
|
|
132
132
|
//endregion
|
|
133
133
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
134
134
|
formFieldLimit = formFieldLimit === VOID ? 65536n : formFieldLimit;
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
137
|
-
this.
|
|
135
|
+
this.c36_1 = coroutineContext;
|
|
136
|
+
this.d36_1 = null;
|
|
137
|
+
this.e36_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
138
138
|
}
|
|
139
|
-
protoOf(CIOMultipartDataBase).
|
|
140
|
-
return this.
|
|
139
|
+
protoOf(CIOMultipartDataBase).ss = function () {
|
|
140
|
+
return this.c36_1;
|
|
141
141
|
};
|
|
142
142
|
function get_IntArrayPool() {
|
|
143
143
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -150,103 +150,103 @@
|
|
|
150
150
|
}
|
|
151
151
|
var HeadersDataPool;
|
|
152
152
|
function thresholdReached($this) {
|
|
153
|
-
return $this.
|
|
153
|
+
return $this.g36_1 >= $this.h36_1 * 0.75;
|
|
154
154
|
}
|
|
155
155
|
function resize($this) {
|
|
156
|
-
var prevSize = $this.
|
|
157
|
-
var prevData = $this.
|
|
158
|
-
$this.
|
|
159
|
-
$this.
|
|
156
|
+
var prevSize = $this.g36_1;
|
|
157
|
+
var prevData = $this.i36_1;
|
|
158
|
+
$this.g36_1 = 0;
|
|
159
|
+
$this.h36_1 = imul($this.h36_1, 2) | 128;
|
|
160
160
|
var tmp = $this;
|
|
161
161
|
// Inline function 'kotlin.apply' call
|
|
162
|
-
var this_0 = get_HeadersDataPool().
|
|
163
|
-
this_0.
|
|
164
|
-
tmp.
|
|
165
|
-
var _iterator__ex2g4s = prevData.
|
|
162
|
+
var this_0 = get_HeadersDataPool().m1y();
|
|
163
|
+
this_0.l36(imul(prevData.k36(), 2) | 1);
|
|
164
|
+
tmp.i36_1 = this_0;
|
|
165
|
+
var _iterator__ex2g4s = prevData.m36().t();
|
|
166
166
|
while (_iterator__ex2g4s.u()) {
|
|
167
167
|
var headerOffset = _iterator__ex2g4s.v();
|
|
168
|
-
$this.
|
|
168
|
+
$this.o36(prevData.n36(headerOffset + 1 | 0), prevData.n36(headerOffset + 2 | 0), prevData.n36(headerOffset + 3 | 0), prevData.n36(headerOffset + 4 | 0));
|
|
169
169
|
}
|
|
170
|
-
get_HeadersDataPool().
|
|
170
|
+
get_HeadersDataPool().n1y(prevData);
|
|
171
171
|
// Inline function 'kotlin.require' call
|
|
172
172
|
// Inline function 'kotlin.require' call
|
|
173
|
-
if (!(prevSize === $this.
|
|
173
|
+
if (!(prevSize === $this.g36_1)) {
|
|
174
174
|
var message = 'Failed requirement.';
|
|
175
175
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
function headerHasName($this, name, headerOffset) {
|
|
179
|
-
var nameStartIndex = $this.
|
|
180
|
-
var nameEndIndex = $this.
|
|
181
|
-
return equalsLowerCase($this.
|
|
179
|
+
var nameStartIndex = $this.i36_1.n36(headerOffset + 1 | 0);
|
|
180
|
+
var nameEndIndex = $this.i36_1.n36(headerOffset + 2 | 0);
|
|
181
|
+
return equalsLowerCase($this.f36_1, nameStartIndex, nameEndIndex, name);
|
|
182
182
|
}
|
|
183
183
|
function HttpHeadersMap(builder) {
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
184
|
+
this.f36_1 = builder;
|
|
185
|
+
this.g36_1 = 0;
|
|
186
|
+
this.h36_1 = 0;
|
|
187
|
+
this.i36_1 = get_HeadersDataPool().m1y();
|
|
188
188
|
}
|
|
189
|
-
protoOf(HttpHeadersMap).
|
|
190
|
-
if (this.
|
|
189
|
+
protoOf(HttpHeadersMap).l2m = function (name) {
|
|
190
|
+
if (this.g36_1 === 0)
|
|
191
191
|
return null;
|
|
192
192
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
193
193
|
var this_0 = hashCodeLowerCase(name);
|
|
194
194
|
var hash = abs(this_0);
|
|
195
|
-
var headerIndex = hash % this.
|
|
196
|
-
while (!(this.
|
|
195
|
+
var headerIndex = hash % this.h36_1 | 0;
|
|
196
|
+
while (!(this.i36_1.n36(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
197
197
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
198
|
-
return this.
|
|
198
|
+
return this.p36(imul(headerIndex, 6));
|
|
199
199
|
}
|
|
200
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
200
|
+
headerIndex = (headerIndex + 1 | 0) % this.h36_1 | 0;
|
|
201
201
|
}
|
|
202
202
|
return null;
|
|
203
203
|
};
|
|
204
|
-
protoOf(HttpHeadersMap).
|
|
205
|
-
return this.
|
|
204
|
+
protoOf(HttpHeadersMap).q36 = function () {
|
|
205
|
+
return this.i36_1.m36();
|
|
206
206
|
};
|
|
207
|
-
protoOf(HttpHeadersMap).
|
|
207
|
+
protoOf(HttpHeadersMap).o36 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
208
208
|
if (thresholdReached(this)) {
|
|
209
209
|
resize(this);
|
|
210
210
|
}
|
|
211
211
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
212
|
-
var this_0 = hashCodeLowerCase(this.
|
|
212
|
+
var this_0 = hashCodeLowerCase(this.f36_1, nameStartIndex, nameEndIndex);
|
|
213
213
|
var hash = abs(this_0);
|
|
214
|
-
var name = this.
|
|
215
|
-
var headerIndex = hash % this.
|
|
214
|
+
var name = this.f36_1.c(nameStartIndex, nameEndIndex);
|
|
215
|
+
var headerIndex = hash % this.h36_1 | 0;
|
|
216
216
|
var sameNameHeaderIndex = -1;
|
|
217
|
-
while (!(this.
|
|
217
|
+
while (!(this.i36_1.n36(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
218
218
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
219
219
|
sameNameHeaderIndex = headerIndex;
|
|
220
220
|
}
|
|
221
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
221
|
+
headerIndex = (headerIndex + 1 | 0) % this.h36_1 | 0;
|
|
222
222
|
}
|
|
223
223
|
var headerOffset = imul(headerIndex, 6);
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
224
|
+
this.i36_1.y36(headerOffset + 0 | 0, hash);
|
|
225
|
+
this.i36_1.y36(headerOffset + 1 | 0, nameStartIndex);
|
|
226
|
+
this.i36_1.y36(headerOffset + 2 | 0, nameEndIndex);
|
|
227
|
+
this.i36_1.y36(headerOffset + 3 | 0, valueStartIndex);
|
|
228
|
+
this.i36_1.y36(headerOffset + 4 | 0, valueEndIndex);
|
|
229
|
+
this.i36_1.y36(headerOffset + 5 | 0, -1);
|
|
230
230
|
if (!(sameNameHeaderIndex === -1)) {
|
|
231
|
-
this.
|
|
231
|
+
this.i36_1.y36(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
232
232
|
}
|
|
233
|
-
this.
|
|
233
|
+
this.g36_1 = this.g36_1 + 1 | 0;
|
|
234
234
|
};
|
|
235
|
-
protoOf(HttpHeadersMap).
|
|
236
|
-
var nameStartIndex = this.
|
|
237
|
-
var nameEndIndex = this.
|
|
238
|
-
return this.
|
|
235
|
+
protoOf(HttpHeadersMap).z36 = function (headerOffset) {
|
|
236
|
+
var nameStartIndex = this.i36_1.n36(headerOffset + 1 | 0);
|
|
237
|
+
var nameEndIndex = this.i36_1.n36(headerOffset + 2 | 0);
|
|
238
|
+
return this.f36_1.c(nameStartIndex, nameEndIndex);
|
|
239
239
|
};
|
|
240
|
-
protoOf(HttpHeadersMap).
|
|
241
|
-
var valueStartIndex = this.
|
|
242
|
-
var valueEndIndex = this.
|
|
243
|
-
return this.
|
|
240
|
+
protoOf(HttpHeadersMap).p36 = function (headerOffset) {
|
|
241
|
+
var valueStartIndex = this.i36_1.n36(headerOffset + 3 | 0);
|
|
242
|
+
var valueEndIndex = this.i36_1.n36(headerOffset + 4 | 0);
|
|
243
|
+
return this.f36_1.c(valueStartIndex, valueEndIndex);
|
|
244
244
|
};
|
|
245
|
-
protoOf(HttpHeadersMap).
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
get_HeadersDataPool().
|
|
249
|
-
this.
|
|
245
|
+
protoOf(HttpHeadersMap).g1j = function () {
|
|
246
|
+
this.g36_1 = 0;
|
|
247
|
+
this.h36_1 = 0;
|
|
248
|
+
get_HeadersDataPool().n1y(this.i36_1);
|
|
249
|
+
this.i36_1 = get_HeadersDataPool().m1y();
|
|
250
250
|
};
|
|
251
251
|
protoOf(HttpHeadersMap).toString = function () {
|
|
252
252
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -256,17 +256,17 @@
|
|
|
256
256
|
return this_0.toString();
|
|
257
257
|
};
|
|
258
258
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
259
|
-
this.
|
|
259
|
+
this.i37_1 = this$0;
|
|
260
260
|
CoroutineImpl.call(this, resultContinuation);
|
|
261
261
|
}
|
|
262
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
263
|
-
var tmp = this.
|
|
262
|
+
protoOf(HeadersData$headersStarts$slambda).o37 = function ($this$sequence, $completion) {
|
|
263
|
+
var tmp = this.p37($this$sequence, $completion);
|
|
264
264
|
tmp.c9_1 = Unit_instance;
|
|
265
265
|
tmp.d9_1 = null;
|
|
266
266
|
return tmp.i9();
|
|
267
267
|
};
|
|
268
268
|
protoOf(HeadersData$headersStarts$slambda).u9 = function (p1, $completion) {
|
|
269
|
-
return this.
|
|
269
|
+
return this.o37(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
270
270
|
};
|
|
271
271
|
protoOf(HeadersData$headersStarts$slambda).i9 = function () {
|
|
272
272
|
var suspendResult = this.c9_1;
|
|
@@ -276,29 +276,29 @@
|
|
|
276
276
|
switch (tmp) {
|
|
277
277
|
case 0:
|
|
278
278
|
this.b9_1 = 7;
|
|
279
|
-
this.
|
|
280
|
-
this.
|
|
279
|
+
this.k37_1 = 0;
|
|
280
|
+
this.n37_1 = this.i37_1.j36_1.t();
|
|
281
281
|
this.a9_1 = 1;
|
|
282
282
|
continue $sm;
|
|
283
283
|
case 1:
|
|
284
|
-
if (!this.
|
|
284
|
+
if (!this.n37_1.u()) {
|
|
285
285
|
this.a9_1 = 6;
|
|
286
286
|
continue $sm;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
289
|
+
this.m37_1 = this.n37_1.v();
|
|
290
|
+
this.l37_1 = 0;
|
|
291
291
|
this.a9_1 = 2;
|
|
292
292
|
continue $sm;
|
|
293
293
|
case 2:
|
|
294
|
-
if (!(this.
|
|
294
|
+
if (!(this.l37_1 < this.m37_1.length)) {
|
|
295
295
|
this.a9_1 = 5;
|
|
296
296
|
continue $sm;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
if (!(this.
|
|
299
|
+
if (!(this.i37_1.n36(this.k37_1 + 0 | 0) === -1)) {
|
|
300
300
|
this.a9_1 = 3;
|
|
301
|
-
suspendResult = this.
|
|
301
|
+
suspendResult = this.j37_1.gg(this.k37_1, this);
|
|
302
302
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
303
303
|
return suspendResult;
|
|
304
304
|
}
|
|
@@ -312,8 +312,8 @@
|
|
|
312
312
|
this.a9_1 = 4;
|
|
313
313
|
continue $sm;
|
|
314
314
|
case 4:
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
315
|
+
this.l37_1 = this.l37_1 + 6 | 0;
|
|
316
|
+
this.k37_1 = this.k37_1 + 6 | 0;
|
|
317
317
|
this.a9_1 = 2;
|
|
318
318
|
continue $sm;
|
|
319
319
|
case 5:
|
|
@@ -335,15 +335,15 @@
|
|
|
335
335
|
}
|
|
336
336
|
while (true);
|
|
337
337
|
};
|
|
338
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
339
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
340
|
-
i.
|
|
338
|
+
protoOf(HeadersData$headersStarts$slambda).p37 = function ($this$sequence, completion) {
|
|
339
|
+
var i = new HeadersData$headersStarts$slambda(this.i37_1, completion);
|
|
340
|
+
i.j37_1 = $this$sequence;
|
|
341
341
|
return i;
|
|
342
342
|
};
|
|
343
343
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
344
344
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
345
345
|
var l = function ($this$sequence, $completion) {
|
|
346
|
-
return i.
|
|
346
|
+
return i.o37($this$sequence, $completion);
|
|
347
347
|
};
|
|
348
348
|
l.$arity = 1;
|
|
349
349
|
return l;
|
|
@@ -351,55 +351,55 @@
|
|
|
351
351
|
function HeadersData() {
|
|
352
352
|
var tmp = this;
|
|
353
353
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
354
|
-
tmp.
|
|
354
|
+
tmp.j36_1 = ArrayList_init_$Create$();
|
|
355
355
|
}
|
|
356
|
-
protoOf(HeadersData).
|
|
357
|
-
return this.
|
|
356
|
+
protoOf(HeadersData).k36 = function () {
|
|
357
|
+
return this.j36_1.l1();
|
|
358
358
|
};
|
|
359
|
-
protoOf(HeadersData).
|
|
359
|
+
protoOf(HeadersData).l36 = function (subArraysCount) {
|
|
360
360
|
// Inline function 'kotlin.repeat' call
|
|
361
361
|
var inductionVariable = 0;
|
|
362
362
|
if (inductionVariable < subArraysCount)
|
|
363
363
|
do {
|
|
364
364
|
var index = inductionVariable;
|
|
365
365
|
inductionVariable = inductionVariable + 1 | 0;
|
|
366
|
-
this.
|
|
366
|
+
this.j36_1.j1(get_IntArrayPool().m1y());
|
|
367
367
|
}
|
|
368
368
|
while (inductionVariable < subArraysCount);
|
|
369
369
|
};
|
|
370
|
-
protoOf(HeadersData).
|
|
371
|
-
return this.
|
|
370
|
+
protoOf(HeadersData).n36 = function (index) {
|
|
371
|
+
return this.j36_1.m1(index / 768 | 0)[index % 768 | 0];
|
|
372
372
|
};
|
|
373
|
-
protoOf(HeadersData).
|
|
374
|
-
this.
|
|
373
|
+
protoOf(HeadersData).y36 = function (index, value) {
|
|
374
|
+
this.j36_1.m1(index / 768 | 0)[index % 768 | 0] = value;
|
|
375
375
|
};
|
|
376
|
-
protoOf(HeadersData).
|
|
376
|
+
protoOf(HeadersData).m36 = function () {
|
|
377
377
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
378
378
|
};
|
|
379
|
-
protoOf(HeadersData).
|
|
380
|
-
var _iterator__ex2g4s = this.
|
|
379
|
+
protoOf(HeadersData).g1j = function () {
|
|
380
|
+
var _iterator__ex2g4s = this.j36_1.t();
|
|
381
381
|
while (_iterator__ex2g4s.u()) {
|
|
382
382
|
var array = _iterator__ex2g4s.v();
|
|
383
|
-
get_IntArrayPool().
|
|
383
|
+
get_IntArrayPool().n1y(array);
|
|
384
384
|
}
|
|
385
|
-
this.
|
|
385
|
+
this.j36_1.t2();
|
|
386
386
|
};
|
|
387
387
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
388
388
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
389
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
389
|
+
var _iterator__ex2g4s = _this__u8e3s4.q36().t();
|
|
390
390
|
while (_iterator__ex2g4s.u()) {
|
|
391
391
|
var offset = _iterator__ex2g4s.v();
|
|
392
392
|
out.k1(indent);
|
|
393
|
-
out.k1(_this__u8e3s4.
|
|
393
|
+
out.k1(_this__u8e3s4.z36(offset));
|
|
394
394
|
out.k1(' => ');
|
|
395
|
-
out.k1(_this__u8e3s4.
|
|
395
|
+
out.k1(_this__u8e3s4.p36(offset));
|
|
396
396
|
out.k1('\n');
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
399
|
function IntArrayPool$1() {
|
|
400
400
|
DefaultPool.call(this, 1000);
|
|
401
401
|
}
|
|
402
|
-
protoOf(IntArrayPool$1).
|
|
402
|
+
protoOf(IntArrayPool$1).f1y = function () {
|
|
403
403
|
var tmp = 0;
|
|
404
404
|
var tmp_0 = new Int32Array(768);
|
|
405
405
|
while (tmp < 768) {
|
|
@@ -408,25 +408,25 @@
|
|
|
408
408
|
}
|
|
409
409
|
return tmp_0;
|
|
410
410
|
};
|
|
411
|
-
protoOf(IntArrayPool$1).
|
|
411
|
+
protoOf(IntArrayPool$1).t37 = function (instance) {
|
|
412
412
|
fill(instance, -1);
|
|
413
|
-
return protoOf(DefaultPool).
|
|
413
|
+
return protoOf(DefaultPool).k1y.call(this, instance);
|
|
414
414
|
};
|
|
415
|
-
protoOf(IntArrayPool$1).
|
|
416
|
-
return this.
|
|
415
|
+
protoOf(IntArrayPool$1).k1y = function (instance) {
|
|
416
|
+
return this.t37(isIntArray(instance) ? instance : THROW_CCE());
|
|
417
417
|
};
|
|
418
418
|
function HeadersDataPool$1() {
|
|
419
419
|
DefaultPool.call(this, 1000);
|
|
420
420
|
}
|
|
421
|
-
protoOf(HeadersDataPool$1).
|
|
421
|
+
protoOf(HeadersDataPool$1).f1y = function () {
|
|
422
422
|
return new HeadersData();
|
|
423
423
|
};
|
|
424
|
-
protoOf(HeadersDataPool$1).
|
|
425
|
-
instance.
|
|
426
|
-
return protoOf(DefaultPool).
|
|
424
|
+
protoOf(HeadersDataPool$1).x37 = function (instance) {
|
|
425
|
+
instance.g1j();
|
|
426
|
+
return protoOf(DefaultPool).k1y.call(this, instance);
|
|
427
427
|
};
|
|
428
|
-
protoOf(HeadersDataPool$1).
|
|
429
|
-
return this.
|
|
428
|
+
protoOf(HeadersDataPool$1).k1y = function (instance) {
|
|
429
|
+
return this.x37(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
430
430
|
};
|
|
431
431
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
432
432
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -452,16 +452,16 @@
|
|
|
452
452
|
}
|
|
453
453
|
function parseHeaderName(text, range) {
|
|
454
454
|
_init_properties_HttpParser_kt__gbdom1();
|
|
455
|
-
var index = range.
|
|
456
|
-
var end = range.
|
|
455
|
+
var index = range.l38_1;
|
|
456
|
+
var end = range.m38_1;
|
|
457
457
|
while (index < end) {
|
|
458
458
|
var ch = text.b(index);
|
|
459
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
460
|
-
range.
|
|
459
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.l38_1)) {
|
|
460
|
+
range.l38_1 = index + 1 | 0;
|
|
461
461
|
return index;
|
|
462
462
|
}
|
|
463
463
|
if (isDelimiter(ch)) {
|
|
464
|
-
parseHeaderNameFailed(text, index, range.
|
|
464
|
+
parseHeaderNameFailed(text, index, range.l38_1, ch);
|
|
465
465
|
}
|
|
466
466
|
index = index + 1 | 0;
|
|
467
467
|
}
|
|
@@ -469,12 +469,12 @@
|
|
|
469
469
|
}
|
|
470
470
|
function parseHeaderValue(text, range) {
|
|
471
471
|
_init_properties_HttpParser_kt__gbdom1();
|
|
472
|
-
var start = range.
|
|
473
|
-
var end = range.
|
|
472
|
+
var start = range.l38_1;
|
|
473
|
+
var end = range.m38_1;
|
|
474
474
|
var index = start;
|
|
475
475
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
476
476
|
if (index >= end) {
|
|
477
|
-
range.
|
|
477
|
+
range.l38_1 = end;
|
|
478
478
|
return Unit_instance;
|
|
479
479
|
}
|
|
480
480
|
var valueStart = index;
|
|
@@ -488,15 +488,15 @@
|
|
|
488
488
|
valueLastIndex = index;
|
|
489
489
|
index = index + 1 | 0;
|
|
490
490
|
}
|
|
491
|
-
range.
|
|
492
|
-
range.
|
|
491
|
+
range.l38_1 = valueStart;
|
|
492
|
+
range.m38_1 = valueLastIndex + 1 | 0;
|
|
493
493
|
}
|
|
494
494
|
function validateHostHeader(host) {
|
|
495
495
|
_init_properties_HttpParser_kt__gbdom1();
|
|
496
496
|
if (endsWith(host, ':')) {
|
|
497
497
|
throw new ParserException("Host header with ':' should contains port: " + toString(host));
|
|
498
498
|
}
|
|
499
|
-
var tmp$ret$
|
|
499
|
+
var tmp$ret$0;
|
|
500
500
|
$l$block: {
|
|
501
501
|
// Inline function 'kotlin.text.any' call
|
|
502
502
|
var inductionVariable = 0;
|
|
@@ -504,13 +504,13 @@
|
|
|
504
504
|
var element = charSequenceGet(host, inductionVariable);
|
|
505
505
|
inductionVariable = inductionVariable + 1 | 0;
|
|
506
506
|
if (get_hostForbiddenSymbols().n2(new Char(element))) {
|
|
507
|
-
tmp$ret$
|
|
507
|
+
tmp$ret$0 = true;
|
|
508
508
|
break $l$block;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
tmp$ret$
|
|
511
|
+
tmp$ret$0 = false;
|
|
512
512
|
}
|
|
513
|
-
if (tmp$ret$
|
|
513
|
+
if (tmp$ret$0) {
|
|
514
514
|
throw new ParserException('Host cannot contain any of the following symbols: ' + toString(get_hostForbiddenSymbols()));
|
|
515
515
|
}
|
|
516
516
|
}
|
|
@@ -530,9 +530,9 @@
|
|
|
530
530
|
}
|
|
531
531
|
function noColonFound(text, range) {
|
|
532
532
|
_init_properties_HttpParser_kt__gbdom1();
|
|
533
|
-
var tmp2 = range.
|
|
533
|
+
var tmp2 = range.l38_1;
|
|
534
534
|
// Inline function 'kotlin.text.substring' call
|
|
535
|
-
var endIndex = range.
|
|
535
|
+
var endIndex = range.m38_1;
|
|
536
536
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
537
537
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
538
538
|
}
|
|
@@ -548,9 +548,9 @@
|
|
|
548
548
|
}
|
|
549
549
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
550
550
|
CoroutineImpl.call(this, resultContinuation);
|
|
551
|
-
this.
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
551
|
+
this.g38_1 = input;
|
|
552
|
+
this.h38_1 = builder;
|
|
553
|
+
this.i38_1 = range;
|
|
554
554
|
}
|
|
555
555
|
protoOf($parseHeadersCOROUTINE$).i9 = function () {
|
|
556
556
|
var suspendResult = this.c9_1;
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
switch (tmp) {
|
|
561
561
|
case 0:
|
|
562
562
|
this.b9_1 = 7;
|
|
563
|
-
this.
|
|
563
|
+
this.j38_1 = new HttpHeadersMap(this.h38_1);
|
|
564
564
|
this.b9_1 = 6;
|
|
565
565
|
this.a9_1 = 1;
|
|
566
566
|
continue $sm;
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
this.a9_1 = 2;
|
|
574
|
-
suspendResult = readLineStrictTo(this.
|
|
574
|
+
suspendResult = readLineStrictTo(this.g38_1, this.h38_1, 8192n, VOID, this);
|
|
575
575
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
576
576
|
return suspendResult;
|
|
577
577
|
}
|
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
continue $sm;
|
|
580
580
|
case 2:
|
|
581
581
|
if (suspendResult === -1n) {
|
|
582
|
-
this.
|
|
582
|
+
this.j38_1.g1j();
|
|
583
583
|
return null;
|
|
584
584
|
} else {
|
|
585
585
|
this.a9_1 = 3;
|
|
@@ -587,9 +587,9 @@
|
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
case 3:
|
|
590
|
-
this.m38_1
|
|
591
|
-
this.
|
|
592
|
-
if (this.
|
|
590
|
+
this.i38_1.m38_1 = this.h38_1.x36_1;
|
|
591
|
+
this.k38_1 = this.i38_1.m38_1 - this.i38_1.l38_1 | 0;
|
|
592
|
+
if (this.k38_1 === 0) {
|
|
593
593
|
this.a9_1 = 5;
|
|
594
594
|
continue $sm;
|
|
595
595
|
} else {
|
|
@@ -598,34 +598,34 @@
|
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
case 4:
|
|
601
|
-
if (this.
|
|
601
|
+
if (this.k38_1 >= 8192) {
|
|
602
602
|
var message = 'Header line length limit exceeded';
|
|
603
603
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
604
604
|
}
|
|
605
605
|
|
|
606
|
-
var nameStart = this.
|
|
607
|
-
var nameEnd = parseHeaderName(this.
|
|
608
|
-
var headerEnd = this.m38_1
|
|
609
|
-
parseHeaderValue(this.
|
|
610
|
-
var valueStart = this.
|
|
611
|
-
var valueEnd = this.m38_1
|
|
612
|
-
this.
|
|
613
|
-
this.
|
|
606
|
+
var nameStart = this.i38_1.l38_1;
|
|
607
|
+
var nameEnd = parseHeaderName(this.h38_1, this.i38_1);
|
|
608
|
+
var headerEnd = this.i38_1.m38_1;
|
|
609
|
+
parseHeaderValue(this.h38_1, this.i38_1);
|
|
610
|
+
var valueStart = this.i38_1.l38_1;
|
|
611
|
+
var valueEnd = this.i38_1.m38_1;
|
|
612
|
+
this.i38_1.l38_1 = headerEnd;
|
|
613
|
+
this.j38_1.o36(nameStart, nameEnd, valueStart, valueEnd);
|
|
614
614
|
this.a9_1 = 1;
|
|
615
615
|
continue $sm;
|
|
616
616
|
case 5:
|
|
617
|
-
var host = this.
|
|
617
|
+
var host = this.j38_1.l2m('Host');
|
|
618
618
|
if (!(host == null)) {
|
|
619
619
|
validateHostHeader(host);
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
return this.
|
|
622
|
+
return this.j38_1;
|
|
623
623
|
case 6:
|
|
624
624
|
this.b9_1 = 7;
|
|
625
625
|
var tmp_0 = this.d9_1;
|
|
626
626
|
if (tmp_0 instanceof Error) {
|
|
627
627
|
var t = this.d9_1;
|
|
628
|
-
this.
|
|
628
|
+
this.j38_1.g1j();
|
|
629
629
|
throw t;
|
|
630
630
|
} else {
|
|
631
631
|
throw this.d9_1;
|
|
@@ -650,8 +650,8 @@
|
|
|
650
650
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
651
651
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
652
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))]);
|
|
653
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
654
|
-
versions = Companion_instance.
|
|
653
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().r1x_1, Companion_getInstance().q1x_1);
|
|
654
|
+
versions = Companion_instance.n38(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
function get_CrLf() {
|
|
@@ -666,23 +666,23 @@
|
|
|
666
666
|
var PrefixString;
|
|
667
667
|
function Preamble(body) {
|
|
668
668
|
MultipartEvent.call(this);
|
|
669
|
-
this.
|
|
669
|
+
this.o38_1 = body;
|
|
670
670
|
}
|
|
671
671
|
function MultipartPart(headers, body) {
|
|
672
672
|
MultipartEvent.call(this);
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
673
|
+
this.p38_1 = headers;
|
|
674
|
+
this.q38_1 = body;
|
|
675
675
|
}
|
|
676
676
|
function Epilogue(body) {
|
|
677
677
|
MultipartEvent.call(this);
|
|
678
|
-
this.
|
|
678
|
+
this.r38_1 = body;
|
|
679
679
|
}
|
|
680
680
|
function MultipartEvent() {
|
|
681
681
|
}
|
|
682
682
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
683
683
|
maxPartSize = maxPartSize === VOID ? 9223372036854775807n : maxPartSize;
|
|
684
684
|
_init_properties_Multipart_kt__ato98a();
|
|
685
|
-
if (!MultiPart_getInstance().
|
|
685
|
+
if (!MultiPart_getInstance().z2t(contentType)) {
|
|
686
686
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
687
687
|
}
|
|
688
688
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -859,18 +859,18 @@
|
|
|
859
859
|
boundaryBytes[_unary__edvuaz] = value;
|
|
860
860
|
}
|
|
861
861
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
862
|
-
this.
|
|
863
|
-
this.
|
|
862
|
+
this.l3a_1 = $firstBoundary;
|
|
863
|
+
this.m3a_1 = $countedInput;
|
|
864
864
|
CoroutineImpl.call(this, resultContinuation);
|
|
865
865
|
}
|
|
866
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
867
|
-
var tmp = this.
|
|
866
|
+
protoOf(parseMultipart$slambda$slambda).o3a = function ($this$writer, $completion) {
|
|
867
|
+
var tmp = this.p3a($this$writer, $completion);
|
|
868
868
|
tmp.c9_1 = Unit_instance;
|
|
869
869
|
tmp.d9_1 = null;
|
|
870
870
|
return tmp.i9();
|
|
871
871
|
};
|
|
872
872
|
protoOf(parseMultipart$slambda$slambda).u9 = function (p1, $completion) {
|
|
873
|
-
return this.
|
|
873
|
+
return this.o3a(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
874
874
|
};
|
|
875
875
|
protoOf(parseMultipart$slambda$slambda).i9 = function () {
|
|
876
876
|
var suspendResult = this.c9_1;
|
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
case 0:
|
|
882
882
|
this.b9_1 = 3;
|
|
883
883
|
this.a9_1 = 1;
|
|
884
|
-
suspendResult = parsePreambleImpl(this.
|
|
884
|
+
suspendResult = parsePreambleImpl(this.l3a_1, this.m3a_1, this.n3a_1.r1v_1, 8193n, this);
|
|
885
885
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
886
886
|
return suspendResult;
|
|
887
887
|
}
|
|
@@ -889,7 +889,7 @@
|
|
|
889
889
|
continue $sm;
|
|
890
890
|
case 1:
|
|
891
891
|
this.a9_1 = 2;
|
|
892
|
-
suspendResult = this.
|
|
892
|
+
suspendResult = this.n3a_1.r1v_1.d1o(this);
|
|
893
893
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
894
894
|
return suspendResult;
|
|
895
895
|
}
|
|
@@ -911,34 +911,34 @@
|
|
|
911
911
|
}
|
|
912
912
|
while (true);
|
|
913
913
|
};
|
|
914
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
915
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
916
|
-
i.
|
|
914
|
+
protoOf(parseMultipart$slambda$slambda).p3a = function ($this$writer, completion) {
|
|
915
|
+
var i = new parseMultipart$slambda$slambda(this.l3a_1, this.m3a_1, completion);
|
|
916
|
+
i.n3a_1 = $this$writer;
|
|
917
917
|
return i;
|
|
918
918
|
};
|
|
919
919
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
920
920
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
921
921
|
var l = function ($this$writer, $completion) {
|
|
922
|
-
return i.
|
|
922
|
+
return i.o3a($this$writer, $completion);
|
|
923
923
|
};
|
|
924
924
|
l.$arity = 1;
|
|
925
925
|
return l;
|
|
926
926
|
}
|
|
927
927
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
928
|
-
this.
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
931
|
-
this.
|
|
928
|
+
this.y3a_1 = $input;
|
|
929
|
+
this.z3a_1 = $boundaryPrefixed;
|
|
930
|
+
this.a3b_1 = $maxPartSize;
|
|
931
|
+
this.b3b_1 = $totalLength;
|
|
932
932
|
CoroutineImpl.call(this, resultContinuation);
|
|
933
933
|
}
|
|
934
|
-
protoOf(parseMultipart$slambda).
|
|
935
|
-
var tmp = this.
|
|
934
|
+
protoOf(parseMultipart$slambda).k3b = function ($this$produce, $completion) {
|
|
935
|
+
var tmp = this.l3b($this$produce, $completion);
|
|
936
936
|
tmp.c9_1 = Unit_instance;
|
|
937
937
|
tmp.d9_1 = null;
|
|
938
938
|
return tmp.i9();
|
|
939
939
|
};
|
|
940
940
|
protoOf(parseMultipart$slambda).u9 = function (p1, $completion) {
|
|
941
|
-
return this.
|
|
941
|
+
return this.k3b((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
942
942
|
};
|
|
943
943
|
protoOf(parseMultipart$slambda).i9 = function () {
|
|
944
944
|
var suspendResult = this.c9_1;
|
|
@@ -948,11 +948,11 @@
|
|
|
948
948
|
switch (tmp) {
|
|
949
949
|
case 0:
|
|
950
950
|
this.b9_1 = 25;
|
|
951
|
-
this.
|
|
952
|
-
this.
|
|
953
|
-
this.
|
|
951
|
+
this.d3b_1 = counted(this.y3a_1);
|
|
952
|
+
this.e3b_1 = this.d3b_1.o1x();
|
|
953
|
+
this.i3b_1 = this.z3a_1.zo(get_PrefixString().l1());
|
|
954
954
|
this.a9_1 = 1;
|
|
955
|
-
suspendResult = readRemaining(writer(this.
|
|
955
|
+
suspendResult = readRemaining(writer(this.c3b_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.i3b_1, this.d3b_1, null)).p1v_1, this);
|
|
956
956
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
957
957
|
return suspendResult;
|
|
958
958
|
}
|
|
@@ -962,7 +962,7 @@
|
|
|
962
962
|
var preambleData = suspendResult;
|
|
963
963
|
if (get_remaining(preambleData) > 0n) {
|
|
964
964
|
this.a9_1 = 2;
|
|
965
|
-
suspendResult = this.
|
|
965
|
+
suspendResult = this.c3b_1.u1b(new Preamble(preambleData), this);
|
|
966
966
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
967
967
|
return suspendResult;
|
|
968
968
|
}
|
|
@@ -979,31 +979,31 @@
|
|
|
979
979
|
this.a9_1 = 4;
|
|
980
980
|
continue $sm;
|
|
981
981
|
case 4:
|
|
982
|
-
if (!this.
|
|
982
|
+
if (!this.d3b_1.a1o()) {
|
|
983
983
|
this.a9_1 = 5;
|
|
984
|
-
suspendResult = skipIfFound(this.
|
|
984
|
+
suspendResult = skipIfFound(this.d3b_1, get_PrefixString(), this);
|
|
985
985
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
986
986
|
return suspendResult;
|
|
987
987
|
}
|
|
988
988
|
continue $sm;
|
|
989
989
|
} else {
|
|
990
|
-
this.
|
|
990
|
+
this.j3b_1 = false;
|
|
991
991
|
this.a9_1 = 6;
|
|
992
992
|
continue $sm;
|
|
993
993
|
}
|
|
994
994
|
|
|
995
995
|
case 5:
|
|
996
|
-
this.
|
|
996
|
+
this.j3b_1 = !suspendResult;
|
|
997
997
|
this.a9_1 = 6;
|
|
998
998
|
continue $sm;
|
|
999
999
|
case 6:
|
|
1000
|
-
if (!this.
|
|
1000
|
+
if (!this.j3b_1) {
|
|
1001
1001
|
this.a9_1 = 15;
|
|
1002
1002
|
continue $sm;
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
1005
|
this.a9_1 = 7;
|
|
1006
|
-
suspendResult = skipIfFound(this.
|
|
1006
|
+
suspendResult = skipIfFound(this.d3b_1, get_CrLf(), this);
|
|
1007
1007
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1008
1008
|
return suspendResult;
|
|
1009
1009
|
}
|
|
@@ -1011,7 +1011,7 @@
|
|
|
1011
1011
|
continue $sm;
|
|
1012
1012
|
case 7:
|
|
1013
1013
|
this.a9_1 = 8;
|
|
1014
|
-
suspendResult = skipIfFound(this.
|
|
1014
|
+
suspendResult = skipIfFound(this.d3b_1, this.i3b_1, this);
|
|
1015
1015
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1016
1016
|
return suspendResult;
|
|
1017
1017
|
}
|
|
@@ -1027,42 +1027,42 @@
|
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
case 9:
|
|
1030
|
-
this.
|
|
1031
|
-
this.
|
|
1032
|
-
var part = new MultipartPart(this.
|
|
1030
|
+
this.f3b_1 = new ByteChannel();
|
|
1031
|
+
this.h3b_1 = CompletableDeferred();
|
|
1032
|
+
var part = new MultipartPart(this.h3b_1, this.f3b_1);
|
|
1033
1033
|
this.a9_1 = 10;
|
|
1034
|
-
suspendResult = this.
|
|
1034
|
+
suspendResult = this.c3b_1.u1b(part, this);
|
|
1035
1035
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1036
1036
|
return suspendResult;
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
1039
|
continue $sm;
|
|
1040
1040
|
case 10:
|
|
1041
|
-
this.
|
|
1041
|
+
this.g3b_1 = null;
|
|
1042
1042
|
this.b9_1 = 14;
|
|
1043
1043
|
this.a9_1 = 11;
|
|
1044
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1044
|
+
suspendResult = parsePartHeadersImpl(this.d3b_1, this);
|
|
1045
1045
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1046
1046
|
return suspendResult;
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
1049
|
continue $sm;
|
|
1050
1050
|
case 11:
|
|
1051
|
-
this.
|
|
1052
|
-
if (!this.
|
|
1053
|
-
this.
|
|
1051
|
+
this.g3b_1 = suspendResult;
|
|
1052
|
+
if (!this.h3b_1.a11(this.g3b_1)) {
|
|
1053
|
+
this.g3b_1.g1j();
|
|
1054
1054
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1055
1055
|
}
|
|
1056
1056
|
|
|
1057
1057
|
this.a9_1 = 12;
|
|
1058
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1058
|
+
suspendResult = parsePartBodyImpl(this.z3a_1, this.d3b_1, this.f3b_1, this.g3b_1, this.a3b_1, this);
|
|
1059
1059
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1060
1060
|
return suspendResult;
|
|
1061
1061
|
}
|
|
1062
1062
|
|
|
1063
1063
|
continue $sm;
|
|
1064
1064
|
case 12:
|
|
1065
|
-
this.
|
|
1065
|
+
this.f3b_1.l4();
|
|
1066
1066
|
this.b9_1 = 25;
|
|
1067
1067
|
this.a9_1 = 13;
|
|
1068
1068
|
continue $sm;
|
|
@@ -1075,15 +1075,15 @@
|
|
|
1075
1075
|
var tmp_0 = this.d9_1;
|
|
1076
1076
|
if (tmp_0 instanceof Error) {
|
|
1077
1077
|
var cause = this.d9_1;
|
|
1078
|
-
if (this.
|
|
1079
|
-
var tmp0_safe_receiver = this.
|
|
1078
|
+
if (this.h3b_1.b11(cause)) {
|
|
1079
|
+
var tmp0_safe_receiver = this.g3b_1;
|
|
1080
1080
|
if (tmp0_safe_receiver == null)
|
|
1081
1081
|
null;
|
|
1082
1082
|
else {
|
|
1083
|
-
tmp0_safe_receiver.
|
|
1083
|
+
tmp0_safe_receiver.g1j();
|
|
1084
1084
|
}
|
|
1085
1085
|
}
|
|
1086
|
-
close(this.
|
|
1086
|
+
close(this.f3b_1, cause);
|
|
1087
1087
|
throw cause;
|
|
1088
1088
|
} else {
|
|
1089
1089
|
throw this.d9_1;
|
|
@@ -1091,7 +1091,7 @@
|
|
|
1091
1091
|
|
|
1092
1092
|
case 15:
|
|
1093
1093
|
this.a9_1 = 16;
|
|
1094
|
-
suspendResult = skipIfFound(this.
|
|
1094
|
+
suspendResult = skipIfFound(this.d3b_1, get_CrLf(), this);
|
|
1095
1095
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1096
1096
|
return suspendResult;
|
|
1097
1097
|
}
|
|
@@ -1099,21 +1099,21 @@
|
|
|
1099
1099
|
continue $sm;
|
|
1100
1100
|
case 16:
|
|
1101
1101
|
this.a9_1 = 17;
|
|
1102
|
-
suspendResult = skipIfFound(this.
|
|
1102
|
+
suspendResult = skipIfFound(this.d3b_1, get_CrLf(), this);
|
|
1103
1103
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1104
1104
|
return suspendResult;
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
1107
1107
|
continue $sm;
|
|
1108
1108
|
case 17:
|
|
1109
|
-
if (!(this.
|
|
1110
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1111
|
-
var size = subtract(this.
|
|
1109
|
+
if (!(this.b3b_1 == null)) {
|
|
1110
|
+
var consumedExceptEpilogue = subtract(this.d3b_1.o1x(), this.e3b_1);
|
|
1111
|
+
var size = subtract(this.b3b_1, consumedExceptEpilogue);
|
|
1112
1112
|
if (size > 2147483647n)
|
|
1113
1113
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1114
1114
|
if (size > 0n) {
|
|
1115
1115
|
this.a9_1 = 21;
|
|
1116
|
-
suspendResult = readPacket(this.
|
|
1116
|
+
suspendResult = readPacket(this.d3b_1, convertToInt(size), this);
|
|
1117
1117
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1118
1118
|
return suspendResult;
|
|
1119
1119
|
}
|
|
@@ -1124,7 +1124,7 @@
|
|
|
1124
1124
|
}
|
|
1125
1125
|
} else {
|
|
1126
1126
|
this.a9_1 = 18;
|
|
1127
|
-
suspendResult = readRemaining(this.
|
|
1127
|
+
suspendResult = readRemaining(this.d3b_1, this);
|
|
1128
1128
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1129
1129
|
return suspendResult;
|
|
1130
1130
|
}
|
|
@@ -1133,9 +1133,9 @@
|
|
|
1133
1133
|
|
|
1134
1134
|
case 18:
|
|
1135
1135
|
var epilogueContent = suspendResult;
|
|
1136
|
-
if (!epilogueContent.
|
|
1136
|
+
if (!epilogueContent.hp()) {
|
|
1137
1137
|
this.a9_1 = 19;
|
|
1138
|
-
suspendResult = this.
|
|
1138
|
+
suspendResult = this.c3b_1.u1b(new Epilogue(epilogueContent), this);
|
|
1139
1139
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1140
1140
|
return suspendResult;
|
|
1141
1141
|
}
|
|
@@ -1155,7 +1155,7 @@
|
|
|
1155
1155
|
var ARGUMENT = suspendResult;
|
|
1156
1156
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1157
1157
|
this.a9_1 = 22;
|
|
1158
|
-
suspendResult = this.
|
|
1158
|
+
suspendResult = this.c3b_1.u1b(ARGUMENT_0, this);
|
|
1159
1159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1160
1160
|
return suspendResult;
|
|
1161
1161
|
}
|
|
@@ -1183,22 +1183,22 @@
|
|
|
1183
1183
|
}
|
|
1184
1184
|
while (true);
|
|
1185
1185
|
};
|
|
1186
|
-
protoOf(parseMultipart$slambda).
|
|
1187
|
-
var i = new parseMultipart$slambda(this.
|
|
1188
|
-
i.
|
|
1186
|
+
protoOf(parseMultipart$slambda).l3b = function ($this$produce, completion) {
|
|
1187
|
+
var i = new parseMultipart$slambda(this.y3a_1, this.z3a_1, this.a3b_1, this.b3b_1, completion);
|
|
1188
|
+
i.c3b_1 = $this$produce;
|
|
1189
1189
|
return i;
|
|
1190
1190
|
};
|
|
1191
1191
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1192
1192
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1193
1193
|
var l = function ($this$produce, $completion) {
|
|
1194
|
-
return i.
|
|
1194
|
+
return i.k3b($this$produce, $completion);
|
|
1195
1195
|
};
|
|
1196
1196
|
l.$arity = 1;
|
|
1197
1197
|
return l;
|
|
1198
1198
|
}
|
|
1199
1199
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1200
1200
|
CoroutineImpl.call(this, resultContinuation);
|
|
1201
|
-
this.
|
|
1201
|
+
this.a39_1 = input;
|
|
1202
1202
|
}
|
|
1203
1203
|
protoOf($parsePartHeadersImplCOROUTINE$).i9 = function () {
|
|
1204
1204
|
var suspendResult = this.c9_1;
|
|
@@ -1208,10 +1208,10 @@
|
|
|
1208
1208
|
switch (tmp) {
|
|
1209
1209
|
case 0:
|
|
1210
1210
|
this.b9_1 = 3;
|
|
1211
|
-
this.
|
|
1211
|
+
this.b39_1 = new CharArrayBuilder();
|
|
1212
1212
|
this.b9_1 = 2;
|
|
1213
1213
|
this.a9_1 = 1;
|
|
1214
|
-
suspendResult = parseHeaders(this.
|
|
1214
|
+
suspendResult = parseHeaders(this.a39_1, this.b39_1, VOID, this);
|
|
1215
1215
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1216
1216
|
return suspendResult;
|
|
1217
1217
|
}
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
var tmp_1 = this.d9_1;
|
|
1233
1233
|
if (tmp_1 instanceof Error) {
|
|
1234
1234
|
var t = this.d9_1;
|
|
1235
|
-
this.
|
|
1235
|
+
this.b39_1.g1j();
|
|
1236
1236
|
throw t;
|
|
1237
1237
|
} else {
|
|
1238
1238
|
throw this.d9_1;
|
|
@@ -1254,11 +1254,11 @@
|
|
|
1254
1254
|
};
|
|
1255
1255
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1256
1256
|
CoroutineImpl.call(this, resultContinuation);
|
|
1257
|
-
this.
|
|
1258
|
-
this.
|
|
1259
|
-
this.
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1257
|
+
this.k39_1 = boundaryPrefixed;
|
|
1258
|
+
this.l39_1 = input;
|
|
1259
|
+
this.m39_1 = output;
|
|
1260
|
+
this.n39_1 = headers;
|
|
1261
|
+
this.o39_1 = limit;
|
|
1262
1262
|
}
|
|
1263
1263
|
protoOf($parsePartBodyImplCOROUTINE$).i9 = function () {
|
|
1264
1264
|
var suspendResult = this.c9_1;
|
|
@@ -1268,35 +1268,35 @@
|
|
|
1268
1268
|
switch (tmp) {
|
|
1269
1269
|
case 0:
|
|
1270
1270
|
this.b9_1 = 6;
|
|
1271
|
-
var tmp0_safe_receiver = this.
|
|
1271
|
+
var tmp0_safe_receiver = this.n39_1.l2m('Content-Length');
|
|
1272
1272
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1273
1273
|
if (contentLength == null) {
|
|
1274
1274
|
this.a9_1 = 3;
|
|
1275
|
-
suspendResult = readUntil(this.
|
|
1275
|
+
suspendResult = readUntil(this.l39_1, this.k39_1, this.m39_1, this.o39_1, true, this);
|
|
1276
1276
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1277
1277
|
return suspendResult;
|
|
1278
1278
|
}
|
|
1279
1279
|
continue $sm;
|
|
1280
1280
|
} else {
|
|
1281
|
-
var containsUpper = this.
|
|
1281
|
+
var containsUpper = this.o39_1;
|
|
1282
1282
|
if (0n <= contentLength ? contentLength <= containsUpper : false) {
|
|
1283
1283
|
this.a9_1 = 1;
|
|
1284
|
-
suspendResult = copyTo(this.
|
|
1284
|
+
suspendResult = copyTo(this.l39_1, this.m39_1, contentLength, this);
|
|
1285
1285
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1286
1286
|
return suspendResult;
|
|
1287
1287
|
}
|
|
1288
1288
|
continue $sm;
|
|
1289
1289
|
} else {
|
|
1290
1290
|
var tmp_0 = this;
|
|
1291
|
-
throwLimitExceeded(contentLength, this.
|
|
1291
|
+
throwLimitExceeded(contentLength, this.o39_1);
|
|
1292
1292
|
}
|
|
1293
1293
|
}
|
|
1294
1294
|
|
|
1295
1295
|
break;
|
|
1296
1296
|
case 1:
|
|
1297
|
-
this.
|
|
1297
|
+
this.r39_1 = suspendResult;
|
|
1298
1298
|
this.a9_1 = 2;
|
|
1299
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1299
|
+
suspendResult = skipIfFoundReadCount(this.l39_1, this.k39_1, this);
|
|
1300
1300
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1301
1301
|
return suspendResult;
|
|
1302
1302
|
}
|
|
@@ -1304,24 +1304,24 @@
|
|
|
1304
1304
|
continue $sm;
|
|
1305
1305
|
case 2:
|
|
1306
1306
|
var ARGUMENT = suspendResult;
|
|
1307
|
-
this.
|
|
1307
|
+
this.q39_1 = add(this.r39_1, ARGUMENT);
|
|
1308
1308
|
this.a9_1 = 4;
|
|
1309
1309
|
continue $sm;
|
|
1310
1310
|
case 3:
|
|
1311
|
-
this.
|
|
1311
|
+
this.q39_1 = suspendResult;
|
|
1312
1312
|
this.a9_1 = 4;
|
|
1313
1313
|
continue $sm;
|
|
1314
1314
|
case 4:
|
|
1315
|
-
this.
|
|
1315
|
+
this.p39_1 = this.q39_1;
|
|
1316
1316
|
this.a9_1 = 5;
|
|
1317
|
-
suspendResult = this.
|
|
1317
|
+
suspendResult = this.m39_1.r1n(this);
|
|
1318
1318
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1319
1319
|
return suspendResult;
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
1322
1322
|
continue $sm;
|
|
1323
1323
|
case 5:
|
|
1324
|
-
return this.
|
|
1324
|
+
return this.p39_1;
|
|
1325
1325
|
case 6:
|
|
1326
1326
|
throw this.d9_1;
|
|
1327
1327
|
}
|
|
@@ -1338,8 +1338,8 @@
|
|
|
1338
1338
|
};
|
|
1339
1339
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1340
1340
|
CoroutineImpl.call(this, resultContinuation);
|
|
1341
|
-
this.
|
|
1342
|
-
this.
|
|
1341
|
+
this.a3a_1 = _this__u8e3s4;
|
|
1342
|
+
this.b3a_1 = prefix;
|
|
1343
1343
|
}
|
|
1344
1344
|
protoOf($skipIfFoundReadCountCOROUTINE$).i9 = function () {
|
|
1345
1345
|
var suspendResult = this.c9_1;
|
|
@@ -1350,7 +1350,7 @@
|
|
|
1350
1350
|
case 0:
|
|
1351
1351
|
this.b9_1 = 3;
|
|
1352
1352
|
this.a9_1 = 1;
|
|
1353
|
-
suspendResult = skipIfFound(this.
|
|
1353
|
+
suspendResult = skipIfFound(this.a3a_1, this.b3a_1, this);
|
|
1354
1354
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1355
1355
|
return suspendResult;
|
|
1356
1356
|
}
|
|
@@ -1359,18 +1359,18 @@
|
|
|
1359
1359
|
case 1:
|
|
1360
1360
|
if (suspendResult) {
|
|
1361
1361
|
var tmp_0 = this;
|
|
1362
|
-
tmp_0.
|
|
1362
|
+
tmp_0.c3a_1 = fromInt(this.b3a_1.l1());
|
|
1363
1363
|
this.a9_1 = 2;
|
|
1364
1364
|
continue $sm;
|
|
1365
1365
|
} else {
|
|
1366
1366
|
var tmp_1 = this;
|
|
1367
|
-
tmp_1.
|
|
1367
|
+
tmp_1.c3a_1 = 0n;
|
|
1368
1368
|
this.a9_1 = 2;
|
|
1369
1369
|
continue $sm;
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
1372
|
case 2:
|
|
1373
|
-
return this.
|
|
1373
|
+
return this.c3a_1;
|
|
1374
1374
|
case 3:
|
|
1375
1375
|
throw this.d9_1;
|
|
1376
1376
|
}
|
|
@@ -1458,17 +1458,17 @@
|
|
|
1458
1458
|
return new Char(charSequenceGet(s, idx));
|
|
1459
1459
|
}
|
|
1460
1460
|
function Node(ch, exact, children) {
|
|
1461
|
-
this.
|
|
1462
|
-
this.
|
|
1463
|
-
this.
|
|
1461
|
+
this.m3b_1 = ch;
|
|
1462
|
+
this.n3b_1 = exact;
|
|
1463
|
+
this.o3b_1 = children;
|
|
1464
1464
|
var tmp = this;
|
|
1465
1465
|
var tmp_0 = 0;
|
|
1466
1466
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1467
1467
|
var tmp_1 = Array(256);
|
|
1468
1468
|
while (tmp_0 < 256) {
|
|
1469
1469
|
var tmp_2 = tmp_0;
|
|
1470
|
-
var tmp0 = this.
|
|
1471
|
-
var tmp$ret$
|
|
1470
|
+
var tmp0 = this.o3b_1;
|
|
1471
|
+
var tmp$ret$2;
|
|
1472
1472
|
$l$block_0: {
|
|
1473
1473
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
1474
1474
|
var single = null;
|
|
@@ -1477,10 +1477,10 @@
|
|
|
1477
1477
|
while (_iterator__ex2g4s.u()) {
|
|
1478
1478
|
var element = _iterator__ex2g4s.v();
|
|
1479
1479
|
// Inline function 'kotlin.code' call
|
|
1480
|
-
var this_0 = element.
|
|
1480
|
+
var this_0 = element.m3b_1;
|
|
1481
1481
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1482
1482
|
if (found) {
|
|
1483
|
-
tmp$ret$
|
|
1483
|
+
tmp$ret$2 = null;
|
|
1484
1484
|
break $l$block_0;
|
|
1485
1485
|
}
|
|
1486
1486
|
single = element;
|
|
@@ -1488,23 +1488,23 @@
|
|
|
1488
1488
|
}
|
|
1489
1489
|
}
|
|
1490
1490
|
if (!found) {
|
|
1491
|
-
tmp$ret$
|
|
1491
|
+
tmp$ret$2 = null;
|
|
1492
1492
|
break $l$block_0;
|
|
1493
1493
|
}
|
|
1494
|
-
tmp$ret$
|
|
1494
|
+
tmp$ret$2 = single;
|
|
1495
1495
|
}
|
|
1496
|
-
tmp_1[tmp_2] = tmp$ret$
|
|
1496
|
+
tmp_1[tmp_2] = tmp$ret$2;
|
|
1497
1497
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1498
1498
|
}
|
|
1499
|
-
tmp.
|
|
1499
|
+
tmp.p3b_1 = tmp_1;
|
|
1500
1500
|
}
|
|
1501
1501
|
function Companion() {
|
|
1502
1502
|
}
|
|
1503
|
-
protoOf(Companion).
|
|
1503
|
+
protoOf(Companion).n38 = function (from) {
|
|
1504
1504
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1505
|
-
return this.
|
|
1505
|
+
return this.q3b(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1506
1506
|
};
|
|
1507
|
-
protoOf(Companion).
|
|
1507
|
+
protoOf(Companion).q3b = function (from, length, charAt) {
|
|
1508
1508
|
var tmp$ret$0;
|
|
1509
1509
|
$l$block_0: {
|
|
1510
1510
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1581,10 +1581,10 @@
|
|
|
1581
1581
|
return Companion_instance;
|
|
1582
1582
|
}
|
|
1583
1583
|
function AsciiCharTree(root) {
|
|
1584
|
-
this.
|
|
1584
|
+
this.r3b_1 = root;
|
|
1585
1585
|
}
|
|
1586
1586
|
function getImpl($this, index) {
|
|
1587
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1587
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.t36_1).length | 0];
|
|
1588
1588
|
}
|
|
1589
1589
|
function copy($this, startIndex, endIndex) {
|
|
1590
1590
|
if (startIndex === endIndex)
|
|
@@ -1613,27 +1613,27 @@
|
|
|
1613
1613
|
return builder;
|
|
1614
1614
|
}
|
|
1615
1615
|
function SubSequenceImpl($outer, start, end) {
|
|
1616
|
-
this.
|
|
1617
|
-
this.
|
|
1618
|
-
this.
|
|
1619
|
-
this.
|
|
1616
|
+
this.v3b_1 = $outer;
|
|
1617
|
+
this.s3b_1 = start;
|
|
1618
|
+
this.t3b_1 = end;
|
|
1619
|
+
this.u3b_1 = null;
|
|
1620
1620
|
}
|
|
1621
1621
|
protoOf(SubSequenceImpl).a = function () {
|
|
1622
|
-
return this.
|
|
1622
|
+
return this.t3b_1 - this.s3b_1 | 0;
|
|
1623
1623
|
};
|
|
1624
1624
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1625
|
-
var withOffset = index + this.
|
|
1625
|
+
var withOffset = index + this.s3b_1 | 0;
|
|
1626
1626
|
// Inline function 'kotlin.require' call
|
|
1627
1627
|
if (!(index >= 0)) {
|
|
1628
1628
|
var message = 'index is negative: ' + index;
|
|
1629
1629
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1630
1630
|
}
|
|
1631
1631
|
// Inline function 'kotlin.require' call
|
|
1632
|
-
if (!(withOffset < this.
|
|
1632
|
+
if (!(withOffset < this.t3b_1)) {
|
|
1633
1633
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1634
1634
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1635
1635
|
}
|
|
1636
|
-
return getImpl(this.
|
|
1636
|
+
return getImpl(this.v3b_1, withOffset);
|
|
1637
1637
|
};
|
|
1638
1638
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1639
1639
|
// Inline function 'kotlin.require' call
|
|
@@ -1647,21 +1647,21 @@
|
|
|
1647
1647
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1648
1648
|
}
|
|
1649
1649
|
// Inline function 'kotlin.require' call
|
|
1650
|
-
if (!(endIndex <= (this.
|
|
1650
|
+
if (!(endIndex <= (this.t3b_1 - this.s3b_1 | 0))) {
|
|
1651
1651
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1652
1652
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1653
1653
|
}
|
|
1654
1654
|
if (startIndex === endIndex)
|
|
1655
1655
|
return '';
|
|
1656
|
-
return new SubSequenceImpl(this.
|
|
1656
|
+
return new SubSequenceImpl(this.v3b_1, this.s3b_1 + startIndex | 0, this.s3b_1 + endIndex | 0);
|
|
1657
1657
|
};
|
|
1658
1658
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1659
|
-
var tmp0_elvis_lhs = this.
|
|
1659
|
+
var tmp0_elvis_lhs = this.u3b_1;
|
|
1660
1660
|
var tmp;
|
|
1661
1661
|
if (tmp0_elvis_lhs == null) {
|
|
1662
1662
|
// Inline function 'kotlin.also' call
|
|
1663
|
-
var this_0 = toString(copy(this.
|
|
1664
|
-
this.
|
|
1663
|
+
var this_0 = toString(copy(this.v3b_1, this.s3b_1, this.t3b_1));
|
|
1664
|
+
this.u3b_1 = this_0;
|
|
1665
1665
|
tmp = this_0;
|
|
1666
1666
|
} else {
|
|
1667
1667
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1673,20 +1673,20 @@
|
|
|
1673
1673
|
return false;
|
|
1674
1674
|
if (!(charSequenceLength(other) === this.a()))
|
|
1675
1675
|
return false;
|
|
1676
|
-
return rangeEqualsImpl(this.
|
|
1676
|
+
return rangeEqualsImpl(this.v3b_1, this.s3b_1, other, 0, this.a());
|
|
1677
1677
|
};
|
|
1678
1678
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1679
|
-
var tmp0_safe_receiver = this.
|
|
1679
|
+
var tmp0_safe_receiver = this.u3b_1;
|
|
1680
1680
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1681
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1681
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.v3b_1, this.s3b_1, this.t3b_1) : tmp1_elvis_lhs;
|
|
1682
1682
|
};
|
|
1683
1683
|
function bufferForIndex($this, index) {
|
|
1684
|
-
var list = $this.
|
|
1684
|
+
var list = $this.s36_1;
|
|
1685
1685
|
if (list == null) {
|
|
1686
1686
|
if (index >= 2048) {
|
|
1687
1687
|
throwSingleBuffer($this, index);
|
|
1688
1688
|
}
|
|
1689
|
-
var tmp0_elvis_lhs = $this.
|
|
1689
|
+
var tmp0_elvis_lhs = $this.t36_1;
|
|
1690
1690
|
var tmp;
|
|
1691
1691
|
if (tmp0_elvis_lhs == null) {
|
|
1692
1692
|
throwSingleBuffer($this, index);
|
|
@@ -1695,29 +1695,29 @@
|
|
|
1695
1695
|
}
|
|
1696
1696
|
return tmp;
|
|
1697
1697
|
}
|
|
1698
|
-
return list.m1(index / ensureNotNull($this.
|
|
1698
|
+
return list.m1(index / ensureNotNull($this.t36_1).length | 0);
|
|
1699
1699
|
}
|
|
1700
1700
|
function throwSingleBuffer($this, index) {
|
|
1701
|
-
if ($this.
|
|
1701
|
+
if ($this.v36_1)
|
|
1702
1702
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1703
1703
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1704
1704
|
}
|
|
1705
1705
|
function nonFullBuffer($this) {
|
|
1706
|
-
return $this.
|
|
1706
|
+
return $this.w36_1 === 0 ? appendNewArray($this) : ensureNotNull($this.t36_1);
|
|
1707
1707
|
}
|
|
1708
1708
|
function appendNewArray($this) {
|
|
1709
|
-
var newBuffer = $this.
|
|
1710
|
-
var existing = $this.
|
|
1711
|
-
$this.
|
|
1712
|
-
$this.
|
|
1713
|
-
$this.
|
|
1709
|
+
var newBuffer = $this.r36_1.m1y();
|
|
1710
|
+
var existing = $this.t36_1;
|
|
1711
|
+
$this.t36_1 = newBuffer;
|
|
1712
|
+
$this.w36_1 = newBuffer.length;
|
|
1713
|
+
$this.v36_1 = false;
|
|
1714
1714
|
if (!(existing == null)) {
|
|
1715
|
-
var tmp0_elvis_lhs = $this.
|
|
1715
|
+
var tmp0_elvis_lhs = $this.s36_1;
|
|
1716
1716
|
var tmp;
|
|
1717
1717
|
if (tmp0_elvis_lhs == null) {
|
|
1718
1718
|
// Inline function 'kotlin.also' call
|
|
1719
1719
|
var this_0 = ArrayList_init_$Create$();
|
|
1720
|
-
$this.
|
|
1720
|
+
$this.s36_1 = this_0;
|
|
1721
1721
|
this_0.j1(existing);
|
|
1722
1722
|
tmp = this_0;
|
|
1723
1723
|
} else {
|
|
@@ -1756,20 +1756,20 @@
|
|
|
1756
1756
|
return hc;
|
|
1757
1757
|
}
|
|
1758
1758
|
function currentPosition($this) {
|
|
1759
|
-
return ensureNotNull($this.
|
|
1759
|
+
return ensureNotNull($this.t36_1).length - $this.w36_1 | 0;
|
|
1760
1760
|
}
|
|
1761
1761
|
function CharArrayBuilder(pool) {
|
|
1762
1762
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1765
|
-
this.
|
|
1766
|
-
this.
|
|
1767
|
-
this.
|
|
1768
|
-
this.
|
|
1769
|
-
this.
|
|
1763
|
+
this.r36_1 = pool;
|
|
1764
|
+
this.s36_1 = null;
|
|
1765
|
+
this.t36_1 = null;
|
|
1766
|
+
this.u36_1 = null;
|
|
1767
|
+
this.v36_1 = false;
|
|
1768
|
+
this.w36_1 = 0;
|
|
1769
|
+
this.x36_1 = 0;
|
|
1770
1770
|
}
|
|
1771
1771
|
protoOf(CharArrayBuilder).a = function () {
|
|
1772
|
-
return this.
|
|
1772
|
+
return this.x36_1;
|
|
1773
1773
|
};
|
|
1774
1774
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1775
1775
|
// Inline function 'kotlin.require' call
|
|
@@ -1778,8 +1778,8 @@
|
|
|
1778
1778
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1779
1779
|
}
|
|
1780
1780
|
// Inline function 'kotlin.require' call
|
|
1781
|
-
if (!(index < this.
|
|
1782
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1781
|
+
if (!(index < this.x36_1)) {
|
|
1782
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.x36_1 + ')';
|
|
1783
1783
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1784
1784
|
}
|
|
1785
1785
|
return getImpl(this, index);
|
|
@@ -1796,19 +1796,19 @@
|
|
|
1796
1796
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1797
1797
|
}
|
|
1798
1798
|
// Inline function 'kotlin.require' call
|
|
1799
|
-
if (!(endIndex <= this.
|
|
1800
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1799
|
+
if (!(endIndex <= this.x36_1)) {
|
|
1800
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.x36_1 + ')';
|
|
1801
1801
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1802
1802
|
}
|
|
1803
1803
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1804
1804
|
};
|
|
1805
1805
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1806
|
-
var tmp0_elvis_lhs = this.
|
|
1806
|
+
var tmp0_elvis_lhs = this.u36_1;
|
|
1807
1807
|
var tmp;
|
|
1808
1808
|
if (tmp0_elvis_lhs == null) {
|
|
1809
1809
|
// Inline function 'kotlin.also' call
|
|
1810
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1811
|
-
this.
|
|
1810
|
+
var this_0 = toString(copy(this, 0, this.x36_1));
|
|
1811
|
+
this.u36_1 = this_0;
|
|
1812
1812
|
tmp = this_0;
|
|
1813
1813
|
} else {
|
|
1814
1814
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1818,20 +1818,20 @@
|
|
|
1818
1818
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1819
1819
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1820
1820
|
return false;
|
|
1821
|
-
if (!(this.
|
|
1821
|
+
if (!(this.x36_1 === charSequenceLength(other)))
|
|
1822
1822
|
return false;
|
|
1823
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1823
|
+
return rangeEqualsImpl(this, 0, other, 0, this.x36_1);
|
|
1824
1824
|
};
|
|
1825
1825
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1826
|
-
var tmp0_safe_receiver = this.
|
|
1826
|
+
var tmp0_safe_receiver = this.u36_1;
|
|
1827
1827
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1828
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1828
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.x36_1) : tmp1_elvis_lhs;
|
|
1829
1829
|
};
|
|
1830
1830
|
protoOf(CharArrayBuilder).s = function (value) {
|
|
1831
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1832
|
-
this.
|
|
1833
|
-
this.
|
|
1834
|
-
this.
|
|
1831
|
+
nonFullBuffer(this)[ensureNotNull(this.t36_1).length - this.w36_1 | 0] = value;
|
|
1832
|
+
this.u36_1 = null;
|
|
1833
|
+
this.w36_1 = this.w36_1 - 1 | 0;
|
|
1834
|
+
this.x36_1 = this.x36_1 + 1 | 0;
|
|
1835
1835
|
return this;
|
|
1836
1836
|
};
|
|
1837
1837
|
protoOf(CharArrayBuilder).kc = function (value, startIndex, endIndex) {
|
|
@@ -1840,10 +1840,10 @@
|
|
|
1840
1840
|
var current = startIndex;
|
|
1841
1841
|
while (current < endIndex) {
|
|
1842
1842
|
var buffer = nonFullBuffer(this);
|
|
1843
|
-
var offset = buffer.length - this.
|
|
1843
|
+
var offset = buffer.length - this.w36_1 | 0;
|
|
1844
1844
|
var tmp0 = endIndex - current | 0;
|
|
1845
1845
|
// Inline function 'kotlin.math.min' call
|
|
1846
|
-
var b = this.
|
|
1846
|
+
var b = this.w36_1;
|
|
1847
1847
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1848
1848
|
var inductionVariable = 0;
|
|
1849
1849
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1854,10 +1854,10 @@
|
|
|
1854
1854
|
}
|
|
1855
1855
|
while (inductionVariable < bytesToCopy);
|
|
1856
1856
|
current = current + bytesToCopy | 0;
|
|
1857
|
-
this.
|
|
1857
|
+
this.w36_1 = this.w36_1 - bytesToCopy | 0;
|
|
1858
1858
|
}
|
|
1859
|
-
this.
|
|
1860
|
-
this.
|
|
1859
|
+
this.u36_1 = null;
|
|
1860
|
+
this.x36_1 = this.x36_1 + (endIndex - startIndex | 0) | 0;
|
|
1861
1861
|
return this;
|
|
1862
1862
|
};
|
|
1863
1863
|
protoOf(CharArrayBuilder).k1 = function (value) {
|
|
@@ -1865,34 +1865,34 @@
|
|
|
1865
1865
|
return this;
|
|
1866
1866
|
return this.kc(value, 0, charSequenceLength(value));
|
|
1867
1867
|
};
|
|
1868
|
-
protoOf(CharArrayBuilder).
|
|
1869
|
-
var list = this.
|
|
1868
|
+
protoOf(CharArrayBuilder).g1j = function () {
|
|
1869
|
+
var list = this.s36_1;
|
|
1870
1870
|
if (!(list == null)) {
|
|
1871
|
-
this.
|
|
1871
|
+
this.t36_1 = null;
|
|
1872
1872
|
var inductionVariable = 0;
|
|
1873
1873
|
var last = list.l1();
|
|
1874
1874
|
if (inductionVariable < last)
|
|
1875
1875
|
do {
|
|
1876
1876
|
var i = inductionVariable;
|
|
1877
1877
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1878
|
-
this.
|
|
1878
|
+
this.r36_1.n1y(list.m1(i));
|
|
1879
1879
|
}
|
|
1880
1880
|
while (inductionVariable < last);
|
|
1881
1881
|
} else {
|
|
1882
|
-
var tmp0_safe_receiver = this.
|
|
1882
|
+
var tmp0_safe_receiver = this.t36_1;
|
|
1883
1883
|
if (tmp0_safe_receiver == null)
|
|
1884
1884
|
null;
|
|
1885
1885
|
else {
|
|
1886
1886
|
// Inline function 'kotlin.let' call
|
|
1887
|
-
this.
|
|
1887
|
+
this.r36_1.n1y(tmp0_safe_receiver);
|
|
1888
1888
|
}
|
|
1889
|
-
this.
|
|
1889
|
+
this.t36_1 = null;
|
|
1890
1890
|
}
|
|
1891
|
-
this.
|
|
1892
|
-
this.
|
|
1893
|
-
this.
|
|
1894
|
-
this.
|
|
1895
|
-
this.
|
|
1891
|
+
this.v36_1 = true;
|
|
1892
|
+
this.s36_1 = null;
|
|
1893
|
+
this.u36_1 = null;
|
|
1894
|
+
this.x36_1 = 0;
|
|
1895
|
+
this.w36_1 = 0;
|
|
1896
1896
|
};
|
|
1897
1897
|
function get_CharArrayPool() {
|
|
1898
1898
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1902,13 +1902,13 @@
|
|
|
1902
1902
|
function CharArrayPool$1() {
|
|
1903
1903
|
NoPoolImpl.call(this);
|
|
1904
1904
|
}
|
|
1905
|
-
protoOf(CharArrayPool$1).
|
|
1905
|
+
protoOf(CharArrayPool$1).m1y = function () {
|
|
1906
1906
|
return charArray(2048);
|
|
1907
1907
|
};
|
|
1908
1908
|
function CharArrayPool$2() {
|
|
1909
1909
|
DefaultPool.call(this, 4096);
|
|
1910
1910
|
}
|
|
1911
|
-
protoOf(CharArrayPool$2).
|
|
1911
|
+
protoOf(CharArrayPool$2).f1y = function () {
|
|
1912
1912
|
return charArray(2048);
|
|
1913
1913
|
};
|
|
1914
1914
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2099,20 +2099,20 @@
|
|
|
2099
2099
|
}
|
|
2100
2100
|
function DefaultHttpMethods$lambda(it) {
|
|
2101
2101
|
_init_properties_Chars_kt__d3i39x();
|
|
2102
|
-
return it.
|
|
2102
|
+
return it.u2z_1.length;
|
|
2103
2103
|
}
|
|
2104
2104
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2105
2105
|
_init_properties_Chars_kt__d3i39x();
|
|
2106
|
-
return new Char(charCodeAt(m.
|
|
2106
|
+
return new Char(charCodeAt(m.u2z_1, idx));
|
|
2107
2107
|
}
|
|
2108
2108
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2109
2109
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2110
2110
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2111
2111
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2112
2112
|
var tmp = Companion_instance;
|
|
2113
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2113
|
+
var tmp_0 = Companion_getInstance_0().t2z_1;
|
|
2114
2114
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2115
|
-
DefaultHttpMethods = tmp.
|
|
2115
|
+
DefaultHttpMethods = tmp.q3b(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2116
2116
|
// Inline function 'kotlin.collections.map' call
|
|
2117
2117
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2118
2118
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2132,52 +2132,52 @@
|
|
|
2132
2132
|
var tmp_4 = fromInt(v);
|
|
2133
2133
|
// Inline function 'kotlin.code' call
|
|
2134
2134
|
var this_1 = _Char___init__impl__6a9atx(97);
|
|
2135
|
-
var tmp$ret$
|
|
2136
|
-
if (tmp_4 >= fromInt(tmp$ret$
|
|
2135
|
+
var tmp$ret$3 = Char__toInt_impl_vasixd(this_1);
|
|
2136
|
+
if (tmp_4 >= fromInt(tmp$ret$3)) {
|
|
2137
2137
|
var tmp_5 = fromInt(v);
|
|
2138
2138
|
// Inline function 'kotlin.code' call
|
|
2139
2139
|
var this_2 = _Char___init__impl__6a9atx(102);
|
|
2140
|
-
var tmp$ret$
|
|
2141
|
-
tmp_3 = tmp_5 <= fromInt(tmp$ret$
|
|
2140
|
+
var tmp$ret$4 = Char__toInt_impl_vasixd(this_2);
|
|
2141
|
+
tmp_3 = tmp_5 <= fromInt(tmp$ret$4);
|
|
2142
2142
|
} else {
|
|
2143
2143
|
tmp_3 = false;
|
|
2144
2144
|
}
|
|
2145
2145
|
if (tmp_3) {
|
|
2146
2146
|
// Inline function 'kotlin.code' call
|
|
2147
2147
|
var this_3 = _Char___init__impl__6a9atx(97);
|
|
2148
|
-
var tmp$ret$
|
|
2148
|
+
var tmp$ret$5 = Char__toInt_impl_vasixd(this_3);
|
|
2149
2149
|
// Inline function 'kotlin.Long.plus' call
|
|
2150
|
-
var this_4 = subtract(numberToLong(v), fromInt(tmp$ret$
|
|
2150
|
+
var this_4 = subtract(numberToLong(v), fromInt(tmp$ret$5));
|
|
2151
2151
|
tmp_2 = add(this_4, fromInt(10));
|
|
2152
2152
|
} else {
|
|
2153
2153
|
var tmp_6;
|
|
2154
2154
|
var tmp_7 = fromInt(v);
|
|
2155
2155
|
// Inline function 'kotlin.code' call
|
|
2156
2156
|
var this_5 = _Char___init__impl__6a9atx(65);
|
|
2157
|
-
var tmp$ret$
|
|
2158
|
-
if (tmp_7 >= fromInt(tmp$ret$
|
|
2157
|
+
var tmp$ret$7 = Char__toInt_impl_vasixd(this_5);
|
|
2158
|
+
if (tmp_7 >= fromInt(tmp$ret$7)) {
|
|
2159
2159
|
var tmp_8 = fromInt(v);
|
|
2160
2160
|
// Inline function 'kotlin.code' call
|
|
2161
2161
|
var this_6 = _Char___init__impl__6a9atx(70);
|
|
2162
|
-
var tmp$ret$
|
|
2163
|
-
tmp_6 = tmp_8 <= fromInt(tmp$ret$
|
|
2162
|
+
var tmp$ret$8 = Char__toInt_impl_vasixd(this_6);
|
|
2163
|
+
tmp_6 = tmp_8 <= fromInt(tmp$ret$8);
|
|
2164
2164
|
} else {
|
|
2165
2165
|
tmp_6 = false;
|
|
2166
2166
|
}
|
|
2167
2167
|
if (tmp_6) {
|
|
2168
2168
|
// Inline function 'kotlin.code' call
|
|
2169
2169
|
var this_7 = _Char___init__impl__6a9atx(65);
|
|
2170
|
-
var tmp$ret$
|
|
2170
|
+
var tmp$ret$9 = Char__toInt_impl_vasixd(this_7);
|
|
2171
2171
|
// Inline function 'kotlin.Long.plus' call
|
|
2172
|
-
var this_8 = subtract(numberToLong(v), fromInt(tmp$ret$
|
|
2172
|
+
var this_8 = subtract(numberToLong(v), fromInt(tmp$ret$9));
|
|
2173
2173
|
tmp_2 = add(this_8, fromInt(10));
|
|
2174
2174
|
} else {
|
|
2175
2175
|
tmp_2 = -1n;
|
|
2176
2176
|
}
|
|
2177
2177
|
}
|
|
2178
2178
|
}
|
|
2179
|
-
var tmp$ret$
|
|
2180
|
-
destination.j1(tmp$ret$
|
|
2179
|
+
var tmp$ret$2 = tmp_2;
|
|
2180
|
+
destination.j1(tmp$ret$2);
|
|
2181
2181
|
}
|
|
2182
2182
|
while (!(item === last));
|
|
2183
2183
|
HexTable = toLongArray(destination);
|
|
@@ -2198,11 +2198,11 @@
|
|
|
2198
2198
|
} else {
|
|
2199
2199
|
// Inline function 'kotlin.code' call
|
|
2200
2200
|
var this_10 = Char__minus_impl_a2frrh(Char__plus_impl_qi7pgj(_Char___init__impl__6a9atx(97), it), 10);
|
|
2201
|
-
var tmp$ret$
|
|
2202
|
-
tmp_9 = toByte(tmp$ret$
|
|
2201
|
+
var tmp$ret$3_0 = Char__toInt_impl_vasixd(this_10);
|
|
2202
|
+
tmp_9 = toByte(tmp$ret$3_0);
|
|
2203
2203
|
}
|
|
2204
|
-
var tmp$ret$
|
|
2205
|
-
destination_0.j1(tmp$ret$
|
|
2204
|
+
var tmp$ret$2_0 = tmp_9;
|
|
2205
|
+
destination_0.j1(tmp$ret$2_0);
|
|
2206
2206
|
}
|
|
2207
2207
|
while (!(item_0 === last_0));
|
|
2208
2208
|
HexLetterTable = toByteArray_0(destination_0);
|
|
@@ -2213,11 +2213,11 @@
|
|
|
2213
2213
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2214
2214
|
}
|
|
2215
2215
|
function MutableRange(start, end) {
|
|
2216
|
-
this.
|
|
2217
|
-
this.
|
|
2216
|
+
this.l38_1 = start;
|
|
2217
|
+
this.m38_1 = end;
|
|
2218
2218
|
}
|
|
2219
2219
|
protoOf(MutableRange).toString = function () {
|
|
2220
|
-
return 'MutableRange(start=' + this.
|
|
2220
|
+
return 'MutableRange(start=' + this.l38_1 + ', end=' + this.m38_1 + ')';
|
|
2221
2221
|
};
|
|
2222
2222
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2223
2223
|
var index = start;
|