git-semver-tagger 1.6.4 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/kotlin/clikt-clikt-mordant.js +77 -77
- package/kotlin/clikt-clikt.js +1303 -1303
- package/kotlin/colormath-root-colormath.js +424 -424
- package/kotlin/command-line-tools-tagger-cli.js +160 -144
- package/kotlin/command-line-tools-tagger-cli.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +954 -954
- package/kotlin/mordant-mordant.js +1185 -1185
- package/kotlin/tools-tagger-core.js +178 -120
- package/kotlin/tools-tagger-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -240,21 +240,21 @@
|
|
|
240
240
|
}
|
|
241
241
|
function Json(configuration, serializersModule) {
|
|
242
242
|
Default_getInstance();
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
243
|
+
this.g2q_1 = configuration;
|
|
244
|
+
this.h2q_1 = serializersModule;
|
|
245
|
+
this.i2q_1 = new DescriptorSchemaCache();
|
|
246
246
|
}
|
|
247
247
|
protoOf(Json).hp = function () {
|
|
248
|
-
return this.
|
|
248
|
+
return this.h2q_1;
|
|
249
249
|
};
|
|
250
|
-
protoOf(Json).
|
|
250
|
+
protoOf(Json).j2q = function (deserializer, string) {
|
|
251
251
|
var lexer = StringJsonLexer_0(this, string);
|
|
252
252
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.nl(), null);
|
|
253
253
|
var result = input.ro(deserializer);
|
|
254
|
-
lexer.
|
|
254
|
+
lexer.x2q();
|
|
255
255
|
return result;
|
|
256
256
|
};
|
|
257
|
-
protoOf(Json).
|
|
257
|
+
protoOf(Json).k2q = function (serializer, value) {
|
|
258
258
|
return writeJson(this, value, serializer);
|
|
259
259
|
};
|
|
260
260
|
function JsonClassDiscriminator() {
|
|
@@ -279,26 +279,26 @@
|
|
|
279
279
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
280
280
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
281
281
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
286
|
-
this.
|
|
287
|
-
this.
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
298
|
-
this.
|
|
282
|
+
this.y2q_1 = encodeDefaults;
|
|
283
|
+
this.z2q_1 = ignoreUnknownKeys;
|
|
284
|
+
this.a2r_1 = isLenient;
|
|
285
|
+
this.b2r_1 = allowStructuredMapKeys;
|
|
286
|
+
this.c2r_1 = prettyPrint;
|
|
287
|
+
this.d2r_1 = explicitNulls;
|
|
288
|
+
this.e2r_1 = prettyPrintIndent;
|
|
289
|
+
this.f2r_1 = coerceInputValues;
|
|
290
|
+
this.g2r_1 = useArrayPolymorphism;
|
|
291
|
+
this.h2r_1 = classDiscriminator;
|
|
292
|
+
this.i2r_1 = allowSpecialFloatingPointValues;
|
|
293
|
+
this.j2r_1 = useAlternativeNames;
|
|
294
|
+
this.k2r_1 = namingStrategy;
|
|
295
|
+
this.l2r_1 = decodeEnumsCaseInsensitive;
|
|
296
|
+
this.m2r_1 = allowTrailingComma;
|
|
297
|
+
this.n2r_1 = allowComments;
|
|
298
|
+
this.o2r_1 = classDiscriminatorMode;
|
|
299
299
|
}
|
|
300
300
|
protoOf(JsonConfiguration).toString = function () {
|
|
301
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
301
|
+
return 'JsonConfiguration(encodeDefaults=' + this.y2q_1 + ', ignoreUnknownKeys=' + this.z2q_1 + ', isLenient=' + this.a2r_1 + ', ' + ('allowStructuredMapKeys=' + this.b2r_1 + ', prettyPrint=' + this.c2r_1 + ', explicitNulls=' + this.d2r_1 + ', ') + ("prettyPrintIndent='" + this.e2r_1 + "', coerceInputValues=" + this.f2r_1 + ', useArrayPolymorphism=' + this.g2r_1 + ', ') + ("classDiscriminator='" + this.h2r_1 + "', allowSpecialFloatingPointValues=" + this.i2r_1 + ', ') + ('useAlternativeNames=' + this.j2r_1 + ', namingStrategy=' + toString(this.k2r_1) + ', decodeEnumsCaseInsensitive=' + this.l2r_1 + ', ') + ('allowTrailingComma=' + this.m2r_1 + ', allowComments=' + this.n2r_1 + ', classDiscriminatorMode=' + this.o2r_1.toString() + ')');
|
|
302
302
|
};
|
|
303
303
|
var ClassDiscriminatorMode_NONE_instance;
|
|
304
304
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -360,28 +360,28 @@
|
|
|
360
360
|
}
|
|
361
361
|
function JsonObject(content) {
|
|
362
362
|
JsonElement.call(this);
|
|
363
|
-
this.
|
|
363
|
+
this.r2r_1 = content;
|
|
364
364
|
}
|
|
365
365
|
protoOf(JsonObject).equals = function (other) {
|
|
366
|
-
return equals(this.
|
|
366
|
+
return equals(this.r2r_1, other);
|
|
367
367
|
};
|
|
368
368
|
protoOf(JsonObject).hashCode = function () {
|
|
369
|
-
return hashCode(this.
|
|
369
|
+
return hashCode(this.r2r_1);
|
|
370
370
|
};
|
|
371
371
|
protoOf(JsonObject).toString = function () {
|
|
372
|
-
var tmp = this.
|
|
372
|
+
var tmp = this.r2r_1.x();
|
|
373
373
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
374
374
|
};
|
|
375
|
-
protoOf(JsonObject).
|
|
376
|
-
return this.
|
|
375
|
+
protoOf(JsonObject).s2r = function (key) {
|
|
376
|
+
return this.r2r_1.c2(key);
|
|
377
377
|
};
|
|
378
378
|
protoOf(JsonObject).c2 = function (key) {
|
|
379
379
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
380
380
|
return false;
|
|
381
|
-
return this.
|
|
381
|
+
return this.s2r((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
382
382
|
};
|
|
383
383
|
protoOf(JsonObject).md = function (key) {
|
|
384
|
-
return this.
|
|
384
|
+
return this.r2r_1.e2(key);
|
|
385
385
|
};
|
|
386
386
|
protoOf(JsonObject).e2 = function (key) {
|
|
387
387
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
@@ -389,19 +389,19 @@
|
|
|
389
389
|
return this.md((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
390
390
|
};
|
|
391
391
|
protoOf(JsonObject).m = function () {
|
|
392
|
-
return this.
|
|
392
|
+
return this.r2r_1.m();
|
|
393
393
|
};
|
|
394
394
|
protoOf(JsonObject).x = function () {
|
|
395
|
-
return this.
|
|
395
|
+
return this.r2r_1.x();
|
|
396
396
|
};
|
|
397
397
|
protoOf(JsonObject).f2 = function () {
|
|
398
|
-
return this.
|
|
398
|
+
return this.r2r_1.f2();
|
|
399
399
|
};
|
|
400
400
|
protoOf(JsonObject).s = function () {
|
|
401
|
-
return this.
|
|
401
|
+
return this.r2r_1.s();
|
|
402
402
|
};
|
|
403
403
|
protoOf(JsonObject).g2 = function () {
|
|
404
|
-
return this.
|
|
404
|
+
return this.r2r_1.g2();
|
|
405
405
|
};
|
|
406
406
|
function Companion_1() {
|
|
407
407
|
}
|
|
@@ -411,50 +411,50 @@
|
|
|
411
411
|
}
|
|
412
412
|
function JsonArray(content) {
|
|
413
413
|
JsonElement.call(this);
|
|
414
|
-
this.
|
|
414
|
+
this.t2r_1 = content;
|
|
415
415
|
}
|
|
416
416
|
protoOf(JsonArray).equals = function (other) {
|
|
417
|
-
return equals(this.
|
|
417
|
+
return equals(this.t2r_1, other);
|
|
418
418
|
};
|
|
419
419
|
protoOf(JsonArray).hashCode = function () {
|
|
420
|
-
return hashCode(this.
|
|
420
|
+
return hashCode(this.t2r_1);
|
|
421
421
|
};
|
|
422
422
|
protoOf(JsonArray).toString = function () {
|
|
423
|
-
return joinToString(this.
|
|
423
|
+
return joinToString(this.t2r_1, ',', '[', ']');
|
|
424
424
|
};
|
|
425
|
-
protoOf(JsonArray).
|
|
426
|
-
return this.
|
|
425
|
+
protoOf(JsonArray).u2r = function (element) {
|
|
426
|
+
return this.t2r_1.l1(element);
|
|
427
427
|
};
|
|
428
428
|
protoOf(JsonArray).l1 = function (element) {
|
|
429
429
|
if (!(element instanceof JsonElement))
|
|
430
430
|
return false;
|
|
431
|
-
return this.
|
|
431
|
+
return this.u2r(element instanceof JsonElement ? element : THROW_CCE());
|
|
432
432
|
};
|
|
433
433
|
protoOf(JsonArray).t = function (index) {
|
|
434
|
-
return this.
|
|
434
|
+
return this.t2r_1.t(index);
|
|
435
435
|
};
|
|
436
|
-
protoOf(JsonArray).
|
|
437
|
-
return this.
|
|
436
|
+
protoOf(JsonArray).v2r = function (element) {
|
|
437
|
+
return this.t2r_1.z1(element);
|
|
438
438
|
};
|
|
439
439
|
protoOf(JsonArray).z1 = function (element) {
|
|
440
440
|
if (!(element instanceof JsonElement))
|
|
441
441
|
return -1;
|
|
442
|
-
return this.
|
|
442
|
+
return this.v2r(element instanceof JsonElement ? element : THROW_CCE());
|
|
443
443
|
};
|
|
444
444
|
protoOf(JsonArray).m = function () {
|
|
445
|
-
return this.
|
|
445
|
+
return this.t2r_1.m();
|
|
446
446
|
};
|
|
447
447
|
protoOf(JsonArray).p = function () {
|
|
448
|
-
return this.
|
|
448
|
+
return this.t2r_1.p();
|
|
449
449
|
};
|
|
450
450
|
protoOf(JsonArray).v = function (index) {
|
|
451
|
-
return this.
|
|
451
|
+
return this.t2r_1.v(index);
|
|
452
452
|
};
|
|
453
453
|
protoOf(JsonArray).a2 = function (fromIndex, toIndex) {
|
|
454
|
-
return this.
|
|
454
|
+
return this.t2r_1.a2(fromIndex, toIndex);
|
|
455
455
|
};
|
|
456
456
|
protoOf(JsonArray).s = function () {
|
|
457
|
-
return this.
|
|
457
|
+
return this.t2r_1.s();
|
|
458
458
|
};
|
|
459
459
|
function Companion_2() {
|
|
460
460
|
}
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
JsonElement.call(this);
|
|
467
467
|
}
|
|
468
468
|
protoOf(JsonPrimitive).toString = function () {
|
|
469
|
-
return this.
|
|
469
|
+
return this.w2r();
|
|
470
470
|
};
|
|
471
471
|
function get_jsonPrimitive(_this__u8e3s4) {
|
|
472
472
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -486,16 +486,16 @@
|
|
|
486
486
|
function JsonNull() {
|
|
487
487
|
JsonNull_instance = this;
|
|
488
488
|
JsonPrimitive.call(this);
|
|
489
|
-
this.
|
|
489
|
+
this.x2r_1 = 'null';
|
|
490
490
|
}
|
|
491
|
-
protoOf(JsonNull).
|
|
492
|
-
return this.
|
|
491
|
+
protoOf(JsonNull).w2r = function () {
|
|
492
|
+
return this.x2r_1;
|
|
493
493
|
};
|
|
494
|
-
protoOf(JsonNull).
|
|
494
|
+
protoOf(JsonNull).y2r = function () {
|
|
495
495
|
return JsonNullSerializer_getInstance();
|
|
496
496
|
};
|
|
497
497
|
protoOf(JsonNull).ow = function (typeParamsSerializers) {
|
|
498
|
-
return this.
|
|
498
|
+
return this.y2r();
|
|
499
499
|
};
|
|
500
500
|
var JsonNull_instance;
|
|
501
501
|
function JsonNull_getInstance() {
|
|
@@ -506,33 +506,33 @@
|
|
|
506
506
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
507
507
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
508
508
|
JsonPrimitive.call(this);
|
|
509
|
-
this.
|
|
510
|
-
this.
|
|
511
|
-
this.
|
|
512
|
-
if (!(this.
|
|
509
|
+
this.z2r_1 = isString;
|
|
510
|
+
this.a2s_1 = coerceToInlineType;
|
|
511
|
+
this.b2s_1 = toString_0(body);
|
|
512
|
+
if (!(this.a2s_1 == null)) {
|
|
513
513
|
// Inline function 'kotlin.require' call
|
|
514
514
|
// Inline function 'kotlin.require' call
|
|
515
|
-
if (!this.
|
|
515
|
+
if (!this.a2s_1.bn()) {
|
|
516
516
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
517
517
|
var message = 'Failed requirement.';
|
|
518
518
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
protoOf(JsonLiteral).
|
|
523
|
-
return this.
|
|
522
|
+
protoOf(JsonLiteral).w2r = function () {
|
|
523
|
+
return this.b2s_1;
|
|
524
524
|
};
|
|
525
525
|
protoOf(JsonLiteral).toString = function () {
|
|
526
526
|
var tmp;
|
|
527
|
-
if (this.
|
|
527
|
+
if (this.z2r_1) {
|
|
528
528
|
// Inline function 'kotlin.text.buildString' call
|
|
529
529
|
// Inline function 'kotlin.apply' call
|
|
530
530
|
var this_0 = StringBuilder_init_$Create$();
|
|
531
531
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
532
|
-
printQuoted(this_0, this.
|
|
532
|
+
printQuoted(this_0, this.b2s_1);
|
|
533
533
|
tmp = this_0.toString();
|
|
534
534
|
} else {
|
|
535
|
-
tmp = this.
|
|
535
|
+
tmp = this.b2s_1;
|
|
536
536
|
}
|
|
537
537
|
return tmp;
|
|
538
538
|
};
|
|
@@ -543,15 +543,15 @@
|
|
|
543
543
|
return false;
|
|
544
544
|
if (!(other instanceof JsonLiteral))
|
|
545
545
|
THROW_CCE();
|
|
546
|
-
if (!(this.
|
|
546
|
+
if (!(this.z2r_1 === other.z2r_1))
|
|
547
547
|
return false;
|
|
548
|
-
if (!(this.
|
|
548
|
+
if (!(this.b2s_1 === other.b2s_1))
|
|
549
549
|
return false;
|
|
550
550
|
return true;
|
|
551
551
|
};
|
|
552
552
|
protoOf(JsonLiteral).hashCode = function () {
|
|
553
|
-
var result = getBooleanHashCode(this.
|
|
554
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
553
|
+
var result = getBooleanHashCode(this.z2r_1);
|
|
554
|
+
result = imul(31, result) + getStringHashCode(this.b2s_1) | 0;
|
|
555
555
|
return result;
|
|
556
556
|
};
|
|
557
557
|
function JsonPrimitive_0(value) {
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
}
|
|
575
575
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
576
576
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
577
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
577
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.w2r());
|
|
578
578
|
}
|
|
579
579
|
function get_int(_this__u8e3s4) {
|
|
580
580
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
var tmp;
|
|
583
583
|
try {
|
|
584
584
|
// Inline function 'kotlinx.serialization.json.<get-int>.<anonymous>' call
|
|
585
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
585
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.w2r())).c2s();
|
|
586
586
|
} catch ($p) {
|
|
587
587
|
var tmp_0;
|
|
588
588
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
// Inline function 'kotlin.ranges.contains' call
|
|
597
597
|
var this_0 = numberRangeToNumber(-2147483648, 2147483647);
|
|
598
598
|
if (!contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result))
|
|
599
|
-
throw NumberFormatException_init_$Create$(_this__u8e3s4.
|
|
599
|
+
throw NumberFormatException_init_$Create$(_this__u8e3s4.w2r() + ' is not an Int');
|
|
600
600
|
return result.j1();
|
|
601
601
|
}
|
|
602
602
|
function get_long(_this__u8e3s4) {
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
var tmp;
|
|
606
606
|
try {
|
|
607
607
|
// Inline function 'kotlinx.serialization.json.<get-long>.<anonymous>' call
|
|
608
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
608
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.w2r())).c2s();
|
|
609
609
|
} catch ($p) {
|
|
610
610
|
var tmp_0;
|
|
611
611
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -620,14 +620,14 @@
|
|
|
620
620
|
function get_float(_this__u8e3s4) {
|
|
621
621
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
622
622
|
// Inline function 'kotlin.text.toFloat' call
|
|
623
|
-
var this_0 = _this__u8e3s4.
|
|
623
|
+
var this_0 = _this__u8e3s4.w2r();
|
|
624
624
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
625
625
|
// Inline function 'kotlin.js.asDynamic' call
|
|
626
626
|
return toDouble(this_0);
|
|
627
627
|
}
|
|
628
628
|
function get_double(_this__u8e3s4) {
|
|
629
629
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
630
|
-
return toDouble(_this__u8e3s4.
|
|
630
|
+
return toDouble(_this__u8e3s4.w2r());
|
|
631
631
|
}
|
|
632
632
|
function get_contentOrNull(_this__u8e3s4) {
|
|
633
633
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
636
636
|
tmp = null;
|
|
637
637
|
} else {
|
|
638
|
-
tmp = _this__u8e3s4.
|
|
638
|
+
tmp = _this__u8e3s4.w2r();
|
|
639
639
|
}
|
|
640
640
|
return tmp;
|
|
641
641
|
}
|
|
@@ -655,30 +655,30 @@
|
|
|
655
655
|
return Unit_instance;
|
|
656
656
|
}
|
|
657
657
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
658
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
658
|
+
return JsonPrimitiveSerializer_getInstance().d2s_1;
|
|
659
659
|
}
|
|
660
660
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
661
|
-
return JsonNullSerializer_getInstance().
|
|
661
|
+
return JsonNullSerializer_getInstance().e2s_1;
|
|
662
662
|
}
|
|
663
663
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
664
|
-
return JsonLiteralSerializer_getInstance().
|
|
664
|
+
return JsonLiteralSerializer_getInstance().f2s_1;
|
|
665
665
|
}
|
|
666
666
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
667
|
-
return JsonObjectSerializer_getInstance().
|
|
667
|
+
return JsonObjectSerializer_getInstance().g2s_1;
|
|
668
668
|
}
|
|
669
669
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
670
|
-
return JsonArraySerializer_getInstance().
|
|
670
|
+
return JsonArraySerializer_getInstance().h2s_1;
|
|
671
671
|
}
|
|
672
672
|
function JsonElementSerializer() {
|
|
673
673
|
JsonElementSerializer_instance = this;
|
|
674
674
|
var tmp = this;
|
|
675
675
|
var tmp_0 = SEALED_getInstance();
|
|
676
|
-
tmp.
|
|
676
|
+
tmp.i2s_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
677
677
|
}
|
|
678
678
|
protoOf(JsonElementSerializer).nl = function () {
|
|
679
|
-
return this.
|
|
679
|
+
return this.i2s_1;
|
|
680
680
|
};
|
|
681
|
-
protoOf(JsonElementSerializer).
|
|
681
|
+
protoOf(JsonElementSerializer).j2s = function (encoder, value) {
|
|
682
682
|
verify(encoder);
|
|
683
683
|
if (value instanceof JsonPrimitive) {
|
|
684
684
|
encoder.jq(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -695,11 +695,11 @@
|
|
|
695
695
|
}
|
|
696
696
|
};
|
|
697
697
|
protoOf(JsonElementSerializer).ol = function (encoder, value) {
|
|
698
|
-
return this.
|
|
698
|
+
return this.j2s(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
699
699
|
};
|
|
700
700
|
protoOf(JsonElementSerializer).pl = function (decoder) {
|
|
701
701
|
var input = asJsonDecoder(decoder);
|
|
702
|
-
return input.
|
|
702
|
+
return input.q2r();
|
|
703
703
|
};
|
|
704
704
|
var JsonElementSerializer_instance;
|
|
705
705
|
function JsonElementSerializer_getInstance() {
|
|
@@ -709,41 +709,41 @@
|
|
|
709
709
|
}
|
|
710
710
|
function JsonObjectDescriptor() {
|
|
711
711
|
JsonObjectDescriptor_instance = this;
|
|
712
|
-
this.
|
|
713
|
-
this.
|
|
712
|
+
this.k2s_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).nl();
|
|
713
|
+
this.l2s_1 = 'kotlinx.serialization.json.JsonObject';
|
|
714
714
|
}
|
|
715
715
|
protoOf(JsonObjectDescriptor).om = function () {
|
|
716
|
-
return this.
|
|
716
|
+
return this.l2s_1;
|
|
717
717
|
};
|
|
718
718
|
protoOf(JsonObjectDescriptor).en = function (index) {
|
|
719
|
-
return this.
|
|
719
|
+
return this.k2s_1.en(index);
|
|
720
720
|
};
|
|
721
721
|
protoOf(JsonObjectDescriptor).fn = function (name) {
|
|
722
|
-
return this.
|
|
722
|
+
return this.k2s_1.fn(name);
|
|
723
723
|
};
|
|
724
724
|
protoOf(JsonObjectDescriptor).gn = function (index) {
|
|
725
|
-
return this.
|
|
725
|
+
return this.k2s_1.gn(index);
|
|
726
726
|
};
|
|
727
727
|
protoOf(JsonObjectDescriptor).hn = function (index) {
|
|
728
|
-
return this.
|
|
728
|
+
return this.k2s_1.hn(index);
|
|
729
729
|
};
|
|
730
730
|
protoOf(JsonObjectDescriptor).in = function (index) {
|
|
731
|
-
return this.
|
|
731
|
+
return this.k2s_1.in(index);
|
|
732
732
|
};
|
|
733
733
|
protoOf(JsonObjectDescriptor).an = function () {
|
|
734
|
-
return this.
|
|
734
|
+
return this.k2s_1.an();
|
|
735
735
|
};
|
|
736
736
|
protoOf(JsonObjectDescriptor).wm = function () {
|
|
737
|
-
return this.
|
|
737
|
+
return this.k2s_1.wm();
|
|
738
738
|
};
|
|
739
739
|
protoOf(JsonObjectDescriptor).bn = function () {
|
|
740
|
-
return this.
|
|
740
|
+
return this.k2s_1.bn();
|
|
741
741
|
};
|
|
742
742
|
protoOf(JsonObjectDescriptor).cn = function () {
|
|
743
|
-
return this.
|
|
743
|
+
return this.k2s_1.cn();
|
|
744
744
|
};
|
|
745
745
|
protoOf(JsonObjectDescriptor).dn = function () {
|
|
746
|
-
return this.
|
|
746
|
+
return this.k2s_1.dn();
|
|
747
747
|
};
|
|
748
748
|
var JsonObjectDescriptor_instance;
|
|
749
749
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -753,17 +753,17 @@
|
|
|
753
753
|
}
|
|
754
754
|
function JsonObjectSerializer() {
|
|
755
755
|
JsonObjectSerializer_instance = this;
|
|
756
|
-
this.
|
|
756
|
+
this.g2s_1 = JsonObjectDescriptor_getInstance();
|
|
757
757
|
}
|
|
758
758
|
protoOf(JsonObjectSerializer).nl = function () {
|
|
759
|
-
return this.
|
|
759
|
+
return this.g2s_1;
|
|
760
760
|
};
|
|
761
|
-
protoOf(JsonObjectSerializer).
|
|
761
|
+
protoOf(JsonObjectSerializer).m2s = function (encoder, value) {
|
|
762
762
|
verify(encoder);
|
|
763
763
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ol(encoder, value);
|
|
764
764
|
};
|
|
765
765
|
protoOf(JsonObjectSerializer).ol = function (encoder, value) {
|
|
766
|
-
return this.
|
|
766
|
+
return this.m2s(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
767
767
|
};
|
|
768
768
|
protoOf(JsonObjectSerializer).pl = function (decoder) {
|
|
769
769
|
verify_0(decoder);
|
|
@@ -777,41 +777,41 @@
|
|
|
777
777
|
}
|
|
778
778
|
function JsonArrayDescriptor() {
|
|
779
779
|
JsonArrayDescriptor_instance = this;
|
|
780
|
-
this.
|
|
781
|
-
this.
|
|
780
|
+
this.n2s_1 = ListSerializer(JsonElementSerializer_getInstance()).nl();
|
|
781
|
+
this.o2s_1 = 'kotlinx.serialization.json.JsonArray';
|
|
782
782
|
}
|
|
783
783
|
protoOf(JsonArrayDescriptor).om = function () {
|
|
784
|
-
return this.
|
|
784
|
+
return this.o2s_1;
|
|
785
785
|
};
|
|
786
786
|
protoOf(JsonArrayDescriptor).en = function (index) {
|
|
787
|
-
return this.
|
|
787
|
+
return this.n2s_1.en(index);
|
|
788
788
|
};
|
|
789
789
|
protoOf(JsonArrayDescriptor).fn = function (name) {
|
|
790
|
-
return this.
|
|
790
|
+
return this.n2s_1.fn(name);
|
|
791
791
|
};
|
|
792
792
|
protoOf(JsonArrayDescriptor).gn = function (index) {
|
|
793
|
-
return this.
|
|
793
|
+
return this.n2s_1.gn(index);
|
|
794
794
|
};
|
|
795
795
|
protoOf(JsonArrayDescriptor).hn = function (index) {
|
|
796
|
-
return this.
|
|
796
|
+
return this.n2s_1.hn(index);
|
|
797
797
|
};
|
|
798
798
|
protoOf(JsonArrayDescriptor).in = function (index) {
|
|
799
|
-
return this.
|
|
799
|
+
return this.n2s_1.in(index);
|
|
800
800
|
};
|
|
801
801
|
protoOf(JsonArrayDescriptor).an = function () {
|
|
802
|
-
return this.
|
|
802
|
+
return this.n2s_1.an();
|
|
803
803
|
};
|
|
804
804
|
protoOf(JsonArrayDescriptor).wm = function () {
|
|
805
|
-
return this.
|
|
805
|
+
return this.n2s_1.wm();
|
|
806
806
|
};
|
|
807
807
|
protoOf(JsonArrayDescriptor).bn = function () {
|
|
808
|
-
return this.
|
|
808
|
+
return this.n2s_1.bn();
|
|
809
809
|
};
|
|
810
810
|
protoOf(JsonArrayDescriptor).cn = function () {
|
|
811
|
-
return this.
|
|
811
|
+
return this.n2s_1.cn();
|
|
812
812
|
};
|
|
813
813
|
protoOf(JsonArrayDescriptor).dn = function () {
|
|
814
|
-
return this.
|
|
814
|
+
return this.n2s_1.dn();
|
|
815
815
|
};
|
|
816
816
|
var JsonArrayDescriptor_instance;
|
|
817
817
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -821,17 +821,17 @@
|
|
|
821
821
|
}
|
|
822
822
|
function JsonArraySerializer() {
|
|
823
823
|
JsonArraySerializer_instance = this;
|
|
824
|
-
this.
|
|
824
|
+
this.h2s_1 = JsonArrayDescriptor_getInstance();
|
|
825
825
|
}
|
|
826
826
|
protoOf(JsonArraySerializer).nl = function () {
|
|
827
|
-
return this.
|
|
827
|
+
return this.h2s_1;
|
|
828
828
|
};
|
|
829
|
-
protoOf(JsonArraySerializer).
|
|
829
|
+
protoOf(JsonArraySerializer).p2s = function (encoder, value) {
|
|
830
830
|
verify(encoder);
|
|
831
831
|
ListSerializer(JsonElementSerializer_getInstance()).ol(encoder, value);
|
|
832
832
|
};
|
|
833
833
|
protoOf(JsonArraySerializer).ol = function (encoder, value) {
|
|
834
|
-
return this.
|
|
834
|
+
return this.p2s(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
835
835
|
};
|
|
836
836
|
protoOf(JsonArraySerializer).pl = function (decoder) {
|
|
837
837
|
verify_0(decoder);
|
|
@@ -845,12 +845,12 @@
|
|
|
845
845
|
}
|
|
846
846
|
function JsonPrimitiveSerializer() {
|
|
847
847
|
JsonPrimitiveSerializer_instance = this;
|
|
848
|
-
this.
|
|
848
|
+
this.d2s_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
849
849
|
}
|
|
850
850
|
protoOf(JsonPrimitiveSerializer).nl = function () {
|
|
851
|
-
return this.
|
|
851
|
+
return this.d2s_1;
|
|
852
852
|
};
|
|
853
|
-
protoOf(JsonPrimitiveSerializer).
|
|
853
|
+
protoOf(JsonPrimitiveSerializer).q2s = function (encoder, value) {
|
|
854
854
|
verify(encoder);
|
|
855
855
|
var tmp;
|
|
856
856
|
if (value instanceof JsonNull) {
|
|
@@ -864,10 +864,10 @@
|
|
|
864
864
|
return tmp;
|
|
865
865
|
};
|
|
866
866
|
protoOf(JsonPrimitiveSerializer).ol = function (encoder, value) {
|
|
867
|
-
return this.
|
|
867
|
+
return this.q2s(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
868
868
|
};
|
|
869
869
|
protoOf(JsonPrimitiveSerializer).pl = function (decoder) {
|
|
870
|
-
var result = asJsonDecoder(decoder).
|
|
870
|
+
var result = asJsonDecoder(decoder).q2r();
|
|
871
871
|
if (!(result instanceof JsonPrimitive))
|
|
872
872
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString_0(getKClassFromExpression(result)), toString_0(result));
|
|
873
873
|
return result;
|
|
@@ -883,17 +883,17 @@
|
|
|
883
883
|
}
|
|
884
884
|
function JsonNullSerializer() {
|
|
885
885
|
JsonNullSerializer_instance = this;
|
|
886
|
-
this.
|
|
886
|
+
this.e2s_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
887
887
|
}
|
|
888
888
|
protoOf(JsonNullSerializer).nl = function () {
|
|
889
|
-
return this.
|
|
889
|
+
return this.e2s_1;
|
|
890
890
|
};
|
|
891
|
-
protoOf(JsonNullSerializer).
|
|
891
|
+
protoOf(JsonNullSerializer).r2s = function (encoder, value) {
|
|
892
892
|
verify(encoder);
|
|
893
893
|
encoder.np();
|
|
894
894
|
};
|
|
895
895
|
protoOf(JsonNullSerializer).ol = function (encoder, value) {
|
|
896
|
-
return this.
|
|
896
|
+
return this.r2s(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
897
897
|
};
|
|
898
898
|
protoOf(JsonNullSerializer).pl = function (decoder) {
|
|
899
899
|
verify_0(decoder);
|
|
@@ -911,27 +911,27 @@
|
|
|
911
911
|
}
|
|
912
912
|
function JsonLiteralSerializer() {
|
|
913
913
|
JsonLiteralSerializer_instance = this;
|
|
914
|
-
this.
|
|
914
|
+
this.f2s_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
915
915
|
}
|
|
916
916
|
protoOf(JsonLiteralSerializer).nl = function () {
|
|
917
|
-
return this.
|
|
917
|
+
return this.f2s_1;
|
|
918
918
|
};
|
|
919
|
-
protoOf(JsonLiteralSerializer).
|
|
919
|
+
protoOf(JsonLiteralSerializer).s2s = function (encoder, value) {
|
|
920
920
|
verify(encoder);
|
|
921
|
-
if (value.
|
|
922
|
-
return encoder.wp(value.
|
|
921
|
+
if (value.z2r_1) {
|
|
922
|
+
return encoder.wp(value.b2s_1);
|
|
923
923
|
}
|
|
924
|
-
if (!(value.
|
|
925
|
-
return encoder.xp(value.
|
|
924
|
+
if (!(value.a2s_1 == null)) {
|
|
925
|
+
return encoder.xp(value.a2s_1).wp(value.b2s_1);
|
|
926
926
|
}
|
|
927
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
927
|
+
var tmp0_safe_receiver = toLongOrNull(value.b2s_1);
|
|
928
928
|
if (tmp0_safe_receiver == null)
|
|
929
929
|
null;
|
|
930
930
|
else {
|
|
931
931
|
// Inline function 'kotlin.let' call
|
|
932
932
|
return encoder.sp(tmp0_safe_receiver);
|
|
933
933
|
}
|
|
934
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
934
|
+
var tmp1_safe_receiver = toULongOrNull(value.b2s_1);
|
|
935
935
|
var tmp = tmp1_safe_receiver;
|
|
936
936
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
937
937
|
null;
|
|
@@ -945,27 +945,27 @@
|
|
|
945
945
|
tmp_1.sp(tmp$ret$1);
|
|
946
946
|
return Unit_instance;
|
|
947
947
|
}
|
|
948
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
948
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.b2s_1);
|
|
949
949
|
if (tmp2_safe_receiver == null)
|
|
950
950
|
null;
|
|
951
951
|
else {
|
|
952
952
|
// Inline function 'kotlin.let' call
|
|
953
953
|
return encoder.up(tmp2_safe_receiver);
|
|
954
954
|
}
|
|
955
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
955
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.b2s_1);
|
|
956
956
|
if (tmp3_safe_receiver == null)
|
|
957
957
|
null;
|
|
958
958
|
else {
|
|
959
959
|
// Inline function 'kotlin.let' call
|
|
960
960
|
return encoder.op(tmp3_safe_receiver);
|
|
961
961
|
}
|
|
962
|
-
encoder.wp(value.
|
|
962
|
+
encoder.wp(value.b2s_1);
|
|
963
963
|
};
|
|
964
964
|
protoOf(JsonLiteralSerializer).ol = function (encoder, value) {
|
|
965
|
-
return this.
|
|
965
|
+
return this.s2s(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
966
966
|
};
|
|
967
967
|
protoOf(JsonLiteralSerializer).pl = function (decoder) {
|
|
968
|
-
var result = asJsonDecoder(decoder).
|
|
968
|
+
var result = asJsonDecoder(decoder).q2r();
|
|
969
969
|
if (!(result instanceof JsonLiteral))
|
|
970
970
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString_0(getKClassFromExpression(result)), toString_0(result));
|
|
971
971
|
return result;
|
|
@@ -1003,13 +1003,13 @@
|
|
|
1003
1003
|
return tmp;
|
|
1004
1004
|
}
|
|
1005
1005
|
function _get_original__l7ku1m($this) {
|
|
1006
|
-
var tmp0 = $this.
|
|
1006
|
+
var tmp0 = $this.t2s_1;
|
|
1007
1007
|
// Inline function 'kotlin.getValue' call
|
|
1008
1008
|
original$factory();
|
|
1009
1009
|
return tmp0.z();
|
|
1010
1010
|
}
|
|
1011
1011
|
function defer$1($deferred) {
|
|
1012
|
-
this.
|
|
1012
|
+
this.t2s_1 = lazy($deferred);
|
|
1013
1013
|
}
|
|
1014
1014
|
protoOf(defer$1).om = function () {
|
|
1015
1015
|
return _get_original__l7ku1m(this).om();
|
|
@@ -1043,8 +1043,8 @@
|
|
|
1043
1043
|
function JsonEncoder() {
|
|
1044
1044
|
}
|
|
1045
1045
|
function readIfAbsent($this, descriptor, index) {
|
|
1046
|
-
$this.
|
|
1047
|
-
return $this.
|
|
1046
|
+
$this.v2s_1 = (!descriptor.in(index) && descriptor.hn(index).wm());
|
|
1047
|
+
return $this.v2s_1;
|
|
1048
1048
|
}
|
|
1049
1049
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1050
1050
|
var l = function (p0, p1) {
|
|
@@ -1055,14 +1055,14 @@
|
|
|
1055
1055
|
}
|
|
1056
1056
|
function JsonElementMarker(descriptor) {
|
|
1057
1057
|
var tmp = this;
|
|
1058
|
-
tmp.
|
|
1059
|
-
this.
|
|
1058
|
+
tmp.u2s_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1059
|
+
this.v2s_1 = false;
|
|
1060
1060
|
}
|
|
1061
|
-
protoOf(JsonElementMarker).
|
|
1062
|
-
this.
|
|
1061
|
+
protoOf(JsonElementMarker).w2s = function (index) {
|
|
1062
|
+
this.u2s_1.xu(index);
|
|
1063
1063
|
};
|
|
1064
|
-
protoOf(JsonElementMarker).
|
|
1065
|
-
return this.
|
|
1064
|
+
protoOf(JsonElementMarker).x2s = function () {
|
|
1065
|
+
return this.u2s_1.yu();
|
|
1066
1066
|
};
|
|
1067
1067
|
function JsonDecodingException(message) {
|
|
1068
1068
|
JsonException.call(this, message);
|
|
@@ -1073,10 +1073,10 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1075
1075
|
entity = entity === VOID ? 'object' : entity;
|
|
1076
|
-
_this__u8e3s4.
|
|
1076
|
+
_this__u8e3s4.y2s('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.t2q_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingCommas = true' in 'Json {}' builder to support them.");
|
|
1077
1077
|
}
|
|
1078
1078
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1079
|
-
_this__u8e3s4.
|
|
1079
|
+
_this__u8e3s4.z2s('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'");
|
|
1080
1080
|
}
|
|
1081
1081
|
function JsonEncodingException(message) {
|
|
1082
1082
|
JsonException.call(this, message);
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
var index = _this__u8e3s4.fn(name);
|
|
1150
1150
|
if (!(index === -3))
|
|
1151
1151
|
return index;
|
|
1152
|
-
if (!json.
|
|
1152
|
+
if (!json.g2q_1.j2r_1)
|
|
1153
1153
|
return index;
|
|
1154
1154
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1155
1155
|
}
|
|
@@ -1160,17 +1160,17 @@
|
|
|
1160
1160
|
}
|
|
1161
1161
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1162
1162
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1163
|
-
return equals(_this__u8e3s4.an(), CLASS_getInstance()) ? json.
|
|
1163
|
+
return equals(_this__u8e3s4.an(), CLASS_getInstance()) ? json.g2q_1.k2r_1 : null;
|
|
1164
1164
|
}
|
|
1165
1165
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1166
1166
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1167
1167
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1168
1168
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1169
|
-
return tmp.
|
|
1169
|
+
return tmp.b2t(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1170
1170
|
}
|
|
1171
1171
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1172
1172
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1173
|
-
return _this__u8e3s4.
|
|
1173
|
+
return _this__u8e3s4.g2q_1.l2r_1 && equals(descriptor.an(), ENUM_getInstance());
|
|
1174
1174
|
}
|
|
1175
1175
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1176
1176
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1181,7 +1181,7 @@
|
|
|
1181
1181
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1182
1182
|
var tmp = get_schemaCache(json);
|
|
1183
1183
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1184
|
-
return tmp.
|
|
1184
|
+
return tmp.b2t(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1185
1185
|
}
|
|
1186
1186
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1187
1187
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1207,7 +1207,7 @@
|
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
1209
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1210
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1210
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c2t_1;
|
|
1211
1211
|
if (tmp1_safe_receiver == null)
|
|
1212
1212
|
null;
|
|
1213
1213
|
else {
|
|
@@ -1235,7 +1235,7 @@
|
|
|
1235
1235
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1236
1236
|
tmp_0 = _this__u8e3s4.en(i).toLowerCase();
|
|
1237
1237
|
} else if (!(strategyForClasses == null)) {
|
|
1238
|
-
tmp_0 = strategyForClasses.
|
|
1238
|
+
tmp_0 = strategyForClasses.d2t(_this__u8e3s4, i, _this__u8e3s4.en(i));
|
|
1239
1239
|
} else {
|
|
1240
1240
|
tmp_0 = null;
|
|
1241
1241
|
}
|
|
@@ -1283,7 +1283,7 @@
|
|
|
1283
1283
|
while (tmp < tmp_0) {
|
|
1284
1284
|
var tmp_2 = tmp;
|
|
1285
1285
|
var baseName = $this_serializationNamesIndices.en(tmp_2);
|
|
1286
|
-
tmp_1[tmp_2] = $strategy.
|
|
1286
|
+
tmp_1[tmp_2] = $strategy.d2t($this_serializationNamesIndices, tmp_2, baseName);
|
|
1287
1287
|
tmp = tmp + 1 | 0;
|
|
1288
1288
|
}
|
|
1289
1289
|
return tmp_1;
|
|
@@ -1304,14 +1304,14 @@
|
|
|
1304
1304
|
return Tombstone_instance;
|
|
1305
1305
|
}
|
|
1306
1306
|
function resize($this) {
|
|
1307
|
-
var newSize = imul($this.
|
|
1308
|
-
$this.
|
|
1309
|
-
$this.
|
|
1307
|
+
var newSize = imul($this.g2t_1, 2);
|
|
1308
|
+
$this.e2t_1 = copyOf($this.e2t_1, newSize);
|
|
1309
|
+
$this.f2t_1 = copyOf_0($this.f2t_1, newSize);
|
|
1310
1310
|
}
|
|
1311
1311
|
function JsonPath() {
|
|
1312
1312
|
var tmp = this;
|
|
1313
1313
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1314
|
-
tmp.
|
|
1314
|
+
tmp.e2t_1 = fillArrayVal(Array(8), null);
|
|
1315
1315
|
var tmp_0 = this;
|
|
1316
1316
|
var tmp_1 = 0;
|
|
1317
1317
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1319,73 +1319,73 @@
|
|
|
1319
1319
|
tmp_2[tmp_1] = -1;
|
|
1320
1320
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1321
1321
|
}
|
|
1322
|
-
tmp_0.
|
|
1323
|
-
this.
|
|
1322
|
+
tmp_0.f2t_1 = tmp_2;
|
|
1323
|
+
this.g2t_1 = -1;
|
|
1324
1324
|
}
|
|
1325
|
-
protoOf(JsonPath).
|
|
1326
|
-
this.
|
|
1327
|
-
var depth = this.
|
|
1328
|
-
if (depth === this.
|
|
1325
|
+
protoOf(JsonPath).h2t = function (sd) {
|
|
1326
|
+
this.g2t_1 = this.g2t_1 + 1 | 0;
|
|
1327
|
+
var depth = this.g2t_1;
|
|
1328
|
+
if (depth === this.e2t_1.length) {
|
|
1329
1329
|
resize(this);
|
|
1330
1330
|
}
|
|
1331
|
-
this.
|
|
1331
|
+
this.e2t_1[depth] = sd;
|
|
1332
1332
|
};
|
|
1333
|
-
protoOf(JsonPath).
|
|
1334
|
-
this.
|
|
1333
|
+
protoOf(JsonPath).i2t = function (index) {
|
|
1334
|
+
this.f2t_1[this.g2t_1] = index;
|
|
1335
1335
|
};
|
|
1336
|
-
protoOf(JsonPath).
|
|
1336
|
+
protoOf(JsonPath).j2t = function (key) {
|
|
1337
1337
|
var tmp;
|
|
1338
|
-
if (!(this.
|
|
1339
|
-
this.
|
|
1340
|
-
tmp = this.
|
|
1338
|
+
if (!(this.f2t_1[this.g2t_1] === -2)) {
|
|
1339
|
+
this.g2t_1 = this.g2t_1 + 1 | 0;
|
|
1340
|
+
tmp = this.g2t_1 === this.e2t_1.length;
|
|
1341
1341
|
} else {
|
|
1342
1342
|
tmp = false;
|
|
1343
1343
|
}
|
|
1344
1344
|
if (tmp) {
|
|
1345
1345
|
resize(this);
|
|
1346
1346
|
}
|
|
1347
|
-
this.
|
|
1348
|
-
this.
|
|
1347
|
+
this.e2t_1[this.g2t_1] = key;
|
|
1348
|
+
this.f2t_1[this.g2t_1] = -2;
|
|
1349
1349
|
};
|
|
1350
|
-
protoOf(JsonPath).
|
|
1351
|
-
if (this.
|
|
1352
|
-
this.
|
|
1350
|
+
protoOf(JsonPath).k2t = function () {
|
|
1351
|
+
if (this.f2t_1[this.g2t_1] === -2) {
|
|
1352
|
+
this.e2t_1[this.g2t_1] = Tombstone_instance;
|
|
1353
1353
|
}
|
|
1354
1354
|
};
|
|
1355
|
-
protoOf(JsonPath).
|
|
1356
|
-
var depth = this.
|
|
1357
|
-
if (this.
|
|
1358
|
-
this.
|
|
1359
|
-
this.
|
|
1355
|
+
protoOf(JsonPath).l2t = function () {
|
|
1356
|
+
var depth = this.g2t_1;
|
|
1357
|
+
if (this.f2t_1[depth] === -2) {
|
|
1358
|
+
this.f2t_1[depth] = -1;
|
|
1359
|
+
this.g2t_1 = this.g2t_1 - 1 | 0;
|
|
1360
1360
|
}
|
|
1361
|
-
if (!(this.
|
|
1362
|
-
this.
|
|
1361
|
+
if (!(this.g2t_1 === -1)) {
|
|
1362
|
+
this.g2t_1 = this.g2t_1 - 1 | 0;
|
|
1363
1363
|
}
|
|
1364
1364
|
};
|
|
1365
|
-
protoOf(JsonPath).
|
|
1365
|
+
protoOf(JsonPath).m2t = function () {
|
|
1366
1366
|
// Inline function 'kotlin.text.buildString' call
|
|
1367
1367
|
// Inline function 'kotlin.apply' call
|
|
1368
1368
|
var this_0 = StringBuilder_init_$Create$();
|
|
1369
1369
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1370
1370
|
this_0.i8('$');
|
|
1371
1371
|
// Inline function 'kotlin.repeat' call
|
|
1372
|
-
var times = this.
|
|
1372
|
+
var times = this.g2t_1 + 1 | 0;
|
|
1373
1373
|
var inductionVariable = 0;
|
|
1374
1374
|
if (inductionVariable < times)
|
|
1375
1375
|
do {
|
|
1376
1376
|
var index = inductionVariable;
|
|
1377
1377
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1378
1378
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1379
|
-
var element = this.
|
|
1379
|
+
var element = this.e2t_1[index];
|
|
1380
1380
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1381
1381
|
if (equals(element.an(), LIST_getInstance())) {
|
|
1382
|
-
if (!(this.
|
|
1382
|
+
if (!(this.f2t_1[index] === -1)) {
|
|
1383
1383
|
this_0.i8('[');
|
|
1384
|
-
this_0.hc(this.
|
|
1384
|
+
this_0.hc(this.f2t_1[index]);
|
|
1385
1385
|
this_0.i8(']');
|
|
1386
1386
|
}
|
|
1387
1387
|
} else {
|
|
1388
|
-
var idx = this.
|
|
1388
|
+
var idx = this.f2t_1[index];
|
|
1389
1389
|
if (idx >= 0) {
|
|
1390
1390
|
this_0.i8('.');
|
|
1391
1391
|
this_0.i8(element.en(idx));
|
|
@@ -1405,39 +1405,39 @@
|
|
|
1405
1405
|
return this_0.toString();
|
|
1406
1406
|
};
|
|
1407
1407
|
protoOf(JsonPath).toString = function () {
|
|
1408
|
-
return this.
|
|
1408
|
+
return this.m2t();
|
|
1409
1409
|
};
|
|
1410
1410
|
function readObject($this) {
|
|
1411
1411
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1412
|
-
var lastToken = $this.
|
|
1413
|
-
if ($this.
|
|
1414
|
-
$this.
|
|
1412
|
+
var lastToken = $this.n2t_1.r2t(6);
|
|
1413
|
+
if ($this.n2t_1.s2t() === 4) {
|
|
1414
|
+
$this.n2t_1.z2s('Unexpected leading comma');
|
|
1415
1415
|
}
|
|
1416
1416
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1417
1417
|
var result = LinkedHashMap_init_$Create$();
|
|
1418
|
-
$l$loop: while ($this.
|
|
1419
|
-
var key = $this.
|
|
1420
|
-
$this.
|
|
1418
|
+
$l$loop: while ($this.n2t_1.t2t()) {
|
|
1419
|
+
var key = $this.o2t_1 ? $this.n2t_1.v2t() : $this.n2t_1.u2t();
|
|
1420
|
+
$this.n2t_1.r2t(5);
|
|
1421
1421
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1422
|
-
var element = $this.
|
|
1422
|
+
var element = $this.w2t();
|
|
1423
1423
|
// Inline function 'kotlin.collections.set' call
|
|
1424
1424
|
result.m2(key, element);
|
|
1425
|
-
lastToken = $this.
|
|
1425
|
+
lastToken = $this.n2t_1.x2t();
|
|
1426
1426
|
var tmp0_subject = lastToken;
|
|
1427
1427
|
if (tmp0_subject !== 4)
|
|
1428
1428
|
if (tmp0_subject === 7)
|
|
1429
1429
|
break $l$loop;
|
|
1430
1430
|
else {
|
|
1431
|
-
$this.
|
|
1431
|
+
$this.n2t_1.z2s('Expected end of the object or comma');
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
1434
1434
|
if (lastToken === 6) {
|
|
1435
|
-
$this.
|
|
1435
|
+
$this.n2t_1.r2t(7);
|
|
1436
1436
|
} else if (lastToken === 4) {
|
|
1437
|
-
if (!$this.
|
|
1438
|
-
invalidTrailingComma($this.
|
|
1437
|
+
if (!$this.p2t_1) {
|
|
1438
|
+
invalidTrailingComma($this.n2t_1);
|
|
1439
1439
|
}
|
|
1440
|
-
$this.
|
|
1440
|
+
$this.n2t_1.r2t(7);
|
|
1441
1441
|
}
|
|
1442
1442
|
return new JsonObject(result);
|
|
1443
1443
|
}
|
|
@@ -1448,44 +1448,44 @@
|
|
|
1448
1448
|
return tmp.l9();
|
|
1449
1449
|
}
|
|
1450
1450
|
function readArray($this) {
|
|
1451
|
-
var lastToken = $this.
|
|
1452
|
-
if ($this.
|
|
1453
|
-
$this.
|
|
1451
|
+
var lastToken = $this.n2t_1.x2t();
|
|
1452
|
+
if ($this.n2t_1.s2t() === 4) {
|
|
1453
|
+
$this.n2t_1.z2s('Unexpected leading comma');
|
|
1454
1454
|
}
|
|
1455
1455
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1456
1456
|
var result = ArrayList_init_$Create$();
|
|
1457
|
-
while ($this.
|
|
1458
|
-
var element = $this.
|
|
1457
|
+
while ($this.n2t_1.t2t()) {
|
|
1458
|
+
var element = $this.w2t();
|
|
1459
1459
|
result.e(element);
|
|
1460
|
-
lastToken = $this.
|
|
1460
|
+
lastToken = $this.n2t_1.x2t();
|
|
1461
1461
|
if (!(lastToken === 4)) {
|
|
1462
|
-
var tmp0 = $this.
|
|
1462
|
+
var tmp0 = $this.n2t_1;
|
|
1463
1463
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1464
1464
|
var condition = lastToken === 9;
|
|
1465
|
-
var position = tmp0.
|
|
1465
|
+
var position = tmp0.t2q_1;
|
|
1466
1466
|
if (!condition) {
|
|
1467
1467
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1468
1468
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1469
|
-
tmp0.
|
|
1469
|
+
tmp0.z2s(tmp$ret$1, position);
|
|
1470
1470
|
}
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
1473
1473
|
if (lastToken === 8) {
|
|
1474
|
-
$this.
|
|
1474
|
+
$this.n2t_1.r2t(9);
|
|
1475
1475
|
} else if (lastToken === 4) {
|
|
1476
|
-
if (!$this.
|
|
1477
|
-
invalidTrailingComma($this.
|
|
1476
|
+
if (!$this.p2t_1) {
|
|
1477
|
+
invalidTrailingComma($this.n2t_1, 'array');
|
|
1478
1478
|
}
|
|
1479
|
-
$this.
|
|
1479
|
+
$this.n2t_1.r2t(9);
|
|
1480
1480
|
}
|
|
1481
1481
|
return new JsonArray(result);
|
|
1482
1482
|
}
|
|
1483
1483
|
function readValue($this, isString) {
|
|
1484
1484
|
var tmp;
|
|
1485
|
-
if ($this.
|
|
1486
|
-
tmp = $this.
|
|
1485
|
+
if ($this.o2t_1 || !isString) {
|
|
1486
|
+
tmp = $this.n2t_1.v2t();
|
|
1487
1487
|
} else {
|
|
1488
|
-
tmp = $this.
|
|
1488
|
+
tmp = $this.n2t_1.u2t();
|
|
1489
1489
|
}
|
|
1490
1490
|
var string = tmp;
|
|
1491
1491
|
if (!isString && string === 'null')
|
|
@@ -1496,18 +1496,18 @@
|
|
|
1496
1496
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1497
1497
|
}
|
|
1498
1498
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1499
|
-
this.
|
|
1499
|
+
this.v2u_1 = this$0;
|
|
1500
1500
|
CoroutineImpl.call(this, resultContinuation);
|
|
1501
1501
|
}
|
|
1502
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1503
|
-
var tmp = this.
|
|
1502
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).a2v = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1503
|
+
var tmp = this.b2v($this$DeepRecursiveFunction, it, $completion);
|
|
1504
1504
|
tmp.f9_1 = Unit_instance;
|
|
1505
1505
|
tmp.g9_1 = null;
|
|
1506
1506
|
return tmp.l9();
|
|
1507
1507
|
};
|
|
1508
1508
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).r9 = function (p1, p2, $completion) {
|
|
1509
1509
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1510
|
-
return this.
|
|
1510
|
+
return this.a2v(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1511
1511
|
};
|
|
1512
1512
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).l9 = function () {
|
|
1513
1513
|
var suspendResult = this.f9_1;
|
|
@@ -1517,32 +1517,32 @@
|
|
|
1517
1517
|
switch (tmp) {
|
|
1518
1518
|
case 0:
|
|
1519
1519
|
this.e9_1 = 3;
|
|
1520
|
-
this.
|
|
1521
|
-
if (this.
|
|
1522
|
-
this.
|
|
1520
|
+
this.y2u_1 = this.v2u_1.n2t_1.s2t();
|
|
1521
|
+
if (this.y2u_1 === 1) {
|
|
1522
|
+
this.z2u_1 = readValue(this.v2u_1, true);
|
|
1523
1523
|
this.d9_1 = 2;
|
|
1524
1524
|
continue $sm;
|
|
1525
1525
|
} else {
|
|
1526
|
-
if (this.
|
|
1527
|
-
this.
|
|
1526
|
+
if (this.y2u_1 === 0) {
|
|
1527
|
+
this.z2u_1 = readValue(this.v2u_1, false);
|
|
1528
1528
|
this.d9_1 = 2;
|
|
1529
1529
|
continue $sm;
|
|
1530
1530
|
} else {
|
|
1531
|
-
if (this.
|
|
1531
|
+
if (this.y2u_1 === 6) {
|
|
1532
1532
|
this.d9_1 = 1;
|
|
1533
|
-
suspendResult = readObject_0(this.
|
|
1533
|
+
suspendResult = readObject_0(this.w2u_1, this.v2u_1, this);
|
|
1534
1534
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1535
1535
|
return suspendResult;
|
|
1536
1536
|
}
|
|
1537
1537
|
continue $sm;
|
|
1538
1538
|
} else {
|
|
1539
|
-
if (this.
|
|
1540
|
-
this.
|
|
1539
|
+
if (this.y2u_1 === 8) {
|
|
1540
|
+
this.z2u_1 = readArray(this.v2u_1);
|
|
1541
1541
|
this.d9_1 = 2;
|
|
1542
1542
|
continue $sm;
|
|
1543
1543
|
} else {
|
|
1544
1544
|
var tmp_0 = this;
|
|
1545
|
-
this.
|
|
1545
|
+
this.v2u_1.n2t_1.z2s("Can't begin reading element, unexpected token");
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
@@ -1550,11 +1550,11 @@
|
|
|
1550
1550
|
|
|
1551
1551
|
break;
|
|
1552
1552
|
case 1:
|
|
1553
|
-
this.
|
|
1553
|
+
this.z2u_1 = suspendResult;
|
|
1554
1554
|
this.d9_1 = 2;
|
|
1555
1555
|
continue $sm;
|
|
1556
1556
|
case 2:
|
|
1557
|
-
return this.
|
|
1557
|
+
return this.z2u_1;
|
|
1558
1558
|
case 3:
|
|
1559
1559
|
throw this.g9_1;
|
|
1560
1560
|
}
|
|
@@ -1569,24 +1569,24 @@
|
|
|
1569
1569
|
}
|
|
1570
1570
|
while (true);
|
|
1571
1571
|
};
|
|
1572
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1573
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1574
|
-
i.
|
|
1575
|
-
i.
|
|
1572
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).b2v = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1573
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.v2u_1, completion);
|
|
1574
|
+
i.w2u_1 = $this$DeepRecursiveFunction;
|
|
1575
|
+
i.x2u_1 = it;
|
|
1576
1576
|
return i;
|
|
1577
1577
|
};
|
|
1578
1578
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1579
1579
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1580
1580
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1581
|
-
return i.
|
|
1581
|
+
return i.a2v($this$DeepRecursiveFunction, it, $completion);
|
|
1582
1582
|
};
|
|
1583
1583
|
l.$arity = 2;
|
|
1584
1584
|
return l;
|
|
1585
1585
|
}
|
|
1586
1586
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1587
1587
|
CoroutineImpl.call(this, resultContinuation);
|
|
1588
|
-
this.
|
|
1589
|
-
this.
|
|
1588
|
+
this.g2u_1 = _this__u8e3s4;
|
|
1589
|
+
this.h2u_1 = _this__u8e3s4_0;
|
|
1590
1590
|
}
|
|
1591
1591
|
protoOf($readObjectCOROUTINE$0).l9 = function () {
|
|
1592
1592
|
var suspendResult = this.f9_1;
|
|
@@ -1597,27 +1597,27 @@
|
|
|
1597
1597
|
case 0:
|
|
1598
1598
|
this.e9_1 = 5;
|
|
1599
1599
|
var tmp_0 = this;
|
|
1600
|
-
tmp_0.
|
|
1601
|
-
this.
|
|
1602
|
-
this.
|
|
1603
|
-
if (this.
|
|
1604
|
-
this.
|
|
1600
|
+
tmp_0.i2u_1 = this.g2u_1;
|
|
1601
|
+
this.j2u_1 = this.i2u_1;
|
|
1602
|
+
this.k2u_1 = this.j2u_1.n2t_1.r2t(6);
|
|
1603
|
+
if (this.j2u_1.n2t_1.s2t() === 4) {
|
|
1604
|
+
this.j2u_1.n2t_1.z2s('Unexpected leading comma');
|
|
1605
1605
|
}
|
|
1606
1606
|
|
|
1607
1607
|
var tmp_1 = this;
|
|
1608
|
-
tmp_1.
|
|
1608
|
+
tmp_1.l2u_1 = LinkedHashMap_init_$Create$();
|
|
1609
1609
|
this.d9_1 = 1;
|
|
1610
1610
|
continue $sm;
|
|
1611
1611
|
case 1:
|
|
1612
|
-
if (!this.
|
|
1612
|
+
if (!this.j2u_1.n2t_1.t2t()) {
|
|
1613
1613
|
this.d9_1 = 4;
|
|
1614
1614
|
continue $sm;
|
|
1615
1615
|
}
|
|
1616
1616
|
|
|
1617
|
-
this.
|
|
1618
|
-
this.
|
|
1617
|
+
this.m2u_1 = this.j2u_1.o2t_1 ? this.j2u_1.n2t_1.v2t() : this.j2u_1.n2t_1.u2t();
|
|
1618
|
+
this.j2u_1.n2t_1.r2t(5);
|
|
1619
1619
|
this.d9_1 = 2;
|
|
1620
|
-
suspendResult = this.
|
|
1620
|
+
suspendResult = this.h2u_1.vi(Unit_instance, this);
|
|
1621
1621
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1622
1622
|
return suspendResult;
|
|
1623
1623
|
}
|
|
@@ -1625,11 +1625,11 @@
|
|
|
1625
1625
|
continue $sm;
|
|
1626
1626
|
case 2:
|
|
1627
1627
|
var element = suspendResult;
|
|
1628
|
-
var tmp0 = this.
|
|
1629
|
-
var key = this.
|
|
1628
|
+
var tmp0 = this.l2u_1;
|
|
1629
|
+
var key = this.m2u_1;
|
|
1630
1630
|
tmp0.m2(key, element);
|
|
1631
|
-
this.
|
|
1632
|
-
var tmp0_subject = this.
|
|
1631
|
+
this.k2u_1 = this.j2u_1.n2t_1.x2t();
|
|
1632
|
+
var tmp0_subject = this.k2u_1;
|
|
1633
1633
|
if (tmp0_subject === 4) {
|
|
1634
1634
|
this.d9_1 = 3;
|
|
1635
1635
|
continue $sm;
|
|
@@ -1638,7 +1638,7 @@
|
|
|
1638
1638
|
this.d9_1 = 4;
|
|
1639
1639
|
continue $sm;
|
|
1640
1640
|
} else {
|
|
1641
|
-
this.
|
|
1641
|
+
this.j2u_1.n2t_1.z2s('Expected end of the object or comma');
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
1644
|
|
|
@@ -1647,16 +1647,16 @@
|
|
|
1647
1647
|
this.d9_1 = 1;
|
|
1648
1648
|
continue $sm;
|
|
1649
1649
|
case 4:
|
|
1650
|
-
if (this.
|
|
1651
|
-
this.
|
|
1652
|
-
} else if (this.
|
|
1653
|
-
if (!this.
|
|
1654
|
-
invalidTrailingComma(this.
|
|
1650
|
+
if (this.k2u_1 === 6) {
|
|
1651
|
+
this.j2u_1.n2t_1.r2t(7);
|
|
1652
|
+
} else if (this.k2u_1 === 4) {
|
|
1653
|
+
if (!this.j2u_1.p2t_1) {
|
|
1654
|
+
invalidTrailingComma(this.j2u_1.n2t_1);
|
|
1655
1655
|
}
|
|
1656
|
-
this.
|
|
1656
|
+
this.j2u_1.n2t_1.r2t(7);
|
|
1657
1657
|
}
|
|
1658
1658
|
|
|
1659
|
-
return new JsonObject(this.
|
|
1659
|
+
return new JsonObject(this.l2u_1);
|
|
1660
1660
|
case 5:
|
|
1661
1661
|
throw this.g9_1;
|
|
1662
1662
|
}
|
|
@@ -1672,13 +1672,13 @@
|
|
|
1672
1672
|
while (true);
|
|
1673
1673
|
};
|
|
1674
1674
|
function JsonTreeReader(configuration, lexer) {
|
|
1675
|
-
this.
|
|
1676
|
-
this.
|
|
1677
|
-
this.
|
|
1678
|
-
this.
|
|
1675
|
+
this.n2t_1 = lexer;
|
|
1676
|
+
this.o2t_1 = configuration.a2r_1;
|
|
1677
|
+
this.p2t_1 = configuration.m2r_1;
|
|
1678
|
+
this.q2t_1 = 0;
|
|
1679
1679
|
}
|
|
1680
|
-
protoOf(JsonTreeReader).
|
|
1681
|
-
var token = this.
|
|
1680
|
+
protoOf(JsonTreeReader).w2t = function () {
|
|
1681
|
+
var token = this.n2t_1.s2t();
|
|
1682
1682
|
var tmp;
|
|
1683
1683
|
if (token === 1) {
|
|
1684
1684
|
tmp = readValue(this, true);
|
|
@@ -1686,19 +1686,19 @@
|
|
|
1686
1686
|
tmp = readValue(this, false);
|
|
1687
1687
|
} else if (token === 6) {
|
|
1688
1688
|
var tmp_0;
|
|
1689
|
-
this.
|
|
1690
|
-
if (this.
|
|
1689
|
+
this.q2t_1 = this.q2t_1 + 1 | 0;
|
|
1690
|
+
if (this.q2t_1 === 200) {
|
|
1691
1691
|
tmp_0 = readDeepRecursive(this);
|
|
1692
1692
|
} else {
|
|
1693
1693
|
tmp_0 = readObject(this);
|
|
1694
1694
|
}
|
|
1695
1695
|
var result = tmp_0;
|
|
1696
|
-
this.
|
|
1696
|
+
this.q2t_1 = this.q2t_1 - 1 | 0;
|
|
1697
1697
|
tmp = result;
|
|
1698
1698
|
} else if (token === 8) {
|
|
1699
1699
|
tmp = readArray(this);
|
|
1700
1700
|
} else {
|
|
1701
|
-
this.
|
|
1701
|
+
this.n2t_1.z2s('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
1702
1702
|
}
|
|
1703
1703
|
return tmp;
|
|
1704
1704
|
};
|
|
@@ -1707,9 +1707,9 @@
|
|
|
1707
1707
|
while (_iterator__ex2g4s.q()) {
|
|
1708
1708
|
var annotation = _iterator__ex2g4s.r();
|
|
1709
1709
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1710
|
-
return annotation.
|
|
1710
|
+
return annotation.c2v_1;
|
|
1711
1711
|
}
|
|
1712
|
-
return json.
|
|
1712
|
+
return json.g2q_1.h2r_1;
|
|
1713
1713
|
}
|
|
1714
1714
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
1715
1715
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -1745,11 +1745,11 @@
|
|
|
1745
1745
|
function Key() {
|
|
1746
1746
|
}
|
|
1747
1747
|
function DescriptorSchemaCache() {
|
|
1748
|
-
this.
|
|
1748
|
+
this.a2t_1 = createMapForCache(16);
|
|
1749
1749
|
}
|
|
1750
|
-
protoOf(DescriptorSchemaCache).
|
|
1750
|
+
protoOf(DescriptorSchemaCache).d2v = function (descriptor, key, value) {
|
|
1751
1751
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1752
|
-
var this_0 = this.
|
|
1752
|
+
var this_0 = this.a2t_1;
|
|
1753
1753
|
var value_0 = this_0.e2(descriptor);
|
|
1754
1754
|
var tmp;
|
|
1755
1755
|
if (value_0 == null) {
|
|
@@ -1766,8 +1766,8 @@
|
|
|
1766
1766
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
1767
1767
|
tmp2.m2(tmp3, value_1);
|
|
1768
1768
|
};
|
|
1769
|
-
protoOf(DescriptorSchemaCache).
|
|
1770
|
-
var tmp0_safe_receiver = this.
|
|
1769
|
+
protoOf(DescriptorSchemaCache).b2t = function (descriptor, key, defaultValue) {
|
|
1770
|
+
var tmp0_safe_receiver = this.e2v(descriptor, key);
|
|
1771
1771
|
if (tmp0_safe_receiver == null)
|
|
1772
1772
|
null;
|
|
1773
1773
|
else {
|
|
@@ -1775,11 +1775,11 @@
|
|
|
1775
1775
|
return tmp0_safe_receiver;
|
|
1776
1776
|
}
|
|
1777
1777
|
var value = defaultValue();
|
|
1778
|
-
this.
|
|
1778
|
+
this.d2v(descriptor, key, value);
|
|
1779
1779
|
return value;
|
|
1780
1780
|
};
|
|
1781
|
-
protoOf(DescriptorSchemaCache).
|
|
1782
|
-
var tmp0_safe_receiver = this.
|
|
1781
|
+
protoOf(DescriptorSchemaCache).e2v = function (descriptor, key) {
|
|
1782
|
+
var tmp0_safe_receiver = this.a2t_1.e2(descriptor);
|
|
1783
1783
|
var tmp;
|
|
1784
1784
|
if (tmp0_safe_receiver == null) {
|
|
1785
1785
|
tmp = null;
|
|
@@ -1790,13 +1790,13 @@
|
|
|
1790
1790
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
1791
1791
|
};
|
|
1792
1792
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
1793
|
-
this.
|
|
1793
|
+
this.f2v_1 = discriminatorToSkip;
|
|
1794
1794
|
}
|
|
1795
1795
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
1796
1796
|
if (_this__u8e3s4 == null)
|
|
1797
1797
|
return false;
|
|
1798
|
-
if (_this__u8e3s4.
|
|
1799
|
-
_this__u8e3s4.
|
|
1798
|
+
if (_this__u8e3s4.f2v_1 === unknownKey) {
|
|
1799
|
+
_this__u8e3s4.f2v_1 = null;
|
|
1800
1800
|
return true;
|
|
1801
1801
|
}
|
|
1802
1802
|
return false;
|
|
@@ -1806,57 +1806,57 @@
|
|
|
1806
1806
|
}
|
|
1807
1807
|
}
|
|
1808
1808
|
function checkLeadingComma($this) {
|
|
1809
|
-
if ($this.
|
|
1810
|
-
$this.
|
|
1809
|
+
if ($this.n2q_1.s2t() === 4) {
|
|
1810
|
+
$this.n2q_1.z2s('Unexpected leading comma');
|
|
1811
1811
|
}
|
|
1812
1812
|
}
|
|
1813
1813
|
function decodeMapIndex($this) {
|
|
1814
1814
|
var hasComma = false;
|
|
1815
|
-
var decodingKey = !(($this.
|
|
1815
|
+
var decodingKey = !(($this.p2q_1 % 2 | 0) === 0);
|
|
1816
1816
|
if (decodingKey) {
|
|
1817
|
-
if (!($this.
|
|
1818
|
-
hasComma = $this.
|
|
1817
|
+
if (!($this.p2q_1 === -1)) {
|
|
1818
|
+
hasComma = $this.n2q_1.h2v();
|
|
1819
1819
|
}
|
|
1820
1820
|
} else {
|
|
1821
|
-
$this.
|
|
1821
|
+
$this.n2q_1.g2v(_Char___init__impl__6a9atx(58));
|
|
1822
1822
|
}
|
|
1823
1823
|
var tmp;
|
|
1824
|
-
if ($this.
|
|
1824
|
+
if ($this.n2q_1.t2t()) {
|
|
1825
1825
|
if (decodingKey) {
|
|
1826
|
-
if ($this.
|
|
1827
|
-
var tmp0 = $this.
|
|
1826
|
+
if ($this.p2q_1 === -1) {
|
|
1827
|
+
var tmp0 = $this.n2q_1;
|
|
1828
1828
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1829
1829
|
var condition = !hasComma;
|
|
1830
|
-
var position = tmp0.
|
|
1830
|
+
var position = tmp0.t2q_1;
|
|
1831
1831
|
if (!condition) {
|
|
1832
1832
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1833
1833
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
1834
|
-
tmp0.
|
|
1834
|
+
tmp0.z2s(tmp$ret$0, position);
|
|
1835
1835
|
}
|
|
1836
1836
|
} else {
|
|
1837
|
-
var tmp3 = $this.
|
|
1837
|
+
var tmp3 = $this.n2q_1;
|
|
1838
1838
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1839
1839
|
var condition_0 = hasComma;
|
|
1840
|
-
var position_0 = tmp3.
|
|
1840
|
+
var position_0 = tmp3.t2q_1;
|
|
1841
1841
|
if (!condition_0) {
|
|
1842
1842
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1843
1843
|
var tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
1844
|
-
tmp3.
|
|
1844
|
+
tmp3.z2s(tmp$ret$1, position_0);
|
|
1845
1845
|
}
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
|
-
$this.
|
|
1849
|
-
tmp = $this.
|
|
1848
|
+
$this.p2q_1 = $this.p2q_1 + 1 | 0;
|
|
1849
|
+
tmp = $this.p2q_1;
|
|
1850
1850
|
} else {
|
|
1851
|
-
if (hasComma && !$this.
|
|
1852
|
-
invalidTrailingComma($this.
|
|
1851
|
+
if (hasComma && !$this.l2q_1.g2q_1.m2r_1) {
|
|
1852
|
+
invalidTrailingComma($this.n2q_1);
|
|
1853
1853
|
}
|
|
1854
1854
|
tmp = -1;
|
|
1855
1855
|
}
|
|
1856
1856
|
return tmp;
|
|
1857
1857
|
}
|
|
1858
1858
|
function coerceInputValue($this, descriptor, index) {
|
|
1859
|
-
var tmp0 = $this.
|
|
1859
|
+
var tmp0 = $this.l2q_1;
|
|
1860
1860
|
var tmp$ret$1;
|
|
1861
1861
|
$l$block_2: {
|
|
1862
1862
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -1865,7 +1865,7 @@
|
|
|
1865
1865
|
var tmp;
|
|
1866
1866
|
if (isOptional && !elementDescriptor.wm()) {
|
|
1867
1867
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1868
|
-
tmp = $this.
|
|
1868
|
+
tmp = $this.n2q_1.i2v(true);
|
|
1869
1869
|
} else {
|
|
1870
1870
|
tmp = false;
|
|
1871
1871
|
}
|
|
@@ -1877,7 +1877,7 @@
|
|
|
1877
1877
|
var tmp_0;
|
|
1878
1878
|
if (elementDescriptor.wm()) {
|
|
1879
1879
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1880
|
-
tmp_0 = $this.
|
|
1880
|
+
tmp_0 = $this.n2q_1.i2v(false);
|
|
1881
1881
|
} else {
|
|
1882
1882
|
tmp_0 = false;
|
|
1883
1883
|
}
|
|
@@ -1886,7 +1886,7 @@
|
|
|
1886
1886
|
break $l$block_2;
|
|
1887
1887
|
}
|
|
1888
1888
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1889
|
-
var tmp0_elvis_lhs = $this.
|
|
1889
|
+
var tmp0_elvis_lhs = $this.n2q_1.j2v($this.r2q_1.a2r_1);
|
|
1890
1890
|
var tmp_1;
|
|
1891
1891
|
if (tmp0_elvis_lhs == null) {
|
|
1892
1892
|
tmp$ret$1 = false;
|
|
@@ -1896,10 +1896,10 @@
|
|
|
1896
1896
|
}
|
|
1897
1897
|
var enumValue = tmp_1;
|
|
1898
1898
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
1899
|
-
var coerceToNull = !tmp0.
|
|
1899
|
+
var coerceToNull = !tmp0.g2q_1.d2r_1 && elementDescriptor.wm();
|
|
1900
1900
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
1901
1901
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1902
|
-
$this.
|
|
1902
|
+
$this.n2q_1.u2t();
|
|
1903
1903
|
tmp$ret$1 = true;
|
|
1904
1904
|
break $l$block_2;
|
|
1905
1905
|
}
|
|
@@ -1909,24 +1909,24 @@
|
|
|
1909
1909
|
return tmp$ret$1;
|
|
1910
1910
|
}
|
|
1911
1911
|
function decodeObjectIndex($this, descriptor) {
|
|
1912
|
-
var hasComma = $this.
|
|
1913
|
-
while ($this.
|
|
1912
|
+
var hasComma = $this.n2q_1.h2v();
|
|
1913
|
+
while ($this.n2q_1.t2t()) {
|
|
1914
1914
|
hasComma = false;
|
|
1915
1915
|
var key = decodeStringKey($this);
|
|
1916
|
-
$this.
|
|
1917
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
1916
|
+
$this.n2q_1.g2v(_Char___init__impl__6a9atx(58));
|
|
1917
|
+
var index = getJsonNameIndex(descriptor, $this.l2q_1, key);
|
|
1918
1918
|
var tmp;
|
|
1919
1919
|
if (!(index === -3)) {
|
|
1920
1920
|
var tmp_0;
|
|
1921
|
-
if ($this.
|
|
1922
|
-
hasComma = $this.
|
|
1921
|
+
if ($this.r2q_1.f2r_1 && coerceInputValue($this, descriptor, index)) {
|
|
1922
|
+
hasComma = $this.n2q_1.h2v();
|
|
1923
1923
|
tmp_0 = false;
|
|
1924
1924
|
} else {
|
|
1925
|
-
var tmp0_safe_receiver = $this.
|
|
1925
|
+
var tmp0_safe_receiver = $this.s2q_1;
|
|
1926
1926
|
if (tmp0_safe_receiver == null)
|
|
1927
1927
|
null;
|
|
1928
1928
|
else {
|
|
1929
|
-
tmp0_safe_receiver.
|
|
1929
|
+
tmp0_safe_receiver.w2s(index);
|
|
1930
1930
|
}
|
|
1931
1931
|
return index;
|
|
1932
1932
|
}
|
|
@@ -1939,33 +1939,33 @@
|
|
|
1939
1939
|
hasComma = handleUnknown($this, key);
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
1942
|
-
if (hasComma && !$this.
|
|
1943
|
-
invalidTrailingComma($this.
|
|
1942
|
+
if (hasComma && !$this.l2q_1.g2q_1.m2r_1) {
|
|
1943
|
+
invalidTrailingComma($this.n2q_1);
|
|
1944
1944
|
}
|
|
1945
|
-
var tmp1_safe_receiver = $this.
|
|
1946
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1945
|
+
var tmp1_safe_receiver = $this.s2q_1;
|
|
1946
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.x2s();
|
|
1947
1947
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
1948
1948
|
}
|
|
1949
1949
|
function handleUnknown($this, key) {
|
|
1950
|
-
if ($this.
|
|
1951
|
-
$this.
|
|
1950
|
+
if ($this.r2q_1.z2q_1 || trySkip($this.q2q_1, $this, key)) {
|
|
1951
|
+
$this.n2q_1.l2v($this.r2q_1.a2r_1);
|
|
1952
1952
|
} else {
|
|
1953
|
-
$this.
|
|
1953
|
+
$this.n2q_1.k2v(key);
|
|
1954
1954
|
}
|
|
1955
|
-
return $this.
|
|
1955
|
+
return $this.n2q_1.h2v();
|
|
1956
1956
|
}
|
|
1957
1957
|
function decodeListIndex($this) {
|
|
1958
|
-
var hasComma = $this.
|
|
1958
|
+
var hasComma = $this.n2q_1.h2v();
|
|
1959
1959
|
var tmp;
|
|
1960
|
-
if ($this.
|
|
1961
|
-
if (!($this.
|
|
1962
|
-
$this.
|
|
1960
|
+
if ($this.n2q_1.t2t()) {
|
|
1961
|
+
if (!($this.p2q_1 === -1) && !hasComma) {
|
|
1962
|
+
$this.n2q_1.z2s('Expected end of the array or comma');
|
|
1963
1963
|
}
|
|
1964
|
-
$this.
|
|
1965
|
-
tmp = $this.
|
|
1964
|
+
$this.p2q_1 = $this.p2q_1 + 1 | 0;
|
|
1965
|
+
tmp = $this.p2q_1;
|
|
1966
1966
|
} else {
|
|
1967
|
-
if (hasComma && !$this.
|
|
1968
|
-
invalidTrailingComma($this.
|
|
1967
|
+
if (hasComma && !$this.l2q_1.g2q_1.m2r_1) {
|
|
1968
|
+
invalidTrailingComma($this.n2q_1, 'array');
|
|
1969
1969
|
}
|
|
1970
1970
|
tmp = -1;
|
|
1971
1971
|
}
|
|
@@ -1973,32 +1973,32 @@
|
|
|
1973
1973
|
}
|
|
1974
1974
|
function decodeStringKey($this) {
|
|
1975
1975
|
var tmp;
|
|
1976
|
-
if ($this.
|
|
1977
|
-
tmp = $this.
|
|
1976
|
+
if ($this.r2q_1.a2r_1) {
|
|
1977
|
+
tmp = $this.n2q_1.n2v();
|
|
1978
1978
|
} else {
|
|
1979
|
-
tmp = $this.
|
|
1979
|
+
tmp = $this.n2q_1.m2v();
|
|
1980
1980
|
}
|
|
1981
1981
|
return tmp;
|
|
1982
1982
|
}
|
|
1983
1983
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
1984
1984
|
AbstractDecoder.call(this);
|
|
1985
|
-
this.
|
|
1986
|
-
this.
|
|
1987
|
-
this.
|
|
1988
|
-
this.
|
|
1989
|
-
this.
|
|
1990
|
-
this.
|
|
1991
|
-
this.
|
|
1992
|
-
this.
|
|
1993
|
-
}
|
|
1994
|
-
protoOf(StreamingJsonDecoder).
|
|
1995
|
-
return this.
|
|
1985
|
+
this.l2q_1 = json;
|
|
1986
|
+
this.m2q_1 = mode;
|
|
1987
|
+
this.n2q_1 = lexer;
|
|
1988
|
+
this.o2q_1 = this.l2q_1.hp();
|
|
1989
|
+
this.p2q_1 = -1;
|
|
1990
|
+
this.q2q_1 = discriminatorHolder;
|
|
1991
|
+
this.r2q_1 = this.l2q_1.g2q_1;
|
|
1992
|
+
this.s2q_1 = this.r2q_1.d2r_1 ? null : new JsonElementMarker(descriptor);
|
|
1993
|
+
}
|
|
1994
|
+
protoOf(StreamingJsonDecoder).p2r = function () {
|
|
1995
|
+
return this.l2q_1;
|
|
1996
1996
|
};
|
|
1997
1997
|
protoOf(StreamingJsonDecoder).hp = function () {
|
|
1998
|
-
return this.
|
|
1998
|
+
return this.o2q_1;
|
|
1999
1999
|
};
|
|
2000
|
-
protoOf(StreamingJsonDecoder).
|
|
2001
|
-
return (new JsonTreeReader(this.
|
|
2000
|
+
protoOf(StreamingJsonDecoder).q2r = function () {
|
|
2001
|
+
return (new JsonTreeReader(this.l2q_1.g2q_1, this.n2q_1)).w2t();
|
|
2002
2002
|
};
|
|
2003
2003
|
protoOf(StreamingJsonDecoder).ro = function (deserializer) {
|
|
2004
2004
|
try {
|
|
@@ -2006,13 +2006,13 @@
|
|
|
2006
2006
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2007
2007
|
tmp = true;
|
|
2008
2008
|
} else {
|
|
2009
|
-
tmp = this.
|
|
2009
|
+
tmp = this.l2q_1.g2q_1.g2r_1;
|
|
2010
2010
|
}
|
|
2011
2011
|
if (tmp) {
|
|
2012
2012
|
return deserializer.pl(this);
|
|
2013
2013
|
}
|
|
2014
|
-
var discriminator = classDiscriminator(deserializer.nl(), this.
|
|
2015
|
-
var tmp0_elvis_lhs = this.
|
|
2014
|
+
var discriminator = classDiscriminator(deserializer.nl(), this.l2q_1);
|
|
2015
|
+
var tmp0_elvis_lhs = this.n2q_1.o2v(discriminator, this.r2q_1.a2r_1);
|
|
2016
2016
|
var tmp_0;
|
|
2017
2017
|
if (tmp0_elvis_lhs == null) {
|
|
2018
2018
|
var tmp1 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2023,21 +2023,21 @@
|
|
|
2023
2023
|
if (!(tmp1 instanceof AbstractPolymorphicSerializer)) {
|
|
2024
2024
|
tmp_1 = true;
|
|
2025
2025
|
} else {
|
|
2026
|
-
tmp_1 = this.
|
|
2026
|
+
tmp_1 = this.p2r().g2q_1.g2r_1;
|
|
2027
2027
|
}
|
|
2028
2028
|
if (tmp_1) {
|
|
2029
2029
|
tmp$ret$0 = tmp1.pl(this);
|
|
2030
2030
|
break $l$block;
|
|
2031
2031
|
}
|
|
2032
|
-
var discriminator_0 = classDiscriminator(tmp1.nl(), this.
|
|
2033
|
-
var tmp0 = this.
|
|
2032
|
+
var discriminator_0 = classDiscriminator(tmp1.nl(), this.p2r());
|
|
2033
|
+
var tmp0 = this.q2r();
|
|
2034
2034
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2035
2035
|
var serialName = tmp1.nl().om();
|
|
2036
2036
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2037
2037
|
var tmp_2 = getKClass(JsonObject).ua();
|
|
2038
2038
|
var tmp_3 = getKClassFromExpression(tmp0).ua();
|
|
2039
2039
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue.<anonymous>' call
|
|
2040
|
-
var tmp$ret$1 = this.
|
|
2040
|
+
var tmp$ret$1 = this.n2q_1.u2q_1.m2t();
|
|
2041
2041
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString_0(tmp0));
|
|
2042
2042
|
}
|
|
2043
2043
|
var jsonTree = tmp0;
|
|
@@ -2058,7 +2058,7 @@
|
|
|
2058
2058
|
}
|
|
2059
2059
|
var tmp_6 = tmp_4;
|
|
2060
2060
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2061
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2061
|
+
tmp$ret$0 = readPolymorphicJson(this.p2r(), discriminator_0, jsonTree, actualSerializer);
|
|
2062
2062
|
}
|
|
2063
2063
|
return tmp$ret$0;
|
|
2064
2064
|
} else {
|
|
@@ -2074,7 +2074,7 @@
|
|
|
2074
2074
|
var it_0 = $p;
|
|
2075
2075
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2076
2076
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2077
|
-
this.
|
|
2077
|
+
this.n2q_1.z2s(message, VOID, hint);
|
|
2078
2078
|
} else {
|
|
2079
2079
|
throw $p;
|
|
2080
2080
|
}
|
|
@@ -2082,37 +2082,37 @@
|
|
|
2082
2082
|
}
|
|
2083
2083
|
var tmp_9 = tmp_7;
|
|
2084
2084
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2085
|
-
this.
|
|
2085
|
+
this.q2q_1 = new DiscriminatorHolder(discriminator);
|
|
2086
2086
|
return actualSerializer_0.pl(this);
|
|
2087
2087
|
} catch ($p) {
|
|
2088
2088
|
if ($p instanceof MissingFieldException) {
|
|
2089
2089
|
var e = $p;
|
|
2090
2090
|
if (contains_0(ensureNotNull(e.message), 'at path'))
|
|
2091
2091
|
throw e;
|
|
2092
|
-
throw new MissingFieldException(e.qm_1, plus(e.message, ' at path: ') + this.
|
|
2092
|
+
throw new MissingFieldException(e.qm_1, plus(e.message, ' at path: ') + this.n2q_1.u2q_1.m2t(), e);
|
|
2093
2093
|
} else {
|
|
2094
2094
|
throw $p;
|
|
2095
2095
|
}
|
|
2096
2096
|
}
|
|
2097
2097
|
};
|
|
2098
2098
|
protoOf(StreamingJsonDecoder).so = function (descriptor) {
|
|
2099
|
-
var newMode = switchMode(this.
|
|
2100
|
-
this.
|
|
2101
|
-
this.
|
|
2099
|
+
var newMode = switchMode(this.l2q_1, descriptor);
|
|
2100
|
+
this.n2q_1.u2q_1.h2t(descriptor);
|
|
2101
|
+
this.n2q_1.g2v(newMode.r2v_1);
|
|
2102
2102
|
checkLeadingComma(this);
|
|
2103
2103
|
var tmp;
|
|
2104
2104
|
switch (newMode.q2_1) {
|
|
2105
2105
|
case 1:
|
|
2106
2106
|
case 2:
|
|
2107
2107
|
case 3:
|
|
2108
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2108
|
+
tmp = new StreamingJsonDecoder(this.l2q_1, newMode, this.n2q_1, descriptor, this.q2q_1);
|
|
2109
2109
|
break;
|
|
2110
2110
|
default:
|
|
2111
2111
|
var tmp_0;
|
|
2112
|
-
if (this.
|
|
2112
|
+
if (this.m2q_1.equals(newMode) && this.l2q_1.g2q_1.d2r_1) {
|
|
2113
2113
|
tmp_0 = this;
|
|
2114
2114
|
} else {
|
|
2115
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2115
|
+
tmp_0 = new StreamingJsonDecoder(this.l2q_1, newMode, this.n2q_1, descriptor, this.q2q_1);
|
|
2116
2116
|
}
|
|
2117
2117
|
|
|
2118
2118
|
tmp = tmp_0;
|
|
@@ -2121,21 +2121,21 @@
|
|
|
2121
2121
|
return tmp;
|
|
2122
2122
|
};
|
|
2123
2123
|
protoOf(StreamingJsonDecoder).to = function (descriptor) {
|
|
2124
|
-
if (this.
|
|
2124
|
+
if (this.l2q_1.g2q_1.z2q_1 && descriptor.cn() === 0) {
|
|
2125
2125
|
skipLeftoverElements(this, descriptor);
|
|
2126
2126
|
}
|
|
2127
|
-
if (this.
|
|
2128
|
-
invalidTrailingComma(this.
|
|
2127
|
+
if (this.n2q_1.h2v() && !this.l2q_1.g2q_1.m2r_1) {
|
|
2128
|
+
invalidTrailingComma(this.n2q_1, '');
|
|
2129
2129
|
}
|
|
2130
|
-
this.
|
|
2131
|
-
this.
|
|
2130
|
+
this.n2q_1.g2v(this.m2q_1.s2v_1);
|
|
2131
|
+
this.n2q_1.u2q_1.l2t();
|
|
2132
2132
|
};
|
|
2133
2133
|
protoOf(StreamingJsonDecoder).eo = function () {
|
|
2134
2134
|
var tmp;
|
|
2135
|
-
var tmp0_safe_receiver = this.
|
|
2136
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2135
|
+
var tmp0_safe_receiver = this.s2q_1;
|
|
2136
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v2s_1;
|
|
2137
2137
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2138
|
-
tmp = !this.
|
|
2138
|
+
tmp = !this.n2q_1.t2v();
|
|
2139
2139
|
} else {
|
|
2140
2140
|
tmp = false;
|
|
2141
2141
|
}
|
|
@@ -2145,19 +2145,19 @@
|
|
|
2145
2145
|
return null;
|
|
2146
2146
|
};
|
|
2147
2147
|
protoOf(StreamingJsonDecoder).ep = function (descriptor, index, deserializer, previousValue) {
|
|
2148
|
-
var isMapKey = this.
|
|
2148
|
+
var isMapKey = this.m2q_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2149
2149
|
if (isMapKey) {
|
|
2150
|
-
this.
|
|
2150
|
+
this.n2q_1.u2q_1.k2t();
|
|
2151
2151
|
}
|
|
2152
2152
|
var value = protoOf(AbstractDecoder).ep.call(this, descriptor, index, deserializer, previousValue);
|
|
2153
2153
|
if (isMapKey) {
|
|
2154
|
-
this.
|
|
2154
|
+
this.n2q_1.u2q_1.j2t(value);
|
|
2155
2155
|
}
|
|
2156
2156
|
return value;
|
|
2157
2157
|
};
|
|
2158
2158
|
protoOf(StreamingJsonDecoder).jp = function (descriptor) {
|
|
2159
2159
|
var index;
|
|
2160
|
-
switch (this.
|
|
2160
|
+
switch (this.m2q_1.q2_1) {
|
|
2161
2161
|
case 0:
|
|
2162
2162
|
index = decodeObjectIndex(this, descriptor);
|
|
2163
2163
|
break;
|
|
@@ -2168,44 +2168,44 @@
|
|
|
2168
2168
|
index = decodeListIndex(this);
|
|
2169
2169
|
break;
|
|
2170
2170
|
}
|
|
2171
|
-
if (!this.
|
|
2172
|
-
this.
|
|
2171
|
+
if (!this.m2q_1.equals(WriteMode_MAP_getInstance())) {
|
|
2172
|
+
this.n2q_1.u2q_1.i2t(index);
|
|
2173
2173
|
}
|
|
2174
2174
|
return index;
|
|
2175
2175
|
};
|
|
2176
2176
|
protoOf(StreamingJsonDecoder).go = function () {
|
|
2177
|
-
return this.
|
|
2177
|
+
return this.n2q_1.u2v();
|
|
2178
2178
|
};
|
|
2179
2179
|
protoOf(StreamingJsonDecoder).ho = function () {
|
|
2180
|
-
var value = this.
|
|
2180
|
+
var value = this.n2q_1.c2s();
|
|
2181
2181
|
if (!value.equals(toLong(value.j3()))) {
|
|
2182
|
-
this.
|
|
2182
|
+
this.n2q_1.z2s("Failed to parse byte for input '" + value.toString() + "'");
|
|
2183
2183
|
}
|
|
2184
2184
|
return value.j3();
|
|
2185
2185
|
};
|
|
2186
2186
|
protoOf(StreamingJsonDecoder).io = function () {
|
|
2187
|
-
var value = this.
|
|
2187
|
+
var value = this.n2q_1.c2s();
|
|
2188
2188
|
if (!value.equals(toLong(value.k3()))) {
|
|
2189
|
-
this.
|
|
2189
|
+
this.n2q_1.z2s("Failed to parse short for input '" + value.toString() + "'");
|
|
2190
2190
|
}
|
|
2191
2191
|
return value.k3();
|
|
2192
2192
|
};
|
|
2193
2193
|
protoOf(StreamingJsonDecoder).jo = function () {
|
|
2194
|
-
var value = this.
|
|
2194
|
+
var value = this.n2q_1.c2s();
|
|
2195
2195
|
if (!value.equals(toLong(value.j1()))) {
|
|
2196
|
-
this.
|
|
2196
|
+
this.n2q_1.z2s("Failed to parse int for input '" + value.toString() + "'");
|
|
2197
2197
|
}
|
|
2198
2198
|
return value.j1();
|
|
2199
2199
|
};
|
|
2200
2200
|
protoOf(StreamingJsonDecoder).ko = function () {
|
|
2201
|
-
return this.
|
|
2201
|
+
return this.n2q_1.c2s();
|
|
2202
2202
|
};
|
|
2203
2203
|
protoOf(StreamingJsonDecoder).lo = function () {
|
|
2204
|
-
var tmp0 = this.
|
|
2204
|
+
var tmp0 = this.n2q_1;
|
|
2205
2205
|
var tmp$ret$4;
|
|
2206
2206
|
$l$block: {
|
|
2207
2207
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2208
|
-
var input = tmp0.
|
|
2208
|
+
var input = tmp0.v2t();
|
|
2209
2209
|
try {
|
|
2210
2210
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
2211
2211
|
// Inline function 'kotlin.text.toFloat' call
|
|
@@ -2216,24 +2216,24 @@
|
|
|
2216
2216
|
} catch ($p) {
|
|
2217
2217
|
if ($p instanceof IllegalArgumentException) {
|
|
2218
2218
|
var e = $p;
|
|
2219
|
-
tmp0.
|
|
2219
|
+
tmp0.z2s("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2220
2220
|
} else {
|
|
2221
2221
|
throw $p;
|
|
2222
2222
|
}
|
|
2223
2223
|
}
|
|
2224
2224
|
}
|
|
2225
2225
|
var result = tmp$ret$4;
|
|
2226
|
-
var specialFp = this.
|
|
2226
|
+
var specialFp = this.l2q_1.g2q_1.i2r_1;
|
|
2227
2227
|
if (specialFp || isFinite(result))
|
|
2228
2228
|
return result;
|
|
2229
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2229
|
+
throwInvalidFloatingPointDecoded(this.n2q_1, result);
|
|
2230
2230
|
};
|
|
2231
2231
|
protoOf(StreamingJsonDecoder).mo = function () {
|
|
2232
|
-
var tmp0 = this.
|
|
2232
|
+
var tmp0 = this.n2q_1;
|
|
2233
2233
|
var tmp$ret$1;
|
|
2234
2234
|
$l$block: {
|
|
2235
2235
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2236
|
-
var input = tmp0.
|
|
2236
|
+
var input = tmp0.v2t();
|
|
2237
2237
|
try {
|
|
2238
2238
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
2239
2239
|
tmp$ret$1 = toDouble(input);
|
|
@@ -2241,55 +2241,55 @@
|
|
|
2241
2241
|
} catch ($p) {
|
|
2242
2242
|
if ($p instanceof IllegalArgumentException) {
|
|
2243
2243
|
var e = $p;
|
|
2244
|
-
tmp0.
|
|
2244
|
+
tmp0.z2s("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2245
2245
|
} else {
|
|
2246
2246
|
throw $p;
|
|
2247
2247
|
}
|
|
2248
2248
|
}
|
|
2249
2249
|
}
|
|
2250
2250
|
var result = tmp$ret$1;
|
|
2251
|
-
var specialFp = this.
|
|
2251
|
+
var specialFp = this.l2q_1.g2q_1.i2r_1;
|
|
2252
2252
|
if (specialFp || isFinite_0(result))
|
|
2253
2253
|
return result;
|
|
2254
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2254
|
+
throwInvalidFloatingPointDecoded(this.n2q_1, result);
|
|
2255
2255
|
};
|
|
2256
2256
|
protoOf(StreamingJsonDecoder).no = function () {
|
|
2257
|
-
var string = this.
|
|
2257
|
+
var string = this.n2q_1.v2t();
|
|
2258
2258
|
if (!(string.length === 1)) {
|
|
2259
|
-
this.
|
|
2259
|
+
this.n2q_1.z2s("Expected single char, but got '" + string + "'");
|
|
2260
2260
|
}
|
|
2261
2261
|
return charSequenceGet(string, 0);
|
|
2262
2262
|
};
|
|
2263
2263
|
protoOf(StreamingJsonDecoder).oo = function () {
|
|
2264
2264
|
var tmp;
|
|
2265
|
-
if (this.
|
|
2266
|
-
tmp = this.
|
|
2265
|
+
if (this.r2q_1.a2r_1) {
|
|
2266
|
+
tmp = this.n2q_1.n2v();
|
|
2267
2267
|
} else {
|
|
2268
|
-
tmp = this.
|
|
2268
|
+
tmp = this.n2q_1.u2t();
|
|
2269
2269
|
}
|
|
2270
2270
|
return tmp;
|
|
2271
2271
|
};
|
|
2272
2272
|
protoOf(StreamingJsonDecoder).po = function (descriptor) {
|
|
2273
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2273
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.n2q_1, this.l2q_1) : protoOf(AbstractDecoder).po.call(this, descriptor);
|
|
2274
2274
|
};
|
|
2275
2275
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2276
2276
|
AbstractDecoder.call(this);
|
|
2277
|
-
this.
|
|
2278
|
-
this.
|
|
2277
|
+
this.v2v_1 = lexer;
|
|
2278
|
+
this.w2v_1 = json.hp();
|
|
2279
2279
|
}
|
|
2280
2280
|
protoOf(JsonDecoderForUnsignedTypes).hp = function () {
|
|
2281
|
-
return this.
|
|
2281
|
+
return this.w2v_1;
|
|
2282
2282
|
};
|
|
2283
2283
|
protoOf(JsonDecoderForUnsignedTypes).jp = function (descriptor) {
|
|
2284
2284
|
var message = 'unsupported';
|
|
2285
2285
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
2286
2286
|
};
|
|
2287
2287
|
protoOf(JsonDecoderForUnsignedTypes).jo = function () {
|
|
2288
|
-
var tmp0 = this.
|
|
2288
|
+
var tmp0 = this.v2v_1;
|
|
2289
2289
|
var tmp$ret$2;
|
|
2290
2290
|
$l$block: {
|
|
2291
2291
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2292
|
-
var input = tmp0.
|
|
2292
|
+
var input = tmp0.v2t();
|
|
2293
2293
|
try {
|
|
2294
2294
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
2295
2295
|
// Inline function 'kotlin.UInt.toInt' call
|
|
@@ -2299,7 +2299,7 @@
|
|
|
2299
2299
|
} catch ($p) {
|
|
2300
2300
|
if ($p instanceof IllegalArgumentException) {
|
|
2301
2301
|
var e = $p;
|
|
2302
|
-
tmp0.
|
|
2302
|
+
tmp0.z2s("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2303
2303
|
} else {
|
|
2304
2304
|
throw $p;
|
|
2305
2305
|
}
|
|
@@ -2308,11 +2308,11 @@
|
|
|
2308
2308
|
return tmp$ret$2;
|
|
2309
2309
|
};
|
|
2310
2310
|
protoOf(JsonDecoderForUnsignedTypes).ko = function () {
|
|
2311
|
-
var tmp0 = this.
|
|
2311
|
+
var tmp0 = this.v2v_1;
|
|
2312
2312
|
var tmp$ret$2;
|
|
2313
2313
|
$l$block: {
|
|
2314
2314
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2315
|
-
var input = tmp0.
|
|
2315
|
+
var input = tmp0.v2t();
|
|
2316
2316
|
try {
|
|
2317
2317
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
2318
2318
|
// Inline function 'kotlin.ULong.toLong' call
|
|
@@ -2322,7 +2322,7 @@
|
|
|
2322
2322
|
} catch ($p) {
|
|
2323
2323
|
if ($p instanceof IllegalArgumentException) {
|
|
2324
2324
|
var e = $p;
|
|
2325
|
-
tmp0.
|
|
2325
|
+
tmp0.z2s("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2326
2326
|
} else {
|
|
2327
2327
|
throw $p;
|
|
2328
2328
|
}
|
|
@@ -2331,11 +2331,11 @@
|
|
|
2331
2331
|
return tmp$ret$2;
|
|
2332
2332
|
};
|
|
2333
2333
|
protoOf(JsonDecoderForUnsignedTypes).ho = function () {
|
|
2334
|
-
var tmp0 = this.
|
|
2334
|
+
var tmp0 = this.v2v_1;
|
|
2335
2335
|
var tmp$ret$2;
|
|
2336
2336
|
$l$block: {
|
|
2337
2337
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2338
|
-
var input = tmp0.
|
|
2338
|
+
var input = tmp0.v2t();
|
|
2339
2339
|
try {
|
|
2340
2340
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
2341
2341
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -2345,7 +2345,7 @@
|
|
|
2345
2345
|
} catch ($p) {
|
|
2346
2346
|
if ($p instanceof IllegalArgumentException) {
|
|
2347
2347
|
var e = $p;
|
|
2348
|
-
tmp0.
|
|
2348
|
+
tmp0.z2s("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2349
2349
|
} else {
|
|
2350
2350
|
throw $p;
|
|
2351
2351
|
}
|
|
@@ -2354,11 +2354,11 @@
|
|
|
2354
2354
|
return tmp$ret$2;
|
|
2355
2355
|
};
|
|
2356
2356
|
protoOf(JsonDecoderForUnsignedTypes).io = function () {
|
|
2357
|
-
var tmp0 = this.
|
|
2357
|
+
var tmp0 = this.v2v_1;
|
|
2358
2358
|
var tmp$ret$2;
|
|
2359
2359
|
$l$block: {
|
|
2360
2360
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2361
|
-
var input = tmp0.
|
|
2361
|
+
var input = tmp0.v2t();
|
|
2362
2362
|
try {
|
|
2363
2363
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
2364
2364
|
// Inline function 'kotlin.UShort.toShort' call
|
|
@@ -2368,7 +2368,7 @@
|
|
|
2368
2368
|
} catch ($p) {
|
|
2369
2369
|
if ($p instanceof IllegalArgumentException) {
|
|
2370
2370
|
var e = $p;
|
|
2371
|
-
tmp0.
|
|
2371
|
+
tmp0.z2s("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2372
2372
|
} else {
|
|
2373
2373
|
throw $p;
|
|
2374
2374
|
}
|
|
@@ -2552,26 +2552,26 @@
|
|
|
2552
2552
|
}
|
|
2553
2553
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
2554
2554
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
2555
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
2555
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.d2w(tag), toString_0($this.e2w()));
|
|
2556
2556
|
}
|
|
2557
2557
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
2558
2558
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
2559
2559
|
NamedValueDecoder.call(this);
|
|
2560
|
-
this.
|
|
2561
|
-
this.
|
|
2562
|
-
this.
|
|
2563
|
-
this.
|
|
2560
|
+
this.z2v_1 = json;
|
|
2561
|
+
this.a2w_1 = value;
|
|
2562
|
+
this.b2w_1 = polymorphicDiscriminator;
|
|
2563
|
+
this.c2w_1 = this.p2r().g2q_1;
|
|
2564
2564
|
}
|
|
2565
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2566
|
-
return this.
|
|
2565
|
+
protoOf(AbstractJsonTreeDecoder).p2r = function () {
|
|
2566
|
+
return this.z2v_1;
|
|
2567
2567
|
};
|
|
2568
2568
|
protoOf(AbstractJsonTreeDecoder).z = function () {
|
|
2569
|
-
return this.
|
|
2569
|
+
return this.a2w_1;
|
|
2570
2570
|
};
|
|
2571
2571
|
protoOf(AbstractJsonTreeDecoder).hp = function () {
|
|
2572
|
-
return this.
|
|
2572
|
+
return this.p2r().hp();
|
|
2573
2573
|
};
|
|
2574
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2574
|
+
protoOf(AbstractJsonTreeDecoder).e2w = function () {
|
|
2575
2575
|
var tmp0_safe_receiver = this.e12();
|
|
2576
2576
|
var tmp;
|
|
2577
2577
|
if (tmp0_safe_receiver == null) {
|
|
@@ -2579,16 +2579,16 @@
|
|
|
2579
2579
|
} else {
|
|
2580
2580
|
// Inline function 'kotlin.let' call
|
|
2581
2581
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
2582
|
-
tmp = this.
|
|
2582
|
+
tmp = this.f2w(tmp0_safe_receiver);
|
|
2583
2583
|
}
|
|
2584
2584
|
var tmp1_elvis_lhs = tmp;
|
|
2585
2585
|
return tmp1_elvis_lhs == null ? this.z() : tmp1_elvis_lhs;
|
|
2586
2586
|
};
|
|
2587
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2587
|
+
protoOf(AbstractJsonTreeDecoder).d2w = function (currentTag) {
|
|
2588
2588
|
return this.b13() + ('.' + currentTag);
|
|
2589
2589
|
};
|
|
2590
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2591
|
-
return this.
|
|
2590
|
+
protoOf(AbstractJsonTreeDecoder).q2r = function () {
|
|
2591
|
+
return this.e2w();
|
|
2592
2592
|
};
|
|
2593
2593
|
protoOf(AbstractJsonTreeDecoder).ro = function (deserializer) {
|
|
2594
2594
|
var tmp$ret$0;
|
|
@@ -2598,14 +2598,14 @@
|
|
|
2598
2598
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2599
2599
|
tmp = true;
|
|
2600
2600
|
} else {
|
|
2601
|
-
tmp = this.
|
|
2601
|
+
tmp = this.p2r().g2q_1.g2r_1;
|
|
2602
2602
|
}
|
|
2603
2603
|
if (tmp) {
|
|
2604
2604
|
tmp$ret$0 = deserializer.pl(this);
|
|
2605
2605
|
break $l$block;
|
|
2606
2606
|
}
|
|
2607
|
-
var discriminator = classDiscriminator(deserializer.nl(), this.
|
|
2608
|
-
var tmp0 = this.
|
|
2607
|
+
var discriminator = classDiscriminator(deserializer.nl(), this.p2r());
|
|
2608
|
+
var tmp0 = this.q2r();
|
|
2609
2609
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2610
2610
|
var serialName = deserializer.nl().om();
|
|
2611
2611
|
if (!(tmp0 instanceof JsonObject)) {
|
|
@@ -2633,7 +2633,7 @@
|
|
|
2633
2633
|
}
|
|
2634
2634
|
var tmp_4 = tmp_2;
|
|
2635
2635
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
2636
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2636
|
+
tmp$ret$0 = readPolymorphicJson(this.p2r(), discriminator, jsonTree, actualSerializer);
|
|
2637
2637
|
}
|
|
2638
2638
|
return tmp$ret$0;
|
|
2639
2639
|
};
|
|
@@ -2641,7 +2641,7 @@
|
|
|
2641
2641
|
return childName;
|
|
2642
2642
|
};
|
|
2643
2643
|
protoOf(AbstractJsonTreeDecoder).so = function (descriptor) {
|
|
2644
|
-
var currentObject = this.
|
|
2644
|
+
var currentObject = this.e2w();
|
|
2645
2645
|
var tmp0_subject = descriptor.an();
|
|
2646
2646
|
var tmp;
|
|
2647
2647
|
var tmp_0;
|
|
@@ -2651,7 +2651,7 @@
|
|
|
2651
2651
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
2652
2652
|
}
|
|
2653
2653
|
if (tmp_0) {
|
|
2654
|
-
var tmp_1 = this.
|
|
2654
|
+
var tmp_1 = this.p2r();
|
|
2655
2655
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2656
2656
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2657
2657
|
var serialName = descriptor.om();
|
|
@@ -2666,7 +2666,7 @@
|
|
|
2666
2666
|
} else {
|
|
2667
2667
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
2668
2668
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
2669
|
-
var this_0 = this.
|
|
2669
|
+
var this_0 = this.p2r();
|
|
2670
2670
|
var keyDescriptor = carrierDescriptor(descriptor.hn(0), this_0.hp());
|
|
2671
2671
|
var keyKind = keyDescriptor.an();
|
|
2672
2672
|
var tmp_4;
|
|
@@ -2678,7 +2678,7 @@
|
|
|
2678
2678
|
}
|
|
2679
2679
|
if (tmp_5) {
|
|
2680
2680
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2681
|
-
var tmp_6 = this.
|
|
2681
|
+
var tmp_6 = this.p2r();
|
|
2682
2682
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2683
2683
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2684
2684
|
var serialName_0 = descriptor.om();
|
|
@@ -2691,9 +2691,9 @@
|
|
|
2691
2691
|
}
|
|
2692
2692
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
2693
2693
|
} else {
|
|
2694
|
-
if (this_0.
|
|
2694
|
+
if (this_0.g2q_1.b2r_1) {
|
|
2695
2695
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2696
|
-
var tmp_9 = this.
|
|
2696
|
+
var tmp_9 = this.p2r();
|
|
2697
2697
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2698
2698
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2699
2699
|
var serialName_1 = descriptor.om();
|
|
@@ -2711,7 +2711,7 @@
|
|
|
2711
2711
|
}
|
|
2712
2712
|
tmp = tmp_4;
|
|
2713
2713
|
} else {
|
|
2714
|
-
var tmp_12 = this.
|
|
2714
|
+
var tmp_12 = this.p2r();
|
|
2715
2715
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2716
2716
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2717
2717
|
var serialName_2 = descriptor.om();
|
|
@@ -2722,7 +2722,7 @@
|
|
|
2722
2722
|
var tmp$ret$12 = this.b13();
|
|
2723
2723
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$12, toString_0(currentObject));
|
|
2724
2724
|
}
|
|
2725
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
2725
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.b2w_1);
|
|
2726
2726
|
}
|
|
2727
2727
|
}
|
|
2728
2728
|
return tmp;
|
|
@@ -2730,27 +2730,27 @@
|
|
|
2730
2730
|
protoOf(AbstractJsonTreeDecoder).to = function (descriptor) {
|
|
2731
2731
|
};
|
|
2732
2732
|
protoOf(AbstractJsonTreeDecoder).eo = function () {
|
|
2733
|
-
var tmp = this.
|
|
2733
|
+
var tmp = this.e2w();
|
|
2734
2734
|
return !(tmp instanceof JsonNull);
|
|
2735
2735
|
};
|
|
2736
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2737
|
-
return !(this.
|
|
2736
|
+
protoOf(AbstractJsonTreeDecoder).g2w = function (tag) {
|
|
2737
|
+
return !(this.f2w(tag) === JsonNull_getInstance());
|
|
2738
2738
|
};
|
|
2739
2739
|
protoOf(AbstractJsonTreeDecoder).d13 = function (tag) {
|
|
2740
|
-
return this.
|
|
2740
|
+
return this.g2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2741
2741
|
};
|
|
2742
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2742
|
+
protoOf(AbstractJsonTreeDecoder).h2w = function (tag) {
|
|
2743
2743
|
var tmp$ret$4;
|
|
2744
2744
|
$l$block: {
|
|
2745
2745
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
2746
2746
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2747
2747
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2748
|
-
var value = this.
|
|
2748
|
+
var value = this.f2w(tag);
|
|
2749
2749
|
if (!(value instanceof JsonPrimitive)) {
|
|
2750
2750
|
var tmp = getKClass(JsonPrimitive).ua();
|
|
2751
2751
|
var tmp_0 = getKClassFromExpression(value).ua();
|
|
2752
2752
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
2753
|
-
var tmp$ret$0 = this.
|
|
2753
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
2754
2754
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$0, toString_0(value));
|
|
2755
2755
|
}
|
|
2756
2756
|
var literal = value;
|
|
@@ -2777,20 +2777,20 @@
|
|
|
2777
2777
|
return tmp$ret$4;
|
|
2778
2778
|
};
|
|
2779
2779
|
protoOf(AbstractJsonTreeDecoder).e13 = function (tag) {
|
|
2780
|
-
return this.
|
|
2780
|
+
return this.h2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2781
2781
|
};
|
|
2782
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2782
|
+
protoOf(AbstractJsonTreeDecoder).i2w = function (tag) {
|
|
2783
2783
|
var tmp$ret$4;
|
|
2784
2784
|
$l$block: {
|
|
2785
2785
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
2786
2786
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2787
2787
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2788
|
-
var value = this.
|
|
2788
|
+
var value = this.f2w(tag);
|
|
2789
2789
|
if (!(value instanceof JsonPrimitive)) {
|
|
2790
2790
|
var tmp = getKClass(JsonPrimitive).ua();
|
|
2791
2791
|
var tmp_0 = getKClassFromExpression(value).ua();
|
|
2792
2792
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
2793
|
-
var tmp$ret$0 = this.
|
|
2793
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
2794
2794
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' at element: ' + tmp$ret$0, toString_0(value));
|
|
2795
2795
|
}
|
|
2796
2796
|
var literal = value;
|
|
@@ -2818,20 +2818,20 @@
|
|
|
2818
2818
|
return tmp$ret$4;
|
|
2819
2819
|
};
|
|
2820
2820
|
protoOf(AbstractJsonTreeDecoder).f13 = function (tag) {
|
|
2821
|
-
return this.
|
|
2821
|
+
return this.i2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2822
2822
|
};
|
|
2823
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2823
|
+
protoOf(AbstractJsonTreeDecoder).j2w = function (tag) {
|
|
2824
2824
|
var tmp$ret$4;
|
|
2825
2825
|
$l$block: {
|
|
2826
2826
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
2827
2827
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2828
2828
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2829
|
-
var value = this.
|
|
2829
|
+
var value = this.f2w(tag);
|
|
2830
2830
|
if (!(value instanceof JsonPrimitive)) {
|
|
2831
2831
|
var tmp = getKClass(JsonPrimitive).ua();
|
|
2832
2832
|
var tmp_0 = getKClassFromExpression(value).ua();
|
|
2833
2833
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
2834
|
-
var tmp$ret$0 = this.
|
|
2834
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
2835
2835
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' at element: ' + tmp$ret$0, toString_0(value));
|
|
2836
2836
|
}
|
|
2837
2837
|
var literal = value;
|
|
@@ -2859,20 +2859,20 @@
|
|
|
2859
2859
|
return tmp$ret$4;
|
|
2860
2860
|
};
|
|
2861
2861
|
protoOf(AbstractJsonTreeDecoder).g13 = function (tag) {
|
|
2862
|
-
return this.
|
|
2862
|
+
return this.j2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2863
2863
|
};
|
|
2864
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2864
|
+
protoOf(AbstractJsonTreeDecoder).k2w = function (tag) {
|
|
2865
2865
|
var tmp$ret$4;
|
|
2866
2866
|
$l$block: {
|
|
2867
2867
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
2868
2868
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2869
2869
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2870
|
-
var value = this.
|
|
2870
|
+
var value = this.f2w(tag);
|
|
2871
2871
|
if (!(value instanceof JsonPrimitive)) {
|
|
2872
2872
|
var tmp = getKClass(JsonPrimitive).ua();
|
|
2873
2873
|
var tmp_0 = getKClassFromExpression(value).ua();
|
|
2874
2874
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
2875
|
-
var tmp$ret$0 = this.
|
|
2875
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
2876
2876
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$0, toString_0(value));
|
|
2877
2877
|
}
|
|
2878
2878
|
var literal = value;
|
|
@@ -2899,20 +2899,20 @@
|
|
|
2899
2899
|
return tmp$ret$4;
|
|
2900
2900
|
};
|
|
2901
2901
|
protoOf(AbstractJsonTreeDecoder).h13 = function (tag) {
|
|
2902
|
-
return this.
|
|
2902
|
+
return this.k2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2903
2903
|
};
|
|
2904
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2904
|
+
protoOf(AbstractJsonTreeDecoder).l2w = function (tag) {
|
|
2905
2905
|
var tmp$ret$4;
|
|
2906
2906
|
$l$block: {
|
|
2907
2907
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
2908
2908
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2909
2909
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2910
|
-
var value = this.
|
|
2910
|
+
var value = this.f2w(tag);
|
|
2911
2911
|
if (!(value instanceof JsonPrimitive)) {
|
|
2912
2912
|
var tmp = getKClass(JsonPrimitive).ua();
|
|
2913
2913
|
var tmp_0 = getKClassFromExpression(value).ua();
|
|
2914
2914
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
2915
|
-
var tmp$ret$0 = this.
|
|
2915
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
2916
2916
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$0, toString_0(value));
|
|
2917
2917
|
}
|
|
2918
2918
|
var literal = value;
|
|
@@ -2939,20 +2939,20 @@
|
|
|
2939
2939
|
return tmp$ret$4;
|
|
2940
2940
|
};
|
|
2941
2941
|
protoOf(AbstractJsonTreeDecoder).i13 = function (tag) {
|
|
2942
|
-
return this.
|
|
2942
|
+
return this.l2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2943
2943
|
};
|
|
2944
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2944
|
+
protoOf(AbstractJsonTreeDecoder).m2w = function (tag) {
|
|
2945
2945
|
var tmp$ret$4;
|
|
2946
2946
|
$l$block: {
|
|
2947
2947
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
2948
2948
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2949
2949
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2950
|
-
var value = this.
|
|
2950
|
+
var value = this.f2w(tag);
|
|
2951
2951
|
if (!(value instanceof JsonPrimitive)) {
|
|
2952
2952
|
var tmp = getKClass(JsonPrimitive).ua();
|
|
2953
2953
|
var tmp_0 = getKClassFromExpression(value).ua();
|
|
2954
2954
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
2955
|
-
var tmp$ret$0 = this.
|
|
2955
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
2956
2956
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$0, toString_0(value));
|
|
2957
2957
|
}
|
|
2958
2958
|
var literal = value;
|
|
@@ -2977,26 +2977,26 @@
|
|
|
2977
2977
|
}
|
|
2978
2978
|
}
|
|
2979
2979
|
var result = tmp$ret$4;
|
|
2980
|
-
var specialFp = this.
|
|
2980
|
+
var specialFp = this.p2r().g2q_1.i2r_1;
|
|
2981
2981
|
if (specialFp || isFinite(result))
|
|
2982
2982
|
return result;
|
|
2983
|
-
throw InvalidFloatingPointDecoded(result, tag, toString_0(this.
|
|
2983
|
+
throw InvalidFloatingPointDecoded(result, tag, toString_0(this.e2w()));
|
|
2984
2984
|
};
|
|
2985
2985
|
protoOf(AbstractJsonTreeDecoder).j13 = function (tag) {
|
|
2986
|
-
return this.
|
|
2986
|
+
return this.m2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2987
2987
|
};
|
|
2988
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2988
|
+
protoOf(AbstractJsonTreeDecoder).n2w = function (tag) {
|
|
2989
2989
|
var tmp$ret$4;
|
|
2990
2990
|
$l$block: {
|
|
2991
2991
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
2992
2992
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
2993
2993
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2994
|
-
var value = this.
|
|
2994
|
+
var value = this.f2w(tag);
|
|
2995
2995
|
if (!(value instanceof JsonPrimitive)) {
|
|
2996
2996
|
var tmp = getKClass(JsonPrimitive).ua();
|
|
2997
2997
|
var tmp_0 = getKClassFromExpression(value).ua();
|
|
2998
2998
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
2999
|
-
var tmp$ret$0 = this.
|
|
2999
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
3000
3000
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$0, toString_0(value));
|
|
3001
3001
|
}
|
|
3002
3002
|
var literal = value;
|
|
@@ -3021,32 +3021,32 @@
|
|
|
3021
3021
|
}
|
|
3022
3022
|
}
|
|
3023
3023
|
var result = tmp$ret$4;
|
|
3024
|
-
var specialFp = this.
|
|
3024
|
+
var specialFp = this.p2r().g2q_1.i2r_1;
|
|
3025
3025
|
if (specialFp || isFinite_0(result))
|
|
3026
3026
|
return result;
|
|
3027
|
-
throw InvalidFloatingPointDecoded(result, tag, toString_0(this.
|
|
3027
|
+
throw InvalidFloatingPointDecoded(result, tag, toString_0(this.e2w()));
|
|
3028
3028
|
};
|
|
3029
3029
|
protoOf(AbstractJsonTreeDecoder).k13 = function (tag) {
|
|
3030
|
-
return this.
|
|
3030
|
+
return this.n2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3031
3031
|
};
|
|
3032
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3032
|
+
protoOf(AbstractJsonTreeDecoder).o2w = function (tag) {
|
|
3033
3033
|
var tmp$ret$4;
|
|
3034
3034
|
$l$block: {
|
|
3035
3035
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3036
3036
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3037
3037
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3038
|
-
var value = this.
|
|
3038
|
+
var value = this.f2w(tag);
|
|
3039
3039
|
if (!(value instanceof JsonPrimitive)) {
|
|
3040
3040
|
var tmp = getKClass(JsonPrimitive).ua();
|
|
3041
3041
|
var tmp_0 = getKClassFromExpression(value).ua();
|
|
3042
3042
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3043
|
-
var tmp$ret$0 = this.
|
|
3043
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
3044
3044
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$0, toString_0(value));
|
|
3045
3045
|
}
|
|
3046
3046
|
var literal = value;
|
|
3047
3047
|
try {
|
|
3048
3048
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
3049
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3049
|
+
var tmp0_elvis_lhs = new Char(single(literal.w2r()));
|
|
3050
3050
|
var tmp_1;
|
|
3051
3051
|
if (tmp0_elvis_lhs == null) {
|
|
3052
3052
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3067,36 +3067,36 @@
|
|
|
3067
3067
|
return tmp$ret$4;
|
|
3068
3068
|
};
|
|
3069
3069
|
protoOf(AbstractJsonTreeDecoder).l13 = function (tag) {
|
|
3070
|
-
return this.
|
|
3070
|
+
return this.o2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3071
3071
|
};
|
|
3072
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3072
|
+
protoOf(AbstractJsonTreeDecoder).p2w = function (tag) {
|
|
3073
3073
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3074
3074
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3075
|
-
var value = this.
|
|
3075
|
+
var value = this.f2w(tag);
|
|
3076
3076
|
if (!(value instanceof JsonPrimitive)) {
|
|
3077
3077
|
var tmp = getKClass(JsonPrimitive).ua();
|
|
3078
3078
|
var tmp_0 = getKClassFromExpression(value).ua();
|
|
3079
3079
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3080
|
-
var tmp$ret$0 = this.
|
|
3080
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
3081
3081
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$0, toString_0(value));
|
|
3082
3082
|
}
|
|
3083
3083
|
var value_0 = value;
|
|
3084
3084
|
if (!(value_0 instanceof JsonLiteral))
|
|
3085
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3086
|
-
if (!value_0.
|
|
3087
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3085
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.d2w(tag), toString_0(this.e2w()));
|
|
3086
|
+
if (!value_0.z2r_1 && !this.p2r().g2q_1.a2r_1) {
|
|
3087
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.d2w(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString_0(this.e2w()));
|
|
3088
3088
|
}
|
|
3089
|
-
return value_0.
|
|
3089
|
+
return value_0.b2s_1;
|
|
3090
3090
|
};
|
|
3091
3091
|
protoOf(AbstractJsonTreeDecoder).m13 = function (tag) {
|
|
3092
|
-
return this.
|
|
3092
|
+
return this.p2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3093
3093
|
};
|
|
3094
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3094
|
+
protoOf(AbstractJsonTreeDecoder).q2w = function (tag, inlineDescriptor) {
|
|
3095
3095
|
var tmp;
|
|
3096
3096
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3097
|
-
var tmp_0 = this.
|
|
3097
|
+
var tmp_0 = this.p2r();
|
|
3098
3098
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3099
|
-
var tmp1 = this.
|
|
3099
|
+
var tmp1 = this.f2w(tag);
|
|
3100
3100
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3101
3101
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3102
3102
|
var serialName = inlineDescriptor.om();
|
|
@@ -3104,24 +3104,24 @@
|
|
|
3104
3104
|
var tmp_1 = getKClass(JsonPrimitive).ua();
|
|
3105
3105
|
var tmp_2 = getKClassFromExpression(tmp1).ua();
|
|
3106
3106
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3107
|
-
var tmp$ret$0 = this.
|
|
3107
|
+
var tmp$ret$0 = this.d2w(tag);
|
|
3108
3108
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString_0(tmp1));
|
|
3109
3109
|
}
|
|
3110
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp1.
|
|
3111
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3110
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp1.w2r());
|
|
3111
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.p2r());
|
|
3112
3112
|
} else {
|
|
3113
3113
|
tmp = protoOf(NamedValueDecoder).n13.call(this, tag, inlineDescriptor);
|
|
3114
3114
|
}
|
|
3115
3115
|
return tmp;
|
|
3116
3116
|
};
|
|
3117
3117
|
protoOf(AbstractJsonTreeDecoder).n13 = function (tag, inlineDescriptor) {
|
|
3118
|
-
return this.
|
|
3118
|
+
return this.q2w((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3119
3119
|
};
|
|
3120
3120
|
protoOf(AbstractJsonTreeDecoder).po = function (descriptor) {
|
|
3121
|
-
return !(this.e12() == null) ? protoOf(NamedValueDecoder).po.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
3121
|
+
return !(this.e12() == null) ? protoOf(NamedValueDecoder).po.call(this, descriptor) : (new JsonPrimitiveDecoder(this.p2r(), this.z(), this.b2w_1)).po(descriptor);
|
|
3122
3122
|
};
|
|
3123
3123
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
3124
|
-
var tmp0 = $this.
|
|
3124
|
+
var tmp0 = $this.p2r();
|
|
3125
3125
|
var tmp$ret$1;
|
|
3126
3126
|
$l$block_2: {
|
|
3127
3127
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -3130,7 +3130,7 @@
|
|
|
3130
3130
|
var tmp;
|
|
3131
3131
|
if (isOptional && !elementDescriptor.wm()) {
|
|
3132
3132
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3133
|
-
var tmp_0 = $this.
|
|
3133
|
+
var tmp_0 = $this.f2w(tag);
|
|
3134
3134
|
tmp = tmp_0 instanceof JsonNull;
|
|
3135
3135
|
} else {
|
|
3136
3136
|
tmp = false;
|
|
@@ -3143,7 +3143,7 @@
|
|
|
3143
3143
|
var tmp_1;
|
|
3144
3144
|
if (elementDescriptor.wm()) {
|
|
3145
3145
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3146
|
-
var tmp_2 = $this.
|
|
3146
|
+
var tmp_2 = $this.f2w(tag);
|
|
3147
3147
|
tmp_1 = tmp_2 instanceof JsonNull;
|
|
3148
3148
|
} else {
|
|
3149
3149
|
tmp_1 = false;
|
|
@@ -3153,7 +3153,7 @@
|
|
|
3153
3153
|
break $l$block_2;
|
|
3154
3154
|
}
|
|
3155
3155
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3156
|
-
var tmp_3 = $this.
|
|
3156
|
+
var tmp_3 = $this.f2w(tag);
|
|
3157
3157
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
3158
3158
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3159
3159
|
var tmp_4;
|
|
@@ -3165,7 +3165,7 @@
|
|
|
3165
3165
|
}
|
|
3166
3166
|
var enumValue = tmp_4;
|
|
3167
3167
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3168
|
-
var coerceToNull = !tmp0.
|
|
3168
|
+
var coerceToNull = !tmp0.g2q_1.d2r_1 && elementDescriptor.wm();
|
|
3169
3169
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3170
3170
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue.<anonymous>' call
|
|
3171
3171
|
tmp$ret$1 = true;
|
|
@@ -3177,28 +3177,28 @@
|
|
|
3177
3177
|
return tmp$ret$1;
|
|
3178
3178
|
}
|
|
3179
3179
|
function absenceIsNull($this, descriptor, index) {
|
|
3180
|
-
$this.
|
|
3181
|
-
return $this.
|
|
3180
|
+
$this.a2x_1 = (!$this.p2r().g2q_1.d2r_1 && !descriptor.in(index) && descriptor.hn(index).wm());
|
|
3181
|
+
return $this.a2x_1;
|
|
3182
3182
|
}
|
|
3183
3183
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3184
3184
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3185
3185
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3186
3186
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3187
|
-
this.
|
|
3188
|
-
this.
|
|
3189
|
-
this.
|
|
3190
|
-
this.
|
|
3187
|
+
this.x2w_1 = value;
|
|
3188
|
+
this.y2w_1 = polyDescriptor;
|
|
3189
|
+
this.z2w_1 = 0;
|
|
3190
|
+
this.a2x_1 = false;
|
|
3191
3191
|
}
|
|
3192
3192
|
protoOf(JsonTreeDecoder).z = function () {
|
|
3193
|
-
return this.
|
|
3193
|
+
return this.x2w_1;
|
|
3194
3194
|
};
|
|
3195
3195
|
protoOf(JsonTreeDecoder).jp = function (descriptor) {
|
|
3196
|
-
while (this.
|
|
3197
|
-
var _unary__edvuaz = this.
|
|
3198
|
-
this.
|
|
3196
|
+
while (this.z2w_1 < descriptor.cn()) {
|
|
3197
|
+
var _unary__edvuaz = this.z2w_1;
|
|
3198
|
+
this.z2w_1 = _unary__edvuaz + 1 | 0;
|
|
3199
3199
|
var name = this.a12(descriptor, _unary__edvuaz);
|
|
3200
|
-
var index = this.
|
|
3201
|
-
this.
|
|
3200
|
+
var index = this.z2w_1 - 1 | 0;
|
|
3201
|
+
this.a2x_1 = false;
|
|
3202
3202
|
var tmp;
|
|
3203
3203
|
var tmp_0;
|
|
3204
3204
|
// Inline function 'kotlin.collections.contains' call
|
|
@@ -3210,7 +3210,7 @@
|
|
|
3210
3210
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3211
3211
|
}
|
|
3212
3212
|
if (tmp_0) {
|
|
3213
|
-
tmp = !this.
|
|
3213
|
+
tmp = !this.c2w_1.f2r_1 || !coerceInputValue_0(this, descriptor, index, name);
|
|
3214
3214
|
} else {
|
|
3215
3215
|
tmp = false;
|
|
3216
3216
|
}
|
|
@@ -3221,18 +3221,18 @@
|
|
|
3221
3221
|
return -1;
|
|
3222
3222
|
};
|
|
3223
3223
|
protoOf(JsonTreeDecoder).eo = function () {
|
|
3224
|
-
return !this.
|
|
3224
|
+
return !this.a2x_1 && protoOf(AbstractJsonTreeDecoder).eo.call(this);
|
|
3225
3225
|
};
|
|
3226
3226
|
protoOf(JsonTreeDecoder).b12 = function (descriptor, index) {
|
|
3227
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3227
|
+
var strategy = namingStrategy(descriptor, this.p2r());
|
|
3228
3228
|
var baseName = descriptor.en(index);
|
|
3229
3229
|
if (strategy == null) {
|
|
3230
|
-
if (!this.
|
|
3230
|
+
if (!this.c2w_1.j2r_1)
|
|
3231
3231
|
return baseName;
|
|
3232
3232
|
if (this.z().f2().l1(baseName))
|
|
3233
3233
|
return baseName;
|
|
3234
3234
|
}
|
|
3235
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3235
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.p2r(), descriptor);
|
|
3236
3236
|
// Inline function 'kotlin.collections.find' call
|
|
3237
3237
|
var tmp0 = this.z().f2();
|
|
3238
3238
|
var tmp$ret$1;
|
|
@@ -3256,19 +3256,19 @@
|
|
|
3256
3256
|
// Inline function 'kotlin.let' call
|
|
3257
3257
|
return tmp0_safe_receiver;
|
|
3258
3258
|
}
|
|
3259
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3259
|
+
var fallbackName = strategy == null ? null : strategy.d2t(descriptor, index, baseName);
|
|
3260
3260
|
return fallbackName == null ? baseName : fallbackName;
|
|
3261
3261
|
};
|
|
3262
|
-
protoOf(JsonTreeDecoder).
|
|
3262
|
+
protoOf(JsonTreeDecoder).f2w = function (tag) {
|
|
3263
3263
|
return getValue(this.z(), tag);
|
|
3264
3264
|
};
|
|
3265
3265
|
protoOf(JsonTreeDecoder).so = function (descriptor) {
|
|
3266
|
-
if (descriptor === this.
|
|
3267
|
-
var tmp = this.
|
|
3268
|
-
var tmp1 = this.
|
|
3266
|
+
if (descriptor === this.y2w_1) {
|
|
3267
|
+
var tmp = this.p2r();
|
|
3268
|
+
var tmp1 = this.e2w();
|
|
3269
3269
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3270
3270
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3271
|
-
var serialName = this.
|
|
3271
|
+
var serialName = this.y2w_1.om();
|
|
3272
3272
|
if (!(tmp1 instanceof JsonObject)) {
|
|
3273
3273
|
var tmp_0 = getKClass(JsonObject).ua();
|
|
3274
3274
|
var tmp_1 = getKClassFromExpression(tmp1).ua();
|
|
@@ -3276,13 +3276,13 @@
|
|
|
3276
3276
|
var tmp$ret$0 = this.b13();
|
|
3277
3277
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString_0(tmp1));
|
|
3278
3278
|
}
|
|
3279
|
-
return new JsonTreeDecoder(tmp, tmp1, this.
|
|
3279
|
+
return new JsonTreeDecoder(tmp, tmp1, this.b2w_1, this.y2w_1);
|
|
3280
3280
|
}
|
|
3281
3281
|
return protoOf(AbstractJsonTreeDecoder).so.call(this, descriptor);
|
|
3282
3282
|
};
|
|
3283
3283
|
protoOf(JsonTreeDecoder).to = function (descriptor) {
|
|
3284
3284
|
var tmp;
|
|
3285
|
-
if (this.
|
|
3285
|
+
if (this.c2w_1.z2q_1) {
|
|
3286
3286
|
tmp = true;
|
|
3287
3287
|
} else {
|
|
3288
3288
|
var tmp_0 = descriptor.an();
|
|
@@ -3290,15 +3290,15 @@
|
|
|
3290
3290
|
}
|
|
3291
3291
|
if (tmp)
|
|
3292
3292
|
return Unit_instance;
|
|
3293
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3293
|
+
var strategy = namingStrategy(descriptor, this.p2r());
|
|
3294
3294
|
var tmp_1;
|
|
3295
|
-
if (strategy == null && !this.
|
|
3295
|
+
if (strategy == null && !this.c2w_1.j2r_1) {
|
|
3296
3296
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3297
3297
|
} else if (!(strategy == null)) {
|
|
3298
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3298
|
+
tmp_1 = deserializationNamesMap(this.p2r(), descriptor).f2();
|
|
3299
3299
|
} else {
|
|
3300
3300
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3301
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3301
|
+
var tmp0_safe_receiver = get_schemaCache(this.p2r()).e2v(descriptor, get_JsonDeserializationNamesKey());
|
|
3302
3302
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3303
3303
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f2();
|
|
3304
3304
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3308,77 +3308,77 @@
|
|
|
3308
3308
|
var _iterator__ex2g4s = this.z().f2().p();
|
|
3309
3309
|
while (_iterator__ex2g4s.q()) {
|
|
3310
3310
|
var key = _iterator__ex2g4s.r();
|
|
3311
|
-
if (!names.l1(key) && !(key === this.
|
|
3311
|
+
if (!names.l1(key) && !(key === this.b2w_1)) {
|
|
3312
3312
|
throw UnknownKeyException(key, this.z().toString());
|
|
3313
3313
|
}
|
|
3314
3314
|
}
|
|
3315
3315
|
};
|
|
3316
3316
|
function JsonTreeListDecoder(json, value) {
|
|
3317
3317
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3318
|
-
this.
|
|
3319
|
-
this.
|
|
3320
|
-
this.
|
|
3318
|
+
this.h2x_1 = value;
|
|
3319
|
+
this.i2x_1 = this.h2x_1.s();
|
|
3320
|
+
this.j2x_1 = -1;
|
|
3321
3321
|
}
|
|
3322
3322
|
protoOf(JsonTreeListDecoder).z = function () {
|
|
3323
|
-
return this.
|
|
3323
|
+
return this.h2x_1;
|
|
3324
3324
|
};
|
|
3325
3325
|
protoOf(JsonTreeListDecoder).b12 = function (descriptor, index) {
|
|
3326
3326
|
return index.toString();
|
|
3327
3327
|
};
|
|
3328
|
-
protoOf(JsonTreeListDecoder).
|
|
3329
|
-
return this.
|
|
3328
|
+
protoOf(JsonTreeListDecoder).f2w = function (tag) {
|
|
3329
|
+
return this.h2x_1.t(toInt(tag));
|
|
3330
3330
|
};
|
|
3331
3331
|
protoOf(JsonTreeListDecoder).jp = function (descriptor) {
|
|
3332
|
-
while (this.
|
|
3333
|
-
this.
|
|
3334
|
-
return this.
|
|
3332
|
+
while (this.j2x_1 < (this.i2x_1 - 1 | 0)) {
|
|
3333
|
+
this.j2x_1 = this.j2x_1 + 1 | 0;
|
|
3334
|
+
return this.j2x_1;
|
|
3335
3335
|
}
|
|
3336
3336
|
return -1;
|
|
3337
3337
|
};
|
|
3338
3338
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
3339
3339
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3340
3340
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3341
|
-
this.
|
|
3341
|
+
this.q2x_1 = value;
|
|
3342
3342
|
this.v12('primitive');
|
|
3343
3343
|
}
|
|
3344
3344
|
protoOf(JsonPrimitiveDecoder).z = function () {
|
|
3345
|
-
return this.
|
|
3345
|
+
return this.q2x_1;
|
|
3346
3346
|
};
|
|
3347
3347
|
protoOf(JsonPrimitiveDecoder).jp = function (descriptor) {
|
|
3348
3348
|
return 0;
|
|
3349
3349
|
};
|
|
3350
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3350
|
+
protoOf(JsonPrimitiveDecoder).f2w = function (tag) {
|
|
3351
3351
|
// Inline function 'kotlin.require' call
|
|
3352
3352
|
if (!(tag === 'primitive')) {
|
|
3353
3353
|
// Inline function 'kotlinx.serialization.json.internal.JsonPrimitiveDecoder.currentElement.<anonymous>' call
|
|
3354
3354
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
3355
3355
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3356
3356
|
}
|
|
3357
|
-
return this.
|
|
3357
|
+
return this.q2x_1;
|
|
3358
3358
|
};
|
|
3359
3359
|
function JsonTreeMapDecoder(json, value) {
|
|
3360
3360
|
JsonTreeDecoder.call(this, json, value);
|
|
3361
|
-
this.
|
|
3362
|
-
this.
|
|
3363
|
-
this.
|
|
3364
|
-
this.
|
|
3361
|
+
this.b2y_1 = value;
|
|
3362
|
+
this.c2y_1 = toList(this.b2y_1.f2());
|
|
3363
|
+
this.d2y_1 = imul(this.c2y_1.s(), 2);
|
|
3364
|
+
this.e2y_1 = -1;
|
|
3365
3365
|
}
|
|
3366
3366
|
protoOf(JsonTreeMapDecoder).z = function () {
|
|
3367
|
-
return this.
|
|
3367
|
+
return this.b2y_1;
|
|
3368
3368
|
};
|
|
3369
3369
|
protoOf(JsonTreeMapDecoder).b12 = function (descriptor, index) {
|
|
3370
3370
|
var i = index / 2 | 0;
|
|
3371
|
-
return this.
|
|
3371
|
+
return this.c2y_1.t(i);
|
|
3372
3372
|
};
|
|
3373
3373
|
protoOf(JsonTreeMapDecoder).jp = function (descriptor) {
|
|
3374
|
-
while (this.
|
|
3375
|
-
this.
|
|
3376
|
-
return this.
|
|
3374
|
+
while (this.e2y_1 < (this.d2y_1 - 1 | 0)) {
|
|
3375
|
+
this.e2y_1 = this.e2y_1 + 1 | 0;
|
|
3376
|
+
return this.e2y_1;
|
|
3377
3377
|
}
|
|
3378
3378
|
return -1;
|
|
3379
3379
|
};
|
|
3380
|
-
protoOf(JsonTreeMapDecoder).
|
|
3381
|
-
return (this.
|
|
3380
|
+
protoOf(JsonTreeMapDecoder).f2w = function (tag) {
|
|
3381
|
+
return (this.e2y_1 % 2 | 0) === 0 ? JsonPrimitive_2(tag) : getValue(this.b2y_1, tag);
|
|
3382
3382
|
};
|
|
3383
3383
|
protoOf(JsonTreeMapDecoder).to = function (descriptor) {
|
|
3384
3384
|
};
|
|
@@ -3401,19 +3401,19 @@
|
|
|
3401
3401
|
AbstractJsonTreeEncoder.call(this, json, nodeConsumer);
|
|
3402
3402
|
var tmp = this;
|
|
3403
3403
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
3404
|
-
tmp.
|
|
3404
|
+
tmp.r2y_1 = LinkedHashMap_init_$Create$();
|
|
3405
3405
|
}
|
|
3406
|
-
protoOf(JsonTreeEncoder).
|
|
3406
|
+
protoOf(JsonTreeEncoder).s2y = function (key, element) {
|
|
3407
3407
|
// Inline function 'kotlin.collections.set' call
|
|
3408
|
-
this.
|
|
3408
|
+
this.r2y_1.m2(key, element);
|
|
3409
3409
|
};
|
|
3410
3410
|
protoOf(JsonTreeEncoder).kq = function (descriptor, index, serializer, value) {
|
|
3411
|
-
if (!(value == null) || this.
|
|
3411
|
+
if (!(value == null) || this.i2y_1.d2r_1) {
|
|
3412
3412
|
protoOf(AbstractJsonTreeEncoder).kq.call(this, descriptor, index, serializer, value);
|
|
3413
3413
|
}
|
|
3414
3414
|
};
|
|
3415
|
-
protoOf(JsonTreeEncoder).
|
|
3416
|
-
return new JsonObject(this.
|
|
3415
|
+
protoOf(JsonTreeEncoder).t2y = function () {
|
|
3416
|
+
return new JsonObject(this.r2y_1);
|
|
3417
3417
|
};
|
|
3418
3418
|
function inlineUnsignedNumberEncoder($this, tag) {
|
|
3419
3419
|
return new AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1($this, tag);
|
|
@@ -3422,74 +3422,74 @@
|
|
|
3422
3422
|
return new AbstractJsonTreeEncoder$inlineUnquotedLiteralEncoder$1($this, tag, inlineDescriptor);
|
|
3423
3423
|
}
|
|
3424
3424
|
function AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1(this$0, $tag) {
|
|
3425
|
-
this.
|
|
3426
|
-
this.
|
|
3425
|
+
this.h2z_1 = this$0;
|
|
3426
|
+
this.i2z_1 = $tag;
|
|
3427
3427
|
AbstractEncoder.call(this);
|
|
3428
|
-
this.
|
|
3428
|
+
this.g2z_1 = this$0.g2y_1.hp();
|
|
3429
3429
|
}
|
|
3430
3430
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).hp = function () {
|
|
3431
|
-
return this.
|
|
3431
|
+
return this.g2z_1;
|
|
3432
3432
|
};
|
|
3433
|
-
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).
|
|
3434
|
-
return this.
|
|
3433
|
+
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).j2z = function (s) {
|
|
3434
|
+
return this.h2z_1.s2y(this.i2z_1, new JsonLiteral(s, false));
|
|
3435
3435
|
};
|
|
3436
3436
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).rp = function (value) {
|
|
3437
3437
|
// Inline function 'kotlin.toUInt' call
|
|
3438
3438
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(value);
|
|
3439
|
-
return this.
|
|
3439
|
+
return this.j2z(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
3440
3440
|
};
|
|
3441
3441
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).sp = function (value) {
|
|
3442
3442
|
// Inline function 'kotlin.toULong' call
|
|
3443
3443
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(value);
|
|
3444
|
-
return this.
|
|
3444
|
+
return this.j2z(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
3445
3445
|
};
|
|
3446
3446
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).pp = function (value) {
|
|
3447
3447
|
// Inline function 'kotlin.toUByte' call
|
|
3448
3448
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(value);
|
|
3449
|
-
return this.
|
|
3449
|
+
return this.j2z(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
3450
3450
|
};
|
|
3451
3451
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).qp = function (value) {
|
|
3452
3452
|
// Inline function 'kotlin.toUShort' call
|
|
3453
3453
|
var tmp$ret$0 = _UShort___init__impl__jigrne(value);
|
|
3454
|
-
return this.
|
|
3454
|
+
return this.j2z(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
3455
3455
|
};
|
|
3456
3456
|
function AbstractJsonTreeEncoder$inlineUnquotedLiteralEncoder$1(this$0, $tag, $inlineDescriptor) {
|
|
3457
|
-
this.
|
|
3458
|
-
this.
|
|
3459
|
-
this.
|
|
3457
|
+
this.k2z_1 = this$0;
|
|
3458
|
+
this.l2z_1 = $tag;
|
|
3459
|
+
this.m2z_1 = $inlineDescriptor;
|
|
3460
3460
|
AbstractEncoder.call(this);
|
|
3461
3461
|
}
|
|
3462
3462
|
protoOf(AbstractJsonTreeEncoder$inlineUnquotedLiteralEncoder$1).hp = function () {
|
|
3463
|
-
return this.
|
|
3463
|
+
return this.k2z_1.g2y_1.hp();
|
|
3464
3464
|
};
|
|
3465
3465
|
protoOf(AbstractJsonTreeEncoder$inlineUnquotedLiteralEncoder$1).wp = function (value) {
|
|
3466
|
-
return this.
|
|
3466
|
+
return this.k2z_1.s2y(this.l2z_1, new JsonLiteral(value, false, this.m2z_1));
|
|
3467
3467
|
};
|
|
3468
3468
|
function AbstractJsonTreeEncoder$beginStructure$lambda(this$0) {
|
|
3469
3469
|
return function (node) {
|
|
3470
|
-
this$0.
|
|
3470
|
+
this$0.s2y(this$0.u12(), node);
|
|
3471
3471
|
return Unit_instance;
|
|
3472
3472
|
};
|
|
3473
3473
|
}
|
|
3474
3474
|
function AbstractJsonTreeEncoder(json, nodeConsumer) {
|
|
3475
3475
|
NamedValueEncoder.call(this);
|
|
3476
|
-
this.
|
|
3477
|
-
this.
|
|
3478
|
-
this.
|
|
3479
|
-
this.
|
|
3480
|
-
this.
|
|
3476
|
+
this.g2y_1 = json;
|
|
3477
|
+
this.h2y_1 = nodeConsumer;
|
|
3478
|
+
this.i2y_1 = this.g2y_1.g2q_1;
|
|
3479
|
+
this.j2y_1 = null;
|
|
3480
|
+
this.k2y_1 = null;
|
|
3481
3481
|
}
|
|
3482
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3483
|
-
return this.
|
|
3482
|
+
protoOf(AbstractJsonTreeEncoder).p2r = function () {
|
|
3483
|
+
return this.g2y_1;
|
|
3484
3484
|
};
|
|
3485
3485
|
protoOf(AbstractJsonTreeEncoder).hp = function () {
|
|
3486
|
-
return this.
|
|
3486
|
+
return this.g2y_1.hp();
|
|
3487
3487
|
};
|
|
3488
3488
|
protoOf(AbstractJsonTreeEncoder).b12 = function (descriptor, index) {
|
|
3489
|
-
return getJsonElementName(descriptor, this.
|
|
3489
|
+
return getJsonElementName(descriptor, this.g2y_1, index);
|
|
3490
3490
|
};
|
|
3491
3491
|
protoOf(AbstractJsonTreeEncoder).oq = function (descriptor, index) {
|
|
3492
|
-
return this.
|
|
3492
|
+
return this.i2y_1.y2q_1;
|
|
3493
3493
|
};
|
|
3494
3494
|
protoOf(AbstractJsonTreeEncoder).f12 = function (parentName, childName) {
|
|
3495
3495
|
return childName;
|
|
@@ -3500,67 +3500,67 @@
|
|
|
3500
3500
|
var tmp0_elvis_lhs = this.e12();
|
|
3501
3501
|
var tmp;
|
|
3502
3502
|
if (tmp0_elvis_lhs == null) {
|
|
3503
|
-
return this.
|
|
3503
|
+
return this.h2y_1(JsonNull_getInstance());
|
|
3504
3504
|
} else {
|
|
3505
3505
|
tmp = tmp0_elvis_lhs;
|
|
3506
3506
|
}
|
|
3507
3507
|
var tag = tmp;
|
|
3508
|
-
this.
|
|
3508
|
+
this.u2y(tag);
|
|
3509
3509
|
};
|
|
3510
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3511
|
-
return this.
|
|
3510
|
+
protoOf(AbstractJsonTreeEncoder).u2y = function (tag) {
|
|
3511
|
+
return this.s2y(tag, JsonNull_getInstance());
|
|
3512
3512
|
};
|
|
3513
3513
|
protoOf(AbstractJsonTreeEncoder).i12 = function (tag) {
|
|
3514
|
-
return this.
|
|
3514
|
+
return this.u2y((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3515
3515
|
};
|
|
3516
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3517
|
-
return this.
|
|
3516
|
+
protoOf(AbstractJsonTreeEncoder).v2y = function (tag, value) {
|
|
3517
|
+
return this.s2y(tag, JsonPrimitive_0(value));
|
|
3518
3518
|
};
|
|
3519
3519
|
protoOf(AbstractJsonTreeEncoder).j12 = function (tag, value) {
|
|
3520
|
-
return this.
|
|
3520
|
+
return this.v2y((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3521
3521
|
};
|
|
3522
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3523
|
-
return this.
|
|
3522
|
+
protoOf(AbstractJsonTreeEncoder).w2y = function (tag, value) {
|
|
3523
|
+
return this.s2y(tag, JsonPrimitive_0(value));
|
|
3524
3524
|
};
|
|
3525
3525
|
protoOf(AbstractJsonTreeEncoder).k12 = function (tag, value) {
|
|
3526
|
-
return this.
|
|
3526
|
+
return this.w2y((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3527
3527
|
};
|
|
3528
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3529
|
-
return this.
|
|
3528
|
+
protoOf(AbstractJsonTreeEncoder).x2y = function (tag, value) {
|
|
3529
|
+
return this.s2y(tag, JsonPrimitive_0(value));
|
|
3530
3530
|
};
|
|
3531
3531
|
protoOf(AbstractJsonTreeEncoder).l12 = function (tag, value) {
|
|
3532
|
-
return this.
|
|
3532
|
+
return this.x2y((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3533
3533
|
};
|
|
3534
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3535
|
-
return this.
|
|
3534
|
+
protoOf(AbstractJsonTreeEncoder).y2y = function (tag, value) {
|
|
3535
|
+
return this.s2y(tag, JsonPrimitive_0(value));
|
|
3536
3536
|
};
|
|
3537
3537
|
protoOf(AbstractJsonTreeEncoder).m12 = function (tag, value) {
|
|
3538
|
-
return this.
|
|
3538
|
+
return this.y2y((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3539
3539
|
};
|
|
3540
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3541
|
-
this.
|
|
3542
|
-
if (!this.
|
|
3543
|
-
throw InvalidFloatingPointEncoded(value, tag, toString_0(this.
|
|
3540
|
+
protoOf(AbstractJsonTreeEncoder).z2y = function (tag, value) {
|
|
3541
|
+
this.s2y(tag, JsonPrimitive_0(value));
|
|
3542
|
+
if (!this.i2y_1.i2r_1 && !isFinite(value)) {
|
|
3543
|
+
throw InvalidFloatingPointEncoded(value, tag, toString_0(this.t2y()));
|
|
3544
3544
|
}
|
|
3545
3545
|
};
|
|
3546
3546
|
protoOf(AbstractJsonTreeEncoder).n12 = function (tag, value) {
|
|
3547
|
-
return this.
|
|
3547
|
+
return this.z2y((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3548
3548
|
};
|
|
3549
3549
|
protoOf(AbstractJsonTreeEncoder).jq = function (serializer, value) {
|
|
3550
3550
|
if (!(this.e12() == null) || !get_requiresTopLevelTag(carrierDescriptor(serializer.nl(), this.hp()))) {
|
|
3551
3551
|
$l$block: {
|
|
3552
3552
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
3553
|
-
if (this.
|
|
3553
|
+
if (this.p2r().g2q_1.g2r_1) {
|
|
3554
3554
|
serializer.ol(this, value);
|
|
3555
3555
|
break $l$block;
|
|
3556
3556
|
}
|
|
3557
3557
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
3558
3558
|
var tmp;
|
|
3559
3559
|
if (isPolymorphicSerializer) {
|
|
3560
|
-
tmp = !this.
|
|
3560
|
+
tmp = !this.p2r().g2q_1.o2r_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
3561
3561
|
} else {
|
|
3562
3562
|
var tmp_0;
|
|
3563
|
-
switch (this.
|
|
3563
|
+
switch (this.p2r().g2q_1.o2r_1.q2_1) {
|
|
3564
3564
|
case 0:
|
|
3565
3565
|
case 2:
|
|
3566
3566
|
tmp_0 = false;
|
|
@@ -3580,7 +3580,7 @@
|
|
|
3580
3580
|
tmp = tmp_0;
|
|
3581
3581
|
}
|
|
3582
3582
|
var needDiscriminator = tmp;
|
|
3583
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.nl(), this.
|
|
3583
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.nl(), this.p2r()) : null;
|
|
3584
3584
|
var tmp_1;
|
|
3585
3585
|
if (isPolymorphicSerializer) {
|
|
3586
3586
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -3607,71 +3607,71 @@
|
|
|
3607
3607
|
if (!(baseClassDiscriminator == null)) {
|
|
3608
3608
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeEncoder.encodeSerializableValue.<anonymous>' call
|
|
3609
3609
|
var serialName = actualSerializer.nl().om();
|
|
3610
|
-
this.
|
|
3611
|
-
this.
|
|
3610
|
+
this.j2y_1 = baseClassDiscriminator;
|
|
3611
|
+
this.k2y_1 = serialName;
|
|
3612
3612
|
}
|
|
3613
3613
|
actualSerializer.ol(this, value);
|
|
3614
3614
|
}
|
|
3615
3615
|
} else {
|
|
3616
3616
|
// Inline function 'kotlin.apply' call
|
|
3617
3617
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeEncoder.encodeSerializableValue.<anonymous>' call
|
|
3618
|
-
(new JsonPrimitiveEncoder(this.
|
|
3618
|
+
(new JsonPrimitiveEncoder(this.g2y_1, this.h2y_1)).jq(serializer, value);
|
|
3619
3619
|
}
|
|
3620
3620
|
};
|
|
3621
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3622
|
-
this.
|
|
3623
|
-
if (!this.
|
|
3624
|
-
throw InvalidFloatingPointEncoded(value, tag, toString_0(this.
|
|
3621
|
+
protoOf(AbstractJsonTreeEncoder).a2z = function (tag, value) {
|
|
3622
|
+
this.s2y(tag, JsonPrimitive_0(value));
|
|
3623
|
+
if (!this.i2y_1.i2r_1 && !isFinite_0(value)) {
|
|
3624
|
+
throw InvalidFloatingPointEncoded(value, tag, toString_0(this.t2y()));
|
|
3625
3625
|
}
|
|
3626
3626
|
};
|
|
3627
3627
|
protoOf(AbstractJsonTreeEncoder).o12 = function (tag, value) {
|
|
3628
|
-
return this.
|
|
3628
|
+
return this.a2z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3629
3629
|
};
|
|
3630
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3631
|
-
return this.
|
|
3630
|
+
protoOf(AbstractJsonTreeEncoder).b2z = function (tag, value) {
|
|
3631
|
+
return this.s2y(tag, JsonPrimitive_1(value));
|
|
3632
3632
|
};
|
|
3633
3633
|
protoOf(AbstractJsonTreeEncoder).p12 = function (tag, value) {
|
|
3634
|
-
return this.
|
|
3634
|
+
return this.b2z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3635
3635
|
};
|
|
3636
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3637
|
-
return this.
|
|
3636
|
+
protoOf(AbstractJsonTreeEncoder).c2z = function (tag, value) {
|
|
3637
|
+
return this.s2y(tag, JsonPrimitive_2(toString_1(value)));
|
|
3638
3638
|
};
|
|
3639
3639
|
protoOf(AbstractJsonTreeEncoder).q12 = function (tag, value) {
|
|
3640
|
-
return this.
|
|
3640
|
+
return this.c2z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3641
3641
|
};
|
|
3642
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3643
|
-
return this.
|
|
3642
|
+
protoOf(AbstractJsonTreeEncoder).d2z = function (tag, value) {
|
|
3643
|
+
return this.s2y(tag, JsonPrimitive_2(value));
|
|
3644
3644
|
};
|
|
3645
3645
|
protoOf(AbstractJsonTreeEncoder).r12 = function (tag, value) {
|
|
3646
|
-
return this.
|
|
3646
|
+
return this.d2z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3647
3647
|
};
|
|
3648
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3649
|
-
this.
|
|
3648
|
+
protoOf(AbstractJsonTreeEncoder).e2z = function (tag, value) {
|
|
3649
|
+
this.s2y(tag, JsonPrimitive_2(toString_0(value)));
|
|
3650
3650
|
};
|
|
3651
3651
|
protoOf(AbstractJsonTreeEncoder).g12 = function (tag, value) {
|
|
3652
|
-
return this.
|
|
3652
|
+
return this.e2z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3653
3653
|
};
|
|
3654
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3654
|
+
protoOf(AbstractJsonTreeEncoder).f2z = function (tag, inlineDescriptor) {
|
|
3655
3655
|
return get_isUnsignedNumber(inlineDescriptor) ? inlineUnsignedNumberEncoder(this, tag) : get_isUnquotedLiteral(inlineDescriptor) ? inlineUnquotedLiteralEncoder(this, tag, inlineDescriptor) : protoOf(NamedValueEncoder).s12.call(this, tag, inlineDescriptor);
|
|
3656
3656
|
};
|
|
3657
3657
|
protoOf(AbstractJsonTreeEncoder).s12 = function (tag, inlineDescriptor) {
|
|
3658
|
-
return this.
|
|
3658
|
+
return this.f2z((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3659
3659
|
};
|
|
3660
3660
|
protoOf(AbstractJsonTreeEncoder).xp = function (descriptor) {
|
|
3661
3661
|
var tmp;
|
|
3662
3662
|
if (!(this.e12() == null)) {
|
|
3663
|
-
if (!(this.
|
|
3664
|
-
this.
|
|
3663
|
+
if (!(this.j2y_1 == null))
|
|
3664
|
+
this.k2y_1 = descriptor.om();
|
|
3665
3665
|
tmp = protoOf(NamedValueEncoder).xp.call(this, descriptor);
|
|
3666
3666
|
} else {
|
|
3667
|
-
tmp = (new JsonPrimitiveEncoder(this.
|
|
3667
|
+
tmp = (new JsonPrimitiveEncoder(this.g2y_1, this.h2y_1)).xp(descriptor);
|
|
3668
3668
|
}
|
|
3669
3669
|
return tmp;
|
|
3670
3670
|
};
|
|
3671
3671
|
protoOf(AbstractJsonTreeEncoder).so = function (descriptor) {
|
|
3672
3672
|
var tmp;
|
|
3673
3673
|
if (this.e12() == null) {
|
|
3674
|
-
tmp = this.
|
|
3674
|
+
tmp = this.h2y_1;
|
|
3675
3675
|
} else {
|
|
3676
3676
|
tmp = AbstractJsonTreeEncoder$beginStructure$lambda(this);
|
|
3677
3677
|
}
|
|
@@ -3685,11 +3685,11 @@
|
|
|
3685
3685
|
tmp_1 = tmp0_subject instanceof PolymorphicKind;
|
|
3686
3686
|
}
|
|
3687
3687
|
if (tmp_1) {
|
|
3688
|
-
tmp_0 = new JsonTreeListEncoder(this.
|
|
3688
|
+
tmp_0 = new JsonTreeListEncoder(this.g2y_1, consumer);
|
|
3689
3689
|
} else {
|
|
3690
3690
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3691
3691
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3692
|
-
var this_0 = this.
|
|
3692
|
+
var this_0 = this.g2y_1;
|
|
3693
3693
|
var keyDescriptor = carrierDescriptor(descriptor.hn(0), this_0.hp());
|
|
3694
3694
|
var keyKind = keyDescriptor.an();
|
|
3695
3695
|
var tmp_2;
|
|
@@ -3701,38 +3701,38 @@
|
|
|
3701
3701
|
}
|
|
3702
3702
|
if (tmp_3) {
|
|
3703
3703
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeEncoder.beginStructure.<anonymous>' call
|
|
3704
|
-
tmp_2 = new JsonTreeMapEncoder(this.
|
|
3704
|
+
tmp_2 = new JsonTreeMapEncoder(this.g2y_1, consumer);
|
|
3705
3705
|
} else {
|
|
3706
|
-
if (this_0.
|
|
3706
|
+
if (this_0.g2q_1.b2r_1) {
|
|
3707
3707
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeEncoder.beginStructure.<anonymous>' call
|
|
3708
|
-
tmp_2 = new JsonTreeListEncoder(this.
|
|
3708
|
+
tmp_2 = new JsonTreeListEncoder(this.g2y_1, consumer);
|
|
3709
3709
|
} else {
|
|
3710
3710
|
throw InvalidKeyKindException(keyDescriptor);
|
|
3711
3711
|
}
|
|
3712
3712
|
}
|
|
3713
3713
|
tmp_0 = tmp_2;
|
|
3714
3714
|
} else {
|
|
3715
|
-
tmp_0 = new JsonTreeEncoder(this.
|
|
3715
|
+
tmp_0 = new JsonTreeEncoder(this.g2y_1, consumer);
|
|
3716
3716
|
}
|
|
3717
3717
|
}
|
|
3718
3718
|
var encoder = tmp_0;
|
|
3719
|
-
var discriminator = this.
|
|
3719
|
+
var discriminator = this.j2y_1;
|
|
3720
3720
|
if (!(discriminator == null)) {
|
|
3721
3721
|
if (encoder instanceof JsonTreeMapEncoder) {
|
|
3722
|
-
encoder.
|
|
3723
|
-
var tmp1_elvis_lhs = this.
|
|
3724
|
-
encoder.
|
|
3722
|
+
encoder.s2y('key', JsonPrimitive_2(discriminator));
|
|
3723
|
+
var tmp1_elvis_lhs = this.k2y_1;
|
|
3724
|
+
encoder.s2y('value', JsonPrimitive_2(tmp1_elvis_lhs == null ? descriptor.om() : tmp1_elvis_lhs));
|
|
3725
3725
|
} else {
|
|
3726
|
-
var tmp2_elvis_lhs = this.
|
|
3727
|
-
encoder.
|
|
3726
|
+
var tmp2_elvis_lhs = this.k2y_1;
|
|
3727
|
+
encoder.s2y(discriminator, JsonPrimitive_2(tmp2_elvis_lhs == null ? descriptor.om() : tmp2_elvis_lhs));
|
|
3728
3728
|
}
|
|
3729
|
-
this.
|
|
3730
|
-
this.
|
|
3729
|
+
this.j2y_1 = null;
|
|
3730
|
+
this.k2y_1 = null;
|
|
3731
3731
|
}
|
|
3732
3732
|
return encoder;
|
|
3733
3733
|
};
|
|
3734
3734
|
protoOf(AbstractJsonTreeEncoder).t12 = function (descriptor) {
|
|
3735
|
-
this.
|
|
3735
|
+
this.h2y_1(this.t2y());
|
|
3736
3736
|
};
|
|
3737
3737
|
function get_requiresTopLevelTag(_this__u8e3s4) {
|
|
3738
3738
|
var tmp;
|
|
@@ -3746,10 +3746,10 @@
|
|
|
3746
3746
|
}
|
|
3747
3747
|
function JsonPrimitiveEncoder(json, nodeConsumer) {
|
|
3748
3748
|
AbstractJsonTreeEncoder.call(this, json, nodeConsumer);
|
|
3749
|
-
this.
|
|
3749
|
+
this.c30_1 = null;
|
|
3750
3750
|
this.v12('primitive');
|
|
3751
3751
|
}
|
|
3752
|
-
protoOf(JsonPrimitiveEncoder).
|
|
3752
|
+
protoOf(JsonPrimitiveEncoder).s2y = function (key, element) {
|
|
3753
3753
|
// Inline function 'kotlin.require' call
|
|
3754
3754
|
if (!(key === 'primitive')) {
|
|
3755
3755
|
// Inline function 'kotlinx.serialization.json.internal.JsonPrimitiveEncoder.putElement.<anonymous>' call
|
|
@@ -3757,16 +3757,16 @@
|
|
|
3757
3757
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3758
3758
|
}
|
|
3759
3759
|
// Inline function 'kotlin.require' call
|
|
3760
|
-
if (!(this.
|
|
3760
|
+
if (!(this.c30_1 == null)) {
|
|
3761
3761
|
// Inline function 'kotlinx.serialization.json.internal.JsonPrimitiveEncoder.putElement.<anonymous>' call
|
|
3762
3762
|
var message_0 = 'Primitive element was already recorded. Does call to .encodeXxx happen more than once?';
|
|
3763
3763
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
3764
3764
|
}
|
|
3765
|
-
this.
|
|
3766
|
-
this.
|
|
3765
|
+
this.c30_1 = element;
|
|
3766
|
+
this.h2y_1(element);
|
|
3767
3767
|
};
|
|
3768
|
-
protoOf(JsonPrimitiveEncoder).
|
|
3769
|
-
var tmp0 = this.
|
|
3768
|
+
protoOf(JsonPrimitiveEncoder).t2y = function () {
|
|
3769
|
+
var tmp0 = this.c30_1;
|
|
3770
3770
|
var tmp$ret$1;
|
|
3771
3771
|
$l$block: {
|
|
3772
3772
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -3785,20 +3785,20 @@
|
|
|
3785
3785
|
AbstractJsonTreeEncoder.call(this, json, nodeConsumer);
|
|
3786
3786
|
var tmp = this;
|
|
3787
3787
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
3788
|
-
tmp.
|
|
3788
|
+
tmp.j30_1 = ArrayList_init_$Create$();
|
|
3789
3789
|
}
|
|
3790
3790
|
protoOf(JsonTreeListEncoder).b12 = function (descriptor, index) {
|
|
3791
3791
|
return index.toString();
|
|
3792
3792
|
};
|
|
3793
|
-
protoOf(JsonTreeListEncoder).
|
|
3793
|
+
protoOf(JsonTreeListEncoder).s2y = function (key, element) {
|
|
3794
3794
|
var idx = toInt(key);
|
|
3795
|
-
this.
|
|
3795
|
+
this.j30_1.j2(idx, element);
|
|
3796
3796
|
};
|
|
3797
|
-
protoOf(JsonTreeListEncoder).
|
|
3798
|
-
return new JsonArray(this.
|
|
3797
|
+
protoOf(JsonTreeListEncoder).t2y = function () {
|
|
3798
|
+
return new JsonArray(this.j30_1);
|
|
3799
3799
|
};
|
|
3800
3800
|
function _get_tag__e6h4qf($this) {
|
|
3801
|
-
var tmp = $this.
|
|
3801
|
+
var tmp = $this.u2z_1;
|
|
3802
3802
|
if (!(tmp == null))
|
|
3803
3803
|
return tmp;
|
|
3804
3804
|
else {
|
|
@@ -3807,37 +3807,37 @@
|
|
|
3807
3807
|
}
|
|
3808
3808
|
function JsonTreeMapEncoder(json, nodeConsumer) {
|
|
3809
3809
|
JsonTreeEncoder.call(this, json, nodeConsumer);
|
|
3810
|
-
this.
|
|
3810
|
+
this.v2z_1 = true;
|
|
3811
3811
|
}
|
|
3812
|
-
protoOf(JsonTreeMapEncoder).
|
|
3813
|
-
if (this.
|
|
3812
|
+
protoOf(JsonTreeMapEncoder).s2y = function (key, element) {
|
|
3813
|
+
if (this.v2z_1) {
|
|
3814
3814
|
var tmp = this;
|
|
3815
3815
|
var tmp_0;
|
|
3816
3816
|
if (element instanceof JsonPrimitive) {
|
|
3817
|
-
tmp_0 = element.
|
|
3817
|
+
tmp_0 = element.w2r();
|
|
3818
3818
|
} else {
|
|
3819
3819
|
if (element instanceof JsonObject) {
|
|
3820
|
-
throw InvalidKeyKindException(JsonObjectSerializer_getInstance().
|
|
3820
|
+
throw InvalidKeyKindException(JsonObjectSerializer_getInstance().g2s_1);
|
|
3821
3821
|
} else {
|
|
3822
3822
|
if (element instanceof JsonArray) {
|
|
3823
|
-
throw InvalidKeyKindException(JsonArraySerializer_getInstance().
|
|
3823
|
+
throw InvalidKeyKindException(JsonArraySerializer_getInstance().h2s_1);
|
|
3824
3824
|
} else {
|
|
3825
3825
|
noWhenBranchMatchedException();
|
|
3826
3826
|
}
|
|
3827
3827
|
}
|
|
3828
3828
|
}
|
|
3829
|
-
tmp.
|
|
3830
|
-
this.
|
|
3829
|
+
tmp.u2z_1 = tmp_0;
|
|
3830
|
+
this.v2z_1 = false;
|
|
3831
3831
|
} else {
|
|
3832
|
-
var tmp0 = this.
|
|
3832
|
+
var tmp0 = this.r2y_1;
|
|
3833
3833
|
// Inline function 'kotlin.collections.set' call
|
|
3834
3834
|
var key_0 = _get_tag__e6h4qf(this);
|
|
3835
3835
|
tmp0.m2(key_0, element);
|
|
3836
|
-
this.
|
|
3836
|
+
this.v2z_1 = true;
|
|
3837
3837
|
}
|
|
3838
3838
|
};
|
|
3839
|
-
protoOf(JsonTreeMapEncoder).
|
|
3840
|
-
return new JsonObject(this.
|
|
3839
|
+
protoOf(JsonTreeMapEncoder).t2y = function () {
|
|
3840
|
+
return new JsonObject(this.r2y_1);
|
|
3841
3841
|
};
|
|
3842
3842
|
function writeJson$lambda($result) {
|
|
3843
3843
|
return function (it) {
|
|
@@ -3861,8 +3861,8 @@
|
|
|
3861
3861
|
}
|
|
3862
3862
|
function WriteMode(name, ordinal, begin, end) {
|
|
3863
3863
|
Enum.call(this, name, ordinal);
|
|
3864
|
-
this.
|
|
3865
|
-
this.
|
|
3864
|
+
this.r2v_1 = begin;
|
|
3865
|
+
this.s2v_1 = end;
|
|
3866
3866
|
}
|
|
3867
3867
|
function switchMode(_this__u8e3s4, desc) {
|
|
3868
3868
|
var tmp0_subject = desc.an();
|
|
@@ -3888,7 +3888,7 @@
|
|
|
3888
3888
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3889
3889
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
3890
3890
|
} else {
|
|
3891
|
-
if (_this__u8e3s4.
|
|
3891
|
+
if (_this__u8e3s4.g2q_1.b2r_1) {
|
|
3892
3892
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3893
3893
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
3894
3894
|
} else {
|
|
@@ -3933,57 +3933,57 @@
|
|
|
3933
3933
|
return WriteMode_POLY_OBJ_instance;
|
|
3934
3934
|
}
|
|
3935
3935
|
function appendEscape($this, lastPosition, current) {
|
|
3936
|
-
$this.
|
|
3936
|
+
$this.k30(lastPosition, current);
|
|
3937
3937
|
return appendEsc($this, current + 1 | 0);
|
|
3938
3938
|
}
|
|
3939
3939
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3940
|
-
$this.
|
|
3941
|
-
var result = $this.
|
|
3942
|
-
$this.
|
|
3940
|
+
$this.k30(lastPosition, currentPosition);
|
|
3941
|
+
var result = $this.w2q_1.toString();
|
|
3942
|
+
$this.w2q_1.kc(0);
|
|
3943
3943
|
return result;
|
|
3944
3944
|
}
|
|
3945
3945
|
function takePeeked($this) {
|
|
3946
3946
|
// Inline function 'kotlin.also' call
|
|
3947
|
-
var this_0 = ensureNotNull($this.
|
|
3947
|
+
var this_0 = ensureNotNull($this.v2q_1);
|
|
3948
3948
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
3949
|
-
$this.
|
|
3949
|
+
$this.v2q_1 = null;
|
|
3950
3950
|
return this_0;
|
|
3951
3951
|
}
|
|
3952
3952
|
function wasUnquotedString($this) {
|
|
3953
|
-
return !(charSequenceGet($this.
|
|
3953
|
+
return !(charSequenceGet($this.l30(), $this.t2q_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
3954
3954
|
}
|
|
3955
3955
|
function appendEsc($this, startPosition) {
|
|
3956
3956
|
var currentPosition = startPosition;
|
|
3957
|
-
currentPosition = $this.
|
|
3957
|
+
currentPosition = $this.m30(currentPosition);
|
|
3958
3958
|
if (currentPosition === -1) {
|
|
3959
|
-
$this.
|
|
3959
|
+
$this.z2s('Expected escape sequence to continue, got EOF');
|
|
3960
3960
|
}
|
|
3961
|
-
var tmp = $this.
|
|
3961
|
+
var tmp = $this.l30();
|
|
3962
3962
|
var _unary__edvuaz = currentPosition;
|
|
3963
3963
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
3964
3964
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
3965
3965
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
3966
|
-
return appendHex($this, $this.
|
|
3966
|
+
return appendHex($this, $this.l30(), currentPosition);
|
|
3967
3967
|
}
|
|
3968
3968
|
// Inline function 'kotlin.code' call
|
|
3969
3969
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3970
3970
|
var c = escapeToChar(tmp$ret$0);
|
|
3971
3971
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
3972
|
-
$this.
|
|
3972
|
+
$this.z2s("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
3973
3973
|
}
|
|
3974
|
-
$this.
|
|
3974
|
+
$this.w2q_1.j8(c);
|
|
3975
3975
|
return currentPosition;
|
|
3976
3976
|
}
|
|
3977
3977
|
function appendHex($this, source, startPos) {
|
|
3978
3978
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3979
|
-
$this.
|
|
3980
|
-
$this.
|
|
3981
|
-
if (($this.
|
|
3982
|
-
$this.
|
|
3979
|
+
$this.t2q_1 = startPos;
|
|
3980
|
+
$this.n30();
|
|
3981
|
+
if (($this.t2q_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3982
|
+
$this.z2s('Unexpected EOF during unicode escape');
|
|
3983
3983
|
}
|
|
3984
|
-
return appendHex($this, source, $this.
|
|
3984
|
+
return appendHex($this, source, $this.t2q_1);
|
|
3985
3985
|
}
|
|
3986
|
-
$this.
|
|
3986
|
+
$this.w2q_1.j8(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));
|
|
3987
3987
|
return startPos + 4 | 0;
|
|
3988
3988
|
}
|
|
3989
3989
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4008,16 +4008,16 @@
|
|
|
4008
4008
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4009
4009
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4010
4010
|
} else {
|
|
4011
|
-
$this.
|
|
4011
|
+
$this.z2s("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4012
4012
|
}
|
|
4013
4013
|
return tmp;
|
|
4014
4014
|
}
|
|
4015
4015
|
function consumeBoolean2($this, start) {
|
|
4016
|
-
var current = $this.
|
|
4017
|
-
if (current >= charSequenceLength($this.
|
|
4018
|
-
$this.
|
|
4016
|
+
var current = $this.m30(start);
|
|
4017
|
+
if (current >= charSequenceLength($this.l30()) || current === -1) {
|
|
4018
|
+
$this.z2s('EOF');
|
|
4019
4019
|
}
|
|
4020
|
-
var tmp = $this.
|
|
4020
|
+
var tmp = $this.l30();
|
|
4021
4021
|
var _unary__edvuaz = current;
|
|
4022
4022
|
current = _unary__edvuaz + 1 | 0;
|
|
4023
4023
|
// Inline function 'kotlin.code' call
|
|
@@ -4036,14 +4036,14 @@
|
|
|
4036
4036
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4037
4037
|
tmp_0 = false;
|
|
4038
4038
|
} else {
|
|
4039
|
-
$this.
|
|
4039
|
+
$this.z2s("Expected valid boolean literal prefix, but had '" + $this.v2t() + "'");
|
|
4040
4040
|
}
|
|
4041
4041
|
}
|
|
4042
4042
|
return tmp_0;
|
|
4043
4043
|
}
|
|
4044
4044
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4045
|
-
if ((charSequenceLength($this.
|
|
4046
|
-
$this.
|
|
4045
|
+
if ((charSequenceLength($this.l30()) - current | 0) < literalSuffix.length) {
|
|
4046
|
+
$this.z2s('Unexpected end of boolean literal');
|
|
4047
4047
|
}
|
|
4048
4048
|
var inductionVariable = 0;
|
|
4049
4049
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4052,16 +4052,16 @@
|
|
|
4052
4052
|
var i = inductionVariable;
|
|
4053
4053
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4054
4054
|
var expected = charSequenceGet(literalSuffix, i);
|
|
4055
|
-
var actual = charSequenceGet($this.
|
|
4055
|
+
var actual = charSequenceGet($this.l30(), current + i | 0);
|
|
4056
4056
|
// Inline function 'kotlin.code' call
|
|
4057
4057
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4058
4058
|
// Inline function 'kotlin.code' call
|
|
4059
4059
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4060
|
-
$this.
|
|
4060
|
+
$this.z2s("Expected valid boolean literal prefix, but had '" + $this.v2t() + "'");
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
while (inductionVariable <= last);
|
|
4064
|
-
$this.
|
|
4064
|
+
$this.t2q_1 = current + literalSuffix.length | 0;
|
|
4065
4065
|
}
|
|
4066
4066
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4067
4067
|
var tmp;
|
|
@@ -4085,77 +4085,77 @@
|
|
|
4085
4085
|
return tmp;
|
|
4086
4086
|
}
|
|
4087
4087
|
function AbstractJsonLexer() {
|
|
4088
|
-
this.
|
|
4089
|
-
this.
|
|
4090
|
-
this.
|
|
4091
|
-
this.
|
|
4088
|
+
this.t2q_1 = 0;
|
|
4089
|
+
this.u2q_1 = new JsonPath();
|
|
4090
|
+
this.v2q_1 = null;
|
|
4091
|
+
this.w2q_1 = StringBuilder_init_$Create$();
|
|
4092
4092
|
}
|
|
4093
|
-
protoOf(AbstractJsonLexer).
|
|
4093
|
+
protoOf(AbstractJsonLexer).n30 = function () {
|
|
4094
4094
|
};
|
|
4095
|
-
protoOf(AbstractJsonLexer).
|
|
4096
|
-
var current = this.
|
|
4097
|
-
var source = this.
|
|
4095
|
+
protoOf(AbstractJsonLexer).h2v = function () {
|
|
4096
|
+
var current = this.o30();
|
|
4097
|
+
var source = this.l30();
|
|
4098
4098
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4099
4099
|
return false;
|
|
4100
4100
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4101
|
-
this.
|
|
4101
|
+
this.t2q_1 = this.t2q_1 + 1 | 0;
|
|
4102
4102
|
return true;
|
|
4103
4103
|
}
|
|
4104
4104
|
return false;
|
|
4105
4105
|
};
|
|
4106
|
-
protoOf(AbstractJsonLexer).
|
|
4106
|
+
protoOf(AbstractJsonLexer).p30 = function (c) {
|
|
4107
4107
|
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;
|
|
4108
4108
|
};
|
|
4109
|
-
protoOf(AbstractJsonLexer).
|
|
4110
|
-
var nextToken = this.
|
|
4109
|
+
protoOf(AbstractJsonLexer).x2q = function () {
|
|
4110
|
+
var nextToken = this.x2t();
|
|
4111
4111
|
if (!(nextToken === 10)) {
|
|
4112
|
-
this.
|
|
4112
|
+
this.z2s('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.l30(), this.t2q_1 - 1 | 0)) + ' instead');
|
|
4113
4113
|
}
|
|
4114
4114
|
};
|
|
4115
|
-
protoOf(AbstractJsonLexer).
|
|
4116
|
-
var token = this.
|
|
4115
|
+
protoOf(AbstractJsonLexer).r2t = function (expected) {
|
|
4116
|
+
var token = this.x2t();
|
|
4117
4117
|
if (!(token === expected)) {
|
|
4118
|
-
this.
|
|
4118
|
+
this.q30(expected);
|
|
4119
4119
|
}
|
|
4120
4120
|
return token;
|
|
4121
4121
|
};
|
|
4122
|
-
protoOf(AbstractJsonLexer).
|
|
4123
|
-
if (this.
|
|
4122
|
+
protoOf(AbstractJsonLexer).r30 = function (expected) {
|
|
4123
|
+
if (this.t2q_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4124
4124
|
var tmp$ret$1;
|
|
4125
4125
|
$l$block: {
|
|
4126
4126
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4127
|
-
var snapshot = this.
|
|
4127
|
+
var snapshot = this.t2q_1;
|
|
4128
4128
|
try {
|
|
4129
4129
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken.<anonymous>' call
|
|
4130
|
-
this.
|
|
4131
|
-
tmp$ret$1 = this.
|
|
4130
|
+
this.t2q_1 = this.t2q_1 - 1 | 0;
|
|
4131
|
+
tmp$ret$1 = this.v2t();
|
|
4132
4132
|
break $l$block;
|
|
4133
4133
|
}finally {
|
|
4134
|
-
this.
|
|
4134
|
+
this.t2q_1 = snapshot;
|
|
4135
4135
|
}
|
|
4136
4136
|
}
|
|
4137
4137
|
var inputLiteral = tmp$ret$1;
|
|
4138
4138
|
if (inputLiteral === 'null') {
|
|
4139
|
-
this.
|
|
4139
|
+
this.y2s("Expected string literal but 'null' literal was found", this.t2q_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4140
4140
|
}
|
|
4141
4141
|
}
|
|
4142
|
-
this.
|
|
4142
|
+
this.q30(charToTokenClass(expected));
|
|
4143
4143
|
};
|
|
4144
|
-
protoOf(AbstractJsonLexer).
|
|
4144
|
+
protoOf(AbstractJsonLexer).s30 = function (expectedToken, wasConsumed) {
|
|
4145
4145
|
var expected = tokenDescription(expectedToken);
|
|
4146
|
-
var position = wasConsumed ? this.
|
|
4147
|
-
var s = this.
|
|
4148
|
-
this.
|
|
4146
|
+
var position = wasConsumed ? this.t2q_1 - 1 | 0 : this.t2q_1;
|
|
4147
|
+
var s = this.t2q_1 === charSequenceLength(this.l30()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.l30(), position));
|
|
4148
|
+
this.z2s('Expected ' + expected + ", but had '" + s + "' instead", position);
|
|
4149
4149
|
};
|
|
4150
|
-
protoOf(AbstractJsonLexer).
|
|
4150
|
+
protoOf(AbstractJsonLexer).q30 = function (expectedToken, wasConsumed, $super) {
|
|
4151
4151
|
wasConsumed = wasConsumed === VOID ? true : wasConsumed;
|
|
4152
|
-
return $super === VOID ? this.
|
|
4152
|
+
return $super === VOID ? this.s30(expectedToken, wasConsumed) : $super.s30.call(this, expectedToken, wasConsumed);
|
|
4153
4153
|
};
|
|
4154
|
-
protoOf(AbstractJsonLexer).
|
|
4155
|
-
var source = this.
|
|
4156
|
-
var cpos = this.
|
|
4154
|
+
protoOf(AbstractJsonLexer).s2t = function () {
|
|
4155
|
+
var source = this.l30();
|
|
4156
|
+
var cpos = this.t2q_1;
|
|
4157
4157
|
$l$loop_0: while (true) {
|
|
4158
|
-
cpos = this.
|
|
4158
|
+
cpos = this.m30(cpos);
|
|
4159
4159
|
if (cpos === -1)
|
|
4160
4160
|
break $l$loop_0;
|
|
4161
4161
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4163,16 +4163,16 @@
|
|
|
4163
4163
|
cpos = cpos + 1 | 0;
|
|
4164
4164
|
continue $l$loop_0;
|
|
4165
4165
|
}
|
|
4166
|
-
this.
|
|
4166
|
+
this.t2q_1 = cpos;
|
|
4167
4167
|
return charToTokenClass(ch);
|
|
4168
4168
|
}
|
|
4169
|
-
this.
|
|
4169
|
+
this.t2q_1 = cpos;
|
|
4170
4170
|
return 10;
|
|
4171
4171
|
};
|
|
4172
|
-
protoOf(AbstractJsonLexer).
|
|
4173
|
-
var current = this.
|
|
4174
|
-
current = this.
|
|
4175
|
-
var len = charSequenceLength(this.
|
|
4172
|
+
protoOf(AbstractJsonLexer).i2v = function (doConsume) {
|
|
4173
|
+
var current = this.o30();
|
|
4174
|
+
current = this.m30(current);
|
|
4175
|
+
var len = charSequenceLength(this.l30()) - current | 0;
|
|
4176
4176
|
if (len < 4 || current === -1)
|
|
4177
4177
|
return false;
|
|
4178
4178
|
var inductionVariable = 0;
|
|
@@ -4180,50 +4180,50 @@
|
|
|
4180
4180
|
do {
|
|
4181
4181
|
var i = inductionVariable;
|
|
4182
4182
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4183
|
-
if (!(charSequenceGet('null', i) === charSequenceGet(this.
|
|
4183
|
+
if (!(charSequenceGet('null', i) === charSequenceGet(this.l30(), current + i | 0)))
|
|
4184
4184
|
return false;
|
|
4185
4185
|
}
|
|
4186
4186
|
while (inductionVariable <= 3);
|
|
4187
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4187
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.l30(), current + 4 | 0)) === 0)
|
|
4188
4188
|
return false;
|
|
4189
4189
|
if (doConsume) {
|
|
4190
|
-
this.
|
|
4190
|
+
this.t2q_1 = current + 4 | 0;
|
|
4191
4191
|
}
|
|
4192
4192
|
return true;
|
|
4193
4193
|
};
|
|
4194
|
-
protoOf(AbstractJsonLexer).
|
|
4194
|
+
protoOf(AbstractJsonLexer).t2v = function (doConsume, $super) {
|
|
4195
4195
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4196
|
-
return $super === VOID ? this.
|
|
4196
|
+
return $super === VOID ? this.i2v(doConsume) : $super.i2v.call(this, doConsume);
|
|
4197
4197
|
};
|
|
4198
|
-
protoOf(AbstractJsonLexer).
|
|
4199
|
-
var token = this.
|
|
4198
|
+
protoOf(AbstractJsonLexer).j2v = function (isLenient) {
|
|
4199
|
+
var token = this.s2t();
|
|
4200
4200
|
var tmp;
|
|
4201
4201
|
if (isLenient) {
|
|
4202
4202
|
if (!(token === 1) && !(token === 0))
|
|
4203
4203
|
return null;
|
|
4204
|
-
tmp = this.
|
|
4204
|
+
tmp = this.v2t();
|
|
4205
4205
|
} else {
|
|
4206
4206
|
if (!(token === 1))
|
|
4207
4207
|
return null;
|
|
4208
|
-
tmp = this.
|
|
4208
|
+
tmp = this.u2t();
|
|
4209
4209
|
}
|
|
4210
4210
|
var string = tmp;
|
|
4211
|
-
this.
|
|
4211
|
+
this.v2q_1 = string;
|
|
4212
4212
|
return string;
|
|
4213
4213
|
};
|
|
4214
|
-
protoOf(AbstractJsonLexer).
|
|
4215
|
-
this.
|
|
4214
|
+
protoOf(AbstractJsonLexer).t30 = function () {
|
|
4215
|
+
this.v2q_1 = null;
|
|
4216
4216
|
};
|
|
4217
|
-
protoOf(AbstractJsonLexer).
|
|
4217
|
+
protoOf(AbstractJsonLexer).u30 = function (startPos, endPos) {
|
|
4218
4218
|
// Inline function 'kotlin.text.substring' call
|
|
4219
|
-
var this_0 = this.
|
|
4219
|
+
var this_0 = this.l30();
|
|
4220
4220
|
return toString_0(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4221
4221
|
};
|
|
4222
|
-
protoOf(AbstractJsonLexer).
|
|
4223
|
-
if (!(this.
|
|
4222
|
+
protoOf(AbstractJsonLexer).u2t = function () {
|
|
4223
|
+
if (!(this.v2q_1 == null)) {
|
|
4224
4224
|
return takePeeked(this);
|
|
4225
4225
|
}
|
|
4226
|
-
return this.
|
|
4226
|
+
return this.m2v();
|
|
4227
4227
|
};
|
|
4228
4228
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4229
4229
|
var currentPosition = current;
|
|
@@ -4233,19 +4233,19 @@
|
|
|
4233
4233
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4234
4234
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4235
4235
|
usedAppend = true;
|
|
4236
|
-
currentPosition = this.
|
|
4236
|
+
currentPosition = this.m30(appendEscape(this, lastPosition, currentPosition));
|
|
4237
4237
|
if (currentPosition === -1) {
|
|
4238
|
-
this.
|
|
4238
|
+
this.z2s('Unexpected EOF', currentPosition);
|
|
4239
4239
|
}
|
|
4240
4240
|
lastPosition = currentPosition;
|
|
4241
4241
|
} else {
|
|
4242
4242
|
currentPosition = currentPosition + 1 | 0;
|
|
4243
4243
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4244
4244
|
usedAppend = true;
|
|
4245
|
-
this.
|
|
4246
|
-
currentPosition = this.
|
|
4245
|
+
this.k30(lastPosition, currentPosition);
|
|
4246
|
+
currentPosition = this.m30(currentPosition);
|
|
4247
4247
|
if (currentPosition === -1) {
|
|
4248
|
-
this.
|
|
4248
|
+
this.z2s('Unexpected EOF', currentPosition);
|
|
4249
4249
|
}
|
|
4250
4250
|
lastPosition = currentPosition;
|
|
4251
4251
|
}
|
|
@@ -4254,45 +4254,45 @@
|
|
|
4254
4254
|
}
|
|
4255
4255
|
var tmp;
|
|
4256
4256
|
if (!usedAppend) {
|
|
4257
|
-
tmp = this.
|
|
4257
|
+
tmp = this.u30(lastPosition, currentPosition);
|
|
4258
4258
|
} else {
|
|
4259
4259
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4260
4260
|
}
|
|
4261
4261
|
var string = tmp;
|
|
4262
|
-
this.
|
|
4262
|
+
this.t2q_1 = currentPosition + 1 | 0;
|
|
4263
4263
|
return string;
|
|
4264
4264
|
};
|
|
4265
|
-
protoOf(AbstractJsonLexer).
|
|
4266
|
-
var result = this.
|
|
4265
|
+
protoOf(AbstractJsonLexer).n2v = function () {
|
|
4266
|
+
var result = this.v2t();
|
|
4267
4267
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4268
|
-
this.
|
|
4268
|
+
this.z2s("Unexpected 'null' value instead of string literal");
|
|
4269
4269
|
}
|
|
4270
4270
|
return result;
|
|
4271
4271
|
};
|
|
4272
|
-
protoOf(AbstractJsonLexer).
|
|
4273
|
-
if (!(this.
|
|
4272
|
+
protoOf(AbstractJsonLexer).v2t = function () {
|
|
4273
|
+
if (!(this.v2q_1 == null)) {
|
|
4274
4274
|
return takePeeked(this);
|
|
4275
4275
|
}
|
|
4276
|
-
var current = this.
|
|
4277
|
-
if (current >= charSequenceLength(this.
|
|
4278
|
-
this.
|
|
4276
|
+
var current = this.o30();
|
|
4277
|
+
if (current >= charSequenceLength(this.l30()) || current === -1) {
|
|
4278
|
+
this.z2s('EOF', current);
|
|
4279
4279
|
}
|
|
4280
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4280
|
+
var token = charToTokenClass(charSequenceGet(this.l30(), current));
|
|
4281
4281
|
if (token === 1) {
|
|
4282
|
-
return this.
|
|
4282
|
+
return this.u2t();
|
|
4283
4283
|
}
|
|
4284
4284
|
if (!(token === 0)) {
|
|
4285
|
-
this.
|
|
4285
|
+
this.z2s('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.l30(), current)));
|
|
4286
4286
|
}
|
|
4287
4287
|
var usedAppend = false;
|
|
4288
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4288
|
+
while (charToTokenClass(charSequenceGet(this.l30(), current)) === 0) {
|
|
4289
4289
|
current = current + 1 | 0;
|
|
4290
|
-
if (current >= charSequenceLength(this.
|
|
4290
|
+
if (current >= charSequenceLength(this.l30())) {
|
|
4291
4291
|
usedAppend = true;
|
|
4292
|
-
this.
|
|
4293
|
-
var eof = this.
|
|
4292
|
+
this.k30(this.t2q_1, current);
|
|
4293
|
+
var eof = this.m30(current);
|
|
4294
4294
|
if (eof === -1) {
|
|
4295
|
-
this.
|
|
4295
|
+
this.t2q_1 = current;
|
|
4296
4296
|
return decodedString(this, 0, 0);
|
|
4297
4297
|
} else {
|
|
4298
4298
|
current = eof;
|
|
@@ -4301,32 +4301,32 @@
|
|
|
4301
4301
|
}
|
|
4302
4302
|
var tmp;
|
|
4303
4303
|
if (!usedAppend) {
|
|
4304
|
-
tmp = this.
|
|
4304
|
+
tmp = this.u30(this.t2q_1, current);
|
|
4305
4305
|
} else {
|
|
4306
|
-
tmp = decodedString(this, this.
|
|
4306
|
+
tmp = decodedString(this, this.t2q_1, current);
|
|
4307
4307
|
}
|
|
4308
4308
|
var result = tmp;
|
|
4309
|
-
this.
|
|
4309
|
+
this.t2q_1 = current;
|
|
4310
4310
|
return result;
|
|
4311
4311
|
};
|
|
4312
|
-
protoOf(AbstractJsonLexer).
|
|
4313
|
-
this.
|
|
4312
|
+
protoOf(AbstractJsonLexer).k30 = function (fromIndex, toIndex) {
|
|
4313
|
+
this.w2q_1.ec(this.l30(), fromIndex, toIndex);
|
|
4314
4314
|
};
|
|
4315
|
-
protoOf(AbstractJsonLexer).
|
|
4315
|
+
protoOf(AbstractJsonLexer).l2v = function (allowLenientStrings) {
|
|
4316
4316
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4317
4317
|
var tokenStack = ArrayList_init_$Create$();
|
|
4318
|
-
var lastToken = this.
|
|
4318
|
+
var lastToken = this.s2t();
|
|
4319
4319
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4320
|
-
this.
|
|
4320
|
+
this.v2t();
|
|
4321
4321
|
return Unit_instance;
|
|
4322
4322
|
}
|
|
4323
4323
|
$l$loop: while (true) {
|
|
4324
|
-
lastToken = this.
|
|
4324
|
+
lastToken = this.s2t();
|
|
4325
4325
|
if (lastToken === 1) {
|
|
4326
4326
|
if (allowLenientStrings)
|
|
4327
|
-
this.
|
|
4327
|
+
this.v2t();
|
|
4328
4328
|
else
|
|
4329
|
-
this.
|
|
4329
|
+
this.m2v();
|
|
4330
4330
|
continue $l$loop;
|
|
4331
4331
|
}
|
|
4332
4332
|
var tmp0_subject = lastToken;
|
|
@@ -4334,29 +4334,29 @@
|
|
|
4334
4334
|
tokenStack.e(lastToken);
|
|
4335
4335
|
} else if (tmp0_subject === 9) {
|
|
4336
4336
|
if (!(last(tokenStack) === 8))
|
|
4337
|
-
throw JsonDecodingException_0(this.
|
|
4337
|
+
throw JsonDecodingException_0(this.t2q_1, 'found ] instead of } at path: ' + this.u2q_1.toString(), this.l30());
|
|
4338
4338
|
removeLast(tokenStack);
|
|
4339
4339
|
} else if (tmp0_subject === 7) {
|
|
4340
4340
|
if (!(last(tokenStack) === 6))
|
|
4341
|
-
throw JsonDecodingException_0(this.
|
|
4341
|
+
throw JsonDecodingException_0(this.t2q_1, 'found } instead of ] at path: ' + this.u2q_1.toString(), this.l30());
|
|
4342
4342
|
removeLast(tokenStack);
|
|
4343
4343
|
} else if (tmp0_subject === 10) {
|
|
4344
|
-
this.
|
|
4344
|
+
this.z2s('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4345
4345
|
}
|
|
4346
|
-
this.
|
|
4346
|
+
this.x2t();
|
|
4347
4347
|
if (tokenStack.s() === 0)
|
|
4348
4348
|
return Unit_instance;
|
|
4349
4349
|
}
|
|
4350
4350
|
};
|
|
4351
4351
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4352
|
-
return "JsonReader(source='" + toString_0(this.
|
|
4352
|
+
return "JsonReader(source='" + toString_0(this.l30()) + "', currentPosition=" + this.t2q_1 + ')';
|
|
4353
4353
|
};
|
|
4354
|
-
protoOf(AbstractJsonLexer).
|
|
4355
|
-
var processed = this.
|
|
4354
|
+
protoOf(AbstractJsonLexer).k2v = function (key) {
|
|
4355
|
+
var processed = this.u30(0, this.t2q_1);
|
|
4356
4356
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4357
|
-
this.
|
|
4357
|
+
this.y2s("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
4358
4358
|
};
|
|
4359
|
-
protoOf(AbstractJsonLexer).
|
|
4359
|
+
protoOf(AbstractJsonLexer).y2s = function (message, position, hint) {
|
|
4360
4360
|
var tmp;
|
|
4361
4361
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4362
4362
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4365,24 +4365,24 @@
|
|
|
4365
4365
|
tmp = '\n' + hint;
|
|
4366
4366
|
}
|
|
4367
4367
|
var hintMessage = tmp;
|
|
4368
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4368
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.u2q_1.m2t() + hintMessage, this.l30());
|
|
4369
4369
|
};
|
|
4370
|
-
protoOf(AbstractJsonLexer).
|
|
4371
|
-
position = position === VOID ? this.
|
|
4370
|
+
protoOf(AbstractJsonLexer).z2s = function (message, position, hint, $super) {
|
|
4371
|
+
position = position === VOID ? this.t2q_1 : position;
|
|
4372
4372
|
hint = hint === VOID ? '' : hint;
|
|
4373
|
-
return $super === VOID ? this.
|
|
4373
|
+
return $super === VOID ? this.y2s(message, position, hint) : $super.y2s.call(this, message, position, hint);
|
|
4374
4374
|
};
|
|
4375
|
-
protoOf(AbstractJsonLexer).
|
|
4376
|
-
var current = this.
|
|
4377
|
-
current = this.
|
|
4378
|
-
if (current >= charSequenceLength(this.
|
|
4379
|
-
this.
|
|
4375
|
+
protoOf(AbstractJsonLexer).c2s = function () {
|
|
4376
|
+
var current = this.o30();
|
|
4377
|
+
current = this.m30(current);
|
|
4378
|
+
if (current >= charSequenceLength(this.l30()) || current === -1) {
|
|
4379
|
+
this.z2s('EOF');
|
|
4380
4380
|
}
|
|
4381
4381
|
var tmp;
|
|
4382
|
-
if (charSequenceGet(this.
|
|
4382
|
+
if (charSequenceGet(this.l30(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4383
4383
|
current = current + 1 | 0;
|
|
4384
|
-
if (current === charSequenceLength(this.
|
|
4385
|
-
this.
|
|
4384
|
+
if (current === charSequenceLength(this.l30())) {
|
|
4385
|
+
this.z2s('EOF');
|
|
4386
4386
|
}
|
|
4387
4387
|
tmp = true;
|
|
4388
4388
|
} else {
|
|
@@ -4395,11 +4395,11 @@
|
|
|
4395
4395
|
var isExponentPositive = false;
|
|
4396
4396
|
var hasExponent = false;
|
|
4397
4397
|
var start = current;
|
|
4398
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4399
|
-
var ch = charSequenceGet(this.
|
|
4398
|
+
$l$loop_4: while (!(current === charSequenceLength(this.l30()))) {
|
|
4399
|
+
var ch = charSequenceGet(this.l30(), current);
|
|
4400
4400
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4401
4401
|
if (current === start) {
|
|
4402
|
-
this.
|
|
4402
|
+
this.z2s('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4403
4403
|
}
|
|
4404
4404
|
isExponentPositive = true;
|
|
4405
4405
|
hasExponent = true;
|
|
@@ -4408,7 +4408,7 @@
|
|
|
4408
4408
|
}
|
|
4409
4409
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4410
4410
|
if (current === start) {
|
|
4411
|
-
this.
|
|
4411
|
+
this.z2s("Unexpected symbol '-' in numeric literal");
|
|
4412
4412
|
}
|
|
4413
4413
|
isExponentPositive = false;
|
|
4414
4414
|
current = current + 1 | 0;
|
|
@@ -4416,7 +4416,7 @@
|
|
|
4416
4416
|
}
|
|
4417
4417
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4418
4418
|
if (current === start) {
|
|
4419
|
-
this.
|
|
4419
|
+
this.z2s("Unexpected symbol '+' in numeric literal");
|
|
4420
4420
|
}
|
|
4421
4421
|
isExponentPositive = true;
|
|
4422
4422
|
current = current + 1 | 0;
|
|
@@ -4424,7 +4424,7 @@
|
|
|
4424
4424
|
}
|
|
4425
4425
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4426
4426
|
if (!(current === start)) {
|
|
4427
|
-
this.
|
|
4427
|
+
this.z2s("Unexpected symbol '-' in numeric literal");
|
|
4428
4428
|
}
|
|
4429
4429
|
isNegative = true;
|
|
4430
4430
|
current = current + 1 | 0;
|
|
@@ -4436,7 +4436,7 @@
|
|
|
4436
4436
|
current = current + 1 | 0;
|
|
4437
4437
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4438
4438
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4439
|
-
this.
|
|
4439
|
+
this.z2s("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4440
4440
|
}
|
|
4441
4441
|
if (hasExponent) {
|
|
4442
4442
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4448,31 +4448,31 @@
|
|
|
4448
4448
|
// Inline function 'kotlin.Long.minus' call
|
|
4449
4449
|
accumulator = accumulator.y2(toLong(10)).x2(toLong(digit));
|
|
4450
4450
|
if (accumulator.h1(new Long(0, 0)) > 0) {
|
|
4451
|
-
this.
|
|
4451
|
+
this.z2s('Numeric value overflow');
|
|
4452
4452
|
}
|
|
4453
4453
|
}
|
|
4454
4454
|
var hasChars = !(current === start);
|
|
4455
4455
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4456
|
-
this.
|
|
4456
|
+
this.z2s('Expected numeric literal');
|
|
4457
4457
|
}
|
|
4458
4458
|
if (hasQuotation) {
|
|
4459
4459
|
if (!hasChars) {
|
|
4460
|
-
this.
|
|
4460
|
+
this.z2s('EOF');
|
|
4461
4461
|
}
|
|
4462
|
-
if (!(charSequenceGet(this.
|
|
4463
|
-
this.
|
|
4462
|
+
if (!(charSequenceGet(this.l30(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4463
|
+
this.z2s('Expected closing quotation mark');
|
|
4464
4464
|
}
|
|
4465
4465
|
current = current + 1 | 0;
|
|
4466
4466
|
}
|
|
4467
|
-
this.
|
|
4467
|
+
this.t2q_1 = current;
|
|
4468
4468
|
if (hasExponent) {
|
|
4469
4469
|
var doubleAccumulator = accumulator.l3() * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4470
4470
|
if (doubleAccumulator > (new Long(-1, 2147483647)).l3() || doubleAccumulator < (new Long(0, -2147483648)).l3()) {
|
|
4471
|
-
this.
|
|
4471
|
+
this.z2s('Numeric value overflow');
|
|
4472
4472
|
}
|
|
4473
4473
|
// Inline function 'kotlin.math.floor' call
|
|
4474
4474
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4475
|
-
this.
|
|
4475
|
+
this.z2s("Can't convert " + doubleAccumulator + ' to Long');
|
|
4476
4476
|
}
|
|
4477
4477
|
accumulator = numberToLong(doubleAccumulator);
|
|
4478
4478
|
}
|
|
@@ -4482,17 +4482,17 @@
|
|
|
4482
4482
|
} else if (!accumulator.equals(new Long(0, -2147483648))) {
|
|
4483
4483
|
tmp_0 = accumulator.b3();
|
|
4484
4484
|
} else {
|
|
4485
|
-
this.
|
|
4485
|
+
this.z2s('Numeric value overflow');
|
|
4486
4486
|
}
|
|
4487
4487
|
return tmp_0;
|
|
4488
4488
|
};
|
|
4489
|
-
protoOf(AbstractJsonLexer).
|
|
4490
|
-
var current = this.
|
|
4491
|
-
if (current === charSequenceLength(this.
|
|
4492
|
-
this.
|
|
4489
|
+
protoOf(AbstractJsonLexer).u2v = function () {
|
|
4490
|
+
var current = this.o30();
|
|
4491
|
+
if (current === charSequenceLength(this.l30())) {
|
|
4492
|
+
this.z2s('EOF');
|
|
4493
4493
|
}
|
|
4494
4494
|
var tmp;
|
|
4495
|
-
if (charSequenceGet(this.
|
|
4495
|
+
if (charSequenceGet(this.l30(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4496
4496
|
current = current + 1 | 0;
|
|
4497
4497
|
tmp = true;
|
|
4498
4498
|
} else {
|
|
@@ -4501,13 +4501,13 @@
|
|
|
4501
4501
|
var hasQuotation = tmp;
|
|
4502
4502
|
var result = consumeBoolean2(this, current);
|
|
4503
4503
|
if (hasQuotation) {
|
|
4504
|
-
if (this.
|
|
4505
|
-
this.
|
|
4504
|
+
if (this.t2q_1 === charSequenceLength(this.l30())) {
|
|
4505
|
+
this.z2s('EOF');
|
|
4506
4506
|
}
|
|
4507
|
-
if (!(charSequenceGet(this.
|
|
4508
|
-
this.
|
|
4507
|
+
if (!(charSequenceGet(this.l30(), this.t2q_1) === _Char___init__impl__6a9atx(34))) {
|
|
4508
|
+
this.z2s('Expected closing quotation mark');
|
|
4509
4509
|
}
|
|
4510
|
-
this.
|
|
4510
|
+
this.t2q_1 = this.t2q_1 + 1 | 0;
|
|
4511
4511
|
}
|
|
4512
4512
|
return result;
|
|
4513
4513
|
};
|
|
@@ -4515,7 +4515,7 @@
|
|
|
4515
4515
|
var tmp;
|
|
4516
4516
|
// Inline function 'kotlin.code' call
|
|
4517
4517
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4518
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4518
|
+
var tmp_0 = CharMappings_getInstance().w30_1;
|
|
4519
4519
|
// Inline function 'kotlin.code' call
|
|
4520
4520
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4521
4521
|
} else {
|
|
@@ -4527,7 +4527,7 @@
|
|
|
4527
4527
|
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';
|
|
4528
4528
|
}
|
|
4529
4529
|
function escapeToChar(c) {
|
|
4530
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4530
|
+
return c < 117 ? CharMappings_getInstance().v30_1[c] : _Char___init__impl__6a9atx(0);
|
|
4531
4531
|
}
|
|
4532
4532
|
function initEscape($this) {
|
|
4533
4533
|
var inductionVariable = 0;
|
|
@@ -4573,7 +4573,7 @@
|
|
|
4573
4573
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4574
4574
|
// Inline function 'kotlin.code' call
|
|
4575
4575
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4576
|
-
$this.
|
|
4576
|
+
$this.v30_1[tmp$ret$0] = numberToChar(c);
|
|
4577
4577
|
}
|
|
4578
4578
|
}
|
|
4579
4579
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4582,7 +4582,7 @@
|
|
|
4582
4582
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4583
4583
|
}
|
|
4584
4584
|
function initC2TC($this, c, cl) {
|
|
4585
|
-
$this.
|
|
4585
|
+
$this.w30_1[c] = cl;
|
|
4586
4586
|
}
|
|
4587
4587
|
function initC2TC_0($this, c, cl) {
|
|
4588
4588
|
// Inline function 'kotlin.code' call
|
|
@@ -4591,8 +4591,8 @@
|
|
|
4591
4591
|
}
|
|
4592
4592
|
function CharMappings() {
|
|
4593
4593
|
CharMappings_instance = this;
|
|
4594
|
-
this.
|
|
4595
|
-
this.
|
|
4594
|
+
this.v30_1 = charArray(117);
|
|
4595
|
+
this.w30_1 = new Int8Array(126);
|
|
4596
4596
|
initEscape(this);
|
|
4597
4597
|
initCharToToken(this);
|
|
4598
4598
|
}
|
|
@@ -4605,48 +4605,48 @@
|
|
|
4605
4605
|
function StringJsonLexerWithComments(source) {
|
|
4606
4606
|
StringJsonLexer.call(this, source);
|
|
4607
4607
|
}
|
|
4608
|
-
protoOf(StringJsonLexerWithComments).
|
|
4609
|
-
var source = this.
|
|
4610
|
-
var cpos = this.
|
|
4608
|
+
protoOf(StringJsonLexerWithComments).x2t = function () {
|
|
4609
|
+
var source = this.l30();
|
|
4610
|
+
var cpos = this.o30();
|
|
4611
4611
|
if (cpos >= source.length || cpos === -1)
|
|
4612
4612
|
return 10;
|
|
4613
|
-
this.
|
|
4613
|
+
this.t2q_1 = cpos + 1 | 0;
|
|
4614
4614
|
return charToTokenClass(charSequenceGet(source, cpos));
|
|
4615
4615
|
};
|
|
4616
|
-
protoOf(StringJsonLexerWithComments).
|
|
4617
|
-
var current = this.
|
|
4618
|
-
if (current >= this.
|
|
4616
|
+
protoOf(StringJsonLexerWithComments).t2t = function () {
|
|
4617
|
+
var current = this.o30();
|
|
4618
|
+
if (current >= this.l30().length || current === -1)
|
|
4619
4619
|
return false;
|
|
4620
|
-
return this.
|
|
4620
|
+
return this.p30(charSequenceGet(this.l30(), current));
|
|
4621
4621
|
};
|
|
4622
|
-
protoOf(StringJsonLexerWithComments).
|
|
4623
|
-
var source = this.
|
|
4624
|
-
var current = this.
|
|
4622
|
+
protoOf(StringJsonLexerWithComments).g2v = function (expected) {
|
|
4623
|
+
var source = this.l30();
|
|
4624
|
+
var current = this.o30();
|
|
4625
4625
|
if (current >= source.length || current === -1) {
|
|
4626
|
-
this.
|
|
4627
|
-
this.
|
|
4626
|
+
this.t2q_1 = -1;
|
|
4627
|
+
this.r30(expected);
|
|
4628
4628
|
}
|
|
4629
4629
|
var c = charSequenceGet(source, current);
|
|
4630
|
-
this.
|
|
4630
|
+
this.t2q_1 = current + 1 | 0;
|
|
4631
4631
|
if (c === expected)
|
|
4632
4632
|
return Unit_instance;
|
|
4633
4633
|
else {
|
|
4634
|
-
this.
|
|
4634
|
+
this.r30(expected);
|
|
4635
4635
|
}
|
|
4636
4636
|
};
|
|
4637
|
-
protoOf(StringJsonLexerWithComments).
|
|
4638
|
-
var source = this.
|
|
4639
|
-
var cpos = this.
|
|
4637
|
+
protoOf(StringJsonLexerWithComments).s2t = function () {
|
|
4638
|
+
var source = this.l30();
|
|
4639
|
+
var cpos = this.o30();
|
|
4640
4640
|
if (cpos >= source.length || cpos === -1)
|
|
4641
4641
|
return 10;
|
|
4642
|
-
this.
|
|
4642
|
+
this.t2q_1 = cpos;
|
|
4643
4643
|
return charToTokenClass(charSequenceGet(source, cpos));
|
|
4644
4644
|
};
|
|
4645
|
-
protoOf(StringJsonLexerWithComments).
|
|
4646
|
-
var current = this.
|
|
4645
|
+
protoOf(StringJsonLexerWithComments).o30 = function () {
|
|
4646
|
+
var current = this.t2q_1;
|
|
4647
4647
|
if (current === -1)
|
|
4648
4648
|
return current;
|
|
4649
|
-
var source = this.
|
|
4649
|
+
var source = this.l30();
|
|
4650
4650
|
$l$loop_1: while (current < source.length) {
|
|
4651
4651
|
var c = charSequenceGet(source, current);
|
|
4652
4652
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4667,8 +4667,8 @@
|
|
|
4667
4667
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4668
4668
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4669
4669
|
if (current === -1) {
|
|
4670
|
-
this.
|
|
4671
|
-
this.
|
|
4670
|
+
this.t2q_1 = source.length;
|
|
4671
|
+
this.z2s('Expected end of the block comment: "*/", but had EOF instead');
|
|
4672
4672
|
} else {
|
|
4673
4673
|
current = current + 2 | 0;
|
|
4674
4674
|
}
|
|
@@ -4677,22 +4677,22 @@
|
|
|
4677
4677
|
}
|
|
4678
4678
|
break $l$loop_1;
|
|
4679
4679
|
}
|
|
4680
|
-
this.
|
|
4680
|
+
this.t2q_1 = current;
|
|
4681
4681
|
return current;
|
|
4682
4682
|
};
|
|
4683
4683
|
function StringJsonLexer(source) {
|
|
4684
4684
|
AbstractJsonLexer.call(this);
|
|
4685
|
-
this.
|
|
4685
|
+
this.g31_1 = source;
|
|
4686
4686
|
}
|
|
4687
|
-
protoOf(StringJsonLexer).
|
|
4688
|
-
return this.
|
|
4687
|
+
protoOf(StringJsonLexer).l30 = function () {
|
|
4688
|
+
return this.g31_1;
|
|
4689
4689
|
};
|
|
4690
|
-
protoOf(StringJsonLexer).
|
|
4691
|
-
return position < this.
|
|
4690
|
+
protoOf(StringJsonLexer).m30 = function (position) {
|
|
4691
|
+
return position < this.l30().length ? position : -1;
|
|
4692
4692
|
};
|
|
4693
|
-
protoOf(StringJsonLexer).
|
|
4694
|
-
var source = this.
|
|
4695
|
-
var cpos = this.
|
|
4693
|
+
protoOf(StringJsonLexer).x2t = function () {
|
|
4694
|
+
var source = this.l30();
|
|
4695
|
+
var cpos = this.t2q_1;
|
|
4696
4696
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4697
4697
|
var _unary__edvuaz = cpos;
|
|
4698
4698
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4700,17 +4700,17 @@
|
|
|
4700
4700
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4701
4701
|
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))
|
|
4702
4702
|
continue $l$loop;
|
|
4703
|
-
this.
|
|
4703
|
+
this.t2q_1 = cpos;
|
|
4704
4704
|
return charToTokenClass(c);
|
|
4705
4705
|
}
|
|
4706
|
-
this.
|
|
4706
|
+
this.t2q_1 = source.length;
|
|
4707
4707
|
return 10;
|
|
4708
4708
|
};
|
|
4709
|
-
protoOf(StringJsonLexer).
|
|
4710
|
-
var current = this.
|
|
4709
|
+
protoOf(StringJsonLexer).t2t = function () {
|
|
4710
|
+
var current = this.t2q_1;
|
|
4711
4711
|
if (current === -1)
|
|
4712
4712
|
return false;
|
|
4713
|
-
var source = this.
|
|
4713
|
+
var source = this.l30();
|
|
4714
4714
|
$l$loop: while (current < source.length) {
|
|
4715
4715
|
var c = charSequenceGet(source, current);
|
|
4716
4716
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4718,17 +4718,17 @@
|
|
|
4718
4718
|
current = current + 1 | 0;
|
|
4719
4719
|
continue $l$loop;
|
|
4720
4720
|
}
|
|
4721
|
-
this.
|
|
4722
|
-
return this.
|
|
4721
|
+
this.t2q_1 = current;
|
|
4722
|
+
return this.p30(c);
|
|
4723
4723
|
}
|
|
4724
|
-
this.
|
|
4724
|
+
this.t2q_1 = current;
|
|
4725
4725
|
return false;
|
|
4726
4726
|
};
|
|
4727
|
-
protoOf(StringJsonLexer).
|
|
4728
|
-
var current = this.
|
|
4727
|
+
protoOf(StringJsonLexer).o30 = function () {
|
|
4728
|
+
var current = this.t2q_1;
|
|
4729
4729
|
if (current === -1)
|
|
4730
4730
|
return current;
|
|
4731
|
-
var source = this.
|
|
4731
|
+
var source = this.l30();
|
|
4732
4732
|
$l$loop: while (current < source.length) {
|
|
4733
4733
|
var c = charSequenceGet(source, current);
|
|
4734
4734
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4738,15 +4738,15 @@
|
|
|
4738
4738
|
break $l$loop;
|
|
4739
4739
|
}
|
|
4740
4740
|
}
|
|
4741
|
-
this.
|
|
4741
|
+
this.t2q_1 = current;
|
|
4742
4742
|
return current;
|
|
4743
4743
|
};
|
|
4744
|
-
protoOf(StringJsonLexer).
|
|
4745
|
-
if (this.
|
|
4746
|
-
this.
|
|
4744
|
+
protoOf(StringJsonLexer).g2v = function (expected) {
|
|
4745
|
+
if (this.t2q_1 === -1) {
|
|
4746
|
+
this.r30(expected);
|
|
4747
4747
|
}
|
|
4748
|
-
var source = this.
|
|
4749
|
-
var cpos = this.
|
|
4748
|
+
var source = this.l30();
|
|
4749
|
+
var cpos = this.t2q_1;
|
|
4750
4750
|
$l$loop: while (cpos < source.length) {
|
|
4751
4751
|
var _unary__edvuaz = cpos;
|
|
4752
4752
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4754,59 +4754,59 @@
|
|
|
4754
4754
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4755
4755
|
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))
|
|
4756
4756
|
continue $l$loop;
|
|
4757
|
-
this.
|
|
4757
|
+
this.t2q_1 = cpos;
|
|
4758
4758
|
if (c === expected)
|
|
4759
4759
|
return Unit_instance;
|
|
4760
|
-
this.
|
|
4760
|
+
this.r30(expected);
|
|
4761
4761
|
}
|
|
4762
|
-
this.
|
|
4763
|
-
this.
|
|
4762
|
+
this.t2q_1 = -1;
|
|
4763
|
+
this.r30(expected);
|
|
4764
4764
|
};
|
|
4765
|
-
protoOf(StringJsonLexer).
|
|
4766
|
-
this.
|
|
4767
|
-
var current = this.
|
|
4768
|
-
var closingQuote = indexOf_0(this.
|
|
4765
|
+
protoOf(StringJsonLexer).m2v = function () {
|
|
4766
|
+
this.g2v(_Char___init__impl__6a9atx(34));
|
|
4767
|
+
var current = this.t2q_1;
|
|
4768
|
+
var closingQuote = indexOf_0(this.l30(), _Char___init__impl__6a9atx(34), current);
|
|
4769
4769
|
if (closingQuote === -1) {
|
|
4770
|
-
this.
|
|
4771
|
-
this.
|
|
4770
|
+
this.v2t();
|
|
4771
|
+
this.s30(1, false);
|
|
4772
4772
|
}
|
|
4773
4773
|
var inductionVariable = current;
|
|
4774
4774
|
if (inductionVariable < closingQuote)
|
|
4775
4775
|
do {
|
|
4776
4776
|
var i = inductionVariable;
|
|
4777
4777
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4778
|
-
if (charSequenceGet(this.
|
|
4779
|
-
return this.consumeString2(this.
|
|
4778
|
+
if (charSequenceGet(this.l30(), i) === _Char___init__impl__6a9atx(92)) {
|
|
4779
|
+
return this.consumeString2(this.l30(), this.t2q_1, i);
|
|
4780
4780
|
}
|
|
4781
4781
|
}
|
|
4782
4782
|
while (inductionVariable < closingQuote);
|
|
4783
|
-
this.
|
|
4783
|
+
this.t2q_1 = closingQuote + 1 | 0;
|
|
4784
4784
|
// Inline function 'kotlin.text.substring' call
|
|
4785
4785
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4786
|
-
return this.
|
|
4786
|
+
return this.l30().substring(current, closingQuote);
|
|
4787
4787
|
};
|
|
4788
|
-
protoOf(StringJsonLexer).
|
|
4789
|
-
var positionSnapshot = this.
|
|
4788
|
+
protoOf(StringJsonLexer).o2v = function (keyToMatch, isLenient) {
|
|
4789
|
+
var positionSnapshot = this.t2q_1;
|
|
4790
4790
|
try {
|
|
4791
|
-
if (!(this.
|
|
4791
|
+
if (!(this.x2t() === 6))
|
|
4792
4792
|
return null;
|
|
4793
|
-
var firstKey = this.
|
|
4793
|
+
var firstKey = this.j2v(isLenient);
|
|
4794
4794
|
if (!(firstKey === keyToMatch))
|
|
4795
4795
|
return null;
|
|
4796
|
-
this.
|
|
4797
|
-
if (!(this.
|
|
4796
|
+
this.t30();
|
|
4797
|
+
if (!(this.x2t() === 5))
|
|
4798
4798
|
return null;
|
|
4799
|
-
return this.
|
|
4799
|
+
return this.j2v(isLenient);
|
|
4800
4800
|
}finally {
|
|
4801
|
-
this.
|
|
4802
|
-
this.
|
|
4801
|
+
this.t2q_1 = positionSnapshot;
|
|
4802
|
+
this.t30();
|
|
4803
4803
|
}
|
|
4804
4804
|
};
|
|
4805
4805
|
function StringJsonLexer_0(json, source) {
|
|
4806
|
-
return !json.
|
|
4806
|
+
return !json.g2q_1.n2r_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
4807
4807
|
}
|
|
4808
4808
|
function get_schemaCache(_this__u8e3s4) {
|
|
4809
|
-
return _this__u8e3s4.
|
|
4809
|
+
return _this__u8e3s4.i2q_1;
|
|
4810
4810
|
}
|
|
4811
4811
|
function createMapForCache(initialCapacity) {
|
|
4812
4812
|
return HashMap_init_$Create$(initialCapacity);
|