@doordeck/doordeck-headless-sdk 0.137.0 → 0.139.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 +61 -61
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +2 -6459
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +57 -57
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.d.ts +80 -80
- package/kotlin/doordeck-sdk.js +13815 -13617
- package/kotlin/kotlin-kotlin-stdlib.js +3464 -2905
- package/kotlin/kotlinx-atomicfu.js +24 -24
- package/kotlin/kotlinx-coroutines-core.js +2412 -2409
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +54 -54
- package/kotlin/kotlinx-io-kotlinx-io-core.js +568 -568
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2130 -2118
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1675 -1659
- package/kotlin/ktor-ktor-client-auth.js +476 -476
- package/kotlin/ktor-ktor-client-content-negotiation.js +220 -220
- package/kotlin/ktor-ktor-client-core.js +3068 -3086
- package/kotlin/ktor-ktor-client-logging.js +1206 -1206
- package/kotlin/ktor-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-http-cio.js +603 -586
- package/kotlin/ktor-ktor-http.js +888 -888
- package/kotlin/ktor-ktor-io.js +1140 -1140
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +287 -287
- package/kotlin/ktor-ktor-serialization.js +130 -130
- package/kotlin/ktor-ktor-utils.js +961 -961
- package/kotlin/ktor-ktor-websockets.js +54 -54
- package/package.json +7 -7
|
@@ -2,59 +2,59 @@
|
|
|
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.$_$.xe;
|
|
6
6
|
var VOID = kotlin_kotlin.$_$.h;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.ib;
|
|
8
8
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
9
9
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
10
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
11
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
12
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
13
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
14
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
15
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
16
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
10
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ia;
|
|
11
|
+
var CoroutineImpl = kotlin_kotlin.$_$.k9;
|
|
12
|
+
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
13
|
+
var THROW_CCE = kotlin_kotlin.$_$.cf;
|
|
14
|
+
var SequenceScope = kotlin_kotlin.$_$.bc;
|
|
15
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.u8;
|
|
16
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.na;
|
|
17
17
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
18
|
-
var sequence = kotlin_kotlin.$_$.
|
|
19
|
-
var toString = kotlin_kotlin.$_$.
|
|
20
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
21
|
-
var abs = kotlin_kotlin.$_$.
|
|
18
|
+
var sequence = kotlin_kotlin.$_$.cc;
|
|
19
|
+
var toString = kotlin_kotlin.$_$.mb;
|
|
20
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
21
|
+
var abs = kotlin_kotlin.$_$.nb;
|
|
22
22
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
23
23
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.h1;
|
|
24
|
-
var fill = kotlin_kotlin.$_$.
|
|
25
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
26
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
27
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
28
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
29
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
30
|
-
var Char = kotlin_kotlin.$_$.
|
|
31
|
-
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.
|
|
32
|
-
var contains = kotlin_kotlin.$_$.
|
|
33
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
34
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
35
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
36
|
-
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.
|
|
37
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
24
|
+
var fill = kotlin_kotlin.$_$.v6;
|
|
25
|
+
var isIntArray = kotlin_kotlin.$_$.wa;
|
|
26
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l2;
|
|
27
|
+
var endsWith = kotlin_kotlin.$_$.lc;
|
|
28
|
+
var charSequenceLength = kotlin_kotlin.$_$.x9;
|
|
29
|
+
var charSequenceGet = kotlin_kotlin.$_$.w9;
|
|
30
|
+
var Char = kotlin_kotlin.$_$.ne;
|
|
31
|
+
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.m2;
|
|
32
|
+
var contains = kotlin_kotlin.$_$.gc;
|
|
33
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.y9;
|
|
34
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.r2;
|
|
35
|
+
var IllegalStateException = kotlin_kotlin.$_$.we;
|
|
36
|
+
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.w1;
|
|
37
|
+
var captureStack = kotlin_kotlin.$_$.s9;
|
|
38
38
|
var readUTF8LineTo = kotlin_io_ktor_ktor_io.$_$.h;
|
|
39
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
39
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
40
40
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
41
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
42
|
-
var setOf = kotlin_kotlin.$_$.
|
|
41
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ka;
|
|
42
|
+
var setOf = kotlin_kotlin.$_$.a8;
|
|
43
43
|
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.q;
|
|
44
44
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.n;
|
|
45
|
-
var listOf = kotlin_kotlin.$_$.
|
|
45
|
+
var listOf = kotlin_kotlin.$_$.o7;
|
|
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.$_$.
|
|
51
|
-
var copyOfRange = kotlin_kotlin.$_$.
|
|
49
|
+
var toString_0 = kotlin_kotlin.$_$.yd;
|
|
50
|
+
var toByte = kotlin_kotlin.$_$.jb;
|
|
51
|
+
var copyOfRange = kotlin_kotlin.$_$.f6;
|
|
52
52
|
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
53
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
53
|
+
var startsWith = kotlin_kotlin.$_$.hd;
|
|
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.$_$.k;
|
|
57
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
57
|
+
var isInterface = kotlin_kotlin.$_$.xa;
|
|
58
58
|
var counted = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
59
59
|
var writer = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
60
60
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
@@ -67,38 +67,38 @@
|
|
|
67
67
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.e;
|
|
68
68
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
69
69
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
|
|
70
|
-
var toLong = kotlin_kotlin.$_$.
|
|
70
|
+
var toLong = kotlin_kotlin.$_$.kb;
|
|
71
71
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.d1;
|
|
72
72
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
73
73
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
|
|
74
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
75
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
76
|
-
var Collection = kotlin_kotlin.$_$.
|
|
77
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
78
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
79
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
74
|
+
var compareTo = kotlin_kotlin.$_$.z9;
|
|
75
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.d2;
|
|
76
|
+
var Collection = kotlin_kotlin.$_$.h5;
|
|
77
|
+
var emptyList = kotlin_kotlin.$_$.s6;
|
|
78
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ja;
|
|
79
|
+
var ensureNotNull = kotlin_kotlin.$_$.uf;
|
|
80
80
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.i1;
|
|
81
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
82
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
83
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
84
|
-
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.
|
|
81
|
+
var isCharSequence = kotlin_kotlin.$_$.ta;
|
|
82
|
+
var getStringHashCode = kotlin_kotlin.$_$.ga;
|
|
83
|
+
var CharSequence = kotlin_kotlin.$_$.me;
|
|
84
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
85
85
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
86
|
-
var charArray = kotlin_kotlin.$_$.
|
|
87
|
-
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.
|
|
88
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
89
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
86
|
+
var charArray = kotlin_kotlin.$_$.u9;
|
|
87
|
+
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.e2;
|
|
88
|
+
var toString_1 = kotlin_kotlin.$_$.s2;
|
|
89
|
+
var charCodeAt = kotlin_kotlin.$_$.v9;
|
|
90
90
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
91
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
92
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
91
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.eb;
|
|
92
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.z5;
|
|
93
93
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
|
|
94
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
95
|
-
var toLongArray = kotlin_kotlin.$_$.
|
|
96
|
-
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.
|
|
97
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
98
|
-
var toByteArray_0 = kotlin_kotlin.$_$.
|
|
94
|
+
var numberToLong = kotlin_kotlin.$_$.gb;
|
|
95
|
+
var toLongArray = kotlin_kotlin.$_$.k8;
|
|
96
|
+
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.p2;
|
|
97
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.o2;
|
|
98
|
+
var toByteArray_0 = kotlin_kotlin.$_$.f8;
|
|
99
99
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
100
100
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
101
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
101
|
+
var isWhitespace = kotlin_kotlin.$_$.uc;
|
|
102
102
|
//endregion
|
|
103
103
|
//region block: pre-declaration
|
|
104
104
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -130,12 +130,12 @@
|
|
|
130
130
|
//endregion
|
|
131
131
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
132
132
|
formFieldLimit = formFieldLimit === VOID ? new Long(65536, 0) : formFieldLimit;
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
133
|
+
this.k37_1 = coroutineContext;
|
|
134
|
+
this.l37_1 = null;
|
|
135
|
+
this.m37_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
136
136
|
}
|
|
137
|
-
protoOf(CIOMultipartDataBase).
|
|
138
|
-
return this.
|
|
137
|
+
protoOf(CIOMultipartDataBase).bq = function () {
|
|
138
|
+
return this.k37_1;
|
|
139
139
|
};
|
|
140
140
|
function get_IntArrayPool() {
|
|
141
141
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -148,94 +148,94 @@
|
|
|
148
148
|
}
|
|
149
149
|
var HeadersDataPool;
|
|
150
150
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
151
|
-
this.
|
|
151
|
+
this.v37_1 = this$0;
|
|
152
152
|
CoroutineImpl.call(this, resultContinuation);
|
|
153
153
|
}
|
|
154
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
155
|
-
var tmp = this.
|
|
156
|
-
tmp.
|
|
157
|
-
tmp.
|
|
158
|
-
return tmp.
|
|
154
|
+
protoOf(HeadersData$headersStarts$slambda).b38 = function ($this$sequence, $completion) {
|
|
155
|
+
var tmp = this.c38($this$sequence, $completion);
|
|
156
|
+
tmp.l9_1 = Unit_instance;
|
|
157
|
+
tmp.m9_1 = null;
|
|
158
|
+
return tmp.r9();
|
|
159
159
|
};
|
|
160
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
161
|
-
return this.
|
|
160
|
+
protoOf(HeadersData$headersStarts$slambda).fa = function (p1, $completion) {
|
|
161
|
+
return this.b38(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
162
162
|
};
|
|
163
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
164
|
-
var suspendResult = this.
|
|
163
|
+
protoOf(HeadersData$headersStarts$slambda).r9 = function () {
|
|
164
|
+
var suspendResult = this.l9_1;
|
|
165
165
|
$sm: do
|
|
166
166
|
try {
|
|
167
|
-
var tmp = this.
|
|
167
|
+
var tmp = this.j9_1;
|
|
168
168
|
switch (tmp) {
|
|
169
169
|
case 0:
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
170
|
+
this.k9_1 = 7;
|
|
171
|
+
this.x37_1 = 0;
|
|
172
|
+
this.y37_1 = this.v37_1.d38_1.p();
|
|
173
|
+
this.j9_1 = 1;
|
|
174
174
|
continue $sm;
|
|
175
175
|
case 1:
|
|
176
|
-
if (!this.
|
|
177
|
-
this.
|
|
176
|
+
if (!this.y37_1.q()) {
|
|
177
|
+
this.j9_1 = 6;
|
|
178
178
|
continue $sm;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
181
|
+
this.z37_1 = this.y37_1.r();
|
|
182
|
+
this.a38_1 = 0;
|
|
183
|
+
this.j9_1 = 2;
|
|
184
184
|
continue $sm;
|
|
185
185
|
case 2:
|
|
186
|
-
if (!(this.
|
|
187
|
-
this.
|
|
186
|
+
if (!(this.a38_1 < this.z37_1.length)) {
|
|
187
|
+
this.j9_1 = 5;
|
|
188
188
|
continue $sm;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
if (!(this.
|
|
192
|
-
this.
|
|
193
|
-
suspendResult = this.
|
|
191
|
+
if (!(this.v37_1.e38(this.x37_1 + 0 | 0) === -1)) {
|
|
192
|
+
this.j9_1 = 3;
|
|
193
|
+
suspendResult = this.w37_1.fh(this.x37_1, this);
|
|
194
194
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
195
195
|
return suspendResult;
|
|
196
196
|
}
|
|
197
197
|
continue $sm;
|
|
198
198
|
} else {
|
|
199
|
-
this.
|
|
199
|
+
this.j9_1 = 4;
|
|
200
200
|
continue $sm;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
case 3:
|
|
204
|
-
this.
|
|
204
|
+
this.j9_1 = 4;
|
|
205
205
|
continue $sm;
|
|
206
206
|
case 4:
|
|
207
|
-
this.
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
207
|
+
this.a38_1 = this.a38_1 + 6 | 0;
|
|
208
|
+
this.x37_1 = this.x37_1 + 6 | 0;
|
|
209
|
+
this.j9_1 = 2;
|
|
210
210
|
continue $sm;
|
|
211
211
|
case 5:
|
|
212
|
-
this.
|
|
212
|
+
this.j9_1 = 1;
|
|
213
213
|
continue $sm;
|
|
214
214
|
case 6:
|
|
215
215
|
return Unit_instance;
|
|
216
216
|
case 7:
|
|
217
|
-
throw this.
|
|
217
|
+
throw this.m9_1;
|
|
218
218
|
}
|
|
219
219
|
} catch ($p) {
|
|
220
220
|
var e = $p;
|
|
221
|
-
if (this.
|
|
221
|
+
if (this.k9_1 === 7) {
|
|
222
222
|
throw e;
|
|
223
223
|
} else {
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
224
|
+
this.j9_1 = this.k9_1;
|
|
225
|
+
this.m9_1 = e;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
while (true);
|
|
229
229
|
};
|
|
230
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
231
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
232
|
-
i.
|
|
230
|
+
protoOf(HeadersData$headersStarts$slambda).c38 = function ($this$sequence, completion) {
|
|
231
|
+
var i = new HeadersData$headersStarts$slambda(this.v37_1, completion);
|
|
232
|
+
i.w37_1 = $this$sequence;
|
|
233
233
|
return i;
|
|
234
234
|
};
|
|
235
235
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
236
236
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
237
237
|
var l = function ($this$sequence, $completion) {
|
|
238
|
-
return i.
|
|
238
|
+
return i.b38($this$sequence, $completion);
|
|
239
239
|
};
|
|
240
240
|
l.$arity = 1;
|
|
241
241
|
return l;
|
|
@@ -243,137 +243,137 @@
|
|
|
243
243
|
function HeadersData() {
|
|
244
244
|
var tmp = this;
|
|
245
245
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
246
|
-
tmp.
|
|
246
|
+
tmp.d38_1 = ArrayList_init_$Create$();
|
|
247
247
|
}
|
|
248
|
-
protoOf(HeadersData).
|
|
249
|
-
return this.
|
|
248
|
+
protoOf(HeadersData).f38 = function () {
|
|
249
|
+
return this.d38_1.s();
|
|
250
250
|
};
|
|
251
|
-
protoOf(HeadersData).
|
|
251
|
+
protoOf(HeadersData).g38 = function (subArraysCount) {
|
|
252
252
|
// Inline function 'kotlin.repeat' call
|
|
253
253
|
var inductionVariable = 0;
|
|
254
254
|
if (inductionVariable < subArraysCount)
|
|
255
255
|
do {
|
|
256
256
|
var index = inductionVariable;
|
|
257
257
|
inductionVariable = inductionVariable + 1 | 0;
|
|
258
|
-
this.
|
|
258
|
+
this.d38_1.k(get_IntArrayPool().w1z());
|
|
259
259
|
}
|
|
260
260
|
while (inductionVariable < subArraysCount);
|
|
261
261
|
};
|
|
262
|
-
protoOf(HeadersData).
|
|
263
|
-
return this.
|
|
262
|
+
protoOf(HeadersData).e38 = function (index) {
|
|
263
|
+
return this.d38_1.u(index / 768 | 0)[index % 768 | 0];
|
|
264
264
|
};
|
|
265
|
-
protoOf(HeadersData).
|
|
266
|
-
this.
|
|
265
|
+
protoOf(HeadersData).h38 = function (index, value) {
|
|
266
|
+
this.d38_1.u(index / 768 | 0)[index % 768 | 0] = value;
|
|
267
267
|
};
|
|
268
|
-
protoOf(HeadersData).
|
|
268
|
+
protoOf(HeadersData).i38 = function () {
|
|
269
269
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
270
270
|
};
|
|
271
|
-
protoOf(HeadersData).
|
|
272
|
-
var _iterator__ex2g4s = this.
|
|
271
|
+
protoOf(HeadersData).c1g = function () {
|
|
272
|
+
var _iterator__ex2g4s = this.d38_1.p();
|
|
273
273
|
while (_iterator__ex2g4s.q()) {
|
|
274
274
|
var array = _iterator__ex2g4s.r();
|
|
275
|
-
get_IntArrayPool().
|
|
275
|
+
get_IntArrayPool().x1z(array);
|
|
276
276
|
}
|
|
277
|
-
this.
|
|
277
|
+
this.d38_1.e2();
|
|
278
278
|
};
|
|
279
279
|
function thresholdReached($this) {
|
|
280
|
-
return $this.
|
|
280
|
+
return $this.k38_1 >= $this.l38_1 * 0.75;
|
|
281
281
|
}
|
|
282
282
|
function resize($this) {
|
|
283
|
-
var prevSize = $this.
|
|
284
|
-
var prevData = $this.
|
|
285
|
-
$this.
|
|
286
|
-
$this.
|
|
283
|
+
var prevSize = $this.k38_1;
|
|
284
|
+
var prevData = $this.m38_1;
|
|
285
|
+
$this.k38_1 = 0;
|
|
286
|
+
$this.l38_1 = imul($this.l38_1, 2) | 128;
|
|
287
287
|
var tmp = $this;
|
|
288
288
|
// Inline function 'kotlin.apply' call
|
|
289
|
-
var this_0 = get_HeadersDataPool().
|
|
290
|
-
this_0.
|
|
291
|
-
tmp.
|
|
292
|
-
var _iterator__ex2g4s = prevData.
|
|
289
|
+
var this_0 = get_HeadersDataPool().w1z();
|
|
290
|
+
this_0.g38(imul(prevData.f38(), 2) | 1);
|
|
291
|
+
tmp.m38_1 = this_0;
|
|
292
|
+
var _iterator__ex2g4s = prevData.i38().p();
|
|
293
293
|
while (_iterator__ex2g4s.q()) {
|
|
294
294
|
var headerOffset = _iterator__ex2g4s.r();
|
|
295
|
-
$this.
|
|
295
|
+
$this.n38(prevData.e38(headerOffset + 1 | 0), prevData.e38(headerOffset + 2 | 0), prevData.e38(headerOffset + 3 | 0), prevData.e38(headerOffset + 4 | 0));
|
|
296
296
|
}
|
|
297
|
-
get_HeadersDataPool().
|
|
297
|
+
get_HeadersDataPool().x1z(prevData);
|
|
298
298
|
// Inline function 'kotlin.require' call
|
|
299
299
|
// Inline function 'kotlin.require' call
|
|
300
|
-
if (!(prevSize === $this.
|
|
300
|
+
if (!(prevSize === $this.k38_1)) {
|
|
301
301
|
var message = 'Failed requirement.';
|
|
302
302
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
function headerHasName($this, name, headerOffset) {
|
|
306
|
-
var nameStartIndex = $this.
|
|
307
|
-
var nameEndIndex = $this.
|
|
308
|
-
return equalsLowerCase($this.
|
|
306
|
+
var nameStartIndex = $this.m38_1.e38(headerOffset + 1 | 0);
|
|
307
|
+
var nameEndIndex = $this.m38_1.e38(headerOffset + 2 | 0);
|
|
308
|
+
return equalsLowerCase($this.j38_1, nameStartIndex, nameEndIndex, name);
|
|
309
309
|
}
|
|
310
310
|
function HttpHeadersMap(builder) {
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
311
|
+
this.j38_1 = builder;
|
|
312
|
+
this.k38_1 = 0;
|
|
313
|
+
this.l38_1 = 0;
|
|
314
|
+
this.m38_1 = get_HeadersDataPool().w1z();
|
|
315
315
|
}
|
|
316
|
-
protoOf(HttpHeadersMap).
|
|
317
|
-
if (this.
|
|
316
|
+
protoOf(HttpHeadersMap).b2o = function (name) {
|
|
317
|
+
if (this.k38_1 === 0)
|
|
318
318
|
return null;
|
|
319
319
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
320
320
|
var this_0 = hashCodeLowerCase(name);
|
|
321
321
|
var hash = abs(this_0);
|
|
322
|
-
var headerIndex = hash % this.
|
|
323
|
-
while (!(this.
|
|
322
|
+
var headerIndex = hash % this.l38_1 | 0;
|
|
323
|
+
while (!(this.m38_1.e38(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
324
324
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
325
|
-
return this.
|
|
325
|
+
return this.o38(imul(headerIndex, 6));
|
|
326
326
|
}
|
|
327
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
327
|
+
headerIndex = (headerIndex + 1 | 0) % this.l38_1 | 0;
|
|
328
328
|
}
|
|
329
329
|
return null;
|
|
330
330
|
};
|
|
331
|
-
protoOf(HttpHeadersMap).
|
|
332
|
-
return this.
|
|
331
|
+
protoOf(HttpHeadersMap).p38 = function () {
|
|
332
|
+
return this.m38_1.i38();
|
|
333
333
|
};
|
|
334
|
-
protoOf(HttpHeadersMap).
|
|
334
|
+
protoOf(HttpHeadersMap).n38 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
335
335
|
if (thresholdReached(this)) {
|
|
336
336
|
resize(this);
|
|
337
337
|
}
|
|
338
338
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
339
|
-
var this_0 = hashCodeLowerCase(this.
|
|
339
|
+
var this_0 = hashCodeLowerCase(this.j38_1, nameStartIndex, nameEndIndex);
|
|
340
340
|
var hash = abs(this_0);
|
|
341
|
-
var name = this.
|
|
342
|
-
var headerIndex = hash % this.
|
|
341
|
+
var name = this.j38_1.c(nameStartIndex, nameEndIndex);
|
|
342
|
+
var headerIndex = hash % this.l38_1 | 0;
|
|
343
343
|
var sameNameHeaderIndex = -1;
|
|
344
|
-
while (!(this.
|
|
344
|
+
while (!(this.m38_1.e38(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
345
345
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
346
346
|
sameNameHeaderIndex = headerIndex;
|
|
347
347
|
}
|
|
348
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
348
|
+
headerIndex = (headerIndex + 1 | 0) % this.l38_1 | 0;
|
|
349
349
|
}
|
|
350
350
|
var headerOffset = imul(headerIndex, 6);
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
351
|
+
this.m38_1.h38(headerOffset + 0 | 0, hash);
|
|
352
|
+
this.m38_1.h38(headerOffset + 1 | 0, nameStartIndex);
|
|
353
|
+
this.m38_1.h38(headerOffset + 2 | 0, nameEndIndex);
|
|
354
|
+
this.m38_1.h38(headerOffset + 3 | 0, valueStartIndex);
|
|
355
|
+
this.m38_1.h38(headerOffset + 4 | 0, valueEndIndex);
|
|
356
|
+
this.m38_1.h38(headerOffset + 5 | 0, -1);
|
|
357
357
|
if (!(sameNameHeaderIndex === -1)) {
|
|
358
|
-
this.
|
|
358
|
+
this.m38_1.h38(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
359
359
|
}
|
|
360
|
-
this.
|
|
360
|
+
this.k38_1 = this.k38_1 + 1 | 0;
|
|
361
361
|
};
|
|
362
|
-
protoOf(HttpHeadersMap).
|
|
363
|
-
var nameStartIndex = this.
|
|
364
|
-
var nameEndIndex = this.
|
|
365
|
-
return this.
|
|
362
|
+
protoOf(HttpHeadersMap).x38 = function (headerOffset) {
|
|
363
|
+
var nameStartIndex = this.m38_1.e38(headerOffset + 1 | 0);
|
|
364
|
+
var nameEndIndex = this.m38_1.e38(headerOffset + 2 | 0);
|
|
365
|
+
return this.j38_1.c(nameStartIndex, nameEndIndex);
|
|
366
366
|
};
|
|
367
|
-
protoOf(HttpHeadersMap).
|
|
368
|
-
var valueStartIndex = this.
|
|
369
|
-
var valueEndIndex = this.
|
|
370
|
-
return this.
|
|
367
|
+
protoOf(HttpHeadersMap).o38 = function (headerOffset) {
|
|
368
|
+
var valueStartIndex = this.m38_1.e38(headerOffset + 3 | 0);
|
|
369
|
+
var valueEndIndex = this.m38_1.e38(headerOffset + 4 | 0);
|
|
370
|
+
return this.j38_1.c(valueStartIndex, valueEndIndex);
|
|
371
371
|
};
|
|
372
|
-
protoOf(HttpHeadersMap).
|
|
373
|
-
this.
|
|
374
|
-
this.
|
|
375
|
-
get_HeadersDataPool().
|
|
376
|
-
this.
|
|
372
|
+
protoOf(HttpHeadersMap).c1g = function () {
|
|
373
|
+
this.k38_1 = 0;
|
|
374
|
+
this.l38_1 = 0;
|
|
375
|
+
get_HeadersDataPool().x1z(this.m38_1);
|
|
376
|
+
this.m38_1 = get_HeadersDataPool().w1z();
|
|
377
377
|
};
|
|
378
378
|
protoOf(HttpHeadersMap).toString = function () {
|
|
379
379
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -384,20 +384,20 @@
|
|
|
384
384
|
};
|
|
385
385
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
386
386
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
387
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
387
|
+
var _iterator__ex2g4s = _this__u8e3s4.p38().p();
|
|
388
388
|
while (_iterator__ex2g4s.q()) {
|
|
389
389
|
var offset = _iterator__ex2g4s.r();
|
|
390
390
|
out.l(indent);
|
|
391
|
-
out.l(_this__u8e3s4.
|
|
391
|
+
out.l(_this__u8e3s4.x38(offset));
|
|
392
392
|
out.l(' => ');
|
|
393
|
-
out.l(_this__u8e3s4.
|
|
393
|
+
out.l(_this__u8e3s4.o38(offset));
|
|
394
394
|
out.l('\n');
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
function IntArrayPool$1() {
|
|
398
398
|
DefaultPool.call(this, 1000);
|
|
399
399
|
}
|
|
400
|
-
protoOf(IntArrayPool$1).
|
|
400
|
+
protoOf(IntArrayPool$1).p1z = function () {
|
|
401
401
|
var tmp = 0;
|
|
402
402
|
var tmp_0 = new Int32Array(768);
|
|
403
403
|
while (tmp < 768) {
|
|
@@ -406,25 +406,25 @@
|
|
|
406
406
|
}
|
|
407
407
|
return tmp_0;
|
|
408
408
|
};
|
|
409
|
-
protoOf(IntArrayPool$1).
|
|
409
|
+
protoOf(IntArrayPool$1).b39 = function (instance) {
|
|
410
410
|
fill(instance, -1);
|
|
411
|
-
return protoOf(DefaultPool).
|
|
411
|
+
return protoOf(DefaultPool).u1z.call(this, instance);
|
|
412
412
|
};
|
|
413
|
-
protoOf(IntArrayPool$1).
|
|
414
|
-
return this.
|
|
413
|
+
protoOf(IntArrayPool$1).u1z = function (instance) {
|
|
414
|
+
return this.b39(isIntArray(instance) ? instance : THROW_CCE());
|
|
415
415
|
};
|
|
416
416
|
function HeadersDataPool$1() {
|
|
417
417
|
DefaultPool.call(this, 1000);
|
|
418
418
|
}
|
|
419
|
-
protoOf(HeadersDataPool$1).
|
|
419
|
+
protoOf(HeadersDataPool$1).p1z = function () {
|
|
420
420
|
return new HeadersData();
|
|
421
421
|
};
|
|
422
|
-
protoOf(HeadersDataPool$1).
|
|
423
|
-
instance.
|
|
424
|
-
return protoOf(DefaultPool).
|
|
422
|
+
protoOf(HeadersDataPool$1).f39 = function (instance) {
|
|
423
|
+
instance.c1g();
|
|
424
|
+
return protoOf(DefaultPool).u1z.call(this, instance);
|
|
425
425
|
};
|
|
426
|
-
protoOf(HeadersDataPool$1).
|
|
427
|
-
return this.
|
|
426
|
+
protoOf(HeadersDataPool$1).u1z = function (instance) {
|
|
427
|
+
return this.f39(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
428
428
|
};
|
|
429
429
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
430
430
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -448,22 +448,22 @@
|
|
|
448
448
|
function parseHeaders(input, builder, range, $completion) {
|
|
449
449
|
range = range === VOID ? new MutableRange(0, 0) : range;
|
|
450
450
|
var tmp = new $parseHeadersCOROUTINE$(input, builder, range, $completion);
|
|
451
|
-
tmp.
|
|
452
|
-
tmp.
|
|
453
|
-
return tmp.
|
|
451
|
+
tmp.l9_1 = Unit_instance;
|
|
452
|
+
tmp.m9_1 = null;
|
|
453
|
+
return tmp.r9();
|
|
454
454
|
}
|
|
455
455
|
function parseHeaderName(text, range) {
|
|
456
456
|
_init_properties_HttpParser_kt__gbdom1();
|
|
457
|
-
var index = range.
|
|
458
|
-
var end = range.
|
|
457
|
+
var index = range.s39_1;
|
|
458
|
+
var end = range.t39_1;
|
|
459
459
|
while (index < end) {
|
|
460
460
|
var ch = text.b(index);
|
|
461
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
462
|
-
range.
|
|
461
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.s39_1)) {
|
|
462
|
+
range.s39_1 = index + 1 | 0;
|
|
463
463
|
return index;
|
|
464
464
|
}
|
|
465
465
|
if (isDelimiter(ch)) {
|
|
466
|
-
parseHeaderNameFailed(text, index, range.
|
|
466
|
+
parseHeaderNameFailed(text, index, range.s39_1, ch);
|
|
467
467
|
}
|
|
468
468
|
index = index + 1 | 0;
|
|
469
469
|
}
|
|
@@ -471,12 +471,12 @@
|
|
|
471
471
|
}
|
|
472
472
|
function parseHeaderValue(text, range) {
|
|
473
473
|
_init_properties_HttpParser_kt__gbdom1();
|
|
474
|
-
var start = range.
|
|
475
|
-
var end = range.
|
|
474
|
+
var start = range.s39_1;
|
|
475
|
+
var end = range.t39_1;
|
|
476
476
|
var index = start;
|
|
477
477
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
478
478
|
if (index >= end) {
|
|
479
|
-
range.
|
|
479
|
+
range.s39_1 = end;
|
|
480
480
|
return Unit_instance;
|
|
481
481
|
}
|
|
482
482
|
var valueStart = index;
|
|
@@ -490,8 +490,8 @@
|
|
|
490
490
|
valueLastIndex = index;
|
|
491
491
|
index = index + 1 | 0;
|
|
492
492
|
}
|
|
493
|
-
range.
|
|
494
|
-
range.
|
|
493
|
+
range.s39_1 = valueStart;
|
|
494
|
+
range.t39_1 = valueLastIndex + 1 | 0;
|
|
495
495
|
}
|
|
496
496
|
function validateHostHeader(host) {
|
|
497
497
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
while (inductionVariable < charSequenceLength(host)) {
|
|
506
506
|
var element = charSequenceGet(host, inductionVariable);
|
|
507
507
|
inductionVariable = inductionVariable + 1 | 0;
|
|
508
|
-
if (get_hostForbiddenSymbols().
|
|
508
|
+
if (get_hostForbiddenSymbols().w1(new Char(element))) {
|
|
509
509
|
tmp$ret$1 = true;
|
|
510
510
|
break $l$block;
|
|
511
511
|
}
|
|
@@ -532,9 +532,9 @@
|
|
|
532
532
|
}
|
|
533
533
|
function noColonFound(text, range) {
|
|
534
534
|
_init_properties_HttpParser_kt__gbdom1();
|
|
535
|
-
var tmp2 = range.
|
|
535
|
+
var tmp2 = range.s39_1;
|
|
536
536
|
// Inline function 'kotlin.text.substring' call
|
|
537
|
-
var endIndex = range.
|
|
537
|
+
var endIndex = range.t39_1;
|
|
538
538
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
539
539
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
540
540
|
}
|
|
@@ -550,30 +550,30 @@
|
|
|
550
550
|
}
|
|
551
551
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
552
552
|
CoroutineImpl.call(this, resultContinuation);
|
|
553
|
-
this.
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
553
|
+
this.o39_1 = input;
|
|
554
|
+
this.p39_1 = builder;
|
|
555
|
+
this.q39_1 = range;
|
|
556
556
|
}
|
|
557
|
-
protoOf($parseHeadersCOROUTINE$).
|
|
558
|
-
var suspendResult = this.
|
|
557
|
+
protoOf($parseHeadersCOROUTINE$).r9 = function () {
|
|
558
|
+
var suspendResult = this.l9_1;
|
|
559
559
|
$sm: do
|
|
560
560
|
try {
|
|
561
|
-
var tmp = this.
|
|
561
|
+
var tmp = this.j9_1;
|
|
562
562
|
switch (tmp) {
|
|
563
563
|
case 0:
|
|
564
|
-
this.
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
564
|
+
this.k9_1 = 7;
|
|
565
|
+
this.r39_1 = new HttpHeadersMap(this.p39_1);
|
|
566
|
+
this.k9_1 = 6;
|
|
567
|
+
this.j9_1 = 1;
|
|
568
568
|
continue $sm;
|
|
569
569
|
case 1:
|
|
570
570
|
if (!true) {
|
|
571
|
-
this.
|
|
571
|
+
this.j9_1 = 5;
|
|
572
572
|
continue $sm;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
this.
|
|
576
|
-
suspendResult = readUTF8LineTo(this.
|
|
575
|
+
this.j9_1 = 2;
|
|
576
|
+
suspendResult = readUTF8LineTo(this.o39_1, this.p39_1, 8192, get_httpLineEndings(), this);
|
|
577
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
578
|
return suspendResult;
|
|
579
579
|
}
|
|
@@ -582,21 +582,21 @@
|
|
|
582
582
|
case 2:
|
|
583
583
|
var ARGUMENT = suspendResult;
|
|
584
584
|
if (!ARGUMENT) {
|
|
585
|
-
this.
|
|
585
|
+
this.r39_1.c1g();
|
|
586
586
|
return null;
|
|
587
587
|
} else {
|
|
588
|
-
this.
|
|
588
|
+
this.j9_1 = 3;
|
|
589
589
|
continue $sm;
|
|
590
590
|
}
|
|
591
591
|
|
|
592
592
|
case 3:
|
|
593
|
-
this.
|
|
594
|
-
var rangeLength = this.
|
|
593
|
+
this.q39_1.t39_1 = this.p39_1.w38_1;
|
|
594
|
+
var rangeLength = this.q39_1.t39_1 - this.q39_1.s39_1 | 0;
|
|
595
595
|
if (rangeLength === 0) {
|
|
596
|
-
this.
|
|
596
|
+
this.j9_1 = 5;
|
|
597
597
|
continue $sm;
|
|
598
598
|
} else {
|
|
599
|
-
this.
|
|
599
|
+
this.j9_1 = 4;
|
|
600
600
|
continue $sm;
|
|
601
601
|
}
|
|
602
602
|
|
|
@@ -606,44 +606,44 @@
|
|
|
606
606
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
607
607
|
}
|
|
608
608
|
|
|
609
|
-
var nameStart = this.
|
|
610
|
-
var nameEnd = parseHeaderName(this.
|
|
611
|
-
var headerEnd = this.
|
|
612
|
-
parseHeaderValue(this.
|
|
613
|
-
var valueStart = this.
|
|
614
|
-
var valueEnd = this.
|
|
615
|
-
this.
|
|
616
|
-
this.
|
|
617
|
-
this.
|
|
609
|
+
var nameStart = this.q39_1.s39_1;
|
|
610
|
+
var nameEnd = parseHeaderName(this.p39_1, this.q39_1);
|
|
611
|
+
var headerEnd = this.q39_1.t39_1;
|
|
612
|
+
parseHeaderValue(this.p39_1, this.q39_1);
|
|
613
|
+
var valueStart = this.q39_1.s39_1;
|
|
614
|
+
var valueEnd = this.q39_1.t39_1;
|
|
615
|
+
this.q39_1.s39_1 = headerEnd;
|
|
616
|
+
this.r39_1.n38(nameStart, nameEnd, valueStart, valueEnd);
|
|
617
|
+
this.j9_1 = 1;
|
|
618
618
|
continue $sm;
|
|
619
619
|
case 5:
|
|
620
|
-
var host = this.
|
|
620
|
+
var host = this.r39_1.b2o(HttpHeaders_getInstance().v2x_1);
|
|
621
621
|
if (!(host == null)) {
|
|
622
622
|
validateHostHeader(host);
|
|
623
623
|
}
|
|
624
624
|
|
|
625
|
-
return this.
|
|
625
|
+
return this.r39_1;
|
|
626
626
|
case 6:
|
|
627
|
-
this.
|
|
628
|
-
var tmp_0 = this.
|
|
627
|
+
this.k9_1 = 7;
|
|
628
|
+
var tmp_0 = this.m9_1;
|
|
629
629
|
if (tmp_0 instanceof Error) {
|
|
630
|
-
var t = this.
|
|
631
|
-
this.
|
|
630
|
+
var t = this.m9_1;
|
|
631
|
+
this.r39_1.c1g();
|
|
632
632
|
throw t;
|
|
633
633
|
} else {
|
|
634
|
-
throw this.
|
|
634
|
+
throw this.m9_1;
|
|
635
635
|
}
|
|
636
636
|
|
|
637
637
|
case 7:
|
|
638
|
-
throw this.
|
|
638
|
+
throw this.m9_1;
|
|
639
639
|
}
|
|
640
640
|
} catch ($p) {
|
|
641
641
|
var e = $p;
|
|
642
|
-
if (this.
|
|
642
|
+
if (this.k9_1 === 7) {
|
|
643
643
|
throw e;
|
|
644
644
|
} else {
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
645
|
+
this.j9_1 = this.k9_1;
|
|
646
|
+
this.m9_1 = e;
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
while (true);
|
|
@@ -653,8 +653,8 @@
|
|
|
653
653
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
654
654
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
655
655
|
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))]);
|
|
656
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().
|
|
657
|
-
versions = Companion_instance.
|
|
656
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().u1t_1, Companion_getInstance().t1t_1);
|
|
657
|
+
versions = Companion_instance.u39(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
function get_CrLf() {
|
|
@@ -669,23 +669,23 @@
|
|
|
669
669
|
var PrefixString;
|
|
670
670
|
function Preamble(body) {
|
|
671
671
|
MultipartEvent.call(this);
|
|
672
|
-
this.
|
|
672
|
+
this.v39_1 = body;
|
|
673
673
|
}
|
|
674
674
|
function MultipartPart(headers, body) {
|
|
675
675
|
MultipartEvent.call(this);
|
|
676
|
-
this.
|
|
677
|
-
this.
|
|
676
|
+
this.w39_1 = headers;
|
|
677
|
+
this.x39_1 = body;
|
|
678
678
|
}
|
|
679
679
|
function Epilogue(body) {
|
|
680
680
|
MultipartEvent.call(this);
|
|
681
|
-
this.
|
|
681
|
+
this.y39_1 = body;
|
|
682
682
|
}
|
|
683
683
|
function MultipartEvent() {
|
|
684
684
|
}
|
|
685
685
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
686
686
|
maxPartSize = maxPartSize === VOID ? new Long(-1, 2147483647) : maxPartSize;
|
|
687
687
|
_init_properties_Multipart_kt__ato98a();
|
|
688
|
-
if (!MultiPart_getInstance().
|
|
688
|
+
if (!MultiPart_getInstance().l2v(contentType)) {
|
|
689
689
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
690
690
|
}
|
|
691
691
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -833,21 +833,21 @@
|
|
|
833
833
|
}
|
|
834
834
|
function parsePartHeadersImpl(input, $completion) {
|
|
835
835
|
var tmp = new $parsePartHeadersImplCOROUTINE$(input, $completion);
|
|
836
|
-
tmp.
|
|
837
|
-
tmp.
|
|
838
|
-
return tmp.
|
|
836
|
+
tmp.l9_1 = Unit_instance;
|
|
837
|
+
tmp.m9_1 = null;
|
|
838
|
+
return tmp.r9();
|
|
839
839
|
}
|
|
840
840
|
function parsePartBodyImpl(boundaryPrefixed, input, output, headers, limit, $completion) {
|
|
841
841
|
var tmp = new $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, $completion);
|
|
842
|
-
tmp.
|
|
843
|
-
tmp.
|
|
844
|
-
return tmp.
|
|
842
|
+
tmp.l9_1 = Unit_instance;
|
|
843
|
+
tmp.m9_1 = null;
|
|
844
|
+
return tmp.r9();
|
|
845
845
|
}
|
|
846
846
|
function skipIfFoundReadCount(_this__u8e3s4, prefix, $completion) {
|
|
847
847
|
var tmp = new $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, $completion);
|
|
848
|
-
tmp.
|
|
849
|
-
tmp.
|
|
850
|
-
return tmp.
|
|
848
|
+
tmp.l9_1 = Unit_instance;
|
|
849
|
+
tmp.m9_1 = null;
|
|
850
|
+
return tmp.r9();
|
|
851
851
|
}
|
|
852
852
|
function throwLimitExceeded(actual, limit) {
|
|
853
853
|
_init_properties_Multipart_kt__ato98a();
|
|
@@ -862,37 +862,37 @@
|
|
|
862
862
|
boundaryBytes[_unary__edvuaz] = value;
|
|
863
863
|
}
|
|
864
864
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
865
|
-
this.
|
|
866
|
-
this.
|
|
865
|
+
this.u3b_1 = $firstBoundary;
|
|
866
|
+
this.v3b_1 = $countedInput;
|
|
867
867
|
CoroutineImpl.call(this, resultContinuation);
|
|
868
868
|
}
|
|
869
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
870
|
-
var tmp = this.
|
|
871
|
-
tmp.
|
|
872
|
-
tmp.
|
|
873
|
-
return tmp.
|
|
869
|
+
protoOf(parseMultipart$slambda$slambda).x3b = function ($this$writer, $completion) {
|
|
870
|
+
var tmp = this.y3b($this$writer, $completion);
|
|
871
|
+
tmp.l9_1 = Unit_instance;
|
|
872
|
+
tmp.m9_1 = null;
|
|
873
|
+
return tmp.r9();
|
|
874
874
|
};
|
|
875
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
876
|
-
return this.
|
|
875
|
+
protoOf(parseMultipart$slambda$slambda).fa = function (p1, $completion) {
|
|
876
|
+
return this.x3b(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
877
877
|
};
|
|
878
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
879
|
-
var suspendResult = this.
|
|
878
|
+
protoOf(parseMultipart$slambda$slambda).r9 = function () {
|
|
879
|
+
var suspendResult = this.l9_1;
|
|
880
880
|
$sm: do
|
|
881
881
|
try {
|
|
882
|
-
var tmp = this.
|
|
882
|
+
var tmp = this.j9_1;
|
|
883
883
|
switch (tmp) {
|
|
884
884
|
case 0:
|
|
885
|
-
this.
|
|
886
|
-
this.
|
|
887
|
-
suspendResult = parsePreambleImpl(this.
|
|
885
|
+
this.k9_1 = 3;
|
|
886
|
+
this.j9_1 = 1;
|
|
887
|
+
suspendResult = parsePreambleImpl(this.u3b_1, this.v3b_1, this.w3b_1.u1w_1, new Long(8193, 0), this);
|
|
888
888
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
889
889
|
return suspendResult;
|
|
890
890
|
}
|
|
891
891
|
|
|
892
892
|
continue $sm;
|
|
893
893
|
case 1:
|
|
894
|
-
this.
|
|
895
|
-
suspendResult = this.
|
|
894
|
+
this.j9_1 = 2;
|
|
895
|
+
suspendResult = this.w3b_1.u1w_1.q1o(this);
|
|
896
896
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
897
897
|
return suspendResult;
|
|
898
898
|
}
|
|
@@ -901,304 +901,321 @@
|
|
|
901
901
|
case 2:
|
|
902
902
|
return Unit_instance;
|
|
903
903
|
case 3:
|
|
904
|
-
throw this.
|
|
904
|
+
throw this.m9_1;
|
|
905
905
|
}
|
|
906
906
|
} catch ($p) {
|
|
907
907
|
var e = $p;
|
|
908
|
-
if (this.
|
|
908
|
+
if (this.k9_1 === 3) {
|
|
909
909
|
throw e;
|
|
910
910
|
} else {
|
|
911
|
-
this.
|
|
912
|
-
this.
|
|
911
|
+
this.j9_1 = this.k9_1;
|
|
912
|
+
this.m9_1 = e;
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
915
|
while (true);
|
|
916
916
|
};
|
|
917
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
918
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
919
|
-
i.
|
|
917
|
+
protoOf(parseMultipart$slambda$slambda).y3b = function ($this$writer, completion) {
|
|
918
|
+
var i = new parseMultipart$slambda$slambda(this.u3b_1, this.v3b_1, completion);
|
|
919
|
+
i.w3b_1 = $this$writer;
|
|
920
920
|
return i;
|
|
921
921
|
};
|
|
922
922
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
923
923
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
924
924
|
var l = function ($this$writer, $completion) {
|
|
925
|
-
return i.
|
|
925
|
+
return i.x3b($this$writer, $completion);
|
|
926
926
|
};
|
|
927
927
|
l.$arity = 1;
|
|
928
928
|
return l;
|
|
929
929
|
}
|
|
930
930
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
931
|
-
this.
|
|
932
|
-
this.
|
|
933
|
-
this.
|
|
934
|
-
this.
|
|
931
|
+
this.h3c_1 = $input;
|
|
932
|
+
this.i3c_1 = $boundaryPrefixed;
|
|
933
|
+
this.j3c_1 = $maxPartSize;
|
|
934
|
+
this.k3c_1 = $totalLength;
|
|
935
935
|
CoroutineImpl.call(this, resultContinuation);
|
|
936
936
|
}
|
|
937
|
-
protoOf(parseMultipart$slambda).
|
|
938
|
-
var tmp = this.
|
|
939
|
-
tmp.
|
|
940
|
-
tmp.
|
|
941
|
-
return tmp.
|
|
937
|
+
protoOf(parseMultipart$slambda).c3d = function ($this$produce, $completion) {
|
|
938
|
+
var tmp = this.d3d($this$produce, $completion);
|
|
939
|
+
tmp.l9_1 = Unit_instance;
|
|
940
|
+
tmp.m9_1 = null;
|
|
941
|
+
return tmp.r9();
|
|
942
942
|
};
|
|
943
|
-
protoOf(parseMultipart$slambda).
|
|
944
|
-
return this.
|
|
943
|
+
protoOf(parseMultipart$slambda).fa = function (p1, $completion) {
|
|
944
|
+
return this.c3d((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
945
945
|
};
|
|
946
|
-
protoOf(parseMultipart$slambda).
|
|
947
|
-
var suspendResult = this.
|
|
946
|
+
protoOf(parseMultipart$slambda).r9 = function () {
|
|
947
|
+
var suspendResult = this.l9_1;
|
|
948
948
|
$sm: do
|
|
949
949
|
try {
|
|
950
|
-
var tmp = this.
|
|
950
|
+
var tmp = this.j9_1;
|
|
951
951
|
switch (tmp) {
|
|
952
952
|
case 0:
|
|
953
|
-
this.
|
|
954
|
-
this.
|
|
955
|
-
this.
|
|
956
|
-
this.
|
|
957
|
-
this.
|
|
958
|
-
suspendResult = readRemaining(writer(this.
|
|
953
|
+
this.k9_1 = 25;
|
|
954
|
+
this.m3c_1 = counted(this.h3c_1);
|
|
955
|
+
this.n3c_1 = this.m3c_1.d1z();
|
|
956
|
+
this.o3c_1 = this.i3c_1.s1i(get_PrefixString().s());
|
|
957
|
+
this.j9_1 = 1;
|
|
958
|
+
suspendResult = readRemaining(writer(this.l3c_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.o3c_1, this.m3c_1, null)).s1w_1, this);
|
|
959
959
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
960
960
|
return suspendResult;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
continue $sm;
|
|
964
964
|
case 1:
|
|
965
|
-
this.
|
|
966
|
-
if (get_remaining(this.
|
|
967
|
-
this.
|
|
968
|
-
suspendResult = this.
|
|
965
|
+
this.p3c_1 = suspendResult;
|
|
966
|
+
if (get_remaining(this.p3c_1).d1(new Long(0, 0)) > 0) {
|
|
967
|
+
this.j9_1 = 2;
|
|
968
|
+
suspendResult = this.l3c_1.c18(new Preamble(this.p3c_1), this);
|
|
969
969
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
970
970
|
return suspendResult;
|
|
971
971
|
}
|
|
972
972
|
continue $sm;
|
|
973
973
|
} else {
|
|
974
|
-
this.
|
|
974
|
+
this.j9_1 = 3;
|
|
975
975
|
continue $sm;
|
|
976
976
|
}
|
|
977
977
|
|
|
978
978
|
case 2:
|
|
979
|
-
this.
|
|
979
|
+
this.j9_1 = 3;
|
|
980
980
|
continue $sm;
|
|
981
981
|
case 3:
|
|
982
|
-
this.
|
|
982
|
+
this.j9_1 = 4;
|
|
983
983
|
continue $sm;
|
|
984
984
|
case 4:
|
|
985
|
-
if (!this.
|
|
986
|
-
this.
|
|
987
|
-
suspendResult = skipIfFound(this.
|
|
985
|
+
if (!this.m3c_1.n1o()) {
|
|
986
|
+
this.j9_1 = 5;
|
|
987
|
+
suspendResult = skipIfFound(this.m3c_1, get_PrefixString(), this);
|
|
988
988
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
989
989
|
return suspendResult;
|
|
990
990
|
}
|
|
991
991
|
continue $sm;
|
|
992
992
|
} else {
|
|
993
|
-
this.
|
|
994
|
-
this.
|
|
993
|
+
this.q3c_1 = false;
|
|
994
|
+
this.j9_1 = 6;
|
|
995
995
|
continue $sm;
|
|
996
996
|
}
|
|
997
997
|
|
|
998
998
|
case 5:
|
|
999
|
-
this.
|
|
1000
|
-
this.
|
|
1001
|
-
this.
|
|
999
|
+
this.r3c_1 = suspendResult;
|
|
1000
|
+
this.q3c_1 = !this.r3c_1;
|
|
1001
|
+
this.j9_1 = 6;
|
|
1002
1002
|
continue $sm;
|
|
1003
1003
|
case 6:
|
|
1004
|
-
if (!this.
|
|
1005
|
-
this.
|
|
1004
|
+
if (!this.q3c_1) {
|
|
1005
|
+
this.j9_1 = 15;
|
|
1006
1006
|
continue $sm;
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
|
-
this.
|
|
1010
|
-
suspendResult = skipIfFound(this.
|
|
1009
|
+
this.j9_1 = 7;
|
|
1010
|
+
suspendResult = skipIfFound(this.m3c_1, get_CrLf(), this);
|
|
1011
1011
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1012
1012
|
return suspendResult;
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
continue $sm;
|
|
1016
1016
|
case 7:
|
|
1017
|
-
this.
|
|
1018
|
-
this.
|
|
1019
|
-
this.r3b_1 = new MultipartPart(this.q3b_1, this.p3b_1);
|
|
1020
|
-
this.i9_1 = 8;
|
|
1021
|
-
suspendResult = this.i3b_1.b17(this.r3b_1, this);
|
|
1017
|
+
this.j9_1 = 8;
|
|
1018
|
+
suspendResult = skipIfFound(this.m3c_1, this.o3c_1, this);
|
|
1022
1019
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1023
1020
|
return suspendResult;
|
|
1024
1021
|
}
|
|
1025
1022
|
|
|
1026
1023
|
continue $sm;
|
|
1027
1024
|
case 8:
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1025
|
+
if (suspendResult) {
|
|
1026
|
+
this.j9_1 = 4;
|
|
1027
|
+
continue $sm;
|
|
1028
|
+
} else {
|
|
1029
|
+
this.j9_1 = 9;
|
|
1030
|
+
continue $sm;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
case 9:
|
|
1034
|
+
this.s3c_1 = new ByteChannel();
|
|
1035
|
+
this.t3c_1 = CompletableDeferred();
|
|
1036
|
+
this.u3c_1 = new MultipartPart(this.t3c_1, this.s3c_1);
|
|
1037
|
+
this.j9_1 = 10;
|
|
1038
|
+
suspendResult = this.l3c_1.c18(this.u3c_1, this);
|
|
1032
1039
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1033
1040
|
return suspendResult;
|
|
1034
1041
|
}
|
|
1035
1042
|
|
|
1036
1043
|
continue $sm;
|
|
1037
|
-
case
|
|
1038
|
-
this.
|
|
1039
|
-
|
|
1040
|
-
|
|
1044
|
+
case 10:
|
|
1045
|
+
this.v3c_1 = null;
|
|
1046
|
+
this.k9_1 = 14;
|
|
1047
|
+
this.j9_1 = 11;
|
|
1048
|
+
suspendResult = parsePartHeadersImpl(this.m3c_1, this);
|
|
1049
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1050
|
+
return suspendResult;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
continue $sm;
|
|
1054
|
+
case 11:
|
|
1055
|
+
this.v3c_1 = suspendResult;
|
|
1056
|
+
if (!this.t3c_1.iy(this.v3c_1)) {
|
|
1057
|
+
this.v3c_1.c1g();
|
|
1041
1058
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1042
1059
|
}
|
|
1043
1060
|
|
|
1044
|
-
this.
|
|
1045
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1061
|
+
this.j9_1 = 12;
|
|
1062
|
+
suspendResult = parsePartBodyImpl(this.i3c_1, this.m3c_1, this.s3c_1, this.v3c_1, this.j3c_1, this);
|
|
1046
1063
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1047
1064
|
return suspendResult;
|
|
1048
1065
|
}
|
|
1049
1066
|
|
|
1050
1067
|
continue $sm;
|
|
1051
|
-
case
|
|
1052
|
-
this.
|
|
1053
|
-
this.
|
|
1054
|
-
this.
|
|
1068
|
+
case 12:
|
|
1069
|
+
this.s3c_1.s4();
|
|
1070
|
+
this.k9_1 = 25;
|
|
1071
|
+
this.j9_1 = 13;
|
|
1055
1072
|
continue $sm;
|
|
1056
|
-
case
|
|
1057
|
-
this.
|
|
1058
|
-
this.
|
|
1073
|
+
case 13:
|
|
1074
|
+
this.k9_1 = 25;
|
|
1075
|
+
this.j9_1 = 4;
|
|
1059
1076
|
continue $sm;
|
|
1060
|
-
case
|
|
1061
|
-
this.
|
|
1062
|
-
var tmp_0 = this.
|
|
1077
|
+
case 14:
|
|
1078
|
+
this.k9_1 = 25;
|
|
1079
|
+
var tmp_0 = this.m9_1;
|
|
1063
1080
|
if (tmp_0 instanceof Error) {
|
|
1064
|
-
this.
|
|
1065
|
-
if (this.
|
|
1066
|
-
var tmp0_safe_receiver = this.
|
|
1081
|
+
this.w3c_1 = this.m9_1;
|
|
1082
|
+
if (this.t3c_1.jy(this.w3c_1)) {
|
|
1083
|
+
var tmp0_safe_receiver = this.v3c_1;
|
|
1067
1084
|
if (tmp0_safe_receiver == null)
|
|
1068
1085
|
null;
|
|
1069
1086
|
else {
|
|
1070
|
-
tmp0_safe_receiver.
|
|
1087
|
+
tmp0_safe_receiver.c1g();
|
|
1071
1088
|
}
|
|
1072
1089
|
}
|
|
1073
|
-
close(this.
|
|
1074
|
-
throw this.
|
|
1090
|
+
close(this.s3c_1, this.w3c_1);
|
|
1091
|
+
throw this.w3c_1;
|
|
1075
1092
|
} else {
|
|
1076
|
-
throw this.
|
|
1093
|
+
throw this.m9_1;
|
|
1077
1094
|
}
|
|
1078
1095
|
|
|
1079
|
-
case
|
|
1080
|
-
this.
|
|
1081
|
-
suspendResult = skipIfFound(this.
|
|
1096
|
+
case 15:
|
|
1097
|
+
this.j9_1 = 16;
|
|
1098
|
+
suspendResult = skipIfFound(this.m3c_1, get_CrLf(), this);
|
|
1082
1099
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1083
1100
|
return suspendResult;
|
|
1084
1101
|
}
|
|
1085
1102
|
|
|
1086
1103
|
continue $sm;
|
|
1087
|
-
case
|
|
1088
|
-
this.
|
|
1089
|
-
suspendResult = skipIfFound(this.
|
|
1104
|
+
case 16:
|
|
1105
|
+
this.j9_1 = 17;
|
|
1106
|
+
suspendResult = skipIfFound(this.m3c_1, get_CrLf(), this);
|
|
1090
1107
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1091
1108
|
return suspendResult;
|
|
1092
1109
|
}
|
|
1093
1110
|
|
|
1094
1111
|
continue $sm;
|
|
1095
|
-
case
|
|
1096
|
-
if (!(this.
|
|
1097
|
-
this.
|
|
1098
|
-
this.
|
|
1099
|
-
if (this.
|
|
1112
|
+
case 17:
|
|
1113
|
+
if (!(this.k3c_1 == null)) {
|
|
1114
|
+
this.x3c_1 = this.m3c_1.d1z().b3(this.n3c_1);
|
|
1115
|
+
this.y3c_1 = this.k3c_1.b3(this.x3c_1);
|
|
1116
|
+
if (this.y3c_1.d1(new Long(2147483647, 0)) > 0)
|
|
1100
1117
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1101
|
-
if (this.
|
|
1102
|
-
this.
|
|
1103
|
-
suspendResult = readPacket(this.
|
|
1118
|
+
if (this.y3c_1.d1(new Long(0, 0)) > 0) {
|
|
1119
|
+
this.j9_1 = 21;
|
|
1120
|
+
suspendResult = readPacket(this.m3c_1, this.y3c_1.i1(), this);
|
|
1104
1121
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1105
1122
|
return suspendResult;
|
|
1106
1123
|
}
|
|
1107
1124
|
continue $sm;
|
|
1108
1125
|
} else {
|
|
1109
|
-
this.
|
|
1126
|
+
this.j9_1 = 23;
|
|
1110
1127
|
continue $sm;
|
|
1111
1128
|
}
|
|
1112
1129
|
} else {
|
|
1113
|
-
this.
|
|
1114
|
-
suspendResult = readRemaining(this.
|
|
1130
|
+
this.j9_1 = 18;
|
|
1131
|
+
suspendResult = readRemaining(this.m3c_1, this);
|
|
1115
1132
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1116
1133
|
return suspendResult;
|
|
1117
1134
|
}
|
|
1118
1135
|
continue $sm;
|
|
1119
1136
|
}
|
|
1120
1137
|
|
|
1121
|
-
case
|
|
1122
|
-
this.
|
|
1123
|
-
if (!this.
|
|
1124
|
-
this.
|
|
1125
|
-
suspendResult = this.
|
|
1138
|
+
case 18:
|
|
1139
|
+
this.z3c_1 = suspendResult;
|
|
1140
|
+
if (!this.z3c_1.a1j()) {
|
|
1141
|
+
this.j9_1 = 19;
|
|
1142
|
+
suspendResult = this.l3c_1.c18(new Epilogue(this.z3c_1), this);
|
|
1126
1143
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1127
1144
|
return suspendResult;
|
|
1128
1145
|
}
|
|
1129
1146
|
continue $sm;
|
|
1130
1147
|
} else {
|
|
1131
|
-
this.
|
|
1148
|
+
this.j9_1 = 20;
|
|
1132
1149
|
continue $sm;
|
|
1133
1150
|
}
|
|
1134
1151
|
|
|
1135
|
-
case
|
|
1136
|
-
this.
|
|
1152
|
+
case 19:
|
|
1153
|
+
this.j9_1 = 20;
|
|
1137
1154
|
continue $sm;
|
|
1138
|
-
case
|
|
1139
|
-
this.
|
|
1155
|
+
case 20:
|
|
1156
|
+
this.j9_1 = 24;
|
|
1140
1157
|
continue $sm;
|
|
1141
|
-
case
|
|
1142
|
-
this.
|
|
1143
|
-
this.
|
|
1144
|
-
this.
|
|
1145
|
-
suspendResult = this.
|
|
1158
|
+
case 21:
|
|
1159
|
+
this.a3d_1 = suspendResult;
|
|
1160
|
+
this.b3d_1 = new Epilogue(this.a3d_1);
|
|
1161
|
+
this.j9_1 = 22;
|
|
1162
|
+
suspendResult = this.l3c_1.c18(this.b3d_1, this);
|
|
1146
1163
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1147
1164
|
return suspendResult;
|
|
1148
1165
|
}
|
|
1149
1166
|
|
|
1150
1167
|
continue $sm;
|
|
1151
|
-
case
|
|
1152
|
-
this.
|
|
1168
|
+
case 22:
|
|
1169
|
+
this.j9_1 = 23;
|
|
1153
1170
|
continue $sm;
|
|
1154
|
-
case
|
|
1155
|
-
this.
|
|
1171
|
+
case 23:
|
|
1172
|
+
this.j9_1 = 24;
|
|
1156
1173
|
continue $sm;
|
|
1157
|
-
case
|
|
1174
|
+
case 24:
|
|
1158
1175
|
return Unit_instance;
|
|
1159
|
-
case
|
|
1160
|
-
throw this.
|
|
1176
|
+
case 25:
|
|
1177
|
+
throw this.m9_1;
|
|
1161
1178
|
}
|
|
1162
1179
|
} catch ($p) {
|
|
1163
1180
|
var e = $p;
|
|
1164
|
-
if (this.
|
|
1181
|
+
if (this.k9_1 === 25) {
|
|
1165
1182
|
throw e;
|
|
1166
1183
|
} else {
|
|
1167
|
-
this.
|
|
1168
|
-
this.
|
|
1184
|
+
this.j9_1 = this.k9_1;
|
|
1185
|
+
this.m9_1 = e;
|
|
1169
1186
|
}
|
|
1170
1187
|
}
|
|
1171
1188
|
while (true);
|
|
1172
1189
|
};
|
|
1173
|
-
protoOf(parseMultipart$slambda).
|
|
1174
|
-
var i = new parseMultipart$slambda(this.
|
|
1175
|
-
i.
|
|
1190
|
+
protoOf(parseMultipart$slambda).d3d = function ($this$produce, completion) {
|
|
1191
|
+
var i = new parseMultipart$slambda(this.h3c_1, this.i3c_1, this.j3c_1, this.k3c_1, completion);
|
|
1192
|
+
i.l3c_1 = $this$produce;
|
|
1176
1193
|
return i;
|
|
1177
1194
|
};
|
|
1178
1195
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1179
1196
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1180
1197
|
var l = function ($this$produce, $completion) {
|
|
1181
|
-
return i.
|
|
1198
|
+
return i.c3d($this$produce, $completion);
|
|
1182
1199
|
};
|
|
1183
1200
|
l.$arity = 1;
|
|
1184
1201
|
return l;
|
|
1185
1202
|
}
|
|
1186
1203
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1187
1204
|
CoroutineImpl.call(this, resultContinuation);
|
|
1188
|
-
this.
|
|
1205
|
+
this.h3a_1 = input;
|
|
1189
1206
|
}
|
|
1190
|
-
protoOf($parsePartHeadersImplCOROUTINE$).
|
|
1191
|
-
var suspendResult = this.
|
|
1207
|
+
protoOf($parsePartHeadersImplCOROUTINE$).r9 = function () {
|
|
1208
|
+
var suspendResult = this.l9_1;
|
|
1192
1209
|
$sm: do
|
|
1193
1210
|
try {
|
|
1194
|
-
var tmp = this.
|
|
1211
|
+
var tmp = this.j9_1;
|
|
1195
1212
|
switch (tmp) {
|
|
1196
1213
|
case 0:
|
|
1197
|
-
this.
|
|
1198
|
-
this.
|
|
1199
|
-
this.
|
|
1200
|
-
this.
|
|
1201
|
-
suspendResult = parseHeaders(this.
|
|
1214
|
+
this.k9_1 = 3;
|
|
1215
|
+
this.i3a_1 = new CharArrayBuilder();
|
|
1216
|
+
this.k9_1 = 2;
|
|
1217
|
+
this.j9_1 = 1;
|
|
1218
|
+
suspendResult = parseHeaders(this.h3a_1, this.i3a_1, VOID, this);
|
|
1202
1219
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1203
1220
|
return suspendResult;
|
|
1204
1221
|
}
|
|
@@ -1215,129 +1232,129 @@
|
|
|
1215
1232
|
|
|
1216
1233
|
return tmp_0;
|
|
1217
1234
|
case 2:
|
|
1218
|
-
this.
|
|
1219
|
-
var tmp_1 = this.
|
|
1235
|
+
this.k9_1 = 3;
|
|
1236
|
+
var tmp_1 = this.m9_1;
|
|
1220
1237
|
if (tmp_1 instanceof Error) {
|
|
1221
|
-
var t = this.
|
|
1222
|
-
this.
|
|
1238
|
+
var t = this.m9_1;
|
|
1239
|
+
this.i3a_1.c1g();
|
|
1223
1240
|
throw t;
|
|
1224
1241
|
} else {
|
|
1225
|
-
throw this.
|
|
1242
|
+
throw this.m9_1;
|
|
1226
1243
|
}
|
|
1227
1244
|
|
|
1228
1245
|
case 3:
|
|
1229
|
-
throw this.
|
|
1246
|
+
throw this.m9_1;
|
|
1230
1247
|
}
|
|
1231
1248
|
} catch ($p) {
|
|
1232
1249
|
var e = $p;
|
|
1233
|
-
if (this.
|
|
1250
|
+
if (this.k9_1 === 3) {
|
|
1234
1251
|
throw e;
|
|
1235
1252
|
} else {
|
|
1236
|
-
this.
|
|
1237
|
-
this.
|
|
1253
|
+
this.j9_1 = this.k9_1;
|
|
1254
|
+
this.m9_1 = e;
|
|
1238
1255
|
}
|
|
1239
1256
|
}
|
|
1240
1257
|
while (true);
|
|
1241
1258
|
};
|
|
1242
1259
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1243
1260
|
CoroutineImpl.call(this, resultContinuation);
|
|
1244
|
-
this.
|
|
1245
|
-
this.
|
|
1246
|
-
this.
|
|
1247
|
-
this.
|
|
1248
|
-
this.
|
|
1249
|
-
}
|
|
1250
|
-
protoOf($parsePartBodyImplCOROUTINE$).
|
|
1251
|
-
var suspendResult = this.
|
|
1261
|
+
this.r3a_1 = boundaryPrefixed;
|
|
1262
|
+
this.s3a_1 = input;
|
|
1263
|
+
this.t3a_1 = output;
|
|
1264
|
+
this.u3a_1 = headers;
|
|
1265
|
+
this.v3a_1 = limit;
|
|
1266
|
+
}
|
|
1267
|
+
protoOf($parsePartBodyImplCOROUTINE$).r9 = function () {
|
|
1268
|
+
var suspendResult = this.l9_1;
|
|
1252
1269
|
$sm: do
|
|
1253
1270
|
try {
|
|
1254
|
-
var tmp = this.
|
|
1271
|
+
var tmp = this.j9_1;
|
|
1255
1272
|
switch (tmp) {
|
|
1256
1273
|
case 0:
|
|
1257
|
-
this.
|
|
1274
|
+
this.k9_1 = 6;
|
|
1258
1275
|
var tmp_0 = this;
|
|
1259
|
-
var tmp0_safe_receiver = this.
|
|
1260
|
-
tmp_0.
|
|
1261
|
-
if (this.
|
|
1262
|
-
this.
|
|
1263
|
-
suspendResult = readUntil(this.
|
|
1276
|
+
var tmp0_safe_receiver = this.u3a_1.b2o('Content-Length');
|
|
1277
|
+
tmp_0.w3a_1 = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1278
|
+
if (this.w3a_1 == null) {
|
|
1279
|
+
this.j9_1 = 3;
|
|
1280
|
+
suspendResult = readUntil(this.s3a_1, this.r3a_1, this.t3a_1, this.v3a_1, true, this);
|
|
1264
1281
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1265
1282
|
return suspendResult;
|
|
1266
1283
|
}
|
|
1267
1284
|
continue $sm;
|
|
1268
1285
|
} else {
|
|
1269
|
-
if ((new Long(0, 0)).
|
|
1270
|
-
this.
|
|
1271
|
-
suspendResult = copyTo(this.
|
|
1286
|
+
if ((new Long(0, 0)).j3(this.v3a_1).oi(this.w3a_1)) {
|
|
1287
|
+
this.j9_1 = 1;
|
|
1288
|
+
suspendResult = copyTo(this.s3a_1, this.t3a_1, this.w3a_1, this);
|
|
1272
1289
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1273
1290
|
return suspendResult;
|
|
1274
1291
|
}
|
|
1275
1292
|
continue $sm;
|
|
1276
1293
|
} else {
|
|
1277
1294
|
var tmp_1 = this;
|
|
1278
|
-
throwLimitExceeded(this.
|
|
1295
|
+
throwLimitExceeded(this.w3a_1, this.v3a_1);
|
|
1279
1296
|
}
|
|
1280
1297
|
}
|
|
1281
1298
|
|
|
1282
1299
|
break;
|
|
1283
1300
|
case 1:
|
|
1284
|
-
this.
|
|
1285
|
-
this.
|
|
1286
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1301
|
+
this.y3a_1 = suspendResult;
|
|
1302
|
+
this.j9_1 = 2;
|
|
1303
|
+
suspendResult = skipIfFoundReadCount(this.s3a_1, this.r3a_1, this);
|
|
1287
1304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1288
1305
|
return suspendResult;
|
|
1289
1306
|
}
|
|
1290
1307
|
|
|
1291
1308
|
continue $sm;
|
|
1292
1309
|
case 2:
|
|
1293
|
-
this.
|
|
1294
|
-
this.
|
|
1295
|
-
this.
|
|
1310
|
+
this.z3a_1 = suspendResult;
|
|
1311
|
+
this.x3a_1 = this.y3a_1.a3(this.z3a_1);
|
|
1312
|
+
this.j9_1 = 4;
|
|
1296
1313
|
continue $sm;
|
|
1297
1314
|
case 3:
|
|
1298
|
-
this.
|
|
1299
|
-
this.
|
|
1315
|
+
this.x3a_1 = suspendResult;
|
|
1316
|
+
this.j9_1 = 4;
|
|
1300
1317
|
continue $sm;
|
|
1301
1318
|
case 4:
|
|
1302
|
-
this.
|
|
1303
|
-
this.
|
|
1304
|
-
suspendResult = this.
|
|
1319
|
+
this.a3b_1 = this.x3a_1;
|
|
1320
|
+
this.j9_1 = 5;
|
|
1321
|
+
suspendResult = this.t3a_1.f1o(this);
|
|
1305
1322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1306
1323
|
return suspendResult;
|
|
1307
1324
|
}
|
|
1308
1325
|
|
|
1309
1326
|
continue $sm;
|
|
1310
1327
|
case 5:
|
|
1311
|
-
return this.
|
|
1328
|
+
return this.a3b_1;
|
|
1312
1329
|
case 6:
|
|
1313
|
-
throw this.
|
|
1330
|
+
throw this.m9_1;
|
|
1314
1331
|
}
|
|
1315
1332
|
} catch ($p) {
|
|
1316
1333
|
var e = $p;
|
|
1317
|
-
if (this.
|
|
1334
|
+
if (this.k9_1 === 6) {
|
|
1318
1335
|
throw e;
|
|
1319
1336
|
} else {
|
|
1320
|
-
this.
|
|
1321
|
-
this.
|
|
1337
|
+
this.j9_1 = this.k9_1;
|
|
1338
|
+
this.m9_1 = e;
|
|
1322
1339
|
}
|
|
1323
1340
|
}
|
|
1324
1341
|
while (true);
|
|
1325
1342
|
};
|
|
1326
1343
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1327
1344
|
CoroutineImpl.call(this, resultContinuation);
|
|
1328
|
-
this.
|
|
1329
|
-
this.
|
|
1345
|
+
this.j3b_1 = _this__u8e3s4;
|
|
1346
|
+
this.k3b_1 = prefix;
|
|
1330
1347
|
}
|
|
1331
|
-
protoOf($skipIfFoundReadCountCOROUTINE$).
|
|
1332
|
-
var suspendResult = this.
|
|
1348
|
+
protoOf($skipIfFoundReadCountCOROUTINE$).r9 = function () {
|
|
1349
|
+
var suspendResult = this.l9_1;
|
|
1333
1350
|
$sm: do
|
|
1334
1351
|
try {
|
|
1335
|
-
var tmp = this.
|
|
1352
|
+
var tmp = this.j9_1;
|
|
1336
1353
|
switch (tmp) {
|
|
1337
1354
|
case 0:
|
|
1338
|
-
this.
|
|
1339
|
-
this.
|
|
1340
|
-
suspendResult = skipIfFound(this.
|
|
1355
|
+
this.k9_1 = 3;
|
|
1356
|
+
this.j9_1 = 1;
|
|
1357
|
+
suspendResult = skipIfFound(this.j3b_1, this.k3b_1, this);
|
|
1341
1358
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1342
1359
|
return suspendResult;
|
|
1343
1360
|
}
|
|
@@ -1346,28 +1363,28 @@
|
|
|
1346
1363
|
case 1:
|
|
1347
1364
|
if (suspendResult) {
|
|
1348
1365
|
var tmp_0 = this;
|
|
1349
|
-
tmp_0.
|
|
1350
|
-
this.
|
|
1366
|
+
tmp_0.l3b_1 = toLong(this.k3b_1.s());
|
|
1367
|
+
this.j9_1 = 2;
|
|
1351
1368
|
continue $sm;
|
|
1352
1369
|
} else {
|
|
1353
1370
|
var tmp_1 = this;
|
|
1354
|
-
tmp_1.
|
|
1355
|
-
this.
|
|
1371
|
+
tmp_1.l3b_1 = new Long(0, 0);
|
|
1372
|
+
this.j9_1 = 2;
|
|
1356
1373
|
continue $sm;
|
|
1357
1374
|
}
|
|
1358
1375
|
|
|
1359
1376
|
case 2:
|
|
1360
|
-
return this.
|
|
1377
|
+
return this.l3b_1;
|
|
1361
1378
|
case 3:
|
|
1362
|
-
throw this.
|
|
1379
|
+
throw this.m9_1;
|
|
1363
1380
|
}
|
|
1364
1381
|
} catch ($p) {
|
|
1365
1382
|
var e = $p;
|
|
1366
|
-
if (this.
|
|
1383
|
+
if (this.k9_1 === 3) {
|
|
1367
1384
|
throw e;
|
|
1368
1385
|
} else {
|
|
1369
|
-
this.
|
|
1370
|
-
this.
|
|
1386
|
+
this.j9_1 = this.k9_1;
|
|
1387
|
+
this.m9_1 = e;
|
|
1371
1388
|
}
|
|
1372
1389
|
}
|
|
1373
1390
|
while (true);
|
|
@@ -1389,11 +1406,11 @@
|
|
|
1389
1406
|
var element = _iterator__ex2g4s.r();
|
|
1390
1407
|
var key = charAt(element, idx);
|
|
1391
1408
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1392
|
-
var value = destination.
|
|
1409
|
+
var value = destination.l2(key);
|
|
1393
1410
|
var tmp;
|
|
1394
1411
|
if (value == null) {
|
|
1395
1412
|
var answer = ArrayList_init_$Create$();
|
|
1396
|
-
destination.
|
|
1413
|
+
destination.o2(key, answer);
|
|
1397
1414
|
tmp = answer;
|
|
1398
1415
|
} else {
|
|
1399
1416
|
tmp = value;
|
|
@@ -1403,13 +1420,13 @@
|
|
|
1403
1420
|
}
|
|
1404
1421
|
// Inline function 'kotlin.collections.forEach' call
|
|
1405
1422
|
// Inline function 'kotlin.collections.iterator' call
|
|
1406
|
-
var _iterator__ex2g4s_0 = destination.
|
|
1423
|
+
var _iterator__ex2g4s_0 = destination.w().p();
|
|
1407
1424
|
while (_iterator__ex2g4s_0.q()) {
|
|
1408
1425
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
1409
1426
|
// Inline function 'kotlin.collections.component1' call
|
|
1410
|
-
var ch = element_0.
|
|
1427
|
+
var ch = element_0.x().k1_1;
|
|
1411
1428
|
// Inline function 'kotlin.collections.component2' call
|
|
1412
|
-
var list_0 = element_0.
|
|
1429
|
+
var list_0 = element_0.y();
|
|
1413
1430
|
var nextIdx = idx + 1 | 0;
|
|
1414
1431
|
var children = ArrayList_init_$Create$();
|
|
1415
1432
|
var tmp_0 = Companion_instance;
|
|
@@ -1424,7 +1441,7 @@
|
|
|
1424
1441
|
}
|
|
1425
1442
|
}
|
|
1426
1443
|
build(tmp_0, children, destination_0, maxLength, nextIdx, length, charAt);
|
|
1427
|
-
children.
|
|
1444
|
+
children.b6();
|
|
1428
1445
|
// Inline function 'kotlin.collections.filter' call
|
|
1429
1446
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1430
1447
|
var destination_1 = ArrayList_init_$Create$();
|
|
@@ -1445,16 +1462,16 @@
|
|
|
1445
1462
|
return new Char(charSequenceGet(s, idx));
|
|
1446
1463
|
}
|
|
1447
1464
|
function Node(ch, exact, children) {
|
|
1448
|
-
this.
|
|
1449
|
-
this.
|
|
1450
|
-
this.
|
|
1465
|
+
this.e3d_1 = ch;
|
|
1466
|
+
this.f3d_1 = exact;
|
|
1467
|
+
this.g3d_1 = children;
|
|
1451
1468
|
var tmp = this;
|
|
1452
1469
|
var tmp_0 = 0;
|
|
1453
1470
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1454
1471
|
var tmp_1 = Array(256);
|
|
1455
1472
|
while (tmp_0 < 256) {
|
|
1456
1473
|
var tmp_2 = tmp_0;
|
|
1457
|
-
var tmp0 = this.
|
|
1474
|
+
var tmp0 = this.g3d_1;
|
|
1458
1475
|
var tmp$ret$3;
|
|
1459
1476
|
$l$block_0: {
|
|
1460
1477
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1464,7 +1481,7 @@
|
|
|
1464
1481
|
while (_iterator__ex2g4s.q()) {
|
|
1465
1482
|
var element = _iterator__ex2g4s.r();
|
|
1466
1483
|
// Inline function 'kotlin.code' call
|
|
1467
|
-
var this_0 = element.
|
|
1484
|
+
var this_0 = element.e3d_1;
|
|
1468
1485
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1469
1486
|
if (found) {
|
|
1470
1487
|
tmp$ret$3 = null;
|
|
@@ -1483,15 +1500,15 @@
|
|
|
1483
1500
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
1484
1501
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1485
1502
|
}
|
|
1486
|
-
tmp.
|
|
1503
|
+
tmp.h3d_1 = tmp_1;
|
|
1487
1504
|
}
|
|
1488
1505
|
function Companion() {
|
|
1489
1506
|
}
|
|
1490
|
-
protoOf(Companion).
|
|
1507
|
+
protoOf(Companion).u39 = function (from) {
|
|
1491
1508
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1492
|
-
return this.
|
|
1509
|
+
return this.i3d(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1493
1510
|
};
|
|
1494
|
-
protoOf(Companion).
|
|
1511
|
+
protoOf(Companion).i3d = function (from, length, charAt) {
|
|
1495
1512
|
var tmp$ret$0;
|
|
1496
1513
|
$l$block_0: {
|
|
1497
1514
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1560,7 +1577,7 @@
|
|
|
1560
1577
|
throw IllegalArgumentException_init_$Create$('There should be no empty entries');
|
|
1561
1578
|
var root = ArrayList_init_$Create$();
|
|
1562
1579
|
build(this, root, from, maxLen, 0, length, charAt);
|
|
1563
|
-
root.
|
|
1580
|
+
root.b6();
|
|
1564
1581
|
return new AsciiCharTree(new Node(_Char___init__impl__6a9atx(0), emptyList(), root));
|
|
1565
1582
|
};
|
|
1566
1583
|
var Companion_instance;
|
|
@@ -1568,10 +1585,10 @@
|
|
|
1568
1585
|
return Companion_instance;
|
|
1569
1586
|
}
|
|
1570
1587
|
function AsciiCharTree(root) {
|
|
1571
|
-
this.
|
|
1588
|
+
this.j3d_1 = root;
|
|
1572
1589
|
}
|
|
1573
1590
|
function getImpl($this, index) {
|
|
1574
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1591
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.s38_1).length | 0];
|
|
1575
1592
|
}
|
|
1576
1593
|
function copy($this, startIndex, endIndex) {
|
|
1577
1594
|
if (startIndex === endIndex)
|
|
@@ -1592,7 +1609,7 @@
|
|
|
1592
1609
|
do {
|
|
1593
1610
|
var innerIndex = inductionVariable;
|
|
1594
1611
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1595
|
-
builder.
|
|
1612
|
+
builder.v8(buffer[innerIndex]);
|
|
1596
1613
|
}
|
|
1597
1614
|
while (inductionVariable < innerEndIndex);
|
|
1598
1615
|
base = base + 2048 | 0;
|
|
@@ -1600,27 +1617,27 @@
|
|
|
1600
1617
|
return builder;
|
|
1601
1618
|
}
|
|
1602
1619
|
function SubSequenceImpl($outer, start, end) {
|
|
1603
|
-
this.
|
|
1604
|
-
this.
|
|
1605
|
-
this.
|
|
1606
|
-
this.
|
|
1620
|
+
this.n3d_1 = $outer;
|
|
1621
|
+
this.k3d_1 = start;
|
|
1622
|
+
this.l3d_1 = end;
|
|
1623
|
+
this.m3d_1 = null;
|
|
1607
1624
|
}
|
|
1608
1625
|
protoOf(SubSequenceImpl).a = function () {
|
|
1609
|
-
return this.
|
|
1626
|
+
return this.l3d_1 - this.k3d_1 | 0;
|
|
1610
1627
|
};
|
|
1611
1628
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1612
|
-
var withOffset = index + this.
|
|
1629
|
+
var withOffset = index + this.k3d_1 | 0;
|
|
1613
1630
|
// Inline function 'kotlin.require' call
|
|
1614
1631
|
if (!(index >= 0)) {
|
|
1615
1632
|
var message = 'index is negative: ' + index;
|
|
1616
1633
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1617
1634
|
}
|
|
1618
1635
|
// Inline function 'kotlin.require' call
|
|
1619
|
-
if (!(withOffset < this.
|
|
1636
|
+
if (!(withOffset < this.l3d_1)) {
|
|
1620
1637
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1621
1638
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1622
1639
|
}
|
|
1623
|
-
return getImpl(this.
|
|
1640
|
+
return getImpl(this.n3d_1, withOffset);
|
|
1624
1641
|
};
|
|
1625
1642
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1626
1643
|
// Inline function 'kotlin.require' call
|
|
@@ -1634,21 +1651,21 @@
|
|
|
1634
1651
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1635
1652
|
}
|
|
1636
1653
|
// Inline function 'kotlin.require' call
|
|
1637
|
-
if (!(endIndex <= (this.
|
|
1654
|
+
if (!(endIndex <= (this.l3d_1 - this.k3d_1 | 0))) {
|
|
1638
1655
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1639
1656
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1640
1657
|
}
|
|
1641
1658
|
if (startIndex === endIndex)
|
|
1642
1659
|
return '';
|
|
1643
|
-
return new SubSequenceImpl(this.
|
|
1660
|
+
return new SubSequenceImpl(this.n3d_1, this.k3d_1 + startIndex | 0, this.k3d_1 + endIndex | 0);
|
|
1644
1661
|
};
|
|
1645
1662
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1646
|
-
var tmp0_elvis_lhs = this.
|
|
1663
|
+
var tmp0_elvis_lhs = this.m3d_1;
|
|
1647
1664
|
var tmp;
|
|
1648
1665
|
if (tmp0_elvis_lhs == null) {
|
|
1649
1666
|
// Inline function 'kotlin.also' call
|
|
1650
|
-
var this_0 = toString(copy(this.
|
|
1651
|
-
this.
|
|
1667
|
+
var this_0 = toString(copy(this.n3d_1, this.k3d_1, this.l3d_1));
|
|
1668
|
+
this.m3d_1 = this_0;
|
|
1652
1669
|
tmp = this_0;
|
|
1653
1670
|
} else {
|
|
1654
1671
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1660,20 +1677,20 @@
|
|
|
1660
1677
|
return false;
|
|
1661
1678
|
if (!(charSequenceLength(other) === this.a()))
|
|
1662
1679
|
return false;
|
|
1663
|
-
return rangeEqualsImpl(this.
|
|
1680
|
+
return rangeEqualsImpl(this.n3d_1, this.k3d_1, other, 0, this.a());
|
|
1664
1681
|
};
|
|
1665
1682
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1666
|
-
var tmp0_safe_receiver = this.
|
|
1683
|
+
var tmp0_safe_receiver = this.m3d_1;
|
|
1667
1684
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1668
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1685
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.n3d_1, this.k3d_1, this.l3d_1) : tmp1_elvis_lhs;
|
|
1669
1686
|
};
|
|
1670
1687
|
function bufferForIndex($this, index) {
|
|
1671
|
-
var list = $this.
|
|
1688
|
+
var list = $this.r38_1;
|
|
1672
1689
|
if (list == null) {
|
|
1673
1690
|
if (index >= 2048) {
|
|
1674
1691
|
throwSingleBuffer($this, index);
|
|
1675
1692
|
}
|
|
1676
|
-
var tmp0_elvis_lhs = $this.
|
|
1693
|
+
var tmp0_elvis_lhs = $this.s38_1;
|
|
1677
1694
|
var tmp;
|
|
1678
1695
|
if (tmp0_elvis_lhs == null) {
|
|
1679
1696
|
throwSingleBuffer($this, index);
|
|
@@ -1682,29 +1699,29 @@
|
|
|
1682
1699
|
}
|
|
1683
1700
|
return tmp;
|
|
1684
1701
|
}
|
|
1685
|
-
return list.u(index / ensureNotNull($this.
|
|
1702
|
+
return list.u(index / ensureNotNull($this.s38_1).length | 0);
|
|
1686
1703
|
}
|
|
1687
1704
|
function throwSingleBuffer($this, index) {
|
|
1688
|
-
if ($this.
|
|
1705
|
+
if ($this.u38_1)
|
|
1689
1706
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1690
1707
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1691
1708
|
}
|
|
1692
1709
|
function nonFullBuffer($this) {
|
|
1693
|
-
return $this.
|
|
1710
|
+
return $this.v38_1 === 0 ? appendNewArray($this) : ensureNotNull($this.s38_1);
|
|
1694
1711
|
}
|
|
1695
1712
|
function appendNewArray($this) {
|
|
1696
|
-
var newBuffer = $this.
|
|
1697
|
-
var existing = $this.
|
|
1698
|
-
$this.
|
|
1699
|
-
$this.
|
|
1700
|
-
$this.
|
|
1713
|
+
var newBuffer = $this.q38_1.w1z();
|
|
1714
|
+
var existing = $this.s38_1;
|
|
1715
|
+
$this.s38_1 = newBuffer;
|
|
1716
|
+
$this.v38_1 = newBuffer.length;
|
|
1717
|
+
$this.u38_1 = false;
|
|
1701
1718
|
if (!(existing == null)) {
|
|
1702
|
-
var tmp0_elvis_lhs = $this.
|
|
1719
|
+
var tmp0_elvis_lhs = $this.r38_1;
|
|
1703
1720
|
var tmp;
|
|
1704
1721
|
if (tmp0_elvis_lhs == null) {
|
|
1705
1722
|
// Inline function 'kotlin.also' call
|
|
1706
1723
|
var this_0 = ArrayList_init_$Create$();
|
|
1707
|
-
$this.
|
|
1724
|
+
$this.r38_1 = this_0;
|
|
1708
1725
|
this_0.k(existing);
|
|
1709
1726
|
tmp = this_0;
|
|
1710
1727
|
} else {
|
|
@@ -1743,20 +1760,20 @@
|
|
|
1743
1760
|
return hc;
|
|
1744
1761
|
}
|
|
1745
1762
|
function currentPosition($this) {
|
|
1746
|
-
return ensureNotNull($this.
|
|
1763
|
+
return ensureNotNull($this.s38_1).length - $this.v38_1 | 0;
|
|
1747
1764
|
}
|
|
1748
1765
|
function CharArrayBuilder(pool) {
|
|
1749
1766
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1750
|
-
this.
|
|
1751
|
-
this.
|
|
1752
|
-
this.
|
|
1753
|
-
this.
|
|
1754
|
-
this.
|
|
1755
|
-
this.
|
|
1756
|
-
this.
|
|
1767
|
+
this.q38_1 = pool;
|
|
1768
|
+
this.r38_1 = null;
|
|
1769
|
+
this.s38_1 = null;
|
|
1770
|
+
this.t38_1 = null;
|
|
1771
|
+
this.u38_1 = false;
|
|
1772
|
+
this.v38_1 = 0;
|
|
1773
|
+
this.w38_1 = 0;
|
|
1757
1774
|
}
|
|
1758
1775
|
protoOf(CharArrayBuilder).a = function () {
|
|
1759
|
-
return this.
|
|
1776
|
+
return this.w38_1;
|
|
1760
1777
|
};
|
|
1761
1778
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1762
1779
|
// Inline function 'kotlin.require' call
|
|
@@ -1765,8 +1782,8 @@
|
|
|
1765
1782
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1766
1783
|
}
|
|
1767
1784
|
// Inline function 'kotlin.require' call
|
|
1768
|
-
if (!(index < this.
|
|
1769
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1785
|
+
if (!(index < this.w38_1)) {
|
|
1786
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.w38_1 + ')';
|
|
1770
1787
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1771
1788
|
}
|
|
1772
1789
|
return getImpl(this, index);
|
|
@@ -1783,19 +1800,19 @@
|
|
|
1783
1800
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1784
1801
|
}
|
|
1785
1802
|
// Inline function 'kotlin.require' call
|
|
1786
|
-
if (!(endIndex <= this.
|
|
1787
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1803
|
+
if (!(endIndex <= this.w38_1)) {
|
|
1804
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.w38_1 + ')';
|
|
1788
1805
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1789
1806
|
}
|
|
1790
1807
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1791
1808
|
};
|
|
1792
1809
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1793
|
-
var tmp0_elvis_lhs = this.
|
|
1810
|
+
var tmp0_elvis_lhs = this.t38_1;
|
|
1794
1811
|
var tmp;
|
|
1795
1812
|
if (tmp0_elvis_lhs == null) {
|
|
1796
1813
|
// Inline function 'kotlin.also' call
|
|
1797
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1798
|
-
this.
|
|
1814
|
+
var this_0 = toString(copy(this, 0, this.w38_1));
|
|
1815
|
+
this.t38_1 = this_0;
|
|
1799
1816
|
tmp = this_0;
|
|
1800
1817
|
} else {
|
|
1801
1818
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1805,32 +1822,32 @@
|
|
|
1805
1822
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1806
1823
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1807
1824
|
return false;
|
|
1808
|
-
if (!(this.
|
|
1825
|
+
if (!(this.w38_1 === charSequenceLength(other)))
|
|
1809
1826
|
return false;
|
|
1810
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1827
|
+
return rangeEqualsImpl(this, 0, other, 0, this.w38_1);
|
|
1811
1828
|
};
|
|
1812
1829
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1813
|
-
var tmp0_safe_receiver = this.
|
|
1830
|
+
var tmp0_safe_receiver = this.t38_1;
|
|
1814
1831
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1815
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1832
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.w38_1) : tmp1_elvis_lhs;
|
|
1816
1833
|
};
|
|
1817
|
-
protoOf(CharArrayBuilder).
|
|
1818
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1819
|
-
this.
|
|
1820
|
-
this.
|
|
1821
|
-
this.
|
|
1834
|
+
protoOf(CharArrayBuilder).v8 = function (value) {
|
|
1835
|
+
nonFullBuffer(this)[ensureNotNull(this.s38_1).length - this.v38_1 | 0] = value;
|
|
1836
|
+
this.t38_1 = null;
|
|
1837
|
+
this.v38_1 = this.v38_1 - 1 | 0;
|
|
1838
|
+
this.w38_1 = this.w38_1 + 1 | 0;
|
|
1822
1839
|
return this;
|
|
1823
1840
|
};
|
|
1824
|
-
protoOf(CharArrayBuilder).
|
|
1841
|
+
protoOf(CharArrayBuilder).dd = function (value, startIndex, endIndex) {
|
|
1825
1842
|
if (value == null)
|
|
1826
1843
|
return this;
|
|
1827
1844
|
var current = startIndex;
|
|
1828
1845
|
while (current < endIndex) {
|
|
1829
1846
|
var buffer = nonFullBuffer(this);
|
|
1830
|
-
var offset = buffer.length - this.
|
|
1847
|
+
var offset = buffer.length - this.v38_1 | 0;
|
|
1831
1848
|
var tmp0 = endIndex - current | 0;
|
|
1832
1849
|
// Inline function 'kotlin.math.min' call
|
|
1833
|
-
var b = this.
|
|
1850
|
+
var b = this.v38_1;
|
|
1834
1851
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1835
1852
|
var inductionVariable = 0;
|
|
1836
1853
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1841,45 +1858,45 @@
|
|
|
1841
1858
|
}
|
|
1842
1859
|
while (inductionVariable < bytesToCopy);
|
|
1843
1860
|
current = current + bytesToCopy | 0;
|
|
1844
|
-
this.
|
|
1861
|
+
this.v38_1 = this.v38_1 - bytesToCopy | 0;
|
|
1845
1862
|
}
|
|
1846
|
-
this.
|
|
1847
|
-
this.
|
|
1863
|
+
this.t38_1 = null;
|
|
1864
|
+
this.w38_1 = this.w38_1 + (endIndex - startIndex | 0) | 0;
|
|
1848
1865
|
return this;
|
|
1849
1866
|
};
|
|
1850
1867
|
protoOf(CharArrayBuilder).l = function (value) {
|
|
1851
1868
|
if (value == null)
|
|
1852
1869
|
return this;
|
|
1853
|
-
return this.
|
|
1870
|
+
return this.dd(value, 0, charSequenceLength(value));
|
|
1854
1871
|
};
|
|
1855
|
-
protoOf(CharArrayBuilder).
|
|
1856
|
-
var list = this.
|
|
1872
|
+
protoOf(CharArrayBuilder).c1g = function () {
|
|
1873
|
+
var list = this.r38_1;
|
|
1857
1874
|
if (!(list == null)) {
|
|
1858
|
-
this.
|
|
1875
|
+
this.s38_1 = null;
|
|
1859
1876
|
var inductionVariable = 0;
|
|
1860
1877
|
var last = list.s();
|
|
1861
1878
|
if (inductionVariable < last)
|
|
1862
1879
|
do {
|
|
1863
1880
|
var i = inductionVariable;
|
|
1864
1881
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1865
|
-
this.
|
|
1882
|
+
this.q38_1.x1z(list.u(i));
|
|
1866
1883
|
}
|
|
1867
1884
|
while (inductionVariable < last);
|
|
1868
1885
|
} else {
|
|
1869
|
-
var tmp0_safe_receiver = this.
|
|
1886
|
+
var tmp0_safe_receiver = this.s38_1;
|
|
1870
1887
|
if (tmp0_safe_receiver == null)
|
|
1871
1888
|
null;
|
|
1872
1889
|
else {
|
|
1873
1890
|
// Inline function 'kotlin.let' call
|
|
1874
|
-
this.
|
|
1891
|
+
this.q38_1.x1z(tmp0_safe_receiver);
|
|
1875
1892
|
}
|
|
1876
|
-
this.
|
|
1893
|
+
this.s38_1 = null;
|
|
1877
1894
|
}
|
|
1878
|
-
this.
|
|
1879
|
-
this.
|
|
1880
|
-
this.
|
|
1881
|
-
this.
|
|
1882
|
-
this.
|
|
1895
|
+
this.u38_1 = true;
|
|
1896
|
+
this.r38_1 = null;
|
|
1897
|
+
this.t38_1 = null;
|
|
1898
|
+
this.w38_1 = 0;
|
|
1899
|
+
this.v38_1 = 0;
|
|
1883
1900
|
};
|
|
1884
1901
|
function get_CharArrayPool() {
|
|
1885
1902
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1889,13 +1906,13 @@
|
|
|
1889
1906
|
function CharArrayPool$1() {
|
|
1890
1907
|
NoPoolImpl.call(this);
|
|
1891
1908
|
}
|
|
1892
|
-
protoOf(CharArrayPool$1).
|
|
1909
|
+
protoOf(CharArrayPool$1).w1z = function () {
|
|
1893
1910
|
return charArray(2048);
|
|
1894
1911
|
};
|
|
1895
1912
|
function CharArrayPool$2() {
|
|
1896
1913
|
DefaultPool.call(this, 4096);
|
|
1897
1914
|
}
|
|
1898
|
-
protoOf(CharArrayPool$2).
|
|
1915
|
+
protoOf(CharArrayPool$2).p1z = function () {
|
|
1899
1916
|
return charArray(2048);
|
|
1900
1917
|
};
|
|
1901
1918
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -1931,11 +1948,11 @@
|
|
|
1931
1948
|
// Inline function 'kotlin.code' call
|
|
1932
1949
|
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
1933
1950
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
1934
|
-
var digit = toLong(tmp$ret$0).
|
|
1935
|
-
if (digit.
|
|
1951
|
+
var digit = toLong(tmp$ret$0).b3(new Long(48, 0));
|
|
1952
|
+
if (digit.d1(new Long(0, 0)) < 0 || digit.d1(new Long(9, 0)) > 0) {
|
|
1936
1953
|
numberFormatException_0(_this__u8e3s4, i);
|
|
1937
1954
|
}
|
|
1938
|
-
result = result.
|
|
1955
|
+
result = result.k3(3).a3(result.k3(1)).a3(digit);
|
|
1939
1956
|
}
|
|
1940
1957
|
while (inductionVariable < length);
|
|
1941
1958
|
return result;
|
|
@@ -2068,12 +2085,12 @@
|
|
|
2068
2085
|
// Inline function 'kotlin.code' call
|
|
2069
2086
|
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
2070
2087
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
2071
|
-
var digit = toLong(tmp$ret$0).
|
|
2072
|
-
if (digit.
|
|
2088
|
+
var digit = toLong(tmp$ret$0).b3(new Long(48, 0));
|
|
2089
|
+
if (digit.d1(new Long(0, 0)) < 0 || digit.d1(new Long(9, 0)) > 0) {
|
|
2073
2090
|
numberFormatException_0(_this__u8e3s4, i);
|
|
2074
2091
|
}
|
|
2075
|
-
result = result.
|
|
2076
|
-
if (result.
|
|
2092
|
+
result = result.k3(3).a3(result.k3(1)).a3(digit);
|
|
2093
|
+
if (result.d1(new Long(0, 0)) < 0) {
|
|
2077
2094
|
numberFormatException(_this__u8e3s4);
|
|
2078
2095
|
}
|
|
2079
2096
|
}
|
|
@@ -2086,26 +2103,26 @@
|
|
|
2086
2103
|
}
|
|
2087
2104
|
function DefaultHttpMethods$lambda(it) {
|
|
2088
2105
|
_init_properties_Chars_kt__d3i39x();
|
|
2089
|
-
return it.
|
|
2106
|
+
return it.d31_1.length;
|
|
2090
2107
|
}
|
|
2091
2108
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2092
2109
|
_init_properties_Chars_kt__d3i39x();
|
|
2093
|
-
return new Char(charCodeAt(m.
|
|
2110
|
+
return new Char(charCodeAt(m.d31_1, idx));
|
|
2094
2111
|
}
|
|
2095
2112
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2096
2113
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2097
2114
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2098
2115
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2099
2116
|
var tmp = Companion_instance;
|
|
2100
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2117
|
+
var tmp_0 = Companion_getInstance_0().c31_1;
|
|
2101
2118
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2102
|
-
DefaultHttpMethods = tmp.
|
|
2119
|
+
DefaultHttpMethods = tmp.i3d(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2103
2120
|
// Inline function 'kotlin.collections.map' call
|
|
2104
2121
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2105
2122
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2106
2123
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2107
|
-
var inductionVariable = this_0.
|
|
2108
|
-
var last = this_0.
|
|
2124
|
+
var inductionVariable = this_0.e1_1;
|
|
2125
|
+
var last = this_0.f1_1;
|
|
2109
2126
|
if (inductionVariable <= last)
|
|
2110
2127
|
do {
|
|
2111
2128
|
var item = inductionVariable;
|
|
@@ -2113,19 +2130,19 @@
|
|
|
2113
2130
|
var v = item;
|
|
2114
2131
|
var tmp_2;
|
|
2115
2132
|
if (48 <= v ? v <= 57 : false) {
|
|
2116
|
-
tmp_2 = numberToLong(v).
|
|
2133
|
+
tmp_2 = numberToLong(v).b3(new Long(48, 0));
|
|
2117
2134
|
} else {
|
|
2118
2135
|
var tmp_3;
|
|
2119
2136
|
var tmp_4 = toLong(v);
|
|
2120
2137
|
// Inline function 'kotlin.code' call
|
|
2121
2138
|
var this_1 = _Char___init__impl__6a9atx(97);
|
|
2122
2139
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_1);
|
|
2123
|
-
if (tmp_4.
|
|
2140
|
+
if (tmp_4.d1(toLong(tmp$ret$0)) >= 0) {
|
|
2124
2141
|
var tmp_5 = toLong(v);
|
|
2125
2142
|
// Inline function 'kotlin.code' call
|
|
2126
2143
|
var this_2 = _Char___init__impl__6a9atx(102);
|
|
2127
2144
|
var tmp$ret$1 = Char__toInt_impl_vasixd(this_2);
|
|
2128
|
-
tmp_3 = tmp_5.
|
|
2145
|
+
tmp_3 = tmp_5.d1(toLong(tmp$ret$1)) <= 0;
|
|
2129
2146
|
} else {
|
|
2130
2147
|
tmp_3 = false;
|
|
2131
2148
|
}
|
|
@@ -2134,19 +2151,19 @@
|
|
|
2134
2151
|
var this_3 = _Char___init__impl__6a9atx(97);
|
|
2135
2152
|
var tmp$ret$2 = Char__toInt_impl_vasixd(this_3);
|
|
2136
2153
|
// Inline function 'kotlin.Long.plus' call
|
|
2137
|
-
tmp_2 = numberToLong(v).
|
|
2154
|
+
tmp_2 = numberToLong(v).b3(toLong(tmp$ret$2)).a3(toLong(10));
|
|
2138
2155
|
} else {
|
|
2139
2156
|
var tmp_6;
|
|
2140
2157
|
var tmp_7 = toLong(v);
|
|
2141
2158
|
// Inline function 'kotlin.code' call
|
|
2142
2159
|
var this_4 = _Char___init__impl__6a9atx(65);
|
|
2143
2160
|
var tmp$ret$4 = Char__toInt_impl_vasixd(this_4);
|
|
2144
|
-
if (tmp_7.
|
|
2161
|
+
if (tmp_7.d1(toLong(tmp$ret$4)) >= 0) {
|
|
2145
2162
|
var tmp_8 = toLong(v);
|
|
2146
2163
|
// Inline function 'kotlin.code' call
|
|
2147
2164
|
var this_5 = _Char___init__impl__6a9atx(70);
|
|
2148
2165
|
var tmp$ret$5 = Char__toInt_impl_vasixd(this_5);
|
|
2149
|
-
tmp_6 = tmp_8.
|
|
2166
|
+
tmp_6 = tmp_8.d1(toLong(tmp$ret$5)) <= 0;
|
|
2150
2167
|
} else {
|
|
2151
2168
|
tmp_6 = false;
|
|
2152
2169
|
}
|
|
@@ -2155,7 +2172,7 @@
|
|
|
2155
2172
|
var this_6 = _Char___init__impl__6a9atx(65);
|
|
2156
2173
|
var tmp$ret$6 = Char__toInt_impl_vasixd(this_6);
|
|
2157
2174
|
// Inline function 'kotlin.Long.plus' call
|
|
2158
|
-
tmp_2 = numberToLong(v).
|
|
2175
|
+
tmp_2 = numberToLong(v).b3(toLong(tmp$ret$6)).a3(toLong(10));
|
|
2159
2176
|
} else {
|
|
2160
2177
|
tmp_2 = new Long(-1, -1);
|
|
2161
2178
|
}
|
|
@@ -2170,8 +2187,8 @@
|
|
|
2170
2187
|
var this_7 = numberRangeToNumber(0, 15);
|
|
2171
2188
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2172
2189
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_7, 10));
|
|
2173
|
-
var inductionVariable_0 = this_7.
|
|
2174
|
-
var last_0 = this_7.
|
|
2190
|
+
var inductionVariable_0 = this_7.e1_1;
|
|
2191
|
+
var last_0 = this_7.f1_1;
|
|
2175
2192
|
if (inductionVariable_0 <= last_0)
|
|
2176
2193
|
do {
|
|
2177
2194
|
var item_0 = inductionVariable_0;
|
|
@@ -2198,11 +2215,11 @@
|
|
|
2198
2215
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2199
2216
|
}
|
|
2200
2217
|
function MutableRange(start, end) {
|
|
2201
|
-
this.
|
|
2202
|
-
this.
|
|
2218
|
+
this.s39_1 = start;
|
|
2219
|
+
this.t39_1 = end;
|
|
2203
2220
|
}
|
|
2204
2221
|
protoOf(MutableRange).toString = function () {
|
|
2205
|
-
return 'MutableRange(start=' + this.
|
|
2222
|
+
return 'MutableRange(start=' + this.s39_1 + ', end=' + this.t39_1 + ')';
|
|
2206
2223
|
};
|
|
2207
2224
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2208
2225
|
var index = start;
|