@doordeck/doordeck-headless-sdk 0.203.0 → 0.205.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 +58 -58
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.d.ts +21 -2
- package/kotlin/doordeck-sdk.js +12895 -12809
- package/kotlin/kotlin-kotlin-stdlib.js +1711 -1579
- package/kotlin/kotlinx-atomicfu.js +18 -18
- package/kotlin/kotlinx-coroutines-core.js +2093 -2115
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +48 -48
- package/kotlin/kotlinx-io-kotlinx-io-core.js +476 -476
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1917 -1916
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1498 -1501
- package/kotlin/ktor-ktor-client-auth.js +284 -299
- package/kotlin/ktor-ktor-client-content-negotiation.js +160 -165
- package/kotlin/ktor-ktor-client-core.js +2380 -2491
- package/kotlin/ktor-ktor-client-logging.js +694 -719
- package/kotlin/ktor-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-http-cio.js +381 -386
- package/kotlin/ktor-ktor-http.js +809 -808
- package/kotlin/ktor-ktor-io.js +702 -704
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +166 -173
- package/kotlin/ktor-ktor-serialization.js +76 -79
- package/kotlin/ktor-ktor-utils.js +927 -947
- package/kotlin/ktor-ktor-websockets.js +449 -464
- package/package.json +1 -1
|
@@ -3,104 +3,105 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.c;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.hc;
|
|
7
7
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
8
8
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r1;
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
13
|
-
var abs = kotlin_kotlin.$_$.
|
|
14
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.kb;
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.z2;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.kc;
|
|
12
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o4;
|
|
13
|
+
var abs = kotlin_kotlin.$_$.lc;
|
|
14
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d4;
|
|
15
15
|
var CoroutineImpl = kotlin_kotlin.$_$.s9;
|
|
16
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
17
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
16
|
+
var THROW_CCE = kotlin_kotlin.$_$.jg;
|
|
17
|
+
var SequenceScope = kotlin_kotlin.$_$.hd;
|
|
18
18
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.b9;
|
|
19
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
20
|
-
var
|
|
21
|
-
var
|
|
19
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.pb;
|
|
20
|
+
var constructCallableReference = kotlin_kotlin.$_$.ab;
|
|
21
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j3;
|
|
22
|
+
var sequence = kotlin_kotlin.$_$.id;
|
|
22
23
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
23
24
|
var fill = kotlin_kotlin.$_$.z6;
|
|
24
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
25
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
26
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
25
|
+
var isIntArray = kotlin_kotlin.$_$.yb;
|
|
26
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.e;
|
|
27
|
+
var endsWith = kotlin_kotlin.$_$.rd;
|
|
27
28
|
var charSequenceLength = kotlin_kotlin.$_$.xa;
|
|
28
29
|
var charSequenceGet = kotlin_kotlin.$_$.wa;
|
|
29
|
-
var Char = kotlin_kotlin.$_$.
|
|
30
|
-
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.
|
|
31
|
-
var contains = kotlin_kotlin.$_$.
|
|
30
|
+
var Char = kotlin_kotlin.$_$.vf;
|
|
31
|
+
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.f;
|
|
32
|
+
var contains = kotlin_kotlin.$_$.md;
|
|
32
33
|
var charSequenceSubSequence = kotlin_kotlin.$_$.ya;
|
|
33
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
34
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
35
|
-
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.
|
|
34
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.k;
|
|
35
|
+
var IllegalStateException = kotlin_kotlin.$_$.eg;
|
|
36
|
+
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.r4;
|
|
36
37
|
var captureStack = kotlin_kotlin.$_$.sa;
|
|
37
|
-
var readLineStrictTo = kotlin_io_ktor_ktor_io.$_$.
|
|
38
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
39
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
38
|
+
var readLineStrictTo = kotlin_io_ktor_ktor_io.$_$.i;
|
|
39
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s4;
|
|
40
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.mb;
|
|
40
41
|
var setOf = kotlin_kotlin.$_$.f8;
|
|
41
|
-
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.
|
|
42
|
-
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.
|
|
42
|
+
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.d;
|
|
43
|
+
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.a;
|
|
43
44
|
var listOf = kotlin_kotlin.$_$.t7;
|
|
44
45
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
45
46
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.b;
|
|
46
47
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
47
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
48
|
-
var toByte = kotlin_kotlin.$_$.
|
|
48
|
+
var toString_0 = kotlin_kotlin.$_$.ff;
|
|
49
|
+
var toByte = kotlin_kotlin.$_$.ic;
|
|
49
50
|
var copyOfRange = kotlin_kotlin.$_$.h6;
|
|
50
51
|
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
51
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
52
|
-
var readUntil = kotlin_io_ktor_ktor_io.$_$.
|
|
52
|
+
var startsWith = kotlin_kotlin.$_$.ne;
|
|
53
|
+
var readUntil = kotlin_io_ktor_ktor_io.$_$.m;
|
|
53
54
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
54
55
|
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
55
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
56
|
+
var isInterface = kotlin_kotlin.$_$.zb;
|
|
56
57
|
var counted = kotlin_io_ktor_ktor_io.$_$.t1;
|
|
57
58
|
var writer = kotlin_io_ktor_ktor_io.$_$.y1;
|
|
58
|
-
var readRemaining = kotlin_io_ktor_ktor_io.$_$.
|
|
59
|
+
var readRemaining = kotlin_io_ktor_ktor_io.$_$.k;
|
|
59
60
|
var get_remaining = kotlin_io_ktor_ktor_io.$_$.c1;
|
|
60
|
-
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.
|
|
61
|
+
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.n;
|
|
61
62
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.l1;
|
|
62
63
|
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l1;
|
|
63
|
-
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.
|
|
64
|
+
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.x3;
|
|
64
65
|
var close = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
65
66
|
var subtract = kotlin_kotlin.$_$.ma;
|
|
66
67
|
var convertToInt = kotlin_kotlin.$_$.aa;
|
|
67
|
-
var readPacket = kotlin_io_ktor_ktor_io.$_$.
|
|
68
|
+
var readPacket = kotlin_io_ktor_ktor_io.$_$.j;
|
|
68
69
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
69
|
-
var copyTo = kotlin_io_ktor_ktor_io.$_$.
|
|
70
|
+
var copyTo = kotlin_io_ktor_ktor_io.$_$.e;
|
|
70
71
|
var add = kotlin_kotlin.$_$.y9;
|
|
71
72
|
var fromInt = kotlin_kotlin.$_$.da;
|
|
72
73
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.f1;
|
|
73
74
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
74
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
75
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s3;
|
|
75
76
|
var compareTo = kotlin_kotlin.$_$.za;
|
|
76
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
77
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.y4;
|
|
77
78
|
var Collection = kotlin_kotlin.$_$.i5;
|
|
78
79
|
var emptyList = kotlin_kotlin.$_$.w6;
|
|
79
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
80
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
81
|
-
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
82
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
83
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
84
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
85
|
-
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.
|
|
80
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.lb;
|
|
81
|
+
var ensureNotNull = kotlin_kotlin.$_$.bh;
|
|
82
|
+
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.c4;
|
|
83
|
+
var isCharSequence = kotlin_kotlin.$_$.vb;
|
|
84
|
+
var getStringHashCode = kotlin_kotlin.$_$.ib;
|
|
85
|
+
var CharSequence = kotlin_kotlin.$_$.uf;
|
|
86
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.v4;
|
|
86
87
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.k1;
|
|
87
88
|
var charArray = kotlin_kotlin.$_$.ua;
|
|
88
89
|
var shiftLeft = kotlin_kotlin.$_$.ka;
|
|
89
|
-
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.
|
|
90
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
90
|
+
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.z4;
|
|
91
|
+
var toString_1 = kotlin_kotlin.$_$.l;
|
|
91
92
|
var charCodeAt = kotlin_kotlin.$_$.va;
|
|
92
93
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
93
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
94
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.ec;
|
|
94
95
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
|
|
95
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
96
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i3;
|
|
96
97
|
var numberToLong = kotlin_kotlin.$_$.ja;
|
|
97
98
|
var toLongArray = kotlin_kotlin.$_$.p8;
|
|
98
|
-
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.
|
|
99
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
99
|
+
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.i;
|
|
100
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.h;
|
|
100
101
|
var toByteArray_0 = kotlin_kotlin.$_$.k8;
|
|
101
102
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
102
103
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
103
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
104
|
+
var isWhitespace = kotlin_kotlin.$_$.ae;
|
|
104
105
|
//endregion
|
|
105
106
|
//region block: pre-declaration
|
|
106
107
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -132,12 +133,12 @@
|
|
|
132
133
|
//endregion
|
|
133
134
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
134
135
|
formFieldLimit = formFieldLimit === VOID ? 65536n : formFieldLimit;
|
|
135
|
-
this.
|
|
136
|
-
this.
|
|
137
|
-
this.
|
|
136
|
+
this.p38_1 = coroutineContext;
|
|
137
|
+
this.q38_1 = null;
|
|
138
|
+
this.r38_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
138
139
|
}
|
|
139
|
-
protoOf(CIOMultipartDataBase).
|
|
140
|
-
return this.
|
|
140
|
+
protoOf(CIOMultipartDataBase).ut = function () {
|
|
141
|
+
return this.p38_1;
|
|
141
142
|
};
|
|
142
143
|
function get_IntArrayPool() {
|
|
143
144
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -150,103 +151,103 @@
|
|
|
150
151
|
}
|
|
151
152
|
var HeadersDataPool;
|
|
152
153
|
function thresholdReached($this) {
|
|
153
|
-
return $this.
|
|
154
|
+
return $this.t38_1 >= $this.u38_1 * 0.75;
|
|
154
155
|
}
|
|
155
156
|
function resize($this) {
|
|
156
|
-
var prevSize = $this.
|
|
157
|
-
var prevData = $this.
|
|
158
|
-
$this.
|
|
159
|
-
$this.
|
|
157
|
+
var prevSize = $this.t38_1;
|
|
158
|
+
var prevData = $this.v38_1;
|
|
159
|
+
$this.t38_1 = 0;
|
|
160
|
+
$this.u38_1 = imul($this.u38_1, 2) | 128;
|
|
160
161
|
var tmp = $this;
|
|
161
162
|
// Inline function 'kotlin.apply' call
|
|
162
|
-
var this_0 = get_HeadersDataPool().
|
|
163
|
-
this_0.
|
|
164
|
-
tmp.
|
|
165
|
-
var _iterator__ex2g4s = prevData.
|
|
163
|
+
var this_0 = get_HeadersDataPool().r1z();
|
|
164
|
+
this_0.y38(imul(prevData.x38(), 2) | 1);
|
|
165
|
+
tmp.v38_1 = this_0;
|
|
166
|
+
var _iterator__ex2g4s = prevData.z38().t();
|
|
166
167
|
while (_iterator__ex2g4s.u()) {
|
|
167
168
|
var headerOffset = _iterator__ex2g4s.v();
|
|
168
|
-
$this.
|
|
169
|
+
$this.b39(prevData.a39(headerOffset + 1 | 0), prevData.a39(headerOffset + 2 | 0), prevData.a39(headerOffset + 3 | 0), prevData.a39(headerOffset + 4 | 0));
|
|
169
170
|
}
|
|
170
|
-
get_HeadersDataPool().
|
|
171
|
+
get_HeadersDataPool().s1z(prevData);
|
|
171
172
|
// Inline function 'kotlin.require' call
|
|
172
173
|
// Inline function 'kotlin.require' call
|
|
173
|
-
if (!(prevSize === $this.
|
|
174
|
+
if (!(prevSize === $this.t38_1)) {
|
|
174
175
|
var message = 'Failed requirement.';
|
|
175
176
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
179
|
function headerHasName($this, name, headerOffset) {
|
|
179
|
-
var nameStartIndex = $this.
|
|
180
|
-
var nameEndIndex = $this.
|
|
181
|
-
return equalsLowerCase($this.
|
|
180
|
+
var nameStartIndex = $this.v38_1.a39(headerOffset + 1 | 0);
|
|
181
|
+
var nameEndIndex = $this.v38_1.a39(headerOffset + 2 | 0);
|
|
182
|
+
return equalsLowerCase($this.s38_1, nameStartIndex, nameEndIndex, name);
|
|
182
183
|
}
|
|
183
184
|
function HttpHeadersMap(builder) {
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
185
|
+
this.s38_1 = builder;
|
|
186
|
+
this.t38_1 = 0;
|
|
187
|
+
this.u38_1 = 0;
|
|
188
|
+
this.v38_1 = get_HeadersDataPool().r1z();
|
|
188
189
|
}
|
|
189
|
-
protoOf(HttpHeadersMap).
|
|
190
|
-
if (this.
|
|
190
|
+
protoOf(HttpHeadersMap).w2o = function (name) {
|
|
191
|
+
if (this.t38_1 === 0)
|
|
191
192
|
return null;
|
|
192
193
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
193
194
|
var this_0 = hashCodeLowerCase(name);
|
|
194
195
|
var hash = abs(this_0);
|
|
195
|
-
var headerIndex = hash % this.
|
|
196
|
-
while (!(this.
|
|
196
|
+
var headerIndex = hash % this.u38_1 | 0;
|
|
197
|
+
while (!(this.v38_1.a39(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
197
198
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
198
|
-
return this.
|
|
199
|
+
return this.c39(imul(headerIndex, 6));
|
|
199
200
|
}
|
|
200
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
201
|
+
headerIndex = (headerIndex + 1 | 0) % this.u38_1 | 0;
|
|
201
202
|
}
|
|
202
203
|
return null;
|
|
203
204
|
};
|
|
204
|
-
protoOf(HttpHeadersMap).
|
|
205
|
-
return this.
|
|
205
|
+
protoOf(HttpHeadersMap).d39 = function () {
|
|
206
|
+
return this.v38_1.z38();
|
|
206
207
|
};
|
|
207
|
-
protoOf(HttpHeadersMap).
|
|
208
|
+
protoOf(HttpHeadersMap).b39 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
208
209
|
if (thresholdReached(this)) {
|
|
209
210
|
resize(this);
|
|
210
211
|
}
|
|
211
212
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
212
|
-
var this_0 = hashCodeLowerCase(this.
|
|
213
|
+
var this_0 = hashCodeLowerCase(this.s38_1, nameStartIndex, nameEndIndex);
|
|
213
214
|
var hash = abs(this_0);
|
|
214
|
-
var name = this.
|
|
215
|
-
var headerIndex = hash % this.
|
|
215
|
+
var name = this.s38_1.c(nameStartIndex, nameEndIndex);
|
|
216
|
+
var headerIndex = hash % this.u38_1 | 0;
|
|
216
217
|
var sameNameHeaderIndex = -1;
|
|
217
|
-
while (!(this.
|
|
218
|
+
while (!(this.v38_1.a39(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
218
219
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
219
220
|
sameNameHeaderIndex = headerIndex;
|
|
220
221
|
}
|
|
221
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
222
|
+
headerIndex = (headerIndex + 1 | 0) % this.u38_1 | 0;
|
|
222
223
|
}
|
|
223
224
|
var headerOffset = imul(headerIndex, 6);
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
225
|
+
this.v38_1.l39(headerOffset + 0 | 0, hash);
|
|
226
|
+
this.v38_1.l39(headerOffset + 1 | 0, nameStartIndex);
|
|
227
|
+
this.v38_1.l39(headerOffset + 2 | 0, nameEndIndex);
|
|
228
|
+
this.v38_1.l39(headerOffset + 3 | 0, valueStartIndex);
|
|
229
|
+
this.v38_1.l39(headerOffset + 4 | 0, valueEndIndex);
|
|
230
|
+
this.v38_1.l39(headerOffset + 5 | 0, -1);
|
|
230
231
|
if (!(sameNameHeaderIndex === -1)) {
|
|
231
|
-
this.
|
|
232
|
+
this.v38_1.l39(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
232
233
|
}
|
|
233
|
-
this.
|
|
234
|
+
this.t38_1 = this.t38_1 + 1 | 0;
|
|
234
235
|
};
|
|
235
|
-
protoOf(HttpHeadersMap).
|
|
236
|
-
var nameStartIndex = this.
|
|
237
|
-
var nameEndIndex = this.
|
|
238
|
-
return this.
|
|
236
|
+
protoOf(HttpHeadersMap).m39 = function (headerOffset) {
|
|
237
|
+
var nameStartIndex = this.v38_1.a39(headerOffset + 1 | 0);
|
|
238
|
+
var nameEndIndex = this.v38_1.a39(headerOffset + 2 | 0);
|
|
239
|
+
return this.s38_1.c(nameStartIndex, nameEndIndex);
|
|
239
240
|
};
|
|
240
|
-
protoOf(HttpHeadersMap).
|
|
241
|
-
var valueStartIndex = this.
|
|
242
|
-
var valueEndIndex = this.
|
|
243
|
-
return this.
|
|
241
|
+
protoOf(HttpHeadersMap).c39 = function (headerOffset) {
|
|
242
|
+
var valueStartIndex = this.v38_1.a39(headerOffset + 3 | 0);
|
|
243
|
+
var valueEndIndex = this.v38_1.a39(headerOffset + 4 | 0);
|
|
244
|
+
return this.s38_1.c(valueStartIndex, valueEndIndex);
|
|
244
245
|
};
|
|
245
|
-
protoOf(HttpHeadersMap).
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
get_HeadersDataPool().
|
|
249
|
-
this.
|
|
246
|
+
protoOf(HttpHeadersMap).h1k = function () {
|
|
247
|
+
this.t38_1 = 0;
|
|
248
|
+
this.u38_1 = 0;
|
|
249
|
+
get_HeadersDataPool().s1z(this.v38_1);
|
|
250
|
+
this.v38_1 = get_HeadersDataPool().r1z();
|
|
250
251
|
};
|
|
251
252
|
protoOf(HttpHeadersMap).toString = function () {
|
|
252
253
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -256,17 +257,17 @@
|
|
|
256
257
|
return this_0.toString();
|
|
257
258
|
};
|
|
258
259
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
259
|
-
this.
|
|
260
|
+
this.v39_1 = this$0;
|
|
260
261
|
CoroutineImpl.call(this, resultContinuation);
|
|
261
262
|
}
|
|
262
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
263
|
-
var tmp = this.
|
|
263
|
+
protoOf(HeadersData$headersStarts$slambda).b3a = function ($this$sequence, $completion) {
|
|
264
|
+
var tmp = this.c3a($this$sequence, $completion);
|
|
264
265
|
tmp.f9_1 = Unit_instance;
|
|
265
266
|
tmp.g9_1 = null;
|
|
266
267
|
return tmp.l9();
|
|
267
268
|
};
|
|
268
269
|
protoOf(HeadersData$headersStarts$slambda).y9 = function (p1, $completion) {
|
|
269
|
-
return this.
|
|
270
|
+
return this.b3a(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
270
271
|
};
|
|
271
272
|
protoOf(HeadersData$headersStarts$slambda).l9 = function () {
|
|
272
273
|
var suspendResult = this.f9_1;
|
|
@@ -276,29 +277,29 @@
|
|
|
276
277
|
switch (tmp) {
|
|
277
278
|
case 0:
|
|
278
279
|
this.e9_1 = 7;
|
|
279
|
-
this.
|
|
280
|
-
this.
|
|
280
|
+
this.x39_1 = 0;
|
|
281
|
+
this.a3a_1 = this.v39_1.w38_1.t();
|
|
281
282
|
this.d9_1 = 1;
|
|
282
283
|
continue $sm;
|
|
283
284
|
case 1:
|
|
284
|
-
if (!this.
|
|
285
|
+
if (!this.a3a_1.u()) {
|
|
285
286
|
this.d9_1 = 6;
|
|
286
287
|
continue $sm;
|
|
287
288
|
}
|
|
288
289
|
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
290
|
+
this.z39_1 = this.a3a_1.v();
|
|
291
|
+
this.y39_1 = 0;
|
|
291
292
|
this.d9_1 = 2;
|
|
292
293
|
continue $sm;
|
|
293
294
|
case 2:
|
|
294
|
-
if (!(this.
|
|
295
|
+
if (!(this.y39_1 < this.z39_1.length)) {
|
|
295
296
|
this.d9_1 = 5;
|
|
296
297
|
continue $sm;
|
|
297
298
|
}
|
|
298
299
|
|
|
299
|
-
if (!(this.
|
|
300
|
+
if (!(this.v39_1.a39(this.x39_1 + 0 | 0) === -1)) {
|
|
300
301
|
this.d9_1 = 3;
|
|
301
|
-
suspendResult = this.
|
|
302
|
+
suspendResult = this.w39_1.og(this.x39_1, this);
|
|
302
303
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
303
304
|
return suspendResult;
|
|
304
305
|
}
|
|
@@ -312,8 +313,8 @@
|
|
|
312
313
|
this.d9_1 = 4;
|
|
313
314
|
continue $sm;
|
|
314
315
|
case 4:
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
316
|
+
this.y39_1 = this.y39_1 + 6 | 0;
|
|
317
|
+
this.x39_1 = this.x39_1 + 6 | 0;
|
|
317
318
|
this.d9_1 = 2;
|
|
318
319
|
continue $sm;
|
|
319
320
|
case 5:
|
|
@@ -335,71 +336,69 @@
|
|
|
335
336
|
}
|
|
336
337
|
while (true);
|
|
337
338
|
};
|
|
338
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
339
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
340
|
-
i.
|
|
339
|
+
protoOf(HeadersData$headersStarts$slambda).c3a = function ($this$sequence, completion) {
|
|
340
|
+
var i = new HeadersData$headersStarts$slambda(this.v39_1, completion);
|
|
341
|
+
i.w39_1 = $this$sequence;
|
|
341
342
|
return i;
|
|
342
343
|
};
|
|
343
344
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
344
345
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
345
|
-
|
|
346
|
-
return i.
|
|
347
|
-
};
|
|
348
|
-
l.$arity = 1;
|
|
349
|
-
return l;
|
|
346
|
+
return constructCallableReference(function ($this$sequence, $completion) {
|
|
347
|
+
return i.b3a($this$sequence, $completion);
|
|
348
|
+
}, 1);
|
|
350
349
|
}
|
|
351
350
|
function HeadersData() {
|
|
352
351
|
var tmp = this;
|
|
353
352
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
354
|
-
tmp.
|
|
353
|
+
tmp.w38_1 = ArrayList_init_$Create$();
|
|
355
354
|
}
|
|
356
|
-
protoOf(HeadersData).
|
|
357
|
-
return this.
|
|
355
|
+
protoOf(HeadersData).x38 = function () {
|
|
356
|
+
return this.w38_1.l1();
|
|
358
357
|
};
|
|
359
|
-
protoOf(HeadersData).
|
|
358
|
+
protoOf(HeadersData).y38 = function (subArraysCount) {
|
|
360
359
|
// Inline function 'kotlin.repeat' call
|
|
361
360
|
var inductionVariable = 0;
|
|
362
361
|
if (inductionVariable < subArraysCount)
|
|
363
362
|
do {
|
|
364
363
|
var index = inductionVariable;
|
|
365
364
|
inductionVariable = inductionVariable + 1 | 0;
|
|
366
|
-
this.
|
|
365
|
+
this.w38_1.j1(get_IntArrayPool().r1z());
|
|
367
366
|
}
|
|
368
367
|
while (inductionVariable < subArraysCount);
|
|
369
368
|
};
|
|
370
|
-
protoOf(HeadersData).
|
|
371
|
-
return this.
|
|
369
|
+
protoOf(HeadersData).a39 = function (index) {
|
|
370
|
+
return this.w38_1.m1(index / 768 | 0)[index % 768 | 0];
|
|
372
371
|
};
|
|
373
|
-
protoOf(HeadersData).
|
|
374
|
-
this.
|
|
372
|
+
protoOf(HeadersData).l39 = function (index, value) {
|
|
373
|
+
this.w38_1.m1(index / 768 | 0)[index % 768 | 0] = value;
|
|
375
374
|
};
|
|
376
|
-
protoOf(HeadersData).
|
|
375
|
+
protoOf(HeadersData).z38 = function () {
|
|
377
376
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
378
377
|
};
|
|
379
|
-
protoOf(HeadersData).
|
|
380
|
-
var _iterator__ex2g4s = this.
|
|
378
|
+
protoOf(HeadersData).h1k = function () {
|
|
379
|
+
var _iterator__ex2g4s = this.w38_1.t();
|
|
381
380
|
while (_iterator__ex2g4s.u()) {
|
|
382
381
|
var array = _iterator__ex2g4s.v();
|
|
383
|
-
get_IntArrayPool().
|
|
382
|
+
get_IntArrayPool().s1z(array);
|
|
384
383
|
}
|
|
385
|
-
this.
|
|
384
|
+
this.w38_1.t2();
|
|
386
385
|
};
|
|
387
386
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
388
387
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
389
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
388
|
+
var _iterator__ex2g4s = _this__u8e3s4.d39().t();
|
|
390
389
|
while (_iterator__ex2g4s.u()) {
|
|
391
390
|
var offset = _iterator__ex2g4s.v();
|
|
392
391
|
out.k1(indent);
|
|
393
|
-
out.k1(_this__u8e3s4.
|
|
392
|
+
out.k1(_this__u8e3s4.m39(offset));
|
|
394
393
|
out.k1(' => ');
|
|
395
|
-
out.k1(_this__u8e3s4.
|
|
394
|
+
out.k1(_this__u8e3s4.c39(offset));
|
|
396
395
|
out.k1('\n');
|
|
397
396
|
}
|
|
398
397
|
}
|
|
399
398
|
function IntArrayPool$1() {
|
|
400
399
|
DefaultPool.call(this, 1000);
|
|
401
400
|
}
|
|
402
|
-
protoOf(IntArrayPool$1).
|
|
401
|
+
protoOf(IntArrayPool$1).k1z = function () {
|
|
403
402
|
var tmp = 0;
|
|
404
403
|
var tmp_0 = new Int32Array(768);
|
|
405
404
|
while (tmp < 768) {
|
|
@@ -408,25 +407,25 @@
|
|
|
408
407
|
}
|
|
409
408
|
return tmp_0;
|
|
410
409
|
};
|
|
411
|
-
protoOf(IntArrayPool$1).
|
|
410
|
+
protoOf(IntArrayPool$1).g3a = function (instance) {
|
|
412
411
|
fill(instance, -1);
|
|
413
|
-
return protoOf(DefaultPool).
|
|
412
|
+
return protoOf(DefaultPool).p1z.call(this, instance);
|
|
414
413
|
};
|
|
415
|
-
protoOf(IntArrayPool$1).
|
|
416
|
-
return this.
|
|
414
|
+
protoOf(IntArrayPool$1).p1z = function (instance) {
|
|
415
|
+
return this.g3a(isIntArray(instance) ? instance : THROW_CCE());
|
|
417
416
|
};
|
|
418
417
|
function HeadersDataPool$1() {
|
|
419
418
|
DefaultPool.call(this, 1000);
|
|
420
419
|
}
|
|
421
|
-
protoOf(HeadersDataPool$1).
|
|
420
|
+
protoOf(HeadersDataPool$1).k1z = function () {
|
|
422
421
|
return new HeadersData();
|
|
423
422
|
};
|
|
424
|
-
protoOf(HeadersDataPool$1).
|
|
425
|
-
instance.
|
|
426
|
-
return protoOf(DefaultPool).
|
|
423
|
+
protoOf(HeadersDataPool$1).k3a = function (instance) {
|
|
424
|
+
instance.h1k();
|
|
425
|
+
return protoOf(DefaultPool).p1z.call(this, instance);
|
|
427
426
|
};
|
|
428
|
-
protoOf(HeadersDataPool$1).
|
|
429
|
-
return this.
|
|
427
|
+
protoOf(HeadersDataPool$1).p1z = function (instance) {
|
|
428
|
+
return this.k3a(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
430
429
|
};
|
|
431
430
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
432
431
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -452,16 +451,16 @@
|
|
|
452
451
|
}
|
|
453
452
|
function parseHeaderName(text, range) {
|
|
454
453
|
_init_properties_HttpParser_kt__gbdom1();
|
|
455
|
-
var index = range.
|
|
456
|
-
var end = range.
|
|
454
|
+
var index = range.y3a_1;
|
|
455
|
+
var end = range.z3a_1;
|
|
457
456
|
while (index < end) {
|
|
458
457
|
var ch = text.b(index);
|
|
459
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
460
|
-
range.
|
|
458
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.y3a_1)) {
|
|
459
|
+
range.y3a_1 = index + 1 | 0;
|
|
461
460
|
return index;
|
|
462
461
|
}
|
|
463
462
|
if (isDelimiter(ch)) {
|
|
464
|
-
parseHeaderNameFailed(text, index, range.
|
|
463
|
+
parseHeaderNameFailed(text, index, range.y3a_1, ch);
|
|
465
464
|
}
|
|
466
465
|
index = index + 1 | 0;
|
|
467
466
|
}
|
|
@@ -469,12 +468,12 @@
|
|
|
469
468
|
}
|
|
470
469
|
function parseHeaderValue(text, range) {
|
|
471
470
|
_init_properties_HttpParser_kt__gbdom1();
|
|
472
|
-
var start = range.
|
|
473
|
-
var end = range.
|
|
471
|
+
var start = range.y3a_1;
|
|
472
|
+
var end = range.z3a_1;
|
|
474
473
|
var index = start;
|
|
475
474
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
476
475
|
if (index >= end) {
|
|
477
|
-
range.
|
|
476
|
+
range.y3a_1 = end;
|
|
478
477
|
return Unit_instance;
|
|
479
478
|
}
|
|
480
479
|
var valueStart = index;
|
|
@@ -488,8 +487,8 @@
|
|
|
488
487
|
valueLastIndex = index;
|
|
489
488
|
index = index + 1 | 0;
|
|
490
489
|
}
|
|
491
|
-
range.
|
|
492
|
-
range.
|
|
490
|
+
range.y3a_1 = valueStart;
|
|
491
|
+
range.z3a_1 = valueLastIndex + 1 | 0;
|
|
493
492
|
}
|
|
494
493
|
function validateHostHeader(host) {
|
|
495
494
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -530,9 +529,9 @@
|
|
|
530
529
|
}
|
|
531
530
|
function noColonFound(text, range) {
|
|
532
531
|
_init_properties_HttpParser_kt__gbdom1();
|
|
533
|
-
var tmp2 = range.
|
|
532
|
+
var tmp2 = range.y3a_1;
|
|
534
533
|
// Inline function 'kotlin.text.substring' call
|
|
535
|
-
var endIndex = range.
|
|
534
|
+
var endIndex = range.z3a_1;
|
|
536
535
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
537
536
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
538
537
|
}
|
|
@@ -548,9 +547,9 @@
|
|
|
548
547
|
}
|
|
549
548
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
550
549
|
CoroutineImpl.call(this, resultContinuation);
|
|
551
|
-
this.
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
550
|
+
this.t3a_1 = input;
|
|
551
|
+
this.u3a_1 = builder;
|
|
552
|
+
this.v3a_1 = range;
|
|
554
553
|
}
|
|
555
554
|
protoOf($parseHeadersCOROUTINE$).l9 = function () {
|
|
556
555
|
var suspendResult = this.f9_1;
|
|
@@ -560,7 +559,7 @@
|
|
|
560
559
|
switch (tmp) {
|
|
561
560
|
case 0:
|
|
562
561
|
this.e9_1 = 7;
|
|
563
|
-
this.
|
|
562
|
+
this.w3a_1 = new HttpHeadersMap(this.u3a_1);
|
|
564
563
|
this.e9_1 = 6;
|
|
565
564
|
this.d9_1 = 1;
|
|
566
565
|
continue $sm;
|
|
@@ -571,7 +570,7 @@
|
|
|
571
570
|
}
|
|
572
571
|
|
|
573
572
|
this.d9_1 = 2;
|
|
574
|
-
suspendResult = readLineStrictTo(this.
|
|
573
|
+
suspendResult = readLineStrictTo(this.t3a_1, this.u3a_1, 8192n, VOID, this);
|
|
575
574
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
576
575
|
return suspendResult;
|
|
577
576
|
}
|
|
@@ -579,7 +578,7 @@
|
|
|
579
578
|
continue $sm;
|
|
580
579
|
case 2:
|
|
581
580
|
if (suspendResult === -1n) {
|
|
582
|
-
this.
|
|
581
|
+
this.w3a_1.h1k();
|
|
583
582
|
return null;
|
|
584
583
|
} else {
|
|
585
584
|
this.d9_1 = 3;
|
|
@@ -587,9 +586,9 @@
|
|
|
587
586
|
}
|
|
588
587
|
|
|
589
588
|
case 3:
|
|
590
|
-
this.
|
|
591
|
-
this.
|
|
592
|
-
if (this.
|
|
589
|
+
this.v3a_1.z3a_1 = this.u3a_1.k39_1;
|
|
590
|
+
this.x3a_1 = this.v3a_1.z3a_1 - this.v3a_1.y3a_1 | 0;
|
|
591
|
+
if (this.x3a_1 === 0) {
|
|
593
592
|
this.d9_1 = 5;
|
|
594
593
|
continue $sm;
|
|
595
594
|
} else {
|
|
@@ -598,34 +597,34 @@
|
|
|
598
597
|
}
|
|
599
598
|
|
|
600
599
|
case 4:
|
|
601
|
-
if (this.
|
|
600
|
+
if (this.x3a_1 >= 8192) {
|
|
602
601
|
var message = 'Header line length limit exceeded';
|
|
603
602
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
604
603
|
}
|
|
605
604
|
|
|
606
|
-
var nameStart = this.
|
|
607
|
-
var nameEnd = parseHeaderName(this.
|
|
608
|
-
var headerEnd = this.
|
|
609
|
-
parseHeaderValue(this.
|
|
610
|
-
var valueStart = this.
|
|
611
|
-
var valueEnd = this.
|
|
612
|
-
this.
|
|
613
|
-
this.
|
|
605
|
+
var nameStart = this.v3a_1.y3a_1;
|
|
606
|
+
var nameEnd = parseHeaderName(this.u3a_1, this.v3a_1);
|
|
607
|
+
var headerEnd = this.v3a_1.z3a_1;
|
|
608
|
+
parseHeaderValue(this.u3a_1, this.v3a_1);
|
|
609
|
+
var valueStart = this.v3a_1.y3a_1;
|
|
610
|
+
var valueEnd = this.v3a_1.z3a_1;
|
|
611
|
+
this.v3a_1.y3a_1 = headerEnd;
|
|
612
|
+
this.w3a_1.b39(nameStart, nameEnd, valueStart, valueEnd);
|
|
614
613
|
this.d9_1 = 1;
|
|
615
614
|
continue $sm;
|
|
616
615
|
case 5:
|
|
617
|
-
var host = this.
|
|
616
|
+
var host = this.w3a_1.w2o('Host');
|
|
618
617
|
if (!(host == null)) {
|
|
619
618
|
validateHostHeader(host);
|
|
620
619
|
}
|
|
621
620
|
|
|
622
|
-
return this.
|
|
621
|
+
return this.w3a_1;
|
|
623
622
|
case 6:
|
|
624
623
|
this.e9_1 = 7;
|
|
625
624
|
var tmp_0 = this.g9_1;
|
|
626
625
|
if (tmp_0 instanceof Error) {
|
|
627
626
|
var t = this.g9_1;
|
|
628
|
-
this.
|
|
627
|
+
this.w3a_1.h1k();
|
|
629
628
|
throw t;
|
|
630
629
|
} else {
|
|
631
630
|
throw this.g9_1;
|
|
@@ -650,8 +649,8 @@
|
|
|
650
649
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
651
650
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
652
651
|
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.
|
|
652
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().w1y_1, Companion_getInstance().v1y_1);
|
|
653
|
+
versions = Companion_instance.a3b(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
655
654
|
}
|
|
656
655
|
}
|
|
657
656
|
function get_CrLf() {
|
|
@@ -666,23 +665,23 @@
|
|
|
666
665
|
var PrefixString;
|
|
667
666
|
function Preamble(body) {
|
|
668
667
|
MultipartEvent.call(this);
|
|
669
|
-
this.
|
|
668
|
+
this.b3b_1 = body;
|
|
670
669
|
}
|
|
671
670
|
function MultipartPart(headers, body) {
|
|
672
671
|
MultipartEvent.call(this);
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
672
|
+
this.c3b_1 = headers;
|
|
673
|
+
this.d3b_1 = body;
|
|
675
674
|
}
|
|
676
675
|
function Epilogue(body) {
|
|
677
676
|
MultipartEvent.call(this);
|
|
678
|
-
this.
|
|
677
|
+
this.e3b_1 = body;
|
|
679
678
|
}
|
|
680
679
|
function MultipartEvent() {
|
|
681
680
|
}
|
|
682
681
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
683
682
|
maxPartSize = maxPartSize === VOID ? 9223372036854775807n : maxPartSize;
|
|
684
683
|
_init_properties_Multipart_kt__ato98a();
|
|
685
|
-
if (!MultiPart_getInstance().
|
|
684
|
+
if (!MultiPart_getInstance().k2w(contentType)) {
|
|
686
685
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
687
686
|
}
|
|
688
687
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -859,18 +858,18 @@
|
|
|
859
858
|
boundaryBytes[_unary__edvuaz] = value;
|
|
860
859
|
}
|
|
861
860
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
862
|
-
this.
|
|
863
|
-
this.
|
|
861
|
+
this.y3c_1 = $firstBoundary;
|
|
862
|
+
this.z3c_1 = $countedInput;
|
|
864
863
|
CoroutineImpl.call(this, resultContinuation);
|
|
865
864
|
}
|
|
866
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
867
|
-
var tmp = this.
|
|
865
|
+
protoOf(parseMultipart$slambda$slambda).b3d = function ($this$writer, $completion) {
|
|
866
|
+
var tmp = this.c3d($this$writer, $completion);
|
|
868
867
|
tmp.f9_1 = Unit_instance;
|
|
869
868
|
tmp.g9_1 = null;
|
|
870
869
|
return tmp.l9();
|
|
871
870
|
};
|
|
872
871
|
protoOf(parseMultipart$slambda$slambda).y9 = function (p1, $completion) {
|
|
873
|
-
return this.
|
|
872
|
+
return this.b3d(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
874
873
|
};
|
|
875
874
|
protoOf(parseMultipart$slambda$slambda).l9 = function () {
|
|
876
875
|
var suspendResult = this.f9_1;
|
|
@@ -881,7 +880,7 @@
|
|
|
881
880
|
case 0:
|
|
882
881
|
this.e9_1 = 3;
|
|
883
882
|
this.d9_1 = 1;
|
|
884
|
-
suspendResult = parsePreambleImpl(this.
|
|
883
|
+
suspendResult = parsePreambleImpl(this.y3c_1, this.z3c_1, this.a3d_1.y1w_1, 8193n, this);
|
|
885
884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
886
885
|
return suspendResult;
|
|
887
886
|
}
|
|
@@ -889,7 +888,7 @@
|
|
|
889
888
|
continue $sm;
|
|
890
889
|
case 1:
|
|
891
890
|
this.d9_1 = 2;
|
|
892
|
-
suspendResult = this.
|
|
891
|
+
suspendResult = this.a3d_1.y1w_1.e1p(this);
|
|
893
892
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
894
893
|
return suspendResult;
|
|
895
894
|
}
|
|
@@ -911,34 +910,32 @@
|
|
|
911
910
|
}
|
|
912
911
|
while (true);
|
|
913
912
|
};
|
|
914
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
915
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
916
|
-
i.
|
|
913
|
+
protoOf(parseMultipart$slambda$slambda).c3d = function ($this$writer, completion) {
|
|
914
|
+
var i = new parseMultipart$slambda$slambda(this.y3c_1, this.z3c_1, completion);
|
|
915
|
+
i.a3d_1 = $this$writer;
|
|
917
916
|
return i;
|
|
918
917
|
};
|
|
919
918
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
920
919
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
921
|
-
|
|
922
|
-
return i.
|
|
923
|
-
};
|
|
924
|
-
l.$arity = 1;
|
|
925
|
-
return l;
|
|
920
|
+
return constructCallableReference(function ($this$writer, $completion) {
|
|
921
|
+
return i.b3d($this$writer, $completion);
|
|
922
|
+
}, 1);
|
|
926
923
|
}
|
|
927
924
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
928
|
-
this.
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
931
|
-
this.
|
|
925
|
+
this.l3d_1 = $input;
|
|
926
|
+
this.m3d_1 = $boundaryPrefixed;
|
|
927
|
+
this.n3d_1 = $maxPartSize;
|
|
928
|
+
this.o3d_1 = $totalLength;
|
|
932
929
|
CoroutineImpl.call(this, resultContinuation);
|
|
933
930
|
}
|
|
934
|
-
protoOf(parseMultipart$slambda).
|
|
935
|
-
var tmp = this.
|
|
931
|
+
protoOf(parseMultipart$slambda).x3d = function ($this$produce, $completion) {
|
|
932
|
+
var tmp = this.y3d($this$produce, $completion);
|
|
936
933
|
tmp.f9_1 = Unit_instance;
|
|
937
934
|
tmp.g9_1 = null;
|
|
938
935
|
return tmp.l9();
|
|
939
936
|
};
|
|
940
937
|
protoOf(parseMultipart$slambda).y9 = function (p1, $completion) {
|
|
941
|
-
return this.
|
|
938
|
+
return this.x3d((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
942
939
|
};
|
|
943
940
|
protoOf(parseMultipart$slambda).l9 = function () {
|
|
944
941
|
var suspendResult = this.f9_1;
|
|
@@ -948,11 +945,11 @@
|
|
|
948
945
|
switch (tmp) {
|
|
949
946
|
case 0:
|
|
950
947
|
this.e9_1 = 25;
|
|
951
|
-
this.
|
|
952
|
-
this.
|
|
953
|
-
this.
|
|
948
|
+
this.q3d_1 = counted(this.l3d_1);
|
|
949
|
+
this.r3d_1 = this.q3d_1.t1y();
|
|
950
|
+
this.v3d_1 = this.m3d_1.bq(get_PrefixString().l1());
|
|
954
951
|
this.d9_1 = 1;
|
|
955
|
-
suspendResult = readRemaining(writer(this.
|
|
952
|
+
suspendResult = readRemaining(writer(this.p3d_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.v3d_1, this.q3d_1, null)).x1q_1, this);
|
|
956
953
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
957
954
|
return suspendResult;
|
|
958
955
|
}
|
|
@@ -962,7 +959,7 @@
|
|
|
962
959
|
var preambleData = suspendResult;
|
|
963
960
|
if (get_remaining(preambleData) > 0n) {
|
|
964
961
|
this.d9_1 = 2;
|
|
965
|
-
suspendResult = this.
|
|
962
|
+
suspendResult = this.p3d_1.w1c(new Preamble(preambleData), this);
|
|
966
963
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
967
964
|
return suspendResult;
|
|
968
965
|
}
|
|
@@ -979,31 +976,31 @@
|
|
|
979
976
|
this.d9_1 = 4;
|
|
980
977
|
continue $sm;
|
|
981
978
|
case 4:
|
|
982
|
-
if (!this.
|
|
979
|
+
if (!this.q3d_1.b1p()) {
|
|
983
980
|
this.d9_1 = 5;
|
|
984
|
-
suspendResult = skipIfFound(this.
|
|
981
|
+
suspendResult = skipIfFound(this.q3d_1, get_PrefixString(), this);
|
|
985
982
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
986
983
|
return suspendResult;
|
|
987
984
|
}
|
|
988
985
|
continue $sm;
|
|
989
986
|
} else {
|
|
990
|
-
this.
|
|
987
|
+
this.w3d_1 = false;
|
|
991
988
|
this.d9_1 = 6;
|
|
992
989
|
continue $sm;
|
|
993
990
|
}
|
|
994
991
|
|
|
995
992
|
case 5:
|
|
996
|
-
this.
|
|
993
|
+
this.w3d_1 = !suspendResult;
|
|
997
994
|
this.d9_1 = 6;
|
|
998
995
|
continue $sm;
|
|
999
996
|
case 6:
|
|
1000
|
-
if (!this.
|
|
997
|
+
if (!this.w3d_1) {
|
|
1001
998
|
this.d9_1 = 15;
|
|
1002
999
|
continue $sm;
|
|
1003
1000
|
}
|
|
1004
1001
|
|
|
1005
1002
|
this.d9_1 = 7;
|
|
1006
|
-
suspendResult = skipIfFound(this.
|
|
1003
|
+
suspendResult = skipIfFound(this.q3d_1, get_CrLf(), this);
|
|
1007
1004
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1008
1005
|
return suspendResult;
|
|
1009
1006
|
}
|
|
@@ -1011,7 +1008,7 @@
|
|
|
1011
1008
|
continue $sm;
|
|
1012
1009
|
case 7:
|
|
1013
1010
|
this.d9_1 = 8;
|
|
1014
|
-
suspendResult = skipIfFound(this.
|
|
1011
|
+
suspendResult = skipIfFound(this.q3d_1, this.v3d_1, this);
|
|
1015
1012
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1016
1013
|
return suspendResult;
|
|
1017
1014
|
}
|
|
@@ -1027,42 +1024,42 @@
|
|
|
1027
1024
|
}
|
|
1028
1025
|
|
|
1029
1026
|
case 9:
|
|
1030
|
-
this.
|
|
1031
|
-
this.
|
|
1032
|
-
var part = new MultipartPart(this.
|
|
1027
|
+
this.s3d_1 = new ByteChannel();
|
|
1028
|
+
this.u3d_1 = CompletableDeferred();
|
|
1029
|
+
var part = new MultipartPart(this.u3d_1, this.s3d_1);
|
|
1033
1030
|
this.d9_1 = 10;
|
|
1034
|
-
suspendResult = this.
|
|
1031
|
+
suspendResult = this.p3d_1.w1c(part, this);
|
|
1035
1032
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1036
1033
|
return suspendResult;
|
|
1037
1034
|
}
|
|
1038
1035
|
|
|
1039
1036
|
continue $sm;
|
|
1040
1037
|
case 10:
|
|
1041
|
-
this.
|
|
1038
|
+
this.t3d_1 = null;
|
|
1042
1039
|
this.e9_1 = 14;
|
|
1043
1040
|
this.d9_1 = 11;
|
|
1044
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1041
|
+
suspendResult = parsePartHeadersImpl(this.q3d_1, this);
|
|
1045
1042
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1046
1043
|
return suspendResult;
|
|
1047
1044
|
}
|
|
1048
1045
|
|
|
1049
1046
|
continue $sm;
|
|
1050
1047
|
case 11:
|
|
1051
|
-
this.
|
|
1052
|
-
if (!this.
|
|
1053
|
-
this.
|
|
1048
|
+
this.t3d_1 = suspendResult;
|
|
1049
|
+
if (!this.u3d_1.c12(this.t3d_1)) {
|
|
1050
|
+
this.t3d_1.h1k();
|
|
1054
1051
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1055
1052
|
}
|
|
1056
1053
|
|
|
1057
1054
|
this.d9_1 = 12;
|
|
1058
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1055
|
+
suspendResult = parsePartBodyImpl(this.m3d_1, this.q3d_1, this.s3d_1, this.t3d_1, this.n3d_1, this);
|
|
1059
1056
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1060
1057
|
return suspendResult;
|
|
1061
1058
|
}
|
|
1062
1059
|
|
|
1063
1060
|
continue $sm;
|
|
1064
1061
|
case 12:
|
|
1065
|
-
this.
|
|
1062
|
+
this.s3d_1.o4();
|
|
1066
1063
|
this.e9_1 = 25;
|
|
1067
1064
|
this.d9_1 = 13;
|
|
1068
1065
|
continue $sm;
|
|
@@ -1075,15 +1072,15 @@
|
|
|
1075
1072
|
var tmp_0 = this.g9_1;
|
|
1076
1073
|
if (tmp_0 instanceof Error) {
|
|
1077
1074
|
var cause = this.g9_1;
|
|
1078
|
-
if (this.
|
|
1079
|
-
var tmp0_safe_receiver = this.
|
|
1075
|
+
if (this.u3d_1.d12(cause)) {
|
|
1076
|
+
var tmp0_safe_receiver = this.t3d_1;
|
|
1080
1077
|
if (tmp0_safe_receiver == null)
|
|
1081
1078
|
null;
|
|
1082
1079
|
else {
|
|
1083
|
-
tmp0_safe_receiver.
|
|
1080
|
+
tmp0_safe_receiver.h1k();
|
|
1084
1081
|
}
|
|
1085
1082
|
}
|
|
1086
|
-
close(this.
|
|
1083
|
+
close(this.s3d_1, cause);
|
|
1087
1084
|
throw cause;
|
|
1088
1085
|
} else {
|
|
1089
1086
|
throw this.g9_1;
|
|
@@ -1091,7 +1088,7 @@
|
|
|
1091
1088
|
|
|
1092
1089
|
case 15:
|
|
1093
1090
|
this.d9_1 = 16;
|
|
1094
|
-
suspendResult = skipIfFound(this.
|
|
1091
|
+
suspendResult = skipIfFound(this.q3d_1, get_CrLf(), this);
|
|
1095
1092
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1096
1093
|
return suspendResult;
|
|
1097
1094
|
}
|
|
@@ -1099,21 +1096,21 @@
|
|
|
1099
1096
|
continue $sm;
|
|
1100
1097
|
case 16:
|
|
1101
1098
|
this.d9_1 = 17;
|
|
1102
|
-
suspendResult = skipIfFound(this.
|
|
1099
|
+
suspendResult = skipIfFound(this.q3d_1, get_CrLf(), this);
|
|
1103
1100
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1104
1101
|
return suspendResult;
|
|
1105
1102
|
}
|
|
1106
1103
|
|
|
1107
1104
|
continue $sm;
|
|
1108
1105
|
case 17:
|
|
1109
|
-
if (!(this.
|
|
1110
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1111
|
-
var size = subtract(this.
|
|
1106
|
+
if (!(this.o3d_1 == null)) {
|
|
1107
|
+
var consumedExceptEpilogue = subtract(this.q3d_1.t1y(), this.r3d_1);
|
|
1108
|
+
var size = subtract(this.o3d_1, consumedExceptEpilogue);
|
|
1112
1109
|
if (size > 2147483647n)
|
|
1113
1110
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1114
1111
|
if (size > 0n) {
|
|
1115
1112
|
this.d9_1 = 21;
|
|
1116
|
-
suspendResult = readPacket(this.
|
|
1113
|
+
suspendResult = readPacket(this.q3d_1, convertToInt(size), this);
|
|
1117
1114
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1118
1115
|
return suspendResult;
|
|
1119
1116
|
}
|
|
@@ -1124,7 +1121,7 @@
|
|
|
1124
1121
|
}
|
|
1125
1122
|
} else {
|
|
1126
1123
|
this.d9_1 = 18;
|
|
1127
|
-
suspendResult = readRemaining(this.
|
|
1124
|
+
suspendResult = readRemaining(this.q3d_1, this);
|
|
1128
1125
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1129
1126
|
return suspendResult;
|
|
1130
1127
|
}
|
|
@@ -1133,9 +1130,9 @@
|
|
|
1133
1130
|
|
|
1134
1131
|
case 18:
|
|
1135
1132
|
var epilogueContent = suspendResult;
|
|
1136
|
-
if (!epilogueContent.
|
|
1133
|
+
if (!epilogueContent.jq()) {
|
|
1137
1134
|
this.d9_1 = 19;
|
|
1138
|
-
suspendResult = this.
|
|
1135
|
+
suspendResult = this.p3d_1.w1c(new Epilogue(epilogueContent), this);
|
|
1139
1136
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1140
1137
|
return suspendResult;
|
|
1141
1138
|
}
|
|
@@ -1155,7 +1152,7 @@
|
|
|
1155
1152
|
var ARGUMENT = suspendResult;
|
|
1156
1153
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1157
1154
|
this.d9_1 = 22;
|
|
1158
|
-
suspendResult = this.
|
|
1155
|
+
suspendResult = this.p3d_1.w1c(ARGUMENT_0, this);
|
|
1159
1156
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1160
1157
|
return suspendResult;
|
|
1161
1158
|
}
|
|
@@ -1183,22 +1180,20 @@
|
|
|
1183
1180
|
}
|
|
1184
1181
|
while (true);
|
|
1185
1182
|
};
|
|
1186
|
-
protoOf(parseMultipart$slambda).
|
|
1187
|
-
var i = new parseMultipart$slambda(this.
|
|
1188
|
-
i.
|
|
1183
|
+
protoOf(parseMultipart$slambda).y3d = function ($this$produce, completion) {
|
|
1184
|
+
var i = new parseMultipart$slambda(this.l3d_1, this.m3d_1, this.n3d_1, this.o3d_1, completion);
|
|
1185
|
+
i.p3d_1 = $this$produce;
|
|
1189
1186
|
return i;
|
|
1190
1187
|
};
|
|
1191
1188
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1192
1189
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1193
|
-
|
|
1194
|
-
return i.
|
|
1195
|
-
};
|
|
1196
|
-
l.$arity = 1;
|
|
1197
|
-
return l;
|
|
1190
|
+
return constructCallableReference(function ($this$produce, $completion) {
|
|
1191
|
+
return i.x3d($this$produce, $completion);
|
|
1192
|
+
}, 1);
|
|
1198
1193
|
}
|
|
1199
1194
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1200
1195
|
CoroutineImpl.call(this, resultContinuation);
|
|
1201
|
-
this.
|
|
1196
|
+
this.n3b_1 = input;
|
|
1202
1197
|
}
|
|
1203
1198
|
protoOf($parsePartHeadersImplCOROUTINE$).l9 = function () {
|
|
1204
1199
|
var suspendResult = this.f9_1;
|
|
@@ -1208,10 +1203,10 @@
|
|
|
1208
1203
|
switch (tmp) {
|
|
1209
1204
|
case 0:
|
|
1210
1205
|
this.e9_1 = 3;
|
|
1211
|
-
this.
|
|
1206
|
+
this.o3b_1 = new CharArrayBuilder();
|
|
1212
1207
|
this.e9_1 = 2;
|
|
1213
1208
|
this.d9_1 = 1;
|
|
1214
|
-
suspendResult = parseHeaders(this.
|
|
1209
|
+
suspendResult = parseHeaders(this.n3b_1, this.o3b_1, VOID, this);
|
|
1215
1210
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1216
1211
|
return suspendResult;
|
|
1217
1212
|
}
|
|
@@ -1232,7 +1227,7 @@
|
|
|
1232
1227
|
var tmp_1 = this.g9_1;
|
|
1233
1228
|
if (tmp_1 instanceof Error) {
|
|
1234
1229
|
var t = this.g9_1;
|
|
1235
|
-
this.
|
|
1230
|
+
this.o3b_1.h1k();
|
|
1236
1231
|
throw t;
|
|
1237
1232
|
} else {
|
|
1238
1233
|
throw this.g9_1;
|
|
@@ -1254,11 +1249,11 @@
|
|
|
1254
1249
|
};
|
|
1255
1250
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1256
1251
|
CoroutineImpl.call(this, resultContinuation);
|
|
1257
|
-
this.
|
|
1258
|
-
this.
|
|
1259
|
-
this.
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1252
|
+
this.x3b_1 = boundaryPrefixed;
|
|
1253
|
+
this.y3b_1 = input;
|
|
1254
|
+
this.z3b_1 = output;
|
|
1255
|
+
this.a3c_1 = headers;
|
|
1256
|
+
this.b3c_1 = limit;
|
|
1262
1257
|
}
|
|
1263
1258
|
protoOf($parsePartBodyImplCOROUTINE$).l9 = function () {
|
|
1264
1259
|
var suspendResult = this.f9_1;
|
|
@@ -1268,35 +1263,35 @@
|
|
|
1268
1263
|
switch (tmp) {
|
|
1269
1264
|
case 0:
|
|
1270
1265
|
this.e9_1 = 6;
|
|
1271
|
-
var tmp0_safe_receiver = this.
|
|
1266
|
+
var tmp0_safe_receiver = this.a3c_1.w2o('Content-Length');
|
|
1272
1267
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1273
1268
|
if (contentLength == null) {
|
|
1274
1269
|
this.d9_1 = 3;
|
|
1275
|
-
suspendResult = readUntil(this.
|
|
1270
|
+
suspendResult = readUntil(this.y3b_1, this.x3b_1, this.z3b_1, this.b3c_1, true, this);
|
|
1276
1271
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1277
1272
|
return suspendResult;
|
|
1278
1273
|
}
|
|
1279
1274
|
continue $sm;
|
|
1280
1275
|
} else {
|
|
1281
|
-
var containsUpper = this.
|
|
1276
|
+
var containsUpper = this.b3c_1;
|
|
1282
1277
|
if (0n <= contentLength ? contentLength <= containsUpper : false) {
|
|
1283
1278
|
this.d9_1 = 1;
|
|
1284
|
-
suspendResult = copyTo(this.
|
|
1279
|
+
suspendResult = copyTo(this.y3b_1, this.z3b_1, contentLength, this);
|
|
1285
1280
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1286
1281
|
return suspendResult;
|
|
1287
1282
|
}
|
|
1288
1283
|
continue $sm;
|
|
1289
1284
|
} else {
|
|
1290
1285
|
var tmp_0 = this;
|
|
1291
|
-
throwLimitExceeded(contentLength, this.
|
|
1286
|
+
throwLimitExceeded(contentLength, this.b3c_1);
|
|
1292
1287
|
}
|
|
1293
1288
|
}
|
|
1294
1289
|
|
|
1295
1290
|
break;
|
|
1296
1291
|
case 1:
|
|
1297
|
-
this.
|
|
1292
|
+
this.e3c_1 = suspendResult;
|
|
1298
1293
|
this.d9_1 = 2;
|
|
1299
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1294
|
+
suspendResult = skipIfFoundReadCount(this.y3b_1, this.x3b_1, this);
|
|
1300
1295
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1301
1296
|
return suspendResult;
|
|
1302
1297
|
}
|
|
@@ -1304,24 +1299,24 @@
|
|
|
1304
1299
|
continue $sm;
|
|
1305
1300
|
case 2:
|
|
1306
1301
|
var ARGUMENT = suspendResult;
|
|
1307
|
-
this.
|
|
1302
|
+
this.d3c_1 = add(this.e3c_1, ARGUMENT);
|
|
1308
1303
|
this.d9_1 = 4;
|
|
1309
1304
|
continue $sm;
|
|
1310
1305
|
case 3:
|
|
1311
|
-
this.
|
|
1306
|
+
this.d3c_1 = suspendResult;
|
|
1312
1307
|
this.d9_1 = 4;
|
|
1313
1308
|
continue $sm;
|
|
1314
1309
|
case 4:
|
|
1315
|
-
this.
|
|
1310
|
+
this.c3c_1 = this.d3c_1;
|
|
1316
1311
|
this.d9_1 = 5;
|
|
1317
|
-
suspendResult = this.
|
|
1312
|
+
suspendResult = this.z3b_1.v1o(this);
|
|
1318
1313
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1319
1314
|
return suspendResult;
|
|
1320
1315
|
}
|
|
1321
1316
|
|
|
1322
1317
|
continue $sm;
|
|
1323
1318
|
case 5:
|
|
1324
|
-
return this.
|
|
1319
|
+
return this.c3c_1;
|
|
1325
1320
|
case 6:
|
|
1326
1321
|
throw this.g9_1;
|
|
1327
1322
|
}
|
|
@@ -1338,8 +1333,8 @@
|
|
|
1338
1333
|
};
|
|
1339
1334
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1340
1335
|
CoroutineImpl.call(this, resultContinuation);
|
|
1341
|
-
this.
|
|
1342
|
-
this.
|
|
1336
|
+
this.n3c_1 = _this__u8e3s4;
|
|
1337
|
+
this.o3c_1 = prefix;
|
|
1343
1338
|
}
|
|
1344
1339
|
protoOf($skipIfFoundReadCountCOROUTINE$).l9 = function () {
|
|
1345
1340
|
var suspendResult = this.f9_1;
|
|
@@ -1350,7 +1345,7 @@
|
|
|
1350
1345
|
case 0:
|
|
1351
1346
|
this.e9_1 = 3;
|
|
1352
1347
|
this.d9_1 = 1;
|
|
1353
|
-
suspendResult = skipIfFound(this.
|
|
1348
|
+
suspendResult = skipIfFound(this.n3c_1, this.o3c_1, this);
|
|
1354
1349
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1355
1350
|
return suspendResult;
|
|
1356
1351
|
}
|
|
@@ -1359,18 +1354,18 @@
|
|
|
1359
1354
|
case 1:
|
|
1360
1355
|
if (suspendResult) {
|
|
1361
1356
|
var tmp_0 = this;
|
|
1362
|
-
tmp_0.
|
|
1357
|
+
tmp_0.p3c_1 = fromInt(this.o3c_1.l1());
|
|
1363
1358
|
this.d9_1 = 2;
|
|
1364
1359
|
continue $sm;
|
|
1365
1360
|
} else {
|
|
1366
1361
|
var tmp_1 = this;
|
|
1367
|
-
tmp_1.
|
|
1362
|
+
tmp_1.p3c_1 = 0n;
|
|
1368
1363
|
this.d9_1 = 2;
|
|
1369
1364
|
continue $sm;
|
|
1370
1365
|
}
|
|
1371
1366
|
|
|
1372
1367
|
case 2:
|
|
1373
|
-
return this.
|
|
1368
|
+
return this.p3c_1;
|
|
1374
1369
|
case 3:
|
|
1375
1370
|
throw this.g9_1;
|
|
1376
1371
|
}
|
|
@@ -1458,16 +1453,16 @@
|
|
|
1458
1453
|
return new Char(charSequenceGet(s, idx));
|
|
1459
1454
|
}
|
|
1460
1455
|
function Node(ch, exact, children) {
|
|
1461
|
-
this.
|
|
1462
|
-
this.
|
|
1463
|
-
this.
|
|
1456
|
+
this.z3d_1 = ch;
|
|
1457
|
+
this.a3e_1 = exact;
|
|
1458
|
+
this.b3e_1 = children;
|
|
1464
1459
|
var tmp = this;
|
|
1465
1460
|
var tmp_0 = 0;
|
|
1466
1461
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1467
1462
|
var tmp_1 = Array(256);
|
|
1468
1463
|
while (tmp_0 < 256) {
|
|
1469
1464
|
var tmp_2 = tmp_0;
|
|
1470
|
-
var tmp0 = this.
|
|
1465
|
+
var tmp0 = this.b3e_1;
|
|
1471
1466
|
var tmp$ret$2;
|
|
1472
1467
|
$l$block_0: {
|
|
1473
1468
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1477,7 +1472,7 @@
|
|
|
1477
1472
|
while (_iterator__ex2g4s.u()) {
|
|
1478
1473
|
var element = _iterator__ex2g4s.v();
|
|
1479
1474
|
// Inline function 'kotlin.code' call
|
|
1480
|
-
var this_0 = element.
|
|
1475
|
+
var this_0 = element.z3d_1;
|
|
1481
1476
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1482
1477
|
if (found) {
|
|
1483
1478
|
tmp$ret$2 = null;
|
|
@@ -1496,15 +1491,15 @@
|
|
|
1496
1491
|
tmp_1[tmp_2] = tmp$ret$2;
|
|
1497
1492
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1498
1493
|
}
|
|
1499
|
-
tmp.
|
|
1494
|
+
tmp.c3e_1 = tmp_1;
|
|
1500
1495
|
}
|
|
1501
1496
|
function Companion() {
|
|
1502
1497
|
}
|
|
1503
|
-
protoOf(Companion).
|
|
1498
|
+
protoOf(Companion).a3b = function (from) {
|
|
1504
1499
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1505
|
-
return this.
|
|
1500
|
+
return this.d3e(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1506
1501
|
};
|
|
1507
|
-
protoOf(Companion).
|
|
1502
|
+
protoOf(Companion).d3e = function (from, length, charAt) {
|
|
1508
1503
|
var tmp$ret$0;
|
|
1509
1504
|
$l$block_0: {
|
|
1510
1505
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1581,10 +1576,10 @@
|
|
|
1581
1576
|
return Companion_instance;
|
|
1582
1577
|
}
|
|
1583
1578
|
function AsciiCharTree(root) {
|
|
1584
|
-
this.
|
|
1579
|
+
this.e3e_1 = root;
|
|
1585
1580
|
}
|
|
1586
1581
|
function getImpl($this, index) {
|
|
1587
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1582
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.g39_1).length | 0];
|
|
1588
1583
|
}
|
|
1589
1584
|
function copy($this, startIndex, endIndex) {
|
|
1590
1585
|
if (startIndex === endIndex)
|
|
@@ -1613,27 +1608,27 @@
|
|
|
1613
1608
|
return builder;
|
|
1614
1609
|
}
|
|
1615
1610
|
function SubSequenceImpl($outer, start, end) {
|
|
1616
|
-
this.
|
|
1617
|
-
this.
|
|
1618
|
-
this.
|
|
1619
|
-
this.
|
|
1611
|
+
this.i3e_1 = $outer;
|
|
1612
|
+
this.f3e_1 = start;
|
|
1613
|
+
this.g3e_1 = end;
|
|
1614
|
+
this.h3e_1 = null;
|
|
1620
1615
|
}
|
|
1621
1616
|
protoOf(SubSequenceImpl).a = function () {
|
|
1622
|
-
return this.
|
|
1617
|
+
return this.g3e_1 - this.f3e_1 | 0;
|
|
1623
1618
|
};
|
|
1624
1619
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1625
|
-
var withOffset = index + this.
|
|
1620
|
+
var withOffset = index + this.f3e_1 | 0;
|
|
1626
1621
|
// Inline function 'kotlin.require' call
|
|
1627
1622
|
if (!(index >= 0)) {
|
|
1628
1623
|
var message = 'index is negative: ' + index;
|
|
1629
1624
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1630
1625
|
}
|
|
1631
1626
|
// Inline function 'kotlin.require' call
|
|
1632
|
-
if (!(withOffset < this.
|
|
1627
|
+
if (!(withOffset < this.g3e_1)) {
|
|
1633
1628
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1634
1629
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1635
1630
|
}
|
|
1636
|
-
return getImpl(this.
|
|
1631
|
+
return getImpl(this.i3e_1, withOffset);
|
|
1637
1632
|
};
|
|
1638
1633
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1639
1634
|
// Inline function 'kotlin.require' call
|
|
@@ -1647,21 +1642,21 @@
|
|
|
1647
1642
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1648
1643
|
}
|
|
1649
1644
|
// Inline function 'kotlin.require' call
|
|
1650
|
-
if (!(endIndex <= (this.
|
|
1645
|
+
if (!(endIndex <= (this.g3e_1 - this.f3e_1 | 0))) {
|
|
1651
1646
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1652
1647
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1653
1648
|
}
|
|
1654
1649
|
if (startIndex === endIndex)
|
|
1655
1650
|
return '';
|
|
1656
|
-
return new SubSequenceImpl(this.
|
|
1651
|
+
return new SubSequenceImpl(this.i3e_1, this.f3e_1 + startIndex | 0, this.f3e_1 + endIndex | 0);
|
|
1657
1652
|
};
|
|
1658
1653
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1659
|
-
var tmp0_elvis_lhs = this.
|
|
1654
|
+
var tmp0_elvis_lhs = this.h3e_1;
|
|
1660
1655
|
var tmp;
|
|
1661
1656
|
if (tmp0_elvis_lhs == null) {
|
|
1662
1657
|
// Inline function 'kotlin.also' call
|
|
1663
|
-
var this_0 = toString(copy(this.
|
|
1664
|
-
this.
|
|
1658
|
+
var this_0 = toString(copy(this.i3e_1, this.f3e_1, this.g3e_1));
|
|
1659
|
+
this.h3e_1 = this_0;
|
|
1665
1660
|
tmp = this_0;
|
|
1666
1661
|
} else {
|
|
1667
1662
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1673,20 +1668,20 @@
|
|
|
1673
1668
|
return false;
|
|
1674
1669
|
if (!(charSequenceLength(other) === this.a()))
|
|
1675
1670
|
return false;
|
|
1676
|
-
return rangeEqualsImpl(this.
|
|
1671
|
+
return rangeEqualsImpl(this.i3e_1, this.f3e_1, other, 0, this.a());
|
|
1677
1672
|
};
|
|
1678
1673
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1679
|
-
var tmp0_safe_receiver = this.
|
|
1674
|
+
var tmp0_safe_receiver = this.h3e_1;
|
|
1680
1675
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1681
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1676
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.i3e_1, this.f3e_1, this.g3e_1) : tmp1_elvis_lhs;
|
|
1682
1677
|
};
|
|
1683
1678
|
function bufferForIndex($this, index) {
|
|
1684
|
-
var list = $this.
|
|
1679
|
+
var list = $this.f39_1;
|
|
1685
1680
|
if (list == null) {
|
|
1686
1681
|
if (index >= 2048) {
|
|
1687
1682
|
throwSingleBuffer($this, index);
|
|
1688
1683
|
}
|
|
1689
|
-
var tmp0_elvis_lhs = $this.
|
|
1684
|
+
var tmp0_elvis_lhs = $this.g39_1;
|
|
1690
1685
|
var tmp;
|
|
1691
1686
|
if (tmp0_elvis_lhs == null) {
|
|
1692
1687
|
throwSingleBuffer($this, index);
|
|
@@ -1695,29 +1690,29 @@
|
|
|
1695
1690
|
}
|
|
1696
1691
|
return tmp;
|
|
1697
1692
|
}
|
|
1698
|
-
return list.m1(index / ensureNotNull($this.
|
|
1693
|
+
return list.m1(index / ensureNotNull($this.g39_1).length | 0);
|
|
1699
1694
|
}
|
|
1700
1695
|
function throwSingleBuffer($this, index) {
|
|
1701
|
-
if ($this.
|
|
1696
|
+
if ($this.i39_1)
|
|
1702
1697
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1703
1698
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1704
1699
|
}
|
|
1705
1700
|
function nonFullBuffer($this) {
|
|
1706
|
-
return $this.
|
|
1701
|
+
return $this.j39_1 === 0 ? appendNewArray($this) : ensureNotNull($this.g39_1);
|
|
1707
1702
|
}
|
|
1708
1703
|
function appendNewArray($this) {
|
|
1709
|
-
var newBuffer = $this.
|
|
1710
|
-
var existing = $this.
|
|
1711
|
-
$this.
|
|
1712
|
-
$this.
|
|
1713
|
-
$this.
|
|
1704
|
+
var newBuffer = $this.e39_1.r1z();
|
|
1705
|
+
var existing = $this.g39_1;
|
|
1706
|
+
$this.g39_1 = newBuffer;
|
|
1707
|
+
$this.j39_1 = newBuffer.length;
|
|
1708
|
+
$this.i39_1 = false;
|
|
1714
1709
|
if (!(existing == null)) {
|
|
1715
|
-
var tmp0_elvis_lhs = $this.
|
|
1710
|
+
var tmp0_elvis_lhs = $this.f39_1;
|
|
1716
1711
|
var tmp;
|
|
1717
1712
|
if (tmp0_elvis_lhs == null) {
|
|
1718
1713
|
// Inline function 'kotlin.also' call
|
|
1719
1714
|
var this_0 = ArrayList_init_$Create$();
|
|
1720
|
-
$this.
|
|
1715
|
+
$this.f39_1 = this_0;
|
|
1721
1716
|
this_0.j1(existing);
|
|
1722
1717
|
tmp = this_0;
|
|
1723
1718
|
} else {
|
|
@@ -1756,20 +1751,20 @@
|
|
|
1756
1751
|
return hc;
|
|
1757
1752
|
}
|
|
1758
1753
|
function currentPosition($this) {
|
|
1759
|
-
return ensureNotNull($this.
|
|
1754
|
+
return ensureNotNull($this.g39_1).length - $this.j39_1 | 0;
|
|
1760
1755
|
}
|
|
1761
1756
|
function CharArrayBuilder(pool) {
|
|
1762
1757
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1765
|
-
this.
|
|
1766
|
-
this.
|
|
1767
|
-
this.
|
|
1768
|
-
this.
|
|
1769
|
-
this.
|
|
1758
|
+
this.e39_1 = pool;
|
|
1759
|
+
this.f39_1 = null;
|
|
1760
|
+
this.g39_1 = null;
|
|
1761
|
+
this.h39_1 = null;
|
|
1762
|
+
this.i39_1 = false;
|
|
1763
|
+
this.j39_1 = 0;
|
|
1764
|
+
this.k39_1 = 0;
|
|
1770
1765
|
}
|
|
1771
1766
|
protoOf(CharArrayBuilder).a = function () {
|
|
1772
|
-
return this.
|
|
1767
|
+
return this.k39_1;
|
|
1773
1768
|
};
|
|
1774
1769
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1775
1770
|
// Inline function 'kotlin.require' call
|
|
@@ -1778,8 +1773,8 @@
|
|
|
1778
1773
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1779
1774
|
}
|
|
1780
1775
|
// Inline function 'kotlin.require' call
|
|
1781
|
-
if (!(index < this.
|
|
1782
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1776
|
+
if (!(index < this.k39_1)) {
|
|
1777
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.k39_1 + ')';
|
|
1783
1778
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1784
1779
|
}
|
|
1785
1780
|
return getImpl(this, index);
|
|
@@ -1796,19 +1791,19 @@
|
|
|
1796
1791
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1797
1792
|
}
|
|
1798
1793
|
// Inline function 'kotlin.require' call
|
|
1799
|
-
if (!(endIndex <= this.
|
|
1800
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1794
|
+
if (!(endIndex <= this.k39_1)) {
|
|
1795
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.k39_1 + ')';
|
|
1801
1796
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1802
1797
|
}
|
|
1803
1798
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1804
1799
|
};
|
|
1805
1800
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1806
|
-
var tmp0_elvis_lhs = this.
|
|
1801
|
+
var tmp0_elvis_lhs = this.h39_1;
|
|
1807
1802
|
var tmp;
|
|
1808
1803
|
if (tmp0_elvis_lhs == null) {
|
|
1809
1804
|
// Inline function 'kotlin.also' call
|
|
1810
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1811
|
-
this.
|
|
1805
|
+
var this_0 = toString(copy(this, 0, this.k39_1));
|
|
1806
|
+
this.h39_1 = this_0;
|
|
1812
1807
|
tmp = this_0;
|
|
1813
1808
|
} else {
|
|
1814
1809
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1818,32 +1813,32 @@
|
|
|
1818
1813
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1819
1814
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1820
1815
|
return false;
|
|
1821
|
-
if (!(this.
|
|
1816
|
+
if (!(this.k39_1 === charSequenceLength(other)))
|
|
1822
1817
|
return false;
|
|
1823
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1818
|
+
return rangeEqualsImpl(this, 0, other, 0, this.k39_1);
|
|
1824
1819
|
};
|
|
1825
1820
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1826
|
-
var tmp0_safe_receiver = this.
|
|
1821
|
+
var tmp0_safe_receiver = this.h39_1;
|
|
1827
1822
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1828
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1823
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.k39_1) : tmp1_elvis_lhs;
|
|
1829
1824
|
};
|
|
1830
1825
|
protoOf(CharArrayBuilder).s = function (value) {
|
|
1831
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1832
|
-
this.
|
|
1833
|
-
this.
|
|
1834
|
-
this.
|
|
1826
|
+
nonFullBuffer(this)[ensureNotNull(this.g39_1).length - this.j39_1 | 0] = value;
|
|
1827
|
+
this.h39_1 = null;
|
|
1828
|
+
this.j39_1 = this.j39_1 - 1 | 0;
|
|
1829
|
+
this.k39_1 = this.k39_1 + 1 | 0;
|
|
1835
1830
|
return this;
|
|
1836
1831
|
};
|
|
1837
|
-
protoOf(CharArrayBuilder).
|
|
1832
|
+
protoOf(CharArrayBuilder).rc = function (value, startIndex, endIndex) {
|
|
1838
1833
|
if (value == null)
|
|
1839
1834
|
return this;
|
|
1840
1835
|
var current = startIndex;
|
|
1841
1836
|
while (current < endIndex) {
|
|
1842
1837
|
var buffer = nonFullBuffer(this);
|
|
1843
|
-
var offset = buffer.length - this.
|
|
1838
|
+
var offset = buffer.length - this.j39_1 | 0;
|
|
1844
1839
|
var tmp0 = endIndex - current | 0;
|
|
1845
1840
|
// Inline function 'kotlin.math.min' call
|
|
1846
|
-
var b = this.
|
|
1841
|
+
var b = this.j39_1;
|
|
1847
1842
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1848
1843
|
var inductionVariable = 0;
|
|
1849
1844
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1854,45 +1849,45 @@
|
|
|
1854
1849
|
}
|
|
1855
1850
|
while (inductionVariable < bytesToCopy);
|
|
1856
1851
|
current = current + bytesToCopy | 0;
|
|
1857
|
-
this.
|
|
1852
|
+
this.j39_1 = this.j39_1 - bytesToCopy | 0;
|
|
1858
1853
|
}
|
|
1859
|
-
this.
|
|
1860
|
-
this.
|
|
1854
|
+
this.h39_1 = null;
|
|
1855
|
+
this.k39_1 = this.k39_1 + (endIndex - startIndex | 0) | 0;
|
|
1861
1856
|
return this;
|
|
1862
1857
|
};
|
|
1863
1858
|
protoOf(CharArrayBuilder).k1 = function (value) {
|
|
1864
1859
|
if (value == null)
|
|
1865
1860
|
return this;
|
|
1866
|
-
return this.
|
|
1861
|
+
return this.rc(value, 0, charSequenceLength(value));
|
|
1867
1862
|
};
|
|
1868
|
-
protoOf(CharArrayBuilder).
|
|
1869
|
-
var list = this.
|
|
1863
|
+
protoOf(CharArrayBuilder).h1k = function () {
|
|
1864
|
+
var list = this.f39_1;
|
|
1870
1865
|
if (!(list == null)) {
|
|
1871
|
-
this.
|
|
1866
|
+
this.g39_1 = null;
|
|
1872
1867
|
var inductionVariable = 0;
|
|
1873
1868
|
var last = list.l1();
|
|
1874
1869
|
if (inductionVariable < last)
|
|
1875
1870
|
do {
|
|
1876
1871
|
var i = inductionVariable;
|
|
1877
1872
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1878
|
-
this.
|
|
1873
|
+
this.e39_1.s1z(list.m1(i));
|
|
1879
1874
|
}
|
|
1880
1875
|
while (inductionVariable < last);
|
|
1881
1876
|
} else {
|
|
1882
|
-
var tmp0_safe_receiver = this.
|
|
1877
|
+
var tmp0_safe_receiver = this.g39_1;
|
|
1883
1878
|
if (tmp0_safe_receiver == null)
|
|
1884
1879
|
null;
|
|
1885
1880
|
else {
|
|
1886
1881
|
// Inline function 'kotlin.let' call
|
|
1887
|
-
this.
|
|
1882
|
+
this.e39_1.s1z(tmp0_safe_receiver);
|
|
1888
1883
|
}
|
|
1889
|
-
this.
|
|
1884
|
+
this.g39_1 = null;
|
|
1890
1885
|
}
|
|
1891
|
-
this.
|
|
1892
|
-
this.
|
|
1893
|
-
this.
|
|
1894
|
-
this.
|
|
1895
|
-
this.
|
|
1886
|
+
this.i39_1 = true;
|
|
1887
|
+
this.f39_1 = null;
|
|
1888
|
+
this.h39_1 = null;
|
|
1889
|
+
this.k39_1 = 0;
|
|
1890
|
+
this.j39_1 = 0;
|
|
1896
1891
|
};
|
|
1897
1892
|
function get_CharArrayPool() {
|
|
1898
1893
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1902,13 +1897,13 @@
|
|
|
1902
1897
|
function CharArrayPool$1() {
|
|
1903
1898
|
NoPoolImpl.call(this);
|
|
1904
1899
|
}
|
|
1905
|
-
protoOf(CharArrayPool$1).
|
|
1900
|
+
protoOf(CharArrayPool$1).r1z = function () {
|
|
1906
1901
|
return charArray(2048);
|
|
1907
1902
|
};
|
|
1908
1903
|
function CharArrayPool$2() {
|
|
1909
1904
|
DefaultPool.call(this, 4096);
|
|
1910
1905
|
}
|
|
1911
|
-
protoOf(CharArrayPool$2).
|
|
1906
|
+
protoOf(CharArrayPool$2).k1z = function () {
|
|
1912
1907
|
return charArray(2048);
|
|
1913
1908
|
};
|
|
1914
1909
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2099,20 +2094,20 @@
|
|
|
2099
2094
|
}
|
|
2100
2095
|
function DefaultHttpMethods$lambda(it) {
|
|
2101
2096
|
_init_properties_Chars_kt__d3i39x();
|
|
2102
|
-
return it.
|
|
2097
|
+
return it.h32_1.length;
|
|
2103
2098
|
}
|
|
2104
2099
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2105
2100
|
_init_properties_Chars_kt__d3i39x();
|
|
2106
|
-
return new Char(charCodeAt(m.
|
|
2101
|
+
return new Char(charCodeAt(m.h32_1, idx));
|
|
2107
2102
|
}
|
|
2108
2103
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2109
2104
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2110
2105
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2111
2106
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2112
2107
|
var tmp = Companion_instance;
|
|
2113
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2108
|
+
var tmp_0 = Companion_getInstance_0().g32_1;
|
|
2114
2109
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2115
|
-
DefaultHttpMethods = tmp.
|
|
2110
|
+
DefaultHttpMethods = tmp.d3e(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2116
2111
|
// Inline function 'kotlin.collections.map' call
|
|
2117
2112
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2118
2113
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2213,11 +2208,11 @@
|
|
|
2213
2208
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2214
2209
|
}
|
|
2215
2210
|
function MutableRange(start, end) {
|
|
2216
|
-
this.
|
|
2217
|
-
this.
|
|
2211
|
+
this.y3a_1 = start;
|
|
2212
|
+
this.z3a_1 = end;
|
|
2218
2213
|
}
|
|
2219
2214
|
protoOf(MutableRange).toString = function () {
|
|
2220
|
-
return 'MutableRange(start=' + this.
|
|
2215
|
+
return 'MutableRange(start=' + this.y3a_1 + ', end=' + this.z3a_1 + ')';
|
|
2221
2216
|
};
|
|
2222
2217
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2223
2218
|
var index = start;
|