game_client_logic_deb 1.4.72 → 1.4.84
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/88b0986a7186d029-atomicfu-js-ir.js +2 -2
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Kodein-kodein-di.js +502 -502
- package/KosiTypeSystem-kaverit.js +59 -59
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +51 -51
- package/Logic_Debertz-core.js +1077 -1100
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +9487 -9509
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2867 -2868
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +83 -72
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1806 -1776
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1297 -1255
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1121 -1217
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +14 -14
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
20
20
|
var protoOf = kotlin_kotlin.$_$.ba;
|
|
21
21
|
var objectMeta = kotlin_kotlin.$_$.aa;
|
|
22
|
-
var VOID = kotlin_kotlin.$_$.
|
|
22
|
+
var VOID = kotlin_kotlin.$_$.td;
|
|
23
23
|
var setMetadataFor = kotlin_kotlin.$_$.ca;
|
|
24
24
|
var classMeta = kotlin_kotlin.$_$.y8;
|
|
25
25
|
var Unit_getInstance = kotlin_kotlin.$_$.m4;
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
var toString = kotlin_kotlin.$_$.ga;
|
|
28
28
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
29
29
|
var charSequenceGet = kotlin_kotlin.$_$.v8;
|
|
30
|
-
var Char = kotlin_kotlin.$_$.
|
|
30
|
+
var Char = kotlin_kotlin.$_$.zb;
|
|
31
31
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.z1;
|
|
32
32
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
33
33
|
var CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
34
34
|
var interfaceMeta = kotlin_kotlin.$_$.h9;
|
|
35
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
35
|
+
var THROW_CCE = kotlin_kotlin.$_$.pc;
|
|
36
36
|
var hashCode = kotlin_kotlin.$_$.g9;
|
|
37
37
|
var joinToString = kotlin_kotlin.$_$.l6;
|
|
38
38
|
var List = kotlin_kotlin.$_$.t4;
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
42
42
|
var getStringHashCode = kotlin_kotlin.$_$.f9;
|
|
43
43
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.g;
|
|
44
|
-
var lazy = kotlin_kotlin.$_$.
|
|
44
|
+
var lazy = kotlin_kotlin.$_$.kd;
|
|
45
45
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
46
|
-
var toInt = kotlin_kotlin.$_$.
|
|
47
|
-
var toLong = kotlin_kotlin.$_$.
|
|
48
|
-
var toDouble = kotlin_kotlin.$_$.
|
|
49
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
50
|
-
var toDoubleOrNull = kotlin_kotlin.$_$.
|
|
46
|
+
var toInt = kotlin_kotlin.$_$.nb;
|
|
47
|
+
var toLong = kotlin_kotlin.$_$.pb;
|
|
48
|
+
var toDouble = kotlin_kotlin.$_$.lb;
|
|
49
|
+
var toLongOrNull = kotlin_kotlin.$_$.ob;
|
|
50
|
+
var toDoubleOrNull = kotlin_kotlin.$_$.kb;
|
|
51
51
|
var StringCompanionObject_getInstance = kotlin_kotlin.$_$.a4;
|
|
52
52
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
53
53
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
61
61
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
62
62
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
63
|
-
var toULongOrNull = kotlin_kotlin.$_$.
|
|
63
|
+
var toULongOrNull = kotlin_kotlin.$_$.sb;
|
|
64
64
|
var Companion_getInstance = kotlin_kotlin.$_$.k4;
|
|
65
65
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
66
66
|
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.b3;
|
|
67
|
-
var ULong = kotlin_kotlin.$_$.
|
|
67
|
+
var ULong = kotlin_kotlin.$_$.xc;
|
|
68
68
|
var isInterface = kotlin_kotlin.$_$.p9;
|
|
69
69
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
70
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
70
|
+
var lazy_0 = kotlin_kotlin.$_$.ld;
|
|
71
71
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
72
72
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
73
73
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
@@ -105,11 +105,11 @@
|
|
|
105
105
|
var copyOf = kotlin_kotlin.$_$.t5;
|
|
106
106
|
var copyOf_0 = kotlin_kotlin.$_$.u5;
|
|
107
107
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
108
|
-
var DeepRecursiveFunction = kotlin_kotlin.$_$.
|
|
109
|
-
var invoke = kotlin_kotlin.$_$.
|
|
108
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.cc;
|
|
109
|
+
var invoke = kotlin_kotlin.$_$.hd;
|
|
110
110
|
var CoroutineImpl = kotlin_kotlin.$_$.o8;
|
|
111
|
-
var DeepRecursiveScope = kotlin_kotlin.$_$.
|
|
112
|
-
var Unit = kotlin_kotlin.$_$.
|
|
111
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.dc;
|
|
112
|
+
var Unit = kotlin_kotlin.$_$.ad;
|
|
113
113
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.a8;
|
|
114
114
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
115
115
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
@@ -125,24 +125,25 @@
|
|
|
125
125
|
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
126
126
|
var isObject = kotlin_kotlin.$_$.r9;
|
|
127
127
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
128
|
-
var
|
|
128
|
+
var ensureNotNull = kotlin_kotlin.$_$.gd;
|
|
129
|
+
var contains = kotlin_kotlin.$_$.za;
|
|
130
|
+
var plus = kotlin_kotlin.$_$.nd;
|
|
129
131
|
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
130
132
|
var decodeSerializableElement$default = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
131
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
132
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
133
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
133
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.hc;
|
|
134
|
+
var isFinite = kotlin_kotlin.$_$.jd;
|
|
135
|
+
var isFinite_0 = kotlin_kotlin.$_$.id;
|
|
134
136
|
var decodeSequentially = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1;
|
|
135
137
|
var decodeCollectionSize = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
136
|
-
var toUInt = kotlin_kotlin.$_$.
|
|
138
|
+
var toUInt = kotlin_kotlin.$_$.rb;
|
|
137
139
|
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.s2;
|
|
138
|
-
var toULong = kotlin_kotlin.$_$.
|
|
139
|
-
var toUByte = kotlin_kotlin.$_$.
|
|
140
|
+
var toULong = kotlin_kotlin.$_$.tb;
|
|
141
|
+
var toUByte = kotlin_kotlin.$_$.qb;
|
|
140
142
|
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.j2;
|
|
141
|
-
var toUShort = kotlin_kotlin.$_$.
|
|
143
|
+
var toUShort = kotlin_kotlin.$_$.ub;
|
|
142
144
|
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.k3;
|
|
143
145
|
var decodeSerializableValue = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s1;
|
|
144
146
|
var objectCreate = kotlin_kotlin.$_$.z9;
|
|
145
|
-
var ensureNotNull = kotlin_kotlin.$_$.fd;
|
|
146
147
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1;
|
|
147
148
|
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v2;
|
|
148
149
|
var toString_0 = kotlin_kotlin.$_$.d2;
|
|
@@ -158,27 +159,27 @@
|
|
|
158
159
|
var setOf = kotlin_kotlin.$_$.g7;
|
|
159
160
|
var numberToChar = kotlin_kotlin.$_$.v9;
|
|
160
161
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.c2;
|
|
161
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
162
|
+
var equals_0 = kotlin_kotlin.$_$.ab;
|
|
162
163
|
var toByte = kotlin_kotlin.$_$.da;
|
|
163
164
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
164
165
|
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.g1;
|
|
165
166
|
var ByteCompanionObject_getInstance = kotlin_kotlin.$_$.v3;
|
|
166
167
|
var ShortCompanionObject_getInstance = kotlin_kotlin.$_$.z3;
|
|
167
168
|
var toShort = kotlin_kotlin.$_$.fa;
|
|
168
|
-
var single = kotlin_kotlin.$_$.
|
|
169
|
+
var single = kotlin_kotlin.$_$.hb;
|
|
169
170
|
var emptySet = kotlin_kotlin.$_$.z5;
|
|
170
171
|
var plus_0 = kotlin_kotlin.$_$.a7;
|
|
171
172
|
var toList = kotlin_kotlin.$_$.q7;
|
|
172
|
-
var Enum = kotlin_kotlin.$_$.
|
|
173
|
+
var Enum = kotlin_kotlin.$_$.ec;
|
|
173
174
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
174
175
|
var last = kotlin_kotlin.$_$.p6;
|
|
175
176
|
var removeLast = kotlin_kotlin.$_$.f7;
|
|
176
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
177
|
-
var Long = kotlin_kotlin.$_$.
|
|
177
|
+
var lastIndexOf = kotlin_kotlin.$_$.eb;
|
|
178
|
+
var Long = kotlin_kotlin.$_$.jc;
|
|
178
179
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.a2;
|
|
179
180
|
var Companion_getInstance_4 = kotlin_kotlin.$_$.g4;
|
|
180
181
|
var charArray = kotlin_kotlin.$_$.u8;
|
|
181
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
182
|
+
var indexOf = kotlin_kotlin.$_$.bb;
|
|
182
183
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.a1;
|
|
183
184
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
184
185
|
//endregion
|
|
@@ -234,6 +235,7 @@
|
|
|
234
235
|
setMetadataFor(AbstractJsonTreeDecoder, 'AbstractJsonTreeDecoder', classMeta, NamedValueDecoder, [NamedValueDecoder, JsonDecoder]);
|
|
235
236
|
setMetadataFor(JsonTreeDecoder, 'JsonTreeDecoder', classMeta, AbstractJsonTreeDecoder);
|
|
236
237
|
setMetadataFor(JsonTreeListDecoder, 'JsonTreeListDecoder', classMeta, AbstractJsonTreeDecoder);
|
|
238
|
+
setMetadataFor(JsonPrimitiveDecoder, 'JsonPrimitiveDecoder', classMeta, AbstractJsonTreeDecoder);
|
|
237
239
|
setMetadataFor(JsonTreeMapDecoder, 'JsonTreeMapDecoder', classMeta, JsonTreeDecoder);
|
|
238
240
|
setMetadataFor(WriteMode, 'WriteMode', classMeta, Enum);
|
|
239
241
|
setMetadataFor(AbstractJsonLexer, 'AbstractJsonLexer', classMeta);
|
|
@@ -253,14 +255,14 @@
|
|
|
253
255
|
}
|
|
254
256
|
function Json(configuration, serializersModule) {
|
|
255
257
|
Default_getInstance();
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
258
|
+
this.p1w_1 = configuration;
|
|
259
|
+
this.q1w_1 = serializersModule;
|
|
260
|
+
this.r1w_1 = new DescriptorSchemaCache();
|
|
259
261
|
}
|
|
260
|
-
protoOf(Json).
|
|
261
|
-
return this.
|
|
262
|
+
protoOf(Json).x1f = function () {
|
|
263
|
+
return this.q1w_1;
|
|
262
264
|
};
|
|
263
|
-
protoOf(Json).
|
|
265
|
+
protoOf(Json).s1w = function (serializer, value) {
|
|
264
266
|
var result = new JsonToStringWriter();
|
|
265
267
|
try {
|
|
266
268
|
encodeByWriter(this, result, serializer, value);
|
|
@@ -269,18 +271,18 @@
|
|
|
269
271
|
result.vn();
|
|
270
272
|
}
|
|
271
273
|
};
|
|
272
|
-
protoOf(Json).
|
|
274
|
+
protoOf(Json).t1w = function (deserializer, string) {
|
|
273
275
|
var lexer = new StringJsonLexer(string);
|
|
274
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
275
|
-
var result = input.
|
|
276
|
-
lexer.
|
|
276
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.b1c(), null);
|
|
277
|
+
var result = input.h1f(deserializer);
|
|
278
|
+
lexer.h1x();
|
|
277
279
|
return result;
|
|
278
280
|
};
|
|
279
281
|
function validateConfiguration($this) {
|
|
280
|
-
if (equals($this.
|
|
282
|
+
if (equals($this.x1f(), EmptySerializersModule()))
|
|
281
283
|
return Unit_getInstance();
|
|
282
|
-
var collector = new PolymorphismValidator($this.
|
|
283
|
-
$this.
|
|
284
|
+
var collector = new PolymorphismValidator($this.p1w_1.q1x_1, $this.p1w_1.r1x_1);
|
|
285
|
+
$this.x1f().u1v(collector);
|
|
284
286
|
}
|
|
285
287
|
function JsonImpl(configuration, module_0) {
|
|
286
288
|
Json.call(this, configuration, module_0);
|
|
@@ -290,29 +292,29 @@
|
|
|
290
292
|
from = from === VOID ? Default_getInstance() : from;
|
|
291
293
|
var builder = new JsonBuilder(from);
|
|
292
294
|
builderAction(builder);
|
|
293
|
-
var conf = builder.
|
|
294
|
-
return new JsonImpl(conf, builder.
|
|
295
|
+
var conf = builder.v1k();
|
|
296
|
+
return new JsonImpl(conf, builder.i1y_1);
|
|
295
297
|
}
|
|
296
298
|
function JsonBuilder(json) {
|
|
297
|
-
this.
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
}
|
|
312
|
-
protoOf(JsonBuilder).
|
|
313
|
-
if (this.
|
|
299
|
+
this.v1x_1 = json.p1w_1.i1x_1;
|
|
300
|
+
this.w1x_1 = json.p1w_1.n1x_1;
|
|
301
|
+
this.x1x_1 = json.p1w_1.j1x_1;
|
|
302
|
+
this.y1x_1 = json.p1w_1.k1x_1;
|
|
303
|
+
this.z1x_1 = json.p1w_1.l1x_1;
|
|
304
|
+
this.a1y_1 = json.p1w_1.m1x_1;
|
|
305
|
+
this.b1y_1 = json.p1w_1.o1x_1;
|
|
306
|
+
this.c1y_1 = json.p1w_1.p1x_1;
|
|
307
|
+
this.d1y_1 = json.p1w_1.q1x_1;
|
|
308
|
+
this.e1y_1 = json.p1w_1.r1x_1;
|
|
309
|
+
this.f1y_1 = json.p1w_1.s1x_1;
|
|
310
|
+
this.g1y_1 = json.p1w_1.t1x_1;
|
|
311
|
+
this.h1y_1 = json.p1w_1.u1x_1;
|
|
312
|
+
this.i1y_1 = json.x1f();
|
|
313
|
+
}
|
|
314
|
+
protoOf(JsonBuilder).v1k = function () {
|
|
315
|
+
if (this.d1y_1) {
|
|
314
316
|
// Inline function 'kotlin.require' call
|
|
315
|
-
var tmp0_require = this.
|
|
317
|
+
var tmp0_require = this.e1y_1 === 'type';
|
|
316
318
|
// Inline function 'kotlin.contracts.contract' call
|
|
317
319
|
if (!tmp0_require) {
|
|
318
320
|
var tmp$ret$0;
|
|
@@ -322,9 +324,9 @@
|
|
|
322
324
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
323
325
|
}
|
|
324
326
|
}
|
|
325
|
-
if (!this.
|
|
327
|
+
if (!this.a1y_1) {
|
|
326
328
|
// Inline function 'kotlin.require' call
|
|
327
|
-
var tmp1_require = this.
|
|
329
|
+
var tmp1_require = this.b1y_1 === ' ';
|
|
328
330
|
// Inline function 'kotlin.contracts.contract' call
|
|
329
331
|
if (!tmp1_require) {
|
|
330
332
|
var tmp$ret$1;
|
|
@@ -333,11 +335,11 @@
|
|
|
333
335
|
var message_0 = tmp$ret$1;
|
|
334
336
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
335
337
|
}
|
|
336
|
-
} else if (!(this.
|
|
338
|
+
} else if (!(this.b1y_1 === ' ')) {
|
|
337
339
|
var tmp$ret$3;
|
|
338
340
|
$l$block: {
|
|
339
341
|
// Inline function 'kotlin.text.all' call
|
|
340
|
-
var tmp2_all = this.
|
|
342
|
+
var tmp2_all = this.b1y_1;
|
|
341
343
|
var indexedObject = tmp2_all;
|
|
342
344
|
var inductionVariable = 0;
|
|
343
345
|
var last = indexedObject.length;
|
|
@@ -360,12 +362,12 @@
|
|
|
360
362
|
if (!allWhitespaces) {
|
|
361
363
|
var tmp$ret$4;
|
|
362
364
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
363
|
-
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
365
|
+
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.b1y_1;
|
|
364
366
|
var message_1 = tmp$ret$4;
|
|
365
367
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
366
368
|
}
|
|
367
369
|
}
|
|
368
|
-
return new JsonConfiguration(this.
|
|
370
|
+
return new JsonConfiguration(this.v1x_1, this.x1x_1, this.y1x_1, this.z1x_1, this.a1y_1, this.w1x_1, this.b1y_1, this.c1y_1, this.d1y_1, this.e1y_1, this.f1y_1, this.g1y_1, this.h1y_1);
|
|
369
371
|
};
|
|
370
372
|
function JsonClassDiscriminator() {
|
|
371
373
|
}
|
|
@@ -385,22 +387,22 @@
|
|
|
385
387
|
allowSpecialFloatingPointValues = allowSpecialFloatingPointValues === VOID ? false : allowSpecialFloatingPointValues;
|
|
386
388
|
useAlternativeNames = useAlternativeNames === VOID ? true : useAlternativeNames;
|
|
387
389
|
namingStrategy = namingStrategy === VOID ? null : namingStrategy;
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
390
|
+
this.i1x_1 = encodeDefaults;
|
|
391
|
+
this.j1x_1 = ignoreUnknownKeys;
|
|
392
|
+
this.k1x_1 = isLenient;
|
|
393
|
+
this.l1x_1 = allowStructuredMapKeys;
|
|
394
|
+
this.m1x_1 = prettyPrint;
|
|
395
|
+
this.n1x_1 = explicitNulls;
|
|
396
|
+
this.o1x_1 = prettyPrintIndent;
|
|
397
|
+
this.p1x_1 = coerceInputValues;
|
|
398
|
+
this.q1x_1 = useArrayPolymorphism;
|
|
399
|
+
this.r1x_1 = classDiscriminator;
|
|
400
|
+
this.s1x_1 = allowSpecialFloatingPointValues;
|
|
401
|
+
this.t1x_1 = useAlternativeNames;
|
|
402
|
+
this.u1x_1 = namingStrategy;
|
|
401
403
|
}
|
|
402
404
|
protoOf(JsonConfiguration).toString = function () {
|
|
403
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
405
|
+
return 'JsonConfiguration(encodeDefaults=' + this.i1x_1 + ', ignoreUnknownKeys=' + this.j1x_1 + ', isLenient=' + this.k1x_1 + ', ' + ('allowStructuredMapKeys=' + this.l1x_1 + ', prettyPrint=' + this.m1x_1 + ', explicitNulls=' + this.n1x_1 + ', ') + ("prettyPrintIndent='" + this.o1x_1 + "', coerceInputValues=" + this.p1x_1 + ', useArrayPolymorphism=' + this.q1x_1 + ', ') + ("classDiscriminator='" + this.r1x_1 + "', allowSpecialFloatingPointValues=" + this.s1x_1 + ', useAlternativeNames=' + this.t1x_1 + ', ') + ('namingStrategy=' + this.u1x_1 + ')');
|
|
404
406
|
};
|
|
405
407
|
function JsonDecoder() {
|
|
406
408
|
}
|
|
@@ -433,56 +435,56 @@
|
|
|
433
435
|
function JsonArray(content) {
|
|
434
436
|
Companion_getInstance_6();
|
|
435
437
|
JsonElement.call(this);
|
|
436
|
-
this.
|
|
438
|
+
this.l1y_1 = content;
|
|
437
439
|
}
|
|
438
440
|
protoOf(JsonArray).i = function () {
|
|
439
|
-
return this.
|
|
441
|
+
return this.l1y_1.i();
|
|
440
442
|
};
|
|
441
|
-
protoOf(JsonArray).
|
|
442
|
-
return this.
|
|
443
|
+
protoOf(JsonArray).m1y = function (element) {
|
|
444
|
+
return this.l1y_1.y(element);
|
|
443
445
|
};
|
|
444
446
|
protoOf(JsonArray).y = function (element) {
|
|
445
447
|
if (!(element instanceof JsonElement))
|
|
446
448
|
return false;
|
|
447
|
-
return this.
|
|
449
|
+
return this.m1y(element instanceof JsonElement ? element : THROW_CCE());
|
|
448
450
|
};
|
|
449
|
-
protoOf(JsonArray).
|
|
450
|
-
return this.
|
|
451
|
+
protoOf(JsonArray).n1y = function (elements) {
|
|
452
|
+
return this.l1y_1.z(elements);
|
|
451
453
|
};
|
|
452
454
|
protoOf(JsonArray).z = function (elements) {
|
|
453
|
-
return this.
|
|
455
|
+
return this.n1y(elements);
|
|
454
456
|
};
|
|
455
457
|
protoOf(JsonArray).k = function (index) {
|
|
456
|
-
return this.
|
|
458
|
+
return this.l1y_1.k(index);
|
|
457
459
|
};
|
|
458
|
-
protoOf(JsonArray).
|
|
459
|
-
return this.
|
|
460
|
+
protoOf(JsonArray).o1y = function (element) {
|
|
461
|
+
return this.l1y_1.s2(element);
|
|
460
462
|
};
|
|
461
463
|
protoOf(JsonArray).s2 = function (element) {
|
|
462
464
|
if (!(element instanceof JsonElement))
|
|
463
465
|
return -1;
|
|
464
|
-
return this.
|
|
466
|
+
return this.o1y(element instanceof JsonElement ? element : THROW_CCE());
|
|
465
467
|
};
|
|
466
468
|
protoOf(JsonArray).l = function () {
|
|
467
|
-
return this.
|
|
469
|
+
return this.l1y_1.l();
|
|
468
470
|
};
|
|
469
471
|
protoOf(JsonArray).f = function () {
|
|
470
|
-
return this.
|
|
472
|
+
return this.l1y_1.f();
|
|
471
473
|
};
|
|
472
474
|
protoOf(JsonArray).m = function (index) {
|
|
473
|
-
return this.
|
|
475
|
+
return this.l1y_1.m(index);
|
|
474
476
|
};
|
|
475
477
|
protoOf(JsonArray).a3 = function (fromIndex, toIndex) {
|
|
476
|
-
return this.
|
|
478
|
+
return this.l1y_1.a3(fromIndex, toIndex);
|
|
477
479
|
};
|
|
478
480
|
protoOf(JsonArray).equals = function (other) {
|
|
479
|
-
return equals(this.
|
|
481
|
+
return equals(this.l1y_1, other);
|
|
480
482
|
};
|
|
481
483
|
protoOf(JsonArray).hashCode = function () {
|
|
482
|
-
return hashCode(this.
|
|
484
|
+
return hashCode(this.l1y_1);
|
|
483
485
|
};
|
|
484
486
|
protoOf(JsonArray).toString = function () {
|
|
485
|
-
return joinToString(this.
|
|
487
|
+
return joinToString(this.l1y_1, ',', '[', ']');
|
|
486
488
|
};
|
|
487
489
|
function Companion_1() {
|
|
488
490
|
Companion_instance_1 = this;
|
|
@@ -520,47 +522,47 @@
|
|
|
520
522
|
function JsonObject(content) {
|
|
521
523
|
Companion_getInstance_7();
|
|
522
524
|
JsonElement.call(this);
|
|
523
|
-
this.
|
|
525
|
+
this.p1y_1 = content;
|
|
524
526
|
}
|
|
525
527
|
protoOf(JsonObject).o = function () {
|
|
526
|
-
return this.
|
|
528
|
+
return this.p1y_1.o();
|
|
527
529
|
};
|
|
528
530
|
protoOf(JsonObject).y1 = function () {
|
|
529
|
-
return this.
|
|
531
|
+
return this.p1y_1.y1();
|
|
530
532
|
};
|
|
531
533
|
protoOf(JsonObject).i = function () {
|
|
532
|
-
return this.
|
|
534
|
+
return this.p1y_1.i();
|
|
533
535
|
};
|
|
534
536
|
protoOf(JsonObject).z1 = function () {
|
|
535
|
-
return this.
|
|
537
|
+
return this.p1y_1.z1();
|
|
536
538
|
};
|
|
537
|
-
protoOf(JsonObject).
|
|
538
|
-
return this.
|
|
539
|
+
protoOf(JsonObject).q1y = function (key) {
|
|
540
|
+
return this.p1y_1.r1(key);
|
|
539
541
|
};
|
|
540
542
|
protoOf(JsonObject).r1 = function (key) {
|
|
541
543
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
542
544
|
return false;
|
|
543
|
-
return this.
|
|
545
|
+
return this.q1y((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
544
546
|
};
|
|
545
|
-
protoOf(JsonObject).
|
|
546
|
-
return this.
|
|
547
|
+
protoOf(JsonObject).r1y = function (key) {
|
|
548
|
+
return this.p1y_1.x1(key);
|
|
547
549
|
};
|
|
548
550
|
protoOf(JsonObject).x1 = function (key) {
|
|
549
551
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
550
552
|
return null;
|
|
551
|
-
return this.
|
|
553
|
+
return this.r1y((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
552
554
|
};
|
|
553
555
|
protoOf(JsonObject).l = function () {
|
|
554
|
-
return this.
|
|
556
|
+
return this.p1y_1.l();
|
|
555
557
|
};
|
|
556
558
|
protoOf(JsonObject).equals = function (other) {
|
|
557
|
-
return equals(this.
|
|
559
|
+
return equals(this.p1y_1, other);
|
|
558
560
|
};
|
|
559
561
|
protoOf(JsonObject).hashCode = function () {
|
|
560
|
-
return hashCode(this.
|
|
562
|
+
return hashCode(this.p1y_1);
|
|
561
563
|
};
|
|
562
564
|
protoOf(JsonObject).toString = function () {
|
|
563
|
-
var tmp = this.
|
|
565
|
+
var tmp = this.p1y_1.o();
|
|
564
566
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
565
567
|
};
|
|
566
568
|
function Companion_2() {
|
|
@@ -577,17 +579,17 @@
|
|
|
577
579
|
JsonElement.call(this);
|
|
578
580
|
}
|
|
579
581
|
protoOf(JsonPrimitive).toString = function () {
|
|
580
|
-
return this.
|
|
582
|
+
return this.s1y();
|
|
581
583
|
};
|
|
582
584
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
583
585
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
584
586
|
JsonPrimitive.call(this);
|
|
585
|
-
this.
|
|
586
|
-
this.
|
|
587
|
-
this.
|
|
588
|
-
if (!(this.
|
|
587
|
+
this.t1y_1 = isString;
|
|
588
|
+
this.u1y_1 = coerceToInlineType;
|
|
589
|
+
this.v1y_1 = toString(body);
|
|
590
|
+
if (!(this.u1y_1 == null)) {
|
|
589
591
|
// Inline function 'kotlin.require' call
|
|
590
|
-
var tmp0_require = this.
|
|
592
|
+
var tmp0_require = this.u1y_1.o1d();
|
|
591
593
|
// Inline function 'kotlin.contracts.contract' call
|
|
592
594
|
// Inline function 'kotlin.require' call
|
|
593
595
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -600,12 +602,12 @@
|
|
|
600
602
|
}
|
|
601
603
|
}
|
|
602
604
|
}
|
|
603
|
-
protoOf(JsonLiteral).
|
|
604
|
-
return this.
|
|
605
|
+
protoOf(JsonLiteral).s1y = function () {
|
|
606
|
+
return this.v1y_1;
|
|
605
607
|
};
|
|
606
608
|
protoOf(JsonLiteral).toString = function () {
|
|
607
609
|
var tmp;
|
|
608
|
-
if (this.
|
|
610
|
+
if (this.t1y_1) {
|
|
609
611
|
var tmp$ret$1;
|
|
610
612
|
// Inline function 'kotlin.text.buildString' call
|
|
611
613
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -614,12 +616,12 @@
|
|
|
614
616
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
615
617
|
// Inline function 'kotlin.contracts.contract' call
|
|
616
618
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
617
|
-
printQuoted(tmp0_apply, this.
|
|
619
|
+
printQuoted(tmp0_apply, this.v1y_1);
|
|
618
620
|
tmp$ret$0 = tmp0_apply;
|
|
619
621
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
620
622
|
tmp = tmp$ret$1;
|
|
621
623
|
} else {
|
|
622
|
-
tmp = this.
|
|
624
|
+
tmp = this.v1y_1;
|
|
623
625
|
}
|
|
624
626
|
return tmp;
|
|
625
627
|
};
|
|
@@ -632,36 +634,39 @@
|
|
|
632
634
|
other;
|
|
633
635
|
else
|
|
634
636
|
THROW_CCE();
|
|
635
|
-
if (!(this.
|
|
637
|
+
if (!(this.t1y_1 === other.t1y_1))
|
|
636
638
|
return false;
|
|
637
|
-
if (!(this.
|
|
639
|
+
if (!(this.v1y_1 === other.v1y_1))
|
|
638
640
|
return false;
|
|
639
641
|
return true;
|
|
640
642
|
};
|
|
641
643
|
protoOf(JsonLiteral).hashCode = function () {
|
|
642
|
-
var result = this.
|
|
643
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
644
|
+
var result = this.t1y_1 | 0;
|
|
645
|
+
result = imul(31, result) + getStringHashCode(this.v1y_1) | 0;
|
|
644
646
|
return result;
|
|
645
647
|
};
|
|
646
|
-
function
|
|
648
|
+
function _get_$cachedSerializer__te6jhj($this) {
|
|
649
|
+
return $this.x1y_1.j1();
|
|
650
|
+
}
|
|
651
|
+
function JsonNull$_anonymous__enib48() {
|
|
647
652
|
return JsonNullSerializer_getInstance();
|
|
648
653
|
}
|
|
649
654
|
function JsonNull() {
|
|
650
655
|
JsonNull_instance = this;
|
|
651
656
|
JsonPrimitive.call(this);
|
|
652
|
-
this.
|
|
657
|
+
this.w1y_1 = 'null';
|
|
653
658
|
var tmp = this;
|
|
654
659
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
655
|
-
tmp.
|
|
660
|
+
tmp.x1y_1 = lazy(tmp_0, JsonNull$_anonymous__enib48);
|
|
656
661
|
}
|
|
657
|
-
protoOf(JsonNull).
|
|
658
|
-
return this.
|
|
662
|
+
protoOf(JsonNull).s1y = function () {
|
|
663
|
+
return this.w1y_1;
|
|
659
664
|
};
|
|
660
|
-
protoOf(JsonNull).
|
|
661
|
-
return this
|
|
665
|
+
protoOf(JsonNull).y1y = function () {
|
|
666
|
+
return _get_$cachedSerializer__te6jhj(this);
|
|
662
667
|
};
|
|
663
|
-
protoOf(JsonNull).
|
|
664
|
-
return this.
|
|
668
|
+
protoOf(JsonNull).n1n = function (typeParamsSerializers) {
|
|
669
|
+
return this.y1y();
|
|
665
670
|
};
|
|
666
671
|
var JsonNull_instance;
|
|
667
672
|
function JsonNull_getInstance() {
|
|
@@ -677,21 +682,21 @@
|
|
|
677
682
|
}
|
|
678
683
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
679
684
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
680
|
-
return toBooleanStrictOrNull(_this__u8e3s4.
|
|
685
|
+
return toBooleanStrictOrNull(_this__u8e3s4.s1y());
|
|
681
686
|
}
|
|
682
687
|
function get_int(_this__u8e3s4) {
|
|
683
688
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
684
|
-
return toInt(_this__u8e3s4.
|
|
689
|
+
return toInt(_this__u8e3s4.s1y());
|
|
685
690
|
}
|
|
686
691
|
function get_long(_this__u8e3s4) {
|
|
687
692
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
688
|
-
return toLong(_this__u8e3s4.
|
|
693
|
+
return toLong(_this__u8e3s4.s1y());
|
|
689
694
|
}
|
|
690
695
|
function get_float(_this__u8e3s4) {
|
|
691
696
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
692
697
|
var tmp$ret$2;
|
|
693
698
|
// Inline function 'kotlin.text.toFloat' call
|
|
694
|
-
var tmp1_toFloat = _this__u8e3s4.
|
|
699
|
+
var tmp1_toFloat = _this__u8e3s4.s1y();
|
|
695
700
|
var tmp$ret$1;
|
|
696
701
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
697
702
|
var tmp0_unsafeCast = toDouble(tmp1_toFloat);
|
|
@@ -704,7 +709,7 @@
|
|
|
704
709
|
}
|
|
705
710
|
function get_double(_this__u8e3s4) {
|
|
706
711
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
707
|
-
return toDouble(_this__u8e3s4.
|
|
712
|
+
return toDouble(_this__u8e3s4.s1y());
|
|
708
713
|
}
|
|
709
714
|
function get_contentOrNull(_this__u8e3s4) {
|
|
710
715
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -712,17 +717,17 @@
|
|
|
712
717
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
713
718
|
tmp = null;
|
|
714
719
|
} else {
|
|
715
|
-
tmp = _this__u8e3s4.
|
|
720
|
+
tmp = _this__u8e3s4.s1y();
|
|
716
721
|
}
|
|
717
722
|
return tmp;
|
|
718
723
|
}
|
|
719
724
|
function get_longOrNull(_this__u8e3s4) {
|
|
720
725
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
721
|
-
return toLongOrNull(_this__u8e3s4.
|
|
726
|
+
return toLongOrNull(_this__u8e3s4.s1y());
|
|
722
727
|
}
|
|
723
728
|
function get_doubleOrNull(_this__u8e3s4) {
|
|
724
729
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
725
|
-
return toDoubleOrNull(_this__u8e3s4.
|
|
730
|
+
return toDoubleOrNull(_this__u8e3s4.s1y());
|
|
726
731
|
}
|
|
727
732
|
function get_jsonPrimitive(_this__u8e3s4) {
|
|
728
733
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -748,58 +753,58 @@
|
|
|
748
753
|
}
|
|
749
754
|
}
|
|
750
755
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
751
|
-
$this$buildSerialDescriptor.
|
|
752
|
-
$this$buildSerialDescriptor.
|
|
753
|
-
$this$buildSerialDescriptor.
|
|
754
|
-
$this$buildSerialDescriptor.
|
|
755
|
-
$this$buildSerialDescriptor.
|
|
756
|
+
$this$buildSerialDescriptor.p1c('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
757
|
+
$this$buildSerialDescriptor.p1c('JsonNull', defer(JsonElementSerializer$descriptor$lambda$lambda_0));
|
|
758
|
+
$this$buildSerialDescriptor.p1c('JsonLiteral', defer(JsonElementSerializer$descriptor$lambda$lambda_1));
|
|
759
|
+
$this$buildSerialDescriptor.p1c('JsonObject', defer(JsonElementSerializer$descriptor$lambda$lambda_2));
|
|
760
|
+
$this$buildSerialDescriptor.p1c('JsonArray', defer(JsonElementSerializer$descriptor$lambda$lambda_3));
|
|
756
761
|
return Unit_getInstance();
|
|
757
762
|
}
|
|
758
763
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
759
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
764
|
+
return JsonPrimitiveSerializer_getInstance().z1y_1;
|
|
760
765
|
}
|
|
761
766
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
762
|
-
return JsonNullSerializer_getInstance().
|
|
767
|
+
return JsonNullSerializer_getInstance().a1z_1;
|
|
763
768
|
}
|
|
764
769
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
765
|
-
return JsonLiteralSerializer_getInstance().
|
|
770
|
+
return JsonLiteralSerializer_getInstance().b1z_1;
|
|
766
771
|
}
|
|
767
772
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
768
|
-
return JsonObjectSerializer_getInstance().
|
|
773
|
+
return JsonObjectSerializer_getInstance().c1z_1;
|
|
769
774
|
}
|
|
770
775
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
771
|
-
return JsonArraySerializer_getInstance().
|
|
776
|
+
return JsonArraySerializer_getInstance().d1z_1;
|
|
772
777
|
}
|
|
773
778
|
function JsonElementSerializer() {
|
|
774
779
|
JsonElementSerializer_instance = this;
|
|
775
780
|
var tmp = this;
|
|
776
781
|
var tmp_0 = SEALED_getInstance();
|
|
777
|
-
tmp.
|
|
782
|
+
tmp.e1z_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
778
783
|
}
|
|
779
|
-
protoOf(JsonElementSerializer).
|
|
780
|
-
return this.
|
|
784
|
+
protoOf(JsonElementSerializer).b1c = function () {
|
|
785
|
+
return this.e1z_1;
|
|
781
786
|
};
|
|
782
|
-
protoOf(JsonElementSerializer).
|
|
787
|
+
protoOf(JsonElementSerializer).f1z = function (encoder, value) {
|
|
783
788
|
verify(encoder);
|
|
784
789
|
var tmp0_subject = value;
|
|
785
790
|
if (tmp0_subject instanceof JsonPrimitive) {
|
|
786
|
-
encoder.
|
|
791
|
+
encoder.a1h(JsonPrimitiveSerializer_getInstance(), value);
|
|
787
792
|
} else {
|
|
788
793
|
if (tmp0_subject instanceof JsonObject) {
|
|
789
|
-
encoder.
|
|
794
|
+
encoder.a1h(JsonObjectSerializer_getInstance(), value);
|
|
790
795
|
} else {
|
|
791
796
|
if (tmp0_subject instanceof JsonArray) {
|
|
792
|
-
encoder.
|
|
797
|
+
encoder.a1h(JsonArraySerializer_getInstance(), value);
|
|
793
798
|
}
|
|
794
799
|
}
|
|
795
800
|
}
|
|
796
801
|
};
|
|
797
|
-
protoOf(JsonElementSerializer).
|
|
798
|
-
return this.
|
|
802
|
+
protoOf(JsonElementSerializer).c1c = function (encoder, value) {
|
|
803
|
+
return this.f1z(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
799
804
|
};
|
|
800
|
-
protoOf(JsonElementSerializer).
|
|
805
|
+
protoOf(JsonElementSerializer).d1c = function (decoder) {
|
|
801
806
|
var input = asJsonDecoder(decoder);
|
|
802
|
-
return input.
|
|
807
|
+
return input.k1y();
|
|
803
808
|
};
|
|
804
809
|
var JsonElementSerializer_instance;
|
|
805
810
|
function JsonElementSerializer_getInstance() {
|
|
@@ -809,41 +814,41 @@
|
|
|
809
814
|
}
|
|
810
815
|
function JsonArrayDescriptor() {
|
|
811
816
|
JsonArrayDescriptor_instance = this;
|
|
812
|
-
this.
|
|
813
|
-
this.
|
|
817
|
+
this.g1z_1 = ListSerializer(JsonElementSerializer_getInstance()).b1c();
|
|
818
|
+
this.h1z_1 = 'kotlinx.serialization.json.JsonArray';
|
|
814
819
|
}
|
|
815
|
-
protoOf(JsonArrayDescriptor).
|
|
816
|
-
return this.
|
|
820
|
+
protoOf(JsonArrayDescriptor).m1d = function () {
|
|
821
|
+
return this.g1z_1.m1d();
|
|
817
822
|
};
|
|
818
|
-
protoOf(JsonArrayDescriptor).
|
|
819
|
-
return this.
|
|
823
|
+
protoOf(JsonArrayDescriptor).n1d = function () {
|
|
824
|
+
return this.g1z_1.n1d();
|
|
820
825
|
};
|
|
821
|
-
protoOf(JsonArrayDescriptor).
|
|
822
|
-
return this.
|
|
826
|
+
protoOf(JsonArrayDescriptor).o1d = function () {
|
|
827
|
+
return this.g1z_1.o1d();
|
|
823
828
|
};
|
|
824
|
-
protoOf(JsonArrayDescriptor).
|
|
825
|
-
return this.
|
|
829
|
+
protoOf(JsonArrayDescriptor).i1d = function () {
|
|
830
|
+
return this.g1z_1.i1d();
|
|
826
831
|
};
|
|
827
|
-
protoOf(JsonArrayDescriptor).
|
|
828
|
-
return this.
|
|
832
|
+
protoOf(JsonArrayDescriptor).p1d = function () {
|
|
833
|
+
return this.g1z_1.p1d();
|
|
829
834
|
};
|
|
830
|
-
protoOf(JsonArrayDescriptor).
|
|
831
|
-
return this.
|
|
835
|
+
protoOf(JsonArrayDescriptor).q1d = function (index) {
|
|
836
|
+
return this.g1z_1.q1d(index);
|
|
832
837
|
};
|
|
833
|
-
protoOf(JsonArrayDescriptor).
|
|
834
|
-
return this.
|
|
838
|
+
protoOf(JsonArrayDescriptor).r1d = function (index) {
|
|
839
|
+
return this.g1z_1.r1d(index);
|
|
835
840
|
};
|
|
836
|
-
protoOf(JsonArrayDescriptor).
|
|
837
|
-
return this.
|
|
841
|
+
protoOf(JsonArrayDescriptor).s1d = function (name) {
|
|
842
|
+
return this.g1z_1.s1d(name);
|
|
838
843
|
};
|
|
839
|
-
protoOf(JsonArrayDescriptor).
|
|
840
|
-
return this.
|
|
844
|
+
protoOf(JsonArrayDescriptor).t1d = function (index) {
|
|
845
|
+
return this.g1z_1.t1d(index);
|
|
841
846
|
};
|
|
842
|
-
protoOf(JsonArrayDescriptor).
|
|
843
|
-
return this.
|
|
847
|
+
protoOf(JsonArrayDescriptor).u1d = function (index) {
|
|
848
|
+
return this.g1z_1.u1d(index);
|
|
844
849
|
};
|
|
845
|
-
protoOf(JsonArrayDescriptor).
|
|
846
|
-
return this.
|
|
850
|
+
protoOf(JsonArrayDescriptor).b1d = function () {
|
|
851
|
+
return this.h1z_1;
|
|
847
852
|
};
|
|
848
853
|
var JsonArrayDescriptor_instance;
|
|
849
854
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -853,21 +858,21 @@
|
|
|
853
858
|
}
|
|
854
859
|
function JsonArraySerializer() {
|
|
855
860
|
JsonArraySerializer_instance = this;
|
|
856
|
-
this.
|
|
861
|
+
this.d1z_1 = JsonArrayDescriptor_getInstance();
|
|
857
862
|
}
|
|
858
|
-
protoOf(JsonArraySerializer).
|
|
859
|
-
return this.
|
|
863
|
+
protoOf(JsonArraySerializer).b1c = function () {
|
|
864
|
+
return this.d1z_1;
|
|
860
865
|
};
|
|
861
|
-
protoOf(JsonArraySerializer).
|
|
866
|
+
protoOf(JsonArraySerializer).i1z = function (encoder, value) {
|
|
862
867
|
verify(encoder);
|
|
863
|
-
ListSerializer(JsonElementSerializer_getInstance()).
|
|
868
|
+
ListSerializer(JsonElementSerializer_getInstance()).c1c(encoder, value);
|
|
864
869
|
};
|
|
865
|
-
protoOf(JsonArraySerializer).
|
|
866
|
-
return this.
|
|
870
|
+
protoOf(JsonArraySerializer).c1c = function (encoder, value) {
|
|
871
|
+
return this.i1z(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
867
872
|
};
|
|
868
|
-
protoOf(JsonArraySerializer).
|
|
873
|
+
protoOf(JsonArraySerializer).d1c = function (decoder) {
|
|
869
874
|
verify_0(decoder);
|
|
870
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
875
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).d1c(decoder));
|
|
871
876
|
};
|
|
872
877
|
var JsonArraySerializer_instance;
|
|
873
878
|
function JsonArraySerializer_getInstance() {
|
|
@@ -877,41 +882,41 @@
|
|
|
877
882
|
}
|
|
878
883
|
function JsonObjectDescriptor() {
|
|
879
884
|
JsonObjectDescriptor_instance = this;
|
|
880
|
-
this.
|
|
881
|
-
this.
|
|
885
|
+
this.j1z_1 = MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).b1c();
|
|
886
|
+
this.k1z_1 = 'kotlinx.serialization.json.JsonObject';
|
|
882
887
|
}
|
|
883
|
-
protoOf(JsonObjectDescriptor).
|
|
884
|
-
return this.
|
|
888
|
+
protoOf(JsonObjectDescriptor).m1d = function () {
|
|
889
|
+
return this.j1z_1.m1d();
|
|
885
890
|
};
|
|
886
|
-
protoOf(JsonObjectDescriptor).
|
|
887
|
-
return this.
|
|
891
|
+
protoOf(JsonObjectDescriptor).n1d = function () {
|
|
892
|
+
return this.j1z_1.n1d();
|
|
888
893
|
};
|
|
889
|
-
protoOf(JsonObjectDescriptor).
|
|
890
|
-
return this.
|
|
894
|
+
protoOf(JsonObjectDescriptor).o1d = function () {
|
|
895
|
+
return this.j1z_1.o1d();
|
|
891
896
|
};
|
|
892
|
-
protoOf(JsonObjectDescriptor).
|
|
893
|
-
return this.
|
|
897
|
+
protoOf(JsonObjectDescriptor).i1d = function () {
|
|
898
|
+
return this.j1z_1.i1d();
|
|
894
899
|
};
|
|
895
|
-
protoOf(JsonObjectDescriptor).
|
|
896
|
-
return this.
|
|
900
|
+
protoOf(JsonObjectDescriptor).p1d = function () {
|
|
901
|
+
return this.j1z_1.p1d();
|
|
897
902
|
};
|
|
898
|
-
protoOf(JsonObjectDescriptor).
|
|
899
|
-
return this.
|
|
903
|
+
protoOf(JsonObjectDescriptor).q1d = function (index) {
|
|
904
|
+
return this.j1z_1.q1d(index);
|
|
900
905
|
};
|
|
901
|
-
protoOf(JsonObjectDescriptor).
|
|
902
|
-
return this.
|
|
906
|
+
protoOf(JsonObjectDescriptor).r1d = function (index) {
|
|
907
|
+
return this.j1z_1.r1d(index);
|
|
903
908
|
};
|
|
904
|
-
protoOf(JsonObjectDescriptor).
|
|
905
|
-
return this.
|
|
909
|
+
protoOf(JsonObjectDescriptor).s1d = function (name) {
|
|
910
|
+
return this.j1z_1.s1d(name);
|
|
906
911
|
};
|
|
907
|
-
protoOf(JsonObjectDescriptor).
|
|
908
|
-
return this.
|
|
912
|
+
protoOf(JsonObjectDescriptor).t1d = function (index) {
|
|
913
|
+
return this.j1z_1.t1d(index);
|
|
909
914
|
};
|
|
910
|
-
protoOf(JsonObjectDescriptor).
|
|
911
|
-
return this.
|
|
915
|
+
protoOf(JsonObjectDescriptor).u1d = function (index) {
|
|
916
|
+
return this.j1z_1.u1d(index);
|
|
912
917
|
};
|
|
913
|
-
protoOf(JsonObjectDescriptor).
|
|
914
|
-
return this.
|
|
918
|
+
protoOf(JsonObjectDescriptor).b1d = function () {
|
|
919
|
+
return this.k1z_1;
|
|
915
920
|
};
|
|
916
921
|
var JsonObjectDescriptor_instance;
|
|
917
922
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -921,21 +926,21 @@
|
|
|
921
926
|
}
|
|
922
927
|
function JsonObjectSerializer() {
|
|
923
928
|
JsonObjectSerializer_instance = this;
|
|
924
|
-
this.
|
|
929
|
+
this.c1z_1 = JsonObjectDescriptor_getInstance();
|
|
925
930
|
}
|
|
926
|
-
protoOf(JsonObjectSerializer).
|
|
927
|
-
return this.
|
|
931
|
+
protoOf(JsonObjectSerializer).b1c = function () {
|
|
932
|
+
return this.c1z_1;
|
|
928
933
|
};
|
|
929
|
-
protoOf(JsonObjectSerializer).
|
|
934
|
+
protoOf(JsonObjectSerializer).l1z = function (encoder, value) {
|
|
930
935
|
verify(encoder);
|
|
931
|
-
MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).
|
|
936
|
+
MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).c1c(encoder, value);
|
|
932
937
|
};
|
|
933
|
-
protoOf(JsonObjectSerializer).
|
|
934
|
-
return this.
|
|
938
|
+
protoOf(JsonObjectSerializer).c1c = function (encoder, value) {
|
|
939
|
+
return this.l1z(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
935
940
|
};
|
|
936
|
-
protoOf(JsonObjectSerializer).
|
|
941
|
+
protoOf(JsonObjectSerializer).d1c = function (decoder) {
|
|
937
942
|
verify_0(decoder);
|
|
938
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).
|
|
943
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).d1c(decoder));
|
|
939
944
|
};
|
|
940
945
|
var JsonObjectSerializer_instance;
|
|
941
946
|
function JsonObjectSerializer_getInstance() {
|
|
@@ -945,29 +950,29 @@
|
|
|
945
950
|
}
|
|
946
951
|
function JsonPrimitiveSerializer() {
|
|
947
952
|
JsonPrimitiveSerializer_instance = this;
|
|
948
|
-
this.
|
|
953
|
+
this.z1y_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
949
954
|
}
|
|
950
|
-
protoOf(JsonPrimitiveSerializer).
|
|
951
|
-
return this.
|
|
955
|
+
protoOf(JsonPrimitiveSerializer).b1c = function () {
|
|
956
|
+
return this.z1y_1;
|
|
952
957
|
};
|
|
953
|
-
protoOf(JsonPrimitiveSerializer).
|
|
958
|
+
protoOf(JsonPrimitiveSerializer).m1z = function (encoder, value) {
|
|
954
959
|
verify(encoder);
|
|
955
960
|
var tmp;
|
|
956
961
|
if (value instanceof JsonNull) {
|
|
957
|
-
encoder.
|
|
962
|
+
encoder.a1h(JsonNullSerializer_getInstance(), JsonNull_getInstance());
|
|
958
963
|
tmp = Unit_getInstance();
|
|
959
964
|
} else {
|
|
960
965
|
var tmp_0 = JsonLiteralSerializer_getInstance();
|
|
961
|
-
encoder.
|
|
966
|
+
encoder.a1h(tmp_0, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
962
967
|
tmp = Unit_getInstance();
|
|
963
968
|
}
|
|
964
969
|
return tmp;
|
|
965
970
|
};
|
|
966
|
-
protoOf(JsonPrimitiveSerializer).
|
|
967
|
-
return this.
|
|
971
|
+
protoOf(JsonPrimitiveSerializer).c1c = function (encoder, value) {
|
|
972
|
+
return this.m1z(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
968
973
|
};
|
|
969
|
-
protoOf(JsonPrimitiveSerializer).
|
|
970
|
-
var result = asJsonDecoder(decoder).
|
|
974
|
+
protoOf(JsonPrimitiveSerializer).d1c = function (decoder) {
|
|
975
|
+
var result = asJsonDecoder(decoder).k1y();
|
|
971
976
|
if (!(result instanceof JsonPrimitive))
|
|
972
977
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
973
978
|
return result;
|
|
@@ -980,24 +985,24 @@
|
|
|
980
985
|
}
|
|
981
986
|
function JsonNullSerializer() {
|
|
982
987
|
JsonNullSerializer_instance = this;
|
|
983
|
-
this.
|
|
988
|
+
this.a1z_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
984
989
|
}
|
|
985
|
-
protoOf(JsonNullSerializer).
|
|
986
|
-
return this.
|
|
990
|
+
protoOf(JsonNullSerializer).b1c = function () {
|
|
991
|
+
return this.a1z_1;
|
|
987
992
|
};
|
|
988
|
-
protoOf(JsonNullSerializer).
|
|
993
|
+
protoOf(JsonNullSerializer).n1z = function (encoder, value) {
|
|
989
994
|
verify(encoder);
|
|
990
|
-
encoder.
|
|
995
|
+
encoder.d1g();
|
|
991
996
|
};
|
|
992
|
-
protoOf(JsonNullSerializer).
|
|
993
|
-
return this.
|
|
997
|
+
protoOf(JsonNullSerializer).c1c = function (encoder, value) {
|
|
998
|
+
return this.n1z(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
994
999
|
};
|
|
995
|
-
protoOf(JsonNullSerializer).
|
|
1000
|
+
protoOf(JsonNullSerializer).d1c = function (decoder) {
|
|
996
1001
|
verify_0(decoder);
|
|
997
|
-
if (decoder.
|
|
1002
|
+
if (decoder.t1e()) {
|
|
998
1003
|
throw new JsonDecodingException("Expected 'null' literal");
|
|
999
1004
|
}
|
|
1000
|
-
decoder.
|
|
1005
|
+
decoder.u1e();
|
|
1001
1006
|
return JsonNull_getInstance();
|
|
1002
1007
|
};
|
|
1003
1008
|
var JsonNullSerializer_instance;
|
|
@@ -1011,18 +1016,18 @@
|
|
|
1011
1016
|
}
|
|
1012
1017
|
function JsonLiteralSerializer() {
|
|
1013
1018
|
JsonLiteralSerializer_instance = this;
|
|
1014
|
-
this.
|
|
1019
|
+
this.b1z_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
1015
1020
|
}
|
|
1016
|
-
protoOf(JsonLiteralSerializer).
|
|
1017
|
-
return this.
|
|
1021
|
+
protoOf(JsonLiteralSerializer).b1c = function () {
|
|
1022
|
+
return this.b1z_1;
|
|
1018
1023
|
};
|
|
1019
|
-
protoOf(JsonLiteralSerializer).
|
|
1024
|
+
protoOf(JsonLiteralSerializer).o1z = function (encoder, value) {
|
|
1020
1025
|
verify(encoder);
|
|
1021
|
-
if (value.
|
|
1022
|
-
return encoder.
|
|
1026
|
+
if (value.t1y_1) {
|
|
1027
|
+
return encoder.m1g(value.v1y_1);
|
|
1023
1028
|
}
|
|
1024
|
-
if (!(value.
|
|
1025
|
-
return encoder.
|
|
1029
|
+
if (!(value.u1y_1 == null)) {
|
|
1030
|
+
return encoder.o1g(value.u1y_1).m1g(value.v1y_1);
|
|
1026
1031
|
}
|
|
1027
1032
|
var tmp0_safe_receiver = get_longOrNull(value);
|
|
1028
1033
|
if (tmp0_safe_receiver == null)
|
|
@@ -1031,9 +1036,9 @@
|
|
|
1031
1036
|
var tmp$ret$0;
|
|
1032
1037
|
// Inline function 'kotlin.let' call
|
|
1033
1038
|
// Inline function 'kotlin.contracts.contract' call
|
|
1034
|
-
return encoder.
|
|
1039
|
+
return encoder.i1g(tmp0_safe_receiver);
|
|
1035
1040
|
}
|
|
1036
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
1041
|
+
var tmp1_safe_receiver = toULongOrNull(value.v1y_1);
|
|
1037
1042
|
var tmp = tmp1_safe_receiver;
|
|
1038
1043
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
1039
1044
|
null;
|
|
@@ -1041,11 +1046,11 @@
|
|
|
1041
1046
|
var tmp$ret$2;
|
|
1042
1047
|
// Inline function 'kotlin.let' call
|
|
1043
1048
|
// Inline function 'kotlin.contracts.contract' call
|
|
1044
|
-
var tmp_0 = encoder.
|
|
1049
|
+
var tmp_0 = encoder.o1g(serializer_0(Companion_getInstance()).b1c());
|
|
1045
1050
|
var tmp$ret$1;
|
|
1046
1051
|
// Inline function 'kotlin.ULong.toLong' call
|
|
1047
1052
|
tmp$ret$1 = _ULong___get_data__impl__fggpzb(tmp1_safe_receiver);
|
|
1048
|
-
tmp_0.
|
|
1053
|
+
tmp_0.i1g(tmp$ret$1);
|
|
1049
1054
|
return Unit_getInstance();
|
|
1050
1055
|
}
|
|
1051
1056
|
var tmp2_safe_receiver = get_doubleOrNull(value);
|
|
@@ -1055,7 +1060,7 @@
|
|
|
1055
1060
|
var tmp$ret$3;
|
|
1056
1061
|
// Inline function 'kotlin.let' call
|
|
1057
1062
|
// Inline function 'kotlin.contracts.contract' call
|
|
1058
|
-
return encoder.
|
|
1063
|
+
return encoder.k1g(tmp2_safe_receiver);
|
|
1059
1064
|
}
|
|
1060
1065
|
var tmp3_safe_receiver = get_booleanOrNull(value);
|
|
1061
1066
|
if (tmp3_safe_receiver == null)
|
|
@@ -1064,15 +1069,15 @@
|
|
|
1064
1069
|
var tmp$ret$4;
|
|
1065
1070
|
// Inline function 'kotlin.let' call
|
|
1066
1071
|
// Inline function 'kotlin.contracts.contract' call
|
|
1067
|
-
return encoder.
|
|
1072
|
+
return encoder.e1g(tmp3_safe_receiver);
|
|
1068
1073
|
}
|
|
1069
|
-
encoder.
|
|
1074
|
+
encoder.m1g(value.v1y_1);
|
|
1070
1075
|
};
|
|
1071
|
-
protoOf(JsonLiteralSerializer).
|
|
1072
|
-
return this.
|
|
1076
|
+
protoOf(JsonLiteralSerializer).c1c = function (encoder, value) {
|
|
1077
|
+
return this.o1z(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
1073
1078
|
};
|
|
1074
|
-
protoOf(JsonLiteralSerializer).
|
|
1075
|
-
var result = asJsonDecoder(decoder).
|
|
1079
|
+
protoOf(JsonLiteralSerializer).d1c = function (decoder) {
|
|
1080
|
+
var result = asJsonDecoder(decoder).k1y();
|
|
1076
1081
|
if (!(result instanceof JsonLiteral))
|
|
1077
1082
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
1078
1083
|
return result;
|
|
@@ -1113,35 +1118,35 @@
|
|
|
1113
1118
|
var tmp$ret$0;
|
|
1114
1119
|
// Inline function 'kotlin.getValue' call
|
|
1115
1120
|
var tmp0_getValue = original$factory();
|
|
1116
|
-
tmp$ret$0 = $this.
|
|
1121
|
+
tmp$ret$0 = $this.p1z_1.j1();
|
|
1117
1122
|
return tmp$ret$0;
|
|
1118
1123
|
}
|
|
1119
1124
|
function defer$1($deferred) {
|
|
1120
|
-
this.
|
|
1125
|
+
this.p1z_1 = lazy_0($deferred);
|
|
1121
1126
|
}
|
|
1122
|
-
protoOf(defer$1).
|
|
1123
|
-
return _get_original__l7ku1m(this).
|
|
1127
|
+
protoOf(defer$1).b1d = function () {
|
|
1128
|
+
return _get_original__l7ku1m(this).b1d();
|
|
1124
1129
|
};
|
|
1125
|
-
protoOf(defer$1).
|
|
1126
|
-
return _get_original__l7ku1m(this).
|
|
1130
|
+
protoOf(defer$1).p1d = function () {
|
|
1131
|
+
return _get_original__l7ku1m(this).p1d();
|
|
1127
1132
|
};
|
|
1128
|
-
protoOf(defer$1).
|
|
1129
|
-
return _get_original__l7ku1m(this).
|
|
1133
|
+
protoOf(defer$1).n1d = function () {
|
|
1134
|
+
return _get_original__l7ku1m(this).n1d();
|
|
1130
1135
|
};
|
|
1131
|
-
protoOf(defer$1).
|
|
1132
|
-
return _get_original__l7ku1m(this).
|
|
1136
|
+
protoOf(defer$1).t1d = function (index) {
|
|
1137
|
+
return _get_original__l7ku1m(this).t1d(index);
|
|
1133
1138
|
};
|
|
1134
|
-
protoOf(defer$1).
|
|
1135
|
-
return _get_original__l7ku1m(this).
|
|
1139
|
+
protoOf(defer$1).s1d = function (name) {
|
|
1140
|
+
return _get_original__l7ku1m(this).s1d(name);
|
|
1136
1141
|
};
|
|
1137
|
-
protoOf(defer$1).
|
|
1138
|
-
return _get_original__l7ku1m(this).
|
|
1142
|
+
protoOf(defer$1).q1d = function (index) {
|
|
1143
|
+
return _get_original__l7ku1m(this).q1d(index);
|
|
1139
1144
|
};
|
|
1140
|
-
protoOf(defer$1).
|
|
1141
|
-
return _get_original__l7ku1m(this).
|
|
1145
|
+
protoOf(defer$1).r1d = function (index) {
|
|
1146
|
+
return _get_original__l7ku1m(this).r1d(index);
|
|
1142
1147
|
};
|
|
1143
|
-
protoOf(defer$1).
|
|
1144
|
-
return _get_original__l7ku1m(this).
|
|
1148
|
+
protoOf(defer$1).u1d = function (index) {
|
|
1149
|
+
return _get_original__l7ku1m(this).u1d(index);
|
|
1145
1150
|
};
|
|
1146
1151
|
function original$factory() {
|
|
1147
1152
|
return getPropertyCallableRef('original', 1, KProperty1, function (receiver) {
|
|
@@ -1151,142 +1156,142 @@
|
|
|
1151
1156
|
function JsonEncoder() {
|
|
1152
1157
|
}
|
|
1153
1158
|
function Composer(writer) {
|
|
1154
|
-
this.
|
|
1155
|
-
this.
|
|
1159
|
+
this.q1z_1 = writer;
|
|
1160
|
+
this.r1z_1 = true;
|
|
1156
1161
|
}
|
|
1157
|
-
protoOf(Composer).
|
|
1158
|
-
this.
|
|
1162
|
+
protoOf(Composer).s1z = function () {
|
|
1163
|
+
this.r1z_1 = true;
|
|
1159
1164
|
};
|
|
1160
|
-
protoOf(Composer).
|
|
1165
|
+
protoOf(Composer).t1z = function () {
|
|
1161
1166
|
return Unit_getInstance();
|
|
1162
1167
|
};
|
|
1163
|
-
protoOf(Composer).
|
|
1164
|
-
this.
|
|
1168
|
+
protoOf(Composer).u1z = function () {
|
|
1169
|
+
this.r1z_1 = false;
|
|
1165
1170
|
};
|
|
1166
|
-
protoOf(Composer).
|
|
1171
|
+
protoOf(Composer).v1z = function () {
|
|
1167
1172
|
return Unit_getInstance();
|
|
1168
1173
|
};
|
|
1169
|
-
protoOf(Composer).
|
|
1170
|
-
return this.
|
|
1174
|
+
protoOf(Composer).w1z = function (v) {
|
|
1175
|
+
return this.q1z_1.x1z(v);
|
|
1171
1176
|
};
|
|
1172
|
-
protoOf(Composer).
|
|
1173
|
-
return this.
|
|
1177
|
+
protoOf(Composer).y1z = function (v) {
|
|
1178
|
+
return this.q1z_1.z1z(v);
|
|
1174
1179
|
};
|
|
1175
|
-
protoOf(Composer).
|
|
1176
|
-
return this.
|
|
1180
|
+
protoOf(Composer).a20 = function (v) {
|
|
1181
|
+
return this.q1z_1.z1z(v.toString());
|
|
1177
1182
|
};
|
|
1178
|
-
protoOf(Composer).
|
|
1179
|
-
return this.
|
|
1183
|
+
protoOf(Composer).b20 = function (v) {
|
|
1184
|
+
return this.q1z_1.z1z(v.toString());
|
|
1180
1185
|
};
|
|
1181
|
-
protoOf(Composer).
|
|
1182
|
-
return this.
|
|
1186
|
+
protoOf(Composer).c20 = function (v) {
|
|
1187
|
+
return this.q1z_1.d20(toLong_0(v));
|
|
1183
1188
|
};
|
|
1184
|
-
protoOf(Composer).
|
|
1185
|
-
return this.
|
|
1189
|
+
protoOf(Composer).e20 = function (v) {
|
|
1190
|
+
return this.q1z_1.d20(toLong_0(v));
|
|
1186
1191
|
};
|
|
1187
|
-
protoOf(Composer).
|
|
1188
|
-
return this.
|
|
1192
|
+
protoOf(Composer).f20 = function (v) {
|
|
1193
|
+
return this.q1z_1.d20(toLong_0(v));
|
|
1189
1194
|
};
|
|
1190
|
-
protoOf(Composer).
|
|
1191
|
-
return this.
|
|
1195
|
+
protoOf(Composer).g20 = function (v) {
|
|
1196
|
+
return this.q1z_1.d20(v);
|
|
1192
1197
|
};
|
|
1193
|
-
protoOf(Composer).
|
|
1194
|
-
return this.
|
|
1198
|
+
protoOf(Composer).h20 = function (v) {
|
|
1199
|
+
return this.q1z_1.z1z(v.toString());
|
|
1195
1200
|
};
|
|
1196
|
-
protoOf(Composer).
|
|
1197
|
-
return this.
|
|
1201
|
+
protoOf(Composer).i20 = function (value) {
|
|
1202
|
+
return this.q1z_1.j20(value);
|
|
1198
1203
|
};
|
|
1199
1204
|
function Composer_0(sb, json) {
|
|
1200
|
-
return json.
|
|
1205
|
+
return json.p1w_1.m1x_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1201
1206
|
}
|
|
1202
1207
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1203
1208
|
Composer.call(this, writer);
|
|
1204
|
-
this.
|
|
1209
|
+
this.m20_1 = forceQuoting;
|
|
1205
1210
|
}
|
|
1206
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1207
|
-
if (this.
|
|
1211
|
+
protoOf(ComposerForUnsignedNumbers).f20 = function (v) {
|
|
1212
|
+
if (this.m20_1) {
|
|
1208
1213
|
var tmp$ret$0;
|
|
1209
1214
|
// Inline function 'kotlin.toUInt' call
|
|
1210
1215
|
tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1211
|
-
this.
|
|
1216
|
+
this.i20(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1212
1217
|
} else {
|
|
1213
1218
|
var tmp$ret$1;
|
|
1214
1219
|
// Inline function 'kotlin.toUInt' call
|
|
1215
1220
|
tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1216
|
-
this.
|
|
1221
|
+
this.y1z(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1217
1222
|
}
|
|
1218
1223
|
};
|
|
1219
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1220
|
-
if (this.
|
|
1224
|
+
protoOf(ComposerForUnsignedNumbers).g20 = function (v) {
|
|
1225
|
+
if (this.m20_1) {
|
|
1221
1226
|
var tmp$ret$0;
|
|
1222
1227
|
// Inline function 'kotlin.toULong' call
|
|
1223
1228
|
tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1224
|
-
this.
|
|
1229
|
+
this.i20(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1225
1230
|
} else {
|
|
1226
1231
|
var tmp$ret$1;
|
|
1227
1232
|
// Inline function 'kotlin.toULong' call
|
|
1228
1233
|
tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1229
|
-
this.
|
|
1234
|
+
this.y1z(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1230
1235
|
}
|
|
1231
1236
|
};
|
|
1232
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1233
|
-
if (this.
|
|
1237
|
+
protoOf(ComposerForUnsignedNumbers).c20 = function (v) {
|
|
1238
|
+
if (this.m20_1) {
|
|
1234
1239
|
var tmp$ret$0;
|
|
1235
1240
|
// Inline function 'kotlin.toUByte' call
|
|
1236
1241
|
tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1237
|
-
this.
|
|
1242
|
+
this.i20(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1238
1243
|
} else {
|
|
1239
1244
|
var tmp$ret$1;
|
|
1240
1245
|
// Inline function 'kotlin.toUByte' call
|
|
1241
1246
|
tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1242
|
-
this.
|
|
1247
|
+
this.y1z(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1243
1248
|
}
|
|
1244
1249
|
};
|
|
1245
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1246
|
-
if (this.
|
|
1250
|
+
protoOf(ComposerForUnsignedNumbers).e20 = function (v) {
|
|
1251
|
+
if (this.m20_1) {
|
|
1247
1252
|
var tmp$ret$0;
|
|
1248
1253
|
// Inline function 'kotlin.toUShort' call
|
|
1249
1254
|
tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1250
|
-
this.
|
|
1255
|
+
this.i20(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1251
1256
|
} else {
|
|
1252
1257
|
var tmp$ret$1;
|
|
1253
1258
|
// Inline function 'kotlin.toUShort' call
|
|
1254
1259
|
tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1255
|
-
this.
|
|
1260
|
+
this.y1z(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1256
1261
|
}
|
|
1257
1262
|
};
|
|
1258
1263
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1259
1264
|
Composer.call(this, writer);
|
|
1260
|
-
this.
|
|
1265
|
+
this.p20_1 = forceQuoting;
|
|
1261
1266
|
}
|
|
1262
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1263
|
-
if (this.
|
|
1264
|
-
protoOf(Composer).s20.call(this, value);
|
|
1265
|
-
} else {
|
|
1267
|
+
protoOf(ComposerForUnquotedLiterals).i20 = function (value) {
|
|
1268
|
+
if (this.p20_1) {
|
|
1266
1269
|
protoOf(Composer).i20.call(this, value);
|
|
1270
|
+
} else {
|
|
1271
|
+
protoOf(Composer).y1z.call(this, value);
|
|
1267
1272
|
}
|
|
1268
1273
|
};
|
|
1269
1274
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1270
1275
|
Composer.call(this, writer);
|
|
1271
|
-
this.
|
|
1272
|
-
this.
|
|
1276
|
+
this.s20_1 = json;
|
|
1277
|
+
this.t20_1 = 0;
|
|
1273
1278
|
}
|
|
1274
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1275
|
-
this.
|
|
1279
|
+
protoOf(ComposerWithPrettyPrint).s1z = function () {
|
|
1280
|
+
this.r1z_1 = true;
|
|
1276
1281
|
var tmp0_this = this;
|
|
1277
|
-
var tmp1 = tmp0_this.
|
|
1278
|
-
tmp0_this.
|
|
1282
|
+
var tmp1 = tmp0_this.t20_1;
|
|
1283
|
+
tmp0_this.t20_1 = tmp1 + 1 | 0;
|
|
1279
1284
|
};
|
|
1280
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1285
|
+
protoOf(ComposerWithPrettyPrint).t1z = function () {
|
|
1281
1286
|
var tmp0_this = this;
|
|
1282
|
-
var tmp1 = tmp0_this.
|
|
1283
|
-
tmp0_this.
|
|
1287
|
+
var tmp1 = tmp0_this.t20_1;
|
|
1288
|
+
tmp0_this.t20_1 = tmp1 - 1 | 0;
|
|
1284
1289
|
};
|
|
1285
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1286
|
-
this.
|
|
1287
|
-
this.
|
|
1290
|
+
protoOf(ComposerWithPrettyPrint).u1z = function () {
|
|
1291
|
+
this.r1z_1 = false;
|
|
1292
|
+
this.y1z('\n');
|
|
1288
1293
|
// Inline function 'kotlin.repeat' call
|
|
1289
|
-
var tmp0_repeat = this.
|
|
1294
|
+
var tmp0_repeat = this.t20_1;
|
|
1290
1295
|
// Inline function 'kotlin.contracts.contract' call
|
|
1291
1296
|
var inductionVariable = 0;
|
|
1292
1297
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1294,16 +1299,16 @@
|
|
|
1294
1299
|
var index = inductionVariable;
|
|
1295
1300
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1296
1301
|
// Inline function 'kotlinx.serialization.json.internal.ComposerWithPrettyPrint.nextItem.<anonymous>' call
|
|
1297
|
-
this.
|
|
1302
|
+
this.y1z(this.s20_1.p1w_1.o1x_1);
|
|
1298
1303
|
}
|
|
1299
1304
|
while (inductionVariable < tmp0_repeat);
|
|
1300
1305
|
};
|
|
1301
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1302
|
-
this.
|
|
1306
|
+
protoOf(ComposerWithPrettyPrint).v1z = function () {
|
|
1307
|
+
this.w1z(_Char___init__impl__6a9atx(32));
|
|
1303
1308
|
};
|
|
1304
1309
|
function readIfAbsent($this, descriptor, index) {
|
|
1305
|
-
$this.
|
|
1306
|
-
return $this.
|
|
1310
|
+
$this.v20_1 = !descriptor.u1d(index) ? descriptor.r1d(index).i1d() : false;
|
|
1311
|
+
return $this.v20_1;
|
|
1307
1312
|
}
|
|
1308
1313
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1309
1314
|
var l = function (p0, p1) {
|
|
@@ -1314,24 +1319,24 @@
|
|
|
1314
1319
|
}
|
|
1315
1320
|
function JsonElementMarker(descriptor) {
|
|
1316
1321
|
var tmp = this;
|
|
1317
|
-
tmp.
|
|
1318
|
-
this.
|
|
1322
|
+
tmp.u20_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1323
|
+
this.v20_1 = false;
|
|
1319
1324
|
}
|
|
1320
|
-
protoOf(JsonElementMarker).
|
|
1321
|
-
this.
|
|
1325
|
+
protoOf(JsonElementMarker).g1l = function (index) {
|
|
1326
|
+
this.u20_1.g1l(index);
|
|
1322
1327
|
};
|
|
1323
|
-
protoOf(JsonElementMarker).
|
|
1324
|
-
return this.
|
|
1328
|
+
protoOf(JsonElementMarker).h1l = function () {
|
|
1329
|
+
return this.u20_1.h1l();
|
|
1325
1330
|
};
|
|
1326
1331
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1327
|
-
_this__u8e3s4.
|
|
1332
|
+
_this__u8e3s4.w20('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());
|
|
1328
1333
|
}
|
|
1329
1334
|
function JsonEncodingException(message) {
|
|
1330
1335
|
JsonException.call(this, message);
|
|
1331
1336
|
captureStack(this, JsonEncodingException);
|
|
1332
1337
|
}
|
|
1333
1338
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1334
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
1339
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.b1d() + "' 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.p1d() + "'.\n") + get_allowStructuredMapKeysHint());
|
|
1335
1340
|
}
|
|
1336
1341
|
function JsonDecodingException(message) {
|
|
1337
1342
|
JsonException.call(this, message);
|
|
@@ -1399,11 +1404,11 @@
|
|
|
1399
1404
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1400
1405
|
if (!(strategy == null))
|
|
1401
1406
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1402
|
-
var index = _this__u8e3s4.
|
|
1407
|
+
var index = _this__u8e3s4.s1d(name);
|
|
1403
1408
|
Companion_getInstance_0();
|
|
1404
1409
|
if (!(index === -3))
|
|
1405
1410
|
return index;
|
|
1406
|
-
if (!json.
|
|
1411
|
+
if (!json.p1w_1.t1x_1)
|
|
1407
1412
|
return index;
|
|
1408
1413
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1409
1414
|
}
|
|
@@ -1413,29 +1418,29 @@
|
|
|
1413
1418
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
1414
1419
|
Companion_getInstance_0();
|
|
1415
1420
|
if (index === -3)
|
|
1416
|
-
throw SerializationException_init_$Create$(_this__u8e3s4.
|
|
1421
|
+
throw SerializationException_init_$Create$(_this__u8e3s4.b1d() + " does not contain element with name '" + name + "'" + suffix);
|
|
1417
1422
|
return index;
|
|
1418
1423
|
}
|
|
1419
1424
|
function getJsonElementName(_this__u8e3s4, json, index) {
|
|
1420
1425
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1421
1426
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1422
|
-
return strategy == null ? _this__u8e3s4.
|
|
1427
|
+
return strategy == null ? _this__u8e3s4.t1d(index) : serializationNamesIndices(_this__u8e3s4, json, strategy)[index];
|
|
1423
1428
|
}
|
|
1424
1429
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1425
1430
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1426
|
-
return equals(_this__u8e3s4.
|
|
1431
|
+
return equals(_this__u8e3s4.p1d(), CLASS_getInstance()) ? json.p1w_1.u1x_1 : null;
|
|
1427
1432
|
}
|
|
1428
1433
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1429
1434
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1430
1435
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1431
1436
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1432
|
-
return tmp.
|
|
1437
|
+
return tmp.y20(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1433
1438
|
}
|
|
1434
1439
|
function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
1435
1440
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1436
1441
|
var tmp = get_schemaCache(json);
|
|
1437
1442
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1438
|
-
return tmp.
|
|
1443
|
+
return tmp.y20(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1439
1444
|
}
|
|
1440
1445
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1441
1446
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1445,14 +1450,14 @@
|
|
|
1445
1450
|
var builder = tmp$ret$0;
|
|
1446
1451
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1447
1452
|
var inductionVariable = 0;
|
|
1448
|
-
var last = _this__u8e3s4.
|
|
1453
|
+
var last = _this__u8e3s4.n1d();
|
|
1449
1454
|
if (inductionVariable < last)
|
|
1450
1455
|
do {
|
|
1451
1456
|
var i = inductionVariable;
|
|
1452
1457
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1453
1458
|
var tmp$ret$2;
|
|
1454
1459
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1455
|
-
var tmp1_filterIsInstance = _this__u8e3s4.
|
|
1460
|
+
var tmp1_filterIsInstance = _this__u8e3s4.q1d(i);
|
|
1456
1461
|
var tmp$ret$1;
|
|
1457
1462
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1458
1463
|
var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
|
|
@@ -1466,7 +1471,7 @@
|
|
|
1466
1471
|
tmp$ret$1 = tmp0_filterIsInstanceTo;
|
|
1467
1472
|
tmp$ret$2 = tmp$ret$1;
|
|
1468
1473
|
var tmp1_safe_receiver = singleOrNull(tmp$ret$2);
|
|
1469
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1474
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.z20_1;
|
|
1470
1475
|
if (tmp2_safe_receiver == null)
|
|
1471
1476
|
null;
|
|
1472
1477
|
else {
|
|
@@ -1485,7 +1490,7 @@
|
|
|
1485
1490
|
var tmp$ret$3;
|
|
1486
1491
|
// Inline function 'kotlin.let' call
|
|
1487
1492
|
// Inline function 'kotlin.contracts.contract' call
|
|
1488
|
-
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, tmp3_safe_receiver.
|
|
1493
|
+
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, tmp3_safe_receiver.a21(_this__u8e3s4, i, _this__u8e3s4.t1d(i)), i);
|
|
1489
1494
|
tmp$ret$3 = Unit_getInstance();
|
|
1490
1495
|
}
|
|
1491
1496
|
}
|
|
@@ -1523,7 +1528,7 @@
|
|
|
1523
1528
|
tmp$ret$0 = (isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).r1(name);
|
|
1524
1529
|
tmp$ret$1 = tmp$ret$0;
|
|
1525
1530
|
if (tmp$ret$1) {
|
|
1526
|
-
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.
|
|
1531
|
+
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.t1d(index) + ' is already one of the names for property ' + ($this_buildDeserializationNamesMap.t1d(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildDeserializationNamesMap));
|
|
1527
1532
|
}
|
|
1528
1533
|
// Inline function 'kotlin.collections.set' call
|
|
1529
1534
|
_this__u8e3s4.a4(name, index);
|
|
@@ -1536,7 +1541,7 @@
|
|
|
1536
1541
|
function serializationNamesIndices$lambda($this_serializationNamesIndices, $strategy) {
|
|
1537
1542
|
return function () {
|
|
1538
1543
|
var tmp = 0;
|
|
1539
|
-
var tmp_0 = $this_serializationNamesIndices.
|
|
1544
|
+
var tmp_0 = $this_serializationNamesIndices.n1d();
|
|
1540
1545
|
var tmp$ret$0;
|
|
1541
1546
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1542
1547
|
tmp$ret$0 = fillArrayVal(Array(tmp_0), null);
|
|
@@ -1545,8 +1550,8 @@
|
|
|
1545
1550
|
var tmp_2 = tmp;
|
|
1546
1551
|
var tmp$ret$1;
|
|
1547
1552
|
// Inline function 'kotlinx.serialization.json.internal.serializationNamesIndices.<anonymous>.<anonymous>' call
|
|
1548
|
-
var baseName = $this_serializationNamesIndices.
|
|
1549
|
-
tmp$ret$1 = $strategy.
|
|
1553
|
+
var baseName = $this_serializationNamesIndices.t1d(tmp_2);
|
|
1554
|
+
tmp$ret$1 = $strategy.a21($this_serializationNamesIndices, tmp_2, baseName);
|
|
1550
1555
|
tmp_1[tmp_2] = tmp$ret$1;
|
|
1551
1556
|
tmp = tmp + 1 | 0;
|
|
1552
1557
|
}
|
|
@@ -1572,16 +1577,16 @@
|
|
|
1572
1577
|
return Tombstone_instance;
|
|
1573
1578
|
}
|
|
1574
1579
|
function resize($this) {
|
|
1575
|
-
var newSize = imul($this.
|
|
1576
|
-
$this.
|
|
1577
|
-
$this.
|
|
1580
|
+
var newSize = imul($this.d21_1, 2);
|
|
1581
|
+
$this.b21_1 = copyOf($this.b21_1, newSize);
|
|
1582
|
+
$this.c21_1 = copyOf_0($this.c21_1, newSize);
|
|
1578
1583
|
}
|
|
1579
1584
|
function JsonPath() {
|
|
1580
1585
|
var tmp = this;
|
|
1581
1586
|
var tmp$ret$0;
|
|
1582
1587
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1583
1588
|
tmp$ret$0 = fillArrayVal(Array(8), null);
|
|
1584
|
-
tmp.
|
|
1589
|
+
tmp.b21_1 = tmp$ret$0;
|
|
1585
1590
|
var tmp_0 = this;
|
|
1586
1591
|
var tmp_1 = 0;
|
|
1587
1592
|
var tmp_2 = 8;
|
|
@@ -1594,56 +1599,56 @@
|
|
|
1594
1599
|
tmp_3[tmp_4] = tmp$ret$1;
|
|
1595
1600
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1596
1601
|
}
|
|
1597
|
-
tmp_0.
|
|
1598
|
-
this.
|
|
1602
|
+
tmp_0.c21_1 = tmp_3;
|
|
1603
|
+
this.d21_1 = -1;
|
|
1599
1604
|
}
|
|
1600
|
-
protoOf(JsonPath).
|
|
1605
|
+
protoOf(JsonPath).e21 = function (sd) {
|
|
1601
1606
|
var tmp0_this = this;
|
|
1602
|
-
tmp0_this.
|
|
1603
|
-
var depth = tmp0_this.
|
|
1604
|
-
if (depth === this.
|
|
1607
|
+
tmp0_this.d21_1 = tmp0_this.d21_1 + 1 | 0;
|
|
1608
|
+
var depth = tmp0_this.d21_1;
|
|
1609
|
+
if (depth === this.b21_1.length) {
|
|
1605
1610
|
resize(this);
|
|
1606
1611
|
}
|
|
1607
|
-
this.
|
|
1612
|
+
this.b21_1[depth] = sd;
|
|
1608
1613
|
};
|
|
1609
|
-
protoOf(JsonPath).
|
|
1610
|
-
this.
|
|
1614
|
+
protoOf(JsonPath).f21 = function (index) {
|
|
1615
|
+
this.c21_1[this.d21_1] = index;
|
|
1611
1616
|
};
|
|
1612
|
-
protoOf(JsonPath).
|
|
1617
|
+
protoOf(JsonPath).g21 = function (key) {
|
|
1613
1618
|
var tmp;
|
|
1614
|
-
if (!(this.
|
|
1619
|
+
if (!(this.c21_1[this.d21_1] === -2)) {
|
|
1615
1620
|
var tmp0_this = this;
|
|
1616
|
-
tmp0_this.
|
|
1617
|
-
tmp = tmp0_this.
|
|
1621
|
+
tmp0_this.d21_1 = tmp0_this.d21_1 + 1 | 0;
|
|
1622
|
+
tmp = tmp0_this.d21_1 === this.b21_1.length;
|
|
1618
1623
|
} else {
|
|
1619
1624
|
tmp = false;
|
|
1620
1625
|
}
|
|
1621
1626
|
if (tmp) {
|
|
1622
1627
|
resize(this);
|
|
1623
1628
|
}
|
|
1624
|
-
this.
|
|
1625
|
-
this.
|
|
1629
|
+
this.b21_1[this.d21_1] = key;
|
|
1630
|
+
this.c21_1[this.d21_1] = -2;
|
|
1626
1631
|
};
|
|
1627
|
-
protoOf(JsonPath).
|
|
1628
|
-
if (this.
|
|
1629
|
-
this.
|
|
1632
|
+
protoOf(JsonPath).h21 = function () {
|
|
1633
|
+
if (this.c21_1[this.d21_1] === -2) {
|
|
1634
|
+
this.b21_1[this.d21_1] = Tombstone_getInstance();
|
|
1630
1635
|
}
|
|
1631
1636
|
};
|
|
1632
|
-
protoOf(JsonPath).
|
|
1633
|
-
var depth = this.
|
|
1634
|
-
if (this.
|
|
1635
|
-
this.
|
|
1637
|
+
protoOf(JsonPath).i21 = function () {
|
|
1638
|
+
var depth = this.d21_1;
|
|
1639
|
+
if (this.c21_1[depth] === -2) {
|
|
1640
|
+
this.c21_1[depth] = -1;
|
|
1636
1641
|
var tmp0_this = this;
|
|
1637
|
-
var tmp1 = tmp0_this.
|
|
1638
|
-
tmp0_this.
|
|
1642
|
+
var tmp1 = tmp0_this.d21_1;
|
|
1643
|
+
tmp0_this.d21_1 = tmp1 - 1 | 0;
|
|
1639
1644
|
}
|
|
1640
|
-
if (!(this.
|
|
1645
|
+
if (!(this.d21_1 === -1)) {
|
|
1641
1646
|
var tmp2_this = this;
|
|
1642
|
-
var tmp3 = tmp2_this.
|
|
1643
|
-
tmp2_this.
|
|
1647
|
+
var tmp3 = tmp2_this.d21_1;
|
|
1648
|
+
tmp2_this.d21_1 = tmp3 - 1 | 0;
|
|
1644
1649
|
}
|
|
1645
1650
|
};
|
|
1646
|
-
protoOf(JsonPath).
|
|
1651
|
+
protoOf(JsonPath).j21 = function () {
|
|
1647
1652
|
var tmp$ret$1;
|
|
1648
1653
|
// Inline function 'kotlin.text.buildString' call
|
|
1649
1654
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1654,7 +1659,7 @@
|
|
|
1654
1659
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1655
1660
|
tmp0_apply.k8('$');
|
|
1656
1661
|
// Inline function 'kotlin.repeat' call
|
|
1657
|
-
var tmp0_repeat = this.
|
|
1662
|
+
var tmp0_repeat = this.d21_1 + 1 | 0;
|
|
1658
1663
|
// Inline function 'kotlin.contracts.contract' call
|
|
1659
1664
|
var inductionVariable = 0;
|
|
1660
1665
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1662,19 +1667,19 @@
|
|
|
1662
1667
|
var index = inductionVariable;
|
|
1663
1668
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1664
1669
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1665
|
-
var element = this.
|
|
1670
|
+
var element = this.b21_1[index];
|
|
1666
1671
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1667
|
-
if (equals(element.
|
|
1668
|
-
if (!(this.
|
|
1672
|
+
if (equals(element.p1d(), LIST_getInstance())) {
|
|
1673
|
+
if (!(this.c21_1[index] === -1)) {
|
|
1669
1674
|
tmp0_apply.k8('[');
|
|
1670
|
-
tmp0_apply.j8(this.
|
|
1675
|
+
tmp0_apply.j8(this.c21_1[index]);
|
|
1671
1676
|
tmp0_apply.k8(']');
|
|
1672
1677
|
}
|
|
1673
1678
|
} else {
|
|
1674
|
-
var idx = this.
|
|
1679
|
+
var idx = this.c21_1[index];
|
|
1675
1680
|
if (idx >= 0) {
|
|
1676
1681
|
tmp0_apply.k8('.');
|
|
1677
|
-
tmp0_apply.k8(element.
|
|
1682
|
+
tmp0_apply.k8(element.t1d(idx));
|
|
1678
1683
|
}
|
|
1679
1684
|
}
|
|
1680
1685
|
} else {
|
|
@@ -1693,7 +1698,7 @@
|
|
|
1693
1698
|
return tmp$ret$1;
|
|
1694
1699
|
};
|
|
1695
1700
|
protoOf(JsonPath).toString = function () {
|
|
1696
|
-
return this.
|
|
1701
|
+
return this.j21();
|
|
1697
1702
|
};
|
|
1698
1703
|
function encodeByWriter(_this__u8e3s4, writer, serializer, value) {
|
|
1699
1704
|
var tmp = WriteMode_OBJ_getInstance();
|
|
@@ -1702,42 +1707,42 @@
|
|
|
1702
1707
|
var tmp0_arrayOfNulls = values().length;
|
|
1703
1708
|
tmp$ret$0 = fillArrayVal(Array(tmp0_arrayOfNulls), null);
|
|
1704
1709
|
var encoder = StreamingJsonEncoder_init_$Create$(writer, _this__u8e3s4, tmp, tmp$ret$0);
|
|
1705
|
-
encoder.
|
|
1710
|
+
encoder.a1h(serializer, value);
|
|
1706
1711
|
}
|
|
1707
1712
|
function readObject($this) {
|
|
1708
1713
|
var tmp$ret$2;
|
|
1709
1714
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1710
|
-
var lastToken = $this.
|
|
1711
|
-
if ($this.
|
|
1712
|
-
$this.
|
|
1715
|
+
var lastToken = $this.s21_1.v21(get_TC_BEGIN_OBJ());
|
|
1716
|
+
if ($this.s21_1.w21() === get_TC_COMMA()) {
|
|
1717
|
+
$this.s21_1.w20('Unexpected leading comma');
|
|
1713
1718
|
}
|
|
1714
1719
|
var tmp$ret$0;
|
|
1715
1720
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1716
1721
|
tmp$ret$0 = LinkedHashMap_init_$Create$();
|
|
1717
1722
|
var result = tmp$ret$0;
|
|
1718
|
-
$l$loop: while ($this.
|
|
1719
|
-
var key = $this.
|
|
1720
|
-
$this.
|
|
1723
|
+
$l$loop: while ($this.s21_1.x21()) {
|
|
1724
|
+
var key = $this.t21_1 ? $this.s21_1.z21() : $this.s21_1.y21();
|
|
1725
|
+
$this.s21_1.v21(get_TC_COLON());
|
|
1721
1726
|
var tmp$ret$1;
|
|
1722
1727
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1723
|
-
tmp$ret$1 = $this.
|
|
1728
|
+
tmp$ret$1 = $this.a22();
|
|
1724
1729
|
var element = tmp$ret$1;
|
|
1725
1730
|
// Inline function 'kotlin.collections.set' call
|
|
1726
1731
|
result.a4(key, element);
|
|
1727
|
-
lastToken = $this.
|
|
1732
|
+
lastToken = $this.s21_1.b22();
|
|
1728
1733
|
var tmp0_subject = lastToken;
|
|
1729
1734
|
if (tmp0_subject === get_TC_COMMA())
|
|
1730
1735
|
;
|
|
1731
1736
|
else if (tmp0_subject === get_TC_END_OBJ())
|
|
1732
1737
|
break $l$loop;
|
|
1733
1738
|
else {
|
|
1734
|
-
$this.
|
|
1739
|
+
$this.s21_1.w20('Expected end of the object or comma');
|
|
1735
1740
|
}
|
|
1736
1741
|
}
|
|
1737
1742
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1738
|
-
$this.
|
|
1743
|
+
$this.s21_1.v21(get_TC_END_OBJ());
|
|
1739
1744
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1740
|
-
$this.
|
|
1745
|
+
$this.s21_1.w20('Unexpected trailing comma');
|
|
1741
1746
|
}
|
|
1742
1747
|
tmp$ret$2 = new JsonObject(result);
|
|
1743
1748
|
return tmp$ret$2;
|
|
@@ -1749,44 +1754,44 @@
|
|
|
1749
1754
|
return tmp.ci();
|
|
1750
1755
|
}
|
|
1751
1756
|
function readArray($this) {
|
|
1752
|
-
var lastToken = $this.
|
|
1753
|
-
if ($this.
|
|
1754
|
-
$this.
|
|
1757
|
+
var lastToken = $this.s21_1.b22();
|
|
1758
|
+
if ($this.s21_1.w21() === get_TC_COMMA()) {
|
|
1759
|
+
$this.s21_1.w20('Unexpected leading comma');
|
|
1755
1760
|
}
|
|
1756
1761
|
var tmp$ret$0;
|
|
1757
1762
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1758
1763
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
1759
1764
|
var result = tmp$ret$0;
|
|
1760
|
-
while ($this.
|
|
1761
|
-
var element = $this.
|
|
1765
|
+
while ($this.s21_1.x21()) {
|
|
1766
|
+
var element = $this.a22();
|
|
1762
1767
|
result.a(element);
|
|
1763
|
-
lastToken = $this.
|
|
1768
|
+
lastToken = $this.s21_1.b22();
|
|
1764
1769
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1765
1770
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1766
|
-
var tmp0_require = $this.
|
|
1771
|
+
var tmp0_require = $this.s21_1;
|
|
1767
1772
|
var tmp1_require = lastToken === get_TC_END_LIST();
|
|
1768
|
-
var tmp2_require = tmp0_require.
|
|
1773
|
+
var tmp2_require = tmp0_require.d1x_1;
|
|
1769
1774
|
if (!tmp1_require) {
|
|
1770
1775
|
var tmp$ret$1;
|
|
1771
1776
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1772
1777
|
tmp$ret$1 = 'Expected end of the array or comma';
|
|
1773
|
-
tmp0_require.
|
|
1778
|
+
tmp0_require.w20(tmp$ret$1, tmp2_require);
|
|
1774
1779
|
}
|
|
1775
1780
|
}
|
|
1776
1781
|
}
|
|
1777
1782
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1778
|
-
$this.
|
|
1783
|
+
$this.s21_1.v21(get_TC_END_LIST());
|
|
1779
1784
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1780
|
-
$this.
|
|
1785
|
+
$this.s21_1.w20('Unexpected trailing comma');
|
|
1781
1786
|
}
|
|
1782
1787
|
return new JsonArray(result);
|
|
1783
1788
|
}
|
|
1784
1789
|
function readValue($this, isString) {
|
|
1785
1790
|
var tmp;
|
|
1786
|
-
if ($this.
|
|
1787
|
-
tmp = $this.
|
|
1791
|
+
if ($this.t21_1 ? true : !isString) {
|
|
1792
|
+
tmp = $this.s21_1.z21();
|
|
1788
1793
|
} else {
|
|
1789
|
-
tmp = $this.
|
|
1794
|
+
tmp = $this.s21_1.y21();
|
|
1790
1795
|
}
|
|
1791
1796
|
var string = tmp;
|
|
1792
1797
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1797,18 +1802,18 @@
|
|
|
1797
1802
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_getInstance());
|
|
1798
1803
|
}
|
|
1799
1804
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1800
|
-
this.
|
|
1805
|
+
this.x22_1 = this$0;
|
|
1801
1806
|
CoroutineImpl.call(this, resultContinuation);
|
|
1802
1807
|
}
|
|
1803
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1804
|
-
var tmp = this.
|
|
1808
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).c23 = function ($this$$receiver, it, $completion) {
|
|
1809
|
+
var tmp = this.d23($this$$receiver, it, $completion);
|
|
1805
1810
|
tmp.vh_1 = Unit_getInstance();
|
|
1806
1811
|
tmp.wh_1 = null;
|
|
1807
1812
|
return tmp.ci();
|
|
1808
1813
|
};
|
|
1809
1814
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).x8 = function (p1, p2, $completion) {
|
|
1810
1815
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1811
|
-
return this.
|
|
1816
|
+
return this.c23(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1812
1817
|
};
|
|
1813
1818
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).ci = function () {
|
|
1814
1819
|
var suspendResult = this.vh_1;
|
|
@@ -1818,32 +1823,32 @@
|
|
|
1818
1823
|
switch (tmp) {
|
|
1819
1824
|
case 0:
|
|
1820
1825
|
this.uh_1 = 3;
|
|
1821
|
-
this.
|
|
1822
|
-
if (this.
|
|
1823
|
-
this.
|
|
1826
|
+
this.a23_1 = this.x22_1.s21_1.w21();
|
|
1827
|
+
if (this.a23_1 === get_TC_STRING()) {
|
|
1828
|
+
this.b23_1 = readValue(this.x22_1, true);
|
|
1824
1829
|
this.th_1 = 2;
|
|
1825
1830
|
continue $sm;
|
|
1826
1831
|
} else {
|
|
1827
|
-
if (this.
|
|
1828
|
-
this.
|
|
1832
|
+
if (this.a23_1 === get_TC_OTHER()) {
|
|
1833
|
+
this.b23_1 = readValue(this.x22_1, false);
|
|
1829
1834
|
this.th_1 = 2;
|
|
1830
1835
|
continue $sm;
|
|
1831
1836
|
} else {
|
|
1832
|
-
if (this.
|
|
1837
|
+
if (this.a23_1 === get_TC_BEGIN_OBJ()) {
|
|
1833
1838
|
this.th_1 = 1;
|
|
1834
|
-
suspendResult = readObject_0(this.
|
|
1839
|
+
suspendResult = readObject_0(this.y22_1, this.x22_1, this);
|
|
1835
1840
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1836
1841
|
return suspendResult;
|
|
1837
1842
|
}
|
|
1838
1843
|
continue $sm;
|
|
1839
1844
|
} else {
|
|
1840
|
-
if (this.
|
|
1841
|
-
this.
|
|
1845
|
+
if (this.a23_1 === get_TC_BEGIN_LIST()) {
|
|
1846
|
+
this.b23_1 = readArray(this.x22_1);
|
|
1842
1847
|
this.th_1 = 2;
|
|
1843
1848
|
continue $sm;
|
|
1844
1849
|
} else {
|
|
1845
1850
|
var tmp_0 = this;
|
|
1846
|
-
this.
|
|
1851
|
+
this.x22_1.s21_1.w20("Can't begin reading element, unexpected token");
|
|
1847
1852
|
}
|
|
1848
1853
|
}
|
|
1849
1854
|
}
|
|
@@ -1851,11 +1856,11 @@
|
|
|
1851
1856
|
|
|
1852
1857
|
break;
|
|
1853
1858
|
case 1:
|
|
1854
|
-
this.
|
|
1859
|
+
this.b23_1 = suspendResult;
|
|
1855
1860
|
this.th_1 = 2;
|
|
1856
1861
|
continue $sm;
|
|
1857
1862
|
case 2:
|
|
1858
|
-
return this.
|
|
1863
|
+
return this.b23_1;
|
|
1859
1864
|
case 3:
|
|
1860
1865
|
throw this.wh_1;
|
|
1861
1866
|
}
|
|
@@ -1870,24 +1875,24 @@
|
|
|
1870
1875
|
}
|
|
1871
1876
|
while (true);
|
|
1872
1877
|
};
|
|
1873
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1874
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1875
|
-
i.
|
|
1876
|
-
i.
|
|
1878
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).d23 = function ($this$$receiver, it, completion) {
|
|
1879
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.x22_1, completion);
|
|
1880
|
+
i.y22_1 = $this$$receiver;
|
|
1881
|
+
i.z22_1 = it;
|
|
1877
1882
|
return i;
|
|
1878
1883
|
};
|
|
1879
1884
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1880
1885
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1881
1886
|
var l = function ($this$$receiver, it, $completion) {
|
|
1882
|
-
return i.
|
|
1887
|
+
return i.c23($this$$receiver, it, $completion);
|
|
1883
1888
|
};
|
|
1884
1889
|
l.$arity = 2;
|
|
1885
1890
|
return l;
|
|
1886
1891
|
}
|
|
1887
1892
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1888
1893
|
CoroutineImpl.call(this, resultContinuation);
|
|
1889
|
-
this.
|
|
1890
|
-
this.
|
|
1894
|
+
this.k22_1 = _this__u8e3s4;
|
|
1895
|
+
this.l22_1 = _this__u8e3s4_0;
|
|
1891
1896
|
}
|
|
1892
1897
|
protoOf($readObjectCOROUTINE$0).ci = function () {
|
|
1893
1898
|
var suspendResult = this.vh_1;
|
|
@@ -1897,26 +1902,26 @@
|
|
|
1897
1902
|
switch (tmp) {
|
|
1898
1903
|
case 0:
|
|
1899
1904
|
this.uh_1 = 5;
|
|
1900
|
-
this.
|
|
1901
|
-
if (this.
|
|
1902
|
-
this.
|
|
1905
|
+
this.m22_1 = this.k22_1.s21_1.v21(get_TC_BEGIN_OBJ());
|
|
1906
|
+
if (this.k22_1.s21_1.w21() === get_TC_COMMA()) {
|
|
1907
|
+
this.k22_1.s21_1.w20('Unexpected leading comma');
|
|
1903
1908
|
}
|
|
1904
1909
|
|
|
1905
1910
|
var tmp_0 = this;
|
|
1906
|
-
tmp_0.
|
|
1911
|
+
tmp_0.n22_1 = LinkedHashMap_init_$Create$();
|
|
1907
1912
|
this.th_1 = 1;
|
|
1908
1913
|
continue $sm;
|
|
1909
1914
|
case 1:
|
|
1910
|
-
if (!this.
|
|
1915
|
+
if (!this.k22_1.s21_1.x21()) {
|
|
1911
1916
|
this.th_1 = 4;
|
|
1912
1917
|
continue $sm;
|
|
1913
1918
|
}
|
|
1914
1919
|
|
|
1915
|
-
this.
|
|
1916
|
-
this.
|
|
1920
|
+
this.o22_1 = this.k22_1.t21_1 ? this.k22_1.s21_1.z21() : this.k22_1.s21_1.y21();
|
|
1921
|
+
this.k22_1.s21_1.v21(get_TC_COLON());
|
|
1917
1922
|
;
|
|
1918
1923
|
this.th_1 = 2;
|
|
1919
|
-
suspendResult = this.
|
|
1924
|
+
suspendResult = this.l22_1.p8(Unit_getInstance(), this);
|
|
1920
1925
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1921
1926
|
return suspendResult;
|
|
1922
1927
|
}
|
|
@@ -1924,10 +1929,10 @@
|
|
|
1924
1929
|
continue $sm;
|
|
1925
1930
|
case 2:
|
|
1926
1931
|
var element = suspendResult;
|
|
1927
|
-
this.
|
|
1932
|
+
this.n22_1.a4(this.o22_1, element);
|
|
1928
1933
|
;
|
|
1929
|
-
this.
|
|
1930
|
-
var tmp0_subject = this.
|
|
1934
|
+
this.m22_1 = this.k22_1.s21_1.b22();
|
|
1935
|
+
var tmp0_subject = this.m22_1;
|
|
1931
1936
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1932
1937
|
this.th_1 = 3;
|
|
1933
1938
|
continue $sm;
|
|
@@ -1936,7 +1941,7 @@
|
|
|
1936
1941
|
this.th_1 = 4;
|
|
1937
1942
|
continue $sm;
|
|
1938
1943
|
} else {
|
|
1939
|
-
this.
|
|
1944
|
+
this.k22_1.s21_1.w20('Expected end of the object or comma');
|
|
1940
1945
|
}
|
|
1941
1946
|
}
|
|
1942
1947
|
|
|
@@ -1945,13 +1950,13 @@
|
|
|
1945
1950
|
this.th_1 = 1;
|
|
1946
1951
|
continue $sm;
|
|
1947
1952
|
case 4:
|
|
1948
|
-
if (this.
|
|
1949
|
-
this.
|
|
1950
|
-
} else if (this.
|
|
1951
|
-
this.
|
|
1953
|
+
if (this.m22_1 === get_TC_BEGIN_OBJ()) {
|
|
1954
|
+
this.k22_1.s21_1.v21(get_TC_END_OBJ());
|
|
1955
|
+
} else if (this.m22_1 === get_TC_COMMA()) {
|
|
1956
|
+
this.k22_1.s21_1.w20('Unexpected trailing comma');
|
|
1952
1957
|
}
|
|
1953
1958
|
|
|
1954
|
-
return new JsonObject(this.
|
|
1959
|
+
return new JsonObject(this.n22_1);
|
|
1955
1960
|
case 5:
|
|
1956
1961
|
throw this.wh_1;
|
|
1957
1962
|
}
|
|
@@ -1967,12 +1972,12 @@
|
|
|
1967
1972
|
while (true);
|
|
1968
1973
|
};
|
|
1969
1974
|
function JsonTreeReader(configuration, lexer) {
|
|
1970
|
-
this.
|
|
1971
|
-
this.
|
|
1972
|
-
this.
|
|
1975
|
+
this.s21_1 = lexer;
|
|
1976
|
+
this.t21_1 = configuration.k1x_1;
|
|
1977
|
+
this.u21_1 = 0;
|
|
1973
1978
|
}
|
|
1974
|
-
protoOf(JsonTreeReader).
|
|
1975
|
-
var token = this.
|
|
1979
|
+
protoOf(JsonTreeReader).a22 = function () {
|
|
1980
|
+
var token = this.s21_1.w21();
|
|
1976
1981
|
var tmp;
|
|
1977
1982
|
if (token === get_TC_STRING()) {
|
|
1978
1983
|
tmp = readValue(this, true);
|
|
@@ -1981,56 +1986,56 @@
|
|
|
1981
1986
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1982
1987
|
var tmp_0;
|
|
1983
1988
|
var tmp0_this = this;
|
|
1984
|
-
tmp0_this.
|
|
1985
|
-
if (tmp0_this.
|
|
1989
|
+
tmp0_this.u21_1 = tmp0_this.u21_1 + 1 | 0;
|
|
1990
|
+
if (tmp0_this.u21_1 === 200) {
|
|
1986
1991
|
tmp_0 = readDeepRecursive(this);
|
|
1987
1992
|
} else {
|
|
1988
1993
|
tmp_0 = readObject(this);
|
|
1989
1994
|
}
|
|
1990
1995
|
var result = tmp_0;
|
|
1991
1996
|
var tmp1_this = this;
|
|
1992
|
-
tmp1_this.
|
|
1997
|
+
tmp1_this.u21_1 = tmp1_this.u21_1 - 1 | 0;
|
|
1993
1998
|
tmp = result;
|
|
1994
1999
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1995
2000
|
tmp = readArray(this);
|
|
1996
2001
|
} else {
|
|
1997
|
-
this.
|
|
2002
|
+
this.s21_1.w20('Cannot begin reading element, unexpected token: ' + token);
|
|
1998
2003
|
}
|
|
1999
2004
|
return tmp;
|
|
2000
2005
|
};
|
|
2001
2006
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
2002
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
2007
|
+
var tmp0_iterator = _this__u8e3s4.m1d().f();
|
|
2003
2008
|
while (tmp0_iterator.g()) {
|
|
2004
2009
|
var annotation = tmp0_iterator.h();
|
|
2005
2010
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2006
|
-
return annotation.
|
|
2011
|
+
return annotation.e23_1;
|
|
2007
2012
|
}
|
|
2008
|
-
return json.
|
|
2013
|
+
return json.p1w_1.r1x_1;
|
|
2009
2014
|
}
|
|
2010
2015
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
2011
2016
|
var tmp;
|
|
2012
2017
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2013
2018
|
tmp = true;
|
|
2014
2019
|
} else {
|
|
2015
|
-
tmp = _this__u8e3s4.
|
|
2020
|
+
tmp = _this__u8e3s4.j1y().p1w_1.q1x_1;
|
|
2016
2021
|
}
|
|
2017
2022
|
if (tmp) {
|
|
2018
|
-
return deserializer.
|
|
2023
|
+
return deserializer.d1c(_this__u8e3s4);
|
|
2019
2024
|
}
|
|
2020
|
-
var discriminator = classDiscriminator(deserializer.
|
|
2025
|
+
var discriminator = classDiscriminator(deserializer.b1c(), _this__u8e3s4.j1y());
|
|
2021
2026
|
var tmp$ret$0;
|
|
2022
2027
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2023
|
-
var tmp0_cast = _this__u8e3s4.
|
|
2024
|
-
var tmp1_cast = deserializer.
|
|
2028
|
+
var tmp0_cast = _this__u8e3s4.k1y();
|
|
2029
|
+
var tmp1_cast = deserializer.b1c();
|
|
2025
2030
|
if (!(tmp0_cast instanceof JsonObject)) {
|
|
2026
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.
|
|
2031
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.b1d() + ', but had ' + getKClassFromExpression(tmp0_cast));
|
|
2027
2032
|
}
|
|
2028
2033
|
tmp$ret$0 = tmp0_cast;
|
|
2029
2034
|
var jsonTree = tmp$ret$0;
|
|
2030
|
-
var tmp0_safe_receiver = jsonTree.
|
|
2035
|
+
var tmp0_safe_receiver = jsonTree.r1y(discriminator);
|
|
2031
2036
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
2032
|
-
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2033
|
-
var tmp2_elvis_lhs = deserializer.
|
|
2037
|
+
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s1y();
|
|
2038
|
+
var tmp2_elvis_lhs = deserializer.r1c(_this__u8e3s4, type);
|
|
2034
2039
|
var tmp_0;
|
|
2035
2040
|
if (tmp2_elvis_lhs == null) {
|
|
2036
2041
|
throwSerializerNotFound(type, jsonTree);
|
|
@@ -2038,7 +2043,7 @@
|
|
|
2038
2043
|
tmp_0 = tmp2_elvis_lhs;
|
|
2039
2044
|
}
|
|
2040
2045
|
var actualSerializer = tmp_0;
|
|
2041
|
-
var tmp_1 = _this__u8e3s4.
|
|
2046
|
+
var tmp_1 = _this__u8e3s4.j1y();
|
|
2042
2047
|
return readPolymorphicJson(tmp_1, discriminator, jsonTree, isInterface(actualSerializer, DeserializationStrategy) ? actualSerializer : THROW_CCE());
|
|
2043
2048
|
}
|
|
2044
2049
|
function throwSerializerNotFound(type, jsonTree) {
|
|
@@ -2048,9 +2053,9 @@
|
|
|
2048
2053
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2049
2054
|
if (!(serializer instanceof SealedClassSerializer))
|
|
2050
2055
|
return Unit_getInstance();
|
|
2051
|
-
if (jsonCachedSerialNames(actualSerializer.
|
|
2052
|
-
var baseName = serializer.
|
|
2053
|
-
var actualName = actualSerializer.
|
|
2056
|
+
if (jsonCachedSerialNames(actualSerializer.b1c()).y(classDiscriminator)) {
|
|
2057
|
+
var baseName = serializer.b1c().b1d();
|
|
2058
|
+
var actualName = actualSerializer.b1c().b1d();
|
|
2054
2059
|
// Inline function 'kotlin.error' call
|
|
2055
2060
|
var tmp0_error = "Sealed class '" + actualName + "' cannot be serialized as base class '" + baseName + "' because" + (" it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'. ") + 'You can either change class discriminator in JsonConfiguration, ' + 'rename property with @SerialName annotation or fall back to array polymorphism';
|
|
2056
2061
|
throw IllegalStateException_init_$Create$(toString(tmp0_error));
|
|
@@ -2074,7 +2079,7 @@
|
|
|
2074
2079
|
return validateIfSealed(serializer, actualSerializer, classDiscriminator);
|
|
2075
2080
|
}
|
|
2076
2081
|
function checkKind_0($this, descriptor, actualClass) {
|
|
2077
|
-
var kind = descriptor.
|
|
2082
|
+
var kind = descriptor.p1d();
|
|
2078
2083
|
var tmp;
|
|
2079
2084
|
if (kind instanceof PolymorphicKind) {
|
|
2080
2085
|
tmp = true;
|
|
@@ -2084,7 +2089,7 @@
|
|
|
2084
2089
|
if (tmp) {
|
|
2085
2090
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.qe() + " 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.'));
|
|
2086
2091
|
}
|
|
2087
|
-
if ($this.
|
|
2092
|
+
if ($this.f23_1)
|
|
2088
2093
|
return Unit_getInstance();
|
|
2089
2094
|
var tmp_0;
|
|
2090
2095
|
var tmp_1;
|
|
@@ -2104,45 +2109,45 @@
|
|
|
2104
2109
|
}
|
|
2105
2110
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
2106
2111
|
var inductionVariable = 0;
|
|
2107
|
-
var last = descriptor.
|
|
2112
|
+
var last = descriptor.n1d();
|
|
2108
2113
|
if (inductionVariable < last)
|
|
2109
2114
|
do {
|
|
2110
2115
|
var i = inductionVariable;
|
|
2111
2116
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2112
|
-
var name = descriptor.
|
|
2113
|
-
if (name === $this.
|
|
2117
|
+
var name = descriptor.t1d(i);
|
|
2118
|
+
if (name === $this.g23_1) {
|
|
2114
2119
|
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');
|
|
2115
2120
|
}
|
|
2116
2121
|
}
|
|
2117
2122
|
while (inductionVariable < last);
|
|
2118
2123
|
}
|
|
2119
2124
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
2120
|
-
this.
|
|
2121
|
-
this.
|
|
2125
|
+
this.f23_1 = useArrayPolymorphism;
|
|
2126
|
+
this.g23_1 = discriminator;
|
|
2122
2127
|
}
|
|
2123
|
-
protoOf(PolymorphismValidator).
|
|
2128
|
+
protoOf(PolymorphismValidator).c1w = function (kClass, provider) {
|
|
2124
2129
|
};
|
|
2125
|
-
protoOf(PolymorphismValidator).
|
|
2126
|
-
var descriptor = actualSerializer.
|
|
2130
|
+
protoOf(PolymorphismValidator).f1w = function (baseClass, actualClass, actualSerializer) {
|
|
2131
|
+
var descriptor = actualSerializer.b1c();
|
|
2127
2132
|
checkKind_0(this, descriptor, actualClass);
|
|
2128
|
-
if (!this.
|
|
2133
|
+
if (!this.f23_1) {
|
|
2129
2134
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
2130
2135
|
}
|
|
2131
2136
|
};
|
|
2132
|
-
protoOf(PolymorphismValidator).
|
|
2137
|
+
protoOf(PolymorphismValidator).g1w = function (baseClass, defaultSerializerProvider) {
|
|
2133
2138
|
};
|
|
2134
|
-
protoOf(PolymorphismValidator).
|
|
2139
|
+
protoOf(PolymorphismValidator).h1w = function (baseClass, defaultDeserializerProvider) {
|
|
2135
2140
|
};
|
|
2136
2141
|
function Key() {
|
|
2137
2142
|
}
|
|
2138
2143
|
function DescriptorSchemaCache() {
|
|
2139
|
-
this.
|
|
2144
|
+
this.x20_1 = createMapForCache(16);
|
|
2140
2145
|
}
|
|
2141
|
-
protoOf(DescriptorSchemaCache).
|
|
2146
|
+
protoOf(DescriptorSchemaCache).h23 = function (descriptor, key, value) {
|
|
2142
2147
|
// Inline function 'kotlin.collections.set' call
|
|
2143
2148
|
var tmp$ret$1;
|
|
2144
2149
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2145
|
-
var tmp0_getOrPut = this.
|
|
2150
|
+
var tmp0_getOrPut = this.x20_1;
|
|
2146
2151
|
var value_0 = tmp0_getOrPut.x1(descriptor);
|
|
2147
2152
|
var tmp;
|
|
2148
2153
|
if (value_0 == null) {
|
|
@@ -2161,8 +2166,8 @@
|
|
|
2161
2166
|
var tmp3_set = isObject(value) ? value : THROW_CCE();
|
|
2162
2167
|
tmp1_set.a4(tmp2_set, tmp3_set);
|
|
2163
2168
|
};
|
|
2164
|
-
protoOf(DescriptorSchemaCache).
|
|
2165
|
-
var tmp0_safe_receiver = this.
|
|
2169
|
+
protoOf(DescriptorSchemaCache).y20 = function (descriptor, key, defaultValue) {
|
|
2170
|
+
var tmp0_safe_receiver = this.i23(descriptor, key);
|
|
2166
2171
|
if (tmp0_safe_receiver == null)
|
|
2167
2172
|
null;
|
|
2168
2173
|
else {
|
|
@@ -2172,11 +2177,11 @@
|
|
|
2172
2177
|
return tmp0_safe_receiver;
|
|
2173
2178
|
}
|
|
2174
2179
|
var value = defaultValue();
|
|
2175
|
-
this.
|
|
2180
|
+
this.h23(descriptor, key, value);
|
|
2176
2181
|
return value;
|
|
2177
2182
|
};
|
|
2178
|
-
protoOf(DescriptorSchemaCache).
|
|
2179
|
-
var tmp0_safe_receiver = this.
|
|
2183
|
+
protoOf(DescriptorSchemaCache).i23 = function (descriptor, key) {
|
|
2184
|
+
var tmp0_safe_receiver = this.x20_1.x1(descriptor);
|
|
2180
2185
|
var tmp;
|
|
2181
2186
|
if (tmp0_safe_receiver == null) {
|
|
2182
2187
|
tmp = null;
|
|
@@ -2187,20 +2192,20 @@
|
|
|
2187
2192
|
return isObject(tmp_0) ? tmp_0 : null;
|
|
2188
2193
|
};
|
|
2189
2194
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2190
|
-
this.
|
|
2195
|
+
this.j23_1 = discriminatorToSkip;
|
|
2191
2196
|
}
|
|
2192
2197
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
2193
2198
|
if (_this__u8e3s4 == null)
|
|
2194
2199
|
return false;
|
|
2195
|
-
if (_this__u8e3s4.
|
|
2196
|
-
_this__u8e3s4.
|
|
2200
|
+
if (_this__u8e3s4.j23_1 === unknownKey) {
|
|
2201
|
+
_this__u8e3s4.j23_1 = null;
|
|
2197
2202
|
return true;
|
|
2198
2203
|
}
|
|
2199
2204
|
return false;
|
|
2200
2205
|
}
|
|
2201
2206
|
function skipLeftoverElements($this, descriptor) {
|
|
2202
2207
|
$l$loop: while (true) {
|
|
2203
|
-
var tmp = $this.
|
|
2208
|
+
var tmp = $this.z1f(descriptor);
|
|
2204
2209
|
Companion_getInstance_0();
|
|
2205
2210
|
if (!!(tmp === -1)) {
|
|
2206
2211
|
break $l$loop;
|
|
@@ -2208,53 +2213,53 @@
|
|
|
2208
2213
|
}
|
|
2209
2214
|
}
|
|
2210
2215
|
function checkLeadingComma($this) {
|
|
2211
|
-
if ($this.
|
|
2212
|
-
$this.
|
|
2216
|
+
if ($this.x1w_1.w21() === get_TC_COMMA()) {
|
|
2217
|
+
$this.x1w_1.w20('Unexpected leading comma');
|
|
2213
2218
|
}
|
|
2214
2219
|
}
|
|
2215
2220
|
function decodeMapIndex($this) {
|
|
2216
2221
|
var hasComma = false;
|
|
2217
|
-
var decodingKey = !(($this.
|
|
2222
|
+
var decodingKey = !(($this.z1w_1 % 2 | 0) === 0);
|
|
2218
2223
|
if (decodingKey) {
|
|
2219
|
-
if (!($this.
|
|
2220
|
-
hasComma = $this.
|
|
2224
|
+
if (!($this.z1w_1 === -1)) {
|
|
2225
|
+
hasComma = $this.x1w_1.l23();
|
|
2221
2226
|
}
|
|
2222
2227
|
} else {
|
|
2223
|
-
$this.
|
|
2228
|
+
$this.x1w_1.k23(get_COLON());
|
|
2224
2229
|
}
|
|
2225
2230
|
var tmp;
|
|
2226
|
-
if ($this.
|
|
2231
|
+
if ($this.x1w_1.x21()) {
|
|
2227
2232
|
if (decodingKey) {
|
|
2228
|
-
if ($this.
|
|
2233
|
+
if ($this.z1w_1 === -1) {
|
|
2229
2234
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2230
|
-
var tmp0_require = $this.
|
|
2235
|
+
var tmp0_require = $this.x1w_1;
|
|
2231
2236
|
var tmp1_require = !hasComma;
|
|
2232
|
-
var tmp2_require = tmp0_require.
|
|
2237
|
+
var tmp2_require = tmp0_require.d1x_1;
|
|
2233
2238
|
if (!tmp1_require) {
|
|
2234
2239
|
var tmp$ret$0;
|
|
2235
2240
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2236
2241
|
tmp$ret$0 = 'Unexpected trailing comma';
|
|
2237
|
-
tmp0_require.
|
|
2242
|
+
tmp0_require.w20(tmp$ret$0, tmp2_require);
|
|
2238
2243
|
}
|
|
2239
2244
|
} else {
|
|
2240
2245
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2241
|
-
var tmp3_require = $this.
|
|
2246
|
+
var tmp3_require = $this.x1w_1;
|
|
2242
2247
|
var tmp4_require = hasComma;
|
|
2243
|
-
var tmp5_require = tmp3_require.
|
|
2248
|
+
var tmp5_require = tmp3_require.d1x_1;
|
|
2244
2249
|
if (!tmp4_require) {
|
|
2245
2250
|
var tmp$ret$1;
|
|
2246
2251
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2247
2252
|
tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
2248
|
-
tmp3_require.
|
|
2253
|
+
tmp3_require.w20(tmp$ret$1, tmp5_require);
|
|
2249
2254
|
}
|
|
2250
2255
|
}
|
|
2251
2256
|
}
|
|
2252
2257
|
var tmp0_this = $this;
|
|
2253
|
-
tmp0_this.
|
|
2254
|
-
tmp = tmp0_this.
|
|
2258
|
+
tmp0_this.z1w_1 = tmp0_this.z1w_1 + 1 | 0;
|
|
2259
|
+
tmp = tmp0_this.z1w_1;
|
|
2255
2260
|
} else {
|
|
2256
2261
|
if (hasComma) {
|
|
2257
|
-
$this.
|
|
2262
|
+
$this.x1w_1.w20("Expected '}', but had ',' instead");
|
|
2258
2263
|
}
|
|
2259
2264
|
Companion_getInstance_0();
|
|
2260
2265
|
tmp = -1;
|
|
@@ -2265,13 +2270,13 @@
|
|
|
2265
2270
|
var tmp$ret$1;
|
|
2266
2271
|
$l$block_2: {
|
|
2267
2272
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
2268
|
-
var tmp0_tryCoerceValue = $this.
|
|
2269
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
2273
|
+
var tmp0_tryCoerceValue = $this.v1w_1;
|
|
2274
|
+
var tmp1_tryCoerceValue = descriptor.r1d(index);
|
|
2270
2275
|
var tmp;
|
|
2271
|
-
if (!tmp1_tryCoerceValue.
|
|
2276
|
+
if (!tmp1_tryCoerceValue.i1d()) {
|
|
2272
2277
|
var tmp$ret$0;
|
|
2273
2278
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2274
|
-
tmp$ret$0 = $this.
|
|
2279
|
+
tmp$ret$0 = $this.x1w_1.m23(true);
|
|
2275
2280
|
tmp = tmp$ret$0;
|
|
2276
2281
|
} else {
|
|
2277
2282
|
tmp = false;
|
|
@@ -2280,12 +2285,12 @@
|
|
|
2280
2285
|
tmp$ret$1 = true;
|
|
2281
2286
|
break $l$block_2;
|
|
2282
2287
|
}
|
|
2283
|
-
if (equals(tmp1_tryCoerceValue.
|
|
2288
|
+
if (equals(tmp1_tryCoerceValue.p1d(), ENUM_getInstance())) {
|
|
2284
2289
|
var tmp_0;
|
|
2285
|
-
if (tmp1_tryCoerceValue.
|
|
2290
|
+
if (tmp1_tryCoerceValue.i1d()) {
|
|
2286
2291
|
var tmp$ret$2;
|
|
2287
2292
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2288
|
-
tmp$ret$2 = $this.
|
|
2293
|
+
tmp$ret$2 = $this.x1w_1.m23(false);
|
|
2289
2294
|
tmp_0 = tmp$ret$2;
|
|
2290
2295
|
} else {
|
|
2291
2296
|
tmp_0 = false;
|
|
@@ -2296,7 +2301,7 @@
|
|
|
2296
2301
|
}
|
|
2297
2302
|
var tmp$ret$3;
|
|
2298
2303
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2299
|
-
tmp$ret$3 = $this.
|
|
2304
|
+
tmp$ret$3 = $this.x1w_1.n23($this.b1x_1.k1x_1);
|
|
2300
2305
|
var tmp0_elvis_lhs = tmp$ret$3;
|
|
2301
2306
|
var tmp_1;
|
|
2302
2307
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2310,7 +2315,7 @@
|
|
|
2310
2315
|
Companion_getInstance_0();
|
|
2311
2316
|
if (enumIndex === -3) {
|
|
2312
2317
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2313
|
-
$this.
|
|
2318
|
+
$this.x1w_1.y21();
|
|
2314
2319
|
tmp$ret$1 = true;
|
|
2315
2320
|
break $l$block_2;
|
|
2316
2321
|
}
|
|
@@ -2320,25 +2325,25 @@
|
|
|
2320
2325
|
return tmp$ret$1;
|
|
2321
2326
|
}
|
|
2322
2327
|
function decodeObjectIndex($this, descriptor) {
|
|
2323
|
-
var hasComma = $this.
|
|
2324
|
-
while ($this.
|
|
2328
|
+
var hasComma = $this.x1w_1.l23();
|
|
2329
|
+
while ($this.x1w_1.x21()) {
|
|
2325
2330
|
hasComma = false;
|
|
2326
2331
|
var key = decodeStringKey($this);
|
|
2327
|
-
$this.
|
|
2328
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2332
|
+
$this.x1w_1.k23(get_COLON());
|
|
2333
|
+
var index = getJsonNameIndex(descriptor, $this.v1w_1, key);
|
|
2329
2334
|
var tmp;
|
|
2330
2335
|
Companion_getInstance_0();
|
|
2331
2336
|
if (!(index === -3)) {
|
|
2332
2337
|
var tmp_0;
|
|
2333
|
-
if ($this.
|
|
2334
|
-
hasComma = $this.
|
|
2338
|
+
if ($this.b1x_1.p1x_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
2339
|
+
hasComma = $this.x1w_1.l23();
|
|
2335
2340
|
tmp_0 = false;
|
|
2336
2341
|
} else {
|
|
2337
|
-
var tmp0_safe_receiver = $this.
|
|
2342
|
+
var tmp0_safe_receiver = $this.c1x_1;
|
|
2338
2343
|
if (tmp0_safe_receiver == null)
|
|
2339
2344
|
null;
|
|
2340
2345
|
else {
|
|
2341
|
-
tmp0_safe_receiver.
|
|
2346
|
+
tmp0_safe_receiver.g1l(index);
|
|
2342
2347
|
}
|
|
2343
2348
|
return index;
|
|
2344
2349
|
}
|
|
@@ -2352,10 +2357,10 @@
|
|
|
2352
2357
|
}
|
|
2353
2358
|
}
|
|
2354
2359
|
if (hasComma) {
|
|
2355
|
-
$this.
|
|
2360
|
+
$this.x1w_1.w20('Unexpected trailing comma');
|
|
2356
2361
|
}
|
|
2357
|
-
var tmp1_safe_receiver = $this.
|
|
2358
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2362
|
+
var tmp1_safe_receiver = $this.c1x_1;
|
|
2363
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.h1l();
|
|
2359
2364
|
var tmp_1;
|
|
2360
2365
|
if (tmp2_elvis_lhs == null) {
|
|
2361
2366
|
Companion_getInstance_0();
|
|
@@ -2366,26 +2371,26 @@
|
|
|
2366
2371
|
return tmp_1;
|
|
2367
2372
|
}
|
|
2368
2373
|
function handleUnknown($this, key) {
|
|
2369
|
-
if ($this.
|
|
2370
|
-
$this.
|
|
2374
|
+
if ($this.b1x_1.j1x_1 ? true : trySkip($this.a1x_1, $this, key)) {
|
|
2375
|
+
$this.x1w_1.p23($this.b1x_1.k1x_1);
|
|
2371
2376
|
} else {
|
|
2372
|
-
$this.
|
|
2377
|
+
$this.x1w_1.o23(key);
|
|
2373
2378
|
}
|
|
2374
|
-
return $this.
|
|
2379
|
+
return $this.x1w_1.l23();
|
|
2375
2380
|
}
|
|
2376
2381
|
function decodeListIndex($this) {
|
|
2377
|
-
var hasComma = $this.
|
|
2382
|
+
var hasComma = $this.x1w_1.l23();
|
|
2378
2383
|
var tmp;
|
|
2379
|
-
if ($this.
|
|
2380
|
-
if (!($this.
|
|
2381
|
-
$this.
|
|
2384
|
+
if ($this.x1w_1.x21()) {
|
|
2385
|
+
if (!($this.z1w_1 === -1) ? !hasComma : false) {
|
|
2386
|
+
$this.x1w_1.w20('Expected end of the array or comma');
|
|
2382
2387
|
}
|
|
2383
2388
|
var tmp0_this = $this;
|
|
2384
|
-
tmp0_this.
|
|
2385
|
-
tmp = tmp0_this.
|
|
2389
|
+
tmp0_this.z1w_1 = tmp0_this.z1w_1 + 1 | 0;
|
|
2390
|
+
tmp = tmp0_this.z1w_1;
|
|
2386
2391
|
} else {
|
|
2387
2392
|
if (hasComma) {
|
|
2388
|
-
$this.
|
|
2393
|
+
$this.x1w_1.w20('Unexpected trailing comma');
|
|
2389
2394
|
}
|
|
2390
2395
|
Companion_getInstance_0();
|
|
2391
2396
|
tmp = -1;
|
|
@@ -2394,70 +2399,72 @@
|
|
|
2394
2399
|
}
|
|
2395
2400
|
function decodeStringKey($this) {
|
|
2396
2401
|
var tmp;
|
|
2397
|
-
if ($this.
|
|
2398
|
-
tmp = $this.
|
|
2402
|
+
if ($this.b1x_1.k1x_1) {
|
|
2403
|
+
tmp = $this.x1w_1.r23();
|
|
2399
2404
|
} else {
|
|
2400
|
-
tmp = $this.
|
|
2405
|
+
tmp = $this.x1w_1.q23();
|
|
2401
2406
|
}
|
|
2402
2407
|
return tmp;
|
|
2403
2408
|
}
|
|
2404
2409
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2405
2410
|
AbstractDecoder.call(this);
|
|
2406
|
-
this.
|
|
2407
|
-
this.
|
|
2408
|
-
this.
|
|
2409
|
-
this.
|
|
2410
|
-
this.
|
|
2411
|
-
this.
|
|
2412
|
-
this.
|
|
2413
|
-
this.
|
|
2411
|
+
this.v1w_1 = json;
|
|
2412
|
+
this.w1w_1 = mode;
|
|
2413
|
+
this.x1w_1 = lexer;
|
|
2414
|
+
this.y1w_1 = this.v1w_1.x1f();
|
|
2415
|
+
this.z1w_1 = -1;
|
|
2416
|
+
this.a1x_1 = discriminatorHolder;
|
|
2417
|
+
this.b1x_1 = this.v1w_1.p1w_1;
|
|
2418
|
+
this.c1x_1 = this.b1x_1.n1x_1 ? null : new JsonElementMarker(descriptor);
|
|
2414
2419
|
}
|
|
2415
|
-
protoOf(StreamingJsonDecoder).
|
|
2416
|
-
return this.
|
|
2420
|
+
protoOf(StreamingJsonDecoder).j1y = function () {
|
|
2421
|
+
return this.v1w_1;
|
|
2417
2422
|
};
|
|
2418
|
-
protoOf(StreamingJsonDecoder).
|
|
2419
|
-
return this.
|
|
2423
|
+
protoOf(StreamingJsonDecoder).x1f = function () {
|
|
2424
|
+
return this.y1w_1;
|
|
2420
2425
|
};
|
|
2421
|
-
protoOf(StreamingJsonDecoder).
|
|
2422
|
-
return (new JsonTreeReader(this.
|
|
2426
|
+
protoOf(StreamingJsonDecoder).k1y = function () {
|
|
2427
|
+
return (new JsonTreeReader(this.v1w_1.p1w_1, this.x1w_1)).a22();
|
|
2423
2428
|
};
|
|
2424
|
-
protoOf(StreamingJsonDecoder).
|
|
2429
|
+
protoOf(StreamingJsonDecoder).h1f = function (deserializer) {
|
|
2425
2430
|
try {
|
|
2426
2431
|
var tmp;
|
|
2427
2432
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2428
2433
|
tmp = true;
|
|
2429
2434
|
} else {
|
|
2430
|
-
tmp = this.
|
|
2435
|
+
tmp = this.v1w_1.p1w_1.q1x_1;
|
|
2431
2436
|
}
|
|
2432
2437
|
if (tmp) {
|
|
2433
|
-
return deserializer.
|
|
2438
|
+
return deserializer.d1c(this);
|
|
2434
2439
|
}
|
|
2435
|
-
var discriminator = classDiscriminator(deserializer.
|
|
2436
|
-
var type = this.
|
|
2440
|
+
var discriminator = classDiscriminator(deserializer.b1c(), this.v1w_1);
|
|
2441
|
+
var type = this.x1w_1.s23(discriminator, this.b1x_1.k1x_1);
|
|
2437
2442
|
var actualSerializer = null;
|
|
2438
2443
|
if (!(type == null)) {
|
|
2439
|
-
actualSerializer = deserializer.
|
|
2444
|
+
actualSerializer = deserializer.r1c(this, type);
|
|
2440
2445
|
}
|
|
2441
2446
|
if (actualSerializer == null) {
|
|
2442
2447
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
2443
2448
|
}
|
|
2444
|
-
this.
|
|
2445
|
-
var tmp_0 = actualSerializer.
|
|
2449
|
+
this.a1x_1 = new DiscriminatorHolder(discriminator);
|
|
2450
|
+
var tmp_0 = actualSerializer.d1c(this);
|
|
2446
2451
|
var result = isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
2447
2452
|
return result;
|
|
2448
2453
|
} catch ($p) {
|
|
2449
2454
|
if ($p instanceof MissingFieldException) {
|
|
2450
2455
|
var e = $p;
|
|
2451
|
-
|
|
2456
|
+
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2457
|
+
throw e;
|
|
2458
|
+
throw new MissingFieldException(e.d1d_1, plus(e.message, ' at path: ') + this.x1w_1.e1x_1.j21(), e);
|
|
2452
2459
|
} else {
|
|
2453
2460
|
throw $p;
|
|
2454
2461
|
}
|
|
2455
2462
|
}
|
|
2456
2463
|
};
|
|
2457
|
-
protoOf(StreamingJsonDecoder).
|
|
2458
|
-
var newMode = switchMode(this.
|
|
2459
|
-
this.
|
|
2460
|
-
this.
|
|
2464
|
+
protoOf(StreamingJsonDecoder).i1f = function (descriptor) {
|
|
2465
|
+
var newMode = switchMode(this.v1w_1, descriptor);
|
|
2466
|
+
this.x1w_1.e1x_1.e21(descriptor);
|
|
2467
|
+
this.x1w_1.k23(newMode.v23_1);
|
|
2461
2468
|
checkLeadingComma(this);
|
|
2462
2469
|
var tmp0_subject = newMode;
|
|
2463
2470
|
var tmp0 = tmp0_subject.p5_1;
|
|
@@ -2466,14 +2473,14 @@
|
|
|
2466
2473
|
case 1:
|
|
2467
2474
|
case 2:
|
|
2468
2475
|
case 3:
|
|
2469
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2476
|
+
tmp = new StreamingJsonDecoder(this.v1w_1, newMode, this.x1w_1, descriptor, this.a1x_1);
|
|
2470
2477
|
break;
|
|
2471
2478
|
default:
|
|
2472
2479
|
var tmp_0;
|
|
2473
|
-
if (this.
|
|
2480
|
+
if (this.w1w_1.equals(newMode) ? this.v1w_1.p1w_1.n1x_1 : false) {
|
|
2474
2481
|
tmp_0 = this;
|
|
2475
2482
|
} else {
|
|
2476
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2483
|
+
tmp_0 = new StreamingJsonDecoder(this.v1w_1, newMode, this.x1w_1, descriptor, this.a1x_1);
|
|
2477
2484
|
}
|
|
2478
2485
|
|
|
2479
2486
|
tmp = tmp_0;
|
|
@@ -2481,40 +2488,40 @@
|
|
|
2481
2488
|
}
|
|
2482
2489
|
return tmp;
|
|
2483
2490
|
};
|
|
2484
|
-
protoOf(StreamingJsonDecoder).
|
|
2485
|
-
if (this.
|
|
2491
|
+
protoOf(StreamingJsonDecoder).j1f = function (descriptor) {
|
|
2492
|
+
if (this.v1w_1.p1w_1.j1x_1 ? descriptor.n1d() === 0 : false) {
|
|
2486
2493
|
skipLeftoverElements(this, descriptor);
|
|
2487
2494
|
}
|
|
2488
|
-
this.
|
|
2489
|
-
this.
|
|
2495
|
+
this.x1w_1.k23(this.w1w_1.w23_1);
|
|
2496
|
+
this.x1w_1.e1x_1.i21();
|
|
2490
2497
|
};
|
|
2491
|
-
protoOf(StreamingJsonDecoder).
|
|
2498
|
+
protoOf(StreamingJsonDecoder).t1e = function () {
|
|
2492
2499
|
var tmp;
|
|
2493
|
-
var tmp0_safe_receiver = this.
|
|
2494
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2500
|
+
var tmp0_safe_receiver = this.c1x_1;
|
|
2501
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v20_1;
|
|
2495
2502
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2496
|
-
tmp = !this.
|
|
2503
|
+
tmp = !this.x1w_1.x23();
|
|
2497
2504
|
} else {
|
|
2498
2505
|
tmp = false;
|
|
2499
2506
|
}
|
|
2500
2507
|
return tmp;
|
|
2501
2508
|
};
|
|
2502
|
-
protoOf(StreamingJsonDecoder).
|
|
2509
|
+
protoOf(StreamingJsonDecoder).u1e = function () {
|
|
2503
2510
|
return null;
|
|
2504
2511
|
};
|
|
2505
|
-
protoOf(StreamingJsonDecoder).
|
|
2506
|
-
var isMapKey = this.
|
|
2512
|
+
protoOf(StreamingJsonDecoder).u1f = function (descriptor, index, deserializer, previousValue) {
|
|
2513
|
+
var isMapKey = this.w1w_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2507
2514
|
if (isMapKey) {
|
|
2508
|
-
this.
|
|
2515
|
+
this.x1w_1.e1x_1.h21();
|
|
2509
2516
|
}
|
|
2510
|
-
var value = protoOf(AbstractDecoder).
|
|
2517
|
+
var value = protoOf(AbstractDecoder).u1f.call(this, descriptor, index, deserializer, previousValue);
|
|
2511
2518
|
if (isMapKey) {
|
|
2512
|
-
this.
|
|
2519
|
+
this.x1w_1.e1x_1.g21(value);
|
|
2513
2520
|
}
|
|
2514
2521
|
return value;
|
|
2515
2522
|
};
|
|
2516
|
-
protoOf(StreamingJsonDecoder).
|
|
2517
|
-
var tmp0_subject = this.
|
|
2523
|
+
protoOf(StreamingJsonDecoder).z1f = function (descriptor) {
|
|
2524
|
+
var tmp0_subject = this.w1w_1;
|
|
2518
2525
|
var tmp0 = tmp0_subject.p5_1;
|
|
2519
2526
|
{
|
|
2520
2527
|
var index;
|
|
@@ -2530,50 +2537,50 @@
|
|
|
2530
2537
|
break;
|
|
2531
2538
|
}
|
|
2532
2539
|
}
|
|
2533
|
-
if (!this.
|
|
2534
|
-
this.
|
|
2540
|
+
if (!this.w1w_1.equals(WriteMode_MAP_getInstance())) {
|
|
2541
|
+
this.x1w_1.e1x_1.f21(index);
|
|
2535
2542
|
}
|
|
2536
2543
|
return index;
|
|
2537
2544
|
};
|
|
2538
|
-
protoOf(StreamingJsonDecoder).
|
|
2545
|
+
protoOf(StreamingJsonDecoder).v1e = function () {
|
|
2539
2546
|
var tmp;
|
|
2540
|
-
if (this.
|
|
2541
|
-
tmp = this.
|
|
2547
|
+
if (this.b1x_1.k1x_1) {
|
|
2548
|
+
tmp = this.x1w_1.z23();
|
|
2542
2549
|
} else {
|
|
2543
|
-
tmp = this.
|
|
2550
|
+
tmp = this.x1w_1.y23();
|
|
2544
2551
|
}
|
|
2545
2552
|
return tmp;
|
|
2546
2553
|
};
|
|
2547
|
-
protoOf(StreamingJsonDecoder).
|
|
2548
|
-
var value = this.
|
|
2554
|
+
protoOf(StreamingJsonDecoder).w1e = function () {
|
|
2555
|
+
var value = this.x1w_1.a24();
|
|
2549
2556
|
if (!value.equals(toLong_0(value.kh()))) {
|
|
2550
|
-
this.
|
|
2557
|
+
this.x1w_1.w20("Failed to parse byte for input '" + toString(value) + "'");
|
|
2551
2558
|
}
|
|
2552
2559
|
return value.kh();
|
|
2553
2560
|
};
|
|
2554
|
-
protoOf(StreamingJsonDecoder).
|
|
2555
|
-
var value = this.
|
|
2561
|
+
protoOf(StreamingJsonDecoder).x1e = function () {
|
|
2562
|
+
var value = this.x1w_1.a24();
|
|
2556
2563
|
if (!value.equals(toLong_0(value.lh()))) {
|
|
2557
|
-
this.
|
|
2564
|
+
this.x1w_1.w20("Failed to parse short for input '" + toString(value) + "'");
|
|
2558
2565
|
}
|
|
2559
2566
|
return value.lh();
|
|
2560
2567
|
};
|
|
2561
|
-
protoOf(StreamingJsonDecoder).
|
|
2562
|
-
var value = this.
|
|
2568
|
+
protoOf(StreamingJsonDecoder).y1e = function () {
|
|
2569
|
+
var value = this.x1w_1.a24();
|
|
2563
2570
|
if (!value.equals(toLong_0(value.d6()))) {
|
|
2564
|
-
this.
|
|
2571
|
+
this.x1w_1.w20("Failed to parse int for input '" + toString(value) + "'");
|
|
2565
2572
|
}
|
|
2566
2573
|
return value.d6();
|
|
2567
2574
|
};
|
|
2568
|
-
protoOf(StreamingJsonDecoder).
|
|
2569
|
-
return this.
|
|
2575
|
+
protoOf(StreamingJsonDecoder).z1e = function () {
|
|
2576
|
+
return this.x1w_1.a24();
|
|
2570
2577
|
};
|
|
2571
|
-
protoOf(StreamingJsonDecoder).
|
|
2578
|
+
protoOf(StreamingJsonDecoder).a1f = function () {
|
|
2572
2579
|
var tmp$ret$4;
|
|
2573
2580
|
$l$block: {
|
|
2574
2581
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2575
|
-
var tmp0_parseString = this.
|
|
2576
|
-
var input = tmp0_parseString.
|
|
2582
|
+
var tmp0_parseString = this.x1w_1;
|
|
2583
|
+
var input = tmp0_parseString.z21();
|
|
2577
2584
|
try {
|
|
2578
2585
|
var tmp$ret$3;
|
|
2579
2586
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
@@ -2593,24 +2600,24 @@
|
|
|
2593
2600
|
} catch ($p) {
|
|
2594
2601
|
if ($p instanceof IllegalArgumentException) {
|
|
2595
2602
|
var e = $p;
|
|
2596
|
-
tmp0_parseString.
|
|
2603
|
+
tmp0_parseString.w20("Failed to parse type 'float' for input '" + input + "'");
|
|
2597
2604
|
} else {
|
|
2598
2605
|
throw $p;
|
|
2599
2606
|
}
|
|
2600
2607
|
}
|
|
2601
2608
|
}
|
|
2602
2609
|
var result = tmp$ret$4;
|
|
2603
|
-
var specialFp = this.
|
|
2610
|
+
var specialFp = this.v1w_1.p1w_1.s1x_1;
|
|
2604
2611
|
if (specialFp ? true : isFinite(result))
|
|
2605
2612
|
return result;
|
|
2606
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2613
|
+
throwInvalidFloatingPointDecoded(this.x1w_1, result);
|
|
2607
2614
|
};
|
|
2608
|
-
protoOf(StreamingJsonDecoder).
|
|
2615
|
+
protoOf(StreamingJsonDecoder).b1f = function () {
|
|
2609
2616
|
var tmp$ret$1;
|
|
2610
2617
|
$l$block: {
|
|
2611
2618
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2612
|
-
var tmp0_parseString = this.
|
|
2613
|
-
var input = tmp0_parseString.
|
|
2619
|
+
var tmp0_parseString = this.x1w_1;
|
|
2620
|
+
var input = tmp0_parseString.z21();
|
|
2614
2621
|
try {
|
|
2615
2622
|
var tmp$ret$0;
|
|
2616
2623
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
@@ -2620,57 +2627,57 @@
|
|
|
2620
2627
|
} catch ($p) {
|
|
2621
2628
|
if ($p instanceof IllegalArgumentException) {
|
|
2622
2629
|
var e = $p;
|
|
2623
|
-
tmp0_parseString.
|
|
2630
|
+
tmp0_parseString.w20("Failed to parse type 'double' for input '" + input + "'");
|
|
2624
2631
|
} else {
|
|
2625
2632
|
throw $p;
|
|
2626
2633
|
}
|
|
2627
2634
|
}
|
|
2628
2635
|
}
|
|
2629
2636
|
var result = tmp$ret$1;
|
|
2630
|
-
var specialFp = this.
|
|
2637
|
+
var specialFp = this.v1w_1.p1w_1.s1x_1;
|
|
2631
2638
|
if (specialFp ? true : isFinite_0(result))
|
|
2632
2639
|
return result;
|
|
2633
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2640
|
+
throwInvalidFloatingPointDecoded(this.x1w_1, result);
|
|
2634
2641
|
};
|
|
2635
|
-
protoOf(StreamingJsonDecoder).
|
|
2636
|
-
var string = this.
|
|
2642
|
+
protoOf(StreamingJsonDecoder).c1f = function () {
|
|
2643
|
+
var string = this.x1w_1.z21();
|
|
2637
2644
|
if (!(string.length === 1)) {
|
|
2638
|
-
this.
|
|
2645
|
+
this.x1w_1.w20("Expected single char, but got '" + string + "'");
|
|
2639
2646
|
}
|
|
2640
2647
|
return charSequenceGet(string, 0);
|
|
2641
2648
|
};
|
|
2642
|
-
protoOf(StreamingJsonDecoder).
|
|
2649
|
+
protoOf(StreamingJsonDecoder).d1f = function () {
|
|
2643
2650
|
var tmp;
|
|
2644
|
-
if (this.
|
|
2645
|
-
tmp = this.
|
|
2651
|
+
if (this.b1x_1.k1x_1) {
|
|
2652
|
+
tmp = this.x1w_1.r23();
|
|
2646
2653
|
} else {
|
|
2647
|
-
tmp = this.
|
|
2654
|
+
tmp = this.x1w_1.y21();
|
|
2648
2655
|
}
|
|
2649
2656
|
return tmp;
|
|
2650
2657
|
};
|
|
2651
|
-
protoOf(StreamingJsonDecoder).
|
|
2652
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2658
|
+
protoOf(StreamingJsonDecoder).f1f = function (descriptor) {
|
|
2659
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.x1w_1, this.v1w_1) : protoOf(AbstractDecoder).f1f.call(this, descriptor);
|
|
2653
2660
|
};
|
|
2654
|
-
protoOf(StreamingJsonDecoder).
|
|
2655
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2661
|
+
protoOf(StreamingJsonDecoder).e1f = function (enumDescriptor) {
|
|
2662
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.v1w_1, this.d1f(), ' at path ' + this.x1w_1.e1x_1.j21());
|
|
2656
2663
|
};
|
|
2657
2664
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2658
2665
|
AbstractDecoder.call(this);
|
|
2659
|
-
this.
|
|
2660
|
-
this.
|
|
2666
|
+
this.b24_1 = lexer;
|
|
2667
|
+
this.c24_1 = json.x1f();
|
|
2661
2668
|
}
|
|
2662
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2663
|
-
return this.
|
|
2669
|
+
protoOf(JsonDecoderForUnsignedTypes).x1f = function () {
|
|
2670
|
+
return this.c24_1;
|
|
2664
2671
|
};
|
|
2665
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2672
|
+
protoOf(JsonDecoderForUnsignedTypes).z1f = function (descriptor) {
|
|
2666
2673
|
throw IllegalStateException_init_$Create$('unsupported');
|
|
2667
2674
|
};
|
|
2668
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2675
|
+
protoOf(JsonDecoderForUnsignedTypes).y1e = function () {
|
|
2669
2676
|
var tmp$ret$2;
|
|
2670
2677
|
$l$block: {
|
|
2671
2678
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2672
|
-
var tmp0_parseString = this.
|
|
2673
|
-
var input = tmp0_parseString.
|
|
2679
|
+
var tmp0_parseString = this.b24_1;
|
|
2680
|
+
var input = tmp0_parseString.z21();
|
|
2674
2681
|
try {
|
|
2675
2682
|
var tmp$ret$1;
|
|
2676
2683
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
@@ -2684,7 +2691,7 @@
|
|
|
2684
2691
|
} catch ($p) {
|
|
2685
2692
|
if ($p instanceof IllegalArgumentException) {
|
|
2686
2693
|
var e = $p;
|
|
2687
|
-
tmp0_parseString.
|
|
2694
|
+
tmp0_parseString.w20("Failed to parse type 'UInt' for input '" + input + "'");
|
|
2688
2695
|
} else {
|
|
2689
2696
|
throw $p;
|
|
2690
2697
|
}
|
|
@@ -2692,12 +2699,12 @@
|
|
|
2692
2699
|
}
|
|
2693
2700
|
return tmp$ret$2;
|
|
2694
2701
|
};
|
|
2695
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2702
|
+
protoOf(JsonDecoderForUnsignedTypes).z1e = function () {
|
|
2696
2703
|
var tmp$ret$2;
|
|
2697
2704
|
$l$block: {
|
|
2698
2705
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2699
|
-
var tmp0_parseString = this.
|
|
2700
|
-
var input = tmp0_parseString.
|
|
2706
|
+
var tmp0_parseString = this.b24_1;
|
|
2707
|
+
var input = tmp0_parseString.z21();
|
|
2701
2708
|
try {
|
|
2702
2709
|
var tmp$ret$1;
|
|
2703
2710
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
@@ -2711,7 +2718,7 @@
|
|
|
2711
2718
|
} catch ($p) {
|
|
2712
2719
|
if ($p instanceof IllegalArgumentException) {
|
|
2713
2720
|
var e = $p;
|
|
2714
|
-
tmp0_parseString.
|
|
2721
|
+
tmp0_parseString.w20("Failed to parse type 'ULong' for input '" + input + "'");
|
|
2715
2722
|
} else {
|
|
2716
2723
|
throw $p;
|
|
2717
2724
|
}
|
|
@@ -2719,12 +2726,12 @@
|
|
|
2719
2726
|
}
|
|
2720
2727
|
return tmp$ret$2;
|
|
2721
2728
|
};
|
|
2722
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2729
|
+
protoOf(JsonDecoderForUnsignedTypes).w1e = function () {
|
|
2723
2730
|
var tmp$ret$2;
|
|
2724
2731
|
$l$block: {
|
|
2725
2732
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2726
|
-
var tmp0_parseString = this.
|
|
2727
|
-
var input = tmp0_parseString.
|
|
2733
|
+
var tmp0_parseString = this.b24_1;
|
|
2734
|
+
var input = tmp0_parseString.z21();
|
|
2728
2735
|
try {
|
|
2729
2736
|
var tmp$ret$1;
|
|
2730
2737
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
@@ -2738,7 +2745,7 @@
|
|
|
2738
2745
|
} catch ($p) {
|
|
2739
2746
|
if ($p instanceof IllegalArgumentException) {
|
|
2740
2747
|
var e = $p;
|
|
2741
|
-
tmp0_parseString.
|
|
2748
|
+
tmp0_parseString.w20("Failed to parse type 'UByte' for input '" + input + "'");
|
|
2742
2749
|
} else {
|
|
2743
2750
|
throw $p;
|
|
2744
2751
|
}
|
|
@@ -2746,12 +2753,12 @@
|
|
|
2746
2753
|
}
|
|
2747
2754
|
return tmp$ret$2;
|
|
2748
2755
|
};
|
|
2749
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2756
|
+
protoOf(JsonDecoderForUnsignedTypes).x1e = function () {
|
|
2750
2757
|
var tmp$ret$2;
|
|
2751
2758
|
$l$block: {
|
|
2752
2759
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2753
|
-
var tmp0_parseString = this.
|
|
2754
|
-
var input = tmp0_parseString.
|
|
2760
|
+
var tmp0_parseString = this.b24_1;
|
|
2761
|
+
var input = tmp0_parseString.z21();
|
|
2755
2762
|
try {
|
|
2756
2763
|
var tmp$ret$1;
|
|
2757
2764
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
@@ -2765,7 +2772,7 @@
|
|
|
2765
2772
|
} catch ($p) {
|
|
2766
2773
|
if ($p instanceof IllegalArgumentException) {
|
|
2767
2774
|
var e = $p;
|
|
2768
|
-
tmp0_parseString.
|
|
2775
|
+
tmp0_parseString.w20("Failed to parse type 'UShort' for input '" + input + "'");
|
|
2769
2776
|
} else {
|
|
2770
2777
|
throw $p;
|
|
2771
2778
|
}
|
|
@@ -2786,39 +2793,39 @@
|
|
|
2786
2793
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2787
2794
|
}
|
|
2788
2795
|
function encodeTypeInfo($this, descriptor) {
|
|
2789
|
-
$this.
|
|
2790
|
-
$this.
|
|
2791
|
-
$this.
|
|
2792
|
-
$this.
|
|
2793
|
-
$this.
|
|
2796
|
+
$this.k21_1.u1z();
|
|
2797
|
+
$this.m1g(ensureNotNull($this.r21_1));
|
|
2798
|
+
$this.k21_1.w1z(get_COLON());
|
|
2799
|
+
$this.k21_1.v1z();
|
|
2800
|
+
$this.m1g(descriptor.b1d());
|
|
2794
2801
|
}
|
|
2795
2802
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2796
2803
|
AbstractEncoder.call(this);
|
|
2797
|
-
this.
|
|
2798
|
-
this.
|
|
2799
|
-
this.
|
|
2800
|
-
this.
|
|
2801
|
-
this.
|
|
2802
|
-
this.
|
|
2803
|
-
this.
|
|
2804
|
-
this.
|
|
2805
|
-
var i = this.
|
|
2806
|
-
if (!(this.
|
|
2807
|
-
if (!(this.
|
|
2808
|
-
this.
|
|
2804
|
+
this.k21_1 = composer;
|
|
2805
|
+
this.l21_1 = json;
|
|
2806
|
+
this.m21_1 = mode;
|
|
2807
|
+
this.n21_1 = modeReuseCache;
|
|
2808
|
+
this.o21_1 = this.l21_1.x1f();
|
|
2809
|
+
this.p21_1 = this.l21_1.p1w_1;
|
|
2810
|
+
this.q21_1 = false;
|
|
2811
|
+
this.r21_1 = null;
|
|
2812
|
+
var i = this.m21_1.p5_1;
|
|
2813
|
+
if (!(this.n21_1 == null)) {
|
|
2814
|
+
if (!(this.n21_1[i] === null) ? true : !(this.n21_1[i] === this)) {
|
|
2815
|
+
this.n21_1[i] = this;
|
|
2809
2816
|
}
|
|
2810
2817
|
}
|
|
2811
2818
|
}
|
|
2812
|
-
protoOf(StreamingJsonEncoder).
|
|
2813
|
-
return this.
|
|
2819
|
+
protoOf(StreamingJsonEncoder).j1y = function () {
|
|
2820
|
+
return this.l21_1;
|
|
2814
2821
|
};
|
|
2815
|
-
protoOf(StreamingJsonEncoder).
|
|
2816
|
-
return this.
|
|
2822
|
+
protoOf(StreamingJsonEncoder).x1f = function () {
|
|
2823
|
+
return this.o21_1;
|
|
2817
2824
|
};
|
|
2818
|
-
protoOf(StreamingJsonEncoder).
|
|
2819
|
-
return this.
|
|
2825
|
+
protoOf(StreamingJsonEncoder).f1h = function (descriptor, index) {
|
|
2826
|
+
return this.p21_1.i1x_1;
|
|
2820
2827
|
};
|
|
2821
|
-
protoOf(StreamingJsonEncoder).
|
|
2828
|
+
protoOf(StreamingJsonEncoder).a1h = function (serializer, value) {
|
|
2822
2829
|
var tmp$ret$0;
|
|
2823
2830
|
$l$block: {
|
|
2824
2831
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
@@ -2826,220 +2833,220 @@
|
|
|
2826
2833
|
if (!(serializer instanceof AbstractPolymorphicSerializer)) {
|
|
2827
2834
|
tmp = true;
|
|
2828
2835
|
} else {
|
|
2829
|
-
tmp = this.
|
|
2836
|
+
tmp = this.j1y().p1w_1.q1x_1;
|
|
2830
2837
|
}
|
|
2831
2838
|
if (tmp) {
|
|
2832
|
-
serializer.
|
|
2839
|
+
serializer.c1c(this, value);
|
|
2833
2840
|
tmp$ret$0 = Unit_getInstance();
|
|
2834
2841
|
break $l$block;
|
|
2835
2842
|
}
|
|
2836
2843
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
2837
|
-
var baseClassDiscriminator = classDiscriminator(serializer.
|
|
2844
|
+
var baseClassDiscriminator = classDiscriminator(serializer.b1c(), this.j1y());
|
|
2838
2845
|
var actualSerializer = findPolymorphicSerializer(casted, this, isObject(value) ? value : THROW_CCE());
|
|
2839
2846
|
validateIfSealed$accessor$1ad0flx(casted, actualSerializer, baseClassDiscriminator);
|
|
2840
|
-
checkKind(actualSerializer.
|
|
2847
|
+
checkKind(actualSerializer.b1c().p1d());
|
|
2841
2848
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue.<anonymous>' call
|
|
2842
|
-
this.
|
|
2843
|
-
actualSerializer.
|
|
2849
|
+
this.r21_1 = baseClassDiscriminator;
|
|
2850
|
+
actualSerializer.c1c(this, value);
|
|
2844
2851
|
}
|
|
2845
2852
|
};
|
|
2846
|
-
protoOf(StreamingJsonEncoder).
|
|
2847
|
-
var newMode = switchMode(this.
|
|
2848
|
-
if (!equals(new Char(newMode.
|
|
2849
|
-
this.
|
|
2850
|
-
this.
|
|
2853
|
+
protoOf(StreamingJsonEncoder).i1f = function (descriptor) {
|
|
2854
|
+
var newMode = switchMode(this.l21_1, descriptor);
|
|
2855
|
+
if (!equals(new Char(newMode.v23_1), new Char(get_INVALID()))) {
|
|
2856
|
+
this.k21_1.w1z(newMode.v23_1);
|
|
2857
|
+
this.k21_1.s1z();
|
|
2851
2858
|
}
|
|
2852
|
-
if (!(this.
|
|
2859
|
+
if (!(this.r21_1 == null)) {
|
|
2853
2860
|
encodeTypeInfo(this, descriptor);
|
|
2854
|
-
this.
|
|
2861
|
+
this.r21_1 = null;
|
|
2855
2862
|
}
|
|
2856
|
-
if (this.
|
|
2863
|
+
if (this.m21_1.equals(newMode)) {
|
|
2857
2864
|
return this;
|
|
2858
2865
|
}
|
|
2859
|
-
var tmp0_safe_receiver = this.
|
|
2866
|
+
var tmp0_safe_receiver = this.n21_1;
|
|
2860
2867
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver[newMode.p5_1];
|
|
2861
|
-
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2868
|
+
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.k21_1, this.l21_1, newMode, this.n21_1) : tmp1_elvis_lhs;
|
|
2862
2869
|
};
|
|
2863
|
-
protoOf(StreamingJsonEncoder).
|
|
2864
|
-
if (!equals(new Char(this.
|
|
2865
|
-
this.
|
|
2866
|
-
this.
|
|
2867
|
-
this.
|
|
2870
|
+
protoOf(StreamingJsonEncoder).j1f = function (descriptor) {
|
|
2871
|
+
if (!equals(new Char(this.m21_1.w23_1), new Char(get_INVALID()))) {
|
|
2872
|
+
this.k21_1.t1z();
|
|
2873
|
+
this.k21_1.u1z();
|
|
2874
|
+
this.k21_1.w1z(this.m21_1.w23_1);
|
|
2868
2875
|
}
|
|
2869
2876
|
};
|
|
2870
|
-
protoOf(StreamingJsonEncoder).
|
|
2871
|
-
var tmp0_subject = this.
|
|
2877
|
+
protoOf(StreamingJsonEncoder).b1g = function (descriptor, index) {
|
|
2878
|
+
var tmp0_subject = this.m21_1;
|
|
2872
2879
|
var tmp0 = tmp0_subject.p5_1;
|
|
2873
2880
|
switch (tmp0) {
|
|
2874
2881
|
case 1:
|
|
2875
|
-
if (!this.
|
|
2876
|
-
this.
|
|
2882
|
+
if (!this.k21_1.r1z_1) {
|
|
2883
|
+
this.k21_1.w1z(get_COMMA());
|
|
2877
2884
|
}
|
|
2878
2885
|
|
|
2879
|
-
this.
|
|
2886
|
+
this.k21_1.u1z();
|
|
2880
2887
|
;
|
|
2881
2888
|
break;
|
|
2882
2889
|
case 2:
|
|
2883
|
-
if (!this.
|
|
2890
|
+
if (!this.k21_1.r1z_1) {
|
|
2884
2891
|
var tmp = this;
|
|
2885
2892
|
var tmp_0;
|
|
2886
2893
|
if ((index % 2 | 0) === 0) {
|
|
2887
|
-
this.
|
|
2888
|
-
this.
|
|
2894
|
+
this.k21_1.w1z(get_COMMA());
|
|
2895
|
+
this.k21_1.u1z();
|
|
2889
2896
|
tmp_0 = true;
|
|
2890
2897
|
} else {
|
|
2891
|
-
this.
|
|
2892
|
-
this.
|
|
2898
|
+
this.k21_1.w1z(get_COLON());
|
|
2899
|
+
this.k21_1.v1z();
|
|
2893
2900
|
tmp_0 = false;
|
|
2894
2901
|
}
|
|
2895
|
-
tmp.
|
|
2902
|
+
tmp.q21_1 = tmp_0;
|
|
2896
2903
|
} else {
|
|
2897
|
-
this.
|
|
2898
|
-
this.
|
|
2904
|
+
this.q21_1 = true;
|
|
2905
|
+
this.k21_1.u1z();
|
|
2899
2906
|
}
|
|
2900
2907
|
|
|
2901
2908
|
break;
|
|
2902
2909
|
case 3:
|
|
2903
2910
|
if (index === 0)
|
|
2904
|
-
this.
|
|
2911
|
+
this.q21_1 = true;
|
|
2905
2912
|
if (index === 1) {
|
|
2906
|
-
this.
|
|
2907
|
-
this.
|
|
2908
|
-
this.
|
|
2913
|
+
this.k21_1.w1z(get_COMMA());
|
|
2914
|
+
this.k21_1.v1z();
|
|
2915
|
+
this.q21_1 = false;
|
|
2909
2916
|
}
|
|
2910
2917
|
|
|
2911
2918
|
break;
|
|
2912
2919
|
default:
|
|
2913
|
-
if (!this.
|
|
2914
|
-
this.
|
|
2920
|
+
if (!this.k21_1.r1z_1) {
|
|
2921
|
+
this.k21_1.w1z(get_COMMA());
|
|
2915
2922
|
}
|
|
2916
2923
|
|
|
2917
|
-
this.
|
|
2918
|
-
this.
|
|
2919
|
-
this.
|
|
2920
|
-
this.
|
|
2924
|
+
this.k21_1.u1z();
|
|
2925
|
+
this.m1g(getJsonElementName(descriptor, this.l21_1, index));
|
|
2926
|
+
this.k21_1.w1z(get_COLON());
|
|
2927
|
+
this.k21_1.v1z();
|
|
2921
2928
|
;
|
|
2922
2929
|
break;
|
|
2923
2930
|
}
|
|
2924
2931
|
return true;
|
|
2925
2932
|
};
|
|
2926
|
-
protoOf(StreamingJsonEncoder).
|
|
2927
|
-
if (!(value == null) ? true : this.
|
|
2928
|
-
protoOf(AbstractEncoder).
|
|
2933
|
+
protoOf(StreamingJsonEncoder).b1h = function (descriptor, index, serializer, value) {
|
|
2934
|
+
if (!(value == null) ? true : this.p21_1.n1x_1) {
|
|
2935
|
+
protoOf(AbstractEncoder).b1h.call(this, descriptor, index, serializer, value);
|
|
2929
2936
|
}
|
|
2930
2937
|
};
|
|
2931
|
-
protoOf(StreamingJsonEncoder).
|
|
2938
|
+
protoOf(StreamingJsonEncoder).o1g = function (descriptor) {
|
|
2932
2939
|
var tmp;
|
|
2933
2940
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2934
2941
|
var tmp$ret$0;
|
|
2935
2942
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2936
2943
|
var tmp_0;
|
|
2937
|
-
var tmp_1 = this.
|
|
2944
|
+
var tmp_1 = this.k21_1;
|
|
2938
2945
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2939
|
-
tmp_0 = this.
|
|
2946
|
+
tmp_0 = this.k21_1;
|
|
2940
2947
|
} else {
|
|
2941
|
-
tmp_0 = new ComposerForUnsignedNumbers(this.
|
|
2948
|
+
tmp_0 = new ComposerForUnsignedNumbers(this.k21_1.q1z_1, this.q21_1);
|
|
2942
2949
|
}
|
|
2943
2950
|
tmp$ret$0 = tmp_0;
|
|
2944
|
-
tmp = new StreamingJsonEncoder(tmp$ret$0, this.
|
|
2951
|
+
tmp = new StreamingJsonEncoder(tmp$ret$0, this.l21_1, this.m21_1, null);
|
|
2945
2952
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2946
2953
|
var tmp$ret$1;
|
|
2947
2954
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2948
2955
|
var tmp_2;
|
|
2949
|
-
var tmp_3 = this.
|
|
2956
|
+
var tmp_3 = this.k21_1;
|
|
2950
2957
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2951
|
-
tmp_2 = this.
|
|
2958
|
+
tmp_2 = this.k21_1;
|
|
2952
2959
|
} else {
|
|
2953
|
-
tmp_2 = new ComposerForUnquotedLiterals(this.
|
|
2960
|
+
tmp_2 = new ComposerForUnquotedLiterals(this.k21_1.q1z_1, this.q21_1);
|
|
2954
2961
|
}
|
|
2955
2962
|
tmp$ret$1 = tmp_2;
|
|
2956
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2963
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.l21_1, this.m21_1, null);
|
|
2957
2964
|
} else {
|
|
2958
|
-
tmp = protoOf(AbstractEncoder).
|
|
2965
|
+
tmp = protoOf(AbstractEncoder).o1g.call(this, descriptor);
|
|
2959
2966
|
}
|
|
2960
2967
|
return tmp;
|
|
2961
2968
|
};
|
|
2962
|
-
protoOf(StreamingJsonEncoder).
|
|
2963
|
-
this.
|
|
2969
|
+
protoOf(StreamingJsonEncoder).d1g = function () {
|
|
2970
|
+
this.k21_1.y1z(get_NULL());
|
|
2964
2971
|
};
|
|
2965
|
-
protoOf(StreamingJsonEncoder).
|
|
2966
|
-
if (this.
|
|
2967
|
-
this.
|
|
2972
|
+
protoOf(StreamingJsonEncoder).e1g = function (value) {
|
|
2973
|
+
if (this.q21_1) {
|
|
2974
|
+
this.m1g(value.toString());
|
|
2968
2975
|
} else {
|
|
2969
|
-
this.
|
|
2976
|
+
this.k21_1.h20(value);
|
|
2970
2977
|
}
|
|
2971
2978
|
};
|
|
2972
|
-
protoOf(StreamingJsonEncoder).
|
|
2973
|
-
if (this.
|
|
2974
|
-
this.
|
|
2979
|
+
protoOf(StreamingJsonEncoder).f1g = function (value) {
|
|
2980
|
+
if (this.q21_1) {
|
|
2981
|
+
this.m1g(value.toString());
|
|
2975
2982
|
} else {
|
|
2976
|
-
this.
|
|
2983
|
+
this.k21_1.c20(value);
|
|
2977
2984
|
}
|
|
2978
2985
|
};
|
|
2979
|
-
protoOf(StreamingJsonEncoder).
|
|
2980
|
-
if (this.
|
|
2981
|
-
this.
|
|
2986
|
+
protoOf(StreamingJsonEncoder).g1g = function (value) {
|
|
2987
|
+
if (this.q21_1) {
|
|
2988
|
+
this.m1g(value.toString());
|
|
2982
2989
|
} else {
|
|
2983
|
-
this.
|
|
2990
|
+
this.k21_1.e20(value);
|
|
2984
2991
|
}
|
|
2985
2992
|
};
|
|
2986
|
-
protoOf(StreamingJsonEncoder).
|
|
2987
|
-
if (this.
|
|
2988
|
-
this.
|
|
2993
|
+
protoOf(StreamingJsonEncoder).h1g = function (value) {
|
|
2994
|
+
if (this.q21_1) {
|
|
2995
|
+
this.m1g(value.toString());
|
|
2989
2996
|
} else {
|
|
2990
|
-
this.
|
|
2997
|
+
this.k21_1.f20(value);
|
|
2991
2998
|
}
|
|
2992
2999
|
};
|
|
2993
|
-
protoOf(StreamingJsonEncoder).
|
|
2994
|
-
if (this.
|
|
2995
|
-
this.
|
|
3000
|
+
protoOf(StreamingJsonEncoder).i1g = function (value) {
|
|
3001
|
+
if (this.q21_1) {
|
|
3002
|
+
this.m1g(value.toString());
|
|
2996
3003
|
} else {
|
|
2997
|
-
this.
|
|
3004
|
+
this.k21_1.g20(value);
|
|
2998
3005
|
}
|
|
2999
3006
|
};
|
|
3000
|
-
protoOf(StreamingJsonEncoder).
|
|
3001
|
-
if (this.
|
|
3002
|
-
this.
|
|
3007
|
+
protoOf(StreamingJsonEncoder).j1g = function (value) {
|
|
3008
|
+
if (this.q21_1) {
|
|
3009
|
+
this.m1g(value.toString());
|
|
3003
3010
|
} else {
|
|
3004
|
-
this.
|
|
3011
|
+
this.k21_1.a20(value);
|
|
3005
3012
|
}
|
|
3006
|
-
if (!this.
|
|
3007
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3013
|
+
if (!this.p21_1.s1x_1 ? !isFinite(value) : false) {
|
|
3014
|
+
throw InvalidFloatingPointEncoded(value, toString(this.k21_1.q1z_1));
|
|
3008
3015
|
}
|
|
3009
3016
|
};
|
|
3010
|
-
protoOf(StreamingJsonEncoder).
|
|
3011
|
-
if (this.
|
|
3012
|
-
this.
|
|
3017
|
+
protoOf(StreamingJsonEncoder).k1g = function (value) {
|
|
3018
|
+
if (this.q21_1) {
|
|
3019
|
+
this.m1g(value.toString());
|
|
3013
3020
|
} else {
|
|
3014
|
-
this.
|
|
3021
|
+
this.k21_1.b20(value);
|
|
3015
3022
|
}
|
|
3016
|
-
if (!this.
|
|
3017
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3023
|
+
if (!this.p21_1.s1x_1 ? !isFinite_0(value) : false) {
|
|
3024
|
+
throw InvalidFloatingPointEncoded(value, toString(this.k21_1.q1z_1));
|
|
3018
3025
|
}
|
|
3019
3026
|
};
|
|
3020
|
-
protoOf(StreamingJsonEncoder).
|
|
3021
|
-
this.
|
|
3027
|
+
protoOf(StreamingJsonEncoder).l1g = function (value) {
|
|
3028
|
+
this.m1g(toString_0(value));
|
|
3022
3029
|
};
|
|
3023
|
-
protoOf(StreamingJsonEncoder).
|
|
3024
|
-
return this.
|
|
3030
|
+
protoOf(StreamingJsonEncoder).m1g = function (value) {
|
|
3031
|
+
return this.k21_1.i20(value);
|
|
3025
3032
|
};
|
|
3026
|
-
protoOf(StreamingJsonEncoder).
|
|
3027
|
-
this.
|
|
3033
|
+
protoOf(StreamingJsonEncoder).n1g = function (enumDescriptor, index) {
|
|
3034
|
+
this.m1g(enumDescriptor.t1d(index));
|
|
3028
3035
|
};
|
|
3029
3036
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
3030
3037
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
3031
|
-
return _this__u8e3s4.
|
|
3038
|
+
return _this__u8e3s4.o1d() ? get_unsignedNumberDescriptors().y(_this__u8e3s4) : false;
|
|
3032
3039
|
}
|
|
3033
3040
|
function get_isUnquotedLiteral(_this__u8e3s4) {
|
|
3034
3041
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
3035
|
-
return _this__u8e3s4.
|
|
3042
|
+
return _this__u8e3s4.o1d() ? equals(_this__u8e3s4, get_jsonUnquotedLiteralDescriptor()) : false;
|
|
3036
3043
|
}
|
|
3037
3044
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
3038
3045
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
3039
3046
|
if (properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
3040
3047
|
} else {
|
|
3041
3048
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
3042
|
-
unsignedNumberDescriptors = setOf([serializer_1(Companion_getInstance_1()).
|
|
3049
|
+
unsignedNumberDescriptors = setOf([serializer_1(Companion_getInstance_1()).b1c(), serializer_0(Companion_getInstance()).b1c(), serializer_2(Companion_getInstance_2()).b1c(), serializer_3(Companion_getInstance_3()).b1c()]);
|
|
3043
3050
|
}
|
|
3044
3051
|
}
|
|
3045
3052
|
function get_ESCAPE_STRINGS() {
|
|
@@ -3221,7 +3228,7 @@
|
|
|
3221
3228
|
}
|
|
3222
3229
|
}
|
|
3223
3230
|
function currentObject($this) {
|
|
3224
|
-
var tmp0_safe_receiver = $this.
|
|
3231
|
+
var tmp0_safe_receiver = $this.f1t();
|
|
3225
3232
|
var tmp;
|
|
3226
3233
|
if (tmp0_safe_receiver == null) {
|
|
3227
3234
|
tmp = null;
|
|
@@ -3231,7 +3238,7 @@
|
|
|
3231
3238
|
// Inline function 'kotlin.contracts.contract' call
|
|
3232
3239
|
var tmp$ret$0;
|
|
3233
3240
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
3234
|
-
tmp$ret$0 = $this.
|
|
3241
|
+
tmp$ret$0 = $this.i24(tmp0_safe_receiver);
|
|
3235
3242
|
tmp$ret$1 = tmp$ret$0;
|
|
3236
3243
|
tmp = tmp$ret$1;
|
|
3237
3244
|
}
|
|
@@ -3253,31 +3260,31 @@
|
|
|
3253
3260
|
}
|
|
3254
3261
|
function AbstractJsonTreeDecoder(json, value) {
|
|
3255
3262
|
NamedValueDecoder.call(this);
|
|
3256
|
-
this.
|
|
3257
|
-
this.
|
|
3258
|
-
this.
|
|
3263
|
+
this.f24_1 = json;
|
|
3264
|
+
this.g24_1 = value;
|
|
3265
|
+
this.h24_1 = this.j1y().p1w_1;
|
|
3259
3266
|
}
|
|
3260
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3261
|
-
return this.
|
|
3267
|
+
protoOf(AbstractJsonTreeDecoder).j1y = function () {
|
|
3268
|
+
return this.f24_1;
|
|
3262
3269
|
};
|
|
3263
3270
|
protoOf(AbstractJsonTreeDecoder).j1 = function () {
|
|
3264
|
-
return this.
|
|
3271
|
+
return this.g24_1;
|
|
3265
3272
|
};
|
|
3266
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3267
|
-
return this.
|
|
3273
|
+
protoOf(AbstractJsonTreeDecoder).x1f = function () {
|
|
3274
|
+
return this.j1y().x1f();
|
|
3268
3275
|
};
|
|
3269
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3276
|
+
protoOf(AbstractJsonTreeDecoder).k1y = function () {
|
|
3270
3277
|
return currentObject(this);
|
|
3271
3278
|
};
|
|
3272
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3279
|
+
protoOf(AbstractJsonTreeDecoder).h1f = function (deserializer) {
|
|
3273
3280
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
3274
3281
|
};
|
|
3275
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3282
|
+
protoOf(AbstractJsonTreeDecoder).g1t = function (parentName, childName) {
|
|
3276
3283
|
return childName;
|
|
3277
3284
|
};
|
|
3278
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3285
|
+
protoOf(AbstractJsonTreeDecoder).i1f = function (descriptor) {
|
|
3279
3286
|
var currentObject_0 = currentObject(this);
|
|
3280
|
-
var tmp0_subject = descriptor.
|
|
3287
|
+
var tmp0_subject = descriptor.p1d();
|
|
3281
3288
|
var tmp;
|
|
3282
3289
|
var tmp_0;
|
|
3283
3290
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -3286,11 +3293,11 @@
|
|
|
3286
3293
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3287
3294
|
}
|
|
3288
3295
|
if (tmp_0) {
|
|
3289
|
-
var tmp_1 = this.
|
|
3296
|
+
var tmp_1 = this.j1y();
|
|
3290
3297
|
var tmp$ret$0;
|
|
3291
3298
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3292
3299
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
3293
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
3300
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.b1d() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
3294
3301
|
}
|
|
3295
3302
|
tmp$ret$0 = currentObject_0;
|
|
3296
3303
|
tmp = new JsonTreeListDecoder(tmp_1, tmp$ret$0);
|
|
@@ -3298,9 +3305,9 @@
|
|
|
3298
3305
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3299
3306
|
var tmp$ret$5;
|
|
3300
3307
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3301
|
-
var tmp0_selectMapMode = this.
|
|
3302
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
3303
|
-
var keyKind = keyDescriptor.
|
|
3308
|
+
var tmp0_selectMapMode = this.j1y();
|
|
3309
|
+
var keyDescriptor = carrierDescriptor(descriptor.r1d(0), tmp0_selectMapMode.x1f());
|
|
3310
|
+
var keyKind = keyDescriptor.p1d();
|
|
3304
3311
|
var tmp_2;
|
|
3305
3312
|
var tmp_3;
|
|
3306
3313
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3311,24 +3318,24 @@
|
|
|
3311
3318
|
if (tmp_3) {
|
|
3312
3319
|
var tmp$ret$2;
|
|
3313
3320
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
3314
|
-
var tmp_4 = this.
|
|
3321
|
+
var tmp_4 = this.j1y();
|
|
3315
3322
|
var tmp$ret$1;
|
|
3316
3323
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3317
3324
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
3318
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
3325
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.b1d() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
3319
3326
|
}
|
|
3320
3327
|
tmp$ret$1 = currentObject_0;
|
|
3321
3328
|
tmp$ret$2 = new JsonTreeMapDecoder(tmp_4, tmp$ret$1);
|
|
3322
3329
|
tmp_2 = tmp$ret$2;
|
|
3323
3330
|
} else {
|
|
3324
|
-
if (tmp0_selectMapMode.
|
|
3331
|
+
if (tmp0_selectMapMode.p1w_1.l1x_1) {
|
|
3325
3332
|
var tmp$ret$4;
|
|
3326
3333
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
3327
|
-
var tmp_5 = this.
|
|
3334
|
+
var tmp_5 = this.j1y();
|
|
3328
3335
|
var tmp$ret$3;
|
|
3329
3336
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3330
3337
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
3331
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
3338
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.b1d() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
3332
3339
|
}
|
|
3333
3340
|
tmp$ret$3 = currentObject_0;
|
|
3334
3341
|
tmp$ret$4 = new JsonTreeListDecoder(tmp_5, tmp$ret$3);
|
|
@@ -3340,11 +3347,11 @@
|
|
|
3340
3347
|
tmp$ret$5 = tmp_2;
|
|
3341
3348
|
tmp = tmp$ret$5;
|
|
3342
3349
|
} else {
|
|
3343
|
-
var tmp_6 = this.
|
|
3350
|
+
var tmp_6 = this.j1y();
|
|
3344
3351
|
var tmp$ret$6;
|
|
3345
3352
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3346
3353
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
3347
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
3354
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.b1d() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
3348
3355
|
}
|
|
3349
3356
|
tmp$ret$6 = currentObject_0;
|
|
3350
3357
|
tmp = new JsonTreeDecoder(tmp_6, tmp$ret$6);
|
|
@@ -3352,14 +3359,14 @@
|
|
|
3352
3359
|
}
|
|
3353
3360
|
return tmp;
|
|
3354
3361
|
};
|
|
3355
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3362
|
+
protoOf(AbstractJsonTreeDecoder).j1f = function (descriptor) {
|
|
3356
3363
|
};
|
|
3357
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3364
|
+
protoOf(AbstractJsonTreeDecoder).t1e = function () {
|
|
3358
3365
|
var tmp = currentObject(this);
|
|
3359
3366
|
return !(tmp instanceof JsonNull);
|
|
3360
3367
|
};
|
|
3361
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3362
|
-
var currentElement = this.
|
|
3368
|
+
protoOf(AbstractJsonTreeDecoder).j24 = function (tag) {
|
|
3369
|
+
var currentElement = this.i24(tag);
|
|
3363
3370
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
3364
3371
|
var tmp;
|
|
3365
3372
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -3369,23 +3376,23 @@
|
|
|
3369
3376
|
}
|
|
3370
3377
|
return tmp;
|
|
3371
3378
|
};
|
|
3372
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3373
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
3379
|
+
protoOf(AbstractJsonTreeDecoder).k24 = function (tag, enumDescriptor) {
|
|
3380
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.j1y(), this.j24(tag).s1y());
|
|
3374
3381
|
};
|
|
3375
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3376
|
-
return this.
|
|
3382
|
+
protoOf(AbstractJsonTreeDecoder).s1t = function (tag, enumDescriptor) {
|
|
3383
|
+
return this.k24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3377
3384
|
};
|
|
3378
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3379
|
-
return !(this.
|
|
3385
|
+
protoOf(AbstractJsonTreeDecoder).l24 = function (tag) {
|
|
3386
|
+
return !(this.i24(tag) === JsonNull_getInstance());
|
|
3380
3387
|
};
|
|
3381
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3382
|
-
return this.
|
|
3388
|
+
protoOf(AbstractJsonTreeDecoder).i1t = function (tag) {
|
|
3389
|
+
return this.l24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3383
3390
|
};
|
|
3384
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3385
|
-
var value = this.
|
|
3386
|
-
if (!this.
|
|
3391
|
+
protoOf(AbstractJsonTreeDecoder).m24 = function (tag) {
|
|
3392
|
+
var value = this.j24(tag);
|
|
3393
|
+
if (!this.j1y().p1w_1.k1x_1) {
|
|
3387
3394
|
var literal = asLiteral(value, this, 'boolean');
|
|
3388
|
-
if (literal.
|
|
3395
|
+
if (literal.t1y_1)
|
|
3389
3396
|
throw JsonDecodingException_0(-1, "Boolean literal for key '" + tag + "' should be unquoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
3390
3397
|
}
|
|
3391
3398
|
var tmp$ret$1;
|
|
@@ -3422,14 +3429,14 @@
|
|
|
3422
3429
|
}
|
|
3423
3430
|
return tmp$ret$1;
|
|
3424
3431
|
};
|
|
3425
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3426
|
-
return this.
|
|
3432
|
+
protoOf(AbstractJsonTreeDecoder).j1t = function (tag) {
|
|
3433
|
+
return this.m24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3427
3434
|
};
|
|
3428
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3435
|
+
protoOf(AbstractJsonTreeDecoder).n24 = function (tag) {
|
|
3429
3436
|
var tmp$ret$1;
|
|
3430
3437
|
$l$block: {
|
|
3431
3438
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3432
|
-
var tmp0_primitive = this.
|
|
3439
|
+
var tmp0_primitive = this.j24(tag);
|
|
3433
3440
|
try {
|
|
3434
3441
|
var tmp$ret$0;
|
|
3435
3442
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
@@ -3462,14 +3469,14 @@
|
|
|
3462
3469
|
}
|
|
3463
3470
|
return tmp$ret$1;
|
|
3464
3471
|
};
|
|
3465
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3466
|
-
return this.
|
|
3472
|
+
protoOf(AbstractJsonTreeDecoder).k1t = function (tag) {
|
|
3473
|
+
return this.n24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3467
3474
|
};
|
|
3468
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3475
|
+
protoOf(AbstractJsonTreeDecoder).o24 = function (tag) {
|
|
3469
3476
|
var tmp$ret$1;
|
|
3470
3477
|
$l$block: {
|
|
3471
3478
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3472
|
-
var tmp0_primitive = this.
|
|
3479
|
+
var tmp0_primitive = this.j24(tag);
|
|
3473
3480
|
try {
|
|
3474
3481
|
var tmp$ret$0;
|
|
3475
3482
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
@@ -3502,14 +3509,14 @@
|
|
|
3502
3509
|
}
|
|
3503
3510
|
return tmp$ret$1;
|
|
3504
3511
|
};
|
|
3505
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3506
|
-
return this.
|
|
3512
|
+
protoOf(AbstractJsonTreeDecoder).l1t = function (tag) {
|
|
3513
|
+
return this.o24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3507
3514
|
};
|
|
3508
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3515
|
+
protoOf(AbstractJsonTreeDecoder).p24 = function (tag) {
|
|
3509
3516
|
var tmp$ret$1;
|
|
3510
3517
|
$l$block: {
|
|
3511
3518
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3512
|
-
var tmp0_primitive = this.
|
|
3519
|
+
var tmp0_primitive = this.j24(tag);
|
|
3513
3520
|
try {
|
|
3514
3521
|
var tmp$ret$0;
|
|
3515
3522
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
@@ -3534,14 +3541,14 @@
|
|
|
3534
3541
|
}
|
|
3535
3542
|
return tmp$ret$1;
|
|
3536
3543
|
};
|
|
3537
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3538
|
-
return this.
|
|
3544
|
+
protoOf(AbstractJsonTreeDecoder).m1t = function (tag) {
|
|
3545
|
+
return this.p24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3539
3546
|
};
|
|
3540
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3547
|
+
protoOf(AbstractJsonTreeDecoder).q24 = function (tag) {
|
|
3541
3548
|
var tmp$ret$1;
|
|
3542
3549
|
$l$block: {
|
|
3543
3550
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3544
|
-
var tmp0_primitive = this.
|
|
3551
|
+
var tmp0_primitive = this.j24(tag);
|
|
3545
3552
|
try {
|
|
3546
3553
|
var tmp$ret$0;
|
|
3547
3554
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
@@ -3566,14 +3573,14 @@
|
|
|
3566
3573
|
}
|
|
3567
3574
|
return tmp$ret$1;
|
|
3568
3575
|
};
|
|
3569
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3570
|
-
return this.
|
|
3576
|
+
protoOf(AbstractJsonTreeDecoder).n1t = function (tag) {
|
|
3577
|
+
return this.q24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3571
3578
|
};
|
|
3572
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3579
|
+
protoOf(AbstractJsonTreeDecoder).r24 = function (tag) {
|
|
3573
3580
|
var tmp$ret$1;
|
|
3574
3581
|
$l$block: {
|
|
3575
3582
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3576
|
-
var tmp0_primitive = this.
|
|
3583
|
+
var tmp0_primitive = this.j24(tag);
|
|
3577
3584
|
try {
|
|
3578
3585
|
var tmp$ret$0;
|
|
3579
3586
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
@@ -3597,19 +3604,19 @@
|
|
|
3597
3604
|
}
|
|
3598
3605
|
}
|
|
3599
3606
|
var result = tmp$ret$1;
|
|
3600
|
-
var specialFp = this.
|
|
3607
|
+
var specialFp = this.j1y().p1w_1.s1x_1;
|
|
3601
3608
|
if (specialFp ? true : isFinite(result))
|
|
3602
3609
|
return result;
|
|
3603
3610
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
3604
3611
|
};
|
|
3605
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3606
|
-
return this.
|
|
3612
|
+
protoOf(AbstractJsonTreeDecoder).o1t = function (tag) {
|
|
3613
|
+
return this.r24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3607
3614
|
};
|
|
3608
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3615
|
+
protoOf(AbstractJsonTreeDecoder).s24 = function (tag) {
|
|
3609
3616
|
var tmp$ret$1;
|
|
3610
3617
|
$l$block: {
|
|
3611
3618
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3612
|
-
var tmp0_primitive = this.
|
|
3619
|
+
var tmp0_primitive = this.j24(tag);
|
|
3613
3620
|
try {
|
|
3614
3621
|
var tmp$ret$0;
|
|
3615
3622
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
@@ -3633,23 +3640,23 @@
|
|
|
3633
3640
|
}
|
|
3634
3641
|
}
|
|
3635
3642
|
var result = tmp$ret$1;
|
|
3636
|
-
var specialFp = this.
|
|
3643
|
+
var specialFp = this.j1y().p1w_1.s1x_1;
|
|
3637
3644
|
if (specialFp ? true : isFinite_0(result))
|
|
3638
3645
|
return result;
|
|
3639
3646
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
3640
3647
|
};
|
|
3641
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3642
|
-
return this.
|
|
3648
|
+
protoOf(AbstractJsonTreeDecoder).p1t = function (tag) {
|
|
3649
|
+
return this.s24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3643
3650
|
};
|
|
3644
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3651
|
+
protoOf(AbstractJsonTreeDecoder).t24 = function (tag) {
|
|
3645
3652
|
var tmp$ret$1;
|
|
3646
3653
|
$l$block: {
|
|
3647
3654
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3648
|
-
var tmp0_primitive = this.
|
|
3655
|
+
var tmp0_primitive = this.j24(tag);
|
|
3649
3656
|
try {
|
|
3650
3657
|
var tmp$ret$0;
|
|
3651
3658
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
3652
|
-
tmp$ret$0 = single(tmp0_primitive.
|
|
3659
|
+
tmp$ret$0 = single(tmp0_primitive.s1y());
|
|
3653
3660
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
3654
3661
|
var tmp;
|
|
3655
3662
|
var tmp_0 = tmp0_elvis_lhs;
|
|
@@ -3671,40 +3678,43 @@
|
|
|
3671
3678
|
}
|
|
3672
3679
|
return tmp$ret$1;
|
|
3673
3680
|
};
|
|
3674
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3675
|
-
return this.
|
|
3681
|
+
protoOf(AbstractJsonTreeDecoder).q1t = function (tag) {
|
|
3682
|
+
return this.t24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3676
3683
|
};
|
|
3677
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3678
|
-
var value = this.
|
|
3679
|
-
if (!this.
|
|
3684
|
+
protoOf(AbstractJsonTreeDecoder).u24 = function (tag) {
|
|
3685
|
+
var value = this.j24(tag);
|
|
3686
|
+
if (!this.j1y().p1w_1.k1x_1) {
|
|
3680
3687
|
var literal = asLiteral(value, this, 'string');
|
|
3681
|
-
if (!literal.
|
|
3688
|
+
if (!literal.t1y_1)
|
|
3682
3689
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
3683
3690
|
}
|
|
3684
3691
|
if (value instanceof JsonNull)
|
|
3685
3692
|
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(currentObject(this)));
|
|
3686
|
-
return value.
|
|
3693
|
+
return value.s1y();
|
|
3694
|
+
};
|
|
3695
|
+
protoOf(AbstractJsonTreeDecoder).r1t = function (tag) {
|
|
3696
|
+
return this.u24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3687
3697
|
};
|
|
3688
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3689
|
-
return
|
|
3698
|
+
protoOf(AbstractJsonTreeDecoder).v24 = function (tag, inlineDescriptor) {
|
|
3699
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.j24(tag).s1y()), this.j1y()) : protoOf(NamedValueDecoder).t1t.call(this, tag, inlineDescriptor);
|
|
3690
3700
|
};
|
|
3691
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3692
|
-
return
|
|
3701
|
+
protoOf(AbstractJsonTreeDecoder).t1t = function (tag, inlineDescriptor) {
|
|
3702
|
+
return this.v24((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3693
3703
|
};
|
|
3694
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3695
|
-
return this.
|
|
3704
|
+
protoOf(AbstractJsonTreeDecoder).f1f = function (descriptor) {
|
|
3705
|
+
return !(this.f1t() == null) ? protoOf(NamedValueDecoder).f1f.call(this, descriptor) : (new JsonPrimitiveDecoder(this.j1y(), this.j1())).f1f(descriptor);
|
|
3696
3706
|
};
|
|
3697
3707
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
3698
3708
|
var tmp$ret$1;
|
|
3699
3709
|
$l$block_2: {
|
|
3700
3710
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
3701
|
-
var tmp0_tryCoerceValue = $this.
|
|
3702
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
3711
|
+
var tmp0_tryCoerceValue = $this.j1y();
|
|
3712
|
+
var tmp1_tryCoerceValue = descriptor.r1d(index);
|
|
3703
3713
|
var tmp;
|
|
3704
|
-
if (!tmp1_tryCoerceValue.
|
|
3714
|
+
if (!tmp1_tryCoerceValue.i1d()) {
|
|
3705
3715
|
var tmp$ret$0;
|
|
3706
3716
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3707
|
-
var tmp_0 = $this.
|
|
3717
|
+
var tmp_0 = $this.i24(tag);
|
|
3708
3718
|
tmp$ret$0 = tmp_0 instanceof JsonNull;
|
|
3709
3719
|
tmp = tmp$ret$0;
|
|
3710
3720
|
} else {
|
|
@@ -3714,12 +3724,12 @@
|
|
|
3714
3724
|
tmp$ret$1 = true;
|
|
3715
3725
|
break $l$block_2;
|
|
3716
3726
|
}
|
|
3717
|
-
if (equals(tmp1_tryCoerceValue.
|
|
3727
|
+
if (equals(tmp1_tryCoerceValue.p1d(), ENUM_getInstance())) {
|
|
3718
3728
|
var tmp_1;
|
|
3719
|
-
if (tmp1_tryCoerceValue.
|
|
3729
|
+
if (tmp1_tryCoerceValue.i1d()) {
|
|
3720
3730
|
var tmp$ret$2;
|
|
3721
3731
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3722
|
-
var tmp_2 = $this.
|
|
3732
|
+
var tmp_2 = $this.i24(tag);
|
|
3723
3733
|
tmp$ret$2 = tmp_2 instanceof JsonNull;
|
|
3724
3734
|
tmp_1 = tmp$ret$2;
|
|
3725
3735
|
} else {
|
|
@@ -3731,7 +3741,7 @@
|
|
|
3731
3741
|
}
|
|
3732
3742
|
var tmp$ret$3;
|
|
3733
3743
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3734
|
-
var tmp_3 = $this.
|
|
3744
|
+
var tmp_3 = $this.i24(tag);
|
|
3735
3745
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
3736
3746
|
tmp$ret$3 = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3737
3747
|
var tmp0_elvis_lhs = tmp$ret$3;
|
|
@@ -3758,30 +3768,30 @@
|
|
|
3758
3768
|
return tmp$ret$1;
|
|
3759
3769
|
}
|
|
3760
3770
|
function absenceIsNull($this, descriptor, index) {
|
|
3761
|
-
$this.
|
|
3762
|
-
return $this.
|
|
3771
|
+
$this.f25_1 = (!$this.j1y().p1w_1.n1x_1 ? !descriptor.u1d(index) : false) ? descriptor.r1d(index).i1d() : false;
|
|
3772
|
+
return $this.f25_1;
|
|
3763
3773
|
}
|
|
3764
3774
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
3765
3775
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
3766
3776
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3767
3777
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3768
|
-
this.
|
|
3769
|
-
this.
|
|
3770
|
-
this.
|
|
3771
|
-
this.
|
|
3772
|
-
this.
|
|
3778
|
+
this.b25_1 = value;
|
|
3779
|
+
this.c25_1 = polyDiscriminator;
|
|
3780
|
+
this.d25_1 = polyDescriptor;
|
|
3781
|
+
this.e25_1 = 0;
|
|
3782
|
+
this.f25_1 = false;
|
|
3773
3783
|
}
|
|
3774
3784
|
protoOf(JsonTreeDecoder).j1 = function () {
|
|
3775
|
-
return this.
|
|
3785
|
+
return this.b25_1;
|
|
3776
3786
|
};
|
|
3777
|
-
protoOf(JsonTreeDecoder).
|
|
3778
|
-
while (this.
|
|
3787
|
+
protoOf(JsonTreeDecoder).z1f = function (descriptor) {
|
|
3788
|
+
while (this.e25_1 < descriptor.n1d()) {
|
|
3779
3789
|
var tmp0_this = this;
|
|
3780
|
-
var tmp1 = tmp0_this.
|
|
3781
|
-
tmp0_this.
|
|
3782
|
-
var name = this.
|
|
3783
|
-
var index = this.
|
|
3784
|
-
this.
|
|
3790
|
+
var tmp1 = tmp0_this.e25_1;
|
|
3791
|
+
tmp0_this.e25_1 = tmp1 + 1 | 0;
|
|
3792
|
+
var name = this.a1t(descriptor, tmp1);
|
|
3793
|
+
var index = this.e25_1 - 1 | 0;
|
|
3794
|
+
this.f25_1 = false;
|
|
3785
3795
|
var tmp;
|
|
3786
3796
|
var tmp_0;
|
|
3787
3797
|
var tmp$ret$1;
|
|
@@ -3797,7 +3807,7 @@
|
|
|
3797
3807
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3798
3808
|
}
|
|
3799
3809
|
if (tmp_0) {
|
|
3800
|
-
tmp = !this.
|
|
3810
|
+
tmp = !this.h24_1.p1x_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
3801
3811
|
} else {
|
|
3802
3812
|
tmp = false;
|
|
3803
3813
|
}
|
|
@@ -3808,19 +3818,19 @@
|
|
|
3808
3818
|
Companion_getInstance_0();
|
|
3809
3819
|
return -1;
|
|
3810
3820
|
};
|
|
3811
|
-
protoOf(JsonTreeDecoder).
|
|
3812
|
-
return !this.
|
|
3821
|
+
protoOf(JsonTreeDecoder).t1e = function () {
|
|
3822
|
+
return !this.f25_1 ? protoOf(AbstractJsonTreeDecoder).t1e.call(this) : false;
|
|
3813
3823
|
};
|
|
3814
|
-
protoOf(JsonTreeDecoder).
|
|
3815
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3816
|
-
var baseName = descriptor.
|
|
3824
|
+
protoOf(JsonTreeDecoder).b1t = function (descriptor, index) {
|
|
3825
|
+
var strategy = namingStrategy(descriptor, this.j1y());
|
|
3826
|
+
var baseName = descriptor.t1d(index);
|
|
3817
3827
|
if (strategy == null) {
|
|
3818
|
-
if (!this.
|
|
3828
|
+
if (!this.h24_1.t1x_1)
|
|
3819
3829
|
return baseName;
|
|
3820
3830
|
if (this.j1().y1().y(baseName))
|
|
3821
3831
|
return baseName;
|
|
3822
3832
|
}
|
|
3823
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3833
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.j1y(), descriptor);
|
|
3824
3834
|
var tmp$ret$2;
|
|
3825
3835
|
// Inline function 'kotlin.collections.find' call
|
|
3826
3836
|
var tmp0_find = this.j1().y1();
|
|
@@ -3851,39 +3861,39 @@
|
|
|
3851
3861
|
return tmp0_safe_receiver;
|
|
3852
3862
|
}
|
|
3853
3863
|
var tmp1_safe_receiver = strategy;
|
|
3854
|
-
var fallbackName = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3864
|
+
var fallbackName = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.a21(descriptor, index, baseName);
|
|
3855
3865
|
var tmp2_elvis_lhs = fallbackName;
|
|
3856
3866
|
return tmp2_elvis_lhs == null ? baseName : tmp2_elvis_lhs;
|
|
3857
3867
|
};
|
|
3858
|
-
protoOf(JsonTreeDecoder).
|
|
3868
|
+
protoOf(JsonTreeDecoder).i24 = function (tag) {
|
|
3859
3869
|
return getValue(this.j1(), tag);
|
|
3860
3870
|
};
|
|
3861
|
-
protoOf(JsonTreeDecoder).
|
|
3862
|
-
if (descriptor === this.
|
|
3871
|
+
protoOf(JsonTreeDecoder).i1f = function (descriptor) {
|
|
3872
|
+
if (descriptor === this.d25_1)
|
|
3863
3873
|
return this;
|
|
3864
|
-
return protoOf(AbstractJsonTreeDecoder).
|
|
3874
|
+
return protoOf(AbstractJsonTreeDecoder).i1f.call(this, descriptor);
|
|
3865
3875
|
};
|
|
3866
|
-
protoOf(JsonTreeDecoder).
|
|
3876
|
+
protoOf(JsonTreeDecoder).j1f = function (descriptor) {
|
|
3867
3877
|
var tmp;
|
|
3868
|
-
if (this.
|
|
3878
|
+
if (this.h24_1.j1x_1) {
|
|
3869
3879
|
tmp = true;
|
|
3870
3880
|
} else {
|
|
3871
|
-
var tmp_0 = descriptor.
|
|
3881
|
+
var tmp_0 = descriptor.p1d();
|
|
3872
3882
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3873
3883
|
}
|
|
3874
3884
|
if (tmp)
|
|
3875
3885
|
return Unit_getInstance();
|
|
3876
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3886
|
+
var strategy = namingStrategy(descriptor, this.j1y());
|
|
3877
3887
|
var tmp_1;
|
|
3878
|
-
if (strategy == null ? !this.
|
|
3888
|
+
if (strategy == null ? !this.h24_1.t1x_1 : false) {
|
|
3879
3889
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3880
3890
|
} else if (!(strategy == null)) {
|
|
3881
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3891
|
+
tmp_1 = deserializationNamesMap(this.j1y(), descriptor).y1();
|
|
3882
3892
|
} else {
|
|
3883
3893
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3884
3894
|
var tmp$ret$0;
|
|
3885
3895
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3886
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3896
|
+
var tmp0_safe_receiver = get_schemaCache(this.j1y()).i23(descriptor, get_JsonDeserializationNamesKey());
|
|
3887
3897
|
var tmp0_orEmpty = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y1();
|
|
3888
3898
|
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
3889
3899
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3893,68 +3903,96 @@
|
|
|
3893
3903
|
var tmp1_iterator = this.j1().y1().f();
|
|
3894
3904
|
while (tmp1_iterator.g()) {
|
|
3895
3905
|
var key = tmp1_iterator.h();
|
|
3896
|
-
if (!names.y(key) ? !(key === this.
|
|
3906
|
+
if (!names.y(key) ? !(key === this.c25_1) : false) {
|
|
3897
3907
|
throw UnknownKeyException(key, this.j1().toString());
|
|
3898
3908
|
}
|
|
3899
3909
|
}
|
|
3900
3910
|
};
|
|
3901
3911
|
function JsonTreeListDecoder(json, value) {
|
|
3902
3912
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3903
|
-
this.
|
|
3904
|
-
this.
|
|
3905
|
-
this.
|
|
3913
|
+
this.l25_1 = value;
|
|
3914
|
+
this.m25_1 = this.l25_1.i();
|
|
3915
|
+
this.n25_1 = -1;
|
|
3906
3916
|
}
|
|
3907
3917
|
protoOf(JsonTreeListDecoder).j1 = function () {
|
|
3908
|
-
return this.
|
|
3918
|
+
return this.l25_1;
|
|
3909
3919
|
};
|
|
3910
|
-
protoOf(JsonTreeListDecoder).
|
|
3920
|
+
protoOf(JsonTreeListDecoder).b1t = function (descriptor, index) {
|
|
3911
3921
|
return index.toString();
|
|
3912
3922
|
};
|
|
3913
|
-
protoOf(JsonTreeListDecoder).
|
|
3914
|
-
return this.
|
|
3923
|
+
protoOf(JsonTreeListDecoder).i24 = function (tag) {
|
|
3924
|
+
return this.l25_1.k(toInt(tag));
|
|
3915
3925
|
};
|
|
3916
|
-
protoOf(JsonTreeListDecoder).
|
|
3917
|
-
while (this.
|
|
3926
|
+
protoOf(JsonTreeListDecoder).z1f = function (descriptor) {
|
|
3927
|
+
while (this.n25_1 < (this.m25_1 - 1 | 0)) {
|
|
3918
3928
|
var tmp0_this = this;
|
|
3919
|
-
var tmp1 = tmp0_this.
|
|
3920
|
-
tmp0_this.
|
|
3921
|
-
return this.
|
|
3929
|
+
var tmp1 = tmp0_this.n25_1;
|
|
3930
|
+
tmp0_this.n25_1 = tmp1 + 1 | 0;
|
|
3931
|
+
return this.n25_1;
|
|
3922
3932
|
}
|
|
3923
3933
|
Companion_getInstance_0();
|
|
3924
3934
|
return -1;
|
|
3925
3935
|
};
|
|
3936
|
+
function JsonPrimitiveDecoder(json, value) {
|
|
3937
|
+
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3938
|
+
this.t25_1 = value;
|
|
3939
|
+
this.u1t(get_PRIMITIVE_TAG());
|
|
3940
|
+
}
|
|
3941
|
+
protoOf(JsonPrimitiveDecoder).j1 = function () {
|
|
3942
|
+
return this.t25_1;
|
|
3943
|
+
};
|
|
3944
|
+
protoOf(JsonPrimitiveDecoder).z1f = function (descriptor) {
|
|
3945
|
+
return 0;
|
|
3946
|
+
};
|
|
3947
|
+
protoOf(JsonPrimitiveDecoder).i24 = function (tag) {
|
|
3948
|
+
// Inline function 'kotlin.require' call
|
|
3949
|
+
var tmp0_require = tag === get_PRIMITIVE_TAG();
|
|
3950
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
3951
|
+
if (!tmp0_require) {
|
|
3952
|
+
var tmp$ret$0;
|
|
3953
|
+
// Inline function 'kotlinx.serialization.json.internal.JsonPrimitiveDecoder.currentElement.<anonymous>' call
|
|
3954
|
+
tmp$ret$0 = "This input can only handle primitives with '" + get_PRIMITIVE_TAG() + "' tag";
|
|
3955
|
+
var message = tmp$ret$0;
|
|
3956
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3957
|
+
}
|
|
3958
|
+
return this.t25_1;
|
|
3959
|
+
};
|
|
3926
3960
|
function JsonTreeMapDecoder(json, value) {
|
|
3927
3961
|
JsonTreeDecoder.call(this, json, value);
|
|
3928
|
-
this.
|
|
3929
|
-
this.
|
|
3930
|
-
this.
|
|
3931
|
-
this.
|
|
3962
|
+
this.e26_1 = value;
|
|
3963
|
+
this.f26_1 = toList(this.e26_1.y1());
|
|
3964
|
+
this.g26_1 = imul(this.f26_1.i(), 2);
|
|
3965
|
+
this.h26_1 = -1;
|
|
3932
3966
|
}
|
|
3933
3967
|
protoOf(JsonTreeMapDecoder).j1 = function () {
|
|
3934
|
-
return this.
|
|
3968
|
+
return this.e26_1;
|
|
3935
3969
|
};
|
|
3936
|
-
protoOf(JsonTreeMapDecoder).
|
|
3970
|
+
protoOf(JsonTreeMapDecoder).b1t = function (descriptor, index) {
|
|
3937
3971
|
var i = index / 2 | 0;
|
|
3938
|
-
return this.
|
|
3972
|
+
return this.f26_1.k(i);
|
|
3939
3973
|
};
|
|
3940
|
-
protoOf(JsonTreeMapDecoder).
|
|
3941
|
-
while (this.
|
|
3974
|
+
protoOf(JsonTreeMapDecoder).z1f = function (descriptor) {
|
|
3975
|
+
while (this.h26_1 < (this.g26_1 - 1 | 0)) {
|
|
3942
3976
|
var tmp0_this = this;
|
|
3943
|
-
var tmp1 = tmp0_this.
|
|
3944
|
-
tmp0_this.
|
|
3945
|
-
return this.
|
|
3977
|
+
var tmp1 = tmp0_this.h26_1;
|
|
3978
|
+
tmp0_this.h26_1 = tmp1 + 1 | 0;
|
|
3979
|
+
return this.h26_1;
|
|
3946
3980
|
}
|
|
3947
3981
|
Companion_getInstance_0();
|
|
3948
3982
|
return -1;
|
|
3949
3983
|
};
|
|
3950
|
-
protoOf(JsonTreeMapDecoder).
|
|
3951
|
-
return (this.
|
|
3984
|
+
protoOf(JsonTreeMapDecoder).i24 = function (tag) {
|
|
3985
|
+
return (this.h26_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.e26_1, tag);
|
|
3952
3986
|
};
|
|
3953
|
-
protoOf(JsonTreeMapDecoder).
|
|
3987
|
+
protoOf(JsonTreeMapDecoder).j1f = function (descriptor) {
|
|
3954
3988
|
};
|
|
3955
3989
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
3956
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
3990
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.b1c())).h1f(deserializer);
|
|
3957
3991
|
}
|
|
3992
|
+
function get_PRIMITIVE_TAG() {
|
|
3993
|
+
return PRIMITIVE_TAG;
|
|
3994
|
+
}
|
|
3995
|
+
var PRIMITIVE_TAG;
|
|
3958
3996
|
var WriteMode_OBJ_instance;
|
|
3959
3997
|
var WriteMode_LIST_instance;
|
|
3960
3998
|
var WriteMode_MAP_instance;
|
|
@@ -3974,11 +4012,11 @@
|
|
|
3974
4012
|
}
|
|
3975
4013
|
function WriteMode(name, ordinal, begin, end) {
|
|
3976
4014
|
Enum.call(this, name, ordinal);
|
|
3977
|
-
this.
|
|
3978
|
-
this.
|
|
4015
|
+
this.v23_1 = begin;
|
|
4016
|
+
this.w23_1 = end;
|
|
3979
4017
|
}
|
|
3980
4018
|
function switchMode(_this__u8e3s4, desc) {
|
|
3981
|
-
var tmp0_subject = desc.
|
|
4019
|
+
var tmp0_subject = desc.p1d();
|
|
3982
4020
|
var tmp;
|
|
3983
4021
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
3984
4022
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -3989,8 +4027,8 @@
|
|
|
3989
4027
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3990
4028
|
var tmp$ret$2;
|
|
3991
4029
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3992
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
3993
|
-
var keyKind = keyDescriptor.
|
|
4030
|
+
var keyDescriptor = carrierDescriptor(desc.r1d(0), _this__u8e3s4.x1f());
|
|
4031
|
+
var keyKind = keyDescriptor.p1d();
|
|
3994
4032
|
var tmp_0;
|
|
3995
4033
|
var tmp_1;
|
|
3996
4034
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -4004,7 +4042,7 @@
|
|
|
4004
4042
|
tmp$ret$0 = WriteMode_MAP_getInstance();
|
|
4005
4043
|
tmp_0 = tmp$ret$0;
|
|
4006
4044
|
} else {
|
|
4007
|
-
if (_this__u8e3s4.
|
|
4045
|
+
if (_this__u8e3s4.p1w_1.l1x_1) {
|
|
4008
4046
|
var tmp$ret$1;
|
|
4009
4047
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
4010
4048
|
tmp$ret$1 = WriteMode_LIST_getInstance();
|
|
@@ -4024,12 +4062,12 @@
|
|
|
4024
4062
|
}
|
|
4025
4063
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
4026
4064
|
var tmp;
|
|
4027
|
-
if (equals(_this__u8e3s4.
|
|
4065
|
+
if (equals(_this__u8e3s4.p1d(), CONTEXTUAL_getInstance())) {
|
|
4028
4066
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
4029
4067
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
4030
4068
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
4031
|
-
} else if (_this__u8e3s4.
|
|
4032
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
4069
|
+
} else if (_this__u8e3s4.o1d()) {
|
|
4070
|
+
tmp = carrierDescriptor(_this__u8e3s4.r1d(0), module_0);
|
|
4033
4071
|
} else {
|
|
4034
4072
|
tmp = _this__u8e3s4;
|
|
4035
4073
|
}
|
|
@@ -4052,61 +4090,61 @@
|
|
|
4052
4090
|
return WriteMode_POLY_OBJ_instance;
|
|
4053
4091
|
}
|
|
4054
4092
|
function appendEscape($this, lastPosition, current) {
|
|
4055
|
-
$this.
|
|
4093
|
+
$this.i26(lastPosition, current);
|
|
4056
4094
|
return appendEsc($this, current + 1 | 0);
|
|
4057
4095
|
}
|
|
4058
4096
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4059
|
-
$this.
|
|
4060
|
-
var result = $this.
|
|
4061
|
-
$this.
|
|
4097
|
+
$this.i26(lastPosition, currentPosition);
|
|
4098
|
+
var result = $this.g1x_1.toString();
|
|
4099
|
+
$this.g1x_1.ag(0);
|
|
4062
4100
|
return result;
|
|
4063
4101
|
}
|
|
4064
4102
|
function takePeeked($this) {
|
|
4065
4103
|
var tmp$ret$0;
|
|
4066
4104
|
// Inline function 'kotlin.also' call
|
|
4067
|
-
var tmp0_also = ensureNotNull($this.
|
|
4105
|
+
var tmp0_also = ensureNotNull($this.f1x_1);
|
|
4068
4106
|
// Inline function 'kotlin.contracts.contract' call
|
|
4069
4107
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
4070
|
-
$this.
|
|
4108
|
+
$this.f1x_1 = null;
|
|
4071
4109
|
tmp$ret$0 = tmp0_also;
|
|
4072
4110
|
return tmp$ret$0;
|
|
4073
4111
|
}
|
|
4074
4112
|
function wasUnquotedString($this) {
|
|
4075
|
-
return !equals(new Char(charSequenceGet($this.
|
|
4113
|
+
return !equals(new Char(charSequenceGet($this.j26(), $this.d1x_1 - 1 | 0)), new Char(_Char___init__impl__6a9atx(34)));
|
|
4076
4114
|
}
|
|
4077
4115
|
function appendEsc($this, startPosition) {
|
|
4078
4116
|
var currentPosition = startPosition;
|
|
4079
|
-
currentPosition = $this.
|
|
4117
|
+
currentPosition = $this.k26(currentPosition);
|
|
4080
4118
|
if (currentPosition === -1) {
|
|
4081
|
-
$this.
|
|
4119
|
+
$this.w20('Expected escape sequence to continue, got EOF');
|
|
4082
4120
|
}
|
|
4083
|
-
var tmp = $this.
|
|
4121
|
+
var tmp = $this.j26();
|
|
4084
4122
|
var tmp0 = currentPosition;
|
|
4085
4123
|
currentPosition = tmp0 + 1 | 0;
|
|
4086
4124
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
4087
4125
|
if (equals(new Char(currentChar), new Char(_Char___init__impl__6a9atx(117)))) {
|
|
4088
|
-
return appendHex($this, $this.
|
|
4126
|
+
return appendHex($this, $this.j26(), currentPosition);
|
|
4089
4127
|
}
|
|
4090
4128
|
var tmp$ret$0;
|
|
4091
4129
|
// Inline function 'kotlin.code' call
|
|
4092
4130
|
tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4093
4131
|
var c = escapeToChar(tmp$ret$0);
|
|
4094
4132
|
if (equals(new Char(c), new Char(_Char___init__impl__6a9atx(0)))) {
|
|
4095
|
-
$this.
|
|
4133
|
+
$this.w20("Invalid escaped char '" + new Char(currentChar) + "'");
|
|
4096
4134
|
}
|
|
4097
|
-
$this.
|
|
4135
|
+
$this.g1x_1.o7(c);
|
|
4098
4136
|
return currentPosition;
|
|
4099
4137
|
}
|
|
4100
4138
|
function appendHex($this, source, startPos) {
|
|
4101
4139
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4102
|
-
$this.
|
|
4103
|
-
$this.
|
|
4104
|
-
if (($this.
|
|
4105
|
-
$this.
|
|
4140
|
+
$this.d1x_1 = startPos;
|
|
4141
|
+
$this.l26();
|
|
4142
|
+
if (($this.d1x_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4143
|
+
$this.w20('Unexpected EOF during unicode escape');
|
|
4106
4144
|
}
|
|
4107
|
-
return appendHex($this, source, $this.
|
|
4145
|
+
return appendHex($this, source, $this.d1x_1);
|
|
4108
4146
|
}
|
|
4109
|
-
$this.
|
|
4147
|
+
$this.g1x_1.o7(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));
|
|
4110
4148
|
return startPos + 4 | 0;
|
|
4111
4149
|
}
|
|
4112
4150
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4140,18 +4178,18 @@
|
|
|
4140
4178
|
tmp$ret$5 = 65;
|
|
4141
4179
|
tmp = (tmp_2 - tmp$ret$5 | 0) + 10 | 0;
|
|
4142
4180
|
} else {
|
|
4143
|
-
$this.
|
|
4181
|
+
$this.w20("Invalid toHexChar char '" + new Char(character) + "' in unicode escape");
|
|
4144
4182
|
}
|
|
4145
4183
|
return tmp;
|
|
4146
4184
|
}
|
|
4147
4185
|
function consumeBoolean($this, start) {
|
|
4148
|
-
var current = $this.
|
|
4149
|
-
if (current >= charSequenceLength($this.
|
|
4150
|
-
$this.
|
|
4186
|
+
var current = $this.k26(start);
|
|
4187
|
+
if (current >= charSequenceLength($this.j26()) ? true : current === -1) {
|
|
4188
|
+
$this.w20('EOF');
|
|
4151
4189
|
}
|
|
4152
4190
|
var tmp$ret$0;
|
|
4153
4191
|
// Inline function 'kotlin.code' call
|
|
4154
|
-
var tmp = $this.
|
|
4192
|
+
var tmp = $this.j26();
|
|
4155
4193
|
var tmp0 = current;
|
|
4156
4194
|
current = tmp0 + 1 | 0;
|
|
4157
4195
|
var tmp0__get_code__88qj9g = charSequenceGet(tmp, tmp0);
|
|
@@ -4172,14 +4210,14 @@
|
|
|
4172
4210
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4173
4211
|
tmp_0 = false;
|
|
4174
4212
|
} else {
|
|
4175
|
-
$this.
|
|
4213
|
+
$this.w20("Expected valid boolean literal prefix, but had '" + $this.z21() + "'");
|
|
4176
4214
|
}
|
|
4177
4215
|
}
|
|
4178
4216
|
return tmp_0;
|
|
4179
4217
|
}
|
|
4180
4218
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4181
|
-
if ((charSequenceLength($this.
|
|
4182
|
-
$this.
|
|
4219
|
+
if ((charSequenceLength($this.j26()) - current | 0) < literalSuffix.length) {
|
|
4220
|
+
$this.w20('Unexpected end of boolean literal');
|
|
4183
4221
|
}
|
|
4184
4222
|
var inductionVariable = 0;
|
|
4185
4223
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4188,7 +4226,7 @@
|
|
|
4188
4226
|
var i = inductionVariable;
|
|
4189
4227
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4190
4228
|
var expected = charSequenceGet(literalSuffix, i);
|
|
4191
|
-
var actual = charSequenceGet($this.
|
|
4229
|
+
var actual = charSequenceGet($this.j26(), current + i | 0);
|
|
4192
4230
|
var tmp$ret$0;
|
|
4193
4231
|
// Inline function 'kotlin.code' call
|
|
4194
4232
|
tmp$ret$0 = Char__toInt_impl_vasixd(expected);
|
|
@@ -4197,43 +4235,43 @@
|
|
|
4197
4235
|
// Inline function 'kotlin.code' call
|
|
4198
4236
|
tmp$ret$1 = Char__toInt_impl_vasixd(actual);
|
|
4199
4237
|
if (!(tmp === (tmp$ret$1 | 32))) {
|
|
4200
|
-
$this.
|
|
4238
|
+
$this.w20("Expected valid boolean literal prefix, but had '" + $this.z21() + "'");
|
|
4201
4239
|
}
|
|
4202
4240
|
}
|
|
4203
4241
|
while (inductionVariable <= last);
|
|
4204
|
-
$this.
|
|
4242
|
+
$this.d1x_1 = current + literalSuffix.length | 0;
|
|
4205
4243
|
}
|
|
4206
4244
|
function AbstractJsonLexer() {
|
|
4207
|
-
this.
|
|
4208
|
-
this.
|
|
4209
|
-
this.
|
|
4210
|
-
this.
|
|
4245
|
+
this.d1x_1 = 0;
|
|
4246
|
+
this.e1x_1 = new JsonPath();
|
|
4247
|
+
this.f1x_1 = null;
|
|
4248
|
+
this.g1x_1 = StringBuilder_init_$Create$();
|
|
4211
4249
|
}
|
|
4212
|
-
protoOf(AbstractJsonLexer).
|
|
4250
|
+
protoOf(AbstractJsonLexer).l26 = function () {
|
|
4213
4251
|
};
|
|
4214
|
-
protoOf(AbstractJsonLexer).
|
|
4252
|
+
protoOf(AbstractJsonLexer).m26 = function (c) {
|
|
4215
4253
|
var tmp0_subject = c;
|
|
4216
4254
|
return (((equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(125))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(93)))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(58)))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(44)))) ? false : true;
|
|
4217
4255
|
};
|
|
4218
|
-
protoOf(AbstractJsonLexer).
|
|
4219
|
-
var nextToken = this.
|
|
4256
|
+
protoOf(AbstractJsonLexer).h1x = function () {
|
|
4257
|
+
var nextToken = this.b22();
|
|
4220
4258
|
if (!(nextToken === 10)) {
|
|
4221
|
-
this.
|
|
4259
|
+
this.w20('Expected EOF after parsing, but had ' + new Char(charSequenceGet(this.j26(), this.d1x_1 - 1 | 0)) + ' instead');
|
|
4222
4260
|
}
|
|
4223
4261
|
};
|
|
4224
|
-
protoOf(AbstractJsonLexer).
|
|
4225
|
-
var token = this.
|
|
4262
|
+
protoOf(AbstractJsonLexer).v21 = function (expected) {
|
|
4263
|
+
var token = this.b22();
|
|
4226
4264
|
if (!(token === expected)) {
|
|
4227
|
-
this.
|
|
4265
|
+
this.n26(expected);
|
|
4228
4266
|
}
|
|
4229
4267
|
return token;
|
|
4230
4268
|
};
|
|
4231
|
-
protoOf(AbstractJsonLexer).
|
|
4232
|
-
this.
|
|
4233
|
-
var source = this.
|
|
4234
|
-
var cpos = this.
|
|
4269
|
+
protoOf(AbstractJsonLexer).k23 = function (expected) {
|
|
4270
|
+
this.l26();
|
|
4271
|
+
var source = this.j26();
|
|
4272
|
+
var cpos = this.d1x_1;
|
|
4235
4273
|
$l$loop_0: while (true) {
|
|
4236
|
-
cpos = this.
|
|
4274
|
+
cpos = this.k26(cpos);
|
|
4237
4275
|
if (cpos === -1)
|
|
4238
4276
|
break $l$loop_0;
|
|
4239
4277
|
var tmp0 = cpos;
|
|
@@ -4241,33 +4279,33 @@
|
|
|
4241
4279
|
var c = charSequenceGet(source, tmp0);
|
|
4242
4280
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))
|
|
4243
4281
|
continue $l$loop_0;
|
|
4244
|
-
this.
|
|
4282
|
+
this.d1x_1 = cpos;
|
|
4245
4283
|
if (equals(new Char(c), new Char(expected)))
|
|
4246
4284
|
return Unit_getInstance();
|
|
4247
|
-
this.
|
|
4285
|
+
this.o26(expected);
|
|
4248
4286
|
}
|
|
4249
|
-
this.
|
|
4250
|
-
this.
|
|
4287
|
+
this.d1x_1 = cpos;
|
|
4288
|
+
this.o26(expected);
|
|
4251
4289
|
};
|
|
4252
|
-
protoOf(AbstractJsonLexer).
|
|
4290
|
+
protoOf(AbstractJsonLexer).o26 = function (expected) {
|
|
4253
4291
|
var tmp0_this = this;
|
|
4254
|
-
tmp0_this.
|
|
4255
|
-
if ((this.
|
|
4256
|
-
this.
|
|
4292
|
+
tmp0_this.d1x_1 = tmp0_this.d1x_1 - 1 | 0;
|
|
4293
|
+
if ((this.d1x_1 >= 0 ? equals(new Char(expected), new Char(_Char___init__impl__6a9atx(34))) : false) ? this.z21() === 'null' : false) {
|
|
4294
|
+
this.p26("Expected string literal but 'null' literal was found", this.d1x_1 - 4 | 0, "Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.");
|
|
4257
4295
|
}
|
|
4258
|
-
this.
|
|
4296
|
+
this.n26(charToTokenClass(expected));
|
|
4259
4297
|
};
|
|
4260
|
-
protoOf(AbstractJsonLexer).
|
|
4298
|
+
protoOf(AbstractJsonLexer).n26 = function (expectedToken) {
|
|
4261
4299
|
var tmp0_subject = expectedToken;
|
|
4262
4300
|
var expected = tmp0_subject === 1 ? "quotation mark '\"'" : tmp0_subject === 4 ? "comma ','" : tmp0_subject === 5 ? "colon ':'" : tmp0_subject === 6 ? "start of the object '{'" : tmp0_subject === 7 ? "end of the object '}'" : tmp0_subject === 8 ? "start of the array '['" : tmp0_subject === 9 ? "end of the array ']'" : 'valid token';
|
|
4263
|
-
var s = (this.
|
|
4264
|
-
this.
|
|
4301
|
+
var s = (this.d1x_1 === charSequenceLength(this.j26()) ? true : this.d1x_1 <= 0) ? 'EOF' : toString_0(charSequenceGet(this.j26(), this.d1x_1 - 1 | 0));
|
|
4302
|
+
this.w20('Expected ' + expected + ", but had '" + s + "' instead", this.d1x_1 - 1 | 0);
|
|
4265
4303
|
};
|
|
4266
|
-
protoOf(AbstractJsonLexer).
|
|
4267
|
-
var source = this.
|
|
4268
|
-
var cpos = this.
|
|
4304
|
+
protoOf(AbstractJsonLexer).w21 = function () {
|
|
4305
|
+
var source = this.j26();
|
|
4306
|
+
var cpos = this.d1x_1;
|
|
4269
4307
|
$l$loop_0: while (true) {
|
|
4270
|
-
cpos = this.
|
|
4308
|
+
cpos = this.k26(cpos);
|
|
4271
4309
|
if (cpos === -1)
|
|
4272
4310
|
break $l$loop_0;
|
|
4273
4311
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4275,16 +4313,16 @@
|
|
|
4275
4313
|
cpos = cpos + 1 | 0;
|
|
4276
4314
|
continue $l$loop_0;
|
|
4277
4315
|
}
|
|
4278
|
-
this.
|
|
4316
|
+
this.d1x_1 = cpos;
|
|
4279
4317
|
return charToTokenClass(ch);
|
|
4280
4318
|
}
|
|
4281
|
-
this.
|
|
4319
|
+
this.d1x_1 = cpos;
|
|
4282
4320
|
return 10;
|
|
4283
4321
|
};
|
|
4284
|
-
protoOf(AbstractJsonLexer).
|
|
4285
|
-
var current = this.
|
|
4286
|
-
current = this.
|
|
4287
|
-
var len = charSequenceLength(this.
|
|
4322
|
+
protoOf(AbstractJsonLexer).m23 = function (doConsume) {
|
|
4323
|
+
var current = this.q26();
|
|
4324
|
+
current = this.k26(current);
|
|
4325
|
+
var len = charSequenceLength(this.j26()) - current | 0;
|
|
4288
4326
|
if (len < 4 ? true : current === -1)
|
|
4289
4327
|
return false;
|
|
4290
4328
|
var inductionVariable = 0;
|
|
@@ -4292,65 +4330,65 @@
|
|
|
4292
4330
|
do {
|
|
4293
4331
|
var i = inductionVariable;
|
|
4294
4332
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4295
|
-
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.
|
|
4333
|
+
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.j26(), current + i | 0))))
|
|
4296
4334
|
return false;
|
|
4297
4335
|
}
|
|
4298
4336
|
while (inductionVariable <= 3);
|
|
4299
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
4337
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.j26(), current + 4 | 0)) === 0 : false)
|
|
4300
4338
|
return false;
|
|
4301
4339
|
if (doConsume) {
|
|
4302
|
-
this.
|
|
4340
|
+
this.d1x_1 = current + 4 | 0;
|
|
4303
4341
|
}
|
|
4304
4342
|
return true;
|
|
4305
4343
|
};
|
|
4306
|
-
protoOf(AbstractJsonLexer).
|
|
4344
|
+
protoOf(AbstractJsonLexer).x23 = function (doConsume, $super) {
|
|
4307
4345
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4308
|
-
return $super === VOID ? this.
|
|
4346
|
+
return $super === VOID ? this.m23(doConsume) : $super.m23.call(this, doConsume);
|
|
4309
4347
|
};
|
|
4310
|
-
protoOf(AbstractJsonLexer).
|
|
4311
|
-
var current = this.
|
|
4348
|
+
protoOf(AbstractJsonLexer).q26 = function () {
|
|
4349
|
+
var current = this.d1x_1;
|
|
4312
4350
|
$l$loop_0: while (true) {
|
|
4313
|
-
current = this.
|
|
4351
|
+
current = this.k26(current);
|
|
4314
4352
|
if (current === -1)
|
|
4315
4353
|
break $l$loop_0;
|
|
4316
|
-
var c = charSequenceGet(this.
|
|
4354
|
+
var c = charSequenceGet(this.j26(), current);
|
|
4317
4355
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4318
4356
|
current = current + 1 | 0;
|
|
4319
4357
|
} else {
|
|
4320
4358
|
break $l$loop_0;
|
|
4321
4359
|
}
|
|
4322
4360
|
}
|
|
4323
|
-
this.
|
|
4361
|
+
this.d1x_1 = current;
|
|
4324
4362
|
return current;
|
|
4325
4363
|
};
|
|
4326
|
-
protoOf(AbstractJsonLexer).
|
|
4327
|
-
var token = this.
|
|
4364
|
+
protoOf(AbstractJsonLexer).n23 = function (isLenient) {
|
|
4365
|
+
var token = this.w21();
|
|
4328
4366
|
var tmp;
|
|
4329
4367
|
if (isLenient) {
|
|
4330
4368
|
if (!(token === 1) ? !(token === 0) : false)
|
|
4331
4369
|
return null;
|
|
4332
|
-
tmp = this.
|
|
4370
|
+
tmp = this.z21();
|
|
4333
4371
|
} else {
|
|
4334
4372
|
if (!(token === 1))
|
|
4335
4373
|
return null;
|
|
4336
|
-
tmp = this.
|
|
4374
|
+
tmp = this.y21();
|
|
4337
4375
|
}
|
|
4338
4376
|
var string = tmp;
|
|
4339
|
-
this.
|
|
4377
|
+
this.f1x_1 = string;
|
|
4340
4378
|
return string;
|
|
4341
4379
|
};
|
|
4342
|
-
protoOf(AbstractJsonLexer).
|
|
4380
|
+
protoOf(AbstractJsonLexer).r26 = function (startPos, endPos) {
|
|
4343
4381
|
var tmp$ret$0;
|
|
4344
4382
|
// Inline function 'kotlin.text.substring' call
|
|
4345
|
-
var tmp0_substring = this.
|
|
4383
|
+
var tmp0_substring = this.j26();
|
|
4346
4384
|
tmp$ret$0 = toString(charSequenceSubSequence(tmp0_substring, startPos, endPos));
|
|
4347
4385
|
return tmp$ret$0;
|
|
4348
4386
|
};
|
|
4349
|
-
protoOf(AbstractJsonLexer).
|
|
4350
|
-
if (!(this.
|
|
4387
|
+
protoOf(AbstractJsonLexer).y21 = function () {
|
|
4388
|
+
if (!(this.f1x_1 == null)) {
|
|
4351
4389
|
return takePeeked(this);
|
|
4352
4390
|
}
|
|
4353
|
-
return this.
|
|
4391
|
+
return this.q23();
|
|
4354
4392
|
};
|
|
4355
4393
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4356
4394
|
var currentPosition = current;
|
|
@@ -4360,19 +4398,19 @@
|
|
|
4360
4398
|
while (!equals(new Char(char), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4361
4399
|
if (equals(new Char(char), new Char(_Char___init__impl__6a9atx(92)))) {
|
|
4362
4400
|
usedAppend = true;
|
|
4363
|
-
currentPosition = this.
|
|
4401
|
+
currentPosition = this.k26(appendEscape(this, lastPosition, currentPosition));
|
|
4364
4402
|
if (currentPosition === -1) {
|
|
4365
|
-
this.
|
|
4403
|
+
this.w20('EOF', currentPosition);
|
|
4366
4404
|
}
|
|
4367
4405
|
lastPosition = currentPosition;
|
|
4368
4406
|
} else {
|
|
4369
4407
|
currentPosition = currentPosition + 1 | 0;
|
|
4370
4408
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4371
4409
|
usedAppend = true;
|
|
4372
|
-
this.
|
|
4373
|
-
currentPosition = this.
|
|
4410
|
+
this.i26(lastPosition, currentPosition);
|
|
4411
|
+
currentPosition = this.k26(currentPosition);
|
|
4374
4412
|
if (currentPosition === -1) {
|
|
4375
|
-
this.
|
|
4413
|
+
this.w20('EOF', currentPosition);
|
|
4376
4414
|
}
|
|
4377
4415
|
lastPosition = currentPosition;
|
|
4378
4416
|
}
|
|
@@ -4381,45 +4419,45 @@
|
|
|
4381
4419
|
}
|
|
4382
4420
|
var tmp;
|
|
4383
4421
|
if (!usedAppend) {
|
|
4384
|
-
tmp = this.
|
|
4422
|
+
tmp = this.r26(lastPosition, currentPosition);
|
|
4385
4423
|
} else {
|
|
4386
4424
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4387
4425
|
}
|
|
4388
4426
|
var string = tmp;
|
|
4389
|
-
this.
|
|
4427
|
+
this.d1x_1 = currentPosition + 1 | 0;
|
|
4390
4428
|
return string;
|
|
4391
4429
|
};
|
|
4392
|
-
protoOf(AbstractJsonLexer).
|
|
4393
|
-
var result = this.
|
|
4430
|
+
protoOf(AbstractJsonLexer).r23 = function () {
|
|
4431
|
+
var result = this.z21();
|
|
4394
4432
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
4395
|
-
this.
|
|
4433
|
+
this.w20("Unexpected 'null' value instead of string literal");
|
|
4396
4434
|
}
|
|
4397
4435
|
return result;
|
|
4398
4436
|
};
|
|
4399
|
-
protoOf(AbstractJsonLexer).
|
|
4400
|
-
if (!(this.
|
|
4437
|
+
protoOf(AbstractJsonLexer).z21 = function () {
|
|
4438
|
+
if (!(this.f1x_1 == null)) {
|
|
4401
4439
|
return takePeeked(this);
|
|
4402
4440
|
}
|
|
4403
|
-
var current = this.
|
|
4404
|
-
if (current >= charSequenceLength(this.
|
|
4405
|
-
this.
|
|
4441
|
+
var current = this.q26();
|
|
4442
|
+
if (current >= charSequenceLength(this.j26()) ? true : current === -1) {
|
|
4443
|
+
this.w20('EOF', current);
|
|
4406
4444
|
}
|
|
4407
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4445
|
+
var token = charToTokenClass(charSequenceGet(this.j26(), current));
|
|
4408
4446
|
if (token === 1) {
|
|
4409
|
-
return this.
|
|
4447
|
+
return this.y21();
|
|
4410
4448
|
}
|
|
4411
4449
|
if (!(token === 0)) {
|
|
4412
|
-
this.
|
|
4450
|
+
this.w20('Expected beginning of the string, but got ' + new Char(charSequenceGet(this.j26(), current)));
|
|
4413
4451
|
}
|
|
4414
4452
|
var usedAppend = false;
|
|
4415
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4453
|
+
while (charToTokenClass(charSequenceGet(this.j26(), current)) === 0) {
|
|
4416
4454
|
current = current + 1 | 0;
|
|
4417
|
-
if (current >= charSequenceLength(this.
|
|
4455
|
+
if (current >= charSequenceLength(this.j26())) {
|
|
4418
4456
|
usedAppend = true;
|
|
4419
|
-
this.
|
|
4420
|
-
var eof = this.
|
|
4457
|
+
this.i26(this.d1x_1, current);
|
|
4458
|
+
var eof = this.k26(current);
|
|
4421
4459
|
if (eof === -1) {
|
|
4422
|
-
this.
|
|
4460
|
+
this.d1x_1 = current;
|
|
4423
4461
|
return decodedString(this, 0, 0);
|
|
4424
4462
|
} else {
|
|
4425
4463
|
current = eof;
|
|
@@ -4428,34 +4466,34 @@
|
|
|
4428
4466
|
}
|
|
4429
4467
|
var tmp;
|
|
4430
4468
|
if (!usedAppend) {
|
|
4431
|
-
tmp = this.
|
|
4469
|
+
tmp = this.r26(this.d1x_1, current);
|
|
4432
4470
|
} else {
|
|
4433
|
-
tmp = decodedString(this, this.
|
|
4471
|
+
tmp = decodedString(this, this.d1x_1, current);
|
|
4434
4472
|
}
|
|
4435
4473
|
var result = tmp;
|
|
4436
|
-
this.
|
|
4474
|
+
this.d1x_1 = current;
|
|
4437
4475
|
return result;
|
|
4438
4476
|
};
|
|
4439
|
-
protoOf(AbstractJsonLexer).
|
|
4440
|
-
this.
|
|
4477
|
+
protoOf(AbstractJsonLexer).i26 = function (fromIndex, toIndex) {
|
|
4478
|
+
this.g1x_1.zf(this.j26(), fromIndex, toIndex);
|
|
4441
4479
|
};
|
|
4442
|
-
protoOf(AbstractJsonLexer).
|
|
4480
|
+
protoOf(AbstractJsonLexer).p23 = function (allowLenientStrings) {
|
|
4443
4481
|
var tmp$ret$0;
|
|
4444
4482
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4445
4483
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
4446
4484
|
var tokenStack = tmp$ret$0;
|
|
4447
|
-
var lastToken = this.
|
|
4485
|
+
var lastToken = this.w21();
|
|
4448
4486
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
4449
|
-
this.
|
|
4487
|
+
this.z21();
|
|
4450
4488
|
return Unit_getInstance();
|
|
4451
4489
|
}
|
|
4452
4490
|
$l$loop: while (true) {
|
|
4453
|
-
lastToken = this.
|
|
4491
|
+
lastToken = this.w21();
|
|
4454
4492
|
if (lastToken === 1) {
|
|
4455
4493
|
if (allowLenientStrings) {
|
|
4456
|
-
this.
|
|
4494
|
+
this.z21();
|
|
4457
4495
|
} else {
|
|
4458
|
-
this.
|
|
4496
|
+
this.q23();
|
|
4459
4497
|
}
|
|
4460
4498
|
continue $l$loop;
|
|
4461
4499
|
}
|
|
@@ -4464,29 +4502,29 @@
|
|
|
4464
4502
|
tokenStack.a(lastToken);
|
|
4465
4503
|
} else if (tmp0_subject === 9) {
|
|
4466
4504
|
if (!(last(tokenStack) === 8))
|
|
4467
|
-
throw JsonDecodingException_0(this.
|
|
4505
|
+
throw JsonDecodingException_0(this.d1x_1, 'found ] instead of } at path: ' + this.e1x_1, this.j26());
|
|
4468
4506
|
removeLast(tokenStack);
|
|
4469
4507
|
} else if (tmp0_subject === 7) {
|
|
4470
4508
|
if (!(last(tokenStack) === 6))
|
|
4471
|
-
throw JsonDecodingException_0(this.
|
|
4509
|
+
throw JsonDecodingException_0(this.d1x_1, 'found } instead of ] at path: ' + this.e1x_1, this.j26());
|
|
4472
4510
|
removeLast(tokenStack);
|
|
4473
4511
|
} else if (tmp0_subject === 10) {
|
|
4474
|
-
this.
|
|
4512
|
+
this.w20('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4475
4513
|
}
|
|
4476
|
-
this.
|
|
4514
|
+
this.b22();
|
|
4477
4515
|
if (tokenStack.i() === 0)
|
|
4478
4516
|
return Unit_getInstance();
|
|
4479
4517
|
}
|
|
4480
4518
|
};
|
|
4481
4519
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4482
|
-
return "JsonReader(source='" + this.
|
|
4520
|
+
return "JsonReader(source='" + this.j26() + "', currentPosition=" + this.d1x_1 + ')';
|
|
4483
4521
|
};
|
|
4484
|
-
protoOf(AbstractJsonLexer).
|
|
4485
|
-
var processed = this.
|
|
4522
|
+
protoOf(AbstractJsonLexer).o23 = function (key) {
|
|
4523
|
+
var processed = this.r26(0, this.d1x_1);
|
|
4486
4524
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4487
|
-
this.
|
|
4525
|
+
this.p26("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
4488
4526
|
};
|
|
4489
|
-
protoOf(AbstractJsonLexer).
|
|
4527
|
+
protoOf(AbstractJsonLexer).p26 = function (message, position, hint) {
|
|
4490
4528
|
var tmp;
|
|
4491
4529
|
var tmp$ret$0;
|
|
4492
4530
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -4497,24 +4535,24 @@
|
|
|
4497
4535
|
tmp = '\n' + hint;
|
|
4498
4536
|
}
|
|
4499
4537
|
var hintMessage = tmp;
|
|
4500
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4538
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.e1x_1.j21() + hintMessage, this.j26());
|
|
4501
4539
|
};
|
|
4502
|
-
protoOf(AbstractJsonLexer).
|
|
4503
|
-
position = position === VOID ? this.
|
|
4540
|
+
protoOf(AbstractJsonLexer).w20 = function (message, position, hint, $super) {
|
|
4541
|
+
position = position === VOID ? this.d1x_1 : position;
|
|
4504
4542
|
hint = hint === VOID ? '' : hint;
|
|
4505
|
-
return $super === VOID ? this.
|
|
4543
|
+
return $super === VOID ? this.p26(message, position, hint) : $super.p26.call(this, message, position, hint);
|
|
4506
4544
|
};
|
|
4507
|
-
protoOf(AbstractJsonLexer).
|
|
4508
|
-
var current = this.
|
|
4509
|
-
current = this.
|
|
4510
|
-
if (current >= charSequenceLength(this.
|
|
4511
|
-
this.
|
|
4545
|
+
protoOf(AbstractJsonLexer).a24 = function () {
|
|
4546
|
+
var current = this.q26();
|
|
4547
|
+
current = this.k26(current);
|
|
4548
|
+
if (current >= charSequenceLength(this.j26()) ? true : current === -1) {
|
|
4549
|
+
this.w20('EOF');
|
|
4512
4550
|
}
|
|
4513
4551
|
var tmp;
|
|
4514
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4552
|
+
if (equals(new Char(charSequenceGet(this.j26(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4515
4553
|
current = current + 1 | 0;
|
|
4516
|
-
if (current === charSequenceLength(this.
|
|
4517
|
-
this.
|
|
4554
|
+
if (current === charSequenceLength(this.j26())) {
|
|
4555
|
+
this.w20('EOF');
|
|
4518
4556
|
}
|
|
4519
4557
|
tmp = true;
|
|
4520
4558
|
} else {
|
|
@@ -4526,10 +4564,10 @@
|
|
|
4526
4564
|
var start = current;
|
|
4527
4565
|
var hasChars = true;
|
|
4528
4566
|
$l$loop_0: while (hasChars) {
|
|
4529
|
-
var ch = charSequenceGet(this.
|
|
4567
|
+
var ch = charSequenceGet(this.j26(), current);
|
|
4530
4568
|
if (equals(new Char(ch), new Char(_Char___init__impl__6a9atx(45)))) {
|
|
4531
4569
|
if (!(current === start)) {
|
|
4532
|
-
this.
|
|
4570
|
+
this.w20("Unexpected symbol '-' in numeric literal");
|
|
4533
4571
|
}
|
|
4534
4572
|
isNegative = true;
|
|
4535
4573
|
current = current + 1 | 0;
|
|
@@ -4539,10 +4577,10 @@
|
|
|
4539
4577
|
if (!(token === 0))
|
|
4540
4578
|
break $l$loop_0;
|
|
4541
4579
|
current = current + 1 | 0;
|
|
4542
|
-
hasChars = !(current === charSequenceLength(this.
|
|
4580
|
+
hasChars = !(current === charSequenceLength(this.j26()));
|
|
4543
4581
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4544
4582
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4545
|
-
this.
|
|
4583
|
+
this.w20("Unexpected symbol '" + new Char(ch) + "' in numeric literal");
|
|
4546
4584
|
}
|
|
4547
4585
|
var tmp$ret$1;
|
|
4548
4586
|
// Inline function 'kotlin.Long.minus' call
|
|
@@ -4554,22 +4592,22 @@
|
|
|
4554
4592
|
tmp$ret$1 = tmp1_minus.a6(toLong_0(digit));
|
|
4555
4593
|
accumulator = tmp$ret$1;
|
|
4556
4594
|
if (accumulator.t(new Long(0, 0)) > 0) {
|
|
4557
|
-
this.
|
|
4595
|
+
this.w20('Numeric value overflow');
|
|
4558
4596
|
}
|
|
4559
4597
|
}
|
|
4560
4598
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
4561
|
-
this.
|
|
4599
|
+
this.w20('Expected numeric literal');
|
|
4562
4600
|
}
|
|
4563
4601
|
if (hasQuotation) {
|
|
4564
4602
|
if (!hasChars) {
|
|
4565
|
-
this.
|
|
4603
|
+
this.w20('EOF');
|
|
4566
4604
|
}
|
|
4567
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
4568
|
-
this.
|
|
4605
|
+
if (!equals(new Char(charSequenceGet(this.j26(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4606
|
+
this.w20('Expected closing quotation mark');
|
|
4569
4607
|
}
|
|
4570
4608
|
current = current + 1 | 0;
|
|
4571
4609
|
}
|
|
4572
|
-
this.
|
|
4610
|
+
this.d1x_1 = current;
|
|
4573
4611
|
var tmp_0;
|
|
4574
4612
|
if (isNegative) {
|
|
4575
4613
|
tmp_0 = accumulator;
|
|
@@ -4579,21 +4617,21 @@
|
|
|
4579
4617
|
if (!tmp_1.equals(new Long(0, -2147483648))) {
|
|
4580
4618
|
tmp_0 = accumulator.f6();
|
|
4581
4619
|
} else {
|
|
4582
|
-
this.
|
|
4620
|
+
this.w20('Numeric value overflow');
|
|
4583
4621
|
}
|
|
4584
4622
|
}
|
|
4585
4623
|
return tmp_0;
|
|
4586
4624
|
};
|
|
4587
|
-
protoOf(AbstractJsonLexer).
|
|
4588
|
-
return consumeBoolean(this, this.
|
|
4625
|
+
protoOf(AbstractJsonLexer).y23 = function () {
|
|
4626
|
+
return consumeBoolean(this, this.q26());
|
|
4589
4627
|
};
|
|
4590
|
-
protoOf(AbstractJsonLexer).
|
|
4591
|
-
var current = this.
|
|
4592
|
-
if (current === charSequenceLength(this.
|
|
4593
|
-
this.
|
|
4628
|
+
protoOf(AbstractJsonLexer).z23 = function () {
|
|
4629
|
+
var current = this.q26();
|
|
4630
|
+
if (current === charSequenceLength(this.j26())) {
|
|
4631
|
+
this.w20('EOF');
|
|
4594
4632
|
}
|
|
4595
4633
|
var tmp;
|
|
4596
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4634
|
+
if (equals(new Char(charSequenceGet(this.j26(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4597
4635
|
current = current + 1 | 0;
|
|
4598
4636
|
tmp = true;
|
|
4599
4637
|
} else {
|
|
@@ -4602,14 +4640,14 @@
|
|
|
4602
4640
|
var hasQuotation = tmp;
|
|
4603
4641
|
var result = consumeBoolean(this, current);
|
|
4604
4642
|
if (hasQuotation) {
|
|
4605
|
-
if (this.
|
|
4606
|
-
this.
|
|
4643
|
+
if (this.d1x_1 === charSequenceLength(this.j26())) {
|
|
4644
|
+
this.w20('EOF');
|
|
4607
4645
|
}
|
|
4608
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
4609
|
-
this.
|
|
4646
|
+
if (!equals(new Char(charSequenceGet(this.j26(), this.d1x_1)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4647
|
+
this.w20('Expected closing quotation mark');
|
|
4610
4648
|
}
|
|
4611
4649
|
var tmp0_this = this;
|
|
4612
|
-
tmp0_this.
|
|
4650
|
+
tmp0_this.d1x_1 = tmp0_this.d1x_1 + 1 | 0;
|
|
4613
4651
|
}
|
|
4614
4652
|
return result;
|
|
4615
4653
|
};
|
|
@@ -4619,7 +4657,7 @@
|
|
|
4619
4657
|
// Inline function 'kotlin.code' call
|
|
4620
4658
|
tmp$ret$0 = Char__toInt_impl_vasixd(c);
|
|
4621
4659
|
if (tmp$ret$0 < 126) {
|
|
4622
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4660
|
+
var tmp_0 = CharMappings_getInstance().t26_1;
|
|
4623
4661
|
var tmp$ret$1;
|
|
4624
4662
|
// Inline function 'kotlin.code' call
|
|
4625
4663
|
tmp$ret$1 = Char__toInt_impl_vasixd(c);
|
|
@@ -4714,7 +4752,7 @@
|
|
|
4714
4752
|
}
|
|
4715
4753
|
var TC_OTHER;
|
|
4716
4754
|
function escapeToChar(c) {
|
|
4717
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4755
|
+
return c < 117 ? CharMappings_getInstance().s26_1[c] : _Char___init__impl__6a9atx(0);
|
|
4718
4756
|
}
|
|
4719
4757
|
function get_ignoreUnknownKeysHint() {
|
|
4720
4758
|
return ignoreUnknownKeysHint;
|
|
@@ -4765,7 +4803,7 @@
|
|
|
4765
4803
|
var tmp$ret$0;
|
|
4766
4804
|
// Inline function 'kotlin.code' call
|
|
4767
4805
|
tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4768
|
-
$this.
|
|
4806
|
+
$this.s26_1[tmp$ret$0] = numberToChar(c);
|
|
4769
4807
|
}
|
|
4770
4808
|
}
|
|
4771
4809
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4775,7 +4813,7 @@
|
|
|
4775
4813
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4776
4814
|
}
|
|
4777
4815
|
function initC2TC($this, c, cl) {
|
|
4778
|
-
$this.
|
|
4816
|
+
$this.t26_1[c] = cl;
|
|
4779
4817
|
}
|
|
4780
4818
|
function initC2TC_0($this, c, cl) {
|
|
4781
4819
|
var tmp$ret$0;
|
|
@@ -4785,8 +4823,8 @@
|
|
|
4785
4823
|
}
|
|
4786
4824
|
function CharMappings() {
|
|
4787
4825
|
CharMappings_instance = this;
|
|
4788
|
-
this.
|
|
4789
|
-
this.
|
|
4826
|
+
this.s26_1 = charArray(117);
|
|
4827
|
+
this.t26_1 = new Int8Array(126);
|
|
4790
4828
|
initEscape(this);
|
|
4791
4829
|
initCharToToken(this);
|
|
4792
4830
|
}
|
|
@@ -4806,20 +4844,20 @@
|
|
|
4806
4844
|
var allowStructuredMapKeysHint;
|
|
4807
4845
|
function StringJsonLexer(source) {
|
|
4808
4846
|
AbstractJsonLexer.call(this);
|
|
4809
|
-
this.
|
|
4847
|
+
this.y26_1 = source;
|
|
4810
4848
|
}
|
|
4811
|
-
protoOf(StringJsonLexer).
|
|
4812
|
-
return this.
|
|
4849
|
+
protoOf(StringJsonLexer).j26 = function () {
|
|
4850
|
+
return this.y26_1;
|
|
4813
4851
|
};
|
|
4814
|
-
protoOf(StringJsonLexer).
|
|
4815
|
-
return position < this.
|
|
4852
|
+
protoOf(StringJsonLexer).k26 = function (position) {
|
|
4853
|
+
return position < this.y26_1.length ? position : -1;
|
|
4816
4854
|
};
|
|
4817
|
-
protoOf(StringJsonLexer).
|
|
4818
|
-
var source = this.
|
|
4819
|
-
$l$loop: while (!(this.
|
|
4855
|
+
protoOf(StringJsonLexer).b22 = function () {
|
|
4856
|
+
var source = this.y26_1;
|
|
4857
|
+
$l$loop: while (!(this.d1x_1 === -1) ? this.d1x_1 < source.length : false) {
|
|
4820
4858
|
var tmp0_this = this;
|
|
4821
|
-
var tmp1 = tmp0_this.
|
|
4822
|
-
tmp0_this.
|
|
4859
|
+
var tmp1 = tmp0_this.d1x_1;
|
|
4860
|
+
tmp0_this.d1x_1 = tmp1 + 1 | 0;
|
|
4823
4861
|
var ch = charSequenceGet(source, tmp1);
|
|
4824
4862
|
var tc = charToTokenClass(ch);
|
|
4825
4863
|
var tmp;
|
|
@@ -4832,166 +4870,170 @@
|
|
|
4832
4870
|
}
|
|
4833
4871
|
return get_TC_EOF();
|
|
4834
4872
|
};
|
|
4835
|
-
protoOf(StringJsonLexer).
|
|
4836
|
-
var current = this.
|
|
4837
|
-
if (current === this.
|
|
4873
|
+
protoOf(StringJsonLexer).l23 = function () {
|
|
4874
|
+
var current = this.q26();
|
|
4875
|
+
if (current === this.y26_1.length ? true : current === -1)
|
|
4838
4876
|
return false;
|
|
4839
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4877
|
+
if (equals(new Char(charSequenceGet(this.y26_1, current)), new Char(_Char___init__impl__6a9atx(44)))) {
|
|
4840
4878
|
var tmp0_this = this;
|
|
4841
|
-
tmp0_this.
|
|
4879
|
+
tmp0_this.d1x_1 = tmp0_this.d1x_1 + 1 | 0;
|
|
4842
4880
|
return true;
|
|
4843
4881
|
}
|
|
4844
4882
|
return false;
|
|
4845
4883
|
};
|
|
4846
|
-
protoOf(StringJsonLexer).
|
|
4847
|
-
var current = this.
|
|
4884
|
+
protoOf(StringJsonLexer).x21 = function () {
|
|
4885
|
+
var current = this.d1x_1;
|
|
4848
4886
|
if (current === -1)
|
|
4849
4887
|
return false;
|
|
4850
|
-
$l$loop: while (current < this.
|
|
4851
|
-
var c = charSequenceGet(this.
|
|
4888
|
+
$l$loop: while (current < this.y26_1.length) {
|
|
4889
|
+
var c = charSequenceGet(this.y26_1, current);
|
|
4852
4890
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4853
4891
|
current = current + 1 | 0;
|
|
4854
4892
|
continue $l$loop;
|
|
4855
4893
|
}
|
|
4856
|
-
this.
|
|
4857
|
-
return this.
|
|
4894
|
+
this.d1x_1 = current;
|
|
4895
|
+
return this.m26(c);
|
|
4858
4896
|
}
|
|
4859
|
-
this.
|
|
4897
|
+
this.d1x_1 = current;
|
|
4860
4898
|
return false;
|
|
4861
4899
|
};
|
|
4862
|
-
protoOf(StringJsonLexer).
|
|
4863
|
-
var current = this.
|
|
4900
|
+
protoOf(StringJsonLexer).q26 = function () {
|
|
4901
|
+
var current = this.d1x_1;
|
|
4864
4902
|
if (current === -1)
|
|
4865
4903
|
return current;
|
|
4866
|
-
$l$loop: while (current < this.
|
|
4867
|
-
var c = charSequenceGet(this.
|
|
4904
|
+
$l$loop: while (current < this.y26_1.length) {
|
|
4905
|
+
var c = charSequenceGet(this.y26_1, current);
|
|
4868
4906
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4869
4907
|
current = current + 1 | 0;
|
|
4870
4908
|
} else {
|
|
4871
4909
|
break $l$loop;
|
|
4872
4910
|
}
|
|
4873
4911
|
}
|
|
4874
|
-
this.
|
|
4912
|
+
this.d1x_1 = current;
|
|
4875
4913
|
return current;
|
|
4876
4914
|
};
|
|
4877
|
-
protoOf(StringJsonLexer).
|
|
4878
|
-
if (this.
|
|
4879
|
-
this.
|
|
4915
|
+
protoOf(StringJsonLexer).k23 = function (expected) {
|
|
4916
|
+
if (this.d1x_1 === -1) {
|
|
4917
|
+
this.o26(expected);
|
|
4880
4918
|
}
|
|
4881
|
-
var source = this.
|
|
4882
|
-
$l$loop: while (this.
|
|
4919
|
+
var source = this.y26_1;
|
|
4920
|
+
$l$loop: while (this.d1x_1 < source.length) {
|
|
4883
4921
|
var tmp0_this = this;
|
|
4884
|
-
var tmp1 = tmp0_this.
|
|
4885
|
-
tmp0_this.
|
|
4922
|
+
var tmp1 = tmp0_this.d1x_1;
|
|
4923
|
+
tmp0_this.d1x_1 = tmp1 + 1 | 0;
|
|
4886
4924
|
var c = charSequenceGet(source, tmp1);
|
|
4887
4925
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))
|
|
4888
4926
|
continue $l$loop;
|
|
4889
4927
|
if (equals(new Char(c), new Char(expected)))
|
|
4890
4928
|
return Unit_getInstance();
|
|
4891
|
-
this.
|
|
4929
|
+
this.o26(expected);
|
|
4892
4930
|
}
|
|
4893
|
-
this.
|
|
4931
|
+
this.o26(expected);
|
|
4894
4932
|
};
|
|
4895
|
-
protoOf(StringJsonLexer).
|
|
4896
|
-
this.
|
|
4897
|
-
var current = this.
|
|
4898
|
-
var closingQuote = indexOf(this.
|
|
4933
|
+
protoOf(StringJsonLexer).q23 = function () {
|
|
4934
|
+
this.k23(get_STRING());
|
|
4935
|
+
var current = this.d1x_1;
|
|
4936
|
+
var closingQuote = indexOf(this.y26_1, _Char___init__impl__6a9atx(34), current);
|
|
4899
4937
|
if (closingQuote === -1) {
|
|
4900
|
-
this.
|
|
4938
|
+
this.n26(get_TC_STRING());
|
|
4901
4939
|
}
|
|
4902
4940
|
var inductionVariable = current;
|
|
4903
4941
|
if (inductionVariable < closingQuote)
|
|
4904
4942
|
do {
|
|
4905
4943
|
var i = inductionVariable;
|
|
4906
4944
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4907
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4908
|
-
return this.consumeString2(this.
|
|
4945
|
+
if (equals(new Char(charSequenceGet(this.y26_1, i)), new Char(get_STRING_ESC()))) {
|
|
4946
|
+
return this.consumeString2(this.y26_1, this.d1x_1, i);
|
|
4909
4947
|
}
|
|
4910
4948
|
}
|
|
4911
4949
|
while (inductionVariable < closingQuote);
|
|
4912
|
-
this.
|
|
4950
|
+
this.d1x_1 = closingQuote + 1 | 0;
|
|
4913
4951
|
var tmp$ret$1;
|
|
4914
4952
|
// Inline function 'kotlin.text.substring' call
|
|
4915
|
-
var tmp0_substring = this.
|
|
4953
|
+
var tmp0_substring = this.y26_1;
|
|
4916
4954
|
var tmp$ret$0;
|
|
4917
4955
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4918
4956
|
tmp$ret$0 = tmp0_substring;
|
|
4919
4957
|
tmp$ret$1 = tmp$ret$0.substring(current, closingQuote);
|
|
4920
4958
|
return tmp$ret$1;
|
|
4921
4959
|
};
|
|
4922
|
-
protoOf(StringJsonLexer).
|
|
4923
|
-
var positionSnapshot = this.
|
|
4960
|
+
protoOf(StringJsonLexer).s23 = function (keyToMatch, isLenient) {
|
|
4961
|
+
var positionSnapshot = this.d1x_1;
|
|
4924
4962
|
try {
|
|
4925
|
-
if (!(this.
|
|
4963
|
+
if (!(this.b22() === get_TC_BEGIN_OBJ()))
|
|
4926
4964
|
return null;
|
|
4927
|
-
var firstKey = isLenient ? this.
|
|
4965
|
+
var firstKey = isLenient ? this.q23() : this.r23();
|
|
4928
4966
|
if (firstKey === keyToMatch) {
|
|
4929
|
-
if (!(this.
|
|
4967
|
+
if (!(this.b22() === get_TC_COLON()))
|
|
4930
4968
|
return null;
|
|
4931
|
-
var result = isLenient ? this.
|
|
4969
|
+
var result = isLenient ? this.y21() : this.r23();
|
|
4932
4970
|
return result;
|
|
4933
4971
|
}
|
|
4934
4972
|
return null;
|
|
4935
4973
|
}finally {
|
|
4936
|
-
this.
|
|
4974
|
+
this.d1x_1 = positionSnapshot;
|
|
4937
4975
|
}
|
|
4938
4976
|
};
|
|
4939
4977
|
function get_schemaCache(_this__u8e3s4) {
|
|
4940
|
-
return _this__u8e3s4.
|
|
4978
|
+
return _this__u8e3s4.r1w_1;
|
|
4941
4979
|
}
|
|
4942
4980
|
function JsonToStringWriter() {
|
|
4943
|
-
this.
|
|
4981
|
+
this.u1w_1 = StringBuilder_init_$Create$_0(128);
|
|
4944
4982
|
}
|
|
4945
|
-
protoOf(JsonToStringWriter).
|
|
4946
|
-
this.
|
|
4983
|
+
protoOf(JsonToStringWriter).d20 = function (value) {
|
|
4984
|
+
this.u1w_1.j8(value);
|
|
4947
4985
|
};
|
|
4948
|
-
protoOf(JsonToStringWriter).
|
|
4949
|
-
this.
|
|
4986
|
+
protoOf(JsonToStringWriter).x1z = function (char) {
|
|
4987
|
+
this.u1w_1.o7(char);
|
|
4950
4988
|
};
|
|
4951
|
-
protoOf(JsonToStringWriter).
|
|
4952
|
-
this.
|
|
4989
|
+
protoOf(JsonToStringWriter).z1z = function (text) {
|
|
4990
|
+
this.u1w_1.k8(text);
|
|
4953
4991
|
};
|
|
4954
|
-
protoOf(JsonToStringWriter).
|
|
4955
|
-
printQuoted(this.
|
|
4992
|
+
protoOf(JsonToStringWriter).j20 = function (text) {
|
|
4993
|
+
printQuoted(this.u1w_1, text);
|
|
4956
4994
|
};
|
|
4957
4995
|
protoOf(JsonToStringWriter).vn = function () {
|
|
4958
|
-
this.
|
|
4996
|
+
this.u1w_1.bg();
|
|
4959
4997
|
};
|
|
4960
4998
|
protoOf(JsonToStringWriter).toString = function () {
|
|
4961
|
-
return this.
|
|
4999
|
+
return this.u1w_1.toString();
|
|
4962
5000
|
};
|
|
4963
5001
|
function createMapForCache(initialCapacity) {
|
|
4964
5002
|
return HashMap_init_$Create$(initialCapacity);
|
|
4965
5003
|
}
|
|
4966
5004
|
//region block: post-declaration
|
|
4967
|
-
protoOf(defer$1).
|
|
4968
|
-
protoOf(defer$1).
|
|
4969
|
-
protoOf(defer$1).
|
|
4970
|
-
protoOf(PolymorphismValidator).
|
|
4971
|
-
protoOf(StreamingJsonDecoder).
|
|
4972
|
-
protoOf(StreamingJsonDecoder).
|
|
4973
|
-
protoOf(StreamingJsonDecoder).
|
|
4974
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4975
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4976
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4977
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4978
|
-
protoOf(StreamingJsonEncoder).
|
|
4979
|
-
protoOf(StreamingJsonEncoder).
|
|
4980
|
-
protoOf(StreamingJsonEncoder).
|
|
4981
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4982
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4983
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4984
|
-
protoOf(JsonTreeDecoder).
|
|
4985
|
-
protoOf(JsonTreeDecoder).
|
|
4986
|
-
protoOf(JsonTreeDecoder).
|
|
4987
|
-
protoOf(JsonTreeListDecoder).
|
|
4988
|
-
protoOf(JsonTreeListDecoder).
|
|
4989
|
-
protoOf(JsonTreeListDecoder).
|
|
4990
|
-
protoOf(
|
|
4991
|
-
protoOf(
|
|
4992
|
-
protoOf(
|
|
5005
|
+
protoOf(defer$1).i1d = get_isNullable;
|
|
5006
|
+
protoOf(defer$1).o1d = get_isInline;
|
|
5007
|
+
protoOf(defer$1).m1d = get_annotations;
|
|
5008
|
+
protoOf(PolymorphismValidator).e1w = contextual;
|
|
5009
|
+
protoOf(StreamingJsonDecoder).v1f = decodeSerializableElement$default;
|
|
5010
|
+
protoOf(StreamingJsonDecoder).y1f = decodeSequentially;
|
|
5011
|
+
protoOf(StreamingJsonDecoder).a1g = decodeCollectionSize;
|
|
5012
|
+
protoOf(JsonDecoderForUnsignedTypes).h1f = decodeSerializableValue;
|
|
5013
|
+
protoOf(JsonDecoderForUnsignedTypes).v1f = decodeSerializableElement$default;
|
|
5014
|
+
protoOf(JsonDecoderForUnsignedTypes).y1f = decodeSequentially;
|
|
5015
|
+
protoOf(JsonDecoderForUnsignedTypes).a1g = decodeCollectionSize;
|
|
5016
|
+
protoOf(StreamingJsonEncoder).d1h = encodeNotNullMark;
|
|
5017
|
+
protoOf(StreamingJsonEncoder).e1h = beginCollection;
|
|
5018
|
+
protoOf(StreamingJsonEncoder).c1h = encodeNullableSerializableValue;
|
|
5019
|
+
protoOf(AbstractJsonTreeDecoder).v1f = decodeSerializableElement$default;
|
|
5020
|
+
protoOf(AbstractJsonTreeDecoder).y1f = decodeSequentially;
|
|
5021
|
+
protoOf(AbstractJsonTreeDecoder).a1g = decodeCollectionSize;
|
|
5022
|
+
protoOf(JsonTreeDecoder).v1f = decodeSerializableElement$default;
|
|
5023
|
+
protoOf(JsonTreeDecoder).y1f = decodeSequentially;
|
|
5024
|
+
protoOf(JsonTreeDecoder).a1g = decodeCollectionSize;
|
|
5025
|
+
protoOf(JsonTreeListDecoder).v1f = decodeSerializableElement$default;
|
|
5026
|
+
protoOf(JsonTreeListDecoder).y1f = decodeSequentially;
|
|
5027
|
+
protoOf(JsonTreeListDecoder).a1g = decodeCollectionSize;
|
|
5028
|
+
protoOf(JsonPrimitiveDecoder).v1f = decodeSerializableElement$default;
|
|
5029
|
+
protoOf(JsonPrimitiveDecoder).y1f = decodeSequentially;
|
|
5030
|
+
protoOf(JsonPrimitiveDecoder).a1g = decodeCollectionSize;
|
|
5031
|
+
protoOf(JsonTreeMapDecoder).v1f = decodeSerializableElement$default;
|
|
5032
|
+
protoOf(JsonTreeMapDecoder).y1f = decodeSequentially;
|
|
5033
|
+
protoOf(JsonTreeMapDecoder).a1g = decodeCollectionSize;
|
|
4993
5034
|
//endregion
|
|
4994
5035
|
//region block: init
|
|
5036
|
+
PRIMITIVE_TAG = 'primitive';
|
|
4995
5037
|
TC_WHITESPACE = 3;
|
|
4996
5038
|
TC_EOF = 10;
|
|
4997
5039
|
STRING = _Char___init__impl__6a9atx(34);
|