@flock/wirespec 0.8.44 → 0.8.46
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/arrow-arrow-atomic.js +11 -11
- package/arrow-arrow-core.js +57 -57
- package/clikt-clikt.js +1278 -1278
- package/colormath-root-colormath.js +365 -365
- package/kotlin-kotlin-stdlib-js-ir.js +978 -978
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-openapi-bindings.js +3225 -3225
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1296 -1296
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1032 -1032
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +1887 -1887
- package/mordant-mordant.js +1641 -1641
- package/package.json +1 -1
- package/wirespec-src-compiler-cli.js +171 -171
- package/wirespec-src-compiler-core.js +3637 -3003
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +219 -219
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/{wirespec-src-openapi.js → wirespec-src-converter-openapi.js} +413 -401
- package/wirespec-src-converter-openapi.js.map +1 -0
- package/wirespec-src-openapi.js.map +0 -1
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
var Enum = kotlin_kotlin.$_$.cd;
|
|
153
153
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
154
154
|
var toString_0 = kotlin_kotlin.$_$.v1;
|
|
155
|
-
var last = kotlin_kotlin.$_$.
|
|
155
|
+
var last = kotlin_kotlin.$_$.i6;
|
|
156
156
|
var removeLast = kotlin_kotlin.$_$.w6;
|
|
157
157
|
var lastIndexOf = kotlin_kotlin.$_$.pb;
|
|
158
158
|
var Long = kotlin_kotlin.$_$.gd;
|
|
@@ -227,69 +227,69 @@
|
|
|
227
227
|
}
|
|
228
228
|
function Json(configuration, serializersModule) {
|
|
229
229
|
Default_getInstance();
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
230
|
+
this.zx_1 = configuration;
|
|
231
|
+
this.ay_1 = serializersModule;
|
|
232
|
+
this.by_1 = new DescriptorSchemaCache();
|
|
233
233
|
}
|
|
234
|
-
protoOf(Json).
|
|
235
|
-
return this.
|
|
234
|
+
protoOf(Json).ql = function () {
|
|
235
|
+
return this.ay_1;
|
|
236
236
|
};
|
|
237
|
-
protoOf(Json).
|
|
237
|
+
protoOf(Json).cy = function (deserializer, string) {
|
|
238
238
|
var lexer = new StringJsonLexer(string);
|
|
239
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
240
|
-
var result = input.
|
|
241
|
-
lexer.
|
|
239
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.di(), null);
|
|
240
|
+
var result = input.al(deserializer);
|
|
241
|
+
lexer.qy();
|
|
242
242
|
return result;
|
|
243
243
|
};
|
|
244
|
-
protoOf(Json).
|
|
244
|
+
protoOf(Json).dy = function (deserializer, element) {
|
|
245
245
|
return readJson(this, element, deserializer);
|
|
246
246
|
};
|
|
247
247
|
function Json_0(from, builderAction) {
|
|
248
248
|
from = from === VOID ? Default_getInstance() : from;
|
|
249
249
|
var builder = new JsonBuilder(from);
|
|
250
250
|
builderAction(builder);
|
|
251
|
-
var conf = builder.
|
|
252
|
-
return new JsonImpl(conf, builder.
|
|
251
|
+
var conf = builder.rb();
|
|
252
|
+
return new JsonImpl(conf, builder.ez_1);
|
|
253
253
|
}
|
|
254
254
|
function JsonBuilder(json) {
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
269
|
-
}
|
|
270
|
-
protoOf(JsonBuilder).
|
|
271
|
-
if (this.
|
|
255
|
+
this.ry_1 = json.zx_1.fz_1;
|
|
256
|
+
this.sy_1 = json.zx_1.kz_1;
|
|
257
|
+
this.ty_1 = json.zx_1.gz_1;
|
|
258
|
+
this.uy_1 = json.zx_1.hz_1;
|
|
259
|
+
this.vy_1 = json.zx_1.iz_1;
|
|
260
|
+
this.wy_1 = json.zx_1.jz_1;
|
|
261
|
+
this.xy_1 = json.zx_1.lz_1;
|
|
262
|
+
this.yy_1 = json.zx_1.mz_1;
|
|
263
|
+
this.zy_1 = json.zx_1.nz_1;
|
|
264
|
+
this.az_1 = json.zx_1.oz_1;
|
|
265
|
+
this.bz_1 = json.zx_1.pz_1;
|
|
266
|
+
this.cz_1 = json.zx_1.qz_1;
|
|
267
|
+
this.dz_1 = json.zx_1.rz_1;
|
|
268
|
+
this.ez_1 = json.ql();
|
|
269
|
+
}
|
|
270
|
+
protoOf(JsonBuilder).rb = function () {
|
|
271
|
+
if (this.zy_1) {
|
|
272
272
|
// Inline function 'kotlin.require' call
|
|
273
273
|
// Inline function 'kotlin.contracts.contract' call
|
|
274
|
-
if (!(this.
|
|
274
|
+
if (!(this.az_1 === 'type')) {
|
|
275
275
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
276
276
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
277
277
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
if (!this.
|
|
280
|
+
if (!this.wy_1) {
|
|
281
281
|
// Inline function 'kotlin.require' call
|
|
282
282
|
// Inline function 'kotlin.contracts.contract' call
|
|
283
|
-
if (!(this.
|
|
283
|
+
if (!(this.xy_1 === ' ')) {
|
|
284
284
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
285
285
|
var message_0 = 'Indent should not be specified when default printing mode is used';
|
|
286
286
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
287
287
|
}
|
|
288
|
-
} else if (!(this.
|
|
288
|
+
} else if (!(this.xy_1 === ' ')) {
|
|
289
289
|
var tmp$ret$3;
|
|
290
290
|
$l$block: {
|
|
291
291
|
// Inline function 'kotlin.text.all' call
|
|
292
|
-
var indexedObject = this.
|
|
292
|
+
var indexedObject = this.xy_1;
|
|
293
293
|
var inductionVariable = 0;
|
|
294
294
|
var last = indexedObject.length;
|
|
295
295
|
while (inductionVariable < last) {
|
|
@@ -308,17 +308,17 @@
|
|
|
308
308
|
// Inline function 'kotlin.contracts.contract' call
|
|
309
309
|
if (!allWhitespaces) {
|
|
310
310
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
311
|
-
var message_1 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
311
|
+
var message_1 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.xy_1;
|
|
312
312
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
return new JsonConfiguration(this.
|
|
315
|
+
return new JsonConfiguration(this.ry_1, this.ty_1, this.uy_1, this.vy_1, this.wy_1, this.sy_1, this.xy_1, this.yy_1, this.zy_1, this.az_1, this.bz_1, this.cz_1, this.dz_1);
|
|
316
316
|
};
|
|
317
317
|
function validateConfiguration($this) {
|
|
318
|
-
if (equals($this.
|
|
318
|
+
if (equals($this.ql(), EmptySerializersModule()))
|
|
319
319
|
return Unit_getInstance();
|
|
320
|
-
var collector = new PolymorphismValidator($this.
|
|
321
|
-
$this.
|
|
320
|
+
var collector = new PolymorphismValidator($this.zx_1.nz_1, $this.zx_1.oz_1);
|
|
321
|
+
$this.ql().ix(collector);
|
|
322
322
|
}
|
|
323
323
|
function JsonImpl(configuration, module_0) {
|
|
324
324
|
Json.call(this, configuration, module_0);
|
|
@@ -342,22 +342,22 @@
|
|
|
342
342
|
allowSpecialFloatingPointValues = allowSpecialFloatingPointValues === VOID ? false : allowSpecialFloatingPointValues;
|
|
343
343
|
useAlternativeNames = useAlternativeNames === VOID ? true : useAlternativeNames;
|
|
344
344
|
namingStrategy = namingStrategy === VOID ? null : namingStrategy;
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
348
|
-
this.
|
|
349
|
-
this.
|
|
350
|
-
this.
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
345
|
+
this.fz_1 = encodeDefaults;
|
|
346
|
+
this.gz_1 = ignoreUnknownKeys;
|
|
347
|
+
this.hz_1 = isLenient;
|
|
348
|
+
this.iz_1 = allowStructuredMapKeys;
|
|
349
|
+
this.jz_1 = prettyPrint;
|
|
350
|
+
this.kz_1 = explicitNulls;
|
|
351
|
+
this.lz_1 = prettyPrintIndent;
|
|
352
|
+
this.mz_1 = coerceInputValues;
|
|
353
|
+
this.nz_1 = useArrayPolymorphism;
|
|
354
|
+
this.oz_1 = classDiscriminator;
|
|
355
|
+
this.pz_1 = allowSpecialFloatingPointValues;
|
|
356
|
+
this.qz_1 = useAlternativeNames;
|
|
357
|
+
this.rz_1 = namingStrategy;
|
|
358
358
|
}
|
|
359
359
|
protoOf(JsonConfiguration).toString = function () {
|
|
360
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
360
|
+
return 'JsonConfiguration(encodeDefaults=' + this.fz_1 + ', ignoreUnknownKeys=' + this.gz_1 + ', isLenient=' + this.hz_1 + ', ' + ('allowStructuredMapKeys=' + this.iz_1 + ', prettyPrint=' + this.jz_1 + ', explicitNulls=' + this.kz_1 + ', ') + ("prettyPrintIndent='" + this.lz_1 + "', coerceInputValues=" + this.mz_1 + ', useArrayPolymorphism=' + this.nz_1 + ', ') + ("classDiscriminator='" + this.oz_1 + "', allowSpecialFloatingPointValues=" + this.pz_1 + ', useAlternativeNames=' + this.qz_1 + ', ') + ('namingStrategy=' + this.rz_1 + ')');
|
|
361
361
|
};
|
|
362
362
|
function JsonDecoder() {
|
|
363
363
|
}
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
JsonElement.call(this);
|
|
377
377
|
}
|
|
378
378
|
protoOf(JsonPrimitive).toString = function () {
|
|
379
|
-
return this.
|
|
379
|
+
return this.uz();
|
|
380
380
|
};
|
|
381
381
|
function Companion_0() {
|
|
382
382
|
Companion_instance_0 = this;
|
|
@@ -411,51 +411,51 @@
|
|
|
411
411
|
// Inline function 'kotlin.contracts.contract' call
|
|
412
412
|
// Inline function 'kotlinx.serialization.json.JsonObject.toString.<anonymous>.<anonymous>' call
|
|
413
413
|
printQuoted(tmp0_apply, k);
|
|
414
|
-
tmp0_apply.
|
|
415
|
-
tmp0_apply.
|
|
414
|
+
tmp0_apply.z5(_Char___init__impl__6a9atx(58));
|
|
415
|
+
tmp0_apply.c7(v);
|
|
416
416
|
return tmp0_apply.toString();
|
|
417
417
|
}
|
|
418
418
|
function JsonObject(content) {
|
|
419
419
|
Companion_getInstance_7();
|
|
420
420
|
JsonElement.call(this);
|
|
421
|
-
this.
|
|
421
|
+
this.vz_1 = content;
|
|
422
422
|
}
|
|
423
423
|
protoOf(JsonObject).w = function () {
|
|
424
|
-
return this.
|
|
424
|
+
return this.vz_1.w();
|
|
425
425
|
};
|
|
426
426
|
protoOf(JsonObject).r2 = function () {
|
|
427
|
-
return this.
|
|
427
|
+
return this.vz_1.r2();
|
|
428
428
|
};
|
|
429
429
|
protoOf(JsonObject).f = function () {
|
|
430
|
-
return this.
|
|
430
|
+
return this.vz_1.f();
|
|
431
431
|
};
|
|
432
|
-
protoOf(JsonObject).
|
|
433
|
-
return this.
|
|
432
|
+
protoOf(JsonObject).wz = function (key) {
|
|
433
|
+
return this.vz_1.n2(key);
|
|
434
434
|
};
|
|
435
435
|
protoOf(JsonObject).n2 = function (key) {
|
|
436
436
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
437
437
|
return false;
|
|
438
|
-
return this.
|
|
438
|
+
return this.wz((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
439
439
|
};
|
|
440
|
-
protoOf(JsonObject).
|
|
441
|
-
return this.
|
|
440
|
+
protoOf(JsonObject).s6 = function (key) {
|
|
441
|
+
return this.vz_1.q2(key);
|
|
442
442
|
};
|
|
443
443
|
protoOf(JsonObject).q2 = function (key) {
|
|
444
444
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
445
445
|
return null;
|
|
446
|
-
return this.
|
|
446
|
+
return this.s6((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
447
447
|
};
|
|
448
448
|
protoOf(JsonObject).l = function () {
|
|
449
|
-
return this.
|
|
449
|
+
return this.vz_1.l();
|
|
450
450
|
};
|
|
451
451
|
protoOf(JsonObject).equals = function (other) {
|
|
452
|
-
return equals(this.
|
|
452
|
+
return equals(this.vz_1, other);
|
|
453
453
|
};
|
|
454
454
|
protoOf(JsonObject).hashCode = function () {
|
|
455
|
-
return hashCode(this.
|
|
455
|
+
return hashCode(this.vz_1);
|
|
456
456
|
};
|
|
457
457
|
protoOf(JsonObject).toString = function () {
|
|
458
|
-
var tmp = this.
|
|
458
|
+
var tmp = this.vz_1.w();
|
|
459
459
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
460
460
|
};
|
|
461
461
|
function get_jsonObject(_this__u8e3s4) {
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
}
|
|
472
472
|
function get_boolean(_this__u8e3s4) {
|
|
473
473
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
474
|
-
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.
|
|
474
|
+
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.uz());
|
|
475
475
|
var tmp;
|
|
476
476
|
if (tmp0_elvis_lhs == null) {
|
|
477
477
|
throw IllegalStateException_init_$Create$('' + _this__u8e3s4 + ' does not represent a Boolean');
|
|
@@ -492,63 +492,63 @@
|
|
|
492
492
|
function JsonArray(content) {
|
|
493
493
|
Companion_getInstance_8();
|
|
494
494
|
JsonElement.call(this);
|
|
495
|
-
this.
|
|
495
|
+
this.xz_1 = content;
|
|
496
496
|
}
|
|
497
497
|
protoOf(JsonArray).f = function () {
|
|
498
|
-
return this.
|
|
498
|
+
return this.xz_1.f();
|
|
499
499
|
};
|
|
500
|
-
protoOf(JsonArray).
|
|
501
|
-
return this.
|
|
500
|
+
protoOf(JsonArray).yz = function (element) {
|
|
501
|
+
return this.xz_1.t(element);
|
|
502
502
|
};
|
|
503
503
|
protoOf(JsonArray).t = function (element) {
|
|
504
504
|
if (!(element instanceof JsonElement))
|
|
505
505
|
return false;
|
|
506
|
-
return this.
|
|
506
|
+
return this.yz(element instanceof JsonElement ? element : THROW_CCE());
|
|
507
507
|
};
|
|
508
|
-
protoOf(JsonArray).
|
|
509
|
-
return this.
|
|
508
|
+
protoOf(JsonArray).zz = function (elements) {
|
|
509
|
+
return this.xz_1.m1(elements);
|
|
510
510
|
};
|
|
511
511
|
protoOf(JsonArray).m1 = function (elements) {
|
|
512
|
-
return this.
|
|
512
|
+
return this.zz(elements);
|
|
513
513
|
};
|
|
514
514
|
protoOf(JsonArray).k = function (index) {
|
|
515
|
-
return this.
|
|
515
|
+
return this.xz_1.k(index);
|
|
516
516
|
};
|
|
517
|
-
protoOf(JsonArray).
|
|
518
|
-
return this.
|
|
517
|
+
protoOf(JsonArray).a10 = function (element) {
|
|
518
|
+
return this.xz_1.u(element);
|
|
519
519
|
};
|
|
520
520
|
protoOf(JsonArray).u = function (element) {
|
|
521
521
|
if (!(element instanceof JsonElement))
|
|
522
522
|
return -1;
|
|
523
|
-
return this.
|
|
523
|
+
return this.a10(element instanceof JsonElement ? element : THROW_CCE());
|
|
524
524
|
};
|
|
525
525
|
protoOf(JsonArray).l = function () {
|
|
526
|
-
return this.
|
|
526
|
+
return this.xz_1.l();
|
|
527
527
|
};
|
|
528
528
|
protoOf(JsonArray).c = function () {
|
|
529
|
-
return this.
|
|
529
|
+
return this.xz_1.c();
|
|
530
530
|
};
|
|
531
531
|
protoOf(JsonArray).m = function (index) {
|
|
532
|
-
return this.
|
|
532
|
+
return this.xz_1.m(index);
|
|
533
533
|
};
|
|
534
534
|
protoOf(JsonArray).s = function (fromIndex, toIndex) {
|
|
535
|
-
return this.
|
|
535
|
+
return this.xz_1.s(fromIndex, toIndex);
|
|
536
536
|
};
|
|
537
537
|
protoOf(JsonArray).equals = function (other) {
|
|
538
|
-
return equals(this.
|
|
538
|
+
return equals(this.xz_1, other);
|
|
539
539
|
};
|
|
540
540
|
protoOf(JsonArray).hashCode = function () {
|
|
541
|
-
return hashCode(this.
|
|
541
|
+
return hashCode(this.xz_1);
|
|
542
542
|
};
|
|
543
543
|
protoOf(JsonArray).toString = function () {
|
|
544
|
-
return joinToString(this.
|
|
544
|
+
return joinToString(this.xz_1, ',', '[', ']');
|
|
545
545
|
};
|
|
546
546
|
function error(_this__u8e3s4, element) {
|
|
547
547
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
548
548
|
throw IllegalArgumentException_init_$Create$('Element ' + getKClassFromExpression(_this__u8e3s4) + ' is not a ' + element);
|
|
549
549
|
}
|
|
550
550
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
551
|
-
return $this.
|
|
551
|
+
return $this.c10_1.y();
|
|
552
552
|
}
|
|
553
553
|
function JsonNull$_anonymous__enib48() {
|
|
554
554
|
return JsonNullSerializer_getInstance();
|
|
@@ -556,19 +556,19 @@
|
|
|
556
556
|
function JsonNull() {
|
|
557
557
|
JsonNull_instance = this;
|
|
558
558
|
JsonPrimitive.call(this);
|
|
559
|
-
this.
|
|
559
|
+
this.b10_1 = 'null';
|
|
560
560
|
var tmp = this;
|
|
561
561
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
562
|
-
tmp.
|
|
562
|
+
tmp.c10_1 = lazy(tmp_0, JsonNull$_anonymous__enib48);
|
|
563
563
|
}
|
|
564
|
-
protoOf(JsonNull).
|
|
565
|
-
return this.
|
|
564
|
+
protoOf(JsonNull).uz = function () {
|
|
565
|
+
return this.b10_1;
|
|
566
566
|
};
|
|
567
|
-
protoOf(JsonNull).
|
|
567
|
+
protoOf(JsonNull).d10 = function () {
|
|
568
568
|
return _get_$cachedSerializer__te6jhj(this);
|
|
569
569
|
};
|
|
570
|
-
protoOf(JsonNull).
|
|
571
|
-
return this.
|
|
570
|
+
protoOf(JsonNull).kr = function (typeParamsSerializers) {
|
|
571
|
+
return this.d10();
|
|
572
572
|
};
|
|
573
573
|
var JsonNull_instance;
|
|
574
574
|
function JsonNull_getInstance() {
|
|
@@ -579,37 +579,37 @@
|
|
|
579
579
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
580
580
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
581
581
|
JsonPrimitive.call(this);
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
584
|
-
this.
|
|
585
|
-
if (!(this.
|
|
582
|
+
this.e10_1 = isString;
|
|
583
|
+
this.f10_1 = coerceToInlineType;
|
|
584
|
+
this.g10_1 = toString(body);
|
|
585
|
+
if (!(this.f10_1 == null)) {
|
|
586
586
|
// Inline function 'kotlin.require' call
|
|
587
587
|
// Inline function 'kotlin.contracts.contract' call
|
|
588
588
|
// Inline function 'kotlin.require' call
|
|
589
589
|
// Inline function 'kotlin.contracts.contract' call
|
|
590
|
-
if (!this.
|
|
590
|
+
if (!this.f10_1.hj()) {
|
|
591
591
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
592
592
|
var message = 'Failed requirement.';
|
|
593
593
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
protoOf(JsonLiteral).
|
|
598
|
-
return this.
|
|
597
|
+
protoOf(JsonLiteral).uz = function () {
|
|
598
|
+
return this.g10_1;
|
|
599
599
|
};
|
|
600
600
|
protoOf(JsonLiteral).toString = function () {
|
|
601
601
|
var tmp;
|
|
602
|
-
if (this.
|
|
602
|
+
if (this.e10_1) {
|
|
603
603
|
// Inline function 'kotlin.text.buildString' call
|
|
604
604
|
// Inline function 'kotlin.contracts.contract' call
|
|
605
605
|
// Inline function 'kotlin.apply' call
|
|
606
606
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
607
607
|
// Inline function 'kotlin.contracts.contract' call
|
|
608
608
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
609
|
-
printQuoted(tmp0_apply, this.
|
|
609
|
+
printQuoted(tmp0_apply, this.g10_1);
|
|
610
610
|
tmp = tmp0_apply.toString();
|
|
611
611
|
} else {
|
|
612
|
-
tmp = this.
|
|
612
|
+
tmp = this.g10_1;
|
|
613
613
|
}
|
|
614
614
|
return tmp;
|
|
615
615
|
};
|
|
@@ -620,20 +620,20 @@
|
|
|
620
620
|
return false;
|
|
621
621
|
if (!(other instanceof JsonLiteral))
|
|
622
622
|
THROW_CCE();
|
|
623
|
-
if (!(this.
|
|
623
|
+
if (!(this.e10_1 === other.e10_1))
|
|
624
624
|
return false;
|
|
625
|
-
if (!(this.
|
|
625
|
+
if (!(this.g10_1 === other.g10_1))
|
|
626
626
|
return false;
|
|
627
627
|
return true;
|
|
628
628
|
};
|
|
629
629
|
protoOf(JsonLiteral).hashCode = function () {
|
|
630
|
-
var result = this.
|
|
631
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
630
|
+
var result = this.e10_1 | 0;
|
|
631
|
+
result = imul(31, result) + getStringHashCode(this.g10_1) | 0;
|
|
632
632
|
return result;
|
|
633
633
|
};
|
|
634
634
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
635
635
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
636
|
-
return toBooleanStrictOrNull(_this__u8e3s4.
|
|
636
|
+
return toBooleanStrictOrNull(_this__u8e3s4.uz());
|
|
637
637
|
}
|
|
638
638
|
function JsonPrimitive_0(value) {
|
|
639
639
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -643,23 +643,23 @@
|
|
|
643
643
|
}
|
|
644
644
|
function get_int(_this__u8e3s4) {
|
|
645
645
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
646
|
-
return toInt(_this__u8e3s4.
|
|
646
|
+
return toInt(_this__u8e3s4.uz());
|
|
647
647
|
}
|
|
648
648
|
function get_long(_this__u8e3s4) {
|
|
649
649
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
650
|
-
return toLong(_this__u8e3s4.
|
|
650
|
+
return toLong(_this__u8e3s4.uz());
|
|
651
651
|
}
|
|
652
652
|
function get_float(_this__u8e3s4) {
|
|
653
653
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
654
654
|
// Inline function 'kotlin.text.toFloat' call
|
|
655
|
-
var tmp0_toFloat = _this__u8e3s4.
|
|
655
|
+
var tmp0_toFloat = _this__u8e3s4.uz();
|
|
656
656
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
657
657
|
// Inline function 'kotlin.js.asDynamic' call
|
|
658
658
|
return toDouble(tmp0_toFloat);
|
|
659
659
|
}
|
|
660
660
|
function get_double(_this__u8e3s4) {
|
|
661
661
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
662
|
-
return toDouble(_this__u8e3s4.
|
|
662
|
+
return toDouble(_this__u8e3s4.uz());
|
|
663
663
|
}
|
|
664
664
|
function get_contentOrNull(_this__u8e3s4) {
|
|
665
665
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -667,7 +667,7 @@
|
|
|
667
667
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
668
668
|
tmp = null;
|
|
669
669
|
} else {
|
|
670
|
-
tmp = _this__u8e3s4.
|
|
670
|
+
tmp = _this__u8e3s4.uz();
|
|
671
671
|
}
|
|
672
672
|
return tmp;
|
|
673
673
|
}
|
|
@@ -690,40 +690,40 @@
|
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
693
|
-
$this$buildSerialDescriptor.
|
|
694
|
-
$this$buildSerialDescriptor.
|
|
695
|
-
$this$buildSerialDescriptor.
|
|
696
|
-
$this$buildSerialDescriptor.
|
|
697
|
-
$this$buildSerialDescriptor.
|
|
693
|
+
$this$buildSerialDescriptor.ni('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
694
|
+
$this$buildSerialDescriptor.ni('JsonNull', defer(JsonElementSerializer$descriptor$lambda$lambda_0));
|
|
695
|
+
$this$buildSerialDescriptor.ni('JsonLiteral', defer(JsonElementSerializer$descriptor$lambda$lambda_1));
|
|
696
|
+
$this$buildSerialDescriptor.ni('JsonObject', defer(JsonElementSerializer$descriptor$lambda$lambda_2));
|
|
697
|
+
$this$buildSerialDescriptor.ni('JsonArray', defer(JsonElementSerializer$descriptor$lambda$lambda_3));
|
|
698
698
|
return Unit_getInstance();
|
|
699
699
|
}
|
|
700
700
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
701
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
701
|
+
return JsonPrimitiveSerializer_getInstance().h10_1;
|
|
702
702
|
}
|
|
703
703
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
704
|
-
return JsonNullSerializer_getInstance().
|
|
704
|
+
return JsonNullSerializer_getInstance().i10_1;
|
|
705
705
|
}
|
|
706
706
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
707
|
-
return JsonLiteralSerializer_getInstance().
|
|
707
|
+
return JsonLiteralSerializer_getInstance().j10_1;
|
|
708
708
|
}
|
|
709
709
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
710
|
-
return JsonObjectSerializer_getInstance().
|
|
710
|
+
return JsonObjectSerializer_getInstance().k10_1;
|
|
711
711
|
}
|
|
712
712
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
713
|
-
return JsonArraySerializer_getInstance().
|
|
713
|
+
return JsonArraySerializer_getInstance().l10_1;
|
|
714
714
|
}
|
|
715
715
|
function JsonElementSerializer() {
|
|
716
716
|
JsonElementSerializer_instance = this;
|
|
717
717
|
var tmp = this;
|
|
718
718
|
var tmp_0 = SEALED_getInstance();
|
|
719
|
-
tmp.
|
|
719
|
+
tmp.m10_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
720
720
|
}
|
|
721
|
-
protoOf(JsonElementSerializer).
|
|
722
|
-
return this.
|
|
721
|
+
protoOf(JsonElementSerializer).di = function () {
|
|
722
|
+
return this.m10_1;
|
|
723
723
|
};
|
|
724
|
-
protoOf(JsonElementSerializer).
|
|
724
|
+
protoOf(JsonElementSerializer).ei = function (decoder) {
|
|
725
725
|
var input = asJsonDecoder(decoder);
|
|
726
|
-
return input.
|
|
726
|
+
return input.tz();
|
|
727
727
|
};
|
|
728
728
|
var JsonElementSerializer_instance;
|
|
729
729
|
function JsonElementSerializer_getInstance() {
|
|
@@ -733,13 +733,13 @@
|
|
|
733
733
|
}
|
|
734
734
|
function JsonPrimitiveSerializer() {
|
|
735
735
|
JsonPrimitiveSerializer_instance = this;
|
|
736
|
-
this.
|
|
736
|
+
this.h10_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
737
737
|
}
|
|
738
|
-
protoOf(JsonPrimitiveSerializer).
|
|
739
|
-
return this.
|
|
738
|
+
protoOf(JsonPrimitiveSerializer).di = function () {
|
|
739
|
+
return this.h10_1;
|
|
740
740
|
};
|
|
741
|
-
protoOf(JsonPrimitiveSerializer).
|
|
742
|
-
var result = asJsonDecoder(decoder).
|
|
741
|
+
protoOf(JsonPrimitiveSerializer).ei = function (decoder) {
|
|
742
|
+
var result = asJsonDecoder(decoder).tz();
|
|
743
743
|
if (!(result instanceof JsonPrimitive))
|
|
744
744
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
745
745
|
return result;
|
|
@@ -752,41 +752,41 @@
|
|
|
752
752
|
}
|
|
753
753
|
function JsonObjectDescriptor() {
|
|
754
754
|
JsonObjectDescriptor_instance = this;
|
|
755
|
-
this.
|
|
756
|
-
this.
|
|
755
|
+
this.n10_1 = MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).di();
|
|
756
|
+
this.o10_1 = 'kotlinx.serialization.json.JsonObject';
|
|
757
757
|
}
|
|
758
|
-
protoOf(JsonObjectDescriptor).ej = function () {
|
|
759
|
-
return this.m10_1.ej();
|
|
760
|
-
};
|
|
761
758
|
protoOf(JsonObjectDescriptor).fj = function () {
|
|
762
|
-
return this.
|
|
759
|
+
return this.n10_1.fj();
|
|
763
760
|
};
|
|
764
761
|
protoOf(JsonObjectDescriptor).gj = function () {
|
|
765
|
-
return this.
|
|
766
|
-
};
|
|
767
|
-
protoOf(JsonObjectDescriptor).zi = function () {
|
|
768
|
-
return this.m10_1.zi();
|
|
762
|
+
return this.n10_1.gj();
|
|
769
763
|
};
|
|
770
764
|
protoOf(JsonObjectDescriptor).hj = function () {
|
|
771
|
-
return this.
|
|
765
|
+
return this.n10_1.hj();
|
|
772
766
|
};
|
|
773
|
-
protoOf(JsonObjectDescriptor).
|
|
774
|
-
return this.
|
|
767
|
+
protoOf(JsonObjectDescriptor).aj = function () {
|
|
768
|
+
return this.n10_1.aj();
|
|
769
|
+
};
|
|
770
|
+
protoOf(JsonObjectDescriptor).ij = function () {
|
|
771
|
+
return this.n10_1.ij();
|
|
775
772
|
};
|
|
776
773
|
protoOf(JsonObjectDescriptor).jj = function (index) {
|
|
777
|
-
return this.
|
|
774
|
+
return this.n10_1.jj(index);
|
|
778
775
|
};
|
|
779
|
-
protoOf(JsonObjectDescriptor).kj = function (
|
|
780
|
-
return this.
|
|
776
|
+
protoOf(JsonObjectDescriptor).kj = function (index) {
|
|
777
|
+
return this.n10_1.kj(index);
|
|
781
778
|
};
|
|
782
|
-
protoOf(JsonObjectDescriptor).lj = function (
|
|
783
|
-
return this.
|
|
779
|
+
protoOf(JsonObjectDescriptor).lj = function (name) {
|
|
780
|
+
return this.n10_1.lj(name);
|
|
784
781
|
};
|
|
785
782
|
protoOf(JsonObjectDescriptor).mj = function (index) {
|
|
786
|
-
return this.
|
|
783
|
+
return this.n10_1.mj(index);
|
|
787
784
|
};
|
|
788
|
-
protoOf(JsonObjectDescriptor).
|
|
789
|
-
return this.n10_1;
|
|
785
|
+
protoOf(JsonObjectDescriptor).nj = function (index) {
|
|
786
|
+
return this.n10_1.nj(index);
|
|
787
|
+
};
|
|
788
|
+
protoOf(JsonObjectDescriptor).ej = function () {
|
|
789
|
+
return this.o10_1;
|
|
790
790
|
};
|
|
791
791
|
var JsonObjectDescriptor_instance;
|
|
792
792
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -796,14 +796,14 @@
|
|
|
796
796
|
}
|
|
797
797
|
function JsonObjectSerializer() {
|
|
798
798
|
JsonObjectSerializer_instance = this;
|
|
799
|
-
this.
|
|
799
|
+
this.k10_1 = JsonObjectDescriptor_getInstance();
|
|
800
800
|
}
|
|
801
|
-
protoOf(JsonObjectSerializer).
|
|
802
|
-
return this.
|
|
801
|
+
protoOf(JsonObjectSerializer).di = function () {
|
|
802
|
+
return this.k10_1;
|
|
803
803
|
};
|
|
804
|
-
protoOf(JsonObjectSerializer).
|
|
804
|
+
protoOf(JsonObjectSerializer).ei = function (decoder) {
|
|
805
805
|
verify(decoder);
|
|
806
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).
|
|
806
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).ei(decoder));
|
|
807
807
|
};
|
|
808
808
|
var JsonObjectSerializer_instance;
|
|
809
809
|
function JsonObjectSerializer_getInstance() {
|
|
@@ -813,41 +813,41 @@
|
|
|
813
813
|
}
|
|
814
814
|
function JsonArrayDescriptor() {
|
|
815
815
|
JsonArrayDescriptor_instance = this;
|
|
816
|
-
this.
|
|
817
|
-
this.
|
|
816
|
+
this.p10_1 = ListSerializer(JsonElementSerializer_getInstance()).di();
|
|
817
|
+
this.q10_1 = 'kotlinx.serialization.json.JsonArray';
|
|
818
818
|
}
|
|
819
|
-
protoOf(JsonArrayDescriptor).ej = function () {
|
|
820
|
-
return this.o10_1.ej();
|
|
821
|
-
};
|
|
822
819
|
protoOf(JsonArrayDescriptor).fj = function () {
|
|
823
|
-
return this.
|
|
820
|
+
return this.p10_1.fj();
|
|
824
821
|
};
|
|
825
822
|
protoOf(JsonArrayDescriptor).gj = function () {
|
|
826
|
-
return this.
|
|
827
|
-
};
|
|
828
|
-
protoOf(JsonArrayDescriptor).zi = function () {
|
|
829
|
-
return this.o10_1.zi();
|
|
823
|
+
return this.p10_1.gj();
|
|
830
824
|
};
|
|
831
825
|
protoOf(JsonArrayDescriptor).hj = function () {
|
|
832
|
-
return this.
|
|
826
|
+
return this.p10_1.hj();
|
|
833
827
|
};
|
|
834
|
-
protoOf(JsonArrayDescriptor).
|
|
835
|
-
return this.
|
|
828
|
+
protoOf(JsonArrayDescriptor).aj = function () {
|
|
829
|
+
return this.p10_1.aj();
|
|
830
|
+
};
|
|
831
|
+
protoOf(JsonArrayDescriptor).ij = function () {
|
|
832
|
+
return this.p10_1.ij();
|
|
836
833
|
};
|
|
837
834
|
protoOf(JsonArrayDescriptor).jj = function (index) {
|
|
838
|
-
return this.
|
|
835
|
+
return this.p10_1.jj(index);
|
|
839
836
|
};
|
|
840
|
-
protoOf(JsonArrayDescriptor).kj = function (
|
|
841
|
-
return this.
|
|
837
|
+
protoOf(JsonArrayDescriptor).kj = function (index) {
|
|
838
|
+
return this.p10_1.kj(index);
|
|
842
839
|
};
|
|
843
|
-
protoOf(JsonArrayDescriptor).lj = function (
|
|
844
|
-
return this.
|
|
840
|
+
protoOf(JsonArrayDescriptor).lj = function (name) {
|
|
841
|
+
return this.p10_1.lj(name);
|
|
845
842
|
};
|
|
846
843
|
protoOf(JsonArrayDescriptor).mj = function (index) {
|
|
847
|
-
return this.
|
|
844
|
+
return this.p10_1.mj(index);
|
|
845
|
+
};
|
|
846
|
+
protoOf(JsonArrayDescriptor).nj = function (index) {
|
|
847
|
+
return this.p10_1.nj(index);
|
|
848
848
|
};
|
|
849
|
-
protoOf(JsonArrayDescriptor).
|
|
850
|
-
return this.
|
|
849
|
+
protoOf(JsonArrayDescriptor).ej = function () {
|
|
850
|
+
return this.q10_1;
|
|
851
851
|
};
|
|
852
852
|
var JsonArrayDescriptor_instance;
|
|
853
853
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -857,14 +857,14 @@
|
|
|
857
857
|
}
|
|
858
858
|
function JsonArraySerializer() {
|
|
859
859
|
JsonArraySerializer_instance = this;
|
|
860
|
-
this.
|
|
860
|
+
this.l10_1 = JsonArrayDescriptor_getInstance();
|
|
861
861
|
}
|
|
862
|
-
protoOf(JsonArraySerializer).
|
|
863
|
-
return this.
|
|
862
|
+
protoOf(JsonArraySerializer).di = function () {
|
|
863
|
+
return this.l10_1;
|
|
864
864
|
};
|
|
865
|
-
protoOf(JsonArraySerializer).
|
|
865
|
+
protoOf(JsonArraySerializer).ei = function (decoder) {
|
|
866
866
|
verify(decoder);
|
|
867
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
867
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).ei(decoder));
|
|
868
868
|
};
|
|
869
869
|
var JsonArraySerializer_instance;
|
|
870
870
|
function JsonArraySerializer_getInstance() {
|
|
@@ -877,17 +877,17 @@
|
|
|
877
877
|
}
|
|
878
878
|
function JsonNullSerializer() {
|
|
879
879
|
JsonNullSerializer_instance = this;
|
|
880
|
-
this.
|
|
880
|
+
this.i10_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
881
881
|
}
|
|
882
|
-
protoOf(JsonNullSerializer).
|
|
883
|
-
return this.
|
|
882
|
+
protoOf(JsonNullSerializer).di = function () {
|
|
883
|
+
return this.i10_1;
|
|
884
884
|
};
|
|
885
|
-
protoOf(JsonNullSerializer).
|
|
885
|
+
protoOf(JsonNullSerializer).ei = function (decoder) {
|
|
886
886
|
verify(decoder);
|
|
887
|
-
if (decoder.
|
|
887
|
+
if (decoder.mk()) {
|
|
888
888
|
throw new JsonDecodingException("Expected 'null' literal");
|
|
889
889
|
}
|
|
890
|
-
decoder.
|
|
890
|
+
decoder.nk();
|
|
891
891
|
return JsonNull_getInstance();
|
|
892
892
|
};
|
|
893
893
|
var JsonNullSerializer_instance;
|
|
@@ -898,13 +898,13 @@
|
|
|
898
898
|
}
|
|
899
899
|
function JsonLiteralSerializer() {
|
|
900
900
|
JsonLiteralSerializer_instance = this;
|
|
901
|
-
this.
|
|
901
|
+
this.j10_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
902
902
|
}
|
|
903
|
-
protoOf(JsonLiteralSerializer).
|
|
904
|
-
return this.
|
|
903
|
+
protoOf(JsonLiteralSerializer).di = function () {
|
|
904
|
+
return this.j10_1;
|
|
905
905
|
};
|
|
906
|
-
protoOf(JsonLiteralSerializer).
|
|
907
|
-
var result = asJsonDecoder(decoder).
|
|
906
|
+
protoOf(JsonLiteralSerializer).ei = function (decoder) {
|
|
907
|
+
var result = asJsonDecoder(decoder).tz();
|
|
908
908
|
if (!(result instanceof JsonLiteral))
|
|
909
909
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
910
910
|
return result;
|
|
@@ -931,34 +931,34 @@
|
|
|
931
931
|
function _get_original__l7ku1m($this) {
|
|
932
932
|
// Inline function 'kotlin.getValue' call
|
|
933
933
|
original$factory();
|
|
934
|
-
return $this.
|
|
934
|
+
return $this.r10_1.y();
|
|
935
935
|
}
|
|
936
936
|
function defer$1($deferred) {
|
|
937
|
-
this.
|
|
937
|
+
this.r10_1 = lazy_0($deferred);
|
|
938
938
|
}
|
|
939
|
-
protoOf(defer$1).
|
|
940
|
-
return _get_original__l7ku1m(this).
|
|
939
|
+
protoOf(defer$1).ej = function () {
|
|
940
|
+
return _get_original__l7ku1m(this).ej();
|
|
941
941
|
};
|
|
942
|
-
protoOf(defer$1).
|
|
943
|
-
return _get_original__l7ku1m(this).
|
|
942
|
+
protoOf(defer$1).ij = function () {
|
|
943
|
+
return _get_original__l7ku1m(this).ij();
|
|
944
944
|
};
|
|
945
|
-
protoOf(defer$1).
|
|
946
|
-
return _get_original__l7ku1m(this).
|
|
945
|
+
protoOf(defer$1).gj = function () {
|
|
946
|
+
return _get_original__l7ku1m(this).gj();
|
|
947
947
|
};
|
|
948
|
-
protoOf(defer$1).
|
|
949
|
-
return _get_original__l7ku1m(this).
|
|
950
|
-
};
|
|
951
|
-
protoOf(defer$1).kj = function (name) {
|
|
952
|
-
return _get_original__l7ku1m(this).kj(name);
|
|
948
|
+
protoOf(defer$1).mj = function (index) {
|
|
949
|
+
return _get_original__l7ku1m(this).mj(index);
|
|
953
950
|
};
|
|
954
|
-
protoOf(defer$1).
|
|
955
|
-
return _get_original__l7ku1m(this).
|
|
951
|
+
protoOf(defer$1).lj = function (name) {
|
|
952
|
+
return _get_original__l7ku1m(this).lj(name);
|
|
956
953
|
};
|
|
957
954
|
protoOf(defer$1).jj = function (index) {
|
|
958
955
|
return _get_original__l7ku1m(this).jj(index);
|
|
959
956
|
};
|
|
960
|
-
protoOf(defer$1).
|
|
961
|
-
return _get_original__l7ku1m(this).
|
|
957
|
+
protoOf(defer$1).kj = function (index) {
|
|
958
|
+
return _get_original__l7ku1m(this).kj(index);
|
|
959
|
+
};
|
|
960
|
+
protoOf(defer$1).nj = function (index) {
|
|
961
|
+
return _get_original__l7ku1m(this).nj(index);
|
|
962
962
|
};
|
|
963
963
|
function original$factory() {
|
|
964
964
|
return getPropertyCallableRef('original', 1, KProperty1, function (receiver) {
|
|
@@ -966,8 +966,8 @@
|
|
|
966
966
|
}, null);
|
|
967
967
|
}
|
|
968
968
|
function readIfAbsent($this, descriptor, index) {
|
|
969
|
-
$this.
|
|
970
|
-
return $this.
|
|
969
|
+
$this.t10_1 = !descriptor.nj(index) ? descriptor.kj(index).aj() : false;
|
|
970
|
+
return $this.t10_1;
|
|
971
971
|
}
|
|
972
972
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
973
973
|
var l = function (p0, p1) {
|
|
@@ -978,14 +978,14 @@
|
|
|
978
978
|
}
|
|
979
979
|
function JsonElementMarker(descriptor) {
|
|
980
980
|
var tmp = this;
|
|
981
|
-
tmp.
|
|
982
|
-
this.
|
|
981
|
+
tmp.s10_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
982
|
+
this.t10_1 = false;
|
|
983
983
|
}
|
|
984
|
-
protoOf(JsonElementMarker).
|
|
985
|
-
this.
|
|
984
|
+
protoOf(JsonElementMarker).dp = function (index) {
|
|
985
|
+
this.s10_1.dp(index);
|
|
986
986
|
};
|
|
987
|
-
protoOf(JsonElementMarker).
|
|
988
|
-
return this.
|
|
987
|
+
protoOf(JsonElementMarker).ep = function () {
|
|
988
|
+
return this.s10_1.ep();
|
|
989
989
|
};
|
|
990
990
|
function JsonDecodingException(message) {
|
|
991
991
|
JsonException.call(this, message);
|
|
@@ -995,14 +995,14 @@
|
|
|
995
995
|
return JsonDecodingException_1(offset, message + '\nJSON input: ' + minify(input, offset));
|
|
996
996
|
}
|
|
997
997
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
998
|
-
_this__u8e3s4.
|
|
998
|
+
_this__u8e3s4.u10('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, get_specialFlowingValuesHint());
|
|
999
999
|
}
|
|
1000
1000
|
function JsonEncodingException(message) {
|
|
1001
1001
|
JsonException.call(this, message);
|
|
1002
1002
|
captureStack(this, JsonEncodingException);
|
|
1003
1003
|
}
|
|
1004
1004
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1005
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
1005
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.ej() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.ij() + "'.\n") + get_allowStructuredMapKeysHint());
|
|
1006
1006
|
}
|
|
1007
1007
|
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1008
1008
|
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
@@ -1052,11 +1052,11 @@
|
|
|
1052
1052
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1053
1053
|
if (!(strategy == null))
|
|
1054
1054
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1055
|
-
var index = _this__u8e3s4.
|
|
1055
|
+
var index = _this__u8e3s4.lj(name);
|
|
1056
1056
|
Companion_getInstance();
|
|
1057
1057
|
if (!(index === -3))
|
|
1058
1058
|
return index;
|
|
1059
|
-
if (!json.
|
|
1059
|
+
if (!json.zx_1.qz_1)
|
|
1060
1060
|
return index;
|
|
1061
1061
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1062
1062
|
}
|
|
@@ -1066,18 +1066,18 @@
|
|
|
1066
1066
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
1067
1067
|
Companion_getInstance();
|
|
1068
1068
|
if (index === -3)
|
|
1069
|
-
throw SerializationException_init_$Create$(_this__u8e3s4.
|
|
1069
|
+
throw SerializationException_init_$Create$(_this__u8e3s4.ej() + " does not contain element with name '" + name + "'" + suffix);
|
|
1070
1070
|
return index;
|
|
1071
1071
|
}
|
|
1072
1072
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1073
1073
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1074
|
-
return equals(_this__u8e3s4.
|
|
1074
|
+
return equals(_this__u8e3s4.ij(), CLASS_getInstance()) ? json.zx_1.rz_1 : null;
|
|
1075
1075
|
}
|
|
1076
1076
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1077
1077
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1078
1078
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1079
1079
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1080
|
-
return tmp.
|
|
1080
|
+
return tmp.w10(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1081
1081
|
}
|
|
1082
1082
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1083
1083
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1085,13 +1085,13 @@
|
|
|
1085
1085
|
var builder = LinkedHashMap_init_$Create$();
|
|
1086
1086
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1087
1087
|
var inductionVariable = 0;
|
|
1088
|
-
var last = _this__u8e3s4.
|
|
1088
|
+
var last = _this__u8e3s4.gj();
|
|
1089
1089
|
if (inductionVariable < last)
|
|
1090
1090
|
do {
|
|
1091
1091
|
var i = inductionVariable;
|
|
1092
1092
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1093
1093
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1094
|
-
var tmp0_filterIsInstance = _this__u8e3s4.
|
|
1094
|
+
var tmp0_filterIsInstance = _this__u8e3s4.jj(i);
|
|
1095
1095
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1096
1096
|
var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
|
|
1097
1097
|
var tmp0_iterator = tmp0_filterIsInstance.c();
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
1104
|
var tmp1_safe_receiver = singleOrNull(tmp0_filterIsInstanceTo);
|
|
1105
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1105
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.x10_1;
|
|
1106
1106
|
if (tmp2_safe_receiver == null)
|
|
1107
1107
|
null;
|
|
1108
1108
|
else {
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
else {
|
|
1120
1120
|
// Inline function 'kotlin.let' call
|
|
1121
1121
|
// Inline function 'kotlin.contracts.contract' call
|
|
1122
|
-
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, strategy.
|
|
1122
|
+
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, strategy.y10(_this__u8e3s4, i, _this__u8e3s4.mj(i)), i);
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
1125
|
while (inductionVariable < last);
|
|
@@ -1148,7 +1148,7 @@
|
|
|
1148
1148
|
// Inline function 'kotlin.collections.contains' call
|
|
1149
1149
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1150
1150
|
if ((isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).n2(name)) {
|
|
1151
|
-
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.
|
|
1151
|
+
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.mj(index) + ' is already one of the names for property ' + ($this_buildDeserializationNamesMap.mj(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildDeserializationNamesMap));
|
|
1152
1152
|
}
|
|
1153
1153
|
// Inline function 'kotlin.collections.set' call
|
|
1154
1154
|
_this__u8e3s4.n3(name, index);
|
|
@@ -1176,14 +1176,14 @@
|
|
|
1176
1176
|
return Tombstone_instance;
|
|
1177
1177
|
}
|
|
1178
1178
|
function resize($this) {
|
|
1179
|
-
var newSize = imul($this.
|
|
1180
|
-
$this.
|
|
1181
|
-
$this.
|
|
1179
|
+
var newSize = imul($this.b11_1, 2);
|
|
1180
|
+
$this.z10_1 = copyOf($this.z10_1, newSize);
|
|
1181
|
+
$this.a11_1 = copyOf_0($this.a11_1, newSize);
|
|
1182
1182
|
}
|
|
1183
1183
|
function JsonPath() {
|
|
1184
1184
|
var tmp = this;
|
|
1185
1185
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1186
|
-
tmp.
|
|
1186
|
+
tmp.z10_1 = fillArrayVal(Array(8), null);
|
|
1187
1187
|
var tmp_0 = this;
|
|
1188
1188
|
var tmp_1 = 0;
|
|
1189
1189
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1191,59 +1191,59 @@
|
|
|
1191
1191
|
tmp_2[tmp_1] = -1;
|
|
1192
1192
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1193
1193
|
}
|
|
1194
|
-
tmp_0.
|
|
1195
|
-
this.
|
|
1194
|
+
tmp_0.a11_1 = tmp_2;
|
|
1195
|
+
this.b11_1 = -1;
|
|
1196
1196
|
}
|
|
1197
|
-
protoOf(JsonPath).
|
|
1198
|
-
this.
|
|
1199
|
-
var depth = this.
|
|
1200
|
-
if (depth === this.
|
|
1197
|
+
protoOf(JsonPath).c11 = function (sd) {
|
|
1198
|
+
this.b11_1 = this.b11_1 + 1 | 0;
|
|
1199
|
+
var depth = this.b11_1;
|
|
1200
|
+
if (depth === this.z10_1.length) {
|
|
1201
1201
|
resize(this);
|
|
1202
1202
|
}
|
|
1203
|
-
this.
|
|
1203
|
+
this.z10_1[depth] = sd;
|
|
1204
1204
|
};
|
|
1205
|
-
protoOf(JsonPath).
|
|
1206
|
-
this.
|
|
1205
|
+
protoOf(JsonPath).d11 = function (index) {
|
|
1206
|
+
this.a11_1[this.b11_1] = index;
|
|
1207
1207
|
};
|
|
1208
|
-
protoOf(JsonPath).
|
|
1208
|
+
protoOf(JsonPath).e11 = function (key) {
|
|
1209
1209
|
var tmp;
|
|
1210
|
-
if (!(this.
|
|
1211
|
-
this.
|
|
1212
|
-
tmp = this.
|
|
1210
|
+
if (!(this.a11_1[this.b11_1] === -2)) {
|
|
1211
|
+
this.b11_1 = this.b11_1 + 1 | 0;
|
|
1212
|
+
tmp = this.b11_1 === this.z10_1.length;
|
|
1213
1213
|
} else {
|
|
1214
1214
|
tmp = false;
|
|
1215
1215
|
}
|
|
1216
1216
|
if (tmp) {
|
|
1217
1217
|
resize(this);
|
|
1218
1218
|
}
|
|
1219
|
-
this.
|
|
1220
|
-
this.
|
|
1219
|
+
this.z10_1[this.b11_1] = key;
|
|
1220
|
+
this.a11_1[this.b11_1] = -2;
|
|
1221
1221
|
};
|
|
1222
|
-
protoOf(JsonPath).
|
|
1223
|
-
if (this.
|
|
1224
|
-
this.
|
|
1222
|
+
protoOf(JsonPath).f11 = function () {
|
|
1223
|
+
if (this.a11_1[this.b11_1] === -2) {
|
|
1224
|
+
this.z10_1[this.b11_1] = Tombstone_getInstance();
|
|
1225
1225
|
}
|
|
1226
1226
|
};
|
|
1227
|
-
protoOf(JsonPath).
|
|
1228
|
-
var depth = this.
|
|
1229
|
-
if (this.
|
|
1230
|
-
this.
|
|
1231
|
-
this.
|
|
1227
|
+
protoOf(JsonPath).g11 = function () {
|
|
1228
|
+
var depth = this.b11_1;
|
|
1229
|
+
if (this.a11_1[depth] === -2) {
|
|
1230
|
+
this.a11_1[depth] = -1;
|
|
1231
|
+
this.b11_1 = this.b11_1 - 1 | 0;
|
|
1232
1232
|
}
|
|
1233
|
-
if (!(this.
|
|
1234
|
-
this.
|
|
1233
|
+
if (!(this.b11_1 === -1)) {
|
|
1234
|
+
this.b11_1 = this.b11_1 - 1 | 0;
|
|
1235
1235
|
}
|
|
1236
1236
|
};
|
|
1237
|
-
protoOf(JsonPath).
|
|
1237
|
+
protoOf(JsonPath).h11 = function () {
|
|
1238
1238
|
// Inline function 'kotlin.text.buildString' call
|
|
1239
1239
|
// Inline function 'kotlin.contracts.contract' call
|
|
1240
1240
|
// Inline function 'kotlin.apply' call
|
|
1241
1241
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1242
1242
|
// Inline function 'kotlin.contracts.contract' call
|
|
1243
1243
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1244
|
-
tmp0_apply.
|
|
1244
|
+
tmp0_apply.d7('$');
|
|
1245
1245
|
// Inline function 'kotlin.repeat' call
|
|
1246
|
-
var tmp0_repeat = this.
|
|
1246
|
+
var tmp0_repeat = this.b11_1 + 1 | 0;
|
|
1247
1247
|
// Inline function 'kotlin.contracts.contract' call
|
|
1248
1248
|
var inductionVariable = 0;
|
|
1249
1249
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1251,28 +1251,28 @@
|
|
|
1251
1251
|
var index = inductionVariable;
|
|
1252
1252
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1253
1253
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1254
|
-
var element = this.
|
|
1254
|
+
var element = this.z10_1[index];
|
|
1255
1255
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1256
|
-
if (equals(element.
|
|
1257
|
-
if (!(this.
|
|
1258
|
-
tmp0_apply.
|
|
1259
|
-
tmp0_apply.
|
|
1260
|
-
tmp0_apply.
|
|
1256
|
+
if (equals(element.ij(), LIST_getInstance())) {
|
|
1257
|
+
if (!(this.a11_1[index] === -1)) {
|
|
1258
|
+
tmp0_apply.d7('[');
|
|
1259
|
+
tmp0_apply.c7(this.a11_1[index]);
|
|
1260
|
+
tmp0_apply.d7(']');
|
|
1261
1261
|
}
|
|
1262
1262
|
} else {
|
|
1263
|
-
var idx = this.
|
|
1263
|
+
var idx = this.a11_1[index];
|
|
1264
1264
|
if (idx >= 0) {
|
|
1265
|
-
tmp0_apply.
|
|
1266
|
-
tmp0_apply.
|
|
1265
|
+
tmp0_apply.d7('.');
|
|
1266
|
+
tmp0_apply.d7(element.mj(idx));
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
1269
|
} else {
|
|
1270
1270
|
if (!(element === Tombstone_getInstance())) {
|
|
1271
|
-
tmp0_apply.
|
|
1272
|
-
tmp0_apply.
|
|
1273
|
-
tmp0_apply.
|
|
1274
|
-
tmp0_apply.
|
|
1275
|
-
tmp0_apply.
|
|
1271
|
+
tmp0_apply.d7('[');
|
|
1272
|
+
tmp0_apply.d7("'");
|
|
1273
|
+
tmp0_apply.c7(element);
|
|
1274
|
+
tmp0_apply.d7("'");
|
|
1275
|
+
tmp0_apply.d7(']');
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
@@ -1280,82 +1280,82 @@
|
|
|
1280
1280
|
return tmp0_apply.toString();
|
|
1281
1281
|
};
|
|
1282
1282
|
protoOf(JsonPath).toString = function () {
|
|
1283
|
-
return this.
|
|
1283
|
+
return this.h11();
|
|
1284
1284
|
};
|
|
1285
1285
|
function readObject($this) {
|
|
1286
1286
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1287
|
-
var lastToken = $this.
|
|
1288
|
-
if ($this.
|
|
1289
|
-
$this.
|
|
1287
|
+
var lastToken = $this.i11_1.l11(get_TC_BEGIN_OBJ());
|
|
1288
|
+
if ($this.i11_1.m11() === get_TC_COMMA()) {
|
|
1289
|
+
$this.i11_1.u10('Unexpected leading comma');
|
|
1290
1290
|
}
|
|
1291
1291
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1292
1292
|
var result = LinkedHashMap_init_$Create$();
|
|
1293
|
-
$l$loop: while ($this.
|
|
1294
|
-
var key = $this.
|
|
1295
|
-
$this.
|
|
1293
|
+
$l$loop: while ($this.i11_1.n11()) {
|
|
1294
|
+
var key = $this.j11_1 ? $this.i11_1.p11() : $this.i11_1.o11();
|
|
1295
|
+
$this.i11_1.l11(get_TC_COLON());
|
|
1296
1296
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1297
|
-
var element = $this.
|
|
1297
|
+
var element = $this.q11();
|
|
1298
1298
|
// Inline function 'kotlin.collections.set' call
|
|
1299
1299
|
result.n3(key, element);
|
|
1300
|
-
lastToken = $this.
|
|
1300
|
+
lastToken = $this.i11_1.r11();
|
|
1301
1301
|
var tmp0_subject = lastToken;
|
|
1302
1302
|
if (tmp0_subject !== get_TC_COMMA())
|
|
1303
1303
|
if (tmp0_subject === get_TC_END_OBJ())
|
|
1304
1304
|
break $l$loop;
|
|
1305
1305
|
else {
|
|
1306
|
-
$this.
|
|
1306
|
+
$this.i11_1.u10('Expected end of the object or comma');
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
1309
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1310
|
-
$this.
|
|
1310
|
+
$this.i11_1.l11(get_TC_END_OBJ());
|
|
1311
1311
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1312
|
-
$this.
|
|
1312
|
+
$this.i11_1.u10('Unexpected trailing comma');
|
|
1313
1313
|
}
|
|
1314
1314
|
return new JsonObject(result);
|
|
1315
1315
|
}
|
|
1316
1316
|
function readObject_0(_this__u8e3s4, $this, $completion) {
|
|
1317
1317
|
var tmp = new $readObjectCOROUTINE$0($this, _this__u8e3s4, $completion);
|
|
1318
|
-
tmp.
|
|
1319
|
-
tmp.
|
|
1320
|
-
return tmp.
|
|
1318
|
+
tmp.wh_1 = Unit_getInstance();
|
|
1319
|
+
tmp.xh_1 = null;
|
|
1320
|
+
return tmp.ci();
|
|
1321
1321
|
}
|
|
1322
1322
|
function readArray($this) {
|
|
1323
|
-
var lastToken = $this.
|
|
1324
|
-
if ($this.
|
|
1325
|
-
$this.
|
|
1323
|
+
var lastToken = $this.i11_1.r11();
|
|
1324
|
+
if ($this.i11_1.m11() === get_TC_COMMA()) {
|
|
1325
|
+
$this.i11_1.u10('Unexpected leading comma');
|
|
1326
1326
|
}
|
|
1327
1327
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1328
1328
|
var result = ArrayList_init_$Create$();
|
|
1329
|
-
while ($this.
|
|
1330
|
-
var element = $this.
|
|
1329
|
+
while ($this.i11_1.n11()) {
|
|
1330
|
+
var element = $this.q11();
|
|
1331
1331
|
result.a(element);
|
|
1332
|
-
lastToken = $this.
|
|
1332
|
+
lastToken = $this.i11_1.r11();
|
|
1333
1333
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1334
1334
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1335
|
-
var tmp0_require = $this.
|
|
1335
|
+
var tmp0_require = $this.i11_1;
|
|
1336
1336
|
var tmp1_require = lastToken === get_TC_END_LIST();
|
|
1337
|
-
var tmp2_require = tmp0_require.
|
|
1337
|
+
var tmp2_require = tmp0_require.my_1;
|
|
1338
1338
|
if (!tmp1_require) {
|
|
1339
1339
|
var tmp$ret$1;
|
|
1340
1340
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1341
1341
|
tmp$ret$1 = 'Expected end of the array or comma';
|
|
1342
|
-
tmp0_require.
|
|
1342
|
+
tmp0_require.u10(tmp$ret$1, tmp2_require);
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1347
|
-
$this.
|
|
1347
|
+
$this.i11_1.l11(get_TC_END_LIST());
|
|
1348
1348
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1349
|
-
$this.
|
|
1349
|
+
$this.i11_1.u10('Unexpected trailing comma');
|
|
1350
1350
|
}
|
|
1351
1351
|
return new JsonArray(result);
|
|
1352
1352
|
}
|
|
1353
1353
|
function readValue($this, isString) {
|
|
1354
1354
|
var tmp;
|
|
1355
|
-
if ($this.
|
|
1356
|
-
tmp = $this.
|
|
1355
|
+
if ($this.j11_1 ? true : !isString) {
|
|
1356
|
+
tmp = $this.i11_1.p11();
|
|
1357
1357
|
} else {
|
|
1358
|
-
tmp = $this.
|
|
1358
|
+
tmp = $this.i11_1.o11();
|
|
1359
1359
|
}
|
|
1360
1360
|
var string = tmp;
|
|
1361
1361
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1366,53 +1366,53 @@
|
|
|
1366
1366
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_getInstance());
|
|
1367
1367
|
}
|
|
1368
1368
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1369
|
-
this.
|
|
1369
|
+
this.n12_1 = this$0;
|
|
1370
1370
|
CoroutineImpl.call(this, resultContinuation);
|
|
1371
1371
|
}
|
|
1372
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1373
|
-
var tmp = this.
|
|
1374
|
-
tmp.
|
|
1375
|
-
tmp.
|
|
1376
|
-
return tmp.
|
|
1372
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).s12 = function ($this$$receiver, it, $completion) {
|
|
1373
|
+
var tmp = this.t12($this$$receiver, it, $completion);
|
|
1374
|
+
tmp.wh_1 = Unit_getInstance();
|
|
1375
|
+
tmp.xh_1 = null;
|
|
1376
|
+
return tmp.ci();
|
|
1377
1377
|
};
|
|
1378
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1378
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).r7 = function (p1, p2, $completion) {
|
|
1379
1379
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1380
|
-
return this.
|
|
1380
|
+
return this.s12(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1381
1381
|
};
|
|
1382
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1383
|
-
var suspendResult = this.
|
|
1382
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).ci = function () {
|
|
1383
|
+
var suspendResult = this.wh_1;
|
|
1384
1384
|
$sm: do
|
|
1385
1385
|
try {
|
|
1386
|
-
var tmp = this.
|
|
1386
|
+
var tmp = this.uh_1;
|
|
1387
1387
|
switch (tmp) {
|
|
1388
1388
|
case 0:
|
|
1389
|
-
this.
|
|
1390
|
-
this.
|
|
1391
|
-
if (this.
|
|
1392
|
-
this.
|
|
1393
|
-
this.
|
|
1389
|
+
this.vh_1 = 3;
|
|
1390
|
+
this.q12_1 = this.n12_1.i11_1.m11();
|
|
1391
|
+
if (this.q12_1 === get_TC_STRING()) {
|
|
1392
|
+
this.r12_1 = readValue(this.n12_1, true);
|
|
1393
|
+
this.uh_1 = 2;
|
|
1394
1394
|
continue $sm;
|
|
1395
1395
|
} else {
|
|
1396
|
-
if (this.
|
|
1397
|
-
this.
|
|
1398
|
-
this.
|
|
1396
|
+
if (this.q12_1 === get_TC_OTHER()) {
|
|
1397
|
+
this.r12_1 = readValue(this.n12_1, false);
|
|
1398
|
+
this.uh_1 = 2;
|
|
1399
1399
|
continue $sm;
|
|
1400
1400
|
} else {
|
|
1401
|
-
if (this.
|
|
1402
|
-
this.
|
|
1403
|
-
suspendResult = readObject_0(this.
|
|
1401
|
+
if (this.q12_1 === get_TC_BEGIN_OBJ()) {
|
|
1402
|
+
this.uh_1 = 1;
|
|
1403
|
+
suspendResult = readObject_0(this.o12_1, this.n12_1, this);
|
|
1404
1404
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1405
1405
|
return suspendResult;
|
|
1406
1406
|
}
|
|
1407
1407
|
continue $sm;
|
|
1408
1408
|
} else {
|
|
1409
|
-
if (this.
|
|
1410
|
-
this.
|
|
1411
|
-
this.
|
|
1409
|
+
if (this.q12_1 === get_TC_BEGIN_LIST()) {
|
|
1410
|
+
this.r12_1 = readArray(this.n12_1);
|
|
1411
|
+
this.uh_1 = 2;
|
|
1412
1412
|
continue $sm;
|
|
1413
1413
|
} else {
|
|
1414
1414
|
var tmp_0 = this;
|
|
1415
|
-
this.
|
|
1415
|
+
this.n12_1.i11_1.u10("Can't begin reading element, unexpected token");
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
@@ -1420,71 +1420,71 @@
|
|
|
1420
1420
|
|
|
1421
1421
|
break;
|
|
1422
1422
|
case 1:
|
|
1423
|
-
this.
|
|
1424
|
-
this.
|
|
1423
|
+
this.r12_1 = suspendResult;
|
|
1424
|
+
this.uh_1 = 2;
|
|
1425
1425
|
continue $sm;
|
|
1426
1426
|
case 2:
|
|
1427
|
-
return this.
|
|
1427
|
+
return this.r12_1;
|
|
1428
1428
|
case 3:
|
|
1429
|
-
throw this.
|
|
1429
|
+
throw this.xh_1;
|
|
1430
1430
|
}
|
|
1431
1431
|
} catch ($p) {
|
|
1432
1432
|
var e = $p;
|
|
1433
|
-
if (this.
|
|
1433
|
+
if (this.vh_1 === 3) {
|
|
1434
1434
|
throw e;
|
|
1435
1435
|
} else {
|
|
1436
|
-
this.
|
|
1437
|
-
this.
|
|
1436
|
+
this.uh_1 = this.vh_1;
|
|
1437
|
+
this.xh_1 = e;
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
1440
|
while (true);
|
|
1441
1441
|
};
|
|
1442
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1443
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1444
|
-
i.
|
|
1445
|
-
i.
|
|
1442
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).t12 = function ($this$$receiver, it, completion) {
|
|
1443
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.n12_1, completion);
|
|
1444
|
+
i.o12_1 = $this$$receiver;
|
|
1445
|
+
i.p12_1 = it;
|
|
1446
1446
|
return i;
|
|
1447
1447
|
};
|
|
1448
1448
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1449
1449
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1450
1450
|
var l = function ($this$$receiver, it, $completion) {
|
|
1451
|
-
return i.
|
|
1451
|
+
return i.s12($this$$receiver, it, $completion);
|
|
1452
1452
|
};
|
|
1453
1453
|
l.$arity = 2;
|
|
1454
1454
|
return l;
|
|
1455
1455
|
}
|
|
1456
1456
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1457
1457
|
CoroutineImpl.call(this, resultContinuation);
|
|
1458
|
-
this.
|
|
1459
|
-
this.
|
|
1458
|
+
this.a12_1 = _this__u8e3s4;
|
|
1459
|
+
this.b12_1 = _this__u8e3s4_0;
|
|
1460
1460
|
}
|
|
1461
|
-
protoOf($readObjectCOROUTINE$0).
|
|
1462
|
-
var suspendResult = this.
|
|
1461
|
+
protoOf($readObjectCOROUTINE$0).ci = function () {
|
|
1462
|
+
var suspendResult = this.wh_1;
|
|
1463
1463
|
$sm: do
|
|
1464
1464
|
try {
|
|
1465
|
-
var tmp = this.
|
|
1465
|
+
var tmp = this.uh_1;
|
|
1466
1466
|
switch (tmp) {
|
|
1467
1467
|
case 0:
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1470
|
-
if (this.
|
|
1471
|
-
this.
|
|
1468
|
+
this.vh_1 = 5;
|
|
1469
|
+
this.c12_1 = this.a12_1.i11_1.l11(get_TC_BEGIN_OBJ());
|
|
1470
|
+
if (this.a12_1.i11_1.m11() === get_TC_COMMA()) {
|
|
1471
|
+
this.a12_1.i11_1.u10('Unexpected leading comma');
|
|
1472
1472
|
}
|
|
1473
1473
|
|
|
1474
1474
|
var tmp_0 = this;
|
|
1475
|
-
tmp_0.
|
|
1476
|
-
this.
|
|
1475
|
+
tmp_0.d12_1 = LinkedHashMap_init_$Create$();
|
|
1476
|
+
this.uh_1 = 1;
|
|
1477
1477
|
continue $sm;
|
|
1478
1478
|
case 1:
|
|
1479
|
-
if (!this.
|
|
1480
|
-
this.
|
|
1479
|
+
if (!this.a12_1.i11_1.n11()) {
|
|
1480
|
+
this.uh_1 = 4;
|
|
1481
1481
|
continue $sm;
|
|
1482
1482
|
}
|
|
1483
1483
|
|
|
1484
|
-
this.
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1487
|
-
suspendResult = this.
|
|
1484
|
+
this.e12_1 = this.a12_1.j11_1 ? this.a12_1.i11_1.p11() : this.a12_1.i11_1.o11();
|
|
1485
|
+
this.a12_1.i11_1.l11(get_TC_COLON());
|
|
1486
|
+
this.uh_1 = 2;
|
|
1487
|
+
suspendResult = this.b12_1.j7(Unit_getInstance(), this);
|
|
1488
1488
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1489
1489
|
return suspendResult;
|
|
1490
1490
|
}
|
|
@@ -1492,54 +1492,54 @@
|
|
|
1492
1492
|
continue $sm;
|
|
1493
1493
|
case 2:
|
|
1494
1494
|
var element = suspendResult;
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1497
|
-
var tmp0_subject = this.
|
|
1495
|
+
this.d12_1.n3(this.e12_1, element);
|
|
1496
|
+
this.c12_1 = this.a12_1.i11_1.r11();
|
|
1497
|
+
var tmp0_subject = this.c12_1;
|
|
1498
1498
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1499
|
-
this.
|
|
1499
|
+
this.uh_1 = 3;
|
|
1500
1500
|
continue $sm;
|
|
1501
1501
|
} else {
|
|
1502
1502
|
if (tmp0_subject === get_TC_END_OBJ()) {
|
|
1503
|
-
this.
|
|
1503
|
+
this.uh_1 = 4;
|
|
1504
1504
|
continue $sm;
|
|
1505
1505
|
} else {
|
|
1506
|
-
this.
|
|
1506
|
+
this.a12_1.i11_1.u10('Expected end of the object or comma');
|
|
1507
1507
|
}
|
|
1508
1508
|
}
|
|
1509
1509
|
|
|
1510
1510
|
break;
|
|
1511
1511
|
case 3:
|
|
1512
|
-
this.
|
|
1512
|
+
this.uh_1 = 1;
|
|
1513
1513
|
continue $sm;
|
|
1514
1514
|
case 4:
|
|
1515
|
-
if (this.
|
|
1516
|
-
this.
|
|
1517
|
-
} else if (this.
|
|
1518
|
-
this.
|
|
1515
|
+
if (this.c12_1 === get_TC_BEGIN_OBJ()) {
|
|
1516
|
+
this.a12_1.i11_1.l11(get_TC_END_OBJ());
|
|
1517
|
+
} else if (this.c12_1 === get_TC_COMMA()) {
|
|
1518
|
+
this.a12_1.i11_1.u10('Unexpected trailing comma');
|
|
1519
1519
|
}
|
|
1520
1520
|
|
|
1521
|
-
return new JsonObject(this.
|
|
1521
|
+
return new JsonObject(this.d12_1);
|
|
1522
1522
|
case 5:
|
|
1523
|
-
throw this.
|
|
1523
|
+
throw this.xh_1;
|
|
1524
1524
|
}
|
|
1525
1525
|
} catch ($p) {
|
|
1526
1526
|
var e = $p;
|
|
1527
|
-
if (this.
|
|
1527
|
+
if (this.vh_1 === 5) {
|
|
1528
1528
|
throw e;
|
|
1529
1529
|
} else {
|
|
1530
|
-
this.
|
|
1531
|
-
this.
|
|
1530
|
+
this.uh_1 = this.vh_1;
|
|
1531
|
+
this.xh_1 = e;
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
1534
|
while (true);
|
|
1535
1535
|
};
|
|
1536
1536
|
function JsonTreeReader(configuration, lexer) {
|
|
1537
|
-
this.
|
|
1538
|
-
this.
|
|
1539
|
-
this.
|
|
1537
|
+
this.i11_1 = lexer;
|
|
1538
|
+
this.j11_1 = configuration.hz_1;
|
|
1539
|
+
this.k11_1 = 0;
|
|
1540
1540
|
}
|
|
1541
|
-
protoOf(JsonTreeReader).
|
|
1542
|
-
var token = this.
|
|
1541
|
+
protoOf(JsonTreeReader).q11 = function () {
|
|
1542
|
+
var token = this.i11_1.m11();
|
|
1543
1543
|
var tmp;
|
|
1544
1544
|
if (token === get_TC_STRING()) {
|
|
1545
1545
|
tmp = readValue(this, true);
|
|
@@ -1547,53 +1547,53 @@
|
|
|
1547
1547
|
tmp = readValue(this, false);
|
|
1548
1548
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1549
1549
|
var tmp_0;
|
|
1550
|
-
this.
|
|
1551
|
-
if (this.
|
|
1550
|
+
this.k11_1 = this.k11_1 + 1 | 0;
|
|
1551
|
+
if (this.k11_1 === 200) {
|
|
1552
1552
|
tmp_0 = readDeepRecursive(this);
|
|
1553
1553
|
} else {
|
|
1554
1554
|
tmp_0 = readObject(this);
|
|
1555
1555
|
}
|
|
1556
1556
|
var result = tmp_0;
|
|
1557
|
-
this.
|
|
1557
|
+
this.k11_1 = this.k11_1 - 1 | 0;
|
|
1558
1558
|
tmp = result;
|
|
1559
1559
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1560
1560
|
tmp = readArray(this);
|
|
1561
1561
|
} else {
|
|
1562
|
-
this.
|
|
1562
|
+
this.i11_1.u10('Cannot begin reading element, unexpected token: ' + token);
|
|
1563
1563
|
}
|
|
1564
1564
|
return tmp;
|
|
1565
1565
|
};
|
|
1566
1566
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
1567
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1567
|
+
var tmp0_iterator = _this__u8e3s4.fj().c();
|
|
1568
1568
|
while (tmp0_iterator.d()) {
|
|
1569
1569
|
var annotation = tmp0_iterator.e();
|
|
1570
1570
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1571
|
-
return annotation.
|
|
1571
|
+
return annotation.u12_1;
|
|
1572
1572
|
}
|
|
1573
|
-
return json.
|
|
1573
|
+
return json.zx_1.oz_1;
|
|
1574
1574
|
}
|
|
1575
1575
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
1576
1576
|
var tmp;
|
|
1577
1577
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1578
1578
|
tmp = true;
|
|
1579
1579
|
} else {
|
|
1580
|
-
tmp = _this__u8e3s4.
|
|
1580
|
+
tmp = _this__u8e3s4.sz().zx_1.nz_1;
|
|
1581
1581
|
}
|
|
1582
1582
|
if (tmp) {
|
|
1583
|
-
return deserializer.
|
|
1583
|
+
return deserializer.ei(_this__u8e3s4);
|
|
1584
1584
|
}
|
|
1585
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1585
|
+
var discriminator = classDiscriminator(deserializer.di(), _this__u8e3s4.sz());
|
|
1586
1586
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
1587
|
-
var tmp0_cast = _this__u8e3s4.
|
|
1588
|
-
var tmp1_cast = deserializer.
|
|
1587
|
+
var tmp0_cast = _this__u8e3s4.tz();
|
|
1588
|
+
var tmp1_cast = deserializer.di();
|
|
1589
1589
|
if (!(tmp0_cast instanceof JsonObject)) {
|
|
1590
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.
|
|
1590
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.ej() + ', but had ' + getKClassFromExpression(tmp0_cast));
|
|
1591
1591
|
}
|
|
1592
1592
|
var jsonTree = tmp0_cast;
|
|
1593
|
-
var tmp0_safe_receiver = jsonTree.
|
|
1593
|
+
var tmp0_safe_receiver = jsonTree.s6(discriminator);
|
|
1594
1594
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
1595
|
-
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1596
|
-
var tmp2_elvis_lhs = deserializer.
|
|
1595
|
+
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.uz();
|
|
1596
|
+
var tmp2_elvis_lhs = deserializer.si(_this__u8e3s4, type);
|
|
1597
1597
|
var tmp_0;
|
|
1598
1598
|
if (tmp2_elvis_lhs == null) {
|
|
1599
1599
|
throwSerializerNotFound(type, jsonTree);
|
|
@@ -1601,7 +1601,7 @@
|
|
|
1601
1601
|
tmp_0 = tmp2_elvis_lhs;
|
|
1602
1602
|
}
|
|
1603
1603
|
var actualSerializer = tmp_0;
|
|
1604
|
-
var tmp_1 = _this__u8e3s4.
|
|
1604
|
+
var tmp_1 = _this__u8e3s4.sz();
|
|
1605
1605
|
return readPolymorphicJson(tmp_1, discriminator, jsonTree, isInterface(actualSerializer, DeserializationStrategy) ? actualSerializer : THROW_CCE());
|
|
1606
1606
|
}
|
|
1607
1607
|
function throwSerializerNotFound(type, jsonTree) {
|
|
@@ -1609,7 +1609,7 @@
|
|
|
1609
1609
|
throw JsonDecodingException_0(-1, 'Polymorphic serializer was not found for ' + suffix, jsonTree.toString());
|
|
1610
1610
|
}
|
|
1611
1611
|
function checkKind($this, descriptor, actualClass) {
|
|
1612
|
-
var kind = descriptor.
|
|
1612
|
+
var kind = descriptor.ij();
|
|
1613
1613
|
var tmp;
|
|
1614
1614
|
if (kind instanceof PolymorphicKind) {
|
|
1615
1615
|
tmp = true;
|
|
@@ -1617,9 +1617,9 @@
|
|
|
1617
1617
|
tmp = equals(kind, CONTEXTUAL_getInstance());
|
|
1618
1618
|
}
|
|
1619
1619
|
if (tmp) {
|
|
1620
|
-
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.
|
|
1620
|
+
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.pd() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
1621
1621
|
}
|
|
1622
|
-
if ($this.
|
|
1622
|
+
if ($this.v12_1)
|
|
1623
1623
|
return Unit_getInstance();
|
|
1624
1624
|
var tmp_0;
|
|
1625
1625
|
var tmp_1;
|
|
@@ -1634,49 +1634,49 @@
|
|
|
1634
1634
|
tmp_0 = kind instanceof ENUM;
|
|
1635
1635
|
}
|
|
1636
1636
|
if (tmp_0) {
|
|
1637
|
-
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.
|
|
1637
|
+
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.pd() + ' of kind ' + kind + ' cannot be serialized polymorphically with class discriminator.');
|
|
1638
1638
|
}
|
|
1639
1639
|
}
|
|
1640
1640
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
1641
1641
|
var inductionVariable = 0;
|
|
1642
|
-
var last = descriptor.
|
|
1642
|
+
var last = descriptor.gj();
|
|
1643
1643
|
if (inductionVariable < last)
|
|
1644
1644
|
do {
|
|
1645
1645
|
var i = inductionVariable;
|
|
1646
1646
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1647
|
-
var name = descriptor.
|
|
1648
|
-
if (name === $this.
|
|
1647
|
+
var name = descriptor.mj(i);
|
|
1648
|
+
if (name === $this.w12_1) {
|
|
1649
1649
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + 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');
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
1652
1652
|
while (inductionVariable < last);
|
|
1653
1653
|
}
|
|
1654
1654
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
1655
|
-
this.
|
|
1656
|
-
this.
|
|
1655
|
+
this.v12_1 = useArrayPolymorphism;
|
|
1656
|
+
this.w12_1 = discriminator;
|
|
1657
1657
|
}
|
|
1658
|
-
protoOf(PolymorphismValidator).
|
|
1658
|
+
protoOf(PolymorphismValidator).qx = function (kClass, provider) {
|
|
1659
1659
|
};
|
|
1660
|
-
protoOf(PolymorphismValidator).
|
|
1661
|
-
var descriptor = actualSerializer.
|
|
1660
|
+
protoOf(PolymorphismValidator).tx = function (baseClass, actualClass, actualSerializer) {
|
|
1661
|
+
var descriptor = actualSerializer.di();
|
|
1662
1662
|
checkKind(this, descriptor, actualClass);
|
|
1663
|
-
if (!this.
|
|
1663
|
+
if (!this.v12_1) {
|
|
1664
1664
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1665
1665
|
}
|
|
1666
1666
|
};
|
|
1667
|
-
protoOf(PolymorphismValidator).
|
|
1667
|
+
protoOf(PolymorphismValidator).ux = function (baseClass, defaultSerializerProvider) {
|
|
1668
1668
|
};
|
|
1669
|
-
protoOf(PolymorphismValidator).
|
|
1669
|
+
protoOf(PolymorphismValidator).vx = function (baseClass, defaultDeserializerProvider) {
|
|
1670
1670
|
};
|
|
1671
1671
|
function Key() {
|
|
1672
1672
|
}
|
|
1673
1673
|
function DescriptorSchemaCache() {
|
|
1674
|
-
this.
|
|
1674
|
+
this.v10_1 = createMapForCache(16);
|
|
1675
1675
|
}
|
|
1676
|
-
protoOf(DescriptorSchemaCache).
|
|
1676
|
+
protoOf(DescriptorSchemaCache).x12 = function (descriptor, key, value) {
|
|
1677
1677
|
// Inline function 'kotlin.collections.set' call
|
|
1678
1678
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1679
|
-
var tmp0_getOrPut = this.
|
|
1679
|
+
var tmp0_getOrPut = this.v10_1;
|
|
1680
1680
|
var value_0 = tmp0_getOrPut.q2(descriptor);
|
|
1681
1681
|
var tmp;
|
|
1682
1682
|
if (value_0 == null) {
|
|
@@ -1692,8 +1692,8 @@
|
|
|
1692
1692
|
var tmp3_set = isObject(value) ? value : THROW_CCE();
|
|
1693
1693
|
tmp1_set.n3(tmp2_set, tmp3_set);
|
|
1694
1694
|
};
|
|
1695
|
-
protoOf(DescriptorSchemaCache).
|
|
1696
|
-
var tmp0_safe_receiver = this.
|
|
1695
|
+
protoOf(DescriptorSchemaCache).w10 = function (descriptor, key, defaultValue) {
|
|
1696
|
+
var tmp0_safe_receiver = this.y12(descriptor, key);
|
|
1697
1697
|
if (tmp0_safe_receiver == null)
|
|
1698
1698
|
null;
|
|
1699
1699
|
else {
|
|
@@ -1702,11 +1702,11 @@
|
|
|
1702
1702
|
return tmp0_safe_receiver;
|
|
1703
1703
|
}
|
|
1704
1704
|
var value = defaultValue();
|
|
1705
|
-
this.
|
|
1705
|
+
this.x12(descriptor, key, value);
|
|
1706
1706
|
return value;
|
|
1707
1707
|
};
|
|
1708
|
-
protoOf(DescriptorSchemaCache).
|
|
1709
|
-
var tmp0_safe_receiver = this.
|
|
1708
|
+
protoOf(DescriptorSchemaCache).y12 = function (descriptor, key) {
|
|
1709
|
+
var tmp0_safe_receiver = this.v10_1.q2(descriptor);
|
|
1710
1710
|
var tmp;
|
|
1711
1711
|
if (tmp0_safe_receiver == null) {
|
|
1712
1712
|
tmp = null;
|
|
@@ -1717,20 +1717,20 @@
|
|
|
1717
1717
|
return isObject(tmp_0) ? tmp_0 : null;
|
|
1718
1718
|
};
|
|
1719
1719
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
1720
|
-
this.
|
|
1720
|
+
this.z12_1 = discriminatorToSkip;
|
|
1721
1721
|
}
|
|
1722
1722
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
1723
1723
|
if (_this__u8e3s4 == null)
|
|
1724
1724
|
return false;
|
|
1725
|
-
if (_this__u8e3s4.
|
|
1726
|
-
_this__u8e3s4.
|
|
1725
|
+
if (_this__u8e3s4.z12_1 === unknownKey) {
|
|
1726
|
+
_this__u8e3s4.z12_1 = null;
|
|
1727
1727
|
return true;
|
|
1728
1728
|
}
|
|
1729
1729
|
return false;
|
|
1730
1730
|
}
|
|
1731
1731
|
function skipLeftoverElements($this, descriptor) {
|
|
1732
1732
|
$l$loop: while (true) {
|
|
1733
|
-
var tmp = $this.
|
|
1733
|
+
var tmp = $this.sl(descriptor);
|
|
1734
1734
|
Companion_getInstance();
|
|
1735
1735
|
if (!!(tmp === -1)) {
|
|
1736
1736
|
break $l$loop;
|
|
@@ -1738,52 +1738,52 @@
|
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
1740
|
function checkLeadingComma($this) {
|
|
1741
|
-
if ($this.
|
|
1742
|
-
$this.
|
|
1741
|
+
if ($this.gy_1.m11() === get_TC_COMMA()) {
|
|
1742
|
+
$this.gy_1.u10('Unexpected leading comma');
|
|
1743
1743
|
}
|
|
1744
1744
|
}
|
|
1745
1745
|
function decodeMapIndex($this) {
|
|
1746
1746
|
var hasComma = false;
|
|
1747
|
-
var decodingKey = !(($this.
|
|
1747
|
+
var decodingKey = !(($this.iy_1 % 2 | 0) === 0);
|
|
1748
1748
|
if (decodingKey) {
|
|
1749
|
-
if (!($this.
|
|
1750
|
-
hasComma = $this.
|
|
1749
|
+
if (!($this.iy_1 === -1)) {
|
|
1750
|
+
hasComma = $this.gy_1.b13();
|
|
1751
1751
|
}
|
|
1752
1752
|
} else {
|
|
1753
|
-
$this.
|
|
1753
|
+
$this.gy_1.a13(get_COLON());
|
|
1754
1754
|
}
|
|
1755
1755
|
var tmp;
|
|
1756
|
-
if ($this.
|
|
1756
|
+
if ($this.gy_1.n11()) {
|
|
1757
1757
|
if (decodingKey) {
|
|
1758
|
-
if ($this.
|
|
1758
|
+
if ($this.iy_1 === -1) {
|
|
1759
1759
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1760
|
-
var tmp0_require = $this.
|
|
1760
|
+
var tmp0_require = $this.gy_1;
|
|
1761
1761
|
var tmp1_require = !hasComma;
|
|
1762
|
-
var tmp2_require = tmp0_require.
|
|
1762
|
+
var tmp2_require = tmp0_require.my_1;
|
|
1763
1763
|
if (!tmp1_require) {
|
|
1764
1764
|
var tmp$ret$0;
|
|
1765
1765
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1766
1766
|
tmp$ret$0 = 'Unexpected trailing comma';
|
|
1767
|
-
tmp0_require.
|
|
1767
|
+
tmp0_require.u10(tmp$ret$0, tmp2_require);
|
|
1768
1768
|
}
|
|
1769
1769
|
} else {
|
|
1770
1770
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1771
|
-
var tmp3_require = $this.
|
|
1771
|
+
var tmp3_require = $this.gy_1;
|
|
1772
1772
|
var tmp4_require = hasComma;
|
|
1773
|
-
var tmp5_require = tmp3_require.
|
|
1773
|
+
var tmp5_require = tmp3_require.my_1;
|
|
1774
1774
|
if (!tmp4_require) {
|
|
1775
1775
|
var tmp$ret$1;
|
|
1776
1776
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1777
1777
|
tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
1778
|
-
tmp3_require.
|
|
1778
|
+
tmp3_require.u10(tmp$ret$1, tmp5_require);
|
|
1779
1779
|
}
|
|
1780
1780
|
}
|
|
1781
1781
|
}
|
|
1782
|
-
$this.
|
|
1783
|
-
tmp = $this.
|
|
1782
|
+
$this.iy_1 = $this.iy_1 + 1 | 0;
|
|
1783
|
+
tmp = $this.iy_1;
|
|
1784
1784
|
} else {
|
|
1785
1785
|
if (hasComma) {
|
|
1786
|
-
$this.
|
|
1786
|
+
$this.gy_1.u10("Expected '}', but had ',' instead");
|
|
1787
1787
|
}
|
|
1788
1788
|
Companion_getInstance();
|
|
1789
1789
|
tmp = -1;
|
|
@@ -1794,12 +1794,12 @@
|
|
|
1794
1794
|
var tmp$ret$1;
|
|
1795
1795
|
$l$block_2: {
|
|
1796
1796
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
1797
|
-
var tmp0_tryCoerceValue = $this.
|
|
1798
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
1797
|
+
var tmp0_tryCoerceValue = $this.ey_1;
|
|
1798
|
+
var tmp1_tryCoerceValue = descriptor.kj(index);
|
|
1799
1799
|
var tmp;
|
|
1800
|
-
if (!tmp1_tryCoerceValue.
|
|
1800
|
+
if (!tmp1_tryCoerceValue.aj()) {
|
|
1801
1801
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1802
|
-
tmp = $this.
|
|
1802
|
+
tmp = $this.gy_1.c13(true);
|
|
1803
1803
|
} else {
|
|
1804
1804
|
tmp = false;
|
|
1805
1805
|
}
|
|
@@ -1807,11 +1807,11 @@
|
|
|
1807
1807
|
tmp$ret$1 = true;
|
|
1808
1808
|
break $l$block_2;
|
|
1809
1809
|
}
|
|
1810
|
-
if (equals(tmp1_tryCoerceValue.
|
|
1810
|
+
if (equals(tmp1_tryCoerceValue.ij(), ENUM_getInstance())) {
|
|
1811
1811
|
var tmp_0;
|
|
1812
|
-
if (tmp1_tryCoerceValue.
|
|
1812
|
+
if (tmp1_tryCoerceValue.aj()) {
|
|
1813
1813
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1814
|
-
tmp_0 = $this.
|
|
1814
|
+
tmp_0 = $this.gy_1.c13(false);
|
|
1815
1815
|
} else {
|
|
1816
1816
|
tmp_0 = false;
|
|
1817
1817
|
}
|
|
@@ -1820,7 +1820,7 @@
|
|
|
1820
1820
|
break $l$block_2;
|
|
1821
1821
|
}
|
|
1822
1822
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1823
|
-
var tmp0_elvis_lhs = $this.
|
|
1823
|
+
var tmp0_elvis_lhs = $this.gy_1.d13($this.ky_1.hz_1);
|
|
1824
1824
|
var tmp_1;
|
|
1825
1825
|
if (tmp0_elvis_lhs == null) {
|
|
1826
1826
|
tmp$ret$1 = false;
|
|
@@ -1833,7 +1833,7 @@
|
|
|
1833
1833
|
Companion_getInstance();
|
|
1834
1834
|
if (enumIndex === -3) {
|
|
1835
1835
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1836
|
-
$this.
|
|
1836
|
+
$this.gy_1.o11();
|
|
1837
1837
|
tmp$ret$1 = true;
|
|
1838
1838
|
break $l$block_2;
|
|
1839
1839
|
}
|
|
@@ -1843,25 +1843,25 @@
|
|
|
1843
1843
|
return tmp$ret$1;
|
|
1844
1844
|
}
|
|
1845
1845
|
function decodeObjectIndex($this, descriptor) {
|
|
1846
|
-
var hasComma = $this.
|
|
1847
|
-
while ($this.
|
|
1846
|
+
var hasComma = $this.gy_1.b13();
|
|
1847
|
+
while ($this.gy_1.n11()) {
|
|
1848
1848
|
hasComma = false;
|
|
1849
1849
|
var key = decodeStringKey($this);
|
|
1850
|
-
$this.
|
|
1851
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
1850
|
+
$this.gy_1.a13(get_COLON());
|
|
1851
|
+
var index = getJsonNameIndex(descriptor, $this.ey_1, key);
|
|
1852
1852
|
var tmp;
|
|
1853
1853
|
Companion_getInstance();
|
|
1854
1854
|
if (!(index === -3)) {
|
|
1855
1855
|
var tmp_0;
|
|
1856
|
-
if ($this.
|
|
1857
|
-
hasComma = $this.
|
|
1856
|
+
if ($this.ky_1.mz_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
1857
|
+
hasComma = $this.gy_1.b13();
|
|
1858
1858
|
tmp_0 = false;
|
|
1859
1859
|
} else {
|
|
1860
|
-
var tmp0_safe_receiver = $this.
|
|
1860
|
+
var tmp0_safe_receiver = $this.ly_1;
|
|
1861
1861
|
if (tmp0_safe_receiver == null)
|
|
1862
1862
|
null;
|
|
1863
1863
|
else {
|
|
1864
|
-
tmp0_safe_receiver.
|
|
1864
|
+
tmp0_safe_receiver.dp(index);
|
|
1865
1865
|
}
|
|
1866
1866
|
return index;
|
|
1867
1867
|
}
|
|
@@ -1875,10 +1875,10 @@
|
|
|
1875
1875
|
}
|
|
1876
1876
|
}
|
|
1877
1877
|
if (hasComma) {
|
|
1878
|
-
$this.
|
|
1878
|
+
$this.gy_1.u10('Unexpected trailing comma');
|
|
1879
1879
|
}
|
|
1880
|
-
var tmp1_safe_receiver = $this.
|
|
1881
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1880
|
+
var tmp1_safe_receiver = $this.ly_1;
|
|
1881
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.ep();
|
|
1882
1882
|
var tmp_1;
|
|
1883
1883
|
if (tmp2_elvis_lhs == null) {
|
|
1884
1884
|
Companion_getInstance();
|
|
@@ -1889,25 +1889,25 @@
|
|
|
1889
1889
|
return tmp_1;
|
|
1890
1890
|
}
|
|
1891
1891
|
function handleUnknown($this, key) {
|
|
1892
|
-
if ($this.
|
|
1893
|
-
$this.
|
|
1892
|
+
if ($this.ky_1.gz_1 ? true : trySkip($this.jy_1, $this, key)) {
|
|
1893
|
+
$this.gy_1.f13($this.ky_1.hz_1);
|
|
1894
1894
|
} else {
|
|
1895
|
-
$this.
|
|
1895
|
+
$this.gy_1.e13(key);
|
|
1896
1896
|
}
|
|
1897
|
-
return $this.
|
|
1897
|
+
return $this.gy_1.b13();
|
|
1898
1898
|
}
|
|
1899
1899
|
function decodeListIndex($this) {
|
|
1900
|
-
var hasComma = $this.
|
|
1900
|
+
var hasComma = $this.gy_1.b13();
|
|
1901
1901
|
var tmp;
|
|
1902
|
-
if ($this.
|
|
1903
|
-
if (!($this.
|
|
1904
|
-
$this.
|
|
1902
|
+
if ($this.gy_1.n11()) {
|
|
1903
|
+
if (!($this.iy_1 === -1) ? !hasComma : false) {
|
|
1904
|
+
$this.gy_1.u10('Expected end of the array or comma');
|
|
1905
1905
|
}
|
|
1906
|
-
$this.
|
|
1907
|
-
tmp = $this.
|
|
1906
|
+
$this.iy_1 = $this.iy_1 + 1 | 0;
|
|
1907
|
+
tmp = $this.iy_1;
|
|
1908
1908
|
} else {
|
|
1909
1909
|
if (hasComma) {
|
|
1910
|
-
$this.
|
|
1910
|
+
$this.gy_1.u10('Unexpected trailing comma');
|
|
1911
1911
|
}
|
|
1912
1912
|
Companion_getInstance();
|
|
1913
1913
|
tmp = -1;
|
|
@@ -1916,55 +1916,55 @@
|
|
|
1916
1916
|
}
|
|
1917
1917
|
function decodeStringKey($this) {
|
|
1918
1918
|
var tmp;
|
|
1919
|
-
if ($this.
|
|
1920
|
-
tmp = $this.
|
|
1919
|
+
if ($this.ky_1.hz_1) {
|
|
1920
|
+
tmp = $this.gy_1.h13();
|
|
1921
1921
|
} else {
|
|
1922
|
-
tmp = $this.
|
|
1922
|
+
tmp = $this.gy_1.g13();
|
|
1923
1923
|
}
|
|
1924
1924
|
return tmp;
|
|
1925
1925
|
}
|
|
1926
1926
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
1927
1927
|
AbstractDecoder.call(this);
|
|
1928
|
-
this.
|
|
1929
|
-
this.
|
|
1930
|
-
this.
|
|
1931
|
-
this.
|
|
1932
|
-
this.
|
|
1933
|
-
this.
|
|
1934
|
-
this.
|
|
1935
|
-
this.
|
|
1928
|
+
this.ey_1 = json;
|
|
1929
|
+
this.fy_1 = mode;
|
|
1930
|
+
this.gy_1 = lexer;
|
|
1931
|
+
this.hy_1 = this.ey_1.ql();
|
|
1932
|
+
this.iy_1 = -1;
|
|
1933
|
+
this.jy_1 = discriminatorHolder;
|
|
1934
|
+
this.ky_1 = this.ey_1.zx_1;
|
|
1935
|
+
this.ly_1 = this.ky_1.kz_1 ? null : new JsonElementMarker(descriptor);
|
|
1936
1936
|
}
|
|
1937
|
-
protoOf(StreamingJsonDecoder).
|
|
1938
|
-
return this.
|
|
1937
|
+
protoOf(StreamingJsonDecoder).sz = function () {
|
|
1938
|
+
return this.ey_1;
|
|
1939
1939
|
};
|
|
1940
|
-
protoOf(StreamingJsonDecoder).
|
|
1941
|
-
return this.
|
|
1940
|
+
protoOf(StreamingJsonDecoder).ql = function () {
|
|
1941
|
+
return this.hy_1;
|
|
1942
1942
|
};
|
|
1943
|
-
protoOf(StreamingJsonDecoder).
|
|
1944
|
-
return (new JsonTreeReader(this.
|
|
1943
|
+
protoOf(StreamingJsonDecoder).tz = function () {
|
|
1944
|
+
return (new JsonTreeReader(this.ey_1.zx_1, this.gy_1)).q11();
|
|
1945
1945
|
};
|
|
1946
|
-
protoOf(StreamingJsonDecoder).
|
|
1946
|
+
protoOf(StreamingJsonDecoder).al = function (deserializer) {
|
|
1947
1947
|
try {
|
|
1948
1948
|
var tmp;
|
|
1949
1949
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1950
1950
|
tmp = true;
|
|
1951
1951
|
} else {
|
|
1952
|
-
tmp = this.
|
|
1952
|
+
tmp = this.ey_1.zx_1.nz_1;
|
|
1953
1953
|
}
|
|
1954
1954
|
if (tmp) {
|
|
1955
|
-
return deserializer.
|
|
1955
|
+
return deserializer.ei(this);
|
|
1956
1956
|
}
|
|
1957
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1958
|
-
var type = this.
|
|
1957
|
+
var discriminator = classDiscriminator(deserializer.di(), this.ey_1);
|
|
1958
|
+
var type = this.gy_1.i13(discriminator, this.ky_1.hz_1);
|
|
1959
1959
|
var actualSerializer = null;
|
|
1960
1960
|
if (!(type == null)) {
|
|
1961
|
-
actualSerializer = deserializer.
|
|
1961
|
+
actualSerializer = deserializer.si(this, type);
|
|
1962
1962
|
}
|
|
1963
1963
|
if (actualSerializer == null) {
|
|
1964
1964
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
1965
1965
|
}
|
|
1966
|
-
this.
|
|
1967
|
-
var tmp_0 = actualSerializer.
|
|
1966
|
+
this.jy_1 = new DiscriminatorHolder(discriminator);
|
|
1967
|
+
var tmp_0 = actualSerializer.ei(this);
|
|
1968
1968
|
var result = isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
1969
1969
|
return result;
|
|
1970
1970
|
} catch ($p) {
|
|
@@ -1972,30 +1972,30 @@
|
|
|
1972
1972
|
var e = $p;
|
|
1973
1973
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
1974
1974
|
throw e;
|
|
1975
|
-
throw new MissingFieldException(e.
|
|
1975
|
+
throw new MissingFieldException(e.ti_1, plus(e.message, ' at path: ') + this.gy_1.ny_1.h11(), e);
|
|
1976
1976
|
} else {
|
|
1977
1977
|
throw $p;
|
|
1978
1978
|
}
|
|
1979
1979
|
}
|
|
1980
1980
|
};
|
|
1981
|
-
protoOf(StreamingJsonDecoder).
|
|
1982
|
-
var newMode = switchMode(this.
|
|
1983
|
-
this.
|
|
1984
|
-
this.
|
|
1981
|
+
protoOf(StreamingJsonDecoder).bl = function (descriptor) {
|
|
1982
|
+
var newMode = switchMode(this.ey_1, descriptor);
|
|
1983
|
+
this.gy_1.ny_1.c11(descriptor);
|
|
1984
|
+
this.gy_1.a13(newMode.l13_1);
|
|
1985
1985
|
checkLeadingComma(this);
|
|
1986
1986
|
var tmp;
|
|
1987
1987
|
switch (newMode.p5_1) {
|
|
1988
1988
|
case 1:
|
|
1989
1989
|
case 2:
|
|
1990
1990
|
case 3:
|
|
1991
|
-
tmp = new StreamingJsonDecoder(this.
|
|
1991
|
+
tmp = new StreamingJsonDecoder(this.ey_1, newMode, this.gy_1, descriptor, this.jy_1);
|
|
1992
1992
|
break;
|
|
1993
1993
|
default:
|
|
1994
1994
|
var tmp_0;
|
|
1995
|
-
if (this.
|
|
1995
|
+
if (this.fy_1.equals(newMode) ? this.ey_1.zx_1.kz_1 : false) {
|
|
1996
1996
|
tmp_0 = this;
|
|
1997
1997
|
} else {
|
|
1998
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
1998
|
+
tmp_0 = new StreamingJsonDecoder(this.ey_1, newMode, this.gy_1, descriptor, this.jy_1);
|
|
1999
1999
|
}
|
|
2000
2000
|
|
|
2001
2001
|
tmp = tmp_0;
|
|
@@ -2003,41 +2003,41 @@
|
|
|
2003
2003
|
}
|
|
2004
2004
|
return tmp;
|
|
2005
2005
|
};
|
|
2006
|
-
protoOf(StreamingJsonDecoder).
|
|
2007
|
-
if (this.
|
|
2006
|
+
protoOf(StreamingJsonDecoder).cl = function (descriptor) {
|
|
2007
|
+
if (this.ey_1.zx_1.gz_1 ? descriptor.gj() === 0 : false) {
|
|
2008
2008
|
skipLeftoverElements(this, descriptor);
|
|
2009
2009
|
}
|
|
2010
|
-
this.
|
|
2011
|
-
this.
|
|
2010
|
+
this.gy_1.a13(this.fy_1.m13_1);
|
|
2011
|
+
this.gy_1.ny_1.g11();
|
|
2012
2012
|
};
|
|
2013
|
-
protoOf(StreamingJsonDecoder).
|
|
2013
|
+
protoOf(StreamingJsonDecoder).mk = function () {
|
|
2014
2014
|
var tmp;
|
|
2015
|
-
var tmp0_safe_receiver = this.
|
|
2016
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2015
|
+
var tmp0_safe_receiver = this.ly_1;
|
|
2016
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t10_1;
|
|
2017
2017
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2018
|
-
tmp = !this.
|
|
2018
|
+
tmp = !this.gy_1.n13();
|
|
2019
2019
|
} else {
|
|
2020
2020
|
tmp = false;
|
|
2021
2021
|
}
|
|
2022
2022
|
return tmp;
|
|
2023
2023
|
};
|
|
2024
|
-
protoOf(StreamingJsonDecoder).
|
|
2024
|
+
protoOf(StreamingJsonDecoder).nk = function () {
|
|
2025
2025
|
return null;
|
|
2026
2026
|
};
|
|
2027
|
-
protoOf(StreamingJsonDecoder).
|
|
2028
|
-
var isMapKey = this.
|
|
2027
|
+
protoOf(StreamingJsonDecoder).nl = function (descriptor, index, deserializer, previousValue) {
|
|
2028
|
+
var isMapKey = this.fy_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2029
2029
|
if (isMapKey) {
|
|
2030
|
-
this.
|
|
2030
|
+
this.gy_1.ny_1.f11();
|
|
2031
2031
|
}
|
|
2032
|
-
var value = protoOf(AbstractDecoder).
|
|
2032
|
+
var value = protoOf(AbstractDecoder).nl.call(this, descriptor, index, deserializer, previousValue);
|
|
2033
2033
|
if (isMapKey) {
|
|
2034
|
-
this.
|
|
2034
|
+
this.gy_1.ny_1.e11(value);
|
|
2035
2035
|
}
|
|
2036
2036
|
return value;
|
|
2037
2037
|
};
|
|
2038
|
-
protoOf(StreamingJsonDecoder).
|
|
2038
|
+
protoOf(StreamingJsonDecoder).sl = function (descriptor) {
|
|
2039
2039
|
var index;
|
|
2040
|
-
switch (this.
|
|
2040
|
+
switch (this.fy_1.p5_1) {
|
|
2041
2041
|
case 0:
|
|
2042
2042
|
index = decodeObjectIndex(this, descriptor);
|
|
2043
2043
|
break;
|
|
@@ -2048,50 +2048,50 @@
|
|
|
2048
2048
|
index = decodeListIndex(this);
|
|
2049
2049
|
break;
|
|
2050
2050
|
}
|
|
2051
|
-
if (!this.
|
|
2052
|
-
this.
|
|
2051
|
+
if (!this.fy_1.equals(WriteMode_MAP_getInstance())) {
|
|
2052
|
+
this.gy_1.ny_1.d11(index);
|
|
2053
2053
|
}
|
|
2054
2054
|
return index;
|
|
2055
2055
|
};
|
|
2056
|
-
protoOf(StreamingJsonDecoder).
|
|
2056
|
+
protoOf(StreamingJsonDecoder).ok = function () {
|
|
2057
2057
|
var tmp;
|
|
2058
|
-
if (this.
|
|
2059
|
-
tmp = this.
|
|
2058
|
+
if (this.ky_1.hz_1) {
|
|
2059
|
+
tmp = this.gy_1.p13();
|
|
2060
2060
|
} else {
|
|
2061
|
-
tmp = this.
|
|
2061
|
+
tmp = this.gy_1.o13();
|
|
2062
2062
|
}
|
|
2063
2063
|
return tmp;
|
|
2064
2064
|
};
|
|
2065
|
-
protoOf(StreamingJsonDecoder).ok = function () {
|
|
2066
|
-
var value = this.fy_1.p13();
|
|
2067
|
-
if (!value.equals(toLong_0(value.kh()))) {
|
|
2068
|
-
this.fy_1.t10("Failed to parse byte for input '" + toString(value) + "'");
|
|
2069
|
-
}
|
|
2070
|
-
return value.kh();
|
|
2071
|
-
};
|
|
2072
2065
|
protoOf(StreamingJsonDecoder).pk = function () {
|
|
2073
|
-
var value = this.
|
|
2066
|
+
var value = this.gy_1.q13();
|
|
2074
2067
|
if (!value.equals(toLong_0(value.lh()))) {
|
|
2075
|
-
this.
|
|
2068
|
+
this.gy_1.u10("Failed to parse byte for input '" + toString(value) + "'");
|
|
2076
2069
|
}
|
|
2077
2070
|
return value.lh();
|
|
2078
2071
|
};
|
|
2079
2072
|
protoOf(StreamingJsonDecoder).qk = function () {
|
|
2080
|
-
var value = this.
|
|
2081
|
-
if (!value.equals(toLong_0(value.
|
|
2082
|
-
this.
|
|
2073
|
+
var value = this.gy_1.q13();
|
|
2074
|
+
if (!value.equals(toLong_0(value.mh()))) {
|
|
2075
|
+
this.gy_1.u10("Failed to parse short for input '" + toString(value) + "'");
|
|
2083
2076
|
}
|
|
2084
|
-
return value.
|
|
2077
|
+
return value.mh();
|
|
2085
2078
|
};
|
|
2086
2079
|
protoOf(StreamingJsonDecoder).rk = function () {
|
|
2087
|
-
|
|
2080
|
+
var value = this.gy_1.q13();
|
|
2081
|
+
if (!value.equals(toLong_0(value.u6()))) {
|
|
2082
|
+
this.gy_1.u10("Failed to parse int for input '" + toString(value) + "'");
|
|
2083
|
+
}
|
|
2084
|
+
return value.u6();
|
|
2088
2085
|
};
|
|
2089
2086
|
protoOf(StreamingJsonDecoder).sk = function () {
|
|
2087
|
+
return this.gy_1.q13();
|
|
2088
|
+
};
|
|
2089
|
+
protoOf(StreamingJsonDecoder).tk = function () {
|
|
2090
2090
|
var tmp$ret$4;
|
|
2091
2091
|
$l$block: {
|
|
2092
2092
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2093
|
-
var tmp0_parseString = this.
|
|
2094
|
-
var input = tmp0_parseString.
|
|
2093
|
+
var tmp0_parseString = this.gy_1;
|
|
2094
|
+
var input = tmp0_parseString.p11();
|
|
2095
2095
|
try {
|
|
2096
2096
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
2097
2097
|
// Inline function 'kotlin.text.toFloat' call
|
|
@@ -2102,24 +2102,24 @@
|
|
|
2102
2102
|
} catch ($p) {
|
|
2103
2103
|
if ($p instanceof IllegalArgumentException) {
|
|
2104
2104
|
var e = $p;
|
|
2105
|
-
tmp0_parseString.
|
|
2105
|
+
tmp0_parseString.u10("Failed to parse type 'float' for input '" + input + "'");
|
|
2106
2106
|
} else {
|
|
2107
2107
|
throw $p;
|
|
2108
2108
|
}
|
|
2109
2109
|
}
|
|
2110
2110
|
}
|
|
2111
2111
|
var result = tmp$ret$4;
|
|
2112
|
-
var specialFp = this.
|
|
2112
|
+
var specialFp = this.ey_1.zx_1.pz_1;
|
|
2113
2113
|
if (specialFp ? true : isFinite(result))
|
|
2114
2114
|
return result;
|
|
2115
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2115
|
+
throwInvalidFloatingPointDecoded(this.gy_1, result);
|
|
2116
2116
|
};
|
|
2117
|
-
protoOf(StreamingJsonDecoder).
|
|
2117
|
+
protoOf(StreamingJsonDecoder).uk = function () {
|
|
2118
2118
|
var tmp$ret$1;
|
|
2119
2119
|
$l$block: {
|
|
2120
2120
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2121
|
-
var tmp0_parseString = this.
|
|
2122
|
-
var input = tmp0_parseString.
|
|
2121
|
+
var tmp0_parseString = this.gy_1;
|
|
2122
|
+
var input = tmp0_parseString.p11();
|
|
2123
2123
|
try {
|
|
2124
2124
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
2125
2125
|
tmp$ret$1 = toDouble(input);
|
|
@@ -2127,57 +2127,57 @@
|
|
|
2127
2127
|
} catch ($p) {
|
|
2128
2128
|
if ($p instanceof IllegalArgumentException) {
|
|
2129
2129
|
var e = $p;
|
|
2130
|
-
tmp0_parseString.
|
|
2130
|
+
tmp0_parseString.u10("Failed to parse type 'double' for input '" + input + "'");
|
|
2131
2131
|
} else {
|
|
2132
2132
|
throw $p;
|
|
2133
2133
|
}
|
|
2134
2134
|
}
|
|
2135
2135
|
}
|
|
2136
2136
|
var result = tmp$ret$1;
|
|
2137
|
-
var specialFp = this.
|
|
2137
|
+
var specialFp = this.ey_1.zx_1.pz_1;
|
|
2138
2138
|
if (specialFp ? true : isFinite_0(result))
|
|
2139
2139
|
return result;
|
|
2140
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2140
|
+
throwInvalidFloatingPointDecoded(this.gy_1, result);
|
|
2141
2141
|
};
|
|
2142
|
-
protoOf(StreamingJsonDecoder).
|
|
2143
|
-
var string = this.
|
|
2142
|
+
protoOf(StreamingJsonDecoder).vk = function () {
|
|
2143
|
+
var string = this.gy_1.p11();
|
|
2144
2144
|
if (!(string.length === 1)) {
|
|
2145
|
-
this.
|
|
2145
|
+
this.gy_1.u10("Expected single char, but got '" + string + "'");
|
|
2146
2146
|
}
|
|
2147
2147
|
return charSequenceGet(string, 0);
|
|
2148
2148
|
};
|
|
2149
|
-
protoOf(StreamingJsonDecoder).
|
|
2149
|
+
protoOf(StreamingJsonDecoder).wk = function () {
|
|
2150
2150
|
var tmp;
|
|
2151
|
-
if (this.
|
|
2152
|
-
tmp = this.
|
|
2151
|
+
if (this.ky_1.hz_1) {
|
|
2152
|
+
tmp = this.gy_1.h13();
|
|
2153
2153
|
} else {
|
|
2154
|
-
tmp = this.
|
|
2154
|
+
tmp = this.gy_1.o11();
|
|
2155
2155
|
}
|
|
2156
2156
|
return tmp;
|
|
2157
2157
|
};
|
|
2158
|
-
protoOf(StreamingJsonDecoder).
|
|
2159
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2158
|
+
protoOf(StreamingJsonDecoder).yk = function (descriptor) {
|
|
2159
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.gy_1, this.ey_1) : protoOf(AbstractDecoder).yk.call(this, descriptor);
|
|
2160
2160
|
};
|
|
2161
|
-
protoOf(StreamingJsonDecoder).
|
|
2162
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2161
|
+
protoOf(StreamingJsonDecoder).xk = function (enumDescriptor) {
|
|
2162
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.ey_1, this.wk(), ' at path ' + this.gy_1.ny_1.h11());
|
|
2163
2163
|
};
|
|
2164
2164
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2165
2165
|
AbstractDecoder.call(this);
|
|
2166
|
-
this.
|
|
2167
|
-
this.
|
|
2166
|
+
this.r13_1 = lexer;
|
|
2167
|
+
this.s13_1 = json.ql();
|
|
2168
2168
|
}
|
|
2169
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2170
|
-
return this.
|
|
2169
|
+
protoOf(JsonDecoderForUnsignedTypes).ql = function () {
|
|
2170
|
+
return this.s13_1;
|
|
2171
2171
|
};
|
|
2172
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2172
|
+
protoOf(JsonDecoderForUnsignedTypes).sl = function (descriptor) {
|
|
2173
2173
|
throw IllegalStateException_init_$Create$('unsupported');
|
|
2174
2174
|
};
|
|
2175
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2175
|
+
protoOf(JsonDecoderForUnsignedTypes).rk = function () {
|
|
2176
2176
|
var tmp$ret$2;
|
|
2177
2177
|
$l$block: {
|
|
2178
2178
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2179
|
-
var tmp0_parseString = this.
|
|
2180
|
-
var input = tmp0_parseString.
|
|
2179
|
+
var tmp0_parseString = this.r13_1;
|
|
2180
|
+
var input = tmp0_parseString.p11();
|
|
2181
2181
|
try {
|
|
2182
2182
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
2183
2183
|
// Inline function 'kotlin.UInt.toInt' call
|
|
@@ -2187,7 +2187,7 @@
|
|
|
2187
2187
|
} catch ($p) {
|
|
2188
2188
|
if ($p instanceof IllegalArgumentException) {
|
|
2189
2189
|
var e = $p;
|
|
2190
|
-
tmp0_parseString.
|
|
2190
|
+
tmp0_parseString.u10("Failed to parse type 'UInt' for input '" + input + "'");
|
|
2191
2191
|
} else {
|
|
2192
2192
|
throw $p;
|
|
2193
2193
|
}
|
|
@@ -2195,12 +2195,12 @@
|
|
|
2195
2195
|
}
|
|
2196
2196
|
return tmp$ret$2;
|
|
2197
2197
|
};
|
|
2198
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2198
|
+
protoOf(JsonDecoderForUnsignedTypes).sk = function () {
|
|
2199
2199
|
var tmp$ret$2;
|
|
2200
2200
|
$l$block: {
|
|
2201
2201
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2202
|
-
var tmp0_parseString = this.
|
|
2203
|
-
var input = tmp0_parseString.
|
|
2202
|
+
var tmp0_parseString = this.r13_1;
|
|
2203
|
+
var input = tmp0_parseString.p11();
|
|
2204
2204
|
try {
|
|
2205
2205
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
2206
2206
|
// Inline function 'kotlin.ULong.toLong' call
|
|
@@ -2210,7 +2210,7 @@
|
|
|
2210
2210
|
} catch ($p) {
|
|
2211
2211
|
if ($p instanceof IllegalArgumentException) {
|
|
2212
2212
|
var e = $p;
|
|
2213
|
-
tmp0_parseString.
|
|
2213
|
+
tmp0_parseString.u10("Failed to parse type 'ULong' for input '" + input + "'");
|
|
2214
2214
|
} else {
|
|
2215
2215
|
throw $p;
|
|
2216
2216
|
}
|
|
@@ -2218,12 +2218,12 @@
|
|
|
2218
2218
|
}
|
|
2219
2219
|
return tmp$ret$2;
|
|
2220
2220
|
};
|
|
2221
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2221
|
+
protoOf(JsonDecoderForUnsignedTypes).pk = function () {
|
|
2222
2222
|
var tmp$ret$2;
|
|
2223
2223
|
$l$block: {
|
|
2224
2224
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2225
|
-
var tmp0_parseString = this.
|
|
2226
|
-
var input = tmp0_parseString.
|
|
2225
|
+
var tmp0_parseString = this.r13_1;
|
|
2226
|
+
var input = tmp0_parseString.p11();
|
|
2227
2227
|
try {
|
|
2228
2228
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
2229
2229
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -2233,7 +2233,7 @@
|
|
|
2233
2233
|
} catch ($p) {
|
|
2234
2234
|
if ($p instanceof IllegalArgumentException) {
|
|
2235
2235
|
var e = $p;
|
|
2236
|
-
tmp0_parseString.
|
|
2236
|
+
tmp0_parseString.u10("Failed to parse type 'UByte' for input '" + input + "'");
|
|
2237
2237
|
} else {
|
|
2238
2238
|
throw $p;
|
|
2239
2239
|
}
|
|
@@ -2241,12 +2241,12 @@
|
|
|
2241
2241
|
}
|
|
2242
2242
|
return tmp$ret$2;
|
|
2243
2243
|
};
|
|
2244
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2244
|
+
protoOf(JsonDecoderForUnsignedTypes).qk = function () {
|
|
2245
2245
|
var tmp$ret$2;
|
|
2246
2246
|
$l$block: {
|
|
2247
2247
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2248
|
-
var tmp0_parseString = this.
|
|
2249
|
-
var input = tmp0_parseString.
|
|
2248
|
+
var tmp0_parseString = this.r13_1;
|
|
2249
|
+
var input = tmp0_parseString.p11();
|
|
2250
2250
|
try {
|
|
2251
2251
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
2252
2252
|
// Inline function 'kotlin.UShort.toShort' call
|
|
@@ -2256,7 +2256,7 @@
|
|
|
2256
2256
|
} catch ($p) {
|
|
2257
2257
|
if ($p instanceof IllegalArgumentException) {
|
|
2258
2258
|
var e = $p;
|
|
2259
|
-
tmp0_parseString.
|
|
2259
|
+
tmp0_parseString.u10("Failed to parse type 'UShort' for input '" + input + "'");
|
|
2260
2260
|
} else {
|
|
2261
2261
|
throw $p;
|
|
2262
2262
|
}
|
|
@@ -2271,13 +2271,13 @@
|
|
|
2271
2271
|
var unsignedNumberDescriptors;
|
|
2272
2272
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
2273
2273
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
2274
|
-
return _this__u8e3s4.
|
|
2274
|
+
return _this__u8e3s4.hj() ? get_unsignedNumberDescriptors().t(_this__u8e3s4) : false;
|
|
2275
2275
|
}
|
|
2276
2276
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
2277
2277
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
2278
2278
|
if (!properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
2279
2279
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
2280
|
-
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).
|
|
2280
|
+
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).di(), serializer_1(Companion_getInstance_1()).di(), serializer_2(Companion_getInstance_2()).di(), serializer_3(Companion_getInstance_3()).di()]);
|
|
2281
2281
|
}
|
|
2282
2282
|
}
|
|
2283
2283
|
function get_ESCAPE_STRINGS() {
|
|
@@ -2302,7 +2302,7 @@
|
|
|
2302
2302
|
}
|
|
2303
2303
|
function printQuoted(_this__u8e3s4, value) {
|
|
2304
2304
|
_init_properties_StringOps_kt__fcy1db();
|
|
2305
|
-
_this__u8e3s4.
|
|
2305
|
+
_this__u8e3s4.z5(get_STRING());
|
|
2306
2306
|
var lastPos = 0;
|
|
2307
2307
|
var inductionVariable = 0;
|
|
2308
2308
|
var last = charSequenceLength(value) - 1 | 0;
|
|
@@ -2314,18 +2314,18 @@
|
|
|
2314
2314
|
var tmp0_get_code_gknlva = charSequenceGet(value, i);
|
|
2315
2315
|
var c = Char__toInt_impl_vasixd(tmp0_get_code_gknlva);
|
|
2316
2316
|
if (c < get_ESCAPE_STRINGS().length ? !(get_ESCAPE_STRINGS()[c] == null) : false) {
|
|
2317
|
-
_this__u8e3s4.
|
|
2318
|
-
_this__u8e3s4.
|
|
2317
|
+
_this__u8e3s4.ye(value, lastPos, i);
|
|
2318
|
+
_this__u8e3s4.d7(get_ESCAPE_STRINGS()[c]);
|
|
2319
2319
|
lastPos = i + 1 | 0;
|
|
2320
2320
|
}
|
|
2321
2321
|
}
|
|
2322
2322
|
while (inductionVariable <= last);
|
|
2323
2323
|
if (!(lastPos === 0)) {
|
|
2324
|
-
_this__u8e3s4.
|
|
2324
|
+
_this__u8e3s4.ye(value, lastPos, value.length);
|
|
2325
2325
|
} else {
|
|
2326
|
-
_this__u8e3s4.
|
|
2326
|
+
_this__u8e3s4.d7(value);
|
|
2327
2327
|
}
|
|
2328
|
-
_this__u8e3s4.
|
|
2328
|
+
_this__u8e3s4.z5(get_STRING());
|
|
2329
2329
|
}
|
|
2330
2330
|
function toBooleanStrictOrNull(_this__u8e3s4) {
|
|
2331
2331
|
_init_properties_StringOps_kt__fcy1db();
|
|
@@ -2429,10 +2429,10 @@
|
|
|
2429
2429
|
}
|
|
2430
2430
|
}
|
|
2431
2431
|
var input = tmp;
|
|
2432
|
-
return input.
|
|
2432
|
+
return input.al(deserializer);
|
|
2433
2433
|
}
|
|
2434
2434
|
function currentObject($this) {
|
|
2435
|
-
var tmp0_safe_receiver = $this.
|
|
2435
|
+
var tmp0_safe_receiver = $this.uv();
|
|
2436
2436
|
var tmp;
|
|
2437
2437
|
if (tmp0_safe_receiver == null) {
|
|
2438
2438
|
tmp = null;
|
|
@@ -2440,7 +2440,7 @@
|
|
|
2440
2440
|
// Inline function 'kotlin.let' call
|
|
2441
2441
|
// Inline function 'kotlin.contracts.contract' call
|
|
2442
2442
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
2443
|
-
tmp = $this.
|
|
2443
|
+
tmp = $this.y13(tmp0_safe_receiver);
|
|
2444
2444
|
}
|
|
2445
2445
|
var tmp1_elvis_lhs = tmp;
|
|
2446
2446
|
return tmp1_elvis_lhs == null ? $this.y() : tmp1_elvis_lhs;
|
|
@@ -2460,31 +2460,31 @@
|
|
|
2460
2460
|
}
|
|
2461
2461
|
function AbstractJsonTreeDecoder(json, value) {
|
|
2462
2462
|
NamedValueDecoder.call(this);
|
|
2463
|
-
this.
|
|
2464
|
-
this.
|
|
2465
|
-
this.
|
|
2463
|
+
this.v13_1 = json;
|
|
2464
|
+
this.w13_1 = value;
|
|
2465
|
+
this.x13_1 = this.sz().zx_1;
|
|
2466
2466
|
}
|
|
2467
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2468
|
-
return this.
|
|
2467
|
+
protoOf(AbstractJsonTreeDecoder).sz = function () {
|
|
2468
|
+
return this.v13_1;
|
|
2469
2469
|
};
|
|
2470
2470
|
protoOf(AbstractJsonTreeDecoder).y = function () {
|
|
2471
|
-
return this.
|
|
2471
|
+
return this.w13_1;
|
|
2472
2472
|
};
|
|
2473
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2474
|
-
return this.
|
|
2473
|
+
protoOf(AbstractJsonTreeDecoder).ql = function () {
|
|
2474
|
+
return this.sz().ql();
|
|
2475
2475
|
};
|
|
2476
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2476
|
+
protoOf(AbstractJsonTreeDecoder).tz = function () {
|
|
2477
2477
|
return currentObject(this);
|
|
2478
2478
|
};
|
|
2479
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2479
|
+
protoOf(AbstractJsonTreeDecoder).al = function (deserializer) {
|
|
2480
2480
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
2481
2481
|
};
|
|
2482
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2482
|
+
protoOf(AbstractJsonTreeDecoder).vv = function (parentName, childName) {
|
|
2483
2483
|
return childName;
|
|
2484
2484
|
};
|
|
2485
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2485
|
+
protoOf(AbstractJsonTreeDecoder).bl = function (descriptor) {
|
|
2486
2486
|
var currentObject_0 = currentObject(this);
|
|
2487
|
-
var tmp0_subject = descriptor.
|
|
2487
|
+
var tmp0_subject = descriptor.ij();
|
|
2488
2488
|
var tmp;
|
|
2489
2489
|
var tmp_0;
|
|
2490
2490
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -2493,18 +2493,18 @@
|
|
|
2493
2493
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
2494
2494
|
}
|
|
2495
2495
|
if (tmp_0) {
|
|
2496
|
-
var tmp_1 = this.
|
|
2496
|
+
var tmp_1 = this.sz();
|
|
2497
2497
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2498
2498
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2499
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2499
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.ej() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2500
2500
|
}
|
|
2501
2501
|
tmp = new JsonTreeListDecoder(tmp_1, currentObject_0);
|
|
2502
2502
|
} else {
|
|
2503
2503
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
2504
2504
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
2505
|
-
var tmp0_selectMapMode = this.
|
|
2506
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
2507
|
-
var keyKind = keyDescriptor.
|
|
2505
|
+
var tmp0_selectMapMode = this.sz();
|
|
2506
|
+
var keyDescriptor = carrierDescriptor(descriptor.kj(0), tmp0_selectMapMode.ql());
|
|
2507
|
+
var keyKind = keyDescriptor.ij();
|
|
2508
2508
|
var tmp_2;
|
|
2509
2509
|
var tmp_3;
|
|
2510
2510
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -2514,19 +2514,19 @@
|
|
|
2514
2514
|
}
|
|
2515
2515
|
if (tmp_3) {
|
|
2516
2516
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2517
|
-
var tmp_4 = this.
|
|
2517
|
+
var tmp_4 = this.sz();
|
|
2518
2518
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2519
2519
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2520
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2520
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.ej() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2521
2521
|
}
|
|
2522
2522
|
tmp_2 = new JsonTreeMapDecoder(tmp_4, currentObject_0);
|
|
2523
2523
|
} else {
|
|
2524
|
-
if (tmp0_selectMapMode.
|
|
2524
|
+
if (tmp0_selectMapMode.zx_1.iz_1) {
|
|
2525
2525
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2526
|
-
var tmp_5 = this.
|
|
2526
|
+
var tmp_5 = this.sz();
|
|
2527
2527
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2528
2528
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2529
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2529
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.ej() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2530
2530
|
}
|
|
2531
2531
|
tmp_2 = new JsonTreeListDecoder(tmp_5, currentObject_0);
|
|
2532
2532
|
} else {
|
|
@@ -2535,24 +2535,24 @@
|
|
|
2535
2535
|
}
|
|
2536
2536
|
tmp = tmp_2;
|
|
2537
2537
|
} else {
|
|
2538
|
-
var tmp_6 = this.
|
|
2538
|
+
var tmp_6 = this.sz();
|
|
2539
2539
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2540
2540
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2541
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2541
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.ej() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2542
2542
|
}
|
|
2543
2543
|
tmp = new JsonTreeDecoder(tmp_6, currentObject_0);
|
|
2544
2544
|
}
|
|
2545
2545
|
}
|
|
2546
2546
|
return tmp;
|
|
2547
2547
|
};
|
|
2548
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2548
|
+
protoOf(AbstractJsonTreeDecoder).cl = function (descriptor) {
|
|
2549
2549
|
};
|
|
2550
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2550
|
+
protoOf(AbstractJsonTreeDecoder).mk = function () {
|
|
2551
2551
|
var tmp = currentObject(this);
|
|
2552
2552
|
return !(tmp instanceof JsonNull);
|
|
2553
2553
|
};
|
|
2554
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2555
|
-
var currentElement = this.
|
|
2554
|
+
protoOf(AbstractJsonTreeDecoder).z13 = function (tag) {
|
|
2555
|
+
var currentElement = this.y13(tag);
|
|
2556
2556
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
2557
2557
|
var tmp;
|
|
2558
2558
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2562,23 +2562,23 @@
|
|
|
2562
2562
|
}
|
|
2563
2563
|
return tmp;
|
|
2564
2564
|
};
|
|
2565
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2566
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2565
|
+
protoOf(AbstractJsonTreeDecoder).a14 = function (tag, enumDescriptor) {
|
|
2566
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.sz(), this.z13(tag).uz());
|
|
2567
2567
|
};
|
|
2568
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2569
|
-
return this.
|
|
2568
|
+
protoOf(AbstractJsonTreeDecoder).hw = function (tag, enumDescriptor) {
|
|
2569
|
+
return this.a14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
2570
2570
|
};
|
|
2571
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2572
|
-
return !(this.
|
|
2571
|
+
protoOf(AbstractJsonTreeDecoder).b14 = function (tag) {
|
|
2572
|
+
return !(this.y13(tag) === JsonNull_getInstance());
|
|
2573
2573
|
};
|
|
2574
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2575
|
-
return this.
|
|
2574
|
+
protoOf(AbstractJsonTreeDecoder).xv = function (tag) {
|
|
2575
|
+
return this.b14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2576
2576
|
};
|
|
2577
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2578
|
-
var value = this.
|
|
2579
|
-
if (!this.
|
|
2577
|
+
protoOf(AbstractJsonTreeDecoder).c14 = function (tag) {
|
|
2578
|
+
var value = this.z13(tag);
|
|
2579
|
+
if (!this.sz().zx_1.hz_1) {
|
|
2580
2580
|
var literal = asLiteral(value, this, 'boolean');
|
|
2581
|
-
if (literal.
|
|
2581
|
+
if (literal.e10_1)
|
|
2582
2582
|
throw JsonDecodingException_0(-1, "Boolean literal for key '" + tag + "' should be unquoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
2583
2583
|
}
|
|
2584
2584
|
var tmp$ret$1;
|
|
@@ -2613,14 +2613,14 @@
|
|
|
2613
2613
|
}
|
|
2614
2614
|
return tmp$ret$1;
|
|
2615
2615
|
};
|
|
2616
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2617
|
-
return this.
|
|
2616
|
+
protoOf(AbstractJsonTreeDecoder).yv = function (tag) {
|
|
2617
|
+
return this.c14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2618
2618
|
};
|
|
2619
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2619
|
+
protoOf(AbstractJsonTreeDecoder).d14 = function (tag) {
|
|
2620
2620
|
var tmp$ret$1;
|
|
2621
2621
|
$l$block: {
|
|
2622
2622
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2623
|
-
var tmp0_primitive = this.
|
|
2623
|
+
var tmp0_primitive = this.z13(tag);
|
|
2624
2624
|
try {
|
|
2625
2625
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
2626
2626
|
var result = get_int(tmp0_primitive);
|
|
@@ -2651,14 +2651,14 @@
|
|
|
2651
2651
|
}
|
|
2652
2652
|
return tmp$ret$1;
|
|
2653
2653
|
};
|
|
2654
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2655
|
-
return this.
|
|
2654
|
+
protoOf(AbstractJsonTreeDecoder).zv = function (tag) {
|
|
2655
|
+
return this.d14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2656
2656
|
};
|
|
2657
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2657
|
+
protoOf(AbstractJsonTreeDecoder).e14 = function (tag) {
|
|
2658
2658
|
var tmp$ret$1;
|
|
2659
2659
|
$l$block: {
|
|
2660
2660
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2661
|
-
var tmp0_primitive = this.
|
|
2661
|
+
var tmp0_primitive = this.z13(tag);
|
|
2662
2662
|
try {
|
|
2663
2663
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
2664
2664
|
var result = get_int(tmp0_primitive);
|
|
@@ -2689,14 +2689,14 @@
|
|
|
2689
2689
|
}
|
|
2690
2690
|
return tmp$ret$1;
|
|
2691
2691
|
};
|
|
2692
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2693
|
-
return this.
|
|
2692
|
+
protoOf(AbstractJsonTreeDecoder).aw = function (tag) {
|
|
2693
|
+
return this.e14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2694
2694
|
};
|
|
2695
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2695
|
+
protoOf(AbstractJsonTreeDecoder).f14 = function (tag) {
|
|
2696
2696
|
var tmp$ret$1;
|
|
2697
2697
|
$l$block: {
|
|
2698
2698
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2699
|
-
var tmp0_primitive = this.
|
|
2699
|
+
var tmp0_primitive = this.z13(tag);
|
|
2700
2700
|
try {
|
|
2701
2701
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
2702
2702
|
var tmp0_elvis_lhs = get_int(tmp0_primitive);
|
|
@@ -2719,14 +2719,14 @@
|
|
|
2719
2719
|
}
|
|
2720
2720
|
return tmp$ret$1;
|
|
2721
2721
|
};
|
|
2722
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2723
|
-
return this.
|
|
2722
|
+
protoOf(AbstractJsonTreeDecoder).bw = function (tag) {
|
|
2723
|
+
return this.f14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2724
2724
|
};
|
|
2725
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2725
|
+
protoOf(AbstractJsonTreeDecoder).g14 = function (tag) {
|
|
2726
2726
|
var tmp$ret$1;
|
|
2727
2727
|
$l$block: {
|
|
2728
2728
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2729
|
-
var tmp0_primitive = this.
|
|
2729
|
+
var tmp0_primitive = this.z13(tag);
|
|
2730
2730
|
try {
|
|
2731
2731
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
2732
2732
|
var tmp0_elvis_lhs = get_long(tmp0_primitive);
|
|
@@ -2749,14 +2749,14 @@
|
|
|
2749
2749
|
}
|
|
2750
2750
|
return tmp$ret$1;
|
|
2751
2751
|
};
|
|
2752
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2753
|
-
return this.
|
|
2752
|
+
protoOf(AbstractJsonTreeDecoder).cw = function (tag) {
|
|
2753
|
+
return this.g14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2754
2754
|
};
|
|
2755
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2755
|
+
protoOf(AbstractJsonTreeDecoder).h14 = function (tag) {
|
|
2756
2756
|
var tmp$ret$1;
|
|
2757
2757
|
$l$block: {
|
|
2758
2758
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2759
|
-
var tmp0_primitive = this.
|
|
2759
|
+
var tmp0_primitive = this.z13(tag);
|
|
2760
2760
|
try {
|
|
2761
2761
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
2762
2762
|
var tmp0_elvis_lhs = get_float(tmp0_primitive);
|
|
@@ -2778,19 +2778,19 @@
|
|
|
2778
2778
|
}
|
|
2779
2779
|
}
|
|
2780
2780
|
var result = tmp$ret$1;
|
|
2781
|
-
var specialFp = this.
|
|
2781
|
+
var specialFp = this.sz().zx_1.pz_1;
|
|
2782
2782
|
if (specialFp ? true : isFinite(result))
|
|
2783
2783
|
return result;
|
|
2784
2784
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
2785
2785
|
};
|
|
2786
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2787
|
-
return this.
|
|
2786
|
+
protoOf(AbstractJsonTreeDecoder).dw = function (tag) {
|
|
2787
|
+
return this.h14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2788
2788
|
};
|
|
2789
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2789
|
+
protoOf(AbstractJsonTreeDecoder).i14 = function (tag) {
|
|
2790
2790
|
var tmp$ret$1;
|
|
2791
2791
|
$l$block: {
|
|
2792
2792
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2793
|
-
var tmp0_primitive = this.
|
|
2793
|
+
var tmp0_primitive = this.z13(tag);
|
|
2794
2794
|
try {
|
|
2795
2795
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
2796
2796
|
var tmp0_elvis_lhs = get_double(tmp0_primitive);
|
|
@@ -2812,22 +2812,22 @@
|
|
|
2812
2812
|
}
|
|
2813
2813
|
}
|
|
2814
2814
|
var result = tmp$ret$1;
|
|
2815
|
-
var specialFp = this.
|
|
2815
|
+
var specialFp = this.sz().zx_1.pz_1;
|
|
2816
2816
|
if (specialFp ? true : isFinite_0(result))
|
|
2817
2817
|
return result;
|
|
2818
2818
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
2819
2819
|
};
|
|
2820
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2821
|
-
return this.
|
|
2820
|
+
protoOf(AbstractJsonTreeDecoder).ew = function (tag) {
|
|
2821
|
+
return this.i14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2822
2822
|
};
|
|
2823
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2823
|
+
protoOf(AbstractJsonTreeDecoder).j14 = function (tag) {
|
|
2824
2824
|
var tmp$ret$1;
|
|
2825
2825
|
$l$block: {
|
|
2826
2826
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2827
|
-
var tmp0_primitive = this.
|
|
2827
|
+
var tmp0_primitive = this.z13(tag);
|
|
2828
2828
|
try {
|
|
2829
2829
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
2830
|
-
var tmp0_elvis_lhs = single(tmp0_primitive.
|
|
2830
|
+
var tmp0_elvis_lhs = single(tmp0_primitive.uz());
|
|
2831
2831
|
var tmp;
|
|
2832
2832
|
var tmp_0 = tmp0_elvis_lhs;
|
|
2833
2833
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
@@ -2848,42 +2848,42 @@
|
|
|
2848
2848
|
}
|
|
2849
2849
|
return tmp$ret$1;
|
|
2850
2850
|
};
|
|
2851
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2852
|
-
return this.
|
|
2851
|
+
protoOf(AbstractJsonTreeDecoder).fw = function (tag) {
|
|
2852
|
+
return this.j14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2853
2853
|
};
|
|
2854
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2855
|
-
var value = this.
|
|
2856
|
-
if (!this.
|
|
2854
|
+
protoOf(AbstractJsonTreeDecoder).k14 = function (tag) {
|
|
2855
|
+
var value = this.z13(tag);
|
|
2856
|
+
if (!this.sz().zx_1.hz_1) {
|
|
2857
2857
|
var literal = asLiteral(value, this, 'string');
|
|
2858
|
-
if (!literal.
|
|
2858
|
+
if (!literal.e10_1)
|
|
2859
2859
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
2860
2860
|
}
|
|
2861
2861
|
if (value instanceof JsonNull)
|
|
2862
2862
|
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(currentObject(this)));
|
|
2863
|
-
return value.
|
|
2863
|
+
return value.uz();
|
|
2864
2864
|
};
|
|
2865
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2866
|
-
return this.
|
|
2865
|
+
protoOf(AbstractJsonTreeDecoder).gw = function (tag) {
|
|
2866
|
+
return this.k14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2867
2867
|
};
|
|
2868
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2869
|
-
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.
|
|
2868
|
+
protoOf(AbstractJsonTreeDecoder).l14 = function (tag, inlineDescriptor) {
|
|
2869
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.z13(tag).uz()), this.sz()) : protoOf(NamedValueDecoder).iw.call(this, tag, inlineDescriptor);
|
|
2870
2870
|
};
|
|
2871
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2872
|
-
return this.
|
|
2871
|
+
protoOf(AbstractJsonTreeDecoder).iw = function (tag, inlineDescriptor) {
|
|
2872
|
+
return this.l14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
2873
2873
|
};
|
|
2874
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2875
|
-
return !(this.
|
|
2874
|
+
protoOf(AbstractJsonTreeDecoder).yk = function (descriptor) {
|
|
2875
|
+
return !(this.uv() == null) ? protoOf(NamedValueDecoder).yk.call(this, descriptor) : (new JsonPrimitiveDecoder(this.sz(), this.y())).yk(descriptor);
|
|
2876
2876
|
};
|
|
2877
2877
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
2878
2878
|
var tmp$ret$1;
|
|
2879
2879
|
$l$block_2: {
|
|
2880
2880
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
2881
|
-
var tmp0_tryCoerceValue = $this.
|
|
2882
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
2881
|
+
var tmp0_tryCoerceValue = $this.sz();
|
|
2882
|
+
var tmp1_tryCoerceValue = descriptor.kj(index);
|
|
2883
2883
|
var tmp;
|
|
2884
|
-
if (!tmp1_tryCoerceValue.
|
|
2884
|
+
if (!tmp1_tryCoerceValue.aj()) {
|
|
2885
2885
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
2886
|
-
var tmp_0 = $this.
|
|
2886
|
+
var tmp_0 = $this.y13(tag);
|
|
2887
2887
|
tmp = tmp_0 instanceof JsonNull;
|
|
2888
2888
|
} else {
|
|
2889
2889
|
tmp = false;
|
|
@@ -2892,11 +2892,11 @@
|
|
|
2892
2892
|
tmp$ret$1 = true;
|
|
2893
2893
|
break $l$block_2;
|
|
2894
2894
|
}
|
|
2895
|
-
if (equals(tmp1_tryCoerceValue.
|
|
2895
|
+
if (equals(tmp1_tryCoerceValue.ij(), ENUM_getInstance())) {
|
|
2896
2896
|
var tmp_1;
|
|
2897
|
-
if (tmp1_tryCoerceValue.
|
|
2897
|
+
if (tmp1_tryCoerceValue.aj()) {
|
|
2898
2898
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
2899
|
-
var tmp_2 = $this.
|
|
2899
|
+
var tmp_2 = $this.y13(tag);
|
|
2900
2900
|
tmp_1 = tmp_2 instanceof JsonNull;
|
|
2901
2901
|
} else {
|
|
2902
2902
|
tmp_1 = false;
|
|
@@ -2906,7 +2906,7 @@
|
|
|
2906
2906
|
break $l$block_2;
|
|
2907
2907
|
}
|
|
2908
2908
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
2909
|
-
var tmp_3 = $this.
|
|
2909
|
+
var tmp_3 = $this.y13(tag);
|
|
2910
2910
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
2911
2911
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
2912
2912
|
var tmp_4;
|
|
@@ -2930,29 +2930,29 @@
|
|
|
2930
2930
|
return tmp$ret$1;
|
|
2931
2931
|
}
|
|
2932
2932
|
function absenceIsNull($this, descriptor, index) {
|
|
2933
|
-
$this.
|
|
2934
|
-
return $this.
|
|
2933
|
+
$this.v14_1 = (!$this.sz().zx_1.kz_1 ? !descriptor.nj(index) : false) ? descriptor.kj(index).aj() : false;
|
|
2934
|
+
return $this.v14_1;
|
|
2935
2935
|
}
|
|
2936
2936
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
2937
2937
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
2938
2938
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
2939
2939
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
2940
|
-
this.
|
|
2941
|
-
this.
|
|
2942
|
-
this.
|
|
2943
|
-
this.
|
|
2944
|
-
this.
|
|
2940
|
+
this.r14_1 = value;
|
|
2941
|
+
this.s14_1 = polyDiscriminator;
|
|
2942
|
+
this.t14_1 = polyDescriptor;
|
|
2943
|
+
this.u14_1 = 0;
|
|
2944
|
+
this.v14_1 = false;
|
|
2945
2945
|
}
|
|
2946
2946
|
protoOf(JsonTreeDecoder).y = function () {
|
|
2947
|
-
return this.
|
|
2948
|
-
};
|
|
2949
|
-
protoOf(JsonTreeDecoder).
|
|
2950
|
-
while (this.
|
|
2951
|
-
var tmp1 = this.
|
|
2952
|
-
this.
|
|
2953
|
-
var name = this.
|
|
2954
|
-
var index = this.
|
|
2955
|
-
this.
|
|
2947
|
+
return this.r14_1;
|
|
2948
|
+
};
|
|
2949
|
+
protoOf(JsonTreeDecoder).sl = function (descriptor) {
|
|
2950
|
+
while (this.u14_1 < descriptor.gj()) {
|
|
2951
|
+
var tmp1 = this.u14_1;
|
|
2952
|
+
this.u14_1 = tmp1 + 1 | 0;
|
|
2953
|
+
var name = this.pv(descriptor, tmp1);
|
|
2954
|
+
var index = this.u14_1 - 1 | 0;
|
|
2955
|
+
this.v14_1 = false;
|
|
2956
2956
|
var tmp;
|
|
2957
2957
|
var tmp_0;
|
|
2958
2958
|
// Inline function 'kotlin.collections.contains' call
|
|
@@ -2964,7 +2964,7 @@
|
|
|
2964
2964
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
2965
2965
|
}
|
|
2966
2966
|
if (tmp_0) {
|
|
2967
|
-
tmp = !this.
|
|
2967
|
+
tmp = !this.x13_1.mz_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
2968
2968
|
} else {
|
|
2969
2969
|
tmp = false;
|
|
2970
2970
|
}
|
|
@@ -2975,19 +2975,19 @@
|
|
|
2975
2975
|
Companion_getInstance();
|
|
2976
2976
|
return -1;
|
|
2977
2977
|
};
|
|
2978
|
-
protoOf(JsonTreeDecoder).
|
|
2979
|
-
return !this.
|
|
2978
|
+
protoOf(JsonTreeDecoder).mk = function () {
|
|
2979
|
+
return !this.v14_1 ? protoOf(AbstractJsonTreeDecoder).mk.call(this) : false;
|
|
2980
2980
|
};
|
|
2981
|
-
protoOf(JsonTreeDecoder).
|
|
2982
|
-
var strategy = namingStrategy(descriptor, this.
|
|
2983
|
-
var baseName = descriptor.
|
|
2981
|
+
protoOf(JsonTreeDecoder).qv = function (descriptor, index) {
|
|
2982
|
+
var strategy = namingStrategy(descriptor, this.sz());
|
|
2983
|
+
var baseName = descriptor.mj(index);
|
|
2984
2984
|
if (strategy == null) {
|
|
2985
|
-
if (!this.
|
|
2985
|
+
if (!this.x13_1.qz_1)
|
|
2986
2986
|
return baseName;
|
|
2987
2987
|
if (this.y().r2().t(baseName))
|
|
2988
2988
|
return baseName;
|
|
2989
2989
|
}
|
|
2990
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
2990
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.sz(), descriptor);
|
|
2991
2991
|
// Inline function 'kotlin.collections.find' call
|
|
2992
2992
|
var tmp0_find = this.y().r2();
|
|
2993
2993
|
var tmp$ret$1;
|
|
@@ -3012,38 +3012,38 @@
|
|
|
3012
3012
|
// Inline function 'kotlin.contracts.contract' call
|
|
3013
3013
|
return tmp0_safe_receiver;
|
|
3014
3014
|
}
|
|
3015
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3015
|
+
var fallbackName = strategy == null ? null : strategy.y10(descriptor, index, baseName);
|
|
3016
3016
|
return fallbackName == null ? baseName : fallbackName;
|
|
3017
3017
|
};
|
|
3018
|
-
protoOf(JsonTreeDecoder).
|
|
3018
|
+
protoOf(JsonTreeDecoder).y13 = function (tag) {
|
|
3019
3019
|
return getValue(this.y(), tag);
|
|
3020
3020
|
};
|
|
3021
|
-
protoOf(JsonTreeDecoder).
|
|
3022
|
-
if (descriptor === this.
|
|
3021
|
+
protoOf(JsonTreeDecoder).bl = function (descriptor) {
|
|
3022
|
+
if (descriptor === this.t14_1)
|
|
3023
3023
|
return this;
|
|
3024
|
-
return protoOf(AbstractJsonTreeDecoder).
|
|
3024
|
+
return protoOf(AbstractJsonTreeDecoder).bl.call(this, descriptor);
|
|
3025
3025
|
};
|
|
3026
|
-
protoOf(JsonTreeDecoder).
|
|
3026
|
+
protoOf(JsonTreeDecoder).cl = function (descriptor) {
|
|
3027
3027
|
var tmp;
|
|
3028
|
-
if (this.
|
|
3028
|
+
if (this.x13_1.gz_1) {
|
|
3029
3029
|
tmp = true;
|
|
3030
3030
|
} else {
|
|
3031
|
-
var tmp_0 = descriptor.
|
|
3031
|
+
var tmp_0 = descriptor.ij();
|
|
3032
3032
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3033
3033
|
}
|
|
3034
3034
|
if (tmp)
|
|
3035
3035
|
return Unit_getInstance();
|
|
3036
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3036
|
+
var strategy = namingStrategy(descriptor, this.sz());
|
|
3037
3037
|
var tmp_1;
|
|
3038
|
-
if (strategy == null ? !this.
|
|
3038
|
+
if (strategy == null ? !this.x13_1.qz_1 : false) {
|
|
3039
3039
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3040
3040
|
} else if (!(strategy == null)) {
|
|
3041
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3041
|
+
tmp_1 = deserializationNamesMap(this.sz(), descriptor).r2();
|
|
3042
3042
|
} else {
|
|
3043
3043
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3044
3044
|
var tmp$ret$0;
|
|
3045
3045
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3046
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3046
|
+
var tmp0_safe_receiver = get_schemaCache(this.sz()).y12(descriptor, get_JsonDeserializationNamesKey());
|
|
3047
3047
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r2();
|
|
3048
3048
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
3049
3049
|
tmp_1 = plus_0(tmp_2, tmp$ret$0);
|
|
@@ -3052,46 +3052,46 @@
|
|
|
3052
3052
|
var tmp1_iterator = this.y().r2().c();
|
|
3053
3053
|
while (tmp1_iterator.d()) {
|
|
3054
3054
|
var key = tmp1_iterator.e();
|
|
3055
|
-
if (!names.t(key) ? !(key === this.
|
|
3055
|
+
if (!names.t(key) ? !(key === this.s14_1) : false) {
|
|
3056
3056
|
throw UnknownKeyException(key, this.y().toString());
|
|
3057
3057
|
}
|
|
3058
3058
|
}
|
|
3059
3059
|
};
|
|
3060
3060
|
function JsonTreeListDecoder(json, value) {
|
|
3061
3061
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3062
|
-
this.
|
|
3063
|
-
this.
|
|
3064
|
-
this.
|
|
3062
|
+
this.b15_1 = value;
|
|
3063
|
+
this.c15_1 = this.b15_1.f();
|
|
3064
|
+
this.d15_1 = -1;
|
|
3065
3065
|
}
|
|
3066
3066
|
protoOf(JsonTreeListDecoder).y = function () {
|
|
3067
|
-
return this.
|
|
3067
|
+
return this.b15_1;
|
|
3068
3068
|
};
|
|
3069
|
-
protoOf(JsonTreeListDecoder).
|
|
3069
|
+
protoOf(JsonTreeListDecoder).qv = function (descriptor, index) {
|
|
3070
3070
|
return index.toString();
|
|
3071
3071
|
};
|
|
3072
|
-
protoOf(JsonTreeListDecoder).
|
|
3073
|
-
return this.
|
|
3072
|
+
protoOf(JsonTreeListDecoder).y13 = function (tag) {
|
|
3073
|
+
return this.b15_1.k(toInt(tag));
|
|
3074
3074
|
};
|
|
3075
|
-
protoOf(JsonTreeListDecoder).
|
|
3076
|
-
while (this.
|
|
3077
|
-
this.
|
|
3078
|
-
return this.
|
|
3075
|
+
protoOf(JsonTreeListDecoder).sl = function (descriptor) {
|
|
3076
|
+
while (this.d15_1 < (this.c15_1 - 1 | 0)) {
|
|
3077
|
+
this.d15_1 = this.d15_1 + 1 | 0;
|
|
3078
|
+
return this.d15_1;
|
|
3079
3079
|
}
|
|
3080
3080
|
Companion_getInstance();
|
|
3081
3081
|
return -1;
|
|
3082
3082
|
};
|
|
3083
3083
|
function JsonPrimitiveDecoder(json, value) {
|
|
3084
3084
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3085
|
-
this.
|
|
3086
|
-
this.
|
|
3085
|
+
this.j15_1 = value;
|
|
3086
|
+
this.jw(get_PRIMITIVE_TAG());
|
|
3087
3087
|
}
|
|
3088
3088
|
protoOf(JsonPrimitiveDecoder).y = function () {
|
|
3089
|
-
return this.
|
|
3089
|
+
return this.j15_1;
|
|
3090
3090
|
};
|
|
3091
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3091
|
+
protoOf(JsonPrimitiveDecoder).sl = function (descriptor) {
|
|
3092
3092
|
return 0;
|
|
3093
3093
|
};
|
|
3094
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3094
|
+
protoOf(JsonPrimitiveDecoder).y13 = function (tag) {
|
|
3095
3095
|
// Inline function 'kotlin.require' call
|
|
3096
3096
|
// Inline function 'kotlin.contracts.contract' call
|
|
3097
3097
|
if (!(tag === get_PRIMITIVE_TAG())) {
|
|
@@ -3099,37 +3099,37 @@
|
|
|
3099
3099
|
var message = "This input can only handle primitives with '" + get_PRIMITIVE_TAG() + "' tag";
|
|
3100
3100
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3101
3101
|
}
|
|
3102
|
-
return this.
|
|
3102
|
+
return this.j15_1;
|
|
3103
3103
|
};
|
|
3104
3104
|
function JsonTreeMapDecoder(json, value) {
|
|
3105
3105
|
JsonTreeDecoder.call(this, json, value);
|
|
3106
|
-
this.
|
|
3107
|
-
this.
|
|
3108
|
-
this.
|
|
3109
|
-
this.
|
|
3106
|
+
this.u15_1 = value;
|
|
3107
|
+
this.v15_1 = toList(this.u15_1.r2());
|
|
3108
|
+
this.w15_1 = imul(this.v15_1.f(), 2);
|
|
3109
|
+
this.x15_1 = -1;
|
|
3110
3110
|
}
|
|
3111
3111
|
protoOf(JsonTreeMapDecoder).y = function () {
|
|
3112
|
-
return this.
|
|
3112
|
+
return this.u15_1;
|
|
3113
3113
|
};
|
|
3114
|
-
protoOf(JsonTreeMapDecoder).
|
|
3114
|
+
protoOf(JsonTreeMapDecoder).qv = function (descriptor, index) {
|
|
3115
3115
|
var i = index / 2 | 0;
|
|
3116
|
-
return this.
|
|
3116
|
+
return this.v15_1.k(i);
|
|
3117
3117
|
};
|
|
3118
|
-
protoOf(JsonTreeMapDecoder).
|
|
3119
|
-
while (this.
|
|
3120
|
-
this.
|
|
3121
|
-
return this.
|
|
3118
|
+
protoOf(JsonTreeMapDecoder).sl = function (descriptor) {
|
|
3119
|
+
while (this.x15_1 < (this.w15_1 - 1 | 0)) {
|
|
3120
|
+
this.x15_1 = this.x15_1 + 1 | 0;
|
|
3121
|
+
return this.x15_1;
|
|
3122
3122
|
}
|
|
3123
3123
|
Companion_getInstance();
|
|
3124
3124
|
return -1;
|
|
3125
3125
|
};
|
|
3126
|
-
protoOf(JsonTreeMapDecoder).
|
|
3127
|
-
return (this.
|
|
3126
|
+
protoOf(JsonTreeMapDecoder).y13 = function (tag) {
|
|
3127
|
+
return (this.x15_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.u15_1, tag);
|
|
3128
3128
|
};
|
|
3129
|
-
protoOf(JsonTreeMapDecoder).
|
|
3129
|
+
protoOf(JsonTreeMapDecoder).cl = function (descriptor) {
|
|
3130
3130
|
};
|
|
3131
3131
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
3132
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
3132
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.di())).al(deserializer);
|
|
3133
3133
|
}
|
|
3134
3134
|
function get_PRIMITIVE_TAG() {
|
|
3135
3135
|
return PRIMITIVE_TAG;
|
|
@@ -3151,11 +3151,11 @@
|
|
|
3151
3151
|
}
|
|
3152
3152
|
function WriteMode(name, ordinal, begin, end) {
|
|
3153
3153
|
Enum.call(this, name, ordinal);
|
|
3154
|
-
this.
|
|
3155
|
-
this.
|
|
3154
|
+
this.l13_1 = begin;
|
|
3155
|
+
this.m13_1 = end;
|
|
3156
3156
|
}
|
|
3157
3157
|
function switchMode(_this__u8e3s4, desc) {
|
|
3158
|
-
var tmp0_subject = desc.
|
|
3158
|
+
var tmp0_subject = desc.ij();
|
|
3159
3159
|
var tmp;
|
|
3160
3160
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
3161
3161
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -3165,8 +3165,8 @@
|
|
|
3165
3165
|
} else {
|
|
3166
3166
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3167
3167
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3168
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
3169
|
-
var keyKind = keyDescriptor.
|
|
3168
|
+
var keyDescriptor = carrierDescriptor(desc.kj(0), _this__u8e3s4.ql());
|
|
3169
|
+
var keyKind = keyDescriptor.ij();
|
|
3170
3170
|
var tmp_0;
|
|
3171
3171
|
var tmp_1;
|
|
3172
3172
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3178,7 +3178,7 @@
|
|
|
3178
3178
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3179
3179
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
3180
3180
|
} else {
|
|
3181
|
-
if (_this__u8e3s4.
|
|
3181
|
+
if (_this__u8e3s4.zx_1.iz_1) {
|
|
3182
3182
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3183
3183
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
3184
3184
|
} else {
|
|
@@ -3195,12 +3195,12 @@
|
|
|
3195
3195
|
}
|
|
3196
3196
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
3197
3197
|
var tmp;
|
|
3198
|
-
if (equals(_this__u8e3s4.
|
|
3198
|
+
if (equals(_this__u8e3s4.ij(), CONTEXTUAL_getInstance())) {
|
|
3199
3199
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
3200
3200
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
3201
3201
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
3202
|
-
} else if (_this__u8e3s4.
|
|
3203
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
3202
|
+
} else if (_this__u8e3s4.hj()) {
|
|
3203
|
+
tmp = carrierDescriptor(_this__u8e3s4.kj(0), module_0);
|
|
3204
3204
|
} else {
|
|
3205
3205
|
tmp = _this__u8e3s4;
|
|
3206
3206
|
}
|
|
@@ -3223,59 +3223,59 @@
|
|
|
3223
3223
|
return WriteMode_POLY_OBJ_instance;
|
|
3224
3224
|
}
|
|
3225
3225
|
function appendEscape($this, lastPosition, current) {
|
|
3226
|
-
$this.
|
|
3226
|
+
$this.y15(lastPosition, current);
|
|
3227
3227
|
return appendEsc($this, current + 1 | 0);
|
|
3228
3228
|
}
|
|
3229
3229
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3230
|
-
$this.
|
|
3231
|
-
var result = $this.
|
|
3232
|
-
$this.
|
|
3230
|
+
$this.y15(lastPosition, currentPosition);
|
|
3231
|
+
var result = $this.py_1.toString();
|
|
3232
|
+
$this.py_1.ze(0);
|
|
3233
3233
|
return result;
|
|
3234
3234
|
}
|
|
3235
3235
|
function takePeeked($this) {
|
|
3236
3236
|
// Inline function 'kotlin.also' call
|
|
3237
|
-
var tmp0_also = ensureNotNull($this.
|
|
3237
|
+
var tmp0_also = ensureNotNull($this.oy_1);
|
|
3238
3238
|
// Inline function 'kotlin.contracts.contract' call
|
|
3239
3239
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
3240
|
-
$this.
|
|
3240
|
+
$this.oy_1 = null;
|
|
3241
3241
|
return tmp0_also;
|
|
3242
3242
|
}
|
|
3243
3243
|
function wasUnquotedString($this) {
|
|
3244
|
-
return !(charSequenceGet($this.
|
|
3244
|
+
return !(charSequenceGet($this.z15(), $this.my_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
3245
3245
|
}
|
|
3246
3246
|
function appendEsc($this, startPosition) {
|
|
3247
3247
|
var currentPosition = startPosition;
|
|
3248
|
-
currentPosition = $this.
|
|
3248
|
+
currentPosition = $this.a16(currentPosition);
|
|
3249
3249
|
if (currentPosition === -1) {
|
|
3250
|
-
$this.
|
|
3250
|
+
$this.u10('Expected escape sequence to continue, got EOF');
|
|
3251
3251
|
}
|
|
3252
|
-
var tmp = $this.
|
|
3252
|
+
var tmp = $this.z15();
|
|
3253
3253
|
var tmp0 = currentPosition;
|
|
3254
3254
|
currentPosition = tmp0 + 1 | 0;
|
|
3255
3255
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
3256
3256
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
3257
|
-
return appendHex($this, $this.
|
|
3257
|
+
return appendHex($this, $this.z15(), currentPosition);
|
|
3258
3258
|
}
|
|
3259
3259
|
var tmp$ret$0;
|
|
3260
3260
|
// Inline function 'kotlin.code' call
|
|
3261
3261
|
tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3262
3262
|
var c = escapeToChar(tmp$ret$0);
|
|
3263
3263
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
3264
|
-
$this.
|
|
3264
|
+
$this.u10("Invalid escaped char '" + new Char(currentChar) + "'");
|
|
3265
3265
|
}
|
|
3266
|
-
$this.
|
|
3266
|
+
$this.py_1.z5(c);
|
|
3267
3267
|
return currentPosition;
|
|
3268
3268
|
}
|
|
3269
3269
|
function appendHex($this, source, startPos) {
|
|
3270
3270
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3271
|
-
$this.
|
|
3272
|
-
$this.
|
|
3273
|
-
if (($this.
|
|
3274
|
-
$this.
|
|
3271
|
+
$this.my_1 = startPos;
|
|
3272
|
+
$this.b16();
|
|
3273
|
+
if (($this.my_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3274
|
+
$this.u10('Unexpected EOF during unicode escape');
|
|
3275
3275
|
}
|
|
3276
|
-
return appendHex($this, source, $this.
|
|
3276
|
+
return appendHex($this, source, $this.my_1);
|
|
3277
3277
|
}
|
|
3278
|
-
$this.
|
|
3278
|
+
$this.py_1.z5(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));
|
|
3279
3279
|
return startPos + 4 | 0;
|
|
3280
3280
|
}
|
|
3281
3281
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -3297,17 +3297,17 @@
|
|
|
3297
3297
|
// Inline function 'kotlin.code' call
|
|
3298
3298
|
tmp = (tmp_2 - 65 | 0) + 10 | 0;
|
|
3299
3299
|
} else {
|
|
3300
|
-
$this.
|
|
3300
|
+
$this.u10("Invalid toHexChar char '" + new Char(character) + "' in unicode escape");
|
|
3301
3301
|
}
|
|
3302
3302
|
return tmp;
|
|
3303
3303
|
}
|
|
3304
3304
|
function consumeBoolean($this, start) {
|
|
3305
|
-
var current = $this.
|
|
3306
|
-
if (current >= charSequenceLength($this.
|
|
3307
|
-
$this.
|
|
3305
|
+
var current = $this.a16(start);
|
|
3306
|
+
if (current >= charSequenceLength($this.z15()) ? true : current === -1) {
|
|
3307
|
+
$this.u10('EOF');
|
|
3308
3308
|
}
|
|
3309
3309
|
// Inline function 'kotlin.code' call
|
|
3310
|
-
var tmp = $this.
|
|
3310
|
+
var tmp = $this.z15();
|
|
3311
3311
|
var tmp0 = current;
|
|
3312
3312
|
current = tmp0 + 1 | 0;
|
|
3313
3313
|
var tmp0_get_code_gknlva = charSequenceGet(tmp, tmp0);
|
|
@@ -3323,14 +3323,14 @@
|
|
|
3323
3323
|
consumeBooleanLiteral($this, 'alse', current);
|
|
3324
3324
|
tmp_0 = false;
|
|
3325
3325
|
} else {
|
|
3326
|
-
$this.
|
|
3326
|
+
$this.u10("Expected valid boolean literal prefix, but had '" + $this.p11() + "'");
|
|
3327
3327
|
}
|
|
3328
3328
|
}
|
|
3329
3329
|
return tmp_0;
|
|
3330
3330
|
}
|
|
3331
3331
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
3332
|
-
if ((charSequenceLength($this.
|
|
3333
|
-
$this.
|
|
3332
|
+
if ((charSequenceLength($this.z15()) - current | 0) < literalSuffix.length) {
|
|
3333
|
+
$this.u10('Unexpected end of boolean literal');
|
|
3334
3334
|
}
|
|
3335
3335
|
var inductionVariable = 0;
|
|
3336
3336
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -3339,47 +3339,47 @@
|
|
|
3339
3339
|
var i = inductionVariable;
|
|
3340
3340
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3341
3341
|
var expected = charSequenceGet(literalSuffix, i);
|
|
3342
|
-
var actual = charSequenceGet($this.
|
|
3342
|
+
var actual = charSequenceGet($this.z15(), current + i | 0);
|
|
3343
3343
|
// Inline function 'kotlin.code' call
|
|
3344
3344
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
3345
3345
|
// Inline function 'kotlin.code' call
|
|
3346
3346
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
3347
|
-
$this.
|
|
3347
|
+
$this.u10("Expected valid boolean literal prefix, but had '" + $this.p11() + "'");
|
|
3348
3348
|
}
|
|
3349
3349
|
}
|
|
3350
3350
|
while (inductionVariable <= last);
|
|
3351
|
-
$this.
|
|
3351
|
+
$this.my_1 = current + literalSuffix.length | 0;
|
|
3352
3352
|
}
|
|
3353
3353
|
function AbstractJsonLexer() {
|
|
3354
|
-
this.
|
|
3355
|
-
this.
|
|
3356
|
-
this.
|
|
3357
|
-
this.
|
|
3354
|
+
this.my_1 = 0;
|
|
3355
|
+
this.ny_1 = new JsonPath();
|
|
3356
|
+
this.oy_1 = null;
|
|
3357
|
+
this.py_1 = StringBuilder_init_$Create$();
|
|
3358
3358
|
}
|
|
3359
|
-
protoOf(AbstractJsonLexer).
|
|
3359
|
+
protoOf(AbstractJsonLexer).b16 = function () {
|
|
3360
3360
|
};
|
|
3361
|
-
protoOf(AbstractJsonLexer).
|
|
3361
|
+
protoOf(AbstractJsonLexer).c16 = function (c) {
|
|
3362
3362
|
return (((c === _Char___init__impl__6a9atx(125) ? true : c === _Char___init__impl__6a9atx(93)) ? true : c === _Char___init__impl__6a9atx(58)) ? true : c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
3363
3363
|
};
|
|
3364
|
-
protoOf(AbstractJsonLexer).
|
|
3365
|
-
var nextToken = this.
|
|
3364
|
+
protoOf(AbstractJsonLexer).qy = function () {
|
|
3365
|
+
var nextToken = this.r11();
|
|
3366
3366
|
if (!(nextToken === 10)) {
|
|
3367
|
-
this.
|
|
3367
|
+
this.u10('Expected EOF after parsing, but had ' + new Char(charSequenceGet(this.z15(), this.my_1 - 1 | 0)) + ' instead');
|
|
3368
3368
|
}
|
|
3369
3369
|
};
|
|
3370
|
-
protoOf(AbstractJsonLexer).
|
|
3371
|
-
var token = this.
|
|
3370
|
+
protoOf(AbstractJsonLexer).l11 = function (expected) {
|
|
3371
|
+
var token = this.r11();
|
|
3372
3372
|
if (!(token === expected)) {
|
|
3373
|
-
this.
|
|
3373
|
+
this.d16(expected);
|
|
3374
3374
|
}
|
|
3375
3375
|
return token;
|
|
3376
3376
|
};
|
|
3377
|
-
protoOf(AbstractJsonLexer).
|
|
3378
|
-
this.
|
|
3379
|
-
var source = this.
|
|
3380
|
-
var cpos = this.
|
|
3377
|
+
protoOf(AbstractJsonLexer).a13 = function (expected) {
|
|
3378
|
+
this.b16();
|
|
3379
|
+
var source = this.z15();
|
|
3380
|
+
var cpos = this.my_1;
|
|
3381
3381
|
$l$loop_0: while (true) {
|
|
3382
|
-
cpos = this.
|
|
3382
|
+
cpos = this.a16(cpos);
|
|
3383
3383
|
if (cpos === -1)
|
|
3384
3384
|
break $l$loop_0;
|
|
3385
3385
|
var tmp0 = cpos;
|
|
@@ -3387,31 +3387,31 @@
|
|
|
3387
3387
|
var c = charSequenceGet(source, tmp0);
|
|
3388
3388
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
3389
3389
|
continue $l$loop_0;
|
|
3390
|
-
this.
|
|
3390
|
+
this.my_1 = cpos;
|
|
3391
3391
|
if (c === expected)
|
|
3392
3392
|
return Unit_getInstance();
|
|
3393
|
-
this.
|
|
3393
|
+
this.e16(expected);
|
|
3394
3394
|
}
|
|
3395
|
-
this.
|
|
3396
|
-
this.
|
|
3395
|
+
this.my_1 = cpos;
|
|
3396
|
+
this.e16(expected);
|
|
3397
3397
|
};
|
|
3398
|
-
protoOf(AbstractJsonLexer).
|
|
3399
|
-
this.
|
|
3400
|
-
if ((this.
|
|
3401
|
-
this.
|
|
3398
|
+
protoOf(AbstractJsonLexer).e16 = function (expected) {
|
|
3399
|
+
this.my_1 = this.my_1 - 1 | 0;
|
|
3400
|
+
if ((this.my_1 >= 0 ? expected === _Char___init__impl__6a9atx(34) : false) ? this.p11() === 'null' : false) {
|
|
3401
|
+
this.f16("Expected string literal but 'null' literal was found", this.my_1 - 4 | 0, "Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.");
|
|
3402
3402
|
}
|
|
3403
|
-
this.
|
|
3403
|
+
this.d16(charToTokenClass(expected));
|
|
3404
3404
|
};
|
|
3405
|
-
protoOf(AbstractJsonLexer).
|
|
3405
|
+
protoOf(AbstractJsonLexer).d16 = function (expectedToken) {
|
|
3406
3406
|
var expected = expectedToken === 1 ? "quotation mark '\"'" : expectedToken === 4 ? "comma ','" : expectedToken === 5 ? "colon ':'" : expectedToken === 6 ? "start of the object '{'" : expectedToken === 7 ? "end of the object '}'" : expectedToken === 8 ? "start of the array '['" : expectedToken === 9 ? "end of the array ']'" : 'valid token';
|
|
3407
|
-
var s = (this.
|
|
3408
|
-
this.
|
|
3407
|
+
var s = (this.my_1 === charSequenceLength(this.z15()) ? true : this.my_1 <= 0) ? 'EOF' : toString_0(charSequenceGet(this.z15(), this.my_1 - 1 | 0));
|
|
3408
|
+
this.u10('Expected ' + expected + ", but had '" + s + "' instead", this.my_1 - 1 | 0);
|
|
3409
3409
|
};
|
|
3410
|
-
protoOf(AbstractJsonLexer).
|
|
3411
|
-
var source = this.
|
|
3412
|
-
var cpos = this.
|
|
3410
|
+
protoOf(AbstractJsonLexer).m11 = function () {
|
|
3411
|
+
var source = this.z15();
|
|
3412
|
+
var cpos = this.my_1;
|
|
3413
3413
|
$l$loop_0: while (true) {
|
|
3414
|
-
cpos = this.
|
|
3414
|
+
cpos = this.a16(cpos);
|
|
3415
3415
|
if (cpos === -1)
|
|
3416
3416
|
break $l$loop_0;
|
|
3417
3417
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -3419,16 +3419,16 @@
|
|
|
3419
3419
|
cpos = cpos + 1 | 0;
|
|
3420
3420
|
continue $l$loop_0;
|
|
3421
3421
|
}
|
|
3422
|
-
this.
|
|
3422
|
+
this.my_1 = cpos;
|
|
3423
3423
|
return charToTokenClass(ch);
|
|
3424
3424
|
}
|
|
3425
|
-
this.
|
|
3425
|
+
this.my_1 = cpos;
|
|
3426
3426
|
return 10;
|
|
3427
3427
|
};
|
|
3428
|
-
protoOf(AbstractJsonLexer).
|
|
3429
|
-
var current = this.
|
|
3430
|
-
current = this.
|
|
3431
|
-
var len = charSequenceLength(this.
|
|
3428
|
+
protoOf(AbstractJsonLexer).c13 = function (doConsume) {
|
|
3429
|
+
var current = this.g16();
|
|
3430
|
+
current = this.a16(current);
|
|
3431
|
+
var len = charSequenceLength(this.z15()) - current | 0;
|
|
3432
3432
|
if (len < 4 ? true : current === -1)
|
|
3433
3433
|
return false;
|
|
3434
3434
|
var inductionVariable = 0;
|
|
@@ -3436,63 +3436,63 @@
|
|
|
3436
3436
|
do {
|
|
3437
3437
|
var i = inductionVariable;
|
|
3438
3438
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3439
|
-
if (!(charSequenceGet('null', i) === charSequenceGet(this.
|
|
3439
|
+
if (!(charSequenceGet('null', i) === charSequenceGet(this.z15(), current + i | 0)))
|
|
3440
3440
|
return false;
|
|
3441
3441
|
}
|
|
3442
3442
|
while (inductionVariable <= 3);
|
|
3443
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
3443
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.z15(), current + 4 | 0)) === 0 : false)
|
|
3444
3444
|
return false;
|
|
3445
3445
|
if (doConsume) {
|
|
3446
|
-
this.
|
|
3446
|
+
this.my_1 = current + 4 | 0;
|
|
3447
3447
|
}
|
|
3448
3448
|
return true;
|
|
3449
3449
|
};
|
|
3450
|
-
protoOf(AbstractJsonLexer).
|
|
3450
|
+
protoOf(AbstractJsonLexer).n13 = function (doConsume, $super) {
|
|
3451
3451
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
3452
|
-
return $super === VOID ? this.
|
|
3452
|
+
return $super === VOID ? this.c13(doConsume) : $super.c13.call(this, doConsume);
|
|
3453
3453
|
};
|
|
3454
|
-
protoOf(AbstractJsonLexer).
|
|
3455
|
-
var current = this.
|
|
3454
|
+
protoOf(AbstractJsonLexer).g16 = function () {
|
|
3455
|
+
var current = this.my_1;
|
|
3456
3456
|
$l$loop_0: while (true) {
|
|
3457
|
-
current = this.
|
|
3457
|
+
current = this.a16(current);
|
|
3458
3458
|
if (current === -1)
|
|
3459
3459
|
break $l$loop_0;
|
|
3460
|
-
var c = charSequenceGet(this.
|
|
3460
|
+
var c = charSequenceGet(this.z15(), current);
|
|
3461
3461
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
3462
3462
|
current = current + 1 | 0;
|
|
3463
3463
|
} else {
|
|
3464
3464
|
break $l$loop_0;
|
|
3465
3465
|
}
|
|
3466
3466
|
}
|
|
3467
|
-
this.
|
|
3467
|
+
this.my_1 = current;
|
|
3468
3468
|
return current;
|
|
3469
3469
|
};
|
|
3470
|
-
protoOf(AbstractJsonLexer).
|
|
3471
|
-
var token = this.
|
|
3470
|
+
protoOf(AbstractJsonLexer).d13 = function (isLenient) {
|
|
3471
|
+
var token = this.m11();
|
|
3472
3472
|
var tmp;
|
|
3473
3473
|
if (isLenient) {
|
|
3474
3474
|
if (!(token === 1) ? !(token === 0) : false)
|
|
3475
3475
|
return null;
|
|
3476
|
-
tmp = this.
|
|
3476
|
+
tmp = this.p11();
|
|
3477
3477
|
} else {
|
|
3478
3478
|
if (!(token === 1))
|
|
3479
3479
|
return null;
|
|
3480
|
-
tmp = this.
|
|
3480
|
+
tmp = this.o11();
|
|
3481
3481
|
}
|
|
3482
3482
|
var string = tmp;
|
|
3483
|
-
this.
|
|
3483
|
+
this.oy_1 = string;
|
|
3484
3484
|
return string;
|
|
3485
3485
|
};
|
|
3486
|
-
protoOf(AbstractJsonLexer).
|
|
3486
|
+
protoOf(AbstractJsonLexer).h16 = function (startPos, endPos) {
|
|
3487
3487
|
// Inline function 'kotlin.text.substring' call
|
|
3488
|
-
var tmp0_substring = this.
|
|
3488
|
+
var tmp0_substring = this.z15();
|
|
3489
3489
|
return toString(charSequenceSubSequence(tmp0_substring, startPos, endPos));
|
|
3490
3490
|
};
|
|
3491
|
-
protoOf(AbstractJsonLexer).
|
|
3492
|
-
if (!(this.
|
|
3491
|
+
protoOf(AbstractJsonLexer).o11 = function () {
|
|
3492
|
+
if (!(this.oy_1 == null)) {
|
|
3493
3493
|
return takePeeked(this);
|
|
3494
3494
|
}
|
|
3495
|
-
return this.
|
|
3495
|
+
return this.g13();
|
|
3496
3496
|
};
|
|
3497
3497
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
3498
3498
|
var currentPosition = current;
|
|
@@ -3502,19 +3502,19 @@
|
|
|
3502
3502
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
3503
3503
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
3504
3504
|
usedAppend = true;
|
|
3505
|
-
currentPosition = this.
|
|
3505
|
+
currentPosition = this.a16(appendEscape(this, lastPosition, currentPosition));
|
|
3506
3506
|
if (currentPosition === -1) {
|
|
3507
|
-
this.
|
|
3507
|
+
this.u10('EOF', currentPosition);
|
|
3508
3508
|
}
|
|
3509
3509
|
lastPosition = currentPosition;
|
|
3510
3510
|
} else {
|
|
3511
3511
|
currentPosition = currentPosition + 1 | 0;
|
|
3512
3512
|
if (currentPosition >= charSequenceLength(source)) {
|
|
3513
3513
|
usedAppend = true;
|
|
3514
|
-
this.
|
|
3515
|
-
currentPosition = this.
|
|
3514
|
+
this.y15(lastPosition, currentPosition);
|
|
3515
|
+
currentPosition = this.a16(currentPosition);
|
|
3516
3516
|
if (currentPosition === -1) {
|
|
3517
|
-
this.
|
|
3517
|
+
this.u10('EOF', currentPosition);
|
|
3518
3518
|
}
|
|
3519
3519
|
lastPosition = currentPosition;
|
|
3520
3520
|
}
|
|
@@ -3523,45 +3523,45 @@
|
|
|
3523
3523
|
}
|
|
3524
3524
|
var tmp;
|
|
3525
3525
|
if (!usedAppend) {
|
|
3526
|
-
tmp = this.
|
|
3526
|
+
tmp = this.h16(lastPosition, currentPosition);
|
|
3527
3527
|
} else {
|
|
3528
3528
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
3529
3529
|
}
|
|
3530
3530
|
var string = tmp;
|
|
3531
|
-
this.
|
|
3531
|
+
this.my_1 = currentPosition + 1 | 0;
|
|
3532
3532
|
return string;
|
|
3533
3533
|
};
|
|
3534
|
-
protoOf(AbstractJsonLexer).
|
|
3535
|
-
var result = this.
|
|
3534
|
+
protoOf(AbstractJsonLexer).h13 = function () {
|
|
3535
|
+
var result = this.p11();
|
|
3536
3536
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
3537
|
-
this.
|
|
3537
|
+
this.u10("Unexpected 'null' value instead of string literal");
|
|
3538
3538
|
}
|
|
3539
3539
|
return result;
|
|
3540
3540
|
};
|
|
3541
|
-
protoOf(AbstractJsonLexer).
|
|
3542
|
-
if (!(this.
|
|
3541
|
+
protoOf(AbstractJsonLexer).p11 = function () {
|
|
3542
|
+
if (!(this.oy_1 == null)) {
|
|
3543
3543
|
return takePeeked(this);
|
|
3544
3544
|
}
|
|
3545
|
-
var current = this.
|
|
3546
|
-
if (current >= charSequenceLength(this.
|
|
3547
|
-
this.
|
|
3545
|
+
var current = this.g16();
|
|
3546
|
+
if (current >= charSequenceLength(this.z15()) ? true : current === -1) {
|
|
3547
|
+
this.u10('EOF', current);
|
|
3548
3548
|
}
|
|
3549
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
3549
|
+
var token = charToTokenClass(charSequenceGet(this.z15(), current));
|
|
3550
3550
|
if (token === 1) {
|
|
3551
|
-
return this.
|
|
3551
|
+
return this.o11();
|
|
3552
3552
|
}
|
|
3553
3553
|
if (!(token === 0)) {
|
|
3554
|
-
this.
|
|
3554
|
+
this.u10('Expected beginning of the string, but got ' + new Char(charSequenceGet(this.z15(), current)));
|
|
3555
3555
|
}
|
|
3556
3556
|
var usedAppend = false;
|
|
3557
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
3557
|
+
while (charToTokenClass(charSequenceGet(this.z15(), current)) === 0) {
|
|
3558
3558
|
current = current + 1 | 0;
|
|
3559
|
-
if (current >= charSequenceLength(this.
|
|
3559
|
+
if (current >= charSequenceLength(this.z15())) {
|
|
3560
3560
|
usedAppend = true;
|
|
3561
|
-
this.
|
|
3562
|
-
var eof = this.
|
|
3561
|
+
this.y15(this.my_1, current);
|
|
3562
|
+
var eof = this.a16(current);
|
|
3563
3563
|
if (eof === -1) {
|
|
3564
|
-
this.
|
|
3564
|
+
this.my_1 = current;
|
|
3565
3565
|
return decodedString(this, 0, 0);
|
|
3566
3566
|
} else {
|
|
3567
3567
|
current = eof;
|
|
@@ -3570,32 +3570,32 @@
|
|
|
3570
3570
|
}
|
|
3571
3571
|
var tmp;
|
|
3572
3572
|
if (!usedAppend) {
|
|
3573
|
-
tmp = this.
|
|
3573
|
+
tmp = this.h16(this.my_1, current);
|
|
3574
3574
|
} else {
|
|
3575
|
-
tmp = decodedString(this, this.
|
|
3575
|
+
tmp = decodedString(this, this.my_1, current);
|
|
3576
3576
|
}
|
|
3577
3577
|
var result = tmp;
|
|
3578
|
-
this.
|
|
3578
|
+
this.my_1 = current;
|
|
3579
3579
|
return result;
|
|
3580
3580
|
};
|
|
3581
|
-
protoOf(AbstractJsonLexer).
|
|
3582
|
-
this.
|
|
3581
|
+
protoOf(AbstractJsonLexer).y15 = function (fromIndex, toIndex) {
|
|
3582
|
+
this.py_1.ye(this.z15(), fromIndex, toIndex);
|
|
3583
3583
|
};
|
|
3584
|
-
protoOf(AbstractJsonLexer).
|
|
3584
|
+
protoOf(AbstractJsonLexer).f13 = function (allowLenientStrings) {
|
|
3585
3585
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3586
3586
|
var tokenStack = ArrayList_init_$Create$();
|
|
3587
|
-
var lastToken = this.
|
|
3587
|
+
var lastToken = this.m11();
|
|
3588
3588
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
3589
|
-
this.
|
|
3589
|
+
this.p11();
|
|
3590
3590
|
return Unit_getInstance();
|
|
3591
3591
|
}
|
|
3592
3592
|
$l$loop: while (true) {
|
|
3593
|
-
lastToken = this.
|
|
3593
|
+
lastToken = this.m11();
|
|
3594
3594
|
if (lastToken === 1) {
|
|
3595
3595
|
if (allowLenientStrings) {
|
|
3596
|
-
this.
|
|
3596
|
+
this.p11();
|
|
3597
3597
|
} else {
|
|
3598
|
-
this.
|
|
3598
|
+
this.g13();
|
|
3599
3599
|
}
|
|
3600
3600
|
continue $l$loop;
|
|
3601
3601
|
}
|
|
@@ -3604,29 +3604,29 @@
|
|
|
3604
3604
|
tokenStack.a(lastToken);
|
|
3605
3605
|
} else if (tmp0_subject === 9) {
|
|
3606
3606
|
if (!(last(tokenStack) === 8))
|
|
3607
|
-
throw JsonDecodingException_0(this.
|
|
3607
|
+
throw JsonDecodingException_0(this.my_1, 'found ] instead of } at path: ' + this.ny_1, this.z15());
|
|
3608
3608
|
removeLast(tokenStack);
|
|
3609
3609
|
} else if (tmp0_subject === 7) {
|
|
3610
3610
|
if (!(last(tokenStack) === 6))
|
|
3611
|
-
throw JsonDecodingException_0(this.
|
|
3611
|
+
throw JsonDecodingException_0(this.my_1, 'found } instead of ] at path: ' + this.ny_1, this.z15());
|
|
3612
3612
|
removeLast(tokenStack);
|
|
3613
3613
|
} else if (tmp0_subject === 10) {
|
|
3614
|
-
this.
|
|
3614
|
+
this.u10('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
3615
3615
|
}
|
|
3616
|
-
this.
|
|
3616
|
+
this.r11();
|
|
3617
3617
|
if (tokenStack.f() === 0)
|
|
3618
3618
|
return Unit_getInstance();
|
|
3619
3619
|
}
|
|
3620
3620
|
};
|
|
3621
3621
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
3622
|
-
return "JsonReader(source='" + this.
|
|
3622
|
+
return "JsonReader(source='" + this.z15() + "', currentPosition=" + this.my_1 + ')';
|
|
3623
3623
|
};
|
|
3624
|
-
protoOf(AbstractJsonLexer).
|
|
3625
|
-
var processed = this.
|
|
3624
|
+
protoOf(AbstractJsonLexer).e13 = function (key) {
|
|
3625
|
+
var processed = this.h16(0, this.my_1);
|
|
3626
3626
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
3627
|
-
this.
|
|
3627
|
+
this.f16("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
3628
3628
|
};
|
|
3629
|
-
protoOf(AbstractJsonLexer).
|
|
3629
|
+
protoOf(AbstractJsonLexer).f16 = function (message, position, hint) {
|
|
3630
3630
|
var tmp;
|
|
3631
3631
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3632
3632
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -3635,24 +3635,24 @@
|
|
|
3635
3635
|
tmp = '\n' + hint;
|
|
3636
3636
|
}
|
|
3637
3637
|
var hintMessage = tmp;
|
|
3638
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
3638
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.ny_1.h11() + hintMessage, this.z15());
|
|
3639
3639
|
};
|
|
3640
|
-
protoOf(AbstractJsonLexer).
|
|
3641
|
-
position = position === VOID ? this.
|
|
3640
|
+
protoOf(AbstractJsonLexer).u10 = function (message, position, hint, $super) {
|
|
3641
|
+
position = position === VOID ? this.my_1 : position;
|
|
3642
3642
|
hint = hint === VOID ? '' : hint;
|
|
3643
|
-
return $super === VOID ? this.
|
|
3643
|
+
return $super === VOID ? this.f16(message, position, hint) : $super.f16.call(this, message, position, hint);
|
|
3644
3644
|
};
|
|
3645
|
-
protoOf(AbstractJsonLexer).
|
|
3646
|
-
var current = this.
|
|
3647
|
-
current = this.
|
|
3648
|
-
if (current >= charSequenceLength(this.
|
|
3649
|
-
this.
|
|
3645
|
+
protoOf(AbstractJsonLexer).q13 = function () {
|
|
3646
|
+
var current = this.g16();
|
|
3647
|
+
current = this.a16(current);
|
|
3648
|
+
if (current >= charSequenceLength(this.z15()) ? true : current === -1) {
|
|
3649
|
+
this.u10('EOF');
|
|
3650
3650
|
}
|
|
3651
3651
|
var tmp;
|
|
3652
|
-
if (charSequenceGet(this.
|
|
3652
|
+
if (charSequenceGet(this.z15(), current) === _Char___init__impl__6a9atx(34)) {
|
|
3653
3653
|
current = current + 1 | 0;
|
|
3654
|
-
if (current === charSequenceLength(this.
|
|
3655
|
-
this.
|
|
3654
|
+
if (current === charSequenceLength(this.z15())) {
|
|
3655
|
+
this.u10('EOF');
|
|
3656
3656
|
}
|
|
3657
3657
|
tmp = true;
|
|
3658
3658
|
} else {
|
|
@@ -3664,10 +3664,10 @@
|
|
|
3664
3664
|
var start = current;
|
|
3665
3665
|
var hasChars = true;
|
|
3666
3666
|
$l$loop_0: while (hasChars) {
|
|
3667
|
-
var ch = charSequenceGet(this.
|
|
3667
|
+
var ch = charSequenceGet(this.z15(), current);
|
|
3668
3668
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
3669
3669
|
if (!(current === start)) {
|
|
3670
|
-
this.
|
|
3670
|
+
this.u10("Unexpected symbol '-' in numeric literal");
|
|
3671
3671
|
}
|
|
3672
3672
|
isNegative = true;
|
|
3673
3673
|
current = current + 1 | 0;
|
|
@@ -3677,31 +3677,31 @@
|
|
|
3677
3677
|
if (!(token === 0))
|
|
3678
3678
|
break $l$loop_0;
|
|
3679
3679
|
current = current + 1 | 0;
|
|
3680
|
-
hasChars = !(current === charSequenceLength(this.
|
|
3680
|
+
hasChars = !(current === charSequenceLength(this.z15()));
|
|
3681
3681
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
3682
3682
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
3683
|
-
this.
|
|
3683
|
+
this.u10("Unexpected symbol '" + new Char(ch) + "' in numeric literal");
|
|
3684
3684
|
}
|
|
3685
3685
|
// Inline function 'kotlin.Long.minus' call
|
|
3686
3686
|
// Inline function 'kotlin.Long.times' call
|
|
3687
|
-
accumulator = accumulator.
|
|
3687
|
+
accumulator = accumulator.c6(new Long(10, 0)).e6(toLong_0(digit));
|
|
3688
3688
|
if (accumulator.g1(new Long(0, 0)) > 0) {
|
|
3689
|
-
this.
|
|
3689
|
+
this.u10('Numeric value overflow');
|
|
3690
3690
|
}
|
|
3691
3691
|
}
|
|
3692
3692
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
3693
|
-
this.
|
|
3693
|
+
this.u10('Expected numeric literal');
|
|
3694
3694
|
}
|
|
3695
3695
|
if (hasQuotation) {
|
|
3696
3696
|
if (!hasChars) {
|
|
3697
|
-
this.
|
|
3697
|
+
this.u10('EOF');
|
|
3698
3698
|
}
|
|
3699
|
-
if (!(charSequenceGet(this.
|
|
3700
|
-
this.
|
|
3699
|
+
if (!(charSequenceGet(this.z15(), current) === _Char___init__impl__6a9atx(34))) {
|
|
3700
|
+
this.u10('Expected closing quotation mark');
|
|
3701
3701
|
}
|
|
3702
3702
|
current = current + 1 | 0;
|
|
3703
3703
|
}
|
|
3704
|
-
this.
|
|
3704
|
+
this.my_1 = current;
|
|
3705
3705
|
var tmp_0;
|
|
3706
3706
|
if (isNegative) {
|
|
3707
3707
|
tmp_0 = accumulator;
|
|
@@ -3709,23 +3709,23 @@
|
|
|
3709
3709
|
var tmp_1 = accumulator;
|
|
3710
3710
|
Companion_getInstance_4();
|
|
3711
3711
|
if (!tmp_1.equals(new Long(0, -2147483648))) {
|
|
3712
|
-
tmp_0 = accumulator.
|
|
3712
|
+
tmp_0 = accumulator.a6();
|
|
3713
3713
|
} else {
|
|
3714
|
-
this.
|
|
3714
|
+
this.u10('Numeric value overflow');
|
|
3715
3715
|
}
|
|
3716
3716
|
}
|
|
3717
3717
|
return tmp_0;
|
|
3718
3718
|
};
|
|
3719
|
-
protoOf(AbstractJsonLexer).n13 = function () {
|
|
3720
|
-
return consumeBoolean(this, this.f16());
|
|
3721
|
-
};
|
|
3722
3719
|
protoOf(AbstractJsonLexer).o13 = function () {
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3720
|
+
return consumeBoolean(this, this.g16());
|
|
3721
|
+
};
|
|
3722
|
+
protoOf(AbstractJsonLexer).p13 = function () {
|
|
3723
|
+
var current = this.g16();
|
|
3724
|
+
if (current === charSequenceLength(this.z15())) {
|
|
3725
|
+
this.u10('EOF');
|
|
3726
3726
|
}
|
|
3727
3727
|
var tmp;
|
|
3728
|
-
if (charSequenceGet(this.
|
|
3728
|
+
if (charSequenceGet(this.z15(), current) === _Char___init__impl__6a9atx(34)) {
|
|
3729
3729
|
current = current + 1 | 0;
|
|
3730
3730
|
tmp = true;
|
|
3731
3731
|
} else {
|
|
@@ -3734,13 +3734,13 @@
|
|
|
3734
3734
|
var hasQuotation = tmp;
|
|
3735
3735
|
var result = consumeBoolean(this, current);
|
|
3736
3736
|
if (hasQuotation) {
|
|
3737
|
-
if (this.
|
|
3738
|
-
this.
|
|
3737
|
+
if (this.my_1 === charSequenceLength(this.z15())) {
|
|
3738
|
+
this.u10('EOF');
|
|
3739
3739
|
}
|
|
3740
|
-
if (!(charSequenceGet(this.
|
|
3741
|
-
this.
|
|
3740
|
+
if (!(charSequenceGet(this.z15(), this.my_1) === _Char___init__impl__6a9atx(34))) {
|
|
3741
|
+
this.u10('Expected closing quotation mark');
|
|
3742
3742
|
}
|
|
3743
|
-
this.
|
|
3743
|
+
this.my_1 = this.my_1 + 1 | 0;
|
|
3744
3744
|
}
|
|
3745
3745
|
return result;
|
|
3746
3746
|
};
|
|
@@ -3748,7 +3748,7 @@
|
|
|
3748
3748
|
var tmp;
|
|
3749
3749
|
// Inline function 'kotlin.code' call
|
|
3750
3750
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
3751
|
-
var tmp_0 = CharMappings_getInstance().
|
|
3751
|
+
var tmp_0 = CharMappings_getInstance().j16_1;
|
|
3752
3752
|
// Inline function 'kotlin.code' call
|
|
3753
3753
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
3754
3754
|
} else {
|
|
@@ -3845,7 +3845,7 @@
|
|
|
3845
3845
|
}
|
|
3846
3846
|
var TC_OTHER;
|
|
3847
3847
|
function escapeToChar(c) {
|
|
3848
|
-
return c < 117 ? CharMappings_getInstance().
|
|
3848
|
+
return c < 117 ? CharMappings_getInstance().i16_1[c] : _Char___init__impl__6a9atx(0);
|
|
3849
3849
|
}
|
|
3850
3850
|
function initEscape($this) {
|
|
3851
3851
|
var inductionVariable = 0;
|
|
@@ -3892,7 +3892,7 @@
|
|
|
3892
3892
|
var tmp$ret$0;
|
|
3893
3893
|
// Inline function 'kotlin.code' call
|
|
3894
3894
|
tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
3895
|
-
$this.
|
|
3895
|
+
$this.i16_1[tmp$ret$0] = numberToChar(c);
|
|
3896
3896
|
}
|
|
3897
3897
|
}
|
|
3898
3898
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -3902,7 +3902,7 @@
|
|
|
3902
3902
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
3903
3903
|
}
|
|
3904
3904
|
function initC2TC($this, c, cl) {
|
|
3905
|
-
$this.
|
|
3905
|
+
$this.j16_1[c] = cl;
|
|
3906
3906
|
}
|
|
3907
3907
|
function initC2TC_0($this, c, cl) {
|
|
3908
3908
|
var tmp$ret$0;
|
|
@@ -3912,8 +3912,8 @@
|
|
|
3912
3912
|
}
|
|
3913
3913
|
function CharMappings() {
|
|
3914
3914
|
CharMappings_instance = this;
|
|
3915
|
-
this.
|
|
3916
|
-
this.
|
|
3915
|
+
this.i16_1 = charArray(117);
|
|
3916
|
+
this.j16_1 = new Int8Array(126);
|
|
3917
3917
|
initEscape(this);
|
|
3918
3918
|
initCharToToken(this);
|
|
3919
3919
|
}
|
|
@@ -3925,19 +3925,19 @@
|
|
|
3925
3925
|
}
|
|
3926
3926
|
function StringJsonLexer(source) {
|
|
3927
3927
|
AbstractJsonLexer.call(this);
|
|
3928
|
-
this.
|
|
3928
|
+
this.o16_1 = source;
|
|
3929
3929
|
}
|
|
3930
|
-
protoOf(StringJsonLexer).
|
|
3931
|
-
return this.
|
|
3930
|
+
protoOf(StringJsonLexer).z15 = function () {
|
|
3931
|
+
return this.o16_1;
|
|
3932
3932
|
};
|
|
3933
|
-
protoOf(StringJsonLexer).
|
|
3934
|
-
return position < this.
|
|
3933
|
+
protoOf(StringJsonLexer).a16 = function (position) {
|
|
3934
|
+
return position < this.o16_1.length ? position : -1;
|
|
3935
3935
|
};
|
|
3936
|
-
protoOf(StringJsonLexer).
|
|
3937
|
-
var source = this.
|
|
3938
|
-
$l$loop: while (!(this.
|
|
3939
|
-
var tmp1 = this.
|
|
3940
|
-
this.
|
|
3936
|
+
protoOf(StringJsonLexer).r11 = function () {
|
|
3937
|
+
var source = this.o16_1;
|
|
3938
|
+
$l$loop: while (!(this.my_1 === -1) ? this.my_1 < source.length : false) {
|
|
3939
|
+
var tmp1 = this.my_1;
|
|
3940
|
+
this.my_1 = tmp1 + 1 | 0;
|
|
3941
3941
|
var ch = charSequenceGet(source, tmp1);
|
|
3942
3942
|
var tc = charToTokenClass(ch);
|
|
3943
3943
|
var tmp;
|
|
@@ -3950,136 +3950,136 @@
|
|
|
3950
3950
|
}
|
|
3951
3951
|
return get_TC_EOF();
|
|
3952
3952
|
};
|
|
3953
|
-
protoOf(StringJsonLexer).
|
|
3954
|
-
var current = this.
|
|
3955
|
-
if (current === this.
|
|
3953
|
+
protoOf(StringJsonLexer).b13 = function () {
|
|
3954
|
+
var current = this.g16();
|
|
3955
|
+
if (current === this.o16_1.length ? true : current === -1)
|
|
3956
3956
|
return false;
|
|
3957
|
-
if (charSequenceGet(this.
|
|
3958
|
-
this.
|
|
3957
|
+
if (charSequenceGet(this.o16_1, current) === _Char___init__impl__6a9atx(44)) {
|
|
3958
|
+
this.my_1 = this.my_1 + 1 | 0;
|
|
3959
3959
|
return true;
|
|
3960
3960
|
}
|
|
3961
3961
|
return false;
|
|
3962
3962
|
};
|
|
3963
|
-
protoOf(StringJsonLexer).
|
|
3964
|
-
var current = this.
|
|
3963
|
+
protoOf(StringJsonLexer).n11 = function () {
|
|
3964
|
+
var current = this.my_1;
|
|
3965
3965
|
if (current === -1)
|
|
3966
3966
|
return false;
|
|
3967
|
-
$l$loop: while (current < this.
|
|
3968
|
-
var c = charSequenceGet(this.
|
|
3967
|
+
$l$loop: while (current < this.o16_1.length) {
|
|
3968
|
+
var c = charSequenceGet(this.o16_1, current);
|
|
3969
3969
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
3970
3970
|
current = current + 1 | 0;
|
|
3971
3971
|
continue $l$loop;
|
|
3972
3972
|
}
|
|
3973
|
-
this.
|
|
3974
|
-
return this.
|
|
3973
|
+
this.my_1 = current;
|
|
3974
|
+
return this.c16(c);
|
|
3975
3975
|
}
|
|
3976
|
-
this.
|
|
3976
|
+
this.my_1 = current;
|
|
3977
3977
|
return false;
|
|
3978
3978
|
};
|
|
3979
|
-
protoOf(StringJsonLexer).
|
|
3980
|
-
var current = this.
|
|
3979
|
+
protoOf(StringJsonLexer).g16 = function () {
|
|
3980
|
+
var current = this.my_1;
|
|
3981
3981
|
if (current === -1)
|
|
3982
3982
|
return current;
|
|
3983
|
-
$l$loop: while (current < this.
|
|
3984
|
-
var c = charSequenceGet(this.
|
|
3983
|
+
$l$loop: while (current < this.o16_1.length) {
|
|
3984
|
+
var c = charSequenceGet(this.o16_1, current);
|
|
3985
3985
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
3986
3986
|
current = current + 1 | 0;
|
|
3987
3987
|
} else {
|
|
3988
3988
|
break $l$loop;
|
|
3989
3989
|
}
|
|
3990
3990
|
}
|
|
3991
|
-
this.
|
|
3991
|
+
this.my_1 = current;
|
|
3992
3992
|
return current;
|
|
3993
3993
|
};
|
|
3994
|
-
protoOf(StringJsonLexer).
|
|
3995
|
-
if (this.
|
|
3996
|
-
this.
|
|
3994
|
+
protoOf(StringJsonLexer).a13 = function (expected) {
|
|
3995
|
+
if (this.my_1 === -1) {
|
|
3996
|
+
this.e16(expected);
|
|
3997
3997
|
}
|
|
3998
|
-
var source = this.
|
|
3999
|
-
$l$loop: while (this.
|
|
4000
|
-
var tmp1 = this.
|
|
4001
|
-
this.
|
|
3998
|
+
var source = this.o16_1;
|
|
3999
|
+
$l$loop: while (this.my_1 < source.length) {
|
|
4000
|
+
var tmp1 = this.my_1;
|
|
4001
|
+
this.my_1 = tmp1 + 1 | 0;
|
|
4002
4002
|
var c = charSequenceGet(source, tmp1);
|
|
4003
4003
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
4004
4004
|
continue $l$loop;
|
|
4005
4005
|
if (c === expected)
|
|
4006
4006
|
return Unit_getInstance();
|
|
4007
|
-
this.
|
|
4007
|
+
this.e16(expected);
|
|
4008
4008
|
}
|
|
4009
|
-
this.
|
|
4009
|
+
this.e16(expected);
|
|
4010
4010
|
};
|
|
4011
|
-
protoOf(StringJsonLexer).
|
|
4012
|
-
this.
|
|
4013
|
-
var current = this.
|
|
4014
|
-
var closingQuote = indexOf(this.
|
|
4011
|
+
protoOf(StringJsonLexer).g13 = function () {
|
|
4012
|
+
this.a13(get_STRING());
|
|
4013
|
+
var current = this.my_1;
|
|
4014
|
+
var closingQuote = indexOf(this.o16_1, _Char___init__impl__6a9atx(34), current);
|
|
4015
4015
|
if (closingQuote === -1) {
|
|
4016
|
-
this.
|
|
4016
|
+
this.d16(get_TC_STRING());
|
|
4017
4017
|
}
|
|
4018
4018
|
var inductionVariable = current;
|
|
4019
4019
|
if (inductionVariable < closingQuote)
|
|
4020
4020
|
do {
|
|
4021
4021
|
var i = inductionVariable;
|
|
4022
4022
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4023
|
-
if (charSequenceGet(this.
|
|
4024
|
-
return this.consumeString2(this.
|
|
4023
|
+
if (charSequenceGet(this.o16_1, i) === get_STRING_ESC()) {
|
|
4024
|
+
return this.consumeString2(this.o16_1, this.my_1, i);
|
|
4025
4025
|
}
|
|
4026
4026
|
}
|
|
4027
4027
|
while (inductionVariable < closingQuote);
|
|
4028
|
-
this.
|
|
4028
|
+
this.my_1 = closingQuote + 1 | 0;
|
|
4029
4029
|
// Inline function 'kotlin.text.substring' call
|
|
4030
4030
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4031
|
-
return this.
|
|
4031
|
+
return this.o16_1.substring(current, closingQuote);
|
|
4032
4032
|
};
|
|
4033
|
-
protoOf(StringJsonLexer).
|
|
4034
|
-
var positionSnapshot = this.
|
|
4033
|
+
protoOf(StringJsonLexer).i13 = function (keyToMatch, isLenient) {
|
|
4034
|
+
var positionSnapshot = this.my_1;
|
|
4035
4035
|
try {
|
|
4036
|
-
if (!(this.
|
|
4036
|
+
if (!(this.r11() === get_TC_BEGIN_OBJ()))
|
|
4037
4037
|
return null;
|
|
4038
|
-
var firstKey = isLenient ? this.
|
|
4038
|
+
var firstKey = isLenient ? this.g13() : this.h13();
|
|
4039
4039
|
if (firstKey === keyToMatch) {
|
|
4040
|
-
if (!(this.
|
|
4040
|
+
if (!(this.r11() === get_TC_COLON()))
|
|
4041
4041
|
return null;
|
|
4042
|
-
var result = isLenient ? this.
|
|
4042
|
+
var result = isLenient ? this.o11() : this.h13();
|
|
4043
4043
|
return result;
|
|
4044
4044
|
}
|
|
4045
4045
|
return null;
|
|
4046
4046
|
}finally {
|
|
4047
|
-
this.
|
|
4047
|
+
this.my_1 = positionSnapshot;
|
|
4048
4048
|
}
|
|
4049
4049
|
};
|
|
4050
4050
|
function get_schemaCache(_this__u8e3s4) {
|
|
4051
|
-
return _this__u8e3s4.
|
|
4051
|
+
return _this__u8e3s4.by_1;
|
|
4052
4052
|
}
|
|
4053
4053
|
function createMapForCache(initialCapacity) {
|
|
4054
4054
|
return HashMap_init_$Create$(initialCapacity);
|
|
4055
4055
|
}
|
|
4056
4056
|
//region block: post-declaration
|
|
4057
|
-
protoOf(defer$1).
|
|
4058
|
-
protoOf(defer$1).
|
|
4059
|
-
protoOf(defer$1).
|
|
4060
|
-
protoOf(PolymorphismValidator).
|
|
4061
|
-
protoOf(StreamingJsonDecoder).
|
|
4062
|
-
protoOf(StreamingJsonDecoder).
|
|
4063
|
-
protoOf(StreamingJsonDecoder).
|
|
4064
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4065
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4066
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4067
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4068
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4069
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4070
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4071
|
-
protoOf(JsonTreeDecoder).
|
|
4072
|
-
protoOf(JsonTreeDecoder).
|
|
4073
|
-
protoOf(JsonTreeDecoder).
|
|
4074
|
-
protoOf(JsonTreeListDecoder).
|
|
4075
|
-
protoOf(JsonTreeListDecoder).
|
|
4076
|
-
protoOf(JsonTreeListDecoder).
|
|
4077
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4078
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4079
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4080
|
-
protoOf(JsonTreeMapDecoder).
|
|
4081
|
-
protoOf(JsonTreeMapDecoder).
|
|
4082
|
-
protoOf(JsonTreeMapDecoder).
|
|
4057
|
+
protoOf(defer$1).aj = get_isNullable;
|
|
4058
|
+
protoOf(defer$1).hj = get_isInline;
|
|
4059
|
+
protoOf(defer$1).fj = get_annotations;
|
|
4060
|
+
protoOf(PolymorphismValidator).sx = contextual;
|
|
4061
|
+
protoOf(StreamingJsonDecoder).ol = decodeSerializableElement$default;
|
|
4062
|
+
protoOf(StreamingJsonDecoder).rl = decodeSequentially;
|
|
4063
|
+
protoOf(StreamingJsonDecoder).tl = decodeCollectionSize;
|
|
4064
|
+
protoOf(JsonDecoderForUnsignedTypes).al = decodeSerializableValue;
|
|
4065
|
+
protoOf(JsonDecoderForUnsignedTypes).ol = decodeSerializableElement$default;
|
|
4066
|
+
protoOf(JsonDecoderForUnsignedTypes).rl = decodeSequentially;
|
|
4067
|
+
protoOf(JsonDecoderForUnsignedTypes).tl = decodeCollectionSize;
|
|
4068
|
+
protoOf(AbstractJsonTreeDecoder).ol = decodeSerializableElement$default;
|
|
4069
|
+
protoOf(AbstractJsonTreeDecoder).rl = decodeSequentially;
|
|
4070
|
+
protoOf(AbstractJsonTreeDecoder).tl = decodeCollectionSize;
|
|
4071
|
+
protoOf(JsonTreeDecoder).ol = decodeSerializableElement$default;
|
|
4072
|
+
protoOf(JsonTreeDecoder).rl = decodeSequentially;
|
|
4073
|
+
protoOf(JsonTreeDecoder).tl = decodeCollectionSize;
|
|
4074
|
+
protoOf(JsonTreeListDecoder).ol = decodeSerializableElement$default;
|
|
4075
|
+
protoOf(JsonTreeListDecoder).rl = decodeSequentially;
|
|
4076
|
+
protoOf(JsonTreeListDecoder).tl = decodeCollectionSize;
|
|
4077
|
+
protoOf(JsonPrimitiveDecoder).ol = decodeSerializableElement$default;
|
|
4078
|
+
protoOf(JsonPrimitiveDecoder).rl = decodeSequentially;
|
|
4079
|
+
protoOf(JsonPrimitiveDecoder).tl = decodeCollectionSize;
|
|
4080
|
+
protoOf(JsonTreeMapDecoder).ol = decodeSerializableElement$default;
|
|
4081
|
+
protoOf(JsonTreeMapDecoder).rl = decodeSequentially;
|
|
4082
|
+
protoOf(JsonTreeMapDecoder).tl = decodeCollectionSize;
|
|
4083
4083
|
//endregion
|
|
4084
4084
|
//region block: init
|
|
4085
4085
|
PRIMITIVE_TAG = 'primitive';
|