@solibo/home-api 1.0.36 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +713 -713
- package/kotlin-kotlin-stdlib.js +958 -842
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +8 -8
- package/kotlinx-coroutines-core.js +88 -88
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +14 -14
- package/kotlinx-io-kotlinx-io-core.js +28 -28
- package/kotlinx-serialization-kotlinx-serialization-core.js +127 -127
- package/kotlinx-serialization-kotlinx-serialization-json.js +1176 -1176
- package/ktor-ktor-client-content-negotiation.js +146 -146
- package/ktor-ktor-client-core.js +1467 -1423
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http-cio.js +53 -53
- package/ktor-ktor-http.js +89 -89
- package/ktor-ktor-io.js +53 -53
- package/ktor-ktor-serialization-kotlinx-json.js +5 -5
- package/ktor-ktor-serialization-kotlinx.js +115 -115
- package/ktor-ktor-serialization.js +14 -14
- package/ktor-ktor-utils.js +101 -99
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +46 -46
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.ts +683 -477
- package/solibo-sdk-sdk-home-api.js +22271 -21428
- package/solibo-sdk-sdk-home-api.js.map +1 -1
|
@@ -17,67 +17,67 @@
|
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
19
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.ub;
|
|
21
|
+
var initMetadataForObject = kotlin_kotlin.$_$.db;
|
|
22
22
|
var VOID = kotlin_kotlin.$_$.b;
|
|
23
23
|
var Unit_instance = kotlin_kotlin.$_$.y4;
|
|
24
24
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
25
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
26
|
-
var toString = kotlin_kotlin.$_$.
|
|
25
|
+
var initMetadataForClass = kotlin_kotlin.$_$.xa;
|
|
26
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
27
27
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
28
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
29
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
28
|
+
var charSequenceLength = kotlin_kotlin.$_$.ka;
|
|
29
|
+
var charSequenceGet = kotlin_kotlin.$_$.ja;
|
|
30
30
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.g2;
|
|
31
|
-
var equals = kotlin_kotlin.$_$.
|
|
32
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
33
|
-
var Enum = kotlin_kotlin.$_$.
|
|
31
|
+
var equals = kotlin_kotlin.$_$.oa;
|
|
32
|
+
var toString_0 = kotlin_kotlin.$_$.wg;
|
|
33
|
+
var Enum = kotlin_kotlin.$_$.lf;
|
|
34
34
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s1;
|
|
35
35
|
var CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
36
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
37
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
36
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.bb;
|
|
37
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ya;
|
|
38
38
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
39
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
40
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
41
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
39
|
+
var hashCode = kotlin_kotlin.$_$.wa;
|
|
40
|
+
var joinToString = kotlin_kotlin.$_$.z6;
|
|
41
|
+
var THROW_CCE = kotlin_kotlin.$_$.uf;
|
|
42
42
|
var KtMap = kotlin_kotlin.$_$.i5;
|
|
43
43
|
var KtList = kotlin_kotlin.$_$.f5;
|
|
44
44
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
45
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
46
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
47
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
48
|
-
var toDouble = kotlin_kotlin.$_$.
|
|
45
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.lc;
|
|
46
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.ra;
|
|
47
|
+
var getStringHashCode = kotlin_kotlin.$_$.va;
|
|
48
|
+
var toDouble = kotlin_kotlin.$_$.ie;
|
|
49
49
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.l4;
|
|
50
50
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
51
51
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
52
52
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
53
53
|
var buildSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
54
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
54
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.tg;
|
|
55
55
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
56
56
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
57
57
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
58
58
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
59
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
60
|
-
var toULongOrNull = kotlin_kotlin.$_$.
|
|
61
|
-
var ULong = kotlin_kotlin.$_$.
|
|
59
|
+
var toLongOrNull = kotlin_kotlin.$_$.me;
|
|
60
|
+
var toULongOrNull = kotlin_kotlin.$_$.re;
|
|
61
|
+
var ULong = kotlin_kotlin.$_$.cg;
|
|
62
62
|
var Companion_getInstance = kotlin_kotlin.$_$.w4;
|
|
63
63
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
64
64
|
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.l3;
|
|
65
|
-
var toDoubleOrNull = kotlin_kotlin.$_$.
|
|
66
|
-
var toBooleanStrictOrNull = kotlin_kotlin.$_$.
|
|
65
|
+
var toDoubleOrNull = kotlin_kotlin.$_$.he;
|
|
66
|
+
var toBooleanStrictOrNull = kotlin_kotlin.$_$.fe;
|
|
67
67
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
68
68
|
var SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
69
69
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
70
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
70
|
+
var isInterface = kotlin_kotlin.$_$.mb;
|
|
71
71
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
72
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
73
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
74
|
-
var lazy = kotlin_kotlin.$_$.
|
|
72
|
+
var KProperty1 = kotlin_kotlin.$_$.rc;
|
|
73
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.ua;
|
|
74
|
+
var lazy = kotlin_kotlin.$_$.sg;
|
|
75
75
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
76
76
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
77
77
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
78
78
|
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
79
79
|
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
80
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
80
|
+
var fromInt = kotlin_kotlin.$_$.q9;
|
|
81
81
|
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.b3;
|
|
82
82
|
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.d3;
|
|
83
83
|
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.k3;
|
|
@@ -87,22 +87,22 @@
|
|
|
87
87
|
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.t3;
|
|
88
88
|
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.v3;
|
|
89
89
|
var ElementMarker = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
90
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
90
|
+
var captureStack = kotlin_kotlin.$_$.fa;
|
|
91
91
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
92
92
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
93
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
94
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
95
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
93
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.la;
|
|
94
|
+
var coerceAtLeast = kotlin_kotlin.$_$.cc;
|
|
95
|
+
var coerceAtMost = kotlin_kotlin.$_$.dc;
|
|
96
96
|
var Collection = kotlin_kotlin.$_$.a5;
|
|
97
97
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
98
98
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
99
99
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
100
100
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
101
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
102
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
103
|
-
var getValue = kotlin_kotlin.$_$.
|
|
104
|
-
var copyOf = kotlin_kotlin.$_$.
|
|
105
|
-
var arrayCopy = kotlin_kotlin.$_$.
|
|
101
|
+
var singleOrNull = kotlin_kotlin.$_$.u7;
|
|
102
|
+
var emptyMap = kotlin_kotlin.$_$.m6;
|
|
103
|
+
var getValue = kotlin_kotlin.$_$.v6;
|
|
104
|
+
var copyOf = kotlin_kotlin.$_$.g6;
|
|
105
|
+
var arrayCopy = kotlin_kotlin.$_$.p5;
|
|
106
106
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
107
107
|
var CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
108
108
|
var PolymorphicKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
@@ -111,44 +111,44 @@
|
|
|
111
111
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
112
112
|
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
113
113
|
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
114
|
-
var DeepRecursiveFunction = kotlin_kotlin.$_$.
|
|
115
|
-
var invoke = kotlin_kotlin.$_$.
|
|
116
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
117
|
-
var DeepRecursiveScope = kotlin_kotlin.$_$.
|
|
118
|
-
var Unit = kotlin_kotlin.$_$.
|
|
119
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
120
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
121
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
114
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.jf;
|
|
115
|
+
var invoke = kotlin_kotlin.$_$.ng;
|
|
116
|
+
var CoroutineImpl = kotlin_kotlin.$_$.g9;
|
|
117
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.kf;
|
|
118
|
+
var Unit = kotlin_kotlin.$_$.fg;
|
|
119
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.p8;
|
|
120
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.cb;
|
|
121
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.za;
|
|
122
122
|
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q2;
|
|
123
123
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
124
124
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
125
125
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
126
126
|
var DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
127
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
127
|
+
var getKClass = kotlin_kotlin.$_$.mc;
|
|
128
128
|
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
129
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
130
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
131
|
-
var removeSuffix = kotlin_kotlin.$_$.
|
|
132
|
-
var substringAfter = kotlin_kotlin.$_$.
|
|
133
|
-
var contains = kotlin_kotlin.$_$.
|
|
134
|
-
var plus = kotlin_kotlin.$_$.
|
|
129
|
+
var ensureNotNull = kotlin_kotlin.$_$.mg;
|
|
130
|
+
var substringBefore = kotlin_kotlin.$_$.be;
|
|
131
|
+
var removeSuffix = kotlin_kotlin.$_$.pd;
|
|
132
|
+
var substringAfter = kotlin_kotlin.$_$.ae;
|
|
133
|
+
var contains = kotlin_kotlin.$_$.xc;
|
|
134
|
+
var plus = kotlin_kotlin.$_$.ug;
|
|
135
135
|
var MissingFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
136
136
|
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
137
|
-
var convertToByte = kotlin_kotlin.$_$.
|
|
138
|
-
var convertToShort = kotlin_kotlin.$_$.
|
|
139
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
140
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
141
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
142
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
143
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
144
|
-
var toUInt = kotlin_kotlin.$_$.
|
|
137
|
+
var convertToByte = kotlin_kotlin.$_$.m9;
|
|
138
|
+
var convertToShort = kotlin_kotlin.$_$.o9;
|
|
139
|
+
var convertToInt = kotlin_kotlin.$_$.n9;
|
|
140
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.of;
|
|
141
|
+
var isFinite = kotlin_kotlin.$_$.pg;
|
|
142
|
+
var isFinite_0 = kotlin_kotlin.$_$.og;
|
|
143
|
+
var charCodeAt = kotlin_kotlin.$_$.ia;
|
|
144
|
+
var toUInt = kotlin_kotlin.$_$.qe;
|
|
145
145
|
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.c3;
|
|
146
|
-
var toULong = kotlin_kotlin.$_$.
|
|
147
|
-
var toUByte = kotlin_kotlin.$_$.
|
|
146
|
+
var toULong = kotlin_kotlin.$_$.se;
|
|
147
|
+
var toUByte = kotlin_kotlin.$_$.pe;
|
|
148
148
|
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.t2;
|
|
149
|
-
var toUShort = kotlin_kotlin.$_$.
|
|
149
|
+
var toUShort = kotlin_kotlin.$_$.te;
|
|
150
150
|
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.u3;
|
|
151
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
151
|
+
var objectCreate = kotlin_kotlin.$_$.tb;
|
|
152
152
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1;
|
|
153
153
|
var OBJECT_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
154
154
|
var findPolymorphicSerializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v2;
|
|
@@ -160,38 +160,38 @@
|
|
|
160
160
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
161
161
|
var Companion_getInstance_2 = kotlin_kotlin.$_$.x4;
|
|
162
162
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
163
|
-
var setOf = kotlin_kotlin.$_$.
|
|
163
|
+
var setOf = kotlin_kotlin.$_$.t7;
|
|
164
164
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.m2;
|
|
165
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
166
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
167
|
-
var toByte = kotlin_kotlin.$_$.
|
|
168
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
165
|
+
var numberToChar = kotlin_kotlin.$_$.sb;
|
|
166
|
+
var equals_0 = kotlin_kotlin.$_$.ed;
|
|
167
|
+
var toByte = kotlin_kotlin.$_$.vb;
|
|
168
|
+
var startsWith = kotlin_kotlin.$_$.wd;
|
|
169
169
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
170
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
171
|
-
var ClosedRange = kotlin_kotlin.$_$.
|
|
172
|
-
var contains_0 = kotlin_kotlin.$_$.
|
|
173
|
-
var single = kotlin_kotlin.$_$.
|
|
174
|
-
var Char = kotlin_kotlin.$_$.
|
|
175
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
176
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
177
|
-
var toInt = kotlin_kotlin.$_$.
|
|
178
|
-
var toList = kotlin_kotlin.$_$.
|
|
179
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
170
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.rb;
|
|
171
|
+
var ClosedRange = kotlin_kotlin.$_$.bc;
|
|
172
|
+
var contains_0 = kotlin_kotlin.$_$.fc;
|
|
173
|
+
var single = kotlin_kotlin.$_$.td;
|
|
174
|
+
var Char = kotlin_kotlin.$_$.gf;
|
|
175
|
+
var emptySet = kotlin_kotlin.$_$.n6;
|
|
176
|
+
var plus_0 = kotlin_kotlin.$_$.k7;
|
|
177
|
+
var toInt = kotlin_kotlin.$_$.ke;
|
|
178
|
+
var toList = kotlin_kotlin.$_$.c8;
|
|
179
|
+
var enumEntries = kotlin_kotlin.$_$.i9;
|
|
180
180
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1;
|
|
181
|
-
var toNumber = kotlin_kotlin.$_$.
|
|
182
|
-
var last = kotlin_kotlin.$_$.
|
|
183
|
-
var removeLast = kotlin_kotlin.$_$.
|
|
184
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
181
|
+
var toNumber = kotlin_kotlin.$_$.aa;
|
|
182
|
+
var last = kotlin_kotlin.$_$.e7;
|
|
183
|
+
var removeLast = kotlin_kotlin.$_$.q7;
|
|
184
|
+
var lastIndexOf = kotlin_kotlin.$_$.nd;
|
|
185
185
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.i2;
|
|
186
|
-
var multiply = kotlin_kotlin.$_$.
|
|
187
|
-
var add = kotlin_kotlin.$_$.
|
|
188
|
-
var subtract = kotlin_kotlin.$_$.
|
|
189
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
190
|
-
var negate = kotlin_kotlin.$_$.
|
|
191
|
-
var charArray = kotlin_kotlin.$_$.
|
|
192
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
193
|
-
var indexOf_0 = kotlin_kotlin.$_$.
|
|
194
|
-
var substring = kotlin_kotlin.$_$.
|
|
186
|
+
var multiply = kotlin_kotlin.$_$.u9;
|
|
187
|
+
var add = kotlin_kotlin.$_$.l9;
|
|
188
|
+
var subtract = kotlin_kotlin.$_$.z9;
|
|
189
|
+
var numberToLong = kotlin_kotlin.$_$.w9;
|
|
190
|
+
var negate = kotlin_kotlin.$_$.v9;
|
|
191
|
+
var charArray = kotlin_kotlin.$_$.ha;
|
|
192
|
+
var indexOf = kotlin_kotlin.$_$.hd;
|
|
193
|
+
var indexOf_0 = kotlin_kotlin.$_$.id;
|
|
194
|
+
var substring = kotlin_kotlin.$_$.de;
|
|
195
195
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.b1;
|
|
196
196
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
197
197
|
//endregion
|
|
@@ -270,12 +270,12 @@
|
|
|
270
270
|
}
|
|
271
271
|
function Json(configuration, serializersModule) {
|
|
272
272
|
Default_getInstance();
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
273
|
+
this.z4m_1 = configuration;
|
|
274
|
+
this.a4n_1 = serializersModule;
|
|
275
|
+
this.b4n_1 = new DescriptorSchemaCache();
|
|
276
276
|
}
|
|
277
277
|
protoOf(Json).u1u = function () {
|
|
278
|
-
return this.
|
|
278
|
+
return this.a4n_1;
|
|
279
279
|
};
|
|
280
280
|
protoOf(Json).u1r = function (serializer, value) {
|
|
281
281
|
var result = new JsonToStringWriter();
|
|
@@ -290,57 +290,57 @@
|
|
|
290
290
|
var lexer = StringJsonLexer_0(this, string);
|
|
291
291
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.r1q(), null);
|
|
292
292
|
var result = input.e1u(deserializer);
|
|
293
|
-
lexer.
|
|
293
|
+
lexer.p4n();
|
|
294
294
|
return result;
|
|
295
295
|
};
|
|
296
296
|
function Json_0(from, builderAction) {
|
|
297
297
|
from = from === VOID ? Default_getInstance() : from;
|
|
298
298
|
var builder = new JsonBuilder(from);
|
|
299
299
|
builderAction(builder);
|
|
300
|
-
var conf = builder.
|
|
301
|
-
return new JsonImpl(conf, builder.
|
|
300
|
+
var conf = builder.i4o();
|
|
301
|
+
return new JsonImpl(conf, builder.h4o_1);
|
|
302
302
|
}
|
|
303
303
|
function JsonBuilder(json) {
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
322
|
-
}
|
|
323
|
-
protoOf(JsonBuilder).
|
|
324
|
-
if (this.
|
|
304
|
+
this.q4n_1 = json.z4m_1.j4o_1;
|
|
305
|
+
this.r4n_1 = json.z4m_1.o4o_1;
|
|
306
|
+
this.s4n_1 = json.z4m_1.k4o_1;
|
|
307
|
+
this.t4n_1 = json.z4m_1.l4o_1;
|
|
308
|
+
this.u4n_1 = json.z4m_1.n4o_1;
|
|
309
|
+
this.v4n_1 = json.z4m_1.p4o_1;
|
|
310
|
+
this.w4n_1 = json.z4m_1.q4o_1;
|
|
311
|
+
this.x4n_1 = json.z4m_1.s4o_1;
|
|
312
|
+
this.y4n_1 = json.z4m_1.z4o_1;
|
|
313
|
+
this.z4n_1 = json.z4m_1.u4o_1;
|
|
314
|
+
this.a4o_1 = json.z4m_1.v4o_1;
|
|
315
|
+
this.b4o_1 = json.z4m_1.w4o_1;
|
|
316
|
+
this.c4o_1 = json.z4m_1.x4o_1;
|
|
317
|
+
this.d4o_1 = json.z4m_1.y4o_1;
|
|
318
|
+
this.e4o_1 = json.z4m_1.t4o_1;
|
|
319
|
+
this.f4o_1 = json.z4m_1.m4o_1;
|
|
320
|
+
this.g4o_1 = json.z4m_1.r4o_1;
|
|
321
|
+
this.h4o_1 = json.u1u();
|
|
322
|
+
}
|
|
323
|
+
protoOf(JsonBuilder).i4o = function () {
|
|
324
|
+
if (this.g4o_1) {
|
|
325
325
|
// Inline function 'kotlin.require' call
|
|
326
|
-
if (!(this.
|
|
326
|
+
if (!(this.x4n_1 === 'type')) {
|
|
327
327
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
328
328
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
329
329
|
}
|
|
330
330
|
// Inline function 'kotlin.require' call
|
|
331
|
-
if (!this.
|
|
331
|
+
if (!this.y4n_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
332
332
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
333
333
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
if (!this.
|
|
336
|
+
if (!this.u4n_1) {
|
|
337
337
|
// Inline function 'kotlin.require' call
|
|
338
|
-
if (!(this.
|
|
338
|
+
if (!(this.v4n_1 === ' ')) {
|
|
339
339
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
340
340
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
341
341
|
}
|
|
342
|
-
} else if (!(this.
|
|
343
|
-
var tmp0 = this.
|
|
342
|
+
} else if (!(this.v4n_1 === ' ')) {
|
|
343
|
+
var tmp0 = this.v4n_1;
|
|
344
344
|
var tmp$ret$7;
|
|
345
345
|
$l$block: {
|
|
346
346
|
// Inline function 'kotlin.text.all' call
|
|
@@ -358,16 +358,16 @@
|
|
|
358
358
|
var allWhitespaces = tmp$ret$7;
|
|
359
359
|
// Inline function 'kotlin.require' call
|
|
360
360
|
if (!allWhitespaces) {
|
|
361
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
361
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.v4n_1;
|
|
362
362
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
return new JsonConfiguration(this.
|
|
365
|
+
return new JsonConfiguration(this.q4n_1, this.s4n_1, this.t4n_1, this.f4o_1, this.u4n_1, this.r4n_1, this.v4n_1, this.w4n_1, this.g4o_1, this.x4n_1, this.e4o_1, this.z4n_1, this.a4o_1, this.b4o_1, this.c4o_1, this.d4o_1, this.y4n_1);
|
|
366
366
|
};
|
|
367
367
|
function validateConfiguration($this) {
|
|
368
368
|
if (equals($this.u1u(), EmptySerializersModule()))
|
|
369
369
|
return Unit_instance;
|
|
370
|
-
var collector = new JsonSerializersModuleValidator($this.
|
|
370
|
+
var collector = new JsonSerializersModuleValidator($this.z4m_1);
|
|
371
371
|
$this.u1u().q2a(collector);
|
|
372
372
|
}
|
|
373
373
|
function JsonImpl(configuration, module_0) {
|
|
@@ -398,26 +398,26 @@
|
|
|
398
398
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
399
399
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
400
400
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
401
|
+
this.j4o_1 = encodeDefaults;
|
|
402
|
+
this.k4o_1 = ignoreUnknownKeys;
|
|
403
|
+
this.l4o_1 = isLenient;
|
|
404
|
+
this.m4o_1 = allowStructuredMapKeys;
|
|
405
|
+
this.n4o_1 = prettyPrint;
|
|
406
|
+
this.o4o_1 = explicitNulls;
|
|
407
|
+
this.p4o_1 = prettyPrintIndent;
|
|
408
|
+
this.q4o_1 = coerceInputValues;
|
|
409
|
+
this.r4o_1 = useArrayPolymorphism;
|
|
410
|
+
this.s4o_1 = classDiscriminator;
|
|
411
|
+
this.t4o_1 = allowSpecialFloatingPointValues;
|
|
412
|
+
this.u4o_1 = useAlternativeNames;
|
|
413
|
+
this.v4o_1 = namingStrategy;
|
|
414
|
+
this.w4o_1 = decodeEnumsCaseInsensitive;
|
|
415
|
+
this.x4o_1 = allowTrailingComma;
|
|
416
|
+
this.y4o_1 = allowComments;
|
|
417
|
+
this.z4o_1 = classDiscriminatorMode;
|
|
418
418
|
}
|
|
419
419
|
protoOf(JsonConfiguration).toString = function () {
|
|
420
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
420
|
+
return 'JsonConfiguration(encodeDefaults=' + this.j4o_1 + ', ignoreUnknownKeys=' + this.k4o_1 + ', isLenient=' + this.l4o_1 + ', ' + ('allowStructuredMapKeys=' + this.m4o_1 + ', prettyPrint=' + this.n4o_1 + ', explicitNulls=' + this.o4o_1 + ', ') + ("prettyPrintIndent='" + this.p4o_1 + "', coerceInputValues=" + this.q4o_1 + ', useArrayPolymorphism=' + this.r4o_1 + ', ') + ("classDiscriminator='" + this.s4o_1 + "', allowSpecialFloatingPointValues=" + this.t4o_1 + ', ') + ('useAlternativeNames=' + this.u4o_1 + ', namingStrategy=' + toString_0(this.v4o_1) + ', decodeEnumsCaseInsensitive=' + this.w4o_1 + ', ') + ('allowTrailingComma=' + this.x4o_1 + ', allowComments=' + this.y4o_1 + ', classDiscriminatorMode=' + this.z4o_1.toString() + ')');
|
|
421
421
|
};
|
|
422
422
|
var ClassDiscriminatorMode_NONE_instance;
|
|
423
423
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
JsonElement.call(this);
|
|
468
468
|
}
|
|
469
469
|
protoOf(JsonPrimitive).toString = function () {
|
|
470
|
-
return this.
|
|
470
|
+
return this.d3f();
|
|
471
471
|
};
|
|
472
472
|
function Companion_1() {
|
|
473
473
|
}
|
|
@@ -490,59 +490,59 @@
|
|
|
490
490
|
}
|
|
491
491
|
function JsonObject(content) {
|
|
492
492
|
JsonElement.call(this);
|
|
493
|
-
this.
|
|
493
|
+
this.c4p_1 = content;
|
|
494
494
|
}
|
|
495
495
|
protoOf(JsonObject).equals = function (other) {
|
|
496
|
-
return equals(this.
|
|
496
|
+
return equals(this.c4p_1, other);
|
|
497
497
|
};
|
|
498
498
|
protoOf(JsonObject).hashCode = function () {
|
|
499
|
-
return hashCode(this.
|
|
499
|
+
return hashCode(this.c4p_1);
|
|
500
500
|
};
|
|
501
501
|
protoOf(JsonObject).toString = function () {
|
|
502
|
-
var tmp = this.
|
|
502
|
+
var tmp = this.c4p_1.k1();
|
|
503
503
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
504
504
|
};
|
|
505
505
|
protoOf(JsonObject).r = function () {
|
|
506
|
-
return this.
|
|
506
|
+
return this.c4p_1.r();
|
|
507
507
|
};
|
|
508
508
|
protoOf(JsonObject).v2b = function (key) {
|
|
509
|
-
return this.
|
|
509
|
+
return this.c4p_1.x2(key);
|
|
510
510
|
};
|
|
511
|
-
protoOf(JsonObject).
|
|
511
|
+
protoOf(JsonObject).x2 = function (key) {
|
|
512
512
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
513
513
|
return false;
|
|
514
514
|
return this.v2b((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
515
515
|
};
|
|
516
|
-
protoOf(JsonObject).
|
|
517
|
-
return this.
|
|
516
|
+
protoOf(JsonObject).d4p = function (value) {
|
|
517
|
+
return this.c4p_1.y2(value);
|
|
518
518
|
};
|
|
519
|
-
protoOf(JsonObject).
|
|
519
|
+
protoOf(JsonObject).y2 = function (value) {
|
|
520
520
|
if (!(value instanceof JsonElement))
|
|
521
521
|
return false;
|
|
522
|
-
return this.
|
|
522
|
+
return this.d4p(value instanceof JsonElement ? value : THROW_CCE());
|
|
523
523
|
};
|
|
524
524
|
protoOf(JsonObject).x2b = function (key) {
|
|
525
|
-
return this.
|
|
525
|
+
return this.c4p_1.z2(key);
|
|
526
526
|
};
|
|
527
|
-
protoOf(JsonObject).
|
|
527
|
+
protoOf(JsonObject).z2 = function (key) {
|
|
528
528
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
529
529
|
return null;
|
|
530
530
|
return this.x2b((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
531
531
|
};
|
|
532
532
|
protoOf(JsonObject).asJsReadonlyMapView = function () {
|
|
533
|
-
return this.
|
|
533
|
+
return this.c4p_1.asJsReadonlyMapView();
|
|
534
534
|
};
|
|
535
535
|
protoOf(JsonObject).g1 = function () {
|
|
536
|
-
return this.
|
|
537
|
-
};
|
|
538
|
-
protoOf(JsonObject).u2 = function () {
|
|
539
|
-
return this.r4o_1.u2();
|
|
536
|
+
return this.c4p_1.g1();
|
|
540
537
|
};
|
|
541
538
|
protoOf(JsonObject).v2 = function () {
|
|
542
|
-
return this.
|
|
539
|
+
return this.c4p_1.v2();
|
|
540
|
+
};
|
|
541
|
+
protoOf(JsonObject).w2 = function () {
|
|
542
|
+
return this.c4p_1.w2();
|
|
543
543
|
};
|
|
544
544
|
protoOf(JsonObject).k1 = function () {
|
|
545
|
-
return this.
|
|
545
|
+
return this.c4p_1.k1();
|
|
546
546
|
};
|
|
547
547
|
function Companion_2() {
|
|
548
548
|
}
|
|
@@ -552,84 +552,84 @@
|
|
|
552
552
|
}
|
|
553
553
|
function JsonArray(content) {
|
|
554
554
|
JsonElement.call(this);
|
|
555
|
-
this.
|
|
555
|
+
this.e4p_1 = content;
|
|
556
556
|
}
|
|
557
557
|
protoOf(JsonArray).equals = function (other) {
|
|
558
|
-
return equals(this.
|
|
558
|
+
return equals(this.e4p_1, other);
|
|
559
559
|
};
|
|
560
560
|
protoOf(JsonArray).hashCode = function () {
|
|
561
|
-
return hashCode(this.
|
|
561
|
+
return hashCode(this.e4p_1);
|
|
562
562
|
};
|
|
563
563
|
protoOf(JsonArray).toString = function () {
|
|
564
|
-
return joinToString(this.
|
|
564
|
+
return joinToString(this.e4p_1, ',', '[', ']');
|
|
565
565
|
};
|
|
566
566
|
protoOf(JsonArray).r = function () {
|
|
567
|
-
return this.
|
|
567
|
+
return this.e4p_1.r();
|
|
568
568
|
};
|
|
569
|
-
protoOf(JsonArray).
|
|
570
|
-
return this.
|
|
569
|
+
protoOf(JsonArray).f4p = function (element) {
|
|
570
|
+
return this.e4p_1.h2(element);
|
|
571
571
|
};
|
|
572
572
|
protoOf(JsonArray).h2 = function (element) {
|
|
573
573
|
if (!(element instanceof JsonElement))
|
|
574
574
|
return false;
|
|
575
|
-
return this.
|
|
575
|
+
return this.f4p(element instanceof JsonElement ? element : THROW_CCE());
|
|
576
576
|
};
|
|
577
577
|
protoOf(JsonArray).t = function () {
|
|
578
|
-
return this.
|
|
578
|
+
return this.e4p_1.t();
|
|
579
579
|
};
|
|
580
|
-
protoOf(JsonArray).
|
|
581
|
-
return this.
|
|
580
|
+
protoOf(JsonArray).g4p = function (elements) {
|
|
581
|
+
return this.e4p_1.i2(elements);
|
|
582
582
|
};
|
|
583
583
|
protoOf(JsonArray).i2 = function (elements) {
|
|
584
|
-
return this.
|
|
584
|
+
return this.g4p(elements);
|
|
585
585
|
};
|
|
586
586
|
protoOf(JsonArray).h1 = function (index) {
|
|
587
|
-
return this.
|
|
587
|
+
return this.e4p_1.h1(index);
|
|
588
588
|
};
|
|
589
|
-
protoOf(JsonArray).
|
|
590
|
-
return this.
|
|
589
|
+
protoOf(JsonArray).h4p = function (element) {
|
|
590
|
+
return this.e4p_1.j2(element);
|
|
591
591
|
};
|
|
592
592
|
protoOf(JsonArray).j2 = function (element) {
|
|
593
593
|
if (!(element instanceof JsonElement))
|
|
594
594
|
return -1;
|
|
595
|
-
return this.
|
|
595
|
+
return this.h4p(element instanceof JsonElement ? element : THROW_CCE());
|
|
596
596
|
};
|
|
597
|
-
protoOf(JsonArray).
|
|
598
|
-
return this.
|
|
597
|
+
protoOf(JsonArray).i4p = function (element) {
|
|
598
|
+
return this.e4p_1.k2(element);
|
|
599
599
|
};
|
|
600
600
|
protoOf(JsonArray).k2 = function (element) {
|
|
601
601
|
if (!(element instanceof JsonElement))
|
|
602
602
|
return -1;
|
|
603
|
-
return this.
|
|
603
|
+
return this.i4p(element instanceof JsonElement ? element : THROW_CCE());
|
|
604
604
|
};
|
|
605
605
|
protoOf(JsonArray).l2 = function () {
|
|
606
|
-
return this.
|
|
606
|
+
return this.e4p_1.l2();
|
|
607
607
|
};
|
|
608
608
|
protoOf(JsonArray).i1 = function (index) {
|
|
609
|
-
return this.
|
|
609
|
+
return this.e4p_1.i1(index);
|
|
610
610
|
};
|
|
611
611
|
protoOf(JsonArray).m2 = function (fromIndex, toIndex) {
|
|
612
|
-
return this.
|
|
612
|
+
return this.e4p_1.m2(fromIndex, toIndex);
|
|
613
613
|
};
|
|
614
614
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
615
|
-
return this.
|
|
615
|
+
return this.e4p_1.asJsReadonlyArrayView();
|
|
616
616
|
};
|
|
617
617
|
protoOf(JsonArray).g1 = function () {
|
|
618
|
-
return this.
|
|
618
|
+
return this.e4p_1.g1();
|
|
619
619
|
};
|
|
620
620
|
function JsonNull() {
|
|
621
621
|
JsonNull_instance = this;
|
|
622
622
|
JsonPrimitive.call(this);
|
|
623
|
-
this.
|
|
623
|
+
this.j4p_1 = 'null';
|
|
624
624
|
}
|
|
625
|
-
protoOf(JsonNull).
|
|
626
|
-
return this.
|
|
625
|
+
protoOf(JsonNull).d3f = function () {
|
|
626
|
+
return this.j4p_1;
|
|
627
627
|
};
|
|
628
|
-
protoOf(JsonNull).
|
|
628
|
+
protoOf(JsonNull).k4p = function () {
|
|
629
629
|
return JsonNullSerializer_getInstance();
|
|
630
630
|
};
|
|
631
631
|
protoOf(JsonNull).x22 = function (typeParamsSerializers) {
|
|
632
|
-
return this.
|
|
632
|
+
return this.k4p();
|
|
633
633
|
};
|
|
634
634
|
var JsonNull_instance;
|
|
635
635
|
function JsonNull_getInstance() {
|
|
@@ -640,31 +640,31 @@
|
|
|
640
640
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
641
641
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
642
642
|
JsonPrimitive.call(this);
|
|
643
|
-
this.
|
|
644
|
-
this.
|
|
645
|
-
this.
|
|
646
|
-
if (!(this.
|
|
643
|
+
this.l4p_1 = isString;
|
|
644
|
+
this.m4p_1 = coerceToInlineType;
|
|
645
|
+
this.n4p_1 = toString(body);
|
|
646
|
+
if (!(this.m4p_1 == null)) {
|
|
647
647
|
// Inline function 'kotlin.require' call
|
|
648
648
|
// Inline function 'kotlin.require' call
|
|
649
|
-
if (!this.
|
|
649
|
+
if (!this.m4p_1.n1s()) {
|
|
650
650
|
var message = 'Failed requirement.';
|
|
651
651
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
protoOf(JsonLiteral).
|
|
656
|
-
return this.
|
|
655
|
+
protoOf(JsonLiteral).d3f = function () {
|
|
656
|
+
return this.n4p_1;
|
|
657
657
|
};
|
|
658
658
|
protoOf(JsonLiteral).toString = function () {
|
|
659
659
|
var tmp;
|
|
660
|
-
if (this.
|
|
660
|
+
if (this.l4p_1) {
|
|
661
661
|
// Inline function 'kotlin.text.buildString' call
|
|
662
662
|
// Inline function 'kotlin.apply' call
|
|
663
663
|
var this_0 = StringBuilder_init_$Create$();
|
|
664
|
-
printQuoted(this_0, this.
|
|
664
|
+
printQuoted(this_0, this.n4p_1);
|
|
665
665
|
tmp = this_0.toString();
|
|
666
666
|
} else {
|
|
667
|
-
tmp = this.
|
|
667
|
+
tmp = this.n4p_1;
|
|
668
668
|
}
|
|
669
669
|
return tmp;
|
|
670
670
|
};
|
|
@@ -675,36 +675,36 @@
|
|
|
675
675
|
return false;
|
|
676
676
|
if (!(other instanceof JsonLiteral))
|
|
677
677
|
THROW_CCE();
|
|
678
|
-
if (!(this.
|
|
678
|
+
if (!(this.l4p_1 === other.l4p_1))
|
|
679
679
|
return false;
|
|
680
|
-
if (!(this.
|
|
680
|
+
if (!(this.n4p_1 === other.n4p_1))
|
|
681
681
|
return false;
|
|
682
682
|
return true;
|
|
683
683
|
};
|
|
684
684
|
protoOf(JsonLiteral).hashCode = function () {
|
|
685
|
-
var result = getBooleanHashCode(this.
|
|
686
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
685
|
+
var result = getBooleanHashCode(this.l4p_1);
|
|
686
|
+
result = imul(31, result) + getStringHashCode(this.n4p_1) | 0;
|
|
687
687
|
return result;
|
|
688
688
|
};
|
|
689
689
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
690
690
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
691
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
691
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.d3f());
|
|
692
692
|
}
|
|
693
693
|
function parseLongImpl(_this__u8e3s4) {
|
|
694
694
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
695
|
-
return (new StringJsonLexer(_this__u8e3s4.
|
|
695
|
+
return (new StringJsonLexer(_this__u8e3s4.d3f())).o4p();
|
|
696
696
|
}
|
|
697
697
|
function get_float(_this__u8e3s4) {
|
|
698
698
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
699
699
|
// Inline function 'kotlin.text.toFloat' call
|
|
700
|
-
var this_0 = _this__u8e3s4.
|
|
700
|
+
var this_0 = _this__u8e3s4.d3f();
|
|
701
701
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
702
702
|
// Inline function 'kotlin.js.asDynamic' call
|
|
703
703
|
return toDouble(this_0);
|
|
704
704
|
}
|
|
705
705
|
function get_double(_this__u8e3s4) {
|
|
706
706
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
707
|
-
return toDouble(_this__u8e3s4.
|
|
707
|
+
return toDouble(_this__u8e3s4.d3f());
|
|
708
708
|
}
|
|
709
709
|
function get_contentOrNull(_this__u8e3s4) {
|
|
710
710
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
713
713
|
tmp = null;
|
|
714
714
|
} else {
|
|
715
|
-
tmp = _this__u8e3s4.
|
|
715
|
+
tmp = _this__u8e3s4.d3f();
|
|
716
716
|
}
|
|
717
717
|
return tmp;
|
|
718
718
|
}
|
|
@@ -753,30 +753,30 @@
|
|
|
753
753
|
return Unit_instance;
|
|
754
754
|
}
|
|
755
755
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
756
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
756
|
+
return JsonPrimitiveSerializer_getInstance().p4p_1;
|
|
757
757
|
}
|
|
758
758
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
759
|
-
return JsonNullSerializer_getInstance().
|
|
759
|
+
return JsonNullSerializer_getInstance().q4p_1;
|
|
760
760
|
}
|
|
761
761
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
762
|
-
return JsonLiteralSerializer_getInstance().
|
|
762
|
+
return JsonLiteralSerializer_getInstance().r4p_1;
|
|
763
763
|
}
|
|
764
764
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
765
|
-
return JsonObjectSerializer_getInstance().
|
|
765
|
+
return JsonObjectSerializer_getInstance().s4p_1;
|
|
766
766
|
}
|
|
767
767
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
768
|
-
return JsonArraySerializer_getInstance().
|
|
768
|
+
return JsonArraySerializer_getInstance().t4p_1;
|
|
769
769
|
}
|
|
770
770
|
function JsonElementSerializer() {
|
|
771
771
|
JsonElementSerializer_instance = this;
|
|
772
772
|
var tmp = this;
|
|
773
773
|
var tmp_0 = SEALED_getInstance();
|
|
774
|
-
tmp.
|
|
774
|
+
tmp.u4p_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
775
775
|
}
|
|
776
776
|
protoOf(JsonElementSerializer).r1q = function () {
|
|
777
|
-
return this.
|
|
777
|
+
return this.u4p_1;
|
|
778
778
|
};
|
|
779
|
-
protoOf(JsonElementSerializer).
|
|
779
|
+
protoOf(JsonElementSerializer).v4p = function (encoder, value) {
|
|
780
780
|
verify(encoder);
|
|
781
781
|
if (value instanceof JsonPrimitive) {
|
|
782
782
|
encoder.x1v(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -793,11 +793,11 @@
|
|
|
793
793
|
}
|
|
794
794
|
};
|
|
795
795
|
protoOf(JsonElementSerializer).s1q = function (encoder, value) {
|
|
796
|
-
return this.
|
|
796
|
+
return this.v4p(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
797
797
|
};
|
|
798
798
|
protoOf(JsonElementSerializer).t1q = function (decoder) {
|
|
799
799
|
var input = asJsonDecoder(decoder);
|
|
800
|
-
return input.
|
|
800
|
+
return input.b4p();
|
|
801
801
|
};
|
|
802
802
|
var JsonElementSerializer_instance;
|
|
803
803
|
function JsonElementSerializer_getInstance() {
|
|
@@ -810,12 +810,12 @@
|
|
|
810
810
|
}
|
|
811
811
|
function JsonPrimitiveSerializer() {
|
|
812
812
|
JsonPrimitiveSerializer_instance = this;
|
|
813
|
-
this.
|
|
813
|
+
this.p4p_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
814
814
|
}
|
|
815
815
|
protoOf(JsonPrimitiveSerializer).r1q = function () {
|
|
816
|
-
return this.
|
|
816
|
+
return this.p4p_1;
|
|
817
817
|
};
|
|
818
|
-
protoOf(JsonPrimitiveSerializer).
|
|
818
|
+
protoOf(JsonPrimitiveSerializer).w4p = function (encoder, value) {
|
|
819
819
|
verify(encoder);
|
|
820
820
|
var tmp;
|
|
821
821
|
if (value instanceof JsonNull) {
|
|
@@ -829,10 +829,10 @@
|
|
|
829
829
|
return tmp;
|
|
830
830
|
};
|
|
831
831
|
protoOf(JsonPrimitiveSerializer).s1q = function (encoder, value) {
|
|
832
|
-
return this.
|
|
832
|
+
return this.w4p(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
833
833
|
};
|
|
834
834
|
protoOf(JsonPrimitiveSerializer).t1q = function (decoder) {
|
|
835
|
-
var result = asJsonDecoder(decoder).
|
|
835
|
+
var result = asJsonDecoder(decoder).b4p();
|
|
836
836
|
if (!(result instanceof JsonPrimitive))
|
|
837
837
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
838
838
|
return result;
|
|
@@ -845,17 +845,17 @@
|
|
|
845
845
|
}
|
|
846
846
|
function JsonNullSerializer() {
|
|
847
847
|
JsonNullSerializer_instance = this;
|
|
848
|
-
this.
|
|
848
|
+
this.q4p_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
849
849
|
}
|
|
850
850
|
protoOf(JsonNullSerializer).r1q = function () {
|
|
851
|
-
return this.
|
|
851
|
+
return this.q4p_1;
|
|
852
852
|
};
|
|
853
|
-
protoOf(JsonNullSerializer).
|
|
853
|
+
protoOf(JsonNullSerializer).x4p = function (encoder, value) {
|
|
854
854
|
verify(encoder);
|
|
855
855
|
encoder.a1v();
|
|
856
856
|
};
|
|
857
857
|
protoOf(JsonNullSerializer).s1q = function (encoder, value) {
|
|
858
|
-
return this.
|
|
858
|
+
return this.x4p(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
859
859
|
};
|
|
860
860
|
protoOf(JsonNullSerializer).t1q = function (decoder) {
|
|
861
861
|
verify_0(decoder);
|
|
@@ -873,27 +873,27 @@
|
|
|
873
873
|
}
|
|
874
874
|
function JsonLiteralSerializer() {
|
|
875
875
|
JsonLiteralSerializer_instance = this;
|
|
876
|
-
this.
|
|
876
|
+
this.r4p_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
877
877
|
}
|
|
878
878
|
protoOf(JsonLiteralSerializer).r1q = function () {
|
|
879
|
-
return this.
|
|
879
|
+
return this.r4p_1;
|
|
880
880
|
};
|
|
881
|
-
protoOf(JsonLiteralSerializer).
|
|
881
|
+
protoOf(JsonLiteralSerializer).y4p = function (encoder, value) {
|
|
882
882
|
verify(encoder);
|
|
883
|
-
if (value.
|
|
884
|
-
return encoder.j1v(value.
|
|
883
|
+
if (value.l4p_1) {
|
|
884
|
+
return encoder.j1v(value.n4p_1);
|
|
885
885
|
}
|
|
886
|
-
if (!(value.
|
|
887
|
-
return encoder.l1v(value.
|
|
886
|
+
if (!(value.m4p_1 == null)) {
|
|
887
|
+
return encoder.l1v(value.m4p_1).j1v(value.n4p_1);
|
|
888
888
|
}
|
|
889
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
889
|
+
var tmp0_safe_receiver = toLongOrNull(value.n4p_1);
|
|
890
890
|
if (tmp0_safe_receiver == null)
|
|
891
891
|
null;
|
|
892
892
|
else {
|
|
893
893
|
// Inline function 'kotlin.let' call
|
|
894
894
|
return encoder.f1v(tmp0_safe_receiver);
|
|
895
895
|
}
|
|
896
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
896
|
+
var tmp1_safe_receiver = toULongOrNull(value.n4p_1);
|
|
897
897
|
var tmp = tmp1_safe_receiver;
|
|
898
898
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
899
899
|
null;
|
|
@@ -907,27 +907,27 @@
|
|
|
907
907
|
tmp_1.f1v(tmp$ret$1);
|
|
908
908
|
return Unit_instance;
|
|
909
909
|
}
|
|
910
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
910
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.n4p_1);
|
|
911
911
|
if (tmp2_safe_receiver == null)
|
|
912
912
|
null;
|
|
913
913
|
else {
|
|
914
914
|
// Inline function 'kotlin.let' call
|
|
915
915
|
return encoder.h1v(tmp2_safe_receiver);
|
|
916
916
|
}
|
|
917
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
917
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.n4p_1);
|
|
918
918
|
if (tmp3_safe_receiver == null)
|
|
919
919
|
null;
|
|
920
920
|
else {
|
|
921
921
|
// Inline function 'kotlin.let' call
|
|
922
922
|
return encoder.b1v(tmp3_safe_receiver);
|
|
923
923
|
}
|
|
924
|
-
encoder.j1v(value.
|
|
924
|
+
encoder.j1v(value.n4p_1);
|
|
925
925
|
};
|
|
926
926
|
protoOf(JsonLiteralSerializer).s1q = function (encoder, value) {
|
|
927
|
-
return this.
|
|
927
|
+
return this.y4p(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
928
928
|
};
|
|
929
929
|
protoOf(JsonLiteralSerializer).t1q = function (decoder) {
|
|
930
|
-
var result = asJsonDecoder(decoder).
|
|
930
|
+
var result = asJsonDecoder(decoder).b4p();
|
|
931
931
|
if (!(result instanceof JsonLiteral))
|
|
932
932
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
933
933
|
return result;
|
|
@@ -940,41 +940,41 @@
|
|
|
940
940
|
}
|
|
941
941
|
function JsonObjectDescriptor() {
|
|
942
942
|
JsonObjectDescriptor_instance = this;
|
|
943
|
-
this.
|
|
944
|
-
this.
|
|
943
|
+
this.z4p_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).r1q();
|
|
944
|
+
this.a4q_1 = 'kotlinx.serialization.json.JsonObject';
|
|
945
945
|
}
|
|
946
946
|
protoOf(JsonObjectDescriptor).s1r = function () {
|
|
947
|
-
return this.
|
|
947
|
+
return this.a4q_1;
|
|
948
948
|
};
|
|
949
949
|
protoOf(JsonObjectDescriptor).q1s = function (index) {
|
|
950
|
-
return this.
|
|
950
|
+
return this.z4p_1.q1s(index);
|
|
951
951
|
};
|
|
952
952
|
protoOf(JsonObjectDescriptor).r1s = function (name) {
|
|
953
|
-
return this.
|
|
953
|
+
return this.z4p_1.r1s(name);
|
|
954
954
|
};
|
|
955
955
|
protoOf(JsonObjectDescriptor).s1s = function (index) {
|
|
956
|
-
return this.
|
|
956
|
+
return this.z4p_1.s1s(index);
|
|
957
957
|
};
|
|
958
958
|
protoOf(JsonObjectDescriptor).t1s = function (index) {
|
|
959
|
-
return this.
|
|
959
|
+
return this.z4p_1.t1s(index);
|
|
960
960
|
};
|
|
961
961
|
protoOf(JsonObjectDescriptor).u1s = function (index) {
|
|
962
|
-
return this.
|
|
962
|
+
return this.z4p_1.u1s(index);
|
|
963
963
|
};
|
|
964
964
|
protoOf(JsonObjectDescriptor).m1s = function () {
|
|
965
|
-
return this.
|
|
965
|
+
return this.z4p_1.m1s();
|
|
966
966
|
};
|
|
967
967
|
protoOf(JsonObjectDescriptor).f1s = function () {
|
|
968
|
-
return this.
|
|
968
|
+
return this.z4p_1.f1s();
|
|
969
969
|
};
|
|
970
970
|
protoOf(JsonObjectDescriptor).n1s = function () {
|
|
971
|
-
return this.
|
|
971
|
+
return this.z4p_1.n1s();
|
|
972
972
|
};
|
|
973
973
|
protoOf(JsonObjectDescriptor).o1s = function () {
|
|
974
|
-
return this.
|
|
974
|
+
return this.z4p_1.o1s();
|
|
975
975
|
};
|
|
976
976
|
protoOf(JsonObjectDescriptor).p1s = function () {
|
|
977
|
-
return this.
|
|
977
|
+
return this.z4p_1.p1s();
|
|
978
978
|
};
|
|
979
979
|
var JsonObjectDescriptor_instance;
|
|
980
980
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -984,17 +984,17 @@
|
|
|
984
984
|
}
|
|
985
985
|
function JsonObjectSerializer() {
|
|
986
986
|
JsonObjectSerializer_instance = this;
|
|
987
|
-
this.
|
|
987
|
+
this.s4p_1 = JsonObjectDescriptor_getInstance();
|
|
988
988
|
}
|
|
989
989
|
protoOf(JsonObjectSerializer).r1q = function () {
|
|
990
|
-
return this.
|
|
990
|
+
return this.s4p_1;
|
|
991
991
|
};
|
|
992
|
-
protoOf(JsonObjectSerializer).
|
|
992
|
+
protoOf(JsonObjectSerializer).b4q = function (encoder, value) {
|
|
993
993
|
verify(encoder);
|
|
994
994
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).s1q(encoder, value);
|
|
995
995
|
};
|
|
996
996
|
protoOf(JsonObjectSerializer).s1q = function (encoder, value) {
|
|
997
|
-
return this.
|
|
997
|
+
return this.b4q(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
998
998
|
};
|
|
999
999
|
protoOf(JsonObjectSerializer).t1q = function (decoder) {
|
|
1000
1000
|
verify_0(decoder);
|
|
@@ -1008,41 +1008,41 @@
|
|
|
1008
1008
|
}
|
|
1009
1009
|
function JsonArrayDescriptor() {
|
|
1010
1010
|
JsonArrayDescriptor_instance = this;
|
|
1011
|
-
this.
|
|
1012
|
-
this.
|
|
1011
|
+
this.c4q_1 = ListSerializer(JsonElementSerializer_getInstance()).r1q();
|
|
1012
|
+
this.d4q_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1013
1013
|
}
|
|
1014
1014
|
protoOf(JsonArrayDescriptor).s1r = function () {
|
|
1015
|
-
return this.
|
|
1015
|
+
return this.d4q_1;
|
|
1016
1016
|
};
|
|
1017
1017
|
protoOf(JsonArrayDescriptor).q1s = function (index) {
|
|
1018
|
-
return this.
|
|
1018
|
+
return this.c4q_1.q1s(index);
|
|
1019
1019
|
};
|
|
1020
1020
|
protoOf(JsonArrayDescriptor).r1s = function (name) {
|
|
1021
|
-
return this.
|
|
1021
|
+
return this.c4q_1.r1s(name);
|
|
1022
1022
|
};
|
|
1023
1023
|
protoOf(JsonArrayDescriptor).s1s = function (index) {
|
|
1024
|
-
return this.
|
|
1024
|
+
return this.c4q_1.s1s(index);
|
|
1025
1025
|
};
|
|
1026
1026
|
protoOf(JsonArrayDescriptor).t1s = function (index) {
|
|
1027
|
-
return this.
|
|
1027
|
+
return this.c4q_1.t1s(index);
|
|
1028
1028
|
};
|
|
1029
1029
|
protoOf(JsonArrayDescriptor).u1s = function (index) {
|
|
1030
|
-
return this.
|
|
1030
|
+
return this.c4q_1.u1s(index);
|
|
1031
1031
|
};
|
|
1032
1032
|
protoOf(JsonArrayDescriptor).m1s = function () {
|
|
1033
|
-
return this.
|
|
1033
|
+
return this.c4q_1.m1s();
|
|
1034
1034
|
};
|
|
1035
1035
|
protoOf(JsonArrayDescriptor).f1s = function () {
|
|
1036
|
-
return this.
|
|
1036
|
+
return this.c4q_1.f1s();
|
|
1037
1037
|
};
|
|
1038
1038
|
protoOf(JsonArrayDescriptor).n1s = function () {
|
|
1039
|
-
return this.
|
|
1039
|
+
return this.c4q_1.n1s();
|
|
1040
1040
|
};
|
|
1041
1041
|
protoOf(JsonArrayDescriptor).o1s = function () {
|
|
1042
|
-
return this.
|
|
1042
|
+
return this.c4q_1.o1s();
|
|
1043
1043
|
};
|
|
1044
1044
|
protoOf(JsonArrayDescriptor).p1s = function () {
|
|
1045
|
-
return this.
|
|
1045
|
+
return this.c4q_1.p1s();
|
|
1046
1046
|
};
|
|
1047
1047
|
var JsonArrayDescriptor_instance;
|
|
1048
1048
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -1052,17 +1052,17 @@
|
|
|
1052
1052
|
}
|
|
1053
1053
|
function JsonArraySerializer() {
|
|
1054
1054
|
JsonArraySerializer_instance = this;
|
|
1055
|
-
this.
|
|
1055
|
+
this.t4p_1 = JsonArrayDescriptor_getInstance();
|
|
1056
1056
|
}
|
|
1057
1057
|
protoOf(JsonArraySerializer).r1q = function () {
|
|
1058
|
-
return this.
|
|
1058
|
+
return this.t4p_1;
|
|
1059
1059
|
};
|
|
1060
|
-
protoOf(JsonArraySerializer).
|
|
1060
|
+
protoOf(JsonArraySerializer).e4q = function (encoder, value) {
|
|
1061
1061
|
verify(encoder);
|
|
1062
1062
|
ListSerializer(JsonElementSerializer_getInstance()).s1q(encoder, value);
|
|
1063
1063
|
};
|
|
1064
1064
|
protoOf(JsonArraySerializer).s1q = function (encoder, value) {
|
|
1065
|
-
return this.
|
|
1065
|
+
return this.e4q(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1066
1066
|
};
|
|
1067
1067
|
protoOf(JsonArraySerializer).t1q = function (decoder) {
|
|
1068
1068
|
verify_0(decoder);
|
|
@@ -1101,7 +1101,7 @@
|
|
|
1101
1101
|
return tmp;
|
|
1102
1102
|
}
|
|
1103
1103
|
function _get_original__l7ku1m($this) {
|
|
1104
|
-
var tmp0 = $this.
|
|
1104
|
+
var tmp0 = $this.f4q_1;
|
|
1105
1105
|
var tmp = KProperty1;
|
|
1106
1106
|
// Inline function 'kotlin.getValue' call
|
|
1107
1107
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -1113,7 +1113,7 @@
|
|
|
1113
1113
|
};
|
|
1114
1114
|
}
|
|
1115
1115
|
function defer$1($deferred) {
|
|
1116
|
-
this.
|
|
1116
|
+
this.f4q_1 = lazy($deferred);
|
|
1117
1117
|
}
|
|
1118
1118
|
protoOf(defer$1).s1r = function () {
|
|
1119
1119
|
return _get_original__l7ku1m(this).s1r();
|
|
@@ -1142,155 +1142,155 @@
|
|
|
1142
1142
|
function JsonEncoder() {
|
|
1143
1143
|
}
|
|
1144
1144
|
function Composer(writer) {
|
|
1145
|
-
this.
|
|
1146
|
-
this.
|
|
1145
|
+
this.g4q_1 = writer;
|
|
1146
|
+
this.h4q_1 = true;
|
|
1147
1147
|
}
|
|
1148
|
-
protoOf(Composer).
|
|
1149
|
-
this.
|
|
1148
|
+
protoOf(Composer).i4q = function () {
|
|
1149
|
+
this.h4q_1 = true;
|
|
1150
1150
|
};
|
|
1151
|
-
protoOf(Composer).
|
|
1151
|
+
protoOf(Composer).j4q = function () {
|
|
1152
1152
|
return Unit_instance;
|
|
1153
1153
|
};
|
|
1154
|
-
protoOf(Composer).
|
|
1155
|
-
this.
|
|
1154
|
+
protoOf(Composer).k4q = function () {
|
|
1155
|
+
this.h4q_1 = false;
|
|
1156
1156
|
};
|
|
1157
|
-
protoOf(Composer).
|
|
1158
|
-
this.
|
|
1157
|
+
protoOf(Composer).l4q = function () {
|
|
1158
|
+
this.h4q_1 = false;
|
|
1159
1159
|
};
|
|
1160
|
-
protoOf(Composer).
|
|
1160
|
+
protoOf(Composer).m4q = function () {
|
|
1161
1161
|
return Unit_instance;
|
|
1162
1162
|
};
|
|
1163
|
-
protoOf(Composer).
|
|
1164
|
-
return this.
|
|
1163
|
+
protoOf(Composer).n4q = function (v) {
|
|
1164
|
+
return this.g4q_1.o4q(v);
|
|
1165
1165
|
};
|
|
1166
|
-
protoOf(Composer).
|
|
1167
|
-
return this.
|
|
1166
|
+
protoOf(Composer).p4q = function (v) {
|
|
1167
|
+
return this.g4q_1.q4q(v);
|
|
1168
1168
|
};
|
|
1169
|
-
protoOf(Composer).
|
|
1170
|
-
return this.
|
|
1169
|
+
protoOf(Composer).r4q = function (v) {
|
|
1170
|
+
return this.g4q_1.q4q(v.toString());
|
|
1171
1171
|
};
|
|
1172
|
-
protoOf(Composer).
|
|
1173
|
-
return this.
|
|
1172
|
+
protoOf(Composer).s4q = function (v) {
|
|
1173
|
+
return this.g4q_1.q4q(v.toString());
|
|
1174
1174
|
};
|
|
1175
|
-
protoOf(Composer).
|
|
1176
|
-
return this.
|
|
1175
|
+
protoOf(Composer).t4q = function (v) {
|
|
1176
|
+
return this.g4q_1.u4q(fromInt(v));
|
|
1177
1177
|
};
|
|
1178
|
-
protoOf(Composer).
|
|
1179
|
-
return this.
|
|
1178
|
+
protoOf(Composer).v4q = function (v) {
|
|
1179
|
+
return this.g4q_1.u4q(fromInt(v));
|
|
1180
1180
|
};
|
|
1181
|
-
protoOf(Composer).
|
|
1182
|
-
return this.
|
|
1181
|
+
protoOf(Composer).w4q = function (v) {
|
|
1182
|
+
return this.g4q_1.u4q(fromInt(v));
|
|
1183
1183
|
};
|
|
1184
|
-
protoOf(Composer).
|
|
1185
|
-
return this.
|
|
1184
|
+
protoOf(Composer).x4q = function (v) {
|
|
1185
|
+
return this.g4q_1.u4q(v);
|
|
1186
1186
|
};
|
|
1187
|
-
protoOf(Composer).
|
|
1188
|
-
return this.
|
|
1187
|
+
protoOf(Composer).y4q = function (v) {
|
|
1188
|
+
return this.g4q_1.q4q(v.toString());
|
|
1189
1189
|
};
|
|
1190
|
-
protoOf(Composer).
|
|
1191
|
-
return this.
|
|
1190
|
+
protoOf(Composer).z4q = function (value) {
|
|
1191
|
+
return this.g4q_1.a4r(value);
|
|
1192
1192
|
};
|
|
1193
1193
|
function Composer_0(sb, json) {
|
|
1194
|
-
return json.
|
|
1194
|
+
return json.z4m_1.n4o_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1195
1195
|
}
|
|
1196
1196
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1197
1197
|
Composer.call(this, writer);
|
|
1198
|
-
this.
|
|
1198
|
+
this.d4r_1 = forceQuoting;
|
|
1199
1199
|
}
|
|
1200
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1201
|
-
if (this.
|
|
1200
|
+
protoOf(ComposerForUnsignedNumbers).w4q = function (v) {
|
|
1201
|
+
if (this.d4r_1) {
|
|
1202
1202
|
// Inline function 'kotlin.toUInt' call
|
|
1203
1203
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1204
|
-
this.
|
|
1204
|
+
this.z4q(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1205
1205
|
} else {
|
|
1206
1206
|
// Inline function 'kotlin.toUInt' call
|
|
1207
1207
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1208
|
-
this.
|
|
1208
|
+
this.p4q(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1209
1209
|
}
|
|
1210
1210
|
};
|
|
1211
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1212
|
-
if (this.
|
|
1211
|
+
protoOf(ComposerForUnsignedNumbers).x4q = function (v) {
|
|
1212
|
+
if (this.d4r_1) {
|
|
1213
1213
|
// Inline function 'kotlin.toULong' call
|
|
1214
1214
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1215
|
-
this.
|
|
1215
|
+
this.z4q(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1216
1216
|
} else {
|
|
1217
1217
|
// Inline function 'kotlin.toULong' call
|
|
1218
1218
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1219
|
-
this.
|
|
1219
|
+
this.p4q(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1220
1220
|
}
|
|
1221
1221
|
};
|
|
1222
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1223
|
-
if (this.
|
|
1222
|
+
protoOf(ComposerForUnsignedNumbers).t4q = function (v) {
|
|
1223
|
+
if (this.d4r_1) {
|
|
1224
1224
|
// Inline function 'kotlin.toUByte' call
|
|
1225
1225
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1226
|
-
this.
|
|
1226
|
+
this.z4q(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1227
1227
|
} else {
|
|
1228
1228
|
// Inline function 'kotlin.toUByte' call
|
|
1229
1229
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1230
|
-
this.
|
|
1230
|
+
this.p4q(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1231
1231
|
}
|
|
1232
1232
|
};
|
|
1233
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1234
|
-
if (this.
|
|
1233
|
+
protoOf(ComposerForUnsignedNumbers).v4q = function (v) {
|
|
1234
|
+
if (this.d4r_1) {
|
|
1235
1235
|
// Inline function 'kotlin.toUShort' call
|
|
1236
1236
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1237
|
-
this.
|
|
1237
|
+
this.z4q(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1238
1238
|
} else {
|
|
1239
1239
|
// Inline function 'kotlin.toUShort' call
|
|
1240
1240
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1241
|
-
this.
|
|
1241
|
+
this.p4q(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1242
1242
|
}
|
|
1243
1243
|
};
|
|
1244
1244
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1245
1245
|
Composer.call(this, writer);
|
|
1246
|
-
this.
|
|
1246
|
+
this.g4r_1 = forceQuoting;
|
|
1247
1247
|
}
|
|
1248
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1249
|
-
if (this.
|
|
1250
|
-
protoOf(Composer).
|
|
1248
|
+
protoOf(ComposerForUnquotedLiterals).z4q = function (value) {
|
|
1249
|
+
if (this.g4r_1) {
|
|
1250
|
+
protoOf(Composer).z4q.call(this, value);
|
|
1251
1251
|
} else {
|
|
1252
|
-
protoOf(Composer).
|
|
1252
|
+
protoOf(Composer).p4q.call(this, value);
|
|
1253
1253
|
}
|
|
1254
1254
|
};
|
|
1255
1255
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1256
1256
|
Composer.call(this, writer);
|
|
1257
|
-
this.
|
|
1258
|
-
this.
|
|
1257
|
+
this.j4r_1 = json;
|
|
1258
|
+
this.k4r_1 = 0;
|
|
1259
1259
|
}
|
|
1260
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1260
|
+
protoOf(ComposerWithPrettyPrint).i4q = function () {
|
|
1261
|
+
this.h4q_1 = true;
|
|
1262
|
+
this.k4r_1 = this.k4r_1 + 1 | 0;
|
|
1263
1263
|
};
|
|
1264
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1265
|
-
this.
|
|
1264
|
+
protoOf(ComposerWithPrettyPrint).j4q = function () {
|
|
1265
|
+
this.k4r_1 = this.k4r_1 - 1 | 0;
|
|
1266
1266
|
};
|
|
1267
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1268
|
-
this.
|
|
1269
|
-
this.
|
|
1267
|
+
protoOf(ComposerWithPrettyPrint).k4q = function () {
|
|
1268
|
+
this.h4q_1 = false;
|
|
1269
|
+
this.p4q('\n');
|
|
1270
1270
|
// Inline function 'kotlin.repeat' call
|
|
1271
|
-
var times = this.
|
|
1271
|
+
var times = this.k4r_1;
|
|
1272
1272
|
var inductionVariable = 0;
|
|
1273
1273
|
if (inductionVariable < times)
|
|
1274
1274
|
do {
|
|
1275
1275
|
var index = inductionVariable;
|
|
1276
1276
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1277
|
-
this.
|
|
1277
|
+
this.p4q(this.j4r_1.z4m_1.p4o_1);
|
|
1278
1278
|
}
|
|
1279
1279
|
while (inductionVariable < times);
|
|
1280
1280
|
};
|
|
1281
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1282
|
-
if (this.
|
|
1283
|
-
this.
|
|
1281
|
+
protoOf(ComposerWithPrettyPrint).l4q = function () {
|
|
1282
|
+
if (this.h4q_1)
|
|
1283
|
+
this.h4q_1 = false;
|
|
1284
1284
|
else {
|
|
1285
|
-
this.
|
|
1285
|
+
this.k4q();
|
|
1286
1286
|
}
|
|
1287
1287
|
};
|
|
1288
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1289
|
-
this.
|
|
1288
|
+
protoOf(ComposerWithPrettyPrint).m4q = function () {
|
|
1289
|
+
this.n4q(_Char___init__impl__6a9atx(32));
|
|
1290
1290
|
};
|
|
1291
1291
|
function readIfAbsent($this, descriptor, index) {
|
|
1292
|
-
$this.
|
|
1293
|
-
return $this.
|
|
1292
|
+
$this.m4r_1 = (!descriptor.u1s(index) && descriptor.t1s(index).f1s());
|
|
1293
|
+
return $this.m4r_1;
|
|
1294
1294
|
}
|
|
1295
1295
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
1296
1296
|
var l = function (_this__u8e3s4, p0_0) {
|
|
@@ -1302,14 +1302,14 @@
|
|
|
1302
1302
|
}
|
|
1303
1303
|
function JsonElementMarker(descriptor) {
|
|
1304
1304
|
var tmp = this;
|
|
1305
|
-
tmp.
|
|
1306
|
-
this.
|
|
1305
|
+
tmp.l4r_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1306
|
+
this.m4r_1 = false;
|
|
1307
1307
|
}
|
|
1308
|
-
protoOf(JsonElementMarker).
|
|
1309
|
-
this.
|
|
1308
|
+
protoOf(JsonElementMarker).n4r = function (index) {
|
|
1309
|
+
this.l4r_1.n20(index);
|
|
1310
1310
|
};
|
|
1311
|
-
protoOf(JsonElementMarker).
|
|
1312
|
-
return this.
|
|
1311
|
+
protoOf(JsonElementMarker).o4r = function () {
|
|
1312
|
+
return this.l4r_1.o20();
|
|
1313
1313
|
};
|
|
1314
1314
|
function JsonDecodingException(message) {
|
|
1315
1315
|
JsonException.call(this, message);
|
|
@@ -1348,10 +1348,10 @@
|
|
|
1348
1348
|
}
|
|
1349
1349
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1350
1350
|
entity = entity === VOID ? 'object' : entity;
|
|
1351
|
-
_this__u8e3s4.
|
|
1351
|
+
_this__u8e3s4.p4r('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.l4n_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1352
1352
|
}
|
|
1353
1353
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1354
|
-
_this__u8e3s4.
|
|
1354
|
+
_this__u8e3s4.q4r('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1355
1355
|
}
|
|
1356
1356
|
function JsonEncodingException(message) {
|
|
1357
1357
|
JsonException.call(this, message);
|
|
@@ -1382,7 +1382,7 @@
|
|
|
1382
1382
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
1383
1383
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1384
1384
|
var tmp;
|
|
1385
|
-
if (json.
|
|
1385
|
+
if (json.z4m_1.k4o_1) {
|
|
1386
1386
|
tmp = true;
|
|
1387
1387
|
} else {
|
|
1388
1388
|
var tmp0 = _this__u8e3s4.p1s();
|
|
@@ -1427,7 +1427,7 @@
|
|
|
1427
1427
|
var index = _this__u8e3s4.r1s(name);
|
|
1428
1428
|
if (!(index === -3))
|
|
1429
1429
|
return index;
|
|
1430
|
-
if (!json.
|
|
1430
|
+
if (!json.z4m_1.u4o_1)
|
|
1431
1431
|
return index;
|
|
1432
1432
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1433
1433
|
}
|
|
@@ -1446,28 +1446,28 @@
|
|
|
1446
1446
|
}
|
|
1447
1447
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1448
1448
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1449
|
-
return equals(_this__u8e3s4.m1s(), CLASS_getInstance()) ? json.
|
|
1449
|
+
return equals(_this__u8e3s4.m1s(), CLASS_getInstance()) ? json.z4m_1.v4o_1 : null;
|
|
1450
1450
|
}
|
|
1451
1451
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1452
1452
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1453
1453
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1454
1454
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1455
|
-
return tmp.
|
|
1455
|
+
return tmp.s4r(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1456
1456
|
}
|
|
1457
1457
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1458
1458
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1459
|
-
return _this__u8e3s4.
|
|
1459
|
+
return _this__u8e3s4.z4m_1.w4o_1 && equals(descriptor.m1s(), ENUM_getInstance());
|
|
1460
1460
|
}
|
|
1461
1461
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1462
1462
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1463
|
-
var tmp0_elvis_lhs = deserializationNamesMap(json, _this__u8e3s4).
|
|
1463
|
+
var tmp0_elvis_lhs = deserializationNamesMap(json, _this__u8e3s4).z2(name);
|
|
1464
1464
|
return tmp0_elvis_lhs == null ? -3 : tmp0_elvis_lhs;
|
|
1465
1465
|
}
|
|
1466
1466
|
function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
1467
1467
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1468
1468
|
var tmp = get_schemaCache(json);
|
|
1469
1469
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1470
|
-
return tmp.
|
|
1470
|
+
return tmp.s4r(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1471
1471
|
}
|
|
1472
1472
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1473
1473
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1493,7 +1493,7 @@
|
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
1495
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1496
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1496
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t4r_1;
|
|
1497
1497
|
if (tmp1_safe_receiver == null)
|
|
1498
1498
|
null;
|
|
1499
1499
|
else {
|
|
@@ -1520,7 +1520,7 @@
|
|
|
1520
1520
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1521
1521
|
tmp_0 = _this__u8e3s4.q1s(i).toLowerCase();
|
|
1522
1522
|
} else if (!(strategyForClasses == null)) {
|
|
1523
|
-
tmp_0 = strategyForClasses.
|
|
1523
|
+
tmp_0 = strategyForClasses.u4r(_this__u8e3s4, i, _this__u8e3s4.q1s(i));
|
|
1524
1524
|
} else {
|
|
1525
1525
|
tmp_0 = null;
|
|
1526
1526
|
}
|
|
@@ -1556,7 +1556,7 @@
|
|
|
1556
1556
|
while (tmp < tmp_0) {
|
|
1557
1557
|
var tmp_2 = tmp;
|
|
1558
1558
|
var baseName = $this_serializationNamesIndices.q1s(tmp_2);
|
|
1559
|
-
tmp_1[tmp_2] = $strategy.
|
|
1559
|
+
tmp_1[tmp_2] = $strategy.u4r($this_serializationNamesIndices, tmp_2, baseName);
|
|
1560
1560
|
tmp = tmp + 1 | 0;
|
|
1561
1561
|
}
|
|
1562
1562
|
return tmp_1;
|
|
@@ -1566,11 +1566,11 @@
|
|
|
1566
1566
|
var entity = equals($this_buildDeserializationNamesMap.m1s(), ENUM_getInstance()) ? 'enum value' : 'property';
|
|
1567
1567
|
// Inline function 'kotlin.collections.contains' call
|
|
1568
1568
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1569
|
-
if ((isInterface(_this__u8e3s4, KtMap) ? _this__u8e3s4 : THROW_CCE()).
|
|
1569
|
+
if ((isInterface(_this__u8e3s4, KtMap) ? _this__u8e3s4 : THROW_CCE()).x2(name)) {
|
|
1570
1570
|
throw new JsonException("The suggested name '" + name + "' for " + entity + ' ' + $this_buildDeserializationNamesMap.q1s(index) + ' is already one of the names for ' + entity + ' ' + ($this_buildDeserializationNamesMap.q1s(getValue(_this__u8e3s4, name)) + ' in ' + toString($this_buildDeserializationNamesMap)));
|
|
1571
1571
|
}
|
|
1572
1572
|
// Inline function 'kotlin.collections.set' call
|
|
1573
|
-
_this__u8e3s4.
|
|
1573
|
+
_this__u8e3s4.s2(name, index);
|
|
1574
1574
|
}
|
|
1575
1575
|
var properties_initialized_JsonNamesMap_kt_ljpf42;
|
|
1576
1576
|
function _init_properties_JsonNamesMap_kt__cbbp0k() {
|
|
@@ -1587,8 +1587,8 @@
|
|
|
1587
1587
|
return Tombstone_instance;
|
|
1588
1588
|
}
|
|
1589
1589
|
function resize($this) {
|
|
1590
|
-
var newSize = imul($this.
|
|
1591
|
-
$this.
|
|
1590
|
+
var newSize = imul($this.x4r_1, 2);
|
|
1591
|
+
$this.v4r_1 = copyOf($this.v4r_1, newSize);
|
|
1592
1592
|
var tmp = 0;
|
|
1593
1593
|
var tmp_0 = new Int32Array(newSize);
|
|
1594
1594
|
while (tmp < newSize) {
|
|
@@ -1597,7 +1597,7 @@
|
|
|
1597
1597
|
}
|
|
1598
1598
|
var newIndices = tmp_0;
|
|
1599
1599
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1600
|
-
var this_0 = $this.
|
|
1600
|
+
var this_0 = $this.w4r_1;
|
|
1601
1601
|
var endIndex = this_0.length;
|
|
1602
1602
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1603
1603
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1605,12 +1605,12 @@
|
|
|
1605
1605
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1606
1606
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1607
1607
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
1608
|
-
$this.
|
|
1608
|
+
$this.w4r_1 = newIndices;
|
|
1609
1609
|
}
|
|
1610
1610
|
function JsonPath() {
|
|
1611
1611
|
var tmp = this;
|
|
1612
1612
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1613
|
-
tmp.
|
|
1613
|
+
tmp.v4r_1 = Array(8);
|
|
1614
1614
|
var tmp_0 = this;
|
|
1615
1615
|
var tmp_1 = 0;
|
|
1616
1616
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1618,71 +1618,71 @@
|
|
|
1618
1618
|
tmp_2[tmp_1] = -1;
|
|
1619
1619
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1620
1620
|
}
|
|
1621
|
-
tmp_0.
|
|
1622
|
-
this.
|
|
1621
|
+
tmp_0.w4r_1 = tmp_2;
|
|
1622
|
+
this.x4r_1 = -1;
|
|
1623
1623
|
}
|
|
1624
|
-
protoOf(JsonPath).
|
|
1625
|
-
this.
|
|
1626
|
-
var depth = this.
|
|
1627
|
-
if (depth === this.
|
|
1624
|
+
protoOf(JsonPath).y4r = function (sd) {
|
|
1625
|
+
this.x4r_1 = this.x4r_1 + 1 | 0;
|
|
1626
|
+
var depth = this.x4r_1;
|
|
1627
|
+
if (depth === this.v4r_1.length) {
|
|
1628
1628
|
resize(this);
|
|
1629
1629
|
}
|
|
1630
|
-
this.
|
|
1630
|
+
this.v4r_1[depth] = sd;
|
|
1631
1631
|
};
|
|
1632
|
-
protoOf(JsonPath).
|
|
1633
|
-
this.
|
|
1632
|
+
protoOf(JsonPath).z4r = function (index) {
|
|
1633
|
+
this.w4r_1[this.x4r_1] = index;
|
|
1634
1634
|
};
|
|
1635
|
-
protoOf(JsonPath).
|
|
1635
|
+
protoOf(JsonPath).a4s = function (key) {
|
|
1636
1636
|
var tmp;
|
|
1637
|
-
if (!(this.
|
|
1638
|
-
this.
|
|
1639
|
-
tmp = this.
|
|
1637
|
+
if (!(this.w4r_1[this.x4r_1] === -2)) {
|
|
1638
|
+
this.x4r_1 = this.x4r_1 + 1 | 0;
|
|
1639
|
+
tmp = this.x4r_1 === this.v4r_1.length;
|
|
1640
1640
|
} else {
|
|
1641
1641
|
tmp = false;
|
|
1642
1642
|
}
|
|
1643
1643
|
if (tmp) {
|
|
1644
1644
|
resize(this);
|
|
1645
1645
|
}
|
|
1646
|
-
this.
|
|
1647
|
-
this.
|
|
1646
|
+
this.v4r_1[this.x4r_1] = key;
|
|
1647
|
+
this.w4r_1[this.x4r_1] = -2;
|
|
1648
1648
|
};
|
|
1649
|
-
protoOf(JsonPath).
|
|
1650
|
-
if (this.
|
|
1651
|
-
this.
|
|
1649
|
+
protoOf(JsonPath).b4s = function () {
|
|
1650
|
+
if (this.w4r_1[this.x4r_1] === -2) {
|
|
1651
|
+
this.v4r_1[this.x4r_1] = Tombstone_instance;
|
|
1652
1652
|
}
|
|
1653
1653
|
};
|
|
1654
|
-
protoOf(JsonPath).
|
|
1655
|
-
var depth = this.
|
|
1656
|
-
if (this.
|
|
1657
|
-
this.
|
|
1658
|
-
this.
|
|
1654
|
+
protoOf(JsonPath).c4s = function () {
|
|
1655
|
+
var depth = this.x4r_1;
|
|
1656
|
+
if (this.w4r_1[depth] === -2) {
|
|
1657
|
+
this.w4r_1[depth] = -1;
|
|
1658
|
+
this.x4r_1 = this.x4r_1 - 1 | 0;
|
|
1659
1659
|
}
|
|
1660
|
-
if (!(this.
|
|
1661
|
-
this.
|
|
1660
|
+
if (!(this.x4r_1 === -1)) {
|
|
1661
|
+
this.x4r_1 = this.x4r_1 - 1 | 0;
|
|
1662
1662
|
}
|
|
1663
1663
|
};
|
|
1664
|
-
protoOf(JsonPath).
|
|
1664
|
+
protoOf(JsonPath).d4s = function () {
|
|
1665
1665
|
// Inline function 'kotlin.text.buildString' call
|
|
1666
1666
|
// Inline function 'kotlin.apply' call
|
|
1667
1667
|
var this_0 = StringBuilder_init_$Create$();
|
|
1668
1668
|
this_0.q('$');
|
|
1669
1669
|
// Inline function 'kotlin.repeat' call
|
|
1670
|
-
var times = this.
|
|
1670
|
+
var times = this.x4r_1 + 1 | 0;
|
|
1671
1671
|
var inductionVariable = 0;
|
|
1672
1672
|
if (inductionVariable < times)
|
|
1673
1673
|
do {
|
|
1674
1674
|
var index = inductionVariable;
|
|
1675
1675
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1676
|
-
var element = this.
|
|
1676
|
+
var element = this.v4r_1[index];
|
|
1677
1677
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1678
1678
|
if (equals(element.m1s(), LIST_getInstance())) {
|
|
1679
|
-
if (!(this.
|
|
1679
|
+
if (!(this.w4r_1[index] === -1)) {
|
|
1680
1680
|
this_0.q('[');
|
|
1681
|
-
this_0.vb(this.
|
|
1681
|
+
this_0.vb(this.w4r_1[index]);
|
|
1682
1682
|
this_0.q(']');
|
|
1683
1683
|
}
|
|
1684
1684
|
} else {
|
|
1685
|
-
var idx = this.
|
|
1685
|
+
var idx = this.w4r_1[index];
|
|
1686
1686
|
if (idx >= 0) {
|
|
1687
1687
|
this_0.q('.');
|
|
1688
1688
|
this_0.q(element.q1s(idx));
|
|
@@ -1702,7 +1702,7 @@
|
|
|
1702
1702
|
return this_0.toString();
|
|
1703
1703
|
};
|
|
1704
1704
|
protoOf(JsonPath).toString = function () {
|
|
1705
|
-
return this.
|
|
1705
|
+
return this.d4s();
|
|
1706
1706
|
};
|
|
1707
1707
|
function checkKind($this, descriptor, actualClass) {
|
|
1708
1708
|
var kind = descriptor.m1s();
|
|
@@ -1715,9 +1715,9 @@
|
|
|
1715
1715
|
if (tmp) {
|
|
1716
1716
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.o() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind.toString() + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
1717
1717
|
}
|
|
1718
|
-
if ($this.
|
|
1718
|
+
if ($this.f4s_1)
|
|
1719
1719
|
return Unit_instance;
|
|
1720
|
-
if (!$this.
|
|
1720
|
+
if (!$this.g4s_1)
|
|
1721
1721
|
return Unit_instance;
|
|
1722
1722
|
var tmp_0;
|
|
1723
1723
|
var tmp_1;
|
|
@@ -1743,23 +1743,23 @@
|
|
|
1743
1743
|
var i = inductionVariable;
|
|
1744
1744
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1745
1745
|
var name = descriptor.q1s(i);
|
|
1746
|
-
if (name === $this.
|
|
1746
|
+
if (name === $this.e4s_1) {
|
|
1747
1747
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism');
|
|
1748
1748
|
}
|
|
1749
1749
|
}
|
|
1750
1750
|
while (inductionVariable < last);
|
|
1751
1751
|
}
|
|
1752
1752
|
function JsonSerializersModuleValidator(configuration) {
|
|
1753
|
-
this.
|
|
1754
|
-
this.
|
|
1755
|
-
this.
|
|
1753
|
+
this.e4s_1 = configuration.s4o_1;
|
|
1754
|
+
this.f4s_1 = configuration.r4o_1;
|
|
1755
|
+
this.g4s_1 = !configuration.z4o_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
1756
1756
|
}
|
|
1757
1757
|
protoOf(JsonSerializersModuleValidator).z2a = function (kClass, provider) {
|
|
1758
1758
|
};
|
|
1759
1759
|
protoOf(JsonSerializersModuleValidator).c2b = function (baseClass, actualClass, actualSerializer) {
|
|
1760
1760
|
var descriptor = actualSerializer.r1q();
|
|
1761
1761
|
checkKind(this, descriptor, actualClass);
|
|
1762
|
-
if (!this.
|
|
1762
|
+
if (!this.f4s_1 && this.g4s_1) {
|
|
1763
1763
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1764
1764
|
}
|
|
1765
1765
|
};
|
|
@@ -1777,34 +1777,34 @@
|
|
|
1777
1777
|
}
|
|
1778
1778
|
function readObject($this) {
|
|
1779
1779
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1780
|
-
var lastToken = $this.
|
|
1781
|
-
if ($this.
|
|
1782
|
-
$this.
|
|
1780
|
+
var lastToken = $this.q4s_1.u4s(6);
|
|
1781
|
+
if ($this.q4s_1.v4s() === 4) {
|
|
1782
|
+
$this.q4s_1.q4r('Unexpected leading comma');
|
|
1783
1783
|
}
|
|
1784
1784
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1785
1785
|
var result = LinkedHashMap_init_$Create$();
|
|
1786
|
-
$l$loop: while ($this.
|
|
1787
|
-
var key = $this.
|
|
1788
|
-
$this.
|
|
1789
|
-
var element = $this.
|
|
1786
|
+
$l$loop: while ($this.q4s_1.w4s()) {
|
|
1787
|
+
var key = $this.r4s_1 ? $this.q4s_1.y4s() : $this.q4s_1.x4s();
|
|
1788
|
+
$this.q4s_1.u4s(5);
|
|
1789
|
+
var element = $this.z4s();
|
|
1790
1790
|
// Inline function 'kotlin.collections.set' call
|
|
1791
|
-
result.
|
|
1792
|
-
lastToken = $this.
|
|
1791
|
+
result.s2(key, element);
|
|
1792
|
+
lastToken = $this.q4s_1.a4t();
|
|
1793
1793
|
var tmp0_subject = lastToken;
|
|
1794
1794
|
if (tmp0_subject !== 4)
|
|
1795
1795
|
if (tmp0_subject === 7)
|
|
1796
1796
|
break $l$loop;
|
|
1797
1797
|
else {
|
|
1798
|
-
$this.
|
|
1798
|
+
$this.q4s_1.q4r('Expected end of the object or comma');
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
1801
1801
|
if (lastToken === 6) {
|
|
1802
|
-
$this.
|
|
1802
|
+
$this.q4s_1.u4s(7);
|
|
1803
1803
|
} else if (lastToken === 4) {
|
|
1804
|
-
if (!$this.
|
|
1805
|
-
invalidTrailingComma($this.
|
|
1804
|
+
if (!$this.s4s_1) {
|
|
1805
|
+
invalidTrailingComma($this.q4s_1);
|
|
1806
1806
|
}
|
|
1807
|
-
$this.
|
|
1807
|
+
$this.q4s_1.u4s(7);
|
|
1808
1808
|
}
|
|
1809
1809
|
return new JsonObject(result);
|
|
1810
1810
|
}
|
|
@@ -1815,43 +1815,43 @@
|
|
|
1815
1815
|
return tmp.o8();
|
|
1816
1816
|
}
|
|
1817
1817
|
function readArray($this) {
|
|
1818
|
-
var lastToken = $this.
|
|
1819
|
-
if ($this.
|
|
1820
|
-
$this.
|
|
1818
|
+
var lastToken = $this.q4s_1.a4t();
|
|
1819
|
+
if ($this.q4s_1.v4s() === 4) {
|
|
1820
|
+
$this.q4s_1.q4r('Unexpected leading comma');
|
|
1821
1821
|
}
|
|
1822
1822
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1823
1823
|
var result = ArrayList_init_$Create$();
|
|
1824
|
-
while ($this.
|
|
1825
|
-
var element = $this.
|
|
1824
|
+
while ($this.q4s_1.w4s()) {
|
|
1825
|
+
var element = $this.z4s();
|
|
1826
1826
|
result.e1(element);
|
|
1827
|
-
lastToken = $this.
|
|
1827
|
+
lastToken = $this.q4s_1.a4t();
|
|
1828
1828
|
if (!(lastToken === 4)) {
|
|
1829
|
-
var tmp0 = $this.
|
|
1829
|
+
var tmp0 = $this.q4s_1;
|
|
1830
1830
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1831
1831
|
var condition = lastToken === 9;
|
|
1832
|
-
var position = tmp0.
|
|
1832
|
+
var position = tmp0.l4n_1;
|
|
1833
1833
|
if (!condition) {
|
|
1834
1834
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1835
|
-
tmp0.
|
|
1835
|
+
tmp0.q4r(tmp$ret$1, position);
|
|
1836
1836
|
}
|
|
1837
1837
|
}
|
|
1838
1838
|
}
|
|
1839
1839
|
if (lastToken === 8) {
|
|
1840
|
-
$this.
|
|
1840
|
+
$this.q4s_1.u4s(9);
|
|
1841
1841
|
} else if (lastToken === 4) {
|
|
1842
|
-
if (!$this.
|
|
1843
|
-
invalidTrailingComma($this.
|
|
1842
|
+
if (!$this.s4s_1) {
|
|
1843
|
+
invalidTrailingComma($this.q4s_1, 'array');
|
|
1844
1844
|
}
|
|
1845
|
-
$this.
|
|
1845
|
+
$this.q4s_1.u4s(9);
|
|
1846
1846
|
}
|
|
1847
1847
|
return new JsonArray(result);
|
|
1848
1848
|
}
|
|
1849
1849
|
function readValue($this, isString) {
|
|
1850
1850
|
var tmp;
|
|
1851
|
-
if ($this.
|
|
1852
|
-
tmp = $this.
|
|
1851
|
+
if ($this.r4s_1 || !isString) {
|
|
1852
|
+
tmp = $this.q4s_1.y4s();
|
|
1853
1853
|
} else {
|
|
1854
|
-
tmp = $this.
|
|
1854
|
+
tmp = $this.q4s_1.x4s();
|
|
1855
1855
|
}
|
|
1856
1856
|
var string = tmp;
|
|
1857
1857
|
if (!isString && string === 'null')
|
|
@@ -1862,18 +1862,18 @@
|
|
|
1862
1862
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1863
1863
|
}
|
|
1864
1864
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1865
|
-
this.
|
|
1865
|
+
this.x4t_1 = this$0;
|
|
1866
1866
|
CoroutineImpl.call(this, resultContinuation);
|
|
1867
1867
|
}
|
|
1868
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1869
|
-
var tmp = this.
|
|
1868
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).b4u = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1869
|
+
var tmp = this.c4u($this$DeepRecursiveFunction, it, $completion);
|
|
1870
1870
|
tmp.i8_1 = Unit_instance;
|
|
1871
1871
|
tmp.j8_1 = null;
|
|
1872
1872
|
return tmp.o8();
|
|
1873
1873
|
};
|
|
1874
1874
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).b9 = function (p1, p2, $completion) {
|
|
1875
1875
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1876
|
-
return this.
|
|
1876
|
+
return this.b4u(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1877
1877
|
};
|
|
1878
1878
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).o8 = function () {
|
|
1879
1879
|
var suspendResult = this.i8_1;
|
|
@@ -1883,32 +1883,32 @@
|
|
|
1883
1883
|
switch (tmp) {
|
|
1884
1884
|
case 0:
|
|
1885
1885
|
this.h8_1 = 3;
|
|
1886
|
-
var tmp0_subject = this.
|
|
1886
|
+
var tmp0_subject = this.x4t_1.q4s_1.v4s();
|
|
1887
1887
|
if (tmp0_subject === 1) {
|
|
1888
|
-
this.
|
|
1888
|
+
this.a4u_1 = readValue(this.x4t_1, true);
|
|
1889
1889
|
this.g8_1 = 2;
|
|
1890
1890
|
continue $sm;
|
|
1891
1891
|
} else {
|
|
1892
1892
|
if (tmp0_subject === 0) {
|
|
1893
|
-
this.
|
|
1893
|
+
this.a4u_1 = readValue(this.x4t_1, false);
|
|
1894
1894
|
this.g8_1 = 2;
|
|
1895
1895
|
continue $sm;
|
|
1896
1896
|
} else {
|
|
1897
1897
|
if (tmp0_subject === 6) {
|
|
1898
1898
|
this.g8_1 = 1;
|
|
1899
|
-
suspendResult = readObject_0(this.
|
|
1899
|
+
suspendResult = readObject_0(this.x4t_1, this.y4t_1, this);
|
|
1900
1900
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1901
1901
|
return suspendResult;
|
|
1902
1902
|
}
|
|
1903
1903
|
continue $sm;
|
|
1904
1904
|
} else {
|
|
1905
1905
|
if (tmp0_subject === 8) {
|
|
1906
|
-
this.
|
|
1906
|
+
this.a4u_1 = readArray(this.x4t_1);
|
|
1907
1907
|
this.g8_1 = 2;
|
|
1908
1908
|
continue $sm;
|
|
1909
1909
|
} else {
|
|
1910
1910
|
var tmp_0 = this;
|
|
1911
|
-
this.
|
|
1911
|
+
this.x4t_1.q4s_1.q4r("Can't begin reading element, unexpected token");
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
@@ -1916,11 +1916,11 @@
|
|
|
1916
1916
|
|
|
1917
1917
|
break;
|
|
1918
1918
|
case 1:
|
|
1919
|
-
this.
|
|
1919
|
+
this.a4u_1 = suspendResult;
|
|
1920
1920
|
this.g8_1 = 2;
|
|
1921
1921
|
continue $sm;
|
|
1922
1922
|
case 2:
|
|
1923
|
-
return this.
|
|
1923
|
+
return this.a4u_1;
|
|
1924
1924
|
case 3:
|
|
1925
1925
|
throw this.j8_1;
|
|
1926
1926
|
}
|
|
@@ -1935,24 +1935,24 @@
|
|
|
1935
1935
|
}
|
|
1936
1936
|
while (true);
|
|
1937
1937
|
};
|
|
1938
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1939
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1940
|
-
i.
|
|
1941
|
-
i.
|
|
1938
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).c4u = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1939
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.x4t_1, completion);
|
|
1940
|
+
i.y4t_1 = $this$DeepRecursiveFunction;
|
|
1941
|
+
i.z4t_1 = it;
|
|
1942
1942
|
return i;
|
|
1943
1943
|
};
|
|
1944
1944
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1945
1945
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1946
1946
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1947
|
-
return i.
|
|
1947
|
+
return i.b4u($this$DeepRecursiveFunction, it, $completion);
|
|
1948
1948
|
};
|
|
1949
1949
|
l.$arity = 2;
|
|
1950
1950
|
return l;
|
|
1951
1951
|
}
|
|
1952
1952
|
function $readObjectCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1953
1953
|
CoroutineImpl.call(this, resultContinuation);
|
|
1954
|
-
this.
|
|
1955
|
-
this.
|
|
1954
|
+
this.j4t_1 = _this__u8e3s4;
|
|
1955
|
+
this.k4t_1 = _this__u8e3s4_0;
|
|
1956
1956
|
}
|
|
1957
1957
|
protoOf($readObjectCOROUTINE$).o8 = function () {
|
|
1958
1958
|
var suspendResult = this.i8_1;
|
|
@@ -1962,26 +1962,26 @@
|
|
|
1962
1962
|
switch (tmp) {
|
|
1963
1963
|
case 0:
|
|
1964
1964
|
this.h8_1 = 5;
|
|
1965
|
-
this.
|
|
1966
|
-
this.
|
|
1967
|
-
if (this.
|
|
1968
|
-
this.
|
|
1965
|
+
this.m4t_1 = this.j4t_1;
|
|
1966
|
+
this.n4t_1 = this.m4t_1.q4s_1.u4s(6);
|
|
1967
|
+
if (this.m4t_1.q4s_1.v4s() === 4) {
|
|
1968
|
+
this.m4t_1.q4s_1.q4r('Unexpected leading comma');
|
|
1969
1969
|
}
|
|
1970
1970
|
|
|
1971
1971
|
var tmp_0 = this;
|
|
1972
|
-
tmp_0.
|
|
1972
|
+
tmp_0.l4t_1 = LinkedHashMap_init_$Create$();
|
|
1973
1973
|
this.g8_1 = 1;
|
|
1974
1974
|
continue $sm;
|
|
1975
1975
|
case 1:
|
|
1976
|
-
if (!this.
|
|
1976
|
+
if (!this.m4t_1.q4s_1.w4s()) {
|
|
1977
1977
|
this.g8_1 = 4;
|
|
1978
1978
|
continue $sm;
|
|
1979
1979
|
}
|
|
1980
1980
|
|
|
1981
|
-
this.
|
|
1982
|
-
this.
|
|
1981
|
+
this.o4t_1 = this.m4t_1.r4s_1 ? this.m4t_1.q4s_1.y4s() : this.m4t_1.q4s_1.x4s();
|
|
1982
|
+
this.m4t_1.q4s_1.u4s(5);
|
|
1983
1983
|
this.g8_1 = 2;
|
|
1984
|
-
suspendResult = this.
|
|
1984
|
+
suspendResult = this.k4t_1.jk(Unit_instance, this);
|
|
1985
1985
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1986
1986
|
return suspendResult;
|
|
1987
1987
|
}
|
|
@@ -1989,11 +1989,11 @@
|
|
|
1989
1989
|
continue $sm;
|
|
1990
1990
|
case 2:
|
|
1991
1991
|
var element = suspendResult;
|
|
1992
|
-
var tmp0 = this.
|
|
1993
|
-
var key = this.
|
|
1994
|
-
tmp0.
|
|
1995
|
-
this.
|
|
1996
|
-
var tmp0_subject = this.
|
|
1992
|
+
var tmp0 = this.l4t_1;
|
|
1993
|
+
var key = this.o4t_1;
|
|
1994
|
+
tmp0.s2(key, element);
|
|
1995
|
+
this.n4t_1 = this.m4t_1.q4s_1.a4t();
|
|
1996
|
+
var tmp0_subject = this.n4t_1;
|
|
1997
1997
|
if (tmp0_subject === 4) {
|
|
1998
1998
|
this.g8_1 = 3;
|
|
1999
1999
|
continue $sm;
|
|
@@ -2002,7 +2002,7 @@
|
|
|
2002
2002
|
this.g8_1 = 4;
|
|
2003
2003
|
continue $sm;
|
|
2004
2004
|
} else {
|
|
2005
|
-
this.
|
|
2005
|
+
this.m4t_1.q4s_1.q4r('Expected end of the object or comma');
|
|
2006
2006
|
}
|
|
2007
2007
|
}
|
|
2008
2008
|
|
|
@@ -2011,16 +2011,16 @@
|
|
|
2011
2011
|
this.g8_1 = 1;
|
|
2012
2012
|
continue $sm;
|
|
2013
2013
|
case 4:
|
|
2014
|
-
if (this.
|
|
2015
|
-
this.
|
|
2016
|
-
} else if (this.
|
|
2017
|
-
if (!this.
|
|
2018
|
-
invalidTrailingComma(this.
|
|
2014
|
+
if (this.n4t_1 === 6) {
|
|
2015
|
+
this.m4t_1.q4s_1.u4s(7);
|
|
2016
|
+
} else if (this.n4t_1 === 4) {
|
|
2017
|
+
if (!this.m4t_1.s4s_1) {
|
|
2018
|
+
invalidTrailingComma(this.m4t_1.q4s_1);
|
|
2019
2019
|
}
|
|
2020
|
-
this.
|
|
2020
|
+
this.m4t_1.q4s_1.u4s(7);
|
|
2021
2021
|
}
|
|
2022
2022
|
|
|
2023
|
-
return new JsonObject(this.
|
|
2023
|
+
return new JsonObject(this.l4t_1);
|
|
2024
2024
|
case 5:
|
|
2025
2025
|
throw this.j8_1;
|
|
2026
2026
|
}
|
|
@@ -2036,13 +2036,13 @@
|
|
|
2036
2036
|
while (true);
|
|
2037
2037
|
};
|
|
2038
2038
|
function JsonTreeReader(configuration, lexer) {
|
|
2039
|
-
this.
|
|
2040
|
-
this.
|
|
2041
|
-
this.
|
|
2042
|
-
this.
|
|
2039
|
+
this.q4s_1 = lexer;
|
|
2040
|
+
this.r4s_1 = configuration.l4o_1;
|
|
2041
|
+
this.s4s_1 = configuration.x4o_1;
|
|
2042
|
+
this.t4s_1 = 0;
|
|
2043
2043
|
}
|
|
2044
|
-
protoOf(JsonTreeReader).
|
|
2045
|
-
var token = this.
|
|
2044
|
+
protoOf(JsonTreeReader).z4s = function () {
|
|
2045
|
+
var token = this.q4s_1.v4s();
|
|
2046
2046
|
var tmp;
|
|
2047
2047
|
if (token === 1) {
|
|
2048
2048
|
tmp = readValue(this, true);
|
|
@@ -2050,19 +2050,19 @@
|
|
|
2050
2050
|
tmp = readValue(this, false);
|
|
2051
2051
|
} else if (token === 6) {
|
|
2052
2052
|
var tmp_0;
|
|
2053
|
-
this.
|
|
2054
|
-
if (this.
|
|
2053
|
+
this.t4s_1 = this.t4s_1 + 1 | 0;
|
|
2054
|
+
if (this.t4s_1 === 200) {
|
|
2055
2055
|
tmp_0 = readDeepRecursive(this);
|
|
2056
2056
|
} else {
|
|
2057
2057
|
tmp_0 = readObject(this);
|
|
2058
2058
|
}
|
|
2059
2059
|
var result = tmp_0;
|
|
2060
|
-
this.
|
|
2060
|
+
this.t4s_1 = this.t4s_1 - 1 | 0;
|
|
2061
2061
|
tmp = result;
|
|
2062
2062
|
} else if (token === 8) {
|
|
2063
2063
|
tmp = readArray(this);
|
|
2064
2064
|
} else {
|
|
2065
|
-
this.
|
|
2065
|
+
this.q4s_1.q4r('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
2066
2066
|
}
|
|
2067
2067
|
return tmp;
|
|
2068
2068
|
};
|
|
@@ -2071,9 +2071,9 @@
|
|
|
2071
2071
|
while (_iterator__ex2g4s.u()) {
|
|
2072
2072
|
var annotation = _iterator__ex2g4s.v();
|
|
2073
2073
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2074
|
-
return annotation.
|
|
2074
|
+
return annotation.d4u_1;
|
|
2075
2075
|
}
|
|
2076
|
-
return json.
|
|
2076
|
+
return json.z4m_1.s4o_1;
|
|
2077
2077
|
}
|
|
2078
2078
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2079
2079
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -2109,16 +2109,16 @@
|
|
|
2109
2109
|
function Key() {
|
|
2110
2110
|
}
|
|
2111
2111
|
function DescriptorSchemaCache() {
|
|
2112
|
-
this.
|
|
2112
|
+
this.r4r_1 = createMapForCache(16);
|
|
2113
2113
|
}
|
|
2114
|
-
protoOf(DescriptorSchemaCache).
|
|
2114
|
+
protoOf(DescriptorSchemaCache).e4u = function (descriptor, key, value) {
|
|
2115
2115
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2116
|
-
var this_0 = this.
|
|
2117
|
-
var value_0 = this_0.
|
|
2116
|
+
var this_0 = this.r4r_1;
|
|
2117
|
+
var value_0 = this_0.z2(descriptor);
|
|
2118
2118
|
var tmp;
|
|
2119
2119
|
if (value_0 == null) {
|
|
2120
2120
|
var answer = createMapForCache(2);
|
|
2121
|
-
this_0.
|
|
2121
|
+
this_0.s2(descriptor, answer);
|
|
2122
2122
|
tmp = answer;
|
|
2123
2123
|
} else {
|
|
2124
2124
|
tmp = value_0;
|
|
@@ -2127,10 +2127,10 @@
|
|
|
2127
2127
|
var tmp2 = key instanceof Key ? key : THROW_CCE();
|
|
2128
2128
|
// Inline function 'kotlin.collections.set' call
|
|
2129
2129
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2130
|
-
tmp0.
|
|
2130
|
+
tmp0.s2(tmp2, value_1);
|
|
2131
2131
|
};
|
|
2132
|
-
protoOf(DescriptorSchemaCache).
|
|
2133
|
-
var tmp0_safe_receiver = this.
|
|
2132
|
+
protoOf(DescriptorSchemaCache).s4r = function (descriptor, key, defaultValue) {
|
|
2133
|
+
var tmp0_safe_receiver = this.f4u(descriptor, key);
|
|
2134
2134
|
if (tmp0_safe_receiver == null)
|
|
2135
2135
|
null;
|
|
2136
2136
|
else {
|
|
@@ -2138,28 +2138,28 @@
|
|
|
2138
2138
|
return tmp0_safe_receiver;
|
|
2139
2139
|
}
|
|
2140
2140
|
var value = defaultValue();
|
|
2141
|
-
this.
|
|
2141
|
+
this.e4u(descriptor, key, value);
|
|
2142
2142
|
return value;
|
|
2143
2143
|
};
|
|
2144
|
-
protoOf(DescriptorSchemaCache).
|
|
2145
|
-
var tmp0_safe_receiver = this.
|
|
2144
|
+
protoOf(DescriptorSchemaCache).f4u = function (descriptor, key) {
|
|
2145
|
+
var tmp0_safe_receiver = this.r4r_1.z2(descriptor);
|
|
2146
2146
|
var tmp;
|
|
2147
2147
|
if (tmp0_safe_receiver == null) {
|
|
2148
2148
|
tmp = null;
|
|
2149
2149
|
} else {
|
|
2150
|
-
tmp = tmp0_safe_receiver.
|
|
2150
|
+
tmp = tmp0_safe_receiver.z2(key instanceof Key ? key : THROW_CCE());
|
|
2151
2151
|
}
|
|
2152
2152
|
var tmp_0 = tmp;
|
|
2153
2153
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2154
2154
|
};
|
|
2155
2155
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2156
|
-
this.
|
|
2156
|
+
this.g4u_1 = discriminatorToSkip;
|
|
2157
2157
|
}
|
|
2158
2158
|
function trySkip($this, _this__u8e3s4, unknownKey) {
|
|
2159
2159
|
if (_this__u8e3s4 == null)
|
|
2160
2160
|
return false;
|
|
2161
|
-
if (_this__u8e3s4.
|
|
2162
|
-
_this__u8e3s4.
|
|
2161
|
+
if (_this__u8e3s4.g4u_1 === unknownKey) {
|
|
2162
|
+
_this__u8e3s4.g4u_1 = null;
|
|
2163
2163
|
return true;
|
|
2164
2164
|
}
|
|
2165
2165
|
return false;
|
|
@@ -2169,55 +2169,55 @@
|
|
|
2169
2169
|
}
|
|
2170
2170
|
}
|
|
2171
2171
|
function checkLeadingComma($this) {
|
|
2172
|
-
if ($this.
|
|
2173
|
-
$this.
|
|
2172
|
+
if ($this.f4n_1.v4s() === 4) {
|
|
2173
|
+
$this.f4n_1.q4r('Unexpected leading comma');
|
|
2174
2174
|
}
|
|
2175
2175
|
}
|
|
2176
2176
|
function decodeMapIndex($this) {
|
|
2177
2177
|
var hasComma = false;
|
|
2178
|
-
var decodingKey = !(($this.
|
|
2178
|
+
var decodingKey = !(($this.h4n_1 % 2 | 0) === 0);
|
|
2179
2179
|
if (decodingKey) {
|
|
2180
|
-
if (!($this.
|
|
2181
|
-
hasComma = $this.
|
|
2180
|
+
if (!($this.h4n_1 === -1)) {
|
|
2181
|
+
hasComma = $this.f4n_1.i4u();
|
|
2182
2182
|
}
|
|
2183
2183
|
} else {
|
|
2184
|
-
$this.
|
|
2184
|
+
$this.f4n_1.h4u(_Char___init__impl__6a9atx(58));
|
|
2185
2185
|
}
|
|
2186
2186
|
var tmp;
|
|
2187
|
-
if ($this.
|
|
2187
|
+
if ($this.f4n_1.w4s()) {
|
|
2188
2188
|
if (decodingKey) {
|
|
2189
|
-
if ($this.
|
|
2190
|
-
var tmp0 = $this.
|
|
2189
|
+
if ($this.h4n_1 === -1) {
|
|
2190
|
+
var tmp0 = $this.f4n_1;
|
|
2191
2191
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2192
2192
|
var condition = !hasComma;
|
|
2193
|
-
var position = tmp0.
|
|
2193
|
+
var position = tmp0.l4n_1;
|
|
2194
2194
|
if (!condition) {
|
|
2195
2195
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
2196
|
-
tmp0.
|
|
2196
|
+
tmp0.q4r(tmp$ret$0, position);
|
|
2197
2197
|
}
|
|
2198
2198
|
} else {
|
|
2199
|
-
var tmp0_0 = $this.
|
|
2199
|
+
var tmp0_0 = $this.f4n_1;
|
|
2200
2200
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2201
2201
|
var condition_0 = hasComma;
|
|
2202
|
-
var position_0 = tmp0_0.
|
|
2202
|
+
var position_0 = tmp0_0.l4n_1;
|
|
2203
2203
|
if (!condition_0) {
|
|
2204
2204
|
var tmp$ret$2 = 'Expected comma after the key-value pair';
|
|
2205
|
-
tmp0_0.
|
|
2205
|
+
tmp0_0.q4r(tmp$ret$2, position_0);
|
|
2206
2206
|
}
|
|
2207
2207
|
}
|
|
2208
2208
|
}
|
|
2209
|
-
$this.
|
|
2210
|
-
tmp = $this.
|
|
2209
|
+
$this.h4n_1 = $this.h4n_1 + 1 | 0;
|
|
2210
|
+
tmp = $this.h4n_1;
|
|
2211
2211
|
} else {
|
|
2212
|
-
if (hasComma && !$this.
|
|
2213
|
-
invalidTrailingComma($this.
|
|
2212
|
+
if (hasComma && !$this.d4n_1.z4m_1.x4o_1) {
|
|
2213
|
+
invalidTrailingComma($this.f4n_1);
|
|
2214
2214
|
}
|
|
2215
2215
|
tmp = -1;
|
|
2216
2216
|
}
|
|
2217
2217
|
return tmp;
|
|
2218
2218
|
}
|
|
2219
2219
|
function coerceInputValue($this, descriptor, index) {
|
|
2220
|
-
var tmp0 = $this.
|
|
2220
|
+
var tmp0 = $this.d4n_1;
|
|
2221
2221
|
var tmp$ret$1;
|
|
2222
2222
|
$l$block_2: {
|
|
2223
2223
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -2225,7 +2225,7 @@
|
|
|
2225
2225
|
var elementDescriptor = descriptor.t1s(index);
|
|
2226
2226
|
var tmp;
|
|
2227
2227
|
if (isOptional && !elementDescriptor.f1s()) {
|
|
2228
|
-
tmp = $this.
|
|
2228
|
+
tmp = $this.f4n_1.j4u(true);
|
|
2229
2229
|
} else {
|
|
2230
2230
|
tmp = false;
|
|
2231
2231
|
}
|
|
@@ -2236,7 +2236,7 @@
|
|
|
2236
2236
|
if (equals(elementDescriptor.m1s(), ENUM_getInstance())) {
|
|
2237
2237
|
var tmp_0;
|
|
2238
2238
|
if (elementDescriptor.f1s()) {
|
|
2239
|
-
tmp_0 = $this.
|
|
2239
|
+
tmp_0 = $this.f4n_1.j4u(false);
|
|
2240
2240
|
} else {
|
|
2241
2241
|
tmp_0 = false;
|
|
2242
2242
|
}
|
|
@@ -2244,7 +2244,7 @@
|
|
|
2244
2244
|
tmp$ret$1 = false;
|
|
2245
2245
|
break $l$block_2;
|
|
2246
2246
|
}
|
|
2247
|
-
var tmp0_elvis_lhs = $this.
|
|
2247
|
+
var tmp0_elvis_lhs = $this.f4n_1.k4u($this.j4n_1.l4o_1);
|
|
2248
2248
|
var tmp_1;
|
|
2249
2249
|
if (tmp0_elvis_lhs == null) {
|
|
2250
2250
|
tmp$ret$1 = false;
|
|
@@ -2254,9 +2254,9 @@
|
|
|
2254
2254
|
}
|
|
2255
2255
|
var enumValue = tmp_1;
|
|
2256
2256
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2257
|
-
var coerceToNull = !tmp0.
|
|
2257
|
+
var coerceToNull = !tmp0.z4m_1.o4o_1 && elementDescriptor.f1s();
|
|
2258
2258
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2259
|
-
$this.
|
|
2259
|
+
$this.f4n_1.x4s();
|
|
2260
2260
|
tmp$ret$1 = true;
|
|
2261
2261
|
break $l$block_2;
|
|
2262
2262
|
}
|
|
@@ -2266,24 +2266,24 @@
|
|
|
2266
2266
|
return tmp$ret$1;
|
|
2267
2267
|
}
|
|
2268
2268
|
function decodeObjectIndex($this, descriptor) {
|
|
2269
|
-
var hasComma = $this.
|
|
2270
|
-
while ($this.
|
|
2269
|
+
var hasComma = $this.f4n_1.i4u();
|
|
2270
|
+
while ($this.f4n_1.w4s()) {
|
|
2271
2271
|
hasComma = false;
|
|
2272
2272
|
var key = decodeStringKey($this);
|
|
2273
|
-
$this.
|
|
2274
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2273
|
+
$this.f4n_1.h4u(_Char___init__impl__6a9atx(58));
|
|
2274
|
+
var index = getJsonNameIndex(descriptor, $this.d4n_1, key);
|
|
2275
2275
|
var tmp;
|
|
2276
2276
|
if (!(index === -3)) {
|
|
2277
2277
|
var tmp_0;
|
|
2278
|
-
if ($this.
|
|
2279
|
-
hasComma = $this.
|
|
2278
|
+
if ($this.j4n_1.q4o_1 && coerceInputValue($this, descriptor, index)) {
|
|
2279
|
+
hasComma = $this.f4n_1.i4u();
|
|
2280
2280
|
tmp_0 = false;
|
|
2281
2281
|
} else {
|
|
2282
|
-
var tmp0_safe_receiver = $this.
|
|
2282
|
+
var tmp0_safe_receiver = $this.k4n_1;
|
|
2283
2283
|
if (tmp0_safe_receiver == null)
|
|
2284
2284
|
null;
|
|
2285
2285
|
else {
|
|
2286
|
-
tmp0_safe_receiver.
|
|
2286
|
+
tmp0_safe_receiver.n4r(index);
|
|
2287
2287
|
}
|
|
2288
2288
|
return index;
|
|
2289
2289
|
}
|
|
@@ -2296,34 +2296,34 @@
|
|
|
2296
2296
|
hasComma = handleUnknown($this, descriptor, key);
|
|
2297
2297
|
}
|
|
2298
2298
|
}
|
|
2299
|
-
if (hasComma && !$this.
|
|
2300
|
-
invalidTrailingComma($this.
|
|
2299
|
+
if (hasComma && !$this.d4n_1.z4m_1.x4o_1) {
|
|
2300
|
+
invalidTrailingComma($this.f4n_1);
|
|
2301
2301
|
}
|
|
2302
|
-
var tmp1_safe_receiver = $this.
|
|
2303
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2302
|
+
var tmp1_safe_receiver = $this.k4n_1;
|
|
2303
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o4r();
|
|
2304
2304
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2305
2305
|
}
|
|
2306
2306
|
function handleUnknown($this, descriptor, key) {
|
|
2307
|
-
if (ignoreUnknownKeys(descriptor, $this.
|
|
2308
|
-
$this.
|
|
2307
|
+
if (ignoreUnknownKeys(descriptor, $this.d4n_1) || trySkip($this, $this.i4n_1, key)) {
|
|
2308
|
+
$this.f4n_1.m4u($this.j4n_1.l4o_1);
|
|
2309
2309
|
} else {
|
|
2310
|
-
$this.
|
|
2311
|
-
$this.
|
|
2310
|
+
$this.f4n_1.m4n_1.c4s();
|
|
2311
|
+
$this.f4n_1.l4u(key);
|
|
2312
2312
|
}
|
|
2313
|
-
return $this.
|
|
2313
|
+
return $this.f4n_1.i4u();
|
|
2314
2314
|
}
|
|
2315
2315
|
function decodeListIndex($this) {
|
|
2316
|
-
var hasComma = $this.
|
|
2316
|
+
var hasComma = $this.f4n_1.i4u();
|
|
2317
2317
|
var tmp;
|
|
2318
|
-
if ($this.
|
|
2319
|
-
if (!($this.
|
|
2320
|
-
$this.
|
|
2318
|
+
if ($this.f4n_1.w4s()) {
|
|
2319
|
+
if (!($this.h4n_1 === -1) && !hasComma) {
|
|
2320
|
+
$this.f4n_1.q4r('Expected end of the array or comma');
|
|
2321
2321
|
}
|
|
2322
|
-
$this.
|
|
2323
|
-
tmp = $this.
|
|
2322
|
+
$this.h4n_1 = $this.h4n_1 + 1 | 0;
|
|
2323
|
+
tmp = $this.h4n_1;
|
|
2324
2324
|
} else {
|
|
2325
|
-
if (hasComma && !$this.
|
|
2326
|
-
invalidTrailingComma($this.
|
|
2325
|
+
if (hasComma && !$this.d4n_1.z4m_1.x4o_1) {
|
|
2326
|
+
invalidTrailingComma($this.f4n_1, 'array');
|
|
2327
2327
|
}
|
|
2328
2328
|
tmp = -1;
|
|
2329
2329
|
}
|
|
@@ -2331,32 +2331,32 @@
|
|
|
2331
2331
|
}
|
|
2332
2332
|
function decodeStringKey($this) {
|
|
2333
2333
|
var tmp;
|
|
2334
|
-
if ($this.
|
|
2335
|
-
tmp = $this.
|
|
2334
|
+
if ($this.j4n_1.l4o_1) {
|
|
2335
|
+
tmp = $this.f4n_1.o4u();
|
|
2336
2336
|
} else {
|
|
2337
|
-
tmp = $this.
|
|
2337
|
+
tmp = $this.f4n_1.n4u();
|
|
2338
2338
|
}
|
|
2339
2339
|
return tmp;
|
|
2340
2340
|
}
|
|
2341
2341
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2342
2342
|
AbstractDecoder.call(this);
|
|
2343
|
-
this.
|
|
2344
|
-
this.
|
|
2345
|
-
this.
|
|
2346
|
-
this.
|
|
2347
|
-
this.
|
|
2348
|
-
this.
|
|
2349
|
-
this.
|
|
2350
|
-
this.
|
|
2351
|
-
}
|
|
2352
|
-
protoOf(StreamingJsonDecoder).
|
|
2353
|
-
return this.
|
|
2343
|
+
this.d4n_1 = json;
|
|
2344
|
+
this.e4n_1 = mode;
|
|
2345
|
+
this.f4n_1 = lexer;
|
|
2346
|
+
this.g4n_1 = this.d4n_1.u1u();
|
|
2347
|
+
this.h4n_1 = -1;
|
|
2348
|
+
this.i4n_1 = discriminatorHolder;
|
|
2349
|
+
this.j4n_1 = this.d4n_1.z4m_1;
|
|
2350
|
+
this.k4n_1 = this.j4n_1.o4o_1 ? null : new JsonElementMarker(descriptor);
|
|
2351
|
+
}
|
|
2352
|
+
protoOf(StreamingJsonDecoder).a4p = function () {
|
|
2353
|
+
return this.d4n_1;
|
|
2354
2354
|
};
|
|
2355
2355
|
protoOf(StreamingJsonDecoder).u1u = function () {
|
|
2356
|
-
return this.
|
|
2356
|
+
return this.g4n_1;
|
|
2357
2357
|
};
|
|
2358
|
-
protoOf(StreamingJsonDecoder).
|
|
2359
|
-
return (new JsonTreeReader(this.
|
|
2358
|
+
protoOf(StreamingJsonDecoder).b4p = function () {
|
|
2359
|
+
return (new JsonTreeReader(this.d4n_1.z4m_1, this.f4n_1)).z4s();
|
|
2360
2360
|
};
|
|
2361
2361
|
protoOf(StreamingJsonDecoder).e1u = function (deserializer) {
|
|
2362
2362
|
try {
|
|
@@ -2364,13 +2364,13 @@
|
|
|
2364
2364
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2365
2365
|
tmp = true;
|
|
2366
2366
|
} else {
|
|
2367
|
-
tmp = this.
|
|
2367
|
+
tmp = this.d4n_1.z4m_1.r4o_1;
|
|
2368
2368
|
}
|
|
2369
2369
|
if (tmp) {
|
|
2370
2370
|
return deserializer.t1q(this);
|
|
2371
2371
|
}
|
|
2372
|
-
var discriminator = classDiscriminator(deserializer.r1q(), this.
|
|
2373
|
-
var tmp0_elvis_lhs = this.
|
|
2372
|
+
var discriminator = classDiscriminator(deserializer.r1q(), this.d4n_1);
|
|
2373
|
+
var tmp0_elvis_lhs = this.f4n_1.p4u(discriminator, this.j4n_1.l4o_1);
|
|
2374
2374
|
var tmp_0;
|
|
2375
2375
|
if (tmp0_elvis_lhs == null) {
|
|
2376
2376
|
var tmp2 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2381,20 +2381,20 @@
|
|
|
2381
2381
|
if (!(tmp2 instanceof AbstractPolymorphicSerializer)) {
|
|
2382
2382
|
tmp_1 = true;
|
|
2383
2383
|
} else {
|
|
2384
|
-
tmp_1 = this.
|
|
2384
|
+
tmp_1 = this.a4p().z4m_1.r4o_1;
|
|
2385
2385
|
}
|
|
2386
2386
|
if (tmp_1) {
|
|
2387
2387
|
tmp$ret$0 = tmp2.t1q(this);
|
|
2388
2388
|
break $l$block;
|
|
2389
2389
|
}
|
|
2390
|
-
var discriminator_0 = classDiscriminator(tmp2.r1q(), this.
|
|
2391
|
-
var tmp0 = this.
|
|
2390
|
+
var discriminator_0 = classDiscriminator(tmp2.r1q(), this.a4p());
|
|
2391
|
+
var tmp0 = this.b4p();
|
|
2392
2392
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2393
2393
|
var serialName = tmp2.r1q().s1r();
|
|
2394
2394
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2395
2395
|
var tmp_2 = getKClass(JsonObject).o();
|
|
2396
2396
|
var tmp_3 = getKClassFromExpression(tmp0).o();
|
|
2397
|
-
var tmp$ret$1 = this.
|
|
2397
|
+
var tmp$ret$1 = this.f4n_1.m4n_1.d4s();
|
|
2398
2398
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
2399
2399
|
}
|
|
2400
2400
|
var jsonTree = tmp0;
|
|
@@ -2415,7 +2415,7 @@
|
|
|
2415
2415
|
}
|
|
2416
2416
|
var tmp_6 = tmp_4;
|
|
2417
2417
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2418
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2418
|
+
tmp$ret$0 = readPolymorphicJson(this.a4p(), discriminator_0, jsonTree, actualSerializer);
|
|
2419
2419
|
}
|
|
2420
2420
|
return tmp$ret$0;
|
|
2421
2421
|
} else {
|
|
@@ -2431,7 +2431,7 @@
|
|
|
2431
2431
|
var it_0 = $p;
|
|
2432
2432
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2433
2433
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2434
|
-
this.
|
|
2434
|
+
this.f4n_1.q4r(message, VOID, hint);
|
|
2435
2435
|
} else {
|
|
2436
2436
|
throw $p;
|
|
2437
2437
|
}
|
|
@@ -2439,37 +2439,37 @@
|
|
|
2439
2439
|
}
|
|
2440
2440
|
var tmp_9 = tmp_7;
|
|
2441
2441
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2442
|
-
this.
|
|
2442
|
+
this.i4n_1 = new DiscriminatorHolder(discriminator);
|
|
2443
2443
|
return actualSerializer_0.t1q(this);
|
|
2444
2444
|
} catch ($p) {
|
|
2445
2445
|
if ($p instanceof MissingFieldException) {
|
|
2446
2446
|
var e = $p;
|
|
2447
2447
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2448
2448
|
throw e;
|
|
2449
|
-
throw MissingFieldException_init_$Create$(e.y1r_1, plus(e.message, ' at path: ') + this.
|
|
2449
|
+
throw MissingFieldException_init_$Create$(e.y1r_1, plus(e.message, ' at path: ') + this.f4n_1.m4n_1.d4s(), e);
|
|
2450
2450
|
} else {
|
|
2451
2451
|
throw $p;
|
|
2452
2452
|
}
|
|
2453
2453
|
}
|
|
2454
2454
|
};
|
|
2455
2455
|
protoOf(StreamingJsonDecoder).f1u = function (descriptor) {
|
|
2456
|
-
var newMode = switchMode(this.
|
|
2457
|
-
this.
|
|
2458
|
-
this.
|
|
2456
|
+
var newMode = switchMode(this.d4n_1, descriptor);
|
|
2457
|
+
this.f4n_1.m4n_1.y4r(descriptor);
|
|
2458
|
+
this.f4n_1.h4u(newMode.s4u_1);
|
|
2459
2459
|
checkLeadingComma(this);
|
|
2460
2460
|
var tmp;
|
|
2461
2461
|
switch (newMode.a1_1) {
|
|
2462
2462
|
case 1:
|
|
2463
2463
|
case 2:
|
|
2464
2464
|
case 3:
|
|
2465
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2465
|
+
tmp = new StreamingJsonDecoder(this.d4n_1, newMode, this.f4n_1, descriptor, this.i4n_1);
|
|
2466
2466
|
break;
|
|
2467
2467
|
default:
|
|
2468
2468
|
var tmp_0;
|
|
2469
|
-
if (this.
|
|
2469
|
+
if (this.e4n_1.equals(newMode) && this.d4n_1.z4m_1.o4o_1) {
|
|
2470
2470
|
tmp_0 = this;
|
|
2471
2471
|
} else {
|
|
2472
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2472
|
+
tmp_0 = new StreamingJsonDecoder(this.d4n_1, newMode, this.f4n_1, descriptor, this.i4n_1);
|
|
2473
2473
|
}
|
|
2474
2474
|
|
|
2475
2475
|
tmp = tmp_0;
|
|
@@ -2478,21 +2478,21 @@
|
|
|
2478
2478
|
return tmp;
|
|
2479
2479
|
};
|
|
2480
2480
|
protoOf(StreamingJsonDecoder).g1u = function (descriptor) {
|
|
2481
|
-
if (descriptor.o1s() === 0 && ignoreUnknownKeys(descriptor, this.
|
|
2481
|
+
if (descriptor.o1s() === 0 && ignoreUnknownKeys(descriptor, this.d4n_1)) {
|
|
2482
2482
|
skipLeftoverElements(this, descriptor);
|
|
2483
2483
|
}
|
|
2484
|
-
if (this.
|
|
2485
|
-
invalidTrailingComma(this.
|
|
2484
|
+
if (this.f4n_1.i4u() && !this.d4n_1.z4m_1.x4o_1) {
|
|
2485
|
+
invalidTrailingComma(this.f4n_1, '');
|
|
2486
2486
|
}
|
|
2487
|
-
this.
|
|
2488
|
-
this.
|
|
2487
|
+
this.f4n_1.h4u(this.e4n_1.t4u_1);
|
|
2488
|
+
this.f4n_1.m4n_1.c4s();
|
|
2489
2489
|
};
|
|
2490
2490
|
protoOf(StreamingJsonDecoder).q1t = function () {
|
|
2491
2491
|
var tmp;
|
|
2492
|
-
var tmp0_safe_receiver = this.
|
|
2493
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2492
|
+
var tmp0_safe_receiver = this.k4n_1;
|
|
2493
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m4r_1;
|
|
2494
2494
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2495
|
-
tmp = !this.
|
|
2495
|
+
tmp = !this.f4n_1.u4u();
|
|
2496
2496
|
} else {
|
|
2497
2497
|
tmp = false;
|
|
2498
2498
|
}
|
|
@@ -2502,19 +2502,19 @@
|
|
|
2502
2502
|
return null;
|
|
2503
2503
|
};
|
|
2504
2504
|
protoOf(StreamingJsonDecoder).r1u = function (descriptor, index, deserializer, previousValue) {
|
|
2505
|
-
var isMapKey = this.
|
|
2505
|
+
var isMapKey = this.e4n_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2506
2506
|
if (isMapKey) {
|
|
2507
|
-
this.
|
|
2507
|
+
this.f4n_1.m4n_1.b4s();
|
|
2508
2508
|
}
|
|
2509
2509
|
var value = protoOf(AbstractDecoder).r1u.call(this, descriptor, index, deserializer, previousValue);
|
|
2510
2510
|
if (isMapKey) {
|
|
2511
|
-
this.
|
|
2511
|
+
this.f4n_1.m4n_1.a4s(value);
|
|
2512
2512
|
}
|
|
2513
2513
|
return value;
|
|
2514
2514
|
};
|
|
2515
2515
|
protoOf(StreamingJsonDecoder).w1u = function (descriptor) {
|
|
2516
2516
|
var index;
|
|
2517
|
-
switch (this.
|
|
2517
|
+
switch (this.e4n_1.a1_1) {
|
|
2518
2518
|
case 0:
|
|
2519
2519
|
index = decodeObjectIndex(this, descriptor);
|
|
2520
2520
|
break;
|
|
@@ -2525,44 +2525,44 @@
|
|
|
2525
2525
|
index = decodeListIndex(this);
|
|
2526
2526
|
break;
|
|
2527
2527
|
}
|
|
2528
|
-
if (!this.
|
|
2529
|
-
this.
|
|
2528
|
+
if (!this.e4n_1.equals(WriteMode_MAP_getInstance())) {
|
|
2529
|
+
this.f4n_1.m4n_1.z4r(index);
|
|
2530
2530
|
}
|
|
2531
2531
|
return index;
|
|
2532
2532
|
};
|
|
2533
2533
|
protoOf(StreamingJsonDecoder).s1t = function () {
|
|
2534
|
-
return this.
|
|
2534
|
+
return this.f4n_1.v4u();
|
|
2535
2535
|
};
|
|
2536
2536
|
protoOf(StreamingJsonDecoder).t1t = function () {
|
|
2537
|
-
var value = this.
|
|
2537
|
+
var value = this.f4n_1.w4u();
|
|
2538
2538
|
if (!(value === fromInt(convertToByte(value)))) {
|
|
2539
|
-
this.
|
|
2539
|
+
this.f4n_1.q4r("Failed to parse byte for input '" + value.toString() + "'");
|
|
2540
2540
|
}
|
|
2541
2541
|
return convertToByte(value);
|
|
2542
2542
|
};
|
|
2543
2543
|
protoOf(StreamingJsonDecoder).u1t = function () {
|
|
2544
|
-
var value = this.
|
|
2544
|
+
var value = this.f4n_1.w4u();
|
|
2545
2545
|
if (!(value === fromInt(convertToShort(value)))) {
|
|
2546
|
-
this.
|
|
2546
|
+
this.f4n_1.q4r("Failed to parse short for input '" + value.toString() + "'");
|
|
2547
2547
|
}
|
|
2548
2548
|
return convertToShort(value);
|
|
2549
2549
|
};
|
|
2550
2550
|
protoOf(StreamingJsonDecoder).v1t = function () {
|
|
2551
|
-
var value = this.
|
|
2551
|
+
var value = this.f4n_1.w4u();
|
|
2552
2552
|
if (!(value === fromInt(convertToInt(value)))) {
|
|
2553
|
-
this.
|
|
2553
|
+
this.f4n_1.q4r("Failed to parse int for input '" + value.toString() + "'");
|
|
2554
2554
|
}
|
|
2555
2555
|
return convertToInt(value);
|
|
2556
2556
|
};
|
|
2557
2557
|
protoOf(StreamingJsonDecoder).w1t = function () {
|
|
2558
|
-
return this.
|
|
2558
|
+
return this.f4n_1.w4u();
|
|
2559
2559
|
};
|
|
2560
2560
|
protoOf(StreamingJsonDecoder).x1t = function () {
|
|
2561
|
-
var tmp0 = this.
|
|
2561
|
+
var tmp0 = this.f4n_1;
|
|
2562
2562
|
var tmp$ret$4;
|
|
2563
2563
|
$l$block: {
|
|
2564
2564
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2565
|
-
var input = tmp0.
|
|
2565
|
+
var input = tmp0.y4s();
|
|
2566
2566
|
try {
|
|
2567
2567
|
// Inline function 'kotlin.text.toFloat' call
|
|
2568
2568
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2572,82 +2572,82 @@
|
|
|
2572
2572
|
} catch ($p) {
|
|
2573
2573
|
if ($p instanceof IllegalArgumentException) {
|
|
2574
2574
|
var e = $p;
|
|
2575
|
-
tmp0.
|
|
2575
|
+
tmp0.q4r("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2576
2576
|
} else {
|
|
2577
2577
|
throw $p;
|
|
2578
2578
|
}
|
|
2579
2579
|
}
|
|
2580
2580
|
}
|
|
2581
2581
|
var result = tmp$ret$4;
|
|
2582
|
-
var specialFp = this.
|
|
2582
|
+
var specialFp = this.d4n_1.z4m_1.t4o_1;
|
|
2583
2583
|
if (specialFp || isFinite(result))
|
|
2584
2584
|
return result;
|
|
2585
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2585
|
+
throwInvalidFloatingPointDecoded(this.f4n_1, result);
|
|
2586
2586
|
};
|
|
2587
2587
|
protoOf(StreamingJsonDecoder).y1t = function () {
|
|
2588
|
-
var tmp0 = this.
|
|
2588
|
+
var tmp0 = this.f4n_1;
|
|
2589
2589
|
var tmp$ret$1;
|
|
2590
2590
|
$l$block: {
|
|
2591
2591
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2592
|
-
var input = tmp0.
|
|
2592
|
+
var input = tmp0.y4s();
|
|
2593
2593
|
try {
|
|
2594
2594
|
tmp$ret$1 = toDouble(input);
|
|
2595
2595
|
break $l$block;
|
|
2596
2596
|
} catch ($p) {
|
|
2597
2597
|
if ($p instanceof IllegalArgumentException) {
|
|
2598
2598
|
var e = $p;
|
|
2599
|
-
tmp0.
|
|
2599
|
+
tmp0.q4r("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2600
2600
|
} else {
|
|
2601
2601
|
throw $p;
|
|
2602
2602
|
}
|
|
2603
2603
|
}
|
|
2604
2604
|
}
|
|
2605
2605
|
var result = tmp$ret$1;
|
|
2606
|
-
var specialFp = this.
|
|
2606
|
+
var specialFp = this.d4n_1.z4m_1.t4o_1;
|
|
2607
2607
|
if (specialFp || isFinite_0(result))
|
|
2608
2608
|
return result;
|
|
2609
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2609
|
+
throwInvalidFloatingPointDecoded(this.f4n_1, result);
|
|
2610
2610
|
};
|
|
2611
2611
|
protoOf(StreamingJsonDecoder).z1t = function () {
|
|
2612
|
-
var string = this.
|
|
2612
|
+
var string = this.f4n_1.y4s();
|
|
2613
2613
|
if (!(string.length === 1)) {
|
|
2614
|
-
this.
|
|
2614
|
+
this.f4n_1.q4r("Expected single char, but got '" + string + "'");
|
|
2615
2615
|
}
|
|
2616
2616
|
return charCodeAt(string, 0);
|
|
2617
2617
|
};
|
|
2618
2618
|
protoOf(StreamingJsonDecoder).a1u = function () {
|
|
2619
2619
|
var tmp;
|
|
2620
|
-
if (this.
|
|
2621
|
-
tmp = this.
|
|
2620
|
+
if (this.j4n_1.l4o_1) {
|
|
2621
|
+
tmp = this.f4n_1.o4u();
|
|
2622
2622
|
} else {
|
|
2623
|
-
tmp = this.
|
|
2623
|
+
tmp = this.f4n_1.x4s();
|
|
2624
2624
|
}
|
|
2625
2625
|
return tmp;
|
|
2626
2626
|
};
|
|
2627
2627
|
protoOf(StreamingJsonDecoder).c1u = function (descriptor) {
|
|
2628
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2628
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.f4n_1, this.d4n_1) : protoOf(AbstractDecoder).c1u.call(this, descriptor);
|
|
2629
2629
|
};
|
|
2630
2630
|
protoOf(StreamingJsonDecoder).b1u = function (enumDescriptor) {
|
|
2631
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2631
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.d4n_1, this.a1u(), ' at path ' + this.f4n_1.m4n_1.d4s());
|
|
2632
2632
|
};
|
|
2633
2633
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2634
2634
|
AbstractDecoder.call(this);
|
|
2635
|
-
this.
|
|
2636
|
-
this.
|
|
2635
|
+
this.x4u_1 = lexer;
|
|
2636
|
+
this.y4u_1 = json.u1u();
|
|
2637
2637
|
}
|
|
2638
2638
|
protoOf(JsonDecoderForUnsignedTypes).u1u = function () {
|
|
2639
|
-
return this.
|
|
2639
|
+
return this.y4u_1;
|
|
2640
2640
|
};
|
|
2641
2641
|
protoOf(JsonDecoderForUnsignedTypes).w1u = function (descriptor) {
|
|
2642
2642
|
var message = 'unsupported';
|
|
2643
2643
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2644
2644
|
};
|
|
2645
2645
|
protoOf(JsonDecoderForUnsignedTypes).v1t = function () {
|
|
2646
|
-
var tmp0 = this.
|
|
2646
|
+
var tmp0 = this.x4u_1;
|
|
2647
2647
|
var tmp$ret$2;
|
|
2648
2648
|
$l$block: {
|
|
2649
2649
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2650
|
-
var input = tmp0.
|
|
2650
|
+
var input = tmp0.y4s();
|
|
2651
2651
|
try {
|
|
2652
2652
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2653
2653
|
var this_0 = toUInt(input);
|
|
@@ -2656,7 +2656,7 @@
|
|
|
2656
2656
|
} catch ($p) {
|
|
2657
2657
|
if ($p instanceof IllegalArgumentException) {
|
|
2658
2658
|
var e = $p;
|
|
2659
|
-
tmp0.
|
|
2659
|
+
tmp0.q4r("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2660
2660
|
} else {
|
|
2661
2661
|
throw $p;
|
|
2662
2662
|
}
|
|
@@ -2665,11 +2665,11 @@
|
|
|
2665
2665
|
return tmp$ret$2;
|
|
2666
2666
|
};
|
|
2667
2667
|
protoOf(JsonDecoderForUnsignedTypes).w1t = function () {
|
|
2668
|
-
var tmp0 = this.
|
|
2668
|
+
var tmp0 = this.x4u_1;
|
|
2669
2669
|
var tmp$ret$2;
|
|
2670
2670
|
$l$block: {
|
|
2671
2671
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2672
|
-
var input = tmp0.
|
|
2672
|
+
var input = tmp0.y4s();
|
|
2673
2673
|
try {
|
|
2674
2674
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2675
2675
|
var this_0 = toULong(input);
|
|
@@ -2678,7 +2678,7 @@
|
|
|
2678
2678
|
} catch ($p) {
|
|
2679
2679
|
if ($p instanceof IllegalArgumentException) {
|
|
2680
2680
|
var e = $p;
|
|
2681
|
-
tmp0.
|
|
2681
|
+
tmp0.q4r("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2682
2682
|
} else {
|
|
2683
2683
|
throw $p;
|
|
2684
2684
|
}
|
|
@@ -2687,11 +2687,11 @@
|
|
|
2687
2687
|
return tmp$ret$2;
|
|
2688
2688
|
};
|
|
2689
2689
|
protoOf(JsonDecoderForUnsignedTypes).t1t = function () {
|
|
2690
|
-
var tmp0 = this.
|
|
2690
|
+
var tmp0 = this.x4u_1;
|
|
2691
2691
|
var tmp$ret$2;
|
|
2692
2692
|
$l$block: {
|
|
2693
2693
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2694
|
-
var input = tmp0.
|
|
2694
|
+
var input = tmp0.y4s();
|
|
2695
2695
|
try {
|
|
2696
2696
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2697
2697
|
var this_0 = toUByte(input);
|
|
@@ -2700,7 +2700,7 @@
|
|
|
2700
2700
|
} catch ($p) {
|
|
2701
2701
|
if ($p instanceof IllegalArgumentException) {
|
|
2702
2702
|
var e = $p;
|
|
2703
|
-
tmp0.
|
|
2703
|
+
tmp0.q4r("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2704
2704
|
} else {
|
|
2705
2705
|
throw $p;
|
|
2706
2706
|
}
|
|
@@ -2709,11 +2709,11 @@
|
|
|
2709
2709
|
return tmp$ret$2;
|
|
2710
2710
|
};
|
|
2711
2711
|
protoOf(JsonDecoderForUnsignedTypes).u1t = function () {
|
|
2712
|
-
var tmp0 = this.
|
|
2712
|
+
var tmp0 = this.x4u_1;
|
|
2713
2713
|
var tmp$ret$2;
|
|
2714
2714
|
$l$block: {
|
|
2715
2715
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2716
|
-
var input = tmp0.
|
|
2716
|
+
var input = tmp0.y4s();
|
|
2717
2717
|
try {
|
|
2718
2718
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2719
2719
|
var this_0 = toUShort(input);
|
|
@@ -2722,7 +2722,7 @@
|
|
|
2722
2722
|
} catch ($p) {
|
|
2723
2723
|
if ($p instanceof IllegalArgumentException) {
|
|
2724
2724
|
var e = $p;
|
|
2725
|
-
tmp0.
|
|
2725
|
+
tmp0.q4r("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2726
2726
|
} else {
|
|
2727
2727
|
throw $p;
|
|
2728
2728
|
}
|
|
@@ -2743,53 +2743,53 @@
|
|
|
2743
2743
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2744
2744
|
}
|
|
2745
2745
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2746
|
-
$this.
|
|
2746
|
+
$this.h4s_1.k4q();
|
|
2747
2747
|
$this.j1v(discriminator);
|
|
2748
|
-
$this.
|
|
2749
|
-
$this.
|
|
2748
|
+
$this.h4s_1.n4q(_Char___init__impl__6a9atx(58));
|
|
2749
|
+
$this.h4s_1.m4q();
|
|
2750
2750
|
$this.j1v(serialName);
|
|
2751
2751
|
}
|
|
2752
2752
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2753
2753
|
AbstractEncoder.call(this);
|
|
2754
|
-
this.
|
|
2755
|
-
this.
|
|
2756
|
-
this.
|
|
2757
|
-
this.
|
|
2758
|
-
this.
|
|
2759
|
-
this.
|
|
2760
|
-
this.
|
|
2761
|
-
this.
|
|
2762
|
-
this.
|
|
2763
|
-
var i = this.
|
|
2764
|
-
if (!(this.
|
|
2765
|
-
if (!(this.
|
|
2766
|
-
this.
|
|
2754
|
+
this.h4s_1 = composer;
|
|
2755
|
+
this.i4s_1 = json;
|
|
2756
|
+
this.j4s_1 = mode;
|
|
2757
|
+
this.k4s_1 = modeReuseCache;
|
|
2758
|
+
this.l4s_1 = this.i4s_1.u1u();
|
|
2759
|
+
this.m4s_1 = this.i4s_1.z4m_1;
|
|
2760
|
+
this.n4s_1 = false;
|
|
2761
|
+
this.o4s_1 = null;
|
|
2762
|
+
this.p4s_1 = null;
|
|
2763
|
+
var i = this.j4s_1.a1_1;
|
|
2764
|
+
if (!(this.k4s_1 == null)) {
|
|
2765
|
+
if (!(this.k4s_1[i] === null) || !(this.k4s_1[i] === this)) {
|
|
2766
|
+
this.k4s_1[i] = this;
|
|
2767
2767
|
}
|
|
2768
2768
|
}
|
|
2769
2769
|
}
|
|
2770
|
-
protoOf(StreamingJsonEncoder).
|
|
2771
|
-
return this.
|
|
2770
|
+
protoOf(StreamingJsonEncoder).a4p = function () {
|
|
2771
|
+
return this.i4s_1;
|
|
2772
2772
|
};
|
|
2773
2773
|
protoOf(StreamingJsonEncoder).u1u = function () {
|
|
2774
|
-
return this.
|
|
2774
|
+
return this.l4s_1;
|
|
2775
2775
|
};
|
|
2776
2776
|
protoOf(StreamingJsonEncoder).c1w = function (descriptor, index) {
|
|
2777
|
-
return this.
|
|
2777
|
+
return this.m4s_1.j4o_1;
|
|
2778
2778
|
};
|
|
2779
2779
|
protoOf(StreamingJsonEncoder).x1v = function (serializer, value) {
|
|
2780
2780
|
$l$block: {
|
|
2781
2781
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2782
|
-
if (this.
|
|
2782
|
+
if (this.a4p().z4m_1.r4o_1) {
|
|
2783
2783
|
serializer.s1q(this, value);
|
|
2784
2784
|
break $l$block;
|
|
2785
2785
|
}
|
|
2786
2786
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2787
2787
|
var tmp;
|
|
2788
2788
|
if (isPolymorphicSerializer) {
|
|
2789
|
-
tmp = !this.
|
|
2789
|
+
tmp = !this.a4p().z4m_1.z4o_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2790
2790
|
} else {
|
|
2791
2791
|
var tmp_0;
|
|
2792
|
-
switch (this.
|
|
2792
|
+
switch (this.a4p().z4m_1.z4o_1.a1_1) {
|
|
2793
2793
|
case 0:
|
|
2794
2794
|
case 2:
|
|
2795
2795
|
tmp_0 = false;
|
|
@@ -2807,7 +2807,7 @@
|
|
|
2807
2807
|
tmp = tmp_0;
|
|
2808
2808
|
}
|
|
2809
2809
|
var needDiscriminator = tmp;
|
|
2810
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.r1q(), this.
|
|
2810
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.r1q(), this.a4p()) : null;
|
|
2811
2811
|
var tmp_1;
|
|
2812
2812
|
if (isPolymorphicSerializer) {
|
|
2813
2813
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -2832,93 +2832,93 @@
|
|
|
2832
2832
|
var actualSerializer = tmp_1;
|
|
2833
2833
|
if (!(baseClassDiscriminator == null)) {
|
|
2834
2834
|
var serialName = actualSerializer.r1q().s1r();
|
|
2835
|
-
this.
|
|
2836
|
-
this.
|
|
2835
|
+
this.o4s_1 = baseClassDiscriminator;
|
|
2836
|
+
this.p4s_1 = serialName;
|
|
2837
2837
|
}
|
|
2838
2838
|
actualSerializer.s1q(this, value);
|
|
2839
2839
|
}
|
|
2840
2840
|
};
|
|
2841
2841
|
protoOf(StreamingJsonEncoder).f1u = function (descriptor) {
|
|
2842
|
-
var newMode = switchMode(this.
|
|
2843
|
-
if (!(newMode.
|
|
2844
|
-
this.
|
|
2845
|
-
this.
|
|
2842
|
+
var newMode = switchMode(this.i4s_1, descriptor);
|
|
2843
|
+
if (!(newMode.s4u_1 === _Char___init__impl__6a9atx(0))) {
|
|
2844
|
+
this.h4s_1.n4q(newMode.s4u_1);
|
|
2845
|
+
this.h4s_1.i4q();
|
|
2846
2846
|
}
|
|
2847
|
-
var discriminator = this.
|
|
2847
|
+
var discriminator = this.o4s_1;
|
|
2848
2848
|
if (!(discriminator == null)) {
|
|
2849
|
-
var tmp0_elvis_lhs = this.
|
|
2849
|
+
var tmp0_elvis_lhs = this.p4s_1;
|
|
2850
2850
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.s1r() : tmp0_elvis_lhs);
|
|
2851
|
-
this.
|
|
2852
|
-
this.
|
|
2851
|
+
this.o4s_1 = null;
|
|
2852
|
+
this.p4s_1 = null;
|
|
2853
2853
|
}
|
|
2854
|
-
if (this.
|
|
2854
|
+
if (this.j4s_1.equals(newMode)) {
|
|
2855
2855
|
return this;
|
|
2856
2856
|
}
|
|
2857
|
-
var tmp1_safe_receiver = this.
|
|
2857
|
+
var tmp1_safe_receiver = this.k4s_1;
|
|
2858
2858
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.a1_1];
|
|
2859
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2859
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.h4s_1, this.i4s_1, newMode, this.k4s_1) : tmp2_elvis_lhs;
|
|
2860
2860
|
};
|
|
2861
2861
|
protoOf(StreamingJsonEncoder).g1u = function (descriptor) {
|
|
2862
|
-
if (!(this.
|
|
2863
|
-
this.
|
|
2864
|
-
this.
|
|
2865
|
-
this.
|
|
2862
|
+
if (!(this.j4s_1.t4u_1 === _Char___init__impl__6a9atx(0))) {
|
|
2863
|
+
this.h4s_1.j4q();
|
|
2864
|
+
this.h4s_1.l4q();
|
|
2865
|
+
this.h4s_1.n4q(this.j4s_1.t4u_1);
|
|
2866
2866
|
}
|
|
2867
2867
|
};
|
|
2868
2868
|
protoOf(StreamingJsonEncoder).y1u = function (descriptor, index) {
|
|
2869
|
-
switch (this.
|
|
2869
|
+
switch (this.j4s_1.a1_1) {
|
|
2870
2870
|
case 1:
|
|
2871
|
-
if (!this.
|
|
2872
|
-
this.
|
|
2871
|
+
if (!this.h4s_1.h4q_1) {
|
|
2872
|
+
this.h4s_1.n4q(_Char___init__impl__6a9atx(44));
|
|
2873
2873
|
}
|
|
2874
2874
|
|
|
2875
|
-
this.
|
|
2875
|
+
this.h4s_1.k4q();
|
|
2876
2876
|
break;
|
|
2877
2877
|
case 2:
|
|
2878
|
-
if (!this.
|
|
2878
|
+
if (!this.h4s_1.h4q_1) {
|
|
2879
2879
|
var tmp = this;
|
|
2880
2880
|
var tmp_0;
|
|
2881
2881
|
if ((index % 2 | 0) === 0) {
|
|
2882
|
-
this.
|
|
2883
|
-
this.
|
|
2882
|
+
this.h4s_1.n4q(_Char___init__impl__6a9atx(44));
|
|
2883
|
+
this.h4s_1.k4q();
|
|
2884
2884
|
tmp_0 = true;
|
|
2885
2885
|
} else {
|
|
2886
|
-
this.
|
|
2887
|
-
this.
|
|
2886
|
+
this.h4s_1.n4q(_Char___init__impl__6a9atx(58));
|
|
2887
|
+
this.h4s_1.m4q();
|
|
2888
2888
|
tmp_0 = false;
|
|
2889
2889
|
}
|
|
2890
|
-
tmp.
|
|
2890
|
+
tmp.n4s_1 = tmp_0;
|
|
2891
2891
|
} else {
|
|
2892
|
-
this.
|
|
2893
|
-
this.
|
|
2892
|
+
this.n4s_1 = true;
|
|
2893
|
+
this.h4s_1.k4q();
|
|
2894
2894
|
}
|
|
2895
2895
|
|
|
2896
2896
|
break;
|
|
2897
2897
|
case 3:
|
|
2898
2898
|
if (index === 0)
|
|
2899
|
-
this.
|
|
2899
|
+
this.n4s_1 = true;
|
|
2900
2900
|
if (index === 1) {
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
2903
|
-
this.
|
|
2901
|
+
this.h4s_1.n4q(_Char___init__impl__6a9atx(44));
|
|
2902
|
+
this.h4s_1.m4q();
|
|
2903
|
+
this.n4s_1 = false;
|
|
2904
2904
|
}
|
|
2905
2905
|
|
|
2906
2906
|
break;
|
|
2907
2907
|
default:
|
|
2908
|
-
if (!this.
|
|
2909
|
-
this.
|
|
2908
|
+
if (!this.h4s_1.h4q_1) {
|
|
2909
|
+
this.h4s_1.n4q(_Char___init__impl__6a9atx(44));
|
|
2910
2910
|
}
|
|
2911
2911
|
|
|
2912
|
-
this.
|
|
2913
|
-
this.j1v(getJsonElementName(descriptor, this.
|
|
2914
|
-
this.
|
|
2915
|
-
this.
|
|
2912
|
+
this.h4s_1.k4q();
|
|
2913
|
+
this.j1v(getJsonElementName(descriptor, this.i4s_1, index));
|
|
2914
|
+
this.h4s_1.n4q(_Char___init__impl__6a9atx(58));
|
|
2915
|
+
this.h4s_1.m4q();
|
|
2916
2916
|
break;
|
|
2917
2917
|
}
|
|
2918
2918
|
return true;
|
|
2919
2919
|
};
|
|
2920
2920
|
protoOf(StreamingJsonEncoder).y1v = function (descriptor, index, serializer, value) {
|
|
2921
|
-
if (!(value == null) || this.
|
|
2921
|
+
if (!(value == null) || this.m4s_1.o4o_1) {
|
|
2922
2922
|
protoOf(AbstractEncoder).y1v.call(this, descriptor, index, serializer, value);
|
|
2923
2923
|
}
|
|
2924
2924
|
};
|
|
@@ -2927,32 +2927,32 @@
|
|
|
2927
2927
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2928
2928
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2929
2929
|
var tmp_0;
|
|
2930
|
-
var tmp_1 = this.
|
|
2930
|
+
var tmp_1 = this.h4s_1;
|
|
2931
2931
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2932
|
-
tmp_0 = this.
|
|
2932
|
+
tmp_0 = this.h4s_1;
|
|
2933
2933
|
} else {
|
|
2934
|
-
var tmp0 = this.
|
|
2935
|
-
var p1 = this.
|
|
2934
|
+
var tmp0 = this.h4s_1.g4q_1;
|
|
2935
|
+
var p1 = this.n4s_1;
|
|
2936
2936
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
2937
2937
|
}
|
|
2938
2938
|
var tmp$ret$1 = tmp_0;
|
|
2939
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2939
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.i4s_1, this.j4s_1, null);
|
|
2940
2940
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2941
2941
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2942
2942
|
var tmp_2;
|
|
2943
|
-
var tmp_3 = this.
|
|
2943
|
+
var tmp_3 = this.h4s_1;
|
|
2944
2944
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2945
|
-
tmp_2 = this.
|
|
2945
|
+
tmp_2 = this.h4s_1;
|
|
2946
2946
|
} else {
|
|
2947
|
-
var tmp0_0 = this.
|
|
2948
|
-
var p1_0 = this.
|
|
2947
|
+
var tmp0_0 = this.h4s_1.g4q_1;
|
|
2948
|
+
var p1_0 = this.n4s_1;
|
|
2949
2949
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
2950
2950
|
}
|
|
2951
2951
|
var tmp$ret$3 = tmp_2;
|
|
2952
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
2953
|
-
} else if (!(this.
|
|
2952
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.i4s_1, this.j4s_1, null);
|
|
2953
|
+
} else if (!(this.o4s_1 == null)) {
|
|
2954
2954
|
// Inline function 'kotlin.apply' call
|
|
2955
|
-
this.
|
|
2955
|
+
this.p4s_1 = descriptor.s1r();
|
|
2956
2956
|
tmp = this;
|
|
2957
2957
|
} else {
|
|
2958
2958
|
tmp = protoOf(AbstractEncoder).l1v.call(this, descriptor);
|
|
@@ -2960,68 +2960,68 @@
|
|
|
2960
2960
|
return tmp;
|
|
2961
2961
|
};
|
|
2962
2962
|
protoOf(StreamingJsonEncoder).a1v = function () {
|
|
2963
|
-
this.
|
|
2963
|
+
this.h4s_1.p4q('null');
|
|
2964
2964
|
};
|
|
2965
2965
|
protoOf(StreamingJsonEncoder).b1v = function (value) {
|
|
2966
|
-
if (this.
|
|
2966
|
+
if (this.n4s_1) {
|
|
2967
2967
|
this.j1v(value.toString());
|
|
2968
2968
|
} else {
|
|
2969
|
-
this.
|
|
2969
|
+
this.h4s_1.y4q(value);
|
|
2970
2970
|
}
|
|
2971
2971
|
};
|
|
2972
2972
|
protoOf(StreamingJsonEncoder).c1v = function (value) {
|
|
2973
|
-
if (this.
|
|
2973
|
+
if (this.n4s_1) {
|
|
2974
2974
|
this.j1v(value.toString());
|
|
2975
2975
|
} else {
|
|
2976
|
-
this.
|
|
2976
|
+
this.h4s_1.t4q(value);
|
|
2977
2977
|
}
|
|
2978
2978
|
};
|
|
2979
2979
|
protoOf(StreamingJsonEncoder).d1v = function (value) {
|
|
2980
|
-
if (this.
|
|
2980
|
+
if (this.n4s_1) {
|
|
2981
2981
|
this.j1v(value.toString());
|
|
2982
2982
|
} else {
|
|
2983
|
-
this.
|
|
2983
|
+
this.h4s_1.v4q(value);
|
|
2984
2984
|
}
|
|
2985
2985
|
};
|
|
2986
2986
|
protoOf(StreamingJsonEncoder).e1v = function (value) {
|
|
2987
|
-
if (this.
|
|
2987
|
+
if (this.n4s_1) {
|
|
2988
2988
|
this.j1v(value.toString());
|
|
2989
2989
|
} else {
|
|
2990
|
-
this.
|
|
2990
|
+
this.h4s_1.w4q(value);
|
|
2991
2991
|
}
|
|
2992
2992
|
};
|
|
2993
2993
|
protoOf(StreamingJsonEncoder).f1v = function (value) {
|
|
2994
|
-
if (this.
|
|
2994
|
+
if (this.n4s_1) {
|
|
2995
2995
|
this.j1v(value.toString());
|
|
2996
2996
|
} else {
|
|
2997
|
-
this.
|
|
2997
|
+
this.h4s_1.x4q(value);
|
|
2998
2998
|
}
|
|
2999
2999
|
};
|
|
3000
3000
|
protoOf(StreamingJsonEncoder).g1v = function (value) {
|
|
3001
|
-
if (this.
|
|
3001
|
+
if (this.n4s_1) {
|
|
3002
3002
|
this.j1v(value.toString());
|
|
3003
3003
|
} else {
|
|
3004
|
-
this.
|
|
3004
|
+
this.h4s_1.r4q(value);
|
|
3005
3005
|
}
|
|
3006
|
-
if (!this.
|
|
3007
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3006
|
+
if (!this.m4s_1.t4o_1 && !isFinite(value)) {
|
|
3007
|
+
throw InvalidFloatingPointEncoded(value, toString(this.h4s_1.g4q_1));
|
|
3008
3008
|
}
|
|
3009
3009
|
};
|
|
3010
3010
|
protoOf(StreamingJsonEncoder).h1v = function (value) {
|
|
3011
|
-
if (this.
|
|
3011
|
+
if (this.n4s_1) {
|
|
3012
3012
|
this.j1v(value.toString());
|
|
3013
3013
|
} else {
|
|
3014
|
-
this.
|
|
3014
|
+
this.h4s_1.s4q(value);
|
|
3015
3015
|
}
|
|
3016
|
-
if (!this.
|
|
3017
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3016
|
+
if (!this.m4s_1.t4o_1 && !isFinite_0(value)) {
|
|
3017
|
+
throw InvalidFloatingPointEncoded(value, toString(this.h4s_1.g4q_1));
|
|
3018
3018
|
}
|
|
3019
3019
|
};
|
|
3020
3020
|
protoOf(StreamingJsonEncoder).i1v = function (value) {
|
|
3021
3021
|
this.j1v(toString_1(value));
|
|
3022
3022
|
};
|
|
3023
3023
|
protoOf(StreamingJsonEncoder).j1v = function (value) {
|
|
3024
|
-
return this.
|
|
3024
|
+
return this.h4s_1.z4q(value);
|
|
3025
3025
|
};
|
|
3026
3026
|
protoOf(StreamingJsonEncoder).k1v = function (enumDescriptor, index) {
|
|
3027
3027
|
this.j1v(enumDescriptor.q1s(index));
|
|
@@ -3195,42 +3195,42 @@
|
|
|
3195
3195
|
}
|
|
3196
3196
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
3197
3197
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
3198
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
3198
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.f4v(tag), toString($this.g4v()));
|
|
3199
3199
|
}
|
|
3200
3200
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
3201
3201
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3202
3202
|
NamedValueDecoder.call(this);
|
|
3203
|
-
this.
|
|
3204
|
-
this.
|
|
3205
|
-
this.
|
|
3206
|
-
this.
|
|
3203
|
+
this.b4v_1 = json;
|
|
3204
|
+
this.c4v_1 = value;
|
|
3205
|
+
this.d4v_1 = polymorphicDiscriminator;
|
|
3206
|
+
this.e4v_1 = this.a4p().z4m_1;
|
|
3207
3207
|
}
|
|
3208
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3209
|
-
return this.
|
|
3208
|
+
protoOf(AbstractJsonTreeDecoder).a4p = function () {
|
|
3209
|
+
return this.b4v_1;
|
|
3210
3210
|
};
|
|
3211
3211
|
protoOf(AbstractJsonTreeDecoder).m1 = function () {
|
|
3212
|
-
return this.
|
|
3212
|
+
return this.c4v_1;
|
|
3213
3213
|
};
|
|
3214
3214
|
protoOf(AbstractJsonTreeDecoder).u1u = function () {
|
|
3215
|
-
return this.
|
|
3215
|
+
return this.a4p().u1u();
|
|
3216
3216
|
};
|
|
3217
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3217
|
+
protoOf(AbstractJsonTreeDecoder).g4v = function () {
|
|
3218
3218
|
var tmp0_safe_receiver = this.p28();
|
|
3219
3219
|
var tmp;
|
|
3220
3220
|
if (tmp0_safe_receiver == null) {
|
|
3221
3221
|
tmp = null;
|
|
3222
3222
|
} else {
|
|
3223
3223
|
// Inline function 'kotlin.let' call
|
|
3224
|
-
tmp = this.
|
|
3224
|
+
tmp = this.h4v(tmp0_safe_receiver);
|
|
3225
3225
|
}
|
|
3226
3226
|
var tmp1_elvis_lhs = tmp;
|
|
3227
3227
|
return tmp1_elvis_lhs == null ? this.m1() : tmp1_elvis_lhs;
|
|
3228
3228
|
};
|
|
3229
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3229
|
+
protoOf(AbstractJsonTreeDecoder).f4v = function (currentTag) {
|
|
3230
3230
|
return this.r28() + ('.' + currentTag);
|
|
3231
3231
|
};
|
|
3232
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3233
|
-
return this.
|
|
3232
|
+
protoOf(AbstractJsonTreeDecoder).b4p = function () {
|
|
3233
|
+
return this.g4v();
|
|
3234
3234
|
};
|
|
3235
3235
|
protoOf(AbstractJsonTreeDecoder).e1u = function (deserializer) {
|
|
3236
3236
|
var tmp$ret$0;
|
|
@@ -3240,14 +3240,14 @@
|
|
|
3240
3240
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3241
3241
|
tmp = true;
|
|
3242
3242
|
} else {
|
|
3243
|
-
tmp = this.
|
|
3243
|
+
tmp = this.a4p().z4m_1.r4o_1;
|
|
3244
3244
|
}
|
|
3245
3245
|
if (tmp) {
|
|
3246
3246
|
tmp$ret$0 = deserializer.t1q(this);
|
|
3247
3247
|
break $l$block;
|
|
3248
3248
|
}
|
|
3249
|
-
var discriminator = classDiscriminator(deserializer.r1q(), this.
|
|
3250
|
-
var tmp0 = this.
|
|
3249
|
+
var discriminator = classDiscriminator(deserializer.r1q(), this.a4p());
|
|
3250
|
+
var tmp0 = this.b4p();
|
|
3251
3251
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3252
3252
|
var serialName = deserializer.r1q().s1r();
|
|
3253
3253
|
if (!(tmp0 instanceof JsonObject)) {
|
|
@@ -3274,7 +3274,7 @@
|
|
|
3274
3274
|
}
|
|
3275
3275
|
var tmp_4 = tmp_2;
|
|
3276
3276
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3277
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3277
|
+
tmp$ret$0 = readPolymorphicJson(this.a4p(), discriminator, jsonTree, actualSerializer);
|
|
3278
3278
|
}
|
|
3279
3279
|
return tmp$ret$0;
|
|
3280
3280
|
};
|
|
@@ -3282,7 +3282,7 @@
|
|
|
3282
3282
|
return childName;
|
|
3283
3283
|
};
|
|
3284
3284
|
protoOf(AbstractJsonTreeDecoder).f1u = function (descriptor) {
|
|
3285
|
-
var currentObject = this.
|
|
3285
|
+
var currentObject = this.g4v();
|
|
3286
3286
|
var tmp0_subject = descriptor.m1s();
|
|
3287
3287
|
var tmp;
|
|
3288
3288
|
var tmp_0;
|
|
@@ -3292,7 +3292,7 @@
|
|
|
3292
3292
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3293
3293
|
}
|
|
3294
3294
|
if (tmp_0) {
|
|
3295
|
-
var tmp_1 = this.
|
|
3295
|
+
var tmp_1 = this.a4p();
|
|
3296
3296
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3297
3297
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3298
3298
|
var serialName = descriptor.s1r();
|
|
@@ -3306,7 +3306,7 @@
|
|
|
3306
3306
|
} else {
|
|
3307
3307
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3308
3308
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3309
|
-
var this_0 = this.
|
|
3309
|
+
var this_0 = this.a4p();
|
|
3310
3310
|
var keyDescriptor = carrierDescriptor(descriptor.t1s(0), this_0.u1u());
|
|
3311
3311
|
var keyKind = keyDescriptor.m1s();
|
|
3312
3312
|
var tmp_4;
|
|
@@ -3317,7 +3317,7 @@
|
|
|
3317
3317
|
tmp_5 = equals(keyKind, ENUM_getInstance());
|
|
3318
3318
|
}
|
|
3319
3319
|
if (tmp_5) {
|
|
3320
|
-
var tmp_6 = this.
|
|
3320
|
+
var tmp_6 = this.a4p();
|
|
3321
3321
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3322
3322
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3323
3323
|
var serialName_0 = descriptor.s1r();
|
|
@@ -3329,8 +3329,8 @@
|
|
|
3329
3329
|
}
|
|
3330
3330
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
3331
3331
|
} else {
|
|
3332
|
-
if (this_0.
|
|
3333
|
-
var tmp_9 = this.
|
|
3332
|
+
if (this_0.z4m_1.m4o_1) {
|
|
3333
|
+
var tmp_9 = this.a4p();
|
|
3334
3334
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3335
3335
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3336
3336
|
var serialName_1 = descriptor.s1r();
|
|
@@ -3347,7 +3347,7 @@
|
|
|
3347
3347
|
}
|
|
3348
3348
|
tmp = tmp_4;
|
|
3349
3349
|
} else {
|
|
3350
|
-
var tmp_12 = this.
|
|
3350
|
+
var tmp_12 = this.a4p();
|
|
3351
3351
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3352
3352
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3353
3353
|
var serialName_2 = descriptor.s1r();
|
|
@@ -3357,7 +3357,7 @@
|
|
|
3357
3357
|
var tmp$ret$12 = this.r28();
|
|
3358
3358
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$12, toString(currentObject));
|
|
3359
3359
|
}
|
|
3360
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
3360
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.d4v_1);
|
|
3361
3361
|
}
|
|
3362
3362
|
}
|
|
3363
3363
|
return tmp;
|
|
@@ -3365,44 +3365,44 @@
|
|
|
3365
3365
|
protoOf(AbstractJsonTreeDecoder).g1u = function (descriptor) {
|
|
3366
3366
|
};
|
|
3367
3367
|
protoOf(AbstractJsonTreeDecoder).q1t = function () {
|
|
3368
|
-
var tmp = this.
|
|
3368
|
+
var tmp = this.g4v();
|
|
3369
3369
|
return !(tmp instanceof JsonNull);
|
|
3370
3370
|
};
|
|
3371
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3372
|
-
var tmp = this.
|
|
3371
|
+
protoOf(AbstractJsonTreeDecoder).i4v = function (tag, enumDescriptor) {
|
|
3372
|
+
var tmp = this.a4p();
|
|
3373
3373
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3374
|
-
var tmp2 = this.
|
|
3374
|
+
var tmp2 = this.h4v(tag);
|
|
3375
3375
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3376
3376
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3377
3377
|
var serialName = enumDescriptor.s1r();
|
|
3378
3378
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3379
3379
|
var tmp_0 = getKClass(JsonPrimitive).o();
|
|
3380
3380
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3381
|
-
var tmp$ret$0 = this.
|
|
3381
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3382
3382
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3383
3383
|
}
|
|
3384
|
-
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.
|
|
3384
|
+
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.d3f());
|
|
3385
3385
|
};
|
|
3386
3386
|
protoOf(AbstractJsonTreeDecoder).d29 = function (tag, enumDescriptor) {
|
|
3387
|
-
return this.
|
|
3387
|
+
return this.i4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3388
3388
|
};
|
|
3389
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3390
|
-
return !(this.
|
|
3389
|
+
protoOf(AbstractJsonTreeDecoder).j4v = function (tag) {
|
|
3390
|
+
return !(this.h4v(tag) === JsonNull_getInstance());
|
|
3391
3391
|
};
|
|
3392
3392
|
protoOf(AbstractJsonTreeDecoder).t28 = function (tag) {
|
|
3393
|
-
return this.
|
|
3393
|
+
return this.j4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3394
3394
|
};
|
|
3395
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3395
|
+
protoOf(AbstractJsonTreeDecoder).k4v = function (tag) {
|
|
3396
3396
|
var tmp$ret$4;
|
|
3397
3397
|
$l$block: {
|
|
3398
3398
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3399
3399
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3400
3400
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3401
|
-
var value = this.
|
|
3401
|
+
var value = this.h4v(tag);
|
|
3402
3402
|
if (!(value instanceof JsonPrimitive)) {
|
|
3403
3403
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3404
3404
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3405
|
-
var tmp$ret$0 = this.
|
|
3405
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3406
3406
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3407
3407
|
}
|
|
3408
3408
|
var literal = value;
|
|
@@ -3428,19 +3428,19 @@
|
|
|
3428
3428
|
return tmp$ret$4;
|
|
3429
3429
|
};
|
|
3430
3430
|
protoOf(AbstractJsonTreeDecoder).u28 = function (tag) {
|
|
3431
|
-
return this.
|
|
3431
|
+
return this.k4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3432
3432
|
};
|
|
3433
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3433
|
+
protoOf(AbstractJsonTreeDecoder).l4v = function (tag) {
|
|
3434
3434
|
var tmp$ret$5;
|
|
3435
3435
|
$l$block: {
|
|
3436
3436
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3437
3437
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3438
3438
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3439
|
-
var value = this.
|
|
3439
|
+
var value = this.h4v(tag);
|
|
3440
3440
|
if (!(value instanceof JsonPrimitive)) {
|
|
3441
3441
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3442
3442
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3443
|
-
var tmp$ret$0 = this.
|
|
3443
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3444
3444
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3445
3445
|
}
|
|
3446
3446
|
var literal = value;
|
|
@@ -3475,19 +3475,19 @@
|
|
|
3475
3475
|
return tmp$ret$5;
|
|
3476
3476
|
};
|
|
3477
3477
|
protoOf(AbstractJsonTreeDecoder).v28 = function (tag) {
|
|
3478
|
-
return this.
|
|
3478
|
+
return this.l4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3479
3479
|
};
|
|
3480
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3480
|
+
protoOf(AbstractJsonTreeDecoder).m4v = function (tag) {
|
|
3481
3481
|
var tmp$ret$5;
|
|
3482
3482
|
$l$block: {
|
|
3483
3483
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3484
3484
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3485
3485
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3486
|
-
var value = this.
|
|
3486
|
+
var value = this.h4v(tag);
|
|
3487
3487
|
if (!(value instanceof JsonPrimitive)) {
|
|
3488
3488
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3489
3489
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3490
|
-
var tmp$ret$0 = this.
|
|
3490
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3491
3491
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3492
3492
|
}
|
|
3493
3493
|
var literal = value;
|
|
@@ -3522,19 +3522,19 @@
|
|
|
3522
3522
|
return tmp$ret$5;
|
|
3523
3523
|
};
|
|
3524
3524
|
protoOf(AbstractJsonTreeDecoder).w28 = function (tag) {
|
|
3525
|
-
return this.
|
|
3525
|
+
return this.m4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3526
3526
|
};
|
|
3527
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3527
|
+
protoOf(AbstractJsonTreeDecoder).n4v = function (tag) {
|
|
3528
3528
|
var tmp$ret$5;
|
|
3529
3529
|
$l$block: {
|
|
3530
3530
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3531
3531
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3532
3532
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3533
|
-
var value = this.
|
|
3533
|
+
var value = this.h4v(tag);
|
|
3534
3534
|
if (!(value instanceof JsonPrimitive)) {
|
|
3535
3535
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3536
3536
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3537
|
-
var tmp$ret$0 = this.
|
|
3537
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3538
3538
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3539
3539
|
}
|
|
3540
3540
|
var literal = value;
|
|
@@ -3569,19 +3569,19 @@
|
|
|
3569
3569
|
return tmp$ret$5;
|
|
3570
3570
|
};
|
|
3571
3571
|
protoOf(AbstractJsonTreeDecoder).x28 = function (tag) {
|
|
3572
|
-
return this.
|
|
3572
|
+
return this.n4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3573
3573
|
};
|
|
3574
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3574
|
+
protoOf(AbstractJsonTreeDecoder).o4v = function (tag) {
|
|
3575
3575
|
var tmp$ret$4;
|
|
3576
3576
|
$l$block: {
|
|
3577
3577
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3578
3578
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3579
3579
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3580
|
-
var value = this.
|
|
3580
|
+
var value = this.h4v(tag);
|
|
3581
3581
|
if (!(value instanceof JsonPrimitive)) {
|
|
3582
3582
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3583
3583
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3584
|
-
var tmp$ret$0 = this.
|
|
3584
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3585
3585
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3586
3586
|
}
|
|
3587
3587
|
var literal = value;
|
|
@@ -3607,19 +3607,19 @@
|
|
|
3607
3607
|
return tmp$ret$4;
|
|
3608
3608
|
};
|
|
3609
3609
|
protoOf(AbstractJsonTreeDecoder).y28 = function (tag) {
|
|
3610
|
-
return this.
|
|
3610
|
+
return this.o4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3611
3611
|
};
|
|
3612
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3612
|
+
protoOf(AbstractJsonTreeDecoder).p4v = function (tag) {
|
|
3613
3613
|
var tmp$ret$4;
|
|
3614
3614
|
$l$block: {
|
|
3615
3615
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3616
3616
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3617
3617
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3618
|
-
var value = this.
|
|
3618
|
+
var value = this.h4v(tag);
|
|
3619
3619
|
if (!(value instanceof JsonPrimitive)) {
|
|
3620
3620
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3621
3621
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3622
|
-
var tmp$ret$0 = this.
|
|
3622
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3623
3623
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3624
3624
|
}
|
|
3625
3625
|
var literal = value;
|
|
@@ -3643,25 +3643,25 @@
|
|
|
3643
3643
|
}
|
|
3644
3644
|
}
|
|
3645
3645
|
var result = tmp$ret$4;
|
|
3646
|
-
var specialFp = this.
|
|
3646
|
+
var specialFp = this.a4p().z4m_1.t4o_1;
|
|
3647
3647
|
if (specialFp || isFinite(result))
|
|
3648
3648
|
return result;
|
|
3649
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3649
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.g4v()));
|
|
3650
3650
|
};
|
|
3651
3651
|
protoOf(AbstractJsonTreeDecoder).z28 = function (tag) {
|
|
3652
|
-
return this.
|
|
3652
|
+
return this.p4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3653
3653
|
};
|
|
3654
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3654
|
+
protoOf(AbstractJsonTreeDecoder).q4v = function (tag) {
|
|
3655
3655
|
var tmp$ret$4;
|
|
3656
3656
|
$l$block: {
|
|
3657
3657
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3658
3658
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3659
3659
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3660
|
-
var value = this.
|
|
3660
|
+
var value = this.h4v(tag);
|
|
3661
3661
|
if (!(value instanceof JsonPrimitive)) {
|
|
3662
3662
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3663
3663
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3664
|
-
var tmp$ret$0 = this.
|
|
3664
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3665
3665
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3666
3666
|
}
|
|
3667
3667
|
var literal = value;
|
|
@@ -3685,30 +3685,30 @@
|
|
|
3685
3685
|
}
|
|
3686
3686
|
}
|
|
3687
3687
|
var result = tmp$ret$4;
|
|
3688
|
-
var specialFp = this.
|
|
3688
|
+
var specialFp = this.a4p().z4m_1.t4o_1;
|
|
3689
3689
|
if (specialFp || isFinite_0(result))
|
|
3690
3690
|
return result;
|
|
3691
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3691
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.g4v()));
|
|
3692
3692
|
};
|
|
3693
3693
|
protoOf(AbstractJsonTreeDecoder).a29 = function (tag) {
|
|
3694
|
-
return this.
|
|
3694
|
+
return this.q4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3695
3695
|
};
|
|
3696
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3696
|
+
protoOf(AbstractJsonTreeDecoder).r4v = function (tag) {
|
|
3697
3697
|
var tmp$ret$4;
|
|
3698
3698
|
$l$block: {
|
|
3699
3699
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3700
3700
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3701
3701
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3702
|
-
var value = this.
|
|
3702
|
+
var value = this.h4v(tag);
|
|
3703
3703
|
if (!(value instanceof JsonPrimitive)) {
|
|
3704
3704
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3705
3705
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3706
|
-
var tmp$ret$0 = this.
|
|
3706
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3707
3707
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3708
3708
|
}
|
|
3709
3709
|
var literal = value;
|
|
3710
3710
|
try {
|
|
3711
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3711
|
+
var tmp0_elvis_lhs = new Char(single(literal.d3f()));
|
|
3712
3712
|
var tmp_1;
|
|
3713
3713
|
if (tmp0_elvis_lhs == null) {
|
|
3714
3714
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3729,93 +3729,93 @@
|
|
|
3729
3729
|
return tmp$ret$4;
|
|
3730
3730
|
};
|
|
3731
3731
|
protoOf(AbstractJsonTreeDecoder).b29 = function (tag) {
|
|
3732
|
-
return this.
|
|
3732
|
+
return this.r4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3733
3733
|
};
|
|
3734
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3734
|
+
protoOf(AbstractJsonTreeDecoder).s4v = function (tag) {
|
|
3735
3735
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3736
3736
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3737
|
-
var value = this.
|
|
3737
|
+
var value = this.h4v(tag);
|
|
3738
3738
|
if (!(value instanceof JsonPrimitive)) {
|
|
3739
3739
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3740
3740
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3741
|
-
var tmp$ret$0 = this.
|
|
3741
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3742
3742
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3743
3743
|
}
|
|
3744
3744
|
var value_0 = value;
|
|
3745
3745
|
if (!(value_0 instanceof JsonLiteral))
|
|
3746
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3747
|
-
if (!value_0.
|
|
3748
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3746
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.f4v(tag), toString(this.g4v()));
|
|
3747
|
+
if (!value_0.l4p_1 && !this.a4p().z4m_1.l4o_1) {
|
|
3748
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.f4v(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.g4v()));
|
|
3749
3749
|
}
|
|
3750
|
-
return value_0.
|
|
3750
|
+
return value_0.n4p_1;
|
|
3751
3751
|
};
|
|
3752
3752
|
protoOf(AbstractJsonTreeDecoder).c29 = function (tag) {
|
|
3753
|
-
return this.
|
|
3753
|
+
return this.s4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3754
3754
|
};
|
|
3755
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3755
|
+
protoOf(AbstractJsonTreeDecoder).t4v = function (tag, inlineDescriptor) {
|
|
3756
3756
|
var tmp;
|
|
3757
3757
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3758
|
-
var tmp_0 = this.
|
|
3758
|
+
var tmp_0 = this.a4p();
|
|
3759
3759
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3760
|
-
var tmp2 = this.
|
|
3760
|
+
var tmp2 = this.h4v(tag);
|
|
3761
3761
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3762
3762
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3763
3763
|
var serialName = inlineDescriptor.s1r();
|
|
3764
3764
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3765
3765
|
var tmp_1 = getKClass(JsonPrimitive).o();
|
|
3766
3766
|
var tmp_2 = getKClassFromExpression(tmp2).o();
|
|
3767
|
-
var tmp$ret$0 = this.
|
|
3767
|
+
var tmp$ret$0 = this.f4v(tag);
|
|
3768
3768
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3769
3769
|
}
|
|
3770
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
3771
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3770
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.d3f());
|
|
3771
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.a4p());
|
|
3772
3772
|
} else {
|
|
3773
3773
|
tmp = protoOf(NamedValueDecoder).e29.call(this, tag, inlineDescriptor);
|
|
3774
3774
|
}
|
|
3775
3775
|
return tmp;
|
|
3776
3776
|
};
|
|
3777
3777
|
protoOf(AbstractJsonTreeDecoder).e29 = function (tag, inlineDescriptor) {
|
|
3778
|
-
return this.
|
|
3778
|
+
return this.t4v((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3779
3779
|
};
|
|
3780
3780
|
protoOf(AbstractJsonTreeDecoder).c1u = function (descriptor) {
|
|
3781
|
-
return !(this.p28() == null) ? protoOf(NamedValueDecoder).c1u.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
3781
|
+
return !(this.p28() == null) ? protoOf(NamedValueDecoder).c1u.call(this, descriptor) : (new JsonPrimitiveDecoder(this.a4p(), this.m1(), this.d4v_1)).c1u(descriptor);
|
|
3782
3782
|
};
|
|
3783
3783
|
function setForceNull($this, descriptor, index) {
|
|
3784
|
-
$this.
|
|
3785
|
-
return $this.
|
|
3784
|
+
$this.d4w_1 = (!$this.a4p().z4m_1.o4o_1 && !descriptor.u1s(index) && descriptor.t1s(index).f1s());
|
|
3785
|
+
return $this.d4w_1;
|
|
3786
3786
|
}
|
|
3787
3787
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3788
3788
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3789
3789
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3790
3790
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3791
|
-
this.
|
|
3792
|
-
this.
|
|
3793
|
-
this.
|
|
3794
|
-
this.
|
|
3791
|
+
this.a4w_1 = value;
|
|
3792
|
+
this.b4w_1 = polyDescriptor;
|
|
3793
|
+
this.c4w_1 = 0;
|
|
3794
|
+
this.d4w_1 = false;
|
|
3795
3795
|
}
|
|
3796
3796
|
protoOf(JsonTreeDecoder).m1 = function () {
|
|
3797
|
-
return this.
|
|
3797
|
+
return this.a4w_1;
|
|
3798
3798
|
};
|
|
3799
3799
|
protoOf(JsonTreeDecoder).w1u = function (descriptor) {
|
|
3800
|
-
$l$loop: while (this.
|
|
3801
|
-
var _unary__edvuaz = this.
|
|
3802
|
-
this.
|
|
3800
|
+
$l$loop: while (this.c4w_1 < descriptor.o1s()) {
|
|
3801
|
+
var _unary__edvuaz = this.c4w_1;
|
|
3802
|
+
this.c4w_1 = _unary__edvuaz + 1 | 0;
|
|
3803
3803
|
var name = this.k28(descriptor, _unary__edvuaz);
|
|
3804
|
-
var index = this.
|
|
3805
|
-
this.
|
|
3804
|
+
var index = this.c4w_1 - 1 | 0;
|
|
3805
|
+
this.d4w_1 = false;
|
|
3806
3806
|
var tmp;
|
|
3807
3807
|
// Inline function 'kotlin.collections.contains' call
|
|
3808
3808
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3809
3809
|
var this_0 = this.m1();
|
|
3810
|
-
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
3810
|
+
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).x2(name)) {
|
|
3811
3811
|
tmp = true;
|
|
3812
3812
|
} else {
|
|
3813
3813
|
tmp = setForceNull(this, descriptor, index);
|
|
3814
3814
|
}
|
|
3815
3815
|
if (tmp) {
|
|
3816
|
-
if (!this.
|
|
3816
|
+
if (!this.e4v_1.q4o_1)
|
|
3817
3817
|
return index;
|
|
3818
|
-
var tmp0 = this.
|
|
3818
|
+
var tmp0 = this.a4p();
|
|
3819
3819
|
var tmp$ret$3;
|
|
3820
3820
|
$l$block_2: {
|
|
3821
3821
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -3823,7 +3823,7 @@
|
|
|
3823
3823
|
var elementDescriptor = descriptor.t1s(index);
|
|
3824
3824
|
var tmp_0;
|
|
3825
3825
|
if (isOptional && !elementDescriptor.f1s()) {
|
|
3826
|
-
var tmp_1 = this.
|
|
3826
|
+
var tmp_1 = this.e4w(name);
|
|
3827
3827
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
3828
3828
|
} else {
|
|
3829
3829
|
tmp_0 = false;
|
|
@@ -3835,7 +3835,7 @@
|
|
|
3835
3835
|
if (equals(elementDescriptor.m1s(), ENUM_getInstance())) {
|
|
3836
3836
|
var tmp_2;
|
|
3837
3837
|
if (elementDescriptor.f1s()) {
|
|
3838
|
-
var tmp_3 = this.
|
|
3838
|
+
var tmp_3 = this.e4w(name);
|
|
3839
3839
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
3840
3840
|
} else {
|
|
3841
3841
|
tmp_2 = false;
|
|
@@ -3844,7 +3844,7 @@
|
|
|
3844
3844
|
tmp$ret$3 = false;
|
|
3845
3845
|
break $l$block_2;
|
|
3846
3846
|
}
|
|
3847
|
-
var tmp_4 = this.
|
|
3847
|
+
var tmp_4 = this.e4w(name);
|
|
3848
3848
|
var tmp0_safe_receiver = tmp_4 instanceof JsonPrimitive ? tmp_4 : null;
|
|
3849
3849
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3850
3850
|
var tmp_5;
|
|
@@ -3856,7 +3856,7 @@
|
|
|
3856
3856
|
}
|
|
3857
3857
|
var enumValue = tmp_5;
|
|
3858
3858
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3859
|
-
var coerceToNull = !tmp0.
|
|
3859
|
+
var coerceToNull = !tmp0.z4m_1.o4o_1 && elementDescriptor.f1s();
|
|
3860
3860
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3861
3861
|
if (setForceNull(this, descriptor, index))
|
|
3862
3862
|
return index;
|
|
@@ -3874,27 +3874,27 @@
|
|
|
3874
3874
|
return -1;
|
|
3875
3875
|
};
|
|
3876
3876
|
protoOf(JsonTreeDecoder).q1t = function () {
|
|
3877
|
-
return !this.
|
|
3877
|
+
return !this.d4w_1 && protoOf(AbstractJsonTreeDecoder).q1t.call(this);
|
|
3878
3878
|
};
|
|
3879
3879
|
protoOf(JsonTreeDecoder).l28 = function (descriptor, index) {
|
|
3880
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3880
|
+
var strategy = namingStrategy(descriptor, this.a4p());
|
|
3881
3881
|
var baseName = descriptor.q1s(index);
|
|
3882
3882
|
if (strategy == null) {
|
|
3883
|
-
if (!this.
|
|
3883
|
+
if (!this.e4v_1.u4o_1)
|
|
3884
3884
|
return baseName;
|
|
3885
|
-
if (this.m1().
|
|
3885
|
+
if (this.m1().v2().h2(baseName))
|
|
3886
3886
|
return baseName;
|
|
3887
3887
|
}
|
|
3888
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3888
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.a4p(), descriptor);
|
|
3889
3889
|
// Inline function 'kotlin.collections.find' call
|
|
3890
|
-
var tmp0 = this.m1().
|
|
3890
|
+
var tmp0 = this.m1().v2();
|
|
3891
3891
|
var tmp$ret$1;
|
|
3892
3892
|
$l$block: {
|
|
3893
3893
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
3894
3894
|
var _iterator__ex2g4s = tmp0.t();
|
|
3895
3895
|
while (_iterator__ex2g4s.u()) {
|
|
3896
3896
|
var element = _iterator__ex2g4s.v();
|
|
3897
|
-
if (deserializationNamesMap_0.
|
|
3897
|
+
if (deserializationNamesMap_0.z2(element) === index) {
|
|
3898
3898
|
tmp$ret$1 = element;
|
|
3899
3899
|
break $l$block;
|
|
3900
3900
|
}
|
|
@@ -3908,35 +3908,35 @@
|
|
|
3908
3908
|
// Inline function 'kotlin.let' call
|
|
3909
3909
|
return tmp0_safe_receiver;
|
|
3910
3910
|
}
|
|
3911
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3911
|
+
var fallbackName = strategy == null ? null : strategy.u4r(descriptor, index, baseName);
|
|
3912
3912
|
return fallbackName == null ? baseName : fallbackName;
|
|
3913
3913
|
};
|
|
3914
|
-
protoOf(JsonTreeDecoder).
|
|
3914
|
+
protoOf(JsonTreeDecoder).h4v = function (tag) {
|
|
3915
3915
|
return getValue(this.m1(), tag);
|
|
3916
3916
|
};
|
|
3917
|
-
protoOf(JsonTreeDecoder).
|
|
3917
|
+
protoOf(JsonTreeDecoder).e4w = function (tag) {
|
|
3918
3918
|
return this.m1().x2b(tag);
|
|
3919
3919
|
};
|
|
3920
3920
|
protoOf(JsonTreeDecoder).f1u = function (descriptor) {
|
|
3921
|
-
if (descriptor === this.
|
|
3922
|
-
var tmp = this.
|
|
3923
|
-
var tmp2 = this.
|
|
3921
|
+
if (descriptor === this.b4w_1) {
|
|
3922
|
+
var tmp = this.a4p();
|
|
3923
|
+
var tmp2 = this.g4v();
|
|
3924
3924
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3925
3925
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3926
|
-
var serialName = this.
|
|
3926
|
+
var serialName = this.b4w_1.s1r();
|
|
3927
3927
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3928
3928
|
var tmp_0 = getKClass(JsonObject).o();
|
|
3929
3929
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3930
3930
|
var tmp$ret$0 = this.r28();
|
|
3931
3931
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3932
3932
|
}
|
|
3933
|
-
return new JsonTreeDecoder(tmp, tmp2, this.
|
|
3933
|
+
return new JsonTreeDecoder(tmp, tmp2, this.d4v_1, this.b4w_1);
|
|
3934
3934
|
}
|
|
3935
3935
|
return protoOf(AbstractJsonTreeDecoder).f1u.call(this, descriptor);
|
|
3936
3936
|
};
|
|
3937
3937
|
protoOf(JsonTreeDecoder).g1u = function (descriptor) {
|
|
3938
3938
|
var tmp;
|
|
3939
|
-
if (ignoreUnknownKeys(descriptor, this.
|
|
3939
|
+
if (ignoreUnknownKeys(descriptor, this.a4p())) {
|
|
3940
3940
|
tmp = true;
|
|
3941
3941
|
} else {
|
|
3942
3942
|
var tmp_0 = descriptor.m1s();
|
|
@@ -3944,94 +3944,94 @@
|
|
|
3944
3944
|
}
|
|
3945
3945
|
if (tmp)
|
|
3946
3946
|
return Unit_instance;
|
|
3947
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3947
|
+
var strategy = namingStrategy(descriptor, this.a4p());
|
|
3948
3948
|
var tmp_1;
|
|
3949
|
-
if (strategy == null && !this.
|
|
3949
|
+
if (strategy == null && !this.e4v_1.u4o_1) {
|
|
3950
3950
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3951
3951
|
} else if (!(strategy == null)) {
|
|
3952
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3952
|
+
tmp_1 = deserializationNamesMap(this.a4p(), descriptor).v2();
|
|
3953
3953
|
} else {
|
|
3954
3954
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3955
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3955
|
+
var tmp0_safe_receiver = get_schemaCache(this.a4p()).f4u(descriptor, get_JsonDeserializationNamesKey());
|
|
3956
3956
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3957
|
-
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3957
|
+
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v2();
|
|
3958
3958
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
3959
3959
|
tmp_1 = plus_0(tmp_2, tmp$ret$0);
|
|
3960
3960
|
}
|
|
3961
3961
|
var names = tmp_1;
|
|
3962
|
-
var _iterator__ex2g4s = this.m1().
|
|
3962
|
+
var _iterator__ex2g4s = this.m1().v2().t();
|
|
3963
3963
|
while (_iterator__ex2g4s.u()) {
|
|
3964
3964
|
var key = _iterator__ex2g4s.v();
|
|
3965
|
-
if (!names.h2(key) && !(key === this.
|
|
3965
|
+
if (!names.h2(key) && !(key === this.d4v_1)) {
|
|
3966
3966
|
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.r28() + '\n' + "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.m1().toString()))));
|
|
3967
3967
|
}
|
|
3968
3968
|
}
|
|
3969
3969
|
};
|
|
3970
3970
|
function JsonTreeListDecoder(json, value) {
|
|
3971
3971
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3972
|
-
this.
|
|
3973
|
-
this.
|
|
3974
|
-
this.
|
|
3972
|
+
this.l4w_1 = value;
|
|
3973
|
+
this.m4w_1 = this.l4w_1.g1();
|
|
3974
|
+
this.n4w_1 = -1;
|
|
3975
3975
|
}
|
|
3976
3976
|
protoOf(JsonTreeListDecoder).m1 = function () {
|
|
3977
|
-
return this.
|
|
3977
|
+
return this.l4w_1;
|
|
3978
3978
|
};
|
|
3979
3979
|
protoOf(JsonTreeListDecoder).l28 = function (descriptor, index) {
|
|
3980
3980
|
return index.toString();
|
|
3981
3981
|
};
|
|
3982
|
-
protoOf(JsonTreeListDecoder).
|
|
3983
|
-
return this.
|
|
3982
|
+
protoOf(JsonTreeListDecoder).h4v = function (tag) {
|
|
3983
|
+
return this.l4w_1.h1(toInt(tag));
|
|
3984
3984
|
};
|
|
3985
3985
|
protoOf(JsonTreeListDecoder).w1u = function (descriptor) {
|
|
3986
|
-
while (this.
|
|
3987
|
-
this.
|
|
3988
|
-
return this.
|
|
3986
|
+
while (this.n4w_1 < (this.m4w_1 - 1 | 0)) {
|
|
3987
|
+
this.n4w_1 = this.n4w_1 + 1 | 0;
|
|
3988
|
+
return this.n4w_1;
|
|
3989
3989
|
}
|
|
3990
3990
|
return -1;
|
|
3991
3991
|
};
|
|
3992
3992
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
3993
3993
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3994
3994
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3995
|
-
this.
|
|
3995
|
+
this.u4w_1 = value;
|
|
3996
3996
|
this.f29('primitive');
|
|
3997
3997
|
}
|
|
3998
3998
|
protoOf(JsonPrimitiveDecoder).m1 = function () {
|
|
3999
|
-
return this.
|
|
3999
|
+
return this.u4w_1;
|
|
4000
4000
|
};
|
|
4001
4001
|
protoOf(JsonPrimitiveDecoder).w1u = function (descriptor) {
|
|
4002
4002
|
return 0;
|
|
4003
4003
|
};
|
|
4004
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4004
|
+
protoOf(JsonPrimitiveDecoder).h4v = function (tag) {
|
|
4005
4005
|
// Inline function 'kotlin.require' call
|
|
4006
4006
|
if (!(tag === 'primitive')) {
|
|
4007
4007
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
4008
4008
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
4009
4009
|
}
|
|
4010
|
-
return this.
|
|
4010
|
+
return this.u4w_1;
|
|
4011
4011
|
};
|
|
4012
4012
|
function JsonTreeMapDecoder(json, value) {
|
|
4013
4013
|
JsonTreeDecoder.call(this, json, value);
|
|
4014
|
-
this.
|
|
4015
|
-
this.
|
|
4016
|
-
this.
|
|
4017
|
-
this.
|
|
4014
|
+
this.f4x_1 = value;
|
|
4015
|
+
this.g4x_1 = toList(this.f4x_1.v2());
|
|
4016
|
+
this.h4x_1 = imul(this.g4x_1.g1(), 2);
|
|
4017
|
+
this.i4x_1 = -1;
|
|
4018
4018
|
}
|
|
4019
4019
|
protoOf(JsonTreeMapDecoder).m1 = function () {
|
|
4020
|
-
return this.
|
|
4020
|
+
return this.f4x_1;
|
|
4021
4021
|
};
|
|
4022
4022
|
protoOf(JsonTreeMapDecoder).l28 = function (descriptor, index) {
|
|
4023
4023
|
var i = index / 2 | 0;
|
|
4024
|
-
return this.
|
|
4024
|
+
return this.g4x_1.h1(i);
|
|
4025
4025
|
};
|
|
4026
4026
|
protoOf(JsonTreeMapDecoder).w1u = function (descriptor) {
|
|
4027
|
-
while (this.
|
|
4028
|
-
this.
|
|
4029
|
-
return this.
|
|
4027
|
+
while (this.i4x_1 < (this.h4x_1 - 1 | 0)) {
|
|
4028
|
+
this.i4x_1 = this.i4x_1 + 1 | 0;
|
|
4029
|
+
return this.i4x_1;
|
|
4030
4030
|
}
|
|
4031
4031
|
return -1;
|
|
4032
4032
|
};
|
|
4033
|
-
protoOf(JsonTreeMapDecoder).
|
|
4034
|
-
return (this.
|
|
4033
|
+
protoOf(JsonTreeMapDecoder).h4v = function (tag) {
|
|
4034
|
+
return (this.i4x_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.f4x_1, tag);
|
|
4035
4035
|
};
|
|
4036
4036
|
protoOf(JsonTreeMapDecoder).g1u = function (descriptor) {
|
|
4037
4037
|
};
|
|
@@ -4063,8 +4063,8 @@
|
|
|
4063
4063
|
var $ENTRIES;
|
|
4064
4064
|
function WriteMode(name, ordinal, begin, end) {
|
|
4065
4065
|
Enum.call(this, name, ordinal);
|
|
4066
|
-
this.
|
|
4067
|
-
this.
|
|
4066
|
+
this.s4u_1 = begin;
|
|
4067
|
+
this.t4u_1 = end;
|
|
4068
4068
|
}
|
|
4069
4069
|
function switchMode(_this__u8e3s4, desc) {
|
|
4070
4070
|
var tmp0_subject = desc.m1s();
|
|
@@ -4089,7 +4089,7 @@
|
|
|
4089
4089
|
if (tmp_1) {
|
|
4090
4090
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
4091
4091
|
} else {
|
|
4092
|
-
if (_this__u8e3s4.
|
|
4092
|
+
if (_this__u8e3s4.z4m_1.m4o_1) {
|
|
4093
4093
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
4094
4094
|
} else {
|
|
4095
4095
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -4133,56 +4133,56 @@
|
|
|
4133
4133
|
return WriteMode_POLY_OBJ_instance;
|
|
4134
4134
|
}
|
|
4135
4135
|
function appendEscape($this, lastPosition, current) {
|
|
4136
|
-
$this.
|
|
4136
|
+
$this.j4x(lastPosition, current);
|
|
4137
4137
|
return appendEsc($this, current + 1 | 0);
|
|
4138
4138
|
}
|
|
4139
4139
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4140
|
-
$this.
|
|
4141
|
-
var result = $this.
|
|
4142
|
-
$this.
|
|
4140
|
+
$this.j4x(lastPosition, currentPosition);
|
|
4141
|
+
var result = $this.o4n_1.toString();
|
|
4142
|
+
$this.o4n_1.yb(0);
|
|
4143
4143
|
return result;
|
|
4144
4144
|
}
|
|
4145
4145
|
function takePeeked($this) {
|
|
4146
4146
|
// Inline function 'kotlin.also' call
|
|
4147
|
-
var this_0 = ensureNotNull($this.
|
|
4148
|
-
$this.
|
|
4147
|
+
var this_0 = ensureNotNull($this.n4n_1);
|
|
4148
|
+
$this.n4n_1 = null;
|
|
4149
4149
|
return this_0;
|
|
4150
4150
|
}
|
|
4151
4151
|
function wasUnquotedString($this) {
|
|
4152
|
-
return !(charSequenceGet($this.
|
|
4152
|
+
return !(charSequenceGet($this.k4x(), $this.l4n_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
4153
4153
|
}
|
|
4154
4154
|
function appendEsc($this, startPosition) {
|
|
4155
4155
|
var currentPosition = startPosition;
|
|
4156
|
-
currentPosition = $this.
|
|
4156
|
+
currentPosition = $this.l4x(currentPosition);
|
|
4157
4157
|
if (currentPosition === -1) {
|
|
4158
|
-
$this.
|
|
4158
|
+
$this.q4r('Expected escape sequence to continue, got EOF');
|
|
4159
4159
|
}
|
|
4160
|
-
var tmp = $this.
|
|
4160
|
+
var tmp = $this.k4x();
|
|
4161
4161
|
var _unary__edvuaz = currentPosition;
|
|
4162
4162
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
4163
4163
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
4164
4164
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
4165
|
-
return appendHex($this, $this.
|
|
4165
|
+
return appendHex($this, $this.k4x(), currentPosition);
|
|
4166
4166
|
}
|
|
4167
4167
|
// Inline function 'kotlin.code' call
|
|
4168
4168
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4169
4169
|
var c = escapeToChar(tmp$ret$0);
|
|
4170
4170
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
4171
|
-
$this.
|
|
4171
|
+
$this.q4r("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
4172
4172
|
}
|
|
4173
|
-
$this.
|
|
4173
|
+
$this.o4n_1.s(c);
|
|
4174
4174
|
return currentPosition;
|
|
4175
4175
|
}
|
|
4176
4176
|
function appendHex($this, source, startPos) {
|
|
4177
4177
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4178
|
-
$this.
|
|
4179
|
-
$this.
|
|
4180
|
-
if (($this.
|
|
4181
|
-
$this.
|
|
4178
|
+
$this.l4n_1 = startPos;
|
|
4179
|
+
$this.m4x();
|
|
4180
|
+
if (($this.l4n_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4181
|
+
$this.q4r('Unexpected EOF during unicode escape');
|
|
4182
4182
|
}
|
|
4183
|
-
return appendHex($this, source, $this.
|
|
4183
|
+
return appendHex($this, source, $this.l4n_1);
|
|
4184
4184
|
}
|
|
4185
|
-
$this.
|
|
4185
|
+
$this.o4n_1.s(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0));
|
|
4186
4186
|
return startPos + 4 | 0;
|
|
4187
4187
|
}
|
|
4188
4188
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4207,16 +4207,16 @@
|
|
|
4207
4207
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4208
4208
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4209
4209
|
} else {
|
|
4210
|
-
$this.
|
|
4210
|
+
$this.q4r("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4211
4211
|
}
|
|
4212
4212
|
return tmp;
|
|
4213
4213
|
}
|
|
4214
4214
|
function consumeBoolean2($this, start) {
|
|
4215
|
-
var current = $this.
|
|
4216
|
-
if (current >= charSequenceLength($this.
|
|
4217
|
-
$this.
|
|
4215
|
+
var current = $this.l4x(start);
|
|
4216
|
+
if (current >= charSequenceLength($this.k4x()) || current === -1) {
|
|
4217
|
+
$this.q4r('EOF');
|
|
4218
4218
|
}
|
|
4219
|
-
var tmp = $this.
|
|
4219
|
+
var tmp = $this.k4x();
|
|
4220
4220
|
var _unary__edvuaz = current;
|
|
4221
4221
|
current = _unary__edvuaz + 1 | 0;
|
|
4222
4222
|
// Inline function 'kotlin.code' call
|
|
@@ -4235,14 +4235,14 @@
|
|
|
4235
4235
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4236
4236
|
tmp_0 = false;
|
|
4237
4237
|
} else {
|
|
4238
|
-
$this.
|
|
4238
|
+
$this.q4r("Expected valid boolean literal prefix, but had '" + $this.y4s() + "'");
|
|
4239
4239
|
}
|
|
4240
4240
|
}
|
|
4241
4241
|
return tmp_0;
|
|
4242
4242
|
}
|
|
4243
4243
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4244
|
-
if ((charSequenceLength($this.
|
|
4245
|
-
$this.
|
|
4244
|
+
if ((charSequenceLength($this.k4x()) - current | 0) < literalSuffix.length) {
|
|
4245
|
+
$this.q4r('Unexpected end of boolean literal');
|
|
4246
4246
|
}
|
|
4247
4247
|
var inductionVariable = 0;
|
|
4248
4248
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4251,16 +4251,16 @@
|
|
|
4251
4251
|
var i = inductionVariable;
|
|
4252
4252
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4253
4253
|
var expected = charCodeAt(literalSuffix, i);
|
|
4254
|
-
var actual = charSequenceGet($this.
|
|
4254
|
+
var actual = charSequenceGet($this.k4x(), current + i | 0);
|
|
4255
4255
|
// Inline function 'kotlin.code' call
|
|
4256
4256
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4257
4257
|
// Inline function 'kotlin.code' call
|
|
4258
4258
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4259
|
-
$this.
|
|
4259
|
+
$this.q4r("Expected valid boolean literal prefix, but had '" + $this.y4s() + "'");
|
|
4260
4260
|
}
|
|
4261
4261
|
}
|
|
4262
4262
|
while (inductionVariable <= last);
|
|
4263
|
-
$this.
|
|
4263
|
+
$this.l4n_1 = current + literalSuffix.length | 0;
|
|
4264
4264
|
}
|
|
4265
4265
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4266
4266
|
var tmp;
|
|
@@ -4284,77 +4284,77 @@
|
|
|
4284
4284
|
return tmp;
|
|
4285
4285
|
}
|
|
4286
4286
|
function AbstractJsonLexer() {
|
|
4287
|
-
this.
|
|
4288
|
-
this.
|
|
4289
|
-
this.
|
|
4290
|
-
this.
|
|
4287
|
+
this.l4n_1 = 0;
|
|
4288
|
+
this.m4n_1 = new JsonPath();
|
|
4289
|
+
this.n4n_1 = null;
|
|
4290
|
+
this.o4n_1 = StringBuilder_init_$Create$();
|
|
4291
4291
|
}
|
|
4292
|
-
protoOf(AbstractJsonLexer).
|
|
4292
|
+
protoOf(AbstractJsonLexer).m4x = function () {
|
|
4293
4293
|
};
|
|
4294
|
-
protoOf(AbstractJsonLexer).
|
|
4295
|
-
var current = this.
|
|
4296
|
-
var source = this.
|
|
4294
|
+
protoOf(AbstractJsonLexer).i4u = function () {
|
|
4295
|
+
var current = this.n4x();
|
|
4296
|
+
var source = this.k4x();
|
|
4297
4297
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4298
4298
|
return false;
|
|
4299
4299
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4300
|
-
this.
|
|
4300
|
+
this.l4n_1 = this.l4n_1 + 1 | 0;
|
|
4301
4301
|
return true;
|
|
4302
4302
|
}
|
|
4303
4303
|
return false;
|
|
4304
4304
|
};
|
|
4305
|
-
protoOf(AbstractJsonLexer).
|
|
4305
|
+
protoOf(AbstractJsonLexer).o4x = function (c) {
|
|
4306
4306
|
return c === _Char___init__impl__6a9atx(125) || c === _Char___init__impl__6a9atx(93) || (c === _Char___init__impl__6a9atx(58) || c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
4307
4307
|
};
|
|
4308
|
-
protoOf(AbstractJsonLexer).
|
|
4309
|
-
var nextToken = this.
|
|
4308
|
+
protoOf(AbstractJsonLexer).p4n = function () {
|
|
4309
|
+
var nextToken = this.a4t();
|
|
4310
4310
|
if (!(nextToken === 10)) {
|
|
4311
|
-
this.
|
|
4311
|
+
this.q4r('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.k4x(), this.l4n_1 - 1 | 0)) + ' instead');
|
|
4312
4312
|
}
|
|
4313
4313
|
};
|
|
4314
|
-
protoOf(AbstractJsonLexer).
|
|
4315
|
-
var token = this.
|
|
4314
|
+
protoOf(AbstractJsonLexer).u4s = function (expected) {
|
|
4315
|
+
var token = this.a4t();
|
|
4316
4316
|
if (!(token === expected)) {
|
|
4317
4317
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4318
4318
|
var expected_0 = tokenDescription(expected);
|
|
4319
|
-
var position = true ? this.
|
|
4320
|
-
var s = this.
|
|
4319
|
+
var position = true ? this.l4n_1 - 1 | 0 : this.l4n_1;
|
|
4320
|
+
var s = this.l4n_1 === charSequenceLength(this.k4x()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.k4x(), position));
|
|
4321
4321
|
var tmp$ret$0 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4322
|
-
this.
|
|
4322
|
+
this.q4r(tmp$ret$0, position);
|
|
4323
4323
|
}
|
|
4324
4324
|
return token;
|
|
4325
4325
|
};
|
|
4326
|
-
protoOf(AbstractJsonLexer).
|
|
4327
|
-
if (this.
|
|
4326
|
+
protoOf(AbstractJsonLexer).p4x = function (expected) {
|
|
4327
|
+
if (this.l4n_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4328
4328
|
var tmp$ret$1;
|
|
4329
4329
|
$l$block: {
|
|
4330
4330
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4331
|
-
var snapshot = this.
|
|
4331
|
+
var snapshot = this.l4n_1;
|
|
4332
4332
|
try {
|
|
4333
|
-
this.
|
|
4334
|
-
tmp$ret$1 = this.
|
|
4333
|
+
this.l4n_1 = this.l4n_1 - 1 | 0;
|
|
4334
|
+
tmp$ret$1 = this.y4s();
|
|
4335
4335
|
break $l$block;
|
|
4336
4336
|
}finally {
|
|
4337
|
-
this.
|
|
4337
|
+
this.l4n_1 = snapshot;
|
|
4338
4338
|
}
|
|
4339
4339
|
}
|
|
4340
4340
|
var inputLiteral = tmp$ret$1;
|
|
4341
4341
|
if (inputLiteral === 'null') {
|
|
4342
|
-
this.
|
|
4342
|
+
this.p4r("Expected string literal but 'null' literal was found", this.l4n_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4343
4343
|
}
|
|
4344
4344
|
}
|
|
4345
4345
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4346
4346
|
var expectedToken = charToTokenClass(expected);
|
|
4347
4347
|
var expected_0 = tokenDescription(expectedToken);
|
|
4348
|
-
var position = true ? this.
|
|
4349
|
-
var s = this.
|
|
4348
|
+
var position = true ? this.l4n_1 - 1 | 0 : this.l4n_1;
|
|
4349
|
+
var s = this.l4n_1 === charSequenceLength(this.k4x()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.k4x(), position));
|
|
4350
4350
|
var tmp$ret$2 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4351
|
-
this.
|
|
4351
|
+
this.q4r(tmp$ret$2, position);
|
|
4352
4352
|
};
|
|
4353
|
-
protoOf(AbstractJsonLexer).
|
|
4354
|
-
var source = this.
|
|
4355
|
-
var cpos = this.
|
|
4353
|
+
protoOf(AbstractJsonLexer).v4s = function () {
|
|
4354
|
+
var source = this.k4x();
|
|
4355
|
+
var cpos = this.l4n_1;
|
|
4356
4356
|
$l$loop_0: while (true) {
|
|
4357
|
-
cpos = this.
|
|
4357
|
+
cpos = this.l4x(cpos);
|
|
4358
4358
|
if (cpos === -1)
|
|
4359
4359
|
break $l$loop_0;
|
|
4360
4360
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4362,16 +4362,16 @@
|
|
|
4362
4362
|
cpos = cpos + 1 | 0;
|
|
4363
4363
|
continue $l$loop_0;
|
|
4364
4364
|
}
|
|
4365
|
-
this.
|
|
4365
|
+
this.l4n_1 = cpos;
|
|
4366
4366
|
return charToTokenClass(ch);
|
|
4367
4367
|
}
|
|
4368
|
-
this.
|
|
4368
|
+
this.l4n_1 = cpos;
|
|
4369
4369
|
return 10;
|
|
4370
4370
|
};
|
|
4371
|
-
protoOf(AbstractJsonLexer).
|
|
4372
|
-
var current = this.
|
|
4373
|
-
current = this.
|
|
4374
|
-
var len = charSequenceLength(this.
|
|
4371
|
+
protoOf(AbstractJsonLexer).j4u = function (doConsume) {
|
|
4372
|
+
var current = this.n4x();
|
|
4373
|
+
current = this.l4x(current);
|
|
4374
|
+
var len = charSequenceLength(this.k4x()) - current | 0;
|
|
4375
4375
|
if (len < 4 || current === -1)
|
|
4376
4376
|
return false;
|
|
4377
4377
|
var inductionVariable = 0;
|
|
@@ -4379,50 +4379,50 @@
|
|
|
4379
4379
|
do {
|
|
4380
4380
|
var i = inductionVariable;
|
|
4381
4381
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4382
|
-
if (!(charCodeAt('null', i) === charSequenceGet(this.
|
|
4382
|
+
if (!(charCodeAt('null', i) === charSequenceGet(this.k4x(), current + i | 0)))
|
|
4383
4383
|
return false;
|
|
4384
4384
|
}
|
|
4385
4385
|
while (inductionVariable <= 3);
|
|
4386
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4386
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.k4x(), current + 4 | 0)) === 0)
|
|
4387
4387
|
return false;
|
|
4388
4388
|
if (doConsume) {
|
|
4389
|
-
this.
|
|
4389
|
+
this.l4n_1 = current + 4 | 0;
|
|
4390
4390
|
}
|
|
4391
4391
|
return true;
|
|
4392
4392
|
};
|
|
4393
|
-
protoOf(AbstractJsonLexer).
|
|
4393
|
+
protoOf(AbstractJsonLexer).u4u = function (doConsume, $super) {
|
|
4394
4394
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4395
|
-
return $super === VOID ? this.
|
|
4395
|
+
return $super === VOID ? this.j4u(doConsume) : $super.j4u.call(this, doConsume);
|
|
4396
4396
|
};
|
|
4397
|
-
protoOf(AbstractJsonLexer).
|
|
4398
|
-
var token = this.
|
|
4397
|
+
protoOf(AbstractJsonLexer).k4u = function (isLenient) {
|
|
4398
|
+
var token = this.v4s();
|
|
4399
4399
|
var tmp;
|
|
4400
4400
|
if (isLenient) {
|
|
4401
4401
|
if (!(token === 1) && !(token === 0))
|
|
4402
4402
|
return null;
|
|
4403
|
-
tmp = this.
|
|
4403
|
+
tmp = this.y4s();
|
|
4404
4404
|
} else {
|
|
4405
4405
|
if (!(token === 1))
|
|
4406
4406
|
return null;
|
|
4407
|
-
tmp = this.
|
|
4407
|
+
tmp = this.x4s();
|
|
4408
4408
|
}
|
|
4409
4409
|
var string = tmp;
|
|
4410
|
-
this.
|
|
4410
|
+
this.n4n_1 = string;
|
|
4411
4411
|
return string;
|
|
4412
4412
|
};
|
|
4413
|
-
protoOf(AbstractJsonLexer).
|
|
4414
|
-
this.
|
|
4413
|
+
protoOf(AbstractJsonLexer).q4x = function () {
|
|
4414
|
+
this.n4n_1 = null;
|
|
4415
4415
|
};
|
|
4416
4416
|
protoOf(AbstractJsonLexer).an = function (startPos, endPos) {
|
|
4417
4417
|
// Inline function 'kotlin.text.substring' call
|
|
4418
|
-
var this_0 = this.
|
|
4418
|
+
var this_0 = this.k4x();
|
|
4419
4419
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4420
4420
|
};
|
|
4421
|
-
protoOf(AbstractJsonLexer).
|
|
4422
|
-
if (!(this.
|
|
4421
|
+
protoOf(AbstractJsonLexer).x4s = function () {
|
|
4422
|
+
if (!(this.n4n_1 == null)) {
|
|
4423
4423
|
return takePeeked(this);
|
|
4424
4424
|
}
|
|
4425
|
-
return this.
|
|
4425
|
+
return this.n4u();
|
|
4426
4426
|
};
|
|
4427
4427
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4428
4428
|
var currentPosition = current;
|
|
@@ -4432,19 +4432,19 @@
|
|
|
4432
4432
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4433
4433
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4434
4434
|
usedAppend = true;
|
|
4435
|
-
currentPosition = this.
|
|
4435
|
+
currentPosition = this.l4x(appendEscape(this, lastPosition, currentPosition));
|
|
4436
4436
|
if (currentPosition === -1) {
|
|
4437
|
-
this.
|
|
4437
|
+
this.q4r('Unexpected EOF', currentPosition);
|
|
4438
4438
|
}
|
|
4439
4439
|
lastPosition = currentPosition;
|
|
4440
4440
|
} else {
|
|
4441
4441
|
currentPosition = currentPosition + 1 | 0;
|
|
4442
4442
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4443
4443
|
usedAppend = true;
|
|
4444
|
-
this.
|
|
4445
|
-
currentPosition = this.
|
|
4444
|
+
this.j4x(lastPosition, currentPosition);
|
|
4445
|
+
currentPosition = this.l4x(currentPosition);
|
|
4446
4446
|
if (currentPosition === -1) {
|
|
4447
|
-
this.
|
|
4447
|
+
this.q4r('Unexpected EOF', currentPosition);
|
|
4448
4448
|
}
|
|
4449
4449
|
lastPosition = currentPosition;
|
|
4450
4450
|
}
|
|
@@ -4458,40 +4458,40 @@
|
|
|
4458
4458
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4459
4459
|
}
|
|
4460
4460
|
var string = tmp;
|
|
4461
|
-
this.
|
|
4461
|
+
this.l4n_1 = currentPosition + 1 | 0;
|
|
4462
4462
|
return string;
|
|
4463
4463
|
};
|
|
4464
|
-
protoOf(AbstractJsonLexer).
|
|
4465
|
-
var result = this.
|
|
4464
|
+
protoOf(AbstractJsonLexer).o4u = function () {
|
|
4465
|
+
var result = this.y4s();
|
|
4466
4466
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4467
|
-
this.
|
|
4467
|
+
this.q4r("Unexpected 'null' value instead of string literal");
|
|
4468
4468
|
}
|
|
4469
4469
|
return result;
|
|
4470
4470
|
};
|
|
4471
|
-
protoOf(AbstractJsonLexer).
|
|
4472
|
-
if (!(this.
|
|
4471
|
+
protoOf(AbstractJsonLexer).y4s = function () {
|
|
4472
|
+
if (!(this.n4n_1 == null)) {
|
|
4473
4473
|
return takePeeked(this);
|
|
4474
4474
|
}
|
|
4475
|
-
var current = this.
|
|
4476
|
-
if (current >= charSequenceLength(this.
|
|
4477
|
-
this.
|
|
4475
|
+
var current = this.n4x();
|
|
4476
|
+
if (current >= charSequenceLength(this.k4x()) || current === -1) {
|
|
4477
|
+
this.q4r('EOF', current);
|
|
4478
4478
|
}
|
|
4479
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4479
|
+
var token = charToTokenClass(charSequenceGet(this.k4x(), current));
|
|
4480
4480
|
if (token === 1) {
|
|
4481
|
-
return this.
|
|
4481
|
+
return this.x4s();
|
|
4482
4482
|
}
|
|
4483
4483
|
if (!(token === 0)) {
|
|
4484
|
-
this.
|
|
4484
|
+
this.q4r('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.k4x(), current)));
|
|
4485
4485
|
}
|
|
4486
4486
|
var usedAppend = false;
|
|
4487
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4487
|
+
while (charToTokenClass(charSequenceGet(this.k4x(), current)) === 0) {
|
|
4488
4488
|
current = current + 1 | 0;
|
|
4489
|
-
if (current >= charSequenceLength(this.
|
|
4489
|
+
if (current >= charSequenceLength(this.k4x())) {
|
|
4490
4490
|
usedAppend = true;
|
|
4491
|
-
this.
|
|
4492
|
-
var eof = this.
|
|
4491
|
+
this.j4x(this.l4n_1, current);
|
|
4492
|
+
var eof = this.l4x(current);
|
|
4493
4493
|
if (eof === -1) {
|
|
4494
|
-
this.
|
|
4494
|
+
this.l4n_1 = current;
|
|
4495
4495
|
return decodedString(this, 0, 0);
|
|
4496
4496
|
} else {
|
|
4497
4497
|
current = eof;
|
|
@@ -4500,32 +4500,32 @@
|
|
|
4500
4500
|
}
|
|
4501
4501
|
var tmp;
|
|
4502
4502
|
if (!usedAppend) {
|
|
4503
|
-
tmp = this.an(this.
|
|
4503
|
+
tmp = this.an(this.l4n_1, current);
|
|
4504
4504
|
} else {
|
|
4505
|
-
tmp = decodedString(this, this.
|
|
4505
|
+
tmp = decodedString(this, this.l4n_1, current);
|
|
4506
4506
|
}
|
|
4507
4507
|
var result = tmp;
|
|
4508
|
-
this.
|
|
4508
|
+
this.l4n_1 = current;
|
|
4509
4509
|
return result;
|
|
4510
4510
|
};
|
|
4511
|
-
protoOf(AbstractJsonLexer).
|
|
4512
|
-
this.
|
|
4511
|
+
protoOf(AbstractJsonLexer).j4x = function (fromIndex, toIndex) {
|
|
4512
|
+
this.o4n_1.tb(this.k4x(), fromIndex, toIndex);
|
|
4513
4513
|
};
|
|
4514
|
-
protoOf(AbstractJsonLexer).
|
|
4514
|
+
protoOf(AbstractJsonLexer).m4u = function (allowLenientStrings) {
|
|
4515
4515
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4516
4516
|
var tokenStack = ArrayList_init_$Create$();
|
|
4517
|
-
var lastToken = this.
|
|
4517
|
+
var lastToken = this.v4s();
|
|
4518
4518
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4519
|
-
this.
|
|
4519
|
+
this.y4s();
|
|
4520
4520
|
return Unit_instance;
|
|
4521
4521
|
}
|
|
4522
4522
|
$l$loop: while (true) {
|
|
4523
|
-
lastToken = this.
|
|
4523
|
+
lastToken = this.v4s();
|
|
4524
4524
|
if (lastToken === 1) {
|
|
4525
4525
|
if (allowLenientStrings)
|
|
4526
|
-
this.
|
|
4526
|
+
this.y4s();
|
|
4527
4527
|
else
|
|
4528
|
-
this.
|
|
4528
|
+
this.n4u();
|
|
4529
4529
|
continue $l$loop;
|
|
4530
4530
|
}
|
|
4531
4531
|
var tmp0_subject = lastToken;
|
|
@@ -4533,29 +4533,29 @@
|
|
|
4533
4533
|
tokenStack.e1(lastToken);
|
|
4534
4534
|
} else if (tmp0_subject === 9) {
|
|
4535
4535
|
if (!(last(tokenStack) === 8))
|
|
4536
|
-
throw JsonDecodingException_0(this.
|
|
4536
|
+
throw JsonDecodingException_0(this.l4n_1, 'found ] instead of } at path: ' + this.m4n_1.toString(), this.k4x());
|
|
4537
4537
|
removeLast(tokenStack);
|
|
4538
4538
|
} else if (tmp0_subject === 7) {
|
|
4539
4539
|
if (!(last(tokenStack) === 6))
|
|
4540
|
-
throw JsonDecodingException_0(this.
|
|
4540
|
+
throw JsonDecodingException_0(this.l4n_1, 'found } instead of ] at path: ' + this.m4n_1.toString(), this.k4x());
|
|
4541
4541
|
removeLast(tokenStack);
|
|
4542
4542
|
} else if (tmp0_subject === 10) {
|
|
4543
|
-
this.
|
|
4543
|
+
this.q4r('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4544
4544
|
}
|
|
4545
|
-
this.
|
|
4545
|
+
this.a4t();
|
|
4546
4546
|
if (tokenStack.g1() === 0)
|
|
4547
4547
|
return Unit_instance;
|
|
4548
4548
|
}
|
|
4549
4549
|
};
|
|
4550
4550
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4551
|
-
return "JsonReader(source='" + toString(this.
|
|
4551
|
+
return "JsonReader(source='" + toString(this.k4x()) + "', currentPosition=" + this.l4n_1 + ')';
|
|
4552
4552
|
};
|
|
4553
|
-
protoOf(AbstractJsonLexer).
|
|
4554
|
-
var processed = this.an(0, this.
|
|
4553
|
+
protoOf(AbstractJsonLexer).l4u = function (key) {
|
|
4554
|
+
var processed = this.an(0, this.l4n_1);
|
|
4555
4555
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4556
|
-
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.
|
|
4556
|
+
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.m4n_1.d4s() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.k4x(), lastIndexOf_0))));
|
|
4557
4557
|
};
|
|
4558
|
-
protoOf(AbstractJsonLexer).
|
|
4558
|
+
protoOf(AbstractJsonLexer).p4r = function (message, position, hint) {
|
|
4559
4559
|
var tmp;
|
|
4560
4560
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4561
4561
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4564,24 +4564,24 @@
|
|
|
4564
4564
|
tmp = '\n' + hint;
|
|
4565
4565
|
}
|
|
4566
4566
|
var hintMessage = tmp;
|
|
4567
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4567
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.m4n_1.d4s() + hintMessage, this.k4x());
|
|
4568
4568
|
};
|
|
4569
|
-
protoOf(AbstractJsonLexer).
|
|
4570
|
-
position = position === VOID ? this.
|
|
4569
|
+
protoOf(AbstractJsonLexer).q4r = function (message, position, hint, $super) {
|
|
4570
|
+
position = position === VOID ? this.l4n_1 : position;
|
|
4571
4571
|
hint = hint === VOID ? '' : hint;
|
|
4572
|
-
return $super === VOID ? this.
|
|
4572
|
+
return $super === VOID ? this.p4r(message, position, hint) : $super.p4r.call(this, message, position, hint);
|
|
4573
4573
|
};
|
|
4574
|
-
protoOf(AbstractJsonLexer).
|
|
4575
|
-
var current = this.
|
|
4576
|
-
current = this.
|
|
4577
|
-
if (current >= charSequenceLength(this.
|
|
4578
|
-
this.
|
|
4574
|
+
protoOf(AbstractJsonLexer).w4u = function () {
|
|
4575
|
+
var current = this.n4x();
|
|
4576
|
+
current = this.l4x(current);
|
|
4577
|
+
if (current >= charSequenceLength(this.k4x()) || current === -1) {
|
|
4578
|
+
this.q4r('EOF');
|
|
4579
4579
|
}
|
|
4580
4580
|
var tmp;
|
|
4581
|
-
if (charSequenceGet(this.
|
|
4581
|
+
if (charSequenceGet(this.k4x(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4582
4582
|
current = current + 1 | 0;
|
|
4583
|
-
if (current === charSequenceLength(this.
|
|
4584
|
-
this.
|
|
4583
|
+
if (current === charSequenceLength(this.k4x())) {
|
|
4584
|
+
this.q4r('EOF');
|
|
4585
4585
|
}
|
|
4586
4586
|
tmp = true;
|
|
4587
4587
|
} else {
|
|
@@ -4594,11 +4594,11 @@
|
|
|
4594
4594
|
var isExponentPositive = false;
|
|
4595
4595
|
var hasExponent = false;
|
|
4596
4596
|
var start = current;
|
|
4597
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4598
|
-
var ch = charSequenceGet(this.
|
|
4597
|
+
$l$loop_4: while (!(current === charSequenceLength(this.k4x()))) {
|
|
4598
|
+
var ch = charSequenceGet(this.k4x(), current);
|
|
4599
4599
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4600
4600
|
if (current === start) {
|
|
4601
|
-
this.
|
|
4601
|
+
this.q4r('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4602
4602
|
}
|
|
4603
4603
|
isExponentPositive = true;
|
|
4604
4604
|
hasExponent = true;
|
|
@@ -4607,7 +4607,7 @@
|
|
|
4607
4607
|
}
|
|
4608
4608
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4609
4609
|
if (current === start) {
|
|
4610
|
-
this.
|
|
4610
|
+
this.q4r("Unexpected symbol '-' in numeric literal");
|
|
4611
4611
|
}
|
|
4612
4612
|
isExponentPositive = false;
|
|
4613
4613
|
current = current + 1 | 0;
|
|
@@ -4615,7 +4615,7 @@
|
|
|
4615
4615
|
}
|
|
4616
4616
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4617
4617
|
if (current === start) {
|
|
4618
|
-
this.
|
|
4618
|
+
this.q4r("Unexpected symbol '+' in numeric literal");
|
|
4619
4619
|
}
|
|
4620
4620
|
isExponentPositive = true;
|
|
4621
4621
|
current = current + 1 | 0;
|
|
@@ -4623,7 +4623,7 @@
|
|
|
4623
4623
|
}
|
|
4624
4624
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4625
4625
|
if (!(current === start)) {
|
|
4626
|
-
this.
|
|
4626
|
+
this.q4r("Unexpected symbol '-' in numeric literal");
|
|
4627
4627
|
}
|
|
4628
4628
|
isNegative = true;
|
|
4629
4629
|
current = current + 1 | 0;
|
|
@@ -4635,7 +4635,7 @@
|
|
|
4635
4635
|
current = current + 1 | 0;
|
|
4636
4636
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4637
4637
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4638
|
-
this.
|
|
4638
|
+
this.q4r("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4639
4639
|
}
|
|
4640
4640
|
if (hasExponent) {
|
|
4641
4641
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4651,31 +4651,31 @@
|
|
|
4651
4651
|
var this_3 = multiply(this_2, fromInt(10));
|
|
4652
4652
|
accumulator = subtract(this_3, fromInt(digit));
|
|
4653
4653
|
if (accumulator > 0n) {
|
|
4654
|
-
this.
|
|
4654
|
+
this.q4r('Numeric value overflow');
|
|
4655
4655
|
}
|
|
4656
4656
|
}
|
|
4657
4657
|
var hasChars = !(current === start);
|
|
4658
4658
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4659
|
-
this.
|
|
4659
|
+
this.q4r('Expected numeric literal');
|
|
4660
4660
|
}
|
|
4661
4661
|
if (hasQuotation) {
|
|
4662
4662
|
if (!hasChars) {
|
|
4663
|
-
this.
|
|
4663
|
+
this.q4r('EOF');
|
|
4664
4664
|
}
|
|
4665
|
-
if (!(charSequenceGet(this.
|
|
4666
|
-
this.
|
|
4665
|
+
if (!(charSequenceGet(this.k4x(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4666
|
+
this.q4r('Expected closing quotation mark');
|
|
4667
4667
|
}
|
|
4668
4668
|
current = current + 1 | 0;
|
|
4669
4669
|
}
|
|
4670
|
-
this.
|
|
4670
|
+
this.l4n_1 = current;
|
|
4671
4671
|
if (hasExponent) {
|
|
4672
4672
|
var doubleAccumulator = toNumber(accumulator) * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4673
4673
|
if (doubleAccumulator > toNumber(9223372036854775807n) || doubleAccumulator < toNumber(-9223372036854775808n)) {
|
|
4674
|
-
this.
|
|
4674
|
+
this.q4r('Numeric value overflow');
|
|
4675
4675
|
}
|
|
4676
4676
|
// Inline function 'kotlin.math.floor' call
|
|
4677
4677
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4678
|
-
this.
|
|
4678
|
+
this.q4r("Can't convert " + doubleAccumulator + ' to Long');
|
|
4679
4679
|
}
|
|
4680
4680
|
accumulator = numberToLong(doubleAccumulator);
|
|
4681
4681
|
}
|
|
@@ -4685,30 +4685,30 @@
|
|
|
4685
4685
|
} else if (!(accumulator === -9223372036854775808n)) {
|
|
4686
4686
|
tmp_0 = negate(accumulator);
|
|
4687
4687
|
} else {
|
|
4688
|
-
this.
|
|
4688
|
+
this.q4r('Numeric value overflow');
|
|
4689
4689
|
}
|
|
4690
4690
|
return tmp_0;
|
|
4691
4691
|
};
|
|
4692
|
-
protoOf(AbstractJsonLexer).
|
|
4693
|
-
var result = this.
|
|
4694
|
-
var next = this.
|
|
4692
|
+
protoOf(AbstractJsonLexer).o4p = function () {
|
|
4693
|
+
var result = this.w4u();
|
|
4694
|
+
var next = this.a4t();
|
|
4695
4695
|
if (!(next === 10)) {
|
|
4696
4696
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4697
4697
|
var expected = tokenDescription(10);
|
|
4698
|
-
var position = true ? this.
|
|
4699
|
-
var s = this.
|
|
4698
|
+
var position = true ? this.l4n_1 - 1 | 0 : this.l4n_1;
|
|
4699
|
+
var s = this.l4n_1 === charSequenceLength(this.k4x()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.k4x(), position));
|
|
4700
4700
|
var tmp$ret$0 = "Expected input to contain a single valid number, but got '" + s + "' after it";
|
|
4701
|
-
this.
|
|
4701
|
+
this.q4r(tmp$ret$0, position);
|
|
4702
4702
|
}
|
|
4703
4703
|
return result;
|
|
4704
4704
|
};
|
|
4705
|
-
protoOf(AbstractJsonLexer).
|
|
4706
|
-
var current = this.
|
|
4707
|
-
if (current === charSequenceLength(this.
|
|
4708
|
-
this.
|
|
4705
|
+
protoOf(AbstractJsonLexer).v4u = function () {
|
|
4706
|
+
var current = this.n4x();
|
|
4707
|
+
if (current === charSequenceLength(this.k4x())) {
|
|
4708
|
+
this.q4r('EOF');
|
|
4709
4709
|
}
|
|
4710
4710
|
var tmp;
|
|
4711
|
-
if (charSequenceGet(this.
|
|
4711
|
+
if (charSequenceGet(this.k4x(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4712
4712
|
current = current + 1 | 0;
|
|
4713
4713
|
tmp = true;
|
|
4714
4714
|
} else {
|
|
@@ -4717,13 +4717,13 @@
|
|
|
4717
4717
|
var hasQuotation = tmp;
|
|
4718
4718
|
var result = consumeBoolean2(this, current);
|
|
4719
4719
|
if (hasQuotation) {
|
|
4720
|
-
if (this.
|
|
4721
|
-
this.
|
|
4720
|
+
if (this.l4n_1 === charSequenceLength(this.k4x())) {
|
|
4721
|
+
this.q4r('EOF');
|
|
4722
4722
|
}
|
|
4723
|
-
if (!(charSequenceGet(this.
|
|
4724
|
-
this.
|
|
4723
|
+
if (!(charSequenceGet(this.k4x(), this.l4n_1) === _Char___init__impl__6a9atx(34))) {
|
|
4724
|
+
this.q4r('Expected closing quotation mark');
|
|
4725
4725
|
}
|
|
4726
|
-
this.
|
|
4726
|
+
this.l4n_1 = this.l4n_1 + 1 | 0;
|
|
4727
4727
|
}
|
|
4728
4728
|
return result;
|
|
4729
4729
|
};
|
|
@@ -4731,7 +4731,7 @@
|
|
|
4731
4731
|
var tmp;
|
|
4732
4732
|
// Inline function 'kotlin.code' call
|
|
4733
4733
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4734
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4734
|
+
var tmp_0 = CharMappings_getInstance().s4x_1;
|
|
4735
4735
|
// Inline function 'kotlin.code' call
|
|
4736
4736
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4737
4737
|
} else {
|
|
@@ -4743,7 +4743,7 @@
|
|
|
4743
4743
|
return token === 1 ? "quotation mark '\"'" : token === 2 ? "string escape sequence '\\'" : token === 4 ? "comma ','" : token === 5 ? "colon ':'" : token === 6 ? "start of the object '{'" : token === 7 ? "end of the object '}'" : token === 8 ? "start of the array '['" : token === 9 ? "end of the array ']'" : token === 10 ? 'end of the input' : token === 127 ? 'invalid token' : 'valid token';
|
|
4744
4744
|
}
|
|
4745
4745
|
function escapeToChar(c) {
|
|
4746
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4746
|
+
return c < 117 ? CharMappings_getInstance().r4x_1[c] : _Char___init__impl__6a9atx(0);
|
|
4747
4747
|
}
|
|
4748
4748
|
function initEscape($this) {
|
|
4749
4749
|
var inductionVariable = 0;
|
|
@@ -4789,7 +4789,7 @@
|
|
|
4789
4789
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4790
4790
|
// Inline function 'kotlin.code' call
|
|
4791
4791
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4792
|
-
$this.
|
|
4792
|
+
$this.r4x_1[tmp$ret$0] = numberToChar(c);
|
|
4793
4793
|
}
|
|
4794
4794
|
}
|
|
4795
4795
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4798,7 +4798,7 @@
|
|
|
4798
4798
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4799
4799
|
}
|
|
4800
4800
|
function initC2TC($this, c, cl) {
|
|
4801
|
-
$this.
|
|
4801
|
+
$this.s4x_1[c] = cl;
|
|
4802
4802
|
}
|
|
4803
4803
|
function initC2TC_0($this, c, cl) {
|
|
4804
4804
|
// Inline function 'kotlin.code' call
|
|
@@ -4807,8 +4807,8 @@
|
|
|
4807
4807
|
}
|
|
4808
4808
|
function CharMappings() {
|
|
4809
4809
|
CharMappings_instance = this;
|
|
4810
|
-
this.
|
|
4811
|
-
this.
|
|
4810
|
+
this.r4x_1 = charArray(117);
|
|
4811
|
+
this.s4x_1 = new Int8Array(126);
|
|
4812
4812
|
initEscape(this);
|
|
4813
4813
|
initCharToToken(this);
|
|
4814
4814
|
}
|
|
@@ -4821,48 +4821,48 @@
|
|
|
4821
4821
|
function StringJsonLexerWithComments(source) {
|
|
4822
4822
|
StringJsonLexer.call(this, source);
|
|
4823
4823
|
}
|
|
4824
|
-
protoOf(StringJsonLexerWithComments).
|
|
4825
|
-
var source = this.
|
|
4826
|
-
var cpos = this.
|
|
4824
|
+
protoOf(StringJsonLexerWithComments).a4t = function () {
|
|
4825
|
+
var source = this.k4x();
|
|
4826
|
+
var cpos = this.n4x();
|
|
4827
4827
|
if (cpos >= source.length || cpos === -1)
|
|
4828
4828
|
return 10;
|
|
4829
|
-
this.
|
|
4829
|
+
this.l4n_1 = cpos + 1 | 0;
|
|
4830
4830
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4831
4831
|
};
|
|
4832
|
-
protoOf(StringJsonLexerWithComments).
|
|
4833
|
-
var current = this.
|
|
4834
|
-
if (current >= this.
|
|
4832
|
+
protoOf(StringJsonLexerWithComments).w4s = function () {
|
|
4833
|
+
var current = this.n4x();
|
|
4834
|
+
if (current >= this.k4x().length || current === -1)
|
|
4835
4835
|
return false;
|
|
4836
|
-
return this.
|
|
4836
|
+
return this.o4x(charCodeAt(this.k4x(), current));
|
|
4837
4837
|
};
|
|
4838
|
-
protoOf(StringJsonLexerWithComments).
|
|
4839
|
-
var source = this.
|
|
4840
|
-
var current = this.
|
|
4838
|
+
protoOf(StringJsonLexerWithComments).h4u = function (expected) {
|
|
4839
|
+
var source = this.k4x();
|
|
4840
|
+
var current = this.n4x();
|
|
4841
4841
|
if (current >= source.length || current === -1) {
|
|
4842
|
-
this.
|
|
4843
|
-
this.
|
|
4842
|
+
this.l4n_1 = -1;
|
|
4843
|
+
this.p4x(expected);
|
|
4844
4844
|
}
|
|
4845
4845
|
var c = charCodeAt(source, current);
|
|
4846
|
-
this.
|
|
4846
|
+
this.l4n_1 = current + 1 | 0;
|
|
4847
4847
|
if (c === expected)
|
|
4848
4848
|
return Unit_instance;
|
|
4849
4849
|
else {
|
|
4850
|
-
this.
|
|
4850
|
+
this.p4x(expected);
|
|
4851
4851
|
}
|
|
4852
4852
|
};
|
|
4853
|
-
protoOf(StringJsonLexerWithComments).
|
|
4854
|
-
var source = this.
|
|
4855
|
-
var cpos = this.
|
|
4853
|
+
protoOf(StringJsonLexerWithComments).v4s = function () {
|
|
4854
|
+
var source = this.k4x();
|
|
4855
|
+
var cpos = this.n4x();
|
|
4856
4856
|
if (cpos >= source.length || cpos === -1)
|
|
4857
4857
|
return 10;
|
|
4858
|
-
this.
|
|
4858
|
+
this.l4n_1 = cpos;
|
|
4859
4859
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4860
4860
|
};
|
|
4861
|
-
protoOf(StringJsonLexerWithComments).
|
|
4862
|
-
var current = this.
|
|
4861
|
+
protoOf(StringJsonLexerWithComments).n4x = function () {
|
|
4862
|
+
var current = this.l4n_1;
|
|
4863
4863
|
if (current === -1)
|
|
4864
4864
|
return current;
|
|
4865
|
-
var source = this.
|
|
4865
|
+
var source = this.k4x();
|
|
4866
4866
|
$l$loop_1: while (current < source.length) {
|
|
4867
4867
|
var c = charCodeAt(source, current);
|
|
4868
4868
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4883,8 +4883,8 @@
|
|
|
4883
4883
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4884
4884
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4885
4885
|
if (current === -1) {
|
|
4886
|
-
this.
|
|
4887
|
-
this.
|
|
4886
|
+
this.l4n_1 = source.length;
|
|
4887
|
+
this.q4r('Expected end of the block comment: "*/", but had EOF instead');
|
|
4888
4888
|
} else {
|
|
4889
4889
|
current = current + 2 | 0;
|
|
4890
4890
|
}
|
|
@@ -4893,22 +4893,22 @@
|
|
|
4893
4893
|
}
|
|
4894
4894
|
break $l$loop_1;
|
|
4895
4895
|
}
|
|
4896
|
-
this.
|
|
4896
|
+
this.l4n_1 = current;
|
|
4897
4897
|
return current;
|
|
4898
4898
|
};
|
|
4899
4899
|
function StringJsonLexer(source) {
|
|
4900
4900
|
AbstractJsonLexer.call(this);
|
|
4901
|
-
this.
|
|
4901
|
+
this.c4y_1 = source;
|
|
4902
4902
|
}
|
|
4903
|
-
protoOf(StringJsonLexer).
|
|
4904
|
-
return this.
|
|
4903
|
+
protoOf(StringJsonLexer).k4x = function () {
|
|
4904
|
+
return this.c4y_1;
|
|
4905
4905
|
};
|
|
4906
|
-
protoOf(StringJsonLexer).
|
|
4907
|
-
return position < this.
|
|
4906
|
+
protoOf(StringJsonLexer).l4x = function (position) {
|
|
4907
|
+
return position < this.k4x().length ? position : -1;
|
|
4908
4908
|
};
|
|
4909
|
-
protoOf(StringJsonLexer).
|
|
4910
|
-
var source = this.
|
|
4911
|
-
var cpos = this.
|
|
4909
|
+
protoOf(StringJsonLexer).a4t = function () {
|
|
4910
|
+
var source = this.k4x();
|
|
4911
|
+
var cpos = this.l4n_1;
|
|
4912
4912
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4913
4913
|
var _unary__edvuaz = cpos;
|
|
4914
4914
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4916,17 +4916,17 @@
|
|
|
4916
4916
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4917
4917
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4918
4918
|
continue $l$loop;
|
|
4919
|
-
this.
|
|
4919
|
+
this.l4n_1 = cpos;
|
|
4920
4920
|
return charToTokenClass(c);
|
|
4921
4921
|
}
|
|
4922
|
-
this.
|
|
4922
|
+
this.l4n_1 = source.length;
|
|
4923
4923
|
return 10;
|
|
4924
4924
|
};
|
|
4925
|
-
protoOf(StringJsonLexer).
|
|
4926
|
-
var current = this.
|
|
4925
|
+
protoOf(StringJsonLexer).w4s = function () {
|
|
4926
|
+
var current = this.l4n_1;
|
|
4927
4927
|
if (current === -1)
|
|
4928
4928
|
return false;
|
|
4929
|
-
var source = this.
|
|
4929
|
+
var source = this.k4x();
|
|
4930
4930
|
$l$loop: while (current < source.length) {
|
|
4931
4931
|
var c = charCodeAt(source, current);
|
|
4932
4932
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4934,17 +4934,17 @@
|
|
|
4934
4934
|
current = current + 1 | 0;
|
|
4935
4935
|
continue $l$loop;
|
|
4936
4936
|
}
|
|
4937
|
-
this.
|
|
4938
|
-
return this.
|
|
4937
|
+
this.l4n_1 = current;
|
|
4938
|
+
return this.o4x(c);
|
|
4939
4939
|
}
|
|
4940
|
-
this.
|
|
4940
|
+
this.l4n_1 = current;
|
|
4941
4941
|
return false;
|
|
4942
4942
|
};
|
|
4943
|
-
protoOf(StringJsonLexer).
|
|
4944
|
-
var current = this.
|
|
4943
|
+
protoOf(StringJsonLexer).n4x = function () {
|
|
4944
|
+
var current = this.l4n_1;
|
|
4945
4945
|
if (current === -1)
|
|
4946
4946
|
return current;
|
|
4947
|
-
var source = this.
|
|
4947
|
+
var source = this.k4x();
|
|
4948
4948
|
$l$loop: while (current < source.length) {
|
|
4949
4949
|
var c = charCodeAt(source, current);
|
|
4950
4950
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4954,15 +4954,15 @@
|
|
|
4954
4954
|
break $l$loop;
|
|
4955
4955
|
}
|
|
4956
4956
|
}
|
|
4957
|
-
this.
|
|
4957
|
+
this.l4n_1 = current;
|
|
4958
4958
|
return current;
|
|
4959
4959
|
};
|
|
4960
|
-
protoOf(StringJsonLexer).
|
|
4961
|
-
if (this.
|
|
4962
|
-
this.
|
|
4960
|
+
protoOf(StringJsonLexer).h4u = function (expected) {
|
|
4961
|
+
if (this.l4n_1 === -1) {
|
|
4962
|
+
this.p4x(expected);
|
|
4963
4963
|
}
|
|
4964
|
-
var source = this.
|
|
4965
|
-
var cpos = this.
|
|
4964
|
+
var source = this.k4x();
|
|
4965
|
+
var cpos = this.l4n_1;
|
|
4966
4966
|
$l$loop: while (cpos < source.length) {
|
|
4967
4967
|
var _unary__edvuaz = cpos;
|
|
4968
4968
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4970,83 +4970,83 @@
|
|
|
4970
4970
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4971
4971
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4972
4972
|
continue $l$loop;
|
|
4973
|
-
this.
|
|
4973
|
+
this.l4n_1 = cpos;
|
|
4974
4974
|
if (c === expected)
|
|
4975
4975
|
return Unit_instance;
|
|
4976
|
-
this.
|
|
4976
|
+
this.p4x(expected);
|
|
4977
4977
|
}
|
|
4978
|
-
this.
|
|
4979
|
-
this.
|
|
4978
|
+
this.l4n_1 = -1;
|
|
4979
|
+
this.p4x(expected);
|
|
4980
4980
|
};
|
|
4981
|
-
protoOf(StringJsonLexer).
|
|
4982
|
-
this.
|
|
4983
|
-
var current = this.
|
|
4984
|
-
var closingQuote = indexOf_0(this.
|
|
4981
|
+
protoOf(StringJsonLexer).n4u = function () {
|
|
4982
|
+
this.h4u(_Char___init__impl__6a9atx(34));
|
|
4983
|
+
var current = this.l4n_1;
|
|
4984
|
+
var closingQuote = indexOf_0(this.k4x(), _Char___init__impl__6a9atx(34), current);
|
|
4985
4985
|
if (closingQuote === -1) {
|
|
4986
|
-
this.
|
|
4986
|
+
this.y4s();
|
|
4987
4987
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4988
4988
|
var expected = tokenDescription(1);
|
|
4989
|
-
var position = false ? this.
|
|
4990
|
-
var s = this.
|
|
4989
|
+
var position = false ? this.l4n_1 - 1 | 0 : this.l4n_1;
|
|
4990
|
+
var s = this.l4n_1 === charSequenceLength(this.k4x()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.k4x(), position));
|
|
4991
4991
|
var tmp$ret$0 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
4992
|
-
this.
|
|
4992
|
+
this.q4r(tmp$ret$0, position);
|
|
4993
4993
|
}
|
|
4994
4994
|
var inductionVariable = current;
|
|
4995
4995
|
if (inductionVariable < closingQuote)
|
|
4996
4996
|
do {
|
|
4997
4997
|
var i = inductionVariable;
|
|
4998
4998
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4999
|
-
if (charCodeAt(this.
|
|
5000
|
-
return this.consumeString2(this.
|
|
4999
|
+
if (charCodeAt(this.k4x(), i) === _Char___init__impl__6a9atx(92)) {
|
|
5000
|
+
return this.consumeString2(this.k4x(), this.l4n_1, i);
|
|
5001
5001
|
}
|
|
5002
5002
|
}
|
|
5003
5003
|
while (inductionVariable < closingQuote);
|
|
5004
|
-
this.
|
|
5005
|
-
return substring(this.
|
|
5004
|
+
this.l4n_1 = closingQuote + 1 | 0;
|
|
5005
|
+
return substring(this.k4x(), current, closingQuote);
|
|
5006
5006
|
};
|
|
5007
|
-
protoOf(StringJsonLexer).
|
|
5008
|
-
var positionSnapshot = this.
|
|
5007
|
+
protoOf(StringJsonLexer).p4u = function (keyToMatch, isLenient) {
|
|
5008
|
+
var positionSnapshot = this.l4n_1;
|
|
5009
5009
|
try {
|
|
5010
|
-
if (!(this.
|
|
5010
|
+
if (!(this.a4t() === 6))
|
|
5011
5011
|
return null;
|
|
5012
|
-
var firstKey = this.
|
|
5012
|
+
var firstKey = this.k4u(isLenient);
|
|
5013
5013
|
if (!(firstKey === keyToMatch))
|
|
5014
5014
|
return null;
|
|
5015
|
-
this.
|
|
5016
|
-
if (!(this.
|
|
5015
|
+
this.q4x();
|
|
5016
|
+
if (!(this.a4t() === 5))
|
|
5017
5017
|
return null;
|
|
5018
|
-
return this.
|
|
5018
|
+
return this.k4u(isLenient);
|
|
5019
5019
|
}finally {
|
|
5020
|
-
this.
|
|
5021
|
-
this.
|
|
5020
|
+
this.l4n_1 = positionSnapshot;
|
|
5021
|
+
this.q4x();
|
|
5022
5022
|
}
|
|
5023
5023
|
};
|
|
5024
5024
|
function StringJsonLexer_0(json, source) {
|
|
5025
|
-
return !json.
|
|
5025
|
+
return !json.z4m_1.y4o_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
5026
5026
|
}
|
|
5027
5027
|
function get_schemaCache(_this__u8e3s4) {
|
|
5028
|
-
return _this__u8e3s4.
|
|
5028
|
+
return _this__u8e3s4.b4n_1;
|
|
5029
5029
|
}
|
|
5030
5030
|
function JsonToStringWriter() {
|
|
5031
|
-
this.
|
|
5031
|
+
this.c4n_1 = StringBuilder_init_$Create$_0(128);
|
|
5032
5032
|
}
|
|
5033
|
-
protoOf(JsonToStringWriter).
|
|
5034
|
-
this.
|
|
5033
|
+
protoOf(JsonToStringWriter).u4q = function (value) {
|
|
5034
|
+
this.c4n_1.wb(value);
|
|
5035
5035
|
};
|
|
5036
|
-
protoOf(JsonToStringWriter).
|
|
5037
|
-
this.
|
|
5036
|
+
protoOf(JsonToStringWriter).o4q = function (char) {
|
|
5037
|
+
this.c4n_1.s(char);
|
|
5038
5038
|
};
|
|
5039
|
-
protoOf(JsonToStringWriter).
|
|
5040
|
-
this.
|
|
5039
|
+
protoOf(JsonToStringWriter).q4q = function (text) {
|
|
5040
|
+
this.c4n_1.q(text);
|
|
5041
5041
|
};
|
|
5042
|
-
protoOf(JsonToStringWriter).
|
|
5043
|
-
printQuoted(this.
|
|
5042
|
+
protoOf(JsonToStringWriter).a4r = function (text) {
|
|
5043
|
+
printQuoted(this.c4n_1, text);
|
|
5044
5044
|
};
|
|
5045
5045
|
protoOf(JsonToStringWriter).h2v = function () {
|
|
5046
|
-
this.
|
|
5046
|
+
this.c4n_1.zb();
|
|
5047
5047
|
};
|
|
5048
5048
|
protoOf(JsonToStringWriter).toString = function () {
|
|
5049
|
-
return this.
|
|
5049
|
+
return this.c4n_1.toString();
|
|
5050
5050
|
};
|
|
5051
5051
|
function createMapForCache(initialCapacity) {
|
|
5052
5052
|
return HashMap_init_$Create$(initialCapacity);
|