@solibo/solibo-sdk 1.6.7 → 1.6.8
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 +77 -77
- package/KotlinBigInteger-bignum.mjs +1099 -1099
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +4 -4
- package/cryptography-kotlin-cryptography-bigint.mjs +26 -26
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +136 -136
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +118 -118
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +246 -246
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/kotlin-kotlin-stdlib.mjs +20 -20
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1053 -1053
- package/ktor-ktor-client-auth.mjs +230 -230
- package/ktor-ktor-client-content-negotiation.mjs +111 -111
- package/ktor-ktor-client-core.mjs +1265 -1260
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-encoding.mjs +81 -81
- package/ktor-ktor-client-logging.mjs +522 -522
- package/ktor-ktor-client-mock.mjs +39 -39
- package/ktor-ktor-serialization-kotlinx-json.mjs +5 -5
- package/ktor-ktor-serialization-kotlinx.mjs +93 -93
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +25808 -25808
- package/solibo-sdk-sdk.mjs +2946 -2901
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -259,12 +259,12 @@ function Default_getInstance() {
|
|
|
259
259
|
}
|
|
260
260
|
function Json(configuration, serializersModule) {
|
|
261
261
|
Default_getInstance();
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
262
|
+
this.s6a_1 = configuration;
|
|
263
|
+
this.t6a_1 = serializersModule;
|
|
264
|
+
this.u6a_1 = new DescriptorSchemaCache();
|
|
265
265
|
}
|
|
266
266
|
protoOf(Json).mt = function () {
|
|
267
|
-
return this.
|
|
267
|
+
return this.t6a_1;
|
|
268
268
|
};
|
|
269
269
|
protoOf(Json).iu = function (serializer, value) {
|
|
270
270
|
var result = new JsonToStringWriter();
|
|
@@ -279,60 +279,60 @@ protoOf(Json).ju = function (deserializer, string) {
|
|
|
279
279
|
var lexer = StringJsonLexer_0(this, string);
|
|
280
280
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.bt(), null);
|
|
281
281
|
var result = input.qt(deserializer);
|
|
282
|
-
lexer.
|
|
282
|
+
lexer.j6b();
|
|
283
283
|
return result;
|
|
284
284
|
};
|
|
285
|
-
protoOf(Json).
|
|
285
|
+
protoOf(Json).v6a = function (string) {
|
|
286
286
|
return this.ju(JsonElementSerializer_getInstance(), string);
|
|
287
287
|
};
|
|
288
288
|
function Json_0(from, builderAction) {
|
|
289
289
|
from = from === VOID ? Default_getInstance() : from;
|
|
290
290
|
var builder = new JsonBuilder(from);
|
|
291
291
|
builderAction(builder);
|
|
292
|
-
var conf = builder.
|
|
293
|
-
return new JsonImpl(conf, builder.
|
|
292
|
+
var conf = builder.c6c();
|
|
293
|
+
return new JsonImpl(conf, builder.b6c_1);
|
|
294
294
|
}
|
|
295
295
|
function JsonBuilder(json) {
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
}
|
|
315
|
-
protoOf(JsonBuilder).
|
|
316
|
-
if (this.
|
|
296
|
+
this.k6b_1 = json.s6a_1.d6c_1;
|
|
297
|
+
this.l6b_1 = json.s6a_1.i6c_1;
|
|
298
|
+
this.m6b_1 = json.s6a_1.e6c_1;
|
|
299
|
+
this.n6b_1 = json.s6a_1.f6c_1;
|
|
300
|
+
this.o6b_1 = json.s6a_1.h6c_1;
|
|
301
|
+
this.p6b_1 = json.s6a_1.j6c_1;
|
|
302
|
+
this.q6b_1 = json.s6a_1.k6c_1;
|
|
303
|
+
this.r6b_1 = json.s6a_1.m6c_1;
|
|
304
|
+
this.s6b_1 = json.s6a_1.t6c_1;
|
|
305
|
+
this.t6b_1 = json.s6a_1.o6c_1;
|
|
306
|
+
this.u6b_1 = json.s6a_1.p6c_1;
|
|
307
|
+
this.v6b_1 = json.s6a_1.q6c_1;
|
|
308
|
+
this.w6b_1 = json.s6a_1.r6c_1;
|
|
309
|
+
this.x6b_1 = json.s6a_1.s6c_1;
|
|
310
|
+
this.y6b_1 = json.s6a_1.n6c_1;
|
|
311
|
+
this.z6b_1 = json.s6a_1.g6c_1;
|
|
312
|
+
this.a6c_1 = json.s6a_1.l6c_1;
|
|
313
|
+
this.b6c_1 = json.mt();
|
|
314
|
+
}
|
|
315
|
+
protoOf(JsonBuilder).c6c = function () {
|
|
316
|
+
if (this.a6c_1) {
|
|
317
317
|
// Inline function 'kotlin.require' call
|
|
318
|
-
if (!(this.
|
|
318
|
+
if (!(this.r6b_1 === 'type')) {
|
|
319
319
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
320
320
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
321
321
|
}
|
|
322
322
|
// Inline function 'kotlin.require' call
|
|
323
|
-
if (!this.
|
|
323
|
+
if (!this.s6b_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
324
324
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
325
325
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
if (!this.
|
|
328
|
+
if (!this.o6b_1) {
|
|
329
329
|
// Inline function 'kotlin.require' call
|
|
330
|
-
if (!(this.
|
|
330
|
+
if (!(this.p6b_1 === ' ')) {
|
|
331
331
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
332
332
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
333
333
|
}
|
|
334
|
-
} else if (!(this.
|
|
335
|
-
var tmp0 = this.
|
|
334
|
+
} else if (!(this.p6b_1 === ' ')) {
|
|
335
|
+
var tmp0 = this.p6b_1;
|
|
336
336
|
var tmp$ret$6;
|
|
337
337
|
$l$block: {
|
|
338
338
|
// Inline function 'kotlin.text.all' call
|
|
@@ -350,16 +350,16 @@ protoOf(JsonBuilder).b6c = function () {
|
|
|
350
350
|
var allWhitespaces = tmp$ret$6;
|
|
351
351
|
// Inline function 'kotlin.require' call
|
|
352
352
|
if (!allWhitespaces) {
|
|
353
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
353
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.p6b_1;
|
|
354
354
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
return new JsonConfiguration(this.
|
|
357
|
+
return new JsonConfiguration(this.k6b_1, this.m6b_1, this.n6b_1, this.z6b_1, this.o6b_1, this.l6b_1, this.p6b_1, this.q6b_1, this.a6c_1, this.r6b_1, this.y6b_1, this.t6b_1, this.u6b_1, this.v6b_1, this.w6b_1, this.x6b_1, this.s6b_1);
|
|
358
358
|
};
|
|
359
359
|
function validateConfiguration($this) {
|
|
360
360
|
if (equals($this.mt(), EmptySerializersModule()))
|
|
361
361
|
return Unit_instance;
|
|
362
|
-
var collector = new JsonSerializersModuleValidator($this.
|
|
362
|
+
var collector = new JsonSerializersModuleValidator($this.s6a_1);
|
|
363
363
|
$this.mt().q1d(collector);
|
|
364
364
|
}
|
|
365
365
|
function JsonImpl(configuration, module_0) {
|
|
@@ -390,26 +390,26 @@ function JsonConfiguration(encodeDefaults, ignoreUnknownKeys, isLenient, allowSt
|
|
|
390
390
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
391
391
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
392
392
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
393
|
+
this.d6c_1 = encodeDefaults;
|
|
394
|
+
this.e6c_1 = ignoreUnknownKeys;
|
|
395
|
+
this.f6c_1 = isLenient;
|
|
396
|
+
this.g6c_1 = allowStructuredMapKeys;
|
|
397
|
+
this.h6c_1 = prettyPrint;
|
|
398
|
+
this.i6c_1 = explicitNulls;
|
|
399
|
+
this.j6c_1 = prettyPrintIndent;
|
|
400
|
+
this.k6c_1 = coerceInputValues;
|
|
401
|
+
this.l6c_1 = useArrayPolymorphism;
|
|
402
|
+
this.m6c_1 = classDiscriminator;
|
|
403
|
+
this.n6c_1 = allowSpecialFloatingPointValues;
|
|
404
|
+
this.o6c_1 = useAlternativeNames;
|
|
405
|
+
this.p6c_1 = namingStrategy;
|
|
406
|
+
this.q6c_1 = decodeEnumsCaseInsensitive;
|
|
407
|
+
this.r6c_1 = allowTrailingComma;
|
|
408
|
+
this.s6c_1 = allowComments;
|
|
409
|
+
this.t6c_1 = classDiscriminatorMode;
|
|
410
410
|
}
|
|
411
411
|
protoOf(JsonConfiguration).toString = function () {
|
|
412
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
412
|
+
return 'JsonConfiguration(encodeDefaults=' + this.d6c_1 + ', ignoreUnknownKeys=' + this.e6c_1 + ', isLenient=' + this.f6c_1 + ', ' + ('allowStructuredMapKeys=' + this.g6c_1 + ', prettyPrint=' + this.h6c_1 + ', explicitNulls=' + this.i6c_1 + ', ') + ("prettyPrintIndent='" + this.j6c_1 + "', coerceInputValues=" + this.k6c_1 + ', useArrayPolymorphism=' + this.l6c_1 + ', ') + ("classDiscriminator='" + this.m6c_1 + "', allowSpecialFloatingPointValues=" + this.n6c_1 + ', ') + ('useAlternativeNames=' + this.o6c_1 + ', namingStrategy=' + toString_0(this.p6c_1) + ', decodeEnumsCaseInsensitive=' + this.q6c_1 + ', ') + ('allowTrailingComma=' + this.r6c_1 + ', allowComments=' + this.s6c_1 + ', classDiscriminatorMode=' + this.t6c_1.toString() + ')');
|
|
413
413
|
};
|
|
414
414
|
var ClassDiscriminatorMode_NONE_instance;
|
|
415
415
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -482,39 +482,39 @@ function JsonObject$toString$lambda(_destruct__k2r9zo) {
|
|
|
482
482
|
}
|
|
483
483
|
function JsonObject(content) {
|
|
484
484
|
JsonElement.call(this);
|
|
485
|
-
this.
|
|
485
|
+
this.x6c_1 = content;
|
|
486
486
|
}
|
|
487
487
|
protoOf(JsonObject).equals = function (other) {
|
|
488
|
-
return equals(this.
|
|
488
|
+
return equals(this.x6c_1, other);
|
|
489
489
|
};
|
|
490
490
|
protoOf(JsonObject).hashCode = function () {
|
|
491
|
-
return hashCode(this.
|
|
491
|
+
return hashCode(this.x6c_1);
|
|
492
492
|
};
|
|
493
493
|
protoOf(JsonObject).toString = function () {
|
|
494
|
-
var tmp = this.
|
|
494
|
+
var tmp = this.x6c_1.l1();
|
|
495
495
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
496
496
|
};
|
|
497
497
|
protoOf(JsonObject).r = function () {
|
|
498
|
-
return this.
|
|
498
|
+
return this.x6c_1.r();
|
|
499
499
|
};
|
|
500
500
|
protoOf(JsonObject).z3b = function (key) {
|
|
501
|
-
return this.
|
|
501
|
+
return this.x6c_1.x2(key);
|
|
502
502
|
};
|
|
503
503
|
protoOf(JsonObject).x2 = function (key) {
|
|
504
504
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
505
505
|
return false;
|
|
506
506
|
return this.z3b((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
507
507
|
};
|
|
508
|
-
protoOf(JsonObject).
|
|
509
|
-
return this.
|
|
508
|
+
protoOf(JsonObject).y6c = function (value) {
|
|
509
|
+
return this.x6c_1.y2(value);
|
|
510
510
|
};
|
|
511
511
|
protoOf(JsonObject).y2 = function (value) {
|
|
512
512
|
if (!(value instanceof JsonElement))
|
|
513
513
|
return false;
|
|
514
|
-
return this.
|
|
514
|
+
return this.y6c(value instanceof JsonElement ? value : THROW_CCE());
|
|
515
515
|
};
|
|
516
516
|
protoOf(JsonObject).ee = function (key) {
|
|
517
|
-
return this.
|
|
517
|
+
return this.x6c_1.z2(key);
|
|
518
518
|
};
|
|
519
519
|
protoOf(JsonObject).z2 = function (key) {
|
|
520
520
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
@@ -522,19 +522,19 @@ protoOf(JsonObject).z2 = function (key) {
|
|
|
522
522
|
return this.ee((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
523
523
|
};
|
|
524
524
|
protoOf(JsonObject).asJsReadonlyMapView = function () {
|
|
525
|
-
return this.
|
|
525
|
+
return this.x6c_1.asJsReadonlyMapView();
|
|
526
526
|
};
|
|
527
527
|
protoOf(JsonObject).g1 = function () {
|
|
528
|
-
return this.
|
|
528
|
+
return this.x6c_1.g1();
|
|
529
529
|
};
|
|
530
530
|
protoOf(JsonObject).a3 = function () {
|
|
531
|
-
return this.
|
|
531
|
+
return this.x6c_1.a3();
|
|
532
532
|
};
|
|
533
533
|
protoOf(JsonObject).b3 = function () {
|
|
534
|
-
return this.
|
|
534
|
+
return this.x6c_1.b3();
|
|
535
535
|
};
|
|
536
536
|
protoOf(JsonObject).l1 = function () {
|
|
537
|
-
return this.
|
|
537
|
+
return this.x6c_1.l1();
|
|
538
538
|
};
|
|
539
539
|
function Companion_2() {
|
|
540
540
|
}
|
|
@@ -544,87 +544,87 @@ function Companion_getInstance_6() {
|
|
|
544
544
|
}
|
|
545
545
|
function JsonArray(content) {
|
|
546
546
|
JsonElement.call(this);
|
|
547
|
-
this.
|
|
547
|
+
this.z6c_1 = content;
|
|
548
548
|
}
|
|
549
549
|
protoOf(JsonArray).equals = function (other) {
|
|
550
|
-
return equals(this.
|
|
550
|
+
return equals(this.z6c_1, other);
|
|
551
551
|
};
|
|
552
552
|
protoOf(JsonArray).hashCode = function () {
|
|
553
|
-
return hashCode(this.
|
|
553
|
+
return hashCode(this.z6c_1);
|
|
554
554
|
};
|
|
555
555
|
protoOf(JsonArray).toString = function () {
|
|
556
|
-
return joinToString(this.
|
|
556
|
+
return joinToString(this.z6c_1, ',', '[', ']');
|
|
557
557
|
};
|
|
558
558
|
protoOf(JsonArray).r = function () {
|
|
559
|
-
return this.
|
|
559
|
+
return this.z6c_1.r();
|
|
560
560
|
};
|
|
561
|
-
protoOf(JsonArray).
|
|
562
|
-
return this.
|
|
561
|
+
protoOf(JsonArray).a6d = function (element) {
|
|
562
|
+
return this.z6c_1.q2(element);
|
|
563
563
|
};
|
|
564
564
|
protoOf(JsonArray).q2 = function (element) {
|
|
565
565
|
if (!(element instanceof JsonElement))
|
|
566
566
|
return false;
|
|
567
|
-
return this.
|
|
567
|
+
return this.a6d(element instanceof JsonElement ? element : THROW_CCE());
|
|
568
568
|
};
|
|
569
569
|
protoOf(JsonArray).t = function () {
|
|
570
|
-
return this.
|
|
570
|
+
return this.z6c_1.t();
|
|
571
571
|
};
|
|
572
|
-
protoOf(JsonArray).
|
|
573
|
-
return this.
|
|
572
|
+
protoOf(JsonArray).b6d = function (elements) {
|
|
573
|
+
return this.z6c_1.r2(elements);
|
|
574
574
|
};
|
|
575
575
|
protoOf(JsonArray).r2 = function (elements) {
|
|
576
|
-
return this.
|
|
576
|
+
return this.b6d(elements);
|
|
577
577
|
};
|
|
578
578
|
protoOf(JsonArray).h1 = function (index) {
|
|
579
|
-
return this.
|
|
579
|
+
return this.z6c_1.h1(index);
|
|
580
580
|
};
|
|
581
|
-
protoOf(JsonArray).
|
|
582
|
-
return this.
|
|
581
|
+
protoOf(JsonArray).c6d = function (element) {
|
|
582
|
+
return this.z6c_1.s2(element);
|
|
583
583
|
};
|
|
584
584
|
protoOf(JsonArray).s2 = function (element) {
|
|
585
585
|
if (!(element instanceof JsonElement))
|
|
586
586
|
return -1;
|
|
587
|
-
return this.
|
|
587
|
+
return this.c6d(element instanceof JsonElement ? element : THROW_CCE());
|
|
588
588
|
};
|
|
589
|
-
protoOf(JsonArray).
|
|
590
|
-
return this.
|
|
589
|
+
protoOf(JsonArray).d6d = function (element) {
|
|
590
|
+
return this.z6c_1.t2(element);
|
|
591
591
|
};
|
|
592
592
|
protoOf(JsonArray).t2 = function (element) {
|
|
593
593
|
if (!(element instanceof JsonElement))
|
|
594
594
|
return -1;
|
|
595
|
-
return this.
|
|
595
|
+
return this.d6d(element instanceof JsonElement ? element : THROW_CCE());
|
|
596
596
|
};
|
|
597
597
|
protoOf(JsonArray).u2 = function () {
|
|
598
|
-
return this.
|
|
598
|
+
return this.z6c_1.u2();
|
|
599
599
|
};
|
|
600
600
|
protoOf(JsonArray).i1 = function (index) {
|
|
601
|
-
return this.
|
|
601
|
+
return this.z6c_1.i1(index);
|
|
602
602
|
};
|
|
603
603
|
protoOf(JsonArray).v2 = function (fromIndex, toIndex) {
|
|
604
|
-
return this.
|
|
604
|
+
return this.z6c_1.v2(fromIndex, toIndex);
|
|
605
605
|
};
|
|
606
606
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
607
|
-
return this.
|
|
607
|
+
return this.z6c_1.asJsReadonlyArrayView();
|
|
608
608
|
};
|
|
609
609
|
protoOf(JsonArray).g1 = function () {
|
|
610
|
-
return this.
|
|
610
|
+
return this.z6c_1.g1();
|
|
611
611
|
};
|
|
612
612
|
function JsonNull() {
|
|
613
613
|
JsonNull_instance = this;
|
|
614
614
|
JsonPrimitive.call(this);
|
|
615
|
-
this.
|
|
615
|
+
this.e6d_1 = 'null';
|
|
616
616
|
}
|
|
617
|
-
protoOf(JsonNull).
|
|
617
|
+
protoOf(JsonNull).w6c = function () {
|
|
618
618
|
return false;
|
|
619
619
|
};
|
|
620
620
|
protoOf(JsonNull).g4k = function () {
|
|
621
|
-
return this.
|
|
621
|
+
return this.e6d_1;
|
|
622
622
|
};
|
|
623
|
-
protoOf(JsonNull).
|
|
623
|
+
protoOf(JsonNull).f6d = function () {
|
|
624
624
|
return JsonNullSerializer_getInstance();
|
|
625
625
|
};
|
|
626
626
|
protoOf(JsonNull).h15 = function (typeParamsSerializers) {
|
|
627
|
-
return this.
|
|
627
|
+
return this.f6d();
|
|
628
628
|
};
|
|
629
629
|
var JsonNull_instance;
|
|
630
630
|
function JsonNull_getInstance() {
|
|
@@ -635,34 +635,34 @@ function JsonNull_getInstance() {
|
|
|
635
635
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
636
636
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
637
637
|
JsonPrimitive.call(this);
|
|
638
|
-
this.
|
|
639
|
-
this.
|
|
640
|
-
this.
|
|
641
|
-
if (!(this.
|
|
638
|
+
this.g6d_1 = isString;
|
|
639
|
+
this.h6d_1 = coerceToInlineType;
|
|
640
|
+
this.i6d_1 = toString(body);
|
|
641
|
+
if (!(this.h6d_1 == null)) {
|
|
642
642
|
// Inline function 'kotlin.require' call
|
|
643
643
|
// Inline function 'kotlin.require' call
|
|
644
|
-
if (!this.
|
|
644
|
+
if (!this.h6d_1.av()) {
|
|
645
645
|
var message = 'Failed requirement.';
|
|
646
646
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
protoOf(JsonLiteral).
|
|
651
|
-
return this.
|
|
650
|
+
protoOf(JsonLiteral).w6c = function () {
|
|
651
|
+
return this.g6d_1;
|
|
652
652
|
};
|
|
653
653
|
protoOf(JsonLiteral).g4k = function () {
|
|
654
|
-
return this.
|
|
654
|
+
return this.i6d_1;
|
|
655
655
|
};
|
|
656
656
|
protoOf(JsonLiteral).toString = function () {
|
|
657
657
|
var tmp;
|
|
658
|
-
if (this.
|
|
658
|
+
if (this.g6d_1) {
|
|
659
659
|
// Inline function 'kotlin.text.buildString' call
|
|
660
660
|
// Inline function 'kotlin.apply' call
|
|
661
661
|
var this_0 = StringBuilder_init_$Create$();
|
|
662
|
-
printQuoted(this_0, this.
|
|
662
|
+
printQuoted(this_0, this.i6d_1);
|
|
663
663
|
tmp = this_0.toString();
|
|
664
664
|
} else {
|
|
665
|
-
tmp = this.
|
|
665
|
+
tmp = this.i6d_1;
|
|
666
666
|
}
|
|
667
667
|
return tmp;
|
|
668
668
|
};
|
|
@@ -673,15 +673,15 @@ protoOf(JsonLiteral).equals = function (other) {
|
|
|
673
673
|
return false;
|
|
674
674
|
if (!(other instanceof JsonLiteral))
|
|
675
675
|
THROW_CCE();
|
|
676
|
-
if (!(this.
|
|
676
|
+
if (!(this.g6d_1 === other.g6d_1))
|
|
677
677
|
return false;
|
|
678
|
-
if (!(this.
|
|
678
|
+
if (!(this.i6d_1 === other.i6d_1))
|
|
679
679
|
return false;
|
|
680
680
|
return true;
|
|
681
681
|
};
|
|
682
682
|
protoOf(JsonLiteral).hashCode = function () {
|
|
683
|
-
var result = getBooleanHashCode(this.
|
|
684
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
683
|
+
var result = getBooleanHashCode(this.g6d_1);
|
|
684
|
+
result = imul(31, result) + getStringHashCode(this.i6d_1) | 0;
|
|
685
685
|
return result;
|
|
686
686
|
};
|
|
687
687
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
@@ -690,7 +690,7 @@ function get_booleanOrNull(_this__u8e3s4) {
|
|
|
690
690
|
}
|
|
691
691
|
function parseLongImpl(_this__u8e3s4) {
|
|
692
692
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
693
|
-
return (new StringJsonLexer(_this__u8e3s4.g4k())).
|
|
693
|
+
return (new StringJsonLexer(_this__u8e3s4.g4k())).j6d();
|
|
694
694
|
}
|
|
695
695
|
function get_float(_this__u8e3s4) {
|
|
696
696
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -756,13 +756,13 @@ function _init_properties_JsonElement_kt__7cbdc2() {
|
|
|
756
756
|
function JsonObjectBuilder() {
|
|
757
757
|
var tmp = this;
|
|
758
758
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
759
|
-
tmp.
|
|
759
|
+
tmp.k6d_1 = LinkedHashMap_init_$Create$();
|
|
760
760
|
}
|
|
761
|
-
protoOf(JsonObjectBuilder).
|
|
762
|
-
return this.
|
|
761
|
+
protoOf(JsonObjectBuilder).l6d = function (key, element) {
|
|
762
|
+
return this.k6d_1.c3(key, element);
|
|
763
763
|
};
|
|
764
|
-
protoOf(JsonObjectBuilder).
|
|
765
|
-
return new JsonObject(this.
|
|
764
|
+
protoOf(JsonObjectBuilder).c6c = function () {
|
|
765
|
+
return new JsonObject(this.k6d_1);
|
|
766
766
|
};
|
|
767
767
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
768
768
|
$this$buildSerialDescriptor.ut('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
@@ -773,30 +773,30 @@ function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
|
773
773
|
return Unit_instance;
|
|
774
774
|
}
|
|
775
775
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
776
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
776
|
+
return JsonPrimitiveSerializer_getInstance().m6d_1;
|
|
777
777
|
}
|
|
778
778
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
779
|
-
return JsonNullSerializer_getInstance().
|
|
779
|
+
return JsonNullSerializer_getInstance().n6d_1;
|
|
780
780
|
}
|
|
781
781
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
782
|
-
return JsonLiteralSerializer_getInstance().
|
|
782
|
+
return JsonLiteralSerializer_getInstance().o6d_1;
|
|
783
783
|
}
|
|
784
784
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
785
|
-
return JsonObjectSerializer_getInstance().
|
|
785
|
+
return JsonObjectSerializer_getInstance().p6d_1;
|
|
786
786
|
}
|
|
787
787
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
788
|
-
return JsonArraySerializer_getInstance().
|
|
788
|
+
return JsonArraySerializer_getInstance().q6d_1;
|
|
789
789
|
}
|
|
790
790
|
function JsonElementSerializer() {
|
|
791
791
|
JsonElementSerializer_instance = this;
|
|
792
792
|
var tmp = this;
|
|
793
793
|
var tmp_0 = SEALED_getInstance();
|
|
794
|
-
tmp.
|
|
794
|
+
tmp.r6d_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
795
795
|
}
|
|
796
796
|
protoOf(JsonElementSerializer).bt = function () {
|
|
797
|
-
return this.
|
|
797
|
+
return this.r6d_1;
|
|
798
798
|
};
|
|
799
|
-
protoOf(JsonElementSerializer).
|
|
799
|
+
protoOf(JsonElementSerializer).s6d = function (encoder, value) {
|
|
800
800
|
verify(encoder);
|
|
801
801
|
if (value instanceof JsonPrimitive) {
|
|
802
802
|
encoder.nt(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -813,11 +813,11 @@ protoOf(JsonElementSerializer).r6d = function (encoder, value) {
|
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
815
|
protoOf(JsonElementSerializer).ot = function (encoder, value) {
|
|
816
|
-
return this.
|
|
816
|
+
return this.s6d(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
817
817
|
};
|
|
818
818
|
protoOf(JsonElementSerializer).pt = function (decoder) {
|
|
819
819
|
var input = asJsonDecoder(decoder);
|
|
820
|
-
return input.
|
|
820
|
+
return input.v6c();
|
|
821
821
|
};
|
|
822
822
|
var JsonElementSerializer_instance;
|
|
823
823
|
function JsonElementSerializer_getInstance() {
|
|
@@ -830,12 +830,12 @@ function defer(deferred) {
|
|
|
830
830
|
}
|
|
831
831
|
function JsonPrimitiveSerializer() {
|
|
832
832
|
JsonPrimitiveSerializer_instance = this;
|
|
833
|
-
this.
|
|
833
|
+
this.m6d_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
834
834
|
}
|
|
835
835
|
protoOf(JsonPrimitiveSerializer).bt = function () {
|
|
836
|
-
return this.
|
|
836
|
+
return this.m6d_1;
|
|
837
837
|
};
|
|
838
|
-
protoOf(JsonPrimitiveSerializer).
|
|
838
|
+
protoOf(JsonPrimitiveSerializer).t6d = function (encoder, value) {
|
|
839
839
|
verify(encoder);
|
|
840
840
|
var tmp;
|
|
841
841
|
if (value instanceof JsonNull) {
|
|
@@ -849,10 +849,10 @@ protoOf(JsonPrimitiveSerializer).s6d = function (encoder, value) {
|
|
|
849
849
|
return tmp;
|
|
850
850
|
};
|
|
851
851
|
protoOf(JsonPrimitiveSerializer).ot = function (encoder, value) {
|
|
852
|
-
return this.
|
|
852
|
+
return this.t6d(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
853
853
|
};
|
|
854
854
|
protoOf(JsonPrimitiveSerializer).pt = function (decoder) {
|
|
855
|
-
var result = asJsonDecoder(decoder).
|
|
855
|
+
var result = asJsonDecoder(decoder).v6c();
|
|
856
856
|
if (!(result instanceof JsonPrimitive))
|
|
857
857
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
858
858
|
return result;
|
|
@@ -865,17 +865,17 @@ function JsonPrimitiveSerializer_getInstance() {
|
|
|
865
865
|
}
|
|
866
866
|
function JsonNullSerializer() {
|
|
867
867
|
JsonNullSerializer_instance = this;
|
|
868
|
-
this.
|
|
868
|
+
this.n6d_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
869
869
|
}
|
|
870
870
|
protoOf(JsonNullSerializer).bt = function () {
|
|
871
|
-
return this.
|
|
871
|
+
return this.n6d_1;
|
|
872
872
|
};
|
|
873
|
-
protoOf(JsonNullSerializer).
|
|
873
|
+
protoOf(JsonNullSerializer).u6d = function (encoder, value) {
|
|
874
874
|
verify(encoder);
|
|
875
875
|
encoder.lx();
|
|
876
876
|
};
|
|
877
877
|
protoOf(JsonNullSerializer).ot = function (encoder, value) {
|
|
878
|
-
return this.
|
|
878
|
+
return this.u6d(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
879
879
|
};
|
|
880
880
|
protoOf(JsonNullSerializer).pt = function (decoder) {
|
|
881
881
|
verify_0(decoder);
|
|
@@ -893,27 +893,27 @@ function JsonNullSerializer_getInstance() {
|
|
|
893
893
|
}
|
|
894
894
|
function JsonLiteralSerializer() {
|
|
895
895
|
JsonLiteralSerializer_instance = this;
|
|
896
|
-
this.
|
|
896
|
+
this.o6d_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
897
897
|
}
|
|
898
898
|
protoOf(JsonLiteralSerializer).bt = function () {
|
|
899
|
-
return this.
|
|
899
|
+
return this.o6d_1;
|
|
900
900
|
};
|
|
901
|
-
protoOf(JsonLiteralSerializer).
|
|
901
|
+
protoOf(JsonLiteralSerializer).v6d = function (encoder, value) {
|
|
902
902
|
verify(encoder);
|
|
903
|
-
if (value.
|
|
904
|
-
return encoder.ux(value.
|
|
903
|
+
if (value.g6d_1) {
|
|
904
|
+
return encoder.ux(value.i6d_1);
|
|
905
905
|
}
|
|
906
|
-
if (!(value.
|
|
907
|
-
return encoder.wx(value.
|
|
906
|
+
if (!(value.h6d_1 == null)) {
|
|
907
|
+
return encoder.wx(value.h6d_1).ux(value.i6d_1);
|
|
908
908
|
}
|
|
909
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
909
|
+
var tmp0_safe_receiver = toLongOrNull(value.i6d_1);
|
|
910
910
|
if (tmp0_safe_receiver == null)
|
|
911
911
|
null;
|
|
912
912
|
else {
|
|
913
913
|
// Inline function 'kotlin.let' call
|
|
914
914
|
return encoder.qx(tmp0_safe_receiver);
|
|
915
915
|
}
|
|
916
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
916
|
+
var tmp1_safe_receiver = toULongOrNull(value.i6d_1);
|
|
917
917
|
var tmp = tmp1_safe_receiver;
|
|
918
918
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
919
919
|
null;
|
|
@@ -927,27 +927,27 @@ protoOf(JsonLiteralSerializer).u6d = function (encoder, value) {
|
|
|
927
927
|
tmp_1.qx(tmp$ret$4);
|
|
928
928
|
return Unit_instance;
|
|
929
929
|
}
|
|
930
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
930
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.i6d_1);
|
|
931
931
|
if (tmp2_safe_receiver == null)
|
|
932
932
|
null;
|
|
933
933
|
else {
|
|
934
934
|
// Inline function 'kotlin.let' call
|
|
935
935
|
return encoder.sx(tmp2_safe_receiver);
|
|
936
936
|
}
|
|
937
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
937
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.i6d_1);
|
|
938
938
|
if (tmp3_safe_receiver == null)
|
|
939
939
|
null;
|
|
940
940
|
else {
|
|
941
941
|
// Inline function 'kotlin.let' call
|
|
942
942
|
return encoder.mx(tmp3_safe_receiver);
|
|
943
943
|
}
|
|
944
|
-
encoder.ux(value.
|
|
944
|
+
encoder.ux(value.i6d_1);
|
|
945
945
|
};
|
|
946
946
|
protoOf(JsonLiteralSerializer).ot = function (encoder, value) {
|
|
947
|
-
return this.
|
|
947
|
+
return this.v6d(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
948
948
|
};
|
|
949
949
|
protoOf(JsonLiteralSerializer).pt = function (decoder) {
|
|
950
|
-
var result = asJsonDecoder(decoder).
|
|
950
|
+
var result = asJsonDecoder(decoder).v6c();
|
|
951
951
|
if (!(result instanceof JsonLiteral))
|
|
952
952
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
953
953
|
return result;
|
|
@@ -960,41 +960,41 @@ function JsonLiteralSerializer_getInstance() {
|
|
|
960
960
|
}
|
|
961
961
|
function JsonObjectDescriptor() {
|
|
962
962
|
JsonObjectDescriptor_instance = this;
|
|
963
|
-
this.
|
|
964
|
-
this.
|
|
963
|
+
this.w6d_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).bt();
|
|
964
|
+
this.x6d_1 = 'kotlinx.serialization.json.JsonObject';
|
|
965
965
|
}
|
|
966
966
|
protoOf(JsonObjectDescriptor).gu = function () {
|
|
967
|
-
return this.
|
|
967
|
+
return this.x6d_1;
|
|
968
968
|
};
|
|
969
969
|
protoOf(JsonObjectDescriptor).cv = function (index) {
|
|
970
|
-
return this.
|
|
970
|
+
return this.w6d_1.cv(index);
|
|
971
971
|
};
|
|
972
972
|
protoOf(JsonObjectDescriptor).dv = function (name) {
|
|
973
|
-
return this.
|
|
973
|
+
return this.w6d_1.dv(name);
|
|
974
974
|
};
|
|
975
975
|
protoOf(JsonObjectDescriptor).ev = function (index) {
|
|
976
|
-
return this.
|
|
976
|
+
return this.w6d_1.ev(index);
|
|
977
977
|
};
|
|
978
978
|
protoOf(JsonObjectDescriptor).fv = function (index) {
|
|
979
|
-
return this.
|
|
979
|
+
return this.w6d_1.fv(index);
|
|
980
980
|
};
|
|
981
981
|
protoOf(JsonObjectDescriptor).gv = function (index) {
|
|
982
|
-
return this.
|
|
982
|
+
return this.w6d_1.gv(index);
|
|
983
983
|
};
|
|
984
984
|
protoOf(JsonObjectDescriptor).zu = function () {
|
|
985
|
-
return this.
|
|
985
|
+
return this.w6d_1.zu();
|
|
986
986
|
};
|
|
987
987
|
protoOf(JsonObjectDescriptor).su = function () {
|
|
988
|
-
return this.
|
|
988
|
+
return this.w6d_1.su();
|
|
989
989
|
};
|
|
990
990
|
protoOf(JsonObjectDescriptor).av = function () {
|
|
991
|
-
return this.
|
|
991
|
+
return this.w6d_1.av();
|
|
992
992
|
};
|
|
993
993
|
protoOf(JsonObjectDescriptor).bv = function () {
|
|
994
|
-
return this.
|
|
994
|
+
return this.w6d_1.bv();
|
|
995
995
|
};
|
|
996
996
|
protoOf(JsonObjectDescriptor).ct = function () {
|
|
997
|
-
return this.
|
|
997
|
+
return this.w6d_1.ct();
|
|
998
998
|
};
|
|
999
999
|
var JsonObjectDescriptor_instance;
|
|
1000
1000
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -1004,17 +1004,17 @@ function JsonObjectDescriptor_getInstance() {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
function JsonObjectSerializer() {
|
|
1006
1006
|
JsonObjectSerializer_instance = this;
|
|
1007
|
-
this.
|
|
1007
|
+
this.p6d_1 = JsonObjectDescriptor_getInstance();
|
|
1008
1008
|
}
|
|
1009
1009
|
protoOf(JsonObjectSerializer).bt = function () {
|
|
1010
|
-
return this.
|
|
1010
|
+
return this.p6d_1;
|
|
1011
1011
|
};
|
|
1012
|
-
protoOf(JsonObjectSerializer).
|
|
1012
|
+
protoOf(JsonObjectSerializer).y6d = function (encoder, value) {
|
|
1013
1013
|
verify(encoder);
|
|
1014
1014
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ot(encoder, value);
|
|
1015
1015
|
};
|
|
1016
1016
|
protoOf(JsonObjectSerializer).ot = function (encoder, value) {
|
|
1017
|
-
return this.
|
|
1017
|
+
return this.y6d(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
1018
1018
|
};
|
|
1019
1019
|
protoOf(JsonObjectSerializer).pt = function (decoder) {
|
|
1020
1020
|
verify_0(decoder);
|
|
@@ -1028,41 +1028,41 @@ function JsonObjectSerializer_getInstance() {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
function JsonArrayDescriptor() {
|
|
1030
1030
|
JsonArrayDescriptor_instance = this;
|
|
1031
|
-
this.
|
|
1032
|
-
this.
|
|
1031
|
+
this.z6d_1 = ListSerializer(JsonElementSerializer_getInstance()).bt();
|
|
1032
|
+
this.a6e_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1033
1033
|
}
|
|
1034
1034
|
protoOf(JsonArrayDescriptor).gu = function () {
|
|
1035
|
-
return this.
|
|
1035
|
+
return this.a6e_1;
|
|
1036
1036
|
};
|
|
1037
1037
|
protoOf(JsonArrayDescriptor).cv = function (index) {
|
|
1038
|
-
return this.
|
|
1038
|
+
return this.z6d_1.cv(index);
|
|
1039
1039
|
};
|
|
1040
1040
|
protoOf(JsonArrayDescriptor).dv = function (name) {
|
|
1041
|
-
return this.
|
|
1041
|
+
return this.z6d_1.dv(name);
|
|
1042
1042
|
};
|
|
1043
1043
|
protoOf(JsonArrayDescriptor).ev = function (index) {
|
|
1044
|
-
return this.
|
|
1044
|
+
return this.z6d_1.ev(index);
|
|
1045
1045
|
};
|
|
1046
1046
|
protoOf(JsonArrayDescriptor).fv = function (index) {
|
|
1047
|
-
return this.
|
|
1047
|
+
return this.z6d_1.fv(index);
|
|
1048
1048
|
};
|
|
1049
1049
|
protoOf(JsonArrayDescriptor).gv = function (index) {
|
|
1050
|
-
return this.
|
|
1050
|
+
return this.z6d_1.gv(index);
|
|
1051
1051
|
};
|
|
1052
1052
|
protoOf(JsonArrayDescriptor).zu = function () {
|
|
1053
|
-
return this.
|
|
1053
|
+
return this.z6d_1.zu();
|
|
1054
1054
|
};
|
|
1055
1055
|
protoOf(JsonArrayDescriptor).su = function () {
|
|
1056
|
-
return this.
|
|
1056
|
+
return this.z6d_1.su();
|
|
1057
1057
|
};
|
|
1058
1058
|
protoOf(JsonArrayDescriptor).av = function () {
|
|
1059
|
-
return this.
|
|
1059
|
+
return this.z6d_1.av();
|
|
1060
1060
|
};
|
|
1061
1061
|
protoOf(JsonArrayDescriptor).bv = function () {
|
|
1062
|
-
return this.
|
|
1062
|
+
return this.z6d_1.bv();
|
|
1063
1063
|
};
|
|
1064
1064
|
protoOf(JsonArrayDescriptor).ct = function () {
|
|
1065
|
-
return this.
|
|
1065
|
+
return this.z6d_1.ct();
|
|
1066
1066
|
};
|
|
1067
1067
|
var JsonArrayDescriptor_instance;
|
|
1068
1068
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -1072,17 +1072,17 @@ function JsonArrayDescriptor_getInstance() {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
function JsonArraySerializer() {
|
|
1074
1074
|
JsonArraySerializer_instance = this;
|
|
1075
|
-
this.
|
|
1075
|
+
this.q6d_1 = JsonArrayDescriptor_getInstance();
|
|
1076
1076
|
}
|
|
1077
1077
|
protoOf(JsonArraySerializer).bt = function () {
|
|
1078
|
-
return this.
|
|
1078
|
+
return this.q6d_1;
|
|
1079
1079
|
};
|
|
1080
|
-
protoOf(JsonArraySerializer).
|
|
1080
|
+
protoOf(JsonArraySerializer).b6e = function (encoder, value) {
|
|
1081
1081
|
verify(encoder);
|
|
1082
1082
|
ListSerializer(JsonElementSerializer_getInstance()).ot(encoder, value);
|
|
1083
1083
|
};
|
|
1084
1084
|
protoOf(JsonArraySerializer).ot = function (encoder, value) {
|
|
1085
|
-
return this.
|
|
1085
|
+
return this.b6e(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1086
1086
|
};
|
|
1087
1087
|
protoOf(JsonArraySerializer).pt = function (decoder) {
|
|
1088
1088
|
verify_0(decoder);
|
|
@@ -1121,7 +1121,7 @@ function asJsonEncoder(_this__u8e3s4) {
|
|
|
1121
1121
|
return tmp;
|
|
1122
1122
|
}
|
|
1123
1123
|
function _get_original__l7ku1m($this) {
|
|
1124
|
-
var tmp0 = $this.
|
|
1124
|
+
var tmp0 = $this.c6e_1;
|
|
1125
1125
|
var tmp = KProperty1;
|
|
1126
1126
|
// Inline function 'kotlin.getValue' call
|
|
1127
1127
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -1133,7 +1133,7 @@ function defer$o$_get_original_$ref_3cje7k() {
|
|
|
1133
1133
|
};
|
|
1134
1134
|
}
|
|
1135
1135
|
function defer$1($deferred) {
|
|
1136
|
-
this.
|
|
1136
|
+
this.c6e_1 = lazy($deferred);
|
|
1137
1137
|
}
|
|
1138
1138
|
protoOf(defer$1).gu = function () {
|
|
1139
1139
|
return _get_original__l7ku1m(this).gu();
|
|
@@ -1162,155 +1162,155 @@ protoOf(defer$1).gv = function (index) {
|
|
|
1162
1162
|
function JsonEncoder() {
|
|
1163
1163
|
}
|
|
1164
1164
|
function Composer(writer) {
|
|
1165
|
-
this.
|
|
1166
|
-
this.
|
|
1165
|
+
this.d6e_1 = writer;
|
|
1166
|
+
this.e6e_1 = true;
|
|
1167
1167
|
}
|
|
1168
|
-
protoOf(Composer).e6e = function () {
|
|
1169
|
-
this.d6e_1 = true;
|
|
1170
|
-
};
|
|
1171
1168
|
protoOf(Composer).f6e = function () {
|
|
1172
|
-
|
|
1169
|
+
this.e6e_1 = true;
|
|
1173
1170
|
};
|
|
1174
1171
|
protoOf(Composer).g6e = function () {
|
|
1175
|
-
|
|
1172
|
+
return Unit_instance;
|
|
1176
1173
|
};
|
|
1177
1174
|
protoOf(Composer).h6e = function () {
|
|
1178
|
-
this.
|
|
1175
|
+
this.e6e_1 = false;
|
|
1179
1176
|
};
|
|
1180
1177
|
protoOf(Composer).i6e = function () {
|
|
1181
|
-
|
|
1178
|
+
this.e6e_1 = false;
|
|
1182
1179
|
};
|
|
1183
|
-
protoOf(Composer).j6e = function (
|
|
1184
|
-
return
|
|
1180
|
+
protoOf(Composer).j6e = function () {
|
|
1181
|
+
return Unit_instance;
|
|
1185
1182
|
};
|
|
1186
|
-
protoOf(Composer).
|
|
1187
|
-
return this.
|
|
1183
|
+
protoOf(Composer).k6e = function (v) {
|
|
1184
|
+
return this.d6e_1.l6e(v);
|
|
1188
1185
|
};
|
|
1189
|
-
protoOf(Composer).
|
|
1190
|
-
return this.
|
|
1186
|
+
protoOf(Composer).m6e = function (v) {
|
|
1187
|
+
return this.d6e_1.n6e(v);
|
|
1191
1188
|
};
|
|
1192
1189
|
protoOf(Composer).o6e = function (v) {
|
|
1193
|
-
return this.
|
|
1190
|
+
return this.d6e_1.n6e(v.toString());
|
|
1194
1191
|
};
|
|
1195
1192
|
protoOf(Composer).p6e = function (v) {
|
|
1196
|
-
return this.
|
|
1193
|
+
return this.d6e_1.n6e(v.toString());
|
|
1197
1194
|
};
|
|
1198
|
-
protoOf(Composer).
|
|
1199
|
-
return this.
|
|
1195
|
+
protoOf(Composer).q6e = function (v) {
|
|
1196
|
+
return this.d6e_1.r6e(fromInt(v));
|
|
1200
1197
|
};
|
|
1201
1198
|
protoOf(Composer).s6e = function (v) {
|
|
1202
|
-
return this.
|
|
1199
|
+
return this.d6e_1.r6e(fromInt(v));
|
|
1203
1200
|
};
|
|
1204
1201
|
protoOf(Composer).t6e = function (v) {
|
|
1205
|
-
return this.
|
|
1202
|
+
return this.d6e_1.r6e(fromInt(v));
|
|
1206
1203
|
};
|
|
1207
1204
|
protoOf(Composer).u6e = function (v) {
|
|
1208
|
-
return this.
|
|
1205
|
+
return this.d6e_1.r6e(v);
|
|
1206
|
+
};
|
|
1207
|
+
protoOf(Composer).v6e = function (v) {
|
|
1208
|
+
return this.d6e_1.n6e(v.toString());
|
|
1209
1209
|
};
|
|
1210
|
-
protoOf(Composer).
|
|
1211
|
-
return this.
|
|
1210
|
+
protoOf(Composer).w6e = function (value) {
|
|
1211
|
+
return this.d6e_1.x6e(value);
|
|
1212
1212
|
};
|
|
1213
1213
|
function Composer_0(sb, json) {
|
|
1214
|
-
return json.
|
|
1214
|
+
return json.s6a_1.h6c_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1215
1215
|
}
|
|
1216
1216
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1217
1217
|
Composer.call(this, writer);
|
|
1218
|
-
this.
|
|
1218
|
+
this.a6f_1 = forceQuoting;
|
|
1219
1219
|
}
|
|
1220
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1221
|
-
if (this.
|
|
1220
|
+
protoOf(ComposerForUnsignedNumbers).t6e = function (v) {
|
|
1221
|
+
if (this.a6f_1) {
|
|
1222
1222
|
// Inline function 'kotlin.toUInt' call
|
|
1223
1223
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1224
|
-
this.
|
|
1224
|
+
this.w6e(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1225
1225
|
} else {
|
|
1226
1226
|
// Inline function 'kotlin.toUInt' call
|
|
1227
1227
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1228
|
-
this.
|
|
1228
|
+
this.m6e(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1229
1229
|
}
|
|
1230
1230
|
};
|
|
1231
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1232
|
-
if (this.
|
|
1231
|
+
protoOf(ComposerForUnsignedNumbers).u6e = function (v) {
|
|
1232
|
+
if (this.a6f_1) {
|
|
1233
1233
|
// Inline function 'kotlin.toULong' call
|
|
1234
1234
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1235
|
-
this.
|
|
1235
|
+
this.w6e(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1236
1236
|
} else {
|
|
1237
1237
|
// Inline function 'kotlin.toULong' call
|
|
1238
1238
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1239
|
-
this.
|
|
1239
|
+
this.m6e(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1243
|
-
if (this.
|
|
1242
|
+
protoOf(ComposerForUnsignedNumbers).q6e = function (v) {
|
|
1243
|
+
if (this.a6f_1) {
|
|
1244
1244
|
// Inline function 'kotlin.toUByte' call
|
|
1245
1245
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1246
|
-
this.
|
|
1246
|
+
this.w6e(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1247
1247
|
} else {
|
|
1248
1248
|
// Inline function 'kotlin.toUByte' call
|
|
1249
1249
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1250
|
-
this.
|
|
1250
|
+
this.m6e(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1251
1251
|
}
|
|
1252
1252
|
};
|
|
1253
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1254
|
-
if (this.
|
|
1253
|
+
protoOf(ComposerForUnsignedNumbers).s6e = function (v) {
|
|
1254
|
+
if (this.a6f_1) {
|
|
1255
1255
|
// Inline function 'kotlin.toUShort' call
|
|
1256
1256
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1257
|
-
this.
|
|
1257
|
+
this.w6e(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1258
1258
|
} else {
|
|
1259
1259
|
// Inline function 'kotlin.toUShort' call
|
|
1260
1260
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1261
|
-
this.
|
|
1261
|
+
this.m6e(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1262
1262
|
}
|
|
1263
1263
|
};
|
|
1264
1264
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1265
1265
|
Composer.call(this, writer);
|
|
1266
|
-
this.
|
|
1266
|
+
this.d6f_1 = forceQuoting;
|
|
1267
1267
|
}
|
|
1268
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1269
|
-
if (this.
|
|
1270
|
-
protoOf(Composer).
|
|
1268
|
+
protoOf(ComposerForUnquotedLiterals).w6e = function (value) {
|
|
1269
|
+
if (this.d6f_1) {
|
|
1270
|
+
protoOf(Composer).w6e.call(this, value);
|
|
1271
1271
|
} else {
|
|
1272
|
-
protoOf(Composer).
|
|
1272
|
+
protoOf(Composer).m6e.call(this, value);
|
|
1273
1273
|
}
|
|
1274
1274
|
};
|
|
1275
1275
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1276
1276
|
Composer.call(this, writer);
|
|
1277
|
-
this.
|
|
1278
|
-
this.
|
|
1277
|
+
this.g6f_1 = json;
|
|
1278
|
+
this.h6f_1 = 0;
|
|
1279
1279
|
}
|
|
1280
|
-
protoOf(ComposerWithPrettyPrint).e6e = function () {
|
|
1281
|
-
this.d6e_1 = true;
|
|
1282
|
-
this.g6f_1 = this.g6f_1 + 1 | 0;
|
|
1283
|
-
};
|
|
1284
1280
|
protoOf(ComposerWithPrettyPrint).f6e = function () {
|
|
1285
|
-
this.
|
|
1281
|
+
this.e6e_1 = true;
|
|
1282
|
+
this.h6f_1 = this.h6f_1 + 1 | 0;
|
|
1286
1283
|
};
|
|
1287
1284
|
protoOf(ComposerWithPrettyPrint).g6e = function () {
|
|
1288
|
-
this.
|
|
1289
|
-
|
|
1285
|
+
this.h6f_1 = this.h6f_1 - 1 | 0;
|
|
1286
|
+
};
|
|
1287
|
+
protoOf(ComposerWithPrettyPrint).h6e = function () {
|
|
1288
|
+
this.e6e_1 = false;
|
|
1289
|
+
this.m6e('\n');
|
|
1290
1290
|
// Inline function 'kotlin.repeat' call
|
|
1291
|
-
var times = this.
|
|
1291
|
+
var times = this.h6f_1;
|
|
1292
1292
|
var inductionVariable = 0;
|
|
1293
1293
|
if (inductionVariable < times)
|
|
1294
1294
|
do {
|
|
1295
1295
|
var index = inductionVariable;
|
|
1296
1296
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1297
|
-
this.
|
|
1297
|
+
this.m6e(this.g6f_1.s6a_1.j6c_1);
|
|
1298
1298
|
}
|
|
1299
1299
|
while (inductionVariable < times);
|
|
1300
1300
|
};
|
|
1301
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1302
|
-
if (this.
|
|
1303
|
-
this.
|
|
1301
|
+
protoOf(ComposerWithPrettyPrint).i6e = function () {
|
|
1302
|
+
if (this.e6e_1)
|
|
1303
|
+
this.e6e_1 = false;
|
|
1304
1304
|
else {
|
|
1305
|
-
this.
|
|
1305
|
+
this.h6e();
|
|
1306
1306
|
}
|
|
1307
1307
|
};
|
|
1308
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1309
|
-
this.
|
|
1308
|
+
protoOf(ComposerWithPrettyPrint).j6e = function () {
|
|
1309
|
+
this.k6e(_Char___init__impl__6a9atx(32));
|
|
1310
1310
|
};
|
|
1311
1311
|
function readIfAbsent($this, descriptor, index) {
|
|
1312
|
-
$this.
|
|
1313
|
-
return $this.
|
|
1312
|
+
$this.j6f_1 = (!descriptor.gv(index) && descriptor.fv(index).su());
|
|
1313
|
+
return $this.j6f_1;
|
|
1314
1314
|
}
|
|
1315
1315
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
1316
1316
|
var l = function (_this__u8e3s4, p0_0) {
|
|
@@ -1322,14 +1322,14 @@ function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
|
1322
1322
|
}
|
|
1323
1323
|
function JsonElementMarker(descriptor) {
|
|
1324
1324
|
var tmp = this;
|
|
1325
|
-
tmp.
|
|
1326
|
-
this.
|
|
1325
|
+
tmp.i6f_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1326
|
+
this.j6f_1 = false;
|
|
1327
1327
|
}
|
|
1328
|
-
protoOf(JsonElementMarker).
|
|
1329
|
-
this.
|
|
1328
|
+
protoOf(JsonElementMarker).k6f = function (index) {
|
|
1329
|
+
this.i6f_1.x12(index);
|
|
1330
1330
|
};
|
|
1331
|
-
protoOf(JsonElementMarker).
|
|
1332
|
-
return this.
|
|
1331
|
+
protoOf(JsonElementMarker).l6f = function () {
|
|
1332
|
+
return this.i6f_1.y12();
|
|
1333
1333
|
};
|
|
1334
1334
|
function JsonDecodingException(message) {
|
|
1335
1335
|
JsonException.call(this, message);
|
|
@@ -1368,10 +1368,10 @@ function minify(_this__u8e3s4, offset) {
|
|
|
1368
1368
|
}
|
|
1369
1369
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1370
1370
|
entity = entity === VOID ? 'object' : entity;
|
|
1371
|
-
_this__u8e3s4.
|
|
1371
|
+
_this__u8e3s4.m6f('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.f6b_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1372
1372
|
}
|
|
1373
1373
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1374
|
-
_this__u8e3s4.
|
|
1374
|
+
_this__u8e3s4.n6f('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1375
1375
|
}
|
|
1376
1376
|
function JsonEncodingException(message) {
|
|
1377
1377
|
JsonException.call(this, message);
|
|
@@ -1402,7 +1402,7 @@ var JsonSerializationNamesKey;
|
|
|
1402
1402
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
1403
1403
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1404
1404
|
var tmp;
|
|
1405
|
-
if (json.
|
|
1405
|
+
if (json.s6a_1.e6c_1) {
|
|
1406
1406
|
tmp = true;
|
|
1407
1407
|
} else {
|
|
1408
1408
|
var tmp0 = _this__u8e3s4.ct();
|
|
@@ -1447,7 +1447,7 @@ function getJsonNameIndex(_this__u8e3s4, json, name) {
|
|
|
1447
1447
|
var index = _this__u8e3s4.dv(name);
|
|
1448
1448
|
if (!(index === -3))
|
|
1449
1449
|
return index;
|
|
1450
|
-
if (!json.
|
|
1450
|
+
if (!json.s6a_1.o6c_1)
|
|
1451
1451
|
return index;
|
|
1452
1452
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1453
1453
|
}
|
|
@@ -1466,17 +1466,17 @@ function getJsonElementName(_this__u8e3s4, json, index) {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1468
1468
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1469
|
-
return equals(_this__u8e3s4.zu(), CLASS_getInstance()) ? json.
|
|
1469
|
+
return equals(_this__u8e3s4.zu(), CLASS_getInstance()) ? json.s6a_1.p6c_1 : null;
|
|
1470
1470
|
}
|
|
1471
1471
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1472
1472
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1473
1473
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1474
1474
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1475
|
-
return tmp.
|
|
1475
|
+
return tmp.p6f(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1476
1476
|
}
|
|
1477
1477
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1478
1478
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1479
|
-
return _this__u8e3s4.
|
|
1479
|
+
return _this__u8e3s4.s6a_1.q6c_1 && equals(descriptor.zu(), ENUM_getInstance());
|
|
1480
1480
|
}
|
|
1481
1481
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1482
1482
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1487,7 +1487,7 @@ function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
|
1487
1487
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1488
1488
|
var tmp = get_schemaCache(json);
|
|
1489
1489
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1490
|
-
return tmp.
|
|
1490
|
+
return tmp.p6f(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1491
1491
|
}
|
|
1492
1492
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1493
1493
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1513,7 +1513,7 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
}
|
|
1515
1515
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1516
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1516
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q6f_1;
|
|
1517
1517
|
if (tmp1_safe_receiver == null)
|
|
1518
1518
|
null;
|
|
1519
1519
|
else {
|
|
@@ -1540,7 +1540,7 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
|
1540
1540
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1541
1541
|
tmp_0 = _this__u8e3s4.cv(i).toLowerCase();
|
|
1542
1542
|
} else if (!(strategyForClasses == null)) {
|
|
1543
|
-
tmp_0 = strategyForClasses.
|
|
1543
|
+
tmp_0 = strategyForClasses.r6f(_this__u8e3s4, i, _this__u8e3s4.cv(i));
|
|
1544
1544
|
} else {
|
|
1545
1545
|
tmp_0 = null;
|
|
1546
1546
|
}
|
|
@@ -1576,7 +1576,7 @@ function serializationNamesIndices$lambda($this_serializationNamesIndices, $stra
|
|
|
1576
1576
|
while (tmp < tmp_0) {
|
|
1577
1577
|
var tmp_2 = tmp;
|
|
1578
1578
|
var baseName = $this_serializationNamesIndices.cv(tmp_2);
|
|
1579
|
-
tmp_1[tmp_2] = $strategy.
|
|
1579
|
+
tmp_1[tmp_2] = $strategy.r6f($this_serializationNamesIndices, tmp_2, baseName);
|
|
1580
1580
|
tmp = tmp + 1 | 0;
|
|
1581
1581
|
}
|
|
1582
1582
|
return tmp_1;
|
|
@@ -1607,8 +1607,8 @@ function Tombstone_getInstance() {
|
|
|
1607
1607
|
return Tombstone_instance;
|
|
1608
1608
|
}
|
|
1609
1609
|
function resize($this) {
|
|
1610
|
-
var newSize = imul($this.
|
|
1611
|
-
$this.
|
|
1610
|
+
var newSize = imul($this.u6f_1, 2);
|
|
1611
|
+
$this.s6f_1 = copyOf($this.s6f_1, newSize);
|
|
1612
1612
|
var tmp = 0;
|
|
1613
1613
|
var tmp_0 = new Int32Array(newSize);
|
|
1614
1614
|
while (tmp < newSize) {
|
|
@@ -1617,7 +1617,7 @@ function resize($this) {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
var newIndices = tmp_0;
|
|
1619
1619
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1620
|
-
var this_0 = $this.
|
|
1620
|
+
var this_0 = $this.t6f_1;
|
|
1621
1621
|
var endIndex = this_0.length;
|
|
1622
1622
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1623
1623
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1625,12 +1625,12 @@ function resize($this) {
|
|
|
1625
1625
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1626
1626
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1627
1627
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
1628
|
-
$this.
|
|
1628
|
+
$this.t6f_1 = newIndices;
|
|
1629
1629
|
}
|
|
1630
1630
|
function JsonPath() {
|
|
1631
1631
|
var tmp = this;
|
|
1632
1632
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1633
|
-
tmp.
|
|
1633
|
+
tmp.s6f_1 = Array(8);
|
|
1634
1634
|
var tmp_0 = this;
|
|
1635
1635
|
var tmp_1 = 0;
|
|
1636
1636
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1638,71 +1638,71 @@ function JsonPath() {
|
|
|
1638
1638
|
tmp_2[tmp_1] = -1;
|
|
1639
1639
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1640
1640
|
}
|
|
1641
|
-
tmp_0.
|
|
1642
|
-
this.
|
|
1641
|
+
tmp_0.t6f_1 = tmp_2;
|
|
1642
|
+
this.u6f_1 = -1;
|
|
1643
1643
|
}
|
|
1644
|
-
protoOf(JsonPath).
|
|
1645
|
-
this.
|
|
1646
|
-
var depth = this.
|
|
1647
|
-
if (depth === this.
|
|
1644
|
+
protoOf(JsonPath).v6f = function (sd) {
|
|
1645
|
+
this.u6f_1 = this.u6f_1 + 1 | 0;
|
|
1646
|
+
var depth = this.u6f_1;
|
|
1647
|
+
if (depth === this.s6f_1.length) {
|
|
1648
1648
|
resize(this);
|
|
1649
1649
|
}
|
|
1650
|
-
this.
|
|
1650
|
+
this.s6f_1[depth] = sd;
|
|
1651
1651
|
};
|
|
1652
|
-
protoOf(JsonPath).
|
|
1653
|
-
this.
|
|
1652
|
+
protoOf(JsonPath).w6f = function (index) {
|
|
1653
|
+
this.t6f_1[this.u6f_1] = index;
|
|
1654
1654
|
};
|
|
1655
|
-
protoOf(JsonPath).
|
|
1655
|
+
protoOf(JsonPath).x6f = function (key) {
|
|
1656
1656
|
var tmp;
|
|
1657
|
-
if (!(this.
|
|
1658
|
-
this.
|
|
1659
|
-
tmp = this.
|
|
1657
|
+
if (!(this.t6f_1[this.u6f_1] === -2)) {
|
|
1658
|
+
this.u6f_1 = this.u6f_1 + 1 | 0;
|
|
1659
|
+
tmp = this.u6f_1 === this.s6f_1.length;
|
|
1660
1660
|
} else {
|
|
1661
1661
|
tmp = false;
|
|
1662
1662
|
}
|
|
1663
1663
|
if (tmp) {
|
|
1664
1664
|
resize(this);
|
|
1665
1665
|
}
|
|
1666
|
-
this.
|
|
1667
|
-
this.
|
|
1666
|
+
this.s6f_1[this.u6f_1] = key;
|
|
1667
|
+
this.t6f_1[this.u6f_1] = -2;
|
|
1668
1668
|
};
|
|
1669
|
-
protoOf(JsonPath).
|
|
1670
|
-
if (this.
|
|
1671
|
-
this.
|
|
1669
|
+
protoOf(JsonPath).y6f = function () {
|
|
1670
|
+
if (this.t6f_1[this.u6f_1] === -2) {
|
|
1671
|
+
this.s6f_1[this.u6f_1] = Tombstone_instance;
|
|
1672
1672
|
}
|
|
1673
1673
|
};
|
|
1674
|
-
protoOf(JsonPath).
|
|
1675
|
-
var depth = this.
|
|
1676
|
-
if (this.
|
|
1677
|
-
this.
|
|
1678
|
-
this.
|
|
1674
|
+
protoOf(JsonPath).z6f = function () {
|
|
1675
|
+
var depth = this.u6f_1;
|
|
1676
|
+
if (this.t6f_1[depth] === -2) {
|
|
1677
|
+
this.t6f_1[depth] = -1;
|
|
1678
|
+
this.u6f_1 = this.u6f_1 - 1 | 0;
|
|
1679
1679
|
}
|
|
1680
|
-
if (!(this.
|
|
1681
|
-
this.
|
|
1680
|
+
if (!(this.u6f_1 === -1)) {
|
|
1681
|
+
this.u6f_1 = this.u6f_1 - 1 | 0;
|
|
1682
1682
|
}
|
|
1683
1683
|
};
|
|
1684
|
-
protoOf(JsonPath).
|
|
1684
|
+
protoOf(JsonPath).a6g = function () {
|
|
1685
1685
|
// Inline function 'kotlin.text.buildString' call
|
|
1686
1686
|
// Inline function 'kotlin.apply' call
|
|
1687
1687
|
var this_0 = StringBuilder_init_$Create$();
|
|
1688
1688
|
this_0.q('$');
|
|
1689
1689
|
// Inline function 'kotlin.repeat' call
|
|
1690
|
-
var times = this.
|
|
1690
|
+
var times = this.u6f_1 + 1 | 0;
|
|
1691
1691
|
var inductionVariable = 0;
|
|
1692
1692
|
if (inductionVariable < times)
|
|
1693
1693
|
do {
|
|
1694
1694
|
var index = inductionVariable;
|
|
1695
1695
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1696
|
-
var element = this.
|
|
1696
|
+
var element = this.s6f_1[index];
|
|
1697
1697
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1698
1698
|
if (equals(element.zu(), LIST_getInstance())) {
|
|
1699
|
-
if (!(this.
|
|
1699
|
+
if (!(this.t6f_1[index] === -1)) {
|
|
1700
1700
|
this_0.q('[');
|
|
1701
|
-
this_0.cd(this.
|
|
1701
|
+
this_0.cd(this.t6f_1[index]);
|
|
1702
1702
|
this_0.q(']');
|
|
1703
1703
|
}
|
|
1704
1704
|
} else {
|
|
1705
|
-
var idx = this.
|
|
1705
|
+
var idx = this.t6f_1[index];
|
|
1706
1706
|
if (idx >= 0) {
|
|
1707
1707
|
this_0.q('.');
|
|
1708
1708
|
this_0.q(element.cv(idx));
|
|
@@ -1722,7 +1722,7 @@ protoOf(JsonPath).z6f = function () {
|
|
|
1722
1722
|
return this_0.toString();
|
|
1723
1723
|
};
|
|
1724
1724
|
protoOf(JsonPath).toString = function () {
|
|
1725
|
-
return this.
|
|
1725
|
+
return this.a6g();
|
|
1726
1726
|
};
|
|
1727
1727
|
function checkKind($this, descriptor, actualClass) {
|
|
1728
1728
|
var kind = descriptor.zu();
|
|
@@ -1735,9 +1735,9 @@ function checkKind($this, descriptor, actualClass) {
|
|
|
1735
1735
|
if (tmp) {
|
|
1736
1736
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.o() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind.toString() + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
1737
1737
|
}
|
|
1738
|
-
if ($this.
|
|
1738
|
+
if ($this.c6g_1)
|
|
1739
1739
|
return Unit_instance;
|
|
1740
|
-
if (!$this.
|
|
1740
|
+
if (!$this.d6g_1)
|
|
1741
1741
|
return Unit_instance;
|
|
1742
1742
|
var tmp_0;
|
|
1743
1743
|
var tmp_1;
|
|
@@ -1763,23 +1763,23 @@ function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
|
1763
1763
|
var i = inductionVariable;
|
|
1764
1764
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1765
1765
|
var name = descriptor.cv(i);
|
|
1766
|
-
if (name === $this.
|
|
1766
|
+
if (name === $this.b6g_1) {
|
|
1767
1767
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism');
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
1770
|
while (inductionVariable < last);
|
|
1771
1771
|
}
|
|
1772
1772
|
function JsonSerializersModuleValidator(configuration) {
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1775
|
-
this.
|
|
1773
|
+
this.b6g_1 = configuration.m6c_1;
|
|
1774
|
+
this.c6g_1 = configuration.l6c_1;
|
|
1775
|
+
this.d6g_1 = !configuration.t6c_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
1776
1776
|
}
|
|
1777
1777
|
protoOf(JsonSerializersModuleValidator).z1d = function (kClass, provider) {
|
|
1778
1778
|
};
|
|
1779
1779
|
protoOf(JsonSerializersModuleValidator).c1e = function (baseClass, actualClass, actualSerializer) {
|
|
1780
1780
|
var descriptor = actualSerializer.bt();
|
|
1781
1781
|
checkKind(this, descriptor, actualClass);
|
|
1782
|
-
if (!this.
|
|
1782
|
+
if (!this.c6g_1 && this.d6g_1) {
|
|
1783
1783
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1784
1784
|
}
|
|
1785
1785
|
};
|
|
@@ -1797,34 +1797,34 @@ function encodeByWriter(json, writer, serializer, value) {
|
|
|
1797
1797
|
}
|
|
1798
1798
|
function readObject($this) {
|
|
1799
1799
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1800
|
-
var lastToken = $this.
|
|
1801
|
-
if ($this.
|
|
1802
|
-
$this.
|
|
1800
|
+
var lastToken = $this.n6g_1.r6g(6);
|
|
1801
|
+
if ($this.n6g_1.s6g() === 4) {
|
|
1802
|
+
$this.n6g_1.n6f('Unexpected leading comma');
|
|
1803
1803
|
}
|
|
1804
1804
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1805
1805
|
var result = LinkedHashMap_init_$Create$();
|
|
1806
|
-
$l$loop: while ($this.
|
|
1807
|
-
var key = $this.
|
|
1808
|
-
$this.
|
|
1809
|
-
var element = $this.
|
|
1806
|
+
$l$loop: while ($this.n6g_1.t6g()) {
|
|
1807
|
+
var key = $this.o6g_1 ? $this.n6g_1.v6g() : $this.n6g_1.u6g();
|
|
1808
|
+
$this.n6g_1.r6g(5);
|
|
1809
|
+
var element = $this.w6g();
|
|
1810
1810
|
// Inline function 'kotlin.collections.set' call
|
|
1811
1811
|
result.c3(key, element);
|
|
1812
|
-
lastToken = $this.
|
|
1812
|
+
lastToken = $this.n6g_1.x6g();
|
|
1813
1813
|
var tmp0_subject = lastToken;
|
|
1814
1814
|
if (tmp0_subject !== 4)
|
|
1815
1815
|
if (tmp0_subject === 7)
|
|
1816
1816
|
break $l$loop;
|
|
1817
1817
|
else {
|
|
1818
|
-
$this.
|
|
1818
|
+
$this.n6g_1.n6f('Expected end of the object or comma');
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
1821
|
if (lastToken === 6) {
|
|
1822
|
-
$this.
|
|
1822
|
+
$this.n6g_1.r6g(7);
|
|
1823
1823
|
} else if (lastToken === 4) {
|
|
1824
|
-
if (!$this.
|
|
1825
|
-
invalidTrailingComma($this.
|
|
1824
|
+
if (!$this.p6g_1) {
|
|
1825
|
+
invalidTrailingComma($this.n6g_1);
|
|
1826
1826
|
}
|
|
1827
|
-
$this.
|
|
1827
|
+
$this.n6g_1.r6g(7);
|
|
1828
1828
|
}
|
|
1829
1829
|
return new JsonObject(result);
|
|
1830
1830
|
}
|
|
@@ -1835,43 +1835,43 @@ function readObject_0($this, $receiver, $completion) {
|
|
|
1835
1835
|
return tmp.u9();
|
|
1836
1836
|
}
|
|
1837
1837
|
function readArray($this) {
|
|
1838
|
-
var lastToken = $this.
|
|
1839
|
-
if ($this.
|
|
1840
|
-
$this.
|
|
1838
|
+
var lastToken = $this.n6g_1.x6g();
|
|
1839
|
+
if ($this.n6g_1.s6g() === 4) {
|
|
1840
|
+
$this.n6g_1.n6f('Unexpected leading comma');
|
|
1841
1841
|
}
|
|
1842
1842
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1843
1843
|
var result = ArrayList_init_$Create$();
|
|
1844
|
-
while ($this.
|
|
1845
|
-
var element = $this.
|
|
1844
|
+
while ($this.n6g_1.t6g()) {
|
|
1845
|
+
var element = $this.w6g();
|
|
1846
1846
|
result.e1(element);
|
|
1847
|
-
lastToken = $this.
|
|
1847
|
+
lastToken = $this.n6g_1.x6g();
|
|
1848
1848
|
if (!(lastToken === 4)) {
|
|
1849
|
-
var tmp0 = $this.
|
|
1849
|
+
var tmp0 = $this.n6g_1;
|
|
1850
1850
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1851
1851
|
var condition = lastToken === 9;
|
|
1852
|
-
var position = tmp0.
|
|
1852
|
+
var position = tmp0.f6b_1;
|
|
1853
1853
|
if (!condition) {
|
|
1854
1854
|
var tmp$ret$2 = 'Expected end of the array or comma';
|
|
1855
|
-
tmp0.
|
|
1855
|
+
tmp0.n6f(tmp$ret$2, position);
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
1858
|
}
|
|
1859
1859
|
if (lastToken === 8) {
|
|
1860
|
-
$this.
|
|
1860
|
+
$this.n6g_1.r6g(9);
|
|
1861
1861
|
} else if (lastToken === 4) {
|
|
1862
|
-
if (!$this.
|
|
1863
|
-
invalidTrailingComma($this.
|
|
1862
|
+
if (!$this.p6g_1) {
|
|
1863
|
+
invalidTrailingComma($this.n6g_1, 'array');
|
|
1864
1864
|
}
|
|
1865
|
-
$this.
|
|
1865
|
+
$this.n6g_1.r6g(9);
|
|
1866
1866
|
}
|
|
1867
1867
|
return new JsonArray(result);
|
|
1868
1868
|
}
|
|
1869
1869
|
function readValue($this, isString) {
|
|
1870
1870
|
var tmp;
|
|
1871
|
-
if ($this.
|
|
1872
|
-
tmp = $this.
|
|
1871
|
+
if ($this.o6g_1 || !isString) {
|
|
1872
|
+
tmp = $this.n6g_1.v6g();
|
|
1873
1873
|
} else {
|
|
1874
|
-
tmp = $this.
|
|
1874
|
+
tmp = $this.n6g_1.u6g();
|
|
1875
1875
|
}
|
|
1876
1876
|
var string = tmp;
|
|
1877
1877
|
if (!isString && string === 'null')
|
|
@@ -1882,18 +1882,18 @@ function readDeepRecursive($this) {
|
|
|
1882
1882
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1883
1883
|
}
|
|
1884
1884
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1885
|
-
this.
|
|
1885
|
+
this.u6h_1 = this$0;
|
|
1886
1886
|
CoroutineImpl.call(this, resultContinuation);
|
|
1887
1887
|
}
|
|
1888
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1889
|
-
var tmp = this.
|
|
1888
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).y6h = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1889
|
+
var tmp = this.z6h($this$DeepRecursiveFunction, it, $completion);
|
|
1890
1890
|
tmp.o9_1 = Unit_instance;
|
|
1891
1891
|
tmp.p9_1 = null;
|
|
1892
1892
|
return tmp.u9();
|
|
1893
1893
|
};
|
|
1894
1894
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).ha = function (p1, p2, $completion) {
|
|
1895
1895
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1896
|
-
return this.
|
|
1896
|
+
return this.y6h(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1897
1897
|
};
|
|
1898
1898
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).u9 = function () {
|
|
1899
1899
|
var suspendResult = this.o9_1;
|
|
@@ -1903,32 +1903,32 @@ protoOf(JsonTreeReader$readDeepRecursive$slambda).u9 = function () {
|
|
|
1903
1903
|
switch (tmp) {
|
|
1904
1904
|
case 0:
|
|
1905
1905
|
this.n9_1 = 3;
|
|
1906
|
-
var tmp0_subject = this.
|
|
1906
|
+
var tmp0_subject = this.u6h_1.n6g_1.s6g();
|
|
1907
1907
|
if (tmp0_subject === 1) {
|
|
1908
|
-
this.
|
|
1908
|
+
this.x6h_1 = readValue(this.u6h_1, true);
|
|
1909
1909
|
this.m9_1 = 2;
|
|
1910
1910
|
continue $sm;
|
|
1911
1911
|
} else {
|
|
1912
1912
|
if (tmp0_subject === 0) {
|
|
1913
|
-
this.
|
|
1913
|
+
this.x6h_1 = readValue(this.u6h_1, false);
|
|
1914
1914
|
this.m9_1 = 2;
|
|
1915
1915
|
continue $sm;
|
|
1916
1916
|
} else {
|
|
1917
1917
|
if (tmp0_subject === 6) {
|
|
1918
1918
|
this.m9_1 = 1;
|
|
1919
|
-
suspendResult = readObject_0(this.
|
|
1919
|
+
suspendResult = readObject_0(this.u6h_1, this.v6h_1, this);
|
|
1920
1920
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1921
1921
|
return suspendResult;
|
|
1922
1922
|
}
|
|
1923
1923
|
continue $sm;
|
|
1924
1924
|
} else {
|
|
1925
1925
|
if (tmp0_subject === 8) {
|
|
1926
|
-
this.
|
|
1926
|
+
this.x6h_1 = readArray(this.u6h_1);
|
|
1927
1927
|
this.m9_1 = 2;
|
|
1928
1928
|
continue $sm;
|
|
1929
1929
|
} else {
|
|
1930
1930
|
var tmp_0 = this;
|
|
1931
|
-
this.
|
|
1931
|
+
this.u6h_1.n6g_1.n6f("Can't begin reading element, unexpected token");
|
|
1932
1932
|
}
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
@@ -1936,11 +1936,11 @@ protoOf(JsonTreeReader$readDeepRecursive$slambda).u9 = function () {
|
|
|
1936
1936
|
|
|
1937
1937
|
break;
|
|
1938
1938
|
case 1:
|
|
1939
|
-
this.
|
|
1939
|
+
this.x6h_1 = suspendResult;
|
|
1940
1940
|
this.m9_1 = 2;
|
|
1941
1941
|
continue $sm;
|
|
1942
1942
|
case 2:
|
|
1943
|
-
return this.
|
|
1943
|
+
return this.x6h_1;
|
|
1944
1944
|
case 3:
|
|
1945
1945
|
throw this.p9_1;
|
|
1946
1946
|
}
|
|
@@ -1955,24 +1955,24 @@ protoOf(JsonTreeReader$readDeepRecursive$slambda).u9 = function () {
|
|
|
1955
1955
|
}
|
|
1956
1956
|
while (true);
|
|
1957
1957
|
};
|
|
1958
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1959
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1960
|
-
i.
|
|
1961
|
-
i.
|
|
1958
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).z6h = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1959
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.u6h_1, completion);
|
|
1960
|
+
i.v6h_1 = $this$DeepRecursiveFunction;
|
|
1961
|
+
i.w6h_1 = it;
|
|
1962
1962
|
return i;
|
|
1963
1963
|
};
|
|
1964
1964
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1965
1965
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1966
1966
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1967
|
-
return i.
|
|
1967
|
+
return i.y6h($this$DeepRecursiveFunction, it, $completion);
|
|
1968
1968
|
};
|
|
1969
1969
|
l.$arity = 2;
|
|
1970
1970
|
return l;
|
|
1971
1971
|
}
|
|
1972
1972
|
function $readObjectCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1973
1973
|
CoroutineImpl.call(this, resultContinuation);
|
|
1974
|
-
this.
|
|
1975
|
-
this.
|
|
1974
|
+
this.g6h_1 = _this__u8e3s4;
|
|
1975
|
+
this.h6h_1 = _this__u8e3s4_0;
|
|
1976
1976
|
}
|
|
1977
1977
|
protoOf($readObjectCOROUTINE$).u9 = function () {
|
|
1978
1978
|
var suspendResult = this.o9_1;
|
|
@@ -1982,26 +1982,26 @@ protoOf($readObjectCOROUTINE$).u9 = function () {
|
|
|
1982
1982
|
switch (tmp) {
|
|
1983
1983
|
case 0:
|
|
1984
1984
|
this.n9_1 = 5;
|
|
1985
|
-
this.
|
|
1986
|
-
this.
|
|
1987
|
-
if (this.
|
|
1988
|
-
this.
|
|
1985
|
+
this.j6h_1 = this.g6h_1;
|
|
1986
|
+
this.k6h_1 = this.j6h_1.n6g_1.r6g(6);
|
|
1987
|
+
if (this.j6h_1.n6g_1.s6g() === 4) {
|
|
1988
|
+
this.j6h_1.n6g_1.n6f('Unexpected leading comma');
|
|
1989
1989
|
}
|
|
1990
1990
|
|
|
1991
1991
|
var tmp_0 = this;
|
|
1992
|
-
tmp_0.
|
|
1992
|
+
tmp_0.i6h_1 = LinkedHashMap_init_$Create$();
|
|
1993
1993
|
this.m9_1 = 1;
|
|
1994
1994
|
continue $sm;
|
|
1995
1995
|
case 1:
|
|
1996
|
-
if (!this.
|
|
1996
|
+
if (!this.j6h_1.n6g_1.t6g()) {
|
|
1997
1997
|
this.m9_1 = 4;
|
|
1998
1998
|
continue $sm;
|
|
1999
1999
|
}
|
|
2000
2000
|
|
|
2001
|
-
this.
|
|
2002
|
-
this.
|
|
2001
|
+
this.l6h_1 = this.j6h_1.o6g_1 ? this.j6h_1.n6g_1.v6g() : this.j6h_1.n6g_1.u6g();
|
|
2002
|
+
this.j6h_1.n6g_1.r6g(5);
|
|
2003
2003
|
this.m9_1 = 2;
|
|
2004
|
-
suspendResult = this.
|
|
2004
|
+
suspendResult = this.h6h_1.cq(Unit_instance, this);
|
|
2005
2005
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2006
2006
|
return suspendResult;
|
|
2007
2007
|
}
|
|
@@ -2009,11 +2009,11 @@ protoOf($readObjectCOROUTINE$).u9 = function () {
|
|
|
2009
2009
|
continue $sm;
|
|
2010
2010
|
case 2:
|
|
2011
2011
|
var element = suspendResult;
|
|
2012
|
-
var tmp0 = this.
|
|
2013
|
-
var key = this.
|
|
2012
|
+
var tmp0 = this.i6h_1;
|
|
2013
|
+
var key = this.l6h_1;
|
|
2014
2014
|
tmp0.c3(key, element);
|
|
2015
|
-
this.
|
|
2016
|
-
var tmp0_subject = this.
|
|
2015
|
+
this.k6h_1 = this.j6h_1.n6g_1.x6g();
|
|
2016
|
+
var tmp0_subject = this.k6h_1;
|
|
2017
2017
|
if (tmp0_subject === 4) {
|
|
2018
2018
|
this.m9_1 = 3;
|
|
2019
2019
|
continue $sm;
|
|
@@ -2022,7 +2022,7 @@ protoOf($readObjectCOROUTINE$).u9 = function () {
|
|
|
2022
2022
|
this.m9_1 = 4;
|
|
2023
2023
|
continue $sm;
|
|
2024
2024
|
} else {
|
|
2025
|
-
this.
|
|
2025
|
+
this.j6h_1.n6g_1.n6f('Expected end of the object or comma');
|
|
2026
2026
|
}
|
|
2027
2027
|
}
|
|
2028
2028
|
|
|
@@ -2031,16 +2031,16 @@ protoOf($readObjectCOROUTINE$).u9 = function () {
|
|
|
2031
2031
|
this.m9_1 = 1;
|
|
2032
2032
|
continue $sm;
|
|
2033
2033
|
case 4:
|
|
2034
|
-
if (this.
|
|
2035
|
-
this.
|
|
2036
|
-
} else if (this.
|
|
2037
|
-
if (!this.
|
|
2038
|
-
invalidTrailingComma(this.
|
|
2034
|
+
if (this.k6h_1 === 6) {
|
|
2035
|
+
this.j6h_1.n6g_1.r6g(7);
|
|
2036
|
+
} else if (this.k6h_1 === 4) {
|
|
2037
|
+
if (!this.j6h_1.p6g_1) {
|
|
2038
|
+
invalidTrailingComma(this.j6h_1.n6g_1);
|
|
2039
2039
|
}
|
|
2040
|
-
this.
|
|
2040
|
+
this.j6h_1.n6g_1.r6g(7);
|
|
2041
2041
|
}
|
|
2042
2042
|
|
|
2043
|
-
return new JsonObject(this.
|
|
2043
|
+
return new JsonObject(this.i6h_1);
|
|
2044
2044
|
case 5:
|
|
2045
2045
|
throw this.p9_1;
|
|
2046
2046
|
}
|
|
@@ -2056,13 +2056,13 @@ protoOf($readObjectCOROUTINE$).u9 = function () {
|
|
|
2056
2056
|
while (true);
|
|
2057
2057
|
};
|
|
2058
2058
|
function JsonTreeReader(configuration, lexer) {
|
|
2059
|
-
this.
|
|
2060
|
-
this.
|
|
2061
|
-
this.
|
|
2062
|
-
this.
|
|
2059
|
+
this.n6g_1 = lexer;
|
|
2060
|
+
this.o6g_1 = configuration.f6c_1;
|
|
2061
|
+
this.p6g_1 = configuration.r6c_1;
|
|
2062
|
+
this.q6g_1 = 0;
|
|
2063
2063
|
}
|
|
2064
|
-
protoOf(JsonTreeReader).
|
|
2065
|
-
var token = this.
|
|
2064
|
+
protoOf(JsonTreeReader).w6g = function () {
|
|
2065
|
+
var token = this.n6g_1.s6g();
|
|
2066
2066
|
var tmp;
|
|
2067
2067
|
if (token === 1) {
|
|
2068
2068
|
tmp = readValue(this, true);
|
|
@@ -2070,19 +2070,19 @@ protoOf(JsonTreeReader).v6g = function () {
|
|
|
2070
2070
|
tmp = readValue(this, false);
|
|
2071
2071
|
} else if (token === 6) {
|
|
2072
2072
|
var tmp_0;
|
|
2073
|
-
this.
|
|
2074
|
-
if (this.
|
|
2073
|
+
this.q6g_1 = this.q6g_1 + 1 | 0;
|
|
2074
|
+
if (this.q6g_1 === 200) {
|
|
2075
2075
|
tmp_0 = readDeepRecursive(this);
|
|
2076
2076
|
} else {
|
|
2077
2077
|
tmp_0 = readObject(this);
|
|
2078
2078
|
}
|
|
2079
2079
|
var result = tmp_0;
|
|
2080
|
-
this.
|
|
2080
|
+
this.q6g_1 = this.q6g_1 - 1 | 0;
|
|
2081
2081
|
tmp = result;
|
|
2082
2082
|
} else if (token === 8) {
|
|
2083
2083
|
tmp = readArray(this);
|
|
2084
2084
|
} else {
|
|
2085
|
-
this.
|
|
2085
|
+
this.n6g_1.n6f('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
2086
2086
|
}
|
|
2087
2087
|
return tmp;
|
|
2088
2088
|
};
|
|
@@ -2091,9 +2091,9 @@ function classDiscriminator(_this__u8e3s4, json) {
|
|
|
2091
2091
|
while (_iterator__ex2g4s.u()) {
|
|
2092
2092
|
var annotation = _iterator__ex2g4s.v();
|
|
2093
2093
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2094
|
-
return annotation.
|
|
2094
|
+
return annotation.a6i_1;
|
|
2095
2095
|
}
|
|
2096
|
-
return json.
|
|
2096
|
+
return json.s6a_1.m6c_1;
|
|
2097
2097
|
}
|
|
2098
2098
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2099
2099
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -2129,11 +2129,11 @@ function access$validateIfSealed$tPolymorphicKt(serializer, actualSerializer, cl
|
|
|
2129
2129
|
function Key() {
|
|
2130
2130
|
}
|
|
2131
2131
|
function DescriptorSchemaCache() {
|
|
2132
|
-
this.
|
|
2132
|
+
this.o6f_1 = createMapForCache(16);
|
|
2133
2133
|
}
|
|
2134
|
-
protoOf(DescriptorSchemaCache).
|
|
2134
|
+
protoOf(DescriptorSchemaCache).b6i = function (descriptor, key, value) {
|
|
2135
2135
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2136
|
-
var this_0 = this.
|
|
2136
|
+
var this_0 = this.o6f_1;
|
|
2137
2137
|
var value_0 = this_0.z2(descriptor);
|
|
2138
2138
|
var tmp;
|
|
2139
2139
|
if (value_0 == null) {
|
|
@@ -2149,8 +2149,8 @@ protoOf(DescriptorSchemaCache).a6i = function (descriptor, key, value) {
|
|
|
2149
2149
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2150
2150
|
tmp0.c3(tmp2, value_1);
|
|
2151
2151
|
};
|
|
2152
|
-
protoOf(DescriptorSchemaCache).
|
|
2153
|
-
var tmp0_safe_receiver = this.
|
|
2152
|
+
protoOf(DescriptorSchemaCache).p6f = function (descriptor, key, defaultValue) {
|
|
2153
|
+
var tmp0_safe_receiver = this.c6i(descriptor, key);
|
|
2154
2154
|
if (tmp0_safe_receiver == null)
|
|
2155
2155
|
null;
|
|
2156
2156
|
else {
|
|
@@ -2158,11 +2158,11 @@ protoOf(DescriptorSchemaCache).o6f = function (descriptor, key, defaultValue) {
|
|
|
2158
2158
|
return tmp0_safe_receiver;
|
|
2159
2159
|
}
|
|
2160
2160
|
var value = defaultValue();
|
|
2161
|
-
this.
|
|
2161
|
+
this.b6i(descriptor, key, value);
|
|
2162
2162
|
return value;
|
|
2163
2163
|
};
|
|
2164
|
-
protoOf(DescriptorSchemaCache).
|
|
2165
|
-
var tmp0_safe_receiver = this.
|
|
2164
|
+
protoOf(DescriptorSchemaCache).c6i = function (descriptor, key) {
|
|
2165
|
+
var tmp0_safe_receiver = this.o6f_1.z2(descriptor);
|
|
2166
2166
|
var tmp;
|
|
2167
2167
|
if (tmp0_safe_receiver == null) {
|
|
2168
2168
|
tmp = null;
|
|
@@ -2173,13 +2173,13 @@ protoOf(DescriptorSchemaCache).b6i = function (descriptor, key) {
|
|
|
2173
2173
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2174
2174
|
};
|
|
2175
2175
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2176
|
-
this.
|
|
2176
|
+
this.d6i_1 = discriminatorToSkip;
|
|
2177
2177
|
}
|
|
2178
2178
|
function trySkip($this, $receiver, unknownKey) {
|
|
2179
2179
|
if ($receiver == null)
|
|
2180
2180
|
return false;
|
|
2181
|
-
if ($receiver.
|
|
2182
|
-
$receiver.
|
|
2181
|
+
if ($receiver.d6i_1 === unknownKey) {
|
|
2182
|
+
$receiver.d6i_1 = null;
|
|
2183
2183
|
return true;
|
|
2184
2184
|
}
|
|
2185
2185
|
return false;
|
|
@@ -2189,55 +2189,55 @@ function skipLeftoverElements($this, descriptor) {
|
|
|
2189
2189
|
}
|
|
2190
2190
|
}
|
|
2191
2191
|
function checkLeadingComma($this) {
|
|
2192
|
-
if ($this.
|
|
2193
|
-
$this.
|
|
2192
|
+
if ($this.z6a_1.s6g() === 4) {
|
|
2193
|
+
$this.z6a_1.n6f('Unexpected leading comma');
|
|
2194
2194
|
}
|
|
2195
2195
|
}
|
|
2196
2196
|
function decodeMapIndex($this) {
|
|
2197
2197
|
var hasComma = false;
|
|
2198
|
-
var decodingKey = !(($this.
|
|
2198
|
+
var decodingKey = !(($this.b6b_1 % 2 | 0) === 0);
|
|
2199
2199
|
if (decodingKey) {
|
|
2200
|
-
if (!($this.
|
|
2201
|
-
hasComma = $this.
|
|
2200
|
+
if (!($this.b6b_1 === -1)) {
|
|
2201
|
+
hasComma = $this.z6a_1.f6i();
|
|
2202
2202
|
}
|
|
2203
2203
|
} else {
|
|
2204
|
-
$this.
|
|
2204
|
+
$this.z6a_1.e6i(_Char___init__impl__6a9atx(58));
|
|
2205
2205
|
}
|
|
2206
2206
|
var tmp;
|
|
2207
|
-
if ($this.
|
|
2207
|
+
if ($this.z6a_1.t6g()) {
|
|
2208
2208
|
if (decodingKey) {
|
|
2209
|
-
if ($this.
|
|
2210
|
-
var tmp0 = $this.
|
|
2209
|
+
if ($this.b6b_1 === -1) {
|
|
2210
|
+
var tmp0 = $this.z6a_1;
|
|
2211
2211
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2212
2212
|
var condition = !hasComma;
|
|
2213
|
-
var position = tmp0.
|
|
2213
|
+
var position = tmp0.f6b_1;
|
|
2214
2214
|
if (!condition) {
|
|
2215
2215
|
var tmp$ret$1 = 'Unexpected leading comma';
|
|
2216
|
-
tmp0.
|
|
2216
|
+
tmp0.n6f(tmp$ret$1, position);
|
|
2217
2217
|
}
|
|
2218
2218
|
} else {
|
|
2219
|
-
var tmp0_0 = $this.
|
|
2219
|
+
var tmp0_0 = $this.z6a_1;
|
|
2220
2220
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2221
2221
|
var condition_0 = hasComma;
|
|
2222
|
-
var position_0 = tmp0_0.
|
|
2222
|
+
var position_0 = tmp0_0.f6b_1;
|
|
2223
2223
|
if (!condition_0) {
|
|
2224
2224
|
var tmp$ret$3 = 'Expected comma after the key-value pair';
|
|
2225
|
-
tmp0_0.
|
|
2225
|
+
tmp0_0.n6f(tmp$ret$3, position_0);
|
|
2226
2226
|
}
|
|
2227
2227
|
}
|
|
2228
2228
|
}
|
|
2229
|
-
$this.
|
|
2230
|
-
tmp = $this.
|
|
2229
|
+
$this.b6b_1 = $this.b6b_1 + 1 | 0;
|
|
2230
|
+
tmp = $this.b6b_1;
|
|
2231
2231
|
} else {
|
|
2232
|
-
if (hasComma && !$this.
|
|
2233
|
-
invalidTrailingComma($this.
|
|
2232
|
+
if (hasComma && !$this.x6a_1.s6a_1.r6c_1) {
|
|
2233
|
+
invalidTrailingComma($this.z6a_1);
|
|
2234
2234
|
}
|
|
2235
2235
|
tmp = -1;
|
|
2236
2236
|
}
|
|
2237
2237
|
return tmp;
|
|
2238
2238
|
}
|
|
2239
2239
|
function coerceInputValue($this, descriptor, index) {
|
|
2240
|
-
var tmp0 = $this.
|
|
2240
|
+
var tmp0 = $this.x6a_1;
|
|
2241
2241
|
var tmp$ret$0;
|
|
2242
2242
|
$l$block_2: {
|
|
2243
2243
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -2245,7 +2245,7 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2245
2245
|
var elementDescriptor = descriptor.fv(index);
|
|
2246
2246
|
var tmp;
|
|
2247
2247
|
if (isOptional && !elementDescriptor.su()) {
|
|
2248
|
-
tmp = $this.
|
|
2248
|
+
tmp = $this.z6a_1.g6i(true);
|
|
2249
2249
|
} else {
|
|
2250
2250
|
tmp = false;
|
|
2251
2251
|
}
|
|
@@ -2256,7 +2256,7 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2256
2256
|
if (equals(elementDescriptor.zu(), ENUM_getInstance())) {
|
|
2257
2257
|
var tmp_0;
|
|
2258
2258
|
if (elementDescriptor.su()) {
|
|
2259
|
-
tmp_0 = $this.
|
|
2259
|
+
tmp_0 = $this.z6a_1.g6i(false);
|
|
2260
2260
|
} else {
|
|
2261
2261
|
tmp_0 = false;
|
|
2262
2262
|
}
|
|
@@ -2264,7 +2264,7 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2264
2264
|
tmp$ret$0 = false;
|
|
2265
2265
|
break $l$block_2;
|
|
2266
2266
|
}
|
|
2267
|
-
var tmp0_elvis_lhs = $this.
|
|
2267
|
+
var tmp0_elvis_lhs = $this.z6a_1.h6i($this.d6b_1.f6c_1);
|
|
2268
2268
|
var tmp_1;
|
|
2269
2269
|
if (tmp0_elvis_lhs == null) {
|
|
2270
2270
|
tmp$ret$0 = false;
|
|
@@ -2274,9 +2274,9 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2274
2274
|
}
|
|
2275
2275
|
var enumValue = tmp_1;
|
|
2276
2276
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2277
|
-
var coerceToNull = !tmp0.
|
|
2277
|
+
var coerceToNull = !tmp0.s6a_1.i6c_1 && elementDescriptor.su();
|
|
2278
2278
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2279
|
-
$this.
|
|
2279
|
+
$this.z6a_1.u6g();
|
|
2280
2280
|
tmp$ret$0 = true;
|
|
2281
2281
|
break $l$block_2;
|
|
2282
2282
|
}
|
|
@@ -2286,24 +2286,24 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2286
2286
|
return tmp$ret$0;
|
|
2287
2287
|
}
|
|
2288
2288
|
function decodeObjectIndex($this, descriptor) {
|
|
2289
|
-
var hasComma = $this.
|
|
2290
|
-
while ($this.
|
|
2289
|
+
var hasComma = $this.z6a_1.f6i();
|
|
2290
|
+
while ($this.z6a_1.t6g()) {
|
|
2291
2291
|
hasComma = false;
|
|
2292
2292
|
var key = decodeStringKey($this);
|
|
2293
|
-
$this.
|
|
2294
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2293
|
+
$this.z6a_1.e6i(_Char___init__impl__6a9atx(58));
|
|
2294
|
+
var index = getJsonNameIndex(descriptor, $this.x6a_1, key);
|
|
2295
2295
|
var tmp;
|
|
2296
2296
|
if (!(index === -3)) {
|
|
2297
2297
|
var tmp_0;
|
|
2298
|
-
if ($this.
|
|
2299
|
-
hasComma = $this.
|
|
2298
|
+
if ($this.d6b_1.k6c_1 && coerceInputValue($this, descriptor, index)) {
|
|
2299
|
+
hasComma = $this.z6a_1.f6i();
|
|
2300
2300
|
tmp_0 = false;
|
|
2301
2301
|
} else {
|
|
2302
|
-
var tmp0_safe_receiver = $this.
|
|
2302
|
+
var tmp0_safe_receiver = $this.e6b_1;
|
|
2303
2303
|
if (tmp0_safe_receiver == null)
|
|
2304
2304
|
null;
|
|
2305
2305
|
else {
|
|
2306
|
-
tmp0_safe_receiver.
|
|
2306
|
+
tmp0_safe_receiver.k6f(index);
|
|
2307
2307
|
}
|
|
2308
2308
|
return index;
|
|
2309
2309
|
}
|
|
@@ -2316,34 +2316,34 @@ function decodeObjectIndex($this, descriptor) {
|
|
|
2316
2316
|
hasComma = handleUnknown($this, descriptor, key);
|
|
2317
2317
|
}
|
|
2318
2318
|
}
|
|
2319
|
-
if (hasComma && !$this.
|
|
2320
|
-
invalidTrailingComma($this.
|
|
2319
|
+
if (hasComma && !$this.x6a_1.s6a_1.r6c_1) {
|
|
2320
|
+
invalidTrailingComma($this.z6a_1);
|
|
2321
2321
|
}
|
|
2322
|
-
var tmp1_safe_receiver = $this.
|
|
2323
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2322
|
+
var tmp1_safe_receiver = $this.e6b_1;
|
|
2323
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.l6f();
|
|
2324
2324
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2325
2325
|
}
|
|
2326
2326
|
function handleUnknown($this, descriptor, key) {
|
|
2327
|
-
if (ignoreUnknownKeys(descriptor, $this.
|
|
2328
|
-
$this.
|
|
2327
|
+
if (ignoreUnknownKeys(descriptor, $this.x6a_1) || trySkip($this, $this.c6b_1, key)) {
|
|
2328
|
+
$this.z6a_1.j6i($this.d6b_1.f6c_1);
|
|
2329
2329
|
} else {
|
|
2330
|
-
$this.
|
|
2331
|
-
$this.
|
|
2330
|
+
$this.z6a_1.g6b_1.z6f();
|
|
2331
|
+
$this.z6a_1.i6i(key);
|
|
2332
2332
|
}
|
|
2333
|
-
return $this.
|
|
2333
|
+
return $this.z6a_1.f6i();
|
|
2334
2334
|
}
|
|
2335
2335
|
function decodeListIndex($this) {
|
|
2336
|
-
var hasComma = $this.
|
|
2336
|
+
var hasComma = $this.z6a_1.f6i();
|
|
2337
2337
|
var tmp;
|
|
2338
|
-
if ($this.
|
|
2339
|
-
if (!($this.
|
|
2340
|
-
$this.
|
|
2338
|
+
if ($this.z6a_1.t6g()) {
|
|
2339
|
+
if (!($this.b6b_1 === -1) && !hasComma) {
|
|
2340
|
+
$this.z6a_1.n6f('Expected end of the array or comma');
|
|
2341
2341
|
}
|
|
2342
|
-
$this.
|
|
2343
|
-
tmp = $this.
|
|
2342
|
+
$this.b6b_1 = $this.b6b_1 + 1 | 0;
|
|
2343
|
+
tmp = $this.b6b_1;
|
|
2344
2344
|
} else {
|
|
2345
|
-
if (hasComma && !$this.
|
|
2346
|
-
invalidTrailingComma($this.
|
|
2345
|
+
if (hasComma && !$this.x6a_1.s6a_1.r6c_1) {
|
|
2346
|
+
invalidTrailingComma($this.z6a_1, 'array');
|
|
2347
2347
|
}
|
|
2348
2348
|
tmp = -1;
|
|
2349
2349
|
}
|
|
@@ -2351,32 +2351,32 @@ function decodeListIndex($this) {
|
|
|
2351
2351
|
}
|
|
2352
2352
|
function decodeStringKey($this) {
|
|
2353
2353
|
var tmp;
|
|
2354
|
-
if ($this.
|
|
2355
|
-
tmp = $this.
|
|
2354
|
+
if ($this.d6b_1.f6c_1) {
|
|
2355
|
+
tmp = $this.z6a_1.l6i();
|
|
2356
2356
|
} else {
|
|
2357
|
-
tmp = $this.
|
|
2357
|
+
tmp = $this.z6a_1.k6i();
|
|
2358
2358
|
}
|
|
2359
2359
|
return tmp;
|
|
2360
2360
|
}
|
|
2361
2361
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2362
2362
|
AbstractDecoder.call(this);
|
|
2363
|
-
this.
|
|
2364
|
-
this.
|
|
2365
|
-
this.
|
|
2366
|
-
this.
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2370
|
-
this.
|
|
2371
|
-
}
|
|
2372
|
-
protoOf(StreamingJsonDecoder).
|
|
2373
|
-
return this.
|
|
2363
|
+
this.x6a_1 = json;
|
|
2364
|
+
this.y6a_1 = mode;
|
|
2365
|
+
this.z6a_1 = lexer;
|
|
2366
|
+
this.a6b_1 = this.x6a_1.mt();
|
|
2367
|
+
this.b6b_1 = -1;
|
|
2368
|
+
this.c6b_1 = discriminatorHolder;
|
|
2369
|
+
this.d6b_1 = this.x6a_1.s6a_1;
|
|
2370
|
+
this.e6b_1 = this.d6b_1.i6c_1 ? null : new JsonElementMarker(descriptor);
|
|
2371
|
+
}
|
|
2372
|
+
protoOf(StreamingJsonDecoder).u6c = function () {
|
|
2373
|
+
return this.x6a_1;
|
|
2374
2374
|
};
|
|
2375
2375
|
protoOf(StreamingJsonDecoder).mt = function () {
|
|
2376
|
-
return this.
|
|
2376
|
+
return this.a6b_1;
|
|
2377
2377
|
};
|
|
2378
|
-
protoOf(StreamingJsonDecoder).
|
|
2379
|
-
return (new JsonTreeReader(this.
|
|
2378
|
+
protoOf(StreamingJsonDecoder).v6c = function () {
|
|
2379
|
+
return (new JsonTreeReader(this.x6a_1.s6a_1, this.z6a_1)).w6g();
|
|
2380
2380
|
};
|
|
2381
2381
|
protoOf(StreamingJsonDecoder).qt = function (deserializer) {
|
|
2382
2382
|
try {
|
|
@@ -2384,13 +2384,13 @@ protoOf(StreamingJsonDecoder).qt = function (deserializer) {
|
|
|
2384
2384
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2385
2385
|
tmp = true;
|
|
2386
2386
|
} else {
|
|
2387
|
-
tmp = this.
|
|
2387
|
+
tmp = this.x6a_1.s6a_1.l6c_1;
|
|
2388
2388
|
}
|
|
2389
2389
|
if (tmp) {
|
|
2390
2390
|
return deserializer.pt(this);
|
|
2391
2391
|
}
|
|
2392
|
-
var discriminator = classDiscriminator(deserializer.bt(), this.
|
|
2393
|
-
var tmp0_elvis_lhs = this.
|
|
2392
|
+
var discriminator = classDiscriminator(deserializer.bt(), this.x6a_1);
|
|
2393
|
+
var tmp0_elvis_lhs = this.z6a_1.m6i(discriminator, this.d6b_1.f6c_1);
|
|
2394
2394
|
var tmp_0;
|
|
2395
2395
|
if (tmp0_elvis_lhs == null) {
|
|
2396
2396
|
var tmp2 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2401,20 +2401,20 @@ protoOf(StreamingJsonDecoder).qt = function (deserializer) {
|
|
|
2401
2401
|
if (!(tmp2 instanceof AbstractPolymorphicSerializer)) {
|
|
2402
2402
|
tmp_1 = true;
|
|
2403
2403
|
} else {
|
|
2404
|
-
tmp_1 = this.
|
|
2404
|
+
tmp_1 = this.u6c().s6a_1.l6c_1;
|
|
2405
2405
|
}
|
|
2406
2406
|
if (tmp_1) {
|
|
2407
2407
|
tmp$ret$0 = tmp2.pt(this);
|
|
2408
2408
|
break $l$block;
|
|
2409
2409
|
}
|
|
2410
|
-
var discriminator_0 = classDiscriminator(tmp2.bt(), this.
|
|
2411
|
-
var tmp0 = this.
|
|
2410
|
+
var discriminator_0 = classDiscriminator(tmp2.bt(), this.u6c());
|
|
2411
|
+
var tmp0 = this.v6c();
|
|
2412
2412
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2413
2413
|
var serialName = tmp2.bt().gu();
|
|
2414
2414
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2415
2415
|
var tmp_2 = getKClass(JsonObject).o();
|
|
2416
2416
|
var tmp_3 = getKClassFromExpression(tmp0).o();
|
|
2417
|
-
var tmp$ret$2 = this.
|
|
2417
|
+
var tmp$ret$2 = this.z6a_1.g6b_1.a6g();
|
|
2418
2418
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$2, toString(tmp0));
|
|
2419
2419
|
}
|
|
2420
2420
|
var jsonTree = tmp0;
|
|
@@ -2435,7 +2435,7 @@ protoOf(StreamingJsonDecoder).qt = function (deserializer) {
|
|
|
2435
2435
|
}
|
|
2436
2436
|
var tmp_6 = tmp_4;
|
|
2437
2437
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2438
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2438
|
+
tmp$ret$0 = readPolymorphicJson(this.u6c(), discriminator_0, jsonTree, actualSerializer);
|
|
2439
2439
|
}
|
|
2440
2440
|
return tmp$ret$0;
|
|
2441
2441
|
} else {
|
|
@@ -2451,7 +2451,7 @@ protoOf(StreamingJsonDecoder).qt = function (deserializer) {
|
|
|
2451
2451
|
var it_0 = $p;
|
|
2452
2452
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2453
2453
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2454
|
-
this.
|
|
2454
|
+
this.z6a_1.n6f(message, VOID, hint);
|
|
2455
2455
|
} else {
|
|
2456
2456
|
throw $p;
|
|
2457
2457
|
}
|
|
@@ -2459,37 +2459,37 @@ protoOf(StreamingJsonDecoder).qt = function (deserializer) {
|
|
|
2459
2459
|
}
|
|
2460
2460
|
var tmp_9 = tmp_7;
|
|
2461
2461
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2462
|
-
this.
|
|
2462
|
+
this.c6b_1 = new DiscriminatorHolder(discriminator);
|
|
2463
2463
|
return actualSerializer_0.pt(this);
|
|
2464
2464
|
} catch ($p) {
|
|
2465
2465
|
if ($p instanceof MissingFieldException) {
|
|
2466
2466
|
var e = $p;
|
|
2467
2467
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2468
2468
|
throw e;
|
|
2469
|
-
throw MissingFieldException_init_$Create$(e.mu_1, plus(e.message, ' at path: ') + this.
|
|
2469
|
+
throw MissingFieldException_init_$Create$(e.mu_1, plus(e.message, ' at path: ') + this.z6a_1.g6b_1.a6g(), e);
|
|
2470
2470
|
} else {
|
|
2471
2471
|
throw $p;
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
2474
|
};
|
|
2475
2475
|
protoOf(StreamingJsonDecoder).qw = function (descriptor) {
|
|
2476
|
-
var newMode = switchMode(this.
|
|
2477
|
-
this.
|
|
2478
|
-
this.
|
|
2476
|
+
var newMode = switchMode(this.x6a_1, descriptor);
|
|
2477
|
+
this.z6a_1.g6b_1.v6f(descriptor);
|
|
2478
|
+
this.z6a_1.e6i(newMode.p6i_1);
|
|
2479
2479
|
checkLeadingComma(this);
|
|
2480
2480
|
var tmp;
|
|
2481
2481
|
switch (newMode.a1_1) {
|
|
2482
2482
|
case 1:
|
|
2483
2483
|
case 2:
|
|
2484
2484
|
case 3:
|
|
2485
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2485
|
+
tmp = new StreamingJsonDecoder(this.x6a_1, newMode, this.z6a_1, descriptor, this.c6b_1);
|
|
2486
2486
|
break;
|
|
2487
2487
|
default:
|
|
2488
2488
|
var tmp_0;
|
|
2489
|
-
if (this.
|
|
2489
|
+
if (this.y6a_1.equals(newMode) && this.x6a_1.s6a_1.i6c_1) {
|
|
2490
2490
|
tmp_0 = this;
|
|
2491
2491
|
} else {
|
|
2492
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2492
|
+
tmp_0 = new StreamingJsonDecoder(this.x6a_1, newMode, this.z6a_1, descriptor, this.c6b_1);
|
|
2493
2493
|
}
|
|
2494
2494
|
|
|
2495
2495
|
tmp = tmp_0;
|
|
@@ -2498,21 +2498,21 @@ protoOf(StreamingJsonDecoder).qw = function (descriptor) {
|
|
|
2498
2498
|
return tmp;
|
|
2499
2499
|
};
|
|
2500
2500
|
protoOf(StreamingJsonDecoder).rw = function (descriptor) {
|
|
2501
|
-
if (descriptor.bv() === 0 && ignoreUnknownKeys(descriptor, this.
|
|
2501
|
+
if (descriptor.bv() === 0 && ignoreUnknownKeys(descriptor, this.x6a_1)) {
|
|
2502
2502
|
skipLeftoverElements(this, descriptor);
|
|
2503
2503
|
}
|
|
2504
|
-
if (this.
|
|
2505
|
-
invalidTrailingComma(this.
|
|
2504
|
+
if (this.z6a_1.f6i() && !this.x6a_1.s6a_1.r6c_1) {
|
|
2505
|
+
invalidTrailingComma(this.z6a_1, '');
|
|
2506
2506
|
}
|
|
2507
|
-
this.
|
|
2508
|
-
this.
|
|
2507
|
+
this.z6a_1.e6i(this.y6a_1.q6i_1);
|
|
2508
|
+
this.z6a_1.g6b_1.z6f();
|
|
2509
2509
|
};
|
|
2510
2510
|
protoOf(StreamingJsonDecoder).cw = function () {
|
|
2511
2511
|
var tmp;
|
|
2512
|
-
var tmp0_safe_receiver = this.
|
|
2513
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2512
|
+
var tmp0_safe_receiver = this.e6b_1;
|
|
2513
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j6f_1;
|
|
2514
2514
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2515
|
-
tmp = !this.
|
|
2515
|
+
tmp = !this.z6a_1.r6i();
|
|
2516
2516
|
} else {
|
|
2517
2517
|
tmp = false;
|
|
2518
2518
|
}
|
|
@@ -2522,19 +2522,19 @@ protoOf(StreamingJsonDecoder).dw = function () {
|
|
|
2522
2522
|
return null;
|
|
2523
2523
|
};
|
|
2524
2524
|
protoOf(StreamingJsonDecoder).cx = function (descriptor, index, deserializer, previousValue) {
|
|
2525
|
-
var isMapKey = this.
|
|
2525
|
+
var isMapKey = this.y6a_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2526
2526
|
if (isMapKey) {
|
|
2527
|
-
this.
|
|
2527
|
+
this.z6a_1.g6b_1.y6f();
|
|
2528
2528
|
}
|
|
2529
2529
|
var value = protoOf(AbstractDecoder).cx.call(this, descriptor, index, deserializer, previousValue);
|
|
2530
2530
|
if (isMapKey) {
|
|
2531
|
-
this.
|
|
2531
|
+
this.z6a_1.g6b_1.x6f(value);
|
|
2532
2532
|
}
|
|
2533
2533
|
return value;
|
|
2534
2534
|
};
|
|
2535
2535
|
protoOf(StreamingJsonDecoder).hx = function (descriptor) {
|
|
2536
2536
|
var index;
|
|
2537
|
-
switch (this.
|
|
2537
|
+
switch (this.y6a_1.a1_1) {
|
|
2538
2538
|
case 0:
|
|
2539
2539
|
index = decodeObjectIndex(this, descriptor);
|
|
2540
2540
|
break;
|
|
@@ -2545,44 +2545,44 @@ protoOf(StreamingJsonDecoder).hx = function (descriptor) {
|
|
|
2545
2545
|
index = decodeListIndex(this);
|
|
2546
2546
|
break;
|
|
2547
2547
|
}
|
|
2548
|
-
if (!this.
|
|
2549
|
-
this.
|
|
2548
|
+
if (!this.y6a_1.equals(WriteMode_MAP_getInstance())) {
|
|
2549
|
+
this.z6a_1.g6b_1.w6f(index);
|
|
2550
2550
|
}
|
|
2551
2551
|
return index;
|
|
2552
2552
|
};
|
|
2553
2553
|
protoOf(StreamingJsonDecoder).ew = function () {
|
|
2554
|
-
return this.
|
|
2554
|
+
return this.z6a_1.s6i();
|
|
2555
2555
|
};
|
|
2556
2556
|
protoOf(StreamingJsonDecoder).fw = function () {
|
|
2557
|
-
var value = this.
|
|
2557
|
+
var value = this.z6a_1.t6i();
|
|
2558
2558
|
if (!(value === fromInt(convertToByte(value)))) {
|
|
2559
|
-
this.
|
|
2559
|
+
this.z6a_1.n6f("Failed to parse byte for input '" + value.toString() + "'");
|
|
2560
2560
|
}
|
|
2561
2561
|
return convertToByte(value);
|
|
2562
2562
|
};
|
|
2563
2563
|
protoOf(StreamingJsonDecoder).gw = function () {
|
|
2564
|
-
var value = this.
|
|
2564
|
+
var value = this.z6a_1.t6i();
|
|
2565
2565
|
if (!(value === fromInt(convertToShort(value)))) {
|
|
2566
|
-
this.
|
|
2566
|
+
this.z6a_1.n6f("Failed to parse short for input '" + value.toString() + "'");
|
|
2567
2567
|
}
|
|
2568
2568
|
return convertToShort(value);
|
|
2569
2569
|
};
|
|
2570
2570
|
protoOf(StreamingJsonDecoder).hw = function () {
|
|
2571
|
-
var value = this.
|
|
2571
|
+
var value = this.z6a_1.t6i();
|
|
2572
2572
|
if (!(value === fromInt(convertToInt(value)))) {
|
|
2573
|
-
this.
|
|
2573
|
+
this.z6a_1.n6f("Failed to parse int for input '" + value.toString() + "'");
|
|
2574
2574
|
}
|
|
2575
2575
|
return convertToInt(value);
|
|
2576
2576
|
};
|
|
2577
2577
|
protoOf(StreamingJsonDecoder).iw = function () {
|
|
2578
|
-
return this.
|
|
2578
|
+
return this.z6a_1.t6i();
|
|
2579
2579
|
};
|
|
2580
2580
|
protoOf(StreamingJsonDecoder).jw = function () {
|
|
2581
|
-
var tmp0 = this.
|
|
2581
|
+
var tmp0 = this.z6a_1;
|
|
2582
2582
|
var tmp$ret$0;
|
|
2583
2583
|
$l$block: {
|
|
2584
2584
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2585
|
-
var input = tmp0.
|
|
2585
|
+
var input = tmp0.v6g();
|
|
2586
2586
|
try {
|
|
2587
2587
|
// Inline function 'kotlin.text.toFloat' call
|
|
2588
2588
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2592,71 +2592,71 @@ protoOf(StreamingJsonDecoder).jw = function () {
|
|
|
2592
2592
|
} catch ($p) {
|
|
2593
2593
|
if ($p instanceof IllegalArgumentException) {
|
|
2594
2594
|
var e = $p;
|
|
2595
|
-
tmp0.
|
|
2595
|
+
tmp0.n6f("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2596
2596
|
} else {
|
|
2597
2597
|
throw $p;
|
|
2598
2598
|
}
|
|
2599
2599
|
}
|
|
2600
2600
|
}
|
|
2601
2601
|
var result = tmp$ret$0;
|
|
2602
|
-
var specialFp = this.
|
|
2602
|
+
var specialFp = this.x6a_1.s6a_1.n6c_1;
|
|
2603
2603
|
if (specialFp || isFinite(result))
|
|
2604
2604
|
return result;
|
|
2605
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2605
|
+
throwInvalidFloatingPointDecoded(this.z6a_1, result);
|
|
2606
2606
|
};
|
|
2607
2607
|
protoOf(StreamingJsonDecoder).kw = function () {
|
|
2608
|
-
var tmp0 = this.
|
|
2608
|
+
var tmp0 = this.z6a_1;
|
|
2609
2609
|
var tmp$ret$0;
|
|
2610
2610
|
$l$block: {
|
|
2611
2611
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2612
|
-
var input = tmp0.
|
|
2612
|
+
var input = tmp0.v6g();
|
|
2613
2613
|
try {
|
|
2614
2614
|
tmp$ret$0 = toDouble(input);
|
|
2615
2615
|
break $l$block;
|
|
2616
2616
|
} catch ($p) {
|
|
2617
2617
|
if ($p instanceof IllegalArgumentException) {
|
|
2618
2618
|
var e = $p;
|
|
2619
|
-
tmp0.
|
|
2619
|
+
tmp0.n6f("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2620
2620
|
} else {
|
|
2621
2621
|
throw $p;
|
|
2622
2622
|
}
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
2625
|
var result = tmp$ret$0;
|
|
2626
|
-
var specialFp = this.
|
|
2626
|
+
var specialFp = this.x6a_1.s6a_1.n6c_1;
|
|
2627
2627
|
if (specialFp || isFinite_0(result))
|
|
2628
2628
|
return result;
|
|
2629
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2629
|
+
throwInvalidFloatingPointDecoded(this.z6a_1, result);
|
|
2630
2630
|
};
|
|
2631
2631
|
protoOf(StreamingJsonDecoder).lw = function () {
|
|
2632
|
-
var string = this.
|
|
2632
|
+
var string = this.z6a_1.v6g();
|
|
2633
2633
|
if (!(string.length === 1)) {
|
|
2634
|
-
this.
|
|
2634
|
+
this.z6a_1.n6f("Expected single char, but got '" + string + "'");
|
|
2635
2635
|
}
|
|
2636
2636
|
return charCodeAt(string, 0);
|
|
2637
2637
|
};
|
|
2638
2638
|
protoOf(StreamingJsonDecoder).mw = function () {
|
|
2639
2639
|
var tmp;
|
|
2640
|
-
if (this.
|
|
2641
|
-
tmp = this.
|
|
2640
|
+
if (this.d6b_1.f6c_1) {
|
|
2641
|
+
tmp = this.z6a_1.l6i();
|
|
2642
2642
|
} else {
|
|
2643
|
-
tmp = this.
|
|
2643
|
+
tmp = this.z6a_1.u6g();
|
|
2644
2644
|
}
|
|
2645
2645
|
return tmp;
|
|
2646
2646
|
};
|
|
2647
2647
|
protoOf(StreamingJsonDecoder).ow = function (descriptor) {
|
|
2648
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2648
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.z6a_1, this.x6a_1) : protoOf(AbstractDecoder).ow.call(this, descriptor);
|
|
2649
2649
|
};
|
|
2650
2650
|
protoOf(StreamingJsonDecoder).nw = function (enumDescriptor) {
|
|
2651
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2651
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.x6a_1, this.mw(), ' at path ' + this.z6a_1.g6b_1.a6g());
|
|
2652
2652
|
};
|
|
2653
2653
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2654
2654
|
AbstractDecoder.call(this);
|
|
2655
|
-
this.
|
|
2656
|
-
this.
|
|
2655
|
+
this.u6i_1 = lexer;
|
|
2656
|
+
this.v6i_1 = json.mt();
|
|
2657
2657
|
}
|
|
2658
2658
|
protoOf(JsonDecoderForUnsignedTypes).mt = function () {
|
|
2659
|
-
return this.
|
|
2659
|
+
return this.v6i_1;
|
|
2660
2660
|
};
|
|
2661
2661
|
protoOf(JsonDecoderForUnsignedTypes).hx = function (descriptor) {
|
|
2662
2662
|
// Inline function 'kotlin.error' call
|
|
@@ -2664,11 +2664,11 @@ protoOf(JsonDecoderForUnsignedTypes).hx = function (descriptor) {
|
|
|
2664
2664
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2665
2665
|
};
|
|
2666
2666
|
protoOf(JsonDecoderForUnsignedTypes).hw = function () {
|
|
2667
|
-
var tmp0 = this.
|
|
2667
|
+
var tmp0 = this.u6i_1;
|
|
2668
2668
|
var tmp$ret$0;
|
|
2669
2669
|
$l$block: {
|
|
2670
2670
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2671
|
-
var input = tmp0.
|
|
2671
|
+
var input = tmp0.v6g();
|
|
2672
2672
|
try {
|
|
2673
2673
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2674
2674
|
var this_0 = toUInt(input);
|
|
@@ -2677,7 +2677,7 @@ protoOf(JsonDecoderForUnsignedTypes).hw = function () {
|
|
|
2677
2677
|
} catch ($p) {
|
|
2678
2678
|
if ($p instanceof IllegalArgumentException) {
|
|
2679
2679
|
var e = $p;
|
|
2680
|
-
tmp0.
|
|
2680
|
+
tmp0.n6f("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2681
2681
|
} else {
|
|
2682
2682
|
throw $p;
|
|
2683
2683
|
}
|
|
@@ -2686,11 +2686,11 @@ protoOf(JsonDecoderForUnsignedTypes).hw = function () {
|
|
|
2686
2686
|
return tmp$ret$0;
|
|
2687
2687
|
};
|
|
2688
2688
|
protoOf(JsonDecoderForUnsignedTypes).iw = function () {
|
|
2689
|
-
var tmp0 = this.
|
|
2689
|
+
var tmp0 = this.u6i_1;
|
|
2690
2690
|
var tmp$ret$0;
|
|
2691
2691
|
$l$block: {
|
|
2692
2692
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2693
|
-
var input = tmp0.
|
|
2693
|
+
var input = tmp0.v6g();
|
|
2694
2694
|
try {
|
|
2695
2695
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2696
2696
|
var this_0 = toULong(input);
|
|
@@ -2699,7 +2699,7 @@ protoOf(JsonDecoderForUnsignedTypes).iw = function () {
|
|
|
2699
2699
|
} catch ($p) {
|
|
2700
2700
|
if ($p instanceof IllegalArgumentException) {
|
|
2701
2701
|
var e = $p;
|
|
2702
|
-
tmp0.
|
|
2702
|
+
tmp0.n6f("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2703
2703
|
} else {
|
|
2704
2704
|
throw $p;
|
|
2705
2705
|
}
|
|
@@ -2708,11 +2708,11 @@ protoOf(JsonDecoderForUnsignedTypes).iw = function () {
|
|
|
2708
2708
|
return tmp$ret$0;
|
|
2709
2709
|
};
|
|
2710
2710
|
protoOf(JsonDecoderForUnsignedTypes).fw = function () {
|
|
2711
|
-
var tmp0 = this.
|
|
2711
|
+
var tmp0 = this.u6i_1;
|
|
2712
2712
|
var tmp$ret$0;
|
|
2713
2713
|
$l$block: {
|
|
2714
2714
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2715
|
-
var input = tmp0.
|
|
2715
|
+
var input = tmp0.v6g();
|
|
2716
2716
|
try {
|
|
2717
2717
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2718
2718
|
var this_0 = toUByte(input);
|
|
@@ -2721,7 +2721,7 @@ protoOf(JsonDecoderForUnsignedTypes).fw = function () {
|
|
|
2721
2721
|
} catch ($p) {
|
|
2722
2722
|
if ($p instanceof IllegalArgumentException) {
|
|
2723
2723
|
var e = $p;
|
|
2724
|
-
tmp0.
|
|
2724
|
+
tmp0.n6f("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2725
2725
|
} else {
|
|
2726
2726
|
throw $p;
|
|
2727
2727
|
}
|
|
@@ -2730,11 +2730,11 @@ protoOf(JsonDecoderForUnsignedTypes).fw = function () {
|
|
|
2730
2730
|
return tmp$ret$0;
|
|
2731
2731
|
};
|
|
2732
2732
|
protoOf(JsonDecoderForUnsignedTypes).gw = function () {
|
|
2733
|
-
var tmp0 = this.
|
|
2733
|
+
var tmp0 = this.u6i_1;
|
|
2734
2734
|
var tmp$ret$0;
|
|
2735
2735
|
$l$block: {
|
|
2736
2736
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2737
|
-
var input = tmp0.
|
|
2737
|
+
var input = tmp0.v6g();
|
|
2738
2738
|
try {
|
|
2739
2739
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2740
2740
|
var this_0 = toUShort(input);
|
|
@@ -2743,7 +2743,7 @@ protoOf(JsonDecoderForUnsignedTypes).gw = function () {
|
|
|
2743
2743
|
} catch ($p) {
|
|
2744
2744
|
if ($p instanceof IllegalArgumentException) {
|
|
2745
2745
|
var e = $p;
|
|
2746
|
-
tmp0.
|
|
2746
|
+
tmp0.n6f("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2747
2747
|
} else {
|
|
2748
2748
|
throw $p;
|
|
2749
2749
|
}
|
|
@@ -2764,53 +2764,53 @@ function StreamingJsonEncoder_init_$Create$(output, json, mode, modeReuseCache)
|
|
|
2764
2764
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2765
2765
|
}
|
|
2766
2766
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2767
|
-
$this.
|
|
2767
|
+
$this.e6g_1.h6e();
|
|
2768
2768
|
$this.ux(discriminator);
|
|
2769
|
-
$this.
|
|
2770
|
-
$this.
|
|
2769
|
+
$this.e6g_1.k6e(_Char___init__impl__6a9atx(58));
|
|
2770
|
+
$this.e6g_1.j6e();
|
|
2771
2771
|
$this.ux(serialName);
|
|
2772
2772
|
}
|
|
2773
2773
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2774
2774
|
AbstractEncoder.call(this);
|
|
2775
|
-
this.
|
|
2776
|
-
this.
|
|
2777
|
-
this.
|
|
2778
|
-
this.
|
|
2779
|
-
this.
|
|
2780
|
-
this.
|
|
2781
|
-
this.
|
|
2782
|
-
this.k6g_1 = null;
|
|
2775
|
+
this.e6g_1 = composer;
|
|
2776
|
+
this.f6g_1 = json;
|
|
2777
|
+
this.g6g_1 = mode;
|
|
2778
|
+
this.h6g_1 = modeReuseCache;
|
|
2779
|
+
this.i6g_1 = this.f6g_1.mt();
|
|
2780
|
+
this.j6g_1 = this.f6g_1.s6a_1;
|
|
2781
|
+
this.k6g_1 = false;
|
|
2783
2782
|
this.l6g_1 = null;
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2783
|
+
this.m6g_1 = null;
|
|
2784
|
+
var i = this.g6g_1.a1_1;
|
|
2785
|
+
if (!(this.h6g_1 == null)) {
|
|
2786
|
+
if (!(this.h6g_1[i] === null) || !(this.h6g_1[i] === this)) {
|
|
2787
|
+
this.h6g_1[i] = this;
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
2790
|
}
|
|
2791
|
-
protoOf(StreamingJsonEncoder).
|
|
2792
|
-
return this.
|
|
2791
|
+
protoOf(StreamingJsonEncoder).u6c = function () {
|
|
2792
|
+
return this.f6g_1;
|
|
2793
2793
|
};
|
|
2794
2794
|
protoOf(StreamingJsonEncoder).mt = function () {
|
|
2795
|
-
return this.
|
|
2795
|
+
return this.i6g_1;
|
|
2796
2796
|
};
|
|
2797
2797
|
protoOf(StreamingJsonEncoder).my = function (descriptor, index) {
|
|
2798
|
-
return this.
|
|
2798
|
+
return this.j6g_1.d6c_1;
|
|
2799
2799
|
};
|
|
2800
2800
|
protoOf(StreamingJsonEncoder).nt = function (serializer, value) {
|
|
2801
2801
|
$l$block: {
|
|
2802
2802
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2803
|
-
if (this.
|
|
2803
|
+
if (this.u6c().s6a_1.l6c_1) {
|
|
2804
2804
|
serializer.ot(this, value);
|
|
2805
2805
|
break $l$block;
|
|
2806
2806
|
}
|
|
2807
2807
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2808
2808
|
var tmp;
|
|
2809
2809
|
if (isPolymorphicSerializer) {
|
|
2810
|
-
tmp = !this.
|
|
2810
|
+
tmp = !this.u6c().s6a_1.t6c_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2811
2811
|
} else {
|
|
2812
2812
|
var tmp_0;
|
|
2813
|
-
switch (this.
|
|
2813
|
+
switch (this.u6c().s6a_1.t6c_1.a1_1) {
|
|
2814
2814
|
case 0:
|
|
2815
2815
|
case 2:
|
|
2816
2816
|
tmp_0 = false;
|
|
@@ -2828,7 +2828,7 @@ protoOf(StreamingJsonEncoder).nt = function (serializer, value) {
|
|
|
2828
2828
|
tmp = tmp_0;
|
|
2829
2829
|
}
|
|
2830
2830
|
var needDiscriminator = tmp;
|
|
2831
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.bt(), this.
|
|
2831
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.bt(), this.u6c()) : null;
|
|
2832
2832
|
var tmp_1;
|
|
2833
2833
|
if (isPolymorphicSerializer) {
|
|
2834
2834
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -2853,93 +2853,93 @@ protoOf(StreamingJsonEncoder).nt = function (serializer, value) {
|
|
|
2853
2853
|
var actualSerializer = tmp_1;
|
|
2854
2854
|
if (!(baseClassDiscriminator == null)) {
|
|
2855
2855
|
var serialName = actualSerializer.bt().gu();
|
|
2856
|
-
this.
|
|
2857
|
-
this.
|
|
2856
|
+
this.l6g_1 = baseClassDiscriminator;
|
|
2857
|
+
this.m6g_1 = serialName;
|
|
2858
2858
|
}
|
|
2859
2859
|
actualSerializer.ot(this, value);
|
|
2860
2860
|
}
|
|
2861
2861
|
};
|
|
2862
2862
|
protoOf(StreamingJsonEncoder).qw = function (descriptor) {
|
|
2863
|
-
var newMode = switchMode(this.
|
|
2864
|
-
if (!(newMode.
|
|
2865
|
-
this.
|
|
2866
|
-
this.
|
|
2863
|
+
var newMode = switchMode(this.f6g_1, descriptor);
|
|
2864
|
+
if (!(newMode.p6i_1 === _Char___init__impl__6a9atx(0))) {
|
|
2865
|
+
this.e6g_1.k6e(newMode.p6i_1);
|
|
2866
|
+
this.e6g_1.f6e();
|
|
2867
2867
|
}
|
|
2868
|
-
var discriminator = this.
|
|
2868
|
+
var discriminator = this.l6g_1;
|
|
2869
2869
|
if (!(discriminator == null)) {
|
|
2870
|
-
var tmp0_elvis_lhs = this.
|
|
2870
|
+
var tmp0_elvis_lhs = this.m6g_1;
|
|
2871
2871
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.gu() : tmp0_elvis_lhs);
|
|
2872
|
-
this.k6g_1 = null;
|
|
2873
2872
|
this.l6g_1 = null;
|
|
2873
|
+
this.m6g_1 = null;
|
|
2874
2874
|
}
|
|
2875
|
-
if (this.
|
|
2875
|
+
if (this.g6g_1.equals(newMode)) {
|
|
2876
2876
|
return this;
|
|
2877
2877
|
}
|
|
2878
|
-
var tmp1_safe_receiver = this.
|
|
2878
|
+
var tmp1_safe_receiver = this.h6g_1;
|
|
2879
2879
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.a1_1];
|
|
2880
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2880
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.e6g_1, this.f6g_1, newMode, this.h6g_1) : tmp2_elvis_lhs;
|
|
2881
2881
|
};
|
|
2882
2882
|
protoOf(StreamingJsonEncoder).rw = function (descriptor) {
|
|
2883
|
-
if (!(this.
|
|
2884
|
-
this.
|
|
2885
|
-
this.
|
|
2886
|
-
this.
|
|
2883
|
+
if (!(this.g6g_1.q6i_1 === _Char___init__impl__6a9atx(0))) {
|
|
2884
|
+
this.e6g_1.g6e();
|
|
2885
|
+
this.e6g_1.i6e();
|
|
2886
|
+
this.e6g_1.k6e(this.g6g_1.q6i_1);
|
|
2887
2887
|
}
|
|
2888
2888
|
};
|
|
2889
2889
|
protoOf(StreamingJsonEncoder).jx = function (descriptor, index) {
|
|
2890
|
-
switch (this.
|
|
2890
|
+
switch (this.g6g_1.a1_1) {
|
|
2891
2891
|
case 1:
|
|
2892
|
-
if (!this.
|
|
2893
|
-
this.
|
|
2892
|
+
if (!this.e6g_1.e6e_1) {
|
|
2893
|
+
this.e6g_1.k6e(_Char___init__impl__6a9atx(44));
|
|
2894
2894
|
}
|
|
2895
2895
|
|
|
2896
|
-
this.
|
|
2896
|
+
this.e6g_1.h6e();
|
|
2897
2897
|
break;
|
|
2898
2898
|
case 2:
|
|
2899
|
-
if (!this.
|
|
2899
|
+
if (!this.e6g_1.e6e_1) {
|
|
2900
2900
|
var tmp = this;
|
|
2901
2901
|
var tmp_0;
|
|
2902
2902
|
if ((index % 2 | 0) === 0) {
|
|
2903
|
-
this.
|
|
2904
|
-
this.
|
|
2903
|
+
this.e6g_1.k6e(_Char___init__impl__6a9atx(44));
|
|
2904
|
+
this.e6g_1.h6e();
|
|
2905
2905
|
tmp_0 = true;
|
|
2906
2906
|
} else {
|
|
2907
|
-
this.
|
|
2908
|
-
this.
|
|
2907
|
+
this.e6g_1.k6e(_Char___init__impl__6a9atx(58));
|
|
2908
|
+
this.e6g_1.j6e();
|
|
2909
2909
|
tmp_0 = false;
|
|
2910
2910
|
}
|
|
2911
|
-
tmp.
|
|
2911
|
+
tmp.k6g_1 = tmp_0;
|
|
2912
2912
|
} else {
|
|
2913
|
-
this.
|
|
2914
|
-
this.
|
|
2913
|
+
this.k6g_1 = true;
|
|
2914
|
+
this.e6g_1.h6e();
|
|
2915
2915
|
}
|
|
2916
2916
|
|
|
2917
2917
|
break;
|
|
2918
2918
|
case 3:
|
|
2919
2919
|
if (index === 0)
|
|
2920
|
-
this.
|
|
2920
|
+
this.k6g_1 = true;
|
|
2921
2921
|
if (index === 1) {
|
|
2922
|
-
this.
|
|
2923
|
-
this.
|
|
2924
|
-
this.
|
|
2922
|
+
this.e6g_1.k6e(_Char___init__impl__6a9atx(44));
|
|
2923
|
+
this.e6g_1.j6e();
|
|
2924
|
+
this.k6g_1 = false;
|
|
2925
2925
|
}
|
|
2926
2926
|
|
|
2927
2927
|
break;
|
|
2928
2928
|
default:
|
|
2929
|
-
if (!this.
|
|
2930
|
-
this.
|
|
2929
|
+
if (!this.e6g_1.e6e_1) {
|
|
2930
|
+
this.e6g_1.k6e(_Char___init__impl__6a9atx(44));
|
|
2931
2931
|
}
|
|
2932
2932
|
|
|
2933
|
-
this.
|
|
2934
|
-
this.ux(getJsonElementName(descriptor, this.
|
|
2935
|
-
this.
|
|
2936
|
-
this.
|
|
2933
|
+
this.e6g_1.h6e();
|
|
2934
|
+
this.ux(getJsonElementName(descriptor, this.f6g_1, index));
|
|
2935
|
+
this.e6g_1.k6e(_Char___init__impl__6a9atx(58));
|
|
2936
|
+
this.e6g_1.j6e();
|
|
2937
2937
|
break;
|
|
2938
2938
|
}
|
|
2939
2939
|
return true;
|
|
2940
2940
|
};
|
|
2941
2941
|
protoOf(StreamingJsonEncoder).iy = function (descriptor, index, serializer, value) {
|
|
2942
|
-
if (!(value == null) || this.
|
|
2942
|
+
if (!(value == null) || this.j6g_1.i6c_1) {
|
|
2943
2943
|
protoOf(AbstractEncoder).iy.call(this, descriptor, index, serializer, value);
|
|
2944
2944
|
}
|
|
2945
2945
|
};
|
|
@@ -2948,32 +2948,32 @@ protoOf(StreamingJsonEncoder).wx = function (descriptor) {
|
|
|
2948
2948
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2949
2949
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2950
2950
|
var tmp_0;
|
|
2951
|
-
var tmp_1 = this.
|
|
2951
|
+
var tmp_1 = this.e6g_1;
|
|
2952
2952
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2953
|
-
tmp_0 = this.
|
|
2953
|
+
tmp_0 = this.e6g_1;
|
|
2954
2954
|
} else {
|
|
2955
|
-
var tmp0 = this.
|
|
2956
|
-
var p1 = this.
|
|
2955
|
+
var tmp0 = this.e6g_1.d6e_1;
|
|
2956
|
+
var p1 = this.k6g_1;
|
|
2957
2957
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
2958
2958
|
}
|
|
2959
2959
|
var tmp$ret$0 = tmp_0;
|
|
2960
|
-
tmp = new StreamingJsonEncoder(tmp$ret$0, this.
|
|
2960
|
+
tmp = new StreamingJsonEncoder(tmp$ret$0, this.f6g_1, this.g6g_1, null);
|
|
2961
2961
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2962
2962
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2963
2963
|
var tmp_2;
|
|
2964
|
-
var tmp_3 = this.
|
|
2964
|
+
var tmp_3 = this.e6g_1;
|
|
2965
2965
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2966
|
-
tmp_2 = this.
|
|
2966
|
+
tmp_2 = this.e6g_1;
|
|
2967
2967
|
} else {
|
|
2968
|
-
var tmp0_0 = this.
|
|
2969
|
-
var p1_0 = this.
|
|
2968
|
+
var tmp0_0 = this.e6g_1.d6e_1;
|
|
2969
|
+
var p1_0 = this.k6g_1;
|
|
2970
2970
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
2971
2971
|
}
|
|
2972
2972
|
var tmp$ret$2 = tmp_2;
|
|
2973
|
-
tmp = new StreamingJsonEncoder(tmp$ret$2, this.
|
|
2974
|
-
} else if (!(this.
|
|
2973
|
+
tmp = new StreamingJsonEncoder(tmp$ret$2, this.f6g_1, this.g6g_1, null);
|
|
2974
|
+
} else if (!(this.l6g_1 == null)) {
|
|
2975
2975
|
// Inline function 'kotlin.apply' call
|
|
2976
|
-
this.
|
|
2976
|
+
this.m6g_1 = descriptor.gu();
|
|
2977
2977
|
tmp = this;
|
|
2978
2978
|
} else {
|
|
2979
2979
|
tmp = protoOf(AbstractEncoder).wx.call(this, descriptor);
|
|
@@ -2981,68 +2981,68 @@ protoOf(StreamingJsonEncoder).wx = function (descriptor) {
|
|
|
2981
2981
|
return tmp;
|
|
2982
2982
|
};
|
|
2983
2983
|
protoOf(StreamingJsonEncoder).lx = function () {
|
|
2984
|
-
this.
|
|
2984
|
+
this.e6g_1.m6e('null');
|
|
2985
2985
|
};
|
|
2986
2986
|
protoOf(StreamingJsonEncoder).mx = function (value) {
|
|
2987
|
-
if (this.
|
|
2987
|
+
if (this.k6g_1) {
|
|
2988
2988
|
this.ux(value.toString());
|
|
2989
2989
|
} else {
|
|
2990
|
-
this.
|
|
2990
|
+
this.e6g_1.v6e(value);
|
|
2991
2991
|
}
|
|
2992
2992
|
};
|
|
2993
2993
|
protoOf(StreamingJsonEncoder).nx = function (value) {
|
|
2994
|
-
if (this.
|
|
2994
|
+
if (this.k6g_1) {
|
|
2995
2995
|
this.ux(value.toString());
|
|
2996
2996
|
} else {
|
|
2997
|
-
this.
|
|
2997
|
+
this.e6g_1.q6e(value);
|
|
2998
2998
|
}
|
|
2999
2999
|
};
|
|
3000
3000
|
protoOf(StreamingJsonEncoder).ox = function (value) {
|
|
3001
|
-
if (this.
|
|
3001
|
+
if (this.k6g_1) {
|
|
3002
3002
|
this.ux(value.toString());
|
|
3003
3003
|
} else {
|
|
3004
|
-
this.
|
|
3004
|
+
this.e6g_1.s6e(value);
|
|
3005
3005
|
}
|
|
3006
3006
|
};
|
|
3007
3007
|
protoOf(StreamingJsonEncoder).px = function (value) {
|
|
3008
|
-
if (this.
|
|
3008
|
+
if (this.k6g_1) {
|
|
3009
3009
|
this.ux(value.toString());
|
|
3010
3010
|
} else {
|
|
3011
|
-
this.
|
|
3011
|
+
this.e6g_1.t6e(value);
|
|
3012
3012
|
}
|
|
3013
3013
|
};
|
|
3014
3014
|
protoOf(StreamingJsonEncoder).qx = function (value) {
|
|
3015
|
-
if (this.
|
|
3015
|
+
if (this.k6g_1) {
|
|
3016
3016
|
this.ux(value.toString());
|
|
3017
3017
|
} else {
|
|
3018
|
-
this.
|
|
3018
|
+
this.e6g_1.u6e(value);
|
|
3019
3019
|
}
|
|
3020
3020
|
};
|
|
3021
3021
|
protoOf(StreamingJsonEncoder).rx = function (value) {
|
|
3022
|
-
if (this.
|
|
3022
|
+
if (this.k6g_1) {
|
|
3023
3023
|
this.ux(value.toString());
|
|
3024
3024
|
} else {
|
|
3025
|
-
this.
|
|
3025
|
+
this.e6g_1.o6e(value);
|
|
3026
3026
|
}
|
|
3027
|
-
if (!this.
|
|
3028
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3027
|
+
if (!this.j6g_1.n6c_1 && !isFinite(value)) {
|
|
3028
|
+
throw InvalidFloatingPointEncoded(value, toString(this.e6g_1.d6e_1));
|
|
3029
3029
|
}
|
|
3030
3030
|
};
|
|
3031
3031
|
protoOf(StreamingJsonEncoder).sx = function (value) {
|
|
3032
|
-
if (this.
|
|
3032
|
+
if (this.k6g_1) {
|
|
3033
3033
|
this.ux(value.toString());
|
|
3034
3034
|
} else {
|
|
3035
|
-
this.
|
|
3035
|
+
this.e6g_1.p6e(value);
|
|
3036
3036
|
}
|
|
3037
|
-
if (!this.
|
|
3038
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3037
|
+
if (!this.j6g_1.n6c_1 && !isFinite_0(value)) {
|
|
3038
|
+
throw InvalidFloatingPointEncoded(value, toString(this.e6g_1.d6e_1));
|
|
3039
3039
|
}
|
|
3040
3040
|
};
|
|
3041
3041
|
protoOf(StreamingJsonEncoder).tx = function (value) {
|
|
3042
3042
|
this.ux(toString_1(value));
|
|
3043
3043
|
};
|
|
3044
3044
|
protoOf(StreamingJsonEncoder).ux = function (value) {
|
|
3045
|
-
return this.
|
|
3045
|
+
return this.e6g_1.w6e(value);
|
|
3046
3046
|
};
|
|
3047
3047
|
protoOf(StreamingJsonEncoder).vx = function (enumDescriptor, index) {
|
|
3048
3048
|
this.ux(enumDescriptor.cv(index));
|
|
@@ -3216,42 +3216,42 @@ function _init_properties_StringOps_kt__fcy1db() {
|
|
|
3216
3216
|
}
|
|
3217
3217
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
3218
3218
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
3219
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
3219
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.c6j(tag), toString($this.d6j()));
|
|
3220
3220
|
}
|
|
3221
3221
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
3222
3222
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3223
3223
|
NamedValueDecoder.call(this);
|
|
3224
|
-
this.
|
|
3225
|
-
this.
|
|
3226
|
-
this.
|
|
3227
|
-
this.
|
|
3224
|
+
this.y6i_1 = json;
|
|
3225
|
+
this.z6i_1 = value;
|
|
3226
|
+
this.a6j_1 = polymorphicDiscriminator;
|
|
3227
|
+
this.b6j_1 = this.u6c().s6a_1;
|
|
3228
3228
|
}
|
|
3229
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3230
|
-
return this.
|
|
3229
|
+
protoOf(AbstractJsonTreeDecoder).u6c = function () {
|
|
3230
|
+
return this.y6i_1;
|
|
3231
3231
|
};
|
|
3232
3232
|
protoOf(AbstractJsonTreeDecoder).n1 = function () {
|
|
3233
|
-
return this.
|
|
3233
|
+
return this.z6i_1;
|
|
3234
3234
|
};
|
|
3235
3235
|
protoOf(AbstractJsonTreeDecoder).mt = function () {
|
|
3236
|
-
return this.
|
|
3236
|
+
return this.u6c().mt();
|
|
3237
3237
|
};
|
|
3238
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3238
|
+
protoOf(AbstractJsonTreeDecoder).d6j = function () {
|
|
3239
3239
|
var tmp0_safe_receiver = this.z1a();
|
|
3240
3240
|
var tmp;
|
|
3241
3241
|
if (tmp0_safe_receiver == null) {
|
|
3242
3242
|
tmp = null;
|
|
3243
3243
|
} else {
|
|
3244
3244
|
// Inline function 'kotlin.let' call
|
|
3245
|
-
tmp = this.
|
|
3245
|
+
tmp = this.e6j(tmp0_safe_receiver);
|
|
3246
3246
|
}
|
|
3247
3247
|
var tmp1_elvis_lhs = tmp;
|
|
3248
3248
|
return tmp1_elvis_lhs == null ? this.n1() : tmp1_elvis_lhs;
|
|
3249
3249
|
};
|
|
3250
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3250
|
+
protoOf(AbstractJsonTreeDecoder).c6j = function (currentTag) {
|
|
3251
3251
|
return this.b1b() + ('.' + currentTag);
|
|
3252
3252
|
};
|
|
3253
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3254
|
-
return this.
|
|
3253
|
+
protoOf(AbstractJsonTreeDecoder).v6c = function () {
|
|
3254
|
+
return this.d6j();
|
|
3255
3255
|
};
|
|
3256
3256
|
protoOf(AbstractJsonTreeDecoder).qt = function (deserializer) {
|
|
3257
3257
|
var tmp$ret$0;
|
|
@@ -3261,14 +3261,14 @@ protoOf(AbstractJsonTreeDecoder).qt = function (deserializer) {
|
|
|
3261
3261
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3262
3262
|
tmp = true;
|
|
3263
3263
|
} else {
|
|
3264
|
-
tmp = this.
|
|
3264
|
+
tmp = this.u6c().s6a_1.l6c_1;
|
|
3265
3265
|
}
|
|
3266
3266
|
if (tmp) {
|
|
3267
3267
|
tmp$ret$0 = deserializer.pt(this);
|
|
3268
3268
|
break $l$block;
|
|
3269
3269
|
}
|
|
3270
|
-
var discriminator = classDiscriminator(deserializer.bt(), this.
|
|
3271
|
-
var tmp0 = this.
|
|
3270
|
+
var discriminator = classDiscriminator(deserializer.bt(), this.u6c());
|
|
3271
|
+
var tmp0 = this.v6c();
|
|
3272
3272
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3273
3273
|
var serialName = deserializer.bt().gu();
|
|
3274
3274
|
if (!(tmp0 instanceof JsonObject)) {
|
|
@@ -3295,7 +3295,7 @@ protoOf(AbstractJsonTreeDecoder).qt = function (deserializer) {
|
|
|
3295
3295
|
}
|
|
3296
3296
|
var tmp_4 = tmp_2;
|
|
3297
3297
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3298
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3298
|
+
tmp$ret$0 = readPolymorphicJson(this.u6c(), discriminator, jsonTree, actualSerializer);
|
|
3299
3299
|
}
|
|
3300
3300
|
return tmp$ret$0;
|
|
3301
3301
|
};
|
|
@@ -3303,7 +3303,7 @@ protoOf(AbstractJsonTreeDecoder).a1b = function (parentName, childName) {
|
|
|
3303
3303
|
return childName;
|
|
3304
3304
|
};
|
|
3305
3305
|
protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
3306
|
-
var currentObject = this.
|
|
3306
|
+
var currentObject = this.d6j();
|
|
3307
3307
|
var tmp0_subject = descriptor.zu();
|
|
3308
3308
|
var tmp;
|
|
3309
3309
|
var tmp_0;
|
|
@@ -3313,7 +3313,7 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3313
3313
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3314
3314
|
}
|
|
3315
3315
|
if (tmp_0) {
|
|
3316
|
-
var tmp_1 = this.
|
|
3316
|
+
var tmp_1 = this.u6c();
|
|
3317
3317
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3318
3318
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3319
3319
|
var serialName = descriptor.gu();
|
|
@@ -3327,7 +3327,7 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3327
3327
|
} else {
|
|
3328
3328
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3329
3329
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3330
|
-
var this_0 = this.
|
|
3330
|
+
var this_0 = this.u6c();
|
|
3331
3331
|
var keyDescriptor = carrierDescriptor(descriptor.fv(0), this_0.mt());
|
|
3332
3332
|
var keyKind = keyDescriptor.zu();
|
|
3333
3333
|
var tmp_4;
|
|
@@ -3338,7 +3338,7 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3338
3338
|
tmp_5 = equals(keyKind, ENUM_getInstance());
|
|
3339
3339
|
}
|
|
3340
3340
|
if (tmp_5) {
|
|
3341
|
-
var tmp_6 = this.
|
|
3341
|
+
var tmp_6 = this.u6c();
|
|
3342
3342
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3343
3343
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3344
3344
|
var serialName_0 = descriptor.gu();
|
|
@@ -3350,8 +3350,8 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3350
3350
|
}
|
|
3351
3351
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
3352
3352
|
} else {
|
|
3353
|
-
if (this_0.
|
|
3354
|
-
var tmp_9 = this.
|
|
3353
|
+
if (this_0.s6a_1.g6c_1) {
|
|
3354
|
+
var tmp_9 = this.u6c();
|
|
3355
3355
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3356
3356
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3357
3357
|
var serialName_1 = descriptor.gu();
|
|
@@ -3368,7 +3368,7 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3368
3368
|
}
|
|
3369
3369
|
tmp = tmp_4;
|
|
3370
3370
|
} else {
|
|
3371
|
-
var tmp_12 = this.
|
|
3371
|
+
var tmp_12 = this.u6c();
|
|
3372
3372
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3373
3373
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3374
3374
|
var serialName_2 = descriptor.gu();
|
|
@@ -3378,7 +3378,7 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3378
3378
|
var tmp$ret$14 = this.b1b();
|
|
3379
3379
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$14, toString(currentObject));
|
|
3380
3380
|
}
|
|
3381
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
3381
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.a6j_1);
|
|
3382
3382
|
}
|
|
3383
3383
|
}
|
|
3384
3384
|
return tmp;
|
|
@@ -3386,44 +3386,44 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3386
3386
|
protoOf(AbstractJsonTreeDecoder).rw = function (descriptor) {
|
|
3387
3387
|
};
|
|
3388
3388
|
protoOf(AbstractJsonTreeDecoder).cw = function () {
|
|
3389
|
-
var tmp = this.
|
|
3389
|
+
var tmp = this.d6j();
|
|
3390
3390
|
return !(tmp instanceof JsonNull);
|
|
3391
3391
|
};
|
|
3392
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3393
|
-
var tmp = this.
|
|
3392
|
+
protoOf(AbstractJsonTreeDecoder).f6j = function (tag, enumDescriptor) {
|
|
3393
|
+
var tmp = this.u6c();
|
|
3394
3394
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3395
|
-
var tmp2 = this.
|
|
3395
|
+
var tmp2 = this.e6j(tag);
|
|
3396
3396
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3397
3397
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3398
3398
|
var serialName = enumDescriptor.gu();
|
|
3399
3399
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3400
3400
|
var tmp_0 = getKClass(JsonPrimitive).o();
|
|
3401
3401
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3402
|
-
var tmp$ret$3 = this.
|
|
3402
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3403
3403
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$3, toString(tmp2));
|
|
3404
3404
|
}
|
|
3405
3405
|
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.g4k());
|
|
3406
3406
|
};
|
|
3407
3407
|
protoOf(AbstractJsonTreeDecoder).n1b = function (tag, enumDescriptor) {
|
|
3408
|
-
return this.
|
|
3408
|
+
return this.f6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3409
3409
|
};
|
|
3410
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3411
|
-
return !(this.
|
|
3410
|
+
protoOf(AbstractJsonTreeDecoder).g6j = function (tag) {
|
|
3411
|
+
return !(this.e6j(tag) === JsonNull_getInstance());
|
|
3412
3412
|
};
|
|
3413
3413
|
protoOf(AbstractJsonTreeDecoder).d1b = function (tag) {
|
|
3414
|
-
return this.
|
|
3414
|
+
return this.g6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3415
3415
|
};
|
|
3416
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3416
|
+
protoOf(AbstractJsonTreeDecoder).h6j = function (tag) {
|
|
3417
3417
|
var tmp$ret$0;
|
|
3418
3418
|
$l$block: {
|
|
3419
3419
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3420
3420
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3421
3421
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3422
|
-
var value = this.
|
|
3422
|
+
var value = this.e6j(tag);
|
|
3423
3423
|
if (!(value instanceof JsonPrimitive)) {
|
|
3424
3424
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3425
3425
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3426
|
-
var tmp$ret$3 = this.
|
|
3426
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3427
3427
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$3, toString(value));
|
|
3428
3428
|
}
|
|
3429
3429
|
var literal = value;
|
|
@@ -3449,19 +3449,19 @@ protoOf(AbstractJsonTreeDecoder).g6j = function (tag) {
|
|
|
3449
3449
|
return tmp$ret$0;
|
|
3450
3450
|
};
|
|
3451
3451
|
protoOf(AbstractJsonTreeDecoder).e1b = function (tag) {
|
|
3452
|
-
return this.
|
|
3452
|
+
return this.h6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3453
3453
|
};
|
|
3454
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3454
|
+
protoOf(AbstractJsonTreeDecoder).i6j = function (tag) {
|
|
3455
3455
|
var tmp$ret$0;
|
|
3456
3456
|
$l$block: {
|
|
3457
3457
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3458
3458
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3459
3459
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3460
|
-
var value = this.
|
|
3460
|
+
var value = this.e6j(tag);
|
|
3461
3461
|
if (!(value instanceof JsonPrimitive)) {
|
|
3462
3462
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3463
3463
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3464
|
-
var tmp$ret$3 = this.
|
|
3464
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3465
3465
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' at element: ' + tmp$ret$3, toString(value));
|
|
3466
3466
|
}
|
|
3467
3467
|
var literal = value;
|
|
@@ -3496,19 +3496,19 @@ protoOf(AbstractJsonTreeDecoder).h6j = function (tag) {
|
|
|
3496
3496
|
return tmp$ret$0;
|
|
3497
3497
|
};
|
|
3498
3498
|
protoOf(AbstractJsonTreeDecoder).f1b = function (tag) {
|
|
3499
|
-
return this.
|
|
3499
|
+
return this.i6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3500
3500
|
};
|
|
3501
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3501
|
+
protoOf(AbstractJsonTreeDecoder).j6j = function (tag) {
|
|
3502
3502
|
var tmp$ret$0;
|
|
3503
3503
|
$l$block: {
|
|
3504
3504
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3505
3505
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3506
3506
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3507
|
-
var value = this.
|
|
3507
|
+
var value = this.e6j(tag);
|
|
3508
3508
|
if (!(value instanceof JsonPrimitive)) {
|
|
3509
3509
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3510
3510
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3511
|
-
var tmp$ret$3 = this.
|
|
3511
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3512
3512
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' at element: ' + tmp$ret$3, toString(value));
|
|
3513
3513
|
}
|
|
3514
3514
|
var literal = value;
|
|
@@ -3543,19 +3543,19 @@ protoOf(AbstractJsonTreeDecoder).i6j = function (tag) {
|
|
|
3543
3543
|
return tmp$ret$0;
|
|
3544
3544
|
};
|
|
3545
3545
|
protoOf(AbstractJsonTreeDecoder).g1b = function (tag) {
|
|
3546
|
-
return this.
|
|
3546
|
+
return this.j6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3547
3547
|
};
|
|
3548
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3548
|
+
protoOf(AbstractJsonTreeDecoder).k6j = function (tag) {
|
|
3549
3549
|
var tmp$ret$0;
|
|
3550
3550
|
$l$block: {
|
|
3551
3551
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3552
3552
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3553
3553
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3554
|
-
var value = this.
|
|
3554
|
+
var value = this.e6j(tag);
|
|
3555
3555
|
if (!(value instanceof JsonPrimitive)) {
|
|
3556
3556
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3557
3557
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3558
|
-
var tmp$ret$3 = this.
|
|
3558
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3559
3559
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$3, toString(value));
|
|
3560
3560
|
}
|
|
3561
3561
|
var literal = value;
|
|
@@ -3590,19 +3590,19 @@ protoOf(AbstractJsonTreeDecoder).j6j = function (tag) {
|
|
|
3590
3590
|
return tmp$ret$0;
|
|
3591
3591
|
};
|
|
3592
3592
|
protoOf(AbstractJsonTreeDecoder).h1b = function (tag) {
|
|
3593
|
-
return this.
|
|
3593
|
+
return this.k6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3594
3594
|
};
|
|
3595
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3595
|
+
protoOf(AbstractJsonTreeDecoder).l6j = function (tag) {
|
|
3596
3596
|
var tmp$ret$0;
|
|
3597
3597
|
$l$block: {
|
|
3598
3598
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3599
3599
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3600
3600
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3601
|
-
var value = this.
|
|
3601
|
+
var value = this.e6j(tag);
|
|
3602
3602
|
if (!(value instanceof JsonPrimitive)) {
|
|
3603
3603
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3604
3604
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3605
|
-
var tmp$ret$3 = this.
|
|
3605
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3606
3606
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$3, toString(value));
|
|
3607
3607
|
}
|
|
3608
3608
|
var literal = value;
|
|
@@ -3628,19 +3628,19 @@ protoOf(AbstractJsonTreeDecoder).k6j = function (tag) {
|
|
|
3628
3628
|
return tmp$ret$0;
|
|
3629
3629
|
};
|
|
3630
3630
|
protoOf(AbstractJsonTreeDecoder).i1b = function (tag) {
|
|
3631
|
-
return this.
|
|
3631
|
+
return this.l6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3632
3632
|
};
|
|
3633
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3633
|
+
protoOf(AbstractJsonTreeDecoder).m6j = function (tag) {
|
|
3634
3634
|
var tmp$ret$0;
|
|
3635
3635
|
$l$block: {
|
|
3636
3636
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3637
3637
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3638
3638
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3639
|
-
var value = this.
|
|
3639
|
+
var value = this.e6j(tag);
|
|
3640
3640
|
if (!(value instanceof JsonPrimitive)) {
|
|
3641
3641
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3642
3642
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3643
|
-
var tmp$ret$3 = this.
|
|
3643
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3644
3644
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$3, toString(value));
|
|
3645
3645
|
}
|
|
3646
3646
|
var literal = value;
|
|
@@ -3664,25 +3664,25 @@ protoOf(AbstractJsonTreeDecoder).l6j = function (tag) {
|
|
|
3664
3664
|
}
|
|
3665
3665
|
}
|
|
3666
3666
|
var result = tmp$ret$0;
|
|
3667
|
-
var specialFp = this.
|
|
3667
|
+
var specialFp = this.u6c().s6a_1.n6c_1;
|
|
3668
3668
|
if (specialFp || isFinite(result))
|
|
3669
3669
|
return result;
|
|
3670
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3670
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.d6j()));
|
|
3671
3671
|
};
|
|
3672
3672
|
protoOf(AbstractJsonTreeDecoder).j1b = function (tag) {
|
|
3673
|
-
return this.
|
|
3673
|
+
return this.m6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3674
3674
|
};
|
|
3675
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3675
|
+
protoOf(AbstractJsonTreeDecoder).n6j = function (tag) {
|
|
3676
3676
|
var tmp$ret$0;
|
|
3677
3677
|
$l$block: {
|
|
3678
3678
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3679
3679
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3680
3680
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3681
|
-
var value = this.
|
|
3681
|
+
var value = this.e6j(tag);
|
|
3682
3682
|
if (!(value instanceof JsonPrimitive)) {
|
|
3683
3683
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3684
3684
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3685
|
-
var tmp$ret$3 = this.
|
|
3685
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3686
3686
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$3, toString(value));
|
|
3687
3687
|
}
|
|
3688
3688
|
var literal = value;
|
|
@@ -3706,25 +3706,25 @@ protoOf(AbstractJsonTreeDecoder).m6j = function (tag) {
|
|
|
3706
3706
|
}
|
|
3707
3707
|
}
|
|
3708
3708
|
var result = tmp$ret$0;
|
|
3709
|
-
var specialFp = this.
|
|
3709
|
+
var specialFp = this.u6c().s6a_1.n6c_1;
|
|
3710
3710
|
if (specialFp || isFinite_0(result))
|
|
3711
3711
|
return result;
|
|
3712
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3712
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.d6j()));
|
|
3713
3713
|
};
|
|
3714
3714
|
protoOf(AbstractJsonTreeDecoder).k1b = function (tag) {
|
|
3715
|
-
return this.
|
|
3715
|
+
return this.n6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3716
3716
|
};
|
|
3717
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3717
|
+
protoOf(AbstractJsonTreeDecoder).o6j = function (tag) {
|
|
3718
3718
|
var tmp$ret$0;
|
|
3719
3719
|
$l$block: {
|
|
3720
3720
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3721
3721
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3722
3722
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3723
|
-
var value = this.
|
|
3723
|
+
var value = this.e6j(tag);
|
|
3724
3724
|
if (!(value instanceof JsonPrimitive)) {
|
|
3725
3725
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3726
3726
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3727
|
-
var tmp$ret$3 = this.
|
|
3727
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3728
3728
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$3, toString(value));
|
|
3729
3729
|
}
|
|
3730
3730
|
var literal = value;
|
|
@@ -3750,80 +3750,80 @@ protoOf(AbstractJsonTreeDecoder).n6j = function (tag) {
|
|
|
3750
3750
|
return tmp$ret$0;
|
|
3751
3751
|
};
|
|
3752
3752
|
protoOf(AbstractJsonTreeDecoder).l1b = function (tag) {
|
|
3753
|
-
return this.
|
|
3753
|
+
return this.o6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3754
3754
|
};
|
|
3755
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3755
|
+
protoOf(AbstractJsonTreeDecoder).p6j = function (tag) {
|
|
3756
3756
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3757
3757
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3758
|
-
var value = this.
|
|
3758
|
+
var value = this.e6j(tag);
|
|
3759
3759
|
if (!(value instanceof JsonPrimitive)) {
|
|
3760
3760
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3761
3761
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3762
|
-
var tmp$ret$2 = this.
|
|
3762
|
+
var tmp$ret$2 = this.c6j(tag);
|
|
3763
3763
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$2, toString(value));
|
|
3764
3764
|
}
|
|
3765
3765
|
var value_0 = value;
|
|
3766
3766
|
if (!(value_0 instanceof JsonLiteral))
|
|
3767
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3768
|
-
if (!value_0.
|
|
3769
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3767
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.c6j(tag), toString(this.d6j()));
|
|
3768
|
+
if (!value_0.g6d_1 && !this.u6c().s6a_1.f6c_1) {
|
|
3769
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.c6j(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.d6j()));
|
|
3770
3770
|
}
|
|
3771
|
-
return value_0.
|
|
3771
|
+
return value_0.i6d_1;
|
|
3772
3772
|
};
|
|
3773
3773
|
protoOf(AbstractJsonTreeDecoder).m1b = function (tag) {
|
|
3774
|
-
return this.
|
|
3774
|
+
return this.p6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3775
3775
|
};
|
|
3776
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3776
|
+
protoOf(AbstractJsonTreeDecoder).q6j = function (tag, inlineDescriptor) {
|
|
3777
3777
|
var tmp;
|
|
3778
3778
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3779
|
-
var tmp_0 = this.
|
|
3779
|
+
var tmp_0 = this.u6c();
|
|
3780
3780
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3781
|
-
var tmp2 = this.
|
|
3781
|
+
var tmp2 = this.e6j(tag);
|
|
3782
3782
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3783
3783
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3784
3784
|
var serialName = inlineDescriptor.gu();
|
|
3785
3785
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3786
3786
|
var tmp_1 = getKClass(JsonPrimitive).o();
|
|
3787
3787
|
var tmp_2 = getKClassFromExpression(tmp2).o();
|
|
3788
|
-
var tmp$ret$3 = this.
|
|
3788
|
+
var tmp$ret$3 = this.c6j(tag);
|
|
3789
3789
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$3, toString(tmp2));
|
|
3790
3790
|
}
|
|
3791
3791
|
var lexer = StringJsonLexer_0(tmp_0, tmp2.g4k());
|
|
3792
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3792
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.u6c());
|
|
3793
3793
|
} else {
|
|
3794
3794
|
tmp = protoOf(NamedValueDecoder).o1b.call(this, tag, inlineDescriptor);
|
|
3795
3795
|
}
|
|
3796
3796
|
return tmp;
|
|
3797
3797
|
};
|
|
3798
3798
|
protoOf(AbstractJsonTreeDecoder).o1b = function (tag, inlineDescriptor) {
|
|
3799
|
-
return this.
|
|
3799
|
+
return this.q6j((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3800
3800
|
};
|
|
3801
3801
|
protoOf(AbstractJsonTreeDecoder).ow = function (descriptor) {
|
|
3802
|
-
return !(this.z1a() == null) ? protoOf(NamedValueDecoder).ow.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
3802
|
+
return !(this.z1a() == null) ? protoOf(NamedValueDecoder).ow.call(this, descriptor) : (new JsonPrimitiveDecoder(this.u6c(), this.n1(), this.a6j_1)).ow(descriptor);
|
|
3803
3803
|
};
|
|
3804
3804
|
function setForceNull($this, descriptor, index) {
|
|
3805
|
-
$this.
|
|
3806
|
-
return $this.
|
|
3805
|
+
$this.a6k_1 = (!$this.u6c().s6a_1.i6c_1 && !descriptor.gv(index) && descriptor.fv(index).su());
|
|
3806
|
+
return $this.a6k_1;
|
|
3807
3807
|
}
|
|
3808
3808
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3809
3809
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3810
3810
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3811
3811
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3812
|
-
this.
|
|
3813
|
-
this.
|
|
3814
|
-
this.
|
|
3815
|
-
this.
|
|
3812
|
+
this.x6j_1 = value;
|
|
3813
|
+
this.y6j_1 = polyDescriptor;
|
|
3814
|
+
this.z6j_1 = 0;
|
|
3815
|
+
this.a6k_1 = false;
|
|
3816
3816
|
}
|
|
3817
3817
|
protoOf(JsonTreeDecoder).n1 = function () {
|
|
3818
|
-
return this.
|
|
3818
|
+
return this.x6j_1;
|
|
3819
3819
|
};
|
|
3820
3820
|
protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
3821
|
-
$l$loop: while (this.
|
|
3822
|
-
var _unary__edvuaz = this.
|
|
3823
|
-
this.
|
|
3821
|
+
$l$loop: while (this.z6j_1 < descriptor.bv()) {
|
|
3822
|
+
var _unary__edvuaz = this.z6j_1;
|
|
3823
|
+
this.z6j_1 = _unary__edvuaz + 1 | 0;
|
|
3824
3824
|
var name = this.u1a(descriptor, _unary__edvuaz);
|
|
3825
|
-
var index = this.
|
|
3826
|
-
this.
|
|
3825
|
+
var index = this.z6j_1 - 1 | 0;
|
|
3826
|
+
this.a6k_1 = false;
|
|
3827
3827
|
var tmp;
|
|
3828
3828
|
// Inline function 'kotlin.collections.contains' call
|
|
3829
3829
|
// Inline function 'kotlin.collections.containsKey' call
|
|
@@ -3834,9 +3834,9 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
3834
3834
|
tmp = setForceNull(this, descriptor, index);
|
|
3835
3835
|
}
|
|
3836
3836
|
if (tmp) {
|
|
3837
|
-
if (!this.
|
|
3837
|
+
if (!this.b6j_1.k6c_1)
|
|
3838
3838
|
return index;
|
|
3839
|
-
var tmp0 = this.
|
|
3839
|
+
var tmp0 = this.u6c();
|
|
3840
3840
|
var tmp$ret$2;
|
|
3841
3841
|
$l$block_2: {
|
|
3842
3842
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -3844,7 +3844,7 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
3844
3844
|
var elementDescriptor = descriptor.fv(index);
|
|
3845
3845
|
var tmp_0;
|
|
3846
3846
|
if (isOptional && !elementDescriptor.su()) {
|
|
3847
|
-
var tmp_1 = this.
|
|
3847
|
+
var tmp_1 = this.b6k(name);
|
|
3848
3848
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
3849
3849
|
} else {
|
|
3850
3850
|
tmp_0 = false;
|
|
@@ -3856,7 +3856,7 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
3856
3856
|
if (equals(elementDescriptor.zu(), ENUM_getInstance())) {
|
|
3857
3857
|
var tmp_2;
|
|
3858
3858
|
if (elementDescriptor.su()) {
|
|
3859
|
-
var tmp_3 = this.
|
|
3859
|
+
var tmp_3 = this.b6k(name);
|
|
3860
3860
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
3861
3861
|
} else {
|
|
3862
3862
|
tmp_2 = false;
|
|
@@ -3865,7 +3865,7 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
3865
3865
|
tmp$ret$2 = false;
|
|
3866
3866
|
break $l$block_2;
|
|
3867
3867
|
}
|
|
3868
|
-
var tmp_4 = this.
|
|
3868
|
+
var tmp_4 = this.b6k(name);
|
|
3869
3869
|
var tmp0_safe_receiver = tmp_4 instanceof JsonPrimitive ? tmp_4 : null;
|
|
3870
3870
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3871
3871
|
var tmp_5;
|
|
@@ -3877,7 +3877,7 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
3877
3877
|
}
|
|
3878
3878
|
var enumValue = tmp_5;
|
|
3879
3879
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3880
|
-
var coerceToNull = !tmp0.
|
|
3880
|
+
var coerceToNull = !tmp0.s6a_1.i6c_1 && elementDescriptor.su();
|
|
3881
3881
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3882
3882
|
if (setForceNull(this, descriptor, index))
|
|
3883
3883
|
return index;
|
|
@@ -3895,18 +3895,18 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
3895
3895
|
return -1;
|
|
3896
3896
|
};
|
|
3897
3897
|
protoOf(JsonTreeDecoder).cw = function () {
|
|
3898
|
-
return !this.
|
|
3898
|
+
return !this.a6k_1 && protoOf(AbstractJsonTreeDecoder).cw.call(this);
|
|
3899
3899
|
};
|
|
3900
3900
|
protoOf(JsonTreeDecoder).v1a = function (descriptor, index) {
|
|
3901
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3901
|
+
var strategy = namingStrategy(descriptor, this.u6c());
|
|
3902
3902
|
var baseName = descriptor.cv(index);
|
|
3903
3903
|
if (strategy == null) {
|
|
3904
|
-
if (!this.
|
|
3904
|
+
if (!this.b6j_1.o6c_1)
|
|
3905
3905
|
return baseName;
|
|
3906
3906
|
if (this.n1().a3().q2(baseName))
|
|
3907
3907
|
return baseName;
|
|
3908
3908
|
}
|
|
3909
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3909
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.u6c(), descriptor);
|
|
3910
3910
|
// Inline function 'kotlin.collections.find' call
|
|
3911
3911
|
var tmp0 = this.n1().a3();
|
|
3912
3912
|
var tmp$ret$1;
|
|
@@ -3929,35 +3929,35 @@ protoOf(JsonTreeDecoder).v1a = function (descriptor, index) {
|
|
|
3929
3929
|
// Inline function 'kotlin.let' call
|
|
3930
3930
|
return tmp0_safe_receiver;
|
|
3931
3931
|
}
|
|
3932
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3932
|
+
var fallbackName = strategy == null ? null : strategy.r6f(descriptor, index, baseName);
|
|
3933
3933
|
return fallbackName == null ? baseName : fallbackName;
|
|
3934
3934
|
};
|
|
3935
|
-
protoOf(JsonTreeDecoder).
|
|
3935
|
+
protoOf(JsonTreeDecoder).e6j = function (tag) {
|
|
3936
3936
|
return getValue(this.n1(), tag);
|
|
3937
3937
|
};
|
|
3938
|
-
protoOf(JsonTreeDecoder).
|
|
3938
|
+
protoOf(JsonTreeDecoder).b6k = function (tag) {
|
|
3939
3939
|
return this.n1().ee(tag);
|
|
3940
3940
|
};
|
|
3941
3941
|
protoOf(JsonTreeDecoder).qw = function (descriptor) {
|
|
3942
|
-
if (descriptor === this.
|
|
3943
|
-
var tmp = this.
|
|
3944
|
-
var tmp2 = this.
|
|
3942
|
+
if (descriptor === this.y6j_1) {
|
|
3943
|
+
var tmp = this.u6c();
|
|
3944
|
+
var tmp2 = this.d6j();
|
|
3945
3945
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3946
3946
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3947
|
-
var serialName = this.
|
|
3947
|
+
var serialName = this.y6j_1.gu();
|
|
3948
3948
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3949
3949
|
var tmp_0 = getKClass(JsonObject).o();
|
|
3950
3950
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3951
3951
|
var tmp$ret$2 = this.b1b();
|
|
3952
3952
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$2, toString(tmp2));
|
|
3953
3953
|
}
|
|
3954
|
-
return new JsonTreeDecoder(tmp, tmp2, this.
|
|
3954
|
+
return new JsonTreeDecoder(tmp, tmp2, this.a6j_1, this.y6j_1);
|
|
3955
3955
|
}
|
|
3956
3956
|
return protoOf(AbstractJsonTreeDecoder).qw.call(this, descriptor);
|
|
3957
3957
|
};
|
|
3958
3958
|
protoOf(JsonTreeDecoder).rw = function (descriptor) {
|
|
3959
3959
|
var tmp;
|
|
3960
|
-
if (ignoreUnknownKeys(descriptor, this.
|
|
3960
|
+
if (ignoreUnknownKeys(descriptor, this.u6c())) {
|
|
3961
3961
|
tmp = true;
|
|
3962
3962
|
} else {
|
|
3963
3963
|
var tmp_0 = descriptor.zu();
|
|
@@ -3965,15 +3965,15 @@ protoOf(JsonTreeDecoder).rw = function (descriptor) {
|
|
|
3965
3965
|
}
|
|
3966
3966
|
if (tmp)
|
|
3967
3967
|
return Unit_instance;
|
|
3968
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3968
|
+
var strategy = namingStrategy(descriptor, this.u6c());
|
|
3969
3969
|
var tmp_1;
|
|
3970
|
-
if (strategy == null && !this.
|
|
3970
|
+
if (strategy == null && !this.b6j_1.o6c_1) {
|
|
3971
3971
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3972
3972
|
} else if (!(strategy == null)) {
|
|
3973
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3973
|
+
tmp_1 = deserializationNamesMap(this.u6c(), descriptor).a3();
|
|
3974
3974
|
} else {
|
|
3975
3975
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3976
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3976
|
+
var tmp0_safe_receiver = get_schemaCache(this.u6c()).c6i(descriptor, get_JsonDeserializationNamesKey());
|
|
3977
3977
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3978
3978
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a3();
|
|
3979
3979
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3983,76 +3983,76 @@ protoOf(JsonTreeDecoder).rw = function (descriptor) {
|
|
|
3983
3983
|
var _iterator__ex2g4s = this.n1().a3().t();
|
|
3984
3984
|
while (_iterator__ex2g4s.u()) {
|
|
3985
3985
|
var key = _iterator__ex2g4s.v();
|
|
3986
|
-
if (!names.q2(key) && !(key === this.
|
|
3986
|
+
if (!names.q2(key) && !(key === this.a6j_1)) {
|
|
3987
3987
|
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.b1b() + '\n' + "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.n1().toString()))));
|
|
3988
3988
|
}
|
|
3989
3989
|
}
|
|
3990
3990
|
};
|
|
3991
3991
|
function JsonTreeListDecoder(json, value) {
|
|
3992
3992
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3993
|
-
this.
|
|
3994
|
-
this.
|
|
3995
|
-
this.
|
|
3993
|
+
this.i6k_1 = value;
|
|
3994
|
+
this.j6k_1 = this.i6k_1.g1();
|
|
3995
|
+
this.k6k_1 = -1;
|
|
3996
3996
|
}
|
|
3997
3997
|
protoOf(JsonTreeListDecoder).n1 = function () {
|
|
3998
|
-
return this.
|
|
3998
|
+
return this.i6k_1;
|
|
3999
3999
|
};
|
|
4000
4000
|
protoOf(JsonTreeListDecoder).v1a = function (descriptor, index) {
|
|
4001
4001
|
return index.toString();
|
|
4002
4002
|
};
|
|
4003
|
-
protoOf(JsonTreeListDecoder).
|
|
4004
|
-
return this.
|
|
4003
|
+
protoOf(JsonTreeListDecoder).e6j = function (tag) {
|
|
4004
|
+
return this.i6k_1.h1(toInt(tag));
|
|
4005
4005
|
};
|
|
4006
4006
|
protoOf(JsonTreeListDecoder).hx = function (descriptor) {
|
|
4007
|
-
while (this.
|
|
4008
|
-
this.
|
|
4009
|
-
return this.
|
|
4007
|
+
while (this.k6k_1 < (this.j6k_1 - 1 | 0)) {
|
|
4008
|
+
this.k6k_1 = this.k6k_1 + 1 | 0;
|
|
4009
|
+
return this.k6k_1;
|
|
4010
4010
|
}
|
|
4011
4011
|
return -1;
|
|
4012
4012
|
};
|
|
4013
4013
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
4014
4014
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
4015
4015
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
4016
|
-
this.
|
|
4016
|
+
this.r6k_1 = value;
|
|
4017
4017
|
this.p1b('primitive');
|
|
4018
4018
|
}
|
|
4019
4019
|
protoOf(JsonPrimitiveDecoder).n1 = function () {
|
|
4020
|
-
return this.
|
|
4020
|
+
return this.r6k_1;
|
|
4021
4021
|
};
|
|
4022
4022
|
protoOf(JsonPrimitiveDecoder).hx = function (descriptor) {
|
|
4023
4023
|
return 0;
|
|
4024
4024
|
};
|
|
4025
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4025
|
+
protoOf(JsonPrimitiveDecoder).e6j = function (tag) {
|
|
4026
4026
|
// Inline function 'kotlin.require' call
|
|
4027
4027
|
if (!(tag === 'primitive')) {
|
|
4028
4028
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
4029
4029
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
4030
4030
|
}
|
|
4031
|
-
return this.
|
|
4031
|
+
return this.r6k_1;
|
|
4032
4032
|
};
|
|
4033
4033
|
function JsonTreeMapDecoder(json, value) {
|
|
4034
4034
|
JsonTreeDecoder.call(this, json, value);
|
|
4035
|
-
this.
|
|
4036
|
-
this.
|
|
4037
|
-
this.
|
|
4038
|
-
this.
|
|
4035
|
+
this.c6l_1 = value;
|
|
4036
|
+
this.d6l_1 = toList(this.c6l_1.a3());
|
|
4037
|
+
this.e6l_1 = imul(this.d6l_1.g1(), 2);
|
|
4038
|
+
this.f6l_1 = -1;
|
|
4039
4039
|
}
|
|
4040
4040
|
protoOf(JsonTreeMapDecoder).n1 = function () {
|
|
4041
|
-
return this.
|
|
4041
|
+
return this.c6l_1;
|
|
4042
4042
|
};
|
|
4043
4043
|
protoOf(JsonTreeMapDecoder).v1a = function (descriptor, index) {
|
|
4044
4044
|
var i = index / 2 | 0;
|
|
4045
|
-
return this.
|
|
4045
|
+
return this.d6l_1.h1(i);
|
|
4046
4046
|
};
|
|
4047
4047
|
protoOf(JsonTreeMapDecoder).hx = function (descriptor) {
|
|
4048
|
-
while (this.
|
|
4049
|
-
this.
|
|
4050
|
-
return this.
|
|
4048
|
+
while (this.f6l_1 < (this.e6l_1 - 1 | 0)) {
|
|
4049
|
+
this.f6l_1 = this.f6l_1 + 1 | 0;
|
|
4050
|
+
return this.f6l_1;
|
|
4051
4051
|
}
|
|
4052
4052
|
return -1;
|
|
4053
4053
|
};
|
|
4054
|
-
protoOf(JsonTreeMapDecoder).
|
|
4055
|
-
return (this.
|
|
4054
|
+
protoOf(JsonTreeMapDecoder).e6j = function (tag) {
|
|
4055
|
+
return (this.f6l_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.c6l_1, tag);
|
|
4056
4056
|
};
|
|
4057
4057
|
protoOf(JsonTreeMapDecoder).rw = function (descriptor) {
|
|
4058
4058
|
};
|
|
@@ -4084,8 +4084,8 @@ function WriteMode_initEntries() {
|
|
|
4084
4084
|
var $ENTRIES;
|
|
4085
4085
|
function WriteMode(name, ordinal, begin, end) {
|
|
4086
4086
|
Enum.call(this, name, ordinal);
|
|
4087
|
-
this.
|
|
4088
|
-
this.
|
|
4087
|
+
this.p6i_1 = begin;
|
|
4088
|
+
this.q6i_1 = end;
|
|
4089
4089
|
}
|
|
4090
4090
|
function switchMode(_this__u8e3s4, desc) {
|
|
4091
4091
|
var tmp0_subject = desc.zu();
|
|
@@ -4110,7 +4110,7 @@ function switchMode(_this__u8e3s4, desc) {
|
|
|
4110
4110
|
if (tmp_1) {
|
|
4111
4111
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
4112
4112
|
} else {
|
|
4113
|
-
if (_this__u8e3s4.
|
|
4113
|
+
if (_this__u8e3s4.s6a_1.g6c_1) {
|
|
4114
4114
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
4115
4115
|
} else {
|
|
4116
4116
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -4154,56 +4154,56 @@ function WriteMode_POLY_OBJ_getInstance() {
|
|
|
4154
4154
|
return WriteMode_POLY_OBJ_instance;
|
|
4155
4155
|
}
|
|
4156
4156
|
function appendEscape($this, lastPosition, current) {
|
|
4157
|
-
$this.
|
|
4157
|
+
$this.g6l(lastPosition, current);
|
|
4158
4158
|
return appendEsc($this, current + 1 | 0);
|
|
4159
4159
|
}
|
|
4160
4160
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4161
|
-
$this.
|
|
4162
|
-
var result = $this.
|
|
4163
|
-
$this.
|
|
4161
|
+
$this.g6l(lastPosition, currentPosition);
|
|
4162
|
+
var result = $this.i6b_1.toString();
|
|
4163
|
+
$this.i6b_1.fd(0);
|
|
4164
4164
|
return result;
|
|
4165
4165
|
}
|
|
4166
4166
|
function takePeeked($this) {
|
|
4167
4167
|
// Inline function 'kotlin.also' call
|
|
4168
|
-
var this_0 = ensureNotNull($this.
|
|
4169
|
-
$this.
|
|
4168
|
+
var this_0 = ensureNotNull($this.h6b_1);
|
|
4169
|
+
$this.h6b_1 = null;
|
|
4170
4170
|
return this_0;
|
|
4171
4171
|
}
|
|
4172
4172
|
function wasUnquotedString($this) {
|
|
4173
|
-
return !(charSequenceGet($this.
|
|
4173
|
+
return !(charSequenceGet($this.h6l(), $this.f6b_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
4174
4174
|
}
|
|
4175
4175
|
function appendEsc($this, startPosition) {
|
|
4176
4176
|
var currentPosition = startPosition;
|
|
4177
|
-
currentPosition = $this.
|
|
4177
|
+
currentPosition = $this.i6l(currentPosition);
|
|
4178
4178
|
if (currentPosition === -1) {
|
|
4179
|
-
$this.
|
|
4179
|
+
$this.n6f('Expected escape sequence to continue, got EOF');
|
|
4180
4180
|
}
|
|
4181
|
-
var tmp = $this.
|
|
4181
|
+
var tmp = $this.h6l();
|
|
4182
4182
|
var _unary__edvuaz = currentPosition;
|
|
4183
4183
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
4184
4184
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
4185
4185
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
4186
|
-
return appendHex($this, $this.
|
|
4186
|
+
return appendHex($this, $this.h6l(), currentPosition);
|
|
4187
4187
|
}
|
|
4188
4188
|
// Inline function 'kotlin.code' call
|
|
4189
4189
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4190
4190
|
var c = escapeToChar(tmp$ret$0);
|
|
4191
4191
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
4192
|
-
$this.
|
|
4192
|
+
$this.n6f("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
4193
4193
|
}
|
|
4194
|
-
$this.
|
|
4194
|
+
$this.i6b_1.s(c);
|
|
4195
4195
|
return currentPosition;
|
|
4196
4196
|
}
|
|
4197
4197
|
function appendHex($this, source, startPos) {
|
|
4198
4198
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4199
|
-
$this.
|
|
4200
|
-
$this.
|
|
4201
|
-
if (($this.
|
|
4202
|
-
$this.
|
|
4199
|
+
$this.f6b_1 = startPos;
|
|
4200
|
+
$this.j6l();
|
|
4201
|
+
if (($this.f6b_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4202
|
+
$this.n6f('Unexpected EOF during unicode escape');
|
|
4203
4203
|
}
|
|
4204
|
-
return appendHex($this, source, $this.
|
|
4204
|
+
return appendHex($this, source, $this.f6b_1);
|
|
4205
4205
|
}
|
|
4206
|
-
$this.
|
|
4206
|
+
$this.i6b_1.s(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0));
|
|
4207
4207
|
return startPos + 4 | 0;
|
|
4208
4208
|
}
|
|
4209
4209
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4228,16 +4228,16 @@ function fromHexChar($this, source, currentPosition) {
|
|
|
4228
4228
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4229
4229
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4230
4230
|
} else {
|
|
4231
|
-
$this.
|
|
4231
|
+
$this.n6f("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4232
4232
|
}
|
|
4233
4233
|
return tmp;
|
|
4234
4234
|
}
|
|
4235
4235
|
function consumeBoolean2($this, start) {
|
|
4236
|
-
var current = $this.
|
|
4237
|
-
if (current >= charSequenceLength($this.
|
|
4238
|
-
$this.
|
|
4236
|
+
var current = $this.i6l(start);
|
|
4237
|
+
if (current >= charSequenceLength($this.h6l()) || current === -1) {
|
|
4238
|
+
$this.n6f('EOF');
|
|
4239
4239
|
}
|
|
4240
|
-
var tmp = $this.
|
|
4240
|
+
var tmp = $this.h6l();
|
|
4241
4241
|
var _unary__edvuaz = current;
|
|
4242
4242
|
current = _unary__edvuaz + 1 | 0;
|
|
4243
4243
|
// Inline function 'kotlin.code' call
|
|
@@ -4256,14 +4256,14 @@ function consumeBoolean2($this, start) {
|
|
|
4256
4256
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4257
4257
|
tmp_0 = false;
|
|
4258
4258
|
} else {
|
|
4259
|
-
$this.
|
|
4259
|
+
$this.n6f("Expected valid boolean literal prefix, but had '" + $this.v6g() + "'");
|
|
4260
4260
|
}
|
|
4261
4261
|
}
|
|
4262
4262
|
return tmp_0;
|
|
4263
4263
|
}
|
|
4264
4264
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4265
|
-
if ((charSequenceLength($this.
|
|
4266
|
-
$this.
|
|
4265
|
+
if ((charSequenceLength($this.h6l()) - current | 0) < literalSuffix.length) {
|
|
4266
|
+
$this.n6f('Unexpected end of boolean literal');
|
|
4267
4267
|
}
|
|
4268
4268
|
var inductionVariable = 0;
|
|
4269
4269
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4272,16 +4272,16 @@ function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
|
4272
4272
|
var i = inductionVariable;
|
|
4273
4273
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4274
4274
|
var expected = charCodeAt(literalSuffix, i);
|
|
4275
|
-
var actual = charSequenceGet($this.
|
|
4275
|
+
var actual = charSequenceGet($this.h6l(), current + i | 0);
|
|
4276
4276
|
// Inline function 'kotlin.code' call
|
|
4277
4277
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4278
4278
|
// Inline function 'kotlin.code' call
|
|
4279
4279
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4280
|
-
$this.
|
|
4280
|
+
$this.n6f("Expected valid boolean literal prefix, but had '" + $this.v6g() + "'");
|
|
4281
4281
|
}
|
|
4282
4282
|
}
|
|
4283
4283
|
while (inductionVariable <= last);
|
|
4284
|
-
$this.
|
|
4284
|
+
$this.f6b_1 = current + literalSuffix.length | 0;
|
|
4285
4285
|
}
|
|
4286
4286
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4287
4287
|
var tmp;
|
|
@@ -4305,77 +4305,77 @@ function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponent
|
|
|
4305
4305
|
return tmp;
|
|
4306
4306
|
}
|
|
4307
4307
|
function AbstractJsonLexer() {
|
|
4308
|
-
this.
|
|
4309
|
-
this.
|
|
4310
|
-
this.
|
|
4311
|
-
this.
|
|
4308
|
+
this.f6b_1 = 0;
|
|
4309
|
+
this.g6b_1 = new JsonPath();
|
|
4310
|
+
this.h6b_1 = null;
|
|
4311
|
+
this.i6b_1 = StringBuilder_init_$Create$();
|
|
4312
4312
|
}
|
|
4313
|
-
protoOf(AbstractJsonLexer).
|
|
4313
|
+
protoOf(AbstractJsonLexer).j6l = function () {
|
|
4314
4314
|
};
|
|
4315
|
-
protoOf(AbstractJsonLexer).
|
|
4316
|
-
var current = this.
|
|
4317
|
-
var source = this.
|
|
4315
|
+
protoOf(AbstractJsonLexer).f6i = function () {
|
|
4316
|
+
var current = this.k6l();
|
|
4317
|
+
var source = this.h6l();
|
|
4318
4318
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4319
4319
|
return false;
|
|
4320
4320
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4321
|
-
this.
|
|
4321
|
+
this.f6b_1 = this.f6b_1 + 1 | 0;
|
|
4322
4322
|
return true;
|
|
4323
4323
|
}
|
|
4324
4324
|
return false;
|
|
4325
4325
|
};
|
|
4326
|
-
protoOf(AbstractJsonLexer).
|
|
4326
|
+
protoOf(AbstractJsonLexer).l6l = function (c) {
|
|
4327
4327
|
return c === _Char___init__impl__6a9atx(125) || c === _Char___init__impl__6a9atx(93) || (c === _Char___init__impl__6a9atx(58) || c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
4328
4328
|
};
|
|
4329
|
-
protoOf(AbstractJsonLexer).
|
|
4330
|
-
var nextToken = this.
|
|
4329
|
+
protoOf(AbstractJsonLexer).j6b = function () {
|
|
4330
|
+
var nextToken = this.x6g();
|
|
4331
4331
|
if (!(nextToken === 10)) {
|
|
4332
|
-
this.
|
|
4332
|
+
this.n6f('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.h6l(), this.f6b_1 - 1 | 0)) + ' instead');
|
|
4333
4333
|
}
|
|
4334
4334
|
};
|
|
4335
|
-
protoOf(AbstractJsonLexer).
|
|
4336
|
-
var token = this.
|
|
4335
|
+
protoOf(AbstractJsonLexer).r6g = function (expected) {
|
|
4336
|
+
var token = this.x6g();
|
|
4337
4337
|
if (!(token === expected)) {
|
|
4338
4338
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4339
4339
|
var expected_0 = tokenDescription(expected);
|
|
4340
|
-
var position = true ? this.
|
|
4341
|
-
var s = this.
|
|
4340
|
+
var position = true ? this.f6b_1 - 1 | 0 : this.f6b_1;
|
|
4341
|
+
var s = this.f6b_1 === charSequenceLength(this.h6l()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.h6l(), position));
|
|
4342
4342
|
var tmp$ret$1 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4343
|
-
this.
|
|
4343
|
+
this.n6f(tmp$ret$1, position);
|
|
4344
4344
|
}
|
|
4345
4345
|
return token;
|
|
4346
4346
|
};
|
|
4347
|
-
protoOf(AbstractJsonLexer).
|
|
4348
|
-
if (this.
|
|
4347
|
+
protoOf(AbstractJsonLexer).m6l = function (expected) {
|
|
4348
|
+
if (this.f6b_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4349
4349
|
var tmp$ret$0;
|
|
4350
4350
|
$l$block: {
|
|
4351
4351
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4352
|
-
var snapshot = this.
|
|
4352
|
+
var snapshot = this.f6b_1;
|
|
4353
4353
|
try {
|
|
4354
|
-
this.
|
|
4355
|
-
tmp$ret$0 = this.
|
|
4354
|
+
this.f6b_1 = this.f6b_1 - 1 | 0;
|
|
4355
|
+
tmp$ret$0 = this.v6g();
|
|
4356
4356
|
break $l$block;
|
|
4357
4357
|
}finally {
|
|
4358
|
-
this.
|
|
4358
|
+
this.f6b_1 = snapshot;
|
|
4359
4359
|
}
|
|
4360
4360
|
}
|
|
4361
4361
|
var inputLiteral = tmp$ret$0;
|
|
4362
4362
|
if (inputLiteral === 'null') {
|
|
4363
|
-
this.
|
|
4363
|
+
this.m6f("Expected string literal but 'null' literal was found", this.f6b_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4364
4364
|
}
|
|
4365
4365
|
}
|
|
4366
4366
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4367
4367
|
var expectedToken = charToTokenClass(expected);
|
|
4368
4368
|
var expected_0 = tokenDescription(expectedToken);
|
|
4369
|
-
var position = true ? this.
|
|
4370
|
-
var s = this.
|
|
4369
|
+
var position = true ? this.f6b_1 - 1 | 0 : this.f6b_1;
|
|
4370
|
+
var s = this.f6b_1 === charSequenceLength(this.h6l()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.h6l(), position));
|
|
4371
4371
|
var tmp$ret$3 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4372
|
-
this.
|
|
4372
|
+
this.n6f(tmp$ret$3, position);
|
|
4373
4373
|
};
|
|
4374
|
-
protoOf(AbstractJsonLexer).
|
|
4375
|
-
var source = this.
|
|
4376
|
-
var cpos = this.
|
|
4374
|
+
protoOf(AbstractJsonLexer).s6g = function () {
|
|
4375
|
+
var source = this.h6l();
|
|
4376
|
+
var cpos = this.f6b_1;
|
|
4377
4377
|
$l$loop_0: while (true) {
|
|
4378
|
-
cpos = this.
|
|
4378
|
+
cpos = this.i6l(cpos);
|
|
4379
4379
|
if (cpos === -1)
|
|
4380
4380
|
break $l$loop_0;
|
|
4381
4381
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4383,16 +4383,16 @@ protoOf(AbstractJsonLexer).r6g = function () {
|
|
|
4383
4383
|
cpos = cpos + 1 | 0;
|
|
4384
4384
|
continue $l$loop_0;
|
|
4385
4385
|
}
|
|
4386
|
-
this.
|
|
4386
|
+
this.f6b_1 = cpos;
|
|
4387
4387
|
return charToTokenClass(ch);
|
|
4388
4388
|
}
|
|
4389
|
-
this.
|
|
4389
|
+
this.f6b_1 = cpos;
|
|
4390
4390
|
return 10;
|
|
4391
4391
|
};
|
|
4392
|
-
protoOf(AbstractJsonLexer).
|
|
4393
|
-
var current = this.
|
|
4394
|
-
current = this.
|
|
4395
|
-
var len = charSequenceLength(this.
|
|
4392
|
+
protoOf(AbstractJsonLexer).g6i = function (doConsume) {
|
|
4393
|
+
var current = this.k6l();
|
|
4394
|
+
current = this.i6l(current);
|
|
4395
|
+
var len = charSequenceLength(this.h6l()) - current | 0;
|
|
4396
4396
|
if (len < 4 || current === -1)
|
|
4397
4397
|
return false;
|
|
4398
4398
|
var inductionVariable = 0;
|
|
@@ -4400,50 +4400,50 @@ protoOf(AbstractJsonLexer).f6i = function (doConsume) {
|
|
|
4400
4400
|
do {
|
|
4401
4401
|
var i = inductionVariable;
|
|
4402
4402
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4403
|
-
if (!(charCodeAt('null', i) === charSequenceGet(this.
|
|
4403
|
+
if (!(charCodeAt('null', i) === charSequenceGet(this.h6l(), current + i | 0)))
|
|
4404
4404
|
return false;
|
|
4405
4405
|
}
|
|
4406
4406
|
while (inductionVariable <= 3);
|
|
4407
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4407
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.h6l(), current + 4 | 0)) === 0)
|
|
4408
4408
|
return false;
|
|
4409
4409
|
if (doConsume) {
|
|
4410
|
-
this.
|
|
4410
|
+
this.f6b_1 = current + 4 | 0;
|
|
4411
4411
|
}
|
|
4412
4412
|
return true;
|
|
4413
4413
|
};
|
|
4414
|
-
protoOf(AbstractJsonLexer).
|
|
4414
|
+
protoOf(AbstractJsonLexer).r6i = function (doConsume, $super) {
|
|
4415
4415
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4416
|
-
return $super === VOID ? this.
|
|
4416
|
+
return $super === VOID ? this.g6i(doConsume) : $super.g6i.call(this, doConsume);
|
|
4417
4417
|
};
|
|
4418
|
-
protoOf(AbstractJsonLexer).
|
|
4419
|
-
var token = this.
|
|
4418
|
+
protoOf(AbstractJsonLexer).h6i = function (isLenient) {
|
|
4419
|
+
var token = this.s6g();
|
|
4420
4420
|
var tmp;
|
|
4421
4421
|
if (isLenient) {
|
|
4422
4422
|
if (!(token === 1) && !(token === 0))
|
|
4423
4423
|
return null;
|
|
4424
|
-
tmp = this.
|
|
4424
|
+
tmp = this.v6g();
|
|
4425
4425
|
} else {
|
|
4426
4426
|
if (!(token === 1))
|
|
4427
4427
|
return null;
|
|
4428
|
-
tmp = this.
|
|
4428
|
+
tmp = this.u6g();
|
|
4429
4429
|
}
|
|
4430
4430
|
var string = tmp;
|
|
4431
|
-
this.
|
|
4431
|
+
this.h6b_1 = string;
|
|
4432
4432
|
return string;
|
|
4433
4433
|
};
|
|
4434
|
-
protoOf(AbstractJsonLexer).
|
|
4435
|
-
this.
|
|
4434
|
+
protoOf(AbstractJsonLexer).n6l = function () {
|
|
4435
|
+
this.h6b_1 = null;
|
|
4436
4436
|
};
|
|
4437
4437
|
protoOf(AbstractJsonLexer).l2r = function (startPos, endPos) {
|
|
4438
4438
|
// Inline function 'kotlin.text.substring' call
|
|
4439
|
-
var this_0 = this.
|
|
4439
|
+
var this_0 = this.h6l();
|
|
4440
4440
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4441
4441
|
};
|
|
4442
|
-
protoOf(AbstractJsonLexer).
|
|
4443
|
-
if (!(this.
|
|
4442
|
+
protoOf(AbstractJsonLexer).u6g = function () {
|
|
4443
|
+
if (!(this.h6b_1 == null)) {
|
|
4444
4444
|
return takePeeked(this);
|
|
4445
4445
|
}
|
|
4446
|
-
return this.
|
|
4446
|
+
return this.k6i();
|
|
4447
4447
|
};
|
|
4448
4448
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4449
4449
|
var currentPosition = current;
|
|
@@ -4453,19 +4453,19 @@ protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, cur
|
|
|
4453
4453
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4454
4454
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4455
4455
|
usedAppend = true;
|
|
4456
|
-
currentPosition = this.
|
|
4456
|
+
currentPosition = this.i6l(appendEscape(this, lastPosition, currentPosition));
|
|
4457
4457
|
if (currentPosition === -1) {
|
|
4458
|
-
this.
|
|
4458
|
+
this.n6f('Unexpected EOF', currentPosition);
|
|
4459
4459
|
}
|
|
4460
4460
|
lastPosition = currentPosition;
|
|
4461
4461
|
} else {
|
|
4462
4462
|
currentPosition = currentPosition + 1 | 0;
|
|
4463
4463
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4464
4464
|
usedAppend = true;
|
|
4465
|
-
this.
|
|
4466
|
-
currentPosition = this.
|
|
4465
|
+
this.g6l(lastPosition, currentPosition);
|
|
4466
|
+
currentPosition = this.i6l(currentPosition);
|
|
4467
4467
|
if (currentPosition === -1) {
|
|
4468
|
-
this.
|
|
4468
|
+
this.n6f('Unexpected EOF', currentPosition);
|
|
4469
4469
|
}
|
|
4470
4470
|
lastPosition = currentPosition;
|
|
4471
4471
|
}
|
|
@@ -4479,40 +4479,40 @@ protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, cur
|
|
|
4479
4479
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4480
4480
|
}
|
|
4481
4481
|
var string = tmp;
|
|
4482
|
-
this.
|
|
4482
|
+
this.f6b_1 = currentPosition + 1 | 0;
|
|
4483
4483
|
return string;
|
|
4484
4484
|
};
|
|
4485
|
-
protoOf(AbstractJsonLexer).
|
|
4486
|
-
var result = this.
|
|
4485
|
+
protoOf(AbstractJsonLexer).l6i = function () {
|
|
4486
|
+
var result = this.v6g();
|
|
4487
4487
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4488
|
-
this.
|
|
4488
|
+
this.n6f("Unexpected 'null' value instead of string literal");
|
|
4489
4489
|
}
|
|
4490
4490
|
return result;
|
|
4491
4491
|
};
|
|
4492
|
-
protoOf(AbstractJsonLexer).
|
|
4493
|
-
if (!(this.
|
|
4492
|
+
protoOf(AbstractJsonLexer).v6g = function () {
|
|
4493
|
+
if (!(this.h6b_1 == null)) {
|
|
4494
4494
|
return takePeeked(this);
|
|
4495
4495
|
}
|
|
4496
|
-
var current = this.
|
|
4497
|
-
if (current >= charSequenceLength(this.
|
|
4498
|
-
this.
|
|
4496
|
+
var current = this.k6l();
|
|
4497
|
+
if (current >= charSequenceLength(this.h6l()) || current === -1) {
|
|
4498
|
+
this.n6f('EOF', current);
|
|
4499
4499
|
}
|
|
4500
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4500
|
+
var token = charToTokenClass(charSequenceGet(this.h6l(), current));
|
|
4501
4501
|
if (token === 1) {
|
|
4502
|
-
return this.
|
|
4502
|
+
return this.u6g();
|
|
4503
4503
|
}
|
|
4504
4504
|
if (!(token === 0)) {
|
|
4505
|
-
this.
|
|
4505
|
+
this.n6f('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.h6l(), current)));
|
|
4506
4506
|
}
|
|
4507
4507
|
var usedAppend = false;
|
|
4508
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4508
|
+
while (charToTokenClass(charSequenceGet(this.h6l(), current)) === 0) {
|
|
4509
4509
|
current = current + 1 | 0;
|
|
4510
|
-
if (current >= charSequenceLength(this.
|
|
4510
|
+
if (current >= charSequenceLength(this.h6l())) {
|
|
4511
4511
|
usedAppend = true;
|
|
4512
|
-
this.
|
|
4513
|
-
var eof = this.
|
|
4512
|
+
this.g6l(this.f6b_1, current);
|
|
4513
|
+
var eof = this.i6l(current);
|
|
4514
4514
|
if (eof === -1) {
|
|
4515
|
-
this.
|
|
4515
|
+
this.f6b_1 = current;
|
|
4516
4516
|
return decodedString(this, 0, 0);
|
|
4517
4517
|
} else {
|
|
4518
4518
|
current = eof;
|
|
@@ -4521,32 +4521,32 @@ protoOf(AbstractJsonLexer).u6g = function () {
|
|
|
4521
4521
|
}
|
|
4522
4522
|
var tmp;
|
|
4523
4523
|
if (!usedAppend) {
|
|
4524
|
-
tmp = this.l2r(this.
|
|
4524
|
+
tmp = this.l2r(this.f6b_1, current);
|
|
4525
4525
|
} else {
|
|
4526
|
-
tmp = decodedString(this, this.
|
|
4526
|
+
tmp = decodedString(this, this.f6b_1, current);
|
|
4527
4527
|
}
|
|
4528
4528
|
var result = tmp;
|
|
4529
|
-
this.
|
|
4529
|
+
this.f6b_1 = current;
|
|
4530
4530
|
return result;
|
|
4531
4531
|
};
|
|
4532
|
-
protoOf(AbstractJsonLexer).
|
|
4533
|
-
this.
|
|
4532
|
+
protoOf(AbstractJsonLexer).g6l = function (fromIndex, toIndex) {
|
|
4533
|
+
this.i6b_1.zc(this.h6l(), fromIndex, toIndex);
|
|
4534
4534
|
};
|
|
4535
|
-
protoOf(AbstractJsonLexer).
|
|
4535
|
+
protoOf(AbstractJsonLexer).j6i = function (allowLenientStrings) {
|
|
4536
4536
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4537
4537
|
var tokenStack = ArrayList_init_$Create$();
|
|
4538
|
-
var lastToken = this.
|
|
4538
|
+
var lastToken = this.s6g();
|
|
4539
4539
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4540
|
-
this.
|
|
4540
|
+
this.v6g();
|
|
4541
4541
|
return Unit_instance;
|
|
4542
4542
|
}
|
|
4543
4543
|
$l$loop: while (true) {
|
|
4544
|
-
lastToken = this.
|
|
4544
|
+
lastToken = this.s6g();
|
|
4545
4545
|
if (lastToken === 1) {
|
|
4546
4546
|
if (allowLenientStrings)
|
|
4547
|
-
this.
|
|
4547
|
+
this.v6g();
|
|
4548
4548
|
else
|
|
4549
|
-
this.
|
|
4549
|
+
this.k6i();
|
|
4550
4550
|
continue $l$loop;
|
|
4551
4551
|
}
|
|
4552
4552
|
var tmp0_subject = lastToken;
|
|
@@ -4554,29 +4554,29 @@ protoOf(AbstractJsonLexer).i6i = function (allowLenientStrings) {
|
|
|
4554
4554
|
tokenStack.e1(lastToken);
|
|
4555
4555
|
} else if (tmp0_subject === 9) {
|
|
4556
4556
|
if (!(last(tokenStack) === 8))
|
|
4557
|
-
throw JsonDecodingException_0(this.
|
|
4557
|
+
throw JsonDecodingException_0(this.f6b_1, 'found ] instead of } at path: ' + this.g6b_1.toString(), this.h6l());
|
|
4558
4558
|
removeLast(tokenStack);
|
|
4559
4559
|
} else if (tmp0_subject === 7) {
|
|
4560
4560
|
if (!(last(tokenStack) === 6))
|
|
4561
|
-
throw JsonDecodingException_0(this.
|
|
4561
|
+
throw JsonDecodingException_0(this.f6b_1, 'found } instead of ] at path: ' + this.g6b_1.toString(), this.h6l());
|
|
4562
4562
|
removeLast(tokenStack);
|
|
4563
4563
|
} else if (tmp0_subject === 10) {
|
|
4564
|
-
this.
|
|
4564
|
+
this.n6f('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4565
4565
|
}
|
|
4566
|
-
this.
|
|
4566
|
+
this.x6g();
|
|
4567
4567
|
if (tokenStack.g1() === 0)
|
|
4568
4568
|
return Unit_instance;
|
|
4569
4569
|
}
|
|
4570
4570
|
};
|
|
4571
4571
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4572
|
-
return "JsonReader(source='" + toString(this.
|
|
4572
|
+
return "JsonReader(source='" + toString(this.h6l()) + "', currentPosition=" + this.f6b_1 + ')';
|
|
4573
4573
|
};
|
|
4574
|
-
protoOf(AbstractJsonLexer).
|
|
4575
|
-
var processed = this.l2r(0, this.
|
|
4574
|
+
protoOf(AbstractJsonLexer).i6i = function (key) {
|
|
4575
|
+
var processed = this.l2r(0, this.f6b_1);
|
|
4576
4576
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4577
|
-
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.
|
|
4577
|
+
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.g6b_1.a6g() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.h6l(), lastIndexOf_0))));
|
|
4578
4578
|
};
|
|
4579
|
-
protoOf(AbstractJsonLexer).
|
|
4579
|
+
protoOf(AbstractJsonLexer).m6f = function (message, position, hint) {
|
|
4580
4580
|
var tmp;
|
|
4581
4581
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4582
4582
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4585,24 +4585,24 @@ protoOf(AbstractJsonLexer).l6f = function (message, position, hint) {
|
|
|
4585
4585
|
tmp = '\n' + hint;
|
|
4586
4586
|
}
|
|
4587
4587
|
var hintMessage = tmp;
|
|
4588
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4588
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.g6b_1.a6g() + hintMessage, this.h6l());
|
|
4589
4589
|
};
|
|
4590
|
-
protoOf(AbstractJsonLexer).
|
|
4591
|
-
position = position === VOID ? this.
|
|
4590
|
+
protoOf(AbstractJsonLexer).n6f = function (message, position, hint, $super) {
|
|
4591
|
+
position = position === VOID ? this.f6b_1 : position;
|
|
4592
4592
|
hint = hint === VOID ? '' : hint;
|
|
4593
|
-
return $super === VOID ? this.
|
|
4593
|
+
return $super === VOID ? this.m6f(message, position, hint) : $super.m6f.call(this, message, position, hint);
|
|
4594
4594
|
};
|
|
4595
|
-
protoOf(AbstractJsonLexer).
|
|
4596
|
-
var current = this.
|
|
4597
|
-
current = this.
|
|
4598
|
-
if (current >= charSequenceLength(this.
|
|
4599
|
-
this.
|
|
4595
|
+
protoOf(AbstractJsonLexer).t6i = function () {
|
|
4596
|
+
var current = this.k6l();
|
|
4597
|
+
current = this.i6l(current);
|
|
4598
|
+
if (current >= charSequenceLength(this.h6l()) || current === -1) {
|
|
4599
|
+
this.n6f('EOF');
|
|
4600
4600
|
}
|
|
4601
4601
|
var tmp;
|
|
4602
|
-
if (charSequenceGet(this.
|
|
4602
|
+
if (charSequenceGet(this.h6l(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4603
4603
|
current = current + 1 | 0;
|
|
4604
|
-
if (current === charSequenceLength(this.
|
|
4605
|
-
this.
|
|
4604
|
+
if (current === charSequenceLength(this.h6l())) {
|
|
4605
|
+
this.n6f('EOF');
|
|
4606
4606
|
}
|
|
4607
4607
|
tmp = true;
|
|
4608
4608
|
} else {
|
|
@@ -4615,11 +4615,11 @@ protoOf(AbstractJsonLexer).s6i = function () {
|
|
|
4615
4615
|
var isExponentPositive = false;
|
|
4616
4616
|
var hasExponent = false;
|
|
4617
4617
|
var start = current;
|
|
4618
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4619
|
-
var ch = charSequenceGet(this.
|
|
4618
|
+
$l$loop_4: while (!(current === charSequenceLength(this.h6l()))) {
|
|
4619
|
+
var ch = charSequenceGet(this.h6l(), current);
|
|
4620
4620
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4621
4621
|
if (current === start) {
|
|
4622
|
-
this.
|
|
4622
|
+
this.n6f('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4623
4623
|
}
|
|
4624
4624
|
isExponentPositive = true;
|
|
4625
4625
|
hasExponent = true;
|
|
@@ -4628,7 +4628,7 @@ protoOf(AbstractJsonLexer).s6i = function () {
|
|
|
4628
4628
|
}
|
|
4629
4629
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4630
4630
|
if (current === start) {
|
|
4631
|
-
this.
|
|
4631
|
+
this.n6f("Unexpected symbol '-' in numeric literal");
|
|
4632
4632
|
}
|
|
4633
4633
|
isExponentPositive = false;
|
|
4634
4634
|
current = current + 1 | 0;
|
|
@@ -4636,7 +4636,7 @@ protoOf(AbstractJsonLexer).s6i = function () {
|
|
|
4636
4636
|
}
|
|
4637
4637
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4638
4638
|
if (current === start) {
|
|
4639
|
-
this.
|
|
4639
|
+
this.n6f("Unexpected symbol '+' in numeric literal");
|
|
4640
4640
|
}
|
|
4641
4641
|
isExponentPositive = true;
|
|
4642
4642
|
current = current + 1 | 0;
|
|
@@ -4644,7 +4644,7 @@ protoOf(AbstractJsonLexer).s6i = function () {
|
|
|
4644
4644
|
}
|
|
4645
4645
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4646
4646
|
if (!(current === start)) {
|
|
4647
|
-
this.
|
|
4647
|
+
this.n6f("Unexpected symbol '-' in numeric literal");
|
|
4648
4648
|
}
|
|
4649
4649
|
isNegative = true;
|
|
4650
4650
|
current = current + 1 | 0;
|
|
@@ -4656,7 +4656,7 @@ protoOf(AbstractJsonLexer).s6i = function () {
|
|
|
4656
4656
|
current = current + 1 | 0;
|
|
4657
4657
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4658
4658
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4659
|
-
this.
|
|
4659
|
+
this.n6f("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4660
4660
|
}
|
|
4661
4661
|
if (hasExponent) {
|
|
4662
4662
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4672,31 +4672,31 @@ protoOf(AbstractJsonLexer).s6i = function () {
|
|
|
4672
4672
|
var this_3 = multiply(this_2, fromInt(10));
|
|
4673
4673
|
accumulator = subtract(this_3, fromInt(digit));
|
|
4674
4674
|
if (accumulator > 0n) {
|
|
4675
|
-
this.
|
|
4675
|
+
this.n6f('Numeric value overflow');
|
|
4676
4676
|
}
|
|
4677
4677
|
}
|
|
4678
4678
|
var hasChars = !(current === start);
|
|
4679
4679
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4680
|
-
this.
|
|
4680
|
+
this.n6f('Expected numeric literal');
|
|
4681
4681
|
}
|
|
4682
4682
|
if (hasQuotation) {
|
|
4683
4683
|
if (!hasChars) {
|
|
4684
|
-
this.
|
|
4684
|
+
this.n6f('EOF');
|
|
4685
4685
|
}
|
|
4686
|
-
if (!(charSequenceGet(this.
|
|
4687
|
-
this.
|
|
4686
|
+
if (!(charSequenceGet(this.h6l(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4687
|
+
this.n6f('Expected closing quotation mark');
|
|
4688
4688
|
}
|
|
4689
4689
|
current = current + 1 | 0;
|
|
4690
4690
|
}
|
|
4691
|
-
this.
|
|
4691
|
+
this.f6b_1 = current;
|
|
4692
4692
|
if (hasExponent) {
|
|
4693
4693
|
var doubleAccumulator = toNumber(accumulator) * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4694
4694
|
if (doubleAccumulator > toNumber(9223372036854775807n) || doubleAccumulator < toNumber(-9223372036854775808n)) {
|
|
4695
|
-
this.
|
|
4695
|
+
this.n6f('Numeric value overflow');
|
|
4696
4696
|
}
|
|
4697
4697
|
// Inline function 'kotlin.math.floor' call
|
|
4698
4698
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4699
|
-
this.
|
|
4699
|
+
this.n6f("Can't convert " + doubleAccumulator + ' to Long');
|
|
4700
4700
|
}
|
|
4701
4701
|
accumulator = numberToLong(doubleAccumulator);
|
|
4702
4702
|
}
|
|
@@ -4706,30 +4706,30 @@ protoOf(AbstractJsonLexer).s6i = function () {
|
|
|
4706
4706
|
} else if (!(accumulator === -9223372036854775808n)) {
|
|
4707
4707
|
tmp_0 = negate(accumulator);
|
|
4708
4708
|
} else {
|
|
4709
|
-
this.
|
|
4709
|
+
this.n6f('Numeric value overflow');
|
|
4710
4710
|
}
|
|
4711
4711
|
return tmp_0;
|
|
4712
4712
|
};
|
|
4713
|
-
protoOf(AbstractJsonLexer).
|
|
4714
|
-
var result = this.
|
|
4715
|
-
var next = this.
|
|
4713
|
+
protoOf(AbstractJsonLexer).j6d = function () {
|
|
4714
|
+
var result = this.t6i();
|
|
4715
|
+
var next = this.x6g();
|
|
4716
4716
|
if (!(next === 10)) {
|
|
4717
4717
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4718
4718
|
var expected = tokenDescription(10);
|
|
4719
|
-
var position = true ? this.
|
|
4720
|
-
var s = this.
|
|
4719
|
+
var position = true ? this.f6b_1 - 1 | 0 : this.f6b_1;
|
|
4720
|
+
var s = this.f6b_1 === charSequenceLength(this.h6l()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.h6l(), position));
|
|
4721
4721
|
var tmp$ret$1 = "Expected input to contain a single valid number, but got '" + s + "' after it";
|
|
4722
|
-
this.
|
|
4722
|
+
this.n6f(tmp$ret$1, position);
|
|
4723
4723
|
}
|
|
4724
4724
|
return result;
|
|
4725
4725
|
};
|
|
4726
|
-
protoOf(AbstractJsonLexer).
|
|
4727
|
-
var current = this.
|
|
4728
|
-
if (current === charSequenceLength(this.
|
|
4729
|
-
this.
|
|
4726
|
+
protoOf(AbstractJsonLexer).s6i = function () {
|
|
4727
|
+
var current = this.k6l();
|
|
4728
|
+
if (current === charSequenceLength(this.h6l())) {
|
|
4729
|
+
this.n6f('EOF');
|
|
4730
4730
|
}
|
|
4731
4731
|
var tmp;
|
|
4732
|
-
if (charSequenceGet(this.
|
|
4732
|
+
if (charSequenceGet(this.h6l(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4733
4733
|
current = current + 1 | 0;
|
|
4734
4734
|
tmp = true;
|
|
4735
4735
|
} else {
|
|
@@ -4738,13 +4738,13 @@ protoOf(AbstractJsonLexer).r6i = function () {
|
|
|
4738
4738
|
var hasQuotation = tmp;
|
|
4739
4739
|
var result = consumeBoolean2(this, current);
|
|
4740
4740
|
if (hasQuotation) {
|
|
4741
|
-
if (this.
|
|
4742
|
-
this.
|
|
4741
|
+
if (this.f6b_1 === charSequenceLength(this.h6l())) {
|
|
4742
|
+
this.n6f('EOF');
|
|
4743
4743
|
}
|
|
4744
|
-
if (!(charSequenceGet(this.
|
|
4745
|
-
this.
|
|
4744
|
+
if (!(charSequenceGet(this.h6l(), this.f6b_1) === _Char___init__impl__6a9atx(34))) {
|
|
4745
|
+
this.n6f('Expected closing quotation mark');
|
|
4746
4746
|
}
|
|
4747
|
-
this.
|
|
4747
|
+
this.f6b_1 = this.f6b_1 + 1 | 0;
|
|
4748
4748
|
}
|
|
4749
4749
|
return result;
|
|
4750
4750
|
};
|
|
@@ -4752,7 +4752,7 @@ function charToTokenClass(c) {
|
|
|
4752
4752
|
var tmp;
|
|
4753
4753
|
// Inline function 'kotlin.code' call
|
|
4754
4754
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4755
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4755
|
+
var tmp_0 = CharMappings_getInstance().p6l_1;
|
|
4756
4756
|
// Inline function 'kotlin.code' call
|
|
4757
4757
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4758
4758
|
} else {
|
|
@@ -4764,7 +4764,7 @@ function tokenDescription(token) {
|
|
|
4764
4764
|
return token === 1 ? "quotation mark '\"'" : token === 2 ? "string escape sequence '\\'" : token === 4 ? "comma ','" : token === 5 ? "colon ':'" : token === 6 ? "start of the object '{'" : token === 7 ? "end of the object '}'" : token === 8 ? "start of the array '['" : token === 9 ? "end of the array ']'" : token === 10 ? 'end of the input' : token === 127 ? 'invalid token' : 'valid token';
|
|
4765
4765
|
}
|
|
4766
4766
|
function escapeToChar(c) {
|
|
4767
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4767
|
+
return c < 117 ? CharMappings_getInstance().o6l_1[c] : _Char___init__impl__6a9atx(0);
|
|
4768
4768
|
}
|
|
4769
4769
|
function initEscape($this) {
|
|
4770
4770
|
var inductionVariable = 0;
|
|
@@ -4810,7 +4810,7 @@ function initC2ESC($this, c, esc) {
|
|
|
4810
4810
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4811
4811
|
// Inline function 'kotlin.code' call
|
|
4812
4812
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4813
|
-
$this.
|
|
4813
|
+
$this.o6l_1[tmp$ret$0] = numberToChar(c);
|
|
4814
4814
|
}
|
|
4815
4815
|
}
|
|
4816
4816
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4819,7 +4819,7 @@ function initC2ESC_0($this, c, esc) {
|
|
|
4819
4819
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4820
4820
|
}
|
|
4821
4821
|
function initC2TC($this, c, cl) {
|
|
4822
|
-
$this.
|
|
4822
|
+
$this.p6l_1[c] = cl;
|
|
4823
4823
|
}
|
|
4824
4824
|
function initC2TC_0($this, c, cl) {
|
|
4825
4825
|
// Inline function 'kotlin.code' call
|
|
@@ -4828,8 +4828,8 @@ function initC2TC_0($this, c, cl) {
|
|
|
4828
4828
|
}
|
|
4829
4829
|
function CharMappings() {
|
|
4830
4830
|
CharMappings_instance = this;
|
|
4831
|
-
this.
|
|
4832
|
-
this.
|
|
4831
|
+
this.o6l_1 = charArray(117);
|
|
4832
|
+
this.p6l_1 = new Int8Array(126);
|
|
4833
4833
|
initEscape(this);
|
|
4834
4834
|
initCharToToken(this);
|
|
4835
4835
|
}
|
|
@@ -4842,48 +4842,48 @@ function CharMappings_getInstance() {
|
|
|
4842
4842
|
function StringJsonLexerWithComments(source) {
|
|
4843
4843
|
StringJsonLexer.call(this, source);
|
|
4844
4844
|
}
|
|
4845
|
-
protoOf(StringJsonLexerWithComments).
|
|
4846
|
-
var source = this.
|
|
4847
|
-
var cpos = this.
|
|
4845
|
+
protoOf(StringJsonLexerWithComments).x6g = function () {
|
|
4846
|
+
var source = this.h6l();
|
|
4847
|
+
var cpos = this.k6l();
|
|
4848
4848
|
if (cpos >= source.length || cpos === -1)
|
|
4849
4849
|
return 10;
|
|
4850
|
-
this.
|
|
4850
|
+
this.f6b_1 = cpos + 1 | 0;
|
|
4851
4851
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4852
4852
|
};
|
|
4853
|
-
protoOf(StringJsonLexerWithComments).
|
|
4854
|
-
var current = this.
|
|
4855
|
-
if (current >= this.
|
|
4853
|
+
protoOf(StringJsonLexerWithComments).t6g = function () {
|
|
4854
|
+
var current = this.k6l();
|
|
4855
|
+
if (current >= this.h6l().length || current === -1)
|
|
4856
4856
|
return false;
|
|
4857
|
-
return this.
|
|
4857
|
+
return this.l6l(charCodeAt(this.h6l(), current));
|
|
4858
4858
|
};
|
|
4859
|
-
protoOf(StringJsonLexerWithComments).
|
|
4860
|
-
var source = this.
|
|
4861
|
-
var current = this.
|
|
4859
|
+
protoOf(StringJsonLexerWithComments).e6i = function (expected) {
|
|
4860
|
+
var source = this.h6l();
|
|
4861
|
+
var current = this.k6l();
|
|
4862
4862
|
if (current >= source.length || current === -1) {
|
|
4863
|
-
this.
|
|
4864
|
-
this.
|
|
4863
|
+
this.f6b_1 = -1;
|
|
4864
|
+
this.m6l(expected);
|
|
4865
4865
|
}
|
|
4866
4866
|
var c = charCodeAt(source, current);
|
|
4867
|
-
this.
|
|
4867
|
+
this.f6b_1 = current + 1 | 0;
|
|
4868
4868
|
if (c === expected)
|
|
4869
4869
|
return Unit_instance;
|
|
4870
4870
|
else {
|
|
4871
|
-
this.
|
|
4871
|
+
this.m6l(expected);
|
|
4872
4872
|
}
|
|
4873
4873
|
};
|
|
4874
|
-
protoOf(StringJsonLexerWithComments).
|
|
4875
|
-
var source = this.
|
|
4876
|
-
var cpos = this.
|
|
4874
|
+
protoOf(StringJsonLexerWithComments).s6g = function () {
|
|
4875
|
+
var source = this.h6l();
|
|
4876
|
+
var cpos = this.k6l();
|
|
4877
4877
|
if (cpos >= source.length || cpos === -1)
|
|
4878
4878
|
return 10;
|
|
4879
|
-
this.
|
|
4879
|
+
this.f6b_1 = cpos;
|
|
4880
4880
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4881
4881
|
};
|
|
4882
|
-
protoOf(StringJsonLexerWithComments).
|
|
4883
|
-
var current = this.
|
|
4882
|
+
protoOf(StringJsonLexerWithComments).k6l = function () {
|
|
4883
|
+
var current = this.f6b_1;
|
|
4884
4884
|
if (current === -1)
|
|
4885
4885
|
return current;
|
|
4886
|
-
var source = this.
|
|
4886
|
+
var source = this.h6l();
|
|
4887
4887
|
$l$loop_1: while (current < source.length) {
|
|
4888
4888
|
var c = charCodeAt(source, current);
|
|
4889
4889
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4904,8 +4904,8 @@ protoOf(StringJsonLexerWithComments).j6l = function () {
|
|
|
4904
4904
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4905
4905
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4906
4906
|
if (current === -1) {
|
|
4907
|
-
this.
|
|
4908
|
-
this.
|
|
4907
|
+
this.f6b_1 = source.length;
|
|
4908
|
+
this.n6f('Expected end of the block comment: "*/", but had EOF instead');
|
|
4909
4909
|
} else {
|
|
4910
4910
|
current = current + 2 | 0;
|
|
4911
4911
|
}
|
|
@@ -4914,22 +4914,22 @@ protoOf(StringJsonLexerWithComments).j6l = function () {
|
|
|
4914
4914
|
}
|
|
4915
4915
|
break $l$loop_1;
|
|
4916
4916
|
}
|
|
4917
|
-
this.
|
|
4917
|
+
this.f6b_1 = current;
|
|
4918
4918
|
return current;
|
|
4919
4919
|
};
|
|
4920
4920
|
function StringJsonLexer(source) {
|
|
4921
4921
|
AbstractJsonLexer.call(this);
|
|
4922
|
-
this.
|
|
4922
|
+
this.z6l_1 = source;
|
|
4923
4923
|
}
|
|
4924
|
-
protoOf(StringJsonLexer).
|
|
4925
|
-
return this.
|
|
4924
|
+
protoOf(StringJsonLexer).h6l = function () {
|
|
4925
|
+
return this.z6l_1;
|
|
4926
4926
|
};
|
|
4927
|
-
protoOf(StringJsonLexer).
|
|
4928
|
-
return position < this.
|
|
4927
|
+
protoOf(StringJsonLexer).i6l = function (position) {
|
|
4928
|
+
return position < this.h6l().length ? position : -1;
|
|
4929
4929
|
};
|
|
4930
|
-
protoOf(StringJsonLexer).
|
|
4931
|
-
var source = this.
|
|
4932
|
-
var cpos = this.
|
|
4930
|
+
protoOf(StringJsonLexer).x6g = function () {
|
|
4931
|
+
var source = this.h6l();
|
|
4932
|
+
var cpos = this.f6b_1;
|
|
4933
4933
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4934
4934
|
var _unary__edvuaz = cpos;
|
|
4935
4935
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4937,17 +4937,17 @@ protoOf(StringJsonLexer).w6g = function () {
|
|
|
4937
4937
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4938
4938
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4939
4939
|
continue $l$loop;
|
|
4940
|
-
this.
|
|
4940
|
+
this.f6b_1 = cpos;
|
|
4941
4941
|
return charToTokenClass(c);
|
|
4942
4942
|
}
|
|
4943
|
-
this.
|
|
4943
|
+
this.f6b_1 = source.length;
|
|
4944
4944
|
return 10;
|
|
4945
4945
|
};
|
|
4946
|
-
protoOf(StringJsonLexer).
|
|
4947
|
-
var current = this.
|
|
4946
|
+
protoOf(StringJsonLexer).t6g = function () {
|
|
4947
|
+
var current = this.f6b_1;
|
|
4948
4948
|
if (current === -1)
|
|
4949
4949
|
return false;
|
|
4950
|
-
var source = this.
|
|
4950
|
+
var source = this.h6l();
|
|
4951
4951
|
$l$loop: while (current < source.length) {
|
|
4952
4952
|
var c = charCodeAt(source, current);
|
|
4953
4953
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4955,17 +4955,17 @@ protoOf(StringJsonLexer).s6g = function () {
|
|
|
4955
4955
|
current = current + 1 | 0;
|
|
4956
4956
|
continue $l$loop;
|
|
4957
4957
|
}
|
|
4958
|
-
this.
|
|
4959
|
-
return this.
|
|
4958
|
+
this.f6b_1 = current;
|
|
4959
|
+
return this.l6l(c);
|
|
4960
4960
|
}
|
|
4961
|
-
this.
|
|
4961
|
+
this.f6b_1 = current;
|
|
4962
4962
|
return false;
|
|
4963
4963
|
};
|
|
4964
|
-
protoOf(StringJsonLexer).
|
|
4965
|
-
var current = this.
|
|
4964
|
+
protoOf(StringJsonLexer).k6l = function () {
|
|
4965
|
+
var current = this.f6b_1;
|
|
4966
4966
|
if (current === -1)
|
|
4967
4967
|
return current;
|
|
4968
|
-
var source = this.
|
|
4968
|
+
var source = this.h6l();
|
|
4969
4969
|
$l$loop: while (current < source.length) {
|
|
4970
4970
|
var c = charCodeAt(source, current);
|
|
4971
4971
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4975,15 +4975,15 @@ protoOf(StringJsonLexer).j6l = function () {
|
|
|
4975
4975
|
break $l$loop;
|
|
4976
4976
|
}
|
|
4977
4977
|
}
|
|
4978
|
-
this.
|
|
4978
|
+
this.f6b_1 = current;
|
|
4979
4979
|
return current;
|
|
4980
4980
|
};
|
|
4981
|
-
protoOf(StringJsonLexer).
|
|
4982
|
-
if (this.
|
|
4983
|
-
this.
|
|
4981
|
+
protoOf(StringJsonLexer).e6i = function (expected) {
|
|
4982
|
+
if (this.f6b_1 === -1) {
|
|
4983
|
+
this.m6l(expected);
|
|
4984
4984
|
}
|
|
4985
|
-
var source = this.
|
|
4986
|
-
var cpos = this.
|
|
4985
|
+
var source = this.h6l();
|
|
4986
|
+
var cpos = this.f6b_1;
|
|
4987
4987
|
$l$loop: while (cpos < source.length) {
|
|
4988
4988
|
var _unary__edvuaz = cpos;
|
|
4989
4989
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4991,83 +4991,83 @@ protoOf(StringJsonLexer).d6i = function (expected) {
|
|
|
4991
4991
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4992
4992
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4993
4993
|
continue $l$loop;
|
|
4994
|
-
this.
|
|
4994
|
+
this.f6b_1 = cpos;
|
|
4995
4995
|
if (c === expected)
|
|
4996
4996
|
return Unit_instance;
|
|
4997
|
-
this.
|
|
4997
|
+
this.m6l(expected);
|
|
4998
4998
|
}
|
|
4999
|
-
this.
|
|
5000
|
-
this.
|
|
4999
|
+
this.f6b_1 = -1;
|
|
5000
|
+
this.m6l(expected);
|
|
5001
5001
|
};
|
|
5002
|
-
protoOf(StringJsonLexer).
|
|
5003
|
-
this.
|
|
5004
|
-
var current = this.
|
|
5005
|
-
var closingQuote = indexOf_0(this.
|
|
5002
|
+
protoOf(StringJsonLexer).k6i = function () {
|
|
5003
|
+
this.e6i(_Char___init__impl__6a9atx(34));
|
|
5004
|
+
var current = this.f6b_1;
|
|
5005
|
+
var closingQuote = indexOf_0(this.h6l(), _Char___init__impl__6a9atx(34), current);
|
|
5006
5006
|
if (closingQuote === -1) {
|
|
5007
|
-
this.
|
|
5007
|
+
this.v6g();
|
|
5008
5008
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
5009
5009
|
var expected = tokenDescription(1);
|
|
5010
|
-
var position = false ? this.
|
|
5011
|
-
var s = this.
|
|
5010
|
+
var position = false ? this.f6b_1 - 1 | 0 : this.f6b_1;
|
|
5011
|
+
var s = this.f6b_1 === charSequenceLength(this.h6l()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.h6l(), position));
|
|
5012
5012
|
var tmp$ret$1 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
5013
|
-
this.
|
|
5013
|
+
this.n6f(tmp$ret$1, position);
|
|
5014
5014
|
}
|
|
5015
5015
|
var inductionVariable = current;
|
|
5016
5016
|
if (inductionVariable < closingQuote)
|
|
5017
5017
|
do {
|
|
5018
5018
|
var i = inductionVariable;
|
|
5019
5019
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5020
|
-
if (charCodeAt(this.
|
|
5021
|
-
return this.consumeString2(this.
|
|
5020
|
+
if (charCodeAt(this.h6l(), i) === _Char___init__impl__6a9atx(92)) {
|
|
5021
|
+
return this.consumeString2(this.h6l(), this.f6b_1, i);
|
|
5022
5022
|
}
|
|
5023
5023
|
}
|
|
5024
5024
|
while (inductionVariable < closingQuote);
|
|
5025
|
-
this.
|
|
5026
|
-
return substring(this.
|
|
5025
|
+
this.f6b_1 = closingQuote + 1 | 0;
|
|
5026
|
+
return substring(this.h6l(), current, closingQuote);
|
|
5027
5027
|
};
|
|
5028
|
-
protoOf(StringJsonLexer).
|
|
5029
|
-
var positionSnapshot = this.
|
|
5028
|
+
protoOf(StringJsonLexer).m6i = function (keyToMatch, isLenient) {
|
|
5029
|
+
var positionSnapshot = this.f6b_1;
|
|
5030
5030
|
try {
|
|
5031
|
-
if (!(this.
|
|
5031
|
+
if (!(this.x6g() === 6))
|
|
5032
5032
|
return null;
|
|
5033
|
-
var firstKey = this.
|
|
5033
|
+
var firstKey = this.h6i(isLenient);
|
|
5034
5034
|
if (!(firstKey === keyToMatch))
|
|
5035
5035
|
return null;
|
|
5036
|
-
this.
|
|
5037
|
-
if (!(this.
|
|
5036
|
+
this.n6l();
|
|
5037
|
+
if (!(this.x6g() === 5))
|
|
5038
5038
|
return null;
|
|
5039
|
-
return this.
|
|
5039
|
+
return this.h6i(isLenient);
|
|
5040
5040
|
}finally {
|
|
5041
|
-
this.
|
|
5042
|
-
this.
|
|
5041
|
+
this.f6b_1 = positionSnapshot;
|
|
5042
|
+
this.n6l();
|
|
5043
5043
|
}
|
|
5044
5044
|
};
|
|
5045
5045
|
function StringJsonLexer_0(json, source) {
|
|
5046
|
-
return !json.
|
|
5046
|
+
return !json.s6a_1.s6c_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
5047
5047
|
}
|
|
5048
5048
|
function get_schemaCache(_this__u8e3s4) {
|
|
5049
|
-
return _this__u8e3s4.
|
|
5049
|
+
return _this__u8e3s4.u6a_1;
|
|
5050
5050
|
}
|
|
5051
5051
|
function JsonToStringWriter() {
|
|
5052
|
-
this.
|
|
5052
|
+
this.w6a_1 = StringBuilder_init_$Create$_0(128);
|
|
5053
5053
|
}
|
|
5054
|
-
protoOf(JsonToStringWriter).
|
|
5055
|
-
this.
|
|
5054
|
+
protoOf(JsonToStringWriter).r6e = function (value) {
|
|
5055
|
+
this.w6a_1.dd(value);
|
|
5056
5056
|
};
|
|
5057
|
-
protoOf(JsonToStringWriter).
|
|
5058
|
-
this.
|
|
5057
|
+
protoOf(JsonToStringWriter).l6e = function (char) {
|
|
5058
|
+
this.w6a_1.s(char);
|
|
5059
5059
|
};
|
|
5060
|
-
protoOf(JsonToStringWriter).
|
|
5061
|
-
this.
|
|
5060
|
+
protoOf(JsonToStringWriter).n6e = function (text) {
|
|
5061
|
+
this.w6a_1.q(text);
|
|
5062
5062
|
};
|
|
5063
|
-
protoOf(JsonToStringWriter).
|
|
5064
|
-
printQuoted(this.
|
|
5063
|
+
protoOf(JsonToStringWriter).x6e = function (text) {
|
|
5064
|
+
printQuoted(this.w6a_1, text);
|
|
5065
5065
|
};
|
|
5066
5066
|
protoOf(JsonToStringWriter).s2o = function () {
|
|
5067
|
-
this.
|
|
5067
|
+
this.w6a_1.gd();
|
|
5068
5068
|
};
|
|
5069
5069
|
protoOf(JsonToStringWriter).toString = function () {
|
|
5070
|
-
return this.
|
|
5070
|
+
return this.w6a_1.toString();
|
|
5071
5071
|
};
|
|
5072
5072
|
function createMapForCache(initialCapacity) {
|
|
5073
5073
|
return HashMap_init_$Create$(initialCapacity);
|