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