@doordeck/doordeck-headless-sdk 0.209.0 → 0.210.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kermit-kermit-core.js +60 -60
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/Signum-indispensable-asn1.js +4 -0
- package/kotlin/doordeck-sdk.d.ts +36 -1
- package/kotlin/doordeck-sdk.js +12351 -11885
- package/kotlin/kotlin-kotlin-stdlib.js +483 -465
- package/kotlin/kotlinx-atomicfu.js +8 -8
- package/kotlin/kotlinx-coroutines-core.js +190 -163
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +20 -20
- package/kotlin/kotlinx-io-kotlinx-io-core.js +35 -35
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2084 -1887
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1514 -1514
- package/kotlin/kotlinx-serialization-kotlinx-serialization-properties.js +100 -0
- package/kotlin/ktor-ktor-client-auth.js +273 -273
- package/kotlin/ktor-ktor-client-content-negotiation.js +163 -163
- package/kotlin/ktor-ktor-client-core.js +2156 -2134
- package/kotlin/ktor-ktor-client-logging.js +654 -654
- package/kotlin/ktor-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-http-cio.js +379 -379
- package/kotlin/ktor-ktor-http.js +847 -900
- package/kotlin/ktor-ktor-io.js +109 -162
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +165 -348
- package/kotlin/ktor-ktor-serialization.js +70 -92
- package/kotlin/ktor-ktor-utils.js +920 -919
- package/kotlin/ktor-ktor-websockets.js +398 -398
- package/package.json +1 -1
|
@@ -3,105 +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.$_$.nc;
|
|
7
7
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.n;
|
|
8
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
13
|
-
var abs = kotlin_kotlin.$_$.
|
|
14
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
15
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
16
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
17
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
18
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
19
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
20
|
-
var constructCallableReference = kotlin_kotlin.$_$.
|
|
21
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
22
|
-
var sequence = kotlin_kotlin.$_$.
|
|
23
|
-
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.
|
|
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.$_$.
|
|
8
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s1;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.qb;
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.c3;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.qc;
|
|
12
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s4;
|
|
13
|
+
var abs = kotlin_kotlin.$_$.rc;
|
|
14
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.h4;
|
|
15
|
+
var CoroutineImpl = kotlin_kotlin.$_$.y9;
|
|
16
|
+
var THROW_CCE = kotlin_kotlin.$_$.pg;
|
|
17
|
+
var SequenceScope = kotlin_kotlin.$_$.nd;
|
|
18
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.h9;
|
|
19
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.vb;
|
|
20
|
+
var constructCallableReference = kotlin_kotlin.$_$.gb;
|
|
21
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n3;
|
|
22
|
+
var sequence = kotlin_kotlin.$_$.od;
|
|
23
|
+
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
24
|
+
var fill = kotlin_kotlin.$_$.d7;
|
|
25
|
+
var isIntArray = kotlin_kotlin.$_$.ec;
|
|
26
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.h;
|
|
27
|
+
var endsWith = kotlin_kotlin.$_$.xd;
|
|
28
|
+
var charSequenceLength = kotlin_kotlin.$_$.db;
|
|
29
|
+
var charSequenceGet = kotlin_kotlin.$_$.cb;
|
|
30
|
+
var Char = kotlin_kotlin.$_$.bg;
|
|
31
|
+
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.i;
|
|
32
|
+
var contains = kotlin_kotlin.$_$.sd;
|
|
33
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.eb;
|
|
34
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.n;
|
|
35
|
+
var IllegalStateException = kotlin_kotlin.$_$.kg;
|
|
36
|
+
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.v4;
|
|
37
|
+
var captureStack = kotlin_kotlin.$_$.ya;
|
|
38
38
|
var readLineStrictTo = kotlin_io_ktor_ktor_io.$_$.i;
|
|
39
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
40
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
41
|
-
var setOf = kotlin_kotlin.$_$.
|
|
39
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w4;
|
|
40
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.sb;
|
|
41
|
+
var setOf = kotlin_kotlin.$_$.l8;
|
|
42
42
|
var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.d;
|
|
43
43
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.a;
|
|
44
|
-
var listOf = kotlin_kotlin.$_$.
|
|
44
|
+
var listOf = kotlin_kotlin.$_$.x7;
|
|
45
45
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
|
|
46
46
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.b;
|
|
47
47
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
48
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
49
|
-
var toByte = kotlin_kotlin.$_$.
|
|
50
|
-
var copyOfRange = kotlin_kotlin.$_$.
|
|
51
|
-
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
52
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
48
|
+
var toString_0 = kotlin_kotlin.$_$.lf;
|
|
49
|
+
var toByte = kotlin_kotlin.$_$.oc;
|
|
50
|
+
var copyOfRange = kotlin_kotlin.$_$.l6;
|
|
51
|
+
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
52
|
+
var startsWith = kotlin_kotlin.$_$.te;
|
|
53
53
|
var readUntil = kotlin_io_ktor_ktor_io.$_$.m;
|
|
54
54
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
55
|
-
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
56
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
55
|
+
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
56
|
+
var isInterface = kotlin_kotlin.$_$.fc;
|
|
57
57
|
var counted = kotlin_io_ktor_ktor_io.$_$.t1;
|
|
58
58
|
var writer = kotlin_io_ktor_ktor_io.$_$.y1;
|
|
59
59
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.k;
|
|
60
|
-
var get_remaining = kotlin_io_ktor_ktor_io.$_$.
|
|
60
|
+
var get_remaining = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
61
61
|
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.n;
|
|
62
|
-
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.
|
|
63
|
-
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
64
|
-
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.
|
|
62
|
+
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.k1;
|
|
63
|
+
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m1;
|
|
64
|
+
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.b4;
|
|
65
65
|
var close = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
66
|
-
var subtract = kotlin_kotlin.$_$.
|
|
67
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
66
|
+
var subtract = kotlin_kotlin.$_$.sa;
|
|
67
|
+
var convertToInt = kotlin_kotlin.$_$.ga;
|
|
68
68
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.j;
|
|
69
69
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
70
70
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.e;
|
|
71
|
-
var add = kotlin_kotlin.$_$.
|
|
72
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
73
|
-
var toByteArray = kotlin_io_ktor_ktor_io.$_$.
|
|
71
|
+
var add = kotlin_kotlin.$_$.ea;
|
|
72
|
+
var fromInt = kotlin_kotlin.$_$.ja;
|
|
73
|
+
var toByteArray = kotlin_io_ktor_ktor_io.$_$.e1;
|
|
74
74
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
75
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
76
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
77
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
78
|
-
var Collection = kotlin_kotlin.$_$.
|
|
79
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
80
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
81
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
82
|
-
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
83
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
84
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
85
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
86
|
-
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.
|
|
87
|
-
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.
|
|
88
|
-
var charArray = kotlin_kotlin.$_$.
|
|
89
|
-
var shiftLeft = kotlin_kotlin.$_$.
|
|
90
|
-
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.
|
|
91
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
92
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
75
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w3;
|
|
76
|
+
var compareTo = kotlin_kotlin.$_$.fb;
|
|
77
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.c5;
|
|
78
|
+
var Collection = kotlin_kotlin.$_$.m5;
|
|
79
|
+
var emptyList = kotlin_kotlin.$_$.a7;
|
|
80
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.rb;
|
|
81
|
+
var ensureNotNull = kotlin_kotlin.$_$.hh;
|
|
82
|
+
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.g4;
|
|
83
|
+
var isCharSequence = kotlin_kotlin.$_$.bc;
|
|
84
|
+
var getStringHashCode = kotlin_kotlin.$_$.ob;
|
|
85
|
+
var CharSequence = kotlin_kotlin.$_$.ag;
|
|
86
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.z4;
|
|
87
|
+
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
88
|
+
var charArray = kotlin_kotlin.$_$.ab;
|
|
89
|
+
var shiftLeft = kotlin_kotlin.$_$.qa;
|
|
90
|
+
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.d5;
|
|
91
|
+
var toString_1 = kotlin_kotlin.$_$.o;
|
|
92
|
+
var charCodeAt = kotlin_kotlin.$_$.bb;
|
|
93
93
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
|
|
94
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
95
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
96
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
97
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
98
|
-
var toLongArray = kotlin_kotlin.$_$.
|
|
99
|
-
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.
|
|
100
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
101
|
-
var toByteArray_0 = kotlin_kotlin.$_$.
|
|
94
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.kc;
|
|
95
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
|
|
96
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m3;
|
|
97
|
+
var numberToLong = kotlin_kotlin.$_$.pa;
|
|
98
|
+
var toLongArray = kotlin_kotlin.$_$.v8;
|
|
99
|
+
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.l;
|
|
100
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.k;
|
|
101
|
+
var toByteArray_0 = kotlin_kotlin.$_$.q8;
|
|
102
102
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
103
103
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
104
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
104
|
+
var isWhitespace = kotlin_kotlin.$_$.ge;
|
|
105
105
|
//endregion
|
|
106
106
|
//region block: pre-declaration
|
|
107
107
|
initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
|
|
@@ -133,12 +133,12 @@
|
|
|
133
133
|
//endregion
|
|
134
134
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
135
135
|
formFieldLimit = formFieldLimit === VOID ? 65536n : formFieldLimit;
|
|
136
|
-
this.
|
|
137
|
-
this.
|
|
138
|
-
this.
|
|
136
|
+
this.f39_1 = coroutineContext;
|
|
137
|
+
this.g39_1 = null;
|
|
138
|
+
this.h39_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
139
139
|
}
|
|
140
140
|
protoOf(CIOMultipartDataBase).ut = function () {
|
|
141
|
-
return this.
|
|
141
|
+
return this.f39_1;
|
|
142
142
|
};
|
|
143
143
|
function get_IntArrayPool() {
|
|
144
144
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -151,103 +151,103 @@
|
|
|
151
151
|
}
|
|
152
152
|
var HeadersDataPool;
|
|
153
153
|
function thresholdReached($this) {
|
|
154
|
-
return $this.
|
|
154
|
+
return $this.j39_1 >= $this.k39_1 * 0.75;
|
|
155
155
|
}
|
|
156
156
|
function resize($this) {
|
|
157
|
-
var prevSize = $this.
|
|
158
|
-
var prevData = $this.
|
|
159
|
-
$this.
|
|
160
|
-
$this.
|
|
157
|
+
var prevSize = $this.j39_1;
|
|
158
|
+
var prevData = $this.l39_1;
|
|
159
|
+
$this.j39_1 = 0;
|
|
160
|
+
$this.k39_1 = imul($this.k39_1, 2) | 128;
|
|
161
161
|
var tmp = $this;
|
|
162
162
|
// Inline function 'kotlin.apply' call
|
|
163
163
|
var this_0 = get_HeadersDataPool().r1z();
|
|
164
|
-
this_0.
|
|
165
|
-
tmp.
|
|
166
|
-
var _iterator__ex2g4s = prevData.
|
|
164
|
+
this_0.o39(imul(prevData.n39(), 2) | 1);
|
|
165
|
+
tmp.l39_1 = this_0;
|
|
166
|
+
var _iterator__ex2g4s = prevData.p39().t();
|
|
167
167
|
while (_iterator__ex2g4s.u()) {
|
|
168
168
|
var headerOffset = _iterator__ex2g4s.v();
|
|
169
|
-
$this.
|
|
169
|
+
$this.r39(prevData.q39(headerOffset + 1 | 0), prevData.q39(headerOffset + 2 | 0), prevData.q39(headerOffset + 3 | 0), prevData.q39(headerOffset + 4 | 0));
|
|
170
170
|
}
|
|
171
171
|
get_HeadersDataPool().s1z(prevData);
|
|
172
172
|
// Inline function 'kotlin.require' call
|
|
173
173
|
// Inline function 'kotlin.require' call
|
|
174
|
-
if (!(prevSize === $this.
|
|
174
|
+
if (!(prevSize === $this.j39_1)) {
|
|
175
175
|
var message = 'Failed requirement.';
|
|
176
176
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
function headerHasName($this, name, headerOffset) {
|
|
180
|
-
var nameStartIndex = $this.
|
|
181
|
-
var nameEndIndex = $this.
|
|
182
|
-
return equalsLowerCase($this.
|
|
180
|
+
var nameStartIndex = $this.l39_1.q39(headerOffset + 1 | 0);
|
|
181
|
+
var nameEndIndex = $this.l39_1.q39(headerOffset + 2 | 0);
|
|
182
|
+
return equalsLowerCase($this.i39_1, nameStartIndex, nameEndIndex, name);
|
|
183
183
|
}
|
|
184
184
|
function HttpHeadersMap(builder) {
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
185
|
+
this.i39_1 = builder;
|
|
186
|
+
this.j39_1 = 0;
|
|
187
|
+
this.k39_1 = 0;
|
|
188
|
+
this.l39_1 = get_HeadersDataPool().r1z();
|
|
189
189
|
}
|
|
190
|
-
protoOf(HttpHeadersMap).
|
|
191
|
-
if (this.
|
|
190
|
+
protoOf(HttpHeadersMap).n2p = function (name) {
|
|
191
|
+
if (this.j39_1 === 0)
|
|
192
192
|
return null;
|
|
193
193
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
194
194
|
var this_0 = hashCodeLowerCase(name);
|
|
195
195
|
var hash = abs(this_0);
|
|
196
|
-
var headerIndex = hash % this.
|
|
197
|
-
while (!(this.
|
|
196
|
+
var headerIndex = hash % this.k39_1 | 0;
|
|
197
|
+
while (!(this.l39_1.q39(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
198
198
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
199
|
-
return this.
|
|
199
|
+
return this.s39(imul(headerIndex, 6));
|
|
200
200
|
}
|
|
201
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
201
|
+
headerIndex = (headerIndex + 1 | 0) % this.k39_1 | 0;
|
|
202
202
|
}
|
|
203
203
|
return null;
|
|
204
204
|
};
|
|
205
|
-
protoOf(HttpHeadersMap).
|
|
206
|
-
return this.
|
|
205
|
+
protoOf(HttpHeadersMap).t39 = function () {
|
|
206
|
+
return this.l39_1.p39();
|
|
207
207
|
};
|
|
208
|
-
protoOf(HttpHeadersMap).
|
|
208
|
+
protoOf(HttpHeadersMap).r39 = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
209
209
|
if (thresholdReached(this)) {
|
|
210
210
|
resize(this);
|
|
211
211
|
}
|
|
212
212
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
213
|
-
var this_0 = hashCodeLowerCase(this.
|
|
213
|
+
var this_0 = hashCodeLowerCase(this.i39_1, nameStartIndex, nameEndIndex);
|
|
214
214
|
var hash = abs(this_0);
|
|
215
|
-
var name = this.
|
|
216
|
-
var headerIndex = hash % this.
|
|
215
|
+
var name = this.i39_1.c(nameStartIndex, nameEndIndex);
|
|
216
|
+
var headerIndex = hash % this.k39_1 | 0;
|
|
217
217
|
var sameNameHeaderIndex = -1;
|
|
218
|
-
while (!(this.
|
|
218
|
+
while (!(this.l39_1.q39(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
219
219
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
220
220
|
sameNameHeaderIndex = headerIndex;
|
|
221
221
|
}
|
|
222
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
222
|
+
headerIndex = (headerIndex + 1 | 0) % this.k39_1 | 0;
|
|
223
223
|
}
|
|
224
224
|
var headerOffset = imul(headerIndex, 6);
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
225
|
+
this.l39_1.b3a(headerOffset + 0 | 0, hash);
|
|
226
|
+
this.l39_1.b3a(headerOffset + 1 | 0, nameStartIndex);
|
|
227
|
+
this.l39_1.b3a(headerOffset + 2 | 0, nameEndIndex);
|
|
228
|
+
this.l39_1.b3a(headerOffset + 3 | 0, valueStartIndex);
|
|
229
|
+
this.l39_1.b3a(headerOffset + 4 | 0, valueEndIndex);
|
|
230
|
+
this.l39_1.b3a(headerOffset + 5 | 0, -1);
|
|
231
231
|
if (!(sameNameHeaderIndex === -1)) {
|
|
232
|
-
this.
|
|
232
|
+
this.l39_1.b3a(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
233
233
|
}
|
|
234
|
-
this.
|
|
234
|
+
this.j39_1 = this.j39_1 + 1 | 0;
|
|
235
235
|
};
|
|
236
|
-
protoOf(HttpHeadersMap).
|
|
237
|
-
var nameStartIndex = this.
|
|
238
|
-
var nameEndIndex = this.
|
|
239
|
-
return this.
|
|
236
|
+
protoOf(HttpHeadersMap).c3a = function (headerOffset) {
|
|
237
|
+
var nameStartIndex = this.l39_1.q39(headerOffset + 1 | 0);
|
|
238
|
+
var nameEndIndex = this.l39_1.q39(headerOffset + 2 | 0);
|
|
239
|
+
return this.i39_1.c(nameStartIndex, nameEndIndex);
|
|
240
240
|
};
|
|
241
|
-
protoOf(HttpHeadersMap).
|
|
242
|
-
var valueStartIndex = this.
|
|
243
|
-
var valueEndIndex = this.
|
|
244
|
-
return this.
|
|
241
|
+
protoOf(HttpHeadersMap).s39 = function (headerOffset) {
|
|
242
|
+
var valueStartIndex = this.l39_1.q39(headerOffset + 3 | 0);
|
|
243
|
+
var valueEndIndex = this.l39_1.q39(headerOffset + 4 | 0);
|
|
244
|
+
return this.i39_1.c(valueStartIndex, valueEndIndex);
|
|
245
245
|
};
|
|
246
246
|
protoOf(HttpHeadersMap).h1k = function () {
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
get_HeadersDataPool().s1z(this.
|
|
250
|
-
this.
|
|
247
|
+
this.j39_1 = 0;
|
|
248
|
+
this.k39_1 = 0;
|
|
249
|
+
get_HeadersDataPool().s1z(this.l39_1);
|
|
250
|
+
this.l39_1 = get_HeadersDataPool().r1z();
|
|
251
251
|
};
|
|
252
252
|
protoOf(HttpHeadersMap).toString = function () {
|
|
253
253
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -257,17 +257,17 @@
|
|
|
257
257
|
return this_0.toString();
|
|
258
258
|
};
|
|
259
259
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
260
|
-
this.
|
|
260
|
+
this.l3a_1 = this$0;
|
|
261
261
|
CoroutineImpl.call(this, resultContinuation);
|
|
262
262
|
}
|
|
263
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
264
|
-
var tmp = this.
|
|
263
|
+
protoOf(HeadersData$headersStarts$slambda).r3a = function ($this$sequence, $completion) {
|
|
264
|
+
var tmp = this.s3a($this$sequence, $completion);
|
|
265
265
|
tmp.f9_1 = Unit_instance;
|
|
266
266
|
tmp.g9_1 = null;
|
|
267
267
|
return tmp.l9();
|
|
268
268
|
};
|
|
269
269
|
protoOf(HeadersData$headersStarts$slambda).y9 = function (p1, $completion) {
|
|
270
|
-
return this.
|
|
270
|
+
return this.r3a(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
271
271
|
};
|
|
272
272
|
protoOf(HeadersData$headersStarts$slambda).l9 = function () {
|
|
273
273
|
var suspendResult = this.f9_1;
|
|
@@ -277,29 +277,29 @@
|
|
|
277
277
|
switch (tmp) {
|
|
278
278
|
case 0:
|
|
279
279
|
this.e9_1 = 7;
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
280
|
+
this.n3a_1 = 0;
|
|
281
|
+
this.q3a_1 = this.l3a_1.m39_1.t();
|
|
282
282
|
this.d9_1 = 1;
|
|
283
283
|
continue $sm;
|
|
284
284
|
case 1:
|
|
285
|
-
if (!this.
|
|
285
|
+
if (!this.q3a_1.u()) {
|
|
286
286
|
this.d9_1 = 6;
|
|
287
287
|
continue $sm;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
290
|
+
this.p3a_1 = this.q3a_1.v();
|
|
291
|
+
this.o3a_1 = 0;
|
|
292
292
|
this.d9_1 = 2;
|
|
293
293
|
continue $sm;
|
|
294
294
|
case 2:
|
|
295
|
-
if (!(this.
|
|
295
|
+
if (!(this.o3a_1 < this.p3a_1.length)) {
|
|
296
296
|
this.d9_1 = 5;
|
|
297
297
|
continue $sm;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
-
if (!(this.
|
|
300
|
+
if (!(this.l3a_1.q39(this.n3a_1 + 0 | 0) === -1)) {
|
|
301
301
|
this.d9_1 = 3;
|
|
302
|
-
suspendResult = this.
|
|
302
|
+
suspendResult = this.m3a_1.og(this.n3a_1, this);
|
|
303
303
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
304
304
|
return suspendResult;
|
|
305
305
|
}
|
|
@@ -313,8 +313,8 @@
|
|
|
313
313
|
this.d9_1 = 4;
|
|
314
314
|
continue $sm;
|
|
315
315
|
case 4:
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
316
|
+
this.o3a_1 = this.o3a_1 + 6 | 0;
|
|
317
|
+
this.n3a_1 = this.n3a_1 + 6 | 0;
|
|
318
318
|
this.d9_1 = 2;
|
|
319
319
|
continue $sm;
|
|
320
320
|
case 5:
|
|
@@ -336,62 +336,62 @@
|
|
|
336
336
|
}
|
|
337
337
|
while (true);
|
|
338
338
|
};
|
|
339
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
340
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
341
|
-
i.
|
|
339
|
+
protoOf(HeadersData$headersStarts$slambda).s3a = function ($this$sequence, completion) {
|
|
340
|
+
var i = new HeadersData$headersStarts$slambda(this.l3a_1, completion);
|
|
341
|
+
i.m3a_1 = $this$sequence;
|
|
342
342
|
return i;
|
|
343
343
|
};
|
|
344
344
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
345
345
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
346
346
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
347
|
-
return i.
|
|
347
|
+
return i.r3a($this$sequence, $completion);
|
|
348
348
|
}, 1);
|
|
349
349
|
}
|
|
350
350
|
function HeadersData() {
|
|
351
351
|
var tmp = this;
|
|
352
352
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
353
|
-
tmp.
|
|
353
|
+
tmp.m39_1 = ArrayList_init_$Create$();
|
|
354
354
|
}
|
|
355
|
-
protoOf(HeadersData).
|
|
356
|
-
return this.
|
|
355
|
+
protoOf(HeadersData).n39 = function () {
|
|
356
|
+
return this.m39_1.l1();
|
|
357
357
|
};
|
|
358
|
-
protoOf(HeadersData).
|
|
358
|
+
protoOf(HeadersData).o39 = function (subArraysCount) {
|
|
359
359
|
// Inline function 'kotlin.repeat' call
|
|
360
360
|
var inductionVariable = 0;
|
|
361
361
|
if (inductionVariable < subArraysCount)
|
|
362
362
|
do {
|
|
363
363
|
var index = inductionVariable;
|
|
364
364
|
inductionVariable = inductionVariable + 1 | 0;
|
|
365
|
-
this.
|
|
365
|
+
this.m39_1.j1(get_IntArrayPool().r1z());
|
|
366
366
|
}
|
|
367
367
|
while (inductionVariable < subArraysCount);
|
|
368
368
|
};
|
|
369
|
-
protoOf(HeadersData).
|
|
370
|
-
return this.
|
|
369
|
+
protoOf(HeadersData).q39 = function (index) {
|
|
370
|
+
return this.m39_1.m1(index / 768 | 0)[index % 768 | 0];
|
|
371
371
|
};
|
|
372
|
-
protoOf(HeadersData).
|
|
373
|
-
this.
|
|
372
|
+
protoOf(HeadersData).b3a = function (index, value) {
|
|
373
|
+
this.m39_1.m1(index / 768 | 0)[index % 768 | 0] = value;
|
|
374
374
|
};
|
|
375
|
-
protoOf(HeadersData).
|
|
375
|
+
protoOf(HeadersData).p39 = function () {
|
|
376
376
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
377
377
|
};
|
|
378
378
|
protoOf(HeadersData).h1k = function () {
|
|
379
|
-
var _iterator__ex2g4s = this.
|
|
379
|
+
var _iterator__ex2g4s = this.m39_1.t();
|
|
380
380
|
while (_iterator__ex2g4s.u()) {
|
|
381
381
|
var array = _iterator__ex2g4s.v();
|
|
382
382
|
get_IntArrayPool().s1z(array);
|
|
383
383
|
}
|
|
384
|
-
this.
|
|
384
|
+
this.m39_1.t2();
|
|
385
385
|
};
|
|
386
386
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
387
387
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
388
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
388
|
+
var _iterator__ex2g4s = _this__u8e3s4.t39().t();
|
|
389
389
|
while (_iterator__ex2g4s.u()) {
|
|
390
390
|
var offset = _iterator__ex2g4s.v();
|
|
391
391
|
out.k1(indent);
|
|
392
|
-
out.k1(_this__u8e3s4.
|
|
392
|
+
out.k1(_this__u8e3s4.c3a(offset));
|
|
393
393
|
out.k1(' => ');
|
|
394
|
-
out.k1(_this__u8e3s4.
|
|
394
|
+
out.k1(_this__u8e3s4.s39(offset));
|
|
395
395
|
out.k1('\n');
|
|
396
396
|
}
|
|
397
397
|
}
|
|
@@ -407,12 +407,12 @@
|
|
|
407
407
|
}
|
|
408
408
|
return tmp_0;
|
|
409
409
|
};
|
|
410
|
-
protoOf(IntArrayPool$1).
|
|
410
|
+
protoOf(IntArrayPool$1).w3a = function (instance) {
|
|
411
411
|
fill(instance, -1);
|
|
412
412
|
return protoOf(DefaultPool).p1z.call(this, instance);
|
|
413
413
|
};
|
|
414
414
|
protoOf(IntArrayPool$1).p1z = function (instance) {
|
|
415
|
-
return this.
|
|
415
|
+
return this.w3a(isIntArray(instance) ? instance : THROW_CCE());
|
|
416
416
|
};
|
|
417
417
|
function HeadersDataPool$1() {
|
|
418
418
|
DefaultPool.call(this, 1000);
|
|
@@ -420,12 +420,12 @@
|
|
|
420
420
|
protoOf(HeadersDataPool$1).k1z = function () {
|
|
421
421
|
return new HeadersData();
|
|
422
422
|
};
|
|
423
|
-
protoOf(HeadersDataPool$1).
|
|
423
|
+
protoOf(HeadersDataPool$1).a3b = function (instance) {
|
|
424
424
|
instance.h1k();
|
|
425
425
|
return protoOf(DefaultPool).p1z.call(this, instance);
|
|
426
426
|
};
|
|
427
427
|
protoOf(HeadersDataPool$1).p1z = function (instance) {
|
|
428
|
-
return this.
|
|
428
|
+
return this.a3b(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
429
429
|
};
|
|
430
430
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
431
431
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -451,16 +451,16 @@
|
|
|
451
451
|
}
|
|
452
452
|
function parseHeaderName(text, range) {
|
|
453
453
|
_init_properties_HttpParser_kt__gbdom1();
|
|
454
|
-
var index = range.
|
|
455
|
-
var end = range.
|
|
454
|
+
var index = range.o3b_1;
|
|
455
|
+
var end = range.p3b_1;
|
|
456
456
|
while (index < end) {
|
|
457
457
|
var ch = text.b(index);
|
|
458
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
459
|
-
range.
|
|
458
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.o3b_1)) {
|
|
459
|
+
range.o3b_1 = index + 1 | 0;
|
|
460
460
|
return index;
|
|
461
461
|
}
|
|
462
462
|
if (isDelimiter(ch)) {
|
|
463
|
-
parseHeaderNameFailed(text, index, range.
|
|
463
|
+
parseHeaderNameFailed(text, index, range.o3b_1, ch);
|
|
464
464
|
}
|
|
465
465
|
index = index + 1 | 0;
|
|
466
466
|
}
|
|
@@ -468,12 +468,12 @@
|
|
|
468
468
|
}
|
|
469
469
|
function parseHeaderValue(text, range) {
|
|
470
470
|
_init_properties_HttpParser_kt__gbdom1();
|
|
471
|
-
var start = range.
|
|
472
|
-
var end = range.
|
|
471
|
+
var start = range.o3b_1;
|
|
472
|
+
var end = range.p3b_1;
|
|
473
473
|
var index = start;
|
|
474
474
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
475
475
|
if (index >= end) {
|
|
476
|
-
range.
|
|
476
|
+
range.o3b_1 = end;
|
|
477
477
|
return Unit_instance;
|
|
478
478
|
}
|
|
479
479
|
var valueStart = index;
|
|
@@ -487,8 +487,8 @@
|
|
|
487
487
|
valueLastIndex = index;
|
|
488
488
|
index = index + 1 | 0;
|
|
489
489
|
}
|
|
490
|
-
range.
|
|
491
|
-
range.
|
|
490
|
+
range.o3b_1 = valueStart;
|
|
491
|
+
range.p3b_1 = valueLastIndex + 1 | 0;
|
|
492
492
|
}
|
|
493
493
|
function validateHostHeader(host) {
|
|
494
494
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -529,9 +529,9 @@
|
|
|
529
529
|
}
|
|
530
530
|
function noColonFound(text, range) {
|
|
531
531
|
_init_properties_HttpParser_kt__gbdom1();
|
|
532
|
-
var tmp2 = range.
|
|
532
|
+
var tmp2 = range.o3b_1;
|
|
533
533
|
// Inline function 'kotlin.text.substring' call
|
|
534
|
-
var endIndex = range.
|
|
534
|
+
var endIndex = range.p3b_1;
|
|
535
535
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
536
536
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
537
537
|
}
|
|
@@ -547,9 +547,9 @@
|
|
|
547
547
|
}
|
|
548
548
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
549
549
|
CoroutineImpl.call(this, resultContinuation);
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
552
|
-
this.
|
|
550
|
+
this.j3b_1 = input;
|
|
551
|
+
this.k3b_1 = builder;
|
|
552
|
+
this.l3b_1 = range;
|
|
553
553
|
}
|
|
554
554
|
protoOf($parseHeadersCOROUTINE$).l9 = function () {
|
|
555
555
|
var suspendResult = this.f9_1;
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
switch (tmp) {
|
|
560
560
|
case 0:
|
|
561
561
|
this.e9_1 = 7;
|
|
562
|
-
this.
|
|
562
|
+
this.m3b_1 = new HttpHeadersMap(this.k3b_1);
|
|
563
563
|
this.e9_1 = 6;
|
|
564
564
|
this.d9_1 = 1;
|
|
565
565
|
continue $sm;
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
this.d9_1 = 2;
|
|
573
|
-
suspendResult = readLineStrictTo(this.
|
|
573
|
+
suspendResult = readLineStrictTo(this.j3b_1, this.k3b_1, 8192n, VOID, this);
|
|
574
574
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
575
575
|
return suspendResult;
|
|
576
576
|
}
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
continue $sm;
|
|
579
579
|
case 2:
|
|
580
580
|
if (suspendResult === -1n) {
|
|
581
|
-
this.
|
|
581
|
+
this.m3b_1.h1k();
|
|
582
582
|
return null;
|
|
583
583
|
} else {
|
|
584
584
|
this.d9_1 = 3;
|
|
@@ -586,9 +586,9 @@
|
|
|
586
586
|
}
|
|
587
587
|
|
|
588
588
|
case 3:
|
|
589
|
-
this.
|
|
590
|
-
this.
|
|
591
|
-
if (this.
|
|
589
|
+
this.l3b_1.p3b_1 = this.k3b_1.a3a_1;
|
|
590
|
+
this.n3b_1 = this.l3b_1.p3b_1 - this.l3b_1.o3b_1 | 0;
|
|
591
|
+
if (this.n3b_1 === 0) {
|
|
592
592
|
this.d9_1 = 5;
|
|
593
593
|
continue $sm;
|
|
594
594
|
} else {
|
|
@@ -597,34 +597,34 @@
|
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
case 4:
|
|
600
|
-
if (this.
|
|
600
|
+
if (this.n3b_1 >= 8192) {
|
|
601
601
|
var message = 'Header line length limit exceeded';
|
|
602
602
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
-
var nameStart = this.
|
|
606
|
-
var nameEnd = parseHeaderName(this.
|
|
607
|
-
var headerEnd = this.
|
|
608
|
-
parseHeaderValue(this.
|
|
609
|
-
var valueStart = this.
|
|
610
|
-
var valueEnd = this.
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
605
|
+
var nameStart = this.l3b_1.o3b_1;
|
|
606
|
+
var nameEnd = parseHeaderName(this.k3b_1, this.l3b_1);
|
|
607
|
+
var headerEnd = this.l3b_1.p3b_1;
|
|
608
|
+
parseHeaderValue(this.k3b_1, this.l3b_1);
|
|
609
|
+
var valueStart = this.l3b_1.o3b_1;
|
|
610
|
+
var valueEnd = this.l3b_1.p3b_1;
|
|
611
|
+
this.l3b_1.o3b_1 = headerEnd;
|
|
612
|
+
this.m3b_1.r39(nameStart, nameEnd, valueStart, valueEnd);
|
|
613
613
|
this.d9_1 = 1;
|
|
614
614
|
continue $sm;
|
|
615
615
|
case 5:
|
|
616
|
-
var host = this.
|
|
616
|
+
var host = this.m3b_1.n2p('Host');
|
|
617
617
|
if (!(host == null)) {
|
|
618
618
|
validateHostHeader(host);
|
|
619
619
|
}
|
|
620
620
|
|
|
621
|
-
return this.
|
|
621
|
+
return this.m3b_1;
|
|
622
622
|
case 6:
|
|
623
623
|
this.e9_1 = 7;
|
|
624
624
|
var tmp_0 = this.g9_1;
|
|
625
625
|
if (tmp_0 instanceof Error) {
|
|
626
626
|
var t = this.g9_1;
|
|
627
|
-
this.
|
|
627
|
+
this.m3b_1.h1k();
|
|
628
628
|
throw t;
|
|
629
629
|
} else {
|
|
630
630
|
throw this.g9_1;
|
|
@@ -650,7 +650,7 @@
|
|
|
650
650
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
651
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))]);
|
|
652
652
|
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance().w1y_1, Companion_getInstance().v1y_1);
|
|
653
|
-
versions = Companion_instance.
|
|
653
|
+
versions = Companion_instance.q3b(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
function get_CrLf() {
|
|
@@ -665,23 +665,23 @@
|
|
|
665
665
|
var PrefixString;
|
|
666
666
|
function Preamble(body) {
|
|
667
667
|
MultipartEvent.call(this);
|
|
668
|
-
this.
|
|
668
|
+
this.r3b_1 = body;
|
|
669
669
|
}
|
|
670
670
|
function MultipartPart(headers, body) {
|
|
671
671
|
MultipartEvent.call(this);
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
672
|
+
this.s3b_1 = headers;
|
|
673
|
+
this.t3b_1 = body;
|
|
674
674
|
}
|
|
675
675
|
function Epilogue(body) {
|
|
676
676
|
MultipartEvent.call(this);
|
|
677
|
-
this.
|
|
677
|
+
this.u3b_1 = body;
|
|
678
678
|
}
|
|
679
679
|
function MultipartEvent() {
|
|
680
680
|
}
|
|
681
681
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
682
682
|
maxPartSize = maxPartSize === VOID ? 9223372036854775807n : maxPartSize;
|
|
683
683
|
_init_properties_Multipart_kt__ato98a();
|
|
684
|
-
if (!MultiPart_getInstance().
|
|
684
|
+
if (!MultiPart_getInstance().b2x(contentType)) {
|
|
685
685
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
686
686
|
}
|
|
687
687
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -858,18 +858,18 @@
|
|
|
858
858
|
boundaryBytes[_unary__edvuaz] = value;
|
|
859
859
|
}
|
|
860
860
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
861
|
-
this.
|
|
862
|
-
this.
|
|
861
|
+
this.o3d_1 = $firstBoundary;
|
|
862
|
+
this.p3d_1 = $countedInput;
|
|
863
863
|
CoroutineImpl.call(this, resultContinuation);
|
|
864
864
|
}
|
|
865
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
866
|
-
var tmp = this.
|
|
865
|
+
protoOf(parseMultipart$slambda$slambda).r3d = function ($this$writer, $completion) {
|
|
866
|
+
var tmp = this.s3d($this$writer, $completion);
|
|
867
867
|
tmp.f9_1 = Unit_instance;
|
|
868
868
|
tmp.g9_1 = null;
|
|
869
869
|
return tmp.l9();
|
|
870
870
|
};
|
|
871
871
|
protoOf(parseMultipart$slambda$slambda).y9 = function (p1, $completion) {
|
|
872
|
-
return this.
|
|
872
|
+
return this.r3d(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
873
873
|
};
|
|
874
874
|
protoOf(parseMultipart$slambda$slambda).l9 = function () {
|
|
875
875
|
var suspendResult = this.f9_1;
|
|
@@ -880,7 +880,7 @@
|
|
|
880
880
|
case 0:
|
|
881
881
|
this.e9_1 = 3;
|
|
882
882
|
this.d9_1 = 1;
|
|
883
|
-
suspendResult = parsePreambleImpl(this.
|
|
883
|
+
suspendResult = parsePreambleImpl(this.o3d_1, this.p3d_1, this.q3d_1.y1w_1, 8193n, this);
|
|
884
884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
885
885
|
return suspendResult;
|
|
886
886
|
}
|
|
@@ -888,7 +888,7 @@
|
|
|
888
888
|
continue $sm;
|
|
889
889
|
case 1:
|
|
890
890
|
this.d9_1 = 2;
|
|
891
|
-
suspendResult = this.
|
|
891
|
+
suspendResult = this.q3d_1.y1w_1.e1p(this);
|
|
892
892
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
893
893
|
return suspendResult;
|
|
894
894
|
}
|
|
@@ -910,32 +910,32 @@
|
|
|
910
910
|
}
|
|
911
911
|
while (true);
|
|
912
912
|
};
|
|
913
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
914
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
915
|
-
i.
|
|
913
|
+
protoOf(parseMultipart$slambda$slambda).s3d = function ($this$writer, completion) {
|
|
914
|
+
var i = new parseMultipart$slambda$slambda(this.o3d_1, this.p3d_1, completion);
|
|
915
|
+
i.q3d_1 = $this$writer;
|
|
916
916
|
return i;
|
|
917
917
|
};
|
|
918
918
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
919
919
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
920
920
|
return constructCallableReference(function ($this$writer, $completion) {
|
|
921
|
-
return i.
|
|
921
|
+
return i.r3d($this$writer, $completion);
|
|
922
922
|
}, 1);
|
|
923
923
|
}
|
|
924
924
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
925
|
-
this.
|
|
926
|
-
this.
|
|
927
|
-
this.
|
|
928
|
-
this.
|
|
925
|
+
this.b3e_1 = $input;
|
|
926
|
+
this.c3e_1 = $boundaryPrefixed;
|
|
927
|
+
this.d3e_1 = $maxPartSize;
|
|
928
|
+
this.e3e_1 = $totalLength;
|
|
929
929
|
CoroutineImpl.call(this, resultContinuation);
|
|
930
930
|
}
|
|
931
|
-
protoOf(parseMultipart$slambda).
|
|
932
|
-
var tmp = this.
|
|
931
|
+
protoOf(parseMultipart$slambda).n3e = function ($this$produce, $completion) {
|
|
932
|
+
var tmp = this.o3e($this$produce, $completion);
|
|
933
933
|
tmp.f9_1 = Unit_instance;
|
|
934
934
|
tmp.g9_1 = null;
|
|
935
935
|
return tmp.l9();
|
|
936
936
|
};
|
|
937
937
|
protoOf(parseMultipart$slambda).y9 = function (p1, $completion) {
|
|
938
|
-
return this.
|
|
938
|
+
return this.n3e((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
939
939
|
};
|
|
940
940
|
protoOf(parseMultipart$slambda).l9 = function () {
|
|
941
941
|
var suspendResult = this.f9_1;
|
|
@@ -945,11 +945,11 @@
|
|
|
945
945
|
switch (tmp) {
|
|
946
946
|
case 0:
|
|
947
947
|
this.e9_1 = 25;
|
|
948
|
-
this.
|
|
949
|
-
this.
|
|
950
|
-
this.
|
|
948
|
+
this.g3e_1 = counted(this.b3e_1);
|
|
949
|
+
this.h3e_1 = this.g3e_1.t1y();
|
|
950
|
+
this.l3e_1 = this.c3e_1.bq(get_PrefixString().l1());
|
|
951
951
|
this.d9_1 = 1;
|
|
952
|
-
suspendResult = readRemaining(writer(this.
|
|
952
|
+
suspendResult = readRemaining(writer(this.f3e_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.l3e_1, this.g3e_1, null)).x1q_1, this);
|
|
953
953
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
954
954
|
return suspendResult;
|
|
955
955
|
}
|
|
@@ -959,7 +959,7 @@
|
|
|
959
959
|
var preambleData = suspendResult;
|
|
960
960
|
if (get_remaining(preambleData) > 0n) {
|
|
961
961
|
this.d9_1 = 2;
|
|
962
|
-
suspendResult = this.
|
|
962
|
+
suspendResult = this.f3e_1.w1c(new Preamble(preambleData), this);
|
|
963
963
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
964
964
|
return suspendResult;
|
|
965
965
|
}
|
|
@@ -976,31 +976,31 @@
|
|
|
976
976
|
this.d9_1 = 4;
|
|
977
977
|
continue $sm;
|
|
978
978
|
case 4:
|
|
979
|
-
if (!this.
|
|
979
|
+
if (!this.g3e_1.b1p()) {
|
|
980
980
|
this.d9_1 = 5;
|
|
981
|
-
suspendResult = skipIfFound(this.
|
|
981
|
+
suspendResult = skipIfFound(this.g3e_1, get_PrefixString(), this);
|
|
982
982
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
983
983
|
return suspendResult;
|
|
984
984
|
}
|
|
985
985
|
continue $sm;
|
|
986
986
|
} else {
|
|
987
|
-
this.
|
|
987
|
+
this.m3e_1 = false;
|
|
988
988
|
this.d9_1 = 6;
|
|
989
989
|
continue $sm;
|
|
990
990
|
}
|
|
991
991
|
|
|
992
992
|
case 5:
|
|
993
|
-
this.
|
|
993
|
+
this.m3e_1 = !suspendResult;
|
|
994
994
|
this.d9_1 = 6;
|
|
995
995
|
continue $sm;
|
|
996
996
|
case 6:
|
|
997
|
-
if (!this.
|
|
997
|
+
if (!this.m3e_1) {
|
|
998
998
|
this.d9_1 = 15;
|
|
999
999
|
continue $sm;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
1002
|
this.d9_1 = 7;
|
|
1003
|
-
suspendResult = skipIfFound(this.
|
|
1003
|
+
suspendResult = skipIfFound(this.g3e_1, get_CrLf(), this);
|
|
1004
1004
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1005
1005
|
return suspendResult;
|
|
1006
1006
|
}
|
|
@@ -1008,7 +1008,7 @@
|
|
|
1008
1008
|
continue $sm;
|
|
1009
1009
|
case 7:
|
|
1010
1010
|
this.d9_1 = 8;
|
|
1011
|
-
suspendResult = skipIfFound(this.
|
|
1011
|
+
suspendResult = skipIfFound(this.g3e_1, this.l3e_1, this);
|
|
1012
1012
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1013
1013
|
return suspendResult;
|
|
1014
1014
|
}
|
|
@@ -1024,42 +1024,42 @@
|
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
case 9:
|
|
1027
|
-
this.
|
|
1028
|
-
this.
|
|
1029
|
-
var part = new MultipartPart(this.
|
|
1027
|
+
this.i3e_1 = new ByteChannel();
|
|
1028
|
+
this.k3e_1 = CompletableDeferred();
|
|
1029
|
+
var part = new MultipartPart(this.k3e_1, this.i3e_1);
|
|
1030
1030
|
this.d9_1 = 10;
|
|
1031
|
-
suspendResult = this.
|
|
1031
|
+
suspendResult = this.f3e_1.w1c(part, this);
|
|
1032
1032
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1033
1033
|
return suspendResult;
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
1036
|
continue $sm;
|
|
1037
1037
|
case 10:
|
|
1038
|
-
this.
|
|
1038
|
+
this.j3e_1 = null;
|
|
1039
1039
|
this.e9_1 = 14;
|
|
1040
1040
|
this.d9_1 = 11;
|
|
1041
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1041
|
+
suspendResult = parsePartHeadersImpl(this.g3e_1, this);
|
|
1042
1042
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1043
1043
|
return suspendResult;
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
1046
|
continue $sm;
|
|
1047
1047
|
case 11:
|
|
1048
|
-
this.
|
|
1049
|
-
if (!this.
|
|
1050
|
-
this.
|
|
1048
|
+
this.j3e_1 = suspendResult;
|
|
1049
|
+
if (!this.k3e_1.c12(this.j3e_1)) {
|
|
1050
|
+
this.j3e_1.h1k();
|
|
1051
1051
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
1054
|
this.d9_1 = 12;
|
|
1055
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1055
|
+
suspendResult = parsePartBodyImpl(this.c3e_1, this.g3e_1, this.i3e_1, this.j3e_1, this.d3e_1, this);
|
|
1056
1056
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1057
1057
|
return suspendResult;
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
1060
|
continue $sm;
|
|
1061
1061
|
case 12:
|
|
1062
|
-
this.
|
|
1062
|
+
this.i3e_1.o4();
|
|
1063
1063
|
this.e9_1 = 25;
|
|
1064
1064
|
this.d9_1 = 13;
|
|
1065
1065
|
continue $sm;
|
|
@@ -1072,15 +1072,15 @@
|
|
|
1072
1072
|
var tmp_0 = this.g9_1;
|
|
1073
1073
|
if (tmp_0 instanceof Error) {
|
|
1074
1074
|
var cause = this.g9_1;
|
|
1075
|
-
if (this.
|
|
1076
|
-
var tmp0_safe_receiver = this.
|
|
1075
|
+
if (this.k3e_1.d12(cause)) {
|
|
1076
|
+
var tmp0_safe_receiver = this.j3e_1;
|
|
1077
1077
|
if (tmp0_safe_receiver == null)
|
|
1078
1078
|
null;
|
|
1079
1079
|
else {
|
|
1080
1080
|
tmp0_safe_receiver.h1k();
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
1083
|
-
close(this.
|
|
1083
|
+
close(this.i3e_1, cause);
|
|
1084
1084
|
throw cause;
|
|
1085
1085
|
} else {
|
|
1086
1086
|
throw this.g9_1;
|
|
@@ -1088,7 +1088,7 @@
|
|
|
1088
1088
|
|
|
1089
1089
|
case 15:
|
|
1090
1090
|
this.d9_1 = 16;
|
|
1091
|
-
suspendResult = skipIfFound(this.
|
|
1091
|
+
suspendResult = skipIfFound(this.g3e_1, get_CrLf(), this);
|
|
1092
1092
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1093
1093
|
return suspendResult;
|
|
1094
1094
|
}
|
|
@@ -1096,21 +1096,21 @@
|
|
|
1096
1096
|
continue $sm;
|
|
1097
1097
|
case 16:
|
|
1098
1098
|
this.d9_1 = 17;
|
|
1099
|
-
suspendResult = skipIfFound(this.
|
|
1099
|
+
suspendResult = skipIfFound(this.g3e_1, get_CrLf(), this);
|
|
1100
1100
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1101
1101
|
return suspendResult;
|
|
1102
1102
|
}
|
|
1103
1103
|
|
|
1104
1104
|
continue $sm;
|
|
1105
1105
|
case 17:
|
|
1106
|
-
if (!(this.
|
|
1107
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1108
|
-
var size = subtract(this.
|
|
1106
|
+
if (!(this.e3e_1 == null)) {
|
|
1107
|
+
var consumedExceptEpilogue = subtract(this.g3e_1.t1y(), this.h3e_1);
|
|
1108
|
+
var size = subtract(this.e3e_1, consumedExceptEpilogue);
|
|
1109
1109
|
if (size > 2147483647n)
|
|
1110
1110
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1111
1111
|
if (size > 0n) {
|
|
1112
1112
|
this.d9_1 = 21;
|
|
1113
|
-
suspendResult = readPacket(this.
|
|
1113
|
+
suspendResult = readPacket(this.g3e_1, convertToInt(size), this);
|
|
1114
1114
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1115
1115
|
return suspendResult;
|
|
1116
1116
|
}
|
|
@@ -1121,7 +1121,7 @@
|
|
|
1121
1121
|
}
|
|
1122
1122
|
} else {
|
|
1123
1123
|
this.d9_1 = 18;
|
|
1124
|
-
suspendResult = readRemaining(this.
|
|
1124
|
+
suspendResult = readRemaining(this.g3e_1, this);
|
|
1125
1125
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1126
1126
|
return suspendResult;
|
|
1127
1127
|
}
|
|
@@ -1132,7 +1132,7 @@
|
|
|
1132
1132
|
var epilogueContent = suspendResult;
|
|
1133
1133
|
if (!epilogueContent.jq()) {
|
|
1134
1134
|
this.d9_1 = 19;
|
|
1135
|
-
suspendResult = this.
|
|
1135
|
+
suspendResult = this.f3e_1.w1c(new Epilogue(epilogueContent), this);
|
|
1136
1136
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1137
1137
|
return suspendResult;
|
|
1138
1138
|
}
|
|
@@ -1152,7 +1152,7 @@
|
|
|
1152
1152
|
var ARGUMENT = suspendResult;
|
|
1153
1153
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1154
1154
|
this.d9_1 = 22;
|
|
1155
|
-
suspendResult = this.
|
|
1155
|
+
suspendResult = this.f3e_1.w1c(ARGUMENT_0, this);
|
|
1156
1156
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1157
1157
|
return suspendResult;
|
|
1158
1158
|
}
|
|
@@ -1180,20 +1180,20 @@
|
|
|
1180
1180
|
}
|
|
1181
1181
|
while (true);
|
|
1182
1182
|
};
|
|
1183
|
-
protoOf(parseMultipart$slambda).
|
|
1184
|
-
var i = new parseMultipart$slambda(this.
|
|
1185
|
-
i.
|
|
1183
|
+
protoOf(parseMultipart$slambda).o3e = function ($this$produce, completion) {
|
|
1184
|
+
var i = new parseMultipart$slambda(this.b3e_1, this.c3e_1, this.d3e_1, this.e3e_1, completion);
|
|
1185
|
+
i.f3e_1 = $this$produce;
|
|
1186
1186
|
return i;
|
|
1187
1187
|
};
|
|
1188
1188
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1189
1189
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1190
1190
|
return constructCallableReference(function ($this$produce, $completion) {
|
|
1191
|
-
return i.
|
|
1191
|
+
return i.n3e($this$produce, $completion);
|
|
1192
1192
|
}, 1);
|
|
1193
1193
|
}
|
|
1194
1194
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1195
1195
|
CoroutineImpl.call(this, resultContinuation);
|
|
1196
|
-
this.
|
|
1196
|
+
this.d3c_1 = input;
|
|
1197
1197
|
}
|
|
1198
1198
|
protoOf($parsePartHeadersImplCOROUTINE$).l9 = function () {
|
|
1199
1199
|
var suspendResult = this.f9_1;
|
|
@@ -1203,10 +1203,10 @@
|
|
|
1203
1203
|
switch (tmp) {
|
|
1204
1204
|
case 0:
|
|
1205
1205
|
this.e9_1 = 3;
|
|
1206
|
-
this.
|
|
1206
|
+
this.e3c_1 = new CharArrayBuilder();
|
|
1207
1207
|
this.e9_1 = 2;
|
|
1208
1208
|
this.d9_1 = 1;
|
|
1209
|
-
suspendResult = parseHeaders(this.
|
|
1209
|
+
suspendResult = parseHeaders(this.d3c_1, this.e3c_1, VOID, this);
|
|
1210
1210
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1211
1211
|
return suspendResult;
|
|
1212
1212
|
}
|
|
@@ -1227,7 +1227,7 @@
|
|
|
1227
1227
|
var tmp_1 = this.g9_1;
|
|
1228
1228
|
if (tmp_1 instanceof Error) {
|
|
1229
1229
|
var t = this.g9_1;
|
|
1230
|
-
this.
|
|
1230
|
+
this.e3c_1.h1k();
|
|
1231
1231
|
throw t;
|
|
1232
1232
|
} else {
|
|
1233
1233
|
throw this.g9_1;
|
|
@@ -1249,11 +1249,11 @@
|
|
|
1249
1249
|
};
|
|
1250
1250
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1251
1251
|
CoroutineImpl.call(this, resultContinuation);
|
|
1252
|
-
this.
|
|
1253
|
-
this.
|
|
1254
|
-
this.
|
|
1255
|
-
this.
|
|
1256
|
-
this.
|
|
1252
|
+
this.n3c_1 = boundaryPrefixed;
|
|
1253
|
+
this.o3c_1 = input;
|
|
1254
|
+
this.p3c_1 = output;
|
|
1255
|
+
this.q3c_1 = headers;
|
|
1256
|
+
this.r3c_1 = limit;
|
|
1257
1257
|
}
|
|
1258
1258
|
protoOf($parsePartBodyImplCOROUTINE$).l9 = function () {
|
|
1259
1259
|
var suspendResult = this.f9_1;
|
|
@@ -1263,35 +1263,35 @@
|
|
|
1263
1263
|
switch (tmp) {
|
|
1264
1264
|
case 0:
|
|
1265
1265
|
this.e9_1 = 6;
|
|
1266
|
-
var tmp0_safe_receiver = this.
|
|
1266
|
+
var tmp0_safe_receiver = this.q3c_1.n2p('Content-Length');
|
|
1267
1267
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1268
1268
|
if (contentLength == null) {
|
|
1269
1269
|
this.d9_1 = 3;
|
|
1270
|
-
suspendResult = readUntil(this.
|
|
1270
|
+
suspendResult = readUntil(this.o3c_1, this.n3c_1, this.p3c_1, this.r3c_1, true, this);
|
|
1271
1271
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1272
1272
|
return suspendResult;
|
|
1273
1273
|
}
|
|
1274
1274
|
continue $sm;
|
|
1275
1275
|
} else {
|
|
1276
|
-
var containsUpper = this.
|
|
1276
|
+
var containsUpper = this.r3c_1;
|
|
1277
1277
|
if (0n <= contentLength ? contentLength <= containsUpper : false) {
|
|
1278
1278
|
this.d9_1 = 1;
|
|
1279
|
-
suspendResult = copyTo(this.
|
|
1279
|
+
suspendResult = copyTo(this.o3c_1, this.p3c_1, contentLength, this);
|
|
1280
1280
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1281
1281
|
return suspendResult;
|
|
1282
1282
|
}
|
|
1283
1283
|
continue $sm;
|
|
1284
1284
|
} else {
|
|
1285
1285
|
var tmp_0 = this;
|
|
1286
|
-
throwLimitExceeded(contentLength, this.
|
|
1286
|
+
throwLimitExceeded(contentLength, this.r3c_1);
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
1289
|
|
|
1290
1290
|
break;
|
|
1291
1291
|
case 1:
|
|
1292
|
-
this.
|
|
1292
|
+
this.u3c_1 = suspendResult;
|
|
1293
1293
|
this.d9_1 = 2;
|
|
1294
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1294
|
+
suspendResult = skipIfFoundReadCount(this.o3c_1, this.n3c_1, this);
|
|
1295
1295
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1296
1296
|
return suspendResult;
|
|
1297
1297
|
}
|
|
@@ -1299,24 +1299,24 @@
|
|
|
1299
1299
|
continue $sm;
|
|
1300
1300
|
case 2:
|
|
1301
1301
|
var ARGUMENT = suspendResult;
|
|
1302
|
-
this.
|
|
1302
|
+
this.t3c_1 = add(this.u3c_1, ARGUMENT);
|
|
1303
1303
|
this.d9_1 = 4;
|
|
1304
1304
|
continue $sm;
|
|
1305
1305
|
case 3:
|
|
1306
|
-
this.
|
|
1306
|
+
this.t3c_1 = suspendResult;
|
|
1307
1307
|
this.d9_1 = 4;
|
|
1308
1308
|
continue $sm;
|
|
1309
1309
|
case 4:
|
|
1310
|
-
this.
|
|
1310
|
+
this.s3c_1 = this.t3c_1;
|
|
1311
1311
|
this.d9_1 = 5;
|
|
1312
|
-
suspendResult = this.
|
|
1312
|
+
suspendResult = this.p3c_1.v1o(this);
|
|
1313
1313
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1314
1314
|
return suspendResult;
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
1317
|
continue $sm;
|
|
1318
1318
|
case 5:
|
|
1319
|
-
return this.
|
|
1319
|
+
return this.s3c_1;
|
|
1320
1320
|
case 6:
|
|
1321
1321
|
throw this.g9_1;
|
|
1322
1322
|
}
|
|
@@ -1333,8 +1333,8 @@
|
|
|
1333
1333
|
};
|
|
1334
1334
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1335
1335
|
CoroutineImpl.call(this, resultContinuation);
|
|
1336
|
-
this.
|
|
1337
|
-
this.
|
|
1336
|
+
this.d3d_1 = _this__u8e3s4;
|
|
1337
|
+
this.e3d_1 = prefix;
|
|
1338
1338
|
}
|
|
1339
1339
|
protoOf($skipIfFoundReadCountCOROUTINE$).l9 = function () {
|
|
1340
1340
|
var suspendResult = this.f9_1;
|
|
@@ -1345,7 +1345,7 @@
|
|
|
1345
1345
|
case 0:
|
|
1346
1346
|
this.e9_1 = 3;
|
|
1347
1347
|
this.d9_1 = 1;
|
|
1348
|
-
suspendResult = skipIfFound(this.
|
|
1348
|
+
suspendResult = skipIfFound(this.d3d_1, this.e3d_1, this);
|
|
1349
1349
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1350
1350
|
return suspendResult;
|
|
1351
1351
|
}
|
|
@@ -1354,18 +1354,18 @@
|
|
|
1354
1354
|
case 1:
|
|
1355
1355
|
if (suspendResult) {
|
|
1356
1356
|
var tmp_0 = this;
|
|
1357
|
-
tmp_0.
|
|
1357
|
+
tmp_0.f3d_1 = fromInt(this.e3d_1.l1());
|
|
1358
1358
|
this.d9_1 = 2;
|
|
1359
1359
|
continue $sm;
|
|
1360
1360
|
} else {
|
|
1361
1361
|
var tmp_1 = this;
|
|
1362
|
-
tmp_1.
|
|
1362
|
+
tmp_1.f3d_1 = 0n;
|
|
1363
1363
|
this.d9_1 = 2;
|
|
1364
1364
|
continue $sm;
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
1367
1367
|
case 2:
|
|
1368
|
-
return this.
|
|
1368
|
+
return this.f3d_1;
|
|
1369
1369
|
case 3:
|
|
1370
1370
|
throw this.g9_1;
|
|
1371
1371
|
}
|
|
@@ -1453,16 +1453,16 @@
|
|
|
1453
1453
|
return new Char(charSequenceGet(s, idx));
|
|
1454
1454
|
}
|
|
1455
1455
|
function Node(ch, exact, children) {
|
|
1456
|
-
this.
|
|
1457
|
-
this.
|
|
1458
|
-
this.
|
|
1456
|
+
this.p3e_1 = ch;
|
|
1457
|
+
this.q3e_1 = exact;
|
|
1458
|
+
this.r3e_1 = children;
|
|
1459
1459
|
var tmp = this;
|
|
1460
1460
|
var tmp_0 = 0;
|
|
1461
1461
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1462
1462
|
var tmp_1 = Array(256);
|
|
1463
1463
|
while (tmp_0 < 256) {
|
|
1464
1464
|
var tmp_2 = tmp_0;
|
|
1465
|
-
var tmp0 = this.
|
|
1465
|
+
var tmp0 = this.r3e_1;
|
|
1466
1466
|
var tmp$ret$2;
|
|
1467
1467
|
$l$block_0: {
|
|
1468
1468
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1472,7 +1472,7 @@
|
|
|
1472
1472
|
while (_iterator__ex2g4s.u()) {
|
|
1473
1473
|
var element = _iterator__ex2g4s.v();
|
|
1474
1474
|
// Inline function 'kotlin.code' call
|
|
1475
|
-
var this_0 = element.
|
|
1475
|
+
var this_0 = element.p3e_1;
|
|
1476
1476
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1477
1477
|
if (found) {
|
|
1478
1478
|
tmp$ret$2 = null;
|
|
@@ -1491,15 +1491,15 @@
|
|
|
1491
1491
|
tmp_1[tmp_2] = tmp$ret$2;
|
|
1492
1492
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1493
1493
|
}
|
|
1494
|
-
tmp.
|
|
1494
|
+
tmp.s3e_1 = tmp_1;
|
|
1495
1495
|
}
|
|
1496
1496
|
function Companion() {
|
|
1497
1497
|
}
|
|
1498
|
-
protoOf(Companion).
|
|
1498
|
+
protoOf(Companion).q3b = function (from) {
|
|
1499
1499
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1500
|
-
return this.
|
|
1500
|
+
return this.t3e(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1501
1501
|
};
|
|
1502
|
-
protoOf(Companion).
|
|
1502
|
+
protoOf(Companion).t3e = function (from, length, charAt) {
|
|
1503
1503
|
var tmp$ret$0;
|
|
1504
1504
|
$l$block_0: {
|
|
1505
1505
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1576,10 +1576,10 @@
|
|
|
1576
1576
|
return Companion_instance;
|
|
1577
1577
|
}
|
|
1578
1578
|
function AsciiCharTree(root) {
|
|
1579
|
-
this.
|
|
1579
|
+
this.u3e_1 = root;
|
|
1580
1580
|
}
|
|
1581
1581
|
function getImpl($this, index) {
|
|
1582
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1582
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.w39_1).length | 0];
|
|
1583
1583
|
}
|
|
1584
1584
|
function copy($this, startIndex, endIndex) {
|
|
1585
1585
|
if (startIndex === endIndex)
|
|
@@ -1608,27 +1608,27 @@
|
|
|
1608
1608
|
return builder;
|
|
1609
1609
|
}
|
|
1610
1610
|
function SubSequenceImpl($outer, start, end) {
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1613
|
-
this.
|
|
1614
|
-
this.
|
|
1611
|
+
this.y3e_1 = $outer;
|
|
1612
|
+
this.v3e_1 = start;
|
|
1613
|
+
this.w3e_1 = end;
|
|
1614
|
+
this.x3e_1 = null;
|
|
1615
1615
|
}
|
|
1616
1616
|
protoOf(SubSequenceImpl).a = function () {
|
|
1617
|
-
return this.
|
|
1617
|
+
return this.w3e_1 - this.v3e_1 | 0;
|
|
1618
1618
|
};
|
|
1619
1619
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1620
|
-
var withOffset = index + this.
|
|
1620
|
+
var withOffset = index + this.v3e_1 | 0;
|
|
1621
1621
|
// Inline function 'kotlin.require' call
|
|
1622
1622
|
if (!(index >= 0)) {
|
|
1623
1623
|
var message = 'index is negative: ' + index;
|
|
1624
1624
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1625
1625
|
}
|
|
1626
1626
|
// Inline function 'kotlin.require' call
|
|
1627
|
-
if (!(withOffset < this.
|
|
1627
|
+
if (!(withOffset < this.w3e_1)) {
|
|
1628
1628
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1629
1629
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1630
1630
|
}
|
|
1631
|
-
return getImpl(this.
|
|
1631
|
+
return getImpl(this.y3e_1, withOffset);
|
|
1632
1632
|
};
|
|
1633
1633
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1634
1634
|
// Inline function 'kotlin.require' call
|
|
@@ -1642,21 +1642,21 @@
|
|
|
1642
1642
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1643
1643
|
}
|
|
1644
1644
|
// Inline function 'kotlin.require' call
|
|
1645
|
-
if (!(endIndex <= (this.
|
|
1645
|
+
if (!(endIndex <= (this.w3e_1 - this.v3e_1 | 0))) {
|
|
1646
1646
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1647
1647
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1648
1648
|
}
|
|
1649
1649
|
if (startIndex === endIndex)
|
|
1650
1650
|
return '';
|
|
1651
|
-
return new SubSequenceImpl(this.
|
|
1651
|
+
return new SubSequenceImpl(this.y3e_1, this.v3e_1 + startIndex | 0, this.v3e_1 + endIndex | 0);
|
|
1652
1652
|
};
|
|
1653
1653
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1654
|
-
var tmp0_elvis_lhs = this.
|
|
1654
|
+
var tmp0_elvis_lhs = this.x3e_1;
|
|
1655
1655
|
var tmp;
|
|
1656
1656
|
if (tmp0_elvis_lhs == null) {
|
|
1657
1657
|
// Inline function 'kotlin.also' call
|
|
1658
|
-
var this_0 = toString(copy(this.
|
|
1659
|
-
this.
|
|
1658
|
+
var this_0 = toString(copy(this.y3e_1, this.v3e_1, this.w3e_1));
|
|
1659
|
+
this.x3e_1 = this_0;
|
|
1660
1660
|
tmp = this_0;
|
|
1661
1661
|
} else {
|
|
1662
1662
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1668,20 +1668,20 @@
|
|
|
1668
1668
|
return false;
|
|
1669
1669
|
if (!(charSequenceLength(other) === this.a()))
|
|
1670
1670
|
return false;
|
|
1671
|
-
return rangeEqualsImpl(this.
|
|
1671
|
+
return rangeEqualsImpl(this.y3e_1, this.v3e_1, other, 0, this.a());
|
|
1672
1672
|
};
|
|
1673
1673
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1674
|
-
var tmp0_safe_receiver = this.
|
|
1674
|
+
var tmp0_safe_receiver = this.x3e_1;
|
|
1675
1675
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1676
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1676
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.y3e_1, this.v3e_1, this.w3e_1) : tmp1_elvis_lhs;
|
|
1677
1677
|
};
|
|
1678
1678
|
function bufferForIndex($this, index) {
|
|
1679
|
-
var list = $this.
|
|
1679
|
+
var list = $this.v39_1;
|
|
1680
1680
|
if (list == null) {
|
|
1681
1681
|
if (index >= 2048) {
|
|
1682
1682
|
throwSingleBuffer($this, index);
|
|
1683
1683
|
}
|
|
1684
|
-
var tmp0_elvis_lhs = $this.
|
|
1684
|
+
var tmp0_elvis_lhs = $this.w39_1;
|
|
1685
1685
|
var tmp;
|
|
1686
1686
|
if (tmp0_elvis_lhs == null) {
|
|
1687
1687
|
throwSingleBuffer($this, index);
|
|
@@ -1690,29 +1690,29 @@
|
|
|
1690
1690
|
}
|
|
1691
1691
|
return tmp;
|
|
1692
1692
|
}
|
|
1693
|
-
return list.m1(index / ensureNotNull($this.
|
|
1693
|
+
return list.m1(index / ensureNotNull($this.w39_1).length | 0);
|
|
1694
1694
|
}
|
|
1695
1695
|
function throwSingleBuffer($this, index) {
|
|
1696
|
-
if ($this.
|
|
1696
|
+
if ($this.y39_1)
|
|
1697
1697
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1698
1698
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1699
1699
|
}
|
|
1700
1700
|
function nonFullBuffer($this) {
|
|
1701
|
-
return $this.
|
|
1701
|
+
return $this.z39_1 === 0 ? appendNewArray($this) : ensureNotNull($this.w39_1);
|
|
1702
1702
|
}
|
|
1703
1703
|
function appendNewArray($this) {
|
|
1704
|
-
var newBuffer = $this.
|
|
1705
|
-
var existing = $this.
|
|
1706
|
-
$this.
|
|
1707
|
-
$this.
|
|
1708
|
-
$this.
|
|
1704
|
+
var newBuffer = $this.u39_1.r1z();
|
|
1705
|
+
var existing = $this.w39_1;
|
|
1706
|
+
$this.w39_1 = newBuffer;
|
|
1707
|
+
$this.z39_1 = newBuffer.length;
|
|
1708
|
+
$this.y39_1 = false;
|
|
1709
1709
|
if (!(existing == null)) {
|
|
1710
|
-
var tmp0_elvis_lhs = $this.
|
|
1710
|
+
var tmp0_elvis_lhs = $this.v39_1;
|
|
1711
1711
|
var tmp;
|
|
1712
1712
|
if (tmp0_elvis_lhs == null) {
|
|
1713
1713
|
// Inline function 'kotlin.also' call
|
|
1714
1714
|
var this_0 = ArrayList_init_$Create$();
|
|
1715
|
-
$this.
|
|
1715
|
+
$this.v39_1 = this_0;
|
|
1716
1716
|
this_0.j1(existing);
|
|
1717
1717
|
tmp = this_0;
|
|
1718
1718
|
} else {
|
|
@@ -1751,20 +1751,20 @@
|
|
|
1751
1751
|
return hc;
|
|
1752
1752
|
}
|
|
1753
1753
|
function currentPosition($this) {
|
|
1754
|
-
return ensureNotNull($this.
|
|
1754
|
+
return ensureNotNull($this.w39_1).length - $this.z39_1 | 0;
|
|
1755
1755
|
}
|
|
1756
1756
|
function CharArrayBuilder(pool) {
|
|
1757
1757
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1758
|
-
this.
|
|
1759
|
-
this.
|
|
1760
|
-
this.
|
|
1761
|
-
this.
|
|
1762
|
-
this.
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1758
|
+
this.u39_1 = pool;
|
|
1759
|
+
this.v39_1 = null;
|
|
1760
|
+
this.w39_1 = null;
|
|
1761
|
+
this.x39_1 = null;
|
|
1762
|
+
this.y39_1 = false;
|
|
1763
|
+
this.z39_1 = 0;
|
|
1764
|
+
this.a3a_1 = 0;
|
|
1765
1765
|
}
|
|
1766
1766
|
protoOf(CharArrayBuilder).a = function () {
|
|
1767
|
-
return this.
|
|
1767
|
+
return this.a3a_1;
|
|
1768
1768
|
};
|
|
1769
1769
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1770
1770
|
// Inline function 'kotlin.require' call
|
|
@@ -1773,8 +1773,8 @@
|
|
|
1773
1773
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1774
1774
|
}
|
|
1775
1775
|
// Inline function 'kotlin.require' call
|
|
1776
|
-
if (!(index < this.
|
|
1777
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1776
|
+
if (!(index < this.a3a_1)) {
|
|
1777
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.a3a_1 + ')';
|
|
1778
1778
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1779
1779
|
}
|
|
1780
1780
|
return getImpl(this, index);
|
|
@@ -1791,19 +1791,19 @@
|
|
|
1791
1791
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1792
1792
|
}
|
|
1793
1793
|
// Inline function 'kotlin.require' call
|
|
1794
|
-
if (!(endIndex <= this.
|
|
1795
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1794
|
+
if (!(endIndex <= this.a3a_1)) {
|
|
1795
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.a3a_1 + ')';
|
|
1796
1796
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1797
1797
|
}
|
|
1798
1798
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1799
1799
|
};
|
|
1800
1800
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1801
|
-
var tmp0_elvis_lhs = this.
|
|
1801
|
+
var tmp0_elvis_lhs = this.x39_1;
|
|
1802
1802
|
var tmp;
|
|
1803
1803
|
if (tmp0_elvis_lhs == null) {
|
|
1804
1804
|
// Inline function 'kotlin.also' call
|
|
1805
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1806
|
-
this.
|
|
1805
|
+
var this_0 = toString(copy(this, 0, this.a3a_1));
|
|
1806
|
+
this.x39_1 = this_0;
|
|
1807
1807
|
tmp = this_0;
|
|
1808
1808
|
} else {
|
|
1809
1809
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1813,20 +1813,20 @@
|
|
|
1813
1813
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1814
1814
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1815
1815
|
return false;
|
|
1816
|
-
if (!(this.
|
|
1816
|
+
if (!(this.a3a_1 === charSequenceLength(other)))
|
|
1817
1817
|
return false;
|
|
1818
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1818
|
+
return rangeEqualsImpl(this, 0, other, 0, this.a3a_1);
|
|
1819
1819
|
};
|
|
1820
1820
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1821
|
-
var tmp0_safe_receiver = this.
|
|
1821
|
+
var tmp0_safe_receiver = this.x39_1;
|
|
1822
1822
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1823
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1823
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.a3a_1) : tmp1_elvis_lhs;
|
|
1824
1824
|
};
|
|
1825
1825
|
protoOf(CharArrayBuilder).s = function (value) {
|
|
1826
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1827
|
-
this.
|
|
1828
|
-
this.
|
|
1829
|
-
this.
|
|
1826
|
+
nonFullBuffer(this)[ensureNotNull(this.w39_1).length - this.z39_1 | 0] = value;
|
|
1827
|
+
this.x39_1 = null;
|
|
1828
|
+
this.z39_1 = this.z39_1 - 1 | 0;
|
|
1829
|
+
this.a3a_1 = this.a3a_1 + 1 | 0;
|
|
1830
1830
|
return this;
|
|
1831
1831
|
};
|
|
1832
1832
|
protoOf(CharArrayBuilder).rc = function (value, startIndex, endIndex) {
|
|
@@ -1835,10 +1835,10 @@
|
|
|
1835
1835
|
var current = startIndex;
|
|
1836
1836
|
while (current < endIndex) {
|
|
1837
1837
|
var buffer = nonFullBuffer(this);
|
|
1838
|
-
var offset = buffer.length - this.
|
|
1838
|
+
var offset = buffer.length - this.z39_1 | 0;
|
|
1839
1839
|
var tmp0 = endIndex - current | 0;
|
|
1840
1840
|
// Inline function 'kotlin.math.min' call
|
|
1841
|
-
var b = this.
|
|
1841
|
+
var b = this.z39_1;
|
|
1842
1842
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1843
1843
|
var inductionVariable = 0;
|
|
1844
1844
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1849,10 +1849,10 @@
|
|
|
1849
1849
|
}
|
|
1850
1850
|
while (inductionVariable < bytesToCopy);
|
|
1851
1851
|
current = current + bytesToCopy | 0;
|
|
1852
|
-
this.
|
|
1852
|
+
this.z39_1 = this.z39_1 - bytesToCopy | 0;
|
|
1853
1853
|
}
|
|
1854
|
-
this.
|
|
1855
|
-
this.
|
|
1854
|
+
this.x39_1 = null;
|
|
1855
|
+
this.a3a_1 = this.a3a_1 + (endIndex - startIndex | 0) | 0;
|
|
1856
1856
|
return this;
|
|
1857
1857
|
};
|
|
1858
1858
|
protoOf(CharArrayBuilder).k1 = function (value) {
|
|
@@ -1861,33 +1861,33 @@
|
|
|
1861
1861
|
return this.rc(value, 0, charSequenceLength(value));
|
|
1862
1862
|
};
|
|
1863
1863
|
protoOf(CharArrayBuilder).h1k = function () {
|
|
1864
|
-
var list = this.
|
|
1864
|
+
var list = this.v39_1;
|
|
1865
1865
|
if (!(list == null)) {
|
|
1866
|
-
this.
|
|
1866
|
+
this.w39_1 = null;
|
|
1867
1867
|
var inductionVariable = 0;
|
|
1868
1868
|
var last = list.l1();
|
|
1869
1869
|
if (inductionVariable < last)
|
|
1870
1870
|
do {
|
|
1871
1871
|
var i = inductionVariable;
|
|
1872
1872
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1873
|
-
this.
|
|
1873
|
+
this.u39_1.s1z(list.m1(i));
|
|
1874
1874
|
}
|
|
1875
1875
|
while (inductionVariable < last);
|
|
1876
1876
|
} else {
|
|
1877
|
-
var tmp0_safe_receiver = this.
|
|
1877
|
+
var tmp0_safe_receiver = this.w39_1;
|
|
1878
1878
|
if (tmp0_safe_receiver == null)
|
|
1879
1879
|
null;
|
|
1880
1880
|
else {
|
|
1881
1881
|
// Inline function 'kotlin.let' call
|
|
1882
|
-
this.
|
|
1882
|
+
this.u39_1.s1z(tmp0_safe_receiver);
|
|
1883
1883
|
}
|
|
1884
|
-
this.
|
|
1884
|
+
this.w39_1 = null;
|
|
1885
1885
|
}
|
|
1886
|
-
this.
|
|
1887
|
-
this.
|
|
1888
|
-
this.
|
|
1889
|
-
this.
|
|
1890
|
-
this.
|
|
1886
|
+
this.y39_1 = true;
|
|
1887
|
+
this.v39_1 = null;
|
|
1888
|
+
this.x39_1 = null;
|
|
1889
|
+
this.a3a_1 = 0;
|
|
1890
|
+
this.z39_1 = 0;
|
|
1891
1891
|
};
|
|
1892
1892
|
function get_CharArrayPool() {
|
|
1893
1893
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -2094,20 +2094,20 @@
|
|
|
2094
2094
|
}
|
|
2095
2095
|
function DefaultHttpMethods$lambda(it) {
|
|
2096
2096
|
_init_properties_Chars_kt__d3i39x();
|
|
2097
|
-
return it.
|
|
2097
|
+
return it.x32_1.length;
|
|
2098
2098
|
}
|
|
2099
2099
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2100
2100
|
_init_properties_Chars_kt__d3i39x();
|
|
2101
|
-
return new Char(charCodeAt(m.
|
|
2101
|
+
return new Char(charCodeAt(m.x32_1, idx));
|
|
2102
2102
|
}
|
|
2103
2103
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2104
2104
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2105
2105
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2106
2106
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2107
2107
|
var tmp = Companion_instance;
|
|
2108
|
-
var tmp_0 = Companion_getInstance_0().
|
|
2108
|
+
var tmp_0 = Companion_getInstance_0().w32_1;
|
|
2109
2109
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2110
|
-
DefaultHttpMethods = tmp.
|
|
2110
|
+
DefaultHttpMethods = tmp.t3e(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2111
2111
|
// Inline function 'kotlin.collections.map' call
|
|
2112
2112
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2113
2113
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2208,11 +2208,11 @@
|
|
|
2208
2208
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2209
2209
|
}
|
|
2210
2210
|
function MutableRange(start, end) {
|
|
2211
|
-
this.
|
|
2212
|
-
this.
|
|
2211
|
+
this.o3b_1 = start;
|
|
2212
|
+
this.p3b_1 = end;
|
|
2213
2213
|
}
|
|
2214
2214
|
protoOf(MutableRange).toString = function () {
|
|
2215
|
-
return 'MutableRange(start=' + this.
|
|
2215
|
+
return 'MutableRange(start=' + this.o3b_1 + ', end=' + this.p3b_1 + ')';
|
|
2216
2216
|
};
|
|
2217
2217
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2218
2218
|
var index = start;
|