git-digger 1.9.25 → 1.9.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/clikt-clikt-mordant.js +77 -77
- package/kotlin/clikt-clikt.js +1271 -1271
- package/kotlin/colormath-root-colormath.js +432 -432
- package/kotlin/command-line-tools-digger-cli.js +111 -111
- package/kotlin/kotlin-kotlin-stdlib.js +12 -12
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1609 -1609
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1255 -1255
- package/kotlin/mordant-mordant.js +1181 -1181
- package/kotlin/tools-digger-core.js +79 -79
- package/kotlin/tools-digger-json.js +150 -150
- package/kotlin/tools-digger-model.js +50 -50
- package/kotlin/tools-git-adapter.js +47 -13
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -252,31 +252,31 @@
|
|
|
252
252
|
}
|
|
253
253
|
function Json(configuration, serializersModule) {
|
|
254
254
|
Default_getInstance();
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
255
|
+
this.d16_1 = configuration;
|
|
256
|
+
this.e16_1 = serializersModule;
|
|
257
|
+
this.f16_1 = new DescriptorSchemaCache();
|
|
258
258
|
}
|
|
259
|
-
protoOf(Json).
|
|
260
|
-
return this.
|
|
259
|
+
protoOf(Json).uq = function () {
|
|
260
|
+
return this.e16_1;
|
|
261
261
|
};
|
|
262
|
-
protoOf(Json).
|
|
262
|
+
protoOf(Json).g16 = function (serializer, value) {
|
|
263
263
|
var result = new JsonToStringWriter();
|
|
264
264
|
try {
|
|
265
265
|
encodeByWriter(this, result, serializer, value);
|
|
266
266
|
return result.toString();
|
|
267
267
|
}finally {
|
|
268
|
-
result.
|
|
268
|
+
result.k16();
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
|
-
protoOf(Json).
|
|
271
|
+
protoOf(Json).h16 = function (deserializer, string) {
|
|
272
272
|
var lexer = StringJsonLexer_0(this, string);
|
|
273
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
274
|
-
var result = input.
|
|
275
|
-
lexer.
|
|
273
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.in(), null);
|
|
274
|
+
var result = input.eq(deserializer);
|
|
275
|
+
lexer.x16();
|
|
276
276
|
return result;
|
|
277
277
|
};
|
|
278
|
-
protoOf(Json).
|
|
279
|
-
return this.
|
|
278
|
+
protoOf(Json).i16 = function (string) {
|
|
279
|
+
return this.h16(JsonElementSerializer_getInstance(), string);
|
|
280
280
|
};
|
|
281
281
|
function JsonClassDiscriminator() {
|
|
282
282
|
}
|
|
@@ -302,26 +302,26 @@
|
|
|
302
302
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
303
303
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
304
304
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
305
|
+
this.y16_1 = encodeDefaults;
|
|
306
|
+
this.z16_1 = ignoreUnknownKeys;
|
|
307
|
+
this.a17_1 = isLenient;
|
|
308
|
+
this.b17_1 = allowStructuredMapKeys;
|
|
309
|
+
this.c17_1 = prettyPrint;
|
|
310
|
+
this.d17_1 = explicitNulls;
|
|
311
|
+
this.e17_1 = prettyPrintIndent;
|
|
312
|
+
this.f17_1 = coerceInputValues;
|
|
313
|
+
this.g17_1 = useArrayPolymorphism;
|
|
314
|
+
this.h17_1 = classDiscriminator;
|
|
315
|
+
this.i17_1 = allowSpecialFloatingPointValues;
|
|
316
|
+
this.j17_1 = useAlternativeNames;
|
|
317
|
+
this.k17_1 = namingStrategy;
|
|
318
|
+
this.l17_1 = decodeEnumsCaseInsensitive;
|
|
319
|
+
this.m17_1 = allowTrailingComma;
|
|
320
|
+
this.n17_1 = allowComments;
|
|
321
|
+
this.o17_1 = classDiscriminatorMode;
|
|
322
322
|
}
|
|
323
323
|
protoOf(JsonConfiguration).toString = function () {
|
|
324
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
324
|
+
return 'JsonConfiguration(encodeDefaults=' + this.y16_1 + ', ignoreUnknownKeys=' + this.z16_1 + ', isLenient=' + this.a17_1 + ', ' + ('allowStructuredMapKeys=' + this.b17_1 + ', prettyPrint=' + this.c17_1 + ', explicitNulls=' + this.d17_1 + ', ') + ("prettyPrintIndent='" + this.e17_1 + "', coerceInputValues=" + this.f17_1 + ', useArrayPolymorphism=' + this.g17_1 + ', ') + ("classDiscriminator='" + this.h17_1 + "', allowSpecialFloatingPointValues=" + this.i17_1 + ', ') + ('useAlternativeNames=' + this.j17_1 + ', namingStrategy=' + toString(this.k17_1) + ', decodeEnumsCaseInsensitive=' + this.l17_1 + ', ') + ('allowTrailingComma=' + this.m17_1 + ', allowComments=' + this.n17_1 + ', classDiscriminatorMode=' + this.o17_1.toString() + ')');
|
|
325
325
|
};
|
|
326
326
|
var ClassDiscriminatorMode_NONE_instance;
|
|
327
327
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
JsonElement.call(this);
|
|
372
372
|
}
|
|
373
373
|
protoOf(JsonPrimitive).toString = function () {
|
|
374
|
-
return this.
|
|
374
|
+
return this.r17();
|
|
375
375
|
};
|
|
376
376
|
function Companion_1() {
|
|
377
377
|
}
|
|
@@ -394,31 +394,31 @@
|
|
|
394
394
|
}
|
|
395
395
|
function JsonObject(content) {
|
|
396
396
|
JsonElement.call(this);
|
|
397
|
-
this.
|
|
397
|
+
this.s17_1 = content;
|
|
398
398
|
}
|
|
399
399
|
protoOf(JsonObject).equals = function (other) {
|
|
400
|
-
return equals(this.
|
|
400
|
+
return equals(this.s17_1, other);
|
|
401
401
|
};
|
|
402
402
|
protoOf(JsonObject).hashCode = function () {
|
|
403
|
-
return hashCode(this.
|
|
403
|
+
return hashCode(this.s17_1);
|
|
404
404
|
};
|
|
405
405
|
protoOf(JsonObject).toString = function () {
|
|
406
|
-
var tmp = this.
|
|
406
|
+
var tmp = this.s17_1.k1();
|
|
407
407
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
408
408
|
};
|
|
409
409
|
protoOf(JsonObject).p = function () {
|
|
410
|
-
return this.
|
|
410
|
+
return this.s17_1.p();
|
|
411
411
|
};
|
|
412
|
-
protoOf(JsonObject).
|
|
413
|
-
return this.
|
|
412
|
+
protoOf(JsonObject).t17 = function (key) {
|
|
413
|
+
return this.s17_1.k2(key);
|
|
414
414
|
};
|
|
415
415
|
protoOf(JsonObject).k2 = function (key) {
|
|
416
416
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
417
417
|
return false;
|
|
418
|
-
return this.
|
|
418
|
+
return this.t17((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
419
419
|
};
|
|
420
420
|
protoOf(JsonObject).sc = function (key) {
|
|
421
|
-
return this.
|
|
421
|
+
return this.s17_1.m2(key);
|
|
422
422
|
};
|
|
423
423
|
protoOf(JsonObject).m2 = function (key) {
|
|
424
424
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
@@ -426,16 +426,16 @@
|
|
|
426
426
|
return this.sc((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
427
427
|
};
|
|
428
428
|
protoOf(JsonObject).d1 = function () {
|
|
429
|
-
return this.
|
|
429
|
+
return this.s17_1.d1();
|
|
430
430
|
};
|
|
431
431
|
protoOf(JsonObject).n2 = function () {
|
|
432
|
-
return this.
|
|
432
|
+
return this.s17_1.n2();
|
|
433
433
|
};
|
|
434
434
|
protoOf(JsonObject).o2 = function () {
|
|
435
|
-
return this.
|
|
435
|
+
return this.s17_1.o2();
|
|
436
436
|
};
|
|
437
437
|
protoOf(JsonObject).k1 = function () {
|
|
438
|
-
return this.
|
|
438
|
+
return this.s17_1.k1();
|
|
439
439
|
};
|
|
440
440
|
function Companion_2() {
|
|
441
441
|
}
|
|
@@ -445,56 +445,56 @@
|
|
|
445
445
|
}
|
|
446
446
|
function JsonArray(content) {
|
|
447
447
|
JsonElement.call(this);
|
|
448
|
-
this.
|
|
448
|
+
this.u17_1 = content;
|
|
449
449
|
}
|
|
450
450
|
protoOf(JsonArray).equals = function (other) {
|
|
451
|
-
return equals(this.
|
|
451
|
+
return equals(this.u17_1, other);
|
|
452
452
|
};
|
|
453
453
|
protoOf(JsonArray).hashCode = function () {
|
|
454
|
-
return hashCode(this.
|
|
454
|
+
return hashCode(this.u17_1);
|
|
455
455
|
};
|
|
456
456
|
protoOf(JsonArray).toString = function () {
|
|
457
|
-
return joinToString(this.
|
|
457
|
+
return joinToString(this.u17_1, ',', '[', ']');
|
|
458
458
|
};
|
|
459
459
|
protoOf(JsonArray).p = function () {
|
|
460
|
-
return this.
|
|
460
|
+
return this.u17_1.p();
|
|
461
461
|
};
|
|
462
|
-
protoOf(JsonArray).
|
|
463
|
-
return this.
|
|
462
|
+
protoOf(JsonArray).v17 = function (element) {
|
|
463
|
+
return this.u17_1.u1(element);
|
|
464
464
|
};
|
|
465
465
|
protoOf(JsonArray).u1 = function (element) {
|
|
466
466
|
if (!(element instanceof JsonElement))
|
|
467
467
|
return false;
|
|
468
|
-
return this.
|
|
468
|
+
return this.v17(element instanceof JsonElement ? element : THROW_CCE());
|
|
469
469
|
};
|
|
470
470
|
protoOf(JsonArray).r = function () {
|
|
471
|
-
return this.
|
|
471
|
+
return this.u17_1.r();
|
|
472
472
|
};
|
|
473
473
|
protoOf(JsonArray).c1 = function (index) {
|
|
474
|
-
return this.
|
|
474
|
+
return this.u17_1.c1(index);
|
|
475
475
|
};
|
|
476
476
|
protoOf(JsonArray).i1 = function (index) {
|
|
477
|
-
return this.
|
|
477
|
+
return this.u17_1.i1(index);
|
|
478
478
|
};
|
|
479
479
|
protoOf(JsonArray).i2 = function (fromIndex, toIndex) {
|
|
480
|
-
return this.
|
|
480
|
+
return this.u17_1.i2(fromIndex, toIndex);
|
|
481
481
|
};
|
|
482
482
|
protoOf(JsonArray).d1 = function () {
|
|
483
|
-
return this.
|
|
483
|
+
return this.u17_1.d1();
|
|
484
484
|
};
|
|
485
485
|
function JsonNull() {
|
|
486
486
|
JsonNull_instance = this;
|
|
487
487
|
JsonPrimitive.call(this);
|
|
488
|
-
this.
|
|
488
|
+
this.w17_1 = 'null';
|
|
489
489
|
}
|
|
490
|
-
protoOf(JsonNull).
|
|
491
|
-
return this.
|
|
490
|
+
protoOf(JsonNull).r17 = function () {
|
|
491
|
+
return this.w17_1;
|
|
492
492
|
};
|
|
493
|
-
protoOf(JsonNull).
|
|
493
|
+
protoOf(JsonNull).x17 = function () {
|
|
494
494
|
return JsonNullSerializer_getInstance();
|
|
495
495
|
};
|
|
496
|
-
protoOf(JsonNull).
|
|
497
|
-
return this.
|
|
496
|
+
protoOf(JsonNull).by = function (typeParamsSerializers) {
|
|
497
|
+
return this.x17();
|
|
498
498
|
};
|
|
499
499
|
var JsonNull_instance;
|
|
500
500
|
function JsonNull_getInstance() {
|
|
@@ -505,31 +505,31 @@
|
|
|
505
505
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
506
506
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
507
507
|
JsonPrimitive.call(this);
|
|
508
|
-
this.
|
|
509
|
-
this.
|
|
510
|
-
this.
|
|
511
|
-
if (!(this.
|
|
508
|
+
this.y17_1 = isString;
|
|
509
|
+
this.z17_1 = coerceToInlineType;
|
|
510
|
+
this.a18_1 = toString_0(body);
|
|
511
|
+
if (!(this.z17_1 == null)) {
|
|
512
512
|
// Inline function 'kotlin.require' call
|
|
513
513
|
// Inline function 'kotlin.require' call
|
|
514
|
-
if (!this.
|
|
514
|
+
if (!this.z17_1.oo()) {
|
|
515
515
|
var message = 'Failed requirement.';
|
|
516
516
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
protoOf(JsonLiteral).
|
|
521
|
-
return this.
|
|
520
|
+
protoOf(JsonLiteral).r17 = function () {
|
|
521
|
+
return this.a18_1;
|
|
522
522
|
};
|
|
523
523
|
protoOf(JsonLiteral).toString = function () {
|
|
524
524
|
var tmp;
|
|
525
|
-
if (this.
|
|
525
|
+
if (this.y17_1) {
|
|
526
526
|
// Inline function 'kotlin.text.buildString' call
|
|
527
527
|
// Inline function 'kotlin.apply' call
|
|
528
528
|
var this_0 = StringBuilder_init_$Create$();
|
|
529
|
-
printQuoted(this_0, this.
|
|
529
|
+
printQuoted(this_0, this.a18_1);
|
|
530
530
|
tmp = this_0.toString();
|
|
531
531
|
} else {
|
|
532
|
-
tmp = this.
|
|
532
|
+
tmp = this.a18_1;
|
|
533
533
|
}
|
|
534
534
|
return tmp;
|
|
535
535
|
};
|
|
@@ -540,15 +540,15 @@
|
|
|
540
540
|
return false;
|
|
541
541
|
if (!(other instanceof JsonLiteral))
|
|
542
542
|
THROW_CCE();
|
|
543
|
-
if (!(this.
|
|
543
|
+
if (!(this.y17_1 === other.y17_1))
|
|
544
544
|
return false;
|
|
545
|
-
if (!(this.
|
|
545
|
+
if (!(this.a18_1 === other.a18_1))
|
|
546
546
|
return false;
|
|
547
547
|
return true;
|
|
548
548
|
};
|
|
549
549
|
protoOf(JsonLiteral).hashCode = function () {
|
|
550
|
-
var result = getBooleanHashCode(this.
|
|
551
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
550
|
+
var result = getBooleanHashCode(this.y17_1);
|
|
551
|
+
result = imul(31, result) + getStringHashCode(this.a18_1) | 0;
|
|
552
552
|
return result;
|
|
553
553
|
};
|
|
554
554
|
function JsonPrimitive_0(value) {
|
|
@@ -559,23 +559,23 @@
|
|
|
559
559
|
}
|
|
560
560
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
561
561
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
562
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
562
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.r17());
|
|
563
563
|
}
|
|
564
564
|
function parseLongImpl(_this__u8e3s4) {
|
|
565
565
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
566
|
-
return (new StringJsonLexer(_this__u8e3s4.
|
|
566
|
+
return (new StringJsonLexer(_this__u8e3s4.r17())).b18();
|
|
567
567
|
}
|
|
568
568
|
function get_float(_this__u8e3s4) {
|
|
569
569
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
570
570
|
// Inline function 'kotlin.text.toFloat' call
|
|
571
|
-
var this_0 = _this__u8e3s4.
|
|
571
|
+
var this_0 = _this__u8e3s4.r17();
|
|
572
572
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
573
573
|
// Inline function 'kotlin.js.asDynamic' call
|
|
574
574
|
return toDouble(this_0);
|
|
575
575
|
}
|
|
576
576
|
function get_double(_this__u8e3s4) {
|
|
577
577
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
578
|
-
return toDouble(_this__u8e3s4.
|
|
578
|
+
return toDouble(_this__u8e3s4.r17());
|
|
579
579
|
}
|
|
580
580
|
function get_contentOrNull(_this__u8e3s4) {
|
|
581
581
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
584
584
|
tmp = null;
|
|
585
585
|
} else {
|
|
586
|
-
tmp = _this__u8e3s4.
|
|
586
|
+
tmp = _this__u8e3s4.r17();
|
|
587
587
|
}
|
|
588
588
|
return tmp;
|
|
589
589
|
}
|
|
@@ -610,59 +610,59 @@
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
613
|
-
$this$buildSerialDescriptor.
|
|
614
|
-
$this$buildSerialDescriptor.
|
|
615
|
-
$this$buildSerialDescriptor.
|
|
616
|
-
$this$buildSerialDescriptor.
|
|
617
|
-
$this$buildSerialDescriptor.
|
|
613
|
+
$this$buildSerialDescriptor.tn('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
614
|
+
$this$buildSerialDescriptor.tn('JsonNull', defer(JsonElementSerializer$descriptor$lambda$lambda_0));
|
|
615
|
+
$this$buildSerialDescriptor.tn('JsonLiteral', defer(JsonElementSerializer$descriptor$lambda$lambda_1));
|
|
616
|
+
$this$buildSerialDescriptor.tn('JsonObject', defer(JsonElementSerializer$descriptor$lambda$lambda_2));
|
|
617
|
+
$this$buildSerialDescriptor.tn('JsonArray', defer(JsonElementSerializer$descriptor$lambda$lambda_3));
|
|
618
618
|
return Unit_instance;
|
|
619
619
|
}
|
|
620
620
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
621
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
621
|
+
return JsonPrimitiveSerializer_getInstance().c18_1;
|
|
622
622
|
}
|
|
623
623
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
624
|
-
return JsonNullSerializer_getInstance().
|
|
624
|
+
return JsonNullSerializer_getInstance().d18_1;
|
|
625
625
|
}
|
|
626
626
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
627
|
-
return JsonLiteralSerializer_getInstance().
|
|
627
|
+
return JsonLiteralSerializer_getInstance().e18_1;
|
|
628
628
|
}
|
|
629
629
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
630
|
-
return JsonObjectSerializer_getInstance().
|
|
630
|
+
return JsonObjectSerializer_getInstance().f18_1;
|
|
631
631
|
}
|
|
632
632
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
633
|
-
return JsonArraySerializer_getInstance().
|
|
633
|
+
return JsonArraySerializer_getInstance().g18_1;
|
|
634
634
|
}
|
|
635
635
|
function JsonElementSerializer() {
|
|
636
636
|
JsonElementSerializer_instance = this;
|
|
637
637
|
var tmp = this;
|
|
638
638
|
var tmp_0 = SEALED_getInstance();
|
|
639
|
-
tmp.
|
|
639
|
+
tmp.h18_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
640
640
|
}
|
|
641
|
-
protoOf(JsonElementSerializer).
|
|
642
|
-
return this.
|
|
641
|
+
protoOf(JsonElementSerializer).in = function () {
|
|
642
|
+
return this.h18_1;
|
|
643
643
|
};
|
|
644
|
-
protoOf(JsonElementSerializer).
|
|
644
|
+
protoOf(JsonElementSerializer).i18 = function (encoder, value) {
|
|
645
645
|
verify(encoder);
|
|
646
646
|
if (value instanceof JsonPrimitive) {
|
|
647
|
-
encoder.
|
|
647
|
+
encoder.wr(JsonPrimitiveSerializer_getInstance(), value);
|
|
648
648
|
} else {
|
|
649
649
|
if (value instanceof JsonObject) {
|
|
650
|
-
encoder.
|
|
650
|
+
encoder.wr(JsonObjectSerializer_getInstance(), value);
|
|
651
651
|
} else {
|
|
652
652
|
if (value instanceof JsonArray) {
|
|
653
|
-
encoder.
|
|
653
|
+
encoder.wr(JsonArraySerializer_getInstance(), value);
|
|
654
654
|
} else {
|
|
655
655
|
noWhenBranchMatchedException();
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
659
|
};
|
|
660
|
-
protoOf(JsonElementSerializer).
|
|
661
|
-
return this.
|
|
660
|
+
protoOf(JsonElementSerializer).jn = function (encoder, value) {
|
|
661
|
+
return this.i18(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
662
662
|
};
|
|
663
|
-
protoOf(JsonElementSerializer).
|
|
663
|
+
protoOf(JsonElementSerializer).kn = function (decoder) {
|
|
664
664
|
var input = asJsonDecoder(decoder);
|
|
665
|
-
return input.
|
|
665
|
+
return input.q17();
|
|
666
666
|
};
|
|
667
667
|
var JsonElementSerializer_instance;
|
|
668
668
|
function JsonElementSerializer_getInstance() {
|
|
@@ -675,29 +675,29 @@
|
|
|
675
675
|
}
|
|
676
676
|
function JsonPrimitiveSerializer() {
|
|
677
677
|
JsonPrimitiveSerializer_instance = this;
|
|
678
|
-
this.
|
|
678
|
+
this.c18_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
679
679
|
}
|
|
680
|
-
protoOf(JsonPrimitiveSerializer).
|
|
681
|
-
return this.
|
|
680
|
+
protoOf(JsonPrimitiveSerializer).in = function () {
|
|
681
|
+
return this.c18_1;
|
|
682
682
|
};
|
|
683
|
-
protoOf(JsonPrimitiveSerializer).
|
|
683
|
+
protoOf(JsonPrimitiveSerializer).j18 = function (encoder, value) {
|
|
684
684
|
verify(encoder);
|
|
685
685
|
var tmp;
|
|
686
686
|
if (value instanceof JsonNull) {
|
|
687
|
-
encoder.
|
|
687
|
+
encoder.wr(JsonNullSerializer_getInstance(), JsonNull_getInstance());
|
|
688
688
|
tmp = Unit_instance;
|
|
689
689
|
} else {
|
|
690
690
|
var tmp_0 = JsonLiteralSerializer_getInstance();
|
|
691
|
-
encoder.
|
|
691
|
+
encoder.wr(tmp_0, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
692
692
|
tmp = Unit_instance;
|
|
693
693
|
}
|
|
694
694
|
return tmp;
|
|
695
695
|
};
|
|
696
|
-
protoOf(JsonPrimitiveSerializer).
|
|
697
|
-
return this.
|
|
696
|
+
protoOf(JsonPrimitiveSerializer).jn = function (encoder, value) {
|
|
697
|
+
return this.j18(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
698
698
|
};
|
|
699
|
-
protoOf(JsonPrimitiveSerializer).
|
|
700
|
-
var result = asJsonDecoder(decoder).
|
|
699
|
+
protoOf(JsonPrimitiveSerializer).kn = function (decoder) {
|
|
700
|
+
var result = asJsonDecoder(decoder).q17();
|
|
701
701
|
if (!(result instanceof JsonPrimitive))
|
|
702
702
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString_0(getKClassFromExpression(result)), toString_0(result));
|
|
703
703
|
return result;
|
|
@@ -710,24 +710,24 @@
|
|
|
710
710
|
}
|
|
711
711
|
function JsonNullSerializer() {
|
|
712
712
|
JsonNullSerializer_instance = this;
|
|
713
|
-
this.
|
|
713
|
+
this.d18_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
714
714
|
}
|
|
715
|
-
protoOf(JsonNullSerializer).
|
|
716
|
-
return this.
|
|
715
|
+
protoOf(JsonNullSerializer).in = function () {
|
|
716
|
+
return this.d18_1;
|
|
717
717
|
};
|
|
718
|
-
protoOf(JsonNullSerializer).
|
|
718
|
+
protoOf(JsonNullSerializer).k18 = function (encoder, value) {
|
|
719
719
|
verify(encoder);
|
|
720
|
-
encoder.
|
|
720
|
+
encoder.ar();
|
|
721
721
|
};
|
|
722
|
-
protoOf(JsonNullSerializer).
|
|
723
|
-
return this.
|
|
722
|
+
protoOf(JsonNullSerializer).jn = function (encoder, value) {
|
|
723
|
+
return this.k18(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
724
724
|
};
|
|
725
|
-
protoOf(JsonNullSerializer).
|
|
725
|
+
protoOf(JsonNullSerializer).kn = function (decoder) {
|
|
726
726
|
verify_0(decoder);
|
|
727
|
-
if (decoder.
|
|
727
|
+
if (decoder.rp()) {
|
|
728
728
|
throw new JsonDecodingException("Expected 'null' literal");
|
|
729
729
|
}
|
|
730
|
-
decoder.
|
|
730
|
+
decoder.sp();
|
|
731
731
|
return JsonNull_getInstance();
|
|
732
732
|
};
|
|
733
733
|
var JsonNullSerializer_instance;
|
|
@@ -738,27 +738,27 @@
|
|
|
738
738
|
}
|
|
739
739
|
function JsonLiteralSerializer() {
|
|
740
740
|
JsonLiteralSerializer_instance = this;
|
|
741
|
-
this.
|
|
741
|
+
this.e18_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
742
742
|
}
|
|
743
|
-
protoOf(JsonLiteralSerializer).
|
|
744
|
-
return this.
|
|
743
|
+
protoOf(JsonLiteralSerializer).in = function () {
|
|
744
|
+
return this.e18_1;
|
|
745
745
|
};
|
|
746
|
-
protoOf(JsonLiteralSerializer).
|
|
746
|
+
protoOf(JsonLiteralSerializer).l18 = function (encoder, value) {
|
|
747
747
|
verify(encoder);
|
|
748
|
-
if (value.
|
|
749
|
-
return encoder.
|
|
748
|
+
if (value.y17_1) {
|
|
749
|
+
return encoder.jr(value.a18_1);
|
|
750
750
|
}
|
|
751
|
-
if (!(value.
|
|
752
|
-
return encoder.
|
|
751
|
+
if (!(value.z17_1 == null)) {
|
|
752
|
+
return encoder.kr(value.z17_1).jr(value.a18_1);
|
|
753
753
|
}
|
|
754
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
754
|
+
var tmp0_safe_receiver = toLongOrNull(value.a18_1);
|
|
755
755
|
if (tmp0_safe_receiver == null)
|
|
756
756
|
null;
|
|
757
757
|
else {
|
|
758
758
|
// Inline function 'kotlin.let' call
|
|
759
|
-
return encoder.
|
|
759
|
+
return encoder.fr(tmp0_safe_receiver);
|
|
760
760
|
}
|
|
761
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
761
|
+
var tmp1_safe_receiver = toULongOrNull(value.a18_1);
|
|
762
762
|
var tmp = tmp1_safe_receiver;
|
|
763
763
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
764
764
|
null;
|
|
@@ -766,33 +766,33 @@
|
|
|
766
766
|
var tmp_0 = tmp1_safe_receiver;
|
|
767
767
|
// Inline function 'kotlin.let' call
|
|
768
768
|
var it = (tmp_0 == null ? null : new ULong(tmp_0)).fk_1;
|
|
769
|
-
var tmp_1 = encoder.
|
|
769
|
+
var tmp_1 = encoder.kr(serializer_0(Companion_getInstance()).in());
|
|
770
770
|
// Inline function 'kotlin.ULong.toLong' call
|
|
771
771
|
var tmp$ret$4 = _ULong___get_data__impl__fggpzb(it);
|
|
772
|
-
tmp_1.
|
|
772
|
+
tmp_1.fr(tmp$ret$4);
|
|
773
773
|
return Unit_instance;
|
|
774
774
|
}
|
|
775
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
775
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.a18_1);
|
|
776
776
|
if (tmp2_safe_receiver == null)
|
|
777
777
|
null;
|
|
778
778
|
else {
|
|
779
779
|
// Inline function 'kotlin.let' call
|
|
780
|
-
return encoder.
|
|
780
|
+
return encoder.hr(tmp2_safe_receiver);
|
|
781
781
|
}
|
|
782
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
782
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.a18_1);
|
|
783
783
|
if (tmp3_safe_receiver == null)
|
|
784
784
|
null;
|
|
785
785
|
else {
|
|
786
786
|
// Inline function 'kotlin.let' call
|
|
787
|
-
return encoder.
|
|
787
|
+
return encoder.br(tmp3_safe_receiver);
|
|
788
788
|
}
|
|
789
|
-
encoder.
|
|
789
|
+
encoder.jr(value.a18_1);
|
|
790
790
|
};
|
|
791
|
-
protoOf(JsonLiteralSerializer).
|
|
792
|
-
return this.
|
|
791
|
+
protoOf(JsonLiteralSerializer).jn = function (encoder, value) {
|
|
792
|
+
return this.l18(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
793
793
|
};
|
|
794
|
-
protoOf(JsonLiteralSerializer).
|
|
795
|
-
var result = asJsonDecoder(decoder).
|
|
794
|
+
protoOf(JsonLiteralSerializer).kn = function (decoder) {
|
|
795
|
+
var result = asJsonDecoder(decoder).q17();
|
|
796
796
|
if (!(result instanceof JsonLiteral))
|
|
797
797
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString_0(getKClassFromExpression(result)), toString_0(result));
|
|
798
798
|
return result;
|
|
@@ -805,41 +805,41 @@
|
|
|
805
805
|
}
|
|
806
806
|
function JsonObjectDescriptor() {
|
|
807
807
|
JsonObjectDescriptor_instance = this;
|
|
808
|
-
this.
|
|
809
|
-
this.
|
|
808
|
+
this.m18_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).in();
|
|
809
|
+
this.n18_1 = 'kotlinx.serialization.json.JsonObject';
|
|
810
810
|
}
|
|
811
|
-
protoOf(JsonObjectDescriptor).
|
|
812
|
-
return this.
|
|
811
|
+
protoOf(JsonObjectDescriptor).mo = function () {
|
|
812
|
+
return this.n18_1;
|
|
813
813
|
};
|
|
814
|
-
protoOf(JsonObjectDescriptor).
|
|
815
|
-
return this.
|
|
814
|
+
protoOf(JsonObjectDescriptor).ro = function (index) {
|
|
815
|
+
return this.m18_1.ro(index);
|
|
816
816
|
};
|
|
817
|
-
protoOf(JsonObjectDescriptor).
|
|
818
|
-
return this.
|
|
817
|
+
protoOf(JsonObjectDescriptor).so = function (name) {
|
|
818
|
+
return this.m18_1.so(name);
|
|
819
819
|
};
|
|
820
|
-
protoOf(JsonObjectDescriptor).
|
|
821
|
-
return this.
|
|
820
|
+
protoOf(JsonObjectDescriptor).to = function (index) {
|
|
821
|
+
return this.m18_1.to(index);
|
|
822
822
|
};
|
|
823
|
-
protoOf(JsonObjectDescriptor).
|
|
824
|
-
return this.
|
|
823
|
+
protoOf(JsonObjectDescriptor).uo = function (index) {
|
|
824
|
+
return this.m18_1.uo(index);
|
|
825
825
|
};
|
|
826
|
-
protoOf(JsonObjectDescriptor).
|
|
827
|
-
return this.
|
|
826
|
+
protoOf(JsonObjectDescriptor).vo = function (index) {
|
|
827
|
+
return this.m18_1.vo(index);
|
|
828
828
|
};
|
|
829
|
-
protoOf(JsonObjectDescriptor).
|
|
830
|
-
return this.
|
|
829
|
+
protoOf(JsonObjectDescriptor).no = function () {
|
|
830
|
+
return this.m18_1.no();
|
|
831
831
|
};
|
|
832
|
-
protoOf(JsonObjectDescriptor).
|
|
833
|
-
return this.
|
|
832
|
+
protoOf(JsonObjectDescriptor).io = function () {
|
|
833
|
+
return this.m18_1.io();
|
|
834
834
|
};
|
|
835
|
-
protoOf(JsonObjectDescriptor).
|
|
836
|
-
return this.
|
|
835
|
+
protoOf(JsonObjectDescriptor).oo = function () {
|
|
836
|
+
return this.m18_1.oo();
|
|
837
837
|
};
|
|
838
|
-
protoOf(JsonObjectDescriptor).
|
|
839
|
-
return this.
|
|
838
|
+
protoOf(JsonObjectDescriptor).po = function () {
|
|
839
|
+
return this.m18_1.po();
|
|
840
840
|
};
|
|
841
|
-
protoOf(JsonObjectDescriptor).
|
|
842
|
-
return this.
|
|
841
|
+
protoOf(JsonObjectDescriptor).qo = function () {
|
|
842
|
+
return this.m18_1.qo();
|
|
843
843
|
};
|
|
844
844
|
var JsonObjectDescriptor_instance;
|
|
845
845
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -849,21 +849,21 @@
|
|
|
849
849
|
}
|
|
850
850
|
function JsonObjectSerializer() {
|
|
851
851
|
JsonObjectSerializer_instance = this;
|
|
852
|
-
this.
|
|
852
|
+
this.f18_1 = JsonObjectDescriptor_getInstance();
|
|
853
853
|
}
|
|
854
|
-
protoOf(JsonObjectSerializer).
|
|
855
|
-
return this.
|
|
854
|
+
protoOf(JsonObjectSerializer).in = function () {
|
|
855
|
+
return this.f18_1;
|
|
856
856
|
};
|
|
857
|
-
protoOf(JsonObjectSerializer).
|
|
857
|
+
protoOf(JsonObjectSerializer).o18 = function (encoder, value) {
|
|
858
858
|
verify(encoder);
|
|
859
|
-
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).
|
|
859
|
+
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).jn(encoder, value);
|
|
860
860
|
};
|
|
861
|
-
protoOf(JsonObjectSerializer).
|
|
862
|
-
return this.
|
|
861
|
+
protoOf(JsonObjectSerializer).jn = function (encoder, value) {
|
|
862
|
+
return this.o18(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
863
863
|
};
|
|
864
|
-
protoOf(JsonObjectSerializer).
|
|
864
|
+
protoOf(JsonObjectSerializer).kn = function (decoder) {
|
|
865
865
|
verify_0(decoder);
|
|
866
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).
|
|
866
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).kn(decoder));
|
|
867
867
|
};
|
|
868
868
|
var JsonObjectSerializer_instance;
|
|
869
869
|
function JsonObjectSerializer_getInstance() {
|
|
@@ -873,41 +873,41 @@
|
|
|
873
873
|
}
|
|
874
874
|
function JsonArrayDescriptor() {
|
|
875
875
|
JsonArrayDescriptor_instance = this;
|
|
876
|
-
this.
|
|
877
|
-
this.
|
|
876
|
+
this.p18_1 = ListSerializer(JsonElementSerializer_getInstance()).in();
|
|
877
|
+
this.q18_1 = 'kotlinx.serialization.json.JsonArray';
|
|
878
878
|
}
|
|
879
|
-
protoOf(JsonArrayDescriptor).
|
|
880
|
-
return this.
|
|
879
|
+
protoOf(JsonArrayDescriptor).mo = function () {
|
|
880
|
+
return this.q18_1;
|
|
881
881
|
};
|
|
882
|
-
protoOf(JsonArrayDescriptor).
|
|
883
|
-
return this.
|
|
882
|
+
protoOf(JsonArrayDescriptor).ro = function (index) {
|
|
883
|
+
return this.p18_1.ro(index);
|
|
884
884
|
};
|
|
885
|
-
protoOf(JsonArrayDescriptor).
|
|
886
|
-
return this.
|
|
885
|
+
protoOf(JsonArrayDescriptor).so = function (name) {
|
|
886
|
+
return this.p18_1.so(name);
|
|
887
887
|
};
|
|
888
|
-
protoOf(JsonArrayDescriptor).
|
|
889
|
-
return this.
|
|
888
|
+
protoOf(JsonArrayDescriptor).to = function (index) {
|
|
889
|
+
return this.p18_1.to(index);
|
|
890
890
|
};
|
|
891
|
-
protoOf(JsonArrayDescriptor).
|
|
892
|
-
return this.
|
|
891
|
+
protoOf(JsonArrayDescriptor).uo = function (index) {
|
|
892
|
+
return this.p18_1.uo(index);
|
|
893
893
|
};
|
|
894
|
-
protoOf(JsonArrayDescriptor).
|
|
895
|
-
return this.
|
|
894
|
+
protoOf(JsonArrayDescriptor).vo = function (index) {
|
|
895
|
+
return this.p18_1.vo(index);
|
|
896
896
|
};
|
|
897
|
-
protoOf(JsonArrayDescriptor).
|
|
898
|
-
return this.
|
|
897
|
+
protoOf(JsonArrayDescriptor).no = function () {
|
|
898
|
+
return this.p18_1.no();
|
|
899
899
|
};
|
|
900
|
-
protoOf(JsonArrayDescriptor).
|
|
901
|
-
return this.
|
|
900
|
+
protoOf(JsonArrayDescriptor).io = function () {
|
|
901
|
+
return this.p18_1.io();
|
|
902
902
|
};
|
|
903
|
-
protoOf(JsonArrayDescriptor).
|
|
904
|
-
return this.
|
|
903
|
+
protoOf(JsonArrayDescriptor).oo = function () {
|
|
904
|
+
return this.p18_1.oo();
|
|
905
905
|
};
|
|
906
|
-
protoOf(JsonArrayDescriptor).
|
|
907
|
-
return this.
|
|
906
|
+
protoOf(JsonArrayDescriptor).po = function () {
|
|
907
|
+
return this.p18_1.po();
|
|
908
908
|
};
|
|
909
|
-
protoOf(JsonArrayDescriptor).
|
|
910
|
-
return this.
|
|
909
|
+
protoOf(JsonArrayDescriptor).qo = function () {
|
|
910
|
+
return this.p18_1.qo();
|
|
911
911
|
};
|
|
912
912
|
var JsonArrayDescriptor_instance;
|
|
913
913
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -917,21 +917,21 @@
|
|
|
917
917
|
}
|
|
918
918
|
function JsonArraySerializer() {
|
|
919
919
|
JsonArraySerializer_instance = this;
|
|
920
|
-
this.
|
|
920
|
+
this.g18_1 = JsonArrayDescriptor_getInstance();
|
|
921
921
|
}
|
|
922
|
-
protoOf(JsonArraySerializer).
|
|
923
|
-
return this.
|
|
922
|
+
protoOf(JsonArraySerializer).in = function () {
|
|
923
|
+
return this.g18_1;
|
|
924
924
|
};
|
|
925
|
-
protoOf(JsonArraySerializer).
|
|
925
|
+
protoOf(JsonArraySerializer).r18 = function (encoder, value) {
|
|
926
926
|
verify(encoder);
|
|
927
|
-
ListSerializer(JsonElementSerializer_getInstance()).
|
|
927
|
+
ListSerializer(JsonElementSerializer_getInstance()).jn(encoder, value);
|
|
928
928
|
};
|
|
929
|
-
protoOf(JsonArraySerializer).
|
|
930
|
-
return this.
|
|
929
|
+
protoOf(JsonArraySerializer).jn = function (encoder, value) {
|
|
930
|
+
return this.r18(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
931
931
|
};
|
|
932
|
-
protoOf(JsonArraySerializer).
|
|
932
|
+
protoOf(JsonArraySerializer).kn = function (decoder) {
|
|
933
933
|
verify_0(decoder);
|
|
934
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
934
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).kn(decoder));
|
|
935
935
|
};
|
|
936
936
|
var JsonArraySerializer_instance;
|
|
937
937
|
function JsonArraySerializer_getInstance() {
|
|
@@ -966,7 +966,7 @@
|
|
|
966
966
|
return tmp;
|
|
967
967
|
}
|
|
968
968
|
function _get_original__l7ku1m($this) {
|
|
969
|
-
var tmp0 = $this.
|
|
969
|
+
var tmp0 = $this.s18_1;
|
|
970
970
|
var tmp = KProperty1;
|
|
971
971
|
// Inline function 'kotlin.getValue' call
|
|
972
972
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -978,184 +978,184 @@
|
|
|
978
978
|
};
|
|
979
979
|
}
|
|
980
980
|
function defer$1($deferred) {
|
|
981
|
-
this.
|
|
981
|
+
this.s18_1 = lazy($deferred);
|
|
982
982
|
}
|
|
983
|
-
protoOf(defer$1).jo = function () {
|
|
984
|
-
return _get_original__l7ku1m(this).jo();
|
|
985
|
-
};
|
|
986
|
-
protoOf(defer$1).ko = function () {
|
|
987
|
-
return _get_original__l7ku1m(this).ko();
|
|
988
|
-
};
|
|
989
983
|
protoOf(defer$1).mo = function () {
|
|
990
984
|
return _get_original__l7ku1m(this).mo();
|
|
991
985
|
};
|
|
992
|
-
protoOf(defer$1).
|
|
993
|
-
return _get_original__l7ku1m(this).
|
|
994
|
-
};
|
|
995
|
-
protoOf(defer$1).po = function (name) {
|
|
996
|
-
return _get_original__l7ku1m(this).po(name);
|
|
986
|
+
protoOf(defer$1).no = function () {
|
|
987
|
+
return _get_original__l7ku1m(this).no();
|
|
997
988
|
};
|
|
998
|
-
protoOf(defer$1).
|
|
999
|
-
return _get_original__l7ku1m(this).
|
|
989
|
+
protoOf(defer$1).po = function () {
|
|
990
|
+
return _get_original__l7ku1m(this).po();
|
|
1000
991
|
};
|
|
1001
992
|
protoOf(defer$1).ro = function (index) {
|
|
1002
993
|
return _get_original__l7ku1m(this).ro(index);
|
|
1003
994
|
};
|
|
1004
|
-
protoOf(defer$1).so = function (
|
|
1005
|
-
return _get_original__l7ku1m(this).so(
|
|
995
|
+
protoOf(defer$1).so = function (name) {
|
|
996
|
+
return _get_original__l7ku1m(this).so(name);
|
|
997
|
+
};
|
|
998
|
+
protoOf(defer$1).to = function (index) {
|
|
999
|
+
return _get_original__l7ku1m(this).to(index);
|
|
1000
|
+
};
|
|
1001
|
+
protoOf(defer$1).uo = function (index) {
|
|
1002
|
+
return _get_original__l7ku1m(this).uo(index);
|
|
1003
|
+
};
|
|
1004
|
+
protoOf(defer$1).vo = function (index) {
|
|
1005
|
+
return _get_original__l7ku1m(this).vo(index);
|
|
1006
1006
|
};
|
|
1007
1007
|
function JsonEncoder() {
|
|
1008
1008
|
}
|
|
1009
1009
|
function Composer(writer) {
|
|
1010
|
-
this.
|
|
1011
|
-
this.
|
|
1010
|
+
this.t18_1 = writer;
|
|
1011
|
+
this.u18_1 = true;
|
|
1012
1012
|
}
|
|
1013
|
-
protoOf(Composer).s18 = function () {
|
|
1014
|
-
this.r18_1 = true;
|
|
1015
|
-
};
|
|
1016
|
-
protoOf(Composer).t18 = function () {
|
|
1017
|
-
return Unit_instance;
|
|
1018
|
-
};
|
|
1019
|
-
protoOf(Composer).u18 = function () {
|
|
1020
|
-
this.r18_1 = false;
|
|
1021
|
-
};
|
|
1022
1013
|
protoOf(Composer).v18 = function () {
|
|
1023
|
-
this.
|
|
1014
|
+
this.u18_1 = true;
|
|
1024
1015
|
};
|
|
1025
1016
|
protoOf(Composer).w18 = function () {
|
|
1026
1017
|
return Unit_instance;
|
|
1027
1018
|
};
|
|
1028
|
-
protoOf(Composer).x18 = function (
|
|
1029
|
-
|
|
1019
|
+
protoOf(Composer).x18 = function () {
|
|
1020
|
+
this.u18_1 = false;
|
|
1021
|
+
};
|
|
1022
|
+
protoOf(Composer).y18 = function () {
|
|
1023
|
+
this.u18_1 = false;
|
|
1030
1024
|
};
|
|
1031
|
-
protoOf(Composer).z18 = function (
|
|
1032
|
-
return
|
|
1025
|
+
protoOf(Composer).z18 = function () {
|
|
1026
|
+
return Unit_instance;
|
|
1033
1027
|
};
|
|
1034
|
-
protoOf(Composer).
|
|
1035
|
-
return this.
|
|
1028
|
+
protoOf(Composer).a19 = function (v) {
|
|
1029
|
+
return this.t18_1.b19(v);
|
|
1036
1030
|
};
|
|
1037
1031
|
protoOf(Composer).c19 = function (v) {
|
|
1038
|
-
return this.
|
|
1032
|
+
return this.t18_1.d19(v);
|
|
1039
1033
|
};
|
|
1040
|
-
protoOf(Composer).
|
|
1041
|
-
return this.
|
|
1034
|
+
protoOf(Composer).e19 = function (v) {
|
|
1035
|
+
return this.t18_1.d19(v.toString());
|
|
1042
1036
|
};
|
|
1043
1037
|
protoOf(Composer).f19 = function (v) {
|
|
1044
|
-
return this.
|
|
1038
|
+
return this.t18_1.d19(v.toString());
|
|
1045
1039
|
};
|
|
1046
1040
|
protoOf(Composer).g19 = function (v) {
|
|
1047
|
-
return this.
|
|
1048
|
-
};
|
|
1049
|
-
protoOf(Composer).h19 = function (v) {
|
|
1050
|
-
return this.q18_1.e19(v);
|
|
1041
|
+
return this.t18_1.h19(fromInt(v));
|
|
1051
1042
|
};
|
|
1052
1043
|
protoOf(Composer).i19 = function (v) {
|
|
1053
|
-
return this.
|
|
1044
|
+
return this.t18_1.h19(fromInt(v));
|
|
1045
|
+
};
|
|
1046
|
+
protoOf(Composer).j19 = function (v) {
|
|
1047
|
+
return this.t18_1.h19(fromInt(v));
|
|
1054
1048
|
};
|
|
1055
|
-
protoOf(Composer).
|
|
1056
|
-
return this.
|
|
1049
|
+
protoOf(Composer).k19 = function (v) {
|
|
1050
|
+
return this.t18_1.h19(v);
|
|
1051
|
+
};
|
|
1052
|
+
protoOf(Composer).l19 = function (v) {
|
|
1053
|
+
return this.t18_1.d19(v.toString());
|
|
1054
|
+
};
|
|
1055
|
+
protoOf(Composer).m19 = function (value) {
|
|
1056
|
+
return this.t18_1.n19(value);
|
|
1057
1057
|
};
|
|
1058
1058
|
function Composer_0(sb, json) {
|
|
1059
|
-
return json.
|
|
1059
|
+
return json.d16_1.c17_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1060
1060
|
}
|
|
1061
1061
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1062
1062
|
Composer.call(this, writer);
|
|
1063
|
-
this.
|
|
1063
|
+
this.q19_1 = forceQuoting;
|
|
1064
1064
|
}
|
|
1065
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1066
|
-
if (this.
|
|
1065
|
+
protoOf(ComposerForUnsignedNumbers).j19 = function (v) {
|
|
1066
|
+
if (this.q19_1) {
|
|
1067
1067
|
// Inline function 'kotlin.toUInt' call
|
|
1068
1068
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1069
|
-
this.
|
|
1069
|
+
this.m19(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1070
1070
|
} else {
|
|
1071
1071
|
// Inline function 'kotlin.toUInt' call
|
|
1072
1072
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1073
|
-
this.
|
|
1073
|
+
this.c19(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1074
1074
|
}
|
|
1075
1075
|
};
|
|
1076
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1077
|
-
if (this.
|
|
1076
|
+
protoOf(ComposerForUnsignedNumbers).k19 = function (v) {
|
|
1077
|
+
if (this.q19_1) {
|
|
1078
1078
|
// Inline function 'kotlin.toULong' call
|
|
1079
1079
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1080
|
-
this.
|
|
1080
|
+
this.m19(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1081
1081
|
} else {
|
|
1082
1082
|
// Inline function 'kotlin.toULong' call
|
|
1083
1083
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1084
|
-
this.
|
|
1084
|
+
this.c19(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1085
1085
|
}
|
|
1086
1086
|
};
|
|
1087
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1088
|
-
if (this.
|
|
1087
|
+
protoOf(ComposerForUnsignedNumbers).g19 = function (v) {
|
|
1088
|
+
if (this.q19_1) {
|
|
1089
1089
|
// Inline function 'kotlin.toUByte' call
|
|
1090
1090
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1091
|
-
this.
|
|
1091
|
+
this.m19(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1092
1092
|
} else {
|
|
1093
1093
|
// Inline function 'kotlin.toUByte' call
|
|
1094
1094
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1095
|
-
this.
|
|
1095
|
+
this.c19(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1096
1096
|
}
|
|
1097
1097
|
};
|
|
1098
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1099
|
-
if (this.
|
|
1098
|
+
protoOf(ComposerForUnsignedNumbers).i19 = function (v) {
|
|
1099
|
+
if (this.q19_1) {
|
|
1100
1100
|
// Inline function 'kotlin.toUShort' call
|
|
1101
1101
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1102
|
-
this.
|
|
1102
|
+
this.m19(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1103
1103
|
} else {
|
|
1104
1104
|
// Inline function 'kotlin.toUShort' call
|
|
1105
1105
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1106
|
-
this.
|
|
1106
|
+
this.c19(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1107
1107
|
}
|
|
1108
1108
|
};
|
|
1109
1109
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1110
1110
|
Composer.call(this, writer);
|
|
1111
|
-
this.
|
|
1111
|
+
this.t19_1 = forceQuoting;
|
|
1112
1112
|
}
|
|
1113
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1114
|
-
if (this.
|
|
1115
|
-
protoOf(Composer).
|
|
1113
|
+
protoOf(ComposerForUnquotedLiterals).m19 = function (value) {
|
|
1114
|
+
if (this.t19_1) {
|
|
1115
|
+
protoOf(Composer).m19.call(this, value);
|
|
1116
1116
|
} else {
|
|
1117
|
-
protoOf(Composer).
|
|
1117
|
+
protoOf(Composer).c19.call(this, value);
|
|
1118
1118
|
}
|
|
1119
1119
|
};
|
|
1120
1120
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1121
1121
|
Composer.call(this, writer);
|
|
1122
|
-
this.
|
|
1123
|
-
this.
|
|
1122
|
+
this.w19_1 = json;
|
|
1123
|
+
this.x19_1 = 0;
|
|
1124
1124
|
}
|
|
1125
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1126
|
-
this.
|
|
1127
|
-
this.
|
|
1125
|
+
protoOf(ComposerWithPrettyPrint).v18 = function () {
|
|
1126
|
+
this.u18_1 = true;
|
|
1127
|
+
this.x19_1 = this.x19_1 + 1 | 0;
|
|
1128
1128
|
};
|
|
1129
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1130
|
-
this.
|
|
1129
|
+
protoOf(ComposerWithPrettyPrint).w18 = function () {
|
|
1130
|
+
this.x19_1 = this.x19_1 - 1 | 0;
|
|
1131
1131
|
};
|
|
1132
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1133
|
-
this.
|
|
1134
|
-
this.
|
|
1132
|
+
protoOf(ComposerWithPrettyPrint).x18 = function () {
|
|
1133
|
+
this.u18_1 = false;
|
|
1134
|
+
this.c19('\n');
|
|
1135
1135
|
// Inline function 'kotlin.repeat' call
|
|
1136
|
-
var times = this.
|
|
1136
|
+
var times = this.x19_1;
|
|
1137
1137
|
var inductionVariable = 0;
|
|
1138
1138
|
if (inductionVariable < times)
|
|
1139
1139
|
do {
|
|
1140
1140
|
var index = inductionVariable;
|
|
1141
1141
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1142
|
-
this.
|
|
1142
|
+
this.c19(this.w19_1.d16_1.e17_1);
|
|
1143
1143
|
}
|
|
1144
1144
|
while (inductionVariable < times);
|
|
1145
1145
|
};
|
|
1146
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1147
|
-
if (this.
|
|
1148
|
-
this.
|
|
1146
|
+
protoOf(ComposerWithPrettyPrint).y18 = function () {
|
|
1147
|
+
if (this.u18_1)
|
|
1148
|
+
this.u18_1 = false;
|
|
1149
1149
|
else {
|
|
1150
|
-
this.
|
|
1150
|
+
this.x18();
|
|
1151
1151
|
}
|
|
1152
1152
|
};
|
|
1153
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1154
|
-
this.
|
|
1153
|
+
protoOf(ComposerWithPrettyPrint).z18 = function () {
|
|
1154
|
+
this.a19(_Char___init__impl__6a9atx(32));
|
|
1155
1155
|
};
|
|
1156
1156
|
function readIfAbsent($this, descriptor, index) {
|
|
1157
|
-
$this.
|
|
1158
|
-
return $this.
|
|
1157
|
+
$this.z19_1 = (!descriptor.vo(index) && descriptor.uo(index).io());
|
|
1158
|
+
return $this.z19_1;
|
|
1159
1159
|
}
|
|
1160
1160
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
1161
1161
|
var l = function (_this__u8e3s4, p0_0) {
|
|
@@ -1167,14 +1167,14 @@
|
|
|
1167
1167
|
}
|
|
1168
1168
|
function JsonElementMarker(descriptor) {
|
|
1169
1169
|
var tmp = this;
|
|
1170
|
-
tmp.
|
|
1171
|
-
this.
|
|
1170
|
+
tmp.y19_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1171
|
+
this.z19_1 = false;
|
|
1172
1172
|
}
|
|
1173
|
-
protoOf(JsonElementMarker).
|
|
1174
|
-
this.
|
|
1173
|
+
protoOf(JsonElementMarker).a1a = function (index) {
|
|
1174
|
+
this.y19_1.mw(index);
|
|
1175
1175
|
};
|
|
1176
|
-
protoOf(JsonElementMarker).
|
|
1177
|
-
return this.
|
|
1176
|
+
protoOf(JsonElementMarker).b1a = function () {
|
|
1177
|
+
return this.y19_1.nw();
|
|
1178
1178
|
};
|
|
1179
1179
|
function JsonDecodingException(message) {
|
|
1180
1180
|
JsonException.call(this, message);
|
|
@@ -1185,17 +1185,17 @@
|
|
|
1185
1185
|
}
|
|
1186
1186
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1187
1187
|
entity = entity === VOID ? 'object' : entity;
|
|
1188
|
-
_this__u8e3s4.
|
|
1188
|
+
_this__u8e3s4.c1a('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.t16_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1189
1189
|
}
|
|
1190
1190
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1191
|
-
_this__u8e3s4.
|
|
1191
|
+
_this__u8e3s4.d1a('Unexpected special floating-point value ' + toString_0(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'");
|
|
1192
1192
|
}
|
|
1193
1193
|
function JsonEncodingException(message) {
|
|
1194
1194
|
JsonException.call(this, message);
|
|
1195
1195
|
captureStack(this, JsonEncodingException);
|
|
1196
1196
|
}
|
|
1197
1197
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1198
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
1198
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.mo() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.no().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
1199
1199
|
}
|
|
1200
1200
|
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1201
1201
|
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
@@ -1247,10 +1247,10 @@
|
|
|
1247
1247
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
1248
1248
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1249
1249
|
var tmp;
|
|
1250
|
-
if (json.
|
|
1250
|
+
if (json.d16_1.z16_1) {
|
|
1251
1251
|
tmp = true;
|
|
1252
1252
|
} else {
|
|
1253
|
-
var tmp0 = _this__u8e3s4.
|
|
1253
|
+
var tmp0 = _this__u8e3s4.qo();
|
|
1254
1254
|
var tmp$ret$0;
|
|
1255
1255
|
$l$block_0: {
|
|
1256
1256
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -1289,31 +1289,31 @@
|
|
|
1289
1289
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1290
1290
|
if (!(strategy == null))
|
|
1291
1291
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1292
|
-
var index = _this__u8e3s4.
|
|
1292
|
+
var index = _this__u8e3s4.so(name);
|
|
1293
1293
|
if (!(index === -3))
|
|
1294
1294
|
return index;
|
|
1295
|
-
if (!json.
|
|
1295
|
+
if (!json.d16_1.j17_1)
|
|
1296
1296
|
return index;
|
|
1297
1297
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1298
1298
|
}
|
|
1299
1299
|
function getJsonElementName(_this__u8e3s4, json, index) {
|
|
1300
1300
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1301
1301
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1302
|
-
return strategy == null ? _this__u8e3s4.
|
|
1302
|
+
return strategy == null ? _this__u8e3s4.ro(index) : serializationNamesIndices(_this__u8e3s4, json, strategy)[index];
|
|
1303
1303
|
}
|
|
1304
1304
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1305
1305
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1306
|
-
return equals(_this__u8e3s4.
|
|
1306
|
+
return equals(_this__u8e3s4.no(), CLASS_getInstance()) ? json.d16_1.k17_1 : null;
|
|
1307
1307
|
}
|
|
1308
1308
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1309
1309
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1310
1310
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1311
1311
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1312
|
-
return tmp.
|
|
1312
|
+
return tmp.f1a(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1313
1313
|
}
|
|
1314
1314
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1315
1315
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1316
|
-
return _this__u8e3s4.
|
|
1316
|
+
return _this__u8e3s4.d16_1.l17_1 && equals(descriptor.no(), ENUM_getInstance());
|
|
1317
1317
|
}
|
|
1318
1318
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1319
1319
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1324,7 +1324,7 @@
|
|
|
1324
1324
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1325
1325
|
var tmp = get_schemaCache(json);
|
|
1326
1326
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1327
|
-
return tmp.
|
|
1327
|
+
return tmp.f1a(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1328
1328
|
}
|
|
1329
1329
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1330
1330
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1333,13 +1333,13 @@
|
|
|
1333
1333
|
var useLowercaseEnums = decodeCaseInsensitive(json, _this__u8e3s4);
|
|
1334
1334
|
var strategyForClasses = namingStrategy(_this__u8e3s4, json);
|
|
1335
1335
|
var inductionVariable = 0;
|
|
1336
|
-
var last = _this__u8e3s4.
|
|
1336
|
+
var last = _this__u8e3s4.po();
|
|
1337
1337
|
if (inductionVariable < last)
|
|
1338
1338
|
do {
|
|
1339
1339
|
var i = inductionVariable;
|
|
1340
1340
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1341
1341
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1342
|
-
var tmp0 = _this__u8e3s4.
|
|
1342
|
+
var tmp0 = _this__u8e3s4.to(i);
|
|
1343
1343
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1344
1344
|
var destination = ArrayList_init_$Create$();
|
|
1345
1345
|
var _iterator__ex2g4s = tmp0.r();
|
|
@@ -1350,7 +1350,7 @@
|
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1353
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1353
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g1a_1;
|
|
1354
1354
|
if (tmp1_safe_receiver == null)
|
|
1355
1355
|
null;
|
|
1356
1356
|
else {
|
|
@@ -1375,9 +1375,9 @@
|
|
|
1375
1375
|
if (useLowercaseEnums) {
|
|
1376
1376
|
// Inline function 'kotlin.text.lowercase' call
|
|
1377
1377
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1378
|
-
tmp_0 = _this__u8e3s4.
|
|
1378
|
+
tmp_0 = _this__u8e3s4.ro(i).toLowerCase();
|
|
1379
1379
|
} else if (!(strategyForClasses == null)) {
|
|
1380
|
-
tmp_0 = strategyForClasses.
|
|
1380
|
+
tmp_0 = strategyForClasses.h1a(_this__u8e3s4, i, _this__u8e3s4.ro(i));
|
|
1381
1381
|
} else {
|
|
1382
1382
|
tmp_0 = null;
|
|
1383
1383
|
}
|
|
@@ -1407,24 +1407,24 @@
|
|
|
1407
1407
|
function serializationNamesIndices$lambda($this_serializationNamesIndices, $strategy) {
|
|
1408
1408
|
return function () {
|
|
1409
1409
|
var tmp = 0;
|
|
1410
|
-
var tmp_0 = $this_serializationNamesIndices.
|
|
1410
|
+
var tmp_0 = $this_serializationNamesIndices.po();
|
|
1411
1411
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1412
1412
|
var tmp_1 = Array(tmp_0);
|
|
1413
1413
|
while (tmp < tmp_0) {
|
|
1414
1414
|
var tmp_2 = tmp;
|
|
1415
|
-
var baseName = $this_serializationNamesIndices.
|
|
1416
|
-
tmp_1[tmp_2] = $strategy.
|
|
1415
|
+
var baseName = $this_serializationNamesIndices.ro(tmp_2);
|
|
1416
|
+
tmp_1[tmp_2] = $strategy.h1a($this_serializationNamesIndices, tmp_2, baseName);
|
|
1417
1417
|
tmp = tmp + 1 | 0;
|
|
1418
1418
|
}
|
|
1419
1419
|
return tmp_1;
|
|
1420
1420
|
};
|
|
1421
1421
|
}
|
|
1422
1422
|
function buildDeserializationNamesMap$putOrThrow(_this__u8e3s4, $this_buildDeserializationNamesMap, name, index) {
|
|
1423
|
-
var entity = equals($this_buildDeserializationNamesMap.
|
|
1423
|
+
var entity = equals($this_buildDeserializationNamesMap.no(), ENUM_getInstance()) ? 'enum value' : 'property';
|
|
1424
1424
|
// Inline function 'kotlin.collections.contains' call
|
|
1425
1425
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1426
1426
|
if ((isInterface(_this__u8e3s4, KtMap) ? _this__u8e3s4 : THROW_CCE()).k2(name)) {
|
|
1427
|
-
throw new JsonException("The suggested name '" + name + "' for " + entity + ' ' + $this_buildDeserializationNamesMap.
|
|
1427
|
+
throw new JsonException("The suggested name '" + name + "' for " + entity + ' ' + $this_buildDeserializationNamesMap.ro(index) + ' is already one of the names for ' + entity + ' ' + ($this_buildDeserializationNamesMap.ro(getValue(_this__u8e3s4, name)) + ' in ' + toString_0($this_buildDeserializationNamesMap)));
|
|
1428
1428
|
}
|
|
1429
1429
|
// Inline function 'kotlin.collections.set' call
|
|
1430
1430
|
_this__u8e3s4.p2(name, index);
|
|
@@ -1444,8 +1444,8 @@
|
|
|
1444
1444
|
return Tombstone_instance;
|
|
1445
1445
|
}
|
|
1446
1446
|
function resize($this) {
|
|
1447
|
-
var newSize = imul($this.
|
|
1448
|
-
$this.
|
|
1447
|
+
var newSize = imul($this.k1a_1, 2);
|
|
1448
|
+
$this.i1a_1 = copyOf($this.i1a_1, newSize);
|
|
1449
1449
|
var tmp = 0;
|
|
1450
1450
|
var tmp_0 = new Int32Array(newSize);
|
|
1451
1451
|
while (tmp < newSize) {
|
|
@@ -1454,7 +1454,7 @@
|
|
|
1454
1454
|
}
|
|
1455
1455
|
var newIndices = tmp_0;
|
|
1456
1456
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1457
|
-
var this_0 = $this.
|
|
1457
|
+
var this_0 = $this.j1a_1;
|
|
1458
1458
|
var endIndex = this_0.length;
|
|
1459
1459
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1460
1460
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1462,12 +1462,12 @@
|
|
|
1462
1462
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1463
1463
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1464
1464
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
1465
|
-
$this.
|
|
1465
|
+
$this.j1a_1 = newIndices;
|
|
1466
1466
|
}
|
|
1467
1467
|
function JsonPath() {
|
|
1468
1468
|
var tmp = this;
|
|
1469
1469
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1470
|
-
tmp.
|
|
1470
|
+
tmp.i1a_1 = Array(8);
|
|
1471
1471
|
var tmp_0 = this;
|
|
1472
1472
|
var tmp_1 = 0;
|
|
1473
1473
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1475,74 +1475,74 @@
|
|
|
1475
1475
|
tmp_2[tmp_1] = -1;
|
|
1476
1476
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1477
1477
|
}
|
|
1478
|
-
tmp_0.
|
|
1479
|
-
this.
|
|
1478
|
+
tmp_0.j1a_1 = tmp_2;
|
|
1479
|
+
this.k1a_1 = -1;
|
|
1480
1480
|
}
|
|
1481
|
-
protoOf(JsonPath).
|
|
1482
|
-
this.
|
|
1483
|
-
var depth = this.
|
|
1484
|
-
if (depth === this.
|
|
1481
|
+
protoOf(JsonPath).l1a = function (sd) {
|
|
1482
|
+
this.k1a_1 = this.k1a_1 + 1 | 0;
|
|
1483
|
+
var depth = this.k1a_1;
|
|
1484
|
+
if (depth === this.i1a_1.length) {
|
|
1485
1485
|
resize(this);
|
|
1486
1486
|
}
|
|
1487
|
-
this.
|
|
1487
|
+
this.i1a_1[depth] = sd;
|
|
1488
1488
|
};
|
|
1489
|
-
protoOf(JsonPath).
|
|
1490
|
-
this.
|
|
1489
|
+
protoOf(JsonPath).m1a = function (index) {
|
|
1490
|
+
this.j1a_1[this.k1a_1] = index;
|
|
1491
1491
|
};
|
|
1492
|
-
protoOf(JsonPath).
|
|
1492
|
+
protoOf(JsonPath).n1a = function (key) {
|
|
1493
1493
|
var tmp;
|
|
1494
|
-
if (!(this.
|
|
1495
|
-
this.
|
|
1496
|
-
tmp = this.
|
|
1494
|
+
if (!(this.j1a_1[this.k1a_1] === -2)) {
|
|
1495
|
+
this.k1a_1 = this.k1a_1 + 1 | 0;
|
|
1496
|
+
tmp = this.k1a_1 === this.i1a_1.length;
|
|
1497
1497
|
} else {
|
|
1498
1498
|
tmp = false;
|
|
1499
1499
|
}
|
|
1500
1500
|
if (tmp) {
|
|
1501
1501
|
resize(this);
|
|
1502
1502
|
}
|
|
1503
|
-
this.
|
|
1504
|
-
this.
|
|
1503
|
+
this.i1a_1[this.k1a_1] = key;
|
|
1504
|
+
this.j1a_1[this.k1a_1] = -2;
|
|
1505
1505
|
};
|
|
1506
|
-
protoOf(JsonPath).
|
|
1507
|
-
if (this.
|
|
1508
|
-
this.
|
|
1506
|
+
protoOf(JsonPath).o1a = function () {
|
|
1507
|
+
if (this.j1a_1[this.k1a_1] === -2) {
|
|
1508
|
+
this.i1a_1[this.k1a_1] = Tombstone_instance;
|
|
1509
1509
|
}
|
|
1510
1510
|
};
|
|
1511
|
-
protoOf(JsonPath).
|
|
1512
|
-
var depth = this.
|
|
1513
|
-
if (this.
|
|
1514
|
-
this.
|
|
1515
|
-
this.
|
|
1511
|
+
protoOf(JsonPath).p1a = function () {
|
|
1512
|
+
var depth = this.k1a_1;
|
|
1513
|
+
if (this.j1a_1[depth] === -2) {
|
|
1514
|
+
this.j1a_1[depth] = -1;
|
|
1515
|
+
this.k1a_1 = this.k1a_1 - 1 | 0;
|
|
1516
1516
|
}
|
|
1517
|
-
if (!(this.
|
|
1518
|
-
this.
|
|
1517
|
+
if (!(this.k1a_1 === -1)) {
|
|
1518
|
+
this.k1a_1 = this.k1a_1 - 1 | 0;
|
|
1519
1519
|
}
|
|
1520
1520
|
};
|
|
1521
|
-
protoOf(JsonPath).
|
|
1521
|
+
protoOf(JsonPath).q1a = function () {
|
|
1522
1522
|
// Inline function 'kotlin.text.buildString' call
|
|
1523
1523
|
// Inline function 'kotlin.apply' call
|
|
1524
1524
|
var this_0 = StringBuilder_init_$Create$();
|
|
1525
1525
|
this_0.o('$');
|
|
1526
1526
|
// Inline function 'kotlin.repeat' call
|
|
1527
|
-
var times = this.
|
|
1527
|
+
var times = this.k1a_1 + 1 | 0;
|
|
1528
1528
|
var inductionVariable = 0;
|
|
1529
1529
|
if (inductionVariable < times)
|
|
1530
1530
|
do {
|
|
1531
1531
|
var index = inductionVariable;
|
|
1532
1532
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1533
|
-
var element = this.
|
|
1533
|
+
var element = this.i1a_1[index];
|
|
1534
1534
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1535
|
-
if (equals(element.
|
|
1536
|
-
if (!(this.
|
|
1535
|
+
if (equals(element.no(), LIST_getInstance())) {
|
|
1536
|
+
if (!(this.j1a_1[index] === -1)) {
|
|
1537
1537
|
this_0.o('[');
|
|
1538
|
-
this_0.ob(this.
|
|
1538
|
+
this_0.ob(this.j1a_1[index]);
|
|
1539
1539
|
this_0.o(']');
|
|
1540
1540
|
}
|
|
1541
1541
|
} else {
|
|
1542
|
-
var idx = this.
|
|
1542
|
+
var idx = this.j1a_1[index];
|
|
1543
1543
|
if (idx >= 0) {
|
|
1544
1544
|
this_0.o('.');
|
|
1545
|
-
this_0.o(element.
|
|
1545
|
+
this_0.o(element.ro(idx));
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
1548
|
} else {
|
|
@@ -1559,7 +1559,7 @@
|
|
|
1559
1559
|
return this_0.toString();
|
|
1560
1560
|
};
|
|
1561
1561
|
protoOf(JsonPath).toString = function () {
|
|
1562
|
-
return this.
|
|
1562
|
+
return this.q1a();
|
|
1563
1563
|
};
|
|
1564
1564
|
function encodeByWriter(json, writer, serializer, value) {
|
|
1565
1565
|
var tmp = WriteMode_OBJ_getInstance();
|
|
@@ -1567,38 +1567,38 @@
|
|
|
1567
1567
|
var size = get_entries().d1();
|
|
1568
1568
|
var tmp$ret$0 = Array(size);
|
|
1569
1569
|
var encoder = StreamingJsonEncoder_init_$Create$(writer, json, tmp, tmp$ret$0);
|
|
1570
|
-
encoder.
|
|
1570
|
+
encoder.wr(serializer, value);
|
|
1571
1571
|
}
|
|
1572
1572
|
function readObject($this) {
|
|
1573
1573
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1574
|
-
var lastToken = $this.
|
|
1575
|
-
if ($this.
|
|
1576
|
-
$this.
|
|
1574
|
+
var lastToken = $this.a1b_1.e1b(6);
|
|
1575
|
+
if ($this.a1b_1.f1b() === 4) {
|
|
1576
|
+
$this.a1b_1.d1a('Unexpected leading comma');
|
|
1577
1577
|
}
|
|
1578
1578
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1579
1579
|
var result = LinkedHashMap_init_$Create$();
|
|
1580
|
-
$l$loop: while ($this.
|
|
1581
|
-
var key = $this.
|
|
1582
|
-
$this.
|
|
1583
|
-
var element = $this.
|
|
1580
|
+
$l$loop: while ($this.a1b_1.g1b()) {
|
|
1581
|
+
var key = $this.b1b_1 ? $this.a1b_1.i1b() : $this.a1b_1.h1b();
|
|
1582
|
+
$this.a1b_1.e1b(5);
|
|
1583
|
+
var element = $this.j1b();
|
|
1584
1584
|
// Inline function 'kotlin.collections.set' call
|
|
1585
1585
|
result.p2(key, element);
|
|
1586
|
-
lastToken = $this.
|
|
1586
|
+
lastToken = $this.a1b_1.k1b();
|
|
1587
1587
|
var tmp0_subject = lastToken;
|
|
1588
1588
|
if (tmp0_subject !== 4)
|
|
1589
1589
|
if (tmp0_subject === 7)
|
|
1590
1590
|
break $l$loop;
|
|
1591
1591
|
else {
|
|
1592
|
-
$this.
|
|
1592
|
+
$this.a1b_1.d1a('Expected end of the object or comma');
|
|
1593
1593
|
}
|
|
1594
1594
|
}
|
|
1595
1595
|
if (lastToken === 6) {
|
|
1596
|
-
$this.
|
|
1596
|
+
$this.a1b_1.e1b(7);
|
|
1597
1597
|
} else if (lastToken === 4) {
|
|
1598
|
-
if (!$this.
|
|
1599
|
-
invalidTrailingComma($this.
|
|
1598
|
+
if (!$this.c1b_1) {
|
|
1599
|
+
invalidTrailingComma($this.a1b_1);
|
|
1600
1600
|
}
|
|
1601
|
-
$this.
|
|
1601
|
+
$this.a1b_1.e1b(7);
|
|
1602
1602
|
}
|
|
1603
1603
|
return new JsonObject(result);
|
|
1604
1604
|
}
|
|
@@ -1609,43 +1609,43 @@
|
|
|
1609
1609
|
return tmp.a9();
|
|
1610
1610
|
}
|
|
1611
1611
|
function readArray($this) {
|
|
1612
|
-
var lastToken = $this.
|
|
1613
|
-
if ($this.
|
|
1614
|
-
$this.
|
|
1612
|
+
var lastToken = $this.a1b_1.k1b();
|
|
1613
|
+
if ($this.a1b_1.f1b() === 4) {
|
|
1614
|
+
$this.a1b_1.d1a('Unexpected leading comma');
|
|
1615
1615
|
}
|
|
1616
1616
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1617
1617
|
var result = ArrayList_init_$Create$();
|
|
1618
|
-
while ($this.
|
|
1619
|
-
var element = $this.
|
|
1618
|
+
while ($this.a1b_1.g1b()) {
|
|
1619
|
+
var element = $this.j1b();
|
|
1620
1620
|
result.v(element);
|
|
1621
|
-
lastToken = $this.
|
|
1621
|
+
lastToken = $this.a1b_1.k1b();
|
|
1622
1622
|
if (!(lastToken === 4)) {
|
|
1623
|
-
var tmp0 = $this.
|
|
1623
|
+
var tmp0 = $this.a1b_1;
|
|
1624
1624
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1625
1625
|
var condition = lastToken === 9;
|
|
1626
|
-
var position = tmp0.
|
|
1626
|
+
var position = tmp0.t16_1;
|
|
1627
1627
|
if (!condition) {
|
|
1628
1628
|
var tmp$ret$2 = 'Expected end of the array or comma';
|
|
1629
|
-
tmp0.
|
|
1629
|
+
tmp0.d1a(tmp$ret$2, position);
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
1633
|
if (lastToken === 8) {
|
|
1634
|
-
$this.
|
|
1634
|
+
$this.a1b_1.e1b(9);
|
|
1635
1635
|
} else if (lastToken === 4) {
|
|
1636
|
-
if (!$this.
|
|
1637
|
-
invalidTrailingComma($this.
|
|
1636
|
+
if (!$this.c1b_1) {
|
|
1637
|
+
invalidTrailingComma($this.a1b_1, 'array');
|
|
1638
1638
|
}
|
|
1639
|
-
$this.
|
|
1639
|
+
$this.a1b_1.e1b(9);
|
|
1640
1640
|
}
|
|
1641
1641
|
return new JsonArray(result);
|
|
1642
1642
|
}
|
|
1643
1643
|
function readValue($this, isString) {
|
|
1644
1644
|
var tmp;
|
|
1645
|
-
if ($this.
|
|
1646
|
-
tmp = $this.
|
|
1645
|
+
if ($this.b1b_1 || !isString) {
|
|
1646
|
+
tmp = $this.a1b_1.i1b();
|
|
1647
1647
|
} else {
|
|
1648
|
-
tmp = $this.
|
|
1648
|
+
tmp = $this.a1b_1.h1b();
|
|
1649
1649
|
}
|
|
1650
1650
|
var string = tmp;
|
|
1651
1651
|
if (!isString && string === 'null')
|
|
@@ -1656,18 +1656,18 @@
|
|
|
1656
1656
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1657
1657
|
}
|
|
1658
1658
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1659
|
-
this.
|
|
1659
|
+
this.h1c_1 = this$0;
|
|
1660
1660
|
CoroutineImpl.call(this, resultContinuation);
|
|
1661
1661
|
}
|
|
1662
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1663
|
-
var tmp = this.
|
|
1662
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).l1c = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1663
|
+
var tmp = this.m1c($this$DeepRecursiveFunction, it, $completion);
|
|
1664
1664
|
tmp.u8_1 = Unit_instance;
|
|
1665
1665
|
tmp.v8_1 = null;
|
|
1666
1666
|
return tmp.a9();
|
|
1667
1667
|
};
|
|
1668
1668
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).g9 = function (p1, p2, $completion) {
|
|
1669
1669
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1670
|
-
return this.
|
|
1670
|
+
return this.l1c(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1671
1671
|
};
|
|
1672
1672
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).a9 = function () {
|
|
1673
1673
|
var suspendResult = this.u8_1;
|
|
@@ -1677,32 +1677,32 @@
|
|
|
1677
1677
|
switch (tmp) {
|
|
1678
1678
|
case 0:
|
|
1679
1679
|
this.t8_1 = 3;
|
|
1680
|
-
var tmp0_subject = this.
|
|
1680
|
+
var tmp0_subject = this.h1c_1.a1b_1.f1b();
|
|
1681
1681
|
if (tmp0_subject === 1) {
|
|
1682
|
-
this.
|
|
1682
|
+
this.k1c_1 = readValue(this.h1c_1, true);
|
|
1683
1683
|
this.s8_1 = 2;
|
|
1684
1684
|
continue $sm;
|
|
1685
1685
|
} else {
|
|
1686
1686
|
if (tmp0_subject === 0) {
|
|
1687
|
-
this.
|
|
1687
|
+
this.k1c_1 = readValue(this.h1c_1, false);
|
|
1688
1688
|
this.s8_1 = 2;
|
|
1689
1689
|
continue $sm;
|
|
1690
1690
|
} else {
|
|
1691
1691
|
if (tmp0_subject === 6) {
|
|
1692
1692
|
this.s8_1 = 1;
|
|
1693
|
-
suspendResult = readObject_0(this.
|
|
1693
|
+
suspendResult = readObject_0(this.h1c_1, this.i1c_1, this);
|
|
1694
1694
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1695
1695
|
return suspendResult;
|
|
1696
1696
|
}
|
|
1697
1697
|
continue $sm;
|
|
1698
1698
|
} else {
|
|
1699
1699
|
if (tmp0_subject === 8) {
|
|
1700
|
-
this.
|
|
1700
|
+
this.k1c_1 = readArray(this.h1c_1);
|
|
1701
1701
|
this.s8_1 = 2;
|
|
1702
1702
|
continue $sm;
|
|
1703
1703
|
} else {
|
|
1704
1704
|
var tmp_0 = this;
|
|
1705
|
-
this.
|
|
1705
|
+
this.h1c_1.a1b_1.d1a("Can't begin reading element, unexpected token");
|
|
1706
1706
|
}
|
|
1707
1707
|
}
|
|
1708
1708
|
}
|
|
@@ -1710,11 +1710,11 @@
|
|
|
1710
1710
|
|
|
1711
1711
|
break;
|
|
1712
1712
|
case 1:
|
|
1713
|
-
this.
|
|
1713
|
+
this.k1c_1 = suspendResult;
|
|
1714
1714
|
this.s8_1 = 2;
|
|
1715
1715
|
continue $sm;
|
|
1716
1716
|
case 2:
|
|
1717
|
-
return this.
|
|
1717
|
+
return this.k1c_1;
|
|
1718
1718
|
case 3:
|
|
1719
1719
|
throw this.v8_1;
|
|
1720
1720
|
}
|
|
@@ -1729,24 +1729,24 @@
|
|
|
1729
1729
|
}
|
|
1730
1730
|
while (true);
|
|
1731
1731
|
};
|
|
1732
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1733
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1734
|
-
i.
|
|
1735
|
-
i.
|
|
1732
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).m1c = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1733
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.h1c_1, completion);
|
|
1734
|
+
i.i1c_1 = $this$DeepRecursiveFunction;
|
|
1735
|
+
i.j1c_1 = it;
|
|
1736
1736
|
return i;
|
|
1737
1737
|
};
|
|
1738
1738
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1739
1739
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1740
1740
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1741
|
-
return i.
|
|
1741
|
+
return i.l1c($this$DeepRecursiveFunction, it, $completion);
|
|
1742
1742
|
};
|
|
1743
1743
|
l.$arity = 2;
|
|
1744
1744
|
return l;
|
|
1745
1745
|
}
|
|
1746
1746
|
function $readObjectCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1747
1747
|
CoroutineImpl.call(this, resultContinuation);
|
|
1748
|
-
this.
|
|
1749
|
-
this.
|
|
1748
|
+
this.t1b_1 = _this__u8e3s4;
|
|
1749
|
+
this.u1b_1 = _this__u8e3s4_0;
|
|
1750
1750
|
}
|
|
1751
1751
|
protoOf($readObjectCOROUTINE$).a9 = function () {
|
|
1752
1752
|
var suspendResult = this.u8_1;
|
|
@@ -1756,26 +1756,26 @@
|
|
|
1756
1756
|
switch (tmp) {
|
|
1757
1757
|
case 0:
|
|
1758
1758
|
this.t8_1 = 5;
|
|
1759
|
-
this.
|
|
1760
|
-
this.
|
|
1761
|
-
if (this.
|
|
1762
|
-
this.
|
|
1759
|
+
this.w1b_1 = this.t1b_1;
|
|
1760
|
+
this.x1b_1 = this.w1b_1.a1b_1.e1b(6);
|
|
1761
|
+
if (this.w1b_1.a1b_1.f1b() === 4) {
|
|
1762
|
+
this.w1b_1.a1b_1.d1a('Unexpected leading comma');
|
|
1763
1763
|
}
|
|
1764
1764
|
|
|
1765
1765
|
var tmp_0 = this;
|
|
1766
|
-
tmp_0.
|
|
1766
|
+
tmp_0.v1b_1 = LinkedHashMap_init_$Create$();
|
|
1767
1767
|
this.s8_1 = 1;
|
|
1768
1768
|
continue $sm;
|
|
1769
1769
|
case 1:
|
|
1770
|
-
if (!this.
|
|
1770
|
+
if (!this.w1b_1.a1b_1.g1b()) {
|
|
1771
1771
|
this.s8_1 = 4;
|
|
1772
1772
|
continue $sm;
|
|
1773
1773
|
}
|
|
1774
1774
|
|
|
1775
|
-
this.
|
|
1776
|
-
this.
|
|
1775
|
+
this.y1b_1 = this.w1b_1.b1b_1 ? this.w1b_1.a1b_1.i1b() : this.w1b_1.a1b_1.h1b();
|
|
1776
|
+
this.w1b_1.a1b_1.e1b(5);
|
|
1777
1777
|
this.s8_1 = 2;
|
|
1778
|
-
suspendResult = this.
|
|
1778
|
+
suspendResult = this.u1b_1.ji(Unit_instance, this);
|
|
1779
1779
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1780
1780
|
return suspendResult;
|
|
1781
1781
|
}
|
|
@@ -1783,11 +1783,11 @@
|
|
|
1783
1783
|
continue $sm;
|
|
1784
1784
|
case 2:
|
|
1785
1785
|
var element = suspendResult;
|
|
1786
|
-
var tmp0 = this.
|
|
1787
|
-
var key = this.
|
|
1786
|
+
var tmp0 = this.v1b_1;
|
|
1787
|
+
var key = this.y1b_1;
|
|
1788
1788
|
tmp0.p2(key, element);
|
|
1789
|
-
this.
|
|
1790
|
-
var tmp0_subject = this.
|
|
1789
|
+
this.x1b_1 = this.w1b_1.a1b_1.k1b();
|
|
1790
|
+
var tmp0_subject = this.x1b_1;
|
|
1791
1791
|
if (tmp0_subject === 4) {
|
|
1792
1792
|
this.s8_1 = 3;
|
|
1793
1793
|
continue $sm;
|
|
@@ -1796,7 +1796,7 @@
|
|
|
1796
1796
|
this.s8_1 = 4;
|
|
1797
1797
|
continue $sm;
|
|
1798
1798
|
} else {
|
|
1799
|
-
this.
|
|
1799
|
+
this.w1b_1.a1b_1.d1a('Expected end of the object or comma');
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
1802
1802
|
|
|
@@ -1805,16 +1805,16 @@
|
|
|
1805
1805
|
this.s8_1 = 1;
|
|
1806
1806
|
continue $sm;
|
|
1807
1807
|
case 4:
|
|
1808
|
-
if (this.
|
|
1809
|
-
this.
|
|
1810
|
-
} else if (this.
|
|
1811
|
-
if (!this.
|
|
1812
|
-
invalidTrailingComma(this.
|
|
1808
|
+
if (this.x1b_1 === 6) {
|
|
1809
|
+
this.w1b_1.a1b_1.e1b(7);
|
|
1810
|
+
} else if (this.x1b_1 === 4) {
|
|
1811
|
+
if (!this.w1b_1.c1b_1) {
|
|
1812
|
+
invalidTrailingComma(this.w1b_1.a1b_1);
|
|
1813
1813
|
}
|
|
1814
|
-
this.
|
|
1814
|
+
this.w1b_1.a1b_1.e1b(7);
|
|
1815
1815
|
}
|
|
1816
1816
|
|
|
1817
|
-
return new JsonObject(this.
|
|
1817
|
+
return new JsonObject(this.v1b_1);
|
|
1818
1818
|
case 5:
|
|
1819
1819
|
throw this.v8_1;
|
|
1820
1820
|
}
|
|
@@ -1830,13 +1830,13 @@
|
|
|
1830
1830
|
while (true);
|
|
1831
1831
|
};
|
|
1832
1832
|
function JsonTreeReader(configuration, lexer) {
|
|
1833
|
-
this.
|
|
1834
|
-
this.
|
|
1835
|
-
this.
|
|
1836
|
-
this.
|
|
1833
|
+
this.a1b_1 = lexer;
|
|
1834
|
+
this.b1b_1 = configuration.a17_1;
|
|
1835
|
+
this.c1b_1 = configuration.m17_1;
|
|
1836
|
+
this.d1b_1 = 0;
|
|
1837
1837
|
}
|
|
1838
|
-
protoOf(JsonTreeReader).
|
|
1839
|
-
var token = this.
|
|
1838
|
+
protoOf(JsonTreeReader).j1b = function () {
|
|
1839
|
+
var token = this.a1b_1.f1b();
|
|
1840
1840
|
var tmp;
|
|
1841
1841
|
if (token === 1) {
|
|
1842
1842
|
tmp = readValue(this, true);
|
|
@@ -1844,37 +1844,37 @@
|
|
|
1844
1844
|
tmp = readValue(this, false);
|
|
1845
1845
|
} else if (token === 6) {
|
|
1846
1846
|
var tmp_0;
|
|
1847
|
-
this.
|
|
1848
|
-
if (this.
|
|
1847
|
+
this.d1b_1 = this.d1b_1 + 1 | 0;
|
|
1848
|
+
if (this.d1b_1 === 200) {
|
|
1849
1849
|
tmp_0 = readDeepRecursive(this);
|
|
1850
1850
|
} else {
|
|
1851
1851
|
tmp_0 = readObject(this);
|
|
1852
1852
|
}
|
|
1853
1853
|
var result = tmp_0;
|
|
1854
|
-
this.
|
|
1854
|
+
this.d1b_1 = this.d1b_1 - 1 | 0;
|
|
1855
1855
|
tmp = result;
|
|
1856
1856
|
} else if (token === 8) {
|
|
1857
1857
|
tmp = readArray(this);
|
|
1858
1858
|
} else {
|
|
1859
|
-
this.
|
|
1859
|
+
this.a1b_1.d1a('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
1860
1860
|
}
|
|
1861
1861
|
return tmp;
|
|
1862
1862
|
};
|
|
1863
1863
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
1864
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
1864
|
+
var _iterator__ex2g4s = _this__u8e3s4.qo().r();
|
|
1865
1865
|
while (_iterator__ex2g4s.s()) {
|
|
1866
1866
|
var annotation = _iterator__ex2g4s.t();
|
|
1867
1867
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1868
|
-
return annotation.
|
|
1868
|
+
return annotation.n1c_1;
|
|
1869
1869
|
}
|
|
1870
|
-
return json.
|
|
1870
|
+
return json.d16_1.h17_1;
|
|
1871
1871
|
}
|
|
1872
1872
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
1873
1873
|
if (!(serializer instanceof SealedClassSerializer))
|
|
1874
1874
|
return Unit_instance;
|
|
1875
|
-
if (jsonCachedSerialNames(actualSerializer.
|
|
1876
|
-
var baseName = serializer.
|
|
1877
|
-
var actualName = actualSerializer.
|
|
1875
|
+
if (jsonCachedSerialNames(actualSerializer.in()).u1(classDiscriminator)) {
|
|
1876
|
+
var baseName = serializer.in().mo();
|
|
1877
|
+
var actualName = actualSerializer.in().mo();
|
|
1878
1878
|
// Inline function 'kotlin.error' call
|
|
1879
1879
|
var message = "Sealed class '" + actualName + "' cannot be serialized as base class '" + baseName + "' because" + (" it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'. ") + 'You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism';
|
|
1880
1880
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -1903,11 +1903,11 @@
|
|
|
1903
1903
|
function Key() {
|
|
1904
1904
|
}
|
|
1905
1905
|
function DescriptorSchemaCache() {
|
|
1906
|
-
this.
|
|
1906
|
+
this.e1a_1 = createMapForCache(16);
|
|
1907
1907
|
}
|
|
1908
|
-
protoOf(DescriptorSchemaCache).
|
|
1908
|
+
protoOf(DescriptorSchemaCache).o1c = function (descriptor, key, value) {
|
|
1909
1909
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1910
|
-
var this_0 = this.
|
|
1910
|
+
var this_0 = this.e1a_1;
|
|
1911
1911
|
var value_0 = this_0.m2(descriptor);
|
|
1912
1912
|
var tmp;
|
|
1913
1913
|
if (value_0 == null) {
|
|
@@ -1923,8 +1923,8 @@
|
|
|
1923
1923
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
1924
1924
|
tmp0.p2(tmp2, value_1);
|
|
1925
1925
|
};
|
|
1926
|
-
protoOf(DescriptorSchemaCache).
|
|
1927
|
-
var tmp0_safe_receiver = this.
|
|
1926
|
+
protoOf(DescriptorSchemaCache).f1a = function (descriptor, key, defaultValue) {
|
|
1927
|
+
var tmp0_safe_receiver = this.p1c(descriptor, key);
|
|
1928
1928
|
if (tmp0_safe_receiver == null)
|
|
1929
1929
|
null;
|
|
1930
1930
|
else {
|
|
@@ -1932,11 +1932,11 @@
|
|
|
1932
1932
|
return tmp0_safe_receiver;
|
|
1933
1933
|
}
|
|
1934
1934
|
var value = defaultValue();
|
|
1935
|
-
this.
|
|
1935
|
+
this.o1c(descriptor, key, value);
|
|
1936
1936
|
return value;
|
|
1937
1937
|
};
|
|
1938
|
-
protoOf(DescriptorSchemaCache).
|
|
1939
|
-
var tmp0_safe_receiver = this.
|
|
1938
|
+
protoOf(DescriptorSchemaCache).p1c = function (descriptor, key) {
|
|
1939
|
+
var tmp0_safe_receiver = this.e1a_1.m2(descriptor);
|
|
1940
1940
|
var tmp;
|
|
1941
1941
|
if (tmp0_safe_receiver == null) {
|
|
1942
1942
|
tmp = null;
|
|
@@ -1947,79 +1947,79 @@
|
|
|
1947
1947
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
1948
1948
|
};
|
|
1949
1949
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
1950
|
-
this.
|
|
1950
|
+
this.q1c_1 = discriminatorToSkip;
|
|
1951
1951
|
}
|
|
1952
1952
|
function trySkip($this, $receiver, unknownKey) {
|
|
1953
1953
|
if ($receiver == null)
|
|
1954
1954
|
return false;
|
|
1955
|
-
if ($receiver.
|
|
1956
|
-
$receiver.
|
|
1955
|
+
if ($receiver.q1c_1 === unknownKey) {
|
|
1956
|
+
$receiver.q1c_1 = null;
|
|
1957
1957
|
return true;
|
|
1958
1958
|
}
|
|
1959
1959
|
return false;
|
|
1960
1960
|
}
|
|
1961
1961
|
function skipLeftoverElements($this, descriptor) {
|
|
1962
|
-
while (!($this.
|
|
1962
|
+
while (!($this.wq(descriptor) === -1)) {
|
|
1963
1963
|
}
|
|
1964
1964
|
}
|
|
1965
1965
|
function checkLeadingComma($this) {
|
|
1966
|
-
if ($this.
|
|
1967
|
-
$this.
|
|
1966
|
+
if ($this.n16_1.f1b() === 4) {
|
|
1967
|
+
$this.n16_1.d1a('Unexpected leading comma');
|
|
1968
1968
|
}
|
|
1969
1969
|
}
|
|
1970
1970
|
function decodeMapIndex($this) {
|
|
1971
1971
|
var hasComma = false;
|
|
1972
|
-
var decodingKey = !(($this.
|
|
1972
|
+
var decodingKey = !(($this.p16_1 % 2 | 0) === 0);
|
|
1973
1973
|
if (decodingKey) {
|
|
1974
|
-
if (!($this.
|
|
1975
|
-
hasComma = $this.
|
|
1974
|
+
if (!($this.p16_1 === -1)) {
|
|
1975
|
+
hasComma = $this.n16_1.s1c();
|
|
1976
1976
|
}
|
|
1977
1977
|
} else {
|
|
1978
|
-
$this.
|
|
1978
|
+
$this.n16_1.r1c(_Char___init__impl__6a9atx(58));
|
|
1979
1979
|
}
|
|
1980
1980
|
var tmp;
|
|
1981
|
-
if ($this.
|
|
1981
|
+
if ($this.n16_1.g1b()) {
|
|
1982
1982
|
if (decodingKey) {
|
|
1983
|
-
if ($this.
|
|
1984
|
-
var tmp0 = $this.
|
|
1983
|
+
if ($this.p16_1 === -1) {
|
|
1984
|
+
var tmp0 = $this.n16_1;
|
|
1985
1985
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1986
1986
|
var condition = !hasComma;
|
|
1987
|
-
var position = tmp0.
|
|
1987
|
+
var position = tmp0.t16_1;
|
|
1988
1988
|
if (!condition) {
|
|
1989
1989
|
var tmp$ret$1 = 'Unexpected leading comma';
|
|
1990
|
-
tmp0.
|
|
1990
|
+
tmp0.d1a(tmp$ret$1, position);
|
|
1991
1991
|
}
|
|
1992
1992
|
} else {
|
|
1993
|
-
var tmp0_0 = $this.
|
|
1993
|
+
var tmp0_0 = $this.n16_1;
|
|
1994
1994
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1995
1995
|
var condition_0 = hasComma;
|
|
1996
|
-
var position_0 = tmp0_0.
|
|
1996
|
+
var position_0 = tmp0_0.t16_1;
|
|
1997
1997
|
if (!condition_0) {
|
|
1998
1998
|
var tmp$ret$3 = 'Expected comma after the key-value pair';
|
|
1999
|
-
tmp0_0.
|
|
1999
|
+
tmp0_0.d1a(tmp$ret$3, position_0);
|
|
2000
2000
|
}
|
|
2001
2001
|
}
|
|
2002
2002
|
}
|
|
2003
|
-
$this.
|
|
2004
|
-
tmp = $this.
|
|
2003
|
+
$this.p16_1 = $this.p16_1 + 1 | 0;
|
|
2004
|
+
tmp = $this.p16_1;
|
|
2005
2005
|
} else {
|
|
2006
|
-
if (hasComma && !$this.
|
|
2007
|
-
invalidTrailingComma($this.
|
|
2006
|
+
if (hasComma && !$this.l16_1.d16_1.m17_1) {
|
|
2007
|
+
invalidTrailingComma($this.n16_1);
|
|
2008
2008
|
}
|
|
2009
2009
|
tmp = -1;
|
|
2010
2010
|
}
|
|
2011
2011
|
return tmp;
|
|
2012
2012
|
}
|
|
2013
2013
|
function coerceInputValue($this, descriptor, index) {
|
|
2014
|
-
var tmp0 = $this.
|
|
2014
|
+
var tmp0 = $this.l16_1;
|
|
2015
2015
|
var tmp$ret$0;
|
|
2016
2016
|
$l$block_2: {
|
|
2017
2017
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
2018
|
-
var isOptional = descriptor.
|
|
2019
|
-
var elementDescriptor = descriptor.
|
|
2018
|
+
var isOptional = descriptor.vo(index);
|
|
2019
|
+
var elementDescriptor = descriptor.uo(index);
|
|
2020
2020
|
var tmp;
|
|
2021
|
-
if (isOptional && !elementDescriptor.
|
|
2022
|
-
tmp = $this.
|
|
2021
|
+
if (isOptional && !elementDescriptor.io()) {
|
|
2022
|
+
tmp = $this.n16_1.t1c(true);
|
|
2023
2023
|
} else {
|
|
2024
2024
|
tmp = false;
|
|
2025
2025
|
}
|
|
@@ -2027,10 +2027,10 @@
|
|
|
2027
2027
|
tmp$ret$0 = true;
|
|
2028
2028
|
break $l$block_2;
|
|
2029
2029
|
}
|
|
2030
|
-
if (equals(elementDescriptor.
|
|
2030
|
+
if (equals(elementDescriptor.no(), ENUM_getInstance())) {
|
|
2031
2031
|
var tmp_0;
|
|
2032
|
-
if (elementDescriptor.
|
|
2033
|
-
tmp_0 = $this.
|
|
2032
|
+
if (elementDescriptor.io()) {
|
|
2033
|
+
tmp_0 = $this.n16_1.t1c(false);
|
|
2034
2034
|
} else {
|
|
2035
2035
|
tmp_0 = false;
|
|
2036
2036
|
}
|
|
@@ -2038,7 +2038,7 @@
|
|
|
2038
2038
|
tmp$ret$0 = false;
|
|
2039
2039
|
break $l$block_2;
|
|
2040
2040
|
}
|
|
2041
|
-
var tmp0_elvis_lhs = $this.
|
|
2041
|
+
var tmp0_elvis_lhs = $this.n16_1.u1c($this.r16_1.a17_1);
|
|
2042
2042
|
var tmp_1;
|
|
2043
2043
|
if (tmp0_elvis_lhs == null) {
|
|
2044
2044
|
tmp$ret$0 = false;
|
|
@@ -2048,9 +2048,9 @@
|
|
|
2048
2048
|
}
|
|
2049
2049
|
var enumValue = tmp_1;
|
|
2050
2050
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2051
|
-
var coerceToNull = !tmp0.
|
|
2051
|
+
var coerceToNull = !tmp0.d16_1.d17_1 && elementDescriptor.io();
|
|
2052
2052
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2053
|
-
$this.
|
|
2053
|
+
$this.n16_1.h1b();
|
|
2054
2054
|
tmp$ret$0 = true;
|
|
2055
2055
|
break $l$block_2;
|
|
2056
2056
|
}
|
|
@@ -2060,24 +2060,24 @@
|
|
|
2060
2060
|
return tmp$ret$0;
|
|
2061
2061
|
}
|
|
2062
2062
|
function decodeObjectIndex($this, descriptor) {
|
|
2063
|
-
var hasComma = $this.
|
|
2064
|
-
while ($this.
|
|
2063
|
+
var hasComma = $this.n16_1.s1c();
|
|
2064
|
+
while ($this.n16_1.g1b()) {
|
|
2065
2065
|
hasComma = false;
|
|
2066
2066
|
var key = decodeStringKey($this);
|
|
2067
|
-
$this.
|
|
2068
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2067
|
+
$this.n16_1.r1c(_Char___init__impl__6a9atx(58));
|
|
2068
|
+
var index = getJsonNameIndex(descriptor, $this.l16_1, key);
|
|
2069
2069
|
var tmp;
|
|
2070
2070
|
if (!(index === -3)) {
|
|
2071
2071
|
var tmp_0;
|
|
2072
|
-
if ($this.
|
|
2073
|
-
hasComma = $this.
|
|
2072
|
+
if ($this.r16_1.f17_1 && coerceInputValue($this, descriptor, index)) {
|
|
2073
|
+
hasComma = $this.n16_1.s1c();
|
|
2074
2074
|
tmp_0 = false;
|
|
2075
2075
|
} else {
|
|
2076
|
-
var tmp0_safe_receiver = $this.
|
|
2076
|
+
var tmp0_safe_receiver = $this.s16_1;
|
|
2077
2077
|
if (tmp0_safe_receiver == null)
|
|
2078
2078
|
null;
|
|
2079
2079
|
else {
|
|
2080
|
-
tmp0_safe_receiver.
|
|
2080
|
+
tmp0_safe_receiver.a1a(index);
|
|
2081
2081
|
}
|
|
2082
2082
|
return index;
|
|
2083
2083
|
}
|
|
@@ -2090,34 +2090,34 @@
|
|
|
2090
2090
|
hasComma = handleUnknown($this, descriptor, key);
|
|
2091
2091
|
}
|
|
2092
2092
|
}
|
|
2093
|
-
if (hasComma && !$this.
|
|
2094
|
-
invalidTrailingComma($this.
|
|
2093
|
+
if (hasComma && !$this.l16_1.d16_1.m17_1) {
|
|
2094
|
+
invalidTrailingComma($this.n16_1);
|
|
2095
2095
|
}
|
|
2096
|
-
var tmp1_safe_receiver = $this.
|
|
2097
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2096
|
+
var tmp1_safe_receiver = $this.s16_1;
|
|
2097
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.b1a();
|
|
2098
2098
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2099
2099
|
}
|
|
2100
2100
|
function handleUnknown($this, descriptor, key) {
|
|
2101
|
-
if (ignoreUnknownKeys(descriptor, $this.
|
|
2102
|
-
$this.
|
|
2101
|
+
if (ignoreUnknownKeys(descriptor, $this.l16_1) || trySkip($this, $this.q16_1, key)) {
|
|
2102
|
+
$this.n16_1.w1c($this.r16_1.a17_1);
|
|
2103
2103
|
} else {
|
|
2104
|
-
$this.
|
|
2105
|
-
$this.
|
|
2104
|
+
$this.n16_1.u16_1.p1a();
|
|
2105
|
+
$this.n16_1.v1c(key);
|
|
2106
2106
|
}
|
|
2107
|
-
return $this.
|
|
2107
|
+
return $this.n16_1.s1c();
|
|
2108
2108
|
}
|
|
2109
2109
|
function decodeListIndex($this) {
|
|
2110
|
-
var hasComma = $this.
|
|
2110
|
+
var hasComma = $this.n16_1.s1c();
|
|
2111
2111
|
var tmp;
|
|
2112
|
-
if ($this.
|
|
2113
|
-
if (!($this.
|
|
2114
|
-
$this.
|
|
2112
|
+
if ($this.n16_1.g1b()) {
|
|
2113
|
+
if (!($this.p16_1 === -1) && !hasComma) {
|
|
2114
|
+
$this.n16_1.d1a('Expected end of the array or comma');
|
|
2115
2115
|
}
|
|
2116
|
-
$this.
|
|
2117
|
-
tmp = $this.
|
|
2116
|
+
$this.p16_1 = $this.p16_1 + 1 | 0;
|
|
2117
|
+
tmp = $this.p16_1;
|
|
2118
2118
|
} else {
|
|
2119
|
-
if (hasComma && !$this.
|
|
2120
|
-
invalidTrailingComma($this.
|
|
2119
|
+
if (hasComma && !$this.l16_1.d16_1.m17_1) {
|
|
2120
|
+
invalidTrailingComma($this.n16_1, 'array');
|
|
2121
2121
|
}
|
|
2122
2122
|
tmp = -1;
|
|
2123
2123
|
}
|
|
@@ -2125,46 +2125,46 @@
|
|
|
2125
2125
|
}
|
|
2126
2126
|
function decodeStringKey($this) {
|
|
2127
2127
|
var tmp;
|
|
2128
|
-
if ($this.
|
|
2129
|
-
tmp = $this.
|
|
2128
|
+
if ($this.r16_1.a17_1) {
|
|
2129
|
+
tmp = $this.n16_1.y1c();
|
|
2130
2130
|
} else {
|
|
2131
|
-
tmp = $this.
|
|
2131
|
+
tmp = $this.n16_1.x1c();
|
|
2132
2132
|
}
|
|
2133
2133
|
return tmp;
|
|
2134
2134
|
}
|
|
2135
2135
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2136
2136
|
AbstractDecoder.call(this);
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2139
|
-
this.
|
|
2140
|
-
this.
|
|
2141
|
-
this.
|
|
2142
|
-
this.
|
|
2143
|
-
this.
|
|
2144
|
-
this.
|
|
2145
|
-
}
|
|
2146
|
-
protoOf(StreamingJsonDecoder).
|
|
2147
|
-
return this.i16_1;
|
|
2148
|
-
};
|
|
2149
|
-
protoOf(StreamingJsonDecoder).rq = function () {
|
|
2137
|
+
this.l16_1 = json;
|
|
2138
|
+
this.m16_1 = mode;
|
|
2139
|
+
this.n16_1 = lexer;
|
|
2140
|
+
this.o16_1 = this.l16_1.uq();
|
|
2141
|
+
this.p16_1 = -1;
|
|
2142
|
+
this.q16_1 = discriminatorHolder;
|
|
2143
|
+
this.r16_1 = this.l16_1.d16_1;
|
|
2144
|
+
this.s16_1 = this.r16_1.d17_1 ? null : new JsonElementMarker(descriptor);
|
|
2145
|
+
}
|
|
2146
|
+
protoOf(StreamingJsonDecoder).p17 = function () {
|
|
2150
2147
|
return this.l16_1;
|
|
2151
2148
|
};
|
|
2152
|
-
protoOf(StreamingJsonDecoder).
|
|
2153
|
-
return
|
|
2149
|
+
protoOf(StreamingJsonDecoder).uq = function () {
|
|
2150
|
+
return this.o16_1;
|
|
2151
|
+
};
|
|
2152
|
+
protoOf(StreamingJsonDecoder).q17 = function () {
|
|
2153
|
+
return (new JsonTreeReader(this.l16_1.d16_1, this.n16_1)).j1b();
|
|
2154
2154
|
};
|
|
2155
|
-
protoOf(StreamingJsonDecoder).
|
|
2155
|
+
protoOf(StreamingJsonDecoder).eq = function (deserializer) {
|
|
2156
2156
|
try {
|
|
2157
2157
|
var tmp;
|
|
2158
2158
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2159
2159
|
tmp = true;
|
|
2160
2160
|
} else {
|
|
2161
|
-
tmp = this.
|
|
2161
|
+
tmp = this.l16_1.d16_1.g17_1;
|
|
2162
2162
|
}
|
|
2163
2163
|
if (tmp) {
|
|
2164
|
-
return deserializer.
|
|
2164
|
+
return deserializer.kn(this);
|
|
2165
2165
|
}
|
|
2166
|
-
var discriminator = classDiscriminator(deserializer.
|
|
2167
|
-
var tmp0_elvis_lhs = this.
|
|
2166
|
+
var discriminator = classDiscriminator(deserializer.in(), this.l16_1);
|
|
2167
|
+
var tmp0_elvis_lhs = this.n16_1.z1c(discriminator, this.r16_1.a17_1);
|
|
2168
2168
|
var tmp_0;
|
|
2169
2169
|
if (tmp0_elvis_lhs == null) {
|
|
2170
2170
|
var tmp2 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2175,20 +2175,20 @@
|
|
|
2175
2175
|
if (!(tmp2 instanceof AbstractPolymorphicSerializer)) {
|
|
2176
2176
|
tmp_1 = true;
|
|
2177
2177
|
} else {
|
|
2178
|
-
tmp_1 = this.
|
|
2178
|
+
tmp_1 = this.p17().d16_1.g17_1;
|
|
2179
2179
|
}
|
|
2180
2180
|
if (tmp_1) {
|
|
2181
|
-
tmp$ret$0 = tmp2.
|
|
2181
|
+
tmp$ret$0 = tmp2.kn(this);
|
|
2182
2182
|
break $l$block;
|
|
2183
2183
|
}
|
|
2184
|
-
var discriminator_0 = classDiscriminator(tmp2.
|
|
2185
|
-
var tmp0 = this.
|
|
2184
|
+
var discriminator_0 = classDiscriminator(tmp2.in(), this.p17());
|
|
2185
|
+
var tmp0 = this.q17();
|
|
2186
2186
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2187
|
-
var serialName = tmp2.
|
|
2187
|
+
var serialName = tmp2.in().mo();
|
|
2188
2188
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2189
2189
|
var tmp_2 = getKClass(JsonObject).m();
|
|
2190
2190
|
var tmp_3 = getKClassFromExpression(tmp0).m();
|
|
2191
|
-
var tmp$ret$2 = this.
|
|
2191
|
+
var tmp$ret$2 = this.n16_1.u16_1.q1a();
|
|
2192
2192
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$2, toString_0(tmp0));
|
|
2193
2193
|
}
|
|
2194
2194
|
var jsonTree = tmp0;
|
|
@@ -2209,7 +2209,7 @@
|
|
|
2209
2209
|
}
|
|
2210
2210
|
var tmp_6 = tmp_4;
|
|
2211
2211
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2212
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2212
|
+
tmp$ret$0 = readPolymorphicJson(this.p17(), discriminator_0, jsonTree, actualSerializer);
|
|
2213
2213
|
}
|
|
2214
2214
|
return tmp$ret$0;
|
|
2215
2215
|
} else {
|
|
@@ -2225,7 +2225,7 @@
|
|
|
2225
2225
|
var it_0 = $p;
|
|
2226
2226
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2227
2227
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2228
|
-
this.
|
|
2228
|
+
this.n16_1.d1a(message, VOID, hint);
|
|
2229
2229
|
} else {
|
|
2230
2230
|
throw $p;
|
|
2231
2231
|
}
|
|
@@ -2233,37 +2233,37 @@
|
|
|
2233
2233
|
}
|
|
2234
2234
|
var tmp_9 = tmp_7;
|
|
2235
2235
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2236
|
-
this.
|
|
2237
|
-
return actualSerializer_0.
|
|
2236
|
+
this.q16_1 = new DiscriminatorHolder(discriminator);
|
|
2237
|
+
return actualSerializer_0.kn(this);
|
|
2238
2238
|
} catch ($p) {
|
|
2239
2239
|
if ($p instanceof MissingFieldException) {
|
|
2240
2240
|
var e = $p;
|
|
2241
2241
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2242
2242
|
throw e;
|
|
2243
|
-
throw new MissingFieldException(e.
|
|
2243
|
+
throw new MissingFieldException(e.co_1, plus(e.message, ' at path: ') + this.n16_1.u16_1.q1a(), e);
|
|
2244
2244
|
} else {
|
|
2245
2245
|
throw $p;
|
|
2246
2246
|
}
|
|
2247
2247
|
}
|
|
2248
2248
|
};
|
|
2249
|
-
protoOf(StreamingJsonDecoder).
|
|
2250
|
-
var newMode = switchMode(this.
|
|
2251
|
-
this.
|
|
2252
|
-
this.
|
|
2249
|
+
protoOf(StreamingJsonDecoder).fq = function (descriptor) {
|
|
2250
|
+
var newMode = switchMode(this.l16_1, descriptor);
|
|
2251
|
+
this.n16_1.u16_1.l1a(descriptor);
|
|
2252
|
+
this.n16_1.r1c(newMode.c1d_1);
|
|
2253
2253
|
checkLeadingComma(this);
|
|
2254
2254
|
var tmp;
|
|
2255
2255
|
switch (newMode.y2_1) {
|
|
2256
2256
|
case 1:
|
|
2257
2257
|
case 2:
|
|
2258
2258
|
case 3:
|
|
2259
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2259
|
+
tmp = new StreamingJsonDecoder(this.l16_1, newMode, this.n16_1, descriptor, this.q16_1);
|
|
2260
2260
|
break;
|
|
2261
2261
|
default:
|
|
2262
2262
|
var tmp_0;
|
|
2263
|
-
if (this.
|
|
2263
|
+
if (this.m16_1.equals(newMode) && this.l16_1.d16_1.d17_1) {
|
|
2264
2264
|
tmp_0 = this;
|
|
2265
2265
|
} else {
|
|
2266
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2266
|
+
tmp_0 = new StreamingJsonDecoder(this.l16_1, newMode, this.n16_1, descriptor, this.q16_1);
|
|
2267
2267
|
}
|
|
2268
2268
|
|
|
2269
2269
|
tmp = tmp_0;
|
|
@@ -2271,44 +2271,44 @@
|
|
|
2271
2271
|
}
|
|
2272
2272
|
return tmp;
|
|
2273
2273
|
};
|
|
2274
|
-
protoOf(StreamingJsonDecoder).
|
|
2275
|
-
if (descriptor.
|
|
2274
|
+
protoOf(StreamingJsonDecoder).gq = function (descriptor) {
|
|
2275
|
+
if (descriptor.po() === 0 && ignoreUnknownKeys(descriptor, this.l16_1)) {
|
|
2276
2276
|
skipLeftoverElements(this, descriptor);
|
|
2277
2277
|
}
|
|
2278
|
-
if (this.
|
|
2279
|
-
invalidTrailingComma(this.
|
|
2278
|
+
if (this.n16_1.s1c() && !this.l16_1.d16_1.m17_1) {
|
|
2279
|
+
invalidTrailingComma(this.n16_1, '');
|
|
2280
2280
|
}
|
|
2281
|
-
this.
|
|
2282
|
-
this.
|
|
2281
|
+
this.n16_1.r1c(this.m16_1.d1d_1);
|
|
2282
|
+
this.n16_1.u16_1.p1a();
|
|
2283
2283
|
};
|
|
2284
|
-
protoOf(StreamingJsonDecoder).
|
|
2284
|
+
protoOf(StreamingJsonDecoder).rp = function () {
|
|
2285
2285
|
var tmp;
|
|
2286
|
-
var tmp0_safe_receiver = this.
|
|
2287
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2286
|
+
var tmp0_safe_receiver = this.s16_1;
|
|
2287
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z19_1;
|
|
2288
2288
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2289
|
-
tmp = !this.
|
|
2289
|
+
tmp = !this.n16_1.e1d();
|
|
2290
2290
|
} else {
|
|
2291
2291
|
tmp = false;
|
|
2292
2292
|
}
|
|
2293
2293
|
return tmp;
|
|
2294
2294
|
};
|
|
2295
|
-
protoOf(StreamingJsonDecoder).
|
|
2295
|
+
protoOf(StreamingJsonDecoder).sp = function () {
|
|
2296
2296
|
return null;
|
|
2297
2297
|
};
|
|
2298
|
-
protoOf(StreamingJsonDecoder).
|
|
2299
|
-
var isMapKey = this.
|
|
2298
|
+
protoOf(StreamingJsonDecoder).rq = function (descriptor, index, deserializer, previousValue) {
|
|
2299
|
+
var isMapKey = this.m16_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2300
2300
|
if (isMapKey) {
|
|
2301
|
-
this.
|
|
2301
|
+
this.n16_1.u16_1.o1a();
|
|
2302
2302
|
}
|
|
2303
|
-
var value = protoOf(AbstractDecoder).
|
|
2303
|
+
var value = protoOf(AbstractDecoder).rq.call(this, descriptor, index, deserializer, previousValue);
|
|
2304
2304
|
if (isMapKey) {
|
|
2305
|
-
this.
|
|
2305
|
+
this.n16_1.u16_1.n1a(value);
|
|
2306
2306
|
}
|
|
2307
2307
|
return value;
|
|
2308
2308
|
};
|
|
2309
|
-
protoOf(StreamingJsonDecoder).
|
|
2309
|
+
protoOf(StreamingJsonDecoder).wq = function (descriptor) {
|
|
2310
2310
|
var index;
|
|
2311
|
-
switch (this.
|
|
2311
|
+
switch (this.m16_1.y2_1) {
|
|
2312
2312
|
case 0:
|
|
2313
2313
|
index = decodeObjectIndex(this, descriptor);
|
|
2314
2314
|
break;
|
|
@@ -2319,44 +2319,44 @@
|
|
|
2319
2319
|
index = decodeListIndex(this);
|
|
2320
2320
|
break;
|
|
2321
2321
|
}
|
|
2322
|
-
if (!this.
|
|
2323
|
-
this.
|
|
2322
|
+
if (!this.m16_1.equals(WriteMode_MAP_getInstance())) {
|
|
2323
|
+
this.n16_1.u16_1.m1a(index);
|
|
2324
2324
|
}
|
|
2325
2325
|
return index;
|
|
2326
2326
|
};
|
|
2327
|
-
protoOf(StreamingJsonDecoder).
|
|
2328
|
-
return this.
|
|
2327
|
+
protoOf(StreamingJsonDecoder).tp = function () {
|
|
2328
|
+
return this.n16_1.f1d();
|
|
2329
2329
|
};
|
|
2330
|
-
protoOf(StreamingJsonDecoder).
|
|
2331
|
-
var value = this.
|
|
2330
|
+
protoOf(StreamingJsonDecoder).up = function () {
|
|
2331
|
+
var value = this.n16_1.g1d();
|
|
2332
2332
|
if (!equalsLong(value, fromInt(convertToByte(value)))) {
|
|
2333
|
-
this.
|
|
2333
|
+
this.n16_1.d1a("Failed to parse byte for input '" + value.toString() + "'");
|
|
2334
2334
|
}
|
|
2335
2335
|
return convertToByte(value);
|
|
2336
2336
|
};
|
|
2337
|
-
protoOf(StreamingJsonDecoder).
|
|
2338
|
-
var value = this.
|
|
2337
|
+
protoOf(StreamingJsonDecoder).vp = function () {
|
|
2338
|
+
var value = this.n16_1.g1d();
|
|
2339
2339
|
if (!equalsLong(value, fromInt(convertToShort(value)))) {
|
|
2340
|
-
this.
|
|
2340
|
+
this.n16_1.d1a("Failed to parse short for input '" + value.toString() + "'");
|
|
2341
2341
|
}
|
|
2342
2342
|
return convertToShort(value);
|
|
2343
2343
|
};
|
|
2344
|
-
protoOf(StreamingJsonDecoder).
|
|
2345
|
-
var value = this.
|
|
2344
|
+
protoOf(StreamingJsonDecoder).wp = function () {
|
|
2345
|
+
var value = this.n16_1.g1d();
|
|
2346
2346
|
if (!equalsLong(value, fromInt(convertToInt(value)))) {
|
|
2347
|
-
this.
|
|
2347
|
+
this.n16_1.d1a("Failed to parse int for input '" + value.toString() + "'");
|
|
2348
2348
|
}
|
|
2349
2349
|
return convertToInt(value);
|
|
2350
2350
|
};
|
|
2351
|
-
protoOf(StreamingJsonDecoder).
|
|
2352
|
-
return this.
|
|
2351
|
+
protoOf(StreamingJsonDecoder).xp = function () {
|
|
2352
|
+
return this.n16_1.g1d();
|
|
2353
2353
|
};
|
|
2354
|
-
protoOf(StreamingJsonDecoder).
|
|
2355
|
-
var tmp0 = this.
|
|
2354
|
+
protoOf(StreamingJsonDecoder).yp = function () {
|
|
2355
|
+
var tmp0 = this.n16_1;
|
|
2356
2356
|
var tmp$ret$0;
|
|
2357
2357
|
$l$block: {
|
|
2358
2358
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2359
|
-
var input = tmp0.
|
|
2359
|
+
var input = tmp0.i1b();
|
|
2360
2360
|
try {
|
|
2361
2361
|
// Inline function 'kotlin.text.toFloat' call
|
|
2362
2362
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2366,80 +2366,80 @@
|
|
|
2366
2366
|
} catch ($p) {
|
|
2367
2367
|
if ($p instanceof IllegalArgumentException) {
|
|
2368
2368
|
var e = $p;
|
|
2369
|
-
tmp0.
|
|
2369
|
+
tmp0.d1a("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2370
2370
|
} else {
|
|
2371
2371
|
throw $p;
|
|
2372
2372
|
}
|
|
2373
2373
|
}
|
|
2374
2374
|
}
|
|
2375
2375
|
var result = tmp$ret$0;
|
|
2376
|
-
var specialFp = this.
|
|
2376
|
+
var specialFp = this.l16_1.d16_1.i17_1;
|
|
2377
2377
|
if (specialFp || isFinite(result))
|
|
2378
2378
|
return result;
|
|
2379
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2379
|
+
throwInvalidFloatingPointDecoded(this.n16_1, result);
|
|
2380
2380
|
};
|
|
2381
|
-
protoOf(StreamingJsonDecoder).
|
|
2382
|
-
var tmp0 = this.
|
|
2381
|
+
protoOf(StreamingJsonDecoder).zp = function () {
|
|
2382
|
+
var tmp0 = this.n16_1;
|
|
2383
2383
|
var tmp$ret$0;
|
|
2384
2384
|
$l$block: {
|
|
2385
2385
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2386
|
-
var input = tmp0.
|
|
2386
|
+
var input = tmp0.i1b();
|
|
2387
2387
|
try {
|
|
2388
2388
|
tmp$ret$0 = toDouble(input);
|
|
2389
2389
|
break $l$block;
|
|
2390
2390
|
} catch ($p) {
|
|
2391
2391
|
if ($p instanceof IllegalArgumentException) {
|
|
2392
2392
|
var e = $p;
|
|
2393
|
-
tmp0.
|
|
2393
|
+
tmp0.d1a("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2394
2394
|
} else {
|
|
2395
2395
|
throw $p;
|
|
2396
2396
|
}
|
|
2397
2397
|
}
|
|
2398
2398
|
}
|
|
2399
2399
|
var result = tmp$ret$0;
|
|
2400
|
-
var specialFp = this.
|
|
2400
|
+
var specialFp = this.l16_1.d16_1.i17_1;
|
|
2401
2401
|
if (specialFp || isFinite_0(result))
|
|
2402
2402
|
return result;
|
|
2403
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2403
|
+
throwInvalidFloatingPointDecoded(this.n16_1, result);
|
|
2404
2404
|
};
|
|
2405
|
-
protoOf(StreamingJsonDecoder).
|
|
2406
|
-
var string = this.
|
|
2405
|
+
protoOf(StreamingJsonDecoder).aq = function () {
|
|
2406
|
+
var string = this.n16_1.i1b();
|
|
2407
2407
|
if (!(string.length === 1)) {
|
|
2408
|
-
this.
|
|
2408
|
+
this.n16_1.d1a("Expected single char, but got '" + string + "'");
|
|
2409
2409
|
}
|
|
2410
2410
|
return charCodeAt(string, 0);
|
|
2411
2411
|
};
|
|
2412
|
-
protoOf(StreamingJsonDecoder).
|
|
2412
|
+
protoOf(StreamingJsonDecoder).bq = function () {
|
|
2413
2413
|
var tmp;
|
|
2414
|
-
if (this.
|
|
2415
|
-
tmp = this.
|
|
2414
|
+
if (this.r16_1.a17_1) {
|
|
2415
|
+
tmp = this.n16_1.y1c();
|
|
2416
2416
|
} else {
|
|
2417
|
-
tmp = this.
|
|
2417
|
+
tmp = this.n16_1.h1b();
|
|
2418
2418
|
}
|
|
2419
2419
|
return tmp;
|
|
2420
2420
|
};
|
|
2421
|
-
protoOf(StreamingJsonDecoder).
|
|
2422
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2421
|
+
protoOf(StreamingJsonDecoder).cq = function (descriptor) {
|
|
2422
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.n16_1, this.l16_1) : protoOf(AbstractDecoder).cq.call(this, descriptor);
|
|
2423
2423
|
};
|
|
2424
2424
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2425
2425
|
AbstractDecoder.call(this);
|
|
2426
|
-
this.
|
|
2427
|
-
this.
|
|
2426
|
+
this.h1d_1 = lexer;
|
|
2427
|
+
this.i1d_1 = json.uq();
|
|
2428
2428
|
}
|
|
2429
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2430
|
-
return this.
|
|
2429
|
+
protoOf(JsonDecoderForUnsignedTypes).uq = function () {
|
|
2430
|
+
return this.i1d_1;
|
|
2431
2431
|
};
|
|
2432
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2432
|
+
protoOf(JsonDecoderForUnsignedTypes).wq = function (descriptor) {
|
|
2433
2433
|
// Inline function 'kotlin.error' call
|
|
2434
2434
|
var message = 'unsupported';
|
|
2435
2435
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
2436
2436
|
};
|
|
2437
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2438
|
-
var tmp0 = this.
|
|
2437
|
+
protoOf(JsonDecoderForUnsignedTypes).wp = function () {
|
|
2438
|
+
var tmp0 = this.h1d_1;
|
|
2439
2439
|
var tmp$ret$0;
|
|
2440
2440
|
$l$block: {
|
|
2441
2441
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2442
|
-
var input = tmp0.
|
|
2442
|
+
var input = tmp0.i1b();
|
|
2443
2443
|
try {
|
|
2444
2444
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2445
2445
|
var this_0 = toUInt(input);
|
|
@@ -2448,7 +2448,7 @@
|
|
|
2448
2448
|
} catch ($p) {
|
|
2449
2449
|
if ($p instanceof IllegalArgumentException) {
|
|
2450
2450
|
var e = $p;
|
|
2451
|
-
tmp0.
|
|
2451
|
+
tmp0.d1a("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2452
2452
|
} else {
|
|
2453
2453
|
throw $p;
|
|
2454
2454
|
}
|
|
@@ -2456,12 +2456,12 @@
|
|
|
2456
2456
|
}
|
|
2457
2457
|
return tmp$ret$0;
|
|
2458
2458
|
};
|
|
2459
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2460
|
-
var tmp0 = this.
|
|
2459
|
+
protoOf(JsonDecoderForUnsignedTypes).xp = function () {
|
|
2460
|
+
var tmp0 = this.h1d_1;
|
|
2461
2461
|
var tmp$ret$0;
|
|
2462
2462
|
$l$block: {
|
|
2463
2463
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2464
|
-
var input = tmp0.
|
|
2464
|
+
var input = tmp0.i1b();
|
|
2465
2465
|
try {
|
|
2466
2466
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2467
2467
|
var this_0 = toULong(input);
|
|
@@ -2470,7 +2470,7 @@
|
|
|
2470
2470
|
} catch ($p) {
|
|
2471
2471
|
if ($p instanceof IllegalArgumentException) {
|
|
2472
2472
|
var e = $p;
|
|
2473
|
-
tmp0.
|
|
2473
|
+
tmp0.d1a("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2474
2474
|
} else {
|
|
2475
2475
|
throw $p;
|
|
2476
2476
|
}
|
|
@@ -2478,12 +2478,12 @@
|
|
|
2478
2478
|
}
|
|
2479
2479
|
return tmp$ret$0;
|
|
2480
2480
|
};
|
|
2481
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2482
|
-
var tmp0 = this.
|
|
2481
|
+
protoOf(JsonDecoderForUnsignedTypes).up = function () {
|
|
2482
|
+
var tmp0 = this.h1d_1;
|
|
2483
2483
|
var tmp$ret$0;
|
|
2484
2484
|
$l$block: {
|
|
2485
2485
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2486
|
-
var input = tmp0.
|
|
2486
|
+
var input = tmp0.i1b();
|
|
2487
2487
|
try {
|
|
2488
2488
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2489
2489
|
var this_0 = toUByte(input);
|
|
@@ -2492,7 +2492,7 @@
|
|
|
2492
2492
|
} catch ($p) {
|
|
2493
2493
|
if ($p instanceof IllegalArgumentException) {
|
|
2494
2494
|
var e = $p;
|
|
2495
|
-
tmp0.
|
|
2495
|
+
tmp0.d1a("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2496
2496
|
} else {
|
|
2497
2497
|
throw $p;
|
|
2498
2498
|
}
|
|
@@ -2500,12 +2500,12 @@
|
|
|
2500
2500
|
}
|
|
2501
2501
|
return tmp$ret$0;
|
|
2502
2502
|
};
|
|
2503
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2504
|
-
var tmp0 = this.
|
|
2503
|
+
protoOf(JsonDecoderForUnsignedTypes).vp = function () {
|
|
2504
|
+
var tmp0 = this.h1d_1;
|
|
2505
2505
|
var tmp$ret$0;
|
|
2506
2506
|
$l$block: {
|
|
2507
2507
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2508
|
-
var input = tmp0.
|
|
2508
|
+
var input = tmp0.i1b();
|
|
2509
2509
|
try {
|
|
2510
2510
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2511
2511
|
var this_0 = toUShort(input);
|
|
@@ -2514,7 +2514,7 @@
|
|
|
2514
2514
|
} catch ($p) {
|
|
2515
2515
|
if ($p instanceof IllegalArgumentException) {
|
|
2516
2516
|
var e = $p;
|
|
2517
|
-
tmp0.
|
|
2517
|
+
tmp0.d1a("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2518
2518
|
} else {
|
|
2519
2519
|
throw $p;
|
|
2520
2520
|
}
|
|
@@ -2535,53 +2535,53 @@
|
|
|
2535
2535
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2536
2536
|
}
|
|
2537
2537
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2538
|
-
$this.
|
|
2539
|
-
$this.
|
|
2540
|
-
$this.
|
|
2541
|
-
$this.
|
|
2542
|
-
$this.
|
|
2538
|
+
$this.r1a_1.x18();
|
|
2539
|
+
$this.jr(discriminator);
|
|
2540
|
+
$this.r1a_1.a19(_Char___init__impl__6a9atx(58));
|
|
2541
|
+
$this.r1a_1.z18();
|
|
2542
|
+
$this.jr(serialName);
|
|
2543
2543
|
}
|
|
2544
2544
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2545
2545
|
AbstractEncoder.call(this);
|
|
2546
|
-
this.
|
|
2547
|
-
this.
|
|
2548
|
-
this.
|
|
2549
|
-
this.
|
|
2550
|
-
this.
|
|
2551
|
-
this.
|
|
2552
|
-
this.
|
|
2553
|
-
this.
|
|
2554
|
-
this.
|
|
2555
|
-
var i = this.
|
|
2556
|
-
if (!(this.
|
|
2557
|
-
if (!(this.
|
|
2558
|
-
this.
|
|
2546
|
+
this.r1a_1 = composer;
|
|
2547
|
+
this.s1a_1 = json;
|
|
2548
|
+
this.t1a_1 = mode;
|
|
2549
|
+
this.u1a_1 = modeReuseCache;
|
|
2550
|
+
this.v1a_1 = this.s1a_1.uq();
|
|
2551
|
+
this.w1a_1 = this.s1a_1.d16_1;
|
|
2552
|
+
this.x1a_1 = false;
|
|
2553
|
+
this.y1a_1 = null;
|
|
2554
|
+
this.z1a_1 = null;
|
|
2555
|
+
var i = this.t1a_1.y2_1;
|
|
2556
|
+
if (!(this.u1a_1 == null)) {
|
|
2557
|
+
if (!(this.u1a_1[i] === null) || !(this.u1a_1[i] === this)) {
|
|
2558
|
+
this.u1a_1[i] = this;
|
|
2559
2559
|
}
|
|
2560
2560
|
}
|
|
2561
2561
|
}
|
|
2562
|
-
protoOf(StreamingJsonEncoder).
|
|
2563
|
-
return this.p1a_1;
|
|
2564
|
-
};
|
|
2565
|
-
protoOf(StreamingJsonEncoder).rq = function () {
|
|
2562
|
+
protoOf(StreamingJsonEncoder).p17 = function () {
|
|
2566
2563
|
return this.s1a_1;
|
|
2567
2564
|
};
|
|
2568
|
-
protoOf(StreamingJsonEncoder).
|
|
2569
|
-
return this.
|
|
2565
|
+
protoOf(StreamingJsonEncoder).uq = function () {
|
|
2566
|
+
return this.v1a_1;
|
|
2567
|
+
};
|
|
2568
|
+
protoOf(StreamingJsonEncoder).bs = function (descriptor, index) {
|
|
2569
|
+
return this.w1a_1.y16_1;
|
|
2570
2570
|
};
|
|
2571
|
-
protoOf(StreamingJsonEncoder).
|
|
2571
|
+
protoOf(StreamingJsonEncoder).wr = function (serializer, value) {
|
|
2572
2572
|
$l$block: {
|
|
2573
2573
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2574
|
-
if (this.
|
|
2575
|
-
serializer.
|
|
2574
|
+
if (this.p17().d16_1.g17_1) {
|
|
2575
|
+
serializer.jn(this, value);
|
|
2576
2576
|
break $l$block;
|
|
2577
2577
|
}
|
|
2578
2578
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2579
2579
|
var tmp;
|
|
2580
2580
|
if (isPolymorphicSerializer) {
|
|
2581
|
-
tmp = !this.
|
|
2581
|
+
tmp = !this.p17().d16_1.o17_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2582
2582
|
} else {
|
|
2583
2583
|
var tmp_0;
|
|
2584
|
-
switch (this.
|
|
2584
|
+
switch (this.p17().d16_1.o17_1.y2_1) {
|
|
2585
2585
|
case 0:
|
|
2586
2586
|
case 2:
|
|
2587
2587
|
tmp_0 = false;
|
|
@@ -2589,7 +2589,7 @@
|
|
|
2589
2589
|
case 1:
|
|
2590
2590
|
// Inline function 'kotlin.let' call
|
|
2591
2591
|
|
|
2592
|
-
var it = serializer.
|
|
2592
|
+
var it = serializer.in().no();
|
|
2593
2593
|
tmp_0 = equals(it, CLASS_getInstance()) || equals(it, OBJECT_getInstance());
|
|
2594
2594
|
break;
|
|
2595
2595
|
default:
|
|
@@ -2599,14 +2599,14 @@
|
|
|
2599
2599
|
tmp = tmp_0;
|
|
2600
2600
|
}
|
|
2601
2601
|
var needDiscriminator = tmp;
|
|
2602
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.
|
|
2602
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.in(), this.p17()) : null;
|
|
2603
2603
|
var tmp_1;
|
|
2604
2604
|
if (isPolymorphicSerializer) {
|
|
2605
2605
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
2606
2606
|
$l$block_0: {
|
|
2607
2607
|
// Inline function 'kotlin.requireNotNull' call
|
|
2608
2608
|
if (value == null) {
|
|
2609
|
-
var message = 'Value for serializer ' + toString_0(serializer.
|
|
2609
|
+
var message = 'Value for serializer ' + toString_0(serializer.in()) + ' should always be non-null. Please report issue to the kotlinx.serialization tracker.';
|
|
2610
2610
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2611
2611
|
} else {
|
|
2612
2612
|
break $l$block_0;
|
|
@@ -2615,7 +2615,7 @@
|
|
|
2615
2615
|
var actual = findPolymorphicSerializer_0(casted, this, value);
|
|
2616
2616
|
if (!(baseClassDiscriminator == null)) {
|
|
2617
2617
|
access$validateIfSealed$tPolymorphicKt(serializer, actual, baseClassDiscriminator);
|
|
2618
|
-
checkKind(actual.
|
|
2618
|
+
checkKind(actual.in().no());
|
|
2619
2619
|
}
|
|
2620
2620
|
tmp_1 = isInterface(actual, SerializationStrategy) ? actual : THROW_CCE();
|
|
2621
2621
|
} else {
|
|
@@ -2623,211 +2623,211 @@
|
|
|
2623
2623
|
}
|
|
2624
2624
|
var actualSerializer = tmp_1;
|
|
2625
2625
|
if (!(baseClassDiscriminator == null)) {
|
|
2626
|
-
var serialName = actualSerializer.
|
|
2627
|
-
this.
|
|
2628
|
-
this.
|
|
2626
|
+
var serialName = actualSerializer.in().mo();
|
|
2627
|
+
this.y1a_1 = baseClassDiscriminator;
|
|
2628
|
+
this.z1a_1 = serialName;
|
|
2629
2629
|
}
|
|
2630
|
-
actualSerializer.
|
|
2630
|
+
actualSerializer.jn(this, value);
|
|
2631
2631
|
}
|
|
2632
2632
|
};
|
|
2633
|
-
protoOf(StreamingJsonEncoder).
|
|
2634
|
-
var newMode = switchMode(this.
|
|
2635
|
-
if (!(newMode.
|
|
2636
|
-
this.
|
|
2637
|
-
this.
|
|
2633
|
+
protoOf(StreamingJsonEncoder).fq = function (descriptor) {
|
|
2634
|
+
var newMode = switchMode(this.s1a_1, descriptor);
|
|
2635
|
+
if (!(newMode.c1d_1 === _Char___init__impl__6a9atx(0))) {
|
|
2636
|
+
this.r1a_1.a19(newMode.c1d_1);
|
|
2637
|
+
this.r1a_1.v18();
|
|
2638
2638
|
}
|
|
2639
|
-
var discriminator = this.
|
|
2639
|
+
var discriminator = this.y1a_1;
|
|
2640
2640
|
if (!(discriminator == null)) {
|
|
2641
|
-
var tmp0_elvis_lhs = this.
|
|
2642
|
-
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.
|
|
2643
|
-
this.
|
|
2644
|
-
this.
|
|
2641
|
+
var tmp0_elvis_lhs = this.z1a_1;
|
|
2642
|
+
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.mo() : tmp0_elvis_lhs);
|
|
2643
|
+
this.y1a_1 = null;
|
|
2644
|
+
this.z1a_1 = null;
|
|
2645
2645
|
}
|
|
2646
|
-
if (this.
|
|
2646
|
+
if (this.t1a_1.equals(newMode)) {
|
|
2647
2647
|
return this;
|
|
2648
2648
|
}
|
|
2649
|
-
var tmp1_safe_receiver = this.
|
|
2649
|
+
var tmp1_safe_receiver = this.u1a_1;
|
|
2650
2650
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.y2_1];
|
|
2651
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2651
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.r1a_1, this.s1a_1, newMode, this.u1a_1) : tmp2_elvis_lhs;
|
|
2652
2652
|
};
|
|
2653
|
-
protoOf(StreamingJsonEncoder).
|
|
2654
|
-
if (!(this.
|
|
2655
|
-
this.
|
|
2656
|
-
this.
|
|
2657
|
-
this.
|
|
2653
|
+
protoOf(StreamingJsonEncoder).gq = function (descriptor) {
|
|
2654
|
+
if (!(this.t1a_1.d1d_1 === _Char___init__impl__6a9atx(0))) {
|
|
2655
|
+
this.r1a_1.w18();
|
|
2656
|
+
this.r1a_1.y18();
|
|
2657
|
+
this.r1a_1.a19(this.t1a_1.d1d_1);
|
|
2658
2658
|
}
|
|
2659
2659
|
};
|
|
2660
|
-
protoOf(StreamingJsonEncoder).
|
|
2661
|
-
switch (this.
|
|
2660
|
+
protoOf(StreamingJsonEncoder).yq = function (descriptor, index) {
|
|
2661
|
+
switch (this.t1a_1.y2_1) {
|
|
2662
2662
|
case 1:
|
|
2663
|
-
if (!this.
|
|
2664
|
-
this.
|
|
2663
|
+
if (!this.r1a_1.u18_1) {
|
|
2664
|
+
this.r1a_1.a19(_Char___init__impl__6a9atx(44));
|
|
2665
2665
|
}
|
|
2666
2666
|
|
|
2667
|
-
this.
|
|
2667
|
+
this.r1a_1.x18();
|
|
2668
2668
|
break;
|
|
2669
2669
|
case 2:
|
|
2670
|
-
if (!this.
|
|
2670
|
+
if (!this.r1a_1.u18_1) {
|
|
2671
2671
|
var tmp = this;
|
|
2672
2672
|
var tmp_0;
|
|
2673
2673
|
if ((index % 2 | 0) === 0) {
|
|
2674
|
-
this.
|
|
2675
|
-
this.
|
|
2674
|
+
this.r1a_1.a19(_Char___init__impl__6a9atx(44));
|
|
2675
|
+
this.r1a_1.x18();
|
|
2676
2676
|
tmp_0 = true;
|
|
2677
2677
|
} else {
|
|
2678
|
-
this.
|
|
2679
|
-
this.
|
|
2678
|
+
this.r1a_1.a19(_Char___init__impl__6a9atx(58));
|
|
2679
|
+
this.r1a_1.z18();
|
|
2680
2680
|
tmp_0 = false;
|
|
2681
2681
|
}
|
|
2682
|
-
tmp.
|
|
2682
|
+
tmp.x1a_1 = tmp_0;
|
|
2683
2683
|
} else {
|
|
2684
|
-
this.
|
|
2685
|
-
this.
|
|
2684
|
+
this.x1a_1 = true;
|
|
2685
|
+
this.r1a_1.x18();
|
|
2686
2686
|
}
|
|
2687
2687
|
|
|
2688
2688
|
break;
|
|
2689
2689
|
case 3:
|
|
2690
2690
|
if (index === 0)
|
|
2691
|
-
this.
|
|
2691
|
+
this.x1a_1 = true;
|
|
2692
2692
|
if (index === 1) {
|
|
2693
|
-
this.
|
|
2694
|
-
this.
|
|
2695
|
-
this.
|
|
2693
|
+
this.r1a_1.a19(_Char___init__impl__6a9atx(44));
|
|
2694
|
+
this.r1a_1.z18();
|
|
2695
|
+
this.x1a_1 = false;
|
|
2696
2696
|
}
|
|
2697
2697
|
|
|
2698
2698
|
break;
|
|
2699
2699
|
default:
|
|
2700
|
-
if (!this.
|
|
2701
|
-
this.
|
|
2700
|
+
if (!this.r1a_1.u18_1) {
|
|
2701
|
+
this.r1a_1.a19(_Char___init__impl__6a9atx(44));
|
|
2702
2702
|
}
|
|
2703
2703
|
|
|
2704
|
-
this.
|
|
2705
|
-
this.
|
|
2706
|
-
this.
|
|
2707
|
-
this.
|
|
2704
|
+
this.r1a_1.x18();
|
|
2705
|
+
this.jr(getJsonElementName(descriptor, this.s1a_1, index));
|
|
2706
|
+
this.r1a_1.a19(_Char___init__impl__6a9atx(58));
|
|
2707
|
+
this.r1a_1.z18();
|
|
2708
2708
|
break;
|
|
2709
2709
|
}
|
|
2710
2710
|
return true;
|
|
2711
2711
|
};
|
|
2712
|
-
protoOf(StreamingJsonEncoder).
|
|
2713
|
-
if (!(value == null) || this.
|
|
2714
|
-
protoOf(AbstractEncoder).
|
|
2712
|
+
protoOf(StreamingJsonEncoder).xr = function (descriptor, index, serializer, value) {
|
|
2713
|
+
if (!(value == null) || this.w1a_1.d17_1) {
|
|
2714
|
+
protoOf(AbstractEncoder).xr.call(this, descriptor, index, serializer, value);
|
|
2715
2715
|
}
|
|
2716
2716
|
};
|
|
2717
|
-
protoOf(StreamingJsonEncoder).
|
|
2717
|
+
protoOf(StreamingJsonEncoder).kr = function (descriptor) {
|
|
2718
2718
|
var tmp;
|
|
2719
2719
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2720
2720
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2721
2721
|
var tmp_0;
|
|
2722
|
-
var tmp_1 = this.
|
|
2722
|
+
var tmp_1 = this.r1a_1;
|
|
2723
2723
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2724
|
-
tmp_0 = this.
|
|
2724
|
+
tmp_0 = this.r1a_1;
|
|
2725
2725
|
} else {
|
|
2726
|
-
var tmp0 = this.
|
|
2727
|
-
var p1 = this.
|
|
2726
|
+
var tmp0 = this.r1a_1.t18_1;
|
|
2727
|
+
var p1 = this.x1a_1;
|
|
2728
2728
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
2729
2729
|
}
|
|
2730
2730
|
var tmp$ret$0 = tmp_0;
|
|
2731
|
-
tmp = new StreamingJsonEncoder(tmp$ret$0, this.
|
|
2731
|
+
tmp = new StreamingJsonEncoder(tmp$ret$0, this.s1a_1, this.t1a_1, null);
|
|
2732
2732
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2733
2733
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2734
2734
|
var tmp_2;
|
|
2735
|
-
var tmp_3 = this.
|
|
2735
|
+
var tmp_3 = this.r1a_1;
|
|
2736
2736
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2737
|
-
tmp_2 = this.
|
|
2737
|
+
tmp_2 = this.r1a_1;
|
|
2738
2738
|
} else {
|
|
2739
|
-
var tmp0_0 = this.
|
|
2740
|
-
var p1_0 = this.
|
|
2739
|
+
var tmp0_0 = this.r1a_1.t18_1;
|
|
2740
|
+
var p1_0 = this.x1a_1;
|
|
2741
2741
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
2742
2742
|
}
|
|
2743
2743
|
var tmp$ret$2 = tmp_2;
|
|
2744
|
-
tmp = new StreamingJsonEncoder(tmp$ret$2, this.
|
|
2745
|
-
} else if (!(this.
|
|
2744
|
+
tmp = new StreamingJsonEncoder(tmp$ret$2, this.s1a_1, this.t1a_1, null);
|
|
2745
|
+
} else if (!(this.y1a_1 == null)) {
|
|
2746
2746
|
// Inline function 'kotlin.apply' call
|
|
2747
|
-
this.
|
|
2747
|
+
this.z1a_1 = descriptor.mo();
|
|
2748
2748
|
tmp = this;
|
|
2749
2749
|
} else {
|
|
2750
|
-
tmp = protoOf(AbstractEncoder).
|
|
2750
|
+
tmp = protoOf(AbstractEncoder).kr.call(this, descriptor);
|
|
2751
2751
|
}
|
|
2752
2752
|
return tmp;
|
|
2753
2753
|
};
|
|
2754
|
-
protoOf(StreamingJsonEncoder).
|
|
2755
|
-
this.
|
|
2754
|
+
protoOf(StreamingJsonEncoder).ar = function () {
|
|
2755
|
+
this.r1a_1.c19('null');
|
|
2756
2756
|
};
|
|
2757
|
-
protoOf(StreamingJsonEncoder).
|
|
2758
|
-
if (this.
|
|
2759
|
-
this.
|
|
2757
|
+
protoOf(StreamingJsonEncoder).br = function (value) {
|
|
2758
|
+
if (this.x1a_1) {
|
|
2759
|
+
this.jr(value.toString());
|
|
2760
2760
|
} else {
|
|
2761
|
-
this.
|
|
2761
|
+
this.r1a_1.l19(value);
|
|
2762
2762
|
}
|
|
2763
2763
|
};
|
|
2764
|
-
protoOf(StreamingJsonEncoder).
|
|
2765
|
-
if (this.
|
|
2766
|
-
this.
|
|
2764
|
+
protoOf(StreamingJsonEncoder).cr = function (value) {
|
|
2765
|
+
if (this.x1a_1) {
|
|
2766
|
+
this.jr(value.toString());
|
|
2767
2767
|
} else {
|
|
2768
|
-
this.
|
|
2768
|
+
this.r1a_1.g19(value);
|
|
2769
2769
|
}
|
|
2770
2770
|
};
|
|
2771
|
-
protoOf(StreamingJsonEncoder).
|
|
2772
|
-
if (this.
|
|
2773
|
-
this.
|
|
2771
|
+
protoOf(StreamingJsonEncoder).dr = function (value) {
|
|
2772
|
+
if (this.x1a_1) {
|
|
2773
|
+
this.jr(value.toString());
|
|
2774
2774
|
} else {
|
|
2775
|
-
this.
|
|
2775
|
+
this.r1a_1.i19(value);
|
|
2776
2776
|
}
|
|
2777
2777
|
};
|
|
2778
|
-
protoOf(StreamingJsonEncoder).
|
|
2779
|
-
if (this.
|
|
2780
|
-
this.
|
|
2778
|
+
protoOf(StreamingJsonEncoder).er = function (value) {
|
|
2779
|
+
if (this.x1a_1) {
|
|
2780
|
+
this.jr(value.toString());
|
|
2781
2781
|
} else {
|
|
2782
|
-
this.
|
|
2782
|
+
this.r1a_1.j19(value);
|
|
2783
2783
|
}
|
|
2784
2784
|
};
|
|
2785
|
-
protoOf(StreamingJsonEncoder).
|
|
2786
|
-
if (this.
|
|
2787
|
-
this.
|
|
2785
|
+
protoOf(StreamingJsonEncoder).fr = function (value) {
|
|
2786
|
+
if (this.x1a_1) {
|
|
2787
|
+
this.jr(value.toString());
|
|
2788
2788
|
} else {
|
|
2789
|
-
this.
|
|
2789
|
+
this.r1a_1.k19(value);
|
|
2790
2790
|
}
|
|
2791
2791
|
};
|
|
2792
|
-
protoOf(StreamingJsonEncoder).
|
|
2793
|
-
if (this.
|
|
2794
|
-
this.
|
|
2792
|
+
protoOf(StreamingJsonEncoder).gr = function (value) {
|
|
2793
|
+
if (this.x1a_1) {
|
|
2794
|
+
this.jr(value.toString());
|
|
2795
2795
|
} else {
|
|
2796
|
-
this.
|
|
2796
|
+
this.r1a_1.e19(value);
|
|
2797
2797
|
}
|
|
2798
|
-
if (!this.
|
|
2799
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
2798
|
+
if (!this.w1a_1.i17_1 && !isFinite(value)) {
|
|
2799
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.r1a_1.t18_1));
|
|
2800
2800
|
}
|
|
2801
2801
|
};
|
|
2802
|
-
protoOf(StreamingJsonEncoder).
|
|
2803
|
-
if (this.
|
|
2804
|
-
this.
|
|
2802
|
+
protoOf(StreamingJsonEncoder).hr = function (value) {
|
|
2803
|
+
if (this.x1a_1) {
|
|
2804
|
+
this.jr(value.toString());
|
|
2805
2805
|
} else {
|
|
2806
|
-
this.
|
|
2806
|
+
this.r1a_1.f19(value);
|
|
2807
2807
|
}
|
|
2808
|
-
if (!this.
|
|
2809
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
2808
|
+
if (!this.w1a_1.i17_1 && !isFinite_0(value)) {
|
|
2809
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.r1a_1.t18_1));
|
|
2810
2810
|
}
|
|
2811
2811
|
};
|
|
2812
|
-
protoOf(StreamingJsonEncoder).
|
|
2813
|
-
this.
|
|
2812
|
+
protoOf(StreamingJsonEncoder).ir = function (value) {
|
|
2813
|
+
this.jr(toString_1(value));
|
|
2814
2814
|
};
|
|
2815
|
-
protoOf(StreamingJsonEncoder).
|
|
2816
|
-
return this.
|
|
2815
|
+
protoOf(StreamingJsonEncoder).jr = function (value) {
|
|
2816
|
+
return this.r1a_1.m19(value);
|
|
2817
2817
|
};
|
|
2818
2818
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
2819
2819
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
2820
|
-
return _this__u8e3s4.
|
|
2820
|
+
return _this__u8e3s4.oo() && get_unsignedNumberDescriptors().u1(_this__u8e3s4);
|
|
2821
2821
|
}
|
|
2822
2822
|
function get_isUnquotedLiteral(_this__u8e3s4) {
|
|
2823
2823
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
2824
|
-
return _this__u8e3s4.
|
|
2824
|
+
return _this__u8e3s4.oo() && equals(_this__u8e3s4, get_jsonUnquotedLiteralDescriptor());
|
|
2825
2825
|
}
|
|
2826
2826
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
2827
2827
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
2828
2828
|
if (!properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
2829
2829
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
2830
|
-
unsignedNumberDescriptors = setOf([serializer_1(Companion_getInstance_0()).
|
|
2830
|
+
unsignedNumberDescriptors = setOf([serializer_1(Companion_getInstance_0()).in(), serializer_0(Companion_getInstance()).in(), serializer_2(Companion_getInstance_1()).in(), serializer_3(Companion_getInstance_2()).in()]);
|
|
2831
2831
|
}
|
|
2832
2832
|
}
|
|
2833
2833
|
function get_ESCAPE_STRINGS() {
|
|
@@ -2984,44 +2984,44 @@
|
|
|
2984
2984
|
}
|
|
2985
2985
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
2986
2986
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
2987
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
2987
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.p1d(tag), toString_0($this.q1d()));
|
|
2988
2988
|
}
|
|
2989
2989
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
2990
2990
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
2991
2991
|
NamedValueDecoder.call(this);
|
|
2992
|
-
this.
|
|
2993
|
-
this.
|
|
2994
|
-
this.
|
|
2995
|
-
this.
|
|
2992
|
+
this.l1d_1 = json;
|
|
2993
|
+
this.m1d_1 = value;
|
|
2994
|
+
this.n1d_1 = polymorphicDiscriminator;
|
|
2995
|
+
this.o1d_1 = this.p17().d16_1;
|
|
2996
2996
|
}
|
|
2997
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2998
|
-
return this.
|
|
2997
|
+
protoOf(AbstractJsonTreeDecoder).p17 = function () {
|
|
2998
|
+
return this.l1d_1;
|
|
2999
2999
|
};
|
|
3000
3000
|
protoOf(AbstractJsonTreeDecoder).m1 = function () {
|
|
3001
|
-
return this.
|
|
3001
|
+
return this.m1d_1;
|
|
3002
3002
|
};
|
|
3003
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3004
|
-
return this.
|
|
3003
|
+
protoOf(AbstractJsonTreeDecoder).uq = function () {
|
|
3004
|
+
return this.p17().uq();
|
|
3005
3005
|
};
|
|
3006
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3007
|
-
var tmp0_safe_receiver = this.
|
|
3006
|
+
protoOf(AbstractJsonTreeDecoder).q1d = function () {
|
|
3007
|
+
var tmp0_safe_receiver = this.t13();
|
|
3008
3008
|
var tmp;
|
|
3009
3009
|
if (tmp0_safe_receiver == null) {
|
|
3010
3010
|
tmp = null;
|
|
3011
3011
|
} else {
|
|
3012
3012
|
// Inline function 'kotlin.let' call
|
|
3013
|
-
tmp = this.
|
|
3013
|
+
tmp = this.r1d(tmp0_safe_receiver);
|
|
3014
3014
|
}
|
|
3015
3015
|
var tmp1_elvis_lhs = tmp;
|
|
3016
3016
|
return tmp1_elvis_lhs == null ? this.m1() : tmp1_elvis_lhs;
|
|
3017
3017
|
};
|
|
3018
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3019
|
-
return this.
|
|
3018
|
+
protoOf(AbstractJsonTreeDecoder).p1d = function (currentTag) {
|
|
3019
|
+
return this.v13() + ('.' + currentTag);
|
|
3020
3020
|
};
|
|
3021
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3022
|
-
return this.
|
|
3021
|
+
protoOf(AbstractJsonTreeDecoder).q17 = function () {
|
|
3022
|
+
return this.q1d();
|
|
3023
3023
|
};
|
|
3024
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3024
|
+
protoOf(AbstractJsonTreeDecoder).eq = function (deserializer) {
|
|
3025
3025
|
var tmp$ret$0;
|
|
3026
3026
|
$l$block: {
|
|
3027
3027
|
// Inline function 'kotlinx.serialization.json.internal.decodeSerializableValuePolymorphic' call
|
|
@@ -3029,20 +3029,20 @@
|
|
|
3029
3029
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3030
3030
|
tmp = true;
|
|
3031
3031
|
} else {
|
|
3032
|
-
tmp = this.
|
|
3032
|
+
tmp = this.p17().d16_1.g17_1;
|
|
3033
3033
|
}
|
|
3034
3034
|
if (tmp) {
|
|
3035
|
-
tmp$ret$0 = deserializer.
|
|
3035
|
+
tmp$ret$0 = deserializer.kn(this);
|
|
3036
3036
|
break $l$block;
|
|
3037
3037
|
}
|
|
3038
|
-
var discriminator = classDiscriminator(deserializer.
|
|
3039
|
-
var tmp0 = this.
|
|
3038
|
+
var discriminator = classDiscriminator(deserializer.in(), this.p17());
|
|
3039
|
+
var tmp0 = this.q17();
|
|
3040
3040
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3041
|
-
var serialName = deserializer.
|
|
3041
|
+
var serialName = deserializer.in().mo();
|
|
3042
3042
|
if (!(tmp0 instanceof JsonObject)) {
|
|
3043
3043
|
var tmp_0 = getKClass(JsonObject).m();
|
|
3044
3044
|
var tmp_1 = getKClassFromExpression(tmp0).m();
|
|
3045
|
-
var tmp$ret$2 = this.
|
|
3045
|
+
var tmp$ret$2 = this.v13();
|
|
3046
3046
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$2, toString_0(tmp0));
|
|
3047
3047
|
}
|
|
3048
3048
|
var jsonTree = tmp0;
|
|
@@ -3063,16 +3063,16 @@
|
|
|
3063
3063
|
}
|
|
3064
3064
|
var tmp_4 = tmp_2;
|
|
3065
3065
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3066
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3066
|
+
tmp$ret$0 = readPolymorphicJson(this.p17(), discriminator, jsonTree, actualSerializer);
|
|
3067
3067
|
}
|
|
3068
3068
|
return tmp$ret$0;
|
|
3069
3069
|
};
|
|
3070
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3070
|
+
protoOf(AbstractJsonTreeDecoder).u13 = function (parentName, childName) {
|
|
3071
3071
|
return childName;
|
|
3072
3072
|
};
|
|
3073
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3074
|
-
var currentObject = this.
|
|
3075
|
-
var tmp0_subject = descriptor.
|
|
3073
|
+
protoOf(AbstractJsonTreeDecoder).fq = function (descriptor) {
|
|
3074
|
+
var currentObject = this.q1d();
|
|
3075
|
+
var tmp0_subject = descriptor.no();
|
|
3076
3076
|
var tmp;
|
|
3077
3077
|
var tmp_0;
|
|
3078
3078
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -3081,23 +3081,23 @@
|
|
|
3081
3081
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3082
3082
|
}
|
|
3083
3083
|
if (tmp_0) {
|
|
3084
|
-
var tmp_1 = this.
|
|
3084
|
+
var tmp_1 = this.p17();
|
|
3085
3085
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3086
3086
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3087
|
-
var serialName = descriptor.
|
|
3087
|
+
var serialName = descriptor.mo();
|
|
3088
3088
|
if (!(currentObject instanceof JsonArray)) {
|
|
3089
3089
|
var tmp_2 = getKClass(JsonArray).m();
|
|
3090
3090
|
var tmp_3 = getKClassFromExpression(currentObject).m();
|
|
3091
|
-
var tmp$ret$2 = this.
|
|
3091
|
+
var tmp$ret$2 = this.v13();
|
|
3092
3092
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$2, toString_0(currentObject));
|
|
3093
3093
|
}
|
|
3094
3094
|
tmp = new JsonTreeListDecoder(tmp_1, currentObject);
|
|
3095
3095
|
} else {
|
|
3096
3096
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3097
3097
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3098
|
-
var this_0 = this.
|
|
3099
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
3100
|
-
var keyKind = keyDescriptor.
|
|
3098
|
+
var this_0 = this.p17();
|
|
3099
|
+
var keyDescriptor = carrierDescriptor(descriptor.uo(0), this_0.uq());
|
|
3100
|
+
var keyKind = keyDescriptor.no();
|
|
3101
3101
|
var tmp_4;
|
|
3102
3102
|
var tmp_5;
|
|
3103
3103
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3106,27 +3106,27 @@
|
|
|
3106
3106
|
tmp_5 = equals(keyKind, ENUM_getInstance());
|
|
3107
3107
|
}
|
|
3108
3108
|
if (tmp_5) {
|
|
3109
|
-
var tmp_6 = this.
|
|
3109
|
+
var tmp_6 = this.p17();
|
|
3110
3110
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3111
3111
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3112
|
-
var serialName_0 = descriptor.
|
|
3112
|
+
var serialName_0 = descriptor.mo();
|
|
3113
3113
|
if (!(currentObject instanceof JsonObject)) {
|
|
3114
3114
|
var tmp_7 = getKClass(JsonObject).m();
|
|
3115
3115
|
var tmp_8 = getKClassFromExpression(currentObject).m();
|
|
3116
|
-
var tmp$ret$7 = this.
|
|
3116
|
+
var tmp$ret$7 = this.v13();
|
|
3117
3117
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_7 + ', but had ' + tmp_8 + ' as the serialized body of ' + serialName_0 + ' at element: ' + tmp$ret$7, toString_0(currentObject));
|
|
3118
3118
|
}
|
|
3119
3119
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
3120
3120
|
} else {
|
|
3121
|
-
if (this_0.
|
|
3122
|
-
var tmp_9 = this.
|
|
3121
|
+
if (this_0.d16_1.b17_1) {
|
|
3122
|
+
var tmp_9 = this.p17();
|
|
3123
3123
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3124
3124
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3125
|
-
var serialName_1 = descriptor.
|
|
3125
|
+
var serialName_1 = descriptor.mo();
|
|
3126
3126
|
if (!(currentObject instanceof JsonArray)) {
|
|
3127
3127
|
var tmp_10 = getKClass(JsonArray).m();
|
|
3128
3128
|
var tmp_11 = getKClassFromExpression(currentObject).m();
|
|
3129
|
-
var tmp$ret$11 = this.
|
|
3129
|
+
var tmp$ret$11 = this.v13();
|
|
3130
3130
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_10 + ', but had ' + tmp_11 + ' as the serialized body of ' + serialName_1 + ' at element: ' + tmp$ret$11, toString_0(currentObject));
|
|
3131
3131
|
}
|
|
3132
3132
|
tmp_4 = new JsonTreeListDecoder(tmp_9, currentObject);
|
|
@@ -3136,44 +3136,44 @@
|
|
|
3136
3136
|
}
|
|
3137
3137
|
tmp = tmp_4;
|
|
3138
3138
|
} else {
|
|
3139
|
-
var tmp_12 = this.
|
|
3139
|
+
var tmp_12 = this.p17();
|
|
3140
3140
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3141
3141
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3142
|
-
var serialName_2 = descriptor.
|
|
3142
|
+
var serialName_2 = descriptor.mo();
|
|
3143
3143
|
if (!(currentObject instanceof JsonObject)) {
|
|
3144
3144
|
var tmp_13 = getKClass(JsonObject).m();
|
|
3145
3145
|
var tmp_14 = getKClassFromExpression(currentObject).m();
|
|
3146
|
-
var tmp$ret$14 = this.
|
|
3146
|
+
var tmp$ret$14 = this.v13();
|
|
3147
3147
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$14, toString_0(currentObject));
|
|
3148
3148
|
}
|
|
3149
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
3149
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.n1d_1);
|
|
3150
3150
|
}
|
|
3151
3151
|
}
|
|
3152
3152
|
return tmp;
|
|
3153
3153
|
};
|
|
3154
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3154
|
+
protoOf(AbstractJsonTreeDecoder).gq = function (descriptor) {
|
|
3155
3155
|
};
|
|
3156
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3157
|
-
var tmp = this.
|
|
3156
|
+
protoOf(AbstractJsonTreeDecoder).rp = function () {
|
|
3157
|
+
var tmp = this.q1d();
|
|
3158
3158
|
return !(tmp instanceof JsonNull);
|
|
3159
3159
|
};
|
|
3160
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3161
|
-
return !(this.
|
|
3160
|
+
protoOf(AbstractJsonTreeDecoder).s1d = function (tag) {
|
|
3161
|
+
return !(this.r1d(tag) === JsonNull_getInstance());
|
|
3162
3162
|
};
|
|
3163
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3164
|
-
return this.
|
|
3163
|
+
protoOf(AbstractJsonTreeDecoder).x13 = function (tag) {
|
|
3164
|
+
return this.s1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3165
3165
|
};
|
|
3166
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3166
|
+
protoOf(AbstractJsonTreeDecoder).t1d = function (tag) {
|
|
3167
3167
|
var tmp$ret$0;
|
|
3168
3168
|
$l$block: {
|
|
3169
3169
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3170
3170
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3171
3171
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3172
|
-
var value = this.
|
|
3172
|
+
var value = this.r1d(tag);
|
|
3173
3173
|
if (!(value instanceof JsonPrimitive)) {
|
|
3174
3174
|
var tmp = getKClass(JsonPrimitive).m();
|
|
3175
3175
|
var tmp_0 = getKClassFromExpression(value).m();
|
|
3176
|
-
var tmp$ret$3 = this.
|
|
3176
|
+
var tmp$ret$3 = this.p1d(tag);
|
|
3177
3177
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$3, toString_0(value));
|
|
3178
3178
|
}
|
|
3179
3179
|
var literal = value;
|
|
@@ -3198,20 +3198,20 @@
|
|
|
3198
3198
|
}
|
|
3199
3199
|
return tmp$ret$0;
|
|
3200
3200
|
};
|
|
3201
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3202
|
-
return this.
|
|
3201
|
+
protoOf(AbstractJsonTreeDecoder).y13 = function (tag) {
|
|
3202
|
+
return this.t1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3203
3203
|
};
|
|
3204
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3204
|
+
protoOf(AbstractJsonTreeDecoder).u1d = function (tag) {
|
|
3205
3205
|
var tmp$ret$0;
|
|
3206
3206
|
$l$block: {
|
|
3207
3207
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3208
3208
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3209
3209
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3210
|
-
var value = this.
|
|
3210
|
+
var value = this.r1d(tag);
|
|
3211
3211
|
if (!(value instanceof JsonPrimitive)) {
|
|
3212
3212
|
var tmp = getKClass(JsonPrimitive).m();
|
|
3213
3213
|
var tmp_0 = getKClassFromExpression(value).m();
|
|
3214
|
-
var tmp$ret$3 = this.
|
|
3214
|
+
var tmp$ret$3 = this.p1d(tag);
|
|
3215
3215
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' at element: ' + tmp$ret$3, toString_0(value));
|
|
3216
3216
|
}
|
|
3217
3217
|
var literal = value;
|
|
@@ -3245,20 +3245,20 @@
|
|
|
3245
3245
|
}
|
|
3246
3246
|
return tmp$ret$0;
|
|
3247
3247
|
};
|
|
3248
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3249
|
-
return this.
|
|
3248
|
+
protoOf(AbstractJsonTreeDecoder).z13 = function (tag) {
|
|
3249
|
+
return this.u1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3250
3250
|
};
|
|
3251
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3251
|
+
protoOf(AbstractJsonTreeDecoder).v1d = function (tag) {
|
|
3252
3252
|
var tmp$ret$0;
|
|
3253
3253
|
$l$block: {
|
|
3254
3254
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3255
3255
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3256
3256
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3257
|
-
var value = this.
|
|
3257
|
+
var value = this.r1d(tag);
|
|
3258
3258
|
if (!(value instanceof JsonPrimitive)) {
|
|
3259
3259
|
var tmp = getKClass(JsonPrimitive).m();
|
|
3260
3260
|
var tmp_0 = getKClassFromExpression(value).m();
|
|
3261
|
-
var tmp$ret$3 = this.
|
|
3261
|
+
var tmp$ret$3 = this.p1d(tag);
|
|
3262
3262
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' at element: ' + tmp$ret$3, toString_0(value));
|
|
3263
3263
|
}
|
|
3264
3264
|
var literal = value;
|
|
@@ -3292,20 +3292,20 @@
|
|
|
3292
3292
|
}
|
|
3293
3293
|
return tmp$ret$0;
|
|
3294
3294
|
};
|
|
3295
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3296
|
-
return this.
|
|
3295
|
+
protoOf(AbstractJsonTreeDecoder).a14 = function (tag) {
|
|
3296
|
+
return this.v1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3297
3297
|
};
|
|
3298
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3298
|
+
protoOf(AbstractJsonTreeDecoder).w1d = function (tag) {
|
|
3299
3299
|
var tmp$ret$0;
|
|
3300
3300
|
$l$block: {
|
|
3301
3301
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3302
3302
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3303
3303
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3304
|
-
var value = this.
|
|
3304
|
+
var value = this.r1d(tag);
|
|
3305
3305
|
if (!(value instanceof JsonPrimitive)) {
|
|
3306
3306
|
var tmp = getKClass(JsonPrimitive).m();
|
|
3307
3307
|
var tmp_0 = getKClassFromExpression(value).m();
|
|
3308
|
-
var tmp$ret$3 = this.
|
|
3308
|
+
var tmp$ret$3 = this.p1d(tag);
|
|
3309
3309
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$3, toString_0(value));
|
|
3310
3310
|
}
|
|
3311
3311
|
var literal = value;
|
|
@@ -3339,20 +3339,20 @@
|
|
|
3339
3339
|
}
|
|
3340
3340
|
return tmp$ret$0;
|
|
3341
3341
|
};
|
|
3342
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3343
|
-
return this.
|
|
3342
|
+
protoOf(AbstractJsonTreeDecoder).b14 = function (tag) {
|
|
3343
|
+
return this.w1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3344
3344
|
};
|
|
3345
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3345
|
+
protoOf(AbstractJsonTreeDecoder).x1d = function (tag) {
|
|
3346
3346
|
var tmp$ret$0;
|
|
3347
3347
|
$l$block: {
|
|
3348
3348
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3349
3349
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3350
3350
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3351
|
-
var value = this.
|
|
3351
|
+
var value = this.r1d(tag);
|
|
3352
3352
|
if (!(value instanceof JsonPrimitive)) {
|
|
3353
3353
|
var tmp = getKClass(JsonPrimitive).m();
|
|
3354
3354
|
var tmp_0 = getKClassFromExpression(value).m();
|
|
3355
|
-
var tmp$ret$3 = this.
|
|
3355
|
+
var tmp$ret$3 = this.p1d(tag);
|
|
3356
3356
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$3, toString_0(value));
|
|
3357
3357
|
}
|
|
3358
3358
|
var literal = value;
|
|
@@ -3377,20 +3377,20 @@
|
|
|
3377
3377
|
}
|
|
3378
3378
|
return tmp$ret$0;
|
|
3379
3379
|
};
|
|
3380
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3381
|
-
return this.
|
|
3380
|
+
protoOf(AbstractJsonTreeDecoder).c14 = function (tag) {
|
|
3381
|
+
return this.x1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3382
3382
|
};
|
|
3383
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3383
|
+
protoOf(AbstractJsonTreeDecoder).y1d = function (tag) {
|
|
3384
3384
|
var tmp$ret$0;
|
|
3385
3385
|
$l$block: {
|
|
3386
3386
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3387
3387
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3388
3388
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3389
|
-
var value = this.
|
|
3389
|
+
var value = this.r1d(tag);
|
|
3390
3390
|
if (!(value instanceof JsonPrimitive)) {
|
|
3391
3391
|
var tmp = getKClass(JsonPrimitive).m();
|
|
3392
3392
|
var tmp_0 = getKClassFromExpression(value).m();
|
|
3393
|
-
var tmp$ret$3 = this.
|
|
3393
|
+
var tmp$ret$3 = this.p1d(tag);
|
|
3394
3394
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$3, toString_0(value));
|
|
3395
3395
|
}
|
|
3396
3396
|
var literal = value;
|
|
@@ -3414,25 +3414,25 @@
|
|
|
3414
3414
|
}
|
|
3415
3415
|
}
|
|
3416
3416
|
var result = tmp$ret$0;
|
|
3417
|
-
var specialFp = this.
|
|
3417
|
+
var specialFp = this.p17().d16_1.i17_1;
|
|
3418
3418
|
if (specialFp || isFinite(result))
|
|
3419
3419
|
return result;
|
|
3420
|
-
throw InvalidFloatingPointDecoded(result, tag, toString_0(this.
|
|
3420
|
+
throw InvalidFloatingPointDecoded(result, tag, toString_0(this.q1d()));
|
|
3421
3421
|
};
|
|
3422
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3423
|
-
return this.
|
|
3422
|
+
protoOf(AbstractJsonTreeDecoder).d14 = function (tag) {
|
|
3423
|
+
return this.y1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3424
3424
|
};
|
|
3425
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3425
|
+
protoOf(AbstractJsonTreeDecoder).z1d = function (tag) {
|
|
3426
3426
|
var tmp$ret$0;
|
|
3427
3427
|
$l$block: {
|
|
3428
3428
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3429
3429
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3430
3430
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3431
|
-
var value = this.
|
|
3431
|
+
var value = this.r1d(tag);
|
|
3432
3432
|
if (!(value instanceof JsonPrimitive)) {
|
|
3433
3433
|
var tmp = getKClass(JsonPrimitive).m();
|
|
3434
3434
|
var tmp_0 = getKClassFromExpression(value).m();
|
|
3435
|
-
var tmp$ret$3 = this.
|
|
3435
|
+
var tmp$ret$3 = this.p1d(tag);
|
|
3436
3436
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$3, toString_0(value));
|
|
3437
3437
|
}
|
|
3438
3438
|
var literal = value;
|
|
@@ -3456,30 +3456,30 @@
|
|
|
3456
3456
|
}
|
|
3457
3457
|
}
|
|
3458
3458
|
var result = tmp$ret$0;
|
|
3459
|
-
var specialFp = this.
|
|
3459
|
+
var specialFp = this.p17().d16_1.i17_1;
|
|
3460
3460
|
if (specialFp || isFinite_0(result))
|
|
3461
3461
|
return result;
|
|
3462
|
-
throw InvalidFloatingPointDecoded(result, tag, toString_0(this.
|
|
3462
|
+
throw InvalidFloatingPointDecoded(result, tag, toString_0(this.q1d()));
|
|
3463
3463
|
};
|
|
3464
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3465
|
-
return this.
|
|
3464
|
+
protoOf(AbstractJsonTreeDecoder).e14 = function (tag) {
|
|
3465
|
+
return this.z1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3466
3466
|
};
|
|
3467
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3467
|
+
protoOf(AbstractJsonTreeDecoder).a1e = function (tag) {
|
|
3468
3468
|
var tmp$ret$0;
|
|
3469
3469
|
$l$block: {
|
|
3470
3470
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3471
3471
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3472
3472
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3473
|
-
var value = this.
|
|
3473
|
+
var value = this.r1d(tag);
|
|
3474
3474
|
if (!(value instanceof JsonPrimitive)) {
|
|
3475
3475
|
var tmp = getKClass(JsonPrimitive).m();
|
|
3476
3476
|
var tmp_0 = getKClassFromExpression(value).m();
|
|
3477
|
-
var tmp$ret$3 = this.
|
|
3477
|
+
var tmp$ret$3 = this.p1d(tag);
|
|
3478
3478
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$3, toString_0(value));
|
|
3479
3479
|
}
|
|
3480
3480
|
var literal = value;
|
|
3481
3481
|
try {
|
|
3482
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3482
|
+
var tmp0_elvis_lhs = new Char(single(literal.r17()));
|
|
3483
3483
|
var tmp_1;
|
|
3484
3484
|
if (tmp0_elvis_lhs == null) {
|
|
3485
3485
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3499,81 +3499,81 @@
|
|
|
3499
3499
|
}
|
|
3500
3500
|
return tmp$ret$0;
|
|
3501
3501
|
};
|
|
3502
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3503
|
-
return this.
|
|
3502
|
+
protoOf(AbstractJsonTreeDecoder).f14 = function (tag) {
|
|
3503
|
+
return this.a1e((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3504
3504
|
};
|
|
3505
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3505
|
+
protoOf(AbstractJsonTreeDecoder).b1e = function (tag) {
|
|
3506
3506
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3507
3507
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3508
|
-
var value = this.
|
|
3508
|
+
var value = this.r1d(tag);
|
|
3509
3509
|
if (!(value instanceof JsonPrimitive)) {
|
|
3510
3510
|
var tmp = getKClass(JsonPrimitive).m();
|
|
3511
3511
|
var tmp_0 = getKClassFromExpression(value).m();
|
|
3512
|
-
var tmp$ret$2 = this.
|
|
3512
|
+
var tmp$ret$2 = this.p1d(tag);
|
|
3513
3513
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$2, toString_0(value));
|
|
3514
3514
|
}
|
|
3515
3515
|
var value_0 = value;
|
|
3516
3516
|
if (!(value_0 instanceof JsonLiteral))
|
|
3517
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3518
|
-
if (!value_0.
|
|
3519
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3517
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.p1d(tag), toString_0(this.q1d()));
|
|
3518
|
+
if (!value_0.y17_1 && !this.p17().d16_1.a17_1) {
|
|
3519
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.p1d(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString_0(this.q1d()));
|
|
3520
3520
|
}
|
|
3521
|
-
return value_0.
|
|
3521
|
+
return value_0.a18_1;
|
|
3522
3522
|
};
|
|
3523
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3524
|
-
return this.
|
|
3523
|
+
protoOf(AbstractJsonTreeDecoder).g14 = function (tag) {
|
|
3524
|
+
return this.b1e((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3525
3525
|
};
|
|
3526
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3526
|
+
protoOf(AbstractJsonTreeDecoder).c1e = function (tag, inlineDescriptor) {
|
|
3527
3527
|
var tmp;
|
|
3528
3528
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3529
|
-
var tmp_0 = this.
|
|
3529
|
+
var tmp_0 = this.p17();
|
|
3530
3530
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3531
|
-
var tmp2 = this.
|
|
3531
|
+
var tmp2 = this.r1d(tag);
|
|
3532
3532
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3533
3533
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3534
|
-
var serialName = inlineDescriptor.
|
|
3534
|
+
var serialName = inlineDescriptor.mo();
|
|
3535
3535
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3536
3536
|
var tmp_1 = getKClass(JsonPrimitive).m();
|
|
3537
3537
|
var tmp_2 = getKClassFromExpression(tmp2).m();
|
|
3538
|
-
var tmp$ret$3 = this.
|
|
3538
|
+
var tmp$ret$3 = this.p1d(tag);
|
|
3539
3539
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$3, toString_0(tmp2));
|
|
3540
3540
|
}
|
|
3541
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
3542
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3541
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.r17());
|
|
3542
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.p17());
|
|
3543
3543
|
} else {
|
|
3544
|
-
tmp = protoOf(NamedValueDecoder).
|
|
3544
|
+
tmp = protoOf(NamedValueDecoder).h14.call(this, tag, inlineDescriptor);
|
|
3545
3545
|
}
|
|
3546
3546
|
return tmp;
|
|
3547
3547
|
};
|
|
3548
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3549
|
-
return this.
|
|
3548
|
+
protoOf(AbstractJsonTreeDecoder).h14 = function (tag, inlineDescriptor) {
|
|
3549
|
+
return this.c1e((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3550
3550
|
};
|
|
3551
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3552
|
-
return !(this.
|
|
3551
|
+
protoOf(AbstractJsonTreeDecoder).cq = function (descriptor) {
|
|
3552
|
+
return !(this.t13() == null) ? protoOf(NamedValueDecoder).cq.call(this, descriptor) : (new JsonPrimitiveDecoder(this.p17(), this.m1(), this.n1d_1)).cq(descriptor);
|
|
3553
3553
|
};
|
|
3554
3554
|
function setForceNull($this, descriptor, index) {
|
|
3555
|
-
$this.
|
|
3556
|
-
return $this.
|
|
3555
|
+
$this.m1e_1 = (!$this.p17().d16_1.d17_1 && !descriptor.vo(index) && descriptor.uo(index).io());
|
|
3556
|
+
return $this.m1e_1;
|
|
3557
3557
|
}
|
|
3558
3558
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3559
3559
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3560
3560
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3561
3561
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3562
|
-
this.
|
|
3563
|
-
this.
|
|
3564
|
-
this.
|
|
3565
|
-
this.
|
|
3562
|
+
this.j1e_1 = value;
|
|
3563
|
+
this.k1e_1 = polyDescriptor;
|
|
3564
|
+
this.l1e_1 = 0;
|
|
3565
|
+
this.m1e_1 = false;
|
|
3566
3566
|
}
|
|
3567
3567
|
protoOf(JsonTreeDecoder).m1 = function () {
|
|
3568
|
-
return this.
|
|
3569
|
-
};
|
|
3570
|
-
protoOf(JsonTreeDecoder).
|
|
3571
|
-
$l$loop: while (this.
|
|
3572
|
-
var _unary__edvuaz = this.
|
|
3573
|
-
this.
|
|
3574
|
-
var name = this.
|
|
3575
|
-
var index = this.
|
|
3576
|
-
this.
|
|
3568
|
+
return this.j1e_1;
|
|
3569
|
+
};
|
|
3570
|
+
protoOf(JsonTreeDecoder).wq = function (descriptor) {
|
|
3571
|
+
$l$loop: while (this.l1e_1 < descriptor.po()) {
|
|
3572
|
+
var _unary__edvuaz = this.l1e_1;
|
|
3573
|
+
this.l1e_1 = _unary__edvuaz + 1 | 0;
|
|
3574
|
+
var name = this.o13(descriptor, _unary__edvuaz);
|
|
3575
|
+
var index = this.l1e_1 - 1 | 0;
|
|
3576
|
+
this.m1e_1 = false;
|
|
3577
3577
|
var tmp;
|
|
3578
3578
|
// Inline function 'kotlin.collections.contains' call
|
|
3579
3579
|
// Inline function 'kotlin.collections.containsKey' call
|
|
@@ -3584,17 +3584,17 @@
|
|
|
3584
3584
|
tmp = setForceNull(this, descriptor, index);
|
|
3585
3585
|
}
|
|
3586
3586
|
if (tmp) {
|
|
3587
|
-
if (!this.
|
|
3587
|
+
if (!this.o1d_1.f17_1)
|
|
3588
3588
|
return index;
|
|
3589
|
-
var tmp0 = this.
|
|
3589
|
+
var tmp0 = this.p17();
|
|
3590
3590
|
var tmp$ret$2;
|
|
3591
3591
|
$l$block_2: {
|
|
3592
3592
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
3593
|
-
var isOptional = descriptor.
|
|
3594
|
-
var elementDescriptor = descriptor.
|
|
3593
|
+
var isOptional = descriptor.vo(index);
|
|
3594
|
+
var elementDescriptor = descriptor.uo(index);
|
|
3595
3595
|
var tmp_0;
|
|
3596
|
-
if (isOptional && !elementDescriptor.
|
|
3597
|
-
var tmp_1 = this.
|
|
3596
|
+
if (isOptional && !elementDescriptor.io()) {
|
|
3597
|
+
var tmp_1 = this.n1e(name);
|
|
3598
3598
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
3599
3599
|
} else {
|
|
3600
3600
|
tmp_0 = false;
|
|
@@ -3603,10 +3603,10 @@
|
|
|
3603
3603
|
tmp$ret$2 = true;
|
|
3604
3604
|
break $l$block_2;
|
|
3605
3605
|
}
|
|
3606
|
-
if (equals(elementDescriptor.
|
|
3606
|
+
if (equals(elementDescriptor.no(), ENUM_getInstance())) {
|
|
3607
3607
|
var tmp_2;
|
|
3608
|
-
if (elementDescriptor.
|
|
3609
|
-
var tmp_3 = this.
|
|
3608
|
+
if (elementDescriptor.io()) {
|
|
3609
|
+
var tmp_3 = this.n1e(name);
|
|
3610
3610
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
3611
3611
|
} else {
|
|
3612
3612
|
tmp_2 = false;
|
|
@@ -3615,7 +3615,7 @@
|
|
|
3615
3615
|
tmp$ret$2 = false;
|
|
3616
3616
|
break $l$block_2;
|
|
3617
3617
|
}
|
|
3618
|
-
var tmp_4 = this.
|
|
3618
|
+
var tmp_4 = this.n1e(name);
|
|
3619
3619
|
var tmp0_safe_receiver = tmp_4 instanceof JsonPrimitive ? tmp_4 : null;
|
|
3620
3620
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3621
3621
|
var tmp_5;
|
|
@@ -3627,7 +3627,7 @@
|
|
|
3627
3627
|
}
|
|
3628
3628
|
var enumValue = tmp_5;
|
|
3629
3629
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3630
|
-
var coerceToNull = !tmp0.
|
|
3630
|
+
var coerceToNull = !tmp0.d16_1.d17_1 && elementDescriptor.io();
|
|
3631
3631
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3632
3632
|
if (setForceNull(this, descriptor, index))
|
|
3633
3633
|
return index;
|
|
@@ -3644,19 +3644,19 @@
|
|
|
3644
3644
|
}
|
|
3645
3645
|
return -1;
|
|
3646
3646
|
};
|
|
3647
|
-
protoOf(JsonTreeDecoder).
|
|
3648
|
-
return !this.
|
|
3647
|
+
protoOf(JsonTreeDecoder).rp = function () {
|
|
3648
|
+
return !this.m1e_1 && protoOf(AbstractJsonTreeDecoder).rp.call(this);
|
|
3649
3649
|
};
|
|
3650
|
-
protoOf(JsonTreeDecoder).
|
|
3651
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3652
|
-
var baseName = descriptor.
|
|
3650
|
+
protoOf(JsonTreeDecoder).p13 = function (descriptor, index) {
|
|
3651
|
+
var strategy = namingStrategy(descriptor, this.p17());
|
|
3652
|
+
var baseName = descriptor.ro(index);
|
|
3653
3653
|
if (strategy == null) {
|
|
3654
|
-
if (!this.
|
|
3654
|
+
if (!this.o1d_1.j17_1)
|
|
3655
3655
|
return baseName;
|
|
3656
3656
|
if (this.m1().n2().u1(baseName))
|
|
3657
3657
|
return baseName;
|
|
3658
3658
|
}
|
|
3659
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3659
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.p17(), descriptor);
|
|
3660
3660
|
// Inline function 'kotlin.collections.find' call
|
|
3661
3661
|
var tmp0 = this.m1().n2();
|
|
3662
3662
|
var tmp$ret$1;
|
|
@@ -3679,51 +3679,51 @@
|
|
|
3679
3679
|
// Inline function 'kotlin.let' call
|
|
3680
3680
|
return tmp0_safe_receiver;
|
|
3681
3681
|
}
|
|
3682
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3682
|
+
var fallbackName = strategy == null ? null : strategy.h1a(descriptor, index, baseName);
|
|
3683
3683
|
return fallbackName == null ? baseName : fallbackName;
|
|
3684
3684
|
};
|
|
3685
|
-
protoOf(JsonTreeDecoder).
|
|
3685
|
+
protoOf(JsonTreeDecoder).r1d = function (tag) {
|
|
3686
3686
|
return getValue(this.m1(), tag);
|
|
3687
3687
|
};
|
|
3688
|
-
protoOf(JsonTreeDecoder).
|
|
3688
|
+
protoOf(JsonTreeDecoder).n1e = function (tag) {
|
|
3689
3689
|
return this.m1().sc(tag);
|
|
3690
3690
|
};
|
|
3691
|
-
protoOf(JsonTreeDecoder).
|
|
3692
|
-
if (descriptor === this.
|
|
3693
|
-
var tmp = this.
|
|
3694
|
-
var tmp2 = this.
|
|
3691
|
+
protoOf(JsonTreeDecoder).fq = function (descriptor) {
|
|
3692
|
+
if (descriptor === this.k1e_1) {
|
|
3693
|
+
var tmp = this.p17();
|
|
3694
|
+
var tmp2 = this.q1d();
|
|
3695
3695
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3696
3696
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3697
|
-
var serialName = this.
|
|
3697
|
+
var serialName = this.k1e_1.mo();
|
|
3698
3698
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3699
3699
|
var tmp_0 = getKClass(JsonObject).m();
|
|
3700
3700
|
var tmp_1 = getKClassFromExpression(tmp2).m();
|
|
3701
|
-
var tmp$ret$2 = this.
|
|
3701
|
+
var tmp$ret$2 = this.v13();
|
|
3702
3702
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$2, toString_0(tmp2));
|
|
3703
3703
|
}
|
|
3704
|
-
return new JsonTreeDecoder(tmp, tmp2, this.
|
|
3704
|
+
return new JsonTreeDecoder(tmp, tmp2, this.n1d_1, this.k1e_1);
|
|
3705
3705
|
}
|
|
3706
|
-
return protoOf(AbstractJsonTreeDecoder).
|
|
3706
|
+
return protoOf(AbstractJsonTreeDecoder).fq.call(this, descriptor);
|
|
3707
3707
|
};
|
|
3708
|
-
protoOf(JsonTreeDecoder).
|
|
3708
|
+
protoOf(JsonTreeDecoder).gq = function (descriptor) {
|
|
3709
3709
|
var tmp;
|
|
3710
|
-
if (ignoreUnknownKeys(descriptor, this.
|
|
3710
|
+
if (ignoreUnknownKeys(descriptor, this.p17())) {
|
|
3711
3711
|
tmp = true;
|
|
3712
3712
|
} else {
|
|
3713
|
-
var tmp_0 = descriptor.
|
|
3713
|
+
var tmp_0 = descriptor.no();
|
|
3714
3714
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3715
3715
|
}
|
|
3716
3716
|
if (tmp)
|
|
3717
3717
|
return Unit_instance;
|
|
3718
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3718
|
+
var strategy = namingStrategy(descriptor, this.p17());
|
|
3719
3719
|
var tmp_1;
|
|
3720
|
-
if (strategy == null && !this.
|
|
3720
|
+
if (strategy == null && !this.o1d_1.j17_1) {
|
|
3721
3721
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3722
3722
|
} else if (!(strategy == null)) {
|
|
3723
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3723
|
+
tmp_1 = deserializationNamesMap(this.p17(), descriptor).n2();
|
|
3724
3724
|
} else {
|
|
3725
3725
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3726
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3726
|
+
var tmp0_safe_receiver = get_schemaCache(this.p17()).p1c(descriptor, get_JsonDeserializationNamesKey());
|
|
3727
3727
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3728
3728
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n2();
|
|
3729
3729
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3733,81 +3733,81 @@
|
|
|
3733
3733
|
var _iterator__ex2g4s = this.m1().n2().r();
|
|
3734
3734
|
while (_iterator__ex2g4s.s()) {
|
|
3735
3735
|
var key = _iterator__ex2g4s.t();
|
|
3736
|
-
if (!names.u1(key) && !(key === this.
|
|
3737
|
-
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.
|
|
3736
|
+
if (!names.u1(key) && !(key === this.n1d_1)) {
|
|
3737
|
+
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.v13() + '\n' + "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString_0(minify(this.m1().toString()))));
|
|
3738
3738
|
}
|
|
3739
3739
|
}
|
|
3740
3740
|
};
|
|
3741
3741
|
function JsonTreeListDecoder(json, value) {
|
|
3742
3742
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3743
|
-
this.
|
|
3744
|
-
this.
|
|
3745
|
-
this.
|
|
3743
|
+
this.u1e_1 = value;
|
|
3744
|
+
this.v1e_1 = this.u1e_1.d1();
|
|
3745
|
+
this.w1e_1 = -1;
|
|
3746
3746
|
}
|
|
3747
3747
|
protoOf(JsonTreeListDecoder).m1 = function () {
|
|
3748
|
-
return this.
|
|
3748
|
+
return this.u1e_1;
|
|
3749
3749
|
};
|
|
3750
|
-
protoOf(JsonTreeListDecoder).
|
|
3750
|
+
protoOf(JsonTreeListDecoder).p13 = function (descriptor, index) {
|
|
3751
3751
|
return index.toString();
|
|
3752
3752
|
};
|
|
3753
|
-
protoOf(JsonTreeListDecoder).
|
|
3754
|
-
return this.
|
|
3753
|
+
protoOf(JsonTreeListDecoder).r1d = function (tag) {
|
|
3754
|
+
return this.u1e_1.c1(toInt(tag));
|
|
3755
3755
|
};
|
|
3756
|
-
protoOf(JsonTreeListDecoder).
|
|
3757
|
-
while (this.
|
|
3758
|
-
this.
|
|
3759
|
-
return this.
|
|
3756
|
+
protoOf(JsonTreeListDecoder).wq = function (descriptor) {
|
|
3757
|
+
while (this.w1e_1 < (this.v1e_1 - 1 | 0)) {
|
|
3758
|
+
this.w1e_1 = this.w1e_1 + 1 | 0;
|
|
3759
|
+
return this.w1e_1;
|
|
3760
3760
|
}
|
|
3761
3761
|
return -1;
|
|
3762
3762
|
};
|
|
3763
3763
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
3764
3764
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3765
3765
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3766
|
-
this.
|
|
3767
|
-
this.
|
|
3766
|
+
this.d1f_1 = value;
|
|
3767
|
+
this.i14('primitive');
|
|
3768
3768
|
}
|
|
3769
3769
|
protoOf(JsonPrimitiveDecoder).m1 = function () {
|
|
3770
|
-
return this.
|
|
3770
|
+
return this.d1f_1;
|
|
3771
3771
|
};
|
|
3772
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3772
|
+
protoOf(JsonPrimitiveDecoder).wq = function (descriptor) {
|
|
3773
3773
|
return 0;
|
|
3774
3774
|
};
|
|
3775
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3775
|
+
protoOf(JsonPrimitiveDecoder).r1d = function (tag) {
|
|
3776
3776
|
// Inline function 'kotlin.require' call
|
|
3777
3777
|
if (!(tag === 'primitive')) {
|
|
3778
3778
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
3779
3779
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3780
3780
|
}
|
|
3781
|
-
return this.
|
|
3781
|
+
return this.d1f_1;
|
|
3782
3782
|
};
|
|
3783
3783
|
function JsonTreeMapDecoder(json, value) {
|
|
3784
3784
|
JsonTreeDecoder.call(this, json, value);
|
|
3785
|
-
this.
|
|
3786
|
-
this.
|
|
3787
|
-
this.
|
|
3788
|
-
this.
|
|
3785
|
+
this.o1f_1 = value;
|
|
3786
|
+
this.p1f_1 = toList(this.o1f_1.n2());
|
|
3787
|
+
this.q1f_1 = imul(this.p1f_1.d1(), 2);
|
|
3788
|
+
this.r1f_1 = -1;
|
|
3789
3789
|
}
|
|
3790
3790
|
protoOf(JsonTreeMapDecoder).m1 = function () {
|
|
3791
|
-
return this.
|
|
3791
|
+
return this.o1f_1;
|
|
3792
3792
|
};
|
|
3793
|
-
protoOf(JsonTreeMapDecoder).
|
|
3793
|
+
protoOf(JsonTreeMapDecoder).p13 = function (descriptor, index) {
|
|
3794
3794
|
var i = index / 2 | 0;
|
|
3795
|
-
return this.
|
|
3795
|
+
return this.p1f_1.c1(i);
|
|
3796
3796
|
};
|
|
3797
|
-
protoOf(JsonTreeMapDecoder).
|
|
3798
|
-
while (this.
|
|
3799
|
-
this.
|
|
3800
|
-
return this.
|
|
3797
|
+
protoOf(JsonTreeMapDecoder).wq = function (descriptor) {
|
|
3798
|
+
while (this.r1f_1 < (this.q1f_1 - 1 | 0)) {
|
|
3799
|
+
this.r1f_1 = this.r1f_1 + 1 | 0;
|
|
3800
|
+
return this.r1f_1;
|
|
3801
3801
|
}
|
|
3802
3802
|
return -1;
|
|
3803
3803
|
};
|
|
3804
|
-
protoOf(JsonTreeMapDecoder).
|
|
3805
|
-
return (this.
|
|
3804
|
+
protoOf(JsonTreeMapDecoder).r1d = function (tag) {
|
|
3805
|
+
return (this.r1f_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.o1f_1, tag);
|
|
3806
3806
|
};
|
|
3807
|
-
protoOf(JsonTreeMapDecoder).
|
|
3807
|
+
protoOf(JsonTreeMapDecoder).gq = function (descriptor) {
|
|
3808
3808
|
};
|
|
3809
3809
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
3810
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
3810
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.in())).eq(deserializer);
|
|
3811
3811
|
}
|
|
3812
3812
|
var WriteMode_OBJ_instance;
|
|
3813
3813
|
var WriteMode_LIST_instance;
|
|
@@ -3834,11 +3834,11 @@
|
|
|
3834
3834
|
var $ENTRIES;
|
|
3835
3835
|
function WriteMode(name, ordinal, begin, end) {
|
|
3836
3836
|
Enum.call(this, name, ordinal);
|
|
3837
|
-
this.
|
|
3838
|
-
this.
|
|
3837
|
+
this.c1d_1 = begin;
|
|
3838
|
+
this.d1d_1 = end;
|
|
3839
3839
|
}
|
|
3840
3840
|
function switchMode(_this__u8e3s4, desc) {
|
|
3841
|
-
var tmp0_subject = desc.
|
|
3841
|
+
var tmp0_subject = desc.no();
|
|
3842
3842
|
var tmp;
|
|
3843
3843
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
3844
3844
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -3848,8 +3848,8 @@
|
|
|
3848
3848
|
} else {
|
|
3849
3849
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3850
3850
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3851
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
3852
|
-
var keyKind = keyDescriptor.
|
|
3851
|
+
var keyDescriptor = carrierDescriptor(desc.uo(0), _this__u8e3s4.uq());
|
|
3852
|
+
var keyKind = keyDescriptor.no();
|
|
3853
3853
|
var tmp_0;
|
|
3854
3854
|
var tmp_1;
|
|
3855
3855
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3860,7 +3860,7 @@
|
|
|
3860
3860
|
if (tmp_1) {
|
|
3861
3861
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
3862
3862
|
} else {
|
|
3863
|
-
if (_this__u8e3s4.
|
|
3863
|
+
if (_this__u8e3s4.d16_1.b17_1) {
|
|
3864
3864
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
3865
3865
|
} else {
|
|
3866
3866
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -3876,12 +3876,12 @@
|
|
|
3876
3876
|
}
|
|
3877
3877
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
3878
3878
|
var tmp;
|
|
3879
|
-
if (equals(_this__u8e3s4.
|
|
3879
|
+
if (equals(_this__u8e3s4.no(), CONTEXTUAL_getInstance())) {
|
|
3880
3880
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
3881
3881
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
3882
3882
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
3883
|
-
} else if (_this__u8e3s4.
|
|
3884
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
3883
|
+
} else if (_this__u8e3s4.oo()) {
|
|
3884
|
+
tmp = carrierDescriptor(_this__u8e3s4.uo(0), module_0);
|
|
3885
3885
|
} else {
|
|
3886
3886
|
tmp = _this__u8e3s4;
|
|
3887
3887
|
}
|
|
@@ -3904,56 +3904,56 @@
|
|
|
3904
3904
|
return WriteMode_POLY_OBJ_instance;
|
|
3905
3905
|
}
|
|
3906
3906
|
function appendEscape($this, lastPosition, current) {
|
|
3907
|
-
$this.
|
|
3907
|
+
$this.s1f(lastPosition, current);
|
|
3908
3908
|
return appendEsc($this, current + 1 | 0);
|
|
3909
3909
|
}
|
|
3910
3910
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3911
|
-
$this.
|
|
3912
|
-
var result = $this.
|
|
3913
|
-
$this.
|
|
3911
|
+
$this.s1f(lastPosition, currentPosition);
|
|
3912
|
+
var result = $this.w16_1.toString();
|
|
3913
|
+
$this.w16_1.rb(0);
|
|
3914
3914
|
return result;
|
|
3915
3915
|
}
|
|
3916
3916
|
function takePeeked($this) {
|
|
3917
3917
|
// Inline function 'kotlin.also' call
|
|
3918
|
-
var this_0 = ensureNotNull($this.
|
|
3919
|
-
$this.
|
|
3918
|
+
var this_0 = ensureNotNull($this.v16_1);
|
|
3919
|
+
$this.v16_1 = null;
|
|
3920
3920
|
return this_0;
|
|
3921
3921
|
}
|
|
3922
3922
|
function wasUnquotedString($this) {
|
|
3923
|
-
return !(charSequenceGet($this.
|
|
3923
|
+
return !(charSequenceGet($this.t1f(), $this.t16_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
3924
3924
|
}
|
|
3925
3925
|
function appendEsc($this, startPosition) {
|
|
3926
3926
|
var currentPosition = startPosition;
|
|
3927
|
-
currentPosition = $this.
|
|
3927
|
+
currentPosition = $this.u1f(currentPosition);
|
|
3928
3928
|
if (currentPosition === -1) {
|
|
3929
|
-
$this.
|
|
3929
|
+
$this.d1a('Expected escape sequence to continue, got EOF');
|
|
3930
3930
|
}
|
|
3931
|
-
var tmp = $this.
|
|
3931
|
+
var tmp = $this.t1f();
|
|
3932
3932
|
var _unary__edvuaz = currentPosition;
|
|
3933
3933
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
3934
3934
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
3935
3935
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
3936
|
-
return appendHex($this, $this.
|
|
3936
|
+
return appendHex($this, $this.t1f(), currentPosition);
|
|
3937
3937
|
}
|
|
3938
3938
|
// Inline function 'kotlin.code' call
|
|
3939
3939
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3940
3940
|
var c = escapeToChar(tmp$ret$0);
|
|
3941
3941
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
3942
|
-
$this.
|
|
3942
|
+
$this.d1a("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
3943
3943
|
}
|
|
3944
|
-
$this.
|
|
3944
|
+
$this.w16_1.q(c);
|
|
3945
3945
|
return currentPosition;
|
|
3946
3946
|
}
|
|
3947
3947
|
function appendHex($this, source, startPos) {
|
|
3948
3948
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3949
|
-
$this.
|
|
3950
|
-
$this.
|
|
3951
|
-
if (($this.
|
|
3952
|
-
$this.
|
|
3949
|
+
$this.t16_1 = startPos;
|
|
3950
|
+
$this.v1f();
|
|
3951
|
+
if (($this.t16_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3952
|
+
$this.d1a('Unexpected EOF during unicode escape');
|
|
3953
3953
|
}
|
|
3954
|
-
return appendHex($this, source, $this.
|
|
3954
|
+
return appendHex($this, source, $this.t16_1);
|
|
3955
3955
|
}
|
|
3956
|
-
$this.
|
|
3956
|
+
$this.w16_1.q(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));
|
|
3957
3957
|
return startPos + 4 | 0;
|
|
3958
3958
|
}
|
|
3959
3959
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -3978,16 +3978,16 @@
|
|
|
3978
3978
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
3979
3979
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
3980
3980
|
} else {
|
|
3981
|
-
$this.
|
|
3981
|
+
$this.d1a("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
3982
3982
|
}
|
|
3983
3983
|
return tmp;
|
|
3984
3984
|
}
|
|
3985
3985
|
function consumeBoolean2($this, start) {
|
|
3986
|
-
var current = $this.
|
|
3987
|
-
if (current >= charSequenceLength($this.
|
|
3988
|
-
$this.
|
|
3986
|
+
var current = $this.u1f(start);
|
|
3987
|
+
if (current >= charSequenceLength($this.t1f()) || current === -1) {
|
|
3988
|
+
$this.d1a('EOF');
|
|
3989
3989
|
}
|
|
3990
|
-
var tmp = $this.
|
|
3990
|
+
var tmp = $this.t1f();
|
|
3991
3991
|
var _unary__edvuaz = current;
|
|
3992
3992
|
current = _unary__edvuaz + 1 | 0;
|
|
3993
3993
|
// Inline function 'kotlin.code' call
|
|
@@ -4006,14 +4006,14 @@
|
|
|
4006
4006
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4007
4007
|
tmp_0 = false;
|
|
4008
4008
|
} else {
|
|
4009
|
-
$this.
|
|
4009
|
+
$this.d1a("Expected valid boolean literal prefix, but had '" + $this.i1b() + "'");
|
|
4010
4010
|
}
|
|
4011
4011
|
}
|
|
4012
4012
|
return tmp_0;
|
|
4013
4013
|
}
|
|
4014
4014
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4015
|
-
if ((charSequenceLength($this.
|
|
4016
|
-
$this.
|
|
4015
|
+
if ((charSequenceLength($this.t1f()) - current | 0) < literalSuffix.length) {
|
|
4016
|
+
$this.d1a('Unexpected end of boolean literal');
|
|
4017
4017
|
}
|
|
4018
4018
|
var inductionVariable = 0;
|
|
4019
4019
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4022,16 +4022,16 @@
|
|
|
4022
4022
|
var i = inductionVariable;
|
|
4023
4023
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4024
4024
|
var expected = charCodeAt(literalSuffix, i);
|
|
4025
|
-
var actual = charSequenceGet($this.
|
|
4025
|
+
var actual = charSequenceGet($this.t1f(), current + i | 0);
|
|
4026
4026
|
// Inline function 'kotlin.code' call
|
|
4027
4027
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4028
4028
|
// Inline function 'kotlin.code' call
|
|
4029
4029
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4030
|
-
$this.
|
|
4030
|
+
$this.d1a("Expected valid boolean literal prefix, but had '" + $this.i1b() + "'");
|
|
4031
4031
|
}
|
|
4032
4032
|
}
|
|
4033
4033
|
while (inductionVariable <= last);
|
|
4034
|
-
$this.
|
|
4034
|
+
$this.t16_1 = current + literalSuffix.length | 0;
|
|
4035
4035
|
}
|
|
4036
4036
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4037
4037
|
var tmp;
|
|
@@ -4055,77 +4055,77 @@
|
|
|
4055
4055
|
return tmp;
|
|
4056
4056
|
}
|
|
4057
4057
|
function AbstractJsonLexer() {
|
|
4058
|
-
this.
|
|
4059
|
-
this.
|
|
4060
|
-
this.
|
|
4061
|
-
this.
|
|
4058
|
+
this.t16_1 = 0;
|
|
4059
|
+
this.u16_1 = new JsonPath();
|
|
4060
|
+
this.v16_1 = null;
|
|
4061
|
+
this.w16_1 = StringBuilder_init_$Create$();
|
|
4062
4062
|
}
|
|
4063
|
-
protoOf(AbstractJsonLexer).
|
|
4063
|
+
protoOf(AbstractJsonLexer).v1f = function () {
|
|
4064
4064
|
};
|
|
4065
|
-
protoOf(AbstractJsonLexer).
|
|
4066
|
-
var current = this.
|
|
4067
|
-
var source = this.
|
|
4065
|
+
protoOf(AbstractJsonLexer).s1c = function () {
|
|
4066
|
+
var current = this.w1f();
|
|
4067
|
+
var source = this.t1f();
|
|
4068
4068
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4069
4069
|
return false;
|
|
4070
4070
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4071
|
-
this.
|
|
4071
|
+
this.t16_1 = this.t16_1 + 1 | 0;
|
|
4072
4072
|
return true;
|
|
4073
4073
|
}
|
|
4074
4074
|
return false;
|
|
4075
4075
|
};
|
|
4076
|
-
protoOf(AbstractJsonLexer).
|
|
4076
|
+
protoOf(AbstractJsonLexer).x1f = function (c) {
|
|
4077
4077
|
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;
|
|
4078
4078
|
};
|
|
4079
|
-
protoOf(AbstractJsonLexer).
|
|
4080
|
-
var nextToken = this.
|
|
4079
|
+
protoOf(AbstractJsonLexer).x16 = function () {
|
|
4080
|
+
var nextToken = this.k1b();
|
|
4081
4081
|
if (!(nextToken === 10)) {
|
|
4082
|
-
this.
|
|
4082
|
+
this.d1a('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.t1f(), this.t16_1 - 1 | 0)) + ' instead');
|
|
4083
4083
|
}
|
|
4084
4084
|
};
|
|
4085
|
-
protoOf(AbstractJsonLexer).
|
|
4086
|
-
var token = this.
|
|
4085
|
+
protoOf(AbstractJsonLexer).e1b = function (expected) {
|
|
4086
|
+
var token = this.k1b();
|
|
4087
4087
|
if (!(token === expected)) {
|
|
4088
4088
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4089
4089
|
var expected_0 = tokenDescription(expected);
|
|
4090
|
-
var position = true ? this.
|
|
4091
|
-
var s = this.
|
|
4090
|
+
var position = true ? this.t16_1 - 1 | 0 : this.t16_1;
|
|
4091
|
+
var s = this.t16_1 === charSequenceLength(this.t1f()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.t1f(), position));
|
|
4092
4092
|
var tmp$ret$1 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4093
|
-
this.
|
|
4093
|
+
this.d1a(tmp$ret$1, position);
|
|
4094
4094
|
}
|
|
4095
4095
|
return token;
|
|
4096
4096
|
};
|
|
4097
|
-
protoOf(AbstractJsonLexer).
|
|
4098
|
-
if (this.
|
|
4097
|
+
protoOf(AbstractJsonLexer).y1f = function (expected) {
|
|
4098
|
+
if (this.t16_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4099
4099
|
var tmp$ret$0;
|
|
4100
4100
|
$l$block: {
|
|
4101
4101
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4102
|
-
var snapshot = this.
|
|
4102
|
+
var snapshot = this.t16_1;
|
|
4103
4103
|
try {
|
|
4104
|
-
this.
|
|
4105
|
-
tmp$ret$0 = this.
|
|
4104
|
+
this.t16_1 = this.t16_1 - 1 | 0;
|
|
4105
|
+
tmp$ret$0 = this.i1b();
|
|
4106
4106
|
break $l$block;
|
|
4107
4107
|
}finally {
|
|
4108
|
-
this.
|
|
4108
|
+
this.t16_1 = snapshot;
|
|
4109
4109
|
}
|
|
4110
4110
|
}
|
|
4111
4111
|
var inputLiteral = tmp$ret$0;
|
|
4112
4112
|
if (inputLiteral === 'null') {
|
|
4113
|
-
this.
|
|
4113
|
+
this.c1a("Expected string literal but 'null' literal was found", this.t16_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4114
4114
|
}
|
|
4115
4115
|
}
|
|
4116
4116
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4117
4117
|
var expectedToken = charToTokenClass(expected);
|
|
4118
4118
|
var expected_0 = tokenDescription(expectedToken);
|
|
4119
|
-
var position = true ? this.
|
|
4120
|
-
var s = this.
|
|
4119
|
+
var position = true ? this.t16_1 - 1 | 0 : this.t16_1;
|
|
4120
|
+
var s = this.t16_1 === charSequenceLength(this.t1f()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.t1f(), position));
|
|
4121
4121
|
var tmp$ret$3 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4122
|
-
this.
|
|
4122
|
+
this.d1a(tmp$ret$3, position);
|
|
4123
4123
|
};
|
|
4124
|
-
protoOf(AbstractJsonLexer).
|
|
4125
|
-
var source = this.
|
|
4126
|
-
var cpos = this.
|
|
4124
|
+
protoOf(AbstractJsonLexer).f1b = function () {
|
|
4125
|
+
var source = this.t1f();
|
|
4126
|
+
var cpos = this.t16_1;
|
|
4127
4127
|
$l$loop_0: while (true) {
|
|
4128
|
-
cpos = this.
|
|
4128
|
+
cpos = this.u1f(cpos);
|
|
4129
4129
|
if (cpos === -1)
|
|
4130
4130
|
break $l$loop_0;
|
|
4131
4131
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4133,16 +4133,16 @@
|
|
|
4133
4133
|
cpos = cpos + 1 | 0;
|
|
4134
4134
|
continue $l$loop_0;
|
|
4135
4135
|
}
|
|
4136
|
-
this.
|
|
4136
|
+
this.t16_1 = cpos;
|
|
4137
4137
|
return charToTokenClass(ch);
|
|
4138
4138
|
}
|
|
4139
|
-
this.
|
|
4139
|
+
this.t16_1 = cpos;
|
|
4140
4140
|
return 10;
|
|
4141
4141
|
};
|
|
4142
|
-
protoOf(AbstractJsonLexer).
|
|
4143
|
-
var current = this.
|
|
4144
|
-
current = this.
|
|
4145
|
-
var len = charSequenceLength(this.
|
|
4142
|
+
protoOf(AbstractJsonLexer).t1c = function (doConsume) {
|
|
4143
|
+
var current = this.w1f();
|
|
4144
|
+
current = this.u1f(current);
|
|
4145
|
+
var len = charSequenceLength(this.t1f()) - current | 0;
|
|
4146
4146
|
if (len < 4 || current === -1)
|
|
4147
4147
|
return false;
|
|
4148
4148
|
var inductionVariable = 0;
|
|
@@ -4150,50 +4150,50 @@
|
|
|
4150
4150
|
do {
|
|
4151
4151
|
var i = inductionVariable;
|
|
4152
4152
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4153
|
-
if (!(charCodeAt('null', i) === charSequenceGet(this.
|
|
4153
|
+
if (!(charCodeAt('null', i) === charSequenceGet(this.t1f(), current + i | 0)))
|
|
4154
4154
|
return false;
|
|
4155
4155
|
}
|
|
4156
4156
|
while (inductionVariable <= 3);
|
|
4157
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4157
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.t1f(), current + 4 | 0)) === 0)
|
|
4158
4158
|
return false;
|
|
4159
4159
|
if (doConsume) {
|
|
4160
|
-
this.
|
|
4160
|
+
this.t16_1 = current + 4 | 0;
|
|
4161
4161
|
}
|
|
4162
4162
|
return true;
|
|
4163
4163
|
};
|
|
4164
|
-
protoOf(AbstractJsonLexer).
|
|
4164
|
+
protoOf(AbstractJsonLexer).e1d = function (doConsume, $super) {
|
|
4165
4165
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4166
|
-
return $super === VOID ? this.
|
|
4166
|
+
return $super === VOID ? this.t1c(doConsume) : $super.t1c.call(this, doConsume);
|
|
4167
4167
|
};
|
|
4168
|
-
protoOf(AbstractJsonLexer).
|
|
4169
|
-
var token = this.
|
|
4168
|
+
protoOf(AbstractJsonLexer).u1c = function (isLenient) {
|
|
4169
|
+
var token = this.f1b();
|
|
4170
4170
|
var tmp;
|
|
4171
4171
|
if (isLenient) {
|
|
4172
4172
|
if (!(token === 1) && !(token === 0))
|
|
4173
4173
|
return null;
|
|
4174
|
-
tmp = this.
|
|
4174
|
+
tmp = this.i1b();
|
|
4175
4175
|
} else {
|
|
4176
4176
|
if (!(token === 1))
|
|
4177
4177
|
return null;
|
|
4178
|
-
tmp = this.
|
|
4178
|
+
tmp = this.h1b();
|
|
4179
4179
|
}
|
|
4180
4180
|
var string = tmp;
|
|
4181
|
-
this.
|
|
4181
|
+
this.v16_1 = string;
|
|
4182
4182
|
return string;
|
|
4183
4183
|
};
|
|
4184
|
-
protoOf(AbstractJsonLexer).
|
|
4185
|
-
this.
|
|
4184
|
+
protoOf(AbstractJsonLexer).z1f = function () {
|
|
4185
|
+
this.v16_1 = null;
|
|
4186
4186
|
};
|
|
4187
|
-
protoOf(AbstractJsonLexer).
|
|
4187
|
+
protoOf(AbstractJsonLexer).a1g = function (startPos, endPos) {
|
|
4188
4188
|
// Inline function 'kotlin.text.substring' call
|
|
4189
|
-
var this_0 = this.
|
|
4189
|
+
var this_0 = this.t1f();
|
|
4190
4190
|
return toString_0(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4191
4191
|
};
|
|
4192
|
-
protoOf(AbstractJsonLexer).
|
|
4193
|
-
if (!(this.
|
|
4192
|
+
protoOf(AbstractJsonLexer).h1b = function () {
|
|
4193
|
+
if (!(this.v16_1 == null)) {
|
|
4194
4194
|
return takePeeked(this);
|
|
4195
4195
|
}
|
|
4196
|
-
return this.
|
|
4196
|
+
return this.x1c();
|
|
4197
4197
|
};
|
|
4198
4198
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4199
4199
|
var currentPosition = current;
|
|
@@ -4203,19 +4203,19 @@
|
|
|
4203
4203
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4204
4204
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4205
4205
|
usedAppend = true;
|
|
4206
|
-
currentPosition = this.
|
|
4206
|
+
currentPosition = this.u1f(appendEscape(this, lastPosition, currentPosition));
|
|
4207
4207
|
if (currentPosition === -1) {
|
|
4208
|
-
this.
|
|
4208
|
+
this.d1a('Unexpected EOF', currentPosition);
|
|
4209
4209
|
}
|
|
4210
4210
|
lastPosition = currentPosition;
|
|
4211
4211
|
} else {
|
|
4212
4212
|
currentPosition = currentPosition + 1 | 0;
|
|
4213
4213
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4214
4214
|
usedAppend = true;
|
|
4215
|
-
this.
|
|
4216
|
-
currentPosition = this.
|
|
4215
|
+
this.s1f(lastPosition, currentPosition);
|
|
4216
|
+
currentPosition = this.u1f(currentPosition);
|
|
4217
4217
|
if (currentPosition === -1) {
|
|
4218
|
-
this.
|
|
4218
|
+
this.d1a('Unexpected EOF', currentPosition);
|
|
4219
4219
|
}
|
|
4220
4220
|
lastPosition = currentPosition;
|
|
4221
4221
|
}
|
|
@@ -4224,45 +4224,45 @@
|
|
|
4224
4224
|
}
|
|
4225
4225
|
var tmp;
|
|
4226
4226
|
if (!usedAppend) {
|
|
4227
|
-
tmp = this.
|
|
4227
|
+
tmp = this.a1g(lastPosition, currentPosition);
|
|
4228
4228
|
} else {
|
|
4229
4229
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4230
4230
|
}
|
|
4231
4231
|
var string = tmp;
|
|
4232
|
-
this.
|
|
4232
|
+
this.t16_1 = currentPosition + 1 | 0;
|
|
4233
4233
|
return string;
|
|
4234
4234
|
};
|
|
4235
|
-
protoOf(AbstractJsonLexer).
|
|
4236
|
-
var result = this.
|
|
4235
|
+
protoOf(AbstractJsonLexer).y1c = function () {
|
|
4236
|
+
var result = this.i1b();
|
|
4237
4237
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4238
|
-
this.
|
|
4238
|
+
this.d1a("Unexpected 'null' value instead of string literal");
|
|
4239
4239
|
}
|
|
4240
4240
|
return result;
|
|
4241
4241
|
};
|
|
4242
|
-
protoOf(AbstractJsonLexer).
|
|
4243
|
-
if (!(this.
|
|
4242
|
+
protoOf(AbstractJsonLexer).i1b = function () {
|
|
4243
|
+
if (!(this.v16_1 == null)) {
|
|
4244
4244
|
return takePeeked(this);
|
|
4245
4245
|
}
|
|
4246
|
-
var current = this.
|
|
4247
|
-
if (current >= charSequenceLength(this.
|
|
4248
|
-
this.
|
|
4246
|
+
var current = this.w1f();
|
|
4247
|
+
if (current >= charSequenceLength(this.t1f()) || current === -1) {
|
|
4248
|
+
this.d1a('EOF', current);
|
|
4249
4249
|
}
|
|
4250
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4250
|
+
var token = charToTokenClass(charSequenceGet(this.t1f(), current));
|
|
4251
4251
|
if (token === 1) {
|
|
4252
|
-
return this.
|
|
4252
|
+
return this.h1b();
|
|
4253
4253
|
}
|
|
4254
4254
|
if (!(token === 0)) {
|
|
4255
|
-
this.
|
|
4255
|
+
this.d1a('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.t1f(), current)));
|
|
4256
4256
|
}
|
|
4257
4257
|
var usedAppend = false;
|
|
4258
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4258
|
+
while (charToTokenClass(charSequenceGet(this.t1f(), current)) === 0) {
|
|
4259
4259
|
current = current + 1 | 0;
|
|
4260
|
-
if (current >= charSequenceLength(this.
|
|
4260
|
+
if (current >= charSequenceLength(this.t1f())) {
|
|
4261
4261
|
usedAppend = true;
|
|
4262
|
-
this.
|
|
4263
|
-
var eof = this.
|
|
4262
|
+
this.s1f(this.t16_1, current);
|
|
4263
|
+
var eof = this.u1f(current);
|
|
4264
4264
|
if (eof === -1) {
|
|
4265
|
-
this.
|
|
4265
|
+
this.t16_1 = current;
|
|
4266
4266
|
return decodedString(this, 0, 0);
|
|
4267
4267
|
} else {
|
|
4268
4268
|
current = eof;
|
|
@@ -4271,32 +4271,32 @@
|
|
|
4271
4271
|
}
|
|
4272
4272
|
var tmp;
|
|
4273
4273
|
if (!usedAppend) {
|
|
4274
|
-
tmp = this.
|
|
4274
|
+
tmp = this.a1g(this.t16_1, current);
|
|
4275
4275
|
} else {
|
|
4276
|
-
tmp = decodedString(this, this.
|
|
4276
|
+
tmp = decodedString(this, this.t16_1, current);
|
|
4277
4277
|
}
|
|
4278
4278
|
var result = tmp;
|
|
4279
|
-
this.
|
|
4279
|
+
this.t16_1 = current;
|
|
4280
4280
|
return result;
|
|
4281
4281
|
};
|
|
4282
|
-
protoOf(AbstractJsonLexer).
|
|
4283
|
-
this.
|
|
4282
|
+
protoOf(AbstractJsonLexer).s1f = function (fromIndex, toIndex) {
|
|
4283
|
+
this.w16_1.mb(this.t1f(), fromIndex, toIndex);
|
|
4284
4284
|
};
|
|
4285
|
-
protoOf(AbstractJsonLexer).
|
|
4285
|
+
protoOf(AbstractJsonLexer).w1c = function (allowLenientStrings) {
|
|
4286
4286
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4287
4287
|
var tokenStack = ArrayList_init_$Create$();
|
|
4288
|
-
var lastToken = this.
|
|
4288
|
+
var lastToken = this.f1b();
|
|
4289
4289
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4290
|
-
this.
|
|
4290
|
+
this.i1b();
|
|
4291
4291
|
return Unit_instance;
|
|
4292
4292
|
}
|
|
4293
4293
|
$l$loop: while (true) {
|
|
4294
|
-
lastToken = this.
|
|
4294
|
+
lastToken = this.f1b();
|
|
4295
4295
|
if (lastToken === 1) {
|
|
4296
4296
|
if (allowLenientStrings)
|
|
4297
|
-
this.
|
|
4297
|
+
this.i1b();
|
|
4298
4298
|
else
|
|
4299
|
-
this.
|
|
4299
|
+
this.x1c();
|
|
4300
4300
|
continue $l$loop;
|
|
4301
4301
|
}
|
|
4302
4302
|
var tmp0_subject = lastToken;
|
|
@@ -4304,29 +4304,29 @@
|
|
|
4304
4304
|
tokenStack.v(lastToken);
|
|
4305
4305
|
} else if (tmp0_subject === 9) {
|
|
4306
4306
|
if (!(last(tokenStack) === 8))
|
|
4307
|
-
throw JsonDecodingException_0(this.
|
|
4307
|
+
throw JsonDecodingException_0(this.t16_1, 'found ] instead of } at path: ' + this.u16_1.toString(), this.t1f());
|
|
4308
4308
|
removeLast(tokenStack);
|
|
4309
4309
|
} else if (tmp0_subject === 7) {
|
|
4310
4310
|
if (!(last(tokenStack) === 6))
|
|
4311
|
-
throw JsonDecodingException_0(this.
|
|
4311
|
+
throw JsonDecodingException_0(this.t16_1, 'found } instead of ] at path: ' + this.u16_1.toString(), this.t1f());
|
|
4312
4312
|
removeLast(tokenStack);
|
|
4313
4313
|
} else if (tmp0_subject === 10) {
|
|
4314
|
-
this.
|
|
4314
|
+
this.d1a('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4315
4315
|
}
|
|
4316
|
-
this.
|
|
4316
|
+
this.k1b();
|
|
4317
4317
|
if (tokenStack.d1() === 0)
|
|
4318
4318
|
return Unit_instance;
|
|
4319
4319
|
}
|
|
4320
4320
|
};
|
|
4321
4321
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4322
|
-
return "JsonReader(source='" + toString_0(this.
|
|
4322
|
+
return "JsonReader(source='" + toString_0(this.t1f()) + "', currentPosition=" + this.t16_1 + ')';
|
|
4323
4323
|
};
|
|
4324
|
-
protoOf(AbstractJsonLexer).
|
|
4325
|
-
var processed = this.
|
|
4324
|
+
protoOf(AbstractJsonLexer).v1c = function (key) {
|
|
4325
|
+
var processed = this.a1g(0, this.t16_1);
|
|
4326
4326
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4327
|
-
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.
|
|
4327
|
+
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.u16_1.q1a() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString_0(minify(this.t1f(), lastIndexOf_0))));
|
|
4328
4328
|
};
|
|
4329
|
-
protoOf(AbstractJsonLexer).
|
|
4329
|
+
protoOf(AbstractJsonLexer).c1a = function (message, position, hint) {
|
|
4330
4330
|
var tmp;
|
|
4331
4331
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4332
4332
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4335,24 +4335,24 @@
|
|
|
4335
4335
|
tmp = '\n' + hint;
|
|
4336
4336
|
}
|
|
4337
4337
|
var hintMessage = tmp;
|
|
4338
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4338
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.u16_1.q1a() + hintMessage, this.t1f());
|
|
4339
4339
|
};
|
|
4340
|
-
protoOf(AbstractJsonLexer).
|
|
4341
|
-
position = position === VOID ? this.
|
|
4340
|
+
protoOf(AbstractJsonLexer).d1a = function (message, position, hint, $super) {
|
|
4341
|
+
position = position === VOID ? this.t16_1 : position;
|
|
4342
4342
|
hint = hint === VOID ? '' : hint;
|
|
4343
|
-
return $super === VOID ? this.
|
|
4343
|
+
return $super === VOID ? this.c1a(message, position, hint) : $super.c1a.call(this, message, position, hint);
|
|
4344
4344
|
};
|
|
4345
|
-
protoOf(AbstractJsonLexer).
|
|
4346
|
-
var current = this.
|
|
4347
|
-
current = this.
|
|
4348
|
-
if (current >= charSequenceLength(this.
|
|
4349
|
-
this.
|
|
4345
|
+
protoOf(AbstractJsonLexer).g1d = function () {
|
|
4346
|
+
var current = this.w1f();
|
|
4347
|
+
current = this.u1f(current);
|
|
4348
|
+
if (current >= charSequenceLength(this.t1f()) || current === -1) {
|
|
4349
|
+
this.d1a('EOF');
|
|
4350
4350
|
}
|
|
4351
4351
|
var tmp;
|
|
4352
|
-
if (charSequenceGet(this.
|
|
4352
|
+
if (charSequenceGet(this.t1f(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4353
4353
|
current = current + 1 | 0;
|
|
4354
|
-
if (current === charSequenceLength(this.
|
|
4355
|
-
this.
|
|
4354
|
+
if (current === charSequenceLength(this.t1f())) {
|
|
4355
|
+
this.d1a('EOF');
|
|
4356
4356
|
}
|
|
4357
4357
|
tmp = true;
|
|
4358
4358
|
} else {
|
|
@@ -4365,11 +4365,11 @@
|
|
|
4365
4365
|
var isExponentPositive = false;
|
|
4366
4366
|
var hasExponent = false;
|
|
4367
4367
|
var start = current;
|
|
4368
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4369
|
-
var ch = charSequenceGet(this.
|
|
4368
|
+
$l$loop_4: while (!(current === charSequenceLength(this.t1f()))) {
|
|
4369
|
+
var ch = charSequenceGet(this.t1f(), current);
|
|
4370
4370
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4371
4371
|
if (current === start) {
|
|
4372
|
-
this.
|
|
4372
|
+
this.d1a('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4373
4373
|
}
|
|
4374
4374
|
isExponentPositive = true;
|
|
4375
4375
|
hasExponent = true;
|
|
@@ -4378,7 +4378,7 @@
|
|
|
4378
4378
|
}
|
|
4379
4379
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4380
4380
|
if (current === start) {
|
|
4381
|
-
this.
|
|
4381
|
+
this.d1a("Unexpected symbol '-' in numeric literal");
|
|
4382
4382
|
}
|
|
4383
4383
|
isExponentPositive = false;
|
|
4384
4384
|
current = current + 1 | 0;
|
|
@@ -4386,7 +4386,7 @@
|
|
|
4386
4386
|
}
|
|
4387
4387
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4388
4388
|
if (current === start) {
|
|
4389
|
-
this.
|
|
4389
|
+
this.d1a("Unexpected symbol '+' in numeric literal");
|
|
4390
4390
|
}
|
|
4391
4391
|
isExponentPositive = true;
|
|
4392
4392
|
current = current + 1 | 0;
|
|
@@ -4394,7 +4394,7 @@
|
|
|
4394
4394
|
}
|
|
4395
4395
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4396
4396
|
if (!(current === start)) {
|
|
4397
|
-
this.
|
|
4397
|
+
this.d1a("Unexpected symbol '-' in numeric literal");
|
|
4398
4398
|
}
|
|
4399
4399
|
isNegative = true;
|
|
4400
4400
|
current = current + 1 | 0;
|
|
@@ -4406,7 +4406,7 @@
|
|
|
4406
4406
|
current = current + 1 | 0;
|
|
4407
4407
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4408
4408
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4409
|
-
this.
|
|
4409
|
+
this.d1a("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4410
4410
|
}
|
|
4411
4411
|
if (hasExponent) {
|
|
4412
4412
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4422,31 +4422,31 @@
|
|
|
4422
4422
|
var this_3 = multiply(this_2, fromInt(10));
|
|
4423
4423
|
accumulator = subtract(this_3, fromInt(digit));
|
|
4424
4424
|
if (compare(accumulator, new Long(0, 0)) > 0) {
|
|
4425
|
-
this.
|
|
4425
|
+
this.d1a('Numeric value overflow');
|
|
4426
4426
|
}
|
|
4427
4427
|
}
|
|
4428
4428
|
var hasChars = !(current === start);
|
|
4429
4429
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4430
|
-
this.
|
|
4430
|
+
this.d1a('Expected numeric literal');
|
|
4431
4431
|
}
|
|
4432
4432
|
if (hasQuotation) {
|
|
4433
4433
|
if (!hasChars) {
|
|
4434
|
-
this.
|
|
4434
|
+
this.d1a('EOF');
|
|
4435
4435
|
}
|
|
4436
|
-
if (!(charSequenceGet(this.
|
|
4437
|
-
this.
|
|
4436
|
+
if (!(charSequenceGet(this.t1f(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4437
|
+
this.d1a('Expected closing quotation mark');
|
|
4438
4438
|
}
|
|
4439
4439
|
current = current + 1 | 0;
|
|
4440
4440
|
}
|
|
4441
|
-
this.
|
|
4441
|
+
this.t16_1 = current;
|
|
4442
4442
|
if (hasExponent) {
|
|
4443
4443
|
var doubleAccumulator = toNumber(accumulator) * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4444
4444
|
if (doubleAccumulator > toNumber(new Long(-1, 2147483647)) || doubleAccumulator < toNumber(new Long(0, -2147483648))) {
|
|
4445
|
-
this.
|
|
4445
|
+
this.d1a('Numeric value overflow');
|
|
4446
4446
|
}
|
|
4447
4447
|
// Inline function 'kotlin.math.floor' call
|
|
4448
4448
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4449
|
-
this.
|
|
4449
|
+
this.d1a("Can't convert " + doubleAccumulator + ' to Long');
|
|
4450
4450
|
}
|
|
4451
4451
|
accumulator = numberToLong(doubleAccumulator);
|
|
4452
4452
|
}
|
|
@@ -4456,30 +4456,30 @@
|
|
|
4456
4456
|
} else if (!equalsLong(accumulator, new Long(0, -2147483648))) {
|
|
4457
4457
|
tmp_0 = negate(accumulator);
|
|
4458
4458
|
} else {
|
|
4459
|
-
this.
|
|
4459
|
+
this.d1a('Numeric value overflow');
|
|
4460
4460
|
}
|
|
4461
4461
|
return tmp_0;
|
|
4462
4462
|
};
|
|
4463
|
-
protoOf(AbstractJsonLexer).
|
|
4464
|
-
var result = this.
|
|
4465
|
-
var next = this.
|
|
4463
|
+
protoOf(AbstractJsonLexer).b18 = function () {
|
|
4464
|
+
var result = this.g1d();
|
|
4465
|
+
var next = this.k1b();
|
|
4466
4466
|
if (!(next === 10)) {
|
|
4467
4467
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4468
4468
|
var expected = tokenDescription(10);
|
|
4469
|
-
var position = true ? this.
|
|
4470
|
-
var s = this.
|
|
4469
|
+
var position = true ? this.t16_1 - 1 | 0 : this.t16_1;
|
|
4470
|
+
var s = this.t16_1 === charSequenceLength(this.t1f()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.t1f(), position));
|
|
4471
4471
|
var tmp$ret$1 = "Expected input to contain a single valid number, but got '" + s + "' after it";
|
|
4472
|
-
this.
|
|
4472
|
+
this.d1a(tmp$ret$1, position);
|
|
4473
4473
|
}
|
|
4474
4474
|
return result;
|
|
4475
4475
|
};
|
|
4476
|
-
protoOf(AbstractJsonLexer).
|
|
4477
|
-
var current = this.
|
|
4478
|
-
if (current === charSequenceLength(this.
|
|
4479
|
-
this.
|
|
4476
|
+
protoOf(AbstractJsonLexer).f1d = function () {
|
|
4477
|
+
var current = this.w1f();
|
|
4478
|
+
if (current === charSequenceLength(this.t1f())) {
|
|
4479
|
+
this.d1a('EOF');
|
|
4480
4480
|
}
|
|
4481
4481
|
var tmp;
|
|
4482
|
-
if (charSequenceGet(this.
|
|
4482
|
+
if (charSequenceGet(this.t1f(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4483
4483
|
current = current + 1 | 0;
|
|
4484
4484
|
tmp = true;
|
|
4485
4485
|
} else {
|
|
@@ -4488,13 +4488,13 @@
|
|
|
4488
4488
|
var hasQuotation = tmp;
|
|
4489
4489
|
var result = consumeBoolean2(this, current);
|
|
4490
4490
|
if (hasQuotation) {
|
|
4491
|
-
if (this.
|
|
4492
|
-
this.
|
|
4491
|
+
if (this.t16_1 === charSequenceLength(this.t1f())) {
|
|
4492
|
+
this.d1a('EOF');
|
|
4493
4493
|
}
|
|
4494
|
-
if (!(charSequenceGet(this.
|
|
4495
|
-
this.
|
|
4494
|
+
if (!(charSequenceGet(this.t1f(), this.t16_1) === _Char___init__impl__6a9atx(34))) {
|
|
4495
|
+
this.d1a('Expected closing quotation mark');
|
|
4496
4496
|
}
|
|
4497
|
-
this.
|
|
4497
|
+
this.t16_1 = this.t16_1 + 1 | 0;
|
|
4498
4498
|
}
|
|
4499
4499
|
return result;
|
|
4500
4500
|
};
|
|
@@ -4502,7 +4502,7 @@
|
|
|
4502
4502
|
var tmp;
|
|
4503
4503
|
// Inline function 'kotlin.code' call
|
|
4504
4504
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4505
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4505
|
+
var tmp_0 = CharMappings_getInstance().c1g_1;
|
|
4506
4506
|
// Inline function 'kotlin.code' call
|
|
4507
4507
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4508
4508
|
} else {
|
|
@@ -4514,7 +4514,7 @@
|
|
|
4514
4514
|
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';
|
|
4515
4515
|
}
|
|
4516
4516
|
function escapeToChar(c) {
|
|
4517
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4517
|
+
return c < 117 ? CharMappings_getInstance().b1g_1[c] : _Char___init__impl__6a9atx(0);
|
|
4518
4518
|
}
|
|
4519
4519
|
function initEscape($this) {
|
|
4520
4520
|
var inductionVariable = 0;
|
|
@@ -4560,7 +4560,7 @@
|
|
|
4560
4560
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4561
4561
|
// Inline function 'kotlin.code' call
|
|
4562
4562
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4563
|
-
$this.
|
|
4563
|
+
$this.b1g_1[tmp$ret$0] = numberToChar(c);
|
|
4564
4564
|
}
|
|
4565
4565
|
}
|
|
4566
4566
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4569,7 +4569,7 @@
|
|
|
4569
4569
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4570
4570
|
}
|
|
4571
4571
|
function initC2TC($this, c, cl) {
|
|
4572
|
-
$this.
|
|
4572
|
+
$this.c1g_1[c] = cl;
|
|
4573
4573
|
}
|
|
4574
4574
|
function initC2TC_0($this, c, cl) {
|
|
4575
4575
|
// Inline function 'kotlin.code' call
|
|
@@ -4578,8 +4578,8 @@
|
|
|
4578
4578
|
}
|
|
4579
4579
|
function CharMappings() {
|
|
4580
4580
|
CharMappings_instance = this;
|
|
4581
|
-
this.
|
|
4582
|
-
this.
|
|
4581
|
+
this.b1g_1 = charArray(117);
|
|
4582
|
+
this.c1g_1 = new Int8Array(126);
|
|
4583
4583
|
initEscape(this);
|
|
4584
4584
|
initCharToToken(this);
|
|
4585
4585
|
}
|
|
@@ -4592,48 +4592,48 @@
|
|
|
4592
4592
|
function StringJsonLexerWithComments(source) {
|
|
4593
4593
|
StringJsonLexer.call(this, source);
|
|
4594
4594
|
}
|
|
4595
|
-
protoOf(StringJsonLexerWithComments).
|
|
4596
|
-
var source = this.
|
|
4597
|
-
var cpos = this.
|
|
4595
|
+
protoOf(StringJsonLexerWithComments).k1b = function () {
|
|
4596
|
+
var source = this.t1f();
|
|
4597
|
+
var cpos = this.w1f();
|
|
4598
4598
|
if (cpos >= source.length || cpos === -1)
|
|
4599
4599
|
return 10;
|
|
4600
|
-
this.
|
|
4600
|
+
this.t16_1 = cpos + 1 | 0;
|
|
4601
4601
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4602
4602
|
};
|
|
4603
|
-
protoOf(StringJsonLexerWithComments).
|
|
4604
|
-
var current = this.
|
|
4605
|
-
if (current >= this.
|
|
4603
|
+
protoOf(StringJsonLexerWithComments).g1b = function () {
|
|
4604
|
+
var current = this.w1f();
|
|
4605
|
+
if (current >= this.t1f().length || current === -1)
|
|
4606
4606
|
return false;
|
|
4607
|
-
return this.
|
|
4607
|
+
return this.x1f(charCodeAt(this.t1f(), current));
|
|
4608
4608
|
};
|
|
4609
|
-
protoOf(StringJsonLexerWithComments).
|
|
4610
|
-
var source = this.
|
|
4611
|
-
var current = this.
|
|
4609
|
+
protoOf(StringJsonLexerWithComments).r1c = function (expected) {
|
|
4610
|
+
var source = this.t1f();
|
|
4611
|
+
var current = this.w1f();
|
|
4612
4612
|
if (current >= source.length || current === -1) {
|
|
4613
|
-
this.
|
|
4614
|
-
this.
|
|
4613
|
+
this.t16_1 = -1;
|
|
4614
|
+
this.y1f(expected);
|
|
4615
4615
|
}
|
|
4616
4616
|
var c = charCodeAt(source, current);
|
|
4617
|
-
this.
|
|
4617
|
+
this.t16_1 = current + 1 | 0;
|
|
4618
4618
|
if (c === expected)
|
|
4619
4619
|
return Unit_instance;
|
|
4620
4620
|
else {
|
|
4621
|
-
this.
|
|
4621
|
+
this.y1f(expected);
|
|
4622
4622
|
}
|
|
4623
4623
|
};
|
|
4624
|
-
protoOf(StringJsonLexerWithComments).
|
|
4625
|
-
var source = this.
|
|
4626
|
-
var cpos = this.
|
|
4624
|
+
protoOf(StringJsonLexerWithComments).f1b = function () {
|
|
4625
|
+
var source = this.t1f();
|
|
4626
|
+
var cpos = this.w1f();
|
|
4627
4627
|
if (cpos >= source.length || cpos === -1)
|
|
4628
4628
|
return 10;
|
|
4629
|
-
this.
|
|
4629
|
+
this.t16_1 = cpos;
|
|
4630
4630
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4631
4631
|
};
|
|
4632
|
-
protoOf(StringJsonLexerWithComments).
|
|
4633
|
-
var current = this.
|
|
4632
|
+
protoOf(StringJsonLexerWithComments).w1f = function () {
|
|
4633
|
+
var current = this.t16_1;
|
|
4634
4634
|
if (current === -1)
|
|
4635
4635
|
return current;
|
|
4636
|
-
var source = this.
|
|
4636
|
+
var source = this.t1f();
|
|
4637
4637
|
$l$loop_1: while (current < source.length) {
|
|
4638
4638
|
var c = charCodeAt(source, current);
|
|
4639
4639
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4654,8 +4654,8 @@
|
|
|
4654
4654
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4655
4655
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4656
4656
|
if (current === -1) {
|
|
4657
|
-
this.
|
|
4658
|
-
this.
|
|
4657
|
+
this.t16_1 = source.length;
|
|
4658
|
+
this.d1a('Expected end of the block comment: "*/", but had EOF instead');
|
|
4659
4659
|
} else {
|
|
4660
4660
|
current = current + 2 | 0;
|
|
4661
4661
|
}
|
|
@@ -4664,22 +4664,22 @@
|
|
|
4664
4664
|
}
|
|
4665
4665
|
break $l$loop_1;
|
|
4666
4666
|
}
|
|
4667
|
-
this.
|
|
4667
|
+
this.t16_1 = current;
|
|
4668
4668
|
return current;
|
|
4669
4669
|
};
|
|
4670
4670
|
function StringJsonLexer(source) {
|
|
4671
4671
|
AbstractJsonLexer.call(this);
|
|
4672
|
-
this.
|
|
4672
|
+
this.m1g_1 = source;
|
|
4673
4673
|
}
|
|
4674
|
-
protoOf(StringJsonLexer).
|
|
4675
|
-
return this.
|
|
4674
|
+
protoOf(StringJsonLexer).t1f = function () {
|
|
4675
|
+
return this.m1g_1;
|
|
4676
4676
|
};
|
|
4677
|
-
protoOf(StringJsonLexer).
|
|
4678
|
-
return position < this.
|
|
4677
|
+
protoOf(StringJsonLexer).u1f = function (position) {
|
|
4678
|
+
return position < this.t1f().length ? position : -1;
|
|
4679
4679
|
};
|
|
4680
|
-
protoOf(StringJsonLexer).
|
|
4681
|
-
var source = this.
|
|
4682
|
-
var cpos = this.
|
|
4680
|
+
protoOf(StringJsonLexer).k1b = function () {
|
|
4681
|
+
var source = this.t1f();
|
|
4682
|
+
var cpos = this.t16_1;
|
|
4683
4683
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4684
4684
|
var _unary__edvuaz = cpos;
|
|
4685
4685
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4687,17 +4687,17 @@
|
|
|
4687
4687
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4688
4688
|
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))
|
|
4689
4689
|
continue $l$loop;
|
|
4690
|
-
this.
|
|
4690
|
+
this.t16_1 = cpos;
|
|
4691
4691
|
return charToTokenClass(c);
|
|
4692
4692
|
}
|
|
4693
|
-
this.
|
|
4693
|
+
this.t16_1 = source.length;
|
|
4694
4694
|
return 10;
|
|
4695
4695
|
};
|
|
4696
|
-
protoOf(StringJsonLexer).
|
|
4697
|
-
var current = this.
|
|
4696
|
+
protoOf(StringJsonLexer).g1b = function () {
|
|
4697
|
+
var current = this.t16_1;
|
|
4698
4698
|
if (current === -1)
|
|
4699
4699
|
return false;
|
|
4700
|
-
var source = this.
|
|
4700
|
+
var source = this.t1f();
|
|
4701
4701
|
$l$loop: while (current < source.length) {
|
|
4702
4702
|
var c = charCodeAt(source, current);
|
|
4703
4703
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4705,17 +4705,17 @@
|
|
|
4705
4705
|
current = current + 1 | 0;
|
|
4706
4706
|
continue $l$loop;
|
|
4707
4707
|
}
|
|
4708
|
-
this.
|
|
4709
|
-
return this.
|
|
4708
|
+
this.t16_1 = current;
|
|
4709
|
+
return this.x1f(c);
|
|
4710
4710
|
}
|
|
4711
|
-
this.
|
|
4711
|
+
this.t16_1 = current;
|
|
4712
4712
|
return false;
|
|
4713
4713
|
};
|
|
4714
|
-
protoOf(StringJsonLexer).
|
|
4715
|
-
var current = this.
|
|
4714
|
+
protoOf(StringJsonLexer).w1f = function () {
|
|
4715
|
+
var current = this.t16_1;
|
|
4716
4716
|
if (current === -1)
|
|
4717
4717
|
return current;
|
|
4718
|
-
var source = this.
|
|
4718
|
+
var source = this.t1f();
|
|
4719
4719
|
$l$loop: while (current < source.length) {
|
|
4720
4720
|
var c = charCodeAt(source, current);
|
|
4721
4721
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4725,15 +4725,15 @@
|
|
|
4725
4725
|
break $l$loop;
|
|
4726
4726
|
}
|
|
4727
4727
|
}
|
|
4728
|
-
this.
|
|
4728
|
+
this.t16_1 = current;
|
|
4729
4729
|
return current;
|
|
4730
4730
|
};
|
|
4731
|
-
protoOf(StringJsonLexer).
|
|
4732
|
-
if (this.
|
|
4733
|
-
this.
|
|
4731
|
+
protoOf(StringJsonLexer).r1c = function (expected) {
|
|
4732
|
+
if (this.t16_1 === -1) {
|
|
4733
|
+
this.y1f(expected);
|
|
4734
4734
|
}
|
|
4735
|
-
var source = this.
|
|
4736
|
-
var cpos = this.
|
|
4735
|
+
var source = this.t1f();
|
|
4736
|
+
var cpos = this.t16_1;
|
|
4737
4737
|
$l$loop: while (cpos < source.length) {
|
|
4738
4738
|
var _unary__edvuaz = cpos;
|
|
4739
4739
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4741,91 +4741,91 @@
|
|
|
4741
4741
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4742
4742
|
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))
|
|
4743
4743
|
continue $l$loop;
|
|
4744
|
-
this.
|
|
4744
|
+
this.t16_1 = cpos;
|
|
4745
4745
|
if (c === expected)
|
|
4746
4746
|
return Unit_instance;
|
|
4747
|
-
this.
|
|
4747
|
+
this.y1f(expected);
|
|
4748
4748
|
}
|
|
4749
|
-
this.
|
|
4750
|
-
this.
|
|
4749
|
+
this.t16_1 = -1;
|
|
4750
|
+
this.y1f(expected);
|
|
4751
4751
|
};
|
|
4752
|
-
protoOf(StringJsonLexer).
|
|
4753
|
-
this.
|
|
4754
|
-
var current = this.
|
|
4755
|
-
var closingQuote = indexOf_0(this.
|
|
4752
|
+
protoOf(StringJsonLexer).x1c = function () {
|
|
4753
|
+
this.r1c(_Char___init__impl__6a9atx(34));
|
|
4754
|
+
var current = this.t16_1;
|
|
4755
|
+
var closingQuote = indexOf_0(this.t1f(), _Char___init__impl__6a9atx(34), current);
|
|
4756
4756
|
if (closingQuote === -1) {
|
|
4757
|
-
this.
|
|
4757
|
+
this.i1b();
|
|
4758
4758
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4759
4759
|
var expected = tokenDescription(1);
|
|
4760
|
-
var position = false ? this.
|
|
4761
|
-
var s = this.
|
|
4760
|
+
var position = false ? this.t16_1 - 1 | 0 : this.t16_1;
|
|
4761
|
+
var s = this.t16_1 === charSequenceLength(this.t1f()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.t1f(), position));
|
|
4762
4762
|
var tmp$ret$1 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
4763
|
-
this.
|
|
4763
|
+
this.d1a(tmp$ret$1, position);
|
|
4764
4764
|
}
|
|
4765
4765
|
var inductionVariable = current;
|
|
4766
4766
|
if (inductionVariable < closingQuote)
|
|
4767
4767
|
do {
|
|
4768
4768
|
var i = inductionVariable;
|
|
4769
4769
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4770
|
-
if (charCodeAt(this.
|
|
4771
|
-
return this.consumeString2(this.
|
|
4770
|
+
if (charCodeAt(this.t1f(), i) === _Char___init__impl__6a9atx(92)) {
|
|
4771
|
+
return this.consumeString2(this.t1f(), this.t16_1, i);
|
|
4772
4772
|
}
|
|
4773
4773
|
}
|
|
4774
4774
|
while (inductionVariable < closingQuote);
|
|
4775
|
-
this.
|
|
4776
|
-
return substring(this.
|
|
4775
|
+
this.t16_1 = closingQuote + 1 | 0;
|
|
4776
|
+
return substring(this.t1f(), current, closingQuote);
|
|
4777
4777
|
};
|
|
4778
|
-
protoOf(StringJsonLexer).
|
|
4779
|
-
var positionSnapshot = this.
|
|
4778
|
+
protoOf(StringJsonLexer).z1c = function (keyToMatch, isLenient) {
|
|
4779
|
+
var positionSnapshot = this.t16_1;
|
|
4780
4780
|
try {
|
|
4781
|
-
if (!(this.
|
|
4781
|
+
if (!(this.k1b() === 6))
|
|
4782
4782
|
return null;
|
|
4783
|
-
var firstKey = this.
|
|
4783
|
+
var firstKey = this.u1c(isLenient);
|
|
4784
4784
|
if (!(firstKey === keyToMatch))
|
|
4785
4785
|
return null;
|
|
4786
|
-
this.
|
|
4787
|
-
if (!(this.
|
|
4786
|
+
this.z1f();
|
|
4787
|
+
if (!(this.k1b() === 5))
|
|
4788
4788
|
return null;
|
|
4789
|
-
return this.
|
|
4789
|
+
return this.u1c(isLenient);
|
|
4790
4790
|
}finally {
|
|
4791
|
-
this.
|
|
4792
|
-
this.
|
|
4791
|
+
this.t16_1 = positionSnapshot;
|
|
4792
|
+
this.z1f();
|
|
4793
4793
|
}
|
|
4794
4794
|
};
|
|
4795
4795
|
function StringJsonLexer_0(json, source) {
|
|
4796
|
-
return !json.
|
|
4796
|
+
return !json.d16_1.n17_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
4797
4797
|
}
|
|
4798
4798
|
function get_schemaCache(_this__u8e3s4) {
|
|
4799
|
-
return _this__u8e3s4.
|
|
4799
|
+
return _this__u8e3s4.f16_1;
|
|
4800
4800
|
}
|
|
4801
4801
|
function JsonToStringWriter() {
|
|
4802
|
-
this.
|
|
4802
|
+
this.j16_1 = StringBuilder_init_$Create$_0(128);
|
|
4803
4803
|
}
|
|
4804
|
-
protoOf(JsonToStringWriter).
|
|
4805
|
-
this.
|
|
4804
|
+
protoOf(JsonToStringWriter).h19 = function (value) {
|
|
4805
|
+
this.j16_1.pb(value);
|
|
4806
4806
|
};
|
|
4807
|
-
protoOf(JsonToStringWriter).
|
|
4808
|
-
this.
|
|
4807
|
+
protoOf(JsonToStringWriter).b19 = function (char) {
|
|
4808
|
+
this.j16_1.q(char);
|
|
4809
4809
|
};
|
|
4810
|
-
protoOf(JsonToStringWriter).
|
|
4811
|
-
this.
|
|
4810
|
+
protoOf(JsonToStringWriter).d19 = function (text) {
|
|
4811
|
+
this.j16_1.o(text);
|
|
4812
4812
|
};
|
|
4813
|
-
protoOf(JsonToStringWriter).
|
|
4814
|
-
printQuoted(this.
|
|
4813
|
+
protoOf(JsonToStringWriter).n19 = function (text) {
|
|
4814
|
+
printQuoted(this.j16_1, text);
|
|
4815
4815
|
};
|
|
4816
|
-
protoOf(JsonToStringWriter).
|
|
4817
|
-
this.
|
|
4816
|
+
protoOf(JsonToStringWriter).k16 = function () {
|
|
4817
|
+
this.j16_1.sb();
|
|
4818
4818
|
};
|
|
4819
4819
|
protoOf(JsonToStringWriter).toString = function () {
|
|
4820
|
-
return this.
|
|
4820
|
+
return this.j16_1.toString();
|
|
4821
4821
|
};
|
|
4822
4822
|
function createMapForCache(initialCapacity) {
|
|
4823
4823
|
return HashMap_init_$Create$(initialCapacity);
|
|
4824
4824
|
}
|
|
4825
4825
|
//region block: post-declaration
|
|
4826
|
-
protoOf(defer$1).
|
|
4827
|
-
protoOf(defer$1).
|
|
4828
|
-
protoOf(defer$1).
|
|
4826
|
+
protoOf(defer$1).io = get_isNullable;
|
|
4827
|
+
protoOf(defer$1).oo = get_isInline;
|
|
4828
|
+
protoOf(defer$1).qo = get_annotations;
|
|
4829
4829
|
//endregion
|
|
4830
4830
|
//region block: init
|
|
4831
4831
|
Companion_instance = new Companion();
|