@solibo/solibo-sdk 1.5.18 → 1.6.1
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/KmLogging-logging.mjs +110 -110
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1545 -1545
- package/KotlinBigInteger-bignum.mjs +1198 -1198
- package/MultiplatformSettings-multiplatform-settings-test.mjs +19 -19
- package/MultiplatformSettings-multiplatform-settings.mjs +17 -17
- package/Stately-stately-concurrency.mjs +5 -5
- package/cryptography-kotlin-cryptography-bigint.mjs +33 -33
- package/cryptography-kotlin-cryptography-core.mjs +49 -49
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +175 -175
- package/cryptography-kotlin-cryptography-random.mjs +26 -26
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +204 -204
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +332 -332
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +16 -16
- package/index.mjs +6 -0
- package/kotlin-kotlin-stdlib.mjs +2141 -2051
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2488 -2461
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
- package/kotlinx-io-kotlinx-io-core.mjs +451 -451
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1832 -1832
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1383 -1383
- package/ktor-ktor-client-auth.mjs +463 -463
- package/ktor-ktor-client-content-negotiation.mjs +184 -184
- package/ktor-ktor-client-core.mjs +4457 -4456
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-encoding.mjs +785 -0
- package/ktor-ktor-client-encoding.mjs.map +1 -0
- package/ktor-ktor-client-logging.mjs +1080 -1080
- package/ktor-ktor-client-mock.mjs +79 -79
- package/ktor-ktor-events.mjs +6 -6
- package/ktor-ktor-http-cio.mjs +480 -480
- package/ktor-ktor-http.mjs +1296 -997
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-io.mjs +1120 -1097
- package/ktor-ktor-io.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +228 -228
- package/ktor-ktor-serialization.mjs +105 -105
- package/ktor-ktor-utils.mjs +1152 -1041
- package/ktor-ktor-utils.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +741 -741
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +77103 -73805
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +318 -3
- package/solibo-sdk-sdk.mjs +6928 -6854
- package/solibo-sdk-sdk.mjs.map +1 -1
package/ktor-ktor-http-cio.mjs
CHANGED
|
@@ -142,12 +142,12 @@ initMetadataForClass(MutableRange, 'MutableRange');
|
|
|
142
142
|
//endregion
|
|
143
143
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
144
144
|
formFieldLimit = formFieldLimit === VOID ? 65536n : formFieldLimit;
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
145
|
+
this.h3z_1 = coroutineContext;
|
|
146
|
+
this.i3z_1 = null;
|
|
147
|
+
this.j3z_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
148
148
|
}
|
|
149
|
-
protoOf(CIOMultipartDataBase).
|
|
150
|
-
return this.
|
|
149
|
+
protoOf(CIOMultipartDataBase).w1v = function () {
|
|
150
|
+
return this.h3z_1;
|
|
151
151
|
};
|
|
152
152
|
function get_IntArrayPool() {
|
|
153
153
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -160,103 +160,103 @@ function get_HeadersDataPool() {
|
|
|
160
160
|
}
|
|
161
161
|
var HeadersDataPool;
|
|
162
162
|
function thresholdReached($this) {
|
|
163
|
-
return $this.
|
|
163
|
+
return $this.l3z_1 >= $this.m3z_1 * 0.75;
|
|
164
164
|
}
|
|
165
165
|
function resize($this) {
|
|
166
|
-
var prevSize = $this.
|
|
167
|
-
var prevData = $this.
|
|
168
|
-
$this.
|
|
169
|
-
$this.
|
|
166
|
+
var prevSize = $this.l3z_1;
|
|
167
|
+
var prevData = $this.n3z_1;
|
|
168
|
+
$this.l3z_1 = 0;
|
|
169
|
+
$this.m3z_1 = imul($this.m3z_1, 2) | 128;
|
|
170
170
|
var tmp = $this;
|
|
171
171
|
// Inline function 'kotlin.apply' call
|
|
172
|
-
var this_0 = get_HeadersDataPool().
|
|
173
|
-
this_0.
|
|
174
|
-
tmp.
|
|
175
|
-
var _iterator__ex2g4s = prevData.
|
|
172
|
+
var this_0 = get_HeadersDataPool().z37();
|
|
173
|
+
this_0.q3z(imul(prevData.p3z(), 2) | 1);
|
|
174
|
+
tmp.n3z_1 = this_0;
|
|
175
|
+
var _iterator__ex2g4s = prevData.r3z().t();
|
|
176
176
|
while (_iterator__ex2g4s.u()) {
|
|
177
177
|
var headerOffset = _iterator__ex2g4s.v();
|
|
178
|
-
$this.
|
|
178
|
+
$this.t3z(prevData.s3z(headerOffset + 1 | 0), prevData.s3z(headerOffset + 2 | 0), prevData.s3z(headerOffset + 3 | 0), prevData.s3z(headerOffset + 4 | 0));
|
|
179
179
|
}
|
|
180
|
-
get_HeadersDataPool().
|
|
180
|
+
get_HeadersDataPool().a38(prevData);
|
|
181
181
|
// Inline function 'kotlin.require' call
|
|
182
182
|
// Inline function 'kotlin.require' call
|
|
183
|
-
if (!(prevSize === $this.
|
|
183
|
+
if (!(prevSize === $this.l3z_1)) {
|
|
184
184
|
var message = 'Failed requirement.';
|
|
185
185
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
function headerHasName($this, name, headerOffset) {
|
|
189
|
-
var nameStartIndex = $this.
|
|
190
|
-
var nameEndIndex = $this.
|
|
191
|
-
return equalsLowerCase($this.
|
|
189
|
+
var nameStartIndex = $this.n3z_1.s3z(headerOffset + 1 | 0);
|
|
190
|
+
var nameEndIndex = $this.n3z_1.s3z(headerOffset + 2 | 0);
|
|
191
|
+
return equalsLowerCase($this.k3z_1, nameStartIndex, nameEndIndex, name);
|
|
192
192
|
}
|
|
193
193
|
function HttpHeadersMap(builder) {
|
|
194
|
-
this.
|
|
195
|
-
this.
|
|
196
|
-
this.
|
|
197
|
-
this.
|
|
194
|
+
this.k3z_1 = builder;
|
|
195
|
+
this.l3z_1 = 0;
|
|
196
|
+
this.m3z_1 = 0;
|
|
197
|
+
this.n3z_1 = get_HeadersDataPool().z37();
|
|
198
198
|
}
|
|
199
|
-
protoOf(HttpHeadersMap).
|
|
200
|
-
if (this.
|
|
199
|
+
protoOf(HttpHeadersMap).ee = function (name) {
|
|
200
|
+
if (this.l3z_1 === 0)
|
|
201
201
|
return null;
|
|
202
202
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
203
203
|
var this_0 = hashCodeLowerCase(name);
|
|
204
204
|
var hash = abs(this_0);
|
|
205
|
-
var headerIndex = hash % this.
|
|
206
|
-
while (!(this.
|
|
205
|
+
var headerIndex = hash % this.m3z_1 | 0;
|
|
206
|
+
while (!(this.n3z_1.s3z(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
207
207
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
208
|
-
return this.
|
|
208
|
+
return this.u3z(imul(headerIndex, 6));
|
|
209
209
|
}
|
|
210
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
210
|
+
headerIndex = (headerIndex + 1 | 0) % this.m3z_1 | 0;
|
|
211
211
|
}
|
|
212
212
|
return null;
|
|
213
213
|
};
|
|
214
|
-
protoOf(HttpHeadersMap).
|
|
215
|
-
return this.
|
|
214
|
+
protoOf(HttpHeadersMap).v3z = function () {
|
|
215
|
+
return this.n3z_1.r3z();
|
|
216
216
|
};
|
|
217
|
-
protoOf(HttpHeadersMap).
|
|
217
|
+
protoOf(HttpHeadersMap).t3z = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
218
218
|
if (thresholdReached(this)) {
|
|
219
219
|
resize(this);
|
|
220
220
|
}
|
|
221
221
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
222
|
-
var this_0 = hashCodeLowerCase(this.
|
|
222
|
+
var this_0 = hashCodeLowerCase(this.k3z_1, nameStartIndex, nameEndIndex);
|
|
223
223
|
var hash = abs(this_0);
|
|
224
|
-
var name = this.
|
|
225
|
-
var headerIndex = hash % this.
|
|
224
|
+
var name = this.k3z_1.c(nameStartIndex, nameEndIndex);
|
|
225
|
+
var headerIndex = hash % this.m3z_1 | 0;
|
|
226
226
|
var sameNameHeaderIndex = -1;
|
|
227
|
-
while (!(this.
|
|
227
|
+
while (!(this.n3z_1.s3z(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
228
228
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
229
229
|
sameNameHeaderIndex = headerIndex;
|
|
230
230
|
}
|
|
231
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
231
|
+
headerIndex = (headerIndex + 1 | 0) % this.m3z_1 | 0;
|
|
232
232
|
}
|
|
233
233
|
var headerOffset = imul(headerIndex, 6);
|
|
234
|
-
this.
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
234
|
+
this.n3z_1.d40(headerOffset + 0 | 0, hash);
|
|
235
|
+
this.n3z_1.d40(headerOffset + 1 | 0, nameStartIndex);
|
|
236
|
+
this.n3z_1.d40(headerOffset + 2 | 0, nameEndIndex);
|
|
237
|
+
this.n3z_1.d40(headerOffset + 3 | 0, valueStartIndex);
|
|
238
|
+
this.n3z_1.d40(headerOffset + 4 | 0, valueEndIndex);
|
|
239
|
+
this.n3z_1.d40(headerOffset + 5 | 0, -1);
|
|
240
240
|
if (!(sameNameHeaderIndex === -1)) {
|
|
241
|
-
this.
|
|
241
|
+
this.n3z_1.d40(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
242
242
|
}
|
|
243
|
-
this.
|
|
243
|
+
this.l3z_1 = this.l3z_1 + 1 | 0;
|
|
244
244
|
};
|
|
245
|
-
protoOf(HttpHeadersMap).
|
|
246
|
-
var nameStartIndex = this.
|
|
247
|
-
var nameEndIndex = this.
|
|
248
|
-
return this.
|
|
245
|
+
protoOf(HttpHeadersMap).e40 = function (headerOffset) {
|
|
246
|
+
var nameStartIndex = this.n3z_1.s3z(headerOffset + 1 | 0);
|
|
247
|
+
var nameEndIndex = this.n3z_1.s3z(headerOffset + 2 | 0);
|
|
248
|
+
return this.k3z_1.c(nameStartIndex, nameEndIndex);
|
|
249
249
|
};
|
|
250
|
-
protoOf(HttpHeadersMap).
|
|
251
|
-
var valueStartIndex = this.
|
|
252
|
-
var valueEndIndex = this.
|
|
253
|
-
return this.
|
|
250
|
+
protoOf(HttpHeadersMap).u3z = function (headerOffset) {
|
|
251
|
+
var valueStartIndex = this.n3z_1.s3z(headerOffset + 3 | 0);
|
|
252
|
+
var valueEndIndex = this.n3z_1.s3z(headerOffset + 4 | 0);
|
|
253
|
+
return this.k3z_1.c(valueStartIndex, valueEndIndex);
|
|
254
254
|
};
|
|
255
|
-
protoOf(HttpHeadersMap).
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
get_HeadersDataPool().
|
|
259
|
-
this.
|
|
255
|
+
protoOf(HttpHeadersMap).s2o = function () {
|
|
256
|
+
this.l3z_1 = 0;
|
|
257
|
+
this.m3z_1 = 0;
|
|
258
|
+
get_HeadersDataPool().a38(this.n3z_1);
|
|
259
|
+
this.n3z_1 = get_HeadersDataPool().z37();
|
|
260
260
|
};
|
|
261
261
|
protoOf(HttpHeadersMap).toString = function () {
|
|
262
262
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -266,94 +266,94 @@ protoOf(HttpHeadersMap).toString = function () {
|
|
|
266
266
|
return this_0.toString();
|
|
267
267
|
};
|
|
268
268
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
269
|
-
this.
|
|
269
|
+
this.n40_1 = this$0;
|
|
270
270
|
CoroutineImpl.call(this, resultContinuation);
|
|
271
271
|
}
|
|
272
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
273
|
-
var tmp = this.
|
|
274
|
-
tmp.
|
|
275
|
-
tmp.
|
|
276
|
-
return tmp.
|
|
272
|
+
protoOf(HeadersData$headersStarts$slambda).t40 = function ($this$sequence, $completion) {
|
|
273
|
+
var tmp = this.u40($this$sequence, $completion);
|
|
274
|
+
tmp.o9_1 = Unit_instance;
|
|
275
|
+
tmp.p9_1 = null;
|
|
276
|
+
return tmp.u9();
|
|
277
277
|
};
|
|
278
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
279
|
-
return this.
|
|
278
|
+
protoOf(HeadersData$headersStarts$slambda).ga = function (p1, $completion) {
|
|
279
|
+
return this.t40(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
280
280
|
};
|
|
281
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
282
|
-
var suspendResult = this.
|
|
281
|
+
protoOf(HeadersData$headersStarts$slambda).u9 = function () {
|
|
282
|
+
var suspendResult = this.o9_1;
|
|
283
283
|
$sm: do
|
|
284
284
|
try {
|
|
285
|
-
var tmp = this.
|
|
285
|
+
var tmp = this.m9_1;
|
|
286
286
|
switch (tmp) {
|
|
287
287
|
case 0:
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
288
|
+
this.n9_1 = 7;
|
|
289
|
+
this.p40_1 = 0;
|
|
290
|
+
this.s40_1 = this.n40_1.o3z_1.t();
|
|
291
|
+
this.m9_1 = 1;
|
|
292
292
|
continue $sm;
|
|
293
293
|
case 1:
|
|
294
|
-
if (!this.
|
|
295
|
-
this.
|
|
294
|
+
if (!this.s40_1.u()) {
|
|
295
|
+
this.m9_1 = 6;
|
|
296
296
|
continue $sm;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
299
|
+
this.r40_1 = this.s40_1.v();
|
|
300
|
+
this.q40_1 = 0;
|
|
301
|
+
this.m9_1 = 2;
|
|
302
302
|
continue $sm;
|
|
303
303
|
case 2:
|
|
304
|
-
if (!(this.
|
|
305
|
-
this.
|
|
304
|
+
if (!(this.q40_1 < this.r40_1.length)) {
|
|
305
|
+
this.m9_1 = 5;
|
|
306
306
|
continue $sm;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
if (!(this.
|
|
310
|
-
this.
|
|
311
|
-
suspendResult = this.
|
|
309
|
+
if (!(this.n40_1.s3z(this.p40_1 + 0 | 0) === -1)) {
|
|
310
|
+
this.m9_1 = 3;
|
|
311
|
+
suspendResult = this.o40_1.kh(this.p40_1, this);
|
|
312
312
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
313
313
|
return suspendResult;
|
|
314
314
|
}
|
|
315
315
|
continue $sm;
|
|
316
316
|
} else {
|
|
317
|
-
this.
|
|
317
|
+
this.m9_1 = 4;
|
|
318
318
|
continue $sm;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
case 3:
|
|
322
|
-
this.
|
|
322
|
+
this.m9_1 = 4;
|
|
323
323
|
continue $sm;
|
|
324
324
|
case 4:
|
|
325
|
-
this.
|
|
326
|
-
this.
|
|
327
|
-
this.
|
|
325
|
+
this.q40_1 = this.q40_1 + 6 | 0;
|
|
326
|
+
this.p40_1 = this.p40_1 + 6 | 0;
|
|
327
|
+
this.m9_1 = 2;
|
|
328
328
|
continue $sm;
|
|
329
329
|
case 5:
|
|
330
|
-
this.
|
|
330
|
+
this.m9_1 = 1;
|
|
331
331
|
continue $sm;
|
|
332
332
|
case 6:
|
|
333
333
|
return Unit_instance;
|
|
334
334
|
case 7:
|
|
335
|
-
throw this.
|
|
335
|
+
throw this.p9_1;
|
|
336
336
|
}
|
|
337
337
|
} catch ($p) {
|
|
338
338
|
var e = $p;
|
|
339
|
-
if (this.
|
|
339
|
+
if (this.n9_1 === 7) {
|
|
340
340
|
throw e;
|
|
341
341
|
} else {
|
|
342
|
-
this.
|
|
343
|
-
this.
|
|
342
|
+
this.m9_1 = this.n9_1;
|
|
343
|
+
this.p9_1 = e;
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
while (true);
|
|
347
347
|
};
|
|
348
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
349
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
350
|
-
i.
|
|
348
|
+
protoOf(HeadersData$headersStarts$slambda).u40 = function ($this$sequence, completion) {
|
|
349
|
+
var i = new HeadersData$headersStarts$slambda(this.n40_1, completion);
|
|
350
|
+
i.o40_1 = $this$sequence;
|
|
351
351
|
return i;
|
|
352
352
|
};
|
|
353
353
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
354
354
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
355
355
|
var l = function ($this$sequence, $completion) {
|
|
356
|
-
return i.
|
|
356
|
+
return i.t40($this$sequence, $completion);
|
|
357
357
|
};
|
|
358
358
|
l.$arity = 1;
|
|
359
359
|
return l;
|
|
@@ -361,55 +361,55 @@ function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
|
361
361
|
function HeadersData() {
|
|
362
362
|
var tmp = this;
|
|
363
363
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
364
|
-
tmp.
|
|
364
|
+
tmp.o3z_1 = ArrayList_init_$Create$();
|
|
365
365
|
}
|
|
366
|
-
protoOf(HeadersData).
|
|
367
|
-
return this.
|
|
366
|
+
protoOf(HeadersData).p3z = function () {
|
|
367
|
+
return this.o3z_1.g1();
|
|
368
368
|
};
|
|
369
|
-
protoOf(HeadersData).
|
|
369
|
+
protoOf(HeadersData).q3z = function (subArraysCount) {
|
|
370
370
|
// Inline function 'kotlin.repeat' call
|
|
371
371
|
var inductionVariable = 0;
|
|
372
372
|
if (inductionVariable < subArraysCount)
|
|
373
373
|
do {
|
|
374
374
|
var index = inductionVariable;
|
|
375
375
|
inductionVariable = inductionVariable + 1 | 0;
|
|
376
|
-
this.
|
|
376
|
+
this.o3z_1.e1(get_IntArrayPool().z37());
|
|
377
377
|
}
|
|
378
378
|
while (inductionVariable < subArraysCount);
|
|
379
379
|
};
|
|
380
|
-
protoOf(HeadersData).
|
|
381
|
-
return this.
|
|
380
|
+
protoOf(HeadersData).s3z = function (index) {
|
|
381
|
+
return this.o3z_1.h1(index / 768 | 0)[index % 768 | 0];
|
|
382
382
|
};
|
|
383
|
-
protoOf(HeadersData).
|
|
384
|
-
this.
|
|
383
|
+
protoOf(HeadersData).d40 = function (index, value) {
|
|
384
|
+
this.o3z_1.h1(index / 768 | 0)[index % 768 | 0] = value;
|
|
385
385
|
};
|
|
386
|
-
protoOf(HeadersData).
|
|
386
|
+
protoOf(HeadersData).r3z = function () {
|
|
387
387
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
388
388
|
};
|
|
389
|
-
protoOf(HeadersData).
|
|
390
|
-
var _iterator__ex2g4s = this.
|
|
389
|
+
protoOf(HeadersData).s2o = function () {
|
|
390
|
+
var _iterator__ex2g4s = this.o3z_1.t();
|
|
391
391
|
while (_iterator__ex2g4s.u()) {
|
|
392
392
|
var array = _iterator__ex2g4s.v();
|
|
393
|
-
get_IntArrayPool().
|
|
393
|
+
get_IntArrayPool().a38(array);
|
|
394
394
|
}
|
|
395
|
-
this.
|
|
395
|
+
this.o3z_1.f3();
|
|
396
396
|
};
|
|
397
397
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
398
398
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
399
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
399
|
+
var _iterator__ex2g4s = _this__u8e3s4.v3z().t();
|
|
400
400
|
while (_iterator__ex2g4s.u()) {
|
|
401
401
|
var offset = _iterator__ex2g4s.v();
|
|
402
402
|
out.f1(indent);
|
|
403
|
-
out.f1(_this__u8e3s4.
|
|
403
|
+
out.f1(_this__u8e3s4.e40(offset));
|
|
404
404
|
out.f1(' => ');
|
|
405
|
-
out.f1(_this__u8e3s4.
|
|
405
|
+
out.f1(_this__u8e3s4.u3z(offset));
|
|
406
406
|
out.f1('\n');
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
function IntArrayPool$1() {
|
|
410
410
|
DefaultPool.call(this, 1000);
|
|
411
411
|
}
|
|
412
|
-
protoOf(IntArrayPool$1).
|
|
412
|
+
protoOf(IntArrayPool$1).s37 = function () {
|
|
413
413
|
var tmp = 0;
|
|
414
414
|
var tmp_0 = new Int32Array(768);
|
|
415
415
|
while (tmp < 768) {
|
|
@@ -418,25 +418,25 @@ protoOf(IntArrayPool$1).n37 = function () {
|
|
|
418
418
|
}
|
|
419
419
|
return tmp_0;
|
|
420
420
|
};
|
|
421
|
-
protoOf(IntArrayPool$1).
|
|
421
|
+
protoOf(IntArrayPool$1).y40 = function (instance) {
|
|
422
422
|
fill(instance, -1);
|
|
423
|
-
return protoOf(DefaultPool).
|
|
423
|
+
return protoOf(DefaultPool).x37.call(this, instance);
|
|
424
424
|
};
|
|
425
|
-
protoOf(IntArrayPool$1).
|
|
426
|
-
return this.
|
|
425
|
+
protoOf(IntArrayPool$1).x37 = function (instance) {
|
|
426
|
+
return this.y40(isIntArray(instance) ? instance : THROW_CCE());
|
|
427
427
|
};
|
|
428
428
|
function HeadersDataPool$1() {
|
|
429
429
|
DefaultPool.call(this, 1000);
|
|
430
430
|
}
|
|
431
|
-
protoOf(HeadersDataPool$1).
|
|
431
|
+
protoOf(HeadersDataPool$1).s37 = function () {
|
|
432
432
|
return new HeadersData();
|
|
433
433
|
};
|
|
434
|
-
protoOf(HeadersDataPool$1).
|
|
435
|
-
instance.
|
|
436
|
-
return protoOf(DefaultPool).
|
|
434
|
+
protoOf(HeadersDataPool$1).c41 = function (instance) {
|
|
435
|
+
instance.s2o();
|
|
436
|
+
return protoOf(DefaultPool).x37.call(this, instance);
|
|
437
437
|
};
|
|
438
|
-
protoOf(HeadersDataPool$1).
|
|
439
|
-
return this.
|
|
438
|
+
protoOf(HeadersDataPool$1).x37 = function (instance) {
|
|
439
|
+
return this.c41(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
440
440
|
};
|
|
441
441
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
442
442
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -456,22 +456,22 @@ var versions;
|
|
|
456
456
|
function parseHeaders(input, builder, range, $completion) {
|
|
457
457
|
range = range === VOID ? new MutableRange(0, 0) : range;
|
|
458
458
|
var tmp = new $parseHeadersCOROUTINE$(input, builder, range, $completion);
|
|
459
|
-
tmp.
|
|
460
|
-
tmp.
|
|
461
|
-
return tmp.
|
|
459
|
+
tmp.o9_1 = Unit_instance;
|
|
460
|
+
tmp.p9_1 = null;
|
|
461
|
+
return tmp.u9();
|
|
462
462
|
}
|
|
463
463
|
function parseHeaderName(text, range) {
|
|
464
464
|
_init_properties_HttpParser_kt__gbdom1();
|
|
465
|
-
var index = range.
|
|
466
|
-
var end = range.
|
|
465
|
+
var index = range.q41_1;
|
|
466
|
+
var end = range.r41_1;
|
|
467
467
|
while (index < end) {
|
|
468
468
|
var ch = text.b(index);
|
|
469
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
470
|
-
range.
|
|
469
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.q41_1)) {
|
|
470
|
+
range.q41_1 = index + 1 | 0;
|
|
471
471
|
return index;
|
|
472
472
|
}
|
|
473
473
|
if (isDelimiter(ch)) {
|
|
474
|
-
parseHeaderNameFailed(text, index, range.
|
|
474
|
+
parseHeaderNameFailed(text, index, range.q41_1, ch);
|
|
475
475
|
}
|
|
476
476
|
index = index + 1 | 0;
|
|
477
477
|
}
|
|
@@ -479,12 +479,12 @@ function parseHeaderName(text, range) {
|
|
|
479
479
|
}
|
|
480
480
|
function parseHeaderValue(text, range) {
|
|
481
481
|
_init_properties_HttpParser_kt__gbdom1();
|
|
482
|
-
var start = range.
|
|
483
|
-
var end = range.
|
|
482
|
+
var start = range.q41_1;
|
|
483
|
+
var end = range.r41_1;
|
|
484
484
|
var index = start;
|
|
485
485
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
486
486
|
if (index >= end) {
|
|
487
|
-
range.
|
|
487
|
+
range.q41_1 = end;
|
|
488
488
|
return Unit_instance;
|
|
489
489
|
}
|
|
490
490
|
var valueStart = index;
|
|
@@ -498,8 +498,8 @@ function parseHeaderValue(text, range) {
|
|
|
498
498
|
valueLastIndex = index;
|
|
499
499
|
index = index + 1 | 0;
|
|
500
500
|
}
|
|
501
|
-
range.
|
|
502
|
-
range.
|
|
501
|
+
range.q41_1 = valueStart;
|
|
502
|
+
range.r41_1 = valueLastIndex + 1 | 0;
|
|
503
503
|
}
|
|
504
504
|
function validateHostHeader(host) {
|
|
505
505
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -540,9 +540,9 @@ function parseHeaderNameFailed(text, index, start, ch) {
|
|
|
540
540
|
}
|
|
541
541
|
function noColonFound(text, range) {
|
|
542
542
|
_init_properties_HttpParser_kt__gbdom1();
|
|
543
|
-
var tmp2 = range.
|
|
543
|
+
var tmp2 = range.q41_1;
|
|
544
544
|
// Inline function 'kotlin.text.substring' call
|
|
545
|
-
var endIndex = range.
|
|
545
|
+
var endIndex = range.r41_1;
|
|
546
546
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
547
547
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
548
548
|
}
|
|
@@ -558,30 +558,30 @@ function ParserException(message) {
|
|
|
558
558
|
}
|
|
559
559
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
560
560
|
CoroutineImpl.call(this, resultContinuation);
|
|
561
|
-
this.
|
|
562
|
-
this.
|
|
563
|
-
this.
|
|
561
|
+
this.l41_1 = input;
|
|
562
|
+
this.m41_1 = builder;
|
|
563
|
+
this.n41_1 = range;
|
|
564
564
|
}
|
|
565
|
-
protoOf($parseHeadersCOROUTINE$).
|
|
566
|
-
var suspendResult = this.
|
|
565
|
+
protoOf($parseHeadersCOROUTINE$).u9 = function () {
|
|
566
|
+
var suspendResult = this.o9_1;
|
|
567
567
|
$sm: do
|
|
568
568
|
try {
|
|
569
|
-
var tmp = this.
|
|
569
|
+
var tmp = this.m9_1;
|
|
570
570
|
switch (tmp) {
|
|
571
571
|
case 0:
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
572
|
+
this.n9_1 = 7;
|
|
573
|
+
this.o41_1 = new HttpHeadersMap(this.m41_1);
|
|
574
|
+
this.n9_1 = 6;
|
|
575
|
+
this.m9_1 = 1;
|
|
576
576
|
continue $sm;
|
|
577
577
|
case 1:
|
|
578
578
|
if (!true) {
|
|
579
|
-
this.
|
|
579
|
+
this.m9_1 = 5;
|
|
580
580
|
continue $sm;
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
-
this.
|
|
584
|
-
suspendResult = readLineStrictTo(this.
|
|
583
|
+
this.m9_1 = 2;
|
|
584
|
+
suspendResult = readLineStrictTo(this.l41_1, this.m41_1, 8192n, VOID, this);
|
|
585
585
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
586
586
|
return suspendResult;
|
|
587
587
|
}
|
|
@@ -589,68 +589,68 @@ protoOf($parseHeadersCOROUTINE$).t9 = function () {
|
|
|
589
589
|
continue $sm;
|
|
590
590
|
case 2:
|
|
591
591
|
if (suspendResult === -1n) {
|
|
592
|
-
this.
|
|
592
|
+
this.o41_1.s2o();
|
|
593
593
|
return null;
|
|
594
594
|
} else {
|
|
595
|
-
this.
|
|
595
|
+
this.m9_1 = 3;
|
|
596
596
|
continue $sm;
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
case 3:
|
|
600
|
-
this.
|
|
601
|
-
this.
|
|
602
|
-
if (this.
|
|
603
|
-
this.
|
|
600
|
+
this.n41_1.r41_1 = this.m41_1.c40_1;
|
|
601
|
+
this.p41_1 = this.n41_1.r41_1 - this.n41_1.q41_1 | 0;
|
|
602
|
+
if (this.p41_1 === 0) {
|
|
603
|
+
this.m9_1 = 5;
|
|
604
604
|
continue $sm;
|
|
605
605
|
} else {
|
|
606
|
-
this.
|
|
606
|
+
this.m9_1 = 4;
|
|
607
607
|
continue $sm;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
610
|
case 4:
|
|
611
|
-
if (this.
|
|
611
|
+
if (this.p41_1 >= 8192) {
|
|
612
612
|
var message = 'Header line length limit exceeded';
|
|
613
613
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
614
614
|
}
|
|
615
615
|
|
|
616
|
-
var nameStart = this.
|
|
617
|
-
var nameEnd = parseHeaderName(this.
|
|
618
|
-
var headerEnd = this.
|
|
619
|
-
parseHeaderValue(this.
|
|
620
|
-
var valueStart = this.
|
|
621
|
-
var valueEnd = this.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
624
|
-
this.
|
|
616
|
+
var nameStart = this.n41_1.q41_1;
|
|
617
|
+
var nameEnd = parseHeaderName(this.m41_1, this.n41_1);
|
|
618
|
+
var headerEnd = this.n41_1.r41_1;
|
|
619
|
+
parseHeaderValue(this.m41_1, this.n41_1);
|
|
620
|
+
var valueStart = this.n41_1.q41_1;
|
|
621
|
+
var valueEnd = this.n41_1.r41_1;
|
|
622
|
+
this.n41_1.q41_1 = headerEnd;
|
|
623
|
+
this.o41_1.t3z(nameStart, nameEnd, valueStart, valueEnd);
|
|
624
|
+
this.m9_1 = 1;
|
|
625
625
|
continue $sm;
|
|
626
626
|
case 5:
|
|
627
|
-
var host = this.
|
|
627
|
+
var host = this.o41_1.ee('Host');
|
|
628
628
|
if (!(host == null)) {
|
|
629
629
|
validateHostHeader(host);
|
|
630
630
|
}
|
|
631
631
|
|
|
632
|
-
return this.
|
|
632
|
+
return this.o41_1;
|
|
633
633
|
case 6:
|
|
634
|
-
this.
|
|
635
|
-
var tmp_0 = this.
|
|
634
|
+
this.n9_1 = 7;
|
|
635
|
+
var tmp_0 = this.p9_1;
|
|
636
636
|
if (tmp_0 instanceof Error) {
|
|
637
|
-
var t = this.
|
|
638
|
-
this.
|
|
637
|
+
var t = this.p9_1;
|
|
638
|
+
this.o41_1.s2o();
|
|
639
639
|
throw t;
|
|
640
640
|
} else {
|
|
641
|
-
throw this.
|
|
641
|
+
throw this.p9_1;
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
case 7:
|
|
645
|
-
throw this.
|
|
645
|
+
throw this.p9_1;
|
|
646
646
|
}
|
|
647
647
|
} catch ($p) {
|
|
648
648
|
var e = $p;
|
|
649
|
-
if (this.
|
|
649
|
+
if (this.n9_1 === 7) {
|
|
650
650
|
throw e;
|
|
651
651
|
} else {
|
|
652
|
-
this.
|
|
653
|
-
this.
|
|
652
|
+
this.m9_1 = this.n9_1;
|
|
653
|
+
this.p9_1 = e;
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
while (true);
|
|
@@ -660,8 +660,8 @@ function _init_properties_HttpParser_kt__gbdom1() {
|
|
|
660
660
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
661
661
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
662
662
|
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))]);
|
|
663
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance_0().
|
|
664
|
-
versions = Companion_instance.
|
|
663
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance_0().e37_1, Companion_getInstance_0().d37_1);
|
|
664
|
+
versions = Companion_instance.s41(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
function get_CrLf() {
|
|
@@ -676,23 +676,23 @@ function get_PrefixString() {
|
|
|
676
676
|
var PrefixString;
|
|
677
677
|
function Preamble(body) {
|
|
678
678
|
MultipartEvent.call(this);
|
|
679
|
-
this.
|
|
679
|
+
this.t41_1 = body;
|
|
680
680
|
}
|
|
681
681
|
function MultipartPart(headers, body) {
|
|
682
682
|
MultipartEvent.call(this);
|
|
683
|
-
this.
|
|
684
|
-
this.
|
|
683
|
+
this.u41_1 = headers;
|
|
684
|
+
this.v41_1 = body;
|
|
685
685
|
}
|
|
686
686
|
function Epilogue(body) {
|
|
687
687
|
MultipartEvent.call(this);
|
|
688
|
-
this.
|
|
688
|
+
this.w41_1 = body;
|
|
689
689
|
}
|
|
690
690
|
function MultipartEvent() {
|
|
691
691
|
}
|
|
692
692
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
693
693
|
maxPartSize = maxPartSize === VOID ? 9223372036854775807n : maxPartSize;
|
|
694
694
|
_init_properties_Multipart_kt__ato98a();
|
|
695
|
-
if (!MultiPart_getInstance().
|
|
695
|
+
if (!MultiPart_getInstance().q3k(contentType)) {
|
|
696
696
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
697
697
|
}
|
|
698
698
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -840,21 +840,21 @@ function parsePreambleImpl(boundary, input, output, limit, $completion) {
|
|
|
840
840
|
}
|
|
841
841
|
function parsePartHeadersImpl(input, $completion) {
|
|
842
842
|
var tmp = new $parsePartHeadersImplCOROUTINE$(input, $completion);
|
|
843
|
-
tmp.
|
|
844
|
-
tmp.
|
|
845
|
-
return tmp.
|
|
843
|
+
tmp.o9_1 = Unit_instance;
|
|
844
|
+
tmp.p9_1 = null;
|
|
845
|
+
return tmp.u9();
|
|
846
846
|
}
|
|
847
847
|
function parsePartBodyImpl(boundaryPrefixed, input, output, headers, limit, $completion) {
|
|
848
848
|
var tmp = new $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, $completion);
|
|
849
|
-
tmp.
|
|
850
|
-
tmp.
|
|
851
|
-
return tmp.
|
|
849
|
+
tmp.o9_1 = Unit_instance;
|
|
850
|
+
tmp.p9_1 = null;
|
|
851
|
+
return tmp.u9();
|
|
852
852
|
}
|
|
853
853
|
function skipIfFoundReadCount(_this__u8e3s4, prefix, $completion) {
|
|
854
854
|
var tmp = new $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, $completion);
|
|
855
|
-
tmp.
|
|
856
|
-
tmp.
|
|
857
|
-
return tmp.
|
|
855
|
+
tmp.o9_1 = Unit_instance;
|
|
856
|
+
tmp.p9_1 = null;
|
|
857
|
+
return tmp.u9();
|
|
858
858
|
}
|
|
859
859
|
function throwLimitExceeded(actual, limit) {
|
|
860
860
|
_init_properties_Multipart_kt__ato98a();
|
|
@@ -869,37 +869,37 @@ function parseBoundaryInternal$put(position, boundaryBytes, value) {
|
|
|
869
869
|
boundaryBytes[_unary__edvuaz] = value;
|
|
870
870
|
}
|
|
871
871
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
872
|
-
this.
|
|
873
|
-
this.
|
|
872
|
+
this.q43_1 = $firstBoundary;
|
|
873
|
+
this.r43_1 = $countedInput;
|
|
874
874
|
CoroutineImpl.call(this, resultContinuation);
|
|
875
875
|
}
|
|
876
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
877
|
-
var tmp = this.
|
|
878
|
-
tmp.
|
|
879
|
-
tmp.
|
|
880
|
-
return tmp.
|
|
876
|
+
protoOf(parseMultipart$slambda$slambda).t43 = function ($this$writer, $completion) {
|
|
877
|
+
var tmp = this.u43($this$writer, $completion);
|
|
878
|
+
tmp.o9_1 = Unit_instance;
|
|
879
|
+
tmp.p9_1 = null;
|
|
880
|
+
return tmp.u9();
|
|
881
881
|
};
|
|
882
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
883
|
-
return this.
|
|
882
|
+
protoOf(parseMultipart$slambda$slambda).ga = function (p1, $completion) {
|
|
883
|
+
return this.t43(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
884
884
|
};
|
|
885
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
886
|
-
var suspendResult = this.
|
|
885
|
+
protoOf(parseMultipart$slambda$slambda).u9 = function () {
|
|
886
|
+
var suspendResult = this.o9_1;
|
|
887
887
|
$sm: do
|
|
888
888
|
try {
|
|
889
|
-
var tmp = this.
|
|
889
|
+
var tmp = this.m9_1;
|
|
890
890
|
switch (tmp) {
|
|
891
891
|
case 0:
|
|
892
|
-
this.
|
|
893
|
-
this.
|
|
894
|
-
suspendResult = parsePreambleImpl(this.
|
|
892
|
+
this.n9_1 = 3;
|
|
893
|
+
this.m9_1 = 1;
|
|
894
|
+
suspendResult = parsePreambleImpl(this.q43_1, this.r43_1, this.s43_1.h35_1, 8193n, this);
|
|
895
895
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
896
896
|
return suspendResult;
|
|
897
897
|
}
|
|
898
898
|
|
|
899
899
|
continue $sm;
|
|
900
900
|
case 1:
|
|
901
|
-
this.
|
|
902
|
-
suspendResult = this.
|
|
901
|
+
this.m9_1 = 2;
|
|
902
|
+
suspendResult = this.s43_1.h35_1.f2x(this);
|
|
903
903
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
904
904
|
return suspendResult;
|
|
905
905
|
}
|
|
@@ -908,61 +908,61 @@ protoOf(parseMultipart$slambda$slambda).t9 = function () {
|
|
|
908
908
|
case 2:
|
|
909
909
|
return Unit_instance;
|
|
910
910
|
case 3:
|
|
911
|
-
throw this.
|
|
911
|
+
throw this.p9_1;
|
|
912
912
|
}
|
|
913
913
|
} catch ($p) {
|
|
914
914
|
var e = $p;
|
|
915
|
-
if (this.
|
|
915
|
+
if (this.n9_1 === 3) {
|
|
916
916
|
throw e;
|
|
917
917
|
} else {
|
|
918
|
-
this.
|
|
919
|
-
this.
|
|
918
|
+
this.m9_1 = this.n9_1;
|
|
919
|
+
this.p9_1 = e;
|
|
920
920
|
}
|
|
921
921
|
}
|
|
922
922
|
while (true);
|
|
923
923
|
};
|
|
924
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
925
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
926
|
-
i.
|
|
924
|
+
protoOf(parseMultipart$slambda$slambda).u43 = function ($this$writer, completion) {
|
|
925
|
+
var i = new parseMultipart$slambda$slambda(this.q43_1, this.r43_1, completion);
|
|
926
|
+
i.s43_1 = $this$writer;
|
|
927
927
|
return i;
|
|
928
928
|
};
|
|
929
929
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
930
930
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
931
931
|
var l = function ($this$writer, $completion) {
|
|
932
|
-
return i.
|
|
932
|
+
return i.t43($this$writer, $completion);
|
|
933
933
|
};
|
|
934
934
|
l.$arity = 1;
|
|
935
935
|
return l;
|
|
936
936
|
}
|
|
937
937
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
938
|
-
this.
|
|
939
|
-
this.
|
|
940
|
-
this.
|
|
941
|
-
this.
|
|
938
|
+
this.d44_1 = $input;
|
|
939
|
+
this.e44_1 = $boundaryPrefixed;
|
|
940
|
+
this.f44_1 = $maxPartSize;
|
|
941
|
+
this.g44_1 = $totalLength;
|
|
942
942
|
CoroutineImpl.call(this, resultContinuation);
|
|
943
943
|
}
|
|
944
|
-
protoOf(parseMultipart$slambda).
|
|
945
|
-
var tmp = this.
|
|
946
|
-
tmp.
|
|
947
|
-
tmp.
|
|
948
|
-
return tmp.
|
|
944
|
+
protoOf(parseMultipart$slambda).p44 = function ($this$produce, $completion) {
|
|
945
|
+
var tmp = this.q44($this$produce, $completion);
|
|
946
|
+
tmp.o9_1 = Unit_instance;
|
|
947
|
+
tmp.p9_1 = null;
|
|
948
|
+
return tmp.u9();
|
|
949
949
|
};
|
|
950
|
-
protoOf(parseMultipart$slambda).
|
|
951
|
-
return this.
|
|
950
|
+
protoOf(parseMultipart$slambda).ga = function (p1, $completion) {
|
|
951
|
+
return this.p44((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
952
952
|
};
|
|
953
|
-
protoOf(parseMultipart$slambda).
|
|
954
|
-
var suspendResult = this.
|
|
953
|
+
protoOf(parseMultipart$slambda).u9 = function () {
|
|
954
|
+
var suspendResult = this.o9_1;
|
|
955
955
|
$sm: do
|
|
956
956
|
try {
|
|
957
|
-
var tmp = this.
|
|
957
|
+
var tmp = this.m9_1;
|
|
958
958
|
switch (tmp) {
|
|
959
959
|
case 0:
|
|
960
|
-
this.
|
|
961
|
-
this.
|
|
962
|
-
this.
|
|
963
|
-
this.
|
|
964
|
-
this.
|
|
965
|
-
suspendResult = readRemaining(writer(this.
|
|
960
|
+
this.n9_1 = 25;
|
|
961
|
+
this.i44_1 = counted(this.d44_1);
|
|
962
|
+
this.j44_1 = this.i44_1.b37();
|
|
963
|
+
this.n44_1 = this.e44_1.m2r(get_PrefixString().g1());
|
|
964
|
+
this.m9_1 = 1;
|
|
965
|
+
suspendResult = readRemaining(writer(this.h44_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.n44_1, this.i44_1, null)).f35_1, this);
|
|
966
966
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
967
967
|
return suspendResult;
|
|
968
968
|
}
|
|
@@ -971,57 +971,57 @@ protoOf(parseMultipart$slambda).t9 = function () {
|
|
|
971
971
|
case 1:
|
|
972
972
|
var preambleData = suspendResult;
|
|
973
973
|
if (get_remaining(preambleData) > 0n) {
|
|
974
|
-
this.
|
|
975
|
-
suspendResult = this.
|
|
974
|
+
this.m9_1 = 2;
|
|
975
|
+
suspendResult = this.h44_1.s2e(new Preamble(preambleData), this);
|
|
976
976
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
977
977
|
return suspendResult;
|
|
978
978
|
}
|
|
979
979
|
continue $sm;
|
|
980
980
|
} else {
|
|
981
|
-
this.
|
|
981
|
+
this.m9_1 = 3;
|
|
982
982
|
continue $sm;
|
|
983
983
|
}
|
|
984
984
|
|
|
985
985
|
case 2:
|
|
986
|
-
this.
|
|
986
|
+
this.m9_1 = 3;
|
|
987
987
|
continue $sm;
|
|
988
988
|
case 3:
|
|
989
|
-
this.
|
|
989
|
+
this.m9_1 = 4;
|
|
990
990
|
continue $sm;
|
|
991
991
|
case 4:
|
|
992
|
-
if (!this.
|
|
993
|
-
this.
|
|
994
|
-
suspendResult = skipIfFound(this.
|
|
992
|
+
if (!this.i44_1.c2x()) {
|
|
993
|
+
this.m9_1 = 5;
|
|
994
|
+
suspendResult = skipIfFound(this.i44_1, get_PrefixString(), this);
|
|
995
995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
996
996
|
return suspendResult;
|
|
997
997
|
}
|
|
998
998
|
continue $sm;
|
|
999
999
|
} else {
|
|
1000
|
-
this.
|
|
1001
|
-
this.
|
|
1000
|
+
this.o44_1 = false;
|
|
1001
|
+
this.m9_1 = 6;
|
|
1002
1002
|
continue $sm;
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
1005
|
case 5:
|
|
1006
|
-
this.
|
|
1007
|
-
this.
|
|
1006
|
+
this.o44_1 = !suspendResult;
|
|
1007
|
+
this.m9_1 = 6;
|
|
1008
1008
|
continue $sm;
|
|
1009
1009
|
case 6:
|
|
1010
|
-
if (!this.
|
|
1011
|
-
this.
|
|
1010
|
+
if (!this.o44_1) {
|
|
1011
|
+
this.m9_1 = 15;
|
|
1012
1012
|
continue $sm;
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
|
-
this.
|
|
1016
|
-
suspendResult = skipIfFound(this.
|
|
1015
|
+
this.m9_1 = 7;
|
|
1016
|
+
suspendResult = skipIfFound(this.i44_1, get_CrLf(), this);
|
|
1017
1017
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1018
1018
|
return suspendResult;
|
|
1019
1019
|
}
|
|
1020
1020
|
|
|
1021
1021
|
continue $sm;
|
|
1022
1022
|
case 7:
|
|
1023
|
-
this.
|
|
1024
|
-
suspendResult = skipIfFound(this.
|
|
1023
|
+
this.m9_1 = 8;
|
|
1024
|
+
suspendResult = skipIfFound(this.i44_1, this.n44_1, this);
|
|
1025
1025
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1026
1026
|
return suspendResult;
|
|
1027
1027
|
}
|
|
@@ -1029,112 +1029,112 @@ protoOf(parseMultipart$slambda).t9 = function () {
|
|
|
1029
1029
|
continue $sm;
|
|
1030
1030
|
case 8:
|
|
1031
1031
|
if (suspendResult) {
|
|
1032
|
-
this.
|
|
1032
|
+
this.m9_1 = 4;
|
|
1033
1033
|
continue $sm;
|
|
1034
1034
|
} else {
|
|
1035
|
-
this.
|
|
1035
|
+
this.m9_1 = 9;
|
|
1036
1036
|
continue $sm;
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
1039
|
case 9:
|
|
1040
|
-
this.
|
|
1041
|
-
this.
|
|
1042
|
-
var part = new MultipartPart(this.
|
|
1043
|
-
this.
|
|
1044
|
-
suspendResult = this.
|
|
1040
|
+
this.k44_1 = new ByteChannel();
|
|
1041
|
+
this.m44_1 = CompletableDeferred();
|
|
1042
|
+
var part = new MultipartPart(this.m44_1, this.k44_1);
|
|
1043
|
+
this.m9_1 = 10;
|
|
1044
|
+
suspendResult = this.h44_1.s2e(part, this);
|
|
1045
1045
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1046
1046
|
return suspendResult;
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
1049
|
continue $sm;
|
|
1050
1050
|
case 10:
|
|
1051
|
-
this.
|
|
1052
|
-
this.
|
|
1053
|
-
this.
|
|
1054
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1051
|
+
this.l44_1 = null;
|
|
1052
|
+
this.n9_1 = 14;
|
|
1053
|
+
this.m9_1 = 11;
|
|
1054
|
+
suspendResult = parsePartHeadersImpl(this.i44_1, this);
|
|
1055
1055
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1056
1056
|
return suspendResult;
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
1059
|
continue $sm;
|
|
1060
1060
|
case 11:
|
|
1061
|
-
this.
|
|
1062
|
-
if (!this.
|
|
1063
|
-
this.
|
|
1061
|
+
this.l44_1 = suspendResult;
|
|
1062
|
+
if (!this.m44_1.c24(this.l44_1)) {
|
|
1063
|
+
this.l44_1.s2o();
|
|
1064
1064
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
this.
|
|
1068
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1067
|
+
this.m9_1 = 12;
|
|
1068
|
+
suspendResult = parsePartBodyImpl(this.e44_1, this.i44_1, this.k44_1, this.l44_1, this.f44_1, this);
|
|
1069
1069
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1070
1070
|
return suspendResult;
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
1073
|
continue $sm;
|
|
1074
1074
|
case 12:
|
|
1075
|
-
this.
|
|
1076
|
-
this.
|
|
1077
|
-
this.
|
|
1075
|
+
this.k44_1.c5();
|
|
1076
|
+
this.n9_1 = 25;
|
|
1077
|
+
this.m9_1 = 13;
|
|
1078
1078
|
continue $sm;
|
|
1079
1079
|
case 13:
|
|
1080
|
-
this.
|
|
1081
|
-
this.
|
|
1080
|
+
this.n9_1 = 25;
|
|
1081
|
+
this.m9_1 = 4;
|
|
1082
1082
|
continue $sm;
|
|
1083
1083
|
case 14:
|
|
1084
|
-
this.
|
|
1085
|
-
var tmp_0 = this.
|
|
1084
|
+
this.n9_1 = 25;
|
|
1085
|
+
var tmp_0 = this.p9_1;
|
|
1086
1086
|
if (tmp_0 instanceof Error) {
|
|
1087
|
-
var cause = this.
|
|
1088
|
-
if (this.
|
|
1089
|
-
var tmp0_safe_receiver = this.
|
|
1087
|
+
var cause = this.p9_1;
|
|
1088
|
+
if (this.m44_1.d24(cause)) {
|
|
1089
|
+
var tmp0_safe_receiver = this.l44_1;
|
|
1090
1090
|
if (tmp0_safe_receiver == null)
|
|
1091
1091
|
null;
|
|
1092
1092
|
else {
|
|
1093
|
-
tmp0_safe_receiver.
|
|
1093
|
+
tmp0_safe_receiver.s2o();
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
|
-
close(this.
|
|
1096
|
+
close(this.k44_1, cause);
|
|
1097
1097
|
throw cause;
|
|
1098
1098
|
} else {
|
|
1099
|
-
throw this.
|
|
1099
|
+
throw this.p9_1;
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
1102
|
case 15:
|
|
1103
|
-
this.
|
|
1104
|
-
suspendResult = skipIfFound(this.
|
|
1103
|
+
this.m9_1 = 16;
|
|
1104
|
+
suspendResult = skipIfFound(this.i44_1, get_CrLf(), this);
|
|
1105
1105
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1106
1106
|
return suspendResult;
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
1109
|
continue $sm;
|
|
1110
1110
|
case 16:
|
|
1111
|
-
this.
|
|
1112
|
-
suspendResult = skipIfFound(this.
|
|
1111
|
+
this.m9_1 = 17;
|
|
1112
|
+
suspendResult = skipIfFound(this.i44_1, get_CrLf(), this);
|
|
1113
1113
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1114
1114
|
return suspendResult;
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
1117
|
continue $sm;
|
|
1118
1118
|
case 17:
|
|
1119
|
-
if (!(this.
|
|
1120
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1121
|
-
var size = subtract(this.
|
|
1119
|
+
if (!(this.g44_1 == null)) {
|
|
1120
|
+
var consumedExceptEpilogue = subtract(this.i44_1.b37(), this.j44_1);
|
|
1121
|
+
var size = subtract(this.g44_1, consumedExceptEpilogue);
|
|
1122
1122
|
if (size > 2147483647n)
|
|
1123
1123
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1124
1124
|
if (size > 0n) {
|
|
1125
|
-
this.
|
|
1126
|
-
suspendResult = readPacket(this.
|
|
1125
|
+
this.m9_1 = 21;
|
|
1126
|
+
suspendResult = readPacket(this.i44_1, convertToInt(size), this);
|
|
1127
1127
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1128
1128
|
return suspendResult;
|
|
1129
1129
|
}
|
|
1130
1130
|
continue $sm;
|
|
1131
1131
|
} else {
|
|
1132
|
-
this.
|
|
1132
|
+
this.m9_1 = 23;
|
|
1133
1133
|
continue $sm;
|
|
1134
1134
|
}
|
|
1135
1135
|
} else {
|
|
1136
|
-
this.
|
|
1137
|
-
suspendResult = readRemaining(this.
|
|
1136
|
+
this.m9_1 = 18;
|
|
1137
|
+
suspendResult = readRemaining(this.i44_1, this);
|
|
1138
1138
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1139
1139
|
return suspendResult;
|
|
1140
1140
|
}
|
|
@@ -1143,85 +1143,85 @@ protoOf(parseMultipart$slambda).t9 = function () {
|
|
|
1143
1143
|
|
|
1144
1144
|
case 18:
|
|
1145
1145
|
var epilogueContent = suspendResult;
|
|
1146
|
-
if (!epilogueContent.
|
|
1147
|
-
this.
|
|
1148
|
-
suspendResult = this.
|
|
1146
|
+
if (!epilogueContent.u2r()) {
|
|
1147
|
+
this.m9_1 = 19;
|
|
1148
|
+
suspendResult = this.h44_1.s2e(new Epilogue(epilogueContent), this);
|
|
1149
1149
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1150
1150
|
return suspendResult;
|
|
1151
1151
|
}
|
|
1152
1152
|
continue $sm;
|
|
1153
1153
|
} else {
|
|
1154
|
-
this.
|
|
1154
|
+
this.m9_1 = 20;
|
|
1155
1155
|
continue $sm;
|
|
1156
1156
|
}
|
|
1157
1157
|
|
|
1158
1158
|
case 19:
|
|
1159
|
-
this.
|
|
1159
|
+
this.m9_1 = 20;
|
|
1160
1160
|
continue $sm;
|
|
1161
1161
|
case 20:
|
|
1162
|
-
this.
|
|
1162
|
+
this.m9_1 = 24;
|
|
1163
1163
|
continue $sm;
|
|
1164
1164
|
case 21:
|
|
1165
1165
|
var ARGUMENT = suspendResult;
|
|
1166
1166
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1167
|
-
this.
|
|
1168
|
-
suspendResult = this.
|
|
1167
|
+
this.m9_1 = 22;
|
|
1168
|
+
suspendResult = this.h44_1.s2e(ARGUMENT_0, this);
|
|
1169
1169
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1170
1170
|
return suspendResult;
|
|
1171
1171
|
}
|
|
1172
1172
|
|
|
1173
1173
|
continue $sm;
|
|
1174
1174
|
case 22:
|
|
1175
|
-
this.
|
|
1175
|
+
this.m9_1 = 23;
|
|
1176
1176
|
continue $sm;
|
|
1177
1177
|
case 23:
|
|
1178
|
-
this.
|
|
1178
|
+
this.m9_1 = 24;
|
|
1179
1179
|
continue $sm;
|
|
1180
1180
|
case 24:
|
|
1181
1181
|
return Unit_instance;
|
|
1182
1182
|
case 25:
|
|
1183
|
-
throw this.
|
|
1183
|
+
throw this.p9_1;
|
|
1184
1184
|
}
|
|
1185
1185
|
} catch ($p) {
|
|
1186
1186
|
var e = $p;
|
|
1187
|
-
if (this.
|
|
1187
|
+
if (this.n9_1 === 25) {
|
|
1188
1188
|
throw e;
|
|
1189
1189
|
} else {
|
|
1190
|
-
this.
|
|
1191
|
-
this.
|
|
1190
|
+
this.m9_1 = this.n9_1;
|
|
1191
|
+
this.p9_1 = e;
|
|
1192
1192
|
}
|
|
1193
1193
|
}
|
|
1194
1194
|
while (true);
|
|
1195
1195
|
};
|
|
1196
|
-
protoOf(parseMultipart$slambda).
|
|
1197
|
-
var i = new parseMultipart$slambda(this.
|
|
1198
|
-
i.
|
|
1196
|
+
protoOf(parseMultipart$slambda).q44 = function ($this$produce, completion) {
|
|
1197
|
+
var i = new parseMultipart$slambda(this.d44_1, this.e44_1, this.f44_1, this.g44_1, completion);
|
|
1198
|
+
i.h44_1 = $this$produce;
|
|
1199
1199
|
return i;
|
|
1200
1200
|
};
|
|
1201
1201
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1202
1202
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1203
1203
|
var l = function ($this$produce, $completion) {
|
|
1204
|
-
return i.
|
|
1204
|
+
return i.p44($this$produce, $completion);
|
|
1205
1205
|
};
|
|
1206
1206
|
l.$arity = 1;
|
|
1207
1207
|
return l;
|
|
1208
1208
|
}
|
|
1209
1209
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1210
1210
|
CoroutineImpl.call(this, resultContinuation);
|
|
1211
|
-
this.
|
|
1211
|
+
this.f42_1 = input;
|
|
1212
1212
|
}
|
|
1213
|
-
protoOf($parsePartHeadersImplCOROUTINE$).
|
|
1214
|
-
var suspendResult = this.
|
|
1213
|
+
protoOf($parsePartHeadersImplCOROUTINE$).u9 = function () {
|
|
1214
|
+
var suspendResult = this.o9_1;
|
|
1215
1215
|
$sm: do
|
|
1216
1216
|
try {
|
|
1217
|
-
var tmp = this.
|
|
1217
|
+
var tmp = this.m9_1;
|
|
1218
1218
|
switch (tmp) {
|
|
1219
1219
|
case 0:
|
|
1220
|
-
this.
|
|
1221
|
-
this.
|
|
1222
|
-
this.
|
|
1223
|
-
this.
|
|
1224
|
-
suspendResult = parseHeaders(this.
|
|
1220
|
+
this.n9_1 = 3;
|
|
1221
|
+
this.g42_1 = new CharArrayBuilder();
|
|
1222
|
+
this.n9_1 = 2;
|
|
1223
|
+
this.m9_1 = 1;
|
|
1224
|
+
suspendResult = parseHeaders(this.f42_1, this.g42_1, VOID, this);
|
|
1225
1225
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1226
1226
|
return suspendResult;
|
|
1227
1227
|
}
|
|
@@ -1238,75 +1238,75 @@ protoOf($parsePartHeadersImplCOROUTINE$).t9 = function () {
|
|
|
1238
1238
|
|
|
1239
1239
|
return tmp_0;
|
|
1240
1240
|
case 2:
|
|
1241
|
-
this.
|
|
1242
|
-
var tmp_1 = this.
|
|
1241
|
+
this.n9_1 = 3;
|
|
1242
|
+
var tmp_1 = this.p9_1;
|
|
1243
1243
|
if (tmp_1 instanceof Error) {
|
|
1244
|
-
var t = this.
|
|
1245
|
-
this.
|
|
1244
|
+
var t = this.p9_1;
|
|
1245
|
+
this.g42_1.s2o();
|
|
1246
1246
|
throw t;
|
|
1247
1247
|
} else {
|
|
1248
|
-
throw this.
|
|
1248
|
+
throw this.p9_1;
|
|
1249
1249
|
}
|
|
1250
1250
|
|
|
1251
1251
|
case 3:
|
|
1252
|
-
throw this.
|
|
1252
|
+
throw this.p9_1;
|
|
1253
1253
|
}
|
|
1254
1254
|
} catch ($p) {
|
|
1255
1255
|
var e = $p;
|
|
1256
|
-
if (this.
|
|
1256
|
+
if (this.n9_1 === 3) {
|
|
1257
1257
|
throw e;
|
|
1258
1258
|
} else {
|
|
1259
|
-
this.
|
|
1260
|
-
this.
|
|
1259
|
+
this.m9_1 = this.n9_1;
|
|
1260
|
+
this.p9_1 = e;
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
1263
|
while (true);
|
|
1264
1264
|
};
|
|
1265
1265
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1266
1266
|
CoroutineImpl.call(this, resultContinuation);
|
|
1267
|
-
this.
|
|
1268
|
-
this.
|
|
1269
|
-
this.
|
|
1270
|
-
this.
|
|
1271
|
-
this.
|
|
1272
|
-
}
|
|
1273
|
-
protoOf($parsePartBodyImplCOROUTINE$).
|
|
1274
|
-
var suspendResult = this.
|
|
1267
|
+
this.p42_1 = boundaryPrefixed;
|
|
1268
|
+
this.q42_1 = input;
|
|
1269
|
+
this.r42_1 = output;
|
|
1270
|
+
this.s42_1 = headers;
|
|
1271
|
+
this.t42_1 = limit;
|
|
1272
|
+
}
|
|
1273
|
+
protoOf($parsePartBodyImplCOROUTINE$).u9 = function () {
|
|
1274
|
+
var suspendResult = this.o9_1;
|
|
1275
1275
|
$sm: do
|
|
1276
1276
|
try {
|
|
1277
|
-
var tmp = this.
|
|
1277
|
+
var tmp = this.m9_1;
|
|
1278
1278
|
switch (tmp) {
|
|
1279
1279
|
case 0:
|
|
1280
|
-
this.
|
|
1281
|
-
var tmp0_safe_receiver = this.
|
|
1280
|
+
this.n9_1 = 6;
|
|
1281
|
+
var tmp0_safe_receiver = this.s42_1.ee('Content-Length');
|
|
1282
1282
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1283
1283
|
if (contentLength == null) {
|
|
1284
|
-
this.
|
|
1285
|
-
suspendResult = readUntil(this.
|
|
1284
|
+
this.m9_1 = 3;
|
|
1285
|
+
suspendResult = readUntil(this.q42_1, this.p42_1, this.r42_1, this.t42_1, true, this);
|
|
1286
1286
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1287
1287
|
return suspendResult;
|
|
1288
1288
|
}
|
|
1289
1289
|
continue $sm;
|
|
1290
1290
|
} else {
|
|
1291
|
-
var containsUpper = this.
|
|
1291
|
+
var containsUpper = this.t42_1;
|
|
1292
1292
|
if (0n <= contentLength ? contentLength <= containsUpper : false) {
|
|
1293
|
-
this.
|
|
1294
|
-
suspendResult = copyTo(this.
|
|
1293
|
+
this.m9_1 = 1;
|
|
1294
|
+
suspendResult = copyTo(this.q42_1, this.r42_1, contentLength, this);
|
|
1295
1295
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1296
1296
|
return suspendResult;
|
|
1297
1297
|
}
|
|
1298
1298
|
continue $sm;
|
|
1299
1299
|
} else {
|
|
1300
1300
|
var tmp_0 = this;
|
|
1301
|
-
throwLimitExceeded(contentLength, this.
|
|
1301
|
+
throwLimitExceeded(contentLength, this.t42_1);
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
1304
|
|
|
1305
1305
|
break;
|
|
1306
1306
|
case 1:
|
|
1307
|
-
this.
|
|
1308
|
-
this.
|
|
1309
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1307
|
+
this.w42_1 = suspendResult;
|
|
1308
|
+
this.m9_1 = 2;
|
|
1309
|
+
suspendResult = skipIfFoundReadCount(this.q42_1, this.p42_1, this);
|
|
1310
1310
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1311
1311
|
return suspendResult;
|
|
1312
1312
|
}
|
|
@@ -1314,53 +1314,53 @@ protoOf($parsePartBodyImplCOROUTINE$).t9 = function () {
|
|
|
1314
1314
|
continue $sm;
|
|
1315
1315
|
case 2:
|
|
1316
1316
|
var ARGUMENT = suspendResult;
|
|
1317
|
-
this.
|
|
1318
|
-
this.
|
|
1317
|
+
this.v42_1 = add(this.w42_1, ARGUMENT);
|
|
1318
|
+
this.m9_1 = 4;
|
|
1319
1319
|
continue $sm;
|
|
1320
1320
|
case 3:
|
|
1321
|
-
this.
|
|
1322
|
-
this.
|
|
1321
|
+
this.v42_1 = suspendResult;
|
|
1322
|
+
this.m9_1 = 4;
|
|
1323
1323
|
continue $sm;
|
|
1324
1324
|
case 4:
|
|
1325
|
-
this.
|
|
1326
|
-
this.
|
|
1327
|
-
suspendResult = this.
|
|
1325
|
+
this.u42_1 = this.v42_1;
|
|
1326
|
+
this.m9_1 = 5;
|
|
1327
|
+
suspendResult = this.r42_1.t2w(this);
|
|
1328
1328
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1329
1329
|
return suspendResult;
|
|
1330
1330
|
}
|
|
1331
1331
|
|
|
1332
1332
|
continue $sm;
|
|
1333
1333
|
case 5:
|
|
1334
|
-
return this.
|
|
1334
|
+
return this.u42_1;
|
|
1335
1335
|
case 6:
|
|
1336
|
-
throw this.
|
|
1336
|
+
throw this.p9_1;
|
|
1337
1337
|
}
|
|
1338
1338
|
} catch ($p) {
|
|
1339
1339
|
var e = $p;
|
|
1340
|
-
if (this.
|
|
1340
|
+
if (this.n9_1 === 6) {
|
|
1341
1341
|
throw e;
|
|
1342
1342
|
} else {
|
|
1343
|
-
this.
|
|
1344
|
-
this.
|
|
1343
|
+
this.m9_1 = this.n9_1;
|
|
1344
|
+
this.p9_1 = e;
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
1347
|
while (true);
|
|
1348
1348
|
};
|
|
1349
1349
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1350
1350
|
CoroutineImpl.call(this, resultContinuation);
|
|
1351
|
-
this.
|
|
1352
|
-
this.
|
|
1351
|
+
this.f43_1 = _this__u8e3s4;
|
|
1352
|
+
this.g43_1 = prefix;
|
|
1353
1353
|
}
|
|
1354
|
-
protoOf($skipIfFoundReadCountCOROUTINE$).
|
|
1355
|
-
var suspendResult = this.
|
|
1354
|
+
protoOf($skipIfFoundReadCountCOROUTINE$).u9 = function () {
|
|
1355
|
+
var suspendResult = this.o9_1;
|
|
1356
1356
|
$sm: do
|
|
1357
1357
|
try {
|
|
1358
|
-
var tmp = this.
|
|
1358
|
+
var tmp = this.m9_1;
|
|
1359
1359
|
switch (tmp) {
|
|
1360
1360
|
case 0:
|
|
1361
|
-
this.
|
|
1362
|
-
this.
|
|
1363
|
-
suspendResult = skipIfFound(this.
|
|
1361
|
+
this.n9_1 = 3;
|
|
1362
|
+
this.m9_1 = 1;
|
|
1363
|
+
suspendResult = skipIfFound(this.f43_1, this.g43_1, this);
|
|
1364
1364
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1365
1365
|
return suspendResult;
|
|
1366
1366
|
}
|
|
@@ -1369,28 +1369,28 @@ protoOf($skipIfFoundReadCountCOROUTINE$).t9 = function () {
|
|
|
1369
1369
|
case 1:
|
|
1370
1370
|
if (suspendResult) {
|
|
1371
1371
|
var tmp_0 = this;
|
|
1372
|
-
tmp_0.
|
|
1373
|
-
this.
|
|
1372
|
+
tmp_0.h43_1 = fromInt(this.g43_1.g1());
|
|
1373
|
+
this.m9_1 = 2;
|
|
1374
1374
|
continue $sm;
|
|
1375
1375
|
} else {
|
|
1376
1376
|
var tmp_1 = this;
|
|
1377
|
-
tmp_1.
|
|
1378
|
-
this.
|
|
1377
|
+
tmp_1.h43_1 = 0n;
|
|
1378
|
+
this.m9_1 = 2;
|
|
1379
1379
|
continue $sm;
|
|
1380
1380
|
}
|
|
1381
1381
|
|
|
1382
1382
|
case 2:
|
|
1383
|
-
return this.
|
|
1383
|
+
return this.h43_1;
|
|
1384
1384
|
case 3:
|
|
1385
|
-
throw this.
|
|
1385
|
+
throw this.p9_1;
|
|
1386
1386
|
}
|
|
1387
1387
|
} catch ($p) {
|
|
1388
1388
|
var e = $p;
|
|
1389
|
-
if (this.
|
|
1389
|
+
if (this.n9_1 === 3) {
|
|
1390
1390
|
throw e;
|
|
1391
1391
|
} else {
|
|
1392
|
-
this.
|
|
1393
|
-
this.
|
|
1392
|
+
this.m9_1 = this.n9_1;
|
|
1393
|
+
this.p9_1 = e;
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
1396
|
while (true);
|
|
@@ -1447,7 +1447,7 @@ function build($this, resultList, from, maxLength, idx, length, charAt) {
|
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
1449
|
build(tmp_0, children, destination_0, maxLength, nextIdx, length, charAt);
|
|
1450
|
-
children.
|
|
1450
|
+
children.l6();
|
|
1451
1451
|
// Inline function 'kotlin.collections.filter' call
|
|
1452
1452
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1453
1453
|
var destination_1 = ArrayList_init_$Create$();
|
|
@@ -1468,16 +1468,16 @@ function AsciiCharTree$Companion$build$lambda_0(s, idx) {
|
|
|
1468
1468
|
return new Char(charSequenceGet(s, idx));
|
|
1469
1469
|
}
|
|
1470
1470
|
function Node(ch, exact, children) {
|
|
1471
|
-
this.
|
|
1472
|
-
this.
|
|
1473
|
-
this.
|
|
1471
|
+
this.r44_1 = ch;
|
|
1472
|
+
this.s44_1 = exact;
|
|
1473
|
+
this.t44_1 = children;
|
|
1474
1474
|
var tmp = this;
|
|
1475
1475
|
var tmp_0 = 0;
|
|
1476
1476
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1477
1477
|
var tmp_1 = Array(256);
|
|
1478
1478
|
while (tmp_0 < 256) {
|
|
1479
1479
|
var tmp_2 = tmp_0;
|
|
1480
|
-
var tmp0 = this.
|
|
1480
|
+
var tmp0 = this.t44_1;
|
|
1481
1481
|
var tmp$ret$2;
|
|
1482
1482
|
$l$block_0: {
|
|
1483
1483
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1487,7 +1487,7 @@ function Node(ch, exact, children) {
|
|
|
1487
1487
|
while (_iterator__ex2g4s.u()) {
|
|
1488
1488
|
var element = _iterator__ex2g4s.v();
|
|
1489
1489
|
// Inline function 'kotlin.code' call
|
|
1490
|
-
var this_0 = element.
|
|
1490
|
+
var this_0 = element.r44_1;
|
|
1491
1491
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1492
1492
|
if (found) {
|
|
1493
1493
|
tmp$ret$2 = null;
|
|
@@ -1506,15 +1506,15 @@ function Node(ch, exact, children) {
|
|
|
1506
1506
|
tmp_1[tmp_2] = tmp$ret$2;
|
|
1507
1507
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1508
1508
|
}
|
|
1509
|
-
tmp.
|
|
1509
|
+
tmp.u44_1 = tmp_1;
|
|
1510
1510
|
}
|
|
1511
1511
|
function Companion() {
|
|
1512
1512
|
}
|
|
1513
|
-
protoOf(Companion).
|
|
1513
|
+
protoOf(Companion).s41 = function (from) {
|
|
1514
1514
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1515
|
-
return this.
|
|
1515
|
+
return this.v44(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1516
1516
|
};
|
|
1517
|
-
protoOf(Companion).
|
|
1517
|
+
protoOf(Companion).v44 = function (from, length, charAt) {
|
|
1518
1518
|
var tmp$ret$0;
|
|
1519
1519
|
$l$block_0: {
|
|
1520
1520
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1583,7 +1583,7 @@ protoOf(Companion).m43 = function (from, length, charAt) {
|
|
|
1583
1583
|
throw IllegalArgumentException_init_$Create$('There should be no empty entries');
|
|
1584
1584
|
var root = ArrayList_init_$Create$();
|
|
1585
1585
|
build(this, root, from, maxLen, 0, length, charAt);
|
|
1586
|
-
root.
|
|
1586
|
+
root.l6();
|
|
1587
1587
|
return new AsciiCharTree(new Node(_Char___init__impl__6a9atx(0), emptyList(), root));
|
|
1588
1588
|
};
|
|
1589
1589
|
var Companion_instance;
|
|
@@ -1591,10 +1591,10 @@ function Companion_getInstance_1() {
|
|
|
1591
1591
|
return Companion_instance;
|
|
1592
1592
|
}
|
|
1593
1593
|
function AsciiCharTree(root) {
|
|
1594
|
-
this.
|
|
1594
|
+
this.w44_1 = root;
|
|
1595
1595
|
}
|
|
1596
1596
|
function getImpl($this, index) {
|
|
1597
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1597
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.y3z_1).length | 0];
|
|
1598
1598
|
}
|
|
1599
1599
|
function copy($this, startIndex, endIndex) {
|
|
1600
1600
|
if (startIndex === endIndex)
|
|
@@ -1623,27 +1623,27 @@ function copy($this, startIndex, endIndex) {
|
|
|
1623
1623
|
return builder;
|
|
1624
1624
|
}
|
|
1625
1625
|
function SubSequenceImpl($outer, start, end) {
|
|
1626
|
-
this.
|
|
1627
|
-
this.
|
|
1628
|
-
this.
|
|
1629
|
-
this.
|
|
1626
|
+
this.a45_1 = $outer;
|
|
1627
|
+
this.x44_1 = start;
|
|
1628
|
+
this.y44_1 = end;
|
|
1629
|
+
this.z44_1 = null;
|
|
1630
1630
|
}
|
|
1631
1631
|
protoOf(SubSequenceImpl).a = function () {
|
|
1632
|
-
return this.
|
|
1632
|
+
return this.y44_1 - this.x44_1 | 0;
|
|
1633
1633
|
};
|
|
1634
1634
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1635
|
-
var withOffset = index + this.
|
|
1635
|
+
var withOffset = index + this.x44_1 | 0;
|
|
1636
1636
|
// Inline function 'kotlin.require' call
|
|
1637
1637
|
if (!(index >= 0)) {
|
|
1638
1638
|
var message = 'index is negative: ' + index;
|
|
1639
1639
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1640
1640
|
}
|
|
1641
1641
|
// Inline function 'kotlin.require' call
|
|
1642
|
-
if (!(withOffset < this.
|
|
1642
|
+
if (!(withOffset < this.y44_1)) {
|
|
1643
1643
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1644
1644
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1645
1645
|
}
|
|
1646
|
-
return getImpl(this.
|
|
1646
|
+
return getImpl(this.a45_1, withOffset);
|
|
1647
1647
|
};
|
|
1648
1648
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1649
1649
|
// Inline function 'kotlin.require' call
|
|
@@ -1657,21 +1657,21 @@ protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
|
1657
1657
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1658
1658
|
}
|
|
1659
1659
|
// Inline function 'kotlin.require' call
|
|
1660
|
-
if (!(endIndex <= (this.
|
|
1660
|
+
if (!(endIndex <= (this.y44_1 - this.x44_1 | 0))) {
|
|
1661
1661
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1662
1662
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1663
1663
|
}
|
|
1664
1664
|
if (startIndex === endIndex)
|
|
1665
1665
|
return '';
|
|
1666
|
-
return new SubSequenceImpl(this.
|
|
1666
|
+
return new SubSequenceImpl(this.a45_1, this.x44_1 + startIndex | 0, this.x44_1 + endIndex | 0);
|
|
1667
1667
|
};
|
|
1668
1668
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1669
|
-
var tmp0_elvis_lhs = this.
|
|
1669
|
+
var tmp0_elvis_lhs = this.z44_1;
|
|
1670
1670
|
var tmp;
|
|
1671
1671
|
if (tmp0_elvis_lhs == null) {
|
|
1672
1672
|
// Inline function 'kotlin.also' call
|
|
1673
|
-
var this_0 = toString(copy(this.
|
|
1674
|
-
this.
|
|
1673
|
+
var this_0 = toString(copy(this.a45_1, this.x44_1, this.y44_1));
|
|
1674
|
+
this.z44_1 = this_0;
|
|
1675
1675
|
tmp = this_0;
|
|
1676
1676
|
} else {
|
|
1677
1677
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1683,20 +1683,20 @@ protoOf(SubSequenceImpl).equals = function (other) {
|
|
|
1683
1683
|
return false;
|
|
1684
1684
|
if (!(charSequenceLength(other) === this.a()))
|
|
1685
1685
|
return false;
|
|
1686
|
-
return rangeEqualsImpl(this.
|
|
1686
|
+
return rangeEqualsImpl(this.a45_1, this.x44_1, other, 0, this.a());
|
|
1687
1687
|
};
|
|
1688
1688
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1689
|
-
var tmp0_safe_receiver = this.
|
|
1689
|
+
var tmp0_safe_receiver = this.z44_1;
|
|
1690
1690
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1691
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1691
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.a45_1, this.x44_1, this.y44_1) : tmp1_elvis_lhs;
|
|
1692
1692
|
};
|
|
1693
1693
|
function bufferForIndex($this, index) {
|
|
1694
|
-
var list = $this.
|
|
1694
|
+
var list = $this.x3z_1;
|
|
1695
1695
|
if (list == null) {
|
|
1696
1696
|
if (index >= 2048) {
|
|
1697
1697
|
throwSingleBuffer($this, index);
|
|
1698
1698
|
}
|
|
1699
|
-
var tmp0_elvis_lhs = $this.
|
|
1699
|
+
var tmp0_elvis_lhs = $this.y3z_1;
|
|
1700
1700
|
var tmp;
|
|
1701
1701
|
if (tmp0_elvis_lhs == null) {
|
|
1702
1702
|
throwSingleBuffer($this, index);
|
|
@@ -1705,29 +1705,29 @@ function bufferForIndex($this, index) {
|
|
|
1705
1705
|
}
|
|
1706
1706
|
return tmp;
|
|
1707
1707
|
}
|
|
1708
|
-
return list.h1(index / ensureNotNull($this.
|
|
1708
|
+
return list.h1(index / ensureNotNull($this.y3z_1).length | 0);
|
|
1709
1709
|
}
|
|
1710
1710
|
function throwSingleBuffer($this, index) {
|
|
1711
|
-
if ($this.
|
|
1711
|
+
if ($this.a40_1)
|
|
1712
1712
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1713
1713
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1714
1714
|
}
|
|
1715
1715
|
function nonFullBuffer($this) {
|
|
1716
|
-
return $this.
|
|
1716
|
+
return $this.b40_1 === 0 ? appendNewArray($this) : ensureNotNull($this.y3z_1);
|
|
1717
1717
|
}
|
|
1718
1718
|
function appendNewArray($this) {
|
|
1719
|
-
var newBuffer = $this.
|
|
1720
|
-
var existing = $this.
|
|
1721
|
-
$this.
|
|
1722
|
-
$this.
|
|
1723
|
-
$this.
|
|
1719
|
+
var newBuffer = $this.w3z_1.z37();
|
|
1720
|
+
var existing = $this.y3z_1;
|
|
1721
|
+
$this.y3z_1 = newBuffer;
|
|
1722
|
+
$this.b40_1 = newBuffer.length;
|
|
1723
|
+
$this.a40_1 = false;
|
|
1724
1724
|
if (!(existing == null)) {
|
|
1725
|
-
var tmp0_elvis_lhs = $this.
|
|
1725
|
+
var tmp0_elvis_lhs = $this.x3z_1;
|
|
1726
1726
|
var tmp;
|
|
1727
1727
|
if (tmp0_elvis_lhs == null) {
|
|
1728
1728
|
// Inline function 'kotlin.also' call
|
|
1729
1729
|
var this_0 = ArrayList_init_$Create$();
|
|
1730
|
-
$this.
|
|
1730
|
+
$this.x3z_1 = this_0;
|
|
1731
1731
|
this_0.e1(existing);
|
|
1732
1732
|
tmp = this_0;
|
|
1733
1733
|
} else {
|
|
@@ -1766,20 +1766,20 @@ function hashCodeImpl($this, start, end) {
|
|
|
1766
1766
|
return hc;
|
|
1767
1767
|
}
|
|
1768
1768
|
function currentPosition($this) {
|
|
1769
|
-
return ensureNotNull($this.
|
|
1769
|
+
return ensureNotNull($this.y3z_1).length - $this.b40_1 | 0;
|
|
1770
1770
|
}
|
|
1771
1771
|
function CharArrayBuilder(pool) {
|
|
1772
1772
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1775
|
-
this.
|
|
1776
|
-
this.
|
|
1777
|
-
this.
|
|
1778
|
-
this.
|
|
1779
|
-
this.
|
|
1773
|
+
this.w3z_1 = pool;
|
|
1774
|
+
this.x3z_1 = null;
|
|
1775
|
+
this.y3z_1 = null;
|
|
1776
|
+
this.z3z_1 = null;
|
|
1777
|
+
this.a40_1 = false;
|
|
1778
|
+
this.b40_1 = 0;
|
|
1779
|
+
this.c40_1 = 0;
|
|
1780
1780
|
}
|
|
1781
1781
|
protoOf(CharArrayBuilder).a = function () {
|
|
1782
|
-
return this.
|
|
1782
|
+
return this.c40_1;
|
|
1783
1783
|
};
|
|
1784
1784
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1785
1785
|
// Inline function 'kotlin.require' call
|
|
@@ -1788,8 +1788,8 @@ protoOf(CharArrayBuilder).b = function (index) {
|
|
|
1788
1788
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1789
1789
|
}
|
|
1790
1790
|
// Inline function 'kotlin.require' call
|
|
1791
|
-
if (!(index < this.
|
|
1792
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1791
|
+
if (!(index < this.c40_1)) {
|
|
1792
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.c40_1 + ')';
|
|
1793
1793
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1794
1794
|
}
|
|
1795
1795
|
return getImpl(this, index);
|
|
@@ -1806,19 +1806,19 @@ protoOf(CharArrayBuilder).c = function (startIndex, endIndex) {
|
|
|
1806
1806
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1807
1807
|
}
|
|
1808
1808
|
// Inline function 'kotlin.require' call
|
|
1809
|
-
if (!(endIndex <= this.
|
|
1810
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1809
|
+
if (!(endIndex <= this.c40_1)) {
|
|
1810
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.c40_1 + ')';
|
|
1811
1811
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1812
1812
|
}
|
|
1813
1813
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1814
1814
|
};
|
|
1815
1815
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1816
|
-
var tmp0_elvis_lhs = this.
|
|
1816
|
+
var tmp0_elvis_lhs = this.z3z_1;
|
|
1817
1817
|
var tmp;
|
|
1818
1818
|
if (tmp0_elvis_lhs == null) {
|
|
1819
1819
|
// Inline function 'kotlin.also' call
|
|
1820
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1821
|
-
this.
|
|
1820
|
+
var this_0 = toString(copy(this, 0, this.c40_1));
|
|
1821
|
+
this.z3z_1 = this_0;
|
|
1822
1822
|
tmp = this_0;
|
|
1823
1823
|
} else {
|
|
1824
1824
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1828,32 +1828,32 @@ protoOf(CharArrayBuilder).toString = function () {
|
|
|
1828
1828
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1829
1829
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1830
1830
|
return false;
|
|
1831
|
-
if (!(this.
|
|
1831
|
+
if (!(this.c40_1 === charSequenceLength(other)))
|
|
1832
1832
|
return false;
|
|
1833
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1833
|
+
return rangeEqualsImpl(this, 0, other, 0, this.c40_1);
|
|
1834
1834
|
};
|
|
1835
1835
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1836
|
-
var tmp0_safe_receiver = this.
|
|
1836
|
+
var tmp0_safe_receiver = this.z3z_1;
|
|
1837
1837
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1838
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1838
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.c40_1) : tmp1_elvis_lhs;
|
|
1839
1839
|
};
|
|
1840
1840
|
protoOf(CharArrayBuilder).s = function (value) {
|
|
1841
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1842
|
-
this.
|
|
1843
|
-
this.
|
|
1844
|
-
this.
|
|
1841
|
+
nonFullBuffer(this)[ensureNotNull(this.y3z_1).length - this.b40_1 | 0] = value;
|
|
1842
|
+
this.z3z_1 = null;
|
|
1843
|
+
this.b40_1 = this.b40_1 - 1 | 0;
|
|
1844
|
+
this.c40_1 = this.c40_1 + 1 | 0;
|
|
1845
1845
|
return this;
|
|
1846
1846
|
};
|
|
1847
|
-
protoOf(CharArrayBuilder).
|
|
1847
|
+
protoOf(CharArrayBuilder).zc = function (value, startIndex, endIndex) {
|
|
1848
1848
|
if (value == null)
|
|
1849
1849
|
return this;
|
|
1850
1850
|
var current = startIndex;
|
|
1851
1851
|
while (current < endIndex) {
|
|
1852
1852
|
var buffer = nonFullBuffer(this);
|
|
1853
|
-
var offset = buffer.length - this.
|
|
1853
|
+
var offset = buffer.length - this.b40_1 | 0;
|
|
1854
1854
|
var tmp0 = endIndex - current | 0;
|
|
1855
1855
|
// Inline function 'kotlin.math.min' call
|
|
1856
|
-
var b = this.
|
|
1856
|
+
var b = this.b40_1;
|
|
1857
1857
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1858
1858
|
var inductionVariable = 0;
|
|
1859
1859
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1864,45 +1864,45 @@ protoOf(CharArrayBuilder).yc = function (value, startIndex, endIndex) {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
while (inductionVariable < bytesToCopy);
|
|
1866
1866
|
current = current + bytesToCopy | 0;
|
|
1867
|
-
this.
|
|
1867
|
+
this.b40_1 = this.b40_1 - bytesToCopy | 0;
|
|
1868
1868
|
}
|
|
1869
|
-
this.
|
|
1870
|
-
this.
|
|
1869
|
+
this.z3z_1 = null;
|
|
1870
|
+
this.c40_1 = this.c40_1 + (endIndex - startIndex | 0) | 0;
|
|
1871
1871
|
return this;
|
|
1872
1872
|
};
|
|
1873
1873
|
protoOf(CharArrayBuilder).f1 = function (value) {
|
|
1874
1874
|
if (value == null)
|
|
1875
1875
|
return this;
|
|
1876
|
-
return this.
|
|
1876
|
+
return this.zc(value, 0, charSequenceLength(value));
|
|
1877
1877
|
};
|
|
1878
|
-
protoOf(CharArrayBuilder).
|
|
1879
|
-
var list = this.
|
|
1878
|
+
protoOf(CharArrayBuilder).s2o = function () {
|
|
1879
|
+
var list = this.x3z_1;
|
|
1880
1880
|
if (!(list == null)) {
|
|
1881
|
-
this.
|
|
1881
|
+
this.y3z_1 = null;
|
|
1882
1882
|
var inductionVariable = 0;
|
|
1883
1883
|
var last = list.g1();
|
|
1884
1884
|
if (inductionVariable < last)
|
|
1885
1885
|
do {
|
|
1886
1886
|
var i = inductionVariable;
|
|
1887
1887
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1888
|
-
this.
|
|
1888
|
+
this.w3z_1.a38(list.h1(i));
|
|
1889
1889
|
}
|
|
1890
1890
|
while (inductionVariable < last);
|
|
1891
1891
|
} else {
|
|
1892
|
-
var tmp0_safe_receiver = this.
|
|
1892
|
+
var tmp0_safe_receiver = this.y3z_1;
|
|
1893
1893
|
if (tmp0_safe_receiver == null)
|
|
1894
1894
|
null;
|
|
1895
1895
|
else {
|
|
1896
1896
|
// Inline function 'kotlin.let' call
|
|
1897
|
-
this.
|
|
1897
|
+
this.w3z_1.a38(tmp0_safe_receiver);
|
|
1898
1898
|
}
|
|
1899
|
-
this.
|
|
1899
|
+
this.y3z_1 = null;
|
|
1900
1900
|
}
|
|
1901
|
-
this.
|
|
1902
|
-
this.
|
|
1903
|
-
this.
|
|
1904
|
-
this.
|
|
1905
|
-
this.
|
|
1901
|
+
this.a40_1 = true;
|
|
1902
|
+
this.x3z_1 = null;
|
|
1903
|
+
this.z3z_1 = null;
|
|
1904
|
+
this.c40_1 = 0;
|
|
1905
|
+
this.b40_1 = 0;
|
|
1906
1906
|
};
|
|
1907
1907
|
function get_CharArrayPool() {
|
|
1908
1908
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1912,13 +1912,13 @@ var CharArrayPool;
|
|
|
1912
1912
|
function CharArrayPool$1() {
|
|
1913
1913
|
NoPoolImpl.call(this);
|
|
1914
1914
|
}
|
|
1915
|
-
protoOf(CharArrayPool$1).
|
|
1915
|
+
protoOf(CharArrayPool$1).z37 = function () {
|
|
1916
1916
|
return charArray(2048);
|
|
1917
1917
|
};
|
|
1918
1918
|
function CharArrayPool$2() {
|
|
1919
1919
|
DefaultPool.call(this, 4096);
|
|
1920
1920
|
}
|
|
1921
|
-
protoOf(CharArrayPool$2).
|
|
1921
|
+
protoOf(CharArrayPool$2).s37 = function () {
|
|
1922
1922
|
return charArray(2048);
|
|
1923
1923
|
};
|
|
1924
1924
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2109,20 +2109,20 @@ function numberFormatException_0(cs, idx) {
|
|
|
2109
2109
|
}
|
|
2110
2110
|
function DefaultHttpMethods$lambda(it) {
|
|
2111
2111
|
_init_properties_Chars_kt__d3i39x();
|
|
2112
|
-
return it.
|
|
2112
|
+
return it.l3r_1.length;
|
|
2113
2113
|
}
|
|
2114
2114
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2115
2115
|
_init_properties_Chars_kt__d3i39x();
|
|
2116
|
-
return new Char(charCodeAt(m.
|
|
2116
|
+
return new Char(charCodeAt(m.l3r_1, idx));
|
|
2117
2117
|
}
|
|
2118
2118
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2119
2119
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2120
2120
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2121
2121
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2122
2122
|
var tmp = Companion_instance;
|
|
2123
|
-
var tmp_0 = Companion_getInstance().
|
|
2123
|
+
var tmp_0 = Companion_getInstance().k3r_1;
|
|
2124
2124
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2125
|
-
DefaultHttpMethods = tmp.
|
|
2125
|
+
DefaultHttpMethods = tmp.v44(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2126
2126
|
// Inline function 'kotlin.collections.map' call
|
|
2127
2127
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2128
2128
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2223,11 +2223,11 @@ function UnsupportedMediaTypeExceptionCIO(message) {
|
|
|
2223
2223
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2224
2224
|
}
|
|
2225
2225
|
function MutableRange(start, end) {
|
|
2226
|
-
this.
|
|
2227
|
-
this.
|
|
2226
|
+
this.q41_1 = start;
|
|
2227
|
+
this.r41_1 = end;
|
|
2228
2228
|
}
|
|
2229
2229
|
protoOf(MutableRange).toString = function () {
|
|
2230
|
-
return 'MutableRange(start=' + this.
|
|
2230
|
+
return 'MutableRange(start=' + this.q41_1 + ', end=' + this.r41_1 + ')';
|
|
2231
2231
|
};
|
|
2232
2232
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2233
2233
|
var index = start;
|