git-semver-tagger 1.4.26 → 1.4.28
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.js +398 -342
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +20 -20
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +918 -918
- package/kotlin/tools-tagger-cli.js +193 -142
- package/kotlin/tools-tagger-cli.js.map +1 -1
- package/package.json +1 -1
|
@@ -241,21 +241,21 @@
|
|
|
241
241
|
}
|
|
242
242
|
function Json(configuration, serializersModule) {
|
|
243
243
|
Default_getInstance();
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
244
|
+
this.t37_1 = configuration;
|
|
245
|
+
this.u37_1 = serializersModule;
|
|
246
|
+
this.v37_1 = new DescriptorSchemaCache();
|
|
247
247
|
}
|
|
248
248
|
protoOf(Json).mm = function () {
|
|
249
|
-
return this.
|
|
249
|
+
return this.u37_1;
|
|
250
250
|
};
|
|
251
|
-
protoOf(Json).
|
|
251
|
+
protoOf(Json).w37 = function (deserializer, string) {
|
|
252
252
|
var lexer = new StringJsonLexer(string);
|
|
253
253
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.cj(), null);
|
|
254
254
|
var result = input.wl(deserializer);
|
|
255
|
-
lexer.
|
|
255
|
+
lexer.k38();
|
|
256
256
|
return result;
|
|
257
257
|
};
|
|
258
|
-
protoOf(Json).
|
|
258
|
+
protoOf(Json).x37 = function (serializer, value) {
|
|
259
259
|
return writeJson(this, value, serializer);
|
|
260
260
|
};
|
|
261
261
|
function JsonClassDiscriminator() {
|
|
@@ -279,25 +279,25 @@
|
|
|
279
279
|
decodeEnumsCaseInsensitive = decodeEnumsCaseInsensitive === VOID ? false : decodeEnumsCaseInsensitive;
|
|
280
280
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
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.
|
|
282
|
+
this.l38_1 = encodeDefaults;
|
|
283
|
+
this.m38_1 = ignoreUnknownKeys;
|
|
284
|
+
this.n38_1 = isLenient;
|
|
285
|
+
this.o38_1 = allowStructuredMapKeys;
|
|
286
|
+
this.p38_1 = prettyPrint;
|
|
287
|
+
this.q38_1 = explicitNulls;
|
|
288
|
+
this.r38_1 = prettyPrintIndent;
|
|
289
|
+
this.s38_1 = coerceInputValues;
|
|
290
|
+
this.t38_1 = useArrayPolymorphism;
|
|
291
|
+
this.u38_1 = classDiscriminator;
|
|
292
|
+
this.v38_1 = allowSpecialFloatingPointValues;
|
|
293
|
+
this.w38_1 = useAlternativeNames;
|
|
294
|
+
this.x38_1 = namingStrategy;
|
|
295
|
+
this.y38_1 = decodeEnumsCaseInsensitive;
|
|
296
|
+
this.z38_1 = allowTrailingComma;
|
|
297
|
+
this.a39_1 = classDiscriminatorMode;
|
|
298
298
|
}
|
|
299
299
|
protoOf(JsonConfiguration).toString = function () {
|
|
300
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
300
|
+
return 'JsonConfiguration(encodeDefaults=' + this.l38_1 + ', ignoreUnknownKeys=' + this.m38_1 + ', isLenient=' + this.n38_1 + ', ' + ('allowStructuredMapKeys=' + this.o38_1 + ', prettyPrint=' + this.p38_1 + ', explicitNulls=' + this.q38_1 + ', ') + ("prettyPrintIndent='" + this.r38_1 + "', coerceInputValues=" + this.s38_1 + ', useArrayPolymorphism=' + this.t38_1 + ', ') + ("classDiscriminator='" + this.u38_1 + "', allowSpecialFloatingPointValues=" + this.v38_1 + ', ') + ('useAlternativeNames=' + this.w38_1 + ', namingStrategy=' + this.x38_1 + ', decodeEnumsCaseInsensitive=' + this.y38_1 + ', ') + ('allowTrailingComma=' + this.z38_1 + ', classDiscriminatorMode=' + this.a39_1 + ')');
|
|
301
301
|
};
|
|
302
302
|
var ClassDiscriminatorMode_NONE_instance;
|
|
303
303
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -361,30 +361,30 @@
|
|
|
361
361
|
}
|
|
362
362
|
function JsonObject(content) {
|
|
363
363
|
JsonElement.call(this);
|
|
364
|
-
this.
|
|
364
|
+
this.d39_1 = content;
|
|
365
365
|
}
|
|
366
366
|
protoOf(JsonObject).p2 = function () {
|
|
367
|
-
return this.
|
|
367
|
+
return this.d39_1.p2();
|
|
368
368
|
};
|
|
369
369
|
protoOf(JsonObject).l2 = function () {
|
|
370
|
-
return this.
|
|
370
|
+
return this.d39_1.l2();
|
|
371
371
|
};
|
|
372
372
|
protoOf(JsonObject).n = function () {
|
|
373
|
-
return this.
|
|
373
|
+
return this.d39_1.n();
|
|
374
374
|
};
|
|
375
375
|
protoOf(JsonObject).m2 = function () {
|
|
376
|
-
return this.
|
|
376
|
+
return this.d39_1.m2();
|
|
377
377
|
};
|
|
378
|
-
protoOf(JsonObject).
|
|
379
|
-
return this.
|
|
378
|
+
protoOf(JsonObject).e39 = function (key) {
|
|
379
|
+
return this.d39_1.u2(key);
|
|
380
380
|
};
|
|
381
381
|
protoOf(JsonObject).u2 = function (key) {
|
|
382
382
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
383
383
|
return false;
|
|
384
|
-
return this.
|
|
384
|
+
return this.e39((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
385
385
|
};
|
|
386
386
|
protoOf(JsonObject).x9 = function (key) {
|
|
387
|
-
return this.
|
|
387
|
+
return this.d39_1.x2(key);
|
|
388
388
|
};
|
|
389
389
|
protoOf(JsonObject).x2 = function (key) {
|
|
390
390
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
@@ -392,16 +392,16 @@
|
|
|
392
392
|
return this.x9((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
393
393
|
};
|
|
394
394
|
protoOf(JsonObject).a1 = function () {
|
|
395
|
-
return this.
|
|
395
|
+
return this.d39_1.a1();
|
|
396
396
|
};
|
|
397
397
|
protoOf(JsonObject).equals = function (other) {
|
|
398
|
-
return equals(this.
|
|
398
|
+
return equals(this.d39_1, other);
|
|
399
399
|
};
|
|
400
400
|
protoOf(JsonObject).hashCode = function () {
|
|
401
|
-
return hashCode(this.
|
|
401
|
+
return hashCode(this.d39_1);
|
|
402
402
|
};
|
|
403
403
|
protoOf(JsonObject).toString = function () {
|
|
404
|
-
var tmp = this.
|
|
404
|
+
var tmp = this.d39_1.p2();
|
|
405
405
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
406
406
|
};
|
|
407
407
|
function Companion_1() {
|
|
@@ -412,56 +412,56 @@
|
|
|
412
412
|
}
|
|
413
413
|
function JsonArray(content) {
|
|
414
414
|
JsonElement.call(this);
|
|
415
|
-
this.
|
|
415
|
+
this.f39_1 = content;
|
|
416
416
|
}
|
|
417
417
|
protoOf(JsonArray).n = function () {
|
|
418
|
-
return this.
|
|
418
|
+
return this.f39_1.n();
|
|
419
419
|
};
|
|
420
|
-
protoOf(JsonArray).
|
|
421
|
-
return this.
|
|
420
|
+
protoOf(JsonArray).g39 = function (element) {
|
|
421
|
+
return this.f39_1.p(element);
|
|
422
422
|
};
|
|
423
423
|
protoOf(JsonArray).p = function (element) {
|
|
424
424
|
if (!(element instanceof JsonElement))
|
|
425
425
|
return false;
|
|
426
|
-
return this.
|
|
426
|
+
return this.g39(element instanceof JsonElement ? element : THROW_CCE());
|
|
427
427
|
};
|
|
428
|
-
protoOf(JsonArray).
|
|
429
|
-
return this.
|
|
428
|
+
protoOf(JsonArray).h39 = function (elements) {
|
|
429
|
+
return this.f39_1.z(elements);
|
|
430
430
|
};
|
|
431
431
|
protoOf(JsonArray).z = function (elements) {
|
|
432
|
-
return this.
|
|
432
|
+
return this.h39(elements);
|
|
433
433
|
};
|
|
434
434
|
protoOf(JsonArray).e1 = function (index) {
|
|
435
|
-
return this.
|
|
435
|
+
return this.f39_1.e1(index);
|
|
436
436
|
};
|
|
437
|
-
protoOf(JsonArray).
|
|
438
|
-
return this.
|
|
437
|
+
protoOf(JsonArray).i39 = function (element) {
|
|
438
|
+
return this.f39_1.z1(element);
|
|
439
439
|
};
|
|
440
440
|
protoOf(JsonArray).z1 = function (element) {
|
|
441
441
|
if (!(element instanceof JsonElement))
|
|
442
442
|
return -1;
|
|
443
|
-
return this.
|
|
443
|
+
return this.i39(element instanceof JsonElement ? element : THROW_CCE());
|
|
444
444
|
};
|
|
445
445
|
protoOf(JsonArray).a1 = function () {
|
|
446
|
-
return this.
|
|
446
|
+
return this.f39_1.a1();
|
|
447
447
|
};
|
|
448
448
|
protoOf(JsonArray).t = function () {
|
|
449
|
-
return this.
|
|
449
|
+
return this.f39_1.t();
|
|
450
450
|
};
|
|
451
451
|
protoOf(JsonArray).a2 = function (index) {
|
|
452
|
-
return this.
|
|
452
|
+
return this.f39_1.a2(index);
|
|
453
453
|
};
|
|
454
454
|
protoOf(JsonArray).b2 = function (fromIndex, toIndex) {
|
|
455
|
-
return this.
|
|
455
|
+
return this.f39_1.b2(fromIndex, toIndex);
|
|
456
456
|
};
|
|
457
457
|
protoOf(JsonArray).equals = function (other) {
|
|
458
|
-
return equals(this.
|
|
458
|
+
return equals(this.f39_1, other);
|
|
459
459
|
};
|
|
460
460
|
protoOf(JsonArray).hashCode = function () {
|
|
461
|
-
return hashCode(this.
|
|
461
|
+
return hashCode(this.f39_1);
|
|
462
462
|
};
|
|
463
463
|
protoOf(JsonArray).toString = function () {
|
|
464
|
-
return joinToString(this.
|
|
464
|
+
return joinToString(this.f39_1, ',', '[', ']');
|
|
465
465
|
};
|
|
466
466
|
function Companion_2() {
|
|
467
467
|
}
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
JsonElement.call(this);
|
|
474
474
|
}
|
|
475
475
|
protoOf(JsonPrimitive).toString = function () {
|
|
476
|
-
return this.
|
|
476
|
+
return this.j39();
|
|
477
477
|
};
|
|
478
478
|
function get_jsonPrimitive(_this__u8e3s4) {
|
|
479
479
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
throw IllegalArgumentException_init_$Create$('Element ' + getKClassFromExpression(_this__u8e3s4) + ' is not a ' + element);
|
|
492
492
|
}
|
|
493
493
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
494
|
-
return $this.
|
|
494
|
+
return $this.l39_1.r2();
|
|
495
495
|
}
|
|
496
496
|
function JsonNull$_anonymous__enib48() {
|
|
497
497
|
return JsonNullSerializer_getInstance();
|
|
@@ -499,19 +499,19 @@
|
|
|
499
499
|
function JsonNull() {
|
|
500
500
|
JsonNull_instance = this;
|
|
501
501
|
JsonPrimitive.call(this);
|
|
502
|
-
this.
|
|
502
|
+
this.k39_1 = 'null';
|
|
503
503
|
var tmp = this;
|
|
504
504
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
505
|
-
tmp.
|
|
505
|
+
tmp.l39_1 = lazy(tmp_0, JsonNull$_anonymous__enib48);
|
|
506
506
|
}
|
|
507
|
-
protoOf(JsonNull).
|
|
508
|
-
return this.
|
|
507
|
+
protoOf(JsonNull).j39 = function () {
|
|
508
|
+
return this.k39_1;
|
|
509
509
|
};
|
|
510
|
-
protoOf(JsonNull).
|
|
510
|
+
protoOf(JsonNull).m39 = function () {
|
|
511
511
|
return _get_$cachedSerializer__te6jhj(this);
|
|
512
512
|
};
|
|
513
513
|
protoOf(JsonNull).rt = function (typeParamsSerializers) {
|
|
514
|
-
return this.
|
|
514
|
+
return this.m39();
|
|
515
515
|
};
|
|
516
516
|
var JsonNull_instance;
|
|
517
517
|
function JsonNull_getInstance() {
|
|
@@ -522,37 +522,37 @@
|
|
|
522
522
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
523
523
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
524
524
|
JsonPrimitive.call(this);
|
|
525
|
-
this.
|
|
526
|
-
this.
|
|
527
|
-
this.
|
|
528
|
-
if (!(this.
|
|
525
|
+
this.n39_1 = isString;
|
|
526
|
+
this.o39_1 = coerceToInlineType;
|
|
527
|
+
this.p39_1 = toString(body);
|
|
528
|
+
if (!(this.o39_1 == null)) {
|
|
529
529
|
// Inline function 'kotlin.require' call
|
|
530
530
|
// Inline function 'kotlin.contracts.contract' call
|
|
531
531
|
// Inline function 'kotlin.require' call
|
|
532
532
|
// Inline function 'kotlin.contracts.contract' call
|
|
533
|
-
if (!this.
|
|
533
|
+
if (!this.o39_1.hk()) {
|
|
534
534
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
535
535
|
var message = 'Failed requirement.';
|
|
536
536
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
protoOf(JsonLiteral).
|
|
541
|
-
return this.
|
|
540
|
+
protoOf(JsonLiteral).j39 = function () {
|
|
541
|
+
return this.p39_1;
|
|
542
542
|
};
|
|
543
543
|
protoOf(JsonLiteral).toString = function () {
|
|
544
544
|
var tmp;
|
|
545
|
-
if (this.
|
|
545
|
+
if (this.n39_1) {
|
|
546
546
|
// Inline function 'kotlin.text.buildString' call
|
|
547
547
|
// Inline function 'kotlin.contracts.contract' call
|
|
548
548
|
// Inline function 'kotlin.apply' call
|
|
549
549
|
var this_0 = StringBuilder_init_$Create$();
|
|
550
550
|
// Inline function 'kotlin.contracts.contract' call
|
|
551
551
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
552
|
-
printQuoted(this_0, this.
|
|
552
|
+
printQuoted(this_0, this.p39_1);
|
|
553
553
|
tmp = this_0.toString();
|
|
554
554
|
} else {
|
|
555
|
-
tmp = this.
|
|
555
|
+
tmp = this.p39_1;
|
|
556
556
|
}
|
|
557
557
|
return tmp;
|
|
558
558
|
};
|
|
@@ -563,15 +563,15 @@
|
|
|
563
563
|
return false;
|
|
564
564
|
if (!(other instanceof JsonLiteral))
|
|
565
565
|
THROW_CCE();
|
|
566
|
-
if (!(this.l39_1 === other.l39_1))
|
|
567
|
-
return false;
|
|
568
566
|
if (!(this.n39_1 === other.n39_1))
|
|
569
567
|
return false;
|
|
568
|
+
if (!(this.p39_1 === other.p39_1))
|
|
569
|
+
return false;
|
|
570
570
|
return true;
|
|
571
571
|
};
|
|
572
572
|
protoOf(JsonLiteral).hashCode = function () {
|
|
573
|
-
var result = getBooleanHashCode(this.
|
|
574
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
573
|
+
var result = getBooleanHashCode(this.n39_1);
|
|
574
|
+
result = imul(31, result) + getStringHashCode(this.p39_1) | 0;
|
|
575
575
|
return result;
|
|
576
576
|
};
|
|
577
577
|
function JsonPrimitive_0(value) {
|
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
}
|
|
595
595
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
596
596
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
597
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
597
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.j39());
|
|
598
598
|
}
|
|
599
599
|
function get_int(_this__u8e3s4) {
|
|
600
600
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -602,7 +602,7 @@
|
|
|
602
602
|
var tmp;
|
|
603
603
|
try {
|
|
604
604
|
// Inline function 'kotlinx.serialization.json.<get-int>.<anonymous>' call
|
|
605
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
605
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.j39())).q39();
|
|
606
606
|
} catch ($p) {
|
|
607
607
|
var tmp_0;
|
|
608
608
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
// Inline function 'kotlin.ranges.contains' call
|
|
617
617
|
var this_0 = numberRangeToNumber(IntCompanionObject_instance.MIN_VALUE, IntCompanionObject_instance.MAX_VALUE);
|
|
618
618
|
if (!contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result))
|
|
619
|
-
throw NumberFormatException_init_$Create$(_this__u8e3s4.
|
|
619
|
+
throw NumberFormatException_init_$Create$(_this__u8e3s4.j39() + ' is not an Int');
|
|
620
620
|
return result.ya();
|
|
621
621
|
}
|
|
622
622
|
function get_long(_this__u8e3s4) {
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
var tmp;
|
|
626
626
|
try {
|
|
627
627
|
// Inline function 'kotlinx.serialization.json.<get-long>.<anonymous>' call
|
|
628
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
628
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.j39())).q39();
|
|
629
629
|
} catch ($p) {
|
|
630
630
|
var tmp_0;
|
|
631
631
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -640,14 +640,14 @@
|
|
|
640
640
|
function get_float(_this__u8e3s4) {
|
|
641
641
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
642
642
|
// Inline function 'kotlin.text.toFloat' call
|
|
643
|
-
var this_0 = _this__u8e3s4.
|
|
643
|
+
var this_0 = _this__u8e3s4.j39();
|
|
644
644
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
645
645
|
// Inline function 'kotlin.js.asDynamic' call
|
|
646
646
|
return toDouble(this_0);
|
|
647
647
|
}
|
|
648
648
|
function get_double(_this__u8e3s4) {
|
|
649
649
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
650
|
-
return toDouble(_this__u8e3s4.
|
|
650
|
+
return toDouble(_this__u8e3s4.j39());
|
|
651
651
|
}
|
|
652
652
|
function get_contentOrNull(_this__u8e3s4) {
|
|
653
653
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -655,7 +655,7 @@
|
|
|
655
655
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
656
656
|
tmp = null;
|
|
657
657
|
} else {
|
|
658
|
-
tmp = _this__u8e3s4.
|
|
658
|
+
tmp = _this__u8e3s4.j39();
|
|
659
659
|
}
|
|
660
660
|
return tmp;
|
|
661
661
|
}
|
|
@@ -675,30 +675,30 @@
|
|
|
675
675
|
return Unit_instance;
|
|
676
676
|
}
|
|
677
677
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
678
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
678
|
+
return JsonPrimitiveSerializer_getInstance().r39_1;
|
|
679
679
|
}
|
|
680
680
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
681
|
-
return JsonNullSerializer_getInstance().
|
|
681
|
+
return JsonNullSerializer_getInstance().s39_1;
|
|
682
682
|
}
|
|
683
683
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
684
|
-
return JsonLiteralSerializer_getInstance().
|
|
684
|
+
return JsonLiteralSerializer_getInstance().t39_1;
|
|
685
685
|
}
|
|
686
686
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
687
|
-
return JsonObjectSerializer_getInstance().
|
|
687
|
+
return JsonObjectSerializer_getInstance().u39_1;
|
|
688
688
|
}
|
|
689
689
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
690
|
-
return JsonArraySerializer_getInstance().
|
|
690
|
+
return JsonArraySerializer_getInstance().v39_1;
|
|
691
691
|
}
|
|
692
692
|
function JsonElementSerializer() {
|
|
693
693
|
JsonElementSerializer_instance = this;
|
|
694
694
|
var tmp = this;
|
|
695
695
|
var tmp_0 = SEALED_getInstance();
|
|
696
|
-
tmp.
|
|
696
|
+
tmp.w39_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
697
697
|
}
|
|
698
698
|
protoOf(JsonElementSerializer).cj = function () {
|
|
699
|
-
return this.
|
|
699
|
+
return this.w39_1;
|
|
700
700
|
};
|
|
701
|
-
protoOf(JsonElementSerializer).
|
|
701
|
+
protoOf(JsonElementSerializer).x39 = function (encoder, value) {
|
|
702
702
|
verify(encoder);
|
|
703
703
|
if (value instanceof JsonPrimitive) {
|
|
704
704
|
encoder.on(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -713,11 +713,11 @@
|
|
|
713
713
|
}
|
|
714
714
|
};
|
|
715
715
|
protoOf(JsonElementSerializer).dj = function (encoder, value) {
|
|
716
|
-
return this.
|
|
716
|
+
return this.x39(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
717
717
|
};
|
|
718
718
|
protoOf(JsonElementSerializer).ej = function (decoder) {
|
|
719
719
|
var input = asJsonDecoder(decoder);
|
|
720
|
-
return input.
|
|
720
|
+
return input.c39();
|
|
721
721
|
};
|
|
722
722
|
var JsonElementSerializer_instance;
|
|
723
723
|
function JsonElementSerializer_getInstance() {
|
|
@@ -727,41 +727,41 @@
|
|
|
727
727
|
}
|
|
728
728
|
function JsonObjectDescriptor() {
|
|
729
729
|
JsonObjectDescriptor_instance = this;
|
|
730
|
-
this.
|
|
731
|
-
this.
|
|
730
|
+
this.y39_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).cj();
|
|
731
|
+
this.z39_1 = 'kotlinx.serialization.json.JsonObject';
|
|
732
732
|
}
|
|
733
733
|
protoOf(JsonObjectDescriptor).fk = function () {
|
|
734
|
-
return this.
|
|
734
|
+
return this.y39_1.fk();
|
|
735
735
|
};
|
|
736
736
|
protoOf(JsonObjectDescriptor).gk = function () {
|
|
737
|
-
return this.
|
|
737
|
+
return this.y39_1.gk();
|
|
738
738
|
};
|
|
739
739
|
protoOf(JsonObjectDescriptor).hk = function () {
|
|
740
|
-
return this.
|
|
740
|
+
return this.y39_1.hk();
|
|
741
741
|
};
|
|
742
742
|
protoOf(JsonObjectDescriptor).ak = function () {
|
|
743
|
-
return this.
|
|
743
|
+
return this.y39_1.ak();
|
|
744
744
|
};
|
|
745
745
|
protoOf(JsonObjectDescriptor).ik = function () {
|
|
746
|
-
return this.
|
|
746
|
+
return this.y39_1.ik();
|
|
747
747
|
};
|
|
748
748
|
protoOf(JsonObjectDescriptor).jk = function (index) {
|
|
749
|
-
return this.
|
|
749
|
+
return this.y39_1.jk(index);
|
|
750
750
|
};
|
|
751
751
|
protoOf(JsonObjectDescriptor).kk = function (index) {
|
|
752
|
-
return this.
|
|
752
|
+
return this.y39_1.kk(index);
|
|
753
753
|
};
|
|
754
754
|
protoOf(JsonObjectDescriptor).lk = function (name) {
|
|
755
|
-
return this.
|
|
755
|
+
return this.y39_1.lk(name);
|
|
756
756
|
};
|
|
757
757
|
protoOf(JsonObjectDescriptor).mk = function (index) {
|
|
758
|
-
return this.
|
|
758
|
+
return this.y39_1.mk(index);
|
|
759
759
|
};
|
|
760
760
|
protoOf(JsonObjectDescriptor).nk = function (index) {
|
|
761
|
-
return this.
|
|
761
|
+
return this.y39_1.nk(index);
|
|
762
762
|
};
|
|
763
763
|
protoOf(JsonObjectDescriptor).ek = function () {
|
|
764
|
-
return this.
|
|
764
|
+
return this.z39_1;
|
|
765
765
|
};
|
|
766
766
|
var JsonObjectDescriptor_instance;
|
|
767
767
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -771,17 +771,17 @@
|
|
|
771
771
|
}
|
|
772
772
|
function JsonObjectSerializer() {
|
|
773
773
|
JsonObjectSerializer_instance = this;
|
|
774
|
-
this.
|
|
774
|
+
this.u39_1 = JsonObjectDescriptor_getInstance();
|
|
775
775
|
}
|
|
776
776
|
protoOf(JsonObjectSerializer).cj = function () {
|
|
777
|
-
return this.
|
|
777
|
+
return this.u39_1;
|
|
778
778
|
};
|
|
779
|
-
protoOf(JsonObjectSerializer).
|
|
779
|
+
protoOf(JsonObjectSerializer).a3a = function (encoder, value) {
|
|
780
780
|
verify(encoder);
|
|
781
781
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).dj(encoder, value);
|
|
782
782
|
};
|
|
783
783
|
protoOf(JsonObjectSerializer).dj = function (encoder, value) {
|
|
784
|
-
return this.
|
|
784
|
+
return this.a3a(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
785
785
|
};
|
|
786
786
|
protoOf(JsonObjectSerializer).ej = function (decoder) {
|
|
787
787
|
verify_0(decoder);
|
|
@@ -795,41 +795,41 @@
|
|
|
795
795
|
}
|
|
796
796
|
function JsonArrayDescriptor() {
|
|
797
797
|
JsonArrayDescriptor_instance = this;
|
|
798
|
-
this.
|
|
799
|
-
this.
|
|
798
|
+
this.b3a_1 = ListSerializer(JsonElementSerializer_getInstance()).cj();
|
|
799
|
+
this.c3a_1 = 'kotlinx.serialization.json.JsonArray';
|
|
800
800
|
}
|
|
801
801
|
protoOf(JsonArrayDescriptor).fk = function () {
|
|
802
|
-
return this.
|
|
802
|
+
return this.b3a_1.fk();
|
|
803
803
|
};
|
|
804
804
|
protoOf(JsonArrayDescriptor).gk = function () {
|
|
805
|
-
return this.
|
|
805
|
+
return this.b3a_1.gk();
|
|
806
806
|
};
|
|
807
807
|
protoOf(JsonArrayDescriptor).hk = function () {
|
|
808
|
-
return this.
|
|
808
|
+
return this.b3a_1.hk();
|
|
809
809
|
};
|
|
810
810
|
protoOf(JsonArrayDescriptor).ak = function () {
|
|
811
|
-
return this.
|
|
811
|
+
return this.b3a_1.ak();
|
|
812
812
|
};
|
|
813
813
|
protoOf(JsonArrayDescriptor).ik = function () {
|
|
814
|
-
return this.
|
|
814
|
+
return this.b3a_1.ik();
|
|
815
815
|
};
|
|
816
816
|
protoOf(JsonArrayDescriptor).jk = function (index) {
|
|
817
|
-
return this.
|
|
817
|
+
return this.b3a_1.jk(index);
|
|
818
818
|
};
|
|
819
819
|
protoOf(JsonArrayDescriptor).kk = function (index) {
|
|
820
|
-
return this.
|
|
820
|
+
return this.b3a_1.kk(index);
|
|
821
821
|
};
|
|
822
822
|
protoOf(JsonArrayDescriptor).lk = function (name) {
|
|
823
|
-
return this.
|
|
823
|
+
return this.b3a_1.lk(name);
|
|
824
824
|
};
|
|
825
825
|
protoOf(JsonArrayDescriptor).mk = function (index) {
|
|
826
|
-
return this.
|
|
826
|
+
return this.b3a_1.mk(index);
|
|
827
827
|
};
|
|
828
828
|
protoOf(JsonArrayDescriptor).nk = function (index) {
|
|
829
|
-
return this.
|
|
829
|
+
return this.b3a_1.nk(index);
|
|
830
830
|
};
|
|
831
831
|
protoOf(JsonArrayDescriptor).ek = function () {
|
|
832
|
-
return this.
|
|
832
|
+
return this.c3a_1;
|
|
833
833
|
};
|
|
834
834
|
var JsonArrayDescriptor_instance;
|
|
835
835
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -839,17 +839,17 @@
|
|
|
839
839
|
}
|
|
840
840
|
function JsonArraySerializer() {
|
|
841
841
|
JsonArraySerializer_instance = this;
|
|
842
|
-
this.
|
|
842
|
+
this.v39_1 = JsonArrayDescriptor_getInstance();
|
|
843
843
|
}
|
|
844
844
|
protoOf(JsonArraySerializer).cj = function () {
|
|
845
|
-
return this.
|
|
845
|
+
return this.v39_1;
|
|
846
846
|
};
|
|
847
|
-
protoOf(JsonArraySerializer).
|
|
847
|
+
protoOf(JsonArraySerializer).d3a = function (encoder, value) {
|
|
848
848
|
verify(encoder);
|
|
849
849
|
ListSerializer(JsonElementSerializer_getInstance()).dj(encoder, value);
|
|
850
850
|
};
|
|
851
851
|
protoOf(JsonArraySerializer).dj = function (encoder, value) {
|
|
852
|
-
return this.
|
|
852
|
+
return this.d3a(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
853
853
|
};
|
|
854
854
|
protoOf(JsonArraySerializer).ej = function (decoder) {
|
|
855
855
|
verify_0(decoder);
|
|
@@ -863,12 +863,12 @@
|
|
|
863
863
|
}
|
|
864
864
|
function JsonPrimitiveSerializer() {
|
|
865
865
|
JsonPrimitiveSerializer_instance = this;
|
|
866
|
-
this.
|
|
866
|
+
this.r39_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
867
867
|
}
|
|
868
868
|
protoOf(JsonPrimitiveSerializer).cj = function () {
|
|
869
|
-
return this.
|
|
869
|
+
return this.r39_1;
|
|
870
870
|
};
|
|
871
|
-
protoOf(JsonPrimitiveSerializer).
|
|
871
|
+
protoOf(JsonPrimitiveSerializer).e3a = function (encoder, value) {
|
|
872
872
|
verify(encoder);
|
|
873
873
|
var tmp;
|
|
874
874
|
if (value instanceof JsonNull) {
|
|
@@ -882,10 +882,10 @@
|
|
|
882
882
|
return tmp;
|
|
883
883
|
};
|
|
884
884
|
protoOf(JsonPrimitiveSerializer).dj = function (encoder, value) {
|
|
885
|
-
return this.
|
|
885
|
+
return this.e3a(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
886
886
|
};
|
|
887
887
|
protoOf(JsonPrimitiveSerializer).ej = function (decoder) {
|
|
888
|
-
var result = asJsonDecoder(decoder).
|
|
888
|
+
var result = asJsonDecoder(decoder).c39();
|
|
889
889
|
if (!(result instanceof JsonPrimitive))
|
|
890
890
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
891
891
|
return result;
|
|
@@ -901,17 +901,17 @@
|
|
|
901
901
|
}
|
|
902
902
|
function JsonNullSerializer() {
|
|
903
903
|
JsonNullSerializer_instance = this;
|
|
904
|
-
this.
|
|
904
|
+
this.s39_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
905
905
|
}
|
|
906
906
|
protoOf(JsonNullSerializer).cj = function () {
|
|
907
|
-
return this.
|
|
907
|
+
return this.s39_1;
|
|
908
908
|
};
|
|
909
|
-
protoOf(JsonNullSerializer).
|
|
909
|
+
protoOf(JsonNullSerializer).f3a = function (encoder, value) {
|
|
910
910
|
verify(encoder);
|
|
911
911
|
encoder.sm();
|
|
912
912
|
};
|
|
913
913
|
protoOf(JsonNullSerializer).dj = function (encoder, value) {
|
|
914
|
-
return this.
|
|
914
|
+
return this.f3a(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
915
915
|
};
|
|
916
916
|
protoOf(JsonNullSerializer).ej = function (decoder) {
|
|
917
917
|
verify_0(decoder);
|
|
@@ -929,20 +929,20 @@
|
|
|
929
929
|
}
|
|
930
930
|
function JsonLiteralSerializer() {
|
|
931
931
|
JsonLiteralSerializer_instance = this;
|
|
932
|
-
this.
|
|
932
|
+
this.t39_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
933
933
|
}
|
|
934
934
|
protoOf(JsonLiteralSerializer).cj = function () {
|
|
935
|
-
return this.
|
|
935
|
+
return this.t39_1;
|
|
936
936
|
};
|
|
937
|
-
protoOf(JsonLiteralSerializer).
|
|
937
|
+
protoOf(JsonLiteralSerializer).g3a = function (encoder, value) {
|
|
938
938
|
verify(encoder);
|
|
939
|
-
if (value.
|
|
940
|
-
return encoder.bn(value.
|
|
939
|
+
if (value.n39_1) {
|
|
940
|
+
return encoder.bn(value.p39_1);
|
|
941
941
|
}
|
|
942
|
-
if (!(value.
|
|
943
|
-
return encoder.cn(value.
|
|
942
|
+
if (!(value.o39_1 == null)) {
|
|
943
|
+
return encoder.cn(value.o39_1).bn(value.p39_1);
|
|
944
944
|
}
|
|
945
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
945
|
+
var tmp0_safe_receiver = toLongOrNull(value.p39_1);
|
|
946
946
|
if (tmp0_safe_receiver == null)
|
|
947
947
|
null;
|
|
948
948
|
else {
|
|
@@ -950,7 +950,7 @@
|
|
|
950
950
|
// Inline function 'kotlin.contracts.contract' call
|
|
951
951
|
return encoder.xm(tmp0_safe_receiver);
|
|
952
952
|
}
|
|
953
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
953
|
+
var tmp1_safe_receiver = toULongOrNull(value.p39_1);
|
|
954
954
|
var tmp = tmp1_safe_receiver;
|
|
955
955
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
956
956
|
null;
|
|
@@ -965,7 +965,7 @@
|
|
|
965
965
|
tmp_1.xm(tmp$ret$1);
|
|
966
966
|
return Unit_instance;
|
|
967
967
|
}
|
|
968
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
968
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.p39_1);
|
|
969
969
|
if (tmp2_safe_receiver == null)
|
|
970
970
|
null;
|
|
971
971
|
else {
|
|
@@ -973,7 +973,7 @@
|
|
|
973
973
|
// Inline function 'kotlin.contracts.contract' call
|
|
974
974
|
return encoder.zm(tmp2_safe_receiver);
|
|
975
975
|
}
|
|
976
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
976
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.p39_1);
|
|
977
977
|
if (tmp3_safe_receiver == null)
|
|
978
978
|
null;
|
|
979
979
|
else {
|
|
@@ -981,13 +981,13 @@
|
|
|
981
981
|
// Inline function 'kotlin.contracts.contract' call
|
|
982
982
|
return encoder.tm(tmp3_safe_receiver);
|
|
983
983
|
}
|
|
984
|
-
encoder.bn(value.
|
|
984
|
+
encoder.bn(value.p39_1);
|
|
985
985
|
};
|
|
986
986
|
protoOf(JsonLiteralSerializer).dj = function (encoder, value) {
|
|
987
|
-
return this.
|
|
987
|
+
return this.g3a(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
988
988
|
};
|
|
989
989
|
protoOf(JsonLiteralSerializer).ej = function (decoder) {
|
|
990
|
-
var result = asJsonDecoder(decoder).
|
|
990
|
+
var result = asJsonDecoder(decoder).c39();
|
|
991
991
|
if (!(result instanceof JsonLiteral))
|
|
992
992
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
993
993
|
return result;
|
|
@@ -1026,12 +1026,12 @@
|
|
|
1026
1026
|
}
|
|
1027
1027
|
function _get_original__l7ku1m($this) {
|
|
1028
1028
|
// Inline function 'kotlin.getValue' call
|
|
1029
|
-
var this_0 = $this.
|
|
1029
|
+
var this_0 = $this.h3a_1;
|
|
1030
1030
|
original$factory();
|
|
1031
1031
|
return this_0.r2();
|
|
1032
1032
|
}
|
|
1033
1033
|
function defer$1($deferred) {
|
|
1034
|
-
this.
|
|
1034
|
+
this.h3a_1 = lazy_0($deferred);
|
|
1035
1035
|
}
|
|
1036
1036
|
protoOf(defer$1).ek = function () {
|
|
1037
1037
|
return _get_original__l7ku1m(this).ek();
|
|
@@ -1065,8 +1065,8 @@
|
|
|
1065
1065
|
function JsonEncoder() {
|
|
1066
1066
|
}
|
|
1067
1067
|
function readIfAbsent($this, descriptor, index) {
|
|
1068
|
-
$this.
|
|
1069
|
-
return $this.
|
|
1068
|
+
$this.j3a_1 = !descriptor.nk(index) ? descriptor.kk(index).ak() : false;
|
|
1069
|
+
return $this.j3a_1;
|
|
1070
1070
|
}
|
|
1071
1071
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1072
1072
|
var l = function (p0, p1) {
|
|
@@ -1077,14 +1077,14 @@
|
|
|
1077
1077
|
}
|
|
1078
1078
|
function JsonElementMarker(descriptor) {
|
|
1079
1079
|
var tmp = this;
|
|
1080
|
-
tmp.
|
|
1081
|
-
this.
|
|
1080
|
+
tmp.i3a_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1081
|
+
this.j3a_1 = false;
|
|
1082
1082
|
}
|
|
1083
1083
|
protoOf(JsonElementMarker).as = function (index) {
|
|
1084
|
-
this.
|
|
1084
|
+
this.i3a_1.as(index);
|
|
1085
1085
|
};
|
|
1086
1086
|
protoOf(JsonElementMarker).bs = function () {
|
|
1087
|
-
return this.
|
|
1087
|
+
return this.i3a_1.bs();
|
|
1088
1088
|
};
|
|
1089
1089
|
function JsonDecodingException(message) {
|
|
1090
1090
|
JsonException.call(this, message);
|
|
@@ -1095,10 +1095,10 @@
|
|
|
1095
1095
|
}
|
|
1096
1096
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1097
1097
|
entity = entity === VOID ? 'object' : entity;
|
|
1098
|
-
_this__u8e3s4.
|
|
1098
|
+
_this__u8e3s4.k3a('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.g38_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingCommas = true' in 'Json {}' builder to support them.");
|
|
1099
1099
|
}
|
|
1100
1100
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1101
|
-
_this__u8e3s4.
|
|
1101
|
+
_this__u8e3s4.l3a('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, get_specialFlowingValuesHint());
|
|
1102
1102
|
}
|
|
1103
1103
|
function JsonEncodingException(message) {
|
|
1104
1104
|
JsonException.call(this, message);
|
|
@@ -1171,7 +1171,7 @@
|
|
|
1171
1171
|
var index = _this__u8e3s4.lk(name);
|
|
1172
1172
|
if (!(index === -3))
|
|
1173
1173
|
return index;
|
|
1174
|
-
if (!json.
|
|
1174
|
+
if (!json.t37_1.w38_1)
|
|
1175
1175
|
return index;
|
|
1176
1176
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1177
1177
|
}
|
|
@@ -1182,17 +1182,17 @@
|
|
|
1182
1182
|
}
|
|
1183
1183
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1184
1184
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1185
|
-
return equals(_this__u8e3s4.ik(), CLASS_getInstance()) ? json.
|
|
1185
|
+
return equals(_this__u8e3s4.ik(), CLASS_getInstance()) ? json.t37_1.x38_1 : null;
|
|
1186
1186
|
}
|
|
1187
1187
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1188
1188
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1189
1189
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1190
1190
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1191
|
-
return tmp.
|
|
1191
|
+
return tmp.n3a(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1192
1192
|
}
|
|
1193
1193
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1194
1194
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1195
|
-
return _this__u8e3s4.
|
|
1195
|
+
return _this__u8e3s4.t37_1.y38_1 ? equals(descriptor.ik(), ENUM_getInstance()) : false;
|
|
1196
1196
|
}
|
|
1197
1197
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1198
1198
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1209,7 +1209,7 @@
|
|
|
1209
1209
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1210
1210
|
var tmp = get_schemaCache(json);
|
|
1211
1211
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1212
|
-
return tmp.
|
|
1212
|
+
return tmp.n3a(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1213
1213
|
}
|
|
1214
1214
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1215
1215
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1235,7 +1235,7 @@
|
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
1237
|
var tmp1_safe_receiver = singleOrNull(destination);
|
|
1238
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1238
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o3a_1;
|
|
1239
1239
|
if (tmp2_safe_receiver == null)
|
|
1240
1240
|
null;
|
|
1241
1241
|
else {
|
|
@@ -1263,7 +1263,7 @@
|
|
|
1263
1263
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1264
1264
|
tmp_0 = _this__u8e3s4.mk(i).toLowerCase();
|
|
1265
1265
|
} else if (!(strategyForClasses == null)) {
|
|
1266
|
-
tmp_0 = strategyForClasses.
|
|
1266
|
+
tmp_0 = strategyForClasses.p3a(_this__u8e3s4, i, _this__u8e3s4.mk(i));
|
|
1267
1267
|
} else {
|
|
1268
1268
|
tmp_0 = null;
|
|
1269
1269
|
}
|
|
@@ -1311,7 +1311,7 @@
|
|
|
1311
1311
|
while (tmp < tmp_0) {
|
|
1312
1312
|
var tmp_2 = tmp;
|
|
1313
1313
|
var baseName = $this_serializationNamesIndices.mk(tmp_2);
|
|
1314
|
-
tmp_1[tmp_2] = $strategy.
|
|
1314
|
+
tmp_1[tmp_2] = $strategy.p3a($this_serializationNamesIndices, tmp_2, baseName);
|
|
1315
1315
|
tmp = tmp + 1 | 0;
|
|
1316
1316
|
}
|
|
1317
1317
|
return tmp_1;
|
|
@@ -1332,14 +1332,14 @@
|
|
|
1332
1332
|
return Tombstone_instance;
|
|
1333
1333
|
}
|
|
1334
1334
|
function resize($this) {
|
|
1335
|
-
var newSize = imul($this.
|
|
1336
|
-
$this.
|
|
1337
|
-
$this.
|
|
1335
|
+
var newSize = imul($this.s3a_1, 2);
|
|
1336
|
+
$this.q3a_1 = copyOf($this.q3a_1, newSize);
|
|
1337
|
+
$this.r3a_1 = copyOf_0($this.r3a_1, newSize);
|
|
1338
1338
|
}
|
|
1339
1339
|
function JsonPath() {
|
|
1340
1340
|
var tmp = this;
|
|
1341
1341
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1342
|
-
tmp.
|
|
1342
|
+
tmp.q3a_1 = fillArrayVal(Array(8), null);
|
|
1343
1343
|
var tmp_0 = this;
|
|
1344
1344
|
var tmp_1 = 0;
|
|
1345
1345
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1347,50 +1347,50 @@
|
|
|
1347
1347
|
tmp_2[tmp_1] = -1;
|
|
1348
1348
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1349
1349
|
}
|
|
1350
|
-
tmp_0.
|
|
1351
|
-
this.
|
|
1350
|
+
tmp_0.r3a_1 = tmp_2;
|
|
1351
|
+
this.s3a_1 = -1;
|
|
1352
1352
|
}
|
|
1353
|
-
protoOf(JsonPath).
|
|
1354
|
-
this.
|
|
1355
|
-
var depth = this.
|
|
1356
|
-
if (depth === this.
|
|
1353
|
+
protoOf(JsonPath).t3a = function (sd) {
|
|
1354
|
+
this.s3a_1 = this.s3a_1 + 1 | 0;
|
|
1355
|
+
var depth = this.s3a_1;
|
|
1356
|
+
if (depth === this.q3a_1.length) {
|
|
1357
1357
|
resize(this);
|
|
1358
1358
|
}
|
|
1359
|
-
this.
|
|
1359
|
+
this.q3a_1[depth] = sd;
|
|
1360
1360
|
};
|
|
1361
|
-
protoOf(JsonPath).
|
|
1362
|
-
this.
|
|
1361
|
+
protoOf(JsonPath).u3a = function (index) {
|
|
1362
|
+
this.r3a_1[this.s3a_1] = index;
|
|
1363
1363
|
};
|
|
1364
|
-
protoOf(JsonPath).
|
|
1364
|
+
protoOf(JsonPath).v3a = function (key) {
|
|
1365
1365
|
var tmp;
|
|
1366
|
-
if (!(this.
|
|
1367
|
-
this.
|
|
1368
|
-
tmp = this.
|
|
1366
|
+
if (!(this.r3a_1[this.s3a_1] === -2)) {
|
|
1367
|
+
this.s3a_1 = this.s3a_1 + 1 | 0;
|
|
1368
|
+
tmp = this.s3a_1 === this.q3a_1.length;
|
|
1369
1369
|
} else {
|
|
1370
1370
|
tmp = false;
|
|
1371
1371
|
}
|
|
1372
1372
|
if (tmp) {
|
|
1373
1373
|
resize(this);
|
|
1374
1374
|
}
|
|
1375
|
-
this.
|
|
1376
|
-
this.
|
|
1375
|
+
this.q3a_1[this.s3a_1] = key;
|
|
1376
|
+
this.r3a_1[this.s3a_1] = -2;
|
|
1377
1377
|
};
|
|
1378
|
-
protoOf(JsonPath).
|
|
1379
|
-
if (this.
|
|
1380
|
-
this.
|
|
1378
|
+
protoOf(JsonPath).w3a = function () {
|
|
1379
|
+
if (this.r3a_1[this.s3a_1] === -2) {
|
|
1380
|
+
this.q3a_1[this.s3a_1] = Tombstone_instance;
|
|
1381
1381
|
}
|
|
1382
1382
|
};
|
|
1383
|
-
protoOf(JsonPath).
|
|
1384
|
-
var depth = this.
|
|
1385
|
-
if (this.
|
|
1386
|
-
this.
|
|
1387
|
-
this.
|
|
1383
|
+
protoOf(JsonPath).x3a = function () {
|
|
1384
|
+
var depth = this.s3a_1;
|
|
1385
|
+
if (this.r3a_1[depth] === -2) {
|
|
1386
|
+
this.r3a_1[depth] = -1;
|
|
1387
|
+
this.s3a_1 = this.s3a_1 - 1 | 0;
|
|
1388
1388
|
}
|
|
1389
|
-
if (!(this.
|
|
1390
|
-
this.
|
|
1389
|
+
if (!(this.s3a_1 === -1)) {
|
|
1390
|
+
this.s3a_1 = this.s3a_1 - 1 | 0;
|
|
1391
1391
|
}
|
|
1392
1392
|
};
|
|
1393
|
-
protoOf(JsonPath).
|
|
1393
|
+
protoOf(JsonPath).y3a = function () {
|
|
1394
1394
|
// Inline function 'kotlin.text.buildString' call
|
|
1395
1395
|
// Inline function 'kotlin.contracts.contract' call
|
|
1396
1396
|
// Inline function 'kotlin.apply' call
|
|
@@ -1399,7 +1399,7 @@
|
|
|
1399
1399
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1400
1400
|
this_0.w5('$');
|
|
1401
1401
|
// Inline function 'kotlin.repeat' call
|
|
1402
|
-
var times = this.
|
|
1402
|
+
var times = this.s3a_1 + 1 | 0;
|
|
1403
1403
|
// Inline function 'kotlin.contracts.contract' call
|
|
1404
1404
|
var inductionVariable = 0;
|
|
1405
1405
|
if (inductionVariable < times)
|
|
@@ -1407,16 +1407,16 @@
|
|
|
1407
1407
|
var index = inductionVariable;
|
|
1408
1408
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1409
1409
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1410
|
-
var element = this.
|
|
1410
|
+
var element = this.q3a_1[index];
|
|
1411
1411
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1412
1412
|
if (equals(element.ik(), LIST_getInstance())) {
|
|
1413
|
-
if (!(this.
|
|
1413
|
+
if (!(this.r3a_1[index] === -1)) {
|
|
1414
1414
|
this_0.w5('[');
|
|
1415
|
-
this_0.j8(this.
|
|
1415
|
+
this_0.j8(this.r3a_1[index]);
|
|
1416
1416
|
this_0.w5(']');
|
|
1417
1417
|
}
|
|
1418
1418
|
} else {
|
|
1419
|
-
var idx = this.
|
|
1419
|
+
var idx = this.r3a_1[index];
|
|
1420
1420
|
if (idx >= 0) {
|
|
1421
1421
|
this_0.w5('.');
|
|
1422
1422
|
this_0.w5(element.mk(idx));
|
|
@@ -1436,39 +1436,39 @@
|
|
|
1436
1436
|
return this_0.toString();
|
|
1437
1437
|
};
|
|
1438
1438
|
protoOf(JsonPath).toString = function () {
|
|
1439
|
-
return this.
|
|
1439
|
+
return this.y3a();
|
|
1440
1440
|
};
|
|
1441
1441
|
function readObject($this) {
|
|
1442
1442
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1443
|
-
var lastToken = $this.
|
|
1444
|
-
if ($this.
|
|
1445
|
-
$this.
|
|
1443
|
+
var lastToken = $this.z3a_1.d3b(get_TC_BEGIN_OBJ());
|
|
1444
|
+
if ($this.z3a_1.e3b() === get_TC_COMMA()) {
|
|
1445
|
+
$this.z3a_1.l3a('Unexpected leading comma');
|
|
1446
1446
|
}
|
|
1447
1447
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1448
1448
|
var result = LinkedHashMap_init_$Create$();
|
|
1449
|
-
$l$loop: while ($this.
|
|
1450
|
-
var key = $this.
|
|
1451
|
-
$this.
|
|
1449
|
+
$l$loop: while ($this.z3a_1.f3b()) {
|
|
1450
|
+
var key = $this.a3b_1 ? $this.z3a_1.h3b() : $this.z3a_1.g3b();
|
|
1451
|
+
$this.z3a_1.d3b(get_TC_COLON());
|
|
1452
1452
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1453
|
-
var element = $this.
|
|
1453
|
+
var element = $this.i3b();
|
|
1454
1454
|
// Inline function 'kotlin.collections.set' call
|
|
1455
1455
|
result.n2(key, element);
|
|
1456
|
-
lastToken = $this.
|
|
1456
|
+
lastToken = $this.z3a_1.j3b();
|
|
1457
1457
|
var tmp0_subject = lastToken;
|
|
1458
1458
|
if (tmp0_subject !== get_TC_COMMA())
|
|
1459
1459
|
if (tmp0_subject === get_TC_END_OBJ())
|
|
1460
1460
|
break $l$loop;
|
|
1461
1461
|
else {
|
|
1462
|
-
$this.
|
|
1462
|
+
$this.z3a_1.l3a('Expected end of the object or comma');
|
|
1463
1463
|
}
|
|
1464
1464
|
}
|
|
1465
1465
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1466
|
-
$this.
|
|
1466
|
+
$this.z3a_1.d3b(get_TC_END_OBJ());
|
|
1467
1467
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1468
|
-
if (!$this.
|
|
1469
|
-
invalidTrailingComma($this.
|
|
1468
|
+
if (!$this.b3b_1) {
|
|
1469
|
+
invalidTrailingComma($this.z3a_1);
|
|
1470
1470
|
}
|
|
1471
|
-
$this.
|
|
1471
|
+
$this.z3a_1.d3b(get_TC_END_OBJ());
|
|
1472
1472
|
}
|
|
1473
1473
|
return new JsonObject(result);
|
|
1474
1474
|
}
|
|
@@ -1479,44 +1479,44 @@
|
|
|
1479
1479
|
return tmp.yc();
|
|
1480
1480
|
}
|
|
1481
1481
|
function readArray($this) {
|
|
1482
|
-
var lastToken = $this.
|
|
1483
|
-
if ($this.
|
|
1484
|
-
$this.
|
|
1482
|
+
var lastToken = $this.z3a_1.j3b();
|
|
1483
|
+
if ($this.z3a_1.e3b() === get_TC_COMMA()) {
|
|
1484
|
+
$this.z3a_1.l3a('Unexpected leading comma');
|
|
1485
1485
|
}
|
|
1486
1486
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1487
1487
|
var result = ArrayList_init_$Create$();
|
|
1488
|
-
while ($this.
|
|
1489
|
-
var element = $this.
|
|
1488
|
+
while ($this.z3a_1.f3b()) {
|
|
1489
|
+
var element = $this.i3b();
|
|
1490
1490
|
result.q(element);
|
|
1491
|
-
lastToken = $this.
|
|
1491
|
+
lastToken = $this.z3a_1.j3b();
|
|
1492
1492
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1493
1493
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1494
|
-
var this_0 = $this.
|
|
1494
|
+
var this_0 = $this.z3a_1;
|
|
1495
1495
|
var condition = lastToken === get_TC_END_LIST();
|
|
1496
|
-
var position = this_0.
|
|
1496
|
+
var position = this_0.g38_1;
|
|
1497
1497
|
if (!condition) {
|
|
1498
1498
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1499
1499
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1500
|
-
this_0.
|
|
1500
|
+
this_0.l3a(tmp$ret$1, position);
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
1503
|
}
|
|
1504
1504
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1505
|
-
$this.
|
|
1505
|
+
$this.z3a_1.d3b(get_TC_END_LIST());
|
|
1506
1506
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1507
|
-
if (!$this.
|
|
1508
|
-
invalidTrailingComma($this.
|
|
1507
|
+
if (!$this.b3b_1) {
|
|
1508
|
+
invalidTrailingComma($this.z3a_1, 'array');
|
|
1509
1509
|
}
|
|
1510
|
-
$this.
|
|
1510
|
+
$this.z3a_1.d3b(get_TC_END_LIST());
|
|
1511
1511
|
}
|
|
1512
1512
|
return new JsonArray(result);
|
|
1513
1513
|
}
|
|
1514
1514
|
function readValue($this, isString) {
|
|
1515
1515
|
var tmp;
|
|
1516
|
-
if ($this.
|
|
1517
|
-
tmp = $this.
|
|
1516
|
+
if ($this.a3b_1 ? true : !isString) {
|
|
1517
|
+
tmp = $this.z3a_1.h3b();
|
|
1518
1518
|
} else {
|
|
1519
|
-
tmp = $this.
|
|
1519
|
+
tmp = $this.z3a_1.g3b();
|
|
1520
1520
|
}
|
|
1521
1521
|
var string = tmp;
|
|
1522
1522
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1527,18 +1527,18 @@
|
|
|
1527
1527
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1528
1528
|
}
|
|
1529
1529
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1530
|
-
this.
|
|
1530
|
+
this.g3c_1 = this$0;
|
|
1531
1531
|
CoroutineImpl.call(this, resultContinuation);
|
|
1532
1532
|
}
|
|
1533
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1534
|
-
var tmp = this.
|
|
1533
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).l3c = function ($this$$receiver, it, $completion) {
|
|
1534
|
+
var tmp = this.m3c($this$$receiver, it, $completion);
|
|
1535
1535
|
tmp.pc_1 = Unit_instance;
|
|
1536
1536
|
tmp.qc_1 = null;
|
|
1537
1537
|
return tmp.yc();
|
|
1538
1538
|
};
|
|
1539
1539
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).wg = function (p1, p2, $completion) {
|
|
1540
1540
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1541
|
-
return this.
|
|
1541
|
+
return this.l3c(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1542
1542
|
};
|
|
1543
1543
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).yc = function () {
|
|
1544
1544
|
var suspendResult = this.pc_1;
|
|
@@ -1548,32 +1548,32 @@
|
|
|
1548
1548
|
switch (tmp) {
|
|
1549
1549
|
case 0:
|
|
1550
1550
|
this.oc_1 = 3;
|
|
1551
|
-
this.
|
|
1552
|
-
if (this.
|
|
1553
|
-
this.
|
|
1551
|
+
this.j3c_1 = this.g3c_1.z3a_1.e3b();
|
|
1552
|
+
if (this.j3c_1 === get_TC_STRING()) {
|
|
1553
|
+
this.k3c_1 = readValue(this.g3c_1, true);
|
|
1554
1554
|
this.nc_1 = 2;
|
|
1555
1555
|
continue $sm;
|
|
1556
1556
|
} else {
|
|
1557
|
-
if (this.
|
|
1558
|
-
this.
|
|
1557
|
+
if (this.j3c_1 === get_TC_OTHER()) {
|
|
1558
|
+
this.k3c_1 = readValue(this.g3c_1, false);
|
|
1559
1559
|
this.nc_1 = 2;
|
|
1560
1560
|
continue $sm;
|
|
1561
1561
|
} else {
|
|
1562
|
-
if (this.
|
|
1562
|
+
if (this.j3c_1 === get_TC_BEGIN_OBJ()) {
|
|
1563
1563
|
this.nc_1 = 1;
|
|
1564
|
-
suspendResult = readObject_0(this.
|
|
1564
|
+
suspendResult = readObject_0(this.h3c_1, this.g3c_1, this);
|
|
1565
1565
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1566
1566
|
return suspendResult;
|
|
1567
1567
|
}
|
|
1568
1568
|
continue $sm;
|
|
1569
1569
|
} else {
|
|
1570
|
-
if (this.
|
|
1571
|
-
this.
|
|
1570
|
+
if (this.j3c_1 === get_TC_BEGIN_LIST()) {
|
|
1571
|
+
this.k3c_1 = readArray(this.g3c_1);
|
|
1572
1572
|
this.nc_1 = 2;
|
|
1573
1573
|
continue $sm;
|
|
1574
1574
|
} else {
|
|
1575
1575
|
var tmp_0 = this;
|
|
1576
|
-
this.
|
|
1576
|
+
this.g3c_1.z3a_1.l3a("Can't begin reading element, unexpected token");
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
1579
1579
|
}
|
|
@@ -1581,11 +1581,11 @@
|
|
|
1581
1581
|
|
|
1582
1582
|
break;
|
|
1583
1583
|
case 1:
|
|
1584
|
-
this.
|
|
1584
|
+
this.k3c_1 = suspendResult;
|
|
1585
1585
|
this.nc_1 = 2;
|
|
1586
1586
|
continue $sm;
|
|
1587
1587
|
case 2:
|
|
1588
|
-
return this.
|
|
1588
|
+
return this.k3c_1;
|
|
1589
1589
|
case 3:
|
|
1590
1590
|
throw this.qc_1;
|
|
1591
1591
|
}
|
|
@@ -1600,24 +1600,24 @@
|
|
|
1600
1600
|
}
|
|
1601
1601
|
while (true);
|
|
1602
1602
|
};
|
|
1603
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1604
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1605
|
-
i.
|
|
1606
|
-
i.
|
|
1603
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).m3c = function ($this$$receiver, it, completion) {
|
|
1604
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.g3c_1, completion);
|
|
1605
|
+
i.h3c_1 = $this$$receiver;
|
|
1606
|
+
i.i3c_1 = it;
|
|
1607
1607
|
return i;
|
|
1608
1608
|
};
|
|
1609
1609
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1610
1610
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1611
1611
|
var l = function ($this$$receiver, it, $completion) {
|
|
1612
|
-
return i.
|
|
1612
|
+
return i.l3c($this$$receiver, it, $completion);
|
|
1613
1613
|
};
|
|
1614
1614
|
l.$arity = 2;
|
|
1615
1615
|
return l;
|
|
1616
1616
|
}
|
|
1617
1617
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1618
1618
|
CoroutineImpl.call(this, resultContinuation);
|
|
1619
|
-
this.
|
|
1620
|
-
this.
|
|
1619
|
+
this.s3b_1 = _this__u8e3s4;
|
|
1620
|
+
this.t3b_1 = _this__u8e3s4_0;
|
|
1621
1621
|
}
|
|
1622
1622
|
protoOf($readObjectCOROUTINE$0).yc = function () {
|
|
1623
1623
|
var suspendResult = this.pc_1;
|
|
@@ -1628,26 +1628,26 @@
|
|
|
1628
1628
|
case 0:
|
|
1629
1629
|
this.oc_1 = 5;
|
|
1630
1630
|
var tmp_0 = this;
|
|
1631
|
-
tmp_0.
|
|
1632
|
-
this.
|
|
1633
|
-
if (this.
|
|
1634
|
-
this.
|
|
1631
|
+
tmp_0.u3b_1 = this.s3b_1;
|
|
1632
|
+
this.v3b_1 = this.u3b_1.z3a_1.d3b(get_TC_BEGIN_OBJ());
|
|
1633
|
+
if (this.u3b_1.z3a_1.e3b() === get_TC_COMMA()) {
|
|
1634
|
+
this.u3b_1.z3a_1.l3a('Unexpected leading comma');
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
1637
|
var tmp_1 = this;
|
|
1638
|
-
tmp_1.
|
|
1638
|
+
tmp_1.w3b_1 = LinkedHashMap_init_$Create$();
|
|
1639
1639
|
this.nc_1 = 1;
|
|
1640
1640
|
continue $sm;
|
|
1641
1641
|
case 1:
|
|
1642
|
-
if (!this.
|
|
1642
|
+
if (!this.u3b_1.z3a_1.f3b()) {
|
|
1643
1643
|
this.nc_1 = 4;
|
|
1644
1644
|
continue $sm;
|
|
1645
1645
|
}
|
|
1646
1646
|
|
|
1647
|
-
this.
|
|
1648
|
-
this.
|
|
1647
|
+
this.x3b_1 = this.u3b_1.a3b_1 ? this.u3b_1.z3a_1.h3b() : this.u3b_1.z3a_1.g3b();
|
|
1648
|
+
this.u3b_1.z3a_1.d3b(get_TC_COLON());
|
|
1649
1649
|
this.nc_1 = 2;
|
|
1650
|
-
suspendResult = this.
|
|
1650
|
+
suspendResult = this.t3b_1.og(Unit_instance, this);
|
|
1651
1651
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1652
1652
|
return suspendResult;
|
|
1653
1653
|
}
|
|
@@ -1655,11 +1655,11 @@
|
|
|
1655
1655
|
continue $sm;
|
|
1656
1656
|
case 2:
|
|
1657
1657
|
var element = suspendResult;
|
|
1658
|
-
var this_0 = this.
|
|
1659
|
-
var key = this.
|
|
1658
|
+
var this_0 = this.w3b_1;
|
|
1659
|
+
var key = this.x3b_1;
|
|
1660
1660
|
this_0.n2(key, element);
|
|
1661
|
-
this.
|
|
1662
|
-
var tmp0_subject = this.
|
|
1661
|
+
this.v3b_1 = this.u3b_1.z3a_1.j3b();
|
|
1662
|
+
var tmp0_subject = this.v3b_1;
|
|
1663
1663
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1664
1664
|
this.nc_1 = 3;
|
|
1665
1665
|
continue $sm;
|
|
@@ -1668,7 +1668,7 @@
|
|
|
1668
1668
|
this.nc_1 = 4;
|
|
1669
1669
|
continue $sm;
|
|
1670
1670
|
} else {
|
|
1671
|
-
this.
|
|
1671
|
+
this.u3b_1.z3a_1.l3a('Expected end of the object or comma');
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
1674
|
|
|
@@ -1677,16 +1677,16 @@
|
|
|
1677
1677
|
this.nc_1 = 1;
|
|
1678
1678
|
continue $sm;
|
|
1679
1679
|
case 4:
|
|
1680
|
-
if (this.
|
|
1681
|
-
this.
|
|
1682
|
-
} else if (this.
|
|
1683
|
-
if (!this.
|
|
1684
|
-
invalidTrailingComma(this.
|
|
1680
|
+
if (this.v3b_1 === get_TC_BEGIN_OBJ()) {
|
|
1681
|
+
this.u3b_1.z3a_1.d3b(get_TC_END_OBJ());
|
|
1682
|
+
} else if (this.v3b_1 === get_TC_COMMA()) {
|
|
1683
|
+
if (!this.u3b_1.b3b_1) {
|
|
1684
|
+
invalidTrailingComma(this.u3b_1.z3a_1);
|
|
1685
1685
|
}
|
|
1686
|
-
this.
|
|
1686
|
+
this.u3b_1.z3a_1.d3b(get_TC_END_OBJ());
|
|
1687
1687
|
}
|
|
1688
1688
|
|
|
1689
|
-
return new JsonObject(this.
|
|
1689
|
+
return new JsonObject(this.w3b_1);
|
|
1690
1690
|
case 5:
|
|
1691
1691
|
throw this.qc_1;
|
|
1692
1692
|
}
|
|
@@ -1702,13 +1702,13 @@
|
|
|
1702
1702
|
while (true);
|
|
1703
1703
|
};
|
|
1704
1704
|
function JsonTreeReader(configuration, lexer) {
|
|
1705
|
-
this.
|
|
1706
|
-
this.
|
|
1707
|
-
this.
|
|
1708
|
-
this.
|
|
1705
|
+
this.z3a_1 = lexer;
|
|
1706
|
+
this.a3b_1 = configuration.n38_1;
|
|
1707
|
+
this.b3b_1 = configuration.z38_1;
|
|
1708
|
+
this.c3b_1 = 0;
|
|
1709
1709
|
}
|
|
1710
|
-
protoOf(JsonTreeReader).
|
|
1711
|
-
var token = this.
|
|
1710
|
+
protoOf(JsonTreeReader).i3b = function () {
|
|
1711
|
+
var token = this.z3a_1.e3b();
|
|
1712
1712
|
var tmp;
|
|
1713
1713
|
if (token === get_TC_STRING()) {
|
|
1714
1714
|
tmp = readValue(this, true);
|
|
@@ -1716,19 +1716,19 @@
|
|
|
1716
1716
|
tmp = readValue(this, false);
|
|
1717
1717
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1718
1718
|
var tmp_0;
|
|
1719
|
-
this.
|
|
1720
|
-
if (this.
|
|
1719
|
+
this.c3b_1 = this.c3b_1 + 1 | 0;
|
|
1720
|
+
if (this.c3b_1 === 200) {
|
|
1721
1721
|
tmp_0 = readDeepRecursive(this);
|
|
1722
1722
|
} else {
|
|
1723
1723
|
tmp_0 = readObject(this);
|
|
1724
1724
|
}
|
|
1725
1725
|
var result = tmp_0;
|
|
1726
|
-
this.
|
|
1726
|
+
this.c3b_1 = this.c3b_1 - 1 | 0;
|
|
1727
1727
|
tmp = result;
|
|
1728
1728
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1729
1729
|
tmp = readArray(this);
|
|
1730
1730
|
} else {
|
|
1731
|
-
this.
|
|
1731
|
+
this.z3a_1.l3a('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
1732
1732
|
}
|
|
1733
1733
|
return tmp;
|
|
1734
1734
|
};
|
|
@@ -1737,23 +1737,23 @@
|
|
|
1737
1737
|
while (tmp0_iterator.u()) {
|
|
1738
1738
|
var annotation = tmp0_iterator.w();
|
|
1739
1739
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1740
|
-
return annotation.
|
|
1740
|
+
return annotation.n3c_1;
|
|
1741
1741
|
}
|
|
1742
|
-
return json.
|
|
1742
|
+
return json.t37_1.u38_1;
|
|
1743
1743
|
}
|
|
1744
1744
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
1745
1745
|
var tmp;
|
|
1746
1746
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1747
1747
|
tmp = true;
|
|
1748
1748
|
} else {
|
|
1749
|
-
tmp = _this__u8e3s4.
|
|
1749
|
+
tmp = _this__u8e3s4.b39().t37_1.t38_1;
|
|
1750
1750
|
}
|
|
1751
1751
|
if (tmp) {
|
|
1752
1752
|
return deserializer.ej(_this__u8e3s4);
|
|
1753
1753
|
}
|
|
1754
|
-
var discriminator = classDiscriminator(deserializer.cj(), _this__u8e3s4.
|
|
1754
|
+
var discriminator = classDiscriminator(deserializer.cj(), _this__u8e3s4.b39());
|
|
1755
1755
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
1756
|
-
var value = _this__u8e3s4.
|
|
1756
|
+
var value = _this__u8e3s4.c39();
|
|
1757
1757
|
var descriptor = deserializer.cj();
|
|
1758
1758
|
if (!(value instanceof JsonObject)) {
|
|
1759
1759
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.ek() + ', but had ' + getKClassFromExpression(value));
|
|
@@ -1776,7 +1776,7 @@
|
|
|
1776
1776
|
}
|
|
1777
1777
|
var tmp_2 = tmp_0;
|
|
1778
1778
|
var actualSerializer = isInterface(tmp_2, DeserializationStrategy) ? tmp_2 : THROW_CCE();
|
|
1779
|
-
return readPolymorphicJson(_this__u8e3s4.
|
|
1779
|
+
return readPolymorphicJson(_this__u8e3s4.b39(), discriminator, jsonTree, actualSerializer);
|
|
1780
1780
|
}
|
|
1781
1781
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
1782
1782
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -1812,12 +1812,12 @@
|
|
|
1812
1812
|
function Key() {
|
|
1813
1813
|
}
|
|
1814
1814
|
function DescriptorSchemaCache() {
|
|
1815
|
-
this.
|
|
1815
|
+
this.m3a_1 = createMapForCache(16);
|
|
1816
1816
|
}
|
|
1817
|
-
protoOf(DescriptorSchemaCache).
|
|
1817
|
+
protoOf(DescriptorSchemaCache).o3c = function (descriptor, key, value) {
|
|
1818
1818
|
// Inline function 'kotlin.collections.set' call
|
|
1819
1819
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1820
|
-
var this_0 = this.
|
|
1820
|
+
var this_0 = this.m3a_1;
|
|
1821
1821
|
var value_0 = this_0.x2(descriptor);
|
|
1822
1822
|
var tmp;
|
|
1823
1823
|
if (value_0 == null) {
|
|
@@ -1833,8 +1833,8 @@
|
|
|
1833
1833
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
1834
1834
|
this_1.n2(key_0, value_1);
|
|
1835
1835
|
};
|
|
1836
|
-
protoOf(DescriptorSchemaCache).
|
|
1837
|
-
var tmp0_safe_receiver = this.
|
|
1836
|
+
protoOf(DescriptorSchemaCache).n3a = function (descriptor, key, defaultValue) {
|
|
1837
|
+
var tmp0_safe_receiver = this.p3c(descriptor, key);
|
|
1838
1838
|
if (tmp0_safe_receiver == null)
|
|
1839
1839
|
null;
|
|
1840
1840
|
else {
|
|
@@ -1843,11 +1843,11 @@
|
|
|
1843
1843
|
return tmp0_safe_receiver;
|
|
1844
1844
|
}
|
|
1845
1845
|
var value = defaultValue();
|
|
1846
|
-
this.
|
|
1846
|
+
this.o3c(descriptor, key, value);
|
|
1847
1847
|
return value;
|
|
1848
1848
|
};
|
|
1849
|
-
protoOf(DescriptorSchemaCache).
|
|
1850
|
-
var tmp0_safe_receiver = this.
|
|
1849
|
+
protoOf(DescriptorSchemaCache).p3c = function (descriptor, key) {
|
|
1850
|
+
var tmp0_safe_receiver = this.m3a_1.x2(descriptor);
|
|
1851
1851
|
var tmp;
|
|
1852
1852
|
if (tmp0_safe_receiver == null) {
|
|
1853
1853
|
tmp = null;
|
|
@@ -1858,13 +1858,13 @@
|
|
|
1858
1858
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
1859
1859
|
};
|
|
1860
1860
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
1861
|
-
this.
|
|
1861
|
+
this.q3c_1 = discriminatorToSkip;
|
|
1862
1862
|
}
|
|
1863
1863
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
1864
1864
|
if (_this__u8e3s4 == null)
|
|
1865
1865
|
return false;
|
|
1866
|
-
if (_this__u8e3s4.
|
|
1867
|
-
_this__u8e3s4.
|
|
1866
|
+
if (_this__u8e3s4.q3c_1 === unknownKey) {
|
|
1867
|
+
_this__u8e3s4.q3c_1 = null;
|
|
1868
1868
|
return true;
|
|
1869
1869
|
}
|
|
1870
1870
|
return false;
|
|
@@ -1878,50 +1878,50 @@
|
|
|
1878
1878
|
}
|
|
1879
1879
|
}
|
|
1880
1880
|
function checkLeadingComma($this) {
|
|
1881
|
-
if ($this.
|
|
1882
|
-
$this.
|
|
1881
|
+
if ($this.a38_1.e3b() === get_TC_COMMA()) {
|
|
1882
|
+
$this.a38_1.l3a('Unexpected leading comma');
|
|
1883
1883
|
}
|
|
1884
1884
|
}
|
|
1885
1885
|
function decodeMapIndex($this) {
|
|
1886
1886
|
var hasComma = false;
|
|
1887
|
-
var decodingKey = !(($this.
|
|
1887
|
+
var decodingKey = !(($this.c38_1 % 2 | 0) === 0);
|
|
1888
1888
|
if (decodingKey) {
|
|
1889
|
-
if (!($this.
|
|
1890
|
-
hasComma = $this.
|
|
1889
|
+
if (!($this.c38_1 === -1)) {
|
|
1890
|
+
hasComma = $this.a38_1.s3c();
|
|
1891
1891
|
}
|
|
1892
1892
|
} else {
|
|
1893
|
-
$this.
|
|
1893
|
+
$this.a38_1.r3c(get_COLON());
|
|
1894
1894
|
}
|
|
1895
1895
|
var tmp;
|
|
1896
|
-
if ($this.
|
|
1896
|
+
if ($this.a38_1.f3b()) {
|
|
1897
1897
|
if (decodingKey) {
|
|
1898
|
-
if ($this.
|
|
1898
|
+
if ($this.c38_1 === -1) {
|
|
1899
1899
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1900
|
-
var this_0 = $this.
|
|
1900
|
+
var this_0 = $this.a38_1;
|
|
1901
1901
|
var condition = !hasComma;
|
|
1902
|
-
var position = this_0.
|
|
1902
|
+
var position = this_0.g38_1;
|
|
1903
1903
|
if (!condition) {
|
|
1904
1904
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1905
1905
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
1906
|
-
this_0.
|
|
1906
|
+
this_0.l3a(tmp$ret$0, position);
|
|
1907
1907
|
}
|
|
1908
1908
|
} else {
|
|
1909
1909
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1910
|
-
var this_1 = $this.
|
|
1910
|
+
var this_1 = $this.a38_1;
|
|
1911
1911
|
var condition_0 = hasComma;
|
|
1912
|
-
var position_0 = this_1.
|
|
1912
|
+
var position_0 = this_1.g38_1;
|
|
1913
1913
|
if (!condition_0) {
|
|
1914
1914
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1915
1915
|
var tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
1916
|
-
this_1.
|
|
1916
|
+
this_1.l3a(tmp$ret$1, position_0);
|
|
1917
1917
|
}
|
|
1918
1918
|
}
|
|
1919
1919
|
}
|
|
1920
|
-
$this.
|
|
1921
|
-
tmp = $this.
|
|
1920
|
+
$this.c38_1 = $this.c38_1 + 1 | 0;
|
|
1921
|
+
tmp = $this.c38_1;
|
|
1922
1922
|
} else {
|
|
1923
|
-
if (hasComma ? !$this.
|
|
1924
|
-
invalidTrailingComma($this.
|
|
1923
|
+
if (hasComma ? !$this.y37_1.t37_1.z38_1 : false) {
|
|
1924
|
+
invalidTrailingComma($this.a38_1);
|
|
1925
1925
|
}
|
|
1926
1926
|
tmp = -1;
|
|
1927
1927
|
}
|
|
@@ -1931,7 +1931,7 @@
|
|
|
1931
1931
|
var tmp$ret$0;
|
|
1932
1932
|
$l$block_3: {
|
|
1933
1933
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
1934
|
-
var this_0 = $this.
|
|
1934
|
+
var this_0 = $this.y37_1;
|
|
1935
1935
|
if (!descriptor.nk(index)) {
|
|
1936
1936
|
tmp$ret$0 = false;
|
|
1937
1937
|
break $l$block_3;
|
|
@@ -1940,7 +1940,7 @@
|
|
|
1940
1940
|
var tmp;
|
|
1941
1941
|
if (!elementDescriptor.ak()) {
|
|
1942
1942
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1943
|
-
tmp = $this.
|
|
1943
|
+
tmp = $this.a38_1.t3c(true);
|
|
1944
1944
|
} else {
|
|
1945
1945
|
tmp = false;
|
|
1946
1946
|
}
|
|
@@ -1952,7 +1952,7 @@
|
|
|
1952
1952
|
var tmp_0;
|
|
1953
1953
|
if (elementDescriptor.ak()) {
|
|
1954
1954
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1955
|
-
tmp_0 = $this.
|
|
1955
|
+
tmp_0 = $this.a38_1.t3c(false);
|
|
1956
1956
|
} else {
|
|
1957
1957
|
tmp_0 = false;
|
|
1958
1958
|
}
|
|
@@ -1961,7 +1961,7 @@
|
|
|
1961
1961
|
break $l$block_3;
|
|
1962
1962
|
}
|
|
1963
1963
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1964
|
-
var tmp0_elvis_lhs = $this.
|
|
1964
|
+
var tmp0_elvis_lhs = $this.a38_1.u3c($this.e38_1.n38_1);
|
|
1965
1965
|
var tmp_1;
|
|
1966
1966
|
if (tmp0_elvis_lhs == null) {
|
|
1967
1967
|
tmp$ret$0 = false;
|
|
@@ -1973,7 +1973,7 @@
|
|
|
1973
1973
|
var enumIndex = getJsonNameIndex(elementDescriptor, this_0, enumValue);
|
|
1974
1974
|
if (enumIndex === -3) {
|
|
1975
1975
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1976
|
-
$this.
|
|
1976
|
+
$this.a38_1.g3b();
|
|
1977
1977
|
tmp$ret$0 = true;
|
|
1978
1978
|
break $l$block_3;
|
|
1979
1979
|
}
|
|
@@ -1983,20 +1983,20 @@
|
|
|
1983
1983
|
return tmp$ret$0;
|
|
1984
1984
|
}
|
|
1985
1985
|
function decodeObjectIndex($this, descriptor) {
|
|
1986
|
-
var hasComma = $this.
|
|
1987
|
-
while ($this.
|
|
1986
|
+
var hasComma = $this.a38_1.s3c();
|
|
1987
|
+
while ($this.a38_1.f3b()) {
|
|
1988
1988
|
hasComma = false;
|
|
1989
1989
|
var key = decodeStringKey($this);
|
|
1990
|
-
$this.
|
|
1991
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
1990
|
+
$this.a38_1.r3c(get_COLON());
|
|
1991
|
+
var index = getJsonNameIndex(descriptor, $this.y37_1, key);
|
|
1992
1992
|
var tmp;
|
|
1993
1993
|
if (!(index === -3)) {
|
|
1994
1994
|
var tmp_0;
|
|
1995
|
-
if ($this.
|
|
1996
|
-
hasComma = $this.
|
|
1995
|
+
if ($this.e38_1.s38_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
1996
|
+
hasComma = $this.a38_1.s3c();
|
|
1997
1997
|
tmp_0 = false;
|
|
1998
1998
|
} else {
|
|
1999
|
-
var tmp0_safe_receiver = $this.
|
|
1999
|
+
var tmp0_safe_receiver = $this.f38_1;
|
|
2000
2000
|
if (tmp0_safe_receiver == null)
|
|
2001
2001
|
null;
|
|
2002
2002
|
else {
|
|
@@ -2013,10 +2013,10 @@
|
|
|
2013
2013
|
hasComma = handleUnknown($this, key);
|
|
2014
2014
|
}
|
|
2015
2015
|
}
|
|
2016
|
-
if (hasComma ? !$this.
|
|
2017
|
-
invalidTrailingComma($this.
|
|
2016
|
+
if (hasComma ? !$this.y37_1.t37_1.z38_1 : false) {
|
|
2017
|
+
invalidTrailingComma($this.a38_1);
|
|
2018
2018
|
}
|
|
2019
|
-
var tmp1_safe_receiver = $this.
|
|
2019
|
+
var tmp1_safe_receiver = $this.f38_1;
|
|
2020
2020
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.bs();
|
|
2021
2021
|
var tmp_1;
|
|
2022
2022
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2027,25 +2027,25 @@
|
|
|
2027
2027
|
return tmp_1;
|
|
2028
2028
|
}
|
|
2029
2029
|
function handleUnknown($this, key) {
|
|
2030
|
-
if ($this.
|
|
2031
|
-
$this.
|
|
2030
|
+
if ($this.e38_1.m38_1 ? true : trySkip($this.d38_1, $this, key)) {
|
|
2031
|
+
$this.a38_1.w3c($this.e38_1.n38_1);
|
|
2032
2032
|
} else {
|
|
2033
|
-
$this.
|
|
2033
|
+
$this.a38_1.v3c(key);
|
|
2034
2034
|
}
|
|
2035
|
-
return $this.
|
|
2035
|
+
return $this.a38_1.s3c();
|
|
2036
2036
|
}
|
|
2037
2037
|
function decodeListIndex($this) {
|
|
2038
|
-
var hasComma = $this.
|
|
2038
|
+
var hasComma = $this.a38_1.s3c();
|
|
2039
2039
|
var tmp;
|
|
2040
|
-
if ($this.
|
|
2041
|
-
if (!($this.
|
|
2042
|
-
$this.
|
|
2040
|
+
if ($this.a38_1.f3b()) {
|
|
2041
|
+
if (!($this.c38_1 === -1) ? !hasComma : false) {
|
|
2042
|
+
$this.a38_1.l3a('Expected end of the array or comma');
|
|
2043
2043
|
}
|
|
2044
|
-
$this.
|
|
2045
|
-
tmp = $this.
|
|
2044
|
+
$this.c38_1 = $this.c38_1 + 1 | 0;
|
|
2045
|
+
tmp = $this.c38_1;
|
|
2046
2046
|
} else {
|
|
2047
|
-
if (hasComma ? !$this.
|
|
2048
|
-
invalidTrailingComma($this.
|
|
2047
|
+
if (hasComma ? !$this.y37_1.t37_1.z38_1 : false) {
|
|
2048
|
+
invalidTrailingComma($this.a38_1, 'array');
|
|
2049
2049
|
}
|
|
2050
2050
|
tmp = -1;
|
|
2051
2051
|
}
|
|
@@ -2053,32 +2053,32 @@
|
|
|
2053
2053
|
}
|
|
2054
2054
|
function decodeStringKey($this) {
|
|
2055
2055
|
var tmp;
|
|
2056
|
-
if ($this.
|
|
2057
|
-
tmp = $this.
|
|
2056
|
+
if ($this.e38_1.n38_1) {
|
|
2057
|
+
tmp = $this.a38_1.y3c();
|
|
2058
2058
|
} else {
|
|
2059
|
-
tmp = $this.
|
|
2059
|
+
tmp = $this.a38_1.x3c();
|
|
2060
2060
|
}
|
|
2061
2061
|
return tmp;
|
|
2062
2062
|
}
|
|
2063
2063
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2064
2064
|
AbstractDecoder.call(this);
|
|
2065
|
-
this.
|
|
2066
|
-
this.
|
|
2067
|
-
this.
|
|
2068
|
-
this.
|
|
2069
|
-
this.
|
|
2070
|
-
this.
|
|
2071
|
-
this.
|
|
2072
|
-
this.
|
|
2073
|
-
}
|
|
2074
|
-
protoOf(StreamingJsonDecoder).
|
|
2075
|
-
return this.
|
|
2065
|
+
this.y37_1 = json;
|
|
2066
|
+
this.z37_1 = mode;
|
|
2067
|
+
this.a38_1 = lexer;
|
|
2068
|
+
this.b38_1 = this.y37_1.mm();
|
|
2069
|
+
this.c38_1 = -1;
|
|
2070
|
+
this.d38_1 = discriminatorHolder;
|
|
2071
|
+
this.e38_1 = this.y37_1.t37_1;
|
|
2072
|
+
this.f38_1 = this.e38_1.q38_1 ? null : new JsonElementMarker(descriptor);
|
|
2073
|
+
}
|
|
2074
|
+
protoOf(StreamingJsonDecoder).b39 = function () {
|
|
2075
|
+
return this.y37_1;
|
|
2076
2076
|
};
|
|
2077
2077
|
protoOf(StreamingJsonDecoder).mm = function () {
|
|
2078
|
-
return this.
|
|
2078
|
+
return this.b38_1;
|
|
2079
2079
|
};
|
|
2080
|
-
protoOf(StreamingJsonDecoder).
|
|
2081
|
-
return (new JsonTreeReader(this.
|
|
2080
|
+
protoOf(StreamingJsonDecoder).c39 = function () {
|
|
2081
|
+
return (new JsonTreeReader(this.y37_1.t37_1, this.a38_1)).i3b();
|
|
2082
2082
|
};
|
|
2083
2083
|
protoOf(StreamingJsonDecoder).wl = function (deserializer) {
|
|
2084
2084
|
try {
|
|
@@ -2086,13 +2086,13 @@
|
|
|
2086
2086
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2087
2087
|
tmp = true;
|
|
2088
2088
|
} else {
|
|
2089
|
-
tmp = this.
|
|
2089
|
+
tmp = this.y37_1.t37_1.t38_1;
|
|
2090
2090
|
}
|
|
2091
2091
|
if (tmp) {
|
|
2092
2092
|
return deserializer.ej(this);
|
|
2093
2093
|
}
|
|
2094
|
-
var discriminator = classDiscriminator(deserializer.cj(), this.
|
|
2095
|
-
var tmp0_elvis_lhs = this.
|
|
2094
|
+
var discriminator = classDiscriminator(deserializer.cj(), this.y37_1);
|
|
2095
|
+
var tmp0_elvis_lhs = this.a38_1.z3c(discriminator, this.e38_1.n38_1);
|
|
2096
2096
|
var tmp_0;
|
|
2097
2097
|
if (tmp0_elvis_lhs == null) {
|
|
2098
2098
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
@@ -2109,7 +2109,7 @@
|
|
|
2109
2109
|
var it = $p;
|
|
2110
2110
|
var message = removeSuffix(substringBefore(ensureNotNull(it.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2111
2111
|
var hint = substringAfter(ensureNotNull(it.message), _Char___init__impl__6a9atx(10), '');
|
|
2112
|
-
this.
|
|
2112
|
+
this.a38_1.l3a(message, VOID, hint);
|
|
2113
2113
|
} else {
|
|
2114
2114
|
throw $p;
|
|
2115
2115
|
}
|
|
@@ -2117,37 +2117,37 @@
|
|
|
2117
2117
|
}
|
|
2118
2118
|
var tmp_3 = tmp_1;
|
|
2119
2119
|
var actualSerializer = isInterface(tmp_3, DeserializationStrategy) ? tmp_3 : THROW_CCE();
|
|
2120
|
-
this.
|
|
2120
|
+
this.d38_1 = new DiscriminatorHolder(discriminator);
|
|
2121
2121
|
return actualSerializer.ej(this);
|
|
2122
2122
|
} catch ($p) {
|
|
2123
2123
|
if ($p instanceof MissingFieldException) {
|
|
2124
2124
|
var e = $p;
|
|
2125
2125
|
if (contains_0(ensureNotNull(e.message), 'at path'))
|
|
2126
2126
|
throw e;
|
|
2127
|
-
throw new MissingFieldException(e.vj_1, plus(e.message, ' at path: ') + this.
|
|
2127
|
+
throw new MissingFieldException(e.vj_1, plus(e.message, ' at path: ') + this.a38_1.h38_1.y3a(), e);
|
|
2128
2128
|
} else {
|
|
2129
2129
|
throw $p;
|
|
2130
2130
|
}
|
|
2131
2131
|
}
|
|
2132
2132
|
};
|
|
2133
2133
|
protoOf(StreamingJsonDecoder).xl = function (descriptor) {
|
|
2134
|
-
var newMode = switchMode(this.
|
|
2135
|
-
this.
|
|
2136
|
-
this.
|
|
2134
|
+
var newMode = switchMode(this.y37_1, descriptor);
|
|
2135
|
+
this.a38_1.h38_1.t3a(descriptor);
|
|
2136
|
+
this.a38_1.r3c(newMode.c3d_1);
|
|
2137
2137
|
checkLeadingComma(this);
|
|
2138
2138
|
var tmp;
|
|
2139
2139
|
switch (newMode.t9_1) {
|
|
2140
2140
|
case 1:
|
|
2141
2141
|
case 2:
|
|
2142
2142
|
case 3:
|
|
2143
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2143
|
+
tmp = new StreamingJsonDecoder(this.y37_1, newMode, this.a38_1, descriptor, this.d38_1);
|
|
2144
2144
|
break;
|
|
2145
2145
|
default:
|
|
2146
2146
|
var tmp_0;
|
|
2147
|
-
if (this.
|
|
2147
|
+
if (this.z37_1.equals(newMode) ? this.y37_1.t37_1.q38_1 : false) {
|
|
2148
2148
|
tmp_0 = this;
|
|
2149
2149
|
} else {
|
|
2150
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2150
|
+
tmp_0 = new StreamingJsonDecoder(this.y37_1, newMode, this.a38_1, descriptor, this.d38_1);
|
|
2151
2151
|
}
|
|
2152
2152
|
|
|
2153
2153
|
tmp = tmp_0;
|
|
@@ -2156,21 +2156,21 @@
|
|
|
2156
2156
|
return tmp;
|
|
2157
2157
|
};
|
|
2158
2158
|
protoOf(StreamingJsonDecoder).yl = function (descriptor) {
|
|
2159
|
-
if (this.
|
|
2159
|
+
if (this.y37_1.t37_1.m38_1 ? descriptor.gk() === 0 : false) {
|
|
2160
2160
|
skipLeftoverElements(this, descriptor);
|
|
2161
2161
|
}
|
|
2162
|
-
if (this.
|
|
2163
|
-
invalidTrailingComma(this.
|
|
2162
|
+
if (this.a38_1.s3c() ? !this.y37_1.t37_1.z38_1 : false) {
|
|
2163
|
+
invalidTrailingComma(this.a38_1, '');
|
|
2164
2164
|
}
|
|
2165
|
-
this.
|
|
2166
|
-
this.
|
|
2165
|
+
this.a38_1.r3c(this.z37_1.d3d_1);
|
|
2166
|
+
this.a38_1.h38_1.x3a();
|
|
2167
2167
|
};
|
|
2168
2168
|
protoOf(StreamingJsonDecoder).jl = function () {
|
|
2169
2169
|
var tmp;
|
|
2170
|
-
var tmp0_safe_receiver = this.
|
|
2171
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2170
|
+
var tmp0_safe_receiver = this.f38_1;
|
|
2171
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j3a_1;
|
|
2172
2172
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2173
|
-
tmp = !this.
|
|
2173
|
+
tmp = !this.a38_1.e3d();
|
|
2174
2174
|
} else {
|
|
2175
2175
|
tmp = false;
|
|
2176
2176
|
}
|
|
@@ -2180,19 +2180,19 @@
|
|
|
2180
2180
|
return null;
|
|
2181
2181
|
};
|
|
2182
2182
|
protoOf(StreamingJsonDecoder).jm = function (descriptor, index, deserializer, previousValue) {
|
|
2183
|
-
var isMapKey = this.
|
|
2183
|
+
var isMapKey = this.z37_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2184
2184
|
if (isMapKey) {
|
|
2185
|
-
this.
|
|
2185
|
+
this.a38_1.h38_1.w3a();
|
|
2186
2186
|
}
|
|
2187
2187
|
var value = protoOf(AbstractDecoder).jm.call(this, descriptor, index, deserializer, previousValue);
|
|
2188
2188
|
if (isMapKey) {
|
|
2189
|
-
this.
|
|
2189
|
+
this.a38_1.h38_1.v3a(value);
|
|
2190
2190
|
}
|
|
2191
2191
|
return value;
|
|
2192
2192
|
};
|
|
2193
2193
|
protoOf(StreamingJsonDecoder).om = function (descriptor) {
|
|
2194
2194
|
var index;
|
|
2195
|
-
switch (this.
|
|
2195
|
+
switch (this.z37_1.t9_1) {
|
|
2196
2196
|
case 0:
|
|
2197
2197
|
index = decodeObjectIndex(this, descriptor);
|
|
2198
2198
|
break;
|
|
@@ -2203,44 +2203,44 @@
|
|
|
2203
2203
|
index = decodeListIndex(this);
|
|
2204
2204
|
break;
|
|
2205
2205
|
}
|
|
2206
|
-
if (!this.
|
|
2207
|
-
this.
|
|
2206
|
+
if (!this.z37_1.equals(WriteMode_MAP_getInstance())) {
|
|
2207
|
+
this.a38_1.h38_1.u3a(index);
|
|
2208
2208
|
}
|
|
2209
2209
|
return index;
|
|
2210
2210
|
};
|
|
2211
2211
|
protoOf(StreamingJsonDecoder).ll = function () {
|
|
2212
|
-
return this.
|
|
2212
|
+
return this.a38_1.f3d();
|
|
2213
2213
|
};
|
|
2214
2214
|
protoOf(StreamingJsonDecoder).ml = function () {
|
|
2215
|
-
var value = this.
|
|
2215
|
+
var value = this.a38_1.q39();
|
|
2216
2216
|
if (!value.equals(toLong(value.ec()))) {
|
|
2217
|
-
this.
|
|
2217
|
+
this.a38_1.l3a("Failed to parse byte for input '" + value.toString() + "'");
|
|
2218
2218
|
}
|
|
2219
2219
|
return value.ec();
|
|
2220
2220
|
};
|
|
2221
2221
|
protoOf(StreamingJsonDecoder).nl = function () {
|
|
2222
|
-
var value = this.
|
|
2222
|
+
var value = this.a38_1.q39();
|
|
2223
2223
|
if (!value.equals(toLong(value.fc()))) {
|
|
2224
|
-
this.
|
|
2224
|
+
this.a38_1.l3a("Failed to parse short for input '" + value.toString() + "'");
|
|
2225
2225
|
}
|
|
2226
2226
|
return value.fc();
|
|
2227
2227
|
};
|
|
2228
2228
|
protoOf(StreamingJsonDecoder).ol = function () {
|
|
2229
|
-
var value = this.
|
|
2229
|
+
var value = this.a38_1.q39();
|
|
2230
2230
|
if (!value.equals(toLong(value.ya()))) {
|
|
2231
|
-
this.
|
|
2231
|
+
this.a38_1.l3a("Failed to parse int for input '" + value.toString() + "'");
|
|
2232
2232
|
}
|
|
2233
2233
|
return value.ya();
|
|
2234
2234
|
};
|
|
2235
2235
|
protoOf(StreamingJsonDecoder).pl = function () {
|
|
2236
|
-
return this.
|
|
2236
|
+
return this.a38_1.q39();
|
|
2237
2237
|
};
|
|
2238
2238
|
protoOf(StreamingJsonDecoder).ql = function () {
|
|
2239
2239
|
var tmp$ret$4;
|
|
2240
2240
|
$l$block: {
|
|
2241
2241
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2242
|
-
var this_0 = this.
|
|
2243
|
-
var input = this_0.
|
|
2242
|
+
var this_0 = this.a38_1;
|
|
2243
|
+
var input = this_0.h3b();
|
|
2244
2244
|
try {
|
|
2245
2245
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
2246
2246
|
// Inline function 'kotlin.text.toFloat' call
|
|
@@ -2251,24 +2251,24 @@
|
|
|
2251
2251
|
} catch ($p) {
|
|
2252
2252
|
if ($p instanceof IllegalArgumentException) {
|
|
2253
2253
|
var e = $p;
|
|
2254
|
-
this_0.
|
|
2254
|
+
this_0.l3a("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2255
2255
|
} else {
|
|
2256
2256
|
throw $p;
|
|
2257
2257
|
}
|
|
2258
2258
|
}
|
|
2259
2259
|
}
|
|
2260
2260
|
var result = tmp$ret$4;
|
|
2261
|
-
var specialFp = this.
|
|
2261
|
+
var specialFp = this.y37_1.t37_1.v38_1;
|
|
2262
2262
|
if (specialFp ? true : isFinite(result))
|
|
2263
2263
|
return result;
|
|
2264
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2264
|
+
throwInvalidFloatingPointDecoded(this.a38_1, result);
|
|
2265
2265
|
};
|
|
2266
2266
|
protoOf(StreamingJsonDecoder).rl = function () {
|
|
2267
2267
|
var tmp$ret$1;
|
|
2268
2268
|
$l$block: {
|
|
2269
2269
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2270
|
-
var this_0 = this.
|
|
2271
|
-
var input = this_0.
|
|
2270
|
+
var this_0 = this.a38_1;
|
|
2271
|
+
var input = this_0.h3b();
|
|
2272
2272
|
try {
|
|
2273
2273
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
2274
2274
|
tmp$ret$1 = toDouble(input);
|
|
@@ -2276,44 +2276,44 @@
|
|
|
2276
2276
|
} catch ($p) {
|
|
2277
2277
|
if ($p instanceof IllegalArgumentException) {
|
|
2278
2278
|
var e = $p;
|
|
2279
|
-
this_0.
|
|
2279
|
+
this_0.l3a("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2280
2280
|
} else {
|
|
2281
2281
|
throw $p;
|
|
2282
2282
|
}
|
|
2283
2283
|
}
|
|
2284
2284
|
}
|
|
2285
2285
|
var result = tmp$ret$1;
|
|
2286
|
-
var specialFp = this.
|
|
2286
|
+
var specialFp = this.y37_1.t37_1.v38_1;
|
|
2287
2287
|
if (specialFp ? true : isFinite_0(result))
|
|
2288
2288
|
return result;
|
|
2289
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2289
|
+
throwInvalidFloatingPointDecoded(this.a38_1, result);
|
|
2290
2290
|
};
|
|
2291
2291
|
protoOf(StreamingJsonDecoder).sl = function () {
|
|
2292
|
-
var string = this.
|
|
2292
|
+
var string = this.a38_1.h3b();
|
|
2293
2293
|
if (!(string.length === 1)) {
|
|
2294
|
-
this.
|
|
2294
|
+
this.a38_1.l3a("Expected single char, but got '" + string + "'");
|
|
2295
2295
|
}
|
|
2296
2296
|
return charSequenceGet(string, 0);
|
|
2297
2297
|
};
|
|
2298
2298
|
protoOf(StreamingJsonDecoder).tl = function () {
|
|
2299
2299
|
var tmp;
|
|
2300
|
-
if (this.
|
|
2301
|
-
tmp = this.
|
|
2300
|
+
if (this.e38_1.n38_1) {
|
|
2301
|
+
tmp = this.a38_1.y3c();
|
|
2302
2302
|
} else {
|
|
2303
|
-
tmp = this.
|
|
2303
|
+
tmp = this.a38_1.g3b();
|
|
2304
2304
|
}
|
|
2305
2305
|
return tmp;
|
|
2306
2306
|
};
|
|
2307
2307
|
protoOf(StreamingJsonDecoder).ul = function (descriptor) {
|
|
2308
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2308
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.a38_1, this.y37_1) : protoOf(AbstractDecoder).ul.call(this, descriptor);
|
|
2309
2309
|
};
|
|
2310
2310
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2311
2311
|
AbstractDecoder.call(this);
|
|
2312
|
-
this.
|
|
2313
|
-
this.
|
|
2312
|
+
this.g3d_1 = lexer;
|
|
2313
|
+
this.h3d_1 = json.mm();
|
|
2314
2314
|
}
|
|
2315
2315
|
protoOf(JsonDecoderForUnsignedTypes).mm = function () {
|
|
2316
|
-
return this.
|
|
2316
|
+
return this.h3d_1;
|
|
2317
2317
|
};
|
|
2318
2318
|
protoOf(JsonDecoderForUnsignedTypes).om = function (descriptor) {
|
|
2319
2319
|
var message = 'unsupported';
|
|
@@ -2323,8 +2323,8 @@
|
|
|
2323
2323
|
var tmp$ret$2;
|
|
2324
2324
|
$l$block: {
|
|
2325
2325
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2326
|
-
var this_0 = this.
|
|
2327
|
-
var input = this_0.
|
|
2326
|
+
var this_0 = this.g3d_1;
|
|
2327
|
+
var input = this_0.h3b();
|
|
2328
2328
|
try {
|
|
2329
2329
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
2330
2330
|
// Inline function 'kotlin.UInt.toInt' call
|
|
@@ -2334,7 +2334,7 @@
|
|
|
2334
2334
|
} catch ($p) {
|
|
2335
2335
|
if ($p instanceof IllegalArgumentException) {
|
|
2336
2336
|
var e = $p;
|
|
2337
|
-
this_0.
|
|
2337
|
+
this_0.l3a("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2338
2338
|
} else {
|
|
2339
2339
|
throw $p;
|
|
2340
2340
|
}
|
|
@@ -2346,8 +2346,8 @@
|
|
|
2346
2346
|
var tmp$ret$2;
|
|
2347
2347
|
$l$block: {
|
|
2348
2348
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2349
|
-
var this_0 = this.
|
|
2350
|
-
var input = this_0.
|
|
2349
|
+
var this_0 = this.g3d_1;
|
|
2350
|
+
var input = this_0.h3b();
|
|
2351
2351
|
try {
|
|
2352
2352
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
2353
2353
|
// Inline function 'kotlin.ULong.toLong' call
|
|
@@ -2357,7 +2357,7 @@
|
|
|
2357
2357
|
} catch ($p) {
|
|
2358
2358
|
if ($p instanceof IllegalArgumentException) {
|
|
2359
2359
|
var e = $p;
|
|
2360
|
-
this_0.
|
|
2360
|
+
this_0.l3a("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2361
2361
|
} else {
|
|
2362
2362
|
throw $p;
|
|
2363
2363
|
}
|
|
@@ -2369,8 +2369,8 @@
|
|
|
2369
2369
|
var tmp$ret$2;
|
|
2370
2370
|
$l$block: {
|
|
2371
2371
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2372
|
-
var this_0 = this.
|
|
2373
|
-
var input = this_0.
|
|
2372
|
+
var this_0 = this.g3d_1;
|
|
2373
|
+
var input = this_0.h3b();
|
|
2374
2374
|
try {
|
|
2375
2375
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
2376
2376
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -2380,7 +2380,7 @@
|
|
|
2380
2380
|
} catch ($p) {
|
|
2381
2381
|
if ($p instanceof IllegalArgumentException) {
|
|
2382
2382
|
var e = $p;
|
|
2383
|
-
this_0.
|
|
2383
|
+
this_0.l3a("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2384
2384
|
} else {
|
|
2385
2385
|
throw $p;
|
|
2386
2386
|
}
|
|
@@ -2392,8 +2392,8 @@
|
|
|
2392
2392
|
var tmp$ret$2;
|
|
2393
2393
|
$l$block: {
|
|
2394
2394
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2395
|
-
var this_0 = this.
|
|
2396
|
-
var input = this_0.
|
|
2395
|
+
var this_0 = this.g3d_1;
|
|
2396
|
+
var input = this_0.h3b();
|
|
2397
2397
|
try {
|
|
2398
2398
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
2399
2399
|
// Inline function 'kotlin.UShort.toShort' call
|
|
@@ -2403,7 +2403,7 @@
|
|
|
2403
2403
|
} catch ($p) {
|
|
2404
2404
|
if ($p instanceof IllegalArgumentException) {
|
|
2405
2405
|
var e = $p;
|
|
2406
|
-
this_0.
|
|
2406
|
+
this_0.l3a("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2407
2407
|
} else {
|
|
2408
2408
|
throw $p;
|
|
2409
2409
|
}
|
|
@@ -2562,7 +2562,7 @@
|
|
|
2562
2562
|
}
|
|
2563
2563
|
}
|
|
2564
2564
|
function unparsedPrimitive($this, primitive) {
|
|
2565
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal as '" + primitive + "' value", toString($this.
|
|
2565
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal as '" + primitive + "' value", toString($this.n3d()));
|
|
2566
2566
|
}
|
|
2567
2567
|
function asLiteral(_this__u8e3s4, $this, type) {
|
|
2568
2568
|
var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonLiteral ? _this__u8e3s4 : null;
|
|
@@ -2576,20 +2576,20 @@
|
|
|
2576
2576
|
}
|
|
2577
2577
|
function AbstractJsonTreeDecoder(json, value) {
|
|
2578
2578
|
NamedValueDecoder.call(this);
|
|
2579
|
-
this.
|
|
2580
|
-
this.
|
|
2581
|
-
this.
|
|
2579
|
+
this.k3d_1 = json;
|
|
2580
|
+
this.l3d_1 = value;
|
|
2581
|
+
this.m3d_1 = this.b39().t37_1;
|
|
2582
2582
|
}
|
|
2583
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2584
|
-
return this.
|
|
2583
|
+
protoOf(AbstractJsonTreeDecoder).b39 = function () {
|
|
2584
|
+
return this.k3d_1;
|
|
2585
2585
|
};
|
|
2586
2586
|
protoOf(AbstractJsonTreeDecoder).r2 = function () {
|
|
2587
|
-
return this.
|
|
2587
|
+
return this.l3d_1;
|
|
2588
2588
|
};
|
|
2589
2589
|
protoOf(AbstractJsonTreeDecoder).mm = function () {
|
|
2590
|
-
return this.
|
|
2590
|
+
return this.b39().mm();
|
|
2591
2591
|
};
|
|
2592
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2592
|
+
protoOf(AbstractJsonTreeDecoder).n3d = function () {
|
|
2593
2593
|
var tmp0_safe_receiver = this.hz();
|
|
2594
2594
|
var tmp;
|
|
2595
2595
|
if (tmp0_safe_receiver == null) {
|
|
@@ -2598,13 +2598,13 @@
|
|
|
2598
2598
|
// Inline function 'kotlin.let' call
|
|
2599
2599
|
// Inline function 'kotlin.contracts.contract' call
|
|
2600
2600
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
2601
|
-
tmp = this.
|
|
2601
|
+
tmp = this.o3d(tmp0_safe_receiver);
|
|
2602
2602
|
}
|
|
2603
2603
|
var tmp1_elvis_lhs = tmp;
|
|
2604
2604
|
return tmp1_elvis_lhs == null ? this.r2() : tmp1_elvis_lhs;
|
|
2605
2605
|
};
|
|
2606
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2607
|
-
return this.
|
|
2606
|
+
protoOf(AbstractJsonTreeDecoder).c39 = function () {
|
|
2607
|
+
return this.n3d();
|
|
2608
2608
|
};
|
|
2609
2609
|
protoOf(AbstractJsonTreeDecoder).wl = function (deserializer) {
|
|
2610
2610
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
@@ -2613,7 +2613,7 @@
|
|
|
2613
2613
|
return childName;
|
|
2614
2614
|
};
|
|
2615
2615
|
protoOf(AbstractJsonTreeDecoder).xl = function (descriptor) {
|
|
2616
|
-
var currentObject = this.
|
|
2616
|
+
var currentObject = this.n3d();
|
|
2617
2617
|
var tmp0_subject = descriptor.ik();
|
|
2618
2618
|
var tmp;
|
|
2619
2619
|
var tmp_0;
|
|
@@ -2623,7 +2623,7 @@
|
|
|
2623
2623
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
2624
2624
|
}
|
|
2625
2625
|
if (tmp_0) {
|
|
2626
|
-
var tmp_1 = this.
|
|
2626
|
+
var tmp_1 = this.b39();
|
|
2627
2627
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2628
2628
|
if (!(currentObject instanceof JsonArray)) {
|
|
2629
2629
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.ek() + ', but had ' + getKClassFromExpression(currentObject));
|
|
@@ -2632,7 +2632,7 @@
|
|
|
2632
2632
|
} else {
|
|
2633
2633
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
2634
2634
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
2635
|
-
var this_0 = this.
|
|
2635
|
+
var this_0 = this.b39();
|
|
2636
2636
|
var keyDescriptor = carrierDescriptor(descriptor.kk(0), this_0.mm());
|
|
2637
2637
|
var keyKind = keyDescriptor.ik();
|
|
2638
2638
|
var tmp_2;
|
|
@@ -2644,16 +2644,16 @@
|
|
|
2644
2644
|
}
|
|
2645
2645
|
if (tmp_3) {
|
|
2646
2646
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2647
|
-
var tmp_4 = this.
|
|
2647
|
+
var tmp_4 = this.b39();
|
|
2648
2648
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2649
2649
|
if (!(currentObject instanceof JsonObject)) {
|
|
2650
2650
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.ek() + ', but had ' + getKClassFromExpression(currentObject));
|
|
2651
2651
|
}
|
|
2652
2652
|
tmp_2 = new JsonTreeMapDecoder(tmp_4, currentObject);
|
|
2653
2653
|
} else {
|
|
2654
|
-
if (this_0.
|
|
2654
|
+
if (this_0.t37_1.o38_1) {
|
|
2655
2655
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2656
|
-
var tmp_5 = this.
|
|
2656
|
+
var tmp_5 = this.b39();
|
|
2657
2657
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2658
2658
|
if (!(currentObject instanceof JsonArray)) {
|
|
2659
2659
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.ek() + ', but had ' + getKClassFromExpression(currentObject));
|
|
@@ -2665,7 +2665,7 @@
|
|
|
2665
2665
|
}
|
|
2666
2666
|
tmp = tmp_2;
|
|
2667
2667
|
} else {
|
|
2668
|
-
var tmp_6 = this.
|
|
2668
|
+
var tmp_6 = this.b39();
|
|
2669
2669
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2670
2670
|
if (!(currentObject instanceof JsonObject)) {
|
|
2671
2671
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.ek() + ', but had ' + getKClassFromExpression(currentObject));
|
|
@@ -2678,31 +2678,31 @@
|
|
|
2678
2678
|
protoOf(AbstractJsonTreeDecoder).yl = function (descriptor) {
|
|
2679
2679
|
};
|
|
2680
2680
|
protoOf(AbstractJsonTreeDecoder).jl = function () {
|
|
2681
|
-
var tmp = this.
|
|
2681
|
+
var tmp = this.n3d();
|
|
2682
2682
|
return !(tmp instanceof JsonNull);
|
|
2683
2683
|
};
|
|
2684
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2685
|
-
var currentElement = this.
|
|
2684
|
+
protoOf(AbstractJsonTreeDecoder).p3d = function (tag) {
|
|
2685
|
+
var currentElement = this.o3d(tag);
|
|
2686
2686
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
2687
2687
|
var tmp;
|
|
2688
2688
|
if (tmp0_elvis_lhs == null) {
|
|
2689
|
-
throw JsonDecodingException_0(-1, 'Expected JsonPrimitive at ' + tag + ', found ' + currentElement, toString(this.
|
|
2689
|
+
throw JsonDecodingException_0(-1, 'Expected JsonPrimitive at ' + tag + ', found ' + currentElement, toString(this.n3d()));
|
|
2690
2690
|
} else {
|
|
2691
2691
|
tmp = tmp0_elvis_lhs;
|
|
2692
2692
|
}
|
|
2693
2693
|
return tmp;
|
|
2694
2694
|
};
|
|
2695
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2696
|
-
return !(this.
|
|
2695
|
+
protoOf(AbstractJsonTreeDecoder).q3d = function (tag) {
|
|
2696
|
+
return !(this.o3d(tag) === JsonNull_getInstance());
|
|
2697
2697
|
};
|
|
2698
2698
|
protoOf(AbstractJsonTreeDecoder).f10 = function (tag) {
|
|
2699
|
-
return this.
|
|
2699
|
+
return this.q3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2700
2700
|
};
|
|
2701
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2701
|
+
protoOf(AbstractJsonTreeDecoder).r3d = function (tag) {
|
|
2702
2702
|
var tmp$ret$1;
|
|
2703
2703
|
$l$block: {
|
|
2704
2704
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2705
|
-
var this_0 = this.
|
|
2705
|
+
var this_0 = this.p3d(tag);
|
|
2706
2706
|
try {
|
|
2707
2707
|
var tmp0_elvis_lhs = get_booleanOrNull(this_0);
|
|
2708
2708
|
var tmp;
|
|
@@ -2725,13 +2725,13 @@
|
|
|
2725
2725
|
return tmp$ret$1;
|
|
2726
2726
|
};
|
|
2727
2727
|
protoOf(AbstractJsonTreeDecoder).g10 = function (tag) {
|
|
2728
|
-
return this.
|
|
2728
|
+
return this.r3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2729
2729
|
};
|
|
2730
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2730
|
+
protoOf(AbstractJsonTreeDecoder).s3d = function (tag) {
|
|
2731
2731
|
var tmp$ret$1;
|
|
2732
2732
|
$l$block: {
|
|
2733
2733
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2734
|
-
var this_0 = this.
|
|
2734
|
+
var this_0 = this.p3d(tag);
|
|
2735
2735
|
try {
|
|
2736
2736
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
2737
2737
|
var result = get_int(this_0);
|
|
@@ -2763,13 +2763,13 @@
|
|
|
2763
2763
|
return tmp$ret$1;
|
|
2764
2764
|
};
|
|
2765
2765
|
protoOf(AbstractJsonTreeDecoder).h10 = function (tag) {
|
|
2766
|
-
return this.
|
|
2766
|
+
return this.s3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2767
2767
|
};
|
|
2768
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2768
|
+
protoOf(AbstractJsonTreeDecoder).t3d = function (tag) {
|
|
2769
2769
|
var tmp$ret$1;
|
|
2770
2770
|
$l$block: {
|
|
2771
2771
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2772
|
-
var this_0 = this.
|
|
2772
|
+
var this_0 = this.p3d(tag);
|
|
2773
2773
|
try {
|
|
2774
2774
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
2775
2775
|
var result = get_int(this_0);
|
|
@@ -2801,13 +2801,13 @@
|
|
|
2801
2801
|
return tmp$ret$1;
|
|
2802
2802
|
};
|
|
2803
2803
|
protoOf(AbstractJsonTreeDecoder).i10 = function (tag) {
|
|
2804
|
-
return this.
|
|
2804
|
+
return this.t3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2805
2805
|
};
|
|
2806
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2806
|
+
protoOf(AbstractJsonTreeDecoder).u3d = function (tag) {
|
|
2807
2807
|
var tmp$ret$1;
|
|
2808
2808
|
$l$block: {
|
|
2809
2809
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2810
|
-
var this_0 = this.
|
|
2810
|
+
var this_0 = this.p3d(tag);
|
|
2811
2811
|
try {
|
|
2812
2812
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
2813
2813
|
var tmp0_elvis_lhs = get_int(this_0);
|
|
@@ -2831,13 +2831,13 @@
|
|
|
2831
2831
|
return tmp$ret$1;
|
|
2832
2832
|
};
|
|
2833
2833
|
protoOf(AbstractJsonTreeDecoder).j10 = function (tag) {
|
|
2834
|
-
return this.
|
|
2834
|
+
return this.u3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2835
2835
|
};
|
|
2836
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2836
|
+
protoOf(AbstractJsonTreeDecoder).v3d = function (tag) {
|
|
2837
2837
|
var tmp$ret$1;
|
|
2838
2838
|
$l$block: {
|
|
2839
2839
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2840
|
-
var this_0 = this.
|
|
2840
|
+
var this_0 = this.p3d(tag);
|
|
2841
2841
|
try {
|
|
2842
2842
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
2843
2843
|
var tmp0_elvis_lhs = get_long(this_0);
|
|
@@ -2861,13 +2861,13 @@
|
|
|
2861
2861
|
return tmp$ret$1;
|
|
2862
2862
|
};
|
|
2863
2863
|
protoOf(AbstractJsonTreeDecoder).k10 = function (tag) {
|
|
2864
|
-
return this.
|
|
2864
|
+
return this.v3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2865
2865
|
};
|
|
2866
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2866
|
+
protoOf(AbstractJsonTreeDecoder).w3d = function (tag) {
|
|
2867
2867
|
var tmp$ret$1;
|
|
2868
2868
|
$l$block: {
|
|
2869
2869
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2870
|
-
var this_0 = this.
|
|
2870
|
+
var this_0 = this.p3d(tag);
|
|
2871
2871
|
try {
|
|
2872
2872
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
2873
2873
|
var tmp0_elvis_lhs = get_float(this_0);
|
|
@@ -2889,19 +2889,19 @@
|
|
|
2889
2889
|
}
|
|
2890
2890
|
}
|
|
2891
2891
|
var result = tmp$ret$1;
|
|
2892
|
-
var specialFp = this.
|
|
2892
|
+
var specialFp = this.b39().t37_1.v38_1;
|
|
2893
2893
|
if (specialFp ? true : isFinite(result))
|
|
2894
2894
|
return result;
|
|
2895
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
2895
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.n3d()));
|
|
2896
2896
|
};
|
|
2897
2897
|
protoOf(AbstractJsonTreeDecoder).l10 = function (tag) {
|
|
2898
|
-
return this.
|
|
2898
|
+
return this.w3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2899
2899
|
};
|
|
2900
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2900
|
+
protoOf(AbstractJsonTreeDecoder).x3d = function (tag) {
|
|
2901
2901
|
var tmp$ret$1;
|
|
2902
2902
|
$l$block: {
|
|
2903
2903
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2904
|
-
var this_0 = this.
|
|
2904
|
+
var this_0 = this.p3d(tag);
|
|
2905
2905
|
try {
|
|
2906
2906
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
2907
2907
|
var tmp0_elvis_lhs = get_double(this_0);
|
|
@@ -2923,22 +2923,22 @@
|
|
|
2923
2923
|
}
|
|
2924
2924
|
}
|
|
2925
2925
|
var result = tmp$ret$1;
|
|
2926
|
-
var specialFp = this.
|
|
2926
|
+
var specialFp = this.b39().t37_1.v38_1;
|
|
2927
2927
|
if (specialFp ? true : isFinite_0(result))
|
|
2928
2928
|
return result;
|
|
2929
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
2929
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.n3d()));
|
|
2930
2930
|
};
|
|
2931
2931
|
protoOf(AbstractJsonTreeDecoder).m10 = function (tag) {
|
|
2932
|
-
return this.
|
|
2932
|
+
return this.x3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2933
2933
|
};
|
|
2934
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2934
|
+
protoOf(AbstractJsonTreeDecoder).y3d = function (tag) {
|
|
2935
2935
|
var tmp$ret$1;
|
|
2936
2936
|
$l$block: {
|
|
2937
2937
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2938
|
-
var this_0 = this.
|
|
2938
|
+
var this_0 = this.p3d(tag);
|
|
2939
2939
|
try {
|
|
2940
2940
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
2941
|
-
var tmp0_elvis_lhs = single(this_0.
|
|
2941
|
+
var tmp0_elvis_lhs = single(this_0.j39());
|
|
2942
2942
|
var tmp;
|
|
2943
2943
|
var tmp_0 = tmp0_elvis_lhs;
|
|
2944
2944
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
@@ -2960,36 +2960,36 @@
|
|
|
2960
2960
|
return tmp$ret$1;
|
|
2961
2961
|
};
|
|
2962
2962
|
protoOf(AbstractJsonTreeDecoder).n10 = function (tag) {
|
|
2963
|
-
return this.
|
|
2963
|
+
return this.y3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2964
2964
|
};
|
|
2965
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2966
|
-
var value = this.
|
|
2967
|
-
if (!this.
|
|
2965
|
+
protoOf(AbstractJsonTreeDecoder).z3d = function (tag) {
|
|
2966
|
+
var value = this.p3d(tag);
|
|
2967
|
+
if (!this.b39().t37_1.n38_1) {
|
|
2968
2968
|
var literal = asLiteral(value, this, 'string');
|
|
2969
|
-
if (!literal.
|
|
2970
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(this.
|
|
2969
|
+
if (!literal.n39_1)
|
|
2970
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(this.n3d()));
|
|
2971
2971
|
}
|
|
2972
2972
|
if (value instanceof JsonNull)
|
|
2973
|
-
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(this.
|
|
2974
|
-
return value.
|
|
2973
|
+
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(this.n3d()));
|
|
2974
|
+
return value.j39();
|
|
2975
2975
|
};
|
|
2976
2976
|
protoOf(AbstractJsonTreeDecoder).o10 = function (tag) {
|
|
2977
|
-
return this.
|
|
2977
|
+
return this.z3d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2978
2978
|
};
|
|
2979
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2980
|
-
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.
|
|
2979
|
+
protoOf(AbstractJsonTreeDecoder).a3e = function (tag, inlineDescriptor) {
|
|
2980
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.p3d(tag).j39()), this.b39()) : protoOf(NamedValueDecoder).p10.call(this, tag, inlineDescriptor);
|
|
2981
2981
|
};
|
|
2982
2982
|
protoOf(AbstractJsonTreeDecoder).p10 = function (tag, inlineDescriptor) {
|
|
2983
|
-
return this.
|
|
2983
|
+
return this.a3e((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
2984
2984
|
};
|
|
2985
2985
|
protoOf(AbstractJsonTreeDecoder).ul = function (descriptor) {
|
|
2986
|
-
return !(this.hz() == null) ? protoOf(NamedValueDecoder).ul.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
2986
|
+
return !(this.hz() == null) ? protoOf(NamedValueDecoder).ul.call(this, descriptor) : (new JsonPrimitiveDecoder(this.b39(), this.r2())).ul(descriptor);
|
|
2987
2987
|
};
|
|
2988
2988
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
2989
2989
|
var tmp$ret$0;
|
|
2990
2990
|
$l$block_3: {
|
|
2991
2991
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
2992
|
-
var this_0 = $this.
|
|
2992
|
+
var this_0 = $this.b39();
|
|
2993
2993
|
if (!descriptor.nk(index)) {
|
|
2994
2994
|
tmp$ret$0 = false;
|
|
2995
2995
|
break $l$block_3;
|
|
@@ -2998,7 +2998,7 @@
|
|
|
2998
2998
|
var tmp;
|
|
2999
2999
|
if (!elementDescriptor.ak()) {
|
|
3000
3000
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3001
|
-
var tmp_0 = $this.
|
|
3001
|
+
var tmp_0 = $this.o3d(tag);
|
|
3002
3002
|
tmp = tmp_0 instanceof JsonNull;
|
|
3003
3003
|
} else {
|
|
3004
3004
|
tmp = false;
|
|
@@ -3011,7 +3011,7 @@
|
|
|
3011
3011
|
var tmp_1;
|
|
3012
3012
|
if (elementDescriptor.ak()) {
|
|
3013
3013
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3014
|
-
var tmp_2 = $this.
|
|
3014
|
+
var tmp_2 = $this.o3d(tag);
|
|
3015
3015
|
tmp_1 = tmp_2 instanceof JsonNull;
|
|
3016
3016
|
} else {
|
|
3017
3017
|
tmp_1 = false;
|
|
@@ -3021,7 +3021,7 @@
|
|
|
3021
3021
|
break $l$block_3;
|
|
3022
3022
|
}
|
|
3023
3023
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3024
|
-
var tmp_3 = $this.
|
|
3024
|
+
var tmp_3 = $this.o3d(tag);
|
|
3025
3025
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
3026
3026
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3027
3027
|
var tmp_4;
|
|
@@ -3044,29 +3044,29 @@
|
|
|
3044
3044
|
return tmp$ret$0;
|
|
3045
3045
|
}
|
|
3046
3046
|
function absenceIsNull($this, descriptor, index) {
|
|
3047
|
-
$this.
|
|
3048
|
-
return $this.
|
|
3047
|
+
$this.k3e_1 = (!$this.b39().t37_1.q38_1 ? !descriptor.nk(index) : false) ? descriptor.kk(index).ak() : false;
|
|
3048
|
+
return $this.k3e_1;
|
|
3049
3049
|
}
|
|
3050
3050
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
3051
3051
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
3052
3052
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3053
3053
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3054
|
-
this.
|
|
3055
|
-
this.
|
|
3056
|
-
this.
|
|
3057
|
-
this.
|
|
3058
|
-
this.
|
|
3054
|
+
this.g3e_1 = value;
|
|
3055
|
+
this.h3e_1 = polyDiscriminator;
|
|
3056
|
+
this.i3e_1 = polyDescriptor;
|
|
3057
|
+
this.j3e_1 = 0;
|
|
3058
|
+
this.k3e_1 = false;
|
|
3059
3059
|
}
|
|
3060
3060
|
protoOf(JsonTreeDecoder).r2 = function () {
|
|
3061
|
-
return this.
|
|
3061
|
+
return this.g3e_1;
|
|
3062
3062
|
};
|
|
3063
3063
|
protoOf(JsonTreeDecoder).om = function (descriptor) {
|
|
3064
|
-
while (this.
|
|
3065
|
-
var tmp1 = this.
|
|
3066
|
-
this.
|
|
3064
|
+
while (this.j3e_1 < descriptor.gk()) {
|
|
3065
|
+
var tmp1 = this.j3e_1;
|
|
3066
|
+
this.j3e_1 = tmp1 + 1 | 0;
|
|
3067
3067
|
var name = this.dz(descriptor, tmp1);
|
|
3068
|
-
var index = this.
|
|
3069
|
-
this.
|
|
3068
|
+
var index = this.j3e_1 - 1 | 0;
|
|
3069
|
+
this.k3e_1 = false;
|
|
3070
3070
|
var tmp;
|
|
3071
3071
|
var tmp_0;
|
|
3072
3072
|
// Inline function 'kotlin.collections.contains' call
|
|
@@ -3078,7 +3078,7 @@
|
|
|
3078
3078
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3079
3079
|
}
|
|
3080
3080
|
if (tmp_0) {
|
|
3081
|
-
tmp = !this.
|
|
3081
|
+
tmp = !this.m3d_1.s38_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
3082
3082
|
} else {
|
|
3083
3083
|
tmp = false;
|
|
3084
3084
|
}
|
|
@@ -3089,18 +3089,18 @@
|
|
|
3089
3089
|
return -1;
|
|
3090
3090
|
};
|
|
3091
3091
|
protoOf(JsonTreeDecoder).jl = function () {
|
|
3092
|
-
return !this.
|
|
3092
|
+
return !this.k3e_1 ? protoOf(AbstractJsonTreeDecoder).jl.call(this) : false;
|
|
3093
3093
|
};
|
|
3094
3094
|
protoOf(JsonTreeDecoder).ez = function (descriptor, index) {
|
|
3095
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3095
|
+
var strategy = namingStrategy(descriptor, this.b39());
|
|
3096
3096
|
var baseName = descriptor.mk(index);
|
|
3097
3097
|
if (strategy == null) {
|
|
3098
|
-
if (!this.
|
|
3098
|
+
if (!this.m3d_1.w38_1)
|
|
3099
3099
|
return baseName;
|
|
3100
3100
|
if (this.r2().l2().p(baseName))
|
|
3101
3101
|
return baseName;
|
|
3102
3102
|
}
|
|
3103
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3103
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.b39(), descriptor);
|
|
3104
3104
|
// Inline function 'kotlin.collections.find' call
|
|
3105
3105
|
var this_0 = this.r2().l2();
|
|
3106
3106
|
var tmp$ret$1;
|
|
@@ -3125,28 +3125,28 @@
|
|
|
3125
3125
|
// Inline function 'kotlin.contracts.contract' call
|
|
3126
3126
|
return tmp0_safe_receiver;
|
|
3127
3127
|
}
|
|
3128
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3128
|
+
var fallbackName = strategy == null ? null : strategy.p3a(descriptor, index, baseName);
|
|
3129
3129
|
return fallbackName == null ? baseName : fallbackName;
|
|
3130
3130
|
};
|
|
3131
|
-
protoOf(JsonTreeDecoder).
|
|
3131
|
+
protoOf(JsonTreeDecoder).o3d = function (tag) {
|
|
3132
3132
|
return getValue(this.r2(), tag);
|
|
3133
3133
|
};
|
|
3134
3134
|
protoOf(JsonTreeDecoder).xl = function (descriptor) {
|
|
3135
|
-
if (descriptor === this.
|
|
3136
|
-
var tmp = this.
|
|
3135
|
+
if (descriptor === this.i3e_1) {
|
|
3136
|
+
var tmp = this.b39();
|
|
3137
3137
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3138
|
-
var value = this.
|
|
3139
|
-
var descriptor_0 = this.
|
|
3138
|
+
var value = this.n3d();
|
|
3139
|
+
var descriptor_0 = this.i3e_1;
|
|
3140
3140
|
if (!(value instanceof JsonObject)) {
|
|
3141
3141
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor_0.ek() + ', but had ' + getKClassFromExpression(value));
|
|
3142
3142
|
}
|
|
3143
|
-
return new JsonTreeDecoder(tmp, value, this.
|
|
3143
|
+
return new JsonTreeDecoder(tmp, value, this.h3e_1, this.i3e_1);
|
|
3144
3144
|
}
|
|
3145
3145
|
return protoOf(AbstractJsonTreeDecoder).xl.call(this, descriptor);
|
|
3146
3146
|
};
|
|
3147
3147
|
protoOf(JsonTreeDecoder).yl = function (descriptor) {
|
|
3148
3148
|
var tmp;
|
|
3149
|
-
if (this.
|
|
3149
|
+
if (this.m3d_1.m38_1) {
|
|
3150
3150
|
tmp = true;
|
|
3151
3151
|
} else {
|
|
3152
3152
|
var tmp_0 = descriptor.ik();
|
|
@@ -3154,16 +3154,16 @@
|
|
|
3154
3154
|
}
|
|
3155
3155
|
if (tmp)
|
|
3156
3156
|
return Unit_instance;
|
|
3157
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3157
|
+
var strategy = namingStrategy(descriptor, this.b39());
|
|
3158
3158
|
var tmp_1;
|
|
3159
|
-
if (strategy == null ? !this.
|
|
3159
|
+
if (strategy == null ? !this.m3d_1.w38_1 : false) {
|
|
3160
3160
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3161
3161
|
} else if (!(strategy == null)) {
|
|
3162
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3162
|
+
tmp_1 = deserializationNamesMap(this.b39(), descriptor).l2();
|
|
3163
3163
|
} else {
|
|
3164
3164
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3165
3165
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3166
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3166
|
+
var tmp0_safe_receiver = get_schemaCache(this.b39()).p3c(descriptor, get_JsonDeserializationNamesKey());
|
|
3167
3167
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l2();
|
|
3168
3168
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
3169
3169
|
tmp_1 = plus_0(tmp_2, tmp$ret$0);
|
|
@@ -3172,45 +3172,45 @@
|
|
|
3172
3172
|
var tmp1_iterator = this.r2().l2().t();
|
|
3173
3173
|
while (tmp1_iterator.u()) {
|
|
3174
3174
|
var key = tmp1_iterator.w();
|
|
3175
|
-
if (!names.p(key) ? !(key === this.
|
|
3175
|
+
if (!names.p(key) ? !(key === this.h3e_1) : false) {
|
|
3176
3176
|
throw UnknownKeyException(key, this.r2().toString());
|
|
3177
3177
|
}
|
|
3178
3178
|
}
|
|
3179
3179
|
};
|
|
3180
3180
|
function JsonTreeListDecoder(json, value) {
|
|
3181
3181
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3182
|
-
this.
|
|
3183
|
-
this.
|
|
3184
|
-
this.
|
|
3182
|
+
this.q3e_1 = value;
|
|
3183
|
+
this.r3e_1 = this.q3e_1.n();
|
|
3184
|
+
this.s3e_1 = -1;
|
|
3185
3185
|
}
|
|
3186
3186
|
protoOf(JsonTreeListDecoder).r2 = function () {
|
|
3187
|
-
return this.
|
|
3187
|
+
return this.q3e_1;
|
|
3188
3188
|
};
|
|
3189
3189
|
protoOf(JsonTreeListDecoder).ez = function (descriptor, index) {
|
|
3190
3190
|
return index.toString();
|
|
3191
3191
|
};
|
|
3192
|
-
protoOf(JsonTreeListDecoder).
|
|
3193
|
-
return this.
|
|
3192
|
+
protoOf(JsonTreeListDecoder).o3d = function (tag) {
|
|
3193
|
+
return this.q3e_1.e1(toInt(tag));
|
|
3194
3194
|
};
|
|
3195
3195
|
protoOf(JsonTreeListDecoder).om = function (descriptor) {
|
|
3196
|
-
while (this.
|
|
3197
|
-
this.
|
|
3198
|
-
return this.
|
|
3196
|
+
while (this.s3e_1 < (this.r3e_1 - 1 | 0)) {
|
|
3197
|
+
this.s3e_1 = this.s3e_1 + 1 | 0;
|
|
3198
|
+
return this.s3e_1;
|
|
3199
3199
|
}
|
|
3200
3200
|
return -1;
|
|
3201
3201
|
};
|
|
3202
3202
|
function JsonPrimitiveDecoder(json, value) {
|
|
3203
3203
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3204
|
-
this.
|
|
3204
|
+
this.y3e_1 = value;
|
|
3205
3205
|
this.yz(get_PRIMITIVE_TAG());
|
|
3206
3206
|
}
|
|
3207
3207
|
protoOf(JsonPrimitiveDecoder).r2 = function () {
|
|
3208
|
-
return this.
|
|
3208
|
+
return this.y3e_1;
|
|
3209
3209
|
};
|
|
3210
3210
|
protoOf(JsonPrimitiveDecoder).om = function (descriptor) {
|
|
3211
3211
|
return 0;
|
|
3212
3212
|
};
|
|
3213
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3213
|
+
protoOf(JsonPrimitiveDecoder).o3d = function (tag) {
|
|
3214
3214
|
// Inline function 'kotlin.require' call
|
|
3215
3215
|
// Inline function 'kotlin.contracts.contract' call
|
|
3216
3216
|
if (!(tag === get_PRIMITIVE_TAG())) {
|
|
@@ -3218,31 +3218,31 @@
|
|
|
3218
3218
|
var message = "This input can only handle primitives with '" + get_PRIMITIVE_TAG() + "' tag";
|
|
3219
3219
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3220
3220
|
}
|
|
3221
|
-
return this.
|
|
3221
|
+
return this.y3e_1;
|
|
3222
3222
|
};
|
|
3223
3223
|
function JsonTreeMapDecoder(json, value) {
|
|
3224
3224
|
JsonTreeDecoder.call(this, json, value);
|
|
3225
|
-
this.
|
|
3226
|
-
this.
|
|
3227
|
-
this.
|
|
3228
|
-
this.
|
|
3225
|
+
this.j3f_1 = value;
|
|
3226
|
+
this.k3f_1 = toList(this.j3f_1.l2());
|
|
3227
|
+
this.l3f_1 = imul(this.k3f_1.n(), 2);
|
|
3228
|
+
this.m3f_1 = -1;
|
|
3229
3229
|
}
|
|
3230
3230
|
protoOf(JsonTreeMapDecoder).r2 = function () {
|
|
3231
|
-
return this.
|
|
3231
|
+
return this.j3f_1;
|
|
3232
3232
|
};
|
|
3233
3233
|
protoOf(JsonTreeMapDecoder).ez = function (descriptor, index) {
|
|
3234
3234
|
var i = index / 2 | 0;
|
|
3235
|
-
return this.
|
|
3235
|
+
return this.k3f_1.e1(i);
|
|
3236
3236
|
};
|
|
3237
3237
|
protoOf(JsonTreeMapDecoder).om = function (descriptor) {
|
|
3238
|
-
while (this.
|
|
3239
|
-
this.
|
|
3240
|
-
return this.
|
|
3238
|
+
while (this.m3f_1 < (this.l3f_1 - 1 | 0)) {
|
|
3239
|
+
this.m3f_1 = this.m3f_1 + 1 | 0;
|
|
3240
|
+
return this.m3f_1;
|
|
3241
3241
|
}
|
|
3242
3242
|
return -1;
|
|
3243
3243
|
};
|
|
3244
|
-
protoOf(JsonTreeMapDecoder).
|
|
3245
|
-
return (this.
|
|
3244
|
+
protoOf(JsonTreeMapDecoder).o3d = function (tag) {
|
|
3245
|
+
return (this.m3f_1 % 2 | 0) === 0 ? JsonPrimitive_2(tag) : getValue(this.j3f_1, tag);
|
|
3246
3246
|
};
|
|
3247
3247
|
protoOf(JsonTreeMapDecoder).yl = function (descriptor) {
|
|
3248
3248
|
};
|
|
@@ -3265,19 +3265,19 @@
|
|
|
3265
3265
|
AbstractJsonTreeEncoder.call(this, json, nodeConsumer);
|
|
3266
3266
|
var tmp = this;
|
|
3267
3267
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
3268
|
-
tmp.
|
|
3268
|
+
tmp.x3f_1 = LinkedHashMap_init_$Create$();
|
|
3269
3269
|
}
|
|
3270
|
-
protoOf(JsonTreeEncoder).
|
|
3270
|
+
protoOf(JsonTreeEncoder).y3f = function (key, element) {
|
|
3271
3271
|
// Inline function 'kotlin.collections.set' call
|
|
3272
|
-
this.
|
|
3272
|
+
this.x3f_1.n2(key, element);
|
|
3273
3273
|
};
|
|
3274
3274
|
protoOf(JsonTreeEncoder).pn = function (descriptor, index, serializer, value) {
|
|
3275
|
-
if (!(value == null) ? true : this.
|
|
3275
|
+
if (!(value == null) ? true : this.q3f_1.q38_1) {
|
|
3276
3276
|
protoOf(AbstractJsonTreeEncoder).pn.call(this, descriptor, index, serializer, value);
|
|
3277
3277
|
}
|
|
3278
3278
|
};
|
|
3279
|
-
protoOf(JsonTreeEncoder).
|
|
3280
|
-
return new JsonObject(this.
|
|
3279
|
+
protoOf(JsonTreeEncoder).z3f = function () {
|
|
3280
|
+
return new JsonObject(this.x3f_1);
|
|
3281
3281
|
};
|
|
3282
3282
|
function inlineUnsignedNumberEncoder($this, tag) {
|
|
3283
3283
|
return new AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1($this, tag);
|
|
@@ -3286,73 +3286,73 @@
|
|
|
3286
3286
|
return new AbstractJsonTreeEncoder$inlineUnquotedLiteralEncoder$1($this, tag, inlineDescriptor);
|
|
3287
3287
|
}
|
|
3288
3288
|
function AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1(this$0, $tag) {
|
|
3289
|
-
this.
|
|
3290
|
-
this.
|
|
3289
|
+
this.n3g_1 = this$0;
|
|
3290
|
+
this.o3g_1 = $tag;
|
|
3291
3291
|
AbstractEncoder.call(this);
|
|
3292
|
-
this.
|
|
3292
|
+
this.m3g_1 = this$0.o3f_1.mm();
|
|
3293
3293
|
}
|
|
3294
3294
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).mm = function () {
|
|
3295
|
-
return this.
|
|
3295
|
+
return this.m3g_1;
|
|
3296
3296
|
};
|
|
3297
|
-
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).
|
|
3298
|
-
return this.
|
|
3297
|
+
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).p3g = function (s) {
|
|
3298
|
+
return this.n3g_1.y3f(this.o3g_1, new JsonLiteral(s, false));
|
|
3299
3299
|
};
|
|
3300
3300
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).wm = function (value) {
|
|
3301
3301
|
// Inline function 'kotlin.toUInt' call
|
|
3302
3302
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(value);
|
|
3303
|
-
return this.
|
|
3303
|
+
return this.p3g(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
3304
3304
|
};
|
|
3305
3305
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).xm = function (value) {
|
|
3306
3306
|
// Inline function 'kotlin.toULong' call
|
|
3307
3307
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(value);
|
|
3308
|
-
return this.
|
|
3308
|
+
return this.p3g(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
3309
3309
|
};
|
|
3310
3310
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).um = function (value) {
|
|
3311
3311
|
// Inline function 'kotlin.toUByte' call
|
|
3312
3312
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(value);
|
|
3313
|
-
return this.
|
|
3313
|
+
return this.p3g(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
3314
3314
|
};
|
|
3315
3315
|
protoOf(AbstractJsonTreeEncoder$inlineUnsignedNumberEncoder$1).vm = function (value) {
|
|
3316
3316
|
// Inline function 'kotlin.toUShort' call
|
|
3317
3317
|
var tmp$ret$0 = _UShort___init__impl__jigrne(value);
|
|
3318
|
-
return this.
|
|
3318
|
+
return this.p3g(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
3319
3319
|
};
|
|
3320
3320
|
function AbstractJsonTreeEncoder$inlineUnquotedLiteralEncoder$1(this$0, $tag, $inlineDescriptor) {
|
|
3321
|
-
this.
|
|
3322
|
-
this.
|
|
3323
|
-
this.
|
|
3321
|
+
this.q3g_1 = this$0;
|
|
3322
|
+
this.r3g_1 = $tag;
|
|
3323
|
+
this.s3g_1 = $inlineDescriptor;
|
|
3324
3324
|
AbstractEncoder.call(this);
|
|
3325
3325
|
}
|
|
3326
3326
|
protoOf(AbstractJsonTreeEncoder$inlineUnquotedLiteralEncoder$1).mm = function () {
|
|
3327
|
-
return this.
|
|
3327
|
+
return this.q3g_1.o3f_1.mm();
|
|
3328
3328
|
};
|
|
3329
3329
|
protoOf(AbstractJsonTreeEncoder$inlineUnquotedLiteralEncoder$1).bn = function (value) {
|
|
3330
|
-
return this.
|
|
3330
|
+
return this.q3g_1.y3f(this.r3g_1, new JsonLiteral(value, false, this.s3g_1));
|
|
3331
3331
|
};
|
|
3332
3332
|
function AbstractJsonTreeEncoder$beginStructure$lambda(this$0) {
|
|
3333
3333
|
return function (node) {
|
|
3334
|
-
this$0.
|
|
3334
|
+
this$0.y3f(this$0.xz(), node);
|
|
3335
3335
|
return Unit_instance;
|
|
3336
3336
|
};
|
|
3337
3337
|
}
|
|
3338
3338
|
function AbstractJsonTreeEncoder(json, nodeConsumer) {
|
|
3339
3339
|
NamedValueEncoder.call(this);
|
|
3340
|
-
this.
|
|
3341
|
-
this.
|
|
3342
|
-
this.
|
|
3343
|
-
this.
|
|
3340
|
+
this.o3f_1 = json;
|
|
3341
|
+
this.p3f_1 = nodeConsumer;
|
|
3342
|
+
this.q3f_1 = this.o3f_1.t37_1;
|
|
3343
|
+
this.r3f_1 = null;
|
|
3344
3344
|
}
|
|
3345
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3346
|
-
return this.
|
|
3345
|
+
protoOf(AbstractJsonTreeEncoder).b39 = function () {
|
|
3346
|
+
return this.o3f_1;
|
|
3347
3347
|
};
|
|
3348
3348
|
protoOf(AbstractJsonTreeEncoder).mm = function () {
|
|
3349
|
-
return this.
|
|
3349
|
+
return this.o3f_1.mm();
|
|
3350
3350
|
};
|
|
3351
3351
|
protoOf(AbstractJsonTreeEncoder).ez = function (descriptor, index) {
|
|
3352
|
-
return getJsonElementName(descriptor, this.
|
|
3352
|
+
return getJsonElementName(descriptor, this.o3f_1, index);
|
|
3353
3353
|
};
|
|
3354
3354
|
protoOf(AbstractJsonTreeEncoder).tn = function (descriptor, index) {
|
|
3355
|
-
return this.
|
|
3355
|
+
return this.q3f_1.l38_1;
|
|
3356
3356
|
};
|
|
3357
3357
|
protoOf(AbstractJsonTreeEncoder).iz = function (parentName, childName) {
|
|
3358
3358
|
return childName;
|
|
@@ -3363,67 +3363,67 @@
|
|
|
3363
3363
|
var tmp0_elvis_lhs = this.hz();
|
|
3364
3364
|
var tmp;
|
|
3365
3365
|
if (tmp0_elvis_lhs == null) {
|
|
3366
|
-
return this.
|
|
3366
|
+
return this.p3f_1(JsonNull_getInstance());
|
|
3367
3367
|
} else {
|
|
3368
3368
|
tmp = tmp0_elvis_lhs;
|
|
3369
3369
|
}
|
|
3370
3370
|
var tag = tmp;
|
|
3371
|
-
this.
|
|
3371
|
+
this.a3g(tag);
|
|
3372
3372
|
};
|
|
3373
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3374
|
-
return this.
|
|
3373
|
+
protoOf(AbstractJsonTreeEncoder).a3g = function (tag) {
|
|
3374
|
+
return this.y3f(tag, JsonNull_getInstance());
|
|
3375
3375
|
};
|
|
3376
3376
|
protoOf(AbstractJsonTreeEncoder).lz = function (tag) {
|
|
3377
|
-
return this.
|
|
3377
|
+
return this.a3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3378
3378
|
};
|
|
3379
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3380
|
-
return this.
|
|
3379
|
+
protoOf(AbstractJsonTreeEncoder).b3g = function (tag, value) {
|
|
3380
|
+
return this.y3f(tag, JsonPrimitive_0(value));
|
|
3381
3381
|
};
|
|
3382
3382
|
protoOf(AbstractJsonTreeEncoder).mz = function (tag, value) {
|
|
3383
|
-
return this.
|
|
3383
|
+
return this.b3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3384
3384
|
};
|
|
3385
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3386
|
-
return this.
|
|
3385
|
+
protoOf(AbstractJsonTreeEncoder).c3g = function (tag, value) {
|
|
3386
|
+
return this.y3f(tag, JsonPrimitive_0(value));
|
|
3387
3387
|
};
|
|
3388
3388
|
protoOf(AbstractJsonTreeEncoder).nz = function (tag, value) {
|
|
3389
|
-
return this.
|
|
3389
|
+
return this.c3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3390
3390
|
};
|
|
3391
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3392
|
-
return this.
|
|
3391
|
+
protoOf(AbstractJsonTreeEncoder).d3g = function (tag, value) {
|
|
3392
|
+
return this.y3f(tag, JsonPrimitive_0(value));
|
|
3393
3393
|
};
|
|
3394
3394
|
protoOf(AbstractJsonTreeEncoder).oz = function (tag, value) {
|
|
3395
|
-
return this.
|
|
3395
|
+
return this.d3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3396
3396
|
};
|
|
3397
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3398
|
-
return this.
|
|
3397
|
+
protoOf(AbstractJsonTreeEncoder).e3g = function (tag, value) {
|
|
3398
|
+
return this.y3f(tag, JsonPrimitive_0(value));
|
|
3399
3399
|
};
|
|
3400
3400
|
protoOf(AbstractJsonTreeEncoder).pz = function (tag, value) {
|
|
3401
|
-
return this.
|
|
3401
|
+
return this.e3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3402
3402
|
};
|
|
3403
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3404
|
-
this.
|
|
3405
|
-
if (!this.
|
|
3406
|
-
throw InvalidFloatingPointEncoded(value, tag, toString(this.
|
|
3403
|
+
protoOf(AbstractJsonTreeEncoder).f3g = function (tag, value) {
|
|
3404
|
+
this.y3f(tag, JsonPrimitive_0(value));
|
|
3405
|
+
if (!this.q3f_1.v38_1 ? !isFinite(value) : false) {
|
|
3406
|
+
throw InvalidFloatingPointEncoded(value, tag, toString(this.z3f()));
|
|
3407
3407
|
}
|
|
3408
3408
|
};
|
|
3409
3409
|
protoOf(AbstractJsonTreeEncoder).qz = function (tag, value) {
|
|
3410
|
-
return this.
|
|
3410
|
+
return this.f3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3411
3411
|
};
|
|
3412
3412
|
protoOf(AbstractJsonTreeEncoder).on = function (serializer, value) {
|
|
3413
3413
|
if (!(this.hz() == null) ? true : !get_requiresTopLevelTag(carrierDescriptor(serializer.cj(), this.mm()))) {
|
|
3414
3414
|
$l$block: {
|
|
3415
3415
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
3416
|
-
if (this.
|
|
3416
|
+
if (this.b39().t37_1.t38_1) {
|
|
3417
3417
|
serializer.dj(this, value);
|
|
3418
3418
|
break $l$block;
|
|
3419
3419
|
}
|
|
3420
3420
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
3421
3421
|
var tmp;
|
|
3422
3422
|
if (isPolymorphicSerializer) {
|
|
3423
|
-
tmp = !this.
|
|
3423
|
+
tmp = !this.b39().t37_1.a39_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
3424
3424
|
} else {
|
|
3425
3425
|
var tmp_0;
|
|
3426
|
-
switch (this.
|
|
3426
|
+
switch (this.b39().t37_1.a39_1.t9_1) {
|
|
3427
3427
|
case 0:
|
|
3428
3428
|
case 2:
|
|
3429
3429
|
tmp_0 = false;
|
|
@@ -3445,7 +3445,7 @@
|
|
|
3445
3445
|
tmp = tmp_0;
|
|
3446
3446
|
}
|
|
3447
3447
|
var needDiscriminator = tmp;
|
|
3448
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.cj(), this.
|
|
3448
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.cj(), this.b39()) : null;
|
|
3449
3449
|
var tmp_1;
|
|
3450
3450
|
if (isPolymorphicSerializer) {
|
|
3451
3451
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -3472,7 +3472,7 @@
|
|
|
3472
3472
|
var actualSerializer = tmp_1;
|
|
3473
3473
|
if (!(baseClassDiscriminator == null)) {
|
|
3474
3474
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeEncoder.encodeSerializableValue.<anonymous>' call
|
|
3475
|
-
this.
|
|
3475
|
+
this.r3f_1 = baseClassDiscriminator;
|
|
3476
3476
|
}
|
|
3477
3477
|
actualSerializer.dj(this, value);
|
|
3478
3478
|
}
|
|
@@ -3480,55 +3480,55 @@
|
|
|
3480
3480
|
// Inline function 'kotlin.apply' call
|
|
3481
3481
|
// Inline function 'kotlin.contracts.contract' call
|
|
3482
3482
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeEncoder.encodeSerializableValue.<anonymous>' call
|
|
3483
|
-
(new JsonPrimitiveEncoder(this.
|
|
3483
|
+
(new JsonPrimitiveEncoder(this.o3f_1, this.p3f_1)).on(serializer, value);
|
|
3484
3484
|
}
|
|
3485
3485
|
};
|
|
3486
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3487
|
-
this.
|
|
3488
|
-
if (!this.
|
|
3489
|
-
throw InvalidFloatingPointEncoded(value, tag, toString(this.
|
|
3486
|
+
protoOf(AbstractJsonTreeEncoder).g3g = function (tag, value) {
|
|
3487
|
+
this.y3f(tag, JsonPrimitive_0(value));
|
|
3488
|
+
if (!this.q3f_1.v38_1 ? !isFinite_0(value) : false) {
|
|
3489
|
+
throw InvalidFloatingPointEncoded(value, tag, toString(this.z3f()));
|
|
3490
3490
|
}
|
|
3491
3491
|
};
|
|
3492
3492
|
protoOf(AbstractJsonTreeEncoder).rz = function (tag, value) {
|
|
3493
|
-
return this.
|
|
3493
|
+
return this.g3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3494
3494
|
};
|
|
3495
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3496
|
-
return this.
|
|
3495
|
+
protoOf(AbstractJsonTreeEncoder).h3g = function (tag, value) {
|
|
3496
|
+
return this.y3f(tag, JsonPrimitive_1(value));
|
|
3497
3497
|
};
|
|
3498
3498
|
protoOf(AbstractJsonTreeEncoder).sz = function (tag, value) {
|
|
3499
|
-
return this.
|
|
3499
|
+
return this.h3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3500
3500
|
};
|
|
3501
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3502
|
-
return this.
|
|
3501
|
+
protoOf(AbstractJsonTreeEncoder).i3g = function (tag, value) {
|
|
3502
|
+
return this.y3f(tag, JsonPrimitive_2(toString_0(value)));
|
|
3503
3503
|
};
|
|
3504
3504
|
protoOf(AbstractJsonTreeEncoder).tz = function (tag, value) {
|
|
3505
|
-
return this.
|
|
3505
|
+
return this.i3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3506
3506
|
};
|
|
3507
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3508
|
-
return this.
|
|
3507
|
+
protoOf(AbstractJsonTreeEncoder).j3g = function (tag, value) {
|
|
3508
|
+
return this.y3f(tag, JsonPrimitive_2(value));
|
|
3509
3509
|
};
|
|
3510
3510
|
protoOf(AbstractJsonTreeEncoder).uz = function (tag, value) {
|
|
3511
|
-
return this.
|
|
3511
|
+
return this.j3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3512
3512
|
};
|
|
3513
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3514
|
-
this.
|
|
3513
|
+
protoOf(AbstractJsonTreeEncoder).k3g = function (tag, value) {
|
|
3514
|
+
this.y3f(tag, JsonPrimitive_2(toString(value)));
|
|
3515
3515
|
};
|
|
3516
3516
|
protoOf(AbstractJsonTreeEncoder).jz = function (tag, value) {
|
|
3517
|
-
return this.
|
|
3517
|
+
return this.k3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), value);
|
|
3518
3518
|
};
|
|
3519
|
-
protoOf(AbstractJsonTreeEncoder).
|
|
3519
|
+
protoOf(AbstractJsonTreeEncoder).l3g = function (tag, inlineDescriptor) {
|
|
3520
3520
|
return get_isUnsignedNumber(inlineDescriptor) ? inlineUnsignedNumberEncoder(this, tag) : get_isUnquotedLiteral(inlineDescriptor) ? inlineUnquotedLiteralEncoder(this, tag, inlineDescriptor) : protoOf(NamedValueEncoder).vz.call(this, tag, inlineDescriptor);
|
|
3521
3521
|
};
|
|
3522
3522
|
protoOf(AbstractJsonTreeEncoder).vz = function (tag, inlineDescriptor) {
|
|
3523
|
-
return this.
|
|
3523
|
+
return this.l3g((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3524
3524
|
};
|
|
3525
3525
|
protoOf(AbstractJsonTreeEncoder).cn = function (descriptor) {
|
|
3526
|
-
return !(this.hz() == null) ? protoOf(NamedValueEncoder).cn.call(this, descriptor) : (new JsonPrimitiveEncoder(this.
|
|
3526
|
+
return !(this.hz() == null) ? protoOf(NamedValueEncoder).cn.call(this, descriptor) : (new JsonPrimitiveEncoder(this.o3f_1, this.p3f_1)).cn(descriptor);
|
|
3527
3527
|
};
|
|
3528
3528
|
protoOf(AbstractJsonTreeEncoder).xl = function (descriptor) {
|
|
3529
3529
|
var tmp;
|
|
3530
3530
|
if (this.hz() == null) {
|
|
3531
|
-
tmp = this.
|
|
3531
|
+
tmp = this.p3f_1;
|
|
3532
3532
|
} else {
|
|
3533
3533
|
tmp = AbstractJsonTreeEncoder$beginStructure$lambda(this);
|
|
3534
3534
|
}
|
|
@@ -3542,11 +3542,11 @@
|
|
|
3542
3542
|
tmp_1 = tmp0_subject instanceof PolymorphicKind;
|
|
3543
3543
|
}
|
|
3544
3544
|
if (tmp_1) {
|
|
3545
|
-
tmp_0 = new JsonTreeListEncoder(this.
|
|
3545
|
+
tmp_0 = new JsonTreeListEncoder(this.o3f_1, consumer);
|
|
3546
3546
|
} else {
|
|
3547
3547
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3548
3548
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3549
|
-
var this_0 = this.
|
|
3549
|
+
var this_0 = this.o3f_1;
|
|
3550
3550
|
var keyDescriptor = carrierDescriptor(descriptor.kk(0), this_0.mm());
|
|
3551
3551
|
var keyKind = keyDescriptor.ik();
|
|
3552
3552
|
var tmp_2;
|
|
@@ -3558,29 +3558,29 @@
|
|
|
3558
3558
|
}
|
|
3559
3559
|
if (tmp_3) {
|
|
3560
3560
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeEncoder.beginStructure.<anonymous>' call
|
|
3561
|
-
tmp_2 = new JsonTreeMapEncoder(this.
|
|
3561
|
+
tmp_2 = new JsonTreeMapEncoder(this.o3f_1, consumer);
|
|
3562
3562
|
} else {
|
|
3563
|
-
if (this_0.
|
|
3563
|
+
if (this_0.t37_1.o38_1) {
|
|
3564
3564
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeEncoder.beginStructure.<anonymous>' call
|
|
3565
|
-
tmp_2 = new JsonTreeListEncoder(this.
|
|
3565
|
+
tmp_2 = new JsonTreeListEncoder(this.o3f_1, consumer);
|
|
3566
3566
|
} else {
|
|
3567
3567
|
throw InvalidKeyKindException(keyDescriptor);
|
|
3568
3568
|
}
|
|
3569
3569
|
}
|
|
3570
3570
|
tmp_0 = tmp_2;
|
|
3571
3571
|
} else {
|
|
3572
|
-
tmp_0 = new JsonTreeEncoder(this.
|
|
3572
|
+
tmp_0 = new JsonTreeEncoder(this.o3f_1, consumer);
|
|
3573
3573
|
}
|
|
3574
3574
|
}
|
|
3575
3575
|
var encoder = tmp_0;
|
|
3576
|
-
if (!(this.
|
|
3577
|
-
encoder.
|
|
3578
|
-
this.
|
|
3576
|
+
if (!(this.r3f_1 == null)) {
|
|
3577
|
+
encoder.y3f(ensureNotNull(this.r3f_1), JsonPrimitive_2(descriptor.ek()));
|
|
3578
|
+
this.r3f_1 = null;
|
|
3579
3579
|
}
|
|
3580
3580
|
return encoder;
|
|
3581
3581
|
};
|
|
3582
3582
|
protoOf(AbstractJsonTreeEncoder).wz = function (descriptor) {
|
|
3583
|
-
this.
|
|
3583
|
+
this.p3f_1(this.z3f());
|
|
3584
3584
|
};
|
|
3585
3585
|
function get_requiresTopLevelTag(_this__u8e3s4) {
|
|
3586
3586
|
var tmp;
|
|
@@ -3594,10 +3594,10 @@
|
|
|
3594
3594
|
}
|
|
3595
3595
|
function JsonPrimitiveEncoder(json, nodeConsumer) {
|
|
3596
3596
|
AbstractJsonTreeEncoder.call(this, json, nodeConsumer);
|
|
3597
|
-
this.
|
|
3597
|
+
this.y3g_1 = null;
|
|
3598
3598
|
this.yz('primitive');
|
|
3599
3599
|
}
|
|
3600
|
-
protoOf(JsonPrimitiveEncoder).
|
|
3600
|
+
protoOf(JsonPrimitiveEncoder).y3f = function (key, element) {
|
|
3601
3601
|
// Inline function 'kotlin.require' call
|
|
3602
3602
|
// Inline function 'kotlin.contracts.contract' call
|
|
3603
3603
|
if (!(key === 'primitive')) {
|
|
@@ -3607,19 +3607,19 @@
|
|
|
3607
3607
|
}
|
|
3608
3608
|
// Inline function 'kotlin.require' call
|
|
3609
3609
|
// Inline function 'kotlin.contracts.contract' call
|
|
3610
|
-
if (!(this.
|
|
3610
|
+
if (!(this.y3g_1 == null)) {
|
|
3611
3611
|
// Inline function 'kotlinx.serialization.json.internal.JsonPrimitiveEncoder.putElement.<anonymous>' call
|
|
3612
3612
|
var message_0 = 'Primitive element was already recorded. Does call to .encodeXxx happen more than once?';
|
|
3613
3613
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
3614
3614
|
}
|
|
3615
|
-
this.
|
|
3616
|
-
this.
|
|
3615
|
+
this.y3g_1 = element;
|
|
3616
|
+
this.p3f_1(element);
|
|
3617
3617
|
};
|
|
3618
|
-
protoOf(JsonPrimitiveEncoder).
|
|
3618
|
+
protoOf(JsonPrimitiveEncoder).z3f = function () {
|
|
3619
3619
|
var tmp$ret$1;
|
|
3620
3620
|
$l$block: {
|
|
3621
3621
|
// Inline function 'kotlin.requireNotNull' call
|
|
3622
|
-
var value = this.
|
|
3622
|
+
var value = this.y3g_1;
|
|
3623
3623
|
// Inline function 'kotlin.contracts.contract' call
|
|
3624
3624
|
if (value == null) {
|
|
3625
3625
|
// Inline function 'kotlinx.serialization.json.internal.JsonPrimitiveEncoder.getCurrent.<anonymous>' call
|
|
@@ -3636,20 +3636,20 @@
|
|
|
3636
3636
|
AbstractJsonTreeEncoder.call(this, json, nodeConsumer);
|
|
3637
3637
|
var tmp = this;
|
|
3638
3638
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
3639
|
-
tmp.
|
|
3639
|
+
tmp.e3h_1 = ArrayList_init_$Create$();
|
|
3640
3640
|
}
|
|
3641
3641
|
protoOf(JsonTreeListEncoder).ez = function (descriptor, index) {
|
|
3642
3642
|
return index.toString();
|
|
3643
3643
|
};
|
|
3644
|
-
protoOf(JsonTreeListEncoder).
|
|
3644
|
+
protoOf(JsonTreeListEncoder).y3f = function (key, element) {
|
|
3645
3645
|
var idx = toInt(key);
|
|
3646
|
-
this.
|
|
3646
|
+
this.e3h_1.w1(idx, element);
|
|
3647
3647
|
};
|
|
3648
|
-
protoOf(JsonTreeListEncoder).
|
|
3649
|
-
return new JsonArray(this.
|
|
3648
|
+
protoOf(JsonTreeListEncoder).z3f = function () {
|
|
3649
|
+
return new JsonArray(this.e3h_1);
|
|
3650
3650
|
};
|
|
3651
3651
|
function _get_tag__e6h4qf($this) {
|
|
3652
|
-
var tmp = $this.
|
|
3652
|
+
var tmp = $this.l3h_1;
|
|
3653
3653
|
if (!(tmp == null))
|
|
3654
3654
|
return tmp;
|
|
3655
3655
|
else {
|
|
@@ -3658,37 +3658,37 @@
|
|
|
3658
3658
|
}
|
|
3659
3659
|
function JsonTreeMapEncoder(json, nodeConsumer) {
|
|
3660
3660
|
JsonTreeEncoder.call(this, json, nodeConsumer);
|
|
3661
|
-
this.
|
|
3661
|
+
this.m3h_1 = true;
|
|
3662
3662
|
}
|
|
3663
|
-
protoOf(JsonTreeMapEncoder).
|
|
3664
|
-
if (this.
|
|
3663
|
+
protoOf(JsonTreeMapEncoder).y3f = function (key, element) {
|
|
3664
|
+
if (this.m3h_1) {
|
|
3665
3665
|
var tmp = this;
|
|
3666
3666
|
var tmp_0;
|
|
3667
3667
|
if (element instanceof JsonPrimitive) {
|
|
3668
|
-
tmp_0 = element.
|
|
3668
|
+
tmp_0 = element.j39();
|
|
3669
3669
|
} else {
|
|
3670
3670
|
if (element instanceof JsonObject) {
|
|
3671
|
-
throw InvalidKeyKindException(JsonObjectSerializer_getInstance().
|
|
3671
|
+
throw InvalidKeyKindException(JsonObjectSerializer_getInstance().u39_1);
|
|
3672
3672
|
} else {
|
|
3673
3673
|
if (element instanceof JsonArray) {
|
|
3674
|
-
throw InvalidKeyKindException(JsonArraySerializer_getInstance().
|
|
3674
|
+
throw InvalidKeyKindException(JsonArraySerializer_getInstance().v39_1);
|
|
3675
3675
|
} else {
|
|
3676
3676
|
noWhenBranchMatchedException();
|
|
3677
3677
|
}
|
|
3678
3678
|
}
|
|
3679
3679
|
}
|
|
3680
|
-
tmp.
|
|
3681
|
-
this.
|
|
3680
|
+
tmp.l3h_1 = tmp_0;
|
|
3681
|
+
this.m3h_1 = false;
|
|
3682
3682
|
} else {
|
|
3683
3683
|
// Inline function 'kotlin.collections.set' call
|
|
3684
|
-
var this_0 = this.
|
|
3684
|
+
var this_0 = this.x3f_1;
|
|
3685
3685
|
var key_0 = _get_tag__e6h4qf(this);
|
|
3686
3686
|
this_0.n2(key_0, element);
|
|
3687
|
-
this.
|
|
3687
|
+
this.m3h_1 = true;
|
|
3688
3688
|
}
|
|
3689
3689
|
};
|
|
3690
|
-
protoOf(JsonTreeMapEncoder).
|
|
3691
|
-
return new JsonObject(this.
|
|
3690
|
+
protoOf(JsonTreeMapEncoder).z3f = function () {
|
|
3691
|
+
return new JsonObject(this.x3f_1);
|
|
3692
3692
|
};
|
|
3693
3693
|
function get_PRIMITIVE_TAG() {
|
|
3694
3694
|
return PRIMITIVE_TAG;
|
|
@@ -3716,8 +3716,8 @@
|
|
|
3716
3716
|
}
|
|
3717
3717
|
function WriteMode(name, ordinal, begin, end) {
|
|
3718
3718
|
Enum.call(this, name, ordinal);
|
|
3719
|
-
this.
|
|
3720
|
-
this.
|
|
3719
|
+
this.c3d_1 = begin;
|
|
3720
|
+
this.d3d_1 = end;
|
|
3721
3721
|
}
|
|
3722
3722
|
function switchMode(_this__u8e3s4, desc) {
|
|
3723
3723
|
var tmp0_subject = desc.ik();
|
|
@@ -3743,7 +3743,7 @@
|
|
|
3743
3743
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3744
3744
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
3745
3745
|
} else {
|
|
3746
|
-
if (_this__u8e3s4.
|
|
3746
|
+
if (_this__u8e3s4.t37_1.o38_1) {
|
|
3747
3747
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3748
3748
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
3749
3749
|
} else {
|
|
@@ -3792,58 +3792,58 @@
|
|
|
3792
3792
|
}
|
|
3793
3793
|
var STRING;
|
|
3794
3794
|
function appendEscape($this, lastPosition, current) {
|
|
3795
|
-
$this.
|
|
3795
|
+
$this.n3h(lastPosition, current);
|
|
3796
3796
|
return appendEsc($this, current + 1 | 0);
|
|
3797
3797
|
}
|
|
3798
3798
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3799
|
-
$this.
|
|
3800
|
-
var result = $this.
|
|
3801
|
-
$this.
|
|
3799
|
+
$this.n3h(lastPosition, currentPosition);
|
|
3800
|
+
var result = $this.j38_1.toString();
|
|
3801
|
+
$this.j38_1.m8(0);
|
|
3802
3802
|
return result;
|
|
3803
3803
|
}
|
|
3804
3804
|
function takePeeked($this) {
|
|
3805
3805
|
// Inline function 'kotlin.also' call
|
|
3806
|
-
var this_0 = ensureNotNull($this.
|
|
3806
|
+
var this_0 = ensureNotNull($this.i38_1);
|
|
3807
3807
|
// Inline function 'kotlin.contracts.contract' call
|
|
3808
3808
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
3809
|
-
$this.
|
|
3809
|
+
$this.i38_1 = null;
|
|
3810
3810
|
return this_0;
|
|
3811
3811
|
}
|
|
3812
3812
|
function wasUnquotedString($this) {
|
|
3813
|
-
return !(charSequenceGet($this.
|
|
3813
|
+
return !(charSequenceGet($this.o3h(), $this.g38_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
3814
3814
|
}
|
|
3815
3815
|
function appendEsc($this, startPosition) {
|
|
3816
3816
|
var currentPosition = startPosition;
|
|
3817
|
-
currentPosition = $this.
|
|
3817
|
+
currentPosition = $this.p3h(currentPosition);
|
|
3818
3818
|
if (currentPosition === -1) {
|
|
3819
|
-
$this.
|
|
3819
|
+
$this.l3a('Expected escape sequence to continue, got EOF');
|
|
3820
3820
|
}
|
|
3821
|
-
var tmp = $this.
|
|
3821
|
+
var tmp = $this.o3h();
|
|
3822
3822
|
var tmp0 = currentPosition;
|
|
3823
3823
|
currentPosition = tmp0 + 1 | 0;
|
|
3824
3824
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
3825
3825
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
3826
|
-
return appendHex($this, $this.
|
|
3826
|
+
return appendHex($this, $this.o3h(), currentPosition);
|
|
3827
3827
|
}
|
|
3828
3828
|
// Inline function 'kotlin.code' call
|
|
3829
3829
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3830
3830
|
var c = escapeToChar(tmp$ret$0);
|
|
3831
3831
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
3832
|
-
$this.
|
|
3832
|
+
$this.l3a("Invalid escaped char '" + toString_0(currentChar) + "'");
|
|
3833
3833
|
}
|
|
3834
|
-
$this.
|
|
3834
|
+
$this.j38_1.x5(c);
|
|
3835
3835
|
return currentPosition;
|
|
3836
3836
|
}
|
|
3837
3837
|
function appendHex($this, source, startPos) {
|
|
3838
3838
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3839
|
-
$this.
|
|
3840
|
-
$this.
|
|
3841
|
-
if (($this.
|
|
3842
|
-
$this.
|
|
3839
|
+
$this.g38_1 = startPos;
|
|
3840
|
+
$this.q3h();
|
|
3841
|
+
if (($this.g38_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3842
|
+
$this.l3a('Unexpected EOF during unicode escape');
|
|
3843
3843
|
}
|
|
3844
|
-
return appendHex($this, source, $this.
|
|
3844
|
+
return appendHex($this, source, $this.g38_1);
|
|
3845
3845
|
}
|
|
3846
|
-
$this.
|
|
3846
|
+
$this.j38_1.x5(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));
|
|
3847
3847
|
return startPos + 4 | 0;
|
|
3848
3848
|
}
|
|
3849
3849
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -3868,17 +3868,17 @@
|
|
|
3868
3868
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
3869
3869
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
3870
3870
|
} else {
|
|
3871
|
-
$this.
|
|
3871
|
+
$this.l3a("Invalid toHexChar char '" + toString_0(character) + "' in unicode escape");
|
|
3872
3872
|
}
|
|
3873
3873
|
return tmp;
|
|
3874
3874
|
}
|
|
3875
3875
|
function consumeBoolean($this, start) {
|
|
3876
|
-
var current = $this.
|
|
3877
|
-
if (current >= charSequenceLength($this.
|
|
3878
|
-
$this.
|
|
3876
|
+
var current = $this.p3h(start);
|
|
3877
|
+
if (current >= charSequenceLength($this.o3h()) ? true : current === -1) {
|
|
3878
|
+
$this.l3a('EOF');
|
|
3879
3879
|
}
|
|
3880
3880
|
// Inline function 'kotlin.code' call
|
|
3881
|
-
var tmp = $this.
|
|
3881
|
+
var tmp = $this.o3h();
|
|
3882
3882
|
var tmp0 = current;
|
|
3883
3883
|
current = tmp0 + 1 | 0;
|
|
3884
3884
|
var this_0 = charSequenceGet(tmp, tmp0);
|
|
@@ -3896,14 +3896,14 @@
|
|
|
3896
3896
|
consumeBooleanLiteral($this, 'alse', current);
|
|
3897
3897
|
tmp_0 = false;
|
|
3898
3898
|
} else {
|
|
3899
|
-
$this.
|
|
3899
|
+
$this.l3a("Expected valid boolean literal prefix, but had '" + $this.h3b() + "'");
|
|
3900
3900
|
}
|
|
3901
3901
|
}
|
|
3902
3902
|
return tmp_0;
|
|
3903
3903
|
}
|
|
3904
3904
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
3905
|
-
if ((charSequenceLength($this.
|
|
3906
|
-
$this.
|
|
3905
|
+
if ((charSequenceLength($this.o3h()) - current | 0) < literalSuffix.length) {
|
|
3906
|
+
$this.l3a('Unexpected end of boolean literal');
|
|
3907
3907
|
}
|
|
3908
3908
|
var inductionVariable = 0;
|
|
3909
3909
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -3912,16 +3912,16 @@
|
|
|
3912
3912
|
var i = inductionVariable;
|
|
3913
3913
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3914
3914
|
var expected = charSequenceGet(literalSuffix, i);
|
|
3915
|
-
var actual = charSequenceGet($this.
|
|
3915
|
+
var actual = charSequenceGet($this.o3h(), current + i | 0);
|
|
3916
3916
|
// Inline function 'kotlin.code' call
|
|
3917
3917
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
3918
3918
|
// Inline function 'kotlin.code' call
|
|
3919
3919
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
3920
|
-
$this.
|
|
3920
|
+
$this.l3a("Expected valid boolean literal prefix, but had '" + $this.h3b() + "'");
|
|
3921
3921
|
}
|
|
3922
3922
|
}
|
|
3923
3923
|
while (inductionVariable <= last);
|
|
3924
|
-
$this.
|
|
3924
|
+
$this.g38_1 = current + literalSuffix.length | 0;
|
|
3925
3925
|
}
|
|
3926
3926
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
3927
3927
|
var tmp;
|
|
@@ -3945,35 +3945,35 @@
|
|
|
3945
3945
|
return tmp;
|
|
3946
3946
|
}
|
|
3947
3947
|
function AbstractJsonLexer() {
|
|
3948
|
-
this.
|
|
3949
|
-
this.
|
|
3950
|
-
this.
|
|
3951
|
-
this.
|
|
3948
|
+
this.g38_1 = 0;
|
|
3949
|
+
this.h38_1 = new JsonPath();
|
|
3950
|
+
this.i38_1 = null;
|
|
3951
|
+
this.j38_1 = StringBuilder_init_$Create$();
|
|
3952
3952
|
}
|
|
3953
|
-
protoOf(AbstractJsonLexer).
|
|
3953
|
+
protoOf(AbstractJsonLexer).q3h = function () {
|
|
3954
3954
|
};
|
|
3955
|
-
protoOf(AbstractJsonLexer).
|
|
3955
|
+
protoOf(AbstractJsonLexer).r3h = function (c) {
|
|
3956
3956
|
return (((c === _Char___init__impl__6a9atx(125) ? true : c === _Char___init__impl__6a9atx(93)) ? true : c === _Char___init__impl__6a9atx(58)) ? true : c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
3957
3957
|
};
|
|
3958
|
-
protoOf(AbstractJsonLexer).
|
|
3959
|
-
var nextToken = this.
|
|
3958
|
+
protoOf(AbstractJsonLexer).k38 = function () {
|
|
3959
|
+
var nextToken = this.j3b();
|
|
3960
3960
|
if (!(nextToken === 10)) {
|
|
3961
|
-
this.
|
|
3961
|
+
this.l3a('Expected EOF after parsing, but had ' + toString_0(charSequenceGet(this.o3h(), this.g38_1 - 1 | 0)) + ' instead');
|
|
3962
3962
|
}
|
|
3963
3963
|
};
|
|
3964
|
-
protoOf(AbstractJsonLexer).
|
|
3965
|
-
var token = this.
|
|
3964
|
+
protoOf(AbstractJsonLexer).d3b = function (expected) {
|
|
3965
|
+
var token = this.j3b();
|
|
3966
3966
|
if (!(token === expected)) {
|
|
3967
|
-
this.
|
|
3967
|
+
this.s3h(expected);
|
|
3968
3968
|
}
|
|
3969
3969
|
return token;
|
|
3970
3970
|
};
|
|
3971
|
-
protoOf(AbstractJsonLexer).
|
|
3972
|
-
this.
|
|
3973
|
-
var source = this.
|
|
3974
|
-
var cpos = this.
|
|
3971
|
+
protoOf(AbstractJsonLexer).r3c = function (expected) {
|
|
3972
|
+
this.q3h();
|
|
3973
|
+
var source = this.o3h();
|
|
3974
|
+
var cpos = this.g38_1;
|
|
3975
3975
|
$l$loop_0: while (true) {
|
|
3976
|
-
cpos = this.
|
|
3976
|
+
cpos = this.p3h(cpos);
|
|
3977
3977
|
if (cpos === -1)
|
|
3978
3978
|
break $l$loop_0;
|
|
3979
3979
|
var tmp0 = cpos;
|
|
@@ -3981,51 +3981,51 @@
|
|
|
3981
3981
|
var c = charSequenceGet(source, tmp0);
|
|
3982
3982
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
3983
3983
|
continue $l$loop_0;
|
|
3984
|
-
this.
|
|
3984
|
+
this.g38_1 = cpos;
|
|
3985
3985
|
if (c === expected)
|
|
3986
3986
|
return Unit_instance;
|
|
3987
|
-
this.
|
|
3987
|
+
this.t3h(expected);
|
|
3988
3988
|
}
|
|
3989
|
-
this.
|
|
3990
|
-
this.
|
|
3989
|
+
this.g38_1 = cpos;
|
|
3990
|
+
this.t3h(expected);
|
|
3991
3991
|
};
|
|
3992
|
-
protoOf(AbstractJsonLexer).
|
|
3993
|
-
if (this.
|
|
3992
|
+
protoOf(AbstractJsonLexer).t3h = function (expected) {
|
|
3993
|
+
if (this.g38_1 > 0 ? expected === _Char___init__impl__6a9atx(34) : false) {
|
|
3994
3994
|
var tmp$ret$1;
|
|
3995
3995
|
$l$block: {
|
|
3996
3996
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
3997
|
-
var snapshot = this.
|
|
3997
|
+
var snapshot = this.g38_1;
|
|
3998
3998
|
try {
|
|
3999
3999
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken.<anonymous>' call
|
|
4000
|
-
this.
|
|
4001
|
-
tmp$ret$1 = this.
|
|
4000
|
+
this.g38_1 = this.g38_1 - 1 | 0;
|
|
4001
|
+
tmp$ret$1 = this.h3b();
|
|
4002
4002
|
break $l$block;
|
|
4003
4003
|
}finally {
|
|
4004
|
-
this.
|
|
4004
|
+
this.g38_1 = snapshot;
|
|
4005
4005
|
}
|
|
4006
4006
|
}
|
|
4007
4007
|
var inputLiteral = tmp$ret$1;
|
|
4008
4008
|
if (inputLiteral === 'null') {
|
|
4009
|
-
this.
|
|
4009
|
+
this.k3a("Expected string literal but 'null' literal was found", this.g38_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4010
4010
|
}
|
|
4011
4011
|
}
|
|
4012
|
-
this.
|
|
4012
|
+
this.s3h(charToTokenClass(expected));
|
|
4013
4013
|
};
|
|
4014
|
-
protoOf(AbstractJsonLexer).
|
|
4014
|
+
protoOf(AbstractJsonLexer).u3h = function (expectedToken, wasConsumed) {
|
|
4015
4015
|
var expected = tokenDescription(expectedToken);
|
|
4016
|
-
var position = wasConsumed ? this.
|
|
4017
|
-
var s = (this.
|
|
4018
|
-
this.
|
|
4016
|
+
var position = wasConsumed ? this.g38_1 - 1 | 0 : this.g38_1;
|
|
4017
|
+
var s = (this.g38_1 === charSequenceLength(this.o3h()) ? true : position < 0) ? 'EOF' : toString_0(charSequenceGet(this.o3h(), position));
|
|
4018
|
+
this.l3a('Expected ' + expected + ", but had '" + s + "' instead", position);
|
|
4019
4019
|
};
|
|
4020
|
-
protoOf(AbstractJsonLexer).
|
|
4020
|
+
protoOf(AbstractJsonLexer).s3h = function (expectedToken, wasConsumed, $super) {
|
|
4021
4021
|
wasConsumed = wasConsumed === VOID ? true : wasConsumed;
|
|
4022
|
-
return $super === VOID ? this.
|
|
4022
|
+
return $super === VOID ? this.u3h(expectedToken, wasConsumed) : $super.u3h.call(this, expectedToken, wasConsumed);
|
|
4023
4023
|
};
|
|
4024
|
-
protoOf(AbstractJsonLexer).
|
|
4025
|
-
var source = this.
|
|
4026
|
-
var cpos = this.
|
|
4024
|
+
protoOf(AbstractJsonLexer).e3b = function () {
|
|
4025
|
+
var source = this.o3h();
|
|
4026
|
+
var cpos = this.g38_1;
|
|
4027
4027
|
$l$loop_0: while (true) {
|
|
4028
|
-
cpos = this.
|
|
4028
|
+
cpos = this.p3h(cpos);
|
|
4029
4029
|
if (cpos === -1)
|
|
4030
4030
|
break $l$loop_0;
|
|
4031
4031
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4033,16 +4033,16 @@
|
|
|
4033
4033
|
cpos = cpos + 1 | 0;
|
|
4034
4034
|
continue $l$loop_0;
|
|
4035
4035
|
}
|
|
4036
|
-
this.
|
|
4036
|
+
this.g38_1 = cpos;
|
|
4037
4037
|
return charToTokenClass(ch);
|
|
4038
4038
|
}
|
|
4039
|
-
this.
|
|
4039
|
+
this.g38_1 = cpos;
|
|
4040
4040
|
return 10;
|
|
4041
4041
|
};
|
|
4042
|
-
protoOf(AbstractJsonLexer).
|
|
4043
|
-
var current = this.
|
|
4044
|
-
current = this.
|
|
4045
|
-
var len = charSequenceLength(this.
|
|
4042
|
+
protoOf(AbstractJsonLexer).t3c = function (doConsume) {
|
|
4043
|
+
var current = this.v3h();
|
|
4044
|
+
current = this.p3h(current);
|
|
4045
|
+
var len = charSequenceLength(this.o3h()) - current | 0;
|
|
4046
4046
|
if (len < 4 ? true : current === -1)
|
|
4047
4047
|
return false;
|
|
4048
4048
|
var inductionVariable = 0;
|
|
@@ -4050,66 +4050,66 @@
|
|
|
4050
4050
|
do {
|
|
4051
4051
|
var i = inductionVariable;
|
|
4052
4052
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4053
|
-
if (!(charSequenceGet('null', i) === charSequenceGet(this.
|
|
4053
|
+
if (!(charSequenceGet('null', i) === charSequenceGet(this.o3h(), current + i | 0)))
|
|
4054
4054
|
return false;
|
|
4055
4055
|
}
|
|
4056
4056
|
while (inductionVariable <= 3);
|
|
4057
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
4057
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.o3h(), current + 4 | 0)) === 0 : false)
|
|
4058
4058
|
return false;
|
|
4059
4059
|
if (doConsume) {
|
|
4060
|
-
this.
|
|
4060
|
+
this.g38_1 = current + 4 | 0;
|
|
4061
4061
|
}
|
|
4062
4062
|
return true;
|
|
4063
4063
|
};
|
|
4064
|
-
protoOf(AbstractJsonLexer).
|
|
4064
|
+
protoOf(AbstractJsonLexer).e3d = function (doConsume, $super) {
|
|
4065
4065
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4066
|
-
return $super === VOID ? this.
|
|
4066
|
+
return $super === VOID ? this.t3c(doConsume) : $super.t3c.call(this, doConsume);
|
|
4067
4067
|
};
|
|
4068
|
-
protoOf(AbstractJsonLexer).
|
|
4069
|
-
var current = this.
|
|
4068
|
+
protoOf(AbstractJsonLexer).v3h = function () {
|
|
4069
|
+
var current = this.g38_1;
|
|
4070
4070
|
$l$loop_0: while (true) {
|
|
4071
|
-
current = this.
|
|
4071
|
+
current = this.p3h(current);
|
|
4072
4072
|
if (current === -1)
|
|
4073
4073
|
break $l$loop_0;
|
|
4074
|
-
var c = charSequenceGet(this.
|
|
4074
|
+
var c = charSequenceGet(this.o3h(), current);
|
|
4075
4075
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
4076
4076
|
current = current + 1 | 0;
|
|
4077
4077
|
} else {
|
|
4078
4078
|
break $l$loop_0;
|
|
4079
4079
|
}
|
|
4080
4080
|
}
|
|
4081
|
-
this.
|
|
4081
|
+
this.g38_1 = current;
|
|
4082
4082
|
return current;
|
|
4083
4083
|
};
|
|
4084
|
-
protoOf(AbstractJsonLexer).
|
|
4085
|
-
var token = this.
|
|
4084
|
+
protoOf(AbstractJsonLexer).u3c = function (isLenient) {
|
|
4085
|
+
var token = this.e3b();
|
|
4086
4086
|
var tmp;
|
|
4087
4087
|
if (isLenient) {
|
|
4088
4088
|
if (!(token === 1) ? !(token === 0) : false)
|
|
4089
4089
|
return null;
|
|
4090
|
-
tmp = this.
|
|
4090
|
+
tmp = this.h3b();
|
|
4091
4091
|
} else {
|
|
4092
4092
|
if (!(token === 1))
|
|
4093
4093
|
return null;
|
|
4094
|
-
tmp = this.
|
|
4094
|
+
tmp = this.g3b();
|
|
4095
4095
|
}
|
|
4096
4096
|
var string = tmp;
|
|
4097
|
-
this.
|
|
4097
|
+
this.i38_1 = string;
|
|
4098
4098
|
return string;
|
|
4099
4099
|
};
|
|
4100
|
-
protoOf(AbstractJsonLexer).
|
|
4101
|
-
this.
|
|
4100
|
+
protoOf(AbstractJsonLexer).w3h = function () {
|
|
4101
|
+
this.i38_1 = null;
|
|
4102
4102
|
};
|
|
4103
|
-
protoOf(AbstractJsonLexer).
|
|
4103
|
+
protoOf(AbstractJsonLexer).x3h = function (startPos, endPos) {
|
|
4104
4104
|
// Inline function 'kotlin.text.substring' call
|
|
4105
|
-
var this_0 = this.
|
|
4105
|
+
var this_0 = this.o3h();
|
|
4106
4106
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4107
4107
|
};
|
|
4108
|
-
protoOf(AbstractJsonLexer).
|
|
4109
|
-
if (!(this.
|
|
4108
|
+
protoOf(AbstractJsonLexer).g3b = function () {
|
|
4109
|
+
if (!(this.i38_1 == null)) {
|
|
4110
4110
|
return takePeeked(this);
|
|
4111
4111
|
}
|
|
4112
|
-
return this.
|
|
4112
|
+
return this.x3c();
|
|
4113
4113
|
};
|
|
4114
4114
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4115
4115
|
var currentPosition = current;
|
|
@@ -4119,19 +4119,19 @@
|
|
|
4119
4119
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4120
4120
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4121
4121
|
usedAppend = true;
|
|
4122
|
-
currentPosition = this.
|
|
4122
|
+
currentPosition = this.p3h(appendEscape(this, lastPosition, currentPosition));
|
|
4123
4123
|
if (currentPosition === -1) {
|
|
4124
|
-
this.
|
|
4124
|
+
this.l3a('Unexpected EOF', currentPosition);
|
|
4125
4125
|
}
|
|
4126
4126
|
lastPosition = currentPosition;
|
|
4127
4127
|
} else {
|
|
4128
4128
|
currentPosition = currentPosition + 1 | 0;
|
|
4129
4129
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4130
4130
|
usedAppend = true;
|
|
4131
|
-
this.
|
|
4132
|
-
currentPosition = this.
|
|
4131
|
+
this.n3h(lastPosition, currentPosition);
|
|
4132
|
+
currentPosition = this.p3h(currentPosition);
|
|
4133
4133
|
if (currentPosition === -1) {
|
|
4134
|
-
this.
|
|
4134
|
+
this.l3a('Unexpected EOF', currentPosition);
|
|
4135
4135
|
}
|
|
4136
4136
|
lastPosition = currentPosition;
|
|
4137
4137
|
}
|
|
@@ -4140,45 +4140,45 @@
|
|
|
4140
4140
|
}
|
|
4141
4141
|
var tmp;
|
|
4142
4142
|
if (!usedAppend) {
|
|
4143
|
-
tmp = this.
|
|
4143
|
+
tmp = this.x3h(lastPosition, currentPosition);
|
|
4144
4144
|
} else {
|
|
4145
4145
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4146
4146
|
}
|
|
4147
4147
|
var string = tmp;
|
|
4148
|
-
this.
|
|
4148
|
+
this.g38_1 = currentPosition + 1 | 0;
|
|
4149
4149
|
return string;
|
|
4150
4150
|
};
|
|
4151
|
-
protoOf(AbstractJsonLexer).
|
|
4152
|
-
var result = this.
|
|
4151
|
+
protoOf(AbstractJsonLexer).y3c = function () {
|
|
4152
|
+
var result = this.h3b();
|
|
4153
4153
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
4154
|
-
this.
|
|
4154
|
+
this.l3a("Unexpected 'null' value instead of string literal");
|
|
4155
4155
|
}
|
|
4156
4156
|
return result;
|
|
4157
4157
|
};
|
|
4158
|
-
protoOf(AbstractJsonLexer).
|
|
4159
|
-
if (!(this.
|
|
4158
|
+
protoOf(AbstractJsonLexer).h3b = function () {
|
|
4159
|
+
if (!(this.i38_1 == null)) {
|
|
4160
4160
|
return takePeeked(this);
|
|
4161
4161
|
}
|
|
4162
|
-
var current = this.
|
|
4163
|
-
if (current >= charSequenceLength(this.
|
|
4164
|
-
this.
|
|
4162
|
+
var current = this.v3h();
|
|
4163
|
+
if (current >= charSequenceLength(this.o3h()) ? true : current === -1) {
|
|
4164
|
+
this.l3a('EOF', current);
|
|
4165
4165
|
}
|
|
4166
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4166
|
+
var token = charToTokenClass(charSequenceGet(this.o3h(), current));
|
|
4167
4167
|
if (token === 1) {
|
|
4168
|
-
return this.
|
|
4168
|
+
return this.g3b();
|
|
4169
4169
|
}
|
|
4170
4170
|
if (!(token === 0)) {
|
|
4171
|
-
this.
|
|
4171
|
+
this.l3a('Expected beginning of the string, but got ' + toString_0(charSequenceGet(this.o3h(), current)));
|
|
4172
4172
|
}
|
|
4173
4173
|
var usedAppend = false;
|
|
4174
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4174
|
+
while (charToTokenClass(charSequenceGet(this.o3h(), current)) === 0) {
|
|
4175
4175
|
current = current + 1 | 0;
|
|
4176
|
-
if (current >= charSequenceLength(this.
|
|
4176
|
+
if (current >= charSequenceLength(this.o3h())) {
|
|
4177
4177
|
usedAppend = true;
|
|
4178
|
-
this.
|
|
4179
|
-
var eof = this.
|
|
4178
|
+
this.n3h(this.g38_1, current);
|
|
4179
|
+
var eof = this.p3h(current);
|
|
4180
4180
|
if (eof === -1) {
|
|
4181
|
-
this.
|
|
4181
|
+
this.g38_1 = current;
|
|
4182
4182
|
return decodedString(this, 0, 0);
|
|
4183
4183
|
} else {
|
|
4184
4184
|
current = eof;
|
|
@@ -4187,32 +4187,32 @@
|
|
|
4187
4187
|
}
|
|
4188
4188
|
var tmp;
|
|
4189
4189
|
if (!usedAppend) {
|
|
4190
|
-
tmp = this.
|
|
4190
|
+
tmp = this.x3h(this.g38_1, current);
|
|
4191
4191
|
} else {
|
|
4192
|
-
tmp = decodedString(this, this.
|
|
4192
|
+
tmp = decodedString(this, this.g38_1, current);
|
|
4193
4193
|
}
|
|
4194
4194
|
var result = tmp;
|
|
4195
|
-
this.
|
|
4195
|
+
this.g38_1 = current;
|
|
4196
4196
|
return result;
|
|
4197
4197
|
};
|
|
4198
|
-
protoOf(AbstractJsonLexer).
|
|
4199
|
-
this.
|
|
4198
|
+
protoOf(AbstractJsonLexer).n3h = function (fromIndex, toIndex) {
|
|
4199
|
+
this.j38_1.h8(this.o3h(), fromIndex, toIndex);
|
|
4200
4200
|
};
|
|
4201
|
-
protoOf(AbstractJsonLexer).
|
|
4201
|
+
protoOf(AbstractJsonLexer).w3c = function (allowLenientStrings) {
|
|
4202
4202
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4203
4203
|
var tokenStack = ArrayList_init_$Create$();
|
|
4204
|
-
var lastToken = this.
|
|
4204
|
+
var lastToken = this.e3b();
|
|
4205
4205
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
4206
|
-
this.
|
|
4206
|
+
this.h3b();
|
|
4207
4207
|
return Unit_instance;
|
|
4208
4208
|
}
|
|
4209
4209
|
$l$loop: while (true) {
|
|
4210
|
-
lastToken = this.
|
|
4210
|
+
lastToken = this.e3b();
|
|
4211
4211
|
if (lastToken === 1) {
|
|
4212
4212
|
if (allowLenientStrings) {
|
|
4213
|
-
this.
|
|
4213
|
+
this.h3b();
|
|
4214
4214
|
} else {
|
|
4215
|
-
this.
|
|
4215
|
+
this.x3c();
|
|
4216
4216
|
}
|
|
4217
4217
|
continue $l$loop;
|
|
4218
4218
|
}
|
|
@@ -4221,29 +4221,29 @@
|
|
|
4221
4221
|
tokenStack.q(lastToken);
|
|
4222
4222
|
} else if (tmp0_subject === 9) {
|
|
4223
4223
|
if (!(last(tokenStack) === 8))
|
|
4224
|
-
throw JsonDecodingException_0(this.
|
|
4224
|
+
throw JsonDecodingException_0(this.g38_1, 'found ] instead of } at path: ' + this.h38_1, this.o3h());
|
|
4225
4225
|
removeLast(tokenStack);
|
|
4226
4226
|
} else if (tmp0_subject === 7) {
|
|
4227
4227
|
if (!(last(tokenStack) === 6))
|
|
4228
|
-
throw JsonDecodingException_0(this.
|
|
4228
|
+
throw JsonDecodingException_0(this.g38_1, 'found } instead of ] at path: ' + this.h38_1, this.o3h());
|
|
4229
4229
|
removeLast(tokenStack);
|
|
4230
4230
|
} else if (tmp0_subject === 10) {
|
|
4231
|
-
this.
|
|
4231
|
+
this.l3a('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4232
4232
|
}
|
|
4233
|
-
this.
|
|
4233
|
+
this.j3b();
|
|
4234
4234
|
if (tokenStack.n() === 0)
|
|
4235
4235
|
return Unit_instance;
|
|
4236
4236
|
}
|
|
4237
4237
|
};
|
|
4238
4238
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4239
|
-
return "JsonReader(source='" + this.
|
|
4239
|
+
return "JsonReader(source='" + this.o3h() + "', currentPosition=" + this.g38_1 + ')';
|
|
4240
4240
|
};
|
|
4241
|
-
protoOf(AbstractJsonLexer).
|
|
4242
|
-
var processed = this.
|
|
4241
|
+
protoOf(AbstractJsonLexer).v3c = function (key) {
|
|
4242
|
+
var processed = this.x3h(0, this.g38_1);
|
|
4243
4243
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4244
|
-
this.
|
|
4244
|
+
this.k3a("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
4245
4245
|
};
|
|
4246
|
-
protoOf(AbstractJsonLexer).
|
|
4246
|
+
protoOf(AbstractJsonLexer).k3a = function (message, position, hint) {
|
|
4247
4247
|
var tmp;
|
|
4248
4248
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4249
4249
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4252,24 +4252,24 @@
|
|
|
4252
4252
|
tmp = '\n' + hint;
|
|
4253
4253
|
}
|
|
4254
4254
|
var hintMessage = tmp;
|
|
4255
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4255
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.h38_1.y3a() + hintMessage, this.o3h());
|
|
4256
4256
|
};
|
|
4257
|
-
protoOf(AbstractJsonLexer).
|
|
4258
|
-
position = position === VOID ? this.
|
|
4257
|
+
protoOf(AbstractJsonLexer).l3a = function (message, position, hint, $super) {
|
|
4258
|
+
position = position === VOID ? this.g38_1 : position;
|
|
4259
4259
|
hint = hint === VOID ? '' : hint;
|
|
4260
|
-
return $super === VOID ? this.
|
|
4260
|
+
return $super === VOID ? this.k3a(message, position, hint) : $super.k3a.call(this, message, position, hint);
|
|
4261
4261
|
};
|
|
4262
|
-
protoOf(AbstractJsonLexer).
|
|
4263
|
-
var current = this.
|
|
4264
|
-
current = this.
|
|
4265
|
-
if (current >= charSequenceLength(this.
|
|
4266
|
-
this.
|
|
4262
|
+
protoOf(AbstractJsonLexer).q39 = function () {
|
|
4263
|
+
var current = this.v3h();
|
|
4264
|
+
current = this.p3h(current);
|
|
4265
|
+
if (current >= charSequenceLength(this.o3h()) ? true : current === -1) {
|
|
4266
|
+
this.l3a('EOF');
|
|
4267
4267
|
}
|
|
4268
4268
|
var tmp;
|
|
4269
|
-
if (charSequenceGet(this.
|
|
4269
|
+
if (charSequenceGet(this.o3h(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4270
4270
|
current = current + 1 | 0;
|
|
4271
|
-
if (current === charSequenceLength(this.
|
|
4272
|
-
this.
|
|
4271
|
+
if (current === charSequenceLength(this.o3h())) {
|
|
4272
|
+
this.l3a('EOF');
|
|
4273
4273
|
}
|
|
4274
4274
|
tmp = true;
|
|
4275
4275
|
} else {
|
|
@@ -4282,11 +4282,11 @@
|
|
|
4282
4282
|
var isExponentPositive = false;
|
|
4283
4283
|
var hasExponent = false;
|
|
4284
4284
|
var start = current;
|
|
4285
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4286
|
-
var ch = charSequenceGet(this.
|
|
4285
|
+
$l$loop_4: while (!(current === charSequenceLength(this.o3h()))) {
|
|
4286
|
+
var ch = charSequenceGet(this.o3h(), current);
|
|
4287
4287
|
if ((ch === _Char___init__impl__6a9atx(101) ? true : ch === _Char___init__impl__6a9atx(69)) ? !hasExponent : false) {
|
|
4288
4288
|
if (current === start) {
|
|
4289
|
-
this.
|
|
4289
|
+
this.l3a('Unexpected symbol ' + toString_0(ch) + ' in numeric literal');
|
|
4290
4290
|
}
|
|
4291
4291
|
isExponentPositive = true;
|
|
4292
4292
|
hasExponent = true;
|
|
@@ -4295,7 +4295,7 @@
|
|
|
4295
4295
|
}
|
|
4296
4296
|
if (ch === _Char___init__impl__6a9atx(45) ? hasExponent : false) {
|
|
4297
4297
|
if (current === start) {
|
|
4298
|
-
this.
|
|
4298
|
+
this.l3a("Unexpected symbol '-' in numeric literal");
|
|
4299
4299
|
}
|
|
4300
4300
|
isExponentPositive = false;
|
|
4301
4301
|
current = current + 1 | 0;
|
|
@@ -4303,7 +4303,7 @@
|
|
|
4303
4303
|
}
|
|
4304
4304
|
if (ch === _Char___init__impl__6a9atx(43) ? hasExponent : false) {
|
|
4305
4305
|
if (current === start) {
|
|
4306
|
-
this.
|
|
4306
|
+
this.l3a("Unexpected symbol '+' in numeric literal");
|
|
4307
4307
|
}
|
|
4308
4308
|
isExponentPositive = true;
|
|
4309
4309
|
current = current + 1 | 0;
|
|
@@ -4311,7 +4311,7 @@
|
|
|
4311
4311
|
}
|
|
4312
4312
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4313
4313
|
if (!(current === start)) {
|
|
4314
|
-
this.
|
|
4314
|
+
this.l3a("Unexpected symbol '-' in numeric literal");
|
|
4315
4315
|
}
|
|
4316
4316
|
isNegative = true;
|
|
4317
4317
|
current = current + 1 | 0;
|
|
@@ -4323,7 +4323,7 @@
|
|
|
4323
4323
|
current = current + 1 | 0;
|
|
4324
4324
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4325
4325
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4326
|
-
this.
|
|
4326
|
+
this.l3a("Unexpected symbol '" + toString_0(ch) + "' in numeric literal");
|
|
4327
4327
|
}
|
|
4328
4328
|
if (hasExponent) {
|
|
4329
4329
|
// Inline function 'kotlin.Long.plus' call
|
|
@@ -4335,23 +4335,23 @@
|
|
|
4335
4335
|
// Inline function 'kotlin.Long.times' call
|
|
4336
4336
|
accumulator = accumulator.pa(toLong(10)).ub(toLong(digit));
|
|
4337
4337
|
if (accumulator.qa(new Long(0, 0)) > 0) {
|
|
4338
|
-
this.
|
|
4338
|
+
this.l3a('Numeric value overflow');
|
|
4339
4339
|
}
|
|
4340
4340
|
}
|
|
4341
4341
|
var hasChars = !(current === start);
|
|
4342
4342
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
4343
|
-
this.
|
|
4343
|
+
this.l3a('Expected numeric literal');
|
|
4344
4344
|
}
|
|
4345
4345
|
if (hasQuotation) {
|
|
4346
4346
|
if (!hasChars) {
|
|
4347
|
-
this.
|
|
4347
|
+
this.l3a('EOF');
|
|
4348
4348
|
}
|
|
4349
|
-
if (!(charSequenceGet(this.
|
|
4350
|
-
this.
|
|
4349
|
+
if (!(charSequenceGet(this.o3h(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4350
|
+
this.l3a('Expected closing quotation mark');
|
|
4351
4351
|
}
|
|
4352
4352
|
current = current + 1 | 0;
|
|
4353
4353
|
}
|
|
4354
|
-
this.
|
|
4354
|
+
this.g38_1 = current;
|
|
4355
4355
|
if (hasExponent) {
|
|
4356
4356
|
var doubleAccumulator = accumulator.t6() * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4357
4357
|
var tmp_0;
|
|
@@ -4363,11 +4363,11 @@
|
|
|
4363
4363
|
tmp_0 = doubleAccumulator < (new Long(0, -2147483648)).t6();
|
|
4364
4364
|
}
|
|
4365
4365
|
if (tmp_0) {
|
|
4366
|
-
this.
|
|
4366
|
+
this.l3a('Numeric value overflow');
|
|
4367
4367
|
}
|
|
4368
4368
|
// Inline function 'kotlin.math.floor' call
|
|
4369
4369
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4370
|
-
this.
|
|
4370
|
+
this.l3a("Can't convert " + doubleAccumulator + ' to Long');
|
|
4371
4371
|
}
|
|
4372
4372
|
accumulator = numberToLong(doubleAccumulator);
|
|
4373
4373
|
}
|
|
@@ -4380,18 +4380,18 @@
|
|
|
4380
4380
|
if (!tmp_2.equals(new Long(0, -2147483648))) {
|
|
4381
4381
|
tmp_1 = accumulator.wb();
|
|
4382
4382
|
} else {
|
|
4383
|
-
this.
|
|
4383
|
+
this.l3a('Numeric value overflow');
|
|
4384
4384
|
}
|
|
4385
4385
|
}
|
|
4386
4386
|
return tmp_1;
|
|
4387
4387
|
};
|
|
4388
|
-
protoOf(AbstractJsonLexer).
|
|
4389
|
-
var current = this.
|
|
4390
|
-
if (current === charSequenceLength(this.
|
|
4391
|
-
this.
|
|
4388
|
+
protoOf(AbstractJsonLexer).f3d = function () {
|
|
4389
|
+
var current = this.v3h();
|
|
4390
|
+
if (current === charSequenceLength(this.o3h())) {
|
|
4391
|
+
this.l3a('EOF');
|
|
4392
4392
|
}
|
|
4393
4393
|
var tmp;
|
|
4394
|
-
if (charSequenceGet(this.
|
|
4394
|
+
if (charSequenceGet(this.o3h(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4395
4395
|
current = current + 1 | 0;
|
|
4396
4396
|
tmp = true;
|
|
4397
4397
|
} else {
|
|
@@ -4400,13 +4400,13 @@
|
|
|
4400
4400
|
var hasQuotation = tmp;
|
|
4401
4401
|
var result = consumeBoolean(this, current);
|
|
4402
4402
|
if (hasQuotation) {
|
|
4403
|
-
if (this.
|
|
4404
|
-
this.
|
|
4403
|
+
if (this.g38_1 === charSequenceLength(this.o3h())) {
|
|
4404
|
+
this.l3a('EOF');
|
|
4405
4405
|
}
|
|
4406
|
-
if (!(charSequenceGet(this.
|
|
4407
|
-
this.
|
|
4406
|
+
if (!(charSequenceGet(this.o3h(), this.g38_1) === _Char___init__impl__6a9atx(34))) {
|
|
4407
|
+
this.l3a('Expected closing quotation mark');
|
|
4408
4408
|
}
|
|
4409
|
-
this.
|
|
4409
|
+
this.g38_1 = this.g38_1 + 1 | 0;
|
|
4410
4410
|
}
|
|
4411
4411
|
return result;
|
|
4412
4412
|
};
|
|
@@ -4414,7 +4414,7 @@
|
|
|
4414
4414
|
var tmp;
|
|
4415
4415
|
// Inline function 'kotlin.code' call
|
|
4416
4416
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4417
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4417
|
+
var tmp_0 = CharMappings_getInstance().z3h_1;
|
|
4418
4418
|
// Inline function 'kotlin.code' call
|
|
4419
4419
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4420
4420
|
} else {
|
|
@@ -4498,7 +4498,7 @@
|
|
|
4498
4498
|
}
|
|
4499
4499
|
var TC_OTHER;
|
|
4500
4500
|
function escapeToChar(c) {
|
|
4501
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4501
|
+
return c < 117 ? CharMappings_getInstance().y3h_1[c] : _Char___init__impl__6a9atx(0);
|
|
4502
4502
|
}
|
|
4503
4503
|
function get_TC_BEGIN_LIST() {
|
|
4504
4504
|
return TC_BEGIN_LIST;
|
|
@@ -4556,7 +4556,7 @@
|
|
|
4556
4556
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4557
4557
|
// Inline function 'kotlin.code' call
|
|
4558
4558
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4559
|
-
$this.
|
|
4559
|
+
$this.y3h_1[tmp$ret$0] = numberToChar(c);
|
|
4560
4560
|
}
|
|
4561
4561
|
}
|
|
4562
4562
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4565,7 +4565,7 @@
|
|
|
4565
4565
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4566
4566
|
}
|
|
4567
4567
|
function initC2TC($this, c, cl) {
|
|
4568
|
-
$this.
|
|
4568
|
+
$this.z3h_1[c] = cl;
|
|
4569
4569
|
}
|
|
4570
4570
|
function initC2TC_0($this, c, cl) {
|
|
4571
4571
|
// Inline function 'kotlin.code' call
|
|
@@ -4574,8 +4574,8 @@
|
|
|
4574
4574
|
}
|
|
4575
4575
|
function CharMappings() {
|
|
4576
4576
|
CharMappings_instance = this;
|
|
4577
|
-
this.
|
|
4578
|
-
this.
|
|
4577
|
+
this.y3h_1 = charArray(117);
|
|
4578
|
+
this.z3h_1 = new Int8Array(126);
|
|
4579
4579
|
initEscape(this);
|
|
4580
4580
|
initCharToToken(this);
|
|
4581
4581
|
}
|
|
@@ -4587,19 +4587,19 @@
|
|
|
4587
4587
|
}
|
|
4588
4588
|
function StringJsonLexer(source) {
|
|
4589
4589
|
AbstractJsonLexer.call(this);
|
|
4590
|
-
this.
|
|
4590
|
+
this.e3i_1 = source;
|
|
4591
4591
|
}
|
|
4592
|
-
protoOf(StringJsonLexer).
|
|
4593
|
-
return this.
|
|
4592
|
+
protoOf(StringJsonLexer).o3h = function () {
|
|
4593
|
+
return this.e3i_1;
|
|
4594
4594
|
};
|
|
4595
|
-
protoOf(StringJsonLexer).
|
|
4596
|
-
return position < this.
|
|
4595
|
+
protoOf(StringJsonLexer).p3h = function (position) {
|
|
4596
|
+
return position < this.e3i_1.length ? position : -1;
|
|
4597
4597
|
};
|
|
4598
|
-
protoOf(StringJsonLexer).
|
|
4599
|
-
var source = this.
|
|
4600
|
-
$l$loop: while (!(this.
|
|
4601
|
-
var tmp1 = this.
|
|
4602
|
-
this.
|
|
4598
|
+
protoOf(StringJsonLexer).j3b = function () {
|
|
4599
|
+
var source = this.e3i_1;
|
|
4600
|
+
$l$loop: while (!(this.g38_1 === -1) ? this.g38_1 < source.length : false) {
|
|
4601
|
+
var tmp1 = this.g38_1;
|
|
4602
|
+
this.g38_1 = tmp1 + 1 | 0;
|
|
4603
4603
|
var ch = charSequenceGet(source, tmp1);
|
|
4604
4604
|
var tc = charToTokenClass(ch);
|
|
4605
4605
|
var tmp;
|
|
@@ -4612,107 +4612,107 @@
|
|
|
4612
4612
|
}
|
|
4613
4613
|
return get_TC_EOF();
|
|
4614
4614
|
};
|
|
4615
|
-
protoOf(StringJsonLexer).
|
|
4616
|
-
var current = this.
|
|
4617
|
-
if (current === this.
|
|
4615
|
+
protoOf(StringJsonLexer).s3c = function () {
|
|
4616
|
+
var current = this.v3h();
|
|
4617
|
+
if (current === this.e3i_1.length ? true : current === -1)
|
|
4618
4618
|
return false;
|
|
4619
|
-
if (charSequenceGet(this.
|
|
4620
|
-
this.
|
|
4619
|
+
if (charSequenceGet(this.e3i_1, current) === _Char___init__impl__6a9atx(44)) {
|
|
4620
|
+
this.g38_1 = this.g38_1 + 1 | 0;
|
|
4621
4621
|
return true;
|
|
4622
4622
|
}
|
|
4623
4623
|
return false;
|
|
4624
4624
|
};
|
|
4625
|
-
protoOf(StringJsonLexer).
|
|
4626
|
-
var current = this.
|
|
4625
|
+
protoOf(StringJsonLexer).f3b = function () {
|
|
4626
|
+
var current = this.g38_1;
|
|
4627
4627
|
if (current === -1)
|
|
4628
4628
|
return false;
|
|
4629
|
-
$l$loop: while (current < this.
|
|
4630
|
-
var c = charSequenceGet(this.
|
|
4629
|
+
$l$loop: while (current < this.e3i_1.length) {
|
|
4630
|
+
var c = charSequenceGet(this.e3i_1, current);
|
|
4631
4631
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
4632
4632
|
current = current + 1 | 0;
|
|
4633
4633
|
continue $l$loop;
|
|
4634
4634
|
}
|
|
4635
|
-
this.
|
|
4636
|
-
return this.
|
|
4635
|
+
this.g38_1 = current;
|
|
4636
|
+
return this.r3h(c);
|
|
4637
4637
|
}
|
|
4638
|
-
this.
|
|
4638
|
+
this.g38_1 = current;
|
|
4639
4639
|
return false;
|
|
4640
4640
|
};
|
|
4641
|
-
protoOf(StringJsonLexer).
|
|
4642
|
-
var current = this.
|
|
4641
|
+
protoOf(StringJsonLexer).v3h = function () {
|
|
4642
|
+
var current = this.g38_1;
|
|
4643
4643
|
if (current === -1)
|
|
4644
4644
|
return current;
|
|
4645
|
-
$l$loop: while (current < this.
|
|
4646
|
-
var c = charSequenceGet(this.
|
|
4645
|
+
$l$loop: while (current < this.e3i_1.length) {
|
|
4646
|
+
var c = charSequenceGet(this.e3i_1, current);
|
|
4647
4647
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
4648
4648
|
current = current + 1 | 0;
|
|
4649
4649
|
} else {
|
|
4650
4650
|
break $l$loop;
|
|
4651
4651
|
}
|
|
4652
4652
|
}
|
|
4653
|
-
this.
|
|
4653
|
+
this.g38_1 = current;
|
|
4654
4654
|
return current;
|
|
4655
4655
|
};
|
|
4656
|
-
protoOf(StringJsonLexer).
|
|
4657
|
-
if (this.
|
|
4658
|
-
this.
|
|
4656
|
+
protoOf(StringJsonLexer).r3c = function (expected) {
|
|
4657
|
+
if (this.g38_1 === -1) {
|
|
4658
|
+
this.t3h(expected);
|
|
4659
4659
|
}
|
|
4660
|
-
var source = this.
|
|
4661
|
-
$l$loop: while (this.
|
|
4662
|
-
var tmp1 = this.
|
|
4663
|
-
this.
|
|
4660
|
+
var source = this.e3i_1;
|
|
4661
|
+
$l$loop: while (this.g38_1 < source.length) {
|
|
4662
|
+
var tmp1 = this.g38_1;
|
|
4663
|
+
this.g38_1 = tmp1 + 1 | 0;
|
|
4664
4664
|
var c = charSequenceGet(source, tmp1);
|
|
4665
4665
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
4666
4666
|
continue $l$loop;
|
|
4667
4667
|
if (c === expected)
|
|
4668
4668
|
return Unit_instance;
|
|
4669
|
-
this.
|
|
4669
|
+
this.t3h(expected);
|
|
4670
4670
|
}
|
|
4671
|
-
this.
|
|
4672
|
-
this.
|
|
4671
|
+
this.g38_1 = -1;
|
|
4672
|
+
this.t3h(expected);
|
|
4673
4673
|
};
|
|
4674
|
-
protoOf(StringJsonLexer).
|
|
4675
|
-
this.
|
|
4676
|
-
var current = this.
|
|
4677
|
-
var closingQuote = indexOf(this.
|
|
4674
|
+
protoOf(StringJsonLexer).x3c = function () {
|
|
4675
|
+
this.r3c(get_STRING());
|
|
4676
|
+
var current = this.g38_1;
|
|
4677
|
+
var closingQuote = indexOf(this.e3i_1, _Char___init__impl__6a9atx(34), current);
|
|
4678
4678
|
if (closingQuote === -1) {
|
|
4679
|
-
this.
|
|
4680
|
-
this.
|
|
4679
|
+
this.h3b();
|
|
4680
|
+
this.u3h(get_TC_STRING(), false);
|
|
4681
4681
|
}
|
|
4682
4682
|
var inductionVariable = current;
|
|
4683
4683
|
if (inductionVariable < closingQuote)
|
|
4684
4684
|
do {
|
|
4685
4685
|
var i = inductionVariable;
|
|
4686
4686
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4687
|
-
if (charSequenceGet(this.
|
|
4688
|
-
return this.consumeString2(this.
|
|
4687
|
+
if (charSequenceGet(this.e3i_1, i) === get_STRING_ESC()) {
|
|
4688
|
+
return this.consumeString2(this.e3i_1, this.g38_1, i);
|
|
4689
4689
|
}
|
|
4690
4690
|
}
|
|
4691
4691
|
while (inductionVariable < closingQuote);
|
|
4692
|
-
this.
|
|
4692
|
+
this.g38_1 = closingQuote + 1 | 0;
|
|
4693
4693
|
// Inline function 'kotlin.text.substring' call
|
|
4694
4694
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4695
|
-
return this.
|
|
4695
|
+
return this.e3i_1.substring(current, closingQuote);
|
|
4696
4696
|
};
|
|
4697
|
-
protoOf(StringJsonLexer).
|
|
4698
|
-
var positionSnapshot = this.
|
|
4697
|
+
protoOf(StringJsonLexer).z3c = function (keyToMatch, isLenient) {
|
|
4698
|
+
var positionSnapshot = this.g38_1;
|
|
4699
4699
|
try {
|
|
4700
|
-
if (!(this.
|
|
4700
|
+
if (!(this.j3b() === get_TC_BEGIN_OBJ()))
|
|
4701
4701
|
return null;
|
|
4702
|
-
var firstKey = this.
|
|
4702
|
+
var firstKey = this.u3c(isLenient);
|
|
4703
4703
|
if (!(firstKey === keyToMatch))
|
|
4704
4704
|
return null;
|
|
4705
|
-
this.
|
|
4706
|
-
if (!(this.
|
|
4705
|
+
this.w3h();
|
|
4706
|
+
if (!(this.j3b() === get_TC_COLON()))
|
|
4707
4707
|
return null;
|
|
4708
|
-
return this.
|
|
4708
|
+
return this.u3c(isLenient);
|
|
4709
4709
|
}finally {
|
|
4710
|
-
this.
|
|
4711
|
-
this.
|
|
4710
|
+
this.g38_1 = positionSnapshot;
|
|
4711
|
+
this.w3h();
|
|
4712
4712
|
}
|
|
4713
4713
|
};
|
|
4714
4714
|
function get_schemaCache(_this__u8e3s4) {
|
|
4715
|
-
return _this__u8e3s4.
|
|
4715
|
+
return _this__u8e3s4.v37_1;
|
|
4716
4716
|
}
|
|
4717
4717
|
function createMapForCache(initialCapacity) {
|
|
4718
4718
|
return HashMap_init_$Create$(initialCapacity);
|