@solibo/solibo-sdk 1.0.34 → 1.0.35-SNAPSHOT
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/KmLogging-logging.js +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1426 -1426
- package/KotlinBigInteger-bignum.js +1115 -1115
- package/MultiplatformSettings-multiplatform-settings.js +17 -17
- package/Stately-stately-concurrency.js +5 -5
- package/cryptography-kotlin-cryptography-bigint.js +28 -28
- package/cryptography-kotlin-cryptography-core.js +47 -47
- package/cryptography-kotlin-cryptography-provider-base.js +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.js +136 -136
- package/cryptography-kotlin-cryptography-random.js +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js +118 -118
- package/cryptography-kotlin-cryptography-serialization-asn1.js +256 -256
- package/cryptography-kotlin-cryptography-serialization-pem.js +15 -15
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +1826 -1826
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +32 -32
- package/kotlinx-io-kotlinx-io-core.js +451 -451
- package/kotlinx-serialization-kotlinx-serialization-json.js +1095 -1111
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-auth.js +258 -258
- package/ktor-ktor-client-content-negotiation.js +45 -45
- package/ktor-ktor-client-core.js +2687 -2687
- package/ktor-ktor-client-logging.js +621 -621
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http-cio.js +320 -320
- package/ktor-ktor-http.js +901 -901
- package/ktor-ktor-io.js +632 -632
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +36 -36
- package/ktor-ktor-serialization.js +57 -57
- package/ktor-ktor-utils.js +671 -671
- package/ktor-ktor-websockets.js +385 -385
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.js +11791 -11474
- package/solibo-sdk-sdk-home-api.js.map +1 -1
- package/solibo-sdk-sdk.d.ts +18 -0
- package/solibo-sdk-sdk.js +1471 -1471
|
@@ -29,8 +29,6 @@
|
|
|
29
29
|
var charSequenceGet = kotlin_kotlin.$_$.vb;
|
|
30
30
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.k2;
|
|
31
31
|
var equals = kotlin_kotlin.$_$.ac;
|
|
32
|
-
var THROW_CCE = kotlin_kotlin.$_$.hi;
|
|
33
|
-
var getStringHashCode = kotlin_kotlin.$_$.hc;
|
|
34
32
|
var toString_0 = kotlin_kotlin.$_$.mj;
|
|
35
33
|
var Enum = kotlin_kotlin.$_$.xh;
|
|
36
34
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
@@ -40,11 +38,13 @@
|
|
|
40
38
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
41
39
|
var hashCode = kotlin_kotlin.$_$.ic;
|
|
42
40
|
var joinToString = kotlin_kotlin.$_$.a8;
|
|
41
|
+
var THROW_CCE = kotlin_kotlin.$_$.hi;
|
|
43
42
|
var KtMap = kotlin_kotlin.$_$.z5;
|
|
44
43
|
var KtList = kotlin_kotlin.$_$.w5;
|
|
45
44
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
46
45
|
var getKClassFromExpression = kotlin_kotlin.$_$.ce;
|
|
47
46
|
var getBooleanHashCode = kotlin_kotlin.$_$.dc;
|
|
47
|
+
var getStringHashCode = kotlin_kotlin.$_$.hc;
|
|
48
48
|
var toDouble = kotlin_kotlin.$_$.ng;
|
|
49
49
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.a5;
|
|
50
50
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
@@ -271,12 +271,12 @@
|
|
|
271
271
|
}
|
|
272
272
|
function Json(configuration, serializersModule) {
|
|
273
273
|
Default_getInstance();
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
276
|
-
this.
|
|
274
|
+
this.t60_1 = configuration;
|
|
275
|
+
this.u60_1 = serializersModule;
|
|
276
|
+
this.v60_1 = new DescriptorSchemaCache();
|
|
277
277
|
}
|
|
278
278
|
protoOf(Json).at = function () {
|
|
279
|
-
return this.
|
|
279
|
+
return this.u60_1;
|
|
280
280
|
};
|
|
281
281
|
protoOf(Json).wt = function (serializer, value) {
|
|
282
282
|
var result = new JsonToStringWriter();
|
|
@@ -284,67 +284,67 @@
|
|
|
284
284
|
encodeByWriter(this, result, serializer, value);
|
|
285
285
|
return result.toString();
|
|
286
286
|
}finally {
|
|
287
|
-
result.
|
|
287
|
+
result.o2i();
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
290
|
protoOf(Json).xt = function (deserializer, string) {
|
|
291
291
|
var lexer = StringJsonLexer_0(this, string);
|
|
292
292
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.ps(), null);
|
|
293
293
|
var result = input.et(deserializer);
|
|
294
|
-
lexer.
|
|
294
|
+
lexer.k61();
|
|
295
295
|
return result;
|
|
296
296
|
};
|
|
297
|
-
protoOf(Json).
|
|
297
|
+
protoOf(Json).w60 = function (string) {
|
|
298
298
|
return this.xt(JsonElementSerializer_getInstance(), string);
|
|
299
299
|
};
|
|
300
300
|
function Json_0(from, builderAction) {
|
|
301
301
|
from = from === VOID ? Default_getInstance() : from;
|
|
302
302
|
var builder = new JsonBuilder(from);
|
|
303
303
|
builderAction(builder);
|
|
304
|
-
var conf = builder.
|
|
305
|
-
return new JsonImpl(conf, builder.
|
|
304
|
+
var conf = builder.d62();
|
|
305
|
+
return new JsonImpl(conf, builder.c62_1);
|
|
306
306
|
}
|
|
307
307
|
function JsonBuilder(json) {
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
326
|
-
}
|
|
327
|
-
protoOf(JsonBuilder).
|
|
328
|
-
if (this.
|
|
308
|
+
this.l61_1 = json.t60_1.e62_1;
|
|
309
|
+
this.m61_1 = json.t60_1.j62_1;
|
|
310
|
+
this.n61_1 = json.t60_1.f62_1;
|
|
311
|
+
this.o61_1 = json.t60_1.g62_1;
|
|
312
|
+
this.p61_1 = json.t60_1.i62_1;
|
|
313
|
+
this.q61_1 = json.t60_1.k62_1;
|
|
314
|
+
this.r61_1 = json.t60_1.l62_1;
|
|
315
|
+
this.s61_1 = json.t60_1.n62_1;
|
|
316
|
+
this.t61_1 = json.t60_1.u62_1;
|
|
317
|
+
this.u61_1 = json.t60_1.p62_1;
|
|
318
|
+
this.v61_1 = json.t60_1.q62_1;
|
|
319
|
+
this.w61_1 = json.t60_1.r62_1;
|
|
320
|
+
this.x61_1 = json.t60_1.s62_1;
|
|
321
|
+
this.y61_1 = json.t60_1.t62_1;
|
|
322
|
+
this.z61_1 = json.t60_1.o62_1;
|
|
323
|
+
this.a62_1 = json.t60_1.h62_1;
|
|
324
|
+
this.b62_1 = json.t60_1.m62_1;
|
|
325
|
+
this.c62_1 = json.at();
|
|
326
|
+
}
|
|
327
|
+
protoOf(JsonBuilder).d62 = function () {
|
|
328
|
+
if (this.b62_1) {
|
|
329
329
|
// Inline function 'kotlin.require' call
|
|
330
|
-
if (!(this.
|
|
330
|
+
if (!(this.s61_1 === 'type')) {
|
|
331
331
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
332
332
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
333
333
|
}
|
|
334
334
|
// Inline function 'kotlin.require' call
|
|
335
|
-
if (!this.
|
|
335
|
+
if (!this.t61_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
336
336
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
337
337
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
if (!this.
|
|
340
|
+
if (!this.p61_1) {
|
|
341
341
|
// Inline function 'kotlin.require' call
|
|
342
|
-
if (!(this.
|
|
342
|
+
if (!(this.q61_1 === ' ')) {
|
|
343
343
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
344
344
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
345
345
|
}
|
|
346
|
-
} else if (!(this.
|
|
347
|
-
var tmp0 = this.
|
|
346
|
+
} else if (!(this.q61_1 === ' ')) {
|
|
347
|
+
var tmp0 = this.q61_1;
|
|
348
348
|
var tmp$ret$7;
|
|
349
349
|
$l$block: {
|
|
350
350
|
// Inline function 'kotlin.text.all' call
|
|
@@ -362,39 +362,24 @@
|
|
|
362
362
|
var allWhitespaces = tmp$ret$7;
|
|
363
363
|
// Inline function 'kotlin.require' call
|
|
364
364
|
if (!allWhitespaces) {
|
|
365
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
365
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.q61_1;
|
|
366
366
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
return new JsonConfiguration(this.
|
|
369
|
+
return new JsonConfiguration(this.l61_1, this.n61_1, this.o61_1, this.a62_1, this.p61_1, this.m61_1, this.q61_1, this.r61_1, this.b62_1, this.s61_1, this.z61_1, this.u61_1, this.v61_1, this.w61_1, this.x61_1, this.y61_1, this.t61_1);
|
|
370
370
|
};
|
|
371
371
|
function validateConfiguration($this) {
|
|
372
372
|
if (equals($this.at(), EmptySerializersModule()))
|
|
373
373
|
return Unit_instance;
|
|
374
|
-
var collector = new JsonSerializersModuleValidator($this.
|
|
374
|
+
var collector = new JsonSerializersModuleValidator($this.t60_1);
|
|
375
375
|
$this.at().e1d(collector);
|
|
376
376
|
}
|
|
377
377
|
function JsonImpl(configuration, module_0) {
|
|
378
378
|
Json.call(this, configuration, module_0);
|
|
379
379
|
validateConfiguration(this);
|
|
380
380
|
}
|
|
381
|
-
function JsonClassDiscriminator(
|
|
382
|
-
this.c1g_1 = discriminator;
|
|
381
|
+
function JsonClassDiscriminator() {
|
|
383
382
|
}
|
|
384
|
-
protoOf(JsonClassDiscriminator).equals = function (other) {
|
|
385
|
-
if (!(other instanceof JsonClassDiscriminator))
|
|
386
|
-
return false;
|
|
387
|
-
var tmp0_other_with_cast = other instanceof JsonClassDiscriminator ? other : THROW_CCE();
|
|
388
|
-
if (!(this.c1g_1 === tmp0_other_with_cast.c1g_1))
|
|
389
|
-
return false;
|
|
390
|
-
return true;
|
|
391
|
-
};
|
|
392
|
-
protoOf(JsonClassDiscriminator).hashCode = function () {
|
|
393
|
-
return imul(getStringHashCode('discriminator'), 127) ^ getStringHashCode(this.c1g_1);
|
|
394
|
-
};
|
|
395
|
-
protoOf(JsonClassDiscriminator).toString = function () {
|
|
396
|
-
return '@kotlinx.serialization.json.JsonClassDiscriminator(' + 'discriminator=' + this.c1g_1 + ')';
|
|
397
|
-
};
|
|
398
383
|
function JsonIgnoreUnknownKeys() {
|
|
399
384
|
}
|
|
400
385
|
function JsonNames() {
|
|
@@ -417,26 +402,26 @@
|
|
|
417
402
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
418
403
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
419
404
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
420
|
-
this.
|
|
421
|
-
this.
|
|
422
|
-
this.
|
|
423
|
-
this.
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
405
|
+
this.e62_1 = encodeDefaults;
|
|
406
|
+
this.f62_1 = ignoreUnknownKeys;
|
|
407
|
+
this.g62_1 = isLenient;
|
|
408
|
+
this.h62_1 = allowStructuredMapKeys;
|
|
409
|
+
this.i62_1 = prettyPrint;
|
|
410
|
+
this.j62_1 = explicitNulls;
|
|
411
|
+
this.k62_1 = prettyPrintIndent;
|
|
412
|
+
this.l62_1 = coerceInputValues;
|
|
413
|
+
this.m62_1 = useArrayPolymorphism;
|
|
414
|
+
this.n62_1 = classDiscriminator;
|
|
415
|
+
this.o62_1 = allowSpecialFloatingPointValues;
|
|
416
|
+
this.p62_1 = useAlternativeNames;
|
|
417
|
+
this.q62_1 = namingStrategy;
|
|
418
|
+
this.r62_1 = decodeEnumsCaseInsensitive;
|
|
419
|
+
this.s62_1 = allowTrailingComma;
|
|
420
|
+
this.t62_1 = allowComments;
|
|
421
|
+
this.u62_1 = classDiscriminatorMode;
|
|
437
422
|
}
|
|
438
423
|
protoOf(JsonConfiguration).toString = function () {
|
|
439
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
424
|
+
return 'JsonConfiguration(encodeDefaults=' + this.e62_1 + ', ignoreUnknownKeys=' + this.f62_1 + ', isLenient=' + this.g62_1 + ', ' + ('allowStructuredMapKeys=' + this.h62_1 + ', prettyPrint=' + this.i62_1 + ', explicitNulls=' + this.j62_1 + ', ') + ("prettyPrintIndent='" + this.k62_1 + "', coerceInputValues=" + this.l62_1 + ', useArrayPolymorphism=' + this.m62_1 + ', ') + ("classDiscriminator='" + this.n62_1 + "', allowSpecialFloatingPointValues=" + this.o62_1 + ', ') + ('useAlternativeNames=' + this.p62_1 + ', namingStrategy=' + toString_0(this.q62_1) + ', decodeEnumsCaseInsensitive=' + this.r62_1 + ', ') + ('allowTrailingComma=' + this.s62_1 + ', allowComments=' + this.t62_1 + ', classDiscriminatorMode=' + this.u62_1.toString() + ')');
|
|
440
425
|
};
|
|
441
426
|
var ClassDiscriminatorMode_NONE_instance;
|
|
442
427
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -486,7 +471,7 @@
|
|
|
486
471
|
JsonElement.call(this);
|
|
487
472
|
}
|
|
488
473
|
protoOf(JsonPrimitive).toString = function () {
|
|
489
|
-
return this.
|
|
474
|
+
return this.z4b();
|
|
490
475
|
};
|
|
491
476
|
function Companion_1() {
|
|
492
477
|
}
|
|
@@ -509,59 +494,59 @@
|
|
|
509
494
|
}
|
|
510
495
|
function JsonObject(content) {
|
|
511
496
|
JsonElement.call(this);
|
|
512
|
-
this.
|
|
497
|
+
this.y62_1 = content;
|
|
513
498
|
}
|
|
514
499
|
protoOf(JsonObject).equals = function (other) {
|
|
515
|
-
return equals(this.
|
|
500
|
+
return equals(this.y62_1, other);
|
|
516
501
|
};
|
|
517
502
|
protoOf(JsonObject).hashCode = function () {
|
|
518
|
-
return hashCode(this.
|
|
503
|
+
return hashCode(this.y62_1);
|
|
519
504
|
};
|
|
520
505
|
protoOf(JsonObject).toString = function () {
|
|
521
|
-
var tmp = this.
|
|
506
|
+
var tmp = this.y62_1.l1();
|
|
522
507
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
523
508
|
};
|
|
524
509
|
protoOf(JsonObject).r = function () {
|
|
525
|
-
return this.
|
|
510
|
+
return this.y62_1.r();
|
|
526
511
|
};
|
|
527
|
-
protoOf(JsonObject).
|
|
528
|
-
return this.
|
|
512
|
+
protoOf(JsonObject).z34 = function (key) {
|
|
513
|
+
return this.y62_1.x2(key);
|
|
529
514
|
};
|
|
530
515
|
protoOf(JsonObject).x2 = function (key) {
|
|
531
516
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
532
517
|
return false;
|
|
533
|
-
return this.
|
|
518
|
+
return this.z34((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
534
519
|
};
|
|
535
|
-
protoOf(JsonObject).
|
|
536
|
-
return this.
|
|
520
|
+
protoOf(JsonObject).z62 = function (value) {
|
|
521
|
+
return this.y62_1.y2(value);
|
|
537
522
|
};
|
|
538
523
|
protoOf(JsonObject).y2 = function (value) {
|
|
539
524
|
if (!(value instanceof JsonElement))
|
|
540
525
|
return false;
|
|
541
|
-
return this.
|
|
526
|
+
return this.z62(value instanceof JsonElement ? value : THROW_CCE());
|
|
542
527
|
};
|
|
543
|
-
protoOf(JsonObject).
|
|
544
|
-
return this.
|
|
528
|
+
protoOf(JsonObject).b35 = function (key) {
|
|
529
|
+
return this.y62_1.z2(key);
|
|
545
530
|
};
|
|
546
531
|
protoOf(JsonObject).z2 = function (key) {
|
|
547
532
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
548
533
|
return null;
|
|
549
|
-
return this.
|
|
534
|
+
return this.b35((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
550
535
|
};
|
|
551
536
|
protoOf(JsonObject).asJsReadonlyMapView = function () {
|
|
552
|
-
return this.
|
|
537
|
+
return this.y62_1.asJsReadonlyMapView();
|
|
553
538
|
};
|
|
554
539
|
protoOf(JsonObject).g1 = function () {
|
|
555
|
-
return this.
|
|
540
|
+
return this.y62_1.g1();
|
|
556
541
|
};
|
|
557
542
|
protoOf(JsonObject).a3 = function () {
|
|
558
|
-
return this.
|
|
543
|
+
return this.y62_1.a3();
|
|
559
544
|
};
|
|
560
545
|
protoOf(JsonObject).b3 = function () {
|
|
561
|
-
return this.
|
|
546
|
+
return this.y62_1.b3();
|
|
562
547
|
};
|
|
563
548
|
protoOf(JsonObject).l1 = function () {
|
|
564
|
-
return this.
|
|
549
|
+
return this.y62_1.l1();
|
|
565
550
|
};
|
|
566
551
|
function Companion_2() {
|
|
567
552
|
}
|
|
@@ -571,87 +556,87 @@
|
|
|
571
556
|
}
|
|
572
557
|
function JsonArray(content) {
|
|
573
558
|
JsonElement.call(this);
|
|
574
|
-
this.
|
|
559
|
+
this.a63_1 = content;
|
|
575
560
|
}
|
|
576
561
|
protoOf(JsonArray).equals = function (other) {
|
|
577
|
-
return equals(this.
|
|
562
|
+
return equals(this.a63_1, other);
|
|
578
563
|
};
|
|
579
564
|
protoOf(JsonArray).hashCode = function () {
|
|
580
|
-
return hashCode(this.
|
|
565
|
+
return hashCode(this.a63_1);
|
|
581
566
|
};
|
|
582
567
|
protoOf(JsonArray).toString = function () {
|
|
583
|
-
return joinToString(this.
|
|
568
|
+
return joinToString(this.a63_1, ',', '[', ']');
|
|
584
569
|
};
|
|
585
570
|
protoOf(JsonArray).r = function () {
|
|
586
|
-
return this.
|
|
571
|
+
return this.a63_1.r();
|
|
587
572
|
};
|
|
588
|
-
protoOf(JsonArray).
|
|
589
|
-
return this.
|
|
573
|
+
protoOf(JsonArray).b63 = function (element) {
|
|
574
|
+
return this.a63_1.q2(element);
|
|
590
575
|
};
|
|
591
576
|
protoOf(JsonArray).q2 = function (element) {
|
|
592
577
|
if (!(element instanceof JsonElement))
|
|
593
578
|
return false;
|
|
594
|
-
return this.
|
|
579
|
+
return this.b63(element instanceof JsonElement ? element : THROW_CCE());
|
|
595
580
|
};
|
|
596
581
|
protoOf(JsonArray).t = function () {
|
|
597
|
-
return this.
|
|
582
|
+
return this.a63_1.t();
|
|
598
583
|
};
|
|
599
|
-
protoOf(JsonArray).
|
|
600
|
-
return this.
|
|
584
|
+
protoOf(JsonArray).c63 = function (elements) {
|
|
585
|
+
return this.a63_1.r2(elements);
|
|
601
586
|
};
|
|
602
587
|
protoOf(JsonArray).r2 = function (elements) {
|
|
603
|
-
return this.
|
|
588
|
+
return this.c63(elements);
|
|
604
589
|
};
|
|
605
590
|
protoOf(JsonArray).h1 = function (index) {
|
|
606
|
-
return this.
|
|
591
|
+
return this.a63_1.h1(index);
|
|
607
592
|
};
|
|
608
|
-
protoOf(JsonArray).
|
|
609
|
-
return this.
|
|
593
|
+
protoOf(JsonArray).d63 = function (element) {
|
|
594
|
+
return this.a63_1.s2(element);
|
|
610
595
|
};
|
|
611
596
|
protoOf(JsonArray).s2 = function (element) {
|
|
612
597
|
if (!(element instanceof JsonElement))
|
|
613
598
|
return -1;
|
|
614
|
-
return this.
|
|
599
|
+
return this.d63(element instanceof JsonElement ? element : THROW_CCE());
|
|
615
600
|
};
|
|
616
|
-
protoOf(JsonArray).
|
|
617
|
-
return this.
|
|
601
|
+
protoOf(JsonArray).e63 = function (element) {
|
|
602
|
+
return this.a63_1.t2(element);
|
|
618
603
|
};
|
|
619
604
|
protoOf(JsonArray).t2 = function (element) {
|
|
620
605
|
if (!(element instanceof JsonElement))
|
|
621
606
|
return -1;
|
|
622
|
-
return this.
|
|
607
|
+
return this.e63(element instanceof JsonElement ? element : THROW_CCE());
|
|
623
608
|
};
|
|
624
609
|
protoOf(JsonArray).u2 = function () {
|
|
625
|
-
return this.
|
|
610
|
+
return this.a63_1.u2();
|
|
626
611
|
};
|
|
627
612
|
protoOf(JsonArray).i1 = function (index) {
|
|
628
|
-
return this.
|
|
613
|
+
return this.a63_1.i1(index);
|
|
629
614
|
};
|
|
630
615
|
protoOf(JsonArray).v2 = function (fromIndex, toIndex) {
|
|
631
|
-
return this.
|
|
616
|
+
return this.a63_1.v2(fromIndex, toIndex);
|
|
632
617
|
};
|
|
633
618
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
634
|
-
return this.
|
|
619
|
+
return this.a63_1.asJsReadonlyArrayView();
|
|
635
620
|
};
|
|
636
621
|
protoOf(JsonArray).g1 = function () {
|
|
637
|
-
return this.
|
|
622
|
+
return this.a63_1.g1();
|
|
638
623
|
};
|
|
639
624
|
function JsonNull() {
|
|
640
625
|
JsonNull_instance = this;
|
|
641
626
|
JsonPrimitive.call(this);
|
|
642
|
-
this.
|
|
627
|
+
this.f63_1 = 'null';
|
|
643
628
|
}
|
|
644
|
-
protoOf(JsonNull).
|
|
629
|
+
protoOf(JsonNull).x62 = function () {
|
|
645
630
|
return false;
|
|
646
631
|
};
|
|
647
|
-
protoOf(JsonNull).
|
|
648
|
-
return this.
|
|
632
|
+
protoOf(JsonNull).z4b = function () {
|
|
633
|
+
return this.f63_1;
|
|
649
634
|
};
|
|
650
|
-
protoOf(JsonNull).
|
|
635
|
+
protoOf(JsonNull).g63 = function () {
|
|
651
636
|
return JsonNullSerializer_getInstance();
|
|
652
637
|
};
|
|
653
638
|
protoOf(JsonNull).v14 = function (typeParamsSerializers) {
|
|
654
|
-
return this.
|
|
639
|
+
return this.g63();
|
|
655
640
|
};
|
|
656
641
|
var JsonNull_instance;
|
|
657
642
|
function JsonNull_getInstance() {
|
|
@@ -662,34 +647,34 @@
|
|
|
662
647
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
663
648
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
664
649
|
JsonPrimitive.call(this);
|
|
665
|
-
this.
|
|
666
|
-
this.
|
|
667
|
-
this.
|
|
668
|
-
if (!(this.
|
|
650
|
+
this.h63_1 = isString;
|
|
651
|
+
this.i63_1 = coerceToInlineType;
|
|
652
|
+
this.j63_1 = toString(body);
|
|
653
|
+
if (!(this.i63_1 == null)) {
|
|
669
654
|
// Inline function 'kotlin.require' call
|
|
670
655
|
// Inline function 'kotlin.require' call
|
|
671
|
-
if (!this.
|
|
656
|
+
if (!this.i63_1.ou()) {
|
|
672
657
|
var message = 'Failed requirement.';
|
|
673
658
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
674
659
|
}
|
|
675
660
|
}
|
|
676
661
|
}
|
|
677
|
-
protoOf(JsonLiteral).
|
|
678
|
-
return this.
|
|
662
|
+
protoOf(JsonLiteral).x62 = function () {
|
|
663
|
+
return this.h63_1;
|
|
679
664
|
};
|
|
680
|
-
protoOf(JsonLiteral).
|
|
681
|
-
return this.
|
|
665
|
+
protoOf(JsonLiteral).z4b = function () {
|
|
666
|
+
return this.j63_1;
|
|
682
667
|
};
|
|
683
668
|
protoOf(JsonLiteral).toString = function () {
|
|
684
669
|
var tmp;
|
|
685
|
-
if (this.
|
|
670
|
+
if (this.h63_1) {
|
|
686
671
|
// Inline function 'kotlin.text.buildString' call
|
|
687
672
|
// Inline function 'kotlin.apply' call
|
|
688
673
|
var this_0 = StringBuilder_init_$Create$();
|
|
689
|
-
printQuoted(this_0, this.
|
|
674
|
+
printQuoted(this_0, this.j63_1);
|
|
690
675
|
tmp = this_0.toString();
|
|
691
676
|
} else {
|
|
692
|
-
tmp = this.
|
|
677
|
+
tmp = this.j63_1;
|
|
693
678
|
}
|
|
694
679
|
return tmp;
|
|
695
680
|
};
|
|
@@ -700,36 +685,36 @@
|
|
|
700
685
|
return false;
|
|
701
686
|
if (!(other instanceof JsonLiteral))
|
|
702
687
|
THROW_CCE();
|
|
703
|
-
if (!(this.
|
|
688
|
+
if (!(this.h63_1 === other.h63_1))
|
|
704
689
|
return false;
|
|
705
|
-
if (!(this.
|
|
690
|
+
if (!(this.j63_1 === other.j63_1))
|
|
706
691
|
return false;
|
|
707
692
|
return true;
|
|
708
693
|
};
|
|
709
694
|
protoOf(JsonLiteral).hashCode = function () {
|
|
710
|
-
var result = getBooleanHashCode(this.
|
|
711
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
695
|
+
var result = getBooleanHashCode(this.h63_1);
|
|
696
|
+
result = imul(31, result) + getStringHashCode(this.j63_1) | 0;
|
|
712
697
|
return result;
|
|
713
698
|
};
|
|
714
699
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
715
700
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
716
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
701
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.z4b());
|
|
717
702
|
}
|
|
718
703
|
function parseLongImpl(_this__u8e3s4) {
|
|
719
704
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
720
|
-
return (new StringJsonLexer(_this__u8e3s4.
|
|
705
|
+
return (new StringJsonLexer(_this__u8e3s4.z4b())).k63();
|
|
721
706
|
}
|
|
722
707
|
function get_float(_this__u8e3s4) {
|
|
723
708
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
724
709
|
// Inline function 'kotlin.text.toFloat' call
|
|
725
|
-
var this_0 = _this__u8e3s4.
|
|
710
|
+
var this_0 = _this__u8e3s4.z4b();
|
|
726
711
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
727
712
|
// Inline function 'kotlin.js.asDynamic' call
|
|
728
713
|
return toDouble(this_0);
|
|
729
714
|
}
|
|
730
715
|
function get_double(_this__u8e3s4) {
|
|
731
716
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
732
|
-
return toDouble(_this__u8e3s4.
|
|
717
|
+
return toDouble(_this__u8e3s4.z4b());
|
|
733
718
|
}
|
|
734
719
|
function get_contentOrNull(_this__u8e3s4) {
|
|
735
720
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -737,7 +722,7 @@
|
|
|
737
722
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
738
723
|
tmp = null;
|
|
739
724
|
} else {
|
|
740
|
-
tmp = _this__u8e3s4.
|
|
725
|
+
tmp = _this__u8e3s4.z4b();
|
|
741
726
|
}
|
|
742
727
|
return tmp;
|
|
743
728
|
}
|
|
@@ -783,13 +768,13 @@
|
|
|
783
768
|
function JsonObjectBuilder() {
|
|
784
769
|
var tmp = this;
|
|
785
770
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
786
|
-
tmp.
|
|
771
|
+
tmp.l63_1 = LinkedHashMap_init_$Create$();
|
|
787
772
|
}
|
|
788
|
-
protoOf(JsonObjectBuilder).
|
|
789
|
-
return this.
|
|
773
|
+
protoOf(JsonObjectBuilder).m63 = function (key, element) {
|
|
774
|
+
return this.l63_1.c3(key, element);
|
|
790
775
|
};
|
|
791
|
-
protoOf(JsonObjectBuilder).
|
|
792
|
-
return new JsonObject(this.
|
|
776
|
+
protoOf(JsonObjectBuilder).d62 = function () {
|
|
777
|
+
return new JsonObject(this.l63_1);
|
|
793
778
|
};
|
|
794
779
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
795
780
|
$this$buildSerialDescriptor.it('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
@@ -800,30 +785,30 @@
|
|
|
800
785
|
return Unit_instance;
|
|
801
786
|
}
|
|
802
787
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
803
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
788
|
+
return JsonPrimitiveSerializer_getInstance().n63_1;
|
|
804
789
|
}
|
|
805
790
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
806
|
-
return JsonNullSerializer_getInstance().
|
|
791
|
+
return JsonNullSerializer_getInstance().o63_1;
|
|
807
792
|
}
|
|
808
793
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
809
|
-
return JsonLiteralSerializer_getInstance().
|
|
794
|
+
return JsonLiteralSerializer_getInstance().p63_1;
|
|
810
795
|
}
|
|
811
796
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
812
|
-
return JsonObjectSerializer_getInstance().
|
|
797
|
+
return JsonObjectSerializer_getInstance().q63_1;
|
|
813
798
|
}
|
|
814
799
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
815
|
-
return JsonArraySerializer_getInstance().
|
|
800
|
+
return JsonArraySerializer_getInstance().r63_1;
|
|
816
801
|
}
|
|
817
802
|
function JsonElementSerializer() {
|
|
818
803
|
JsonElementSerializer_instance = this;
|
|
819
804
|
var tmp = this;
|
|
820
805
|
var tmp_0 = SEALED_getInstance();
|
|
821
|
-
tmp.
|
|
806
|
+
tmp.s63_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
822
807
|
}
|
|
823
808
|
protoOf(JsonElementSerializer).ps = function () {
|
|
824
|
-
return this.
|
|
809
|
+
return this.s63_1;
|
|
825
810
|
};
|
|
826
|
-
protoOf(JsonElementSerializer).
|
|
811
|
+
protoOf(JsonElementSerializer).t63 = function (encoder, value) {
|
|
827
812
|
verify(encoder);
|
|
828
813
|
if (value instanceof JsonPrimitive) {
|
|
829
814
|
encoder.bt(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -840,11 +825,11 @@
|
|
|
840
825
|
}
|
|
841
826
|
};
|
|
842
827
|
protoOf(JsonElementSerializer).ct = function (encoder, value) {
|
|
843
|
-
return this.
|
|
828
|
+
return this.t63(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
844
829
|
};
|
|
845
830
|
protoOf(JsonElementSerializer).dt = function (decoder) {
|
|
846
831
|
var input = asJsonDecoder(decoder);
|
|
847
|
-
return input.
|
|
832
|
+
return input.w62();
|
|
848
833
|
};
|
|
849
834
|
var JsonElementSerializer_instance;
|
|
850
835
|
function JsonElementSerializer_getInstance() {
|
|
@@ -857,12 +842,12 @@
|
|
|
857
842
|
}
|
|
858
843
|
function JsonPrimitiveSerializer() {
|
|
859
844
|
JsonPrimitiveSerializer_instance = this;
|
|
860
|
-
this.
|
|
845
|
+
this.n63_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
861
846
|
}
|
|
862
847
|
protoOf(JsonPrimitiveSerializer).ps = function () {
|
|
863
|
-
return this.
|
|
848
|
+
return this.n63_1;
|
|
864
849
|
};
|
|
865
|
-
protoOf(JsonPrimitiveSerializer).
|
|
850
|
+
protoOf(JsonPrimitiveSerializer).u63 = function (encoder, value) {
|
|
866
851
|
verify(encoder);
|
|
867
852
|
var tmp;
|
|
868
853
|
if (value instanceof JsonNull) {
|
|
@@ -876,10 +861,10 @@
|
|
|
876
861
|
return tmp;
|
|
877
862
|
};
|
|
878
863
|
protoOf(JsonPrimitiveSerializer).ct = function (encoder, value) {
|
|
879
|
-
return this.
|
|
864
|
+
return this.u63(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
880
865
|
};
|
|
881
866
|
protoOf(JsonPrimitiveSerializer).dt = function (decoder) {
|
|
882
|
-
var result = asJsonDecoder(decoder).
|
|
867
|
+
var result = asJsonDecoder(decoder).w62();
|
|
883
868
|
if (!(result instanceof JsonPrimitive))
|
|
884
869
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
885
870
|
return result;
|
|
@@ -892,17 +877,17 @@
|
|
|
892
877
|
}
|
|
893
878
|
function JsonNullSerializer() {
|
|
894
879
|
JsonNullSerializer_instance = this;
|
|
895
|
-
this.
|
|
880
|
+
this.o63_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
896
881
|
}
|
|
897
882
|
protoOf(JsonNullSerializer).ps = function () {
|
|
898
|
-
return this.
|
|
883
|
+
return this.o63_1;
|
|
899
884
|
};
|
|
900
|
-
protoOf(JsonNullSerializer).
|
|
885
|
+
protoOf(JsonNullSerializer).v63 = function (encoder, value) {
|
|
901
886
|
verify(encoder);
|
|
902
887
|
encoder.zw();
|
|
903
888
|
};
|
|
904
889
|
protoOf(JsonNullSerializer).ct = function (encoder, value) {
|
|
905
|
-
return this.
|
|
890
|
+
return this.v63(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
906
891
|
};
|
|
907
892
|
protoOf(JsonNullSerializer).dt = function (decoder) {
|
|
908
893
|
verify_0(decoder);
|
|
@@ -920,27 +905,27 @@
|
|
|
920
905
|
}
|
|
921
906
|
function JsonLiteralSerializer() {
|
|
922
907
|
JsonLiteralSerializer_instance = this;
|
|
923
|
-
this.
|
|
908
|
+
this.p63_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
924
909
|
}
|
|
925
910
|
protoOf(JsonLiteralSerializer).ps = function () {
|
|
926
|
-
return this.
|
|
911
|
+
return this.p63_1;
|
|
927
912
|
};
|
|
928
|
-
protoOf(JsonLiteralSerializer).
|
|
913
|
+
protoOf(JsonLiteralSerializer).w63 = function (encoder, value) {
|
|
929
914
|
verify(encoder);
|
|
930
|
-
if (value.
|
|
931
|
-
return encoder.ix(value.
|
|
915
|
+
if (value.h63_1) {
|
|
916
|
+
return encoder.ix(value.j63_1);
|
|
932
917
|
}
|
|
933
|
-
if (!(value.
|
|
934
|
-
return encoder.kx(value.
|
|
918
|
+
if (!(value.i63_1 == null)) {
|
|
919
|
+
return encoder.kx(value.i63_1).ix(value.j63_1);
|
|
935
920
|
}
|
|
936
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
921
|
+
var tmp0_safe_receiver = toLongOrNull(value.j63_1);
|
|
937
922
|
if (tmp0_safe_receiver == null)
|
|
938
923
|
null;
|
|
939
924
|
else {
|
|
940
925
|
// Inline function 'kotlin.let' call
|
|
941
926
|
return encoder.ex(tmp0_safe_receiver);
|
|
942
927
|
}
|
|
943
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
928
|
+
var tmp1_safe_receiver = toULongOrNull(value.j63_1);
|
|
944
929
|
var tmp = tmp1_safe_receiver;
|
|
945
930
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
946
931
|
null;
|
|
@@ -954,27 +939,27 @@
|
|
|
954
939
|
tmp_1.ex(tmp$ret$1);
|
|
955
940
|
return Unit_instance;
|
|
956
941
|
}
|
|
957
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
942
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.j63_1);
|
|
958
943
|
if (tmp2_safe_receiver == null)
|
|
959
944
|
null;
|
|
960
945
|
else {
|
|
961
946
|
// Inline function 'kotlin.let' call
|
|
962
947
|
return encoder.gx(tmp2_safe_receiver);
|
|
963
948
|
}
|
|
964
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
949
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.j63_1);
|
|
965
950
|
if (tmp3_safe_receiver == null)
|
|
966
951
|
null;
|
|
967
952
|
else {
|
|
968
953
|
// Inline function 'kotlin.let' call
|
|
969
954
|
return encoder.ax(tmp3_safe_receiver);
|
|
970
955
|
}
|
|
971
|
-
encoder.ix(value.
|
|
956
|
+
encoder.ix(value.j63_1);
|
|
972
957
|
};
|
|
973
958
|
protoOf(JsonLiteralSerializer).ct = function (encoder, value) {
|
|
974
|
-
return this.
|
|
959
|
+
return this.w63(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
975
960
|
};
|
|
976
961
|
protoOf(JsonLiteralSerializer).dt = function (decoder) {
|
|
977
|
-
var result = asJsonDecoder(decoder).
|
|
962
|
+
var result = asJsonDecoder(decoder).w62();
|
|
978
963
|
if (!(result instanceof JsonLiteral))
|
|
979
964
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
980
965
|
return result;
|
|
@@ -987,41 +972,41 @@
|
|
|
987
972
|
}
|
|
988
973
|
function JsonObjectDescriptor() {
|
|
989
974
|
JsonObjectDescriptor_instance = this;
|
|
990
|
-
this.
|
|
991
|
-
this.
|
|
975
|
+
this.x63_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ps();
|
|
976
|
+
this.y63_1 = 'kotlinx.serialization.json.JsonObject';
|
|
992
977
|
}
|
|
993
978
|
protoOf(JsonObjectDescriptor).ut = function () {
|
|
994
|
-
return this.
|
|
979
|
+
return this.y63_1;
|
|
995
980
|
};
|
|
996
981
|
protoOf(JsonObjectDescriptor).qu = function (index) {
|
|
997
|
-
return this.
|
|
982
|
+
return this.x63_1.qu(index);
|
|
998
983
|
};
|
|
999
984
|
protoOf(JsonObjectDescriptor).ru = function (name) {
|
|
1000
|
-
return this.
|
|
985
|
+
return this.x63_1.ru(name);
|
|
1001
986
|
};
|
|
1002
987
|
protoOf(JsonObjectDescriptor).su = function (index) {
|
|
1003
|
-
return this.
|
|
988
|
+
return this.x63_1.su(index);
|
|
1004
989
|
};
|
|
1005
990
|
protoOf(JsonObjectDescriptor).tu = function (index) {
|
|
1006
|
-
return this.
|
|
991
|
+
return this.x63_1.tu(index);
|
|
1007
992
|
};
|
|
1008
993
|
protoOf(JsonObjectDescriptor).uu = function (index) {
|
|
1009
|
-
return this.
|
|
994
|
+
return this.x63_1.uu(index);
|
|
1010
995
|
};
|
|
1011
996
|
protoOf(JsonObjectDescriptor).nu = function () {
|
|
1012
|
-
return this.
|
|
997
|
+
return this.x63_1.nu();
|
|
1013
998
|
};
|
|
1014
999
|
protoOf(JsonObjectDescriptor).gu = function () {
|
|
1015
|
-
return this.
|
|
1000
|
+
return this.x63_1.gu();
|
|
1016
1001
|
};
|
|
1017
1002
|
protoOf(JsonObjectDescriptor).ou = function () {
|
|
1018
|
-
return this.
|
|
1003
|
+
return this.x63_1.ou();
|
|
1019
1004
|
};
|
|
1020
1005
|
protoOf(JsonObjectDescriptor).pu = function () {
|
|
1021
|
-
return this.
|
|
1006
|
+
return this.x63_1.pu();
|
|
1022
1007
|
};
|
|
1023
1008
|
protoOf(JsonObjectDescriptor).qs = function () {
|
|
1024
|
-
return this.
|
|
1009
|
+
return this.x63_1.qs();
|
|
1025
1010
|
};
|
|
1026
1011
|
var JsonObjectDescriptor_instance;
|
|
1027
1012
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -1031,17 +1016,17 @@
|
|
|
1031
1016
|
}
|
|
1032
1017
|
function JsonObjectSerializer() {
|
|
1033
1018
|
JsonObjectSerializer_instance = this;
|
|
1034
|
-
this.
|
|
1019
|
+
this.q63_1 = JsonObjectDescriptor_getInstance();
|
|
1035
1020
|
}
|
|
1036
1021
|
protoOf(JsonObjectSerializer).ps = function () {
|
|
1037
|
-
return this.
|
|
1022
|
+
return this.q63_1;
|
|
1038
1023
|
};
|
|
1039
|
-
protoOf(JsonObjectSerializer).
|
|
1024
|
+
protoOf(JsonObjectSerializer).z63 = function (encoder, value) {
|
|
1040
1025
|
verify(encoder);
|
|
1041
1026
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ct(encoder, value);
|
|
1042
1027
|
};
|
|
1043
1028
|
protoOf(JsonObjectSerializer).ct = function (encoder, value) {
|
|
1044
|
-
return this.
|
|
1029
|
+
return this.z63(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
1045
1030
|
};
|
|
1046
1031
|
protoOf(JsonObjectSerializer).dt = function (decoder) {
|
|
1047
1032
|
verify_0(decoder);
|
|
@@ -1055,41 +1040,41 @@
|
|
|
1055
1040
|
}
|
|
1056
1041
|
function JsonArrayDescriptor() {
|
|
1057
1042
|
JsonArrayDescriptor_instance = this;
|
|
1058
|
-
this.
|
|
1059
|
-
this.
|
|
1043
|
+
this.a64_1 = ListSerializer(JsonElementSerializer_getInstance()).ps();
|
|
1044
|
+
this.b64_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1060
1045
|
}
|
|
1061
1046
|
protoOf(JsonArrayDescriptor).ut = function () {
|
|
1062
|
-
return this.
|
|
1047
|
+
return this.b64_1;
|
|
1063
1048
|
};
|
|
1064
1049
|
protoOf(JsonArrayDescriptor).qu = function (index) {
|
|
1065
|
-
return this.
|
|
1050
|
+
return this.a64_1.qu(index);
|
|
1066
1051
|
};
|
|
1067
1052
|
protoOf(JsonArrayDescriptor).ru = function (name) {
|
|
1068
|
-
return this.
|
|
1053
|
+
return this.a64_1.ru(name);
|
|
1069
1054
|
};
|
|
1070
1055
|
protoOf(JsonArrayDescriptor).su = function (index) {
|
|
1071
|
-
return this.
|
|
1056
|
+
return this.a64_1.su(index);
|
|
1072
1057
|
};
|
|
1073
1058
|
protoOf(JsonArrayDescriptor).tu = function (index) {
|
|
1074
|
-
return this.
|
|
1059
|
+
return this.a64_1.tu(index);
|
|
1075
1060
|
};
|
|
1076
1061
|
protoOf(JsonArrayDescriptor).uu = function (index) {
|
|
1077
|
-
return this.
|
|
1062
|
+
return this.a64_1.uu(index);
|
|
1078
1063
|
};
|
|
1079
1064
|
protoOf(JsonArrayDescriptor).nu = function () {
|
|
1080
|
-
return this.
|
|
1065
|
+
return this.a64_1.nu();
|
|
1081
1066
|
};
|
|
1082
1067
|
protoOf(JsonArrayDescriptor).gu = function () {
|
|
1083
|
-
return this.
|
|
1068
|
+
return this.a64_1.gu();
|
|
1084
1069
|
};
|
|
1085
1070
|
protoOf(JsonArrayDescriptor).ou = function () {
|
|
1086
|
-
return this.
|
|
1071
|
+
return this.a64_1.ou();
|
|
1087
1072
|
};
|
|
1088
1073
|
protoOf(JsonArrayDescriptor).pu = function () {
|
|
1089
|
-
return this.
|
|
1074
|
+
return this.a64_1.pu();
|
|
1090
1075
|
};
|
|
1091
1076
|
protoOf(JsonArrayDescriptor).qs = function () {
|
|
1092
|
-
return this.
|
|
1077
|
+
return this.a64_1.qs();
|
|
1093
1078
|
};
|
|
1094
1079
|
var JsonArrayDescriptor_instance;
|
|
1095
1080
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -1099,17 +1084,17 @@
|
|
|
1099
1084
|
}
|
|
1100
1085
|
function JsonArraySerializer() {
|
|
1101
1086
|
JsonArraySerializer_instance = this;
|
|
1102
|
-
this.
|
|
1087
|
+
this.r63_1 = JsonArrayDescriptor_getInstance();
|
|
1103
1088
|
}
|
|
1104
1089
|
protoOf(JsonArraySerializer).ps = function () {
|
|
1105
|
-
return this.
|
|
1090
|
+
return this.r63_1;
|
|
1106
1091
|
};
|
|
1107
|
-
protoOf(JsonArraySerializer).
|
|
1092
|
+
protoOf(JsonArraySerializer).c64 = function (encoder, value) {
|
|
1108
1093
|
verify(encoder);
|
|
1109
1094
|
ListSerializer(JsonElementSerializer_getInstance()).ct(encoder, value);
|
|
1110
1095
|
};
|
|
1111
1096
|
protoOf(JsonArraySerializer).ct = function (encoder, value) {
|
|
1112
|
-
return this.
|
|
1097
|
+
return this.c64(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1113
1098
|
};
|
|
1114
1099
|
protoOf(JsonArraySerializer).dt = function (decoder) {
|
|
1115
1100
|
verify_0(decoder);
|
|
@@ -1148,7 +1133,7 @@
|
|
|
1148
1133
|
return tmp;
|
|
1149
1134
|
}
|
|
1150
1135
|
function _get_original__l7ku1m($this) {
|
|
1151
|
-
var tmp0 = $this.
|
|
1136
|
+
var tmp0 = $this.d64_1;
|
|
1152
1137
|
var tmp = KProperty1;
|
|
1153
1138
|
// Inline function 'kotlin.getValue' call
|
|
1154
1139
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -1160,7 +1145,7 @@
|
|
|
1160
1145
|
};
|
|
1161
1146
|
}
|
|
1162
1147
|
function defer$1($deferred) {
|
|
1163
|
-
this.
|
|
1148
|
+
this.d64_1 = lazy($deferred);
|
|
1164
1149
|
}
|
|
1165
1150
|
protoOf(defer$1).ut = function () {
|
|
1166
1151
|
return _get_original__l7ku1m(this).ut();
|
|
@@ -1189,155 +1174,155 @@
|
|
|
1189
1174
|
function JsonEncoder() {
|
|
1190
1175
|
}
|
|
1191
1176
|
function Composer(writer) {
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1177
|
+
this.e64_1 = writer;
|
|
1178
|
+
this.f64_1 = true;
|
|
1194
1179
|
}
|
|
1195
|
-
protoOf(Composer).
|
|
1196
|
-
this.
|
|
1180
|
+
protoOf(Composer).g64 = function () {
|
|
1181
|
+
this.f64_1 = true;
|
|
1197
1182
|
};
|
|
1198
|
-
protoOf(Composer).
|
|
1183
|
+
protoOf(Composer).h64 = function () {
|
|
1199
1184
|
return Unit_instance;
|
|
1200
1185
|
};
|
|
1201
|
-
protoOf(Composer).
|
|
1202
|
-
this.
|
|
1186
|
+
protoOf(Composer).i64 = function () {
|
|
1187
|
+
this.f64_1 = false;
|
|
1203
1188
|
};
|
|
1204
|
-
protoOf(Composer).
|
|
1205
|
-
this.
|
|
1189
|
+
protoOf(Composer).j64 = function () {
|
|
1190
|
+
this.f64_1 = false;
|
|
1206
1191
|
};
|
|
1207
|
-
protoOf(Composer).
|
|
1192
|
+
protoOf(Composer).k64 = function () {
|
|
1208
1193
|
return Unit_instance;
|
|
1209
1194
|
};
|
|
1210
|
-
protoOf(Composer).
|
|
1211
|
-
return this.
|
|
1195
|
+
protoOf(Composer).l64 = function (v) {
|
|
1196
|
+
return this.e64_1.m64(v);
|
|
1212
1197
|
};
|
|
1213
|
-
protoOf(Composer).
|
|
1214
|
-
return this.
|
|
1198
|
+
protoOf(Composer).n64 = function (v) {
|
|
1199
|
+
return this.e64_1.o64(v);
|
|
1215
1200
|
};
|
|
1216
|
-
protoOf(Composer).
|
|
1217
|
-
return this.
|
|
1201
|
+
protoOf(Composer).p64 = function (v) {
|
|
1202
|
+
return this.e64_1.o64(v.toString());
|
|
1218
1203
|
};
|
|
1219
|
-
protoOf(Composer).
|
|
1220
|
-
return this.
|
|
1204
|
+
protoOf(Composer).q64 = function (v) {
|
|
1205
|
+
return this.e64_1.o64(v.toString());
|
|
1221
1206
|
};
|
|
1222
|
-
protoOf(Composer).
|
|
1223
|
-
return this.
|
|
1207
|
+
protoOf(Composer).r64 = function (v) {
|
|
1208
|
+
return this.e64_1.s64(fromInt(v));
|
|
1224
1209
|
};
|
|
1225
|
-
protoOf(Composer).
|
|
1226
|
-
return this.
|
|
1210
|
+
protoOf(Composer).t64 = function (v) {
|
|
1211
|
+
return this.e64_1.s64(fromInt(v));
|
|
1227
1212
|
};
|
|
1228
|
-
protoOf(Composer).
|
|
1229
|
-
return this.
|
|
1213
|
+
protoOf(Composer).u64 = function (v) {
|
|
1214
|
+
return this.e64_1.s64(fromInt(v));
|
|
1230
1215
|
};
|
|
1231
|
-
protoOf(Composer).
|
|
1232
|
-
return this.
|
|
1216
|
+
protoOf(Composer).v64 = function (v) {
|
|
1217
|
+
return this.e64_1.s64(v);
|
|
1233
1218
|
};
|
|
1234
|
-
protoOf(Composer).
|
|
1235
|
-
return this.
|
|
1219
|
+
protoOf(Composer).w64 = function (v) {
|
|
1220
|
+
return this.e64_1.o64(v.toString());
|
|
1236
1221
|
};
|
|
1237
|
-
protoOf(Composer).
|
|
1238
|
-
return this.
|
|
1222
|
+
protoOf(Composer).x64 = function (value) {
|
|
1223
|
+
return this.e64_1.y64(value);
|
|
1239
1224
|
};
|
|
1240
1225
|
function Composer_0(sb, json) {
|
|
1241
|
-
return json.
|
|
1226
|
+
return json.t60_1.i62_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1242
1227
|
}
|
|
1243
1228
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1244
1229
|
Composer.call(this, writer);
|
|
1245
|
-
this.
|
|
1230
|
+
this.b65_1 = forceQuoting;
|
|
1246
1231
|
}
|
|
1247
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1248
|
-
if (this.
|
|
1232
|
+
protoOf(ComposerForUnsignedNumbers).u64 = function (v) {
|
|
1233
|
+
if (this.b65_1) {
|
|
1249
1234
|
// Inline function 'kotlin.toUInt' call
|
|
1250
1235
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1251
|
-
this.
|
|
1236
|
+
this.x64(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1252
1237
|
} else {
|
|
1253
1238
|
// Inline function 'kotlin.toUInt' call
|
|
1254
1239
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1255
|
-
this.
|
|
1240
|
+
this.n64(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1256
1241
|
}
|
|
1257
1242
|
};
|
|
1258
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1259
|
-
if (this.
|
|
1243
|
+
protoOf(ComposerForUnsignedNumbers).v64 = function (v) {
|
|
1244
|
+
if (this.b65_1) {
|
|
1260
1245
|
// Inline function 'kotlin.toULong' call
|
|
1261
1246
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1262
|
-
this.
|
|
1247
|
+
this.x64(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1263
1248
|
} else {
|
|
1264
1249
|
// Inline function 'kotlin.toULong' call
|
|
1265
1250
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1266
|
-
this.
|
|
1251
|
+
this.n64(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1267
1252
|
}
|
|
1268
1253
|
};
|
|
1269
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1270
|
-
if (this.
|
|
1254
|
+
protoOf(ComposerForUnsignedNumbers).r64 = function (v) {
|
|
1255
|
+
if (this.b65_1) {
|
|
1271
1256
|
// Inline function 'kotlin.toUByte' call
|
|
1272
1257
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1273
|
-
this.
|
|
1258
|
+
this.x64(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1274
1259
|
} else {
|
|
1275
1260
|
// Inline function 'kotlin.toUByte' call
|
|
1276
1261
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1277
|
-
this.
|
|
1262
|
+
this.n64(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1278
1263
|
}
|
|
1279
1264
|
};
|
|
1280
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1281
|
-
if (this.
|
|
1265
|
+
protoOf(ComposerForUnsignedNumbers).t64 = function (v) {
|
|
1266
|
+
if (this.b65_1) {
|
|
1282
1267
|
// Inline function 'kotlin.toUShort' call
|
|
1283
1268
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1284
|
-
this.
|
|
1269
|
+
this.x64(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1285
1270
|
} else {
|
|
1286
1271
|
// Inline function 'kotlin.toUShort' call
|
|
1287
1272
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1288
|
-
this.
|
|
1273
|
+
this.n64(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1289
1274
|
}
|
|
1290
1275
|
};
|
|
1291
1276
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1292
1277
|
Composer.call(this, writer);
|
|
1293
|
-
this.
|
|
1278
|
+
this.e65_1 = forceQuoting;
|
|
1294
1279
|
}
|
|
1295
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1296
|
-
if (this.
|
|
1297
|
-
protoOf(Composer).
|
|
1280
|
+
protoOf(ComposerForUnquotedLiterals).x64 = function (value) {
|
|
1281
|
+
if (this.e65_1) {
|
|
1282
|
+
protoOf(Composer).x64.call(this, value);
|
|
1298
1283
|
} else {
|
|
1299
|
-
protoOf(Composer).
|
|
1284
|
+
protoOf(Composer).n64.call(this, value);
|
|
1300
1285
|
}
|
|
1301
1286
|
};
|
|
1302
1287
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1303
1288
|
Composer.call(this, writer);
|
|
1304
|
-
this.
|
|
1305
|
-
this.
|
|
1289
|
+
this.h65_1 = json;
|
|
1290
|
+
this.i65_1 = 0;
|
|
1306
1291
|
}
|
|
1307
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1308
|
-
this.
|
|
1309
|
-
this.
|
|
1292
|
+
protoOf(ComposerWithPrettyPrint).g64 = function () {
|
|
1293
|
+
this.f64_1 = true;
|
|
1294
|
+
this.i65_1 = this.i65_1 + 1 | 0;
|
|
1310
1295
|
};
|
|
1311
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1312
|
-
this.
|
|
1296
|
+
protoOf(ComposerWithPrettyPrint).h64 = function () {
|
|
1297
|
+
this.i65_1 = this.i65_1 - 1 | 0;
|
|
1313
1298
|
};
|
|
1314
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1315
|
-
this.
|
|
1316
|
-
this.
|
|
1299
|
+
protoOf(ComposerWithPrettyPrint).i64 = function () {
|
|
1300
|
+
this.f64_1 = false;
|
|
1301
|
+
this.n64('\n');
|
|
1317
1302
|
// Inline function 'kotlin.repeat' call
|
|
1318
|
-
var times = this.
|
|
1303
|
+
var times = this.i65_1;
|
|
1319
1304
|
var inductionVariable = 0;
|
|
1320
1305
|
if (inductionVariable < times)
|
|
1321
1306
|
do {
|
|
1322
1307
|
var index = inductionVariable;
|
|
1323
1308
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1324
|
-
this.
|
|
1309
|
+
this.n64(this.h65_1.t60_1.k62_1);
|
|
1325
1310
|
}
|
|
1326
1311
|
while (inductionVariable < times);
|
|
1327
1312
|
};
|
|
1328
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1329
|
-
if (this.
|
|
1330
|
-
this.
|
|
1313
|
+
protoOf(ComposerWithPrettyPrint).j64 = function () {
|
|
1314
|
+
if (this.f64_1)
|
|
1315
|
+
this.f64_1 = false;
|
|
1331
1316
|
else {
|
|
1332
|
-
this.
|
|
1317
|
+
this.i64();
|
|
1333
1318
|
}
|
|
1334
1319
|
};
|
|
1335
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1336
|
-
this.
|
|
1320
|
+
protoOf(ComposerWithPrettyPrint).k64 = function () {
|
|
1321
|
+
this.l64(_Char___init__impl__6a9atx(32));
|
|
1337
1322
|
};
|
|
1338
1323
|
function readIfAbsent($this, descriptor, index) {
|
|
1339
|
-
$this.
|
|
1340
|
-
return $this.
|
|
1324
|
+
$this.k65_1 = (!descriptor.uu(index) && descriptor.tu(index).gu());
|
|
1325
|
+
return $this.k65_1;
|
|
1341
1326
|
}
|
|
1342
1327
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
1343
1328
|
var l = function (_this__u8e3s4, p0_0) {
|
|
@@ -1349,14 +1334,14 @@
|
|
|
1349
1334
|
}
|
|
1350
1335
|
function JsonElementMarker(descriptor) {
|
|
1351
1336
|
var tmp = this;
|
|
1352
|
-
tmp.
|
|
1353
|
-
this.
|
|
1337
|
+
tmp.j65_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1338
|
+
this.k65_1 = false;
|
|
1354
1339
|
}
|
|
1355
|
-
protoOf(JsonElementMarker).
|
|
1356
|
-
this.
|
|
1340
|
+
protoOf(JsonElementMarker).l65 = function (index) {
|
|
1341
|
+
this.j65_1.l12(index);
|
|
1357
1342
|
};
|
|
1358
|
-
protoOf(JsonElementMarker).
|
|
1359
|
-
return this.
|
|
1343
|
+
protoOf(JsonElementMarker).m65 = function () {
|
|
1344
|
+
return this.j65_1.m12();
|
|
1360
1345
|
};
|
|
1361
1346
|
function JsonDecodingException(message) {
|
|
1362
1347
|
JsonException.call(this, message);
|
|
@@ -1395,10 +1380,10 @@
|
|
|
1395
1380
|
}
|
|
1396
1381
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1397
1382
|
entity = entity === VOID ? 'object' : entity;
|
|
1398
|
-
_this__u8e3s4.
|
|
1383
|
+
_this__u8e3s4.n65('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.g61_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1399
1384
|
}
|
|
1400
1385
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1401
|
-
_this__u8e3s4.
|
|
1386
|
+
_this__u8e3s4.o65('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1402
1387
|
}
|
|
1403
1388
|
function JsonEncodingException(message) {
|
|
1404
1389
|
JsonException.call(this, message);
|
|
@@ -1429,7 +1414,7 @@
|
|
|
1429
1414
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
1430
1415
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1431
1416
|
var tmp;
|
|
1432
|
-
if (json.
|
|
1417
|
+
if (json.t60_1.f62_1) {
|
|
1433
1418
|
tmp = true;
|
|
1434
1419
|
} else {
|
|
1435
1420
|
var tmp0 = _this__u8e3s4.qs();
|
|
@@ -1474,7 +1459,7 @@
|
|
|
1474
1459
|
var index = _this__u8e3s4.ru(name);
|
|
1475
1460
|
if (!(index === -3))
|
|
1476
1461
|
return index;
|
|
1477
|
-
if (!json.
|
|
1462
|
+
if (!json.t60_1.p62_1)
|
|
1478
1463
|
return index;
|
|
1479
1464
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1480
1465
|
}
|
|
@@ -1493,17 +1478,17 @@
|
|
|
1493
1478
|
}
|
|
1494
1479
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1495
1480
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1496
|
-
return equals(_this__u8e3s4.nu(), CLASS_getInstance()) ? json.
|
|
1481
|
+
return equals(_this__u8e3s4.nu(), CLASS_getInstance()) ? json.t60_1.q62_1 : null;
|
|
1497
1482
|
}
|
|
1498
1483
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1499
1484
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1500
1485
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1501
1486
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1502
|
-
return tmp.
|
|
1487
|
+
return tmp.q65(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1503
1488
|
}
|
|
1504
1489
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1505
1490
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1506
|
-
return _this__u8e3s4.
|
|
1491
|
+
return _this__u8e3s4.t60_1.r62_1 && equals(descriptor.nu(), ENUM_getInstance());
|
|
1507
1492
|
}
|
|
1508
1493
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1509
1494
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1514,7 +1499,7 @@
|
|
|
1514
1499
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1515
1500
|
var tmp = get_schemaCache(json);
|
|
1516
1501
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1517
|
-
return tmp.
|
|
1502
|
+
return tmp.q65(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1518
1503
|
}
|
|
1519
1504
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1520
1505
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1540,7 +1525,7 @@
|
|
|
1540
1525
|
}
|
|
1541
1526
|
}
|
|
1542
1527
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1543
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1528
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r65_1;
|
|
1544
1529
|
if (tmp1_safe_receiver == null)
|
|
1545
1530
|
null;
|
|
1546
1531
|
else {
|
|
@@ -1567,7 +1552,7 @@
|
|
|
1567
1552
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1568
1553
|
tmp_0 = _this__u8e3s4.qu(i).toLowerCase();
|
|
1569
1554
|
} else if (!(strategyForClasses == null)) {
|
|
1570
|
-
tmp_0 = strategyForClasses.
|
|
1555
|
+
tmp_0 = strategyForClasses.s65(_this__u8e3s4, i, _this__u8e3s4.qu(i));
|
|
1571
1556
|
} else {
|
|
1572
1557
|
tmp_0 = null;
|
|
1573
1558
|
}
|
|
@@ -1603,7 +1588,7 @@
|
|
|
1603
1588
|
while (tmp < tmp_0) {
|
|
1604
1589
|
var tmp_2 = tmp;
|
|
1605
1590
|
var baseName = $this_serializationNamesIndices.qu(tmp_2);
|
|
1606
|
-
tmp_1[tmp_2] = $strategy.
|
|
1591
|
+
tmp_1[tmp_2] = $strategy.s65($this_serializationNamesIndices, tmp_2, baseName);
|
|
1607
1592
|
tmp = tmp + 1 | 0;
|
|
1608
1593
|
}
|
|
1609
1594
|
return tmp_1;
|
|
@@ -1634,8 +1619,8 @@
|
|
|
1634
1619
|
return Tombstone_instance;
|
|
1635
1620
|
}
|
|
1636
1621
|
function resize($this) {
|
|
1637
|
-
var newSize = imul($this.
|
|
1638
|
-
$this.
|
|
1622
|
+
var newSize = imul($this.v65_1, 2);
|
|
1623
|
+
$this.t65_1 = copyOf($this.t65_1, newSize);
|
|
1639
1624
|
var tmp = 0;
|
|
1640
1625
|
var tmp_0 = new Int32Array(newSize);
|
|
1641
1626
|
while (tmp < newSize) {
|
|
@@ -1644,7 +1629,7 @@
|
|
|
1644
1629
|
}
|
|
1645
1630
|
var newIndices = tmp_0;
|
|
1646
1631
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1647
|
-
var this_0 = $this.
|
|
1632
|
+
var this_0 = $this.u65_1;
|
|
1648
1633
|
var endIndex = this_0.length;
|
|
1649
1634
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1650
1635
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1652,12 +1637,12 @@
|
|
|
1652
1637
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1653
1638
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1654
1639
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
1655
|
-
$this.
|
|
1640
|
+
$this.u65_1 = newIndices;
|
|
1656
1641
|
}
|
|
1657
1642
|
function JsonPath() {
|
|
1658
1643
|
var tmp = this;
|
|
1659
1644
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1660
|
-
tmp.
|
|
1645
|
+
tmp.t65_1 = Array(8);
|
|
1661
1646
|
var tmp_0 = this;
|
|
1662
1647
|
var tmp_1 = 0;
|
|
1663
1648
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1665,71 +1650,71 @@
|
|
|
1665
1650
|
tmp_2[tmp_1] = -1;
|
|
1666
1651
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1667
1652
|
}
|
|
1668
|
-
tmp_0.
|
|
1669
|
-
this.
|
|
1653
|
+
tmp_0.u65_1 = tmp_2;
|
|
1654
|
+
this.v65_1 = -1;
|
|
1670
1655
|
}
|
|
1671
|
-
protoOf(JsonPath).
|
|
1672
|
-
this.
|
|
1673
|
-
var depth = this.
|
|
1674
|
-
if (depth === this.
|
|
1656
|
+
protoOf(JsonPath).w65 = function (sd) {
|
|
1657
|
+
this.v65_1 = this.v65_1 + 1 | 0;
|
|
1658
|
+
var depth = this.v65_1;
|
|
1659
|
+
if (depth === this.t65_1.length) {
|
|
1675
1660
|
resize(this);
|
|
1676
1661
|
}
|
|
1677
|
-
this.
|
|
1662
|
+
this.t65_1[depth] = sd;
|
|
1678
1663
|
};
|
|
1679
|
-
protoOf(JsonPath).
|
|
1680
|
-
this.
|
|
1664
|
+
protoOf(JsonPath).x65 = function (index) {
|
|
1665
|
+
this.u65_1[this.v65_1] = index;
|
|
1681
1666
|
};
|
|
1682
|
-
protoOf(JsonPath).
|
|
1667
|
+
protoOf(JsonPath).y65 = function (key) {
|
|
1683
1668
|
var tmp;
|
|
1684
|
-
if (!(this.
|
|
1685
|
-
this.
|
|
1686
|
-
tmp = this.
|
|
1669
|
+
if (!(this.u65_1[this.v65_1] === -2)) {
|
|
1670
|
+
this.v65_1 = this.v65_1 + 1 | 0;
|
|
1671
|
+
tmp = this.v65_1 === this.t65_1.length;
|
|
1687
1672
|
} else {
|
|
1688
1673
|
tmp = false;
|
|
1689
1674
|
}
|
|
1690
1675
|
if (tmp) {
|
|
1691
1676
|
resize(this);
|
|
1692
1677
|
}
|
|
1693
|
-
this.
|
|
1694
|
-
this.
|
|
1678
|
+
this.t65_1[this.v65_1] = key;
|
|
1679
|
+
this.u65_1[this.v65_1] = -2;
|
|
1695
1680
|
};
|
|
1696
|
-
protoOf(JsonPath).
|
|
1697
|
-
if (this.
|
|
1698
|
-
this.
|
|
1681
|
+
protoOf(JsonPath).z65 = function () {
|
|
1682
|
+
if (this.u65_1[this.v65_1] === -2) {
|
|
1683
|
+
this.t65_1[this.v65_1] = Tombstone_instance;
|
|
1699
1684
|
}
|
|
1700
1685
|
};
|
|
1701
|
-
protoOf(JsonPath).
|
|
1702
|
-
var depth = this.
|
|
1703
|
-
if (this.
|
|
1704
|
-
this.
|
|
1705
|
-
this.
|
|
1686
|
+
protoOf(JsonPath).a66 = function () {
|
|
1687
|
+
var depth = this.v65_1;
|
|
1688
|
+
if (this.u65_1[depth] === -2) {
|
|
1689
|
+
this.u65_1[depth] = -1;
|
|
1690
|
+
this.v65_1 = this.v65_1 - 1 | 0;
|
|
1706
1691
|
}
|
|
1707
|
-
if (!(this.
|
|
1708
|
-
this.
|
|
1692
|
+
if (!(this.v65_1 === -1)) {
|
|
1693
|
+
this.v65_1 = this.v65_1 - 1 | 0;
|
|
1709
1694
|
}
|
|
1710
1695
|
};
|
|
1711
|
-
protoOf(JsonPath).
|
|
1696
|
+
protoOf(JsonPath).b66 = function () {
|
|
1712
1697
|
// Inline function 'kotlin.text.buildString' call
|
|
1713
1698
|
// Inline function 'kotlin.apply' call
|
|
1714
1699
|
var this_0 = StringBuilder_init_$Create$();
|
|
1715
1700
|
this_0.q('$');
|
|
1716
1701
|
// Inline function 'kotlin.repeat' call
|
|
1717
|
-
var times = this.
|
|
1702
|
+
var times = this.v65_1 + 1 | 0;
|
|
1718
1703
|
var inductionVariable = 0;
|
|
1719
1704
|
if (inductionVariable < times)
|
|
1720
1705
|
do {
|
|
1721
1706
|
var index = inductionVariable;
|
|
1722
1707
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1723
|
-
var element = this.
|
|
1708
|
+
var element = this.t65_1[index];
|
|
1724
1709
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1725
1710
|
if (equals(element.nu(), LIST_getInstance())) {
|
|
1726
|
-
if (!(this.
|
|
1711
|
+
if (!(this.u65_1[index] === -1)) {
|
|
1727
1712
|
this_0.q('[');
|
|
1728
|
-
this_0.yc(this.
|
|
1713
|
+
this_0.yc(this.u65_1[index]);
|
|
1729
1714
|
this_0.q(']');
|
|
1730
1715
|
}
|
|
1731
1716
|
} else {
|
|
1732
|
-
var idx = this.
|
|
1717
|
+
var idx = this.u65_1[index];
|
|
1733
1718
|
if (idx >= 0) {
|
|
1734
1719
|
this_0.q('.');
|
|
1735
1720
|
this_0.q(element.qu(idx));
|
|
@@ -1749,7 +1734,7 @@
|
|
|
1749
1734
|
return this_0.toString();
|
|
1750
1735
|
};
|
|
1751
1736
|
protoOf(JsonPath).toString = function () {
|
|
1752
|
-
return this.
|
|
1737
|
+
return this.b66();
|
|
1753
1738
|
};
|
|
1754
1739
|
function checkKind($this, descriptor, actualClass) {
|
|
1755
1740
|
var kind = descriptor.nu();
|
|
@@ -1762,9 +1747,9 @@
|
|
|
1762
1747
|
if (tmp) {
|
|
1763
1748
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.o() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind.toString() + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
1764
1749
|
}
|
|
1765
|
-
if ($this.
|
|
1750
|
+
if ($this.d66_1)
|
|
1766
1751
|
return Unit_instance;
|
|
1767
|
-
if (!$this.
|
|
1752
|
+
if (!$this.e66_1)
|
|
1768
1753
|
return Unit_instance;
|
|
1769
1754
|
var tmp_0;
|
|
1770
1755
|
var tmp_1;
|
|
@@ -1790,23 +1775,23 @@
|
|
|
1790
1775
|
var i = inductionVariable;
|
|
1791
1776
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1792
1777
|
var name = descriptor.qu(i);
|
|
1793
|
-
if (name === $this.
|
|
1778
|
+
if (name === $this.c66_1) {
|
|
1794
1779
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism');
|
|
1795
1780
|
}
|
|
1796
1781
|
}
|
|
1797
1782
|
while (inductionVariable < last);
|
|
1798
1783
|
}
|
|
1799
1784
|
function JsonSerializersModuleValidator(configuration) {
|
|
1800
|
-
this.
|
|
1801
|
-
this.
|
|
1802
|
-
this.
|
|
1785
|
+
this.c66_1 = configuration.n62_1;
|
|
1786
|
+
this.d66_1 = configuration.m62_1;
|
|
1787
|
+
this.e66_1 = !configuration.u62_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
1803
1788
|
}
|
|
1804
1789
|
protoOf(JsonSerializersModuleValidator).n1d = function (kClass, provider) {
|
|
1805
1790
|
};
|
|
1806
1791
|
protoOf(JsonSerializersModuleValidator).q1d = function (baseClass, actualClass, actualSerializer) {
|
|
1807
1792
|
var descriptor = actualSerializer.ps();
|
|
1808
1793
|
checkKind(this, descriptor, actualClass);
|
|
1809
|
-
if (!this.
|
|
1794
|
+
if (!this.d66_1 && this.e66_1) {
|
|
1810
1795
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1811
1796
|
}
|
|
1812
1797
|
};
|
|
@@ -1824,34 +1809,34 @@
|
|
|
1824
1809
|
}
|
|
1825
1810
|
function readObject($this) {
|
|
1826
1811
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1827
|
-
var lastToken = $this.
|
|
1828
|
-
if ($this.
|
|
1829
|
-
$this.
|
|
1812
|
+
var lastToken = $this.o66_1.s66(6);
|
|
1813
|
+
if ($this.o66_1.t66() === 4) {
|
|
1814
|
+
$this.o66_1.o65('Unexpected leading comma');
|
|
1830
1815
|
}
|
|
1831
1816
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1832
1817
|
var result = LinkedHashMap_init_$Create$();
|
|
1833
|
-
$l$loop: while ($this.
|
|
1834
|
-
var key = $this.
|
|
1835
|
-
$this.
|
|
1836
|
-
var element = $this.
|
|
1818
|
+
$l$loop: while ($this.o66_1.u66()) {
|
|
1819
|
+
var key = $this.p66_1 ? $this.o66_1.w66() : $this.o66_1.v66();
|
|
1820
|
+
$this.o66_1.s66(5);
|
|
1821
|
+
var element = $this.x66();
|
|
1837
1822
|
// Inline function 'kotlin.collections.set' call
|
|
1838
1823
|
result.c3(key, element);
|
|
1839
|
-
lastToken = $this.
|
|
1824
|
+
lastToken = $this.o66_1.y66();
|
|
1840
1825
|
var tmp0_subject = lastToken;
|
|
1841
1826
|
if (tmp0_subject !== 4)
|
|
1842
1827
|
if (tmp0_subject === 7)
|
|
1843
1828
|
break $l$loop;
|
|
1844
1829
|
else {
|
|
1845
|
-
$this.
|
|
1830
|
+
$this.o66_1.o65('Expected end of the object or comma');
|
|
1846
1831
|
}
|
|
1847
1832
|
}
|
|
1848
1833
|
if (lastToken === 6) {
|
|
1849
|
-
$this.
|
|
1834
|
+
$this.o66_1.s66(7);
|
|
1850
1835
|
} else if (lastToken === 4) {
|
|
1851
|
-
if (!$this.
|
|
1852
|
-
invalidTrailingComma($this.
|
|
1836
|
+
if (!$this.q66_1) {
|
|
1837
|
+
invalidTrailingComma($this.o66_1);
|
|
1853
1838
|
}
|
|
1854
|
-
$this.
|
|
1839
|
+
$this.o66_1.s66(7);
|
|
1855
1840
|
}
|
|
1856
1841
|
return new JsonObject(result);
|
|
1857
1842
|
}
|
|
@@ -1862,43 +1847,43 @@
|
|
|
1862
1847
|
return tmp.q9();
|
|
1863
1848
|
}
|
|
1864
1849
|
function readArray($this) {
|
|
1865
|
-
var lastToken = $this.
|
|
1866
|
-
if ($this.
|
|
1867
|
-
$this.
|
|
1850
|
+
var lastToken = $this.o66_1.y66();
|
|
1851
|
+
if ($this.o66_1.t66() === 4) {
|
|
1852
|
+
$this.o66_1.o65('Unexpected leading comma');
|
|
1868
1853
|
}
|
|
1869
1854
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1870
1855
|
var result = ArrayList_init_$Create$();
|
|
1871
|
-
while ($this.
|
|
1872
|
-
var element = $this.
|
|
1856
|
+
while ($this.o66_1.u66()) {
|
|
1857
|
+
var element = $this.x66();
|
|
1873
1858
|
result.e1(element);
|
|
1874
|
-
lastToken = $this.
|
|
1859
|
+
lastToken = $this.o66_1.y66();
|
|
1875
1860
|
if (!(lastToken === 4)) {
|
|
1876
|
-
var tmp0 = $this.
|
|
1861
|
+
var tmp0 = $this.o66_1;
|
|
1877
1862
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1878
1863
|
var condition = lastToken === 9;
|
|
1879
|
-
var position = tmp0.
|
|
1864
|
+
var position = tmp0.g61_1;
|
|
1880
1865
|
if (!condition) {
|
|
1881
1866
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1882
|
-
tmp0.
|
|
1867
|
+
tmp0.o65(tmp$ret$1, position);
|
|
1883
1868
|
}
|
|
1884
1869
|
}
|
|
1885
1870
|
}
|
|
1886
1871
|
if (lastToken === 8) {
|
|
1887
|
-
$this.
|
|
1872
|
+
$this.o66_1.s66(9);
|
|
1888
1873
|
} else if (lastToken === 4) {
|
|
1889
|
-
if (!$this.
|
|
1890
|
-
invalidTrailingComma($this.
|
|
1874
|
+
if (!$this.q66_1) {
|
|
1875
|
+
invalidTrailingComma($this.o66_1, 'array');
|
|
1891
1876
|
}
|
|
1892
|
-
$this.
|
|
1877
|
+
$this.o66_1.s66(9);
|
|
1893
1878
|
}
|
|
1894
1879
|
return new JsonArray(result);
|
|
1895
1880
|
}
|
|
1896
1881
|
function readValue($this, isString) {
|
|
1897
1882
|
var tmp;
|
|
1898
|
-
if ($this.
|
|
1899
|
-
tmp = $this.
|
|
1883
|
+
if ($this.p66_1 || !isString) {
|
|
1884
|
+
tmp = $this.o66_1.w66();
|
|
1900
1885
|
} else {
|
|
1901
|
-
tmp = $this.
|
|
1886
|
+
tmp = $this.o66_1.v66();
|
|
1902
1887
|
}
|
|
1903
1888
|
var string = tmp;
|
|
1904
1889
|
if (!isString && string === 'null')
|
|
@@ -1909,18 +1894,18 @@
|
|
|
1909
1894
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1910
1895
|
}
|
|
1911
1896
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1912
|
-
this.
|
|
1897
|
+
this.v67_1 = this$0;
|
|
1913
1898
|
CoroutineImpl.call(this, resultContinuation);
|
|
1914
1899
|
}
|
|
1915
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1916
|
-
var tmp = this.
|
|
1900
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).z67 = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1901
|
+
var tmp = this.a68($this$DeepRecursiveFunction, it, $completion);
|
|
1917
1902
|
tmp.k9_1 = Unit_instance;
|
|
1918
1903
|
tmp.l9_1 = null;
|
|
1919
1904
|
return tmp.q9();
|
|
1920
1905
|
};
|
|
1921
1906
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).da = function (p1, p2, $completion) {
|
|
1922
1907
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1923
|
-
return this.
|
|
1908
|
+
return this.z67(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1924
1909
|
};
|
|
1925
1910
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).q9 = function () {
|
|
1926
1911
|
var suspendResult = this.k9_1;
|
|
@@ -1930,32 +1915,32 @@
|
|
|
1930
1915
|
switch (tmp) {
|
|
1931
1916
|
case 0:
|
|
1932
1917
|
this.j9_1 = 3;
|
|
1933
|
-
var tmp0_subject = this.
|
|
1918
|
+
var tmp0_subject = this.v67_1.o66_1.t66();
|
|
1934
1919
|
if (tmp0_subject === 1) {
|
|
1935
|
-
this.
|
|
1920
|
+
this.y67_1 = readValue(this.v67_1, true);
|
|
1936
1921
|
this.i9_1 = 2;
|
|
1937
1922
|
continue $sm;
|
|
1938
1923
|
} else {
|
|
1939
1924
|
if (tmp0_subject === 0) {
|
|
1940
|
-
this.
|
|
1925
|
+
this.y67_1 = readValue(this.v67_1, false);
|
|
1941
1926
|
this.i9_1 = 2;
|
|
1942
1927
|
continue $sm;
|
|
1943
1928
|
} else {
|
|
1944
1929
|
if (tmp0_subject === 6) {
|
|
1945
1930
|
this.i9_1 = 1;
|
|
1946
|
-
suspendResult = readObject_0(this.
|
|
1931
|
+
suspendResult = readObject_0(this.v67_1, this.w67_1, this);
|
|
1947
1932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1948
1933
|
return suspendResult;
|
|
1949
1934
|
}
|
|
1950
1935
|
continue $sm;
|
|
1951
1936
|
} else {
|
|
1952
1937
|
if (tmp0_subject === 8) {
|
|
1953
|
-
this.
|
|
1938
|
+
this.y67_1 = readArray(this.v67_1);
|
|
1954
1939
|
this.i9_1 = 2;
|
|
1955
1940
|
continue $sm;
|
|
1956
1941
|
} else {
|
|
1957
1942
|
var tmp_0 = this;
|
|
1958
|
-
this.
|
|
1943
|
+
this.v67_1.o66_1.o65("Can't begin reading element, unexpected token");
|
|
1959
1944
|
}
|
|
1960
1945
|
}
|
|
1961
1946
|
}
|
|
@@ -1963,11 +1948,11 @@
|
|
|
1963
1948
|
|
|
1964
1949
|
break;
|
|
1965
1950
|
case 1:
|
|
1966
|
-
this.
|
|
1951
|
+
this.y67_1 = suspendResult;
|
|
1967
1952
|
this.i9_1 = 2;
|
|
1968
1953
|
continue $sm;
|
|
1969
1954
|
case 2:
|
|
1970
|
-
return this.
|
|
1955
|
+
return this.y67_1;
|
|
1971
1956
|
case 3:
|
|
1972
1957
|
throw this.l9_1;
|
|
1973
1958
|
}
|
|
@@ -1982,24 +1967,24 @@
|
|
|
1982
1967
|
}
|
|
1983
1968
|
while (true);
|
|
1984
1969
|
};
|
|
1985
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1986
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1987
|
-
i.
|
|
1988
|
-
i.
|
|
1970
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).a68 = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1971
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.v67_1, completion);
|
|
1972
|
+
i.w67_1 = $this$DeepRecursiveFunction;
|
|
1973
|
+
i.x67_1 = it;
|
|
1989
1974
|
return i;
|
|
1990
1975
|
};
|
|
1991
1976
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1992
1977
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1993
1978
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1994
|
-
return i.
|
|
1979
|
+
return i.z67($this$DeepRecursiveFunction, it, $completion);
|
|
1995
1980
|
};
|
|
1996
1981
|
l.$arity = 2;
|
|
1997
1982
|
return l;
|
|
1998
1983
|
}
|
|
1999
1984
|
function $readObjectCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
2000
1985
|
CoroutineImpl.call(this, resultContinuation);
|
|
2001
|
-
this.
|
|
2002
|
-
this.
|
|
1986
|
+
this.h67_1 = _this__u8e3s4;
|
|
1987
|
+
this.i67_1 = _this__u8e3s4_0;
|
|
2003
1988
|
}
|
|
2004
1989
|
protoOf($readObjectCOROUTINE$).q9 = function () {
|
|
2005
1990
|
var suspendResult = this.k9_1;
|
|
@@ -2009,26 +1994,26 @@
|
|
|
2009
1994
|
switch (tmp) {
|
|
2010
1995
|
case 0:
|
|
2011
1996
|
this.j9_1 = 5;
|
|
2012
|
-
this.
|
|
2013
|
-
this.
|
|
2014
|
-
if (this.
|
|
2015
|
-
this.
|
|
1997
|
+
this.k67_1 = this.h67_1;
|
|
1998
|
+
this.l67_1 = this.k67_1.o66_1.s66(6);
|
|
1999
|
+
if (this.k67_1.o66_1.t66() === 4) {
|
|
2000
|
+
this.k67_1.o66_1.o65('Unexpected leading comma');
|
|
2016
2001
|
}
|
|
2017
2002
|
|
|
2018
2003
|
var tmp_0 = this;
|
|
2019
|
-
tmp_0.
|
|
2004
|
+
tmp_0.j67_1 = LinkedHashMap_init_$Create$();
|
|
2020
2005
|
this.i9_1 = 1;
|
|
2021
2006
|
continue $sm;
|
|
2022
2007
|
case 1:
|
|
2023
|
-
if (!this.
|
|
2008
|
+
if (!this.k67_1.o66_1.u66()) {
|
|
2024
2009
|
this.i9_1 = 4;
|
|
2025
2010
|
continue $sm;
|
|
2026
2011
|
}
|
|
2027
2012
|
|
|
2028
|
-
this.
|
|
2029
|
-
this.
|
|
2013
|
+
this.m67_1 = this.k67_1.p66_1 ? this.k67_1.o66_1.w66() : this.k67_1.o66_1.v66();
|
|
2014
|
+
this.k67_1.o66_1.s66(5);
|
|
2030
2015
|
this.i9_1 = 2;
|
|
2031
|
-
suspendResult = this.
|
|
2016
|
+
suspendResult = this.i67_1.tp(Unit_instance, this);
|
|
2032
2017
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2033
2018
|
return suspendResult;
|
|
2034
2019
|
}
|
|
@@ -2036,11 +2021,11 @@
|
|
|
2036
2021
|
continue $sm;
|
|
2037
2022
|
case 2:
|
|
2038
2023
|
var element = suspendResult;
|
|
2039
|
-
var tmp0 = this.
|
|
2040
|
-
var key = this.
|
|
2024
|
+
var tmp0 = this.j67_1;
|
|
2025
|
+
var key = this.m67_1;
|
|
2041
2026
|
tmp0.c3(key, element);
|
|
2042
|
-
this.
|
|
2043
|
-
var tmp0_subject = this.
|
|
2027
|
+
this.l67_1 = this.k67_1.o66_1.y66();
|
|
2028
|
+
var tmp0_subject = this.l67_1;
|
|
2044
2029
|
if (tmp0_subject === 4) {
|
|
2045
2030
|
this.i9_1 = 3;
|
|
2046
2031
|
continue $sm;
|
|
@@ -2049,7 +2034,7 @@
|
|
|
2049
2034
|
this.i9_1 = 4;
|
|
2050
2035
|
continue $sm;
|
|
2051
2036
|
} else {
|
|
2052
|
-
this.
|
|
2037
|
+
this.k67_1.o66_1.o65('Expected end of the object or comma');
|
|
2053
2038
|
}
|
|
2054
2039
|
}
|
|
2055
2040
|
|
|
@@ -2058,16 +2043,16 @@
|
|
|
2058
2043
|
this.i9_1 = 1;
|
|
2059
2044
|
continue $sm;
|
|
2060
2045
|
case 4:
|
|
2061
|
-
if (this.
|
|
2062
|
-
this.
|
|
2063
|
-
} else if (this.
|
|
2064
|
-
if (!this.
|
|
2065
|
-
invalidTrailingComma(this.
|
|
2046
|
+
if (this.l67_1 === 6) {
|
|
2047
|
+
this.k67_1.o66_1.s66(7);
|
|
2048
|
+
} else if (this.l67_1 === 4) {
|
|
2049
|
+
if (!this.k67_1.q66_1) {
|
|
2050
|
+
invalidTrailingComma(this.k67_1.o66_1);
|
|
2066
2051
|
}
|
|
2067
|
-
this.
|
|
2052
|
+
this.k67_1.o66_1.s66(7);
|
|
2068
2053
|
}
|
|
2069
2054
|
|
|
2070
|
-
return new JsonObject(this.
|
|
2055
|
+
return new JsonObject(this.j67_1);
|
|
2071
2056
|
case 5:
|
|
2072
2057
|
throw this.l9_1;
|
|
2073
2058
|
}
|
|
@@ -2083,13 +2068,13 @@
|
|
|
2083
2068
|
while (true);
|
|
2084
2069
|
};
|
|
2085
2070
|
function JsonTreeReader(configuration, lexer) {
|
|
2086
|
-
this.
|
|
2087
|
-
this.
|
|
2088
|
-
this.
|
|
2089
|
-
this.
|
|
2071
|
+
this.o66_1 = lexer;
|
|
2072
|
+
this.p66_1 = configuration.g62_1;
|
|
2073
|
+
this.q66_1 = configuration.s62_1;
|
|
2074
|
+
this.r66_1 = 0;
|
|
2090
2075
|
}
|
|
2091
|
-
protoOf(JsonTreeReader).
|
|
2092
|
-
var token = this.
|
|
2076
|
+
protoOf(JsonTreeReader).x66 = function () {
|
|
2077
|
+
var token = this.o66_1.t66();
|
|
2093
2078
|
var tmp;
|
|
2094
2079
|
if (token === 1) {
|
|
2095
2080
|
tmp = readValue(this, true);
|
|
@@ -2097,19 +2082,19 @@
|
|
|
2097
2082
|
tmp = readValue(this, false);
|
|
2098
2083
|
} else if (token === 6) {
|
|
2099
2084
|
var tmp_0;
|
|
2100
|
-
this.
|
|
2101
|
-
if (this.
|
|
2085
|
+
this.r66_1 = this.r66_1 + 1 | 0;
|
|
2086
|
+
if (this.r66_1 === 200) {
|
|
2102
2087
|
tmp_0 = readDeepRecursive(this);
|
|
2103
2088
|
} else {
|
|
2104
2089
|
tmp_0 = readObject(this);
|
|
2105
2090
|
}
|
|
2106
2091
|
var result = tmp_0;
|
|
2107
|
-
this.
|
|
2092
|
+
this.r66_1 = this.r66_1 - 1 | 0;
|
|
2108
2093
|
tmp = result;
|
|
2109
2094
|
} else if (token === 8) {
|
|
2110
2095
|
tmp = readArray(this);
|
|
2111
2096
|
} else {
|
|
2112
|
-
this.
|
|
2097
|
+
this.o66_1.o65('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
2113
2098
|
}
|
|
2114
2099
|
return tmp;
|
|
2115
2100
|
};
|
|
@@ -2118,9 +2103,9 @@
|
|
|
2118
2103
|
while (_iterator__ex2g4s.u()) {
|
|
2119
2104
|
var annotation = _iterator__ex2g4s.v();
|
|
2120
2105
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2121
|
-
return annotation.
|
|
2106
|
+
return annotation.b68_1;
|
|
2122
2107
|
}
|
|
2123
|
-
return json.
|
|
2108
|
+
return json.t60_1.n62_1;
|
|
2124
2109
|
}
|
|
2125
2110
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2126
2111
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -2156,11 +2141,11 @@
|
|
|
2156
2141
|
function Key() {
|
|
2157
2142
|
}
|
|
2158
2143
|
function DescriptorSchemaCache() {
|
|
2159
|
-
this.
|
|
2144
|
+
this.p65_1 = createMapForCache(16);
|
|
2160
2145
|
}
|
|
2161
|
-
protoOf(DescriptorSchemaCache).
|
|
2146
|
+
protoOf(DescriptorSchemaCache).c68 = function (descriptor, key, value) {
|
|
2162
2147
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2163
|
-
var this_0 = this.
|
|
2148
|
+
var this_0 = this.p65_1;
|
|
2164
2149
|
var value_0 = this_0.z2(descriptor);
|
|
2165
2150
|
var tmp;
|
|
2166
2151
|
if (value_0 == null) {
|
|
@@ -2176,8 +2161,8 @@
|
|
|
2176
2161
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2177
2162
|
tmp0.c3(tmp2, value_1);
|
|
2178
2163
|
};
|
|
2179
|
-
protoOf(DescriptorSchemaCache).
|
|
2180
|
-
var tmp0_safe_receiver = this.
|
|
2164
|
+
protoOf(DescriptorSchemaCache).q65 = function (descriptor, key, defaultValue) {
|
|
2165
|
+
var tmp0_safe_receiver = this.d68(descriptor, key);
|
|
2181
2166
|
if (tmp0_safe_receiver == null)
|
|
2182
2167
|
null;
|
|
2183
2168
|
else {
|
|
@@ -2185,11 +2170,11 @@
|
|
|
2185
2170
|
return tmp0_safe_receiver;
|
|
2186
2171
|
}
|
|
2187
2172
|
var value = defaultValue();
|
|
2188
|
-
this.
|
|
2173
|
+
this.c68(descriptor, key, value);
|
|
2189
2174
|
return value;
|
|
2190
2175
|
};
|
|
2191
|
-
protoOf(DescriptorSchemaCache).
|
|
2192
|
-
var tmp0_safe_receiver = this.
|
|
2176
|
+
protoOf(DescriptorSchemaCache).d68 = function (descriptor, key) {
|
|
2177
|
+
var tmp0_safe_receiver = this.p65_1.z2(descriptor);
|
|
2193
2178
|
var tmp;
|
|
2194
2179
|
if (tmp0_safe_receiver == null) {
|
|
2195
2180
|
tmp = null;
|
|
@@ -2200,13 +2185,13 @@
|
|
|
2200
2185
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2201
2186
|
};
|
|
2202
2187
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2203
|
-
this.
|
|
2188
|
+
this.e68_1 = discriminatorToSkip;
|
|
2204
2189
|
}
|
|
2205
2190
|
function trySkip($this, _this__u8e3s4, unknownKey) {
|
|
2206
2191
|
if (_this__u8e3s4 == null)
|
|
2207
2192
|
return false;
|
|
2208
|
-
if (_this__u8e3s4.
|
|
2209
|
-
_this__u8e3s4.
|
|
2193
|
+
if (_this__u8e3s4.e68_1 === unknownKey) {
|
|
2194
|
+
_this__u8e3s4.e68_1 = null;
|
|
2210
2195
|
return true;
|
|
2211
2196
|
}
|
|
2212
2197
|
return false;
|
|
@@ -2216,55 +2201,55 @@
|
|
|
2216
2201
|
}
|
|
2217
2202
|
}
|
|
2218
2203
|
function checkLeadingComma($this) {
|
|
2219
|
-
if ($this.
|
|
2220
|
-
$this.
|
|
2204
|
+
if ($this.a61_1.t66() === 4) {
|
|
2205
|
+
$this.a61_1.o65('Unexpected leading comma');
|
|
2221
2206
|
}
|
|
2222
2207
|
}
|
|
2223
2208
|
function decodeMapIndex($this) {
|
|
2224
2209
|
var hasComma = false;
|
|
2225
|
-
var decodingKey = !(($this.
|
|
2210
|
+
var decodingKey = !(($this.c61_1 % 2 | 0) === 0);
|
|
2226
2211
|
if (decodingKey) {
|
|
2227
|
-
if (!($this.
|
|
2228
|
-
hasComma = $this.
|
|
2212
|
+
if (!($this.c61_1 === -1)) {
|
|
2213
|
+
hasComma = $this.a61_1.g68();
|
|
2229
2214
|
}
|
|
2230
2215
|
} else {
|
|
2231
|
-
$this.
|
|
2216
|
+
$this.a61_1.f68(_Char___init__impl__6a9atx(58));
|
|
2232
2217
|
}
|
|
2233
2218
|
var tmp;
|
|
2234
|
-
if ($this.
|
|
2219
|
+
if ($this.a61_1.u66()) {
|
|
2235
2220
|
if (decodingKey) {
|
|
2236
|
-
if ($this.
|
|
2237
|
-
var tmp0 = $this.
|
|
2221
|
+
if ($this.c61_1 === -1) {
|
|
2222
|
+
var tmp0 = $this.a61_1;
|
|
2238
2223
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2239
2224
|
var condition = !hasComma;
|
|
2240
|
-
var position = tmp0.
|
|
2225
|
+
var position = tmp0.g61_1;
|
|
2241
2226
|
if (!condition) {
|
|
2242
2227
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
2243
|
-
tmp0.
|
|
2228
|
+
tmp0.o65(tmp$ret$0, position);
|
|
2244
2229
|
}
|
|
2245
2230
|
} else {
|
|
2246
|
-
var tmp0_0 = $this.
|
|
2231
|
+
var tmp0_0 = $this.a61_1;
|
|
2247
2232
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2248
2233
|
var condition_0 = hasComma;
|
|
2249
|
-
var position_0 = tmp0_0.
|
|
2234
|
+
var position_0 = tmp0_0.g61_1;
|
|
2250
2235
|
if (!condition_0) {
|
|
2251
2236
|
var tmp$ret$2 = 'Expected comma after the key-value pair';
|
|
2252
|
-
tmp0_0.
|
|
2237
|
+
tmp0_0.o65(tmp$ret$2, position_0);
|
|
2253
2238
|
}
|
|
2254
2239
|
}
|
|
2255
2240
|
}
|
|
2256
|
-
$this.
|
|
2257
|
-
tmp = $this.
|
|
2241
|
+
$this.c61_1 = $this.c61_1 + 1 | 0;
|
|
2242
|
+
tmp = $this.c61_1;
|
|
2258
2243
|
} else {
|
|
2259
|
-
if (hasComma && !$this.
|
|
2260
|
-
invalidTrailingComma($this.
|
|
2244
|
+
if (hasComma && !$this.y60_1.t60_1.s62_1) {
|
|
2245
|
+
invalidTrailingComma($this.a61_1);
|
|
2261
2246
|
}
|
|
2262
2247
|
tmp = -1;
|
|
2263
2248
|
}
|
|
2264
2249
|
return tmp;
|
|
2265
2250
|
}
|
|
2266
2251
|
function coerceInputValue($this, descriptor, index) {
|
|
2267
|
-
var tmp0 = $this.
|
|
2252
|
+
var tmp0 = $this.y60_1;
|
|
2268
2253
|
var tmp$ret$1;
|
|
2269
2254
|
$l$block_2: {
|
|
2270
2255
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -2272,7 +2257,7 @@
|
|
|
2272
2257
|
var elementDescriptor = descriptor.tu(index);
|
|
2273
2258
|
var tmp;
|
|
2274
2259
|
if (isOptional && !elementDescriptor.gu()) {
|
|
2275
|
-
tmp = $this.
|
|
2260
|
+
tmp = $this.a61_1.h68(true);
|
|
2276
2261
|
} else {
|
|
2277
2262
|
tmp = false;
|
|
2278
2263
|
}
|
|
@@ -2283,7 +2268,7 @@
|
|
|
2283
2268
|
if (equals(elementDescriptor.nu(), ENUM_getInstance())) {
|
|
2284
2269
|
var tmp_0;
|
|
2285
2270
|
if (elementDescriptor.gu()) {
|
|
2286
|
-
tmp_0 = $this.
|
|
2271
|
+
tmp_0 = $this.a61_1.h68(false);
|
|
2287
2272
|
} else {
|
|
2288
2273
|
tmp_0 = false;
|
|
2289
2274
|
}
|
|
@@ -2291,7 +2276,7 @@
|
|
|
2291
2276
|
tmp$ret$1 = false;
|
|
2292
2277
|
break $l$block_2;
|
|
2293
2278
|
}
|
|
2294
|
-
var tmp0_elvis_lhs = $this.
|
|
2279
|
+
var tmp0_elvis_lhs = $this.a61_1.i68($this.e61_1.g62_1);
|
|
2295
2280
|
var tmp_1;
|
|
2296
2281
|
if (tmp0_elvis_lhs == null) {
|
|
2297
2282
|
tmp$ret$1 = false;
|
|
@@ -2301,9 +2286,9 @@
|
|
|
2301
2286
|
}
|
|
2302
2287
|
var enumValue = tmp_1;
|
|
2303
2288
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2304
|
-
var coerceToNull = !tmp0.
|
|
2289
|
+
var coerceToNull = !tmp0.t60_1.j62_1 && elementDescriptor.gu();
|
|
2305
2290
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2306
|
-
$this.
|
|
2291
|
+
$this.a61_1.v66();
|
|
2307
2292
|
tmp$ret$1 = true;
|
|
2308
2293
|
break $l$block_2;
|
|
2309
2294
|
}
|
|
@@ -2313,24 +2298,24 @@
|
|
|
2313
2298
|
return tmp$ret$1;
|
|
2314
2299
|
}
|
|
2315
2300
|
function decodeObjectIndex($this, descriptor) {
|
|
2316
|
-
var hasComma = $this.
|
|
2317
|
-
while ($this.
|
|
2301
|
+
var hasComma = $this.a61_1.g68();
|
|
2302
|
+
while ($this.a61_1.u66()) {
|
|
2318
2303
|
hasComma = false;
|
|
2319
2304
|
var key = decodeStringKey($this);
|
|
2320
|
-
$this.
|
|
2321
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2305
|
+
$this.a61_1.f68(_Char___init__impl__6a9atx(58));
|
|
2306
|
+
var index = getJsonNameIndex(descriptor, $this.y60_1, key);
|
|
2322
2307
|
var tmp;
|
|
2323
2308
|
if (!(index === -3)) {
|
|
2324
2309
|
var tmp_0;
|
|
2325
|
-
if ($this.
|
|
2326
|
-
hasComma = $this.
|
|
2310
|
+
if ($this.e61_1.l62_1 && coerceInputValue($this, descriptor, index)) {
|
|
2311
|
+
hasComma = $this.a61_1.g68();
|
|
2327
2312
|
tmp_0 = false;
|
|
2328
2313
|
} else {
|
|
2329
|
-
var tmp0_safe_receiver = $this.
|
|
2314
|
+
var tmp0_safe_receiver = $this.f61_1;
|
|
2330
2315
|
if (tmp0_safe_receiver == null)
|
|
2331
2316
|
null;
|
|
2332
2317
|
else {
|
|
2333
|
-
tmp0_safe_receiver.
|
|
2318
|
+
tmp0_safe_receiver.l65(index);
|
|
2334
2319
|
}
|
|
2335
2320
|
return index;
|
|
2336
2321
|
}
|
|
@@ -2343,34 +2328,34 @@
|
|
|
2343
2328
|
hasComma = handleUnknown($this, descriptor, key);
|
|
2344
2329
|
}
|
|
2345
2330
|
}
|
|
2346
|
-
if (hasComma && !$this.
|
|
2347
|
-
invalidTrailingComma($this.
|
|
2331
|
+
if (hasComma && !$this.y60_1.t60_1.s62_1) {
|
|
2332
|
+
invalidTrailingComma($this.a61_1);
|
|
2348
2333
|
}
|
|
2349
|
-
var tmp1_safe_receiver = $this.
|
|
2350
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2334
|
+
var tmp1_safe_receiver = $this.f61_1;
|
|
2335
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.m65();
|
|
2351
2336
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2352
2337
|
}
|
|
2353
2338
|
function handleUnknown($this, descriptor, key) {
|
|
2354
|
-
if (ignoreUnknownKeys(descriptor, $this.
|
|
2355
|
-
$this.
|
|
2339
|
+
if (ignoreUnknownKeys(descriptor, $this.y60_1) || trySkip($this, $this.d61_1, key)) {
|
|
2340
|
+
$this.a61_1.k68($this.e61_1.g62_1);
|
|
2356
2341
|
} else {
|
|
2357
|
-
$this.
|
|
2358
|
-
$this.
|
|
2342
|
+
$this.a61_1.h61_1.a66();
|
|
2343
|
+
$this.a61_1.j68(key);
|
|
2359
2344
|
}
|
|
2360
|
-
return $this.
|
|
2345
|
+
return $this.a61_1.g68();
|
|
2361
2346
|
}
|
|
2362
2347
|
function decodeListIndex($this) {
|
|
2363
|
-
var hasComma = $this.
|
|
2348
|
+
var hasComma = $this.a61_1.g68();
|
|
2364
2349
|
var tmp;
|
|
2365
|
-
if ($this.
|
|
2366
|
-
if (!($this.
|
|
2367
|
-
$this.
|
|
2350
|
+
if ($this.a61_1.u66()) {
|
|
2351
|
+
if (!($this.c61_1 === -1) && !hasComma) {
|
|
2352
|
+
$this.a61_1.o65('Expected end of the array or comma');
|
|
2368
2353
|
}
|
|
2369
|
-
$this.
|
|
2370
|
-
tmp = $this.
|
|
2354
|
+
$this.c61_1 = $this.c61_1 + 1 | 0;
|
|
2355
|
+
tmp = $this.c61_1;
|
|
2371
2356
|
} else {
|
|
2372
|
-
if (hasComma && !$this.
|
|
2373
|
-
invalidTrailingComma($this.
|
|
2357
|
+
if (hasComma && !$this.y60_1.t60_1.s62_1) {
|
|
2358
|
+
invalidTrailingComma($this.a61_1, 'array');
|
|
2374
2359
|
}
|
|
2375
2360
|
tmp = -1;
|
|
2376
2361
|
}
|
|
@@ -2378,32 +2363,32 @@
|
|
|
2378
2363
|
}
|
|
2379
2364
|
function decodeStringKey($this) {
|
|
2380
2365
|
var tmp;
|
|
2381
|
-
if ($this.
|
|
2382
|
-
tmp = $this.
|
|
2366
|
+
if ($this.e61_1.g62_1) {
|
|
2367
|
+
tmp = $this.a61_1.m68();
|
|
2383
2368
|
} else {
|
|
2384
|
-
tmp = $this.
|
|
2369
|
+
tmp = $this.a61_1.l68();
|
|
2385
2370
|
}
|
|
2386
2371
|
return tmp;
|
|
2387
2372
|
}
|
|
2388
2373
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2389
2374
|
AbstractDecoder.call(this);
|
|
2390
|
-
this.
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2393
|
-
this.
|
|
2394
|
-
this.
|
|
2395
|
-
this.
|
|
2396
|
-
this.
|
|
2397
|
-
this.
|
|
2398
|
-
}
|
|
2399
|
-
protoOf(StreamingJsonDecoder).
|
|
2400
|
-
return this.
|
|
2375
|
+
this.y60_1 = json;
|
|
2376
|
+
this.z60_1 = mode;
|
|
2377
|
+
this.a61_1 = lexer;
|
|
2378
|
+
this.b61_1 = this.y60_1.at();
|
|
2379
|
+
this.c61_1 = -1;
|
|
2380
|
+
this.d61_1 = discriminatorHolder;
|
|
2381
|
+
this.e61_1 = this.y60_1.t60_1;
|
|
2382
|
+
this.f61_1 = this.e61_1.j62_1 ? null : new JsonElementMarker(descriptor);
|
|
2383
|
+
}
|
|
2384
|
+
protoOf(StreamingJsonDecoder).v62 = function () {
|
|
2385
|
+
return this.y60_1;
|
|
2401
2386
|
};
|
|
2402
2387
|
protoOf(StreamingJsonDecoder).at = function () {
|
|
2403
|
-
return this.
|
|
2388
|
+
return this.b61_1;
|
|
2404
2389
|
};
|
|
2405
|
-
protoOf(StreamingJsonDecoder).
|
|
2406
|
-
return (new JsonTreeReader(this.
|
|
2390
|
+
protoOf(StreamingJsonDecoder).w62 = function () {
|
|
2391
|
+
return (new JsonTreeReader(this.y60_1.t60_1, this.a61_1)).x66();
|
|
2407
2392
|
};
|
|
2408
2393
|
protoOf(StreamingJsonDecoder).et = function (deserializer) {
|
|
2409
2394
|
try {
|
|
@@ -2411,13 +2396,13 @@
|
|
|
2411
2396
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2412
2397
|
tmp = true;
|
|
2413
2398
|
} else {
|
|
2414
|
-
tmp = this.
|
|
2399
|
+
tmp = this.y60_1.t60_1.m62_1;
|
|
2415
2400
|
}
|
|
2416
2401
|
if (tmp) {
|
|
2417
2402
|
return deserializer.dt(this);
|
|
2418
2403
|
}
|
|
2419
|
-
var discriminator = classDiscriminator(deserializer.ps(), this.
|
|
2420
|
-
var tmp0_elvis_lhs = this.
|
|
2404
|
+
var discriminator = classDiscriminator(deserializer.ps(), this.y60_1);
|
|
2405
|
+
var tmp0_elvis_lhs = this.a61_1.n68(discriminator, this.e61_1.g62_1);
|
|
2421
2406
|
var tmp_0;
|
|
2422
2407
|
if (tmp0_elvis_lhs == null) {
|
|
2423
2408
|
var tmp2 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2428,24 +2413,24 @@
|
|
|
2428
2413
|
if (!(tmp2 instanceof AbstractPolymorphicSerializer)) {
|
|
2429
2414
|
tmp_1 = true;
|
|
2430
2415
|
} else {
|
|
2431
|
-
tmp_1 = this.
|
|
2416
|
+
tmp_1 = this.v62().t60_1.m62_1;
|
|
2432
2417
|
}
|
|
2433
2418
|
if (tmp_1) {
|
|
2434
2419
|
tmp$ret$0 = tmp2.dt(this);
|
|
2435
2420
|
break $l$block;
|
|
2436
2421
|
}
|
|
2437
|
-
var discriminator_0 = classDiscriminator(tmp2.ps(), this.
|
|
2438
|
-
var tmp0 = this.
|
|
2422
|
+
var discriminator_0 = classDiscriminator(tmp2.ps(), this.v62());
|
|
2423
|
+
var tmp0 = this.w62();
|
|
2439
2424
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2440
2425
|
var serialName = tmp2.ps().ut();
|
|
2441
2426
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2442
2427
|
var tmp_2 = getKClass(JsonObject).o();
|
|
2443
2428
|
var tmp_3 = getKClassFromExpression(tmp0).o();
|
|
2444
|
-
var tmp$ret$1 = this.
|
|
2429
|
+
var tmp$ret$1 = this.a61_1.h61_1.b66();
|
|
2445
2430
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
2446
2431
|
}
|
|
2447
2432
|
var jsonTree = tmp0;
|
|
2448
|
-
var tmp0_safe_receiver = jsonTree.
|
|
2433
|
+
var tmp0_safe_receiver = jsonTree.b35(discriminator_0);
|
|
2449
2434
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
2450
2435
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
2451
2436
|
var tmp_4;
|
|
@@ -2462,7 +2447,7 @@
|
|
|
2462
2447
|
}
|
|
2463
2448
|
var tmp_6 = tmp_4;
|
|
2464
2449
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2465
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2450
|
+
tmp$ret$0 = readPolymorphicJson(this.v62(), discriminator_0, jsonTree, actualSerializer);
|
|
2466
2451
|
}
|
|
2467
2452
|
return tmp$ret$0;
|
|
2468
2453
|
} else {
|
|
@@ -2478,7 +2463,7 @@
|
|
|
2478
2463
|
var it_0 = $p;
|
|
2479
2464
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2480
2465
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2481
|
-
this.
|
|
2466
|
+
this.a61_1.o65(message, VOID, hint);
|
|
2482
2467
|
} else {
|
|
2483
2468
|
throw $p;
|
|
2484
2469
|
}
|
|
@@ -2486,37 +2471,37 @@
|
|
|
2486
2471
|
}
|
|
2487
2472
|
var tmp_9 = tmp_7;
|
|
2488
2473
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2489
|
-
this.
|
|
2474
|
+
this.d61_1 = new DiscriminatorHolder(discriminator);
|
|
2490
2475
|
return actualSerializer_0.dt(this);
|
|
2491
2476
|
} catch ($p) {
|
|
2492
2477
|
if ($p instanceof MissingFieldException) {
|
|
2493
2478
|
var e = $p;
|
|
2494
2479
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2495
2480
|
throw e;
|
|
2496
|
-
throw MissingFieldException_init_$Create$(e.au_1, plus(e.message, ' at path: ') + this.
|
|
2481
|
+
throw MissingFieldException_init_$Create$(e.au_1, plus(e.message, ' at path: ') + this.a61_1.h61_1.b66(), e);
|
|
2497
2482
|
} else {
|
|
2498
2483
|
throw $p;
|
|
2499
2484
|
}
|
|
2500
2485
|
}
|
|
2501
2486
|
};
|
|
2502
2487
|
protoOf(StreamingJsonDecoder).ew = function (descriptor) {
|
|
2503
|
-
var newMode = switchMode(this.
|
|
2504
|
-
this.
|
|
2505
|
-
this.
|
|
2488
|
+
var newMode = switchMode(this.y60_1, descriptor);
|
|
2489
|
+
this.a61_1.h61_1.w65(descriptor);
|
|
2490
|
+
this.a61_1.f68(newMode.q68_1);
|
|
2506
2491
|
checkLeadingComma(this);
|
|
2507
2492
|
var tmp;
|
|
2508
2493
|
switch (newMode.a1_1) {
|
|
2509
2494
|
case 1:
|
|
2510
2495
|
case 2:
|
|
2511
2496
|
case 3:
|
|
2512
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2497
|
+
tmp = new StreamingJsonDecoder(this.y60_1, newMode, this.a61_1, descriptor, this.d61_1);
|
|
2513
2498
|
break;
|
|
2514
2499
|
default:
|
|
2515
2500
|
var tmp_0;
|
|
2516
|
-
if (this.
|
|
2501
|
+
if (this.z60_1.equals(newMode) && this.y60_1.t60_1.j62_1) {
|
|
2517
2502
|
tmp_0 = this;
|
|
2518
2503
|
} else {
|
|
2519
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2504
|
+
tmp_0 = new StreamingJsonDecoder(this.y60_1, newMode, this.a61_1, descriptor, this.d61_1);
|
|
2520
2505
|
}
|
|
2521
2506
|
|
|
2522
2507
|
tmp = tmp_0;
|
|
@@ -2525,21 +2510,21 @@
|
|
|
2525
2510
|
return tmp;
|
|
2526
2511
|
};
|
|
2527
2512
|
protoOf(StreamingJsonDecoder).fw = function (descriptor) {
|
|
2528
|
-
if (descriptor.pu() === 0 && ignoreUnknownKeys(descriptor, this.
|
|
2513
|
+
if (descriptor.pu() === 0 && ignoreUnknownKeys(descriptor, this.y60_1)) {
|
|
2529
2514
|
skipLeftoverElements(this, descriptor);
|
|
2530
2515
|
}
|
|
2531
|
-
if (this.
|
|
2532
|
-
invalidTrailingComma(this.
|
|
2516
|
+
if (this.a61_1.g68() && !this.y60_1.t60_1.s62_1) {
|
|
2517
|
+
invalidTrailingComma(this.a61_1, '');
|
|
2533
2518
|
}
|
|
2534
|
-
this.
|
|
2535
|
-
this.
|
|
2519
|
+
this.a61_1.f68(this.z60_1.r68_1);
|
|
2520
|
+
this.a61_1.h61_1.a66();
|
|
2536
2521
|
};
|
|
2537
2522
|
protoOf(StreamingJsonDecoder).qv = function () {
|
|
2538
2523
|
var tmp;
|
|
2539
|
-
var tmp0_safe_receiver = this.
|
|
2540
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2524
|
+
var tmp0_safe_receiver = this.f61_1;
|
|
2525
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k65_1;
|
|
2541
2526
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2542
|
-
tmp = !this.
|
|
2527
|
+
tmp = !this.a61_1.s68();
|
|
2543
2528
|
} else {
|
|
2544
2529
|
tmp = false;
|
|
2545
2530
|
}
|
|
@@ -2549,19 +2534,19 @@
|
|
|
2549
2534
|
return null;
|
|
2550
2535
|
};
|
|
2551
2536
|
protoOf(StreamingJsonDecoder).qw = function (descriptor, index, deserializer, previousValue) {
|
|
2552
|
-
var isMapKey = this.
|
|
2537
|
+
var isMapKey = this.z60_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2553
2538
|
if (isMapKey) {
|
|
2554
|
-
this.
|
|
2539
|
+
this.a61_1.h61_1.z65();
|
|
2555
2540
|
}
|
|
2556
2541
|
var value = protoOf(AbstractDecoder).qw.call(this, descriptor, index, deserializer, previousValue);
|
|
2557
2542
|
if (isMapKey) {
|
|
2558
|
-
this.
|
|
2543
|
+
this.a61_1.h61_1.y65(value);
|
|
2559
2544
|
}
|
|
2560
2545
|
return value;
|
|
2561
2546
|
};
|
|
2562
2547
|
protoOf(StreamingJsonDecoder).vw = function (descriptor) {
|
|
2563
2548
|
var index;
|
|
2564
|
-
switch (this.
|
|
2549
|
+
switch (this.z60_1.a1_1) {
|
|
2565
2550
|
case 0:
|
|
2566
2551
|
index = decodeObjectIndex(this, descriptor);
|
|
2567
2552
|
break;
|
|
@@ -2572,44 +2557,44 @@
|
|
|
2572
2557
|
index = decodeListIndex(this);
|
|
2573
2558
|
break;
|
|
2574
2559
|
}
|
|
2575
|
-
if (!this.
|
|
2576
|
-
this.
|
|
2560
|
+
if (!this.z60_1.equals(WriteMode_MAP_getInstance())) {
|
|
2561
|
+
this.a61_1.h61_1.x65(index);
|
|
2577
2562
|
}
|
|
2578
2563
|
return index;
|
|
2579
2564
|
};
|
|
2580
2565
|
protoOf(StreamingJsonDecoder).sv = function () {
|
|
2581
|
-
return this.
|
|
2566
|
+
return this.a61_1.t68();
|
|
2582
2567
|
};
|
|
2583
2568
|
protoOf(StreamingJsonDecoder).tv = function () {
|
|
2584
|
-
var value = this.
|
|
2569
|
+
var value = this.a61_1.u68();
|
|
2585
2570
|
if (!(value === fromInt(convertToByte(value)))) {
|
|
2586
|
-
this.
|
|
2571
|
+
this.a61_1.o65("Failed to parse byte for input '" + value.toString() + "'");
|
|
2587
2572
|
}
|
|
2588
2573
|
return convertToByte(value);
|
|
2589
2574
|
};
|
|
2590
2575
|
protoOf(StreamingJsonDecoder).uv = function () {
|
|
2591
|
-
var value = this.
|
|
2576
|
+
var value = this.a61_1.u68();
|
|
2592
2577
|
if (!(value === fromInt(convertToShort(value)))) {
|
|
2593
|
-
this.
|
|
2578
|
+
this.a61_1.o65("Failed to parse short for input '" + value.toString() + "'");
|
|
2594
2579
|
}
|
|
2595
2580
|
return convertToShort(value);
|
|
2596
2581
|
};
|
|
2597
2582
|
protoOf(StreamingJsonDecoder).vv = function () {
|
|
2598
|
-
var value = this.
|
|
2583
|
+
var value = this.a61_1.u68();
|
|
2599
2584
|
if (!(value === fromInt(convertToInt(value)))) {
|
|
2600
|
-
this.
|
|
2585
|
+
this.a61_1.o65("Failed to parse int for input '" + value.toString() + "'");
|
|
2601
2586
|
}
|
|
2602
2587
|
return convertToInt(value);
|
|
2603
2588
|
};
|
|
2604
2589
|
protoOf(StreamingJsonDecoder).wv = function () {
|
|
2605
|
-
return this.
|
|
2590
|
+
return this.a61_1.u68();
|
|
2606
2591
|
};
|
|
2607
2592
|
protoOf(StreamingJsonDecoder).xv = function () {
|
|
2608
|
-
var tmp0 = this.
|
|
2593
|
+
var tmp0 = this.a61_1;
|
|
2609
2594
|
var tmp$ret$4;
|
|
2610
2595
|
$l$block: {
|
|
2611
2596
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2612
|
-
var input = tmp0.
|
|
2597
|
+
var input = tmp0.w66();
|
|
2613
2598
|
try {
|
|
2614
2599
|
// Inline function 'kotlin.text.toFloat' call
|
|
2615
2600
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2619,82 +2604,82 @@
|
|
|
2619
2604
|
} catch ($p) {
|
|
2620
2605
|
if ($p instanceof IllegalArgumentException) {
|
|
2621
2606
|
var e = $p;
|
|
2622
|
-
tmp0.
|
|
2607
|
+
tmp0.o65("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2623
2608
|
} else {
|
|
2624
2609
|
throw $p;
|
|
2625
2610
|
}
|
|
2626
2611
|
}
|
|
2627
2612
|
}
|
|
2628
2613
|
var result = tmp$ret$4;
|
|
2629
|
-
var specialFp = this.
|
|
2614
|
+
var specialFp = this.y60_1.t60_1.o62_1;
|
|
2630
2615
|
if (specialFp || isFinite(result))
|
|
2631
2616
|
return result;
|
|
2632
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2617
|
+
throwInvalidFloatingPointDecoded(this.a61_1, result);
|
|
2633
2618
|
};
|
|
2634
2619
|
protoOf(StreamingJsonDecoder).yv = function () {
|
|
2635
|
-
var tmp0 = this.
|
|
2620
|
+
var tmp0 = this.a61_1;
|
|
2636
2621
|
var tmp$ret$1;
|
|
2637
2622
|
$l$block: {
|
|
2638
2623
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2639
|
-
var input = tmp0.
|
|
2624
|
+
var input = tmp0.w66();
|
|
2640
2625
|
try {
|
|
2641
2626
|
tmp$ret$1 = toDouble(input);
|
|
2642
2627
|
break $l$block;
|
|
2643
2628
|
} catch ($p) {
|
|
2644
2629
|
if ($p instanceof IllegalArgumentException) {
|
|
2645
2630
|
var e = $p;
|
|
2646
|
-
tmp0.
|
|
2631
|
+
tmp0.o65("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2647
2632
|
} else {
|
|
2648
2633
|
throw $p;
|
|
2649
2634
|
}
|
|
2650
2635
|
}
|
|
2651
2636
|
}
|
|
2652
2637
|
var result = tmp$ret$1;
|
|
2653
|
-
var specialFp = this.
|
|
2638
|
+
var specialFp = this.y60_1.t60_1.o62_1;
|
|
2654
2639
|
if (specialFp || isFinite_0(result))
|
|
2655
2640
|
return result;
|
|
2656
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2641
|
+
throwInvalidFloatingPointDecoded(this.a61_1, result);
|
|
2657
2642
|
};
|
|
2658
2643
|
protoOf(StreamingJsonDecoder).zv = function () {
|
|
2659
|
-
var string = this.
|
|
2644
|
+
var string = this.a61_1.w66();
|
|
2660
2645
|
if (!(string.length === 1)) {
|
|
2661
|
-
this.
|
|
2646
|
+
this.a61_1.o65("Expected single char, but got '" + string + "'");
|
|
2662
2647
|
}
|
|
2663
2648
|
return charCodeAt(string, 0);
|
|
2664
2649
|
};
|
|
2665
2650
|
protoOf(StreamingJsonDecoder).aw = function () {
|
|
2666
2651
|
var tmp;
|
|
2667
|
-
if (this.
|
|
2668
|
-
tmp = this.
|
|
2652
|
+
if (this.e61_1.g62_1) {
|
|
2653
|
+
tmp = this.a61_1.m68();
|
|
2669
2654
|
} else {
|
|
2670
|
-
tmp = this.
|
|
2655
|
+
tmp = this.a61_1.v66();
|
|
2671
2656
|
}
|
|
2672
2657
|
return tmp;
|
|
2673
2658
|
};
|
|
2674
2659
|
protoOf(StreamingJsonDecoder).cw = function (descriptor) {
|
|
2675
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2660
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.a61_1, this.y60_1) : protoOf(AbstractDecoder).cw.call(this, descriptor);
|
|
2676
2661
|
};
|
|
2677
2662
|
protoOf(StreamingJsonDecoder).bw = function (enumDescriptor) {
|
|
2678
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2663
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.y60_1, this.aw(), ' at path ' + this.a61_1.h61_1.b66());
|
|
2679
2664
|
};
|
|
2680
2665
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2681
2666
|
AbstractDecoder.call(this);
|
|
2682
|
-
this.
|
|
2683
|
-
this.
|
|
2667
|
+
this.v68_1 = lexer;
|
|
2668
|
+
this.w68_1 = json.at();
|
|
2684
2669
|
}
|
|
2685
2670
|
protoOf(JsonDecoderForUnsignedTypes).at = function () {
|
|
2686
|
-
return this.
|
|
2671
|
+
return this.w68_1;
|
|
2687
2672
|
};
|
|
2688
2673
|
protoOf(JsonDecoderForUnsignedTypes).vw = function (descriptor) {
|
|
2689
2674
|
var message = 'unsupported';
|
|
2690
2675
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2691
2676
|
};
|
|
2692
2677
|
protoOf(JsonDecoderForUnsignedTypes).vv = function () {
|
|
2693
|
-
var tmp0 = this.
|
|
2678
|
+
var tmp0 = this.v68_1;
|
|
2694
2679
|
var tmp$ret$2;
|
|
2695
2680
|
$l$block: {
|
|
2696
2681
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2697
|
-
var input = tmp0.
|
|
2682
|
+
var input = tmp0.w66();
|
|
2698
2683
|
try {
|
|
2699
2684
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2700
2685
|
var this_0 = toUInt(input);
|
|
@@ -2703,7 +2688,7 @@
|
|
|
2703
2688
|
} catch ($p) {
|
|
2704
2689
|
if ($p instanceof IllegalArgumentException) {
|
|
2705
2690
|
var e = $p;
|
|
2706
|
-
tmp0.
|
|
2691
|
+
tmp0.o65("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2707
2692
|
} else {
|
|
2708
2693
|
throw $p;
|
|
2709
2694
|
}
|
|
@@ -2712,11 +2697,11 @@
|
|
|
2712
2697
|
return tmp$ret$2;
|
|
2713
2698
|
};
|
|
2714
2699
|
protoOf(JsonDecoderForUnsignedTypes).wv = function () {
|
|
2715
|
-
var tmp0 = this.
|
|
2700
|
+
var tmp0 = this.v68_1;
|
|
2716
2701
|
var tmp$ret$2;
|
|
2717
2702
|
$l$block: {
|
|
2718
2703
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2719
|
-
var input = tmp0.
|
|
2704
|
+
var input = tmp0.w66();
|
|
2720
2705
|
try {
|
|
2721
2706
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2722
2707
|
var this_0 = toULong(input);
|
|
@@ -2725,7 +2710,7 @@
|
|
|
2725
2710
|
} catch ($p) {
|
|
2726
2711
|
if ($p instanceof IllegalArgumentException) {
|
|
2727
2712
|
var e = $p;
|
|
2728
|
-
tmp0.
|
|
2713
|
+
tmp0.o65("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2729
2714
|
} else {
|
|
2730
2715
|
throw $p;
|
|
2731
2716
|
}
|
|
@@ -2734,11 +2719,11 @@
|
|
|
2734
2719
|
return tmp$ret$2;
|
|
2735
2720
|
};
|
|
2736
2721
|
protoOf(JsonDecoderForUnsignedTypes).tv = function () {
|
|
2737
|
-
var tmp0 = this.
|
|
2722
|
+
var tmp0 = this.v68_1;
|
|
2738
2723
|
var tmp$ret$2;
|
|
2739
2724
|
$l$block: {
|
|
2740
2725
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2741
|
-
var input = tmp0.
|
|
2726
|
+
var input = tmp0.w66();
|
|
2742
2727
|
try {
|
|
2743
2728
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2744
2729
|
var this_0 = toUByte(input);
|
|
@@ -2747,7 +2732,7 @@
|
|
|
2747
2732
|
} catch ($p) {
|
|
2748
2733
|
if ($p instanceof IllegalArgumentException) {
|
|
2749
2734
|
var e = $p;
|
|
2750
|
-
tmp0.
|
|
2735
|
+
tmp0.o65("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2751
2736
|
} else {
|
|
2752
2737
|
throw $p;
|
|
2753
2738
|
}
|
|
@@ -2756,11 +2741,11 @@
|
|
|
2756
2741
|
return tmp$ret$2;
|
|
2757
2742
|
};
|
|
2758
2743
|
protoOf(JsonDecoderForUnsignedTypes).uv = function () {
|
|
2759
|
-
var tmp0 = this.
|
|
2744
|
+
var tmp0 = this.v68_1;
|
|
2760
2745
|
var tmp$ret$2;
|
|
2761
2746
|
$l$block: {
|
|
2762
2747
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2763
|
-
var input = tmp0.
|
|
2748
|
+
var input = tmp0.w66();
|
|
2764
2749
|
try {
|
|
2765
2750
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2766
2751
|
var this_0 = toUShort(input);
|
|
@@ -2769,7 +2754,7 @@
|
|
|
2769
2754
|
} catch ($p) {
|
|
2770
2755
|
if ($p instanceof IllegalArgumentException) {
|
|
2771
2756
|
var e = $p;
|
|
2772
|
-
tmp0.
|
|
2757
|
+
tmp0.o65("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2773
2758
|
} else {
|
|
2774
2759
|
throw $p;
|
|
2775
2760
|
}
|
|
@@ -2790,53 +2775,53 @@
|
|
|
2790
2775
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2791
2776
|
}
|
|
2792
2777
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2793
|
-
$this.
|
|
2778
|
+
$this.f66_1.i64();
|
|
2794
2779
|
$this.ix(discriminator);
|
|
2795
|
-
$this.
|
|
2796
|
-
$this.
|
|
2780
|
+
$this.f66_1.l64(_Char___init__impl__6a9atx(58));
|
|
2781
|
+
$this.f66_1.k64();
|
|
2797
2782
|
$this.ix(serialName);
|
|
2798
2783
|
}
|
|
2799
2784
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2800
2785
|
AbstractEncoder.call(this);
|
|
2801
|
-
this.
|
|
2802
|
-
this.
|
|
2803
|
-
this.
|
|
2804
|
-
this.
|
|
2805
|
-
this.
|
|
2806
|
-
this.
|
|
2807
|
-
this.
|
|
2808
|
-
this.
|
|
2809
|
-
this.
|
|
2810
|
-
var i = this.
|
|
2811
|
-
if (!(this.
|
|
2812
|
-
if (!(this.
|
|
2813
|
-
this.
|
|
2786
|
+
this.f66_1 = composer;
|
|
2787
|
+
this.g66_1 = json;
|
|
2788
|
+
this.h66_1 = mode;
|
|
2789
|
+
this.i66_1 = modeReuseCache;
|
|
2790
|
+
this.j66_1 = this.g66_1.at();
|
|
2791
|
+
this.k66_1 = this.g66_1.t60_1;
|
|
2792
|
+
this.l66_1 = false;
|
|
2793
|
+
this.m66_1 = null;
|
|
2794
|
+
this.n66_1 = null;
|
|
2795
|
+
var i = this.h66_1.a1_1;
|
|
2796
|
+
if (!(this.i66_1 == null)) {
|
|
2797
|
+
if (!(this.i66_1[i] === null) || !(this.i66_1[i] === this)) {
|
|
2798
|
+
this.i66_1[i] = this;
|
|
2814
2799
|
}
|
|
2815
2800
|
}
|
|
2816
2801
|
}
|
|
2817
|
-
protoOf(StreamingJsonEncoder).
|
|
2818
|
-
return this.
|
|
2802
|
+
protoOf(StreamingJsonEncoder).v62 = function () {
|
|
2803
|
+
return this.g66_1;
|
|
2819
2804
|
};
|
|
2820
2805
|
protoOf(StreamingJsonEncoder).at = function () {
|
|
2821
|
-
return this.
|
|
2806
|
+
return this.j66_1;
|
|
2822
2807
|
};
|
|
2823
2808
|
protoOf(StreamingJsonEncoder).ay = function (descriptor, index) {
|
|
2824
|
-
return this.
|
|
2809
|
+
return this.k66_1.e62_1;
|
|
2825
2810
|
};
|
|
2826
2811
|
protoOf(StreamingJsonEncoder).bt = function (serializer, value) {
|
|
2827
2812
|
$l$block: {
|
|
2828
2813
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2829
|
-
if (this.
|
|
2814
|
+
if (this.v62().t60_1.m62_1) {
|
|
2830
2815
|
serializer.ct(this, value);
|
|
2831
2816
|
break $l$block;
|
|
2832
2817
|
}
|
|
2833
2818
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2834
2819
|
var tmp;
|
|
2835
2820
|
if (isPolymorphicSerializer) {
|
|
2836
|
-
tmp = !this.
|
|
2821
|
+
tmp = !this.v62().t60_1.u62_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2837
2822
|
} else {
|
|
2838
2823
|
var tmp_0;
|
|
2839
|
-
switch (this.
|
|
2824
|
+
switch (this.v62().t60_1.u62_1.a1_1) {
|
|
2840
2825
|
case 0:
|
|
2841
2826
|
case 2:
|
|
2842
2827
|
tmp_0 = false;
|
|
@@ -2854,7 +2839,7 @@
|
|
|
2854
2839
|
tmp = tmp_0;
|
|
2855
2840
|
}
|
|
2856
2841
|
var needDiscriminator = tmp;
|
|
2857
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ps(), this.
|
|
2842
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ps(), this.v62()) : null;
|
|
2858
2843
|
var tmp_1;
|
|
2859
2844
|
if (isPolymorphicSerializer) {
|
|
2860
2845
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -2879,93 +2864,93 @@
|
|
|
2879
2864
|
var actualSerializer = tmp_1;
|
|
2880
2865
|
if (!(baseClassDiscriminator == null)) {
|
|
2881
2866
|
var serialName = actualSerializer.ps().ut();
|
|
2882
|
-
this.
|
|
2883
|
-
this.
|
|
2867
|
+
this.m66_1 = baseClassDiscriminator;
|
|
2868
|
+
this.n66_1 = serialName;
|
|
2884
2869
|
}
|
|
2885
2870
|
actualSerializer.ct(this, value);
|
|
2886
2871
|
}
|
|
2887
2872
|
};
|
|
2888
2873
|
protoOf(StreamingJsonEncoder).ew = function (descriptor) {
|
|
2889
|
-
var newMode = switchMode(this.
|
|
2890
|
-
if (!(newMode.
|
|
2891
|
-
this.
|
|
2892
|
-
this.
|
|
2874
|
+
var newMode = switchMode(this.g66_1, descriptor);
|
|
2875
|
+
if (!(newMode.q68_1 === _Char___init__impl__6a9atx(0))) {
|
|
2876
|
+
this.f66_1.l64(newMode.q68_1);
|
|
2877
|
+
this.f66_1.g64();
|
|
2893
2878
|
}
|
|
2894
|
-
var discriminator = this.
|
|
2879
|
+
var discriminator = this.m66_1;
|
|
2895
2880
|
if (!(discriminator == null)) {
|
|
2896
|
-
var tmp0_elvis_lhs = this.
|
|
2881
|
+
var tmp0_elvis_lhs = this.n66_1;
|
|
2897
2882
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.ut() : tmp0_elvis_lhs);
|
|
2898
|
-
this.
|
|
2899
|
-
this.
|
|
2883
|
+
this.m66_1 = null;
|
|
2884
|
+
this.n66_1 = null;
|
|
2900
2885
|
}
|
|
2901
|
-
if (this.
|
|
2886
|
+
if (this.h66_1.equals(newMode)) {
|
|
2902
2887
|
return this;
|
|
2903
2888
|
}
|
|
2904
|
-
var tmp1_safe_receiver = this.
|
|
2889
|
+
var tmp1_safe_receiver = this.i66_1;
|
|
2905
2890
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.a1_1];
|
|
2906
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2891
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.f66_1, this.g66_1, newMode, this.i66_1) : tmp2_elvis_lhs;
|
|
2907
2892
|
};
|
|
2908
2893
|
protoOf(StreamingJsonEncoder).fw = function (descriptor) {
|
|
2909
|
-
if (!(this.
|
|
2910
|
-
this.
|
|
2911
|
-
this.
|
|
2912
|
-
this.
|
|
2894
|
+
if (!(this.h66_1.r68_1 === _Char___init__impl__6a9atx(0))) {
|
|
2895
|
+
this.f66_1.h64();
|
|
2896
|
+
this.f66_1.j64();
|
|
2897
|
+
this.f66_1.l64(this.h66_1.r68_1);
|
|
2913
2898
|
}
|
|
2914
2899
|
};
|
|
2915
2900
|
protoOf(StreamingJsonEncoder).xw = function (descriptor, index) {
|
|
2916
|
-
switch (this.
|
|
2901
|
+
switch (this.h66_1.a1_1) {
|
|
2917
2902
|
case 1:
|
|
2918
|
-
if (!this.
|
|
2919
|
-
this.
|
|
2903
|
+
if (!this.f66_1.f64_1) {
|
|
2904
|
+
this.f66_1.l64(_Char___init__impl__6a9atx(44));
|
|
2920
2905
|
}
|
|
2921
2906
|
|
|
2922
|
-
this.
|
|
2907
|
+
this.f66_1.i64();
|
|
2923
2908
|
break;
|
|
2924
2909
|
case 2:
|
|
2925
|
-
if (!this.
|
|
2910
|
+
if (!this.f66_1.f64_1) {
|
|
2926
2911
|
var tmp = this;
|
|
2927
2912
|
var tmp_0;
|
|
2928
2913
|
if ((index % 2 | 0) === 0) {
|
|
2929
|
-
this.
|
|
2930
|
-
this.
|
|
2914
|
+
this.f66_1.l64(_Char___init__impl__6a9atx(44));
|
|
2915
|
+
this.f66_1.i64();
|
|
2931
2916
|
tmp_0 = true;
|
|
2932
2917
|
} else {
|
|
2933
|
-
this.
|
|
2934
|
-
this.
|
|
2918
|
+
this.f66_1.l64(_Char___init__impl__6a9atx(58));
|
|
2919
|
+
this.f66_1.k64();
|
|
2935
2920
|
tmp_0 = false;
|
|
2936
2921
|
}
|
|
2937
|
-
tmp.
|
|
2922
|
+
tmp.l66_1 = tmp_0;
|
|
2938
2923
|
} else {
|
|
2939
|
-
this.
|
|
2940
|
-
this.
|
|
2924
|
+
this.l66_1 = true;
|
|
2925
|
+
this.f66_1.i64();
|
|
2941
2926
|
}
|
|
2942
2927
|
|
|
2943
2928
|
break;
|
|
2944
2929
|
case 3:
|
|
2945
2930
|
if (index === 0)
|
|
2946
|
-
this.
|
|
2931
|
+
this.l66_1 = true;
|
|
2947
2932
|
if (index === 1) {
|
|
2948
|
-
this.
|
|
2949
|
-
this.
|
|
2950
|
-
this.
|
|
2933
|
+
this.f66_1.l64(_Char___init__impl__6a9atx(44));
|
|
2934
|
+
this.f66_1.k64();
|
|
2935
|
+
this.l66_1 = false;
|
|
2951
2936
|
}
|
|
2952
2937
|
|
|
2953
2938
|
break;
|
|
2954
2939
|
default:
|
|
2955
|
-
if (!this.
|
|
2956
|
-
this.
|
|
2940
|
+
if (!this.f66_1.f64_1) {
|
|
2941
|
+
this.f66_1.l64(_Char___init__impl__6a9atx(44));
|
|
2957
2942
|
}
|
|
2958
2943
|
|
|
2959
|
-
this.
|
|
2960
|
-
this.ix(getJsonElementName(descriptor, this.
|
|
2961
|
-
this.
|
|
2962
|
-
this.
|
|
2944
|
+
this.f66_1.i64();
|
|
2945
|
+
this.ix(getJsonElementName(descriptor, this.g66_1, index));
|
|
2946
|
+
this.f66_1.l64(_Char___init__impl__6a9atx(58));
|
|
2947
|
+
this.f66_1.k64();
|
|
2963
2948
|
break;
|
|
2964
2949
|
}
|
|
2965
2950
|
return true;
|
|
2966
2951
|
};
|
|
2967
2952
|
protoOf(StreamingJsonEncoder).wx = function (descriptor, index, serializer, value) {
|
|
2968
|
-
if (!(value == null) || this.
|
|
2953
|
+
if (!(value == null) || this.k66_1.j62_1) {
|
|
2969
2954
|
protoOf(AbstractEncoder).wx.call(this, descriptor, index, serializer, value);
|
|
2970
2955
|
}
|
|
2971
2956
|
};
|
|
@@ -2974,32 +2959,32 @@
|
|
|
2974
2959
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2975
2960
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2976
2961
|
var tmp_0;
|
|
2977
|
-
var tmp_1 = this.
|
|
2962
|
+
var tmp_1 = this.f66_1;
|
|
2978
2963
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2979
|
-
tmp_0 = this.
|
|
2964
|
+
tmp_0 = this.f66_1;
|
|
2980
2965
|
} else {
|
|
2981
|
-
var tmp0 = this.
|
|
2982
|
-
var p1 = this.
|
|
2966
|
+
var tmp0 = this.f66_1.e64_1;
|
|
2967
|
+
var p1 = this.l66_1;
|
|
2983
2968
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
2984
2969
|
}
|
|
2985
2970
|
var tmp$ret$1 = tmp_0;
|
|
2986
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2971
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.g66_1, this.h66_1, null);
|
|
2987
2972
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2988
2973
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2989
2974
|
var tmp_2;
|
|
2990
|
-
var tmp_3 = this.
|
|
2975
|
+
var tmp_3 = this.f66_1;
|
|
2991
2976
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2992
|
-
tmp_2 = this.
|
|
2977
|
+
tmp_2 = this.f66_1;
|
|
2993
2978
|
} else {
|
|
2994
|
-
var tmp0_0 = this.
|
|
2995
|
-
var p1_0 = this.
|
|
2979
|
+
var tmp0_0 = this.f66_1.e64_1;
|
|
2980
|
+
var p1_0 = this.l66_1;
|
|
2996
2981
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
2997
2982
|
}
|
|
2998
2983
|
var tmp$ret$3 = tmp_2;
|
|
2999
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
3000
|
-
} else if (!(this.
|
|
2984
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.g66_1, this.h66_1, null);
|
|
2985
|
+
} else if (!(this.m66_1 == null)) {
|
|
3001
2986
|
// Inline function 'kotlin.apply' call
|
|
3002
|
-
this.
|
|
2987
|
+
this.n66_1 = descriptor.ut();
|
|
3003
2988
|
tmp = this;
|
|
3004
2989
|
} else {
|
|
3005
2990
|
tmp = protoOf(AbstractEncoder).kx.call(this, descriptor);
|
|
@@ -3007,68 +2992,68 @@
|
|
|
3007
2992
|
return tmp;
|
|
3008
2993
|
};
|
|
3009
2994
|
protoOf(StreamingJsonEncoder).zw = function () {
|
|
3010
|
-
this.
|
|
2995
|
+
this.f66_1.n64('null');
|
|
3011
2996
|
};
|
|
3012
2997
|
protoOf(StreamingJsonEncoder).ax = function (value) {
|
|
3013
|
-
if (this.
|
|
2998
|
+
if (this.l66_1) {
|
|
3014
2999
|
this.ix(value.toString());
|
|
3015
3000
|
} else {
|
|
3016
|
-
this.
|
|
3001
|
+
this.f66_1.w64(value);
|
|
3017
3002
|
}
|
|
3018
3003
|
};
|
|
3019
3004
|
protoOf(StreamingJsonEncoder).bx = function (value) {
|
|
3020
|
-
if (this.
|
|
3005
|
+
if (this.l66_1) {
|
|
3021
3006
|
this.ix(value.toString());
|
|
3022
3007
|
} else {
|
|
3023
|
-
this.
|
|
3008
|
+
this.f66_1.r64(value);
|
|
3024
3009
|
}
|
|
3025
3010
|
};
|
|
3026
3011
|
protoOf(StreamingJsonEncoder).cx = function (value) {
|
|
3027
|
-
if (this.
|
|
3012
|
+
if (this.l66_1) {
|
|
3028
3013
|
this.ix(value.toString());
|
|
3029
3014
|
} else {
|
|
3030
|
-
this.
|
|
3015
|
+
this.f66_1.t64(value);
|
|
3031
3016
|
}
|
|
3032
3017
|
};
|
|
3033
3018
|
protoOf(StreamingJsonEncoder).dx = function (value) {
|
|
3034
|
-
if (this.
|
|
3019
|
+
if (this.l66_1) {
|
|
3035
3020
|
this.ix(value.toString());
|
|
3036
3021
|
} else {
|
|
3037
|
-
this.
|
|
3022
|
+
this.f66_1.u64(value);
|
|
3038
3023
|
}
|
|
3039
3024
|
};
|
|
3040
3025
|
protoOf(StreamingJsonEncoder).ex = function (value) {
|
|
3041
|
-
if (this.
|
|
3026
|
+
if (this.l66_1) {
|
|
3042
3027
|
this.ix(value.toString());
|
|
3043
3028
|
} else {
|
|
3044
|
-
this.
|
|
3029
|
+
this.f66_1.v64(value);
|
|
3045
3030
|
}
|
|
3046
3031
|
};
|
|
3047
3032
|
protoOf(StreamingJsonEncoder).fx = function (value) {
|
|
3048
|
-
if (this.
|
|
3033
|
+
if (this.l66_1) {
|
|
3049
3034
|
this.ix(value.toString());
|
|
3050
3035
|
} else {
|
|
3051
|
-
this.
|
|
3036
|
+
this.f66_1.p64(value);
|
|
3052
3037
|
}
|
|
3053
|
-
if (!this.
|
|
3054
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3038
|
+
if (!this.k66_1.o62_1 && !isFinite(value)) {
|
|
3039
|
+
throw InvalidFloatingPointEncoded(value, toString(this.f66_1.e64_1));
|
|
3055
3040
|
}
|
|
3056
3041
|
};
|
|
3057
3042
|
protoOf(StreamingJsonEncoder).gx = function (value) {
|
|
3058
|
-
if (this.
|
|
3043
|
+
if (this.l66_1) {
|
|
3059
3044
|
this.ix(value.toString());
|
|
3060
3045
|
} else {
|
|
3061
|
-
this.
|
|
3046
|
+
this.f66_1.q64(value);
|
|
3062
3047
|
}
|
|
3063
|
-
if (!this.
|
|
3064
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3048
|
+
if (!this.k66_1.o62_1 && !isFinite_0(value)) {
|
|
3049
|
+
throw InvalidFloatingPointEncoded(value, toString(this.f66_1.e64_1));
|
|
3065
3050
|
}
|
|
3066
3051
|
};
|
|
3067
3052
|
protoOf(StreamingJsonEncoder).hx = function (value) {
|
|
3068
3053
|
this.ix(toString_1(value));
|
|
3069
3054
|
};
|
|
3070
3055
|
protoOf(StreamingJsonEncoder).ix = function (value) {
|
|
3071
|
-
return this.
|
|
3056
|
+
return this.f66_1.x64(value);
|
|
3072
3057
|
};
|
|
3073
3058
|
protoOf(StreamingJsonEncoder).jx = function (enumDescriptor, index) {
|
|
3074
3059
|
this.ix(enumDescriptor.qu(index));
|
|
@@ -3242,42 +3227,42 @@
|
|
|
3242
3227
|
}
|
|
3243
3228
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
3244
3229
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
3245
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
3230
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.d69(tag), toString($this.e69()));
|
|
3246
3231
|
}
|
|
3247
3232
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
3248
3233
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3249
3234
|
NamedValueDecoder.call(this);
|
|
3250
|
-
this.
|
|
3251
|
-
this.
|
|
3252
|
-
this.
|
|
3253
|
-
this.
|
|
3235
|
+
this.z68_1 = json;
|
|
3236
|
+
this.a69_1 = value;
|
|
3237
|
+
this.b69_1 = polymorphicDiscriminator;
|
|
3238
|
+
this.c69_1 = this.v62().t60_1;
|
|
3254
3239
|
}
|
|
3255
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3256
|
-
return this.
|
|
3240
|
+
protoOf(AbstractJsonTreeDecoder).v62 = function () {
|
|
3241
|
+
return this.z68_1;
|
|
3257
3242
|
};
|
|
3258
3243
|
protoOf(AbstractJsonTreeDecoder).n1 = function () {
|
|
3259
|
-
return this.
|
|
3244
|
+
return this.a69_1;
|
|
3260
3245
|
};
|
|
3261
3246
|
protoOf(AbstractJsonTreeDecoder).at = function () {
|
|
3262
|
-
return this.
|
|
3247
|
+
return this.v62().at();
|
|
3263
3248
|
};
|
|
3264
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3249
|
+
protoOf(AbstractJsonTreeDecoder).e69 = function () {
|
|
3265
3250
|
var tmp0_safe_receiver = this.n1a();
|
|
3266
3251
|
var tmp;
|
|
3267
3252
|
if (tmp0_safe_receiver == null) {
|
|
3268
3253
|
tmp = null;
|
|
3269
3254
|
} else {
|
|
3270
3255
|
// Inline function 'kotlin.let' call
|
|
3271
|
-
tmp = this.
|
|
3256
|
+
tmp = this.f69(tmp0_safe_receiver);
|
|
3272
3257
|
}
|
|
3273
3258
|
var tmp1_elvis_lhs = tmp;
|
|
3274
3259
|
return tmp1_elvis_lhs == null ? this.n1() : tmp1_elvis_lhs;
|
|
3275
3260
|
};
|
|
3276
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3261
|
+
protoOf(AbstractJsonTreeDecoder).d69 = function (currentTag) {
|
|
3277
3262
|
return this.p1a() + ('.' + currentTag);
|
|
3278
3263
|
};
|
|
3279
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3280
|
-
return this.
|
|
3264
|
+
protoOf(AbstractJsonTreeDecoder).w62 = function () {
|
|
3265
|
+
return this.e69();
|
|
3281
3266
|
};
|
|
3282
3267
|
protoOf(AbstractJsonTreeDecoder).et = function (deserializer) {
|
|
3283
3268
|
var tmp$ret$0;
|
|
@@ -3287,14 +3272,14 @@
|
|
|
3287
3272
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3288
3273
|
tmp = true;
|
|
3289
3274
|
} else {
|
|
3290
|
-
tmp = this.
|
|
3275
|
+
tmp = this.v62().t60_1.m62_1;
|
|
3291
3276
|
}
|
|
3292
3277
|
if (tmp) {
|
|
3293
3278
|
tmp$ret$0 = deserializer.dt(this);
|
|
3294
3279
|
break $l$block;
|
|
3295
3280
|
}
|
|
3296
|
-
var discriminator = classDiscriminator(deserializer.ps(), this.
|
|
3297
|
-
var tmp0 = this.
|
|
3281
|
+
var discriminator = classDiscriminator(deserializer.ps(), this.v62());
|
|
3282
|
+
var tmp0 = this.w62();
|
|
3298
3283
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3299
3284
|
var serialName = deserializer.ps().ut();
|
|
3300
3285
|
if (!(tmp0 instanceof JsonObject)) {
|
|
@@ -3304,7 +3289,7 @@
|
|
|
3304
3289
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
3305
3290
|
}
|
|
3306
3291
|
var jsonTree = tmp0;
|
|
3307
|
-
var tmp0_safe_receiver = jsonTree.
|
|
3292
|
+
var tmp0_safe_receiver = jsonTree.b35(discriminator);
|
|
3308
3293
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
3309
3294
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
3310
3295
|
var tmp_2;
|
|
@@ -3321,7 +3306,7 @@
|
|
|
3321
3306
|
}
|
|
3322
3307
|
var tmp_4 = tmp_2;
|
|
3323
3308
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3324
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3309
|
+
tmp$ret$0 = readPolymorphicJson(this.v62(), discriminator, jsonTree, actualSerializer);
|
|
3325
3310
|
}
|
|
3326
3311
|
return tmp$ret$0;
|
|
3327
3312
|
};
|
|
@@ -3329,7 +3314,7 @@
|
|
|
3329
3314
|
return childName;
|
|
3330
3315
|
};
|
|
3331
3316
|
protoOf(AbstractJsonTreeDecoder).ew = function (descriptor) {
|
|
3332
|
-
var currentObject = this.
|
|
3317
|
+
var currentObject = this.e69();
|
|
3333
3318
|
var tmp0_subject = descriptor.nu();
|
|
3334
3319
|
var tmp;
|
|
3335
3320
|
var tmp_0;
|
|
@@ -3339,7 +3324,7 @@
|
|
|
3339
3324
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3340
3325
|
}
|
|
3341
3326
|
if (tmp_0) {
|
|
3342
|
-
var tmp_1 = this.
|
|
3327
|
+
var tmp_1 = this.v62();
|
|
3343
3328
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3344
3329
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3345
3330
|
var serialName = descriptor.ut();
|
|
@@ -3353,7 +3338,7 @@
|
|
|
3353
3338
|
} else {
|
|
3354
3339
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3355
3340
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3356
|
-
var this_0 = this.
|
|
3341
|
+
var this_0 = this.v62();
|
|
3357
3342
|
var keyDescriptor = carrierDescriptor(descriptor.tu(0), this_0.at());
|
|
3358
3343
|
var keyKind = keyDescriptor.nu();
|
|
3359
3344
|
var tmp_4;
|
|
@@ -3364,7 +3349,7 @@
|
|
|
3364
3349
|
tmp_5 = equals(keyKind, ENUM_getInstance());
|
|
3365
3350
|
}
|
|
3366
3351
|
if (tmp_5) {
|
|
3367
|
-
var tmp_6 = this.
|
|
3352
|
+
var tmp_6 = this.v62();
|
|
3368
3353
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3369
3354
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3370
3355
|
var serialName_0 = descriptor.ut();
|
|
@@ -3376,8 +3361,8 @@
|
|
|
3376
3361
|
}
|
|
3377
3362
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
3378
3363
|
} else {
|
|
3379
|
-
if (this_0.
|
|
3380
|
-
var tmp_9 = this.
|
|
3364
|
+
if (this_0.t60_1.h62_1) {
|
|
3365
|
+
var tmp_9 = this.v62();
|
|
3381
3366
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3382
3367
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3383
3368
|
var serialName_1 = descriptor.ut();
|
|
@@ -3394,7 +3379,7 @@
|
|
|
3394
3379
|
}
|
|
3395
3380
|
tmp = tmp_4;
|
|
3396
3381
|
} else {
|
|
3397
|
-
var tmp_12 = this.
|
|
3382
|
+
var tmp_12 = this.v62();
|
|
3398
3383
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3399
3384
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3400
3385
|
var serialName_2 = descriptor.ut();
|
|
@@ -3404,7 +3389,7 @@
|
|
|
3404
3389
|
var tmp$ret$12 = this.p1a();
|
|
3405
3390
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$12, toString(currentObject));
|
|
3406
3391
|
}
|
|
3407
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
3392
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.b69_1);
|
|
3408
3393
|
}
|
|
3409
3394
|
}
|
|
3410
3395
|
return tmp;
|
|
@@ -3412,44 +3397,44 @@
|
|
|
3412
3397
|
protoOf(AbstractJsonTreeDecoder).fw = function (descriptor) {
|
|
3413
3398
|
};
|
|
3414
3399
|
protoOf(AbstractJsonTreeDecoder).qv = function () {
|
|
3415
|
-
var tmp = this.
|
|
3400
|
+
var tmp = this.e69();
|
|
3416
3401
|
return !(tmp instanceof JsonNull);
|
|
3417
3402
|
};
|
|
3418
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3419
|
-
var tmp = this.
|
|
3403
|
+
protoOf(AbstractJsonTreeDecoder).g69 = function (tag, enumDescriptor) {
|
|
3404
|
+
var tmp = this.v62();
|
|
3420
3405
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3421
|
-
var tmp2 = this.
|
|
3406
|
+
var tmp2 = this.f69(tag);
|
|
3422
3407
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3423
3408
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3424
3409
|
var serialName = enumDescriptor.ut();
|
|
3425
3410
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3426
3411
|
var tmp_0 = getKClass(JsonPrimitive).o();
|
|
3427
3412
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3428
|
-
var tmp$ret$0 = this.
|
|
3413
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3429
3414
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3430
3415
|
}
|
|
3431
|
-
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.
|
|
3416
|
+
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.z4b());
|
|
3432
3417
|
};
|
|
3433
3418
|
protoOf(AbstractJsonTreeDecoder).b1b = function (tag, enumDescriptor) {
|
|
3434
|
-
return this.
|
|
3419
|
+
return this.g69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3435
3420
|
};
|
|
3436
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3437
|
-
return !(this.
|
|
3421
|
+
protoOf(AbstractJsonTreeDecoder).h69 = function (tag) {
|
|
3422
|
+
return !(this.f69(tag) === JsonNull_getInstance());
|
|
3438
3423
|
};
|
|
3439
3424
|
protoOf(AbstractJsonTreeDecoder).r1a = function (tag) {
|
|
3440
|
-
return this.
|
|
3425
|
+
return this.h69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3441
3426
|
};
|
|
3442
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3427
|
+
protoOf(AbstractJsonTreeDecoder).i69 = function (tag) {
|
|
3443
3428
|
var tmp$ret$4;
|
|
3444
3429
|
$l$block: {
|
|
3445
3430
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3446
3431
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3447
3432
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3448
|
-
var value = this.
|
|
3433
|
+
var value = this.f69(tag);
|
|
3449
3434
|
if (!(value instanceof JsonPrimitive)) {
|
|
3450
3435
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3451
3436
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3452
|
-
var tmp$ret$0 = this.
|
|
3437
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3453
3438
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3454
3439
|
}
|
|
3455
3440
|
var literal = value;
|
|
@@ -3475,19 +3460,19 @@
|
|
|
3475
3460
|
return tmp$ret$4;
|
|
3476
3461
|
};
|
|
3477
3462
|
protoOf(AbstractJsonTreeDecoder).s1a = function (tag) {
|
|
3478
|
-
return this.
|
|
3463
|
+
return this.i69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3479
3464
|
};
|
|
3480
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3465
|
+
protoOf(AbstractJsonTreeDecoder).j69 = function (tag) {
|
|
3481
3466
|
var tmp$ret$5;
|
|
3482
3467
|
$l$block: {
|
|
3483
3468
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3484
3469
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3485
3470
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3486
|
-
var value = this.
|
|
3471
|
+
var value = this.f69(tag);
|
|
3487
3472
|
if (!(value instanceof JsonPrimitive)) {
|
|
3488
3473
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3489
3474
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3490
|
-
var tmp$ret$0 = this.
|
|
3475
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3491
3476
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3492
3477
|
}
|
|
3493
3478
|
var literal = value;
|
|
@@ -3522,19 +3507,19 @@
|
|
|
3522
3507
|
return tmp$ret$5;
|
|
3523
3508
|
};
|
|
3524
3509
|
protoOf(AbstractJsonTreeDecoder).t1a = function (tag) {
|
|
3525
|
-
return this.
|
|
3510
|
+
return this.j69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3526
3511
|
};
|
|
3527
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3512
|
+
protoOf(AbstractJsonTreeDecoder).k69 = function (tag) {
|
|
3528
3513
|
var tmp$ret$5;
|
|
3529
3514
|
$l$block: {
|
|
3530
3515
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3531
3516
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3532
3517
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3533
|
-
var value = this.
|
|
3518
|
+
var value = this.f69(tag);
|
|
3534
3519
|
if (!(value instanceof JsonPrimitive)) {
|
|
3535
3520
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3536
3521
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3537
|
-
var tmp$ret$0 = this.
|
|
3522
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3538
3523
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3539
3524
|
}
|
|
3540
3525
|
var literal = value;
|
|
@@ -3569,19 +3554,19 @@
|
|
|
3569
3554
|
return tmp$ret$5;
|
|
3570
3555
|
};
|
|
3571
3556
|
protoOf(AbstractJsonTreeDecoder).u1a = function (tag) {
|
|
3572
|
-
return this.
|
|
3557
|
+
return this.k69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3573
3558
|
};
|
|
3574
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3559
|
+
protoOf(AbstractJsonTreeDecoder).l69 = function (tag) {
|
|
3575
3560
|
var tmp$ret$5;
|
|
3576
3561
|
$l$block: {
|
|
3577
3562
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3578
3563
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3579
3564
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3580
|
-
var value = this.
|
|
3565
|
+
var value = this.f69(tag);
|
|
3581
3566
|
if (!(value instanceof JsonPrimitive)) {
|
|
3582
3567
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3583
3568
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3584
|
-
var tmp$ret$0 = this.
|
|
3569
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3585
3570
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3586
3571
|
}
|
|
3587
3572
|
var literal = value;
|
|
@@ -3616,19 +3601,19 @@
|
|
|
3616
3601
|
return tmp$ret$5;
|
|
3617
3602
|
};
|
|
3618
3603
|
protoOf(AbstractJsonTreeDecoder).v1a = function (tag) {
|
|
3619
|
-
return this.
|
|
3604
|
+
return this.l69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3620
3605
|
};
|
|
3621
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3606
|
+
protoOf(AbstractJsonTreeDecoder).m69 = function (tag) {
|
|
3622
3607
|
var tmp$ret$4;
|
|
3623
3608
|
$l$block: {
|
|
3624
3609
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3625
3610
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3626
3611
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3627
|
-
var value = this.
|
|
3612
|
+
var value = this.f69(tag);
|
|
3628
3613
|
if (!(value instanceof JsonPrimitive)) {
|
|
3629
3614
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3630
3615
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3631
|
-
var tmp$ret$0 = this.
|
|
3616
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3632
3617
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3633
3618
|
}
|
|
3634
3619
|
var literal = value;
|
|
@@ -3654,19 +3639,19 @@
|
|
|
3654
3639
|
return tmp$ret$4;
|
|
3655
3640
|
};
|
|
3656
3641
|
protoOf(AbstractJsonTreeDecoder).w1a = function (tag) {
|
|
3657
|
-
return this.
|
|
3642
|
+
return this.m69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3658
3643
|
};
|
|
3659
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3644
|
+
protoOf(AbstractJsonTreeDecoder).n69 = function (tag) {
|
|
3660
3645
|
var tmp$ret$4;
|
|
3661
3646
|
$l$block: {
|
|
3662
3647
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3663
3648
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3664
3649
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3665
|
-
var value = this.
|
|
3650
|
+
var value = this.f69(tag);
|
|
3666
3651
|
if (!(value instanceof JsonPrimitive)) {
|
|
3667
3652
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3668
3653
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3669
|
-
var tmp$ret$0 = this.
|
|
3654
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3670
3655
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3671
3656
|
}
|
|
3672
3657
|
var literal = value;
|
|
@@ -3690,25 +3675,25 @@
|
|
|
3690
3675
|
}
|
|
3691
3676
|
}
|
|
3692
3677
|
var result = tmp$ret$4;
|
|
3693
|
-
var specialFp = this.
|
|
3678
|
+
var specialFp = this.v62().t60_1.o62_1;
|
|
3694
3679
|
if (specialFp || isFinite(result))
|
|
3695
3680
|
return result;
|
|
3696
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3681
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.e69()));
|
|
3697
3682
|
};
|
|
3698
3683
|
protoOf(AbstractJsonTreeDecoder).x1a = function (tag) {
|
|
3699
|
-
return this.
|
|
3684
|
+
return this.n69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3700
3685
|
};
|
|
3701
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3686
|
+
protoOf(AbstractJsonTreeDecoder).o69 = function (tag) {
|
|
3702
3687
|
var tmp$ret$4;
|
|
3703
3688
|
$l$block: {
|
|
3704
3689
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3705
3690
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3706
3691
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3707
|
-
var value = this.
|
|
3692
|
+
var value = this.f69(tag);
|
|
3708
3693
|
if (!(value instanceof JsonPrimitive)) {
|
|
3709
3694
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3710
3695
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3711
|
-
var tmp$ret$0 = this.
|
|
3696
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3712
3697
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3713
3698
|
}
|
|
3714
3699
|
var literal = value;
|
|
@@ -3732,30 +3717,30 @@
|
|
|
3732
3717
|
}
|
|
3733
3718
|
}
|
|
3734
3719
|
var result = tmp$ret$4;
|
|
3735
|
-
var specialFp = this.
|
|
3720
|
+
var specialFp = this.v62().t60_1.o62_1;
|
|
3736
3721
|
if (specialFp || isFinite_0(result))
|
|
3737
3722
|
return result;
|
|
3738
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3723
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.e69()));
|
|
3739
3724
|
};
|
|
3740
3725
|
protoOf(AbstractJsonTreeDecoder).y1a = function (tag) {
|
|
3741
|
-
return this.
|
|
3726
|
+
return this.o69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3742
3727
|
};
|
|
3743
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3728
|
+
protoOf(AbstractJsonTreeDecoder).p69 = function (tag) {
|
|
3744
3729
|
var tmp$ret$4;
|
|
3745
3730
|
$l$block: {
|
|
3746
3731
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3747
3732
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3748
3733
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3749
|
-
var value = this.
|
|
3734
|
+
var value = this.f69(tag);
|
|
3750
3735
|
if (!(value instanceof JsonPrimitive)) {
|
|
3751
3736
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3752
3737
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3753
|
-
var tmp$ret$0 = this.
|
|
3738
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3754
3739
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3755
3740
|
}
|
|
3756
3741
|
var literal = value;
|
|
3757
3742
|
try {
|
|
3758
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3743
|
+
var tmp0_elvis_lhs = new Char(single(literal.z4b()));
|
|
3759
3744
|
var tmp_1;
|
|
3760
3745
|
if (tmp0_elvis_lhs == null) {
|
|
3761
3746
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3776,80 +3761,80 @@
|
|
|
3776
3761
|
return tmp$ret$4;
|
|
3777
3762
|
};
|
|
3778
3763
|
protoOf(AbstractJsonTreeDecoder).z1a = function (tag) {
|
|
3779
|
-
return this.
|
|
3764
|
+
return this.p69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3780
3765
|
};
|
|
3781
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3766
|
+
protoOf(AbstractJsonTreeDecoder).q69 = function (tag) {
|
|
3782
3767
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3783
3768
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3784
|
-
var value = this.
|
|
3769
|
+
var value = this.f69(tag);
|
|
3785
3770
|
if (!(value instanceof JsonPrimitive)) {
|
|
3786
3771
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3787
3772
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3788
|
-
var tmp$ret$0 = this.
|
|
3773
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3789
3774
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3790
3775
|
}
|
|
3791
3776
|
var value_0 = value;
|
|
3792
3777
|
if (!(value_0 instanceof JsonLiteral))
|
|
3793
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3794
|
-
if (!value_0.
|
|
3795
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3778
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.d69(tag), toString(this.e69()));
|
|
3779
|
+
if (!value_0.h63_1 && !this.v62().t60_1.g62_1) {
|
|
3780
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.d69(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.e69()));
|
|
3796
3781
|
}
|
|
3797
|
-
return value_0.
|
|
3782
|
+
return value_0.j63_1;
|
|
3798
3783
|
};
|
|
3799
3784
|
protoOf(AbstractJsonTreeDecoder).a1b = function (tag) {
|
|
3800
|
-
return this.
|
|
3785
|
+
return this.q69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3801
3786
|
};
|
|
3802
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3787
|
+
protoOf(AbstractJsonTreeDecoder).r69 = function (tag, inlineDescriptor) {
|
|
3803
3788
|
var tmp;
|
|
3804
3789
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3805
|
-
var tmp_0 = this.
|
|
3790
|
+
var tmp_0 = this.v62();
|
|
3806
3791
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3807
|
-
var tmp2 = this.
|
|
3792
|
+
var tmp2 = this.f69(tag);
|
|
3808
3793
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3809
3794
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3810
3795
|
var serialName = inlineDescriptor.ut();
|
|
3811
3796
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3812
3797
|
var tmp_1 = getKClass(JsonPrimitive).o();
|
|
3813
3798
|
var tmp_2 = getKClassFromExpression(tmp2).o();
|
|
3814
|
-
var tmp$ret$0 = this.
|
|
3799
|
+
var tmp$ret$0 = this.d69(tag);
|
|
3815
3800
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3816
3801
|
}
|
|
3817
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
3818
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3802
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.z4b());
|
|
3803
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.v62());
|
|
3819
3804
|
} else {
|
|
3820
3805
|
tmp = protoOf(NamedValueDecoder).c1b.call(this, tag, inlineDescriptor);
|
|
3821
3806
|
}
|
|
3822
3807
|
return tmp;
|
|
3823
3808
|
};
|
|
3824
3809
|
protoOf(AbstractJsonTreeDecoder).c1b = function (tag, inlineDescriptor) {
|
|
3825
|
-
return this.
|
|
3810
|
+
return this.r69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3826
3811
|
};
|
|
3827
3812
|
protoOf(AbstractJsonTreeDecoder).cw = function (descriptor) {
|
|
3828
|
-
return !(this.n1a() == null) ? protoOf(NamedValueDecoder).cw.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
3813
|
+
return !(this.n1a() == null) ? protoOf(NamedValueDecoder).cw.call(this, descriptor) : (new JsonPrimitiveDecoder(this.v62(), this.n1(), this.b69_1)).cw(descriptor);
|
|
3829
3814
|
};
|
|
3830
3815
|
function setForceNull($this, descriptor, index) {
|
|
3831
|
-
$this.
|
|
3832
|
-
return $this.
|
|
3816
|
+
$this.b6a_1 = (!$this.v62().t60_1.j62_1 && !descriptor.uu(index) && descriptor.tu(index).gu());
|
|
3817
|
+
return $this.b6a_1;
|
|
3833
3818
|
}
|
|
3834
3819
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3835
3820
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3836
3821
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3837
3822
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3838
|
-
this.
|
|
3839
|
-
this.
|
|
3840
|
-
this.
|
|
3841
|
-
this.
|
|
3823
|
+
this.y69_1 = value;
|
|
3824
|
+
this.z69_1 = polyDescriptor;
|
|
3825
|
+
this.a6a_1 = 0;
|
|
3826
|
+
this.b6a_1 = false;
|
|
3842
3827
|
}
|
|
3843
3828
|
protoOf(JsonTreeDecoder).n1 = function () {
|
|
3844
|
-
return this.
|
|
3829
|
+
return this.y69_1;
|
|
3845
3830
|
};
|
|
3846
3831
|
protoOf(JsonTreeDecoder).vw = function (descriptor) {
|
|
3847
|
-
$l$loop: while (this.
|
|
3848
|
-
var _unary__edvuaz = this.
|
|
3849
|
-
this.
|
|
3832
|
+
$l$loop: while (this.a6a_1 < descriptor.pu()) {
|
|
3833
|
+
var _unary__edvuaz = this.a6a_1;
|
|
3834
|
+
this.a6a_1 = _unary__edvuaz + 1 | 0;
|
|
3850
3835
|
var name = this.i1a(descriptor, _unary__edvuaz);
|
|
3851
|
-
var index = this.
|
|
3852
|
-
this.
|
|
3836
|
+
var index = this.a6a_1 - 1 | 0;
|
|
3837
|
+
this.b6a_1 = false;
|
|
3853
3838
|
var tmp;
|
|
3854
3839
|
// Inline function 'kotlin.collections.contains' call
|
|
3855
3840
|
// Inline function 'kotlin.collections.containsKey' call
|
|
@@ -3860,9 +3845,9 @@
|
|
|
3860
3845
|
tmp = setForceNull(this, descriptor, index);
|
|
3861
3846
|
}
|
|
3862
3847
|
if (tmp) {
|
|
3863
|
-
if (!this.
|
|
3848
|
+
if (!this.c69_1.l62_1)
|
|
3864
3849
|
return index;
|
|
3865
|
-
var tmp0 = this.
|
|
3850
|
+
var tmp0 = this.v62();
|
|
3866
3851
|
var tmp$ret$3;
|
|
3867
3852
|
$l$block_2: {
|
|
3868
3853
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -3870,7 +3855,7 @@
|
|
|
3870
3855
|
var elementDescriptor = descriptor.tu(index);
|
|
3871
3856
|
var tmp_0;
|
|
3872
3857
|
if (isOptional && !elementDescriptor.gu()) {
|
|
3873
|
-
var tmp_1 = this.
|
|
3858
|
+
var tmp_1 = this.c6a(name);
|
|
3874
3859
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
3875
3860
|
} else {
|
|
3876
3861
|
tmp_0 = false;
|
|
@@ -3882,7 +3867,7 @@
|
|
|
3882
3867
|
if (equals(elementDescriptor.nu(), ENUM_getInstance())) {
|
|
3883
3868
|
var tmp_2;
|
|
3884
3869
|
if (elementDescriptor.gu()) {
|
|
3885
|
-
var tmp_3 = this.
|
|
3870
|
+
var tmp_3 = this.c6a(name);
|
|
3886
3871
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
3887
3872
|
} else {
|
|
3888
3873
|
tmp_2 = false;
|
|
@@ -3891,7 +3876,7 @@
|
|
|
3891
3876
|
tmp$ret$3 = false;
|
|
3892
3877
|
break $l$block_2;
|
|
3893
3878
|
}
|
|
3894
|
-
var tmp_4 = this.
|
|
3879
|
+
var tmp_4 = this.c6a(name);
|
|
3895
3880
|
var tmp0_safe_receiver = tmp_4 instanceof JsonPrimitive ? tmp_4 : null;
|
|
3896
3881
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3897
3882
|
var tmp_5;
|
|
@@ -3903,7 +3888,7 @@
|
|
|
3903
3888
|
}
|
|
3904
3889
|
var enumValue = tmp_5;
|
|
3905
3890
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3906
|
-
var coerceToNull = !tmp0.
|
|
3891
|
+
var coerceToNull = !tmp0.t60_1.j62_1 && elementDescriptor.gu();
|
|
3907
3892
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3908
3893
|
if (setForceNull(this, descriptor, index))
|
|
3909
3894
|
return index;
|
|
@@ -3921,18 +3906,18 @@
|
|
|
3921
3906
|
return -1;
|
|
3922
3907
|
};
|
|
3923
3908
|
protoOf(JsonTreeDecoder).qv = function () {
|
|
3924
|
-
return !this.
|
|
3909
|
+
return !this.b6a_1 && protoOf(AbstractJsonTreeDecoder).qv.call(this);
|
|
3925
3910
|
};
|
|
3926
3911
|
protoOf(JsonTreeDecoder).j1a = function (descriptor, index) {
|
|
3927
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3912
|
+
var strategy = namingStrategy(descriptor, this.v62());
|
|
3928
3913
|
var baseName = descriptor.qu(index);
|
|
3929
3914
|
if (strategy == null) {
|
|
3930
|
-
if (!this.
|
|
3915
|
+
if (!this.c69_1.p62_1)
|
|
3931
3916
|
return baseName;
|
|
3932
3917
|
if (this.n1().a3().q2(baseName))
|
|
3933
3918
|
return baseName;
|
|
3934
3919
|
}
|
|
3935
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3920
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.v62(), descriptor);
|
|
3936
3921
|
// Inline function 'kotlin.collections.find' call
|
|
3937
3922
|
var tmp0 = this.n1().a3();
|
|
3938
3923
|
var tmp$ret$1;
|
|
@@ -3955,35 +3940,35 @@
|
|
|
3955
3940
|
// Inline function 'kotlin.let' call
|
|
3956
3941
|
return tmp0_safe_receiver;
|
|
3957
3942
|
}
|
|
3958
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3943
|
+
var fallbackName = strategy == null ? null : strategy.s65(descriptor, index, baseName);
|
|
3959
3944
|
return fallbackName == null ? baseName : fallbackName;
|
|
3960
3945
|
};
|
|
3961
|
-
protoOf(JsonTreeDecoder).
|
|
3946
|
+
protoOf(JsonTreeDecoder).f69 = function (tag) {
|
|
3962
3947
|
return getValue(this.n1(), tag);
|
|
3963
3948
|
};
|
|
3964
|
-
protoOf(JsonTreeDecoder).
|
|
3965
|
-
return this.n1().
|
|
3949
|
+
protoOf(JsonTreeDecoder).c6a = function (tag) {
|
|
3950
|
+
return this.n1().b35(tag);
|
|
3966
3951
|
};
|
|
3967
3952
|
protoOf(JsonTreeDecoder).ew = function (descriptor) {
|
|
3968
|
-
if (descriptor === this.
|
|
3969
|
-
var tmp = this.
|
|
3970
|
-
var tmp2 = this.
|
|
3953
|
+
if (descriptor === this.z69_1) {
|
|
3954
|
+
var tmp = this.v62();
|
|
3955
|
+
var tmp2 = this.e69();
|
|
3971
3956
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3972
3957
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3973
|
-
var serialName = this.
|
|
3958
|
+
var serialName = this.z69_1.ut();
|
|
3974
3959
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3975
3960
|
var tmp_0 = getKClass(JsonObject).o();
|
|
3976
3961
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3977
3962
|
var tmp$ret$0 = this.p1a();
|
|
3978
3963
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3979
3964
|
}
|
|
3980
|
-
return new JsonTreeDecoder(tmp, tmp2, this.
|
|
3965
|
+
return new JsonTreeDecoder(tmp, tmp2, this.b69_1, this.z69_1);
|
|
3981
3966
|
}
|
|
3982
3967
|
return protoOf(AbstractJsonTreeDecoder).ew.call(this, descriptor);
|
|
3983
3968
|
};
|
|
3984
3969
|
protoOf(JsonTreeDecoder).fw = function (descriptor) {
|
|
3985
3970
|
var tmp;
|
|
3986
|
-
if (ignoreUnknownKeys(descriptor, this.
|
|
3971
|
+
if (ignoreUnknownKeys(descriptor, this.v62())) {
|
|
3987
3972
|
tmp = true;
|
|
3988
3973
|
} else {
|
|
3989
3974
|
var tmp_0 = descriptor.nu();
|
|
@@ -3991,15 +3976,15 @@
|
|
|
3991
3976
|
}
|
|
3992
3977
|
if (tmp)
|
|
3993
3978
|
return Unit_instance;
|
|
3994
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3979
|
+
var strategy = namingStrategy(descriptor, this.v62());
|
|
3995
3980
|
var tmp_1;
|
|
3996
|
-
if (strategy == null && !this.
|
|
3981
|
+
if (strategy == null && !this.c69_1.p62_1) {
|
|
3997
3982
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3998
3983
|
} else if (!(strategy == null)) {
|
|
3999
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3984
|
+
tmp_1 = deserializationNamesMap(this.v62(), descriptor).a3();
|
|
4000
3985
|
} else {
|
|
4001
3986
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
4002
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3987
|
+
var tmp0_safe_receiver = get_schemaCache(this.v62()).d68(descriptor, get_JsonDeserializationNamesKey());
|
|
4003
3988
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
4004
3989
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a3();
|
|
4005
3990
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -4009,76 +3994,76 @@
|
|
|
4009
3994
|
var _iterator__ex2g4s = this.n1().a3().t();
|
|
4010
3995
|
while (_iterator__ex2g4s.u()) {
|
|
4011
3996
|
var key = _iterator__ex2g4s.v();
|
|
4012
|
-
if (!names.q2(key) && !(key === this.
|
|
3997
|
+
if (!names.q2(key) && !(key === this.b69_1)) {
|
|
4013
3998
|
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.p1a() + '\n' + "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.n1().toString()))));
|
|
4014
3999
|
}
|
|
4015
4000
|
}
|
|
4016
4001
|
};
|
|
4017
4002
|
function JsonTreeListDecoder(json, value) {
|
|
4018
4003
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
4019
|
-
this.
|
|
4020
|
-
this.
|
|
4021
|
-
this.
|
|
4004
|
+
this.j6a_1 = value;
|
|
4005
|
+
this.k6a_1 = this.j6a_1.g1();
|
|
4006
|
+
this.l6a_1 = -1;
|
|
4022
4007
|
}
|
|
4023
4008
|
protoOf(JsonTreeListDecoder).n1 = function () {
|
|
4024
|
-
return this.
|
|
4009
|
+
return this.j6a_1;
|
|
4025
4010
|
};
|
|
4026
4011
|
protoOf(JsonTreeListDecoder).j1a = function (descriptor, index) {
|
|
4027
4012
|
return index.toString();
|
|
4028
4013
|
};
|
|
4029
|
-
protoOf(JsonTreeListDecoder).
|
|
4030
|
-
return this.
|
|
4014
|
+
protoOf(JsonTreeListDecoder).f69 = function (tag) {
|
|
4015
|
+
return this.j6a_1.h1(toInt(tag));
|
|
4031
4016
|
};
|
|
4032
4017
|
protoOf(JsonTreeListDecoder).vw = function (descriptor) {
|
|
4033
|
-
while (this.
|
|
4034
|
-
this.
|
|
4035
|
-
return this.
|
|
4018
|
+
while (this.l6a_1 < (this.k6a_1 - 1 | 0)) {
|
|
4019
|
+
this.l6a_1 = this.l6a_1 + 1 | 0;
|
|
4020
|
+
return this.l6a_1;
|
|
4036
4021
|
}
|
|
4037
4022
|
return -1;
|
|
4038
4023
|
};
|
|
4039
4024
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
4040
4025
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
4041
4026
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
4042
|
-
this.
|
|
4027
|
+
this.s6a_1 = value;
|
|
4043
4028
|
this.d1b('primitive');
|
|
4044
4029
|
}
|
|
4045
4030
|
protoOf(JsonPrimitiveDecoder).n1 = function () {
|
|
4046
|
-
return this.
|
|
4031
|
+
return this.s6a_1;
|
|
4047
4032
|
};
|
|
4048
4033
|
protoOf(JsonPrimitiveDecoder).vw = function (descriptor) {
|
|
4049
4034
|
return 0;
|
|
4050
4035
|
};
|
|
4051
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4036
|
+
protoOf(JsonPrimitiveDecoder).f69 = function (tag) {
|
|
4052
4037
|
// Inline function 'kotlin.require' call
|
|
4053
4038
|
if (!(tag === 'primitive')) {
|
|
4054
4039
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
4055
4040
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
4056
4041
|
}
|
|
4057
|
-
return this.
|
|
4042
|
+
return this.s6a_1;
|
|
4058
4043
|
};
|
|
4059
4044
|
function JsonTreeMapDecoder(json, value) {
|
|
4060
4045
|
JsonTreeDecoder.call(this, json, value);
|
|
4061
|
-
this.
|
|
4062
|
-
this.
|
|
4063
|
-
this.
|
|
4064
|
-
this.
|
|
4046
|
+
this.d6b_1 = value;
|
|
4047
|
+
this.e6b_1 = toList(this.d6b_1.a3());
|
|
4048
|
+
this.f6b_1 = imul(this.e6b_1.g1(), 2);
|
|
4049
|
+
this.g6b_1 = -1;
|
|
4065
4050
|
}
|
|
4066
4051
|
protoOf(JsonTreeMapDecoder).n1 = function () {
|
|
4067
|
-
return this.
|
|
4052
|
+
return this.d6b_1;
|
|
4068
4053
|
};
|
|
4069
4054
|
protoOf(JsonTreeMapDecoder).j1a = function (descriptor, index) {
|
|
4070
4055
|
var i = index / 2 | 0;
|
|
4071
|
-
return this.
|
|
4056
|
+
return this.e6b_1.h1(i);
|
|
4072
4057
|
};
|
|
4073
4058
|
protoOf(JsonTreeMapDecoder).vw = function (descriptor) {
|
|
4074
|
-
while (this.
|
|
4075
|
-
this.
|
|
4076
|
-
return this.
|
|
4059
|
+
while (this.g6b_1 < (this.f6b_1 - 1 | 0)) {
|
|
4060
|
+
this.g6b_1 = this.g6b_1 + 1 | 0;
|
|
4061
|
+
return this.g6b_1;
|
|
4077
4062
|
}
|
|
4078
4063
|
return -1;
|
|
4079
4064
|
};
|
|
4080
|
-
protoOf(JsonTreeMapDecoder).
|
|
4081
|
-
return (this.
|
|
4065
|
+
protoOf(JsonTreeMapDecoder).f69 = function (tag) {
|
|
4066
|
+
return (this.g6b_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.d6b_1, tag);
|
|
4082
4067
|
};
|
|
4083
4068
|
protoOf(JsonTreeMapDecoder).fw = function (descriptor) {
|
|
4084
4069
|
};
|
|
@@ -4110,8 +4095,8 @@
|
|
|
4110
4095
|
var $ENTRIES;
|
|
4111
4096
|
function WriteMode(name, ordinal, begin, end) {
|
|
4112
4097
|
Enum.call(this, name, ordinal);
|
|
4113
|
-
this.
|
|
4114
|
-
this.
|
|
4098
|
+
this.q68_1 = begin;
|
|
4099
|
+
this.r68_1 = end;
|
|
4115
4100
|
}
|
|
4116
4101
|
function switchMode(_this__u8e3s4, desc) {
|
|
4117
4102
|
var tmp0_subject = desc.nu();
|
|
@@ -4136,7 +4121,7 @@
|
|
|
4136
4121
|
if (tmp_1) {
|
|
4137
4122
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
4138
4123
|
} else {
|
|
4139
|
-
if (_this__u8e3s4.
|
|
4124
|
+
if (_this__u8e3s4.t60_1.h62_1) {
|
|
4140
4125
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
4141
4126
|
} else {
|
|
4142
4127
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -4180,56 +4165,56 @@
|
|
|
4180
4165
|
return WriteMode_POLY_OBJ_instance;
|
|
4181
4166
|
}
|
|
4182
4167
|
function appendEscape($this, lastPosition, current) {
|
|
4183
|
-
$this.
|
|
4168
|
+
$this.h6b(lastPosition, current);
|
|
4184
4169
|
return appendEsc($this, current + 1 | 0);
|
|
4185
4170
|
}
|
|
4186
4171
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4187
|
-
$this.
|
|
4188
|
-
var result = $this.
|
|
4189
|
-
$this.
|
|
4172
|
+
$this.h6b(lastPosition, currentPosition);
|
|
4173
|
+
var result = $this.j61_1.toString();
|
|
4174
|
+
$this.j61_1.bd(0);
|
|
4190
4175
|
return result;
|
|
4191
4176
|
}
|
|
4192
4177
|
function takePeeked($this) {
|
|
4193
4178
|
// Inline function 'kotlin.also' call
|
|
4194
|
-
var this_0 = ensureNotNull($this.
|
|
4195
|
-
$this.
|
|
4179
|
+
var this_0 = ensureNotNull($this.i61_1);
|
|
4180
|
+
$this.i61_1 = null;
|
|
4196
4181
|
return this_0;
|
|
4197
4182
|
}
|
|
4198
4183
|
function wasUnquotedString($this) {
|
|
4199
|
-
return !(charSequenceGet($this.
|
|
4184
|
+
return !(charSequenceGet($this.i6b(), $this.g61_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
4200
4185
|
}
|
|
4201
4186
|
function appendEsc($this, startPosition) {
|
|
4202
4187
|
var currentPosition = startPosition;
|
|
4203
|
-
currentPosition = $this.
|
|
4188
|
+
currentPosition = $this.j6b(currentPosition);
|
|
4204
4189
|
if (currentPosition === -1) {
|
|
4205
|
-
$this.
|
|
4190
|
+
$this.o65('Expected escape sequence to continue, got EOF');
|
|
4206
4191
|
}
|
|
4207
|
-
var tmp = $this.
|
|
4192
|
+
var tmp = $this.i6b();
|
|
4208
4193
|
var _unary__edvuaz = currentPosition;
|
|
4209
4194
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
4210
4195
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
4211
4196
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
4212
|
-
return appendHex($this, $this.
|
|
4197
|
+
return appendHex($this, $this.i6b(), currentPosition);
|
|
4213
4198
|
}
|
|
4214
4199
|
// Inline function 'kotlin.code' call
|
|
4215
4200
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4216
4201
|
var c = escapeToChar(tmp$ret$0);
|
|
4217
4202
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
4218
|
-
$this.
|
|
4203
|
+
$this.o65("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
4219
4204
|
}
|
|
4220
|
-
$this.
|
|
4205
|
+
$this.j61_1.s(c);
|
|
4221
4206
|
return currentPosition;
|
|
4222
4207
|
}
|
|
4223
4208
|
function appendHex($this, source, startPos) {
|
|
4224
4209
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4225
|
-
$this.
|
|
4226
|
-
$this.
|
|
4227
|
-
if (($this.
|
|
4228
|
-
$this.
|
|
4210
|
+
$this.g61_1 = startPos;
|
|
4211
|
+
$this.k6b();
|
|
4212
|
+
if (($this.g61_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4213
|
+
$this.o65('Unexpected EOF during unicode escape');
|
|
4229
4214
|
}
|
|
4230
|
-
return appendHex($this, source, $this.
|
|
4215
|
+
return appendHex($this, source, $this.g61_1);
|
|
4231
4216
|
}
|
|
4232
|
-
$this.
|
|
4217
|
+
$this.j61_1.s(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0));
|
|
4233
4218
|
return startPos + 4 | 0;
|
|
4234
4219
|
}
|
|
4235
4220
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4254,16 +4239,16 @@
|
|
|
4254
4239
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4255
4240
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4256
4241
|
} else {
|
|
4257
|
-
$this.
|
|
4242
|
+
$this.o65("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4258
4243
|
}
|
|
4259
4244
|
return tmp;
|
|
4260
4245
|
}
|
|
4261
4246
|
function consumeBoolean2($this, start) {
|
|
4262
|
-
var current = $this.
|
|
4263
|
-
if (current >= charSequenceLength($this.
|
|
4264
|
-
$this.
|
|
4247
|
+
var current = $this.j6b(start);
|
|
4248
|
+
if (current >= charSequenceLength($this.i6b()) || current === -1) {
|
|
4249
|
+
$this.o65('EOF');
|
|
4265
4250
|
}
|
|
4266
|
-
var tmp = $this.
|
|
4251
|
+
var tmp = $this.i6b();
|
|
4267
4252
|
var _unary__edvuaz = current;
|
|
4268
4253
|
current = _unary__edvuaz + 1 | 0;
|
|
4269
4254
|
// Inline function 'kotlin.code' call
|
|
@@ -4282,14 +4267,14 @@
|
|
|
4282
4267
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4283
4268
|
tmp_0 = false;
|
|
4284
4269
|
} else {
|
|
4285
|
-
$this.
|
|
4270
|
+
$this.o65("Expected valid boolean literal prefix, but had '" + $this.w66() + "'");
|
|
4286
4271
|
}
|
|
4287
4272
|
}
|
|
4288
4273
|
return tmp_0;
|
|
4289
4274
|
}
|
|
4290
4275
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4291
|
-
if ((charSequenceLength($this.
|
|
4292
|
-
$this.
|
|
4276
|
+
if ((charSequenceLength($this.i6b()) - current | 0) < literalSuffix.length) {
|
|
4277
|
+
$this.o65('Unexpected end of boolean literal');
|
|
4293
4278
|
}
|
|
4294
4279
|
var inductionVariable = 0;
|
|
4295
4280
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4298,16 +4283,16 @@
|
|
|
4298
4283
|
var i = inductionVariable;
|
|
4299
4284
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4300
4285
|
var expected = charCodeAt(literalSuffix, i);
|
|
4301
|
-
var actual = charSequenceGet($this.
|
|
4286
|
+
var actual = charSequenceGet($this.i6b(), current + i | 0);
|
|
4302
4287
|
// Inline function 'kotlin.code' call
|
|
4303
4288
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4304
4289
|
// Inline function 'kotlin.code' call
|
|
4305
4290
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4306
|
-
$this.
|
|
4291
|
+
$this.o65("Expected valid boolean literal prefix, but had '" + $this.w66() + "'");
|
|
4307
4292
|
}
|
|
4308
4293
|
}
|
|
4309
4294
|
while (inductionVariable <= last);
|
|
4310
|
-
$this.
|
|
4295
|
+
$this.g61_1 = current + literalSuffix.length | 0;
|
|
4311
4296
|
}
|
|
4312
4297
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4313
4298
|
var tmp;
|
|
@@ -4331,77 +4316,77 @@
|
|
|
4331
4316
|
return tmp;
|
|
4332
4317
|
}
|
|
4333
4318
|
function AbstractJsonLexer() {
|
|
4334
|
-
this.
|
|
4335
|
-
this.
|
|
4336
|
-
this.
|
|
4337
|
-
this.
|
|
4319
|
+
this.g61_1 = 0;
|
|
4320
|
+
this.h61_1 = new JsonPath();
|
|
4321
|
+
this.i61_1 = null;
|
|
4322
|
+
this.j61_1 = StringBuilder_init_$Create$();
|
|
4338
4323
|
}
|
|
4339
|
-
protoOf(AbstractJsonLexer).
|
|
4324
|
+
protoOf(AbstractJsonLexer).k6b = function () {
|
|
4340
4325
|
};
|
|
4341
|
-
protoOf(AbstractJsonLexer).
|
|
4342
|
-
var current = this.
|
|
4343
|
-
var source = this.
|
|
4326
|
+
protoOf(AbstractJsonLexer).g68 = function () {
|
|
4327
|
+
var current = this.l6b();
|
|
4328
|
+
var source = this.i6b();
|
|
4344
4329
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4345
4330
|
return false;
|
|
4346
4331
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4347
|
-
this.
|
|
4332
|
+
this.g61_1 = this.g61_1 + 1 | 0;
|
|
4348
4333
|
return true;
|
|
4349
4334
|
}
|
|
4350
4335
|
return false;
|
|
4351
4336
|
};
|
|
4352
|
-
protoOf(AbstractJsonLexer).
|
|
4337
|
+
protoOf(AbstractJsonLexer).m6b = function (c) {
|
|
4353
4338
|
return c === _Char___init__impl__6a9atx(125) || c === _Char___init__impl__6a9atx(93) || (c === _Char___init__impl__6a9atx(58) || c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
4354
4339
|
};
|
|
4355
|
-
protoOf(AbstractJsonLexer).
|
|
4356
|
-
var nextToken = this.
|
|
4340
|
+
protoOf(AbstractJsonLexer).k61 = function () {
|
|
4341
|
+
var nextToken = this.y66();
|
|
4357
4342
|
if (!(nextToken === 10)) {
|
|
4358
|
-
this.
|
|
4343
|
+
this.o65('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.i6b(), this.g61_1 - 1 | 0)) + ' instead');
|
|
4359
4344
|
}
|
|
4360
4345
|
};
|
|
4361
|
-
protoOf(AbstractJsonLexer).
|
|
4362
|
-
var token = this.
|
|
4346
|
+
protoOf(AbstractJsonLexer).s66 = function (expected) {
|
|
4347
|
+
var token = this.y66();
|
|
4363
4348
|
if (!(token === expected)) {
|
|
4364
4349
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4365
4350
|
var expected_0 = tokenDescription(expected);
|
|
4366
|
-
var position = true ? this.
|
|
4367
|
-
var s = this.
|
|
4351
|
+
var position = true ? this.g61_1 - 1 | 0 : this.g61_1;
|
|
4352
|
+
var s = this.g61_1 === charSequenceLength(this.i6b()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.i6b(), position));
|
|
4368
4353
|
var tmp$ret$0 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4369
|
-
this.
|
|
4354
|
+
this.o65(tmp$ret$0, position);
|
|
4370
4355
|
}
|
|
4371
4356
|
return token;
|
|
4372
4357
|
};
|
|
4373
|
-
protoOf(AbstractJsonLexer).
|
|
4374
|
-
if (this.
|
|
4358
|
+
protoOf(AbstractJsonLexer).n6b = function (expected) {
|
|
4359
|
+
if (this.g61_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4375
4360
|
var tmp$ret$1;
|
|
4376
4361
|
$l$block: {
|
|
4377
4362
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4378
|
-
var snapshot = this.
|
|
4363
|
+
var snapshot = this.g61_1;
|
|
4379
4364
|
try {
|
|
4380
|
-
this.
|
|
4381
|
-
tmp$ret$1 = this.
|
|
4365
|
+
this.g61_1 = this.g61_1 - 1 | 0;
|
|
4366
|
+
tmp$ret$1 = this.w66();
|
|
4382
4367
|
break $l$block;
|
|
4383
4368
|
}finally {
|
|
4384
|
-
this.
|
|
4369
|
+
this.g61_1 = snapshot;
|
|
4385
4370
|
}
|
|
4386
4371
|
}
|
|
4387
4372
|
var inputLiteral = tmp$ret$1;
|
|
4388
4373
|
if (inputLiteral === 'null') {
|
|
4389
|
-
this.
|
|
4374
|
+
this.n65("Expected string literal but 'null' literal was found", this.g61_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4390
4375
|
}
|
|
4391
4376
|
}
|
|
4392
4377
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4393
4378
|
var expectedToken = charToTokenClass(expected);
|
|
4394
4379
|
var expected_0 = tokenDescription(expectedToken);
|
|
4395
|
-
var position = true ? this.
|
|
4396
|
-
var s = this.
|
|
4380
|
+
var position = true ? this.g61_1 - 1 | 0 : this.g61_1;
|
|
4381
|
+
var s = this.g61_1 === charSequenceLength(this.i6b()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.i6b(), position));
|
|
4397
4382
|
var tmp$ret$2 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4398
|
-
this.
|
|
4383
|
+
this.o65(tmp$ret$2, position);
|
|
4399
4384
|
};
|
|
4400
|
-
protoOf(AbstractJsonLexer).
|
|
4401
|
-
var source = this.
|
|
4402
|
-
var cpos = this.
|
|
4385
|
+
protoOf(AbstractJsonLexer).t66 = function () {
|
|
4386
|
+
var source = this.i6b();
|
|
4387
|
+
var cpos = this.g61_1;
|
|
4403
4388
|
$l$loop_0: while (true) {
|
|
4404
|
-
cpos = this.
|
|
4389
|
+
cpos = this.j6b(cpos);
|
|
4405
4390
|
if (cpos === -1)
|
|
4406
4391
|
break $l$loop_0;
|
|
4407
4392
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4409,16 +4394,16 @@
|
|
|
4409
4394
|
cpos = cpos + 1 | 0;
|
|
4410
4395
|
continue $l$loop_0;
|
|
4411
4396
|
}
|
|
4412
|
-
this.
|
|
4397
|
+
this.g61_1 = cpos;
|
|
4413
4398
|
return charToTokenClass(ch);
|
|
4414
4399
|
}
|
|
4415
|
-
this.
|
|
4400
|
+
this.g61_1 = cpos;
|
|
4416
4401
|
return 10;
|
|
4417
4402
|
};
|
|
4418
|
-
protoOf(AbstractJsonLexer).
|
|
4419
|
-
var current = this.
|
|
4420
|
-
current = this.
|
|
4421
|
-
var len = charSequenceLength(this.
|
|
4403
|
+
protoOf(AbstractJsonLexer).h68 = function (doConsume) {
|
|
4404
|
+
var current = this.l6b();
|
|
4405
|
+
current = this.j6b(current);
|
|
4406
|
+
var len = charSequenceLength(this.i6b()) - current | 0;
|
|
4422
4407
|
if (len < 4 || current === -1)
|
|
4423
4408
|
return false;
|
|
4424
4409
|
var inductionVariable = 0;
|
|
@@ -4426,50 +4411,50 @@
|
|
|
4426
4411
|
do {
|
|
4427
4412
|
var i = inductionVariable;
|
|
4428
4413
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4429
|
-
if (!(charCodeAt('null', i) === charSequenceGet(this.
|
|
4414
|
+
if (!(charCodeAt('null', i) === charSequenceGet(this.i6b(), current + i | 0)))
|
|
4430
4415
|
return false;
|
|
4431
4416
|
}
|
|
4432
4417
|
while (inductionVariable <= 3);
|
|
4433
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4418
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.i6b(), current + 4 | 0)) === 0)
|
|
4434
4419
|
return false;
|
|
4435
4420
|
if (doConsume) {
|
|
4436
|
-
this.
|
|
4421
|
+
this.g61_1 = current + 4 | 0;
|
|
4437
4422
|
}
|
|
4438
4423
|
return true;
|
|
4439
4424
|
};
|
|
4440
|
-
protoOf(AbstractJsonLexer).
|
|
4425
|
+
protoOf(AbstractJsonLexer).s68 = function (doConsume, $super) {
|
|
4441
4426
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4442
|
-
return $super === VOID ? this.
|
|
4427
|
+
return $super === VOID ? this.h68(doConsume) : $super.h68.call(this, doConsume);
|
|
4443
4428
|
};
|
|
4444
|
-
protoOf(AbstractJsonLexer).
|
|
4445
|
-
var token = this.
|
|
4429
|
+
protoOf(AbstractJsonLexer).i68 = function (isLenient) {
|
|
4430
|
+
var token = this.t66();
|
|
4446
4431
|
var tmp;
|
|
4447
4432
|
if (isLenient) {
|
|
4448
4433
|
if (!(token === 1) && !(token === 0))
|
|
4449
4434
|
return null;
|
|
4450
|
-
tmp = this.
|
|
4435
|
+
tmp = this.w66();
|
|
4451
4436
|
} else {
|
|
4452
4437
|
if (!(token === 1))
|
|
4453
4438
|
return null;
|
|
4454
|
-
tmp = this.
|
|
4439
|
+
tmp = this.v66();
|
|
4455
4440
|
}
|
|
4456
4441
|
var string = tmp;
|
|
4457
|
-
this.
|
|
4442
|
+
this.i61_1 = string;
|
|
4458
4443
|
return string;
|
|
4459
4444
|
};
|
|
4460
|
-
protoOf(AbstractJsonLexer).
|
|
4461
|
-
this.
|
|
4445
|
+
protoOf(AbstractJsonLexer).o6b = function () {
|
|
4446
|
+
this.i61_1 = null;
|
|
4462
4447
|
};
|
|
4463
|
-
protoOf(AbstractJsonLexer).
|
|
4448
|
+
protoOf(AbstractJsonLexer).d2l = function (startPos, endPos) {
|
|
4464
4449
|
// Inline function 'kotlin.text.substring' call
|
|
4465
|
-
var this_0 = this.
|
|
4450
|
+
var this_0 = this.i6b();
|
|
4466
4451
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4467
4452
|
};
|
|
4468
|
-
protoOf(AbstractJsonLexer).
|
|
4469
|
-
if (!(this.
|
|
4453
|
+
protoOf(AbstractJsonLexer).v66 = function () {
|
|
4454
|
+
if (!(this.i61_1 == null)) {
|
|
4470
4455
|
return takePeeked(this);
|
|
4471
4456
|
}
|
|
4472
|
-
return this.
|
|
4457
|
+
return this.l68();
|
|
4473
4458
|
};
|
|
4474
4459
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4475
4460
|
var currentPosition = current;
|
|
@@ -4479,19 +4464,19 @@
|
|
|
4479
4464
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4480
4465
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4481
4466
|
usedAppend = true;
|
|
4482
|
-
currentPosition = this.
|
|
4467
|
+
currentPosition = this.j6b(appendEscape(this, lastPosition, currentPosition));
|
|
4483
4468
|
if (currentPosition === -1) {
|
|
4484
|
-
this.
|
|
4469
|
+
this.o65('Unexpected EOF', currentPosition);
|
|
4485
4470
|
}
|
|
4486
4471
|
lastPosition = currentPosition;
|
|
4487
4472
|
} else {
|
|
4488
4473
|
currentPosition = currentPosition + 1 | 0;
|
|
4489
4474
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4490
4475
|
usedAppend = true;
|
|
4491
|
-
this.
|
|
4492
|
-
currentPosition = this.
|
|
4476
|
+
this.h6b(lastPosition, currentPosition);
|
|
4477
|
+
currentPosition = this.j6b(currentPosition);
|
|
4493
4478
|
if (currentPosition === -1) {
|
|
4494
|
-
this.
|
|
4479
|
+
this.o65('Unexpected EOF', currentPosition);
|
|
4495
4480
|
}
|
|
4496
4481
|
lastPosition = currentPosition;
|
|
4497
4482
|
}
|
|
@@ -4500,45 +4485,45 @@
|
|
|
4500
4485
|
}
|
|
4501
4486
|
var tmp;
|
|
4502
4487
|
if (!usedAppend) {
|
|
4503
|
-
tmp = this.
|
|
4488
|
+
tmp = this.d2l(lastPosition, currentPosition);
|
|
4504
4489
|
} else {
|
|
4505
4490
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4506
4491
|
}
|
|
4507
4492
|
var string = tmp;
|
|
4508
|
-
this.
|
|
4493
|
+
this.g61_1 = currentPosition + 1 | 0;
|
|
4509
4494
|
return string;
|
|
4510
4495
|
};
|
|
4511
|
-
protoOf(AbstractJsonLexer).
|
|
4512
|
-
var result = this.
|
|
4496
|
+
protoOf(AbstractJsonLexer).m68 = function () {
|
|
4497
|
+
var result = this.w66();
|
|
4513
4498
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4514
|
-
this.
|
|
4499
|
+
this.o65("Unexpected 'null' value instead of string literal");
|
|
4515
4500
|
}
|
|
4516
4501
|
return result;
|
|
4517
4502
|
};
|
|
4518
|
-
protoOf(AbstractJsonLexer).
|
|
4519
|
-
if (!(this.
|
|
4503
|
+
protoOf(AbstractJsonLexer).w66 = function () {
|
|
4504
|
+
if (!(this.i61_1 == null)) {
|
|
4520
4505
|
return takePeeked(this);
|
|
4521
4506
|
}
|
|
4522
|
-
var current = this.
|
|
4523
|
-
if (current >= charSequenceLength(this.
|
|
4524
|
-
this.
|
|
4507
|
+
var current = this.l6b();
|
|
4508
|
+
if (current >= charSequenceLength(this.i6b()) || current === -1) {
|
|
4509
|
+
this.o65('EOF', current);
|
|
4525
4510
|
}
|
|
4526
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4511
|
+
var token = charToTokenClass(charSequenceGet(this.i6b(), current));
|
|
4527
4512
|
if (token === 1) {
|
|
4528
|
-
return this.
|
|
4513
|
+
return this.v66();
|
|
4529
4514
|
}
|
|
4530
4515
|
if (!(token === 0)) {
|
|
4531
|
-
this.
|
|
4516
|
+
this.o65('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.i6b(), current)));
|
|
4532
4517
|
}
|
|
4533
4518
|
var usedAppend = false;
|
|
4534
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4519
|
+
while (charToTokenClass(charSequenceGet(this.i6b(), current)) === 0) {
|
|
4535
4520
|
current = current + 1 | 0;
|
|
4536
|
-
if (current >= charSequenceLength(this.
|
|
4521
|
+
if (current >= charSequenceLength(this.i6b())) {
|
|
4537
4522
|
usedAppend = true;
|
|
4538
|
-
this.
|
|
4539
|
-
var eof = this.
|
|
4523
|
+
this.h6b(this.g61_1, current);
|
|
4524
|
+
var eof = this.j6b(current);
|
|
4540
4525
|
if (eof === -1) {
|
|
4541
|
-
this.
|
|
4526
|
+
this.g61_1 = current;
|
|
4542
4527
|
return decodedString(this, 0, 0);
|
|
4543
4528
|
} else {
|
|
4544
4529
|
current = eof;
|
|
@@ -4547,32 +4532,32 @@
|
|
|
4547
4532
|
}
|
|
4548
4533
|
var tmp;
|
|
4549
4534
|
if (!usedAppend) {
|
|
4550
|
-
tmp = this.
|
|
4535
|
+
tmp = this.d2l(this.g61_1, current);
|
|
4551
4536
|
} else {
|
|
4552
|
-
tmp = decodedString(this, this.
|
|
4537
|
+
tmp = decodedString(this, this.g61_1, current);
|
|
4553
4538
|
}
|
|
4554
4539
|
var result = tmp;
|
|
4555
|
-
this.
|
|
4540
|
+
this.g61_1 = current;
|
|
4556
4541
|
return result;
|
|
4557
4542
|
};
|
|
4558
|
-
protoOf(AbstractJsonLexer).
|
|
4559
|
-
this.
|
|
4543
|
+
protoOf(AbstractJsonLexer).h6b = function (fromIndex, toIndex) {
|
|
4544
|
+
this.j61_1.vc(this.i6b(), fromIndex, toIndex);
|
|
4560
4545
|
};
|
|
4561
|
-
protoOf(AbstractJsonLexer).
|
|
4546
|
+
protoOf(AbstractJsonLexer).k68 = function (allowLenientStrings) {
|
|
4562
4547
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4563
4548
|
var tokenStack = ArrayList_init_$Create$();
|
|
4564
|
-
var lastToken = this.
|
|
4549
|
+
var lastToken = this.t66();
|
|
4565
4550
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4566
|
-
this.
|
|
4551
|
+
this.w66();
|
|
4567
4552
|
return Unit_instance;
|
|
4568
4553
|
}
|
|
4569
4554
|
$l$loop: while (true) {
|
|
4570
|
-
lastToken = this.
|
|
4555
|
+
lastToken = this.t66();
|
|
4571
4556
|
if (lastToken === 1) {
|
|
4572
4557
|
if (allowLenientStrings)
|
|
4573
|
-
this.
|
|
4558
|
+
this.w66();
|
|
4574
4559
|
else
|
|
4575
|
-
this.
|
|
4560
|
+
this.l68();
|
|
4576
4561
|
continue $l$loop;
|
|
4577
4562
|
}
|
|
4578
4563
|
var tmp0_subject = lastToken;
|
|
@@ -4580,29 +4565,29 @@
|
|
|
4580
4565
|
tokenStack.e1(lastToken);
|
|
4581
4566
|
} else if (tmp0_subject === 9) {
|
|
4582
4567
|
if (!(last(tokenStack) === 8))
|
|
4583
|
-
throw JsonDecodingException_0(this.
|
|
4568
|
+
throw JsonDecodingException_0(this.g61_1, 'found ] instead of } at path: ' + this.h61_1.toString(), this.i6b());
|
|
4584
4569
|
removeLast(tokenStack);
|
|
4585
4570
|
} else if (tmp0_subject === 7) {
|
|
4586
4571
|
if (!(last(tokenStack) === 6))
|
|
4587
|
-
throw JsonDecodingException_0(this.
|
|
4572
|
+
throw JsonDecodingException_0(this.g61_1, 'found } instead of ] at path: ' + this.h61_1.toString(), this.i6b());
|
|
4588
4573
|
removeLast(tokenStack);
|
|
4589
4574
|
} else if (tmp0_subject === 10) {
|
|
4590
|
-
this.
|
|
4575
|
+
this.o65('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4591
4576
|
}
|
|
4592
|
-
this.
|
|
4577
|
+
this.y66();
|
|
4593
4578
|
if (tokenStack.g1() === 0)
|
|
4594
4579
|
return Unit_instance;
|
|
4595
4580
|
}
|
|
4596
4581
|
};
|
|
4597
4582
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4598
|
-
return "JsonReader(source='" + toString(this.
|
|
4583
|
+
return "JsonReader(source='" + toString(this.i6b()) + "', currentPosition=" + this.g61_1 + ')';
|
|
4599
4584
|
};
|
|
4600
|
-
protoOf(AbstractJsonLexer).
|
|
4601
|
-
var processed = this.
|
|
4585
|
+
protoOf(AbstractJsonLexer).j68 = function (key) {
|
|
4586
|
+
var processed = this.d2l(0, this.g61_1);
|
|
4602
4587
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4603
|
-
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.
|
|
4588
|
+
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.h61_1.b66() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.i6b(), lastIndexOf_0))));
|
|
4604
4589
|
};
|
|
4605
|
-
protoOf(AbstractJsonLexer).
|
|
4590
|
+
protoOf(AbstractJsonLexer).n65 = function (message, position, hint) {
|
|
4606
4591
|
var tmp;
|
|
4607
4592
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4608
4593
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4611,24 +4596,24 @@
|
|
|
4611
4596
|
tmp = '\n' + hint;
|
|
4612
4597
|
}
|
|
4613
4598
|
var hintMessage = tmp;
|
|
4614
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4599
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.h61_1.b66() + hintMessage, this.i6b());
|
|
4615
4600
|
};
|
|
4616
|
-
protoOf(AbstractJsonLexer).
|
|
4617
|
-
position = position === VOID ? this.
|
|
4601
|
+
protoOf(AbstractJsonLexer).o65 = function (message, position, hint, $super) {
|
|
4602
|
+
position = position === VOID ? this.g61_1 : position;
|
|
4618
4603
|
hint = hint === VOID ? '' : hint;
|
|
4619
|
-
return $super === VOID ? this.
|
|
4604
|
+
return $super === VOID ? this.n65(message, position, hint) : $super.n65.call(this, message, position, hint);
|
|
4620
4605
|
};
|
|
4621
|
-
protoOf(AbstractJsonLexer).
|
|
4622
|
-
var current = this.
|
|
4623
|
-
current = this.
|
|
4624
|
-
if (current >= charSequenceLength(this.
|
|
4625
|
-
this.
|
|
4606
|
+
protoOf(AbstractJsonLexer).u68 = function () {
|
|
4607
|
+
var current = this.l6b();
|
|
4608
|
+
current = this.j6b(current);
|
|
4609
|
+
if (current >= charSequenceLength(this.i6b()) || current === -1) {
|
|
4610
|
+
this.o65('EOF');
|
|
4626
4611
|
}
|
|
4627
4612
|
var tmp;
|
|
4628
|
-
if (charSequenceGet(this.
|
|
4613
|
+
if (charSequenceGet(this.i6b(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4629
4614
|
current = current + 1 | 0;
|
|
4630
|
-
if (current === charSequenceLength(this.
|
|
4631
|
-
this.
|
|
4615
|
+
if (current === charSequenceLength(this.i6b())) {
|
|
4616
|
+
this.o65('EOF');
|
|
4632
4617
|
}
|
|
4633
4618
|
tmp = true;
|
|
4634
4619
|
} else {
|
|
@@ -4641,11 +4626,11 @@
|
|
|
4641
4626
|
var isExponentPositive = false;
|
|
4642
4627
|
var hasExponent = false;
|
|
4643
4628
|
var start = current;
|
|
4644
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4645
|
-
var ch = charSequenceGet(this.
|
|
4629
|
+
$l$loop_4: while (!(current === charSequenceLength(this.i6b()))) {
|
|
4630
|
+
var ch = charSequenceGet(this.i6b(), current);
|
|
4646
4631
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4647
4632
|
if (current === start) {
|
|
4648
|
-
this.
|
|
4633
|
+
this.o65('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4649
4634
|
}
|
|
4650
4635
|
isExponentPositive = true;
|
|
4651
4636
|
hasExponent = true;
|
|
@@ -4654,7 +4639,7 @@
|
|
|
4654
4639
|
}
|
|
4655
4640
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4656
4641
|
if (current === start) {
|
|
4657
|
-
this.
|
|
4642
|
+
this.o65("Unexpected symbol '-' in numeric literal");
|
|
4658
4643
|
}
|
|
4659
4644
|
isExponentPositive = false;
|
|
4660
4645
|
current = current + 1 | 0;
|
|
@@ -4662,7 +4647,7 @@
|
|
|
4662
4647
|
}
|
|
4663
4648
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4664
4649
|
if (current === start) {
|
|
4665
|
-
this.
|
|
4650
|
+
this.o65("Unexpected symbol '+' in numeric literal");
|
|
4666
4651
|
}
|
|
4667
4652
|
isExponentPositive = true;
|
|
4668
4653
|
current = current + 1 | 0;
|
|
@@ -4670,7 +4655,7 @@
|
|
|
4670
4655
|
}
|
|
4671
4656
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4672
4657
|
if (!(current === start)) {
|
|
4673
|
-
this.
|
|
4658
|
+
this.o65("Unexpected symbol '-' in numeric literal");
|
|
4674
4659
|
}
|
|
4675
4660
|
isNegative = true;
|
|
4676
4661
|
current = current + 1 | 0;
|
|
@@ -4682,7 +4667,7 @@
|
|
|
4682
4667
|
current = current + 1 | 0;
|
|
4683
4668
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4684
4669
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4685
|
-
this.
|
|
4670
|
+
this.o65("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4686
4671
|
}
|
|
4687
4672
|
if (hasExponent) {
|
|
4688
4673
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4698,31 +4683,31 @@
|
|
|
4698
4683
|
var this_3 = multiply(this_2, fromInt(10));
|
|
4699
4684
|
accumulator = subtract(this_3, fromInt(digit));
|
|
4700
4685
|
if (accumulator > 0n) {
|
|
4701
|
-
this.
|
|
4686
|
+
this.o65('Numeric value overflow');
|
|
4702
4687
|
}
|
|
4703
4688
|
}
|
|
4704
4689
|
var hasChars = !(current === start);
|
|
4705
4690
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4706
|
-
this.
|
|
4691
|
+
this.o65('Expected numeric literal');
|
|
4707
4692
|
}
|
|
4708
4693
|
if (hasQuotation) {
|
|
4709
4694
|
if (!hasChars) {
|
|
4710
|
-
this.
|
|
4695
|
+
this.o65('EOF');
|
|
4711
4696
|
}
|
|
4712
|
-
if (!(charSequenceGet(this.
|
|
4713
|
-
this.
|
|
4697
|
+
if (!(charSequenceGet(this.i6b(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4698
|
+
this.o65('Expected closing quotation mark');
|
|
4714
4699
|
}
|
|
4715
4700
|
current = current + 1 | 0;
|
|
4716
4701
|
}
|
|
4717
|
-
this.
|
|
4702
|
+
this.g61_1 = current;
|
|
4718
4703
|
if (hasExponent) {
|
|
4719
4704
|
var doubleAccumulator = toNumber(accumulator) * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4720
4705
|
if (doubleAccumulator > toNumber(9223372036854775807n) || doubleAccumulator < toNumber(-9223372036854775808n)) {
|
|
4721
|
-
this.
|
|
4706
|
+
this.o65('Numeric value overflow');
|
|
4722
4707
|
}
|
|
4723
4708
|
// Inline function 'kotlin.math.floor' call
|
|
4724
4709
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4725
|
-
this.
|
|
4710
|
+
this.o65("Can't convert " + doubleAccumulator + ' to Long');
|
|
4726
4711
|
}
|
|
4727
4712
|
accumulator = numberToLong(doubleAccumulator);
|
|
4728
4713
|
}
|
|
@@ -4732,30 +4717,30 @@
|
|
|
4732
4717
|
} else if (!(accumulator === -9223372036854775808n)) {
|
|
4733
4718
|
tmp_0 = negate(accumulator);
|
|
4734
4719
|
} else {
|
|
4735
|
-
this.
|
|
4720
|
+
this.o65('Numeric value overflow');
|
|
4736
4721
|
}
|
|
4737
4722
|
return tmp_0;
|
|
4738
4723
|
};
|
|
4739
|
-
protoOf(AbstractJsonLexer).
|
|
4740
|
-
var result = this.
|
|
4741
|
-
var next = this.
|
|
4724
|
+
protoOf(AbstractJsonLexer).k63 = function () {
|
|
4725
|
+
var result = this.u68();
|
|
4726
|
+
var next = this.y66();
|
|
4742
4727
|
if (!(next === 10)) {
|
|
4743
4728
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4744
4729
|
var expected = tokenDescription(10);
|
|
4745
|
-
var position = true ? this.
|
|
4746
|
-
var s = this.
|
|
4730
|
+
var position = true ? this.g61_1 - 1 | 0 : this.g61_1;
|
|
4731
|
+
var s = this.g61_1 === charSequenceLength(this.i6b()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.i6b(), position));
|
|
4747
4732
|
var tmp$ret$0 = "Expected input to contain a single valid number, but got '" + s + "' after it";
|
|
4748
|
-
this.
|
|
4733
|
+
this.o65(tmp$ret$0, position);
|
|
4749
4734
|
}
|
|
4750
4735
|
return result;
|
|
4751
4736
|
};
|
|
4752
|
-
protoOf(AbstractJsonLexer).
|
|
4753
|
-
var current = this.
|
|
4754
|
-
if (current === charSequenceLength(this.
|
|
4755
|
-
this.
|
|
4737
|
+
protoOf(AbstractJsonLexer).t68 = function () {
|
|
4738
|
+
var current = this.l6b();
|
|
4739
|
+
if (current === charSequenceLength(this.i6b())) {
|
|
4740
|
+
this.o65('EOF');
|
|
4756
4741
|
}
|
|
4757
4742
|
var tmp;
|
|
4758
|
-
if (charSequenceGet(this.
|
|
4743
|
+
if (charSequenceGet(this.i6b(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4759
4744
|
current = current + 1 | 0;
|
|
4760
4745
|
tmp = true;
|
|
4761
4746
|
} else {
|
|
@@ -4764,13 +4749,13 @@
|
|
|
4764
4749
|
var hasQuotation = tmp;
|
|
4765
4750
|
var result = consumeBoolean2(this, current);
|
|
4766
4751
|
if (hasQuotation) {
|
|
4767
|
-
if (this.
|
|
4768
|
-
this.
|
|
4752
|
+
if (this.g61_1 === charSequenceLength(this.i6b())) {
|
|
4753
|
+
this.o65('EOF');
|
|
4769
4754
|
}
|
|
4770
|
-
if (!(charSequenceGet(this.
|
|
4771
|
-
this.
|
|
4755
|
+
if (!(charSequenceGet(this.i6b(), this.g61_1) === _Char___init__impl__6a9atx(34))) {
|
|
4756
|
+
this.o65('Expected closing quotation mark');
|
|
4772
4757
|
}
|
|
4773
|
-
this.
|
|
4758
|
+
this.g61_1 = this.g61_1 + 1 | 0;
|
|
4774
4759
|
}
|
|
4775
4760
|
return result;
|
|
4776
4761
|
};
|
|
@@ -4778,7 +4763,7 @@
|
|
|
4778
4763
|
var tmp;
|
|
4779
4764
|
// Inline function 'kotlin.code' call
|
|
4780
4765
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4781
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4766
|
+
var tmp_0 = CharMappings_getInstance().q6b_1;
|
|
4782
4767
|
// Inline function 'kotlin.code' call
|
|
4783
4768
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4784
4769
|
} else {
|
|
@@ -4790,7 +4775,7 @@
|
|
|
4790
4775
|
return token === 1 ? "quotation mark '\"'" : token === 2 ? "string escape sequence '\\'" : token === 4 ? "comma ','" : token === 5 ? "colon ':'" : token === 6 ? "start of the object '{'" : token === 7 ? "end of the object '}'" : token === 8 ? "start of the array '['" : token === 9 ? "end of the array ']'" : token === 10 ? 'end of the input' : token === 127 ? 'invalid token' : 'valid token';
|
|
4791
4776
|
}
|
|
4792
4777
|
function escapeToChar(c) {
|
|
4793
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4778
|
+
return c < 117 ? CharMappings_getInstance().p6b_1[c] : _Char___init__impl__6a9atx(0);
|
|
4794
4779
|
}
|
|
4795
4780
|
function initEscape($this) {
|
|
4796
4781
|
var inductionVariable = 0;
|
|
@@ -4836,7 +4821,7 @@
|
|
|
4836
4821
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4837
4822
|
// Inline function 'kotlin.code' call
|
|
4838
4823
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4839
|
-
$this.
|
|
4824
|
+
$this.p6b_1[tmp$ret$0] = numberToChar(c);
|
|
4840
4825
|
}
|
|
4841
4826
|
}
|
|
4842
4827
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4845,7 +4830,7 @@
|
|
|
4845
4830
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4846
4831
|
}
|
|
4847
4832
|
function initC2TC($this, c, cl) {
|
|
4848
|
-
$this.
|
|
4833
|
+
$this.q6b_1[c] = cl;
|
|
4849
4834
|
}
|
|
4850
4835
|
function initC2TC_0($this, c, cl) {
|
|
4851
4836
|
// Inline function 'kotlin.code' call
|
|
@@ -4854,8 +4839,8 @@
|
|
|
4854
4839
|
}
|
|
4855
4840
|
function CharMappings() {
|
|
4856
4841
|
CharMappings_instance = this;
|
|
4857
|
-
this.
|
|
4858
|
-
this.
|
|
4842
|
+
this.p6b_1 = charArray(117);
|
|
4843
|
+
this.q6b_1 = new Int8Array(126);
|
|
4859
4844
|
initEscape(this);
|
|
4860
4845
|
initCharToToken(this);
|
|
4861
4846
|
}
|
|
@@ -4868,48 +4853,48 @@
|
|
|
4868
4853
|
function StringJsonLexerWithComments(source) {
|
|
4869
4854
|
StringJsonLexer.call(this, source);
|
|
4870
4855
|
}
|
|
4871
|
-
protoOf(StringJsonLexerWithComments).
|
|
4872
|
-
var source = this.
|
|
4873
|
-
var cpos = this.
|
|
4856
|
+
protoOf(StringJsonLexerWithComments).y66 = function () {
|
|
4857
|
+
var source = this.i6b();
|
|
4858
|
+
var cpos = this.l6b();
|
|
4874
4859
|
if (cpos >= source.length || cpos === -1)
|
|
4875
4860
|
return 10;
|
|
4876
|
-
this.
|
|
4861
|
+
this.g61_1 = cpos + 1 | 0;
|
|
4877
4862
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4878
4863
|
};
|
|
4879
|
-
protoOf(StringJsonLexerWithComments).
|
|
4880
|
-
var current = this.
|
|
4881
|
-
if (current >= this.
|
|
4864
|
+
protoOf(StringJsonLexerWithComments).u66 = function () {
|
|
4865
|
+
var current = this.l6b();
|
|
4866
|
+
if (current >= this.i6b().length || current === -1)
|
|
4882
4867
|
return false;
|
|
4883
|
-
return this.
|
|
4868
|
+
return this.m6b(charCodeAt(this.i6b(), current));
|
|
4884
4869
|
};
|
|
4885
|
-
protoOf(StringJsonLexerWithComments).
|
|
4886
|
-
var source = this.
|
|
4887
|
-
var current = this.
|
|
4870
|
+
protoOf(StringJsonLexerWithComments).f68 = function (expected) {
|
|
4871
|
+
var source = this.i6b();
|
|
4872
|
+
var current = this.l6b();
|
|
4888
4873
|
if (current >= source.length || current === -1) {
|
|
4889
|
-
this.
|
|
4890
|
-
this.
|
|
4874
|
+
this.g61_1 = -1;
|
|
4875
|
+
this.n6b(expected);
|
|
4891
4876
|
}
|
|
4892
4877
|
var c = charCodeAt(source, current);
|
|
4893
|
-
this.
|
|
4878
|
+
this.g61_1 = current + 1 | 0;
|
|
4894
4879
|
if (c === expected)
|
|
4895
4880
|
return Unit_instance;
|
|
4896
4881
|
else {
|
|
4897
|
-
this.
|
|
4882
|
+
this.n6b(expected);
|
|
4898
4883
|
}
|
|
4899
4884
|
};
|
|
4900
|
-
protoOf(StringJsonLexerWithComments).
|
|
4901
|
-
var source = this.
|
|
4902
|
-
var cpos = this.
|
|
4885
|
+
protoOf(StringJsonLexerWithComments).t66 = function () {
|
|
4886
|
+
var source = this.i6b();
|
|
4887
|
+
var cpos = this.l6b();
|
|
4903
4888
|
if (cpos >= source.length || cpos === -1)
|
|
4904
4889
|
return 10;
|
|
4905
|
-
this.
|
|
4890
|
+
this.g61_1 = cpos;
|
|
4906
4891
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4907
4892
|
};
|
|
4908
|
-
protoOf(StringJsonLexerWithComments).
|
|
4909
|
-
var current = this.
|
|
4893
|
+
protoOf(StringJsonLexerWithComments).l6b = function () {
|
|
4894
|
+
var current = this.g61_1;
|
|
4910
4895
|
if (current === -1)
|
|
4911
4896
|
return current;
|
|
4912
|
-
var source = this.
|
|
4897
|
+
var source = this.i6b();
|
|
4913
4898
|
$l$loop_1: while (current < source.length) {
|
|
4914
4899
|
var c = charCodeAt(source, current);
|
|
4915
4900
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4930,8 +4915,8 @@
|
|
|
4930
4915
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4931
4916
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4932
4917
|
if (current === -1) {
|
|
4933
|
-
this.
|
|
4934
|
-
this.
|
|
4918
|
+
this.g61_1 = source.length;
|
|
4919
|
+
this.o65('Expected end of the block comment: "*/", but had EOF instead');
|
|
4935
4920
|
} else {
|
|
4936
4921
|
current = current + 2 | 0;
|
|
4937
4922
|
}
|
|
@@ -4940,22 +4925,22 @@
|
|
|
4940
4925
|
}
|
|
4941
4926
|
break $l$loop_1;
|
|
4942
4927
|
}
|
|
4943
|
-
this.
|
|
4928
|
+
this.g61_1 = current;
|
|
4944
4929
|
return current;
|
|
4945
4930
|
};
|
|
4946
4931
|
function StringJsonLexer(source) {
|
|
4947
4932
|
AbstractJsonLexer.call(this);
|
|
4948
|
-
this.
|
|
4933
|
+
this.a6c_1 = source;
|
|
4949
4934
|
}
|
|
4950
|
-
protoOf(StringJsonLexer).
|
|
4951
|
-
return this.
|
|
4935
|
+
protoOf(StringJsonLexer).i6b = function () {
|
|
4936
|
+
return this.a6c_1;
|
|
4952
4937
|
};
|
|
4953
|
-
protoOf(StringJsonLexer).
|
|
4954
|
-
return position < this.
|
|
4938
|
+
protoOf(StringJsonLexer).j6b = function (position) {
|
|
4939
|
+
return position < this.i6b().length ? position : -1;
|
|
4955
4940
|
};
|
|
4956
|
-
protoOf(StringJsonLexer).
|
|
4957
|
-
var source = this.
|
|
4958
|
-
var cpos = this.
|
|
4941
|
+
protoOf(StringJsonLexer).y66 = function () {
|
|
4942
|
+
var source = this.i6b();
|
|
4943
|
+
var cpos = this.g61_1;
|
|
4959
4944
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4960
4945
|
var _unary__edvuaz = cpos;
|
|
4961
4946
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4963,17 +4948,17 @@
|
|
|
4963
4948
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4964
4949
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4965
4950
|
continue $l$loop;
|
|
4966
|
-
this.
|
|
4951
|
+
this.g61_1 = cpos;
|
|
4967
4952
|
return charToTokenClass(c);
|
|
4968
4953
|
}
|
|
4969
|
-
this.
|
|
4954
|
+
this.g61_1 = source.length;
|
|
4970
4955
|
return 10;
|
|
4971
4956
|
};
|
|
4972
|
-
protoOf(StringJsonLexer).
|
|
4973
|
-
var current = this.
|
|
4957
|
+
protoOf(StringJsonLexer).u66 = function () {
|
|
4958
|
+
var current = this.g61_1;
|
|
4974
4959
|
if (current === -1)
|
|
4975
4960
|
return false;
|
|
4976
|
-
var source = this.
|
|
4961
|
+
var source = this.i6b();
|
|
4977
4962
|
$l$loop: while (current < source.length) {
|
|
4978
4963
|
var c = charCodeAt(source, current);
|
|
4979
4964
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4981,17 +4966,17 @@
|
|
|
4981
4966
|
current = current + 1 | 0;
|
|
4982
4967
|
continue $l$loop;
|
|
4983
4968
|
}
|
|
4984
|
-
this.
|
|
4985
|
-
return this.
|
|
4969
|
+
this.g61_1 = current;
|
|
4970
|
+
return this.m6b(c);
|
|
4986
4971
|
}
|
|
4987
|
-
this.
|
|
4972
|
+
this.g61_1 = current;
|
|
4988
4973
|
return false;
|
|
4989
4974
|
};
|
|
4990
|
-
protoOf(StringJsonLexer).
|
|
4991
|
-
var current = this.
|
|
4975
|
+
protoOf(StringJsonLexer).l6b = function () {
|
|
4976
|
+
var current = this.g61_1;
|
|
4992
4977
|
if (current === -1)
|
|
4993
4978
|
return current;
|
|
4994
|
-
var source = this.
|
|
4979
|
+
var source = this.i6b();
|
|
4995
4980
|
$l$loop: while (current < source.length) {
|
|
4996
4981
|
var c = charCodeAt(source, current);
|
|
4997
4982
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -5001,15 +4986,15 @@
|
|
|
5001
4986
|
break $l$loop;
|
|
5002
4987
|
}
|
|
5003
4988
|
}
|
|
5004
|
-
this.
|
|
4989
|
+
this.g61_1 = current;
|
|
5005
4990
|
return current;
|
|
5006
4991
|
};
|
|
5007
|
-
protoOf(StringJsonLexer).
|
|
5008
|
-
if (this.
|
|
5009
|
-
this.
|
|
4992
|
+
protoOf(StringJsonLexer).f68 = function (expected) {
|
|
4993
|
+
if (this.g61_1 === -1) {
|
|
4994
|
+
this.n6b(expected);
|
|
5010
4995
|
}
|
|
5011
|
-
var source = this.
|
|
5012
|
-
var cpos = this.
|
|
4996
|
+
var source = this.i6b();
|
|
4997
|
+
var cpos = this.g61_1;
|
|
5013
4998
|
$l$loop: while (cpos < source.length) {
|
|
5014
4999
|
var _unary__edvuaz = cpos;
|
|
5015
5000
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -5017,83 +5002,83 @@
|
|
|
5017
5002
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
5018
5003
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
5019
5004
|
continue $l$loop;
|
|
5020
|
-
this.
|
|
5005
|
+
this.g61_1 = cpos;
|
|
5021
5006
|
if (c === expected)
|
|
5022
5007
|
return Unit_instance;
|
|
5023
|
-
this.
|
|
5008
|
+
this.n6b(expected);
|
|
5024
5009
|
}
|
|
5025
|
-
this.
|
|
5026
|
-
this.
|
|
5010
|
+
this.g61_1 = -1;
|
|
5011
|
+
this.n6b(expected);
|
|
5027
5012
|
};
|
|
5028
|
-
protoOf(StringJsonLexer).
|
|
5029
|
-
this.
|
|
5030
|
-
var current = this.
|
|
5031
|
-
var closingQuote = indexOf_0(this.
|
|
5013
|
+
protoOf(StringJsonLexer).l68 = function () {
|
|
5014
|
+
this.f68(_Char___init__impl__6a9atx(34));
|
|
5015
|
+
var current = this.g61_1;
|
|
5016
|
+
var closingQuote = indexOf_0(this.i6b(), _Char___init__impl__6a9atx(34), current);
|
|
5032
5017
|
if (closingQuote === -1) {
|
|
5033
|
-
this.
|
|
5018
|
+
this.w66();
|
|
5034
5019
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
5035
5020
|
var expected = tokenDescription(1);
|
|
5036
|
-
var position = false ? this.
|
|
5037
|
-
var s = this.
|
|
5021
|
+
var position = false ? this.g61_1 - 1 | 0 : this.g61_1;
|
|
5022
|
+
var s = this.g61_1 === charSequenceLength(this.i6b()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.i6b(), position));
|
|
5038
5023
|
var tmp$ret$0 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
5039
|
-
this.
|
|
5024
|
+
this.o65(tmp$ret$0, position);
|
|
5040
5025
|
}
|
|
5041
5026
|
var inductionVariable = current;
|
|
5042
5027
|
if (inductionVariable < closingQuote)
|
|
5043
5028
|
do {
|
|
5044
5029
|
var i = inductionVariable;
|
|
5045
5030
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5046
|
-
if (charCodeAt(this.
|
|
5047
|
-
return this.consumeString2(this.
|
|
5031
|
+
if (charCodeAt(this.i6b(), i) === _Char___init__impl__6a9atx(92)) {
|
|
5032
|
+
return this.consumeString2(this.i6b(), this.g61_1, i);
|
|
5048
5033
|
}
|
|
5049
5034
|
}
|
|
5050
5035
|
while (inductionVariable < closingQuote);
|
|
5051
|
-
this.
|
|
5052
|
-
return substring(this.
|
|
5036
|
+
this.g61_1 = closingQuote + 1 | 0;
|
|
5037
|
+
return substring(this.i6b(), current, closingQuote);
|
|
5053
5038
|
};
|
|
5054
|
-
protoOf(StringJsonLexer).
|
|
5055
|
-
var positionSnapshot = this.
|
|
5039
|
+
protoOf(StringJsonLexer).n68 = function (keyToMatch, isLenient) {
|
|
5040
|
+
var positionSnapshot = this.g61_1;
|
|
5056
5041
|
try {
|
|
5057
|
-
if (!(this.
|
|
5042
|
+
if (!(this.y66() === 6))
|
|
5058
5043
|
return null;
|
|
5059
|
-
var firstKey = this.
|
|
5044
|
+
var firstKey = this.i68(isLenient);
|
|
5060
5045
|
if (!(firstKey === keyToMatch))
|
|
5061
5046
|
return null;
|
|
5062
|
-
this.
|
|
5063
|
-
if (!(this.
|
|
5047
|
+
this.o6b();
|
|
5048
|
+
if (!(this.y66() === 5))
|
|
5064
5049
|
return null;
|
|
5065
|
-
return this.
|
|
5050
|
+
return this.i68(isLenient);
|
|
5066
5051
|
}finally {
|
|
5067
|
-
this.
|
|
5068
|
-
this.
|
|
5052
|
+
this.g61_1 = positionSnapshot;
|
|
5053
|
+
this.o6b();
|
|
5069
5054
|
}
|
|
5070
5055
|
};
|
|
5071
5056
|
function StringJsonLexer_0(json, source) {
|
|
5072
|
-
return !json.
|
|
5057
|
+
return !json.t60_1.t62_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
5073
5058
|
}
|
|
5074
5059
|
function get_schemaCache(_this__u8e3s4) {
|
|
5075
|
-
return _this__u8e3s4.
|
|
5060
|
+
return _this__u8e3s4.v60_1;
|
|
5076
5061
|
}
|
|
5077
5062
|
function JsonToStringWriter() {
|
|
5078
|
-
this.
|
|
5063
|
+
this.x60_1 = StringBuilder_init_$Create$_0(128);
|
|
5079
5064
|
}
|
|
5080
|
-
protoOf(JsonToStringWriter).
|
|
5081
|
-
this.
|
|
5065
|
+
protoOf(JsonToStringWriter).s64 = function (value) {
|
|
5066
|
+
this.x60_1.zc(value);
|
|
5082
5067
|
};
|
|
5083
|
-
protoOf(JsonToStringWriter).
|
|
5084
|
-
this.
|
|
5068
|
+
protoOf(JsonToStringWriter).m64 = function (char) {
|
|
5069
|
+
this.x60_1.s(char);
|
|
5085
5070
|
};
|
|
5086
|
-
protoOf(JsonToStringWriter).
|
|
5087
|
-
this.
|
|
5071
|
+
protoOf(JsonToStringWriter).o64 = function (text) {
|
|
5072
|
+
this.x60_1.q(text);
|
|
5088
5073
|
};
|
|
5089
|
-
protoOf(JsonToStringWriter).
|
|
5090
|
-
printQuoted(this.
|
|
5074
|
+
protoOf(JsonToStringWriter).y64 = function (text) {
|
|
5075
|
+
printQuoted(this.x60_1, text);
|
|
5091
5076
|
};
|
|
5092
|
-
protoOf(JsonToStringWriter).
|
|
5093
|
-
this.
|
|
5077
|
+
protoOf(JsonToStringWriter).o2i = function () {
|
|
5078
|
+
this.x60_1.cd();
|
|
5094
5079
|
};
|
|
5095
5080
|
protoOf(JsonToStringWriter).toString = function () {
|
|
5096
|
-
return this.
|
|
5081
|
+
return this.x60_1.toString();
|
|
5097
5082
|
};
|
|
5098
5083
|
function createMapForCache(initialCapacity) {
|
|
5099
5084
|
return HashMap_init_$Create$(initialCapacity);
|
|
@@ -5116,16 +5101,15 @@
|
|
|
5116
5101
|
_.$_$.a = Default_getInstance;
|
|
5117
5102
|
_.$_$.b = JsonNull_getInstance;
|
|
5118
5103
|
_.$_$.c = JsonArray;
|
|
5119
|
-
_.$_$.d =
|
|
5120
|
-
_.$_$.e =
|
|
5121
|
-
_.$_$.f =
|
|
5122
|
-
_.$_$.g =
|
|
5123
|
-
_.$_$.h =
|
|
5124
|
-
_.$_$.i =
|
|
5125
|
-
_.$_$.j =
|
|
5126
|
-
_.$_$.k =
|
|
5127
|
-
_.$_$.l =
|
|
5128
|
-
_.$_$.m = get_jsonPrimitive;
|
|
5104
|
+
_.$_$.d = JsonElement;
|
|
5105
|
+
_.$_$.e = JsonNull;
|
|
5106
|
+
_.$_$.f = JsonObjectBuilder;
|
|
5107
|
+
_.$_$.g = JsonObject;
|
|
5108
|
+
_.$_$.h = JsonPrimitive_0;
|
|
5109
|
+
_.$_$.i = JsonPrimitive;
|
|
5110
|
+
_.$_$.j = Json_0;
|
|
5111
|
+
_.$_$.k = get_jsonObject;
|
|
5112
|
+
_.$_$.l = get_jsonPrimitive;
|
|
5129
5113
|
//endregion
|
|
5130
5114
|
return _;
|
|
5131
5115
|
}));
|