@solibo/solibo-sdk 1.0.31 → 1.0.32-SNAPSHOT
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/KmLogging-logging.js +119 -119
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1526 -1526
- package/KotlinBigInteger-bignum.js +1210 -1210
- package/MultiplatformSettings-multiplatform-settings.js +19 -19
- package/Stately-stately-concurrency.js +7 -7
- package/cryptography-kotlin-cryptography-bigint.js +46 -46
- package/cryptography-kotlin-cryptography-core.js +67 -67
- package/cryptography-kotlin-cryptography-provider-base.js +9 -9
- package/cryptography-kotlin-cryptography-provider-webcrypto.js +153 -153
- package/cryptography-kotlin-cryptography-random.js +19 -19
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js +130 -130
- package/cryptography-kotlin-cryptography-serialization-asn1.js +279 -279
- package/cryptography-kotlin-cryptography-serialization-pem.js +30 -30
- package/kotlin-kotlin-stdlib.js +363 -359
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +21 -21
- package/kotlinx-coroutines-core.js +1890 -1890
- package/kotlinx-io-kotlinx-io-bytestring.js +46 -46
- package/kotlinx-io-kotlinx-io-core.js +474 -474
- package/kotlinx-serialization-kotlinx-serialization-core.js +388 -152
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1209 -1208
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-auth.js +286 -286
- package/ktor-ktor-client-content-negotiation.js +154 -154
- package/ktor-ktor-client-core.js +2787 -2787
- package/ktor-ktor-client-logging.js +663 -663
- package/ktor-ktor-events.js +11 -11
- package/ktor-ktor-http-cio.js +368 -368
- package/ktor-ktor-http.js +1010 -1010
- package/ktor-ktor-io.js +680 -680
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +147 -147
- package/ktor-ktor-serialization.js +71 -71
- package/ktor-ktor-utils.js +743 -743
- package/ktor-ktor-websockets.js +421 -421
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.js +20372 -20554
- package/solibo-sdk-sdk-home-api.js.map +1 -1
- package/solibo-sdk-sdk.d.ts +25 -30
- package/solibo-sdk-sdk.js +1663 -1615
- package/solibo-sdk-sdk.js.map +1 -1
|
@@ -17,68 +17,68 @@
|
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
19
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.jd;
|
|
21
|
+
var initMetadataForObject = kotlin_kotlin.$_$.pc;
|
|
22
22
|
var VOID = kotlin_kotlin.$_$.c;
|
|
23
23
|
var Unit_instance = kotlin_kotlin.$_$.p5;
|
|
24
|
-
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
25
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
26
|
-
var toString = kotlin_kotlin.$_$.
|
|
24
|
+
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b3;
|
|
25
|
+
var initMetadataForClass = kotlin_kotlin.$_$.jc;
|
|
26
|
+
var toString = kotlin_kotlin.$_$.md;
|
|
27
27
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q1;
|
|
28
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
29
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
28
|
+
var charSequenceLength = kotlin_kotlin.$_$.wb;
|
|
29
|
+
var charSequenceGet = kotlin_kotlin.$_$.vb;
|
|
30
30
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.k2;
|
|
31
|
-
var equals = kotlin_kotlin.$_$.
|
|
32
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
33
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
34
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
35
|
-
var Enum = kotlin_kotlin.$_$.
|
|
31
|
+
var equals = kotlin_kotlin.$_$.ac;
|
|
32
|
+
var THROW_CCE = kotlin_kotlin.$_$.hi;
|
|
33
|
+
var getStringHashCode = kotlin_kotlin.$_$.hc;
|
|
34
|
+
var toString_0 = kotlin_kotlin.$_$.mj;
|
|
35
|
+
var Enum = kotlin_kotlin.$_$.xh;
|
|
36
36
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
37
37
|
var CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
38
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
39
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
38
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.nc;
|
|
39
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.kc;
|
|
40
40
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
41
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
42
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
41
|
+
var hashCode = kotlin_kotlin.$_$.ic;
|
|
42
|
+
var joinToString = kotlin_kotlin.$_$.a8;
|
|
43
43
|
var KtMap = kotlin_kotlin.$_$.z5;
|
|
44
44
|
var KtList = kotlin_kotlin.$_$.w5;
|
|
45
45
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
46
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
47
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
48
|
-
var toDouble = kotlin_kotlin.$_$.
|
|
46
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.ce;
|
|
47
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.dc;
|
|
48
|
+
var toDouble = kotlin_kotlin.$_$.ng;
|
|
49
49
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.a5;
|
|
50
50
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
51
51
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
52
52
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
53
53
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
54
54
|
var buildSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
55
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
56
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
55
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.hj;
|
|
56
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
57
57
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
58
58
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
59
59
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
60
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
61
|
-
var toULongOrNull = kotlin_kotlin.$_$.
|
|
62
|
-
var ULong = kotlin_kotlin.$_$.
|
|
60
|
+
var toLongOrNull = kotlin_kotlin.$_$.sg;
|
|
61
|
+
var toULongOrNull = kotlin_kotlin.$_$.bh;
|
|
62
|
+
var ULong = kotlin_kotlin.$_$.pi;
|
|
63
63
|
var Companion_getInstance = kotlin_kotlin.$_$.n5;
|
|
64
64
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
65
65
|
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.v3;
|
|
66
|
-
var toDoubleOrNull = kotlin_kotlin.$_$.
|
|
67
|
-
var toBooleanStrictOrNull = kotlin_kotlin.$_$.
|
|
66
|
+
var toDoubleOrNull = kotlin_kotlin.$_$.mg;
|
|
67
|
+
var toBooleanStrictOrNull = kotlin_kotlin.$_$.jg;
|
|
68
68
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
69
69
|
var SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1;
|
|
70
70
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
71
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
71
|
+
var isInterface = kotlin_kotlin.$_$.yc;
|
|
72
72
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
73
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
74
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
75
|
-
var lazy = kotlin_kotlin.$_$.
|
|
73
|
+
var KProperty1 = kotlin_kotlin.$_$.ie;
|
|
74
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.gc;
|
|
75
|
+
var lazy = kotlin_kotlin.$_$.gj;
|
|
76
76
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
77
77
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
78
78
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
79
79
|
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
|
|
80
80
|
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v1;
|
|
81
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
81
|
+
var fromInt = kotlin_kotlin.$_$.bb;
|
|
82
82
|
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.h3;
|
|
83
83
|
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.j3;
|
|
84
84
|
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.u3;
|
|
@@ -88,20 +88,20 @@
|
|
|
88
88
|
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.i4;
|
|
89
89
|
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.k4;
|
|
90
90
|
var ElementMarker = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
91
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
92
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
91
|
+
var captureStack = kotlin_kotlin.$_$.rb;
|
|
92
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z2;
|
|
93
93
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
94
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
95
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
96
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
94
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.xb;
|
|
95
|
+
var coerceAtLeast = kotlin_kotlin.$_$.td;
|
|
96
|
+
var coerceAtMost = kotlin_kotlin.$_$.ud;
|
|
97
97
|
var Collection = kotlin_kotlin.$_$.r5;
|
|
98
98
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
99
99
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
100
100
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
101
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
102
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
103
|
-
var getValue = kotlin_kotlin.$_$.
|
|
104
|
-
var copyOf = kotlin_kotlin.$_$.
|
|
101
|
+
var singleOrNull = kotlin_kotlin.$_$.y8;
|
|
102
|
+
var emptyMap = kotlin_kotlin.$_$.l7;
|
|
103
|
+
var getValue = kotlin_kotlin.$_$.w7;
|
|
104
|
+
var copyOf = kotlin_kotlin.$_$.e7;
|
|
105
105
|
var arrayCopy = kotlin_kotlin.$_$.f6;
|
|
106
106
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
107
107
|
var CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
@@ -109,50 +109,50 @@
|
|
|
109
109
|
var PrimitiveKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
110
110
|
var MAP_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
111
111
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
112
|
-
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
113
|
-
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
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.$_$.
|
|
122
|
-
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
112
|
+
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
113
|
+
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
114
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.vh;
|
|
115
|
+
var invoke = kotlin_kotlin.$_$.bj;
|
|
116
|
+
var CoroutineImpl = kotlin_kotlin.$_$.qa;
|
|
117
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.wh;
|
|
118
|
+
var Unit = kotlin_kotlin.$_$.si;
|
|
119
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.z9;
|
|
120
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.oc;
|
|
121
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.lc;
|
|
122
|
+
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y2;
|
|
123
123
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
124
124
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s1;
|
|
125
125
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
126
|
-
var DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
127
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
128
|
-
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
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.$_$.
|
|
126
|
+
var DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v2;
|
|
127
|
+
var getKClass = kotlin_kotlin.$_$.de;
|
|
128
|
+
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c3;
|
|
129
|
+
var ensureNotNull = kotlin_kotlin.$_$.aj;
|
|
130
|
+
var substringBefore = kotlin_kotlin.$_$.dg;
|
|
131
|
+
var removeSuffix = kotlin_kotlin.$_$.nf;
|
|
132
|
+
var substringAfter = kotlin_kotlin.$_$.ag;
|
|
133
|
+
var contains = kotlin_kotlin.$_$.qe;
|
|
134
|
+
var plus = kotlin_kotlin.$_$.ij;
|
|
135
135
|
var MissingFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
136
|
-
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
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.$_$.
|
|
136
|
+
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x2;
|
|
137
|
+
var convertToByte = kotlin_kotlin.$_$.xa;
|
|
138
|
+
var convertToShort = kotlin_kotlin.$_$.za;
|
|
139
|
+
var convertToInt = kotlin_kotlin.$_$.ya;
|
|
140
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.ai;
|
|
141
|
+
var isFinite = kotlin_kotlin.$_$.dj;
|
|
142
|
+
var isFinite_0 = kotlin_kotlin.$_$.cj;
|
|
143
|
+
var charCodeAt = kotlin_kotlin.$_$.ub;
|
|
144
|
+
var toUInt = kotlin_kotlin.$_$.ah;
|
|
145
145
|
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.i3;
|
|
146
|
-
var toULong = kotlin_kotlin.$_$.
|
|
147
|
-
var toUByte = kotlin_kotlin.$_$.
|
|
146
|
+
var toULong = kotlin_kotlin.$_$.ch;
|
|
147
|
+
var toUByte = kotlin_kotlin.$_$.zg;
|
|
148
148
|
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.y2;
|
|
149
|
-
var toUShort = kotlin_kotlin.$_$.
|
|
149
|
+
var toUShort = kotlin_kotlin.$_$.dh;
|
|
150
150
|
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.j4;
|
|
151
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
151
|
+
var objectCreate = kotlin_kotlin.$_$.id;
|
|
152
152
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
153
153
|
var OBJECT_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
154
|
-
var findPolymorphicSerializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
155
|
-
var SerializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
154
|
+
var findPolymorphicSerializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d3;
|
|
155
|
+
var SerializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a3;
|
|
156
156
|
var toString_1 = kotlin_kotlin.$_$.r2;
|
|
157
157
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.m5;
|
|
158
158
|
var serializer_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
@@ -160,38 +160,38 @@
|
|
|
160
160
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
161
161
|
var Companion_getInstance_2 = kotlin_kotlin.$_$.o5;
|
|
162
162
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
163
|
-
var setOf = kotlin_kotlin.$_$.
|
|
163
|
+
var setOf = kotlin_kotlin.$_$.x8;
|
|
164
164
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.q2;
|
|
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.$_$.fd;
|
|
166
|
+
var equals_0 = kotlin_kotlin.$_$.ze;
|
|
167
|
+
var toByte = kotlin_kotlin.$_$.kd;
|
|
168
|
+
var startsWith = kotlin_kotlin.$_$.wf;
|
|
169
169
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
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.$_$.ed;
|
|
171
|
+
var ClosedRange = kotlin_kotlin.$_$.sd;
|
|
172
|
+
var contains_0 = kotlin_kotlin.$_$.wd;
|
|
173
|
+
var single = kotlin_kotlin.$_$.tf;
|
|
174
|
+
var Char = kotlin_kotlin.$_$.sh;
|
|
175
|
+
var emptySet = kotlin_kotlin.$_$.m7;
|
|
176
|
+
var plus_0 = kotlin_kotlin.$_$.m8;
|
|
177
|
+
var toInt = kotlin_kotlin.$_$.qg;
|
|
178
|
+
var toList = kotlin_kotlin.$_$.j9;
|
|
179
|
+
var enumEntries = kotlin_kotlin.$_$.sa;
|
|
180
180
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
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.$_$.mb;
|
|
182
|
+
var last = kotlin_kotlin.$_$.f8;
|
|
183
|
+
var removeLast = kotlin_kotlin.$_$.t8;
|
|
184
|
+
var lastIndexOf = kotlin_kotlin.$_$.jf;
|
|
185
185
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.m2;
|
|
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.$_$.fb;
|
|
187
|
+
var add = kotlin_kotlin.$_$.wa;
|
|
188
|
+
var subtract = kotlin_kotlin.$_$.lb;
|
|
189
|
+
var numberToLong = kotlin_kotlin.$_$.hb;
|
|
190
|
+
var negate = kotlin_kotlin.$_$.gb;
|
|
191
|
+
var charArray = kotlin_kotlin.$_$.tb;
|
|
192
|
+
var indexOf = kotlin_kotlin.$_$.df;
|
|
193
|
+
var indexOf_0 = kotlin_kotlin.$_$.ef;
|
|
194
|
+
var substring = kotlin_kotlin.$_$.gg;
|
|
195
195
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.d1;
|
|
196
196
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
197
197
|
//endregion
|
|
@@ -271,12 +271,12 @@
|
|
|
271
271
|
}
|
|
272
272
|
function Json(configuration, serializersModule) {
|
|
273
273
|
Default_getInstance();
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
276
|
-
this.
|
|
274
|
+
this.z1d_1 = configuration;
|
|
275
|
+
this.a1e_1 = serializersModule;
|
|
276
|
+
this.b1e_1 = new DescriptorSchemaCache();
|
|
277
277
|
}
|
|
278
278
|
protoOf(Json).at = function () {
|
|
279
|
-
return this.
|
|
279
|
+
return this.a1e_1;
|
|
280
280
|
};
|
|
281
281
|
protoOf(Json).wt = function (serializer, value) {
|
|
282
282
|
var result = new JsonToStringWriter();
|
|
@@ -284,67 +284,67 @@
|
|
|
284
284
|
encodeByWriter(this, result, serializer, value);
|
|
285
285
|
return result.toString();
|
|
286
286
|
}finally {
|
|
287
|
-
result.
|
|
287
|
+
result.e1e();
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
290
|
protoOf(Json).xt = function (deserializer, string) {
|
|
291
291
|
var lexer = StringJsonLexer_0(this, string);
|
|
292
292
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.ps(), null);
|
|
293
293
|
var result = input.et(deserializer);
|
|
294
|
-
lexer.
|
|
294
|
+
lexer.r1e();
|
|
295
295
|
return result;
|
|
296
296
|
};
|
|
297
|
-
protoOf(Json).
|
|
297
|
+
protoOf(Json).c1e = function (string) {
|
|
298
298
|
return this.xt(JsonElementSerializer_getInstance(), string);
|
|
299
299
|
};
|
|
300
300
|
function Json_0(from, builderAction) {
|
|
301
301
|
from = from === VOID ? Default_getInstance() : from;
|
|
302
302
|
var builder = new JsonBuilder(from);
|
|
303
303
|
builderAction(builder);
|
|
304
|
-
var conf = builder.
|
|
305
|
-
return new JsonImpl(conf, builder.
|
|
304
|
+
var conf = builder.k1f();
|
|
305
|
+
return new JsonImpl(conf, builder.j1f_1);
|
|
306
306
|
}
|
|
307
307
|
function JsonBuilder(json) {
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
326
|
-
}
|
|
327
|
-
protoOf(JsonBuilder).
|
|
328
|
-
if (this.
|
|
308
|
+
this.s1e_1 = json.z1d_1.l1f_1;
|
|
309
|
+
this.t1e_1 = json.z1d_1.q1f_1;
|
|
310
|
+
this.u1e_1 = json.z1d_1.m1f_1;
|
|
311
|
+
this.v1e_1 = json.z1d_1.n1f_1;
|
|
312
|
+
this.w1e_1 = json.z1d_1.p1f_1;
|
|
313
|
+
this.x1e_1 = json.z1d_1.r1f_1;
|
|
314
|
+
this.y1e_1 = json.z1d_1.s1f_1;
|
|
315
|
+
this.z1e_1 = json.z1d_1.u1f_1;
|
|
316
|
+
this.a1f_1 = json.z1d_1.b1g_1;
|
|
317
|
+
this.b1f_1 = json.z1d_1.w1f_1;
|
|
318
|
+
this.c1f_1 = json.z1d_1.x1f_1;
|
|
319
|
+
this.d1f_1 = json.z1d_1.y1f_1;
|
|
320
|
+
this.e1f_1 = json.z1d_1.z1f_1;
|
|
321
|
+
this.f1f_1 = json.z1d_1.a1g_1;
|
|
322
|
+
this.g1f_1 = json.z1d_1.v1f_1;
|
|
323
|
+
this.h1f_1 = json.z1d_1.o1f_1;
|
|
324
|
+
this.i1f_1 = json.z1d_1.t1f_1;
|
|
325
|
+
this.j1f_1 = json.at();
|
|
326
|
+
}
|
|
327
|
+
protoOf(JsonBuilder).k1f = function () {
|
|
328
|
+
if (this.i1f_1) {
|
|
329
329
|
// Inline function 'kotlin.require' call
|
|
330
|
-
if (!(this.
|
|
330
|
+
if (!(this.z1e_1 === 'type')) {
|
|
331
331
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
332
332
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
333
333
|
}
|
|
334
334
|
// Inline function 'kotlin.require' call
|
|
335
|
-
if (!this.
|
|
335
|
+
if (!this.a1f_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
336
336
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
337
337
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
if (!this.
|
|
340
|
+
if (!this.w1e_1) {
|
|
341
341
|
// Inline function 'kotlin.require' call
|
|
342
|
-
if (!(this.
|
|
342
|
+
if (!(this.x1e_1 === ' ')) {
|
|
343
343
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
344
344
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
345
345
|
}
|
|
346
|
-
} else if (!(this.
|
|
347
|
-
var tmp0 = this.
|
|
346
|
+
} else if (!(this.x1e_1 === ' ')) {
|
|
347
|
+
var tmp0 = this.x1e_1;
|
|
348
348
|
var tmp$ret$7;
|
|
349
349
|
$l$block: {
|
|
350
350
|
// Inline function 'kotlin.text.all' call
|
|
@@ -362,38 +362,38 @@
|
|
|
362
362
|
var allWhitespaces = tmp$ret$7;
|
|
363
363
|
// Inline function 'kotlin.require' call
|
|
364
364
|
if (!allWhitespaces) {
|
|
365
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
365
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.x1e_1;
|
|
366
366
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
return new JsonConfiguration(this.
|
|
369
|
+
return new JsonConfiguration(this.s1e_1, this.u1e_1, this.v1e_1, this.h1f_1, this.w1e_1, this.t1e_1, this.x1e_1, this.y1e_1, this.i1f_1, this.z1e_1, this.g1f_1, this.b1f_1, this.c1f_1, this.d1f_1, this.e1f_1, this.f1f_1, this.a1f_1);
|
|
370
370
|
};
|
|
371
371
|
function validateConfiguration($this) {
|
|
372
372
|
if (equals($this.at(), EmptySerializersModule()))
|
|
373
373
|
return Unit_instance;
|
|
374
|
-
var collector = new JsonSerializersModuleValidator($this.
|
|
375
|
-
$this.at().
|
|
374
|
+
var collector = new JsonSerializersModuleValidator($this.z1d_1);
|
|
375
|
+
$this.at().e1d(collector);
|
|
376
376
|
}
|
|
377
377
|
function JsonImpl(configuration, module_0) {
|
|
378
378
|
Json.call(this, configuration, module_0);
|
|
379
379
|
validateConfiguration(this);
|
|
380
380
|
}
|
|
381
381
|
function JsonClassDiscriminator(discriminator) {
|
|
382
|
-
this.
|
|
382
|
+
this.c1g_1 = discriminator;
|
|
383
383
|
}
|
|
384
384
|
protoOf(JsonClassDiscriminator).equals = function (other) {
|
|
385
385
|
if (!(other instanceof JsonClassDiscriminator))
|
|
386
386
|
return false;
|
|
387
387
|
var tmp0_other_with_cast = other instanceof JsonClassDiscriminator ? other : THROW_CCE();
|
|
388
|
-
if (!(this.
|
|
388
|
+
if (!(this.c1g_1 === tmp0_other_with_cast.c1g_1))
|
|
389
389
|
return false;
|
|
390
390
|
return true;
|
|
391
391
|
};
|
|
392
392
|
protoOf(JsonClassDiscriminator).hashCode = function () {
|
|
393
|
-
return imul(getStringHashCode('discriminator'), 127) ^ getStringHashCode(this.
|
|
393
|
+
return imul(getStringHashCode('discriminator'), 127) ^ getStringHashCode(this.c1g_1);
|
|
394
394
|
};
|
|
395
395
|
protoOf(JsonClassDiscriminator).toString = function () {
|
|
396
|
-
return '@kotlinx.serialization.json.JsonClassDiscriminator(' + 'discriminator=' + this.
|
|
396
|
+
return '@kotlinx.serialization.json.JsonClassDiscriminator(' + 'discriminator=' + this.c1g_1 + ')';
|
|
397
397
|
};
|
|
398
398
|
function JsonIgnoreUnknownKeys() {
|
|
399
399
|
}
|
|
@@ -417,26 +417,26 @@
|
|
|
417
417
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
418
418
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
419
419
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
420
|
-
this.
|
|
421
|
-
this.
|
|
422
|
-
this.
|
|
423
|
-
this.
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
420
|
+
this.l1f_1 = encodeDefaults;
|
|
421
|
+
this.m1f_1 = ignoreUnknownKeys;
|
|
422
|
+
this.n1f_1 = isLenient;
|
|
423
|
+
this.o1f_1 = allowStructuredMapKeys;
|
|
424
|
+
this.p1f_1 = prettyPrint;
|
|
425
|
+
this.q1f_1 = explicitNulls;
|
|
426
|
+
this.r1f_1 = prettyPrintIndent;
|
|
427
|
+
this.s1f_1 = coerceInputValues;
|
|
428
|
+
this.t1f_1 = useArrayPolymorphism;
|
|
429
|
+
this.u1f_1 = classDiscriminator;
|
|
430
|
+
this.v1f_1 = allowSpecialFloatingPointValues;
|
|
431
|
+
this.w1f_1 = useAlternativeNames;
|
|
432
|
+
this.x1f_1 = namingStrategy;
|
|
433
|
+
this.y1f_1 = decodeEnumsCaseInsensitive;
|
|
434
|
+
this.z1f_1 = allowTrailingComma;
|
|
435
|
+
this.a1g_1 = allowComments;
|
|
436
|
+
this.b1g_1 = classDiscriminatorMode;
|
|
437
437
|
}
|
|
438
438
|
protoOf(JsonConfiguration).toString = function () {
|
|
439
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
439
|
+
return 'JsonConfiguration(encodeDefaults=' + this.l1f_1 + ', ignoreUnknownKeys=' + this.m1f_1 + ', isLenient=' + this.n1f_1 + ', ' + ('allowStructuredMapKeys=' + this.o1f_1 + ', prettyPrint=' + this.p1f_1 + ', explicitNulls=' + this.q1f_1 + ', ') + ("prettyPrintIndent='" + this.r1f_1 + "', coerceInputValues=" + this.s1f_1 + ', useArrayPolymorphism=' + this.t1f_1 + ', ') + ("classDiscriminator='" + this.u1f_1 + "', allowSpecialFloatingPointValues=" + this.v1f_1 + ', ') + ('useAlternativeNames=' + this.w1f_1 + ', namingStrategy=' + toString_0(this.x1f_1) + ', decodeEnumsCaseInsensitive=' + this.y1f_1 + ', ') + ('allowTrailingComma=' + this.z1f_1 + ', allowComments=' + this.a1g_1 + ', classDiscriminatorMode=' + this.b1g_1.toString() + ')');
|
|
440
440
|
};
|
|
441
441
|
var ClassDiscriminatorMode_NONE_instance;
|
|
442
442
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
JsonElement.call(this);
|
|
487
487
|
}
|
|
488
488
|
protoOf(JsonPrimitive).toString = function () {
|
|
489
|
-
return this.
|
|
489
|
+
return this.g1g();
|
|
490
490
|
};
|
|
491
491
|
function Companion_1() {
|
|
492
492
|
}
|
|
@@ -509,59 +509,59 @@
|
|
|
509
509
|
}
|
|
510
510
|
function JsonObject(content) {
|
|
511
511
|
JsonElement.call(this);
|
|
512
|
-
this.
|
|
512
|
+
this.h1g_1 = content;
|
|
513
513
|
}
|
|
514
514
|
protoOf(JsonObject).equals = function (other) {
|
|
515
|
-
return equals(this.
|
|
515
|
+
return equals(this.h1g_1, other);
|
|
516
516
|
};
|
|
517
517
|
protoOf(JsonObject).hashCode = function () {
|
|
518
|
-
return hashCode(this.
|
|
518
|
+
return hashCode(this.h1g_1);
|
|
519
519
|
};
|
|
520
520
|
protoOf(JsonObject).toString = function () {
|
|
521
|
-
var tmp = this.
|
|
521
|
+
var tmp = this.h1g_1.l1();
|
|
522
522
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
523
523
|
};
|
|
524
524
|
protoOf(JsonObject).r = function () {
|
|
525
|
-
return this.
|
|
525
|
+
return this.h1g_1.r();
|
|
526
526
|
};
|
|
527
|
-
protoOf(JsonObject).
|
|
528
|
-
return this.
|
|
527
|
+
protoOf(JsonObject).i1g = function (key) {
|
|
528
|
+
return this.h1g_1.x2(key);
|
|
529
529
|
};
|
|
530
530
|
protoOf(JsonObject).x2 = function (key) {
|
|
531
531
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
532
532
|
return false;
|
|
533
|
-
return this.
|
|
533
|
+
return this.i1g((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
534
534
|
};
|
|
535
|
-
protoOf(JsonObject).
|
|
536
|
-
return this.
|
|
535
|
+
protoOf(JsonObject).j1g = function (value) {
|
|
536
|
+
return this.h1g_1.y2(value);
|
|
537
537
|
};
|
|
538
538
|
protoOf(JsonObject).y2 = function (value) {
|
|
539
539
|
if (!(value instanceof JsonElement))
|
|
540
540
|
return false;
|
|
541
|
-
return this.
|
|
541
|
+
return this.j1g(value instanceof JsonElement ? value : THROW_CCE());
|
|
542
542
|
};
|
|
543
|
-
protoOf(JsonObject).
|
|
544
|
-
return this.
|
|
543
|
+
protoOf(JsonObject).k1g = function (key) {
|
|
544
|
+
return this.h1g_1.z2(key);
|
|
545
545
|
};
|
|
546
546
|
protoOf(JsonObject).z2 = function (key) {
|
|
547
547
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
548
548
|
return null;
|
|
549
|
-
return this.
|
|
549
|
+
return this.k1g((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
550
550
|
};
|
|
551
551
|
protoOf(JsonObject).asJsReadonlyMapView = function () {
|
|
552
|
-
return this.
|
|
552
|
+
return this.h1g_1.asJsReadonlyMapView();
|
|
553
553
|
};
|
|
554
554
|
protoOf(JsonObject).g1 = function () {
|
|
555
|
-
return this.
|
|
555
|
+
return this.h1g_1.g1();
|
|
556
556
|
};
|
|
557
557
|
protoOf(JsonObject).a3 = function () {
|
|
558
|
-
return this.
|
|
558
|
+
return this.h1g_1.a3();
|
|
559
559
|
};
|
|
560
560
|
protoOf(JsonObject).b3 = function () {
|
|
561
|
-
return this.
|
|
561
|
+
return this.h1g_1.b3();
|
|
562
562
|
};
|
|
563
563
|
protoOf(JsonObject).l1 = function () {
|
|
564
|
-
return this.
|
|
564
|
+
return this.h1g_1.l1();
|
|
565
565
|
};
|
|
566
566
|
function Companion_2() {
|
|
567
567
|
}
|
|
@@ -571,87 +571,87 @@
|
|
|
571
571
|
}
|
|
572
572
|
function JsonArray(content) {
|
|
573
573
|
JsonElement.call(this);
|
|
574
|
-
this.
|
|
574
|
+
this.l1g_1 = content;
|
|
575
575
|
}
|
|
576
576
|
protoOf(JsonArray).equals = function (other) {
|
|
577
|
-
return equals(this.
|
|
577
|
+
return equals(this.l1g_1, other);
|
|
578
578
|
};
|
|
579
579
|
protoOf(JsonArray).hashCode = function () {
|
|
580
|
-
return hashCode(this.
|
|
580
|
+
return hashCode(this.l1g_1);
|
|
581
581
|
};
|
|
582
582
|
protoOf(JsonArray).toString = function () {
|
|
583
|
-
return joinToString(this.
|
|
583
|
+
return joinToString(this.l1g_1, ',', '[', ']');
|
|
584
584
|
};
|
|
585
585
|
protoOf(JsonArray).r = function () {
|
|
586
|
-
return this.
|
|
586
|
+
return this.l1g_1.r();
|
|
587
587
|
};
|
|
588
|
-
protoOf(JsonArray).
|
|
589
|
-
return this.
|
|
588
|
+
protoOf(JsonArray).m1g = function (element) {
|
|
589
|
+
return this.l1g_1.q2(element);
|
|
590
590
|
};
|
|
591
591
|
protoOf(JsonArray).q2 = function (element) {
|
|
592
592
|
if (!(element instanceof JsonElement))
|
|
593
593
|
return false;
|
|
594
|
-
return this.
|
|
594
|
+
return this.m1g(element instanceof JsonElement ? element : THROW_CCE());
|
|
595
595
|
};
|
|
596
596
|
protoOf(JsonArray).t = function () {
|
|
597
|
-
return this.
|
|
597
|
+
return this.l1g_1.t();
|
|
598
598
|
};
|
|
599
|
-
protoOf(JsonArray).
|
|
600
|
-
return this.
|
|
599
|
+
protoOf(JsonArray).n1g = function (elements) {
|
|
600
|
+
return this.l1g_1.r2(elements);
|
|
601
601
|
};
|
|
602
602
|
protoOf(JsonArray).r2 = function (elements) {
|
|
603
|
-
return this.
|
|
603
|
+
return this.n1g(elements);
|
|
604
604
|
};
|
|
605
605
|
protoOf(JsonArray).h1 = function (index) {
|
|
606
|
-
return this.
|
|
606
|
+
return this.l1g_1.h1(index);
|
|
607
607
|
};
|
|
608
|
-
protoOf(JsonArray).
|
|
609
|
-
return this.
|
|
608
|
+
protoOf(JsonArray).o1g = function (element) {
|
|
609
|
+
return this.l1g_1.s2(element);
|
|
610
610
|
};
|
|
611
611
|
protoOf(JsonArray).s2 = function (element) {
|
|
612
612
|
if (!(element instanceof JsonElement))
|
|
613
613
|
return -1;
|
|
614
|
-
return this.
|
|
614
|
+
return this.o1g(element instanceof JsonElement ? element : THROW_CCE());
|
|
615
615
|
};
|
|
616
|
-
protoOf(JsonArray).
|
|
617
|
-
return this.
|
|
616
|
+
protoOf(JsonArray).p1g = function (element) {
|
|
617
|
+
return this.l1g_1.t2(element);
|
|
618
618
|
};
|
|
619
619
|
protoOf(JsonArray).t2 = function (element) {
|
|
620
620
|
if (!(element instanceof JsonElement))
|
|
621
621
|
return -1;
|
|
622
|
-
return this.
|
|
622
|
+
return this.p1g(element instanceof JsonElement ? element : THROW_CCE());
|
|
623
623
|
};
|
|
624
624
|
protoOf(JsonArray).u2 = function () {
|
|
625
|
-
return this.
|
|
625
|
+
return this.l1g_1.u2();
|
|
626
626
|
};
|
|
627
627
|
protoOf(JsonArray).i1 = function (index) {
|
|
628
|
-
return this.
|
|
628
|
+
return this.l1g_1.i1(index);
|
|
629
629
|
};
|
|
630
630
|
protoOf(JsonArray).v2 = function (fromIndex, toIndex) {
|
|
631
|
-
return this.
|
|
631
|
+
return this.l1g_1.v2(fromIndex, toIndex);
|
|
632
632
|
};
|
|
633
633
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
634
|
-
return this.
|
|
634
|
+
return this.l1g_1.asJsReadonlyArrayView();
|
|
635
635
|
};
|
|
636
636
|
protoOf(JsonArray).g1 = function () {
|
|
637
|
-
return this.
|
|
637
|
+
return this.l1g_1.g1();
|
|
638
638
|
};
|
|
639
639
|
function JsonNull() {
|
|
640
640
|
JsonNull_instance = this;
|
|
641
641
|
JsonPrimitive.call(this);
|
|
642
|
-
this.
|
|
642
|
+
this.q1g_1 = 'null';
|
|
643
643
|
}
|
|
644
|
-
protoOf(JsonNull).
|
|
644
|
+
protoOf(JsonNull).f1g = function () {
|
|
645
645
|
return false;
|
|
646
646
|
};
|
|
647
|
-
protoOf(JsonNull).
|
|
648
|
-
return this.
|
|
647
|
+
protoOf(JsonNull).g1g = function () {
|
|
648
|
+
return this.q1g_1;
|
|
649
649
|
};
|
|
650
|
-
protoOf(JsonNull).
|
|
650
|
+
protoOf(JsonNull).r1g = function () {
|
|
651
651
|
return JsonNullSerializer_getInstance();
|
|
652
652
|
};
|
|
653
653
|
protoOf(JsonNull).v14 = function (typeParamsSerializers) {
|
|
654
|
-
return this.
|
|
654
|
+
return this.r1g();
|
|
655
655
|
};
|
|
656
656
|
var JsonNull_instance;
|
|
657
657
|
function JsonNull_getInstance() {
|
|
@@ -662,34 +662,34 @@
|
|
|
662
662
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
663
663
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
664
664
|
JsonPrimitive.call(this);
|
|
665
|
-
this.
|
|
666
|
-
this.
|
|
667
|
-
this.
|
|
668
|
-
if (!(this.
|
|
665
|
+
this.s1g_1 = isString;
|
|
666
|
+
this.t1g_1 = coerceToInlineType;
|
|
667
|
+
this.u1g_1 = toString(body);
|
|
668
|
+
if (!(this.t1g_1 == null)) {
|
|
669
669
|
// Inline function 'kotlin.require' call
|
|
670
670
|
// Inline function 'kotlin.require' call
|
|
671
|
-
if (!this.
|
|
671
|
+
if (!this.t1g_1.ou()) {
|
|
672
672
|
var message = 'Failed requirement.';
|
|
673
673
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
protoOf(JsonLiteral).
|
|
678
|
-
return this.
|
|
677
|
+
protoOf(JsonLiteral).f1g = function () {
|
|
678
|
+
return this.s1g_1;
|
|
679
679
|
};
|
|
680
|
-
protoOf(JsonLiteral).
|
|
681
|
-
return this.
|
|
680
|
+
protoOf(JsonLiteral).g1g = function () {
|
|
681
|
+
return this.u1g_1;
|
|
682
682
|
};
|
|
683
683
|
protoOf(JsonLiteral).toString = function () {
|
|
684
684
|
var tmp;
|
|
685
|
-
if (this.
|
|
685
|
+
if (this.s1g_1) {
|
|
686
686
|
// Inline function 'kotlin.text.buildString' call
|
|
687
687
|
// Inline function 'kotlin.apply' call
|
|
688
688
|
var this_0 = StringBuilder_init_$Create$();
|
|
689
|
-
printQuoted(this_0, this.
|
|
689
|
+
printQuoted(this_0, this.u1g_1);
|
|
690
690
|
tmp = this_0.toString();
|
|
691
691
|
} else {
|
|
692
|
-
tmp = this.
|
|
692
|
+
tmp = this.u1g_1;
|
|
693
693
|
}
|
|
694
694
|
return tmp;
|
|
695
695
|
};
|
|
@@ -700,36 +700,36 @@
|
|
|
700
700
|
return false;
|
|
701
701
|
if (!(other instanceof JsonLiteral))
|
|
702
702
|
THROW_CCE();
|
|
703
|
-
if (!(this.
|
|
703
|
+
if (!(this.s1g_1 === other.s1g_1))
|
|
704
704
|
return false;
|
|
705
|
-
if (!(this.
|
|
705
|
+
if (!(this.u1g_1 === other.u1g_1))
|
|
706
706
|
return false;
|
|
707
707
|
return true;
|
|
708
708
|
};
|
|
709
709
|
protoOf(JsonLiteral).hashCode = function () {
|
|
710
|
-
var result = getBooleanHashCode(this.
|
|
711
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
710
|
+
var result = getBooleanHashCode(this.s1g_1);
|
|
711
|
+
result = imul(31, result) + getStringHashCode(this.u1g_1) | 0;
|
|
712
712
|
return result;
|
|
713
713
|
};
|
|
714
714
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
715
715
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
716
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
716
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.g1g());
|
|
717
717
|
}
|
|
718
718
|
function parseLongImpl(_this__u8e3s4) {
|
|
719
719
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
720
|
-
return (new StringJsonLexer(_this__u8e3s4.
|
|
720
|
+
return (new StringJsonLexer(_this__u8e3s4.g1g())).v1g();
|
|
721
721
|
}
|
|
722
722
|
function get_float(_this__u8e3s4) {
|
|
723
723
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
724
724
|
// Inline function 'kotlin.text.toFloat' call
|
|
725
|
-
var this_0 = _this__u8e3s4.
|
|
725
|
+
var this_0 = _this__u8e3s4.g1g();
|
|
726
726
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
727
727
|
// Inline function 'kotlin.js.asDynamic' call
|
|
728
728
|
return toDouble(this_0);
|
|
729
729
|
}
|
|
730
730
|
function get_double(_this__u8e3s4) {
|
|
731
731
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
732
|
-
return toDouble(_this__u8e3s4.
|
|
732
|
+
return toDouble(_this__u8e3s4.g1g());
|
|
733
733
|
}
|
|
734
734
|
function get_contentOrNull(_this__u8e3s4) {
|
|
735
735
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
738
738
|
tmp = null;
|
|
739
739
|
} else {
|
|
740
|
-
tmp = _this__u8e3s4.
|
|
740
|
+
tmp = _this__u8e3s4.g1g();
|
|
741
741
|
}
|
|
742
742
|
return tmp;
|
|
743
743
|
}
|
|
@@ -783,13 +783,13 @@
|
|
|
783
783
|
function JsonObjectBuilder() {
|
|
784
784
|
var tmp = this;
|
|
785
785
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
786
|
-
tmp.
|
|
786
|
+
tmp.w1g_1 = LinkedHashMap_init_$Create$();
|
|
787
787
|
}
|
|
788
|
-
protoOf(JsonObjectBuilder).
|
|
789
|
-
return this.
|
|
788
|
+
protoOf(JsonObjectBuilder).x1g = function (key, element) {
|
|
789
|
+
return this.w1g_1.c3(key, element);
|
|
790
790
|
};
|
|
791
|
-
protoOf(JsonObjectBuilder).
|
|
792
|
-
return new JsonObject(this.
|
|
791
|
+
protoOf(JsonObjectBuilder).k1f = function () {
|
|
792
|
+
return new JsonObject(this.w1g_1);
|
|
793
793
|
};
|
|
794
794
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
795
795
|
$this$buildSerialDescriptor.it('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
@@ -800,30 +800,30 @@
|
|
|
800
800
|
return Unit_instance;
|
|
801
801
|
}
|
|
802
802
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
803
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
803
|
+
return JsonPrimitiveSerializer_getInstance().y1g_1;
|
|
804
804
|
}
|
|
805
805
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
806
|
-
return JsonNullSerializer_getInstance().
|
|
806
|
+
return JsonNullSerializer_getInstance().z1g_1;
|
|
807
807
|
}
|
|
808
808
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
809
|
-
return JsonLiteralSerializer_getInstance().
|
|
809
|
+
return JsonLiteralSerializer_getInstance().a1h_1;
|
|
810
810
|
}
|
|
811
811
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
812
|
-
return JsonObjectSerializer_getInstance().
|
|
812
|
+
return JsonObjectSerializer_getInstance().b1h_1;
|
|
813
813
|
}
|
|
814
814
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
815
|
-
return JsonArraySerializer_getInstance().
|
|
815
|
+
return JsonArraySerializer_getInstance().c1h_1;
|
|
816
816
|
}
|
|
817
817
|
function JsonElementSerializer() {
|
|
818
818
|
JsonElementSerializer_instance = this;
|
|
819
819
|
var tmp = this;
|
|
820
820
|
var tmp_0 = SEALED_getInstance();
|
|
821
|
-
tmp.
|
|
821
|
+
tmp.d1h_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
822
822
|
}
|
|
823
823
|
protoOf(JsonElementSerializer).ps = function () {
|
|
824
|
-
return this.
|
|
824
|
+
return this.d1h_1;
|
|
825
825
|
};
|
|
826
|
-
protoOf(JsonElementSerializer).
|
|
826
|
+
protoOf(JsonElementSerializer).e1h = function (encoder, value) {
|
|
827
827
|
verify(encoder);
|
|
828
828
|
if (value instanceof JsonPrimitive) {
|
|
829
829
|
encoder.bt(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -840,11 +840,11 @@
|
|
|
840
840
|
}
|
|
841
841
|
};
|
|
842
842
|
protoOf(JsonElementSerializer).ct = function (encoder, value) {
|
|
843
|
-
return this.
|
|
843
|
+
return this.e1h(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
844
844
|
};
|
|
845
845
|
protoOf(JsonElementSerializer).dt = function (decoder) {
|
|
846
846
|
var input = asJsonDecoder(decoder);
|
|
847
|
-
return input.
|
|
847
|
+
return input.e1g();
|
|
848
848
|
};
|
|
849
849
|
var JsonElementSerializer_instance;
|
|
850
850
|
function JsonElementSerializer_getInstance() {
|
|
@@ -857,12 +857,12 @@
|
|
|
857
857
|
}
|
|
858
858
|
function JsonPrimitiveSerializer() {
|
|
859
859
|
JsonPrimitiveSerializer_instance = this;
|
|
860
|
-
this.
|
|
860
|
+
this.y1g_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
861
861
|
}
|
|
862
862
|
protoOf(JsonPrimitiveSerializer).ps = function () {
|
|
863
|
-
return this.
|
|
863
|
+
return this.y1g_1;
|
|
864
864
|
};
|
|
865
|
-
protoOf(JsonPrimitiveSerializer).
|
|
865
|
+
protoOf(JsonPrimitiveSerializer).f1h = function (encoder, value) {
|
|
866
866
|
verify(encoder);
|
|
867
867
|
var tmp;
|
|
868
868
|
if (value instanceof JsonNull) {
|
|
@@ -876,10 +876,10 @@
|
|
|
876
876
|
return tmp;
|
|
877
877
|
};
|
|
878
878
|
protoOf(JsonPrimitiveSerializer).ct = function (encoder, value) {
|
|
879
|
-
return this.
|
|
879
|
+
return this.f1h(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
880
880
|
};
|
|
881
881
|
protoOf(JsonPrimitiveSerializer).dt = function (decoder) {
|
|
882
|
-
var result = asJsonDecoder(decoder).
|
|
882
|
+
var result = asJsonDecoder(decoder).e1g();
|
|
883
883
|
if (!(result instanceof JsonPrimitive))
|
|
884
884
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
885
885
|
return result;
|
|
@@ -892,17 +892,17 @@
|
|
|
892
892
|
}
|
|
893
893
|
function JsonNullSerializer() {
|
|
894
894
|
JsonNullSerializer_instance = this;
|
|
895
|
-
this.
|
|
895
|
+
this.z1g_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
896
896
|
}
|
|
897
897
|
protoOf(JsonNullSerializer).ps = function () {
|
|
898
|
-
return this.
|
|
898
|
+
return this.z1g_1;
|
|
899
899
|
};
|
|
900
|
-
protoOf(JsonNullSerializer).
|
|
900
|
+
protoOf(JsonNullSerializer).g1h = function (encoder, value) {
|
|
901
901
|
verify(encoder);
|
|
902
902
|
encoder.zw();
|
|
903
903
|
};
|
|
904
904
|
protoOf(JsonNullSerializer).ct = function (encoder, value) {
|
|
905
|
-
return this.
|
|
905
|
+
return this.g1h(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
906
906
|
};
|
|
907
907
|
protoOf(JsonNullSerializer).dt = function (decoder) {
|
|
908
908
|
verify_0(decoder);
|
|
@@ -920,27 +920,27 @@
|
|
|
920
920
|
}
|
|
921
921
|
function JsonLiteralSerializer() {
|
|
922
922
|
JsonLiteralSerializer_instance = this;
|
|
923
|
-
this.
|
|
923
|
+
this.a1h_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
924
924
|
}
|
|
925
925
|
protoOf(JsonLiteralSerializer).ps = function () {
|
|
926
|
-
return this.
|
|
926
|
+
return this.a1h_1;
|
|
927
927
|
};
|
|
928
|
-
protoOf(JsonLiteralSerializer).
|
|
928
|
+
protoOf(JsonLiteralSerializer).h1h = function (encoder, value) {
|
|
929
929
|
verify(encoder);
|
|
930
|
-
if (value.
|
|
931
|
-
return encoder.ix(value.
|
|
930
|
+
if (value.s1g_1) {
|
|
931
|
+
return encoder.ix(value.u1g_1);
|
|
932
932
|
}
|
|
933
|
-
if (!(value.
|
|
934
|
-
return encoder.kx(value.
|
|
933
|
+
if (!(value.t1g_1 == null)) {
|
|
934
|
+
return encoder.kx(value.t1g_1).ix(value.u1g_1);
|
|
935
935
|
}
|
|
936
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
936
|
+
var tmp0_safe_receiver = toLongOrNull(value.u1g_1);
|
|
937
937
|
if (tmp0_safe_receiver == null)
|
|
938
938
|
null;
|
|
939
939
|
else {
|
|
940
940
|
// Inline function 'kotlin.let' call
|
|
941
941
|
return encoder.ex(tmp0_safe_receiver);
|
|
942
942
|
}
|
|
943
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
943
|
+
var tmp1_safe_receiver = toULongOrNull(value.u1g_1);
|
|
944
944
|
var tmp = tmp1_safe_receiver;
|
|
945
945
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
946
946
|
null;
|
|
@@ -954,27 +954,27 @@
|
|
|
954
954
|
tmp_1.ex(tmp$ret$1);
|
|
955
955
|
return Unit_instance;
|
|
956
956
|
}
|
|
957
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
957
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.u1g_1);
|
|
958
958
|
if (tmp2_safe_receiver == null)
|
|
959
959
|
null;
|
|
960
960
|
else {
|
|
961
961
|
// Inline function 'kotlin.let' call
|
|
962
962
|
return encoder.gx(tmp2_safe_receiver);
|
|
963
963
|
}
|
|
964
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
964
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.u1g_1);
|
|
965
965
|
if (tmp3_safe_receiver == null)
|
|
966
966
|
null;
|
|
967
967
|
else {
|
|
968
968
|
// Inline function 'kotlin.let' call
|
|
969
969
|
return encoder.ax(tmp3_safe_receiver);
|
|
970
970
|
}
|
|
971
|
-
encoder.ix(value.
|
|
971
|
+
encoder.ix(value.u1g_1);
|
|
972
972
|
};
|
|
973
973
|
protoOf(JsonLiteralSerializer).ct = function (encoder, value) {
|
|
974
|
-
return this.
|
|
974
|
+
return this.h1h(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
975
975
|
};
|
|
976
976
|
protoOf(JsonLiteralSerializer).dt = function (decoder) {
|
|
977
|
-
var result = asJsonDecoder(decoder).
|
|
977
|
+
var result = asJsonDecoder(decoder).e1g();
|
|
978
978
|
if (!(result instanceof JsonLiteral))
|
|
979
979
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
980
980
|
return result;
|
|
@@ -987,41 +987,41 @@
|
|
|
987
987
|
}
|
|
988
988
|
function JsonObjectDescriptor() {
|
|
989
989
|
JsonObjectDescriptor_instance = this;
|
|
990
|
-
this.
|
|
991
|
-
this.
|
|
990
|
+
this.i1h_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ps();
|
|
991
|
+
this.j1h_1 = 'kotlinx.serialization.json.JsonObject';
|
|
992
992
|
}
|
|
993
993
|
protoOf(JsonObjectDescriptor).ut = function () {
|
|
994
|
-
return this.
|
|
994
|
+
return this.j1h_1;
|
|
995
995
|
};
|
|
996
996
|
protoOf(JsonObjectDescriptor).qu = function (index) {
|
|
997
|
-
return this.
|
|
997
|
+
return this.i1h_1.qu(index);
|
|
998
998
|
};
|
|
999
999
|
protoOf(JsonObjectDescriptor).ru = function (name) {
|
|
1000
|
-
return this.
|
|
1000
|
+
return this.i1h_1.ru(name);
|
|
1001
1001
|
};
|
|
1002
1002
|
protoOf(JsonObjectDescriptor).su = function (index) {
|
|
1003
|
-
return this.
|
|
1003
|
+
return this.i1h_1.su(index);
|
|
1004
1004
|
};
|
|
1005
1005
|
protoOf(JsonObjectDescriptor).tu = function (index) {
|
|
1006
|
-
return this.
|
|
1006
|
+
return this.i1h_1.tu(index);
|
|
1007
1007
|
};
|
|
1008
1008
|
protoOf(JsonObjectDescriptor).uu = function (index) {
|
|
1009
|
-
return this.
|
|
1009
|
+
return this.i1h_1.uu(index);
|
|
1010
1010
|
};
|
|
1011
1011
|
protoOf(JsonObjectDescriptor).nu = function () {
|
|
1012
|
-
return this.
|
|
1012
|
+
return this.i1h_1.nu();
|
|
1013
1013
|
};
|
|
1014
1014
|
protoOf(JsonObjectDescriptor).gu = function () {
|
|
1015
|
-
return this.
|
|
1015
|
+
return this.i1h_1.gu();
|
|
1016
1016
|
};
|
|
1017
1017
|
protoOf(JsonObjectDescriptor).ou = function () {
|
|
1018
|
-
return this.
|
|
1018
|
+
return this.i1h_1.ou();
|
|
1019
1019
|
};
|
|
1020
1020
|
protoOf(JsonObjectDescriptor).pu = function () {
|
|
1021
|
-
return this.
|
|
1021
|
+
return this.i1h_1.pu();
|
|
1022
1022
|
};
|
|
1023
1023
|
protoOf(JsonObjectDescriptor).qs = function () {
|
|
1024
|
-
return this.
|
|
1024
|
+
return this.i1h_1.qs();
|
|
1025
1025
|
};
|
|
1026
1026
|
var JsonObjectDescriptor_instance;
|
|
1027
1027
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -1031,17 +1031,17 @@
|
|
|
1031
1031
|
}
|
|
1032
1032
|
function JsonObjectSerializer() {
|
|
1033
1033
|
JsonObjectSerializer_instance = this;
|
|
1034
|
-
this.
|
|
1034
|
+
this.b1h_1 = JsonObjectDescriptor_getInstance();
|
|
1035
1035
|
}
|
|
1036
1036
|
protoOf(JsonObjectSerializer).ps = function () {
|
|
1037
|
-
return this.
|
|
1037
|
+
return this.b1h_1;
|
|
1038
1038
|
};
|
|
1039
|
-
protoOf(JsonObjectSerializer).
|
|
1039
|
+
protoOf(JsonObjectSerializer).k1h = function (encoder, value) {
|
|
1040
1040
|
verify(encoder);
|
|
1041
1041
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ct(encoder, value);
|
|
1042
1042
|
};
|
|
1043
1043
|
protoOf(JsonObjectSerializer).ct = function (encoder, value) {
|
|
1044
|
-
return this.
|
|
1044
|
+
return this.k1h(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
1045
1045
|
};
|
|
1046
1046
|
protoOf(JsonObjectSerializer).dt = function (decoder) {
|
|
1047
1047
|
verify_0(decoder);
|
|
@@ -1055,41 +1055,41 @@
|
|
|
1055
1055
|
}
|
|
1056
1056
|
function JsonArrayDescriptor() {
|
|
1057
1057
|
JsonArrayDescriptor_instance = this;
|
|
1058
|
-
this.
|
|
1059
|
-
this.
|
|
1058
|
+
this.l1h_1 = ListSerializer(JsonElementSerializer_getInstance()).ps();
|
|
1059
|
+
this.m1h_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1060
1060
|
}
|
|
1061
1061
|
protoOf(JsonArrayDescriptor).ut = function () {
|
|
1062
|
-
return this.
|
|
1062
|
+
return this.m1h_1;
|
|
1063
1063
|
};
|
|
1064
1064
|
protoOf(JsonArrayDescriptor).qu = function (index) {
|
|
1065
|
-
return this.
|
|
1065
|
+
return this.l1h_1.qu(index);
|
|
1066
1066
|
};
|
|
1067
1067
|
protoOf(JsonArrayDescriptor).ru = function (name) {
|
|
1068
|
-
return this.
|
|
1068
|
+
return this.l1h_1.ru(name);
|
|
1069
1069
|
};
|
|
1070
1070
|
protoOf(JsonArrayDescriptor).su = function (index) {
|
|
1071
|
-
return this.
|
|
1071
|
+
return this.l1h_1.su(index);
|
|
1072
1072
|
};
|
|
1073
1073
|
protoOf(JsonArrayDescriptor).tu = function (index) {
|
|
1074
|
-
return this.
|
|
1074
|
+
return this.l1h_1.tu(index);
|
|
1075
1075
|
};
|
|
1076
1076
|
protoOf(JsonArrayDescriptor).uu = function (index) {
|
|
1077
|
-
return this.
|
|
1077
|
+
return this.l1h_1.uu(index);
|
|
1078
1078
|
};
|
|
1079
1079
|
protoOf(JsonArrayDescriptor).nu = function () {
|
|
1080
|
-
return this.
|
|
1080
|
+
return this.l1h_1.nu();
|
|
1081
1081
|
};
|
|
1082
1082
|
protoOf(JsonArrayDescriptor).gu = function () {
|
|
1083
|
-
return this.
|
|
1083
|
+
return this.l1h_1.gu();
|
|
1084
1084
|
};
|
|
1085
1085
|
protoOf(JsonArrayDescriptor).ou = function () {
|
|
1086
|
-
return this.
|
|
1086
|
+
return this.l1h_1.ou();
|
|
1087
1087
|
};
|
|
1088
1088
|
protoOf(JsonArrayDescriptor).pu = function () {
|
|
1089
|
-
return this.
|
|
1089
|
+
return this.l1h_1.pu();
|
|
1090
1090
|
};
|
|
1091
1091
|
protoOf(JsonArrayDescriptor).qs = function () {
|
|
1092
|
-
return this.
|
|
1092
|
+
return this.l1h_1.qs();
|
|
1093
1093
|
};
|
|
1094
1094
|
var JsonArrayDescriptor_instance;
|
|
1095
1095
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -1099,17 +1099,17 @@
|
|
|
1099
1099
|
}
|
|
1100
1100
|
function JsonArraySerializer() {
|
|
1101
1101
|
JsonArraySerializer_instance = this;
|
|
1102
|
-
this.
|
|
1102
|
+
this.c1h_1 = JsonArrayDescriptor_getInstance();
|
|
1103
1103
|
}
|
|
1104
1104
|
protoOf(JsonArraySerializer).ps = function () {
|
|
1105
|
-
return this.
|
|
1105
|
+
return this.c1h_1;
|
|
1106
1106
|
};
|
|
1107
|
-
protoOf(JsonArraySerializer).
|
|
1107
|
+
protoOf(JsonArraySerializer).n1h = function (encoder, value) {
|
|
1108
1108
|
verify(encoder);
|
|
1109
1109
|
ListSerializer(JsonElementSerializer_getInstance()).ct(encoder, value);
|
|
1110
1110
|
};
|
|
1111
1111
|
protoOf(JsonArraySerializer).ct = function (encoder, value) {
|
|
1112
|
-
return this.
|
|
1112
|
+
return this.n1h(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1113
1113
|
};
|
|
1114
1114
|
protoOf(JsonArraySerializer).dt = function (decoder) {
|
|
1115
1115
|
verify_0(decoder);
|
|
@@ -1148,7 +1148,7 @@
|
|
|
1148
1148
|
return tmp;
|
|
1149
1149
|
}
|
|
1150
1150
|
function _get_original__l7ku1m($this) {
|
|
1151
|
-
var tmp0 = $this.
|
|
1151
|
+
var tmp0 = $this.o1h_1;
|
|
1152
1152
|
var tmp = KProperty1;
|
|
1153
1153
|
// Inline function 'kotlin.getValue' call
|
|
1154
1154
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -1160,7 +1160,7 @@
|
|
|
1160
1160
|
};
|
|
1161
1161
|
}
|
|
1162
1162
|
function defer$1($deferred) {
|
|
1163
|
-
this.
|
|
1163
|
+
this.o1h_1 = lazy($deferred);
|
|
1164
1164
|
}
|
|
1165
1165
|
protoOf(defer$1).ut = function () {
|
|
1166
1166
|
return _get_original__l7ku1m(this).ut();
|
|
@@ -1189,155 +1189,155 @@
|
|
|
1189
1189
|
function JsonEncoder() {
|
|
1190
1190
|
}
|
|
1191
1191
|
function Composer(writer) {
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1192
|
+
this.p1h_1 = writer;
|
|
1193
|
+
this.q1h_1 = true;
|
|
1194
1194
|
}
|
|
1195
|
-
protoOf(Composer).
|
|
1196
|
-
this.
|
|
1195
|
+
protoOf(Composer).r1h = function () {
|
|
1196
|
+
this.q1h_1 = true;
|
|
1197
1197
|
};
|
|
1198
|
-
protoOf(Composer).
|
|
1198
|
+
protoOf(Composer).s1h = function () {
|
|
1199
1199
|
return Unit_instance;
|
|
1200
1200
|
};
|
|
1201
|
-
protoOf(Composer).
|
|
1202
|
-
this.
|
|
1201
|
+
protoOf(Composer).t1h = function () {
|
|
1202
|
+
this.q1h_1 = false;
|
|
1203
1203
|
};
|
|
1204
|
-
protoOf(Composer).
|
|
1205
|
-
this.
|
|
1204
|
+
protoOf(Composer).u1h = function () {
|
|
1205
|
+
this.q1h_1 = false;
|
|
1206
1206
|
};
|
|
1207
|
-
protoOf(Composer).
|
|
1207
|
+
protoOf(Composer).v1h = function () {
|
|
1208
1208
|
return Unit_instance;
|
|
1209
1209
|
};
|
|
1210
|
-
protoOf(Composer).
|
|
1211
|
-
return this.
|
|
1210
|
+
protoOf(Composer).w1h = function (v) {
|
|
1211
|
+
return this.p1h_1.x1h(v);
|
|
1212
1212
|
};
|
|
1213
|
-
protoOf(Composer).
|
|
1214
|
-
return this.
|
|
1213
|
+
protoOf(Composer).y1h = function (v) {
|
|
1214
|
+
return this.p1h_1.z1h(v);
|
|
1215
1215
|
};
|
|
1216
|
-
protoOf(Composer).
|
|
1217
|
-
return this.
|
|
1216
|
+
protoOf(Composer).a1i = function (v) {
|
|
1217
|
+
return this.p1h_1.z1h(v.toString());
|
|
1218
1218
|
};
|
|
1219
|
-
protoOf(Composer).
|
|
1220
|
-
return this.
|
|
1219
|
+
protoOf(Composer).b1i = function (v) {
|
|
1220
|
+
return this.p1h_1.z1h(v.toString());
|
|
1221
1221
|
};
|
|
1222
|
-
protoOf(Composer).
|
|
1223
|
-
return this.
|
|
1222
|
+
protoOf(Composer).c1i = function (v) {
|
|
1223
|
+
return this.p1h_1.d1i(fromInt(v));
|
|
1224
1224
|
};
|
|
1225
|
-
protoOf(Composer).
|
|
1226
|
-
return this.
|
|
1225
|
+
protoOf(Composer).e1i = function (v) {
|
|
1226
|
+
return this.p1h_1.d1i(fromInt(v));
|
|
1227
1227
|
};
|
|
1228
|
-
protoOf(Composer).
|
|
1229
|
-
return this.
|
|
1228
|
+
protoOf(Composer).f1i = function (v) {
|
|
1229
|
+
return this.p1h_1.d1i(fromInt(v));
|
|
1230
1230
|
};
|
|
1231
|
-
protoOf(Composer).
|
|
1232
|
-
return this.
|
|
1231
|
+
protoOf(Composer).g1i = function (v) {
|
|
1232
|
+
return this.p1h_1.d1i(v);
|
|
1233
1233
|
};
|
|
1234
|
-
protoOf(Composer).
|
|
1235
|
-
return this.
|
|
1234
|
+
protoOf(Composer).h1i = function (v) {
|
|
1235
|
+
return this.p1h_1.z1h(v.toString());
|
|
1236
1236
|
};
|
|
1237
|
-
protoOf(Composer).
|
|
1238
|
-
return this.
|
|
1237
|
+
protoOf(Composer).i1i = function (value) {
|
|
1238
|
+
return this.p1h_1.j1i(value);
|
|
1239
1239
|
};
|
|
1240
1240
|
function Composer_0(sb, json) {
|
|
1241
|
-
return json.
|
|
1241
|
+
return json.z1d_1.p1f_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1242
1242
|
}
|
|
1243
1243
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1244
1244
|
Composer.call(this, writer);
|
|
1245
|
-
this.
|
|
1245
|
+
this.m1i_1 = forceQuoting;
|
|
1246
1246
|
}
|
|
1247
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1248
|
-
if (this.
|
|
1247
|
+
protoOf(ComposerForUnsignedNumbers).f1i = function (v) {
|
|
1248
|
+
if (this.m1i_1) {
|
|
1249
1249
|
// Inline function 'kotlin.toUInt' call
|
|
1250
1250
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1251
|
-
this.
|
|
1251
|
+
this.i1i(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1252
1252
|
} else {
|
|
1253
1253
|
// Inline function 'kotlin.toUInt' call
|
|
1254
1254
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1255
|
-
this.
|
|
1255
|
+
this.y1h(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1256
1256
|
}
|
|
1257
1257
|
};
|
|
1258
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1259
|
-
if (this.
|
|
1258
|
+
protoOf(ComposerForUnsignedNumbers).g1i = function (v) {
|
|
1259
|
+
if (this.m1i_1) {
|
|
1260
1260
|
// Inline function 'kotlin.toULong' call
|
|
1261
1261
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1262
|
-
this.
|
|
1262
|
+
this.i1i(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1263
1263
|
} else {
|
|
1264
1264
|
// Inline function 'kotlin.toULong' call
|
|
1265
1265
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1266
|
-
this.
|
|
1266
|
+
this.y1h(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1267
1267
|
}
|
|
1268
1268
|
};
|
|
1269
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1270
|
-
if (this.
|
|
1269
|
+
protoOf(ComposerForUnsignedNumbers).c1i = function (v) {
|
|
1270
|
+
if (this.m1i_1) {
|
|
1271
1271
|
// Inline function 'kotlin.toUByte' call
|
|
1272
1272
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1273
|
-
this.
|
|
1273
|
+
this.i1i(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1274
1274
|
} else {
|
|
1275
1275
|
// Inline function 'kotlin.toUByte' call
|
|
1276
1276
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1277
|
-
this.
|
|
1277
|
+
this.y1h(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1278
1278
|
}
|
|
1279
1279
|
};
|
|
1280
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1281
|
-
if (this.
|
|
1280
|
+
protoOf(ComposerForUnsignedNumbers).e1i = function (v) {
|
|
1281
|
+
if (this.m1i_1) {
|
|
1282
1282
|
// Inline function 'kotlin.toUShort' call
|
|
1283
1283
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1284
|
-
this.
|
|
1284
|
+
this.i1i(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1285
1285
|
} else {
|
|
1286
1286
|
// Inline function 'kotlin.toUShort' call
|
|
1287
1287
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1288
|
-
this.
|
|
1288
|
+
this.y1h(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1289
1289
|
}
|
|
1290
1290
|
};
|
|
1291
1291
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1292
1292
|
Composer.call(this, writer);
|
|
1293
|
-
this.
|
|
1293
|
+
this.p1i_1 = forceQuoting;
|
|
1294
1294
|
}
|
|
1295
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1296
|
-
if (this.
|
|
1297
|
-
protoOf(Composer).
|
|
1295
|
+
protoOf(ComposerForUnquotedLiterals).i1i = function (value) {
|
|
1296
|
+
if (this.p1i_1) {
|
|
1297
|
+
protoOf(Composer).i1i.call(this, value);
|
|
1298
1298
|
} else {
|
|
1299
|
-
protoOf(Composer).
|
|
1299
|
+
protoOf(Composer).y1h.call(this, value);
|
|
1300
1300
|
}
|
|
1301
1301
|
};
|
|
1302
1302
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1303
1303
|
Composer.call(this, writer);
|
|
1304
|
-
this.
|
|
1305
|
-
this.
|
|
1304
|
+
this.s1i_1 = json;
|
|
1305
|
+
this.t1i_1 = 0;
|
|
1306
1306
|
}
|
|
1307
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1308
|
-
this.
|
|
1309
|
-
this.
|
|
1307
|
+
protoOf(ComposerWithPrettyPrint).r1h = function () {
|
|
1308
|
+
this.q1h_1 = true;
|
|
1309
|
+
this.t1i_1 = this.t1i_1 + 1 | 0;
|
|
1310
1310
|
};
|
|
1311
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1312
|
-
this.
|
|
1311
|
+
protoOf(ComposerWithPrettyPrint).s1h = function () {
|
|
1312
|
+
this.t1i_1 = this.t1i_1 - 1 | 0;
|
|
1313
1313
|
};
|
|
1314
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1315
|
-
this.
|
|
1316
|
-
this.
|
|
1314
|
+
protoOf(ComposerWithPrettyPrint).t1h = function () {
|
|
1315
|
+
this.q1h_1 = false;
|
|
1316
|
+
this.y1h('\n');
|
|
1317
1317
|
// Inline function 'kotlin.repeat' call
|
|
1318
|
-
var times = this.
|
|
1318
|
+
var times = this.t1i_1;
|
|
1319
1319
|
var inductionVariable = 0;
|
|
1320
1320
|
if (inductionVariable < times)
|
|
1321
1321
|
do {
|
|
1322
1322
|
var index = inductionVariable;
|
|
1323
1323
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1324
|
-
this.
|
|
1324
|
+
this.y1h(this.s1i_1.z1d_1.r1f_1);
|
|
1325
1325
|
}
|
|
1326
1326
|
while (inductionVariable < times);
|
|
1327
1327
|
};
|
|
1328
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1329
|
-
if (this.
|
|
1330
|
-
this.
|
|
1328
|
+
protoOf(ComposerWithPrettyPrint).u1h = function () {
|
|
1329
|
+
if (this.q1h_1)
|
|
1330
|
+
this.q1h_1 = false;
|
|
1331
1331
|
else {
|
|
1332
|
-
this.
|
|
1332
|
+
this.t1h();
|
|
1333
1333
|
}
|
|
1334
1334
|
};
|
|
1335
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1336
|
-
this.
|
|
1335
|
+
protoOf(ComposerWithPrettyPrint).v1h = function () {
|
|
1336
|
+
this.w1h(_Char___init__impl__6a9atx(32));
|
|
1337
1337
|
};
|
|
1338
1338
|
function readIfAbsent($this, descriptor, index) {
|
|
1339
|
-
$this.
|
|
1340
|
-
return $this.
|
|
1339
|
+
$this.v1i_1 = (!descriptor.uu(index) && descriptor.tu(index).gu());
|
|
1340
|
+
return $this.v1i_1;
|
|
1341
1341
|
}
|
|
1342
1342
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
1343
1343
|
var l = function (_this__u8e3s4, p0_0) {
|
|
@@ -1349,14 +1349,14 @@
|
|
|
1349
1349
|
}
|
|
1350
1350
|
function JsonElementMarker(descriptor) {
|
|
1351
1351
|
var tmp = this;
|
|
1352
|
-
tmp.
|
|
1353
|
-
this.
|
|
1352
|
+
tmp.u1i_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1353
|
+
this.v1i_1 = false;
|
|
1354
1354
|
}
|
|
1355
|
-
protoOf(JsonElementMarker).
|
|
1356
|
-
this.
|
|
1355
|
+
protoOf(JsonElementMarker).w1i = function (index) {
|
|
1356
|
+
this.u1i_1.l12(index);
|
|
1357
1357
|
};
|
|
1358
|
-
protoOf(JsonElementMarker).
|
|
1359
|
-
return this.
|
|
1358
|
+
protoOf(JsonElementMarker).x1i = function () {
|
|
1359
|
+
return this.u1i_1.m12();
|
|
1360
1360
|
};
|
|
1361
1361
|
function JsonDecodingException(message) {
|
|
1362
1362
|
JsonException.call(this, message);
|
|
@@ -1395,10 +1395,10 @@
|
|
|
1395
1395
|
}
|
|
1396
1396
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1397
1397
|
entity = entity === VOID ? 'object' : entity;
|
|
1398
|
-
_this__u8e3s4.
|
|
1398
|
+
_this__u8e3s4.y1i('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.n1e_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1399
1399
|
}
|
|
1400
1400
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1401
|
-
_this__u8e3s4.
|
|
1401
|
+
_this__u8e3s4.z1i('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1402
1402
|
}
|
|
1403
1403
|
function JsonEncodingException(message) {
|
|
1404
1404
|
JsonException.call(this, message);
|
|
@@ -1429,7 +1429,7 @@
|
|
|
1429
1429
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
1430
1430
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1431
1431
|
var tmp;
|
|
1432
|
-
if (json.
|
|
1432
|
+
if (json.z1d_1.m1f_1) {
|
|
1433
1433
|
tmp = true;
|
|
1434
1434
|
} else {
|
|
1435
1435
|
var tmp0 = _this__u8e3s4.qs();
|
|
@@ -1474,7 +1474,7 @@
|
|
|
1474
1474
|
var index = _this__u8e3s4.ru(name);
|
|
1475
1475
|
if (!(index === -3))
|
|
1476
1476
|
return index;
|
|
1477
|
-
if (!json.
|
|
1477
|
+
if (!json.z1d_1.w1f_1)
|
|
1478
1478
|
return index;
|
|
1479
1479
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1480
1480
|
}
|
|
@@ -1493,17 +1493,17 @@
|
|
|
1493
1493
|
}
|
|
1494
1494
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1495
1495
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1496
|
-
return equals(_this__u8e3s4.nu(), CLASS_getInstance()) ? json.
|
|
1496
|
+
return equals(_this__u8e3s4.nu(), CLASS_getInstance()) ? json.z1d_1.x1f_1 : null;
|
|
1497
1497
|
}
|
|
1498
1498
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1499
1499
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1500
1500
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1501
1501
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1502
|
-
return tmp.
|
|
1502
|
+
return tmp.b1j(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1503
1503
|
}
|
|
1504
1504
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1505
1505
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1506
|
-
return _this__u8e3s4.
|
|
1506
|
+
return _this__u8e3s4.z1d_1.y1f_1 && equals(descriptor.nu(), ENUM_getInstance());
|
|
1507
1507
|
}
|
|
1508
1508
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1509
1509
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1514,7 +1514,7 @@
|
|
|
1514
1514
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1515
1515
|
var tmp = get_schemaCache(json);
|
|
1516
1516
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1517
|
-
return tmp.
|
|
1517
|
+
return tmp.b1j(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1518
1518
|
}
|
|
1519
1519
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1520
1520
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1540,7 +1540,7 @@
|
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
1542
1542
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1543
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1543
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c1j_1;
|
|
1544
1544
|
if (tmp1_safe_receiver == null)
|
|
1545
1545
|
null;
|
|
1546
1546
|
else {
|
|
@@ -1567,7 +1567,7 @@
|
|
|
1567
1567
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1568
1568
|
tmp_0 = _this__u8e3s4.qu(i).toLowerCase();
|
|
1569
1569
|
} else if (!(strategyForClasses == null)) {
|
|
1570
|
-
tmp_0 = strategyForClasses.
|
|
1570
|
+
tmp_0 = strategyForClasses.d1j(_this__u8e3s4, i, _this__u8e3s4.qu(i));
|
|
1571
1571
|
} else {
|
|
1572
1572
|
tmp_0 = null;
|
|
1573
1573
|
}
|
|
@@ -1603,7 +1603,7 @@
|
|
|
1603
1603
|
while (tmp < tmp_0) {
|
|
1604
1604
|
var tmp_2 = tmp;
|
|
1605
1605
|
var baseName = $this_serializationNamesIndices.qu(tmp_2);
|
|
1606
|
-
tmp_1[tmp_2] = $strategy.
|
|
1606
|
+
tmp_1[tmp_2] = $strategy.d1j($this_serializationNamesIndices, tmp_2, baseName);
|
|
1607
1607
|
tmp = tmp + 1 | 0;
|
|
1608
1608
|
}
|
|
1609
1609
|
return tmp_1;
|
|
@@ -1634,8 +1634,8 @@
|
|
|
1634
1634
|
return Tombstone_instance;
|
|
1635
1635
|
}
|
|
1636
1636
|
function resize($this) {
|
|
1637
|
-
var newSize = imul($this.
|
|
1638
|
-
$this.
|
|
1637
|
+
var newSize = imul($this.g1j_1, 2);
|
|
1638
|
+
$this.e1j_1 = copyOf($this.e1j_1, newSize);
|
|
1639
1639
|
var tmp = 0;
|
|
1640
1640
|
var tmp_0 = new Int32Array(newSize);
|
|
1641
1641
|
while (tmp < newSize) {
|
|
@@ -1644,7 +1644,7 @@
|
|
|
1644
1644
|
}
|
|
1645
1645
|
var newIndices = tmp_0;
|
|
1646
1646
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1647
|
-
var this_0 = $this.
|
|
1647
|
+
var this_0 = $this.f1j_1;
|
|
1648
1648
|
var endIndex = this_0.length;
|
|
1649
1649
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1650
1650
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1652,12 +1652,12 @@
|
|
|
1652
1652
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1653
1653
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1654
1654
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
1655
|
-
$this.
|
|
1655
|
+
$this.f1j_1 = newIndices;
|
|
1656
1656
|
}
|
|
1657
1657
|
function JsonPath() {
|
|
1658
1658
|
var tmp = this;
|
|
1659
1659
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1660
|
-
tmp.
|
|
1660
|
+
tmp.e1j_1 = Array(8);
|
|
1661
1661
|
var tmp_0 = this;
|
|
1662
1662
|
var tmp_1 = 0;
|
|
1663
1663
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1665,71 +1665,71 @@
|
|
|
1665
1665
|
tmp_2[tmp_1] = -1;
|
|
1666
1666
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1667
1667
|
}
|
|
1668
|
-
tmp_0.
|
|
1669
|
-
this.
|
|
1668
|
+
tmp_0.f1j_1 = tmp_2;
|
|
1669
|
+
this.g1j_1 = -1;
|
|
1670
1670
|
}
|
|
1671
|
-
protoOf(JsonPath).
|
|
1672
|
-
this.
|
|
1673
|
-
var depth = this.
|
|
1674
|
-
if (depth === this.
|
|
1671
|
+
protoOf(JsonPath).h1j = function (sd) {
|
|
1672
|
+
this.g1j_1 = this.g1j_1 + 1 | 0;
|
|
1673
|
+
var depth = this.g1j_1;
|
|
1674
|
+
if (depth === this.e1j_1.length) {
|
|
1675
1675
|
resize(this);
|
|
1676
1676
|
}
|
|
1677
|
-
this.
|
|
1677
|
+
this.e1j_1[depth] = sd;
|
|
1678
1678
|
};
|
|
1679
|
-
protoOf(JsonPath).
|
|
1680
|
-
this.
|
|
1679
|
+
protoOf(JsonPath).i1j = function (index) {
|
|
1680
|
+
this.f1j_1[this.g1j_1] = index;
|
|
1681
1681
|
};
|
|
1682
|
-
protoOf(JsonPath).
|
|
1682
|
+
protoOf(JsonPath).j1j = function (key) {
|
|
1683
1683
|
var tmp;
|
|
1684
|
-
if (!(this.
|
|
1685
|
-
this.
|
|
1686
|
-
tmp = this.
|
|
1684
|
+
if (!(this.f1j_1[this.g1j_1] === -2)) {
|
|
1685
|
+
this.g1j_1 = this.g1j_1 + 1 | 0;
|
|
1686
|
+
tmp = this.g1j_1 === this.e1j_1.length;
|
|
1687
1687
|
} else {
|
|
1688
1688
|
tmp = false;
|
|
1689
1689
|
}
|
|
1690
1690
|
if (tmp) {
|
|
1691
1691
|
resize(this);
|
|
1692
1692
|
}
|
|
1693
|
-
this.
|
|
1694
|
-
this.
|
|
1693
|
+
this.e1j_1[this.g1j_1] = key;
|
|
1694
|
+
this.f1j_1[this.g1j_1] = -2;
|
|
1695
1695
|
};
|
|
1696
|
-
protoOf(JsonPath).
|
|
1697
|
-
if (this.
|
|
1698
|
-
this.
|
|
1696
|
+
protoOf(JsonPath).k1j = function () {
|
|
1697
|
+
if (this.f1j_1[this.g1j_1] === -2) {
|
|
1698
|
+
this.e1j_1[this.g1j_1] = Tombstone_instance;
|
|
1699
1699
|
}
|
|
1700
1700
|
};
|
|
1701
|
-
protoOf(JsonPath).
|
|
1702
|
-
var depth = this.
|
|
1703
|
-
if (this.
|
|
1704
|
-
this.
|
|
1705
|
-
this.
|
|
1701
|
+
protoOf(JsonPath).l1j = function () {
|
|
1702
|
+
var depth = this.g1j_1;
|
|
1703
|
+
if (this.f1j_1[depth] === -2) {
|
|
1704
|
+
this.f1j_1[depth] = -1;
|
|
1705
|
+
this.g1j_1 = this.g1j_1 - 1 | 0;
|
|
1706
1706
|
}
|
|
1707
|
-
if (!(this.
|
|
1708
|
-
this.
|
|
1707
|
+
if (!(this.g1j_1 === -1)) {
|
|
1708
|
+
this.g1j_1 = this.g1j_1 - 1 | 0;
|
|
1709
1709
|
}
|
|
1710
1710
|
};
|
|
1711
|
-
protoOf(JsonPath).
|
|
1711
|
+
protoOf(JsonPath).m1j = function () {
|
|
1712
1712
|
// Inline function 'kotlin.text.buildString' call
|
|
1713
1713
|
// Inline function 'kotlin.apply' call
|
|
1714
1714
|
var this_0 = StringBuilder_init_$Create$();
|
|
1715
1715
|
this_0.q('$');
|
|
1716
1716
|
// Inline function 'kotlin.repeat' call
|
|
1717
|
-
var times = this.
|
|
1717
|
+
var times = this.g1j_1 + 1 | 0;
|
|
1718
1718
|
var inductionVariable = 0;
|
|
1719
1719
|
if (inductionVariable < times)
|
|
1720
1720
|
do {
|
|
1721
1721
|
var index = inductionVariable;
|
|
1722
1722
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1723
|
-
var element = this.
|
|
1723
|
+
var element = this.e1j_1[index];
|
|
1724
1724
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1725
1725
|
if (equals(element.nu(), LIST_getInstance())) {
|
|
1726
|
-
if (!(this.
|
|
1726
|
+
if (!(this.f1j_1[index] === -1)) {
|
|
1727
1727
|
this_0.q('[');
|
|
1728
|
-
this_0.yc(this.
|
|
1728
|
+
this_0.yc(this.f1j_1[index]);
|
|
1729
1729
|
this_0.q(']');
|
|
1730
1730
|
}
|
|
1731
1731
|
} else {
|
|
1732
|
-
var idx = this.
|
|
1732
|
+
var idx = this.f1j_1[index];
|
|
1733
1733
|
if (idx >= 0) {
|
|
1734
1734
|
this_0.q('.');
|
|
1735
1735
|
this_0.q(element.qu(idx));
|
|
@@ -1749,7 +1749,7 @@
|
|
|
1749
1749
|
return this_0.toString();
|
|
1750
1750
|
};
|
|
1751
1751
|
protoOf(JsonPath).toString = function () {
|
|
1752
|
-
return this.
|
|
1752
|
+
return this.m1j();
|
|
1753
1753
|
};
|
|
1754
1754
|
function checkKind($this, descriptor, actualClass) {
|
|
1755
1755
|
var kind = descriptor.nu();
|
|
@@ -1762,9 +1762,9 @@
|
|
|
1762
1762
|
if (tmp) {
|
|
1763
1763
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.o() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind.toString() + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
1764
1764
|
}
|
|
1765
|
-
if ($this.
|
|
1765
|
+
if ($this.o1j_1)
|
|
1766
1766
|
return Unit_instance;
|
|
1767
|
-
if (!$this.
|
|
1767
|
+
if (!$this.p1j_1)
|
|
1768
1768
|
return Unit_instance;
|
|
1769
1769
|
var tmp_0;
|
|
1770
1770
|
var tmp_1;
|
|
@@ -1790,29 +1790,29 @@
|
|
|
1790
1790
|
var i = inductionVariable;
|
|
1791
1791
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1792
1792
|
var name = descriptor.qu(i);
|
|
1793
|
-
if (name === $this.
|
|
1793
|
+
if (name === $this.n1j_1) {
|
|
1794
1794
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism');
|
|
1795
1795
|
}
|
|
1796
1796
|
}
|
|
1797
1797
|
while (inductionVariable < last);
|
|
1798
1798
|
}
|
|
1799
1799
|
function JsonSerializersModuleValidator(configuration) {
|
|
1800
|
-
this.
|
|
1801
|
-
this.
|
|
1802
|
-
this.
|
|
1800
|
+
this.n1j_1 = configuration.u1f_1;
|
|
1801
|
+
this.o1j_1 = configuration.t1f_1;
|
|
1802
|
+
this.p1j_1 = !configuration.b1g_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
1803
1803
|
}
|
|
1804
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1804
|
+
protoOf(JsonSerializersModuleValidator).n1d = function (kClass, provider) {
|
|
1805
1805
|
};
|
|
1806
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1806
|
+
protoOf(JsonSerializersModuleValidator).q1d = function (baseClass, actualClass, actualSerializer) {
|
|
1807
1807
|
var descriptor = actualSerializer.ps();
|
|
1808
1808
|
checkKind(this, descriptor, actualClass);
|
|
1809
|
-
if (!this.
|
|
1809
|
+
if (!this.o1j_1 && this.p1j_1) {
|
|
1810
1810
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1811
1811
|
}
|
|
1812
1812
|
};
|
|
1813
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1813
|
+
protoOf(JsonSerializersModuleValidator).r1d = function (baseClass, defaultSerializerProvider) {
|
|
1814
1814
|
};
|
|
1815
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1815
|
+
protoOf(JsonSerializersModuleValidator).s1d = function (baseClass, defaultDeserializerProvider) {
|
|
1816
1816
|
};
|
|
1817
1817
|
function encodeByWriter(json, writer, serializer, value) {
|
|
1818
1818
|
var tmp = WriteMode_OBJ_getInstance();
|
|
@@ -1824,34 +1824,34 @@
|
|
|
1824
1824
|
}
|
|
1825
1825
|
function readObject($this) {
|
|
1826
1826
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1827
|
-
var lastToken = $this.
|
|
1828
|
-
if ($this.
|
|
1829
|
-
$this.
|
|
1827
|
+
var lastToken = $this.z1j_1.d1k(6);
|
|
1828
|
+
if ($this.z1j_1.e1k() === 4) {
|
|
1829
|
+
$this.z1j_1.z1i('Unexpected leading comma');
|
|
1830
1830
|
}
|
|
1831
1831
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1832
1832
|
var result = LinkedHashMap_init_$Create$();
|
|
1833
|
-
$l$loop: while ($this.
|
|
1834
|
-
var key = $this.
|
|
1835
|
-
$this.
|
|
1836
|
-
var element = $this.
|
|
1833
|
+
$l$loop: while ($this.z1j_1.f1k()) {
|
|
1834
|
+
var key = $this.a1k_1 ? $this.z1j_1.h1k() : $this.z1j_1.g1k();
|
|
1835
|
+
$this.z1j_1.d1k(5);
|
|
1836
|
+
var element = $this.i1k();
|
|
1837
1837
|
// Inline function 'kotlin.collections.set' call
|
|
1838
1838
|
result.c3(key, element);
|
|
1839
|
-
lastToken = $this.
|
|
1839
|
+
lastToken = $this.z1j_1.j1k();
|
|
1840
1840
|
var tmp0_subject = lastToken;
|
|
1841
1841
|
if (tmp0_subject !== 4)
|
|
1842
1842
|
if (tmp0_subject === 7)
|
|
1843
1843
|
break $l$loop;
|
|
1844
1844
|
else {
|
|
1845
|
-
$this.
|
|
1845
|
+
$this.z1j_1.z1i('Expected end of the object or comma');
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
1848
|
if (lastToken === 6) {
|
|
1849
|
-
$this.
|
|
1849
|
+
$this.z1j_1.d1k(7);
|
|
1850
1850
|
} else if (lastToken === 4) {
|
|
1851
|
-
if (!$this.
|
|
1852
|
-
invalidTrailingComma($this.
|
|
1851
|
+
if (!$this.b1k_1) {
|
|
1852
|
+
invalidTrailingComma($this.z1j_1);
|
|
1853
1853
|
}
|
|
1854
|
-
$this.
|
|
1854
|
+
$this.z1j_1.d1k(7);
|
|
1855
1855
|
}
|
|
1856
1856
|
return new JsonObject(result);
|
|
1857
1857
|
}
|
|
@@ -1862,43 +1862,43 @@
|
|
|
1862
1862
|
return tmp.q9();
|
|
1863
1863
|
}
|
|
1864
1864
|
function readArray($this) {
|
|
1865
|
-
var lastToken = $this.
|
|
1866
|
-
if ($this.
|
|
1867
|
-
$this.
|
|
1865
|
+
var lastToken = $this.z1j_1.j1k();
|
|
1866
|
+
if ($this.z1j_1.e1k() === 4) {
|
|
1867
|
+
$this.z1j_1.z1i('Unexpected leading comma');
|
|
1868
1868
|
}
|
|
1869
1869
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1870
1870
|
var result = ArrayList_init_$Create$();
|
|
1871
|
-
while ($this.
|
|
1872
|
-
var element = $this.
|
|
1871
|
+
while ($this.z1j_1.f1k()) {
|
|
1872
|
+
var element = $this.i1k();
|
|
1873
1873
|
result.e1(element);
|
|
1874
|
-
lastToken = $this.
|
|
1874
|
+
lastToken = $this.z1j_1.j1k();
|
|
1875
1875
|
if (!(lastToken === 4)) {
|
|
1876
|
-
var tmp0 = $this.
|
|
1876
|
+
var tmp0 = $this.z1j_1;
|
|
1877
1877
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1878
1878
|
var condition = lastToken === 9;
|
|
1879
|
-
var position = tmp0.
|
|
1879
|
+
var position = tmp0.n1e_1;
|
|
1880
1880
|
if (!condition) {
|
|
1881
1881
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1882
|
-
tmp0.
|
|
1882
|
+
tmp0.z1i(tmp$ret$1, position);
|
|
1883
1883
|
}
|
|
1884
1884
|
}
|
|
1885
1885
|
}
|
|
1886
1886
|
if (lastToken === 8) {
|
|
1887
|
-
$this.
|
|
1887
|
+
$this.z1j_1.d1k(9);
|
|
1888
1888
|
} else if (lastToken === 4) {
|
|
1889
|
-
if (!$this.
|
|
1890
|
-
invalidTrailingComma($this.
|
|
1889
|
+
if (!$this.b1k_1) {
|
|
1890
|
+
invalidTrailingComma($this.z1j_1, 'array');
|
|
1891
1891
|
}
|
|
1892
|
-
$this.
|
|
1892
|
+
$this.z1j_1.d1k(9);
|
|
1893
1893
|
}
|
|
1894
1894
|
return new JsonArray(result);
|
|
1895
1895
|
}
|
|
1896
1896
|
function readValue($this, isString) {
|
|
1897
1897
|
var tmp;
|
|
1898
|
-
if ($this.
|
|
1899
|
-
tmp = $this.
|
|
1898
|
+
if ($this.a1k_1 || !isString) {
|
|
1899
|
+
tmp = $this.z1j_1.h1k();
|
|
1900
1900
|
} else {
|
|
1901
|
-
tmp = $this.
|
|
1901
|
+
tmp = $this.z1j_1.g1k();
|
|
1902
1902
|
}
|
|
1903
1903
|
var string = tmp;
|
|
1904
1904
|
if (!isString && string === 'null')
|
|
@@ -1909,18 +1909,18 @@
|
|
|
1909
1909
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1910
1910
|
}
|
|
1911
1911
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1912
|
-
this.
|
|
1912
|
+
this.g1l_1 = this$0;
|
|
1913
1913
|
CoroutineImpl.call(this, resultContinuation);
|
|
1914
1914
|
}
|
|
1915
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1916
|
-
var tmp = this.
|
|
1915
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).k1l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1916
|
+
var tmp = this.l1l($this$DeepRecursiveFunction, it, $completion);
|
|
1917
1917
|
tmp.k9_1 = Unit_instance;
|
|
1918
1918
|
tmp.l9_1 = null;
|
|
1919
1919
|
return tmp.q9();
|
|
1920
1920
|
};
|
|
1921
1921
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).da = function (p1, p2, $completion) {
|
|
1922
1922
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1923
|
-
return this.
|
|
1923
|
+
return this.k1l(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1924
1924
|
};
|
|
1925
1925
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).q9 = function () {
|
|
1926
1926
|
var suspendResult = this.k9_1;
|
|
@@ -1930,32 +1930,32 @@
|
|
|
1930
1930
|
switch (tmp) {
|
|
1931
1931
|
case 0:
|
|
1932
1932
|
this.j9_1 = 3;
|
|
1933
|
-
var tmp0_subject = this.
|
|
1933
|
+
var tmp0_subject = this.g1l_1.z1j_1.e1k();
|
|
1934
1934
|
if (tmp0_subject === 1) {
|
|
1935
|
-
this.
|
|
1935
|
+
this.j1l_1 = readValue(this.g1l_1, true);
|
|
1936
1936
|
this.i9_1 = 2;
|
|
1937
1937
|
continue $sm;
|
|
1938
1938
|
} else {
|
|
1939
1939
|
if (tmp0_subject === 0) {
|
|
1940
|
-
this.
|
|
1940
|
+
this.j1l_1 = readValue(this.g1l_1, false);
|
|
1941
1941
|
this.i9_1 = 2;
|
|
1942
1942
|
continue $sm;
|
|
1943
1943
|
} else {
|
|
1944
1944
|
if (tmp0_subject === 6) {
|
|
1945
1945
|
this.i9_1 = 1;
|
|
1946
|
-
suspendResult = readObject_0(this.
|
|
1946
|
+
suspendResult = readObject_0(this.g1l_1, this.h1l_1, this);
|
|
1947
1947
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1948
1948
|
return suspendResult;
|
|
1949
1949
|
}
|
|
1950
1950
|
continue $sm;
|
|
1951
1951
|
} else {
|
|
1952
1952
|
if (tmp0_subject === 8) {
|
|
1953
|
-
this.
|
|
1953
|
+
this.j1l_1 = readArray(this.g1l_1);
|
|
1954
1954
|
this.i9_1 = 2;
|
|
1955
1955
|
continue $sm;
|
|
1956
1956
|
} else {
|
|
1957
1957
|
var tmp_0 = this;
|
|
1958
|
-
this.
|
|
1958
|
+
this.g1l_1.z1j_1.z1i("Can't begin reading element, unexpected token");
|
|
1959
1959
|
}
|
|
1960
1960
|
}
|
|
1961
1961
|
}
|
|
@@ -1963,11 +1963,11 @@
|
|
|
1963
1963
|
|
|
1964
1964
|
break;
|
|
1965
1965
|
case 1:
|
|
1966
|
-
this.
|
|
1966
|
+
this.j1l_1 = suspendResult;
|
|
1967
1967
|
this.i9_1 = 2;
|
|
1968
1968
|
continue $sm;
|
|
1969
1969
|
case 2:
|
|
1970
|
-
return this.
|
|
1970
|
+
return this.j1l_1;
|
|
1971
1971
|
case 3:
|
|
1972
1972
|
throw this.l9_1;
|
|
1973
1973
|
}
|
|
@@ -1982,24 +1982,24 @@
|
|
|
1982
1982
|
}
|
|
1983
1983
|
while (true);
|
|
1984
1984
|
};
|
|
1985
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1986
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1987
|
-
i.
|
|
1988
|
-
i.
|
|
1985
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).l1l = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1986
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.g1l_1, completion);
|
|
1987
|
+
i.h1l_1 = $this$DeepRecursiveFunction;
|
|
1988
|
+
i.i1l_1 = it;
|
|
1989
1989
|
return i;
|
|
1990
1990
|
};
|
|
1991
1991
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1992
1992
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1993
1993
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1994
|
-
return i.
|
|
1994
|
+
return i.k1l($this$DeepRecursiveFunction, it, $completion);
|
|
1995
1995
|
};
|
|
1996
1996
|
l.$arity = 2;
|
|
1997
1997
|
return l;
|
|
1998
1998
|
}
|
|
1999
1999
|
function $readObjectCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
2000
2000
|
CoroutineImpl.call(this, resultContinuation);
|
|
2001
|
-
this.
|
|
2002
|
-
this.
|
|
2001
|
+
this.s1k_1 = _this__u8e3s4;
|
|
2002
|
+
this.t1k_1 = _this__u8e3s4_0;
|
|
2003
2003
|
}
|
|
2004
2004
|
protoOf($readObjectCOROUTINE$).q9 = function () {
|
|
2005
2005
|
var suspendResult = this.k9_1;
|
|
@@ -2009,26 +2009,26 @@
|
|
|
2009
2009
|
switch (tmp) {
|
|
2010
2010
|
case 0:
|
|
2011
2011
|
this.j9_1 = 5;
|
|
2012
|
-
this.
|
|
2013
|
-
this.
|
|
2014
|
-
if (this.
|
|
2015
|
-
this.
|
|
2012
|
+
this.v1k_1 = this.s1k_1;
|
|
2013
|
+
this.w1k_1 = this.v1k_1.z1j_1.d1k(6);
|
|
2014
|
+
if (this.v1k_1.z1j_1.e1k() === 4) {
|
|
2015
|
+
this.v1k_1.z1j_1.z1i('Unexpected leading comma');
|
|
2016
2016
|
}
|
|
2017
2017
|
|
|
2018
2018
|
var tmp_0 = this;
|
|
2019
|
-
tmp_0.
|
|
2019
|
+
tmp_0.u1k_1 = LinkedHashMap_init_$Create$();
|
|
2020
2020
|
this.i9_1 = 1;
|
|
2021
2021
|
continue $sm;
|
|
2022
2022
|
case 1:
|
|
2023
|
-
if (!this.
|
|
2023
|
+
if (!this.v1k_1.z1j_1.f1k()) {
|
|
2024
2024
|
this.i9_1 = 4;
|
|
2025
2025
|
continue $sm;
|
|
2026
2026
|
}
|
|
2027
2027
|
|
|
2028
|
-
this.
|
|
2029
|
-
this.
|
|
2028
|
+
this.x1k_1 = this.v1k_1.a1k_1 ? this.v1k_1.z1j_1.h1k() : this.v1k_1.z1j_1.g1k();
|
|
2029
|
+
this.v1k_1.z1j_1.d1k(5);
|
|
2030
2030
|
this.i9_1 = 2;
|
|
2031
|
-
suspendResult = this.
|
|
2031
|
+
suspendResult = this.t1k_1.tp(Unit_instance, this);
|
|
2032
2032
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2033
2033
|
return suspendResult;
|
|
2034
2034
|
}
|
|
@@ -2036,11 +2036,11 @@
|
|
|
2036
2036
|
continue $sm;
|
|
2037
2037
|
case 2:
|
|
2038
2038
|
var element = suspendResult;
|
|
2039
|
-
var tmp0 = this.
|
|
2040
|
-
var key = this.
|
|
2039
|
+
var tmp0 = this.u1k_1;
|
|
2040
|
+
var key = this.x1k_1;
|
|
2041
2041
|
tmp0.c3(key, element);
|
|
2042
|
-
this.
|
|
2043
|
-
var tmp0_subject = this.
|
|
2042
|
+
this.w1k_1 = this.v1k_1.z1j_1.j1k();
|
|
2043
|
+
var tmp0_subject = this.w1k_1;
|
|
2044
2044
|
if (tmp0_subject === 4) {
|
|
2045
2045
|
this.i9_1 = 3;
|
|
2046
2046
|
continue $sm;
|
|
@@ -2049,7 +2049,7 @@
|
|
|
2049
2049
|
this.i9_1 = 4;
|
|
2050
2050
|
continue $sm;
|
|
2051
2051
|
} else {
|
|
2052
|
-
this.
|
|
2052
|
+
this.v1k_1.z1j_1.z1i('Expected end of the object or comma');
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
2055
|
|
|
@@ -2058,16 +2058,16 @@
|
|
|
2058
2058
|
this.i9_1 = 1;
|
|
2059
2059
|
continue $sm;
|
|
2060
2060
|
case 4:
|
|
2061
|
-
if (this.
|
|
2062
|
-
this.
|
|
2063
|
-
} else if (this.
|
|
2064
|
-
if (!this.
|
|
2065
|
-
invalidTrailingComma(this.
|
|
2061
|
+
if (this.w1k_1 === 6) {
|
|
2062
|
+
this.v1k_1.z1j_1.d1k(7);
|
|
2063
|
+
} else if (this.w1k_1 === 4) {
|
|
2064
|
+
if (!this.v1k_1.b1k_1) {
|
|
2065
|
+
invalidTrailingComma(this.v1k_1.z1j_1);
|
|
2066
2066
|
}
|
|
2067
|
-
this.
|
|
2067
|
+
this.v1k_1.z1j_1.d1k(7);
|
|
2068
2068
|
}
|
|
2069
2069
|
|
|
2070
|
-
return new JsonObject(this.
|
|
2070
|
+
return new JsonObject(this.u1k_1);
|
|
2071
2071
|
case 5:
|
|
2072
2072
|
throw this.l9_1;
|
|
2073
2073
|
}
|
|
@@ -2083,13 +2083,13 @@
|
|
|
2083
2083
|
while (true);
|
|
2084
2084
|
};
|
|
2085
2085
|
function JsonTreeReader(configuration, lexer) {
|
|
2086
|
-
this.
|
|
2087
|
-
this.
|
|
2088
|
-
this.
|
|
2089
|
-
this.
|
|
2086
|
+
this.z1j_1 = lexer;
|
|
2087
|
+
this.a1k_1 = configuration.n1f_1;
|
|
2088
|
+
this.b1k_1 = configuration.z1f_1;
|
|
2089
|
+
this.c1k_1 = 0;
|
|
2090
2090
|
}
|
|
2091
|
-
protoOf(JsonTreeReader).
|
|
2092
|
-
var token = this.
|
|
2091
|
+
protoOf(JsonTreeReader).i1k = function () {
|
|
2092
|
+
var token = this.z1j_1.e1k();
|
|
2093
2093
|
var tmp;
|
|
2094
2094
|
if (token === 1) {
|
|
2095
2095
|
tmp = readValue(this, true);
|
|
@@ -2097,19 +2097,19 @@
|
|
|
2097
2097
|
tmp = readValue(this, false);
|
|
2098
2098
|
} else if (token === 6) {
|
|
2099
2099
|
var tmp_0;
|
|
2100
|
-
this.
|
|
2101
|
-
if (this.
|
|
2100
|
+
this.c1k_1 = this.c1k_1 + 1 | 0;
|
|
2101
|
+
if (this.c1k_1 === 200) {
|
|
2102
2102
|
tmp_0 = readDeepRecursive(this);
|
|
2103
2103
|
} else {
|
|
2104
2104
|
tmp_0 = readObject(this);
|
|
2105
2105
|
}
|
|
2106
2106
|
var result = tmp_0;
|
|
2107
|
-
this.
|
|
2107
|
+
this.c1k_1 = this.c1k_1 - 1 | 0;
|
|
2108
2108
|
tmp = result;
|
|
2109
2109
|
} else if (token === 8) {
|
|
2110
2110
|
tmp = readArray(this);
|
|
2111
2111
|
} else {
|
|
2112
|
-
this.
|
|
2112
|
+
this.z1j_1.z1i('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
2113
2113
|
}
|
|
2114
2114
|
return tmp;
|
|
2115
2115
|
};
|
|
@@ -2118,9 +2118,9 @@
|
|
|
2118
2118
|
while (_iterator__ex2g4s.u()) {
|
|
2119
2119
|
var annotation = _iterator__ex2g4s.v();
|
|
2120
2120
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2121
|
-
return annotation.
|
|
2121
|
+
return annotation.c1g_1;
|
|
2122
2122
|
}
|
|
2123
|
-
return json.
|
|
2123
|
+
return json.z1d_1.u1f_1;
|
|
2124
2124
|
}
|
|
2125
2125
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2126
2126
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -2156,11 +2156,11 @@
|
|
|
2156
2156
|
function Key() {
|
|
2157
2157
|
}
|
|
2158
2158
|
function DescriptorSchemaCache() {
|
|
2159
|
-
this.
|
|
2159
|
+
this.a1j_1 = createMapForCache(16);
|
|
2160
2160
|
}
|
|
2161
|
-
protoOf(DescriptorSchemaCache).
|
|
2161
|
+
protoOf(DescriptorSchemaCache).m1l = function (descriptor, key, value) {
|
|
2162
2162
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2163
|
-
var this_0 = this.
|
|
2163
|
+
var this_0 = this.a1j_1;
|
|
2164
2164
|
var value_0 = this_0.z2(descriptor);
|
|
2165
2165
|
var tmp;
|
|
2166
2166
|
if (value_0 == null) {
|
|
@@ -2176,8 +2176,8 @@
|
|
|
2176
2176
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2177
2177
|
tmp0.c3(tmp2, value_1);
|
|
2178
2178
|
};
|
|
2179
|
-
protoOf(DescriptorSchemaCache).
|
|
2180
|
-
var tmp0_safe_receiver = this.
|
|
2179
|
+
protoOf(DescriptorSchemaCache).b1j = function (descriptor, key, defaultValue) {
|
|
2180
|
+
var tmp0_safe_receiver = this.n1l(descriptor, key);
|
|
2181
2181
|
if (tmp0_safe_receiver == null)
|
|
2182
2182
|
null;
|
|
2183
2183
|
else {
|
|
@@ -2185,11 +2185,11 @@
|
|
|
2185
2185
|
return tmp0_safe_receiver;
|
|
2186
2186
|
}
|
|
2187
2187
|
var value = defaultValue();
|
|
2188
|
-
this.
|
|
2188
|
+
this.m1l(descriptor, key, value);
|
|
2189
2189
|
return value;
|
|
2190
2190
|
};
|
|
2191
|
-
protoOf(DescriptorSchemaCache).
|
|
2192
|
-
var tmp0_safe_receiver = this.
|
|
2191
|
+
protoOf(DescriptorSchemaCache).n1l = function (descriptor, key) {
|
|
2192
|
+
var tmp0_safe_receiver = this.a1j_1.z2(descriptor);
|
|
2193
2193
|
var tmp;
|
|
2194
2194
|
if (tmp0_safe_receiver == null) {
|
|
2195
2195
|
tmp = null;
|
|
@@ -2200,13 +2200,13 @@
|
|
|
2200
2200
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2201
2201
|
};
|
|
2202
2202
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2203
|
-
this.
|
|
2203
|
+
this.o1l_1 = discriminatorToSkip;
|
|
2204
2204
|
}
|
|
2205
2205
|
function trySkip($this, _this__u8e3s4, unknownKey) {
|
|
2206
2206
|
if (_this__u8e3s4 == null)
|
|
2207
2207
|
return false;
|
|
2208
|
-
if (_this__u8e3s4.
|
|
2209
|
-
_this__u8e3s4.
|
|
2208
|
+
if (_this__u8e3s4.o1l_1 === unknownKey) {
|
|
2209
|
+
_this__u8e3s4.o1l_1 = null;
|
|
2210
2210
|
return true;
|
|
2211
2211
|
}
|
|
2212
2212
|
return false;
|
|
@@ -2216,55 +2216,55 @@
|
|
|
2216
2216
|
}
|
|
2217
2217
|
}
|
|
2218
2218
|
function checkLeadingComma($this) {
|
|
2219
|
-
if ($this.
|
|
2220
|
-
$this.
|
|
2219
|
+
if ($this.h1e_1.e1k() === 4) {
|
|
2220
|
+
$this.h1e_1.z1i('Unexpected leading comma');
|
|
2221
2221
|
}
|
|
2222
2222
|
}
|
|
2223
2223
|
function decodeMapIndex($this) {
|
|
2224
2224
|
var hasComma = false;
|
|
2225
|
-
var decodingKey = !(($this.
|
|
2225
|
+
var decodingKey = !(($this.j1e_1 % 2 | 0) === 0);
|
|
2226
2226
|
if (decodingKey) {
|
|
2227
|
-
if (!($this.
|
|
2228
|
-
hasComma = $this.
|
|
2227
|
+
if (!($this.j1e_1 === -1)) {
|
|
2228
|
+
hasComma = $this.h1e_1.q1l();
|
|
2229
2229
|
}
|
|
2230
2230
|
} else {
|
|
2231
|
-
$this.
|
|
2231
|
+
$this.h1e_1.p1l(_Char___init__impl__6a9atx(58));
|
|
2232
2232
|
}
|
|
2233
2233
|
var tmp;
|
|
2234
|
-
if ($this.
|
|
2234
|
+
if ($this.h1e_1.f1k()) {
|
|
2235
2235
|
if (decodingKey) {
|
|
2236
|
-
if ($this.
|
|
2237
|
-
var tmp0 = $this.
|
|
2236
|
+
if ($this.j1e_1 === -1) {
|
|
2237
|
+
var tmp0 = $this.h1e_1;
|
|
2238
2238
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2239
2239
|
var condition = !hasComma;
|
|
2240
|
-
var position = tmp0.
|
|
2240
|
+
var position = tmp0.n1e_1;
|
|
2241
2241
|
if (!condition) {
|
|
2242
2242
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
2243
|
-
tmp0.
|
|
2243
|
+
tmp0.z1i(tmp$ret$0, position);
|
|
2244
2244
|
}
|
|
2245
2245
|
} else {
|
|
2246
|
-
var tmp0_0 = $this.
|
|
2246
|
+
var tmp0_0 = $this.h1e_1;
|
|
2247
2247
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2248
2248
|
var condition_0 = hasComma;
|
|
2249
|
-
var position_0 = tmp0_0.
|
|
2249
|
+
var position_0 = tmp0_0.n1e_1;
|
|
2250
2250
|
if (!condition_0) {
|
|
2251
2251
|
var tmp$ret$2 = 'Expected comma after the key-value pair';
|
|
2252
|
-
tmp0_0.
|
|
2252
|
+
tmp0_0.z1i(tmp$ret$2, position_0);
|
|
2253
2253
|
}
|
|
2254
2254
|
}
|
|
2255
2255
|
}
|
|
2256
|
-
$this.
|
|
2257
|
-
tmp = $this.
|
|
2256
|
+
$this.j1e_1 = $this.j1e_1 + 1 | 0;
|
|
2257
|
+
tmp = $this.j1e_1;
|
|
2258
2258
|
} else {
|
|
2259
|
-
if (hasComma && !$this.
|
|
2260
|
-
invalidTrailingComma($this.
|
|
2259
|
+
if (hasComma && !$this.f1e_1.z1d_1.z1f_1) {
|
|
2260
|
+
invalidTrailingComma($this.h1e_1);
|
|
2261
2261
|
}
|
|
2262
2262
|
tmp = -1;
|
|
2263
2263
|
}
|
|
2264
2264
|
return tmp;
|
|
2265
2265
|
}
|
|
2266
2266
|
function coerceInputValue($this, descriptor, index) {
|
|
2267
|
-
var tmp0 = $this.
|
|
2267
|
+
var tmp0 = $this.f1e_1;
|
|
2268
2268
|
var tmp$ret$1;
|
|
2269
2269
|
$l$block_2: {
|
|
2270
2270
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -2272,7 +2272,7 @@
|
|
|
2272
2272
|
var elementDescriptor = descriptor.tu(index);
|
|
2273
2273
|
var tmp;
|
|
2274
2274
|
if (isOptional && !elementDescriptor.gu()) {
|
|
2275
|
-
tmp = $this.
|
|
2275
|
+
tmp = $this.h1e_1.r1l(true);
|
|
2276
2276
|
} else {
|
|
2277
2277
|
tmp = false;
|
|
2278
2278
|
}
|
|
@@ -2283,7 +2283,7 @@
|
|
|
2283
2283
|
if (equals(elementDescriptor.nu(), ENUM_getInstance())) {
|
|
2284
2284
|
var tmp_0;
|
|
2285
2285
|
if (elementDescriptor.gu()) {
|
|
2286
|
-
tmp_0 = $this.
|
|
2286
|
+
tmp_0 = $this.h1e_1.r1l(false);
|
|
2287
2287
|
} else {
|
|
2288
2288
|
tmp_0 = false;
|
|
2289
2289
|
}
|
|
@@ -2291,7 +2291,7 @@
|
|
|
2291
2291
|
tmp$ret$1 = false;
|
|
2292
2292
|
break $l$block_2;
|
|
2293
2293
|
}
|
|
2294
|
-
var tmp0_elvis_lhs = $this.
|
|
2294
|
+
var tmp0_elvis_lhs = $this.h1e_1.s1l($this.l1e_1.n1f_1);
|
|
2295
2295
|
var tmp_1;
|
|
2296
2296
|
if (tmp0_elvis_lhs == null) {
|
|
2297
2297
|
tmp$ret$1 = false;
|
|
@@ -2301,9 +2301,9 @@
|
|
|
2301
2301
|
}
|
|
2302
2302
|
var enumValue = tmp_1;
|
|
2303
2303
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2304
|
-
var coerceToNull = !tmp0.
|
|
2304
|
+
var coerceToNull = !tmp0.z1d_1.q1f_1 && elementDescriptor.gu();
|
|
2305
2305
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2306
|
-
$this.
|
|
2306
|
+
$this.h1e_1.g1k();
|
|
2307
2307
|
tmp$ret$1 = true;
|
|
2308
2308
|
break $l$block_2;
|
|
2309
2309
|
}
|
|
@@ -2313,24 +2313,24 @@
|
|
|
2313
2313
|
return tmp$ret$1;
|
|
2314
2314
|
}
|
|
2315
2315
|
function decodeObjectIndex($this, descriptor) {
|
|
2316
|
-
var hasComma = $this.
|
|
2317
|
-
while ($this.
|
|
2316
|
+
var hasComma = $this.h1e_1.q1l();
|
|
2317
|
+
while ($this.h1e_1.f1k()) {
|
|
2318
2318
|
hasComma = false;
|
|
2319
2319
|
var key = decodeStringKey($this);
|
|
2320
|
-
$this.
|
|
2321
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2320
|
+
$this.h1e_1.p1l(_Char___init__impl__6a9atx(58));
|
|
2321
|
+
var index = getJsonNameIndex(descriptor, $this.f1e_1, key);
|
|
2322
2322
|
var tmp;
|
|
2323
2323
|
if (!(index === -3)) {
|
|
2324
2324
|
var tmp_0;
|
|
2325
|
-
if ($this.
|
|
2326
|
-
hasComma = $this.
|
|
2325
|
+
if ($this.l1e_1.s1f_1 && coerceInputValue($this, descriptor, index)) {
|
|
2326
|
+
hasComma = $this.h1e_1.q1l();
|
|
2327
2327
|
tmp_0 = false;
|
|
2328
2328
|
} else {
|
|
2329
|
-
var tmp0_safe_receiver = $this.
|
|
2329
|
+
var tmp0_safe_receiver = $this.m1e_1;
|
|
2330
2330
|
if (tmp0_safe_receiver == null)
|
|
2331
2331
|
null;
|
|
2332
2332
|
else {
|
|
2333
|
-
tmp0_safe_receiver.
|
|
2333
|
+
tmp0_safe_receiver.w1i(index);
|
|
2334
2334
|
}
|
|
2335
2335
|
return index;
|
|
2336
2336
|
}
|
|
@@ -2343,34 +2343,34 @@
|
|
|
2343
2343
|
hasComma = handleUnknown($this, descriptor, key);
|
|
2344
2344
|
}
|
|
2345
2345
|
}
|
|
2346
|
-
if (hasComma && !$this.
|
|
2347
|
-
invalidTrailingComma($this.
|
|
2346
|
+
if (hasComma && !$this.f1e_1.z1d_1.z1f_1) {
|
|
2347
|
+
invalidTrailingComma($this.h1e_1);
|
|
2348
2348
|
}
|
|
2349
|
-
var tmp1_safe_receiver = $this.
|
|
2350
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2349
|
+
var tmp1_safe_receiver = $this.m1e_1;
|
|
2350
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.x1i();
|
|
2351
2351
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2352
2352
|
}
|
|
2353
2353
|
function handleUnknown($this, descriptor, key) {
|
|
2354
|
-
if (ignoreUnknownKeys(descriptor, $this.
|
|
2355
|
-
$this.
|
|
2354
|
+
if (ignoreUnknownKeys(descriptor, $this.f1e_1) || trySkip($this, $this.k1e_1, key)) {
|
|
2355
|
+
$this.h1e_1.u1l($this.l1e_1.n1f_1);
|
|
2356
2356
|
} else {
|
|
2357
|
-
$this.
|
|
2358
|
-
$this.
|
|
2357
|
+
$this.h1e_1.o1e_1.l1j();
|
|
2358
|
+
$this.h1e_1.t1l(key);
|
|
2359
2359
|
}
|
|
2360
|
-
return $this.
|
|
2360
|
+
return $this.h1e_1.q1l();
|
|
2361
2361
|
}
|
|
2362
2362
|
function decodeListIndex($this) {
|
|
2363
|
-
var hasComma = $this.
|
|
2363
|
+
var hasComma = $this.h1e_1.q1l();
|
|
2364
2364
|
var tmp;
|
|
2365
|
-
if ($this.
|
|
2366
|
-
if (!($this.
|
|
2367
|
-
$this.
|
|
2365
|
+
if ($this.h1e_1.f1k()) {
|
|
2366
|
+
if (!($this.j1e_1 === -1) && !hasComma) {
|
|
2367
|
+
$this.h1e_1.z1i('Expected end of the array or comma');
|
|
2368
2368
|
}
|
|
2369
|
-
$this.
|
|
2370
|
-
tmp = $this.
|
|
2369
|
+
$this.j1e_1 = $this.j1e_1 + 1 | 0;
|
|
2370
|
+
tmp = $this.j1e_1;
|
|
2371
2371
|
} else {
|
|
2372
|
-
if (hasComma && !$this.
|
|
2373
|
-
invalidTrailingComma($this.
|
|
2372
|
+
if (hasComma && !$this.f1e_1.z1d_1.z1f_1) {
|
|
2373
|
+
invalidTrailingComma($this.h1e_1, 'array');
|
|
2374
2374
|
}
|
|
2375
2375
|
tmp = -1;
|
|
2376
2376
|
}
|
|
@@ -2378,32 +2378,32 @@
|
|
|
2378
2378
|
}
|
|
2379
2379
|
function decodeStringKey($this) {
|
|
2380
2380
|
var tmp;
|
|
2381
|
-
if ($this.
|
|
2382
|
-
tmp = $this.
|
|
2381
|
+
if ($this.l1e_1.n1f_1) {
|
|
2382
|
+
tmp = $this.h1e_1.w1l();
|
|
2383
2383
|
} else {
|
|
2384
|
-
tmp = $this.
|
|
2384
|
+
tmp = $this.h1e_1.v1l();
|
|
2385
2385
|
}
|
|
2386
2386
|
return tmp;
|
|
2387
2387
|
}
|
|
2388
2388
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2389
2389
|
AbstractDecoder.call(this);
|
|
2390
|
-
this.
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2393
|
-
this.
|
|
2394
|
-
this.
|
|
2395
|
-
this.
|
|
2396
|
-
this.
|
|
2397
|
-
this.
|
|
2398
|
-
}
|
|
2399
|
-
protoOf(StreamingJsonDecoder).
|
|
2400
|
-
return this.
|
|
2390
|
+
this.f1e_1 = json;
|
|
2391
|
+
this.g1e_1 = mode;
|
|
2392
|
+
this.h1e_1 = lexer;
|
|
2393
|
+
this.i1e_1 = this.f1e_1.at();
|
|
2394
|
+
this.j1e_1 = -1;
|
|
2395
|
+
this.k1e_1 = discriminatorHolder;
|
|
2396
|
+
this.l1e_1 = this.f1e_1.z1d_1;
|
|
2397
|
+
this.m1e_1 = this.l1e_1.q1f_1 ? null : new JsonElementMarker(descriptor);
|
|
2398
|
+
}
|
|
2399
|
+
protoOf(StreamingJsonDecoder).d1g = function () {
|
|
2400
|
+
return this.f1e_1;
|
|
2401
2401
|
};
|
|
2402
2402
|
protoOf(StreamingJsonDecoder).at = function () {
|
|
2403
|
-
return this.
|
|
2403
|
+
return this.i1e_1;
|
|
2404
2404
|
};
|
|
2405
|
-
protoOf(StreamingJsonDecoder).
|
|
2406
|
-
return (new JsonTreeReader(this.
|
|
2405
|
+
protoOf(StreamingJsonDecoder).e1g = function () {
|
|
2406
|
+
return (new JsonTreeReader(this.f1e_1.z1d_1, this.h1e_1)).i1k();
|
|
2407
2407
|
};
|
|
2408
2408
|
protoOf(StreamingJsonDecoder).et = function (deserializer) {
|
|
2409
2409
|
try {
|
|
@@ -2411,13 +2411,13 @@
|
|
|
2411
2411
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2412
2412
|
tmp = true;
|
|
2413
2413
|
} else {
|
|
2414
|
-
tmp = this.
|
|
2414
|
+
tmp = this.f1e_1.z1d_1.t1f_1;
|
|
2415
2415
|
}
|
|
2416
2416
|
if (tmp) {
|
|
2417
2417
|
return deserializer.dt(this);
|
|
2418
2418
|
}
|
|
2419
|
-
var discriminator = classDiscriminator(deserializer.ps(), this.
|
|
2420
|
-
var tmp0_elvis_lhs = this.
|
|
2419
|
+
var discriminator = classDiscriminator(deserializer.ps(), this.f1e_1);
|
|
2420
|
+
var tmp0_elvis_lhs = this.h1e_1.x1l(discriminator, this.l1e_1.n1f_1);
|
|
2421
2421
|
var tmp_0;
|
|
2422
2422
|
if (tmp0_elvis_lhs == null) {
|
|
2423
2423
|
var tmp2 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2428,24 +2428,24 @@
|
|
|
2428
2428
|
if (!(tmp2 instanceof AbstractPolymorphicSerializer)) {
|
|
2429
2429
|
tmp_1 = true;
|
|
2430
2430
|
} else {
|
|
2431
|
-
tmp_1 = this.
|
|
2431
|
+
tmp_1 = this.d1g().z1d_1.t1f_1;
|
|
2432
2432
|
}
|
|
2433
2433
|
if (tmp_1) {
|
|
2434
2434
|
tmp$ret$0 = tmp2.dt(this);
|
|
2435
2435
|
break $l$block;
|
|
2436
2436
|
}
|
|
2437
|
-
var discriminator_0 = classDiscriminator(tmp2.ps(), this.
|
|
2438
|
-
var tmp0 = this.
|
|
2437
|
+
var discriminator_0 = classDiscriminator(tmp2.ps(), this.d1g());
|
|
2438
|
+
var tmp0 = this.e1g();
|
|
2439
2439
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2440
2440
|
var serialName = tmp2.ps().ut();
|
|
2441
2441
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2442
2442
|
var tmp_2 = getKClass(JsonObject).o();
|
|
2443
2443
|
var tmp_3 = getKClassFromExpression(tmp0).o();
|
|
2444
|
-
var tmp$ret$1 = this.
|
|
2444
|
+
var tmp$ret$1 = this.h1e_1.o1e_1.m1j();
|
|
2445
2445
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
2446
2446
|
}
|
|
2447
2447
|
var jsonTree = tmp0;
|
|
2448
|
-
var tmp0_safe_receiver = jsonTree.
|
|
2448
|
+
var tmp0_safe_receiver = jsonTree.k1g(discriminator_0);
|
|
2449
2449
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
2450
2450
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
2451
2451
|
var tmp_4;
|
|
@@ -2462,7 +2462,7 @@
|
|
|
2462
2462
|
}
|
|
2463
2463
|
var tmp_6 = tmp_4;
|
|
2464
2464
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2465
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2465
|
+
tmp$ret$0 = readPolymorphicJson(this.d1g(), discriminator_0, jsonTree, actualSerializer);
|
|
2466
2466
|
}
|
|
2467
2467
|
return tmp$ret$0;
|
|
2468
2468
|
} else {
|
|
@@ -2478,7 +2478,7 @@
|
|
|
2478
2478
|
var it_0 = $p;
|
|
2479
2479
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2480
2480
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2481
|
-
this.
|
|
2481
|
+
this.h1e_1.z1i(message, VOID, hint);
|
|
2482
2482
|
} else {
|
|
2483
2483
|
throw $p;
|
|
2484
2484
|
}
|
|
@@ -2486,37 +2486,37 @@
|
|
|
2486
2486
|
}
|
|
2487
2487
|
var tmp_9 = tmp_7;
|
|
2488
2488
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2489
|
-
this.
|
|
2489
|
+
this.k1e_1 = new DiscriminatorHolder(discriminator);
|
|
2490
2490
|
return actualSerializer_0.dt(this);
|
|
2491
2491
|
} catch ($p) {
|
|
2492
2492
|
if ($p instanceof MissingFieldException) {
|
|
2493
2493
|
var e = $p;
|
|
2494
2494
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2495
2495
|
throw e;
|
|
2496
|
-
throw MissingFieldException_init_$Create$(e.au_1, plus(e.message, ' at path: ') + this.
|
|
2496
|
+
throw MissingFieldException_init_$Create$(e.au_1, plus(e.message, ' at path: ') + this.h1e_1.o1e_1.m1j(), e);
|
|
2497
2497
|
} else {
|
|
2498
2498
|
throw $p;
|
|
2499
2499
|
}
|
|
2500
2500
|
}
|
|
2501
2501
|
};
|
|
2502
2502
|
protoOf(StreamingJsonDecoder).ew = function (descriptor) {
|
|
2503
|
-
var newMode = switchMode(this.
|
|
2504
|
-
this.
|
|
2505
|
-
this.
|
|
2503
|
+
var newMode = switchMode(this.f1e_1, descriptor);
|
|
2504
|
+
this.h1e_1.o1e_1.h1j(descriptor);
|
|
2505
|
+
this.h1e_1.p1l(newMode.a1m_1);
|
|
2506
2506
|
checkLeadingComma(this);
|
|
2507
2507
|
var tmp;
|
|
2508
2508
|
switch (newMode.a1_1) {
|
|
2509
2509
|
case 1:
|
|
2510
2510
|
case 2:
|
|
2511
2511
|
case 3:
|
|
2512
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2512
|
+
tmp = new StreamingJsonDecoder(this.f1e_1, newMode, this.h1e_1, descriptor, this.k1e_1);
|
|
2513
2513
|
break;
|
|
2514
2514
|
default:
|
|
2515
2515
|
var tmp_0;
|
|
2516
|
-
if (this.
|
|
2516
|
+
if (this.g1e_1.equals(newMode) && this.f1e_1.z1d_1.q1f_1) {
|
|
2517
2517
|
tmp_0 = this;
|
|
2518
2518
|
} else {
|
|
2519
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2519
|
+
tmp_0 = new StreamingJsonDecoder(this.f1e_1, newMode, this.h1e_1, descriptor, this.k1e_1);
|
|
2520
2520
|
}
|
|
2521
2521
|
|
|
2522
2522
|
tmp = tmp_0;
|
|
@@ -2525,21 +2525,21 @@
|
|
|
2525
2525
|
return tmp;
|
|
2526
2526
|
};
|
|
2527
2527
|
protoOf(StreamingJsonDecoder).fw = function (descriptor) {
|
|
2528
|
-
if (descriptor.pu() === 0 && ignoreUnknownKeys(descriptor, this.
|
|
2528
|
+
if (descriptor.pu() === 0 && ignoreUnknownKeys(descriptor, this.f1e_1)) {
|
|
2529
2529
|
skipLeftoverElements(this, descriptor);
|
|
2530
2530
|
}
|
|
2531
|
-
if (this.
|
|
2532
|
-
invalidTrailingComma(this.
|
|
2531
|
+
if (this.h1e_1.q1l() && !this.f1e_1.z1d_1.z1f_1) {
|
|
2532
|
+
invalidTrailingComma(this.h1e_1, '');
|
|
2533
2533
|
}
|
|
2534
|
-
this.
|
|
2535
|
-
this.
|
|
2534
|
+
this.h1e_1.p1l(this.g1e_1.b1m_1);
|
|
2535
|
+
this.h1e_1.o1e_1.l1j();
|
|
2536
2536
|
};
|
|
2537
2537
|
protoOf(StreamingJsonDecoder).qv = function () {
|
|
2538
2538
|
var tmp;
|
|
2539
|
-
var tmp0_safe_receiver = this.
|
|
2540
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2539
|
+
var tmp0_safe_receiver = this.m1e_1;
|
|
2540
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v1i_1;
|
|
2541
2541
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2542
|
-
tmp = !this.
|
|
2542
|
+
tmp = !this.h1e_1.c1m();
|
|
2543
2543
|
} else {
|
|
2544
2544
|
tmp = false;
|
|
2545
2545
|
}
|
|
@@ -2549,19 +2549,19 @@
|
|
|
2549
2549
|
return null;
|
|
2550
2550
|
};
|
|
2551
2551
|
protoOf(StreamingJsonDecoder).qw = function (descriptor, index, deserializer, previousValue) {
|
|
2552
|
-
var isMapKey = this.
|
|
2552
|
+
var isMapKey = this.g1e_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2553
2553
|
if (isMapKey) {
|
|
2554
|
-
this.
|
|
2554
|
+
this.h1e_1.o1e_1.k1j();
|
|
2555
2555
|
}
|
|
2556
2556
|
var value = protoOf(AbstractDecoder).qw.call(this, descriptor, index, deserializer, previousValue);
|
|
2557
2557
|
if (isMapKey) {
|
|
2558
|
-
this.
|
|
2558
|
+
this.h1e_1.o1e_1.j1j(value);
|
|
2559
2559
|
}
|
|
2560
2560
|
return value;
|
|
2561
2561
|
};
|
|
2562
2562
|
protoOf(StreamingJsonDecoder).vw = function (descriptor) {
|
|
2563
2563
|
var index;
|
|
2564
|
-
switch (this.
|
|
2564
|
+
switch (this.g1e_1.a1_1) {
|
|
2565
2565
|
case 0:
|
|
2566
2566
|
index = decodeObjectIndex(this, descriptor);
|
|
2567
2567
|
break;
|
|
@@ -2572,44 +2572,44 @@
|
|
|
2572
2572
|
index = decodeListIndex(this);
|
|
2573
2573
|
break;
|
|
2574
2574
|
}
|
|
2575
|
-
if (!this.
|
|
2576
|
-
this.
|
|
2575
|
+
if (!this.g1e_1.equals(WriteMode_MAP_getInstance())) {
|
|
2576
|
+
this.h1e_1.o1e_1.i1j(index);
|
|
2577
2577
|
}
|
|
2578
2578
|
return index;
|
|
2579
2579
|
};
|
|
2580
2580
|
protoOf(StreamingJsonDecoder).sv = function () {
|
|
2581
|
-
return this.
|
|
2581
|
+
return this.h1e_1.d1m();
|
|
2582
2582
|
};
|
|
2583
2583
|
protoOf(StreamingJsonDecoder).tv = function () {
|
|
2584
|
-
var value = this.
|
|
2584
|
+
var value = this.h1e_1.e1m();
|
|
2585
2585
|
if (!(value === fromInt(convertToByte(value)))) {
|
|
2586
|
-
this.
|
|
2586
|
+
this.h1e_1.z1i("Failed to parse byte for input '" + value.toString() + "'");
|
|
2587
2587
|
}
|
|
2588
2588
|
return convertToByte(value);
|
|
2589
2589
|
};
|
|
2590
2590
|
protoOf(StreamingJsonDecoder).uv = function () {
|
|
2591
|
-
var value = this.
|
|
2591
|
+
var value = this.h1e_1.e1m();
|
|
2592
2592
|
if (!(value === fromInt(convertToShort(value)))) {
|
|
2593
|
-
this.
|
|
2593
|
+
this.h1e_1.z1i("Failed to parse short for input '" + value.toString() + "'");
|
|
2594
2594
|
}
|
|
2595
2595
|
return convertToShort(value);
|
|
2596
2596
|
};
|
|
2597
2597
|
protoOf(StreamingJsonDecoder).vv = function () {
|
|
2598
|
-
var value = this.
|
|
2598
|
+
var value = this.h1e_1.e1m();
|
|
2599
2599
|
if (!(value === fromInt(convertToInt(value)))) {
|
|
2600
|
-
this.
|
|
2600
|
+
this.h1e_1.z1i("Failed to parse int for input '" + value.toString() + "'");
|
|
2601
2601
|
}
|
|
2602
2602
|
return convertToInt(value);
|
|
2603
2603
|
};
|
|
2604
2604
|
protoOf(StreamingJsonDecoder).wv = function () {
|
|
2605
|
-
return this.
|
|
2605
|
+
return this.h1e_1.e1m();
|
|
2606
2606
|
};
|
|
2607
2607
|
protoOf(StreamingJsonDecoder).xv = function () {
|
|
2608
|
-
var tmp0 = this.
|
|
2608
|
+
var tmp0 = this.h1e_1;
|
|
2609
2609
|
var tmp$ret$4;
|
|
2610
2610
|
$l$block: {
|
|
2611
2611
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2612
|
-
var input = tmp0.
|
|
2612
|
+
var input = tmp0.h1k();
|
|
2613
2613
|
try {
|
|
2614
2614
|
// Inline function 'kotlin.text.toFloat' call
|
|
2615
2615
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2619,82 +2619,82 @@
|
|
|
2619
2619
|
} catch ($p) {
|
|
2620
2620
|
if ($p instanceof IllegalArgumentException) {
|
|
2621
2621
|
var e = $p;
|
|
2622
|
-
tmp0.
|
|
2622
|
+
tmp0.z1i("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2623
2623
|
} else {
|
|
2624
2624
|
throw $p;
|
|
2625
2625
|
}
|
|
2626
2626
|
}
|
|
2627
2627
|
}
|
|
2628
2628
|
var result = tmp$ret$4;
|
|
2629
|
-
var specialFp = this.
|
|
2629
|
+
var specialFp = this.f1e_1.z1d_1.v1f_1;
|
|
2630
2630
|
if (specialFp || isFinite(result))
|
|
2631
2631
|
return result;
|
|
2632
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2632
|
+
throwInvalidFloatingPointDecoded(this.h1e_1, result);
|
|
2633
2633
|
};
|
|
2634
2634
|
protoOf(StreamingJsonDecoder).yv = function () {
|
|
2635
|
-
var tmp0 = this.
|
|
2635
|
+
var tmp0 = this.h1e_1;
|
|
2636
2636
|
var tmp$ret$1;
|
|
2637
2637
|
$l$block: {
|
|
2638
2638
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2639
|
-
var input = tmp0.
|
|
2639
|
+
var input = tmp0.h1k();
|
|
2640
2640
|
try {
|
|
2641
2641
|
tmp$ret$1 = toDouble(input);
|
|
2642
2642
|
break $l$block;
|
|
2643
2643
|
} catch ($p) {
|
|
2644
2644
|
if ($p instanceof IllegalArgumentException) {
|
|
2645
2645
|
var e = $p;
|
|
2646
|
-
tmp0.
|
|
2646
|
+
tmp0.z1i("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2647
2647
|
} else {
|
|
2648
2648
|
throw $p;
|
|
2649
2649
|
}
|
|
2650
2650
|
}
|
|
2651
2651
|
}
|
|
2652
2652
|
var result = tmp$ret$1;
|
|
2653
|
-
var specialFp = this.
|
|
2653
|
+
var specialFp = this.f1e_1.z1d_1.v1f_1;
|
|
2654
2654
|
if (specialFp || isFinite_0(result))
|
|
2655
2655
|
return result;
|
|
2656
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2656
|
+
throwInvalidFloatingPointDecoded(this.h1e_1, result);
|
|
2657
2657
|
};
|
|
2658
2658
|
protoOf(StreamingJsonDecoder).zv = function () {
|
|
2659
|
-
var string = this.
|
|
2659
|
+
var string = this.h1e_1.h1k();
|
|
2660
2660
|
if (!(string.length === 1)) {
|
|
2661
|
-
this.
|
|
2661
|
+
this.h1e_1.z1i("Expected single char, but got '" + string + "'");
|
|
2662
2662
|
}
|
|
2663
2663
|
return charCodeAt(string, 0);
|
|
2664
2664
|
};
|
|
2665
2665
|
protoOf(StreamingJsonDecoder).aw = function () {
|
|
2666
2666
|
var tmp;
|
|
2667
|
-
if (this.
|
|
2668
|
-
tmp = this.
|
|
2667
|
+
if (this.l1e_1.n1f_1) {
|
|
2668
|
+
tmp = this.h1e_1.w1l();
|
|
2669
2669
|
} else {
|
|
2670
|
-
tmp = this.
|
|
2670
|
+
tmp = this.h1e_1.g1k();
|
|
2671
2671
|
}
|
|
2672
2672
|
return tmp;
|
|
2673
2673
|
};
|
|
2674
2674
|
protoOf(StreamingJsonDecoder).cw = function (descriptor) {
|
|
2675
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2675
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.h1e_1, this.f1e_1) : protoOf(AbstractDecoder).cw.call(this, descriptor);
|
|
2676
2676
|
};
|
|
2677
2677
|
protoOf(StreamingJsonDecoder).bw = function (enumDescriptor) {
|
|
2678
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2678
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.f1e_1, this.aw(), ' at path ' + this.h1e_1.o1e_1.m1j());
|
|
2679
2679
|
};
|
|
2680
2680
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2681
2681
|
AbstractDecoder.call(this);
|
|
2682
|
-
this.
|
|
2683
|
-
this.
|
|
2682
|
+
this.f1m_1 = lexer;
|
|
2683
|
+
this.g1m_1 = json.at();
|
|
2684
2684
|
}
|
|
2685
2685
|
protoOf(JsonDecoderForUnsignedTypes).at = function () {
|
|
2686
|
-
return this.
|
|
2686
|
+
return this.g1m_1;
|
|
2687
2687
|
};
|
|
2688
2688
|
protoOf(JsonDecoderForUnsignedTypes).vw = function (descriptor) {
|
|
2689
2689
|
var message = 'unsupported';
|
|
2690
2690
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2691
2691
|
};
|
|
2692
2692
|
protoOf(JsonDecoderForUnsignedTypes).vv = function () {
|
|
2693
|
-
var tmp0 = this.
|
|
2693
|
+
var tmp0 = this.f1m_1;
|
|
2694
2694
|
var tmp$ret$2;
|
|
2695
2695
|
$l$block: {
|
|
2696
2696
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2697
|
-
var input = tmp0.
|
|
2697
|
+
var input = tmp0.h1k();
|
|
2698
2698
|
try {
|
|
2699
2699
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2700
2700
|
var this_0 = toUInt(input);
|
|
@@ -2703,7 +2703,7 @@
|
|
|
2703
2703
|
} catch ($p) {
|
|
2704
2704
|
if ($p instanceof IllegalArgumentException) {
|
|
2705
2705
|
var e = $p;
|
|
2706
|
-
tmp0.
|
|
2706
|
+
tmp0.z1i("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2707
2707
|
} else {
|
|
2708
2708
|
throw $p;
|
|
2709
2709
|
}
|
|
@@ -2712,11 +2712,11 @@
|
|
|
2712
2712
|
return tmp$ret$2;
|
|
2713
2713
|
};
|
|
2714
2714
|
protoOf(JsonDecoderForUnsignedTypes).wv = function () {
|
|
2715
|
-
var tmp0 = this.
|
|
2715
|
+
var tmp0 = this.f1m_1;
|
|
2716
2716
|
var tmp$ret$2;
|
|
2717
2717
|
$l$block: {
|
|
2718
2718
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2719
|
-
var input = tmp0.
|
|
2719
|
+
var input = tmp0.h1k();
|
|
2720
2720
|
try {
|
|
2721
2721
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2722
2722
|
var this_0 = toULong(input);
|
|
@@ -2725,7 +2725,7 @@
|
|
|
2725
2725
|
} catch ($p) {
|
|
2726
2726
|
if ($p instanceof IllegalArgumentException) {
|
|
2727
2727
|
var e = $p;
|
|
2728
|
-
tmp0.
|
|
2728
|
+
tmp0.z1i("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2729
2729
|
} else {
|
|
2730
2730
|
throw $p;
|
|
2731
2731
|
}
|
|
@@ -2734,11 +2734,11 @@
|
|
|
2734
2734
|
return tmp$ret$2;
|
|
2735
2735
|
};
|
|
2736
2736
|
protoOf(JsonDecoderForUnsignedTypes).tv = function () {
|
|
2737
|
-
var tmp0 = this.
|
|
2737
|
+
var tmp0 = this.f1m_1;
|
|
2738
2738
|
var tmp$ret$2;
|
|
2739
2739
|
$l$block: {
|
|
2740
2740
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2741
|
-
var input = tmp0.
|
|
2741
|
+
var input = tmp0.h1k();
|
|
2742
2742
|
try {
|
|
2743
2743
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2744
2744
|
var this_0 = toUByte(input);
|
|
@@ -2747,7 +2747,7 @@
|
|
|
2747
2747
|
} catch ($p) {
|
|
2748
2748
|
if ($p instanceof IllegalArgumentException) {
|
|
2749
2749
|
var e = $p;
|
|
2750
|
-
tmp0.
|
|
2750
|
+
tmp0.z1i("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2751
2751
|
} else {
|
|
2752
2752
|
throw $p;
|
|
2753
2753
|
}
|
|
@@ -2756,11 +2756,11 @@
|
|
|
2756
2756
|
return tmp$ret$2;
|
|
2757
2757
|
};
|
|
2758
2758
|
protoOf(JsonDecoderForUnsignedTypes).uv = function () {
|
|
2759
|
-
var tmp0 = this.
|
|
2759
|
+
var tmp0 = this.f1m_1;
|
|
2760
2760
|
var tmp$ret$2;
|
|
2761
2761
|
$l$block: {
|
|
2762
2762
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2763
|
-
var input = tmp0.
|
|
2763
|
+
var input = tmp0.h1k();
|
|
2764
2764
|
try {
|
|
2765
2765
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2766
2766
|
var this_0 = toUShort(input);
|
|
@@ -2769,7 +2769,7 @@
|
|
|
2769
2769
|
} catch ($p) {
|
|
2770
2770
|
if ($p instanceof IllegalArgumentException) {
|
|
2771
2771
|
var e = $p;
|
|
2772
|
-
tmp0.
|
|
2772
|
+
tmp0.z1i("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2773
2773
|
} else {
|
|
2774
2774
|
throw $p;
|
|
2775
2775
|
}
|
|
@@ -2790,53 +2790,53 @@
|
|
|
2790
2790
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2791
2791
|
}
|
|
2792
2792
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2793
|
-
$this.
|
|
2793
|
+
$this.q1j_1.t1h();
|
|
2794
2794
|
$this.ix(discriminator);
|
|
2795
|
-
$this.
|
|
2796
|
-
$this.
|
|
2795
|
+
$this.q1j_1.w1h(_Char___init__impl__6a9atx(58));
|
|
2796
|
+
$this.q1j_1.v1h();
|
|
2797
2797
|
$this.ix(serialName);
|
|
2798
2798
|
}
|
|
2799
2799
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2800
2800
|
AbstractEncoder.call(this);
|
|
2801
|
-
this.
|
|
2802
|
-
this.
|
|
2803
|
-
this.
|
|
2804
|
-
this.
|
|
2805
|
-
this.
|
|
2806
|
-
this.
|
|
2807
|
-
this.
|
|
2808
|
-
this.
|
|
2809
|
-
this.
|
|
2810
|
-
var i = this.
|
|
2811
|
-
if (!(this.
|
|
2812
|
-
if (!(this.
|
|
2813
|
-
this.
|
|
2801
|
+
this.q1j_1 = composer;
|
|
2802
|
+
this.r1j_1 = json;
|
|
2803
|
+
this.s1j_1 = mode;
|
|
2804
|
+
this.t1j_1 = modeReuseCache;
|
|
2805
|
+
this.u1j_1 = this.r1j_1.at();
|
|
2806
|
+
this.v1j_1 = this.r1j_1.z1d_1;
|
|
2807
|
+
this.w1j_1 = false;
|
|
2808
|
+
this.x1j_1 = null;
|
|
2809
|
+
this.y1j_1 = null;
|
|
2810
|
+
var i = this.s1j_1.a1_1;
|
|
2811
|
+
if (!(this.t1j_1 == null)) {
|
|
2812
|
+
if (!(this.t1j_1[i] === null) || !(this.t1j_1[i] === this)) {
|
|
2813
|
+
this.t1j_1[i] = this;
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
2816
|
}
|
|
2817
|
-
protoOf(StreamingJsonEncoder).
|
|
2818
|
-
return this.
|
|
2817
|
+
protoOf(StreamingJsonEncoder).d1g = function () {
|
|
2818
|
+
return this.r1j_1;
|
|
2819
2819
|
};
|
|
2820
2820
|
protoOf(StreamingJsonEncoder).at = function () {
|
|
2821
|
-
return this.
|
|
2821
|
+
return this.u1j_1;
|
|
2822
2822
|
};
|
|
2823
2823
|
protoOf(StreamingJsonEncoder).ay = function (descriptor, index) {
|
|
2824
|
-
return this.
|
|
2824
|
+
return this.v1j_1.l1f_1;
|
|
2825
2825
|
};
|
|
2826
2826
|
protoOf(StreamingJsonEncoder).bt = function (serializer, value) {
|
|
2827
2827
|
$l$block: {
|
|
2828
2828
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2829
|
-
if (this.
|
|
2829
|
+
if (this.d1g().z1d_1.t1f_1) {
|
|
2830
2830
|
serializer.ct(this, value);
|
|
2831
2831
|
break $l$block;
|
|
2832
2832
|
}
|
|
2833
2833
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2834
2834
|
var tmp;
|
|
2835
2835
|
if (isPolymorphicSerializer) {
|
|
2836
|
-
tmp = !this.
|
|
2836
|
+
tmp = !this.d1g().z1d_1.b1g_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2837
2837
|
} else {
|
|
2838
2838
|
var tmp_0;
|
|
2839
|
-
switch (this.
|
|
2839
|
+
switch (this.d1g().z1d_1.b1g_1.a1_1) {
|
|
2840
2840
|
case 0:
|
|
2841
2841
|
case 2:
|
|
2842
2842
|
tmp_0 = false;
|
|
@@ -2854,7 +2854,7 @@
|
|
|
2854
2854
|
tmp = tmp_0;
|
|
2855
2855
|
}
|
|
2856
2856
|
var needDiscriminator = tmp;
|
|
2857
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ps(), this.
|
|
2857
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ps(), this.d1g()) : null;
|
|
2858
2858
|
var tmp_1;
|
|
2859
2859
|
if (isPolymorphicSerializer) {
|
|
2860
2860
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -2879,93 +2879,93 @@
|
|
|
2879
2879
|
var actualSerializer = tmp_1;
|
|
2880
2880
|
if (!(baseClassDiscriminator == null)) {
|
|
2881
2881
|
var serialName = actualSerializer.ps().ut();
|
|
2882
|
-
this.
|
|
2883
|
-
this.
|
|
2882
|
+
this.x1j_1 = baseClassDiscriminator;
|
|
2883
|
+
this.y1j_1 = serialName;
|
|
2884
2884
|
}
|
|
2885
2885
|
actualSerializer.ct(this, value);
|
|
2886
2886
|
}
|
|
2887
2887
|
};
|
|
2888
2888
|
protoOf(StreamingJsonEncoder).ew = function (descriptor) {
|
|
2889
|
-
var newMode = switchMode(this.
|
|
2890
|
-
if (!(newMode.
|
|
2891
|
-
this.
|
|
2892
|
-
this.
|
|
2889
|
+
var newMode = switchMode(this.r1j_1, descriptor);
|
|
2890
|
+
if (!(newMode.a1m_1 === _Char___init__impl__6a9atx(0))) {
|
|
2891
|
+
this.q1j_1.w1h(newMode.a1m_1);
|
|
2892
|
+
this.q1j_1.r1h();
|
|
2893
2893
|
}
|
|
2894
|
-
var discriminator = this.
|
|
2894
|
+
var discriminator = this.x1j_1;
|
|
2895
2895
|
if (!(discriminator == null)) {
|
|
2896
|
-
var tmp0_elvis_lhs = this.
|
|
2896
|
+
var tmp0_elvis_lhs = this.y1j_1;
|
|
2897
2897
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.ut() : tmp0_elvis_lhs);
|
|
2898
|
-
this.
|
|
2899
|
-
this.
|
|
2898
|
+
this.x1j_1 = null;
|
|
2899
|
+
this.y1j_1 = null;
|
|
2900
2900
|
}
|
|
2901
|
-
if (this.
|
|
2901
|
+
if (this.s1j_1.equals(newMode)) {
|
|
2902
2902
|
return this;
|
|
2903
2903
|
}
|
|
2904
|
-
var tmp1_safe_receiver = this.
|
|
2904
|
+
var tmp1_safe_receiver = this.t1j_1;
|
|
2905
2905
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.a1_1];
|
|
2906
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2906
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.q1j_1, this.r1j_1, newMode, this.t1j_1) : tmp2_elvis_lhs;
|
|
2907
2907
|
};
|
|
2908
2908
|
protoOf(StreamingJsonEncoder).fw = function (descriptor) {
|
|
2909
|
-
if (!(this.
|
|
2910
|
-
this.
|
|
2911
|
-
this.
|
|
2912
|
-
this.
|
|
2909
|
+
if (!(this.s1j_1.b1m_1 === _Char___init__impl__6a9atx(0))) {
|
|
2910
|
+
this.q1j_1.s1h();
|
|
2911
|
+
this.q1j_1.u1h();
|
|
2912
|
+
this.q1j_1.w1h(this.s1j_1.b1m_1);
|
|
2913
2913
|
}
|
|
2914
2914
|
};
|
|
2915
2915
|
protoOf(StreamingJsonEncoder).xw = function (descriptor, index) {
|
|
2916
|
-
switch (this.
|
|
2916
|
+
switch (this.s1j_1.a1_1) {
|
|
2917
2917
|
case 1:
|
|
2918
|
-
if (!this.
|
|
2919
|
-
this.
|
|
2918
|
+
if (!this.q1j_1.q1h_1) {
|
|
2919
|
+
this.q1j_1.w1h(_Char___init__impl__6a9atx(44));
|
|
2920
2920
|
}
|
|
2921
2921
|
|
|
2922
|
-
this.
|
|
2922
|
+
this.q1j_1.t1h();
|
|
2923
2923
|
break;
|
|
2924
2924
|
case 2:
|
|
2925
|
-
if (!this.
|
|
2925
|
+
if (!this.q1j_1.q1h_1) {
|
|
2926
2926
|
var tmp = this;
|
|
2927
2927
|
var tmp_0;
|
|
2928
2928
|
if ((index % 2 | 0) === 0) {
|
|
2929
|
-
this.
|
|
2930
|
-
this.
|
|
2929
|
+
this.q1j_1.w1h(_Char___init__impl__6a9atx(44));
|
|
2930
|
+
this.q1j_1.t1h();
|
|
2931
2931
|
tmp_0 = true;
|
|
2932
2932
|
} else {
|
|
2933
|
-
this.
|
|
2934
|
-
this.
|
|
2933
|
+
this.q1j_1.w1h(_Char___init__impl__6a9atx(58));
|
|
2934
|
+
this.q1j_1.v1h();
|
|
2935
2935
|
tmp_0 = false;
|
|
2936
2936
|
}
|
|
2937
|
-
tmp.
|
|
2937
|
+
tmp.w1j_1 = tmp_0;
|
|
2938
2938
|
} else {
|
|
2939
|
-
this.
|
|
2940
|
-
this.
|
|
2939
|
+
this.w1j_1 = true;
|
|
2940
|
+
this.q1j_1.t1h();
|
|
2941
2941
|
}
|
|
2942
2942
|
|
|
2943
2943
|
break;
|
|
2944
2944
|
case 3:
|
|
2945
2945
|
if (index === 0)
|
|
2946
|
-
this.
|
|
2946
|
+
this.w1j_1 = true;
|
|
2947
2947
|
if (index === 1) {
|
|
2948
|
-
this.
|
|
2949
|
-
this.
|
|
2950
|
-
this.
|
|
2948
|
+
this.q1j_1.w1h(_Char___init__impl__6a9atx(44));
|
|
2949
|
+
this.q1j_1.v1h();
|
|
2950
|
+
this.w1j_1 = false;
|
|
2951
2951
|
}
|
|
2952
2952
|
|
|
2953
2953
|
break;
|
|
2954
2954
|
default:
|
|
2955
|
-
if (!this.
|
|
2956
|
-
this.
|
|
2955
|
+
if (!this.q1j_1.q1h_1) {
|
|
2956
|
+
this.q1j_1.w1h(_Char___init__impl__6a9atx(44));
|
|
2957
2957
|
}
|
|
2958
2958
|
|
|
2959
|
-
this.
|
|
2960
|
-
this.ix(getJsonElementName(descriptor, this.
|
|
2961
|
-
this.
|
|
2962
|
-
this.
|
|
2959
|
+
this.q1j_1.t1h();
|
|
2960
|
+
this.ix(getJsonElementName(descriptor, this.r1j_1, index));
|
|
2961
|
+
this.q1j_1.w1h(_Char___init__impl__6a9atx(58));
|
|
2962
|
+
this.q1j_1.v1h();
|
|
2963
2963
|
break;
|
|
2964
2964
|
}
|
|
2965
2965
|
return true;
|
|
2966
2966
|
};
|
|
2967
2967
|
protoOf(StreamingJsonEncoder).wx = function (descriptor, index, serializer, value) {
|
|
2968
|
-
if (!(value == null) || this.
|
|
2968
|
+
if (!(value == null) || this.v1j_1.q1f_1) {
|
|
2969
2969
|
protoOf(AbstractEncoder).wx.call(this, descriptor, index, serializer, value);
|
|
2970
2970
|
}
|
|
2971
2971
|
};
|
|
@@ -2974,32 +2974,32 @@
|
|
|
2974
2974
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2975
2975
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2976
2976
|
var tmp_0;
|
|
2977
|
-
var tmp_1 = this.
|
|
2977
|
+
var tmp_1 = this.q1j_1;
|
|
2978
2978
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2979
|
-
tmp_0 = this.
|
|
2979
|
+
tmp_0 = this.q1j_1;
|
|
2980
2980
|
} else {
|
|
2981
|
-
var tmp0 = this.
|
|
2982
|
-
var p1 = this.
|
|
2981
|
+
var tmp0 = this.q1j_1.p1h_1;
|
|
2982
|
+
var p1 = this.w1j_1;
|
|
2983
2983
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
2984
2984
|
}
|
|
2985
2985
|
var tmp$ret$1 = tmp_0;
|
|
2986
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2986
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.r1j_1, this.s1j_1, null);
|
|
2987
2987
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2988
2988
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2989
2989
|
var tmp_2;
|
|
2990
|
-
var tmp_3 = this.
|
|
2990
|
+
var tmp_3 = this.q1j_1;
|
|
2991
2991
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2992
|
-
tmp_2 = this.
|
|
2992
|
+
tmp_2 = this.q1j_1;
|
|
2993
2993
|
} else {
|
|
2994
|
-
var tmp0_0 = this.
|
|
2995
|
-
var p1_0 = this.
|
|
2994
|
+
var tmp0_0 = this.q1j_1.p1h_1;
|
|
2995
|
+
var p1_0 = this.w1j_1;
|
|
2996
2996
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
2997
2997
|
}
|
|
2998
2998
|
var tmp$ret$3 = tmp_2;
|
|
2999
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
3000
|
-
} else if (!(this.
|
|
2999
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.r1j_1, this.s1j_1, null);
|
|
3000
|
+
} else if (!(this.x1j_1 == null)) {
|
|
3001
3001
|
// Inline function 'kotlin.apply' call
|
|
3002
|
-
this.
|
|
3002
|
+
this.y1j_1 = descriptor.ut();
|
|
3003
3003
|
tmp = this;
|
|
3004
3004
|
} else {
|
|
3005
3005
|
tmp = protoOf(AbstractEncoder).kx.call(this, descriptor);
|
|
@@ -3007,68 +3007,68 @@
|
|
|
3007
3007
|
return tmp;
|
|
3008
3008
|
};
|
|
3009
3009
|
protoOf(StreamingJsonEncoder).zw = function () {
|
|
3010
|
-
this.
|
|
3010
|
+
this.q1j_1.y1h('null');
|
|
3011
3011
|
};
|
|
3012
3012
|
protoOf(StreamingJsonEncoder).ax = function (value) {
|
|
3013
|
-
if (this.
|
|
3013
|
+
if (this.w1j_1) {
|
|
3014
3014
|
this.ix(value.toString());
|
|
3015
3015
|
} else {
|
|
3016
|
-
this.
|
|
3016
|
+
this.q1j_1.h1i(value);
|
|
3017
3017
|
}
|
|
3018
3018
|
};
|
|
3019
3019
|
protoOf(StreamingJsonEncoder).bx = function (value) {
|
|
3020
|
-
if (this.
|
|
3020
|
+
if (this.w1j_1) {
|
|
3021
3021
|
this.ix(value.toString());
|
|
3022
3022
|
} else {
|
|
3023
|
-
this.
|
|
3023
|
+
this.q1j_1.c1i(value);
|
|
3024
3024
|
}
|
|
3025
3025
|
};
|
|
3026
3026
|
protoOf(StreamingJsonEncoder).cx = function (value) {
|
|
3027
|
-
if (this.
|
|
3027
|
+
if (this.w1j_1) {
|
|
3028
3028
|
this.ix(value.toString());
|
|
3029
3029
|
} else {
|
|
3030
|
-
this.
|
|
3030
|
+
this.q1j_1.e1i(value);
|
|
3031
3031
|
}
|
|
3032
3032
|
};
|
|
3033
3033
|
protoOf(StreamingJsonEncoder).dx = function (value) {
|
|
3034
|
-
if (this.
|
|
3034
|
+
if (this.w1j_1) {
|
|
3035
3035
|
this.ix(value.toString());
|
|
3036
3036
|
} else {
|
|
3037
|
-
this.
|
|
3037
|
+
this.q1j_1.f1i(value);
|
|
3038
3038
|
}
|
|
3039
3039
|
};
|
|
3040
3040
|
protoOf(StreamingJsonEncoder).ex = function (value) {
|
|
3041
|
-
if (this.
|
|
3041
|
+
if (this.w1j_1) {
|
|
3042
3042
|
this.ix(value.toString());
|
|
3043
3043
|
} else {
|
|
3044
|
-
this.
|
|
3044
|
+
this.q1j_1.g1i(value);
|
|
3045
3045
|
}
|
|
3046
3046
|
};
|
|
3047
3047
|
protoOf(StreamingJsonEncoder).fx = function (value) {
|
|
3048
|
-
if (this.
|
|
3048
|
+
if (this.w1j_1) {
|
|
3049
3049
|
this.ix(value.toString());
|
|
3050
3050
|
} else {
|
|
3051
|
-
this.
|
|
3051
|
+
this.q1j_1.a1i(value);
|
|
3052
3052
|
}
|
|
3053
|
-
if (!this.
|
|
3054
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3053
|
+
if (!this.v1j_1.v1f_1 && !isFinite(value)) {
|
|
3054
|
+
throw InvalidFloatingPointEncoded(value, toString(this.q1j_1.p1h_1));
|
|
3055
3055
|
}
|
|
3056
3056
|
};
|
|
3057
3057
|
protoOf(StreamingJsonEncoder).gx = function (value) {
|
|
3058
|
-
if (this.
|
|
3058
|
+
if (this.w1j_1) {
|
|
3059
3059
|
this.ix(value.toString());
|
|
3060
3060
|
} else {
|
|
3061
|
-
this.
|
|
3061
|
+
this.q1j_1.b1i(value);
|
|
3062
3062
|
}
|
|
3063
|
-
if (!this.
|
|
3064
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3063
|
+
if (!this.v1j_1.v1f_1 && !isFinite_0(value)) {
|
|
3064
|
+
throw InvalidFloatingPointEncoded(value, toString(this.q1j_1.p1h_1));
|
|
3065
3065
|
}
|
|
3066
3066
|
};
|
|
3067
3067
|
protoOf(StreamingJsonEncoder).hx = function (value) {
|
|
3068
3068
|
this.ix(toString_1(value));
|
|
3069
3069
|
};
|
|
3070
3070
|
protoOf(StreamingJsonEncoder).ix = function (value) {
|
|
3071
|
-
return this.
|
|
3071
|
+
return this.q1j_1.i1i(value);
|
|
3072
3072
|
};
|
|
3073
3073
|
protoOf(StreamingJsonEncoder).jx = function (enumDescriptor, index) {
|
|
3074
3074
|
this.ix(enumDescriptor.qu(index));
|
|
@@ -3242,42 +3242,42 @@
|
|
|
3242
3242
|
}
|
|
3243
3243
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
3244
3244
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
3245
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
3245
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.n1m(tag), toString($this.o1m()));
|
|
3246
3246
|
}
|
|
3247
3247
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
3248
3248
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3249
3249
|
NamedValueDecoder.call(this);
|
|
3250
|
-
this.
|
|
3251
|
-
this.
|
|
3252
|
-
this.
|
|
3253
|
-
this.
|
|
3250
|
+
this.j1m_1 = json;
|
|
3251
|
+
this.k1m_1 = value;
|
|
3252
|
+
this.l1m_1 = polymorphicDiscriminator;
|
|
3253
|
+
this.m1m_1 = this.d1g().z1d_1;
|
|
3254
3254
|
}
|
|
3255
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3256
|
-
return this.
|
|
3255
|
+
protoOf(AbstractJsonTreeDecoder).d1g = function () {
|
|
3256
|
+
return this.j1m_1;
|
|
3257
3257
|
};
|
|
3258
3258
|
protoOf(AbstractJsonTreeDecoder).n1 = function () {
|
|
3259
|
-
return this.
|
|
3259
|
+
return this.k1m_1;
|
|
3260
3260
|
};
|
|
3261
3261
|
protoOf(AbstractJsonTreeDecoder).at = function () {
|
|
3262
|
-
return this.
|
|
3262
|
+
return this.d1g().at();
|
|
3263
3263
|
};
|
|
3264
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3264
|
+
protoOf(AbstractJsonTreeDecoder).o1m = function () {
|
|
3265
3265
|
var tmp0_safe_receiver = this.n1a();
|
|
3266
3266
|
var tmp;
|
|
3267
3267
|
if (tmp0_safe_receiver == null) {
|
|
3268
3268
|
tmp = null;
|
|
3269
3269
|
} else {
|
|
3270
3270
|
// Inline function 'kotlin.let' call
|
|
3271
|
-
tmp = this.
|
|
3271
|
+
tmp = this.p1m(tmp0_safe_receiver);
|
|
3272
3272
|
}
|
|
3273
3273
|
var tmp1_elvis_lhs = tmp;
|
|
3274
3274
|
return tmp1_elvis_lhs == null ? this.n1() : tmp1_elvis_lhs;
|
|
3275
3275
|
};
|
|
3276
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3276
|
+
protoOf(AbstractJsonTreeDecoder).n1m = function (currentTag) {
|
|
3277
3277
|
return this.p1a() + ('.' + currentTag);
|
|
3278
3278
|
};
|
|
3279
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3280
|
-
return this.
|
|
3279
|
+
protoOf(AbstractJsonTreeDecoder).e1g = function () {
|
|
3280
|
+
return this.o1m();
|
|
3281
3281
|
};
|
|
3282
3282
|
protoOf(AbstractJsonTreeDecoder).et = function (deserializer) {
|
|
3283
3283
|
var tmp$ret$0;
|
|
@@ -3287,14 +3287,14 @@
|
|
|
3287
3287
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3288
3288
|
tmp = true;
|
|
3289
3289
|
} else {
|
|
3290
|
-
tmp = this.
|
|
3290
|
+
tmp = this.d1g().z1d_1.t1f_1;
|
|
3291
3291
|
}
|
|
3292
3292
|
if (tmp) {
|
|
3293
3293
|
tmp$ret$0 = deserializer.dt(this);
|
|
3294
3294
|
break $l$block;
|
|
3295
3295
|
}
|
|
3296
|
-
var discriminator = classDiscriminator(deserializer.ps(), this.
|
|
3297
|
-
var tmp0 = this.
|
|
3296
|
+
var discriminator = classDiscriminator(deserializer.ps(), this.d1g());
|
|
3297
|
+
var tmp0 = this.e1g();
|
|
3298
3298
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3299
3299
|
var serialName = deserializer.ps().ut();
|
|
3300
3300
|
if (!(tmp0 instanceof JsonObject)) {
|
|
@@ -3304,7 +3304,7 @@
|
|
|
3304
3304
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
3305
3305
|
}
|
|
3306
3306
|
var jsonTree = tmp0;
|
|
3307
|
-
var tmp0_safe_receiver = jsonTree.
|
|
3307
|
+
var tmp0_safe_receiver = jsonTree.k1g(discriminator);
|
|
3308
3308
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
3309
3309
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
3310
3310
|
var tmp_2;
|
|
@@ -3321,7 +3321,7 @@
|
|
|
3321
3321
|
}
|
|
3322
3322
|
var tmp_4 = tmp_2;
|
|
3323
3323
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3324
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3324
|
+
tmp$ret$0 = readPolymorphicJson(this.d1g(), discriminator, jsonTree, actualSerializer);
|
|
3325
3325
|
}
|
|
3326
3326
|
return tmp$ret$0;
|
|
3327
3327
|
};
|
|
@@ -3329,7 +3329,7 @@
|
|
|
3329
3329
|
return childName;
|
|
3330
3330
|
};
|
|
3331
3331
|
protoOf(AbstractJsonTreeDecoder).ew = function (descriptor) {
|
|
3332
|
-
var currentObject = this.
|
|
3332
|
+
var currentObject = this.o1m();
|
|
3333
3333
|
var tmp0_subject = descriptor.nu();
|
|
3334
3334
|
var tmp;
|
|
3335
3335
|
var tmp_0;
|
|
@@ -3339,7 +3339,7 @@
|
|
|
3339
3339
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3340
3340
|
}
|
|
3341
3341
|
if (tmp_0) {
|
|
3342
|
-
var tmp_1 = this.
|
|
3342
|
+
var tmp_1 = this.d1g();
|
|
3343
3343
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3344
3344
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3345
3345
|
var serialName = descriptor.ut();
|
|
@@ -3353,7 +3353,7 @@
|
|
|
3353
3353
|
} else {
|
|
3354
3354
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3355
3355
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3356
|
-
var this_0 = this.
|
|
3356
|
+
var this_0 = this.d1g();
|
|
3357
3357
|
var keyDescriptor = carrierDescriptor(descriptor.tu(0), this_0.at());
|
|
3358
3358
|
var keyKind = keyDescriptor.nu();
|
|
3359
3359
|
var tmp_4;
|
|
@@ -3364,7 +3364,7 @@
|
|
|
3364
3364
|
tmp_5 = equals(keyKind, ENUM_getInstance());
|
|
3365
3365
|
}
|
|
3366
3366
|
if (tmp_5) {
|
|
3367
|
-
var tmp_6 = this.
|
|
3367
|
+
var tmp_6 = this.d1g();
|
|
3368
3368
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3369
3369
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3370
3370
|
var serialName_0 = descriptor.ut();
|
|
@@ -3376,8 +3376,8 @@
|
|
|
3376
3376
|
}
|
|
3377
3377
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
3378
3378
|
} else {
|
|
3379
|
-
if (this_0.
|
|
3380
|
-
var tmp_9 = this.
|
|
3379
|
+
if (this_0.z1d_1.o1f_1) {
|
|
3380
|
+
var tmp_9 = this.d1g();
|
|
3381
3381
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3382
3382
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3383
3383
|
var serialName_1 = descriptor.ut();
|
|
@@ -3394,7 +3394,7 @@
|
|
|
3394
3394
|
}
|
|
3395
3395
|
tmp = tmp_4;
|
|
3396
3396
|
} else {
|
|
3397
|
-
var tmp_12 = this.
|
|
3397
|
+
var tmp_12 = this.d1g();
|
|
3398
3398
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3399
3399
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3400
3400
|
var serialName_2 = descriptor.ut();
|
|
@@ -3404,7 +3404,7 @@
|
|
|
3404
3404
|
var tmp$ret$12 = this.p1a();
|
|
3405
3405
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$12, toString(currentObject));
|
|
3406
3406
|
}
|
|
3407
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
3407
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.l1m_1);
|
|
3408
3408
|
}
|
|
3409
3409
|
}
|
|
3410
3410
|
return tmp;
|
|
@@ -3412,44 +3412,44 @@
|
|
|
3412
3412
|
protoOf(AbstractJsonTreeDecoder).fw = function (descriptor) {
|
|
3413
3413
|
};
|
|
3414
3414
|
protoOf(AbstractJsonTreeDecoder).qv = function () {
|
|
3415
|
-
var tmp = this.
|
|
3415
|
+
var tmp = this.o1m();
|
|
3416
3416
|
return !(tmp instanceof JsonNull);
|
|
3417
3417
|
};
|
|
3418
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3419
|
-
var tmp = this.
|
|
3418
|
+
protoOf(AbstractJsonTreeDecoder).q1m = function (tag, enumDescriptor) {
|
|
3419
|
+
var tmp = this.d1g();
|
|
3420
3420
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3421
|
-
var tmp2 = this.
|
|
3421
|
+
var tmp2 = this.p1m(tag);
|
|
3422
3422
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3423
3423
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3424
3424
|
var serialName = enumDescriptor.ut();
|
|
3425
3425
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3426
3426
|
var tmp_0 = getKClass(JsonPrimitive).o();
|
|
3427
3427
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3428
|
-
var tmp$ret$0 = this.
|
|
3428
|
+
var tmp$ret$0 = this.n1m(tag);
|
|
3429
3429
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3430
3430
|
}
|
|
3431
|
-
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.
|
|
3431
|
+
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.g1g());
|
|
3432
3432
|
};
|
|
3433
3433
|
protoOf(AbstractJsonTreeDecoder).b1b = function (tag, enumDescriptor) {
|
|
3434
|
-
return this.
|
|
3434
|
+
return this.q1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3435
3435
|
};
|
|
3436
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3437
|
-
return !(this.
|
|
3436
|
+
protoOf(AbstractJsonTreeDecoder).r1m = function (tag) {
|
|
3437
|
+
return !(this.p1m(tag) === JsonNull_getInstance());
|
|
3438
3438
|
};
|
|
3439
3439
|
protoOf(AbstractJsonTreeDecoder).r1a = function (tag) {
|
|
3440
|
-
return this.
|
|
3440
|
+
return this.r1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3441
3441
|
};
|
|
3442
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3442
|
+
protoOf(AbstractJsonTreeDecoder).s1m = function (tag) {
|
|
3443
3443
|
var tmp$ret$4;
|
|
3444
3444
|
$l$block: {
|
|
3445
3445
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3446
3446
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3447
3447
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3448
|
-
var value = this.
|
|
3448
|
+
var value = this.p1m(tag);
|
|
3449
3449
|
if (!(value instanceof JsonPrimitive)) {
|
|
3450
3450
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3451
3451
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3452
|
-
var tmp$ret$0 = this.
|
|
3452
|
+
var tmp$ret$0 = this.n1m(tag);
|
|
3453
3453
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3454
3454
|
}
|
|
3455
3455
|
var literal = value;
|
|
@@ -3475,19 +3475,19 @@
|
|
|
3475
3475
|
return tmp$ret$4;
|
|
3476
3476
|
};
|
|
3477
3477
|
protoOf(AbstractJsonTreeDecoder).s1a = function (tag) {
|
|
3478
|
-
return this.
|
|
3478
|
+
return this.s1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3479
3479
|
};
|
|
3480
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3480
|
+
protoOf(AbstractJsonTreeDecoder).t1m = 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.p1m(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.n1m(tag);
|
|
3491
3491
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' 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).t1a = function (tag) {
|
|
3525
|
-
return this.
|
|
3525
|
+
return this.t1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3526
3526
|
};
|
|
3527
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3527
|
+
protoOf(AbstractJsonTreeDecoder).u1m = 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.p1m(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.n1m(tag);
|
|
3538
3538
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' 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).u1a = function (tag) {
|
|
3572
|
-
return this.
|
|
3572
|
+
return this.u1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3573
3573
|
};
|
|
3574
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3574
|
+
protoOf(AbstractJsonTreeDecoder).v1m = function (tag) {
|
|
3575
3575
|
var tmp$ret$5;
|
|
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.p1m(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.n1m(tag);
|
|
3585
3585
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3586
3586
|
}
|
|
3587
3587
|
var literal = value;
|
|
@@ -3616,19 +3616,19 @@
|
|
|
3616
3616
|
return tmp$ret$5;
|
|
3617
3617
|
};
|
|
3618
3618
|
protoOf(AbstractJsonTreeDecoder).v1a = function (tag) {
|
|
3619
|
-
return this.
|
|
3619
|
+
return this.v1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3620
3620
|
};
|
|
3621
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3621
|
+
protoOf(AbstractJsonTreeDecoder).w1m = function (tag) {
|
|
3622
3622
|
var tmp$ret$4;
|
|
3623
3623
|
$l$block: {
|
|
3624
3624
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3625
3625
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3626
3626
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3627
|
-
var value = this.
|
|
3627
|
+
var value = this.p1m(tag);
|
|
3628
3628
|
if (!(value instanceof JsonPrimitive)) {
|
|
3629
3629
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3630
3630
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3631
|
-
var tmp$ret$0 = this.
|
|
3631
|
+
var tmp$ret$0 = this.n1m(tag);
|
|
3632
3632
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3633
3633
|
}
|
|
3634
3634
|
var literal = value;
|
|
@@ -3654,19 +3654,19 @@
|
|
|
3654
3654
|
return tmp$ret$4;
|
|
3655
3655
|
};
|
|
3656
3656
|
protoOf(AbstractJsonTreeDecoder).w1a = function (tag) {
|
|
3657
|
-
return this.
|
|
3657
|
+
return this.w1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3658
3658
|
};
|
|
3659
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3659
|
+
protoOf(AbstractJsonTreeDecoder).x1m = function (tag) {
|
|
3660
3660
|
var tmp$ret$4;
|
|
3661
3661
|
$l$block: {
|
|
3662
3662
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3663
3663
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3664
3664
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3665
|
-
var value = this.
|
|
3665
|
+
var value = this.p1m(tag);
|
|
3666
3666
|
if (!(value instanceof JsonPrimitive)) {
|
|
3667
3667
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3668
3668
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3669
|
-
var tmp$ret$0 = this.
|
|
3669
|
+
var tmp$ret$0 = this.n1m(tag);
|
|
3670
3670
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3671
3671
|
}
|
|
3672
3672
|
var literal = value;
|
|
@@ -3690,25 +3690,25 @@
|
|
|
3690
3690
|
}
|
|
3691
3691
|
}
|
|
3692
3692
|
var result = tmp$ret$4;
|
|
3693
|
-
var specialFp = this.
|
|
3693
|
+
var specialFp = this.d1g().z1d_1.v1f_1;
|
|
3694
3694
|
if (specialFp || isFinite(result))
|
|
3695
3695
|
return result;
|
|
3696
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3696
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.o1m()));
|
|
3697
3697
|
};
|
|
3698
3698
|
protoOf(AbstractJsonTreeDecoder).x1a = function (tag) {
|
|
3699
|
-
return this.
|
|
3699
|
+
return this.x1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3700
3700
|
};
|
|
3701
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3701
|
+
protoOf(AbstractJsonTreeDecoder).y1m = function (tag) {
|
|
3702
3702
|
var tmp$ret$4;
|
|
3703
3703
|
$l$block: {
|
|
3704
3704
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3705
3705
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3706
3706
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3707
|
-
var value = this.
|
|
3707
|
+
var value = this.p1m(tag);
|
|
3708
3708
|
if (!(value instanceof JsonPrimitive)) {
|
|
3709
3709
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3710
3710
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3711
|
-
var tmp$ret$0 = this.
|
|
3711
|
+
var tmp$ret$0 = this.n1m(tag);
|
|
3712
3712
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3713
3713
|
}
|
|
3714
3714
|
var literal = value;
|
|
@@ -3732,30 +3732,30 @@
|
|
|
3732
3732
|
}
|
|
3733
3733
|
}
|
|
3734
3734
|
var result = tmp$ret$4;
|
|
3735
|
-
var specialFp = this.
|
|
3735
|
+
var specialFp = this.d1g().z1d_1.v1f_1;
|
|
3736
3736
|
if (specialFp || isFinite_0(result))
|
|
3737
3737
|
return result;
|
|
3738
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3738
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.o1m()));
|
|
3739
3739
|
};
|
|
3740
3740
|
protoOf(AbstractJsonTreeDecoder).y1a = function (tag) {
|
|
3741
|
-
return this.
|
|
3741
|
+
return this.y1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3742
3742
|
};
|
|
3743
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3743
|
+
protoOf(AbstractJsonTreeDecoder).z1m = function (tag) {
|
|
3744
3744
|
var tmp$ret$4;
|
|
3745
3745
|
$l$block: {
|
|
3746
3746
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3747
3747
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3748
3748
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3749
|
-
var value = this.
|
|
3749
|
+
var value = this.p1m(tag);
|
|
3750
3750
|
if (!(value instanceof JsonPrimitive)) {
|
|
3751
3751
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3752
3752
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3753
|
-
var tmp$ret$0 = this.
|
|
3753
|
+
var tmp$ret$0 = this.n1m(tag);
|
|
3754
3754
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3755
3755
|
}
|
|
3756
3756
|
var literal = value;
|
|
3757
3757
|
try {
|
|
3758
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3758
|
+
var tmp0_elvis_lhs = new Char(single(literal.g1g()));
|
|
3759
3759
|
var tmp_1;
|
|
3760
3760
|
if (tmp0_elvis_lhs == null) {
|
|
3761
3761
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3776,80 +3776,80 @@
|
|
|
3776
3776
|
return tmp$ret$4;
|
|
3777
3777
|
};
|
|
3778
3778
|
protoOf(AbstractJsonTreeDecoder).z1a = function (tag) {
|
|
3779
|
-
return this.
|
|
3779
|
+
return this.z1m((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3780
3780
|
};
|
|
3781
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3781
|
+
protoOf(AbstractJsonTreeDecoder).a1n = function (tag) {
|
|
3782
3782
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3783
3783
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3784
|
-
var value = this.
|
|
3784
|
+
var value = this.p1m(tag);
|
|
3785
3785
|
if (!(value instanceof JsonPrimitive)) {
|
|
3786
3786
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3787
3787
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3788
|
-
var tmp$ret$0 = this.
|
|
3788
|
+
var tmp$ret$0 = this.n1m(tag);
|
|
3789
3789
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3790
3790
|
}
|
|
3791
3791
|
var value_0 = value;
|
|
3792
3792
|
if (!(value_0 instanceof JsonLiteral))
|
|
3793
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3794
|
-
if (!value_0.
|
|
3795
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3793
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.n1m(tag), toString(this.o1m()));
|
|
3794
|
+
if (!value_0.s1g_1 && !this.d1g().z1d_1.n1f_1) {
|
|
3795
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.n1m(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.o1m()));
|
|
3796
3796
|
}
|
|
3797
|
-
return value_0.
|
|
3797
|
+
return value_0.u1g_1;
|
|
3798
3798
|
};
|
|
3799
3799
|
protoOf(AbstractJsonTreeDecoder).a1b = function (tag) {
|
|
3800
|
-
return this.
|
|
3800
|
+
return this.a1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3801
3801
|
};
|
|
3802
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3802
|
+
protoOf(AbstractJsonTreeDecoder).b1n = function (tag, inlineDescriptor) {
|
|
3803
3803
|
var tmp;
|
|
3804
3804
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3805
|
-
var tmp_0 = this.
|
|
3805
|
+
var tmp_0 = this.d1g();
|
|
3806
3806
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3807
|
-
var tmp2 = this.
|
|
3807
|
+
var tmp2 = this.p1m(tag);
|
|
3808
3808
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3809
3809
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3810
3810
|
var serialName = inlineDescriptor.ut();
|
|
3811
3811
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3812
3812
|
var tmp_1 = getKClass(JsonPrimitive).o();
|
|
3813
3813
|
var tmp_2 = getKClassFromExpression(tmp2).o();
|
|
3814
|
-
var tmp$ret$0 = this.
|
|
3814
|
+
var tmp$ret$0 = this.n1m(tag);
|
|
3815
3815
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3816
3816
|
}
|
|
3817
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
3818
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3817
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.g1g());
|
|
3818
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.d1g());
|
|
3819
3819
|
} else {
|
|
3820
3820
|
tmp = protoOf(NamedValueDecoder).c1b.call(this, tag, inlineDescriptor);
|
|
3821
3821
|
}
|
|
3822
3822
|
return tmp;
|
|
3823
3823
|
};
|
|
3824
3824
|
protoOf(AbstractJsonTreeDecoder).c1b = function (tag, inlineDescriptor) {
|
|
3825
|
-
return this.
|
|
3825
|
+
return this.b1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3826
3826
|
};
|
|
3827
3827
|
protoOf(AbstractJsonTreeDecoder).cw = function (descriptor) {
|
|
3828
|
-
return !(this.n1a() == null) ? protoOf(NamedValueDecoder).cw.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
3828
|
+
return !(this.n1a() == null) ? protoOf(NamedValueDecoder).cw.call(this, descriptor) : (new JsonPrimitiveDecoder(this.d1g(), this.n1(), this.l1m_1)).cw(descriptor);
|
|
3829
3829
|
};
|
|
3830
3830
|
function setForceNull($this, descriptor, index) {
|
|
3831
|
-
$this.
|
|
3832
|
-
return $this.
|
|
3831
|
+
$this.l1n_1 = (!$this.d1g().z1d_1.q1f_1 && !descriptor.uu(index) && descriptor.tu(index).gu());
|
|
3832
|
+
return $this.l1n_1;
|
|
3833
3833
|
}
|
|
3834
3834
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3835
3835
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3836
3836
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3837
3837
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3838
|
-
this.
|
|
3839
|
-
this.
|
|
3840
|
-
this.
|
|
3841
|
-
this.
|
|
3838
|
+
this.i1n_1 = value;
|
|
3839
|
+
this.j1n_1 = polyDescriptor;
|
|
3840
|
+
this.k1n_1 = 0;
|
|
3841
|
+
this.l1n_1 = false;
|
|
3842
3842
|
}
|
|
3843
3843
|
protoOf(JsonTreeDecoder).n1 = function () {
|
|
3844
|
-
return this.
|
|
3844
|
+
return this.i1n_1;
|
|
3845
3845
|
};
|
|
3846
3846
|
protoOf(JsonTreeDecoder).vw = function (descriptor) {
|
|
3847
|
-
$l$loop: while (this.
|
|
3848
|
-
var _unary__edvuaz = this.
|
|
3849
|
-
this.
|
|
3847
|
+
$l$loop: while (this.k1n_1 < descriptor.pu()) {
|
|
3848
|
+
var _unary__edvuaz = this.k1n_1;
|
|
3849
|
+
this.k1n_1 = _unary__edvuaz + 1 | 0;
|
|
3850
3850
|
var name = this.i1a(descriptor, _unary__edvuaz);
|
|
3851
|
-
var index = this.
|
|
3852
|
-
this.
|
|
3851
|
+
var index = this.k1n_1 - 1 | 0;
|
|
3852
|
+
this.l1n_1 = false;
|
|
3853
3853
|
var tmp;
|
|
3854
3854
|
// Inline function 'kotlin.collections.contains' call
|
|
3855
3855
|
// Inline function 'kotlin.collections.containsKey' call
|
|
@@ -3860,9 +3860,9 @@
|
|
|
3860
3860
|
tmp = setForceNull(this, descriptor, index);
|
|
3861
3861
|
}
|
|
3862
3862
|
if (tmp) {
|
|
3863
|
-
if (!this.
|
|
3863
|
+
if (!this.m1m_1.s1f_1)
|
|
3864
3864
|
return index;
|
|
3865
|
-
var tmp0 = this.
|
|
3865
|
+
var tmp0 = this.d1g();
|
|
3866
3866
|
var tmp$ret$3;
|
|
3867
3867
|
$l$block_2: {
|
|
3868
3868
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -3870,7 +3870,7 @@
|
|
|
3870
3870
|
var elementDescriptor = descriptor.tu(index);
|
|
3871
3871
|
var tmp_0;
|
|
3872
3872
|
if (isOptional && !elementDescriptor.gu()) {
|
|
3873
|
-
var tmp_1 = this.
|
|
3873
|
+
var tmp_1 = this.m1n(name);
|
|
3874
3874
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
3875
3875
|
} else {
|
|
3876
3876
|
tmp_0 = false;
|
|
@@ -3882,7 +3882,7 @@
|
|
|
3882
3882
|
if (equals(elementDescriptor.nu(), ENUM_getInstance())) {
|
|
3883
3883
|
var tmp_2;
|
|
3884
3884
|
if (elementDescriptor.gu()) {
|
|
3885
|
-
var tmp_3 = this.
|
|
3885
|
+
var tmp_3 = this.m1n(name);
|
|
3886
3886
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
3887
3887
|
} else {
|
|
3888
3888
|
tmp_2 = false;
|
|
@@ -3891,7 +3891,7 @@
|
|
|
3891
3891
|
tmp$ret$3 = false;
|
|
3892
3892
|
break $l$block_2;
|
|
3893
3893
|
}
|
|
3894
|
-
var tmp_4 = this.
|
|
3894
|
+
var tmp_4 = this.m1n(name);
|
|
3895
3895
|
var tmp0_safe_receiver = tmp_4 instanceof JsonPrimitive ? tmp_4 : null;
|
|
3896
3896
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3897
3897
|
var tmp_5;
|
|
@@ -3903,7 +3903,7 @@
|
|
|
3903
3903
|
}
|
|
3904
3904
|
var enumValue = tmp_5;
|
|
3905
3905
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3906
|
-
var coerceToNull = !tmp0.
|
|
3906
|
+
var coerceToNull = !tmp0.z1d_1.q1f_1 && elementDescriptor.gu();
|
|
3907
3907
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3908
3908
|
if (setForceNull(this, descriptor, index))
|
|
3909
3909
|
return index;
|
|
@@ -3921,18 +3921,18 @@
|
|
|
3921
3921
|
return -1;
|
|
3922
3922
|
};
|
|
3923
3923
|
protoOf(JsonTreeDecoder).qv = function () {
|
|
3924
|
-
return !this.
|
|
3924
|
+
return !this.l1n_1 && protoOf(AbstractJsonTreeDecoder).qv.call(this);
|
|
3925
3925
|
};
|
|
3926
3926
|
protoOf(JsonTreeDecoder).j1a = function (descriptor, index) {
|
|
3927
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3927
|
+
var strategy = namingStrategy(descriptor, this.d1g());
|
|
3928
3928
|
var baseName = descriptor.qu(index);
|
|
3929
3929
|
if (strategy == null) {
|
|
3930
|
-
if (!this.
|
|
3930
|
+
if (!this.m1m_1.w1f_1)
|
|
3931
3931
|
return baseName;
|
|
3932
3932
|
if (this.n1().a3().q2(baseName))
|
|
3933
3933
|
return baseName;
|
|
3934
3934
|
}
|
|
3935
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3935
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.d1g(), descriptor);
|
|
3936
3936
|
// Inline function 'kotlin.collections.find' call
|
|
3937
3937
|
var tmp0 = this.n1().a3();
|
|
3938
3938
|
var tmp$ret$1;
|
|
@@ -3955,35 +3955,35 @@
|
|
|
3955
3955
|
// Inline function 'kotlin.let' call
|
|
3956
3956
|
return tmp0_safe_receiver;
|
|
3957
3957
|
}
|
|
3958
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3958
|
+
var fallbackName = strategy == null ? null : strategy.d1j(descriptor, index, baseName);
|
|
3959
3959
|
return fallbackName == null ? baseName : fallbackName;
|
|
3960
3960
|
};
|
|
3961
|
-
protoOf(JsonTreeDecoder).
|
|
3961
|
+
protoOf(JsonTreeDecoder).p1m = function (tag) {
|
|
3962
3962
|
return getValue(this.n1(), tag);
|
|
3963
3963
|
};
|
|
3964
|
-
protoOf(JsonTreeDecoder).
|
|
3965
|
-
return this.n1().
|
|
3964
|
+
protoOf(JsonTreeDecoder).m1n = function (tag) {
|
|
3965
|
+
return this.n1().k1g(tag);
|
|
3966
3966
|
};
|
|
3967
3967
|
protoOf(JsonTreeDecoder).ew = function (descriptor) {
|
|
3968
|
-
if (descriptor === this.
|
|
3969
|
-
var tmp = this.
|
|
3970
|
-
var tmp2 = this.
|
|
3968
|
+
if (descriptor === this.j1n_1) {
|
|
3969
|
+
var tmp = this.d1g();
|
|
3970
|
+
var tmp2 = this.o1m();
|
|
3971
3971
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3972
3972
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3973
|
-
var serialName = this.
|
|
3973
|
+
var serialName = this.j1n_1.ut();
|
|
3974
3974
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3975
3975
|
var tmp_0 = getKClass(JsonObject).o();
|
|
3976
3976
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3977
3977
|
var tmp$ret$0 = this.p1a();
|
|
3978
3978
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3979
3979
|
}
|
|
3980
|
-
return new JsonTreeDecoder(tmp, tmp2, this.
|
|
3980
|
+
return new JsonTreeDecoder(tmp, tmp2, this.l1m_1, this.j1n_1);
|
|
3981
3981
|
}
|
|
3982
3982
|
return protoOf(AbstractJsonTreeDecoder).ew.call(this, descriptor);
|
|
3983
3983
|
};
|
|
3984
3984
|
protoOf(JsonTreeDecoder).fw = function (descriptor) {
|
|
3985
3985
|
var tmp;
|
|
3986
|
-
if (ignoreUnknownKeys(descriptor, this.
|
|
3986
|
+
if (ignoreUnknownKeys(descriptor, this.d1g())) {
|
|
3987
3987
|
tmp = true;
|
|
3988
3988
|
} else {
|
|
3989
3989
|
var tmp_0 = descriptor.nu();
|
|
@@ -3991,15 +3991,15 @@
|
|
|
3991
3991
|
}
|
|
3992
3992
|
if (tmp)
|
|
3993
3993
|
return Unit_instance;
|
|
3994
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3994
|
+
var strategy = namingStrategy(descriptor, this.d1g());
|
|
3995
3995
|
var tmp_1;
|
|
3996
|
-
if (strategy == null && !this.
|
|
3996
|
+
if (strategy == null && !this.m1m_1.w1f_1) {
|
|
3997
3997
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3998
3998
|
} else if (!(strategy == null)) {
|
|
3999
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3999
|
+
tmp_1 = deserializationNamesMap(this.d1g(), descriptor).a3();
|
|
4000
4000
|
} else {
|
|
4001
4001
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
4002
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
4002
|
+
var tmp0_safe_receiver = get_schemaCache(this.d1g()).n1l(descriptor, get_JsonDeserializationNamesKey());
|
|
4003
4003
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
4004
4004
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a3();
|
|
4005
4005
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -4009,76 +4009,76 @@
|
|
|
4009
4009
|
var _iterator__ex2g4s = this.n1().a3().t();
|
|
4010
4010
|
while (_iterator__ex2g4s.u()) {
|
|
4011
4011
|
var key = _iterator__ex2g4s.v();
|
|
4012
|
-
if (!names.q2(key) && !(key === this.
|
|
4012
|
+
if (!names.q2(key) && !(key === this.l1m_1)) {
|
|
4013
4013
|
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.p1a() + '\n' + "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.n1().toString()))));
|
|
4014
4014
|
}
|
|
4015
4015
|
}
|
|
4016
4016
|
};
|
|
4017
4017
|
function JsonTreeListDecoder(json, value) {
|
|
4018
4018
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
4019
|
-
this.
|
|
4020
|
-
this.
|
|
4021
|
-
this.
|
|
4019
|
+
this.t1n_1 = value;
|
|
4020
|
+
this.u1n_1 = this.t1n_1.g1();
|
|
4021
|
+
this.v1n_1 = -1;
|
|
4022
4022
|
}
|
|
4023
4023
|
protoOf(JsonTreeListDecoder).n1 = function () {
|
|
4024
|
-
return this.
|
|
4024
|
+
return this.t1n_1;
|
|
4025
4025
|
};
|
|
4026
4026
|
protoOf(JsonTreeListDecoder).j1a = function (descriptor, index) {
|
|
4027
4027
|
return index.toString();
|
|
4028
4028
|
};
|
|
4029
|
-
protoOf(JsonTreeListDecoder).
|
|
4030
|
-
return this.
|
|
4029
|
+
protoOf(JsonTreeListDecoder).p1m = function (tag) {
|
|
4030
|
+
return this.t1n_1.h1(toInt(tag));
|
|
4031
4031
|
};
|
|
4032
4032
|
protoOf(JsonTreeListDecoder).vw = function (descriptor) {
|
|
4033
|
-
while (this.
|
|
4034
|
-
this.
|
|
4035
|
-
return this.
|
|
4033
|
+
while (this.v1n_1 < (this.u1n_1 - 1 | 0)) {
|
|
4034
|
+
this.v1n_1 = this.v1n_1 + 1 | 0;
|
|
4035
|
+
return this.v1n_1;
|
|
4036
4036
|
}
|
|
4037
4037
|
return -1;
|
|
4038
4038
|
};
|
|
4039
4039
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
4040
4040
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
4041
4041
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
4042
|
-
this.
|
|
4042
|
+
this.c1o_1 = value;
|
|
4043
4043
|
this.d1b('primitive');
|
|
4044
4044
|
}
|
|
4045
4045
|
protoOf(JsonPrimitiveDecoder).n1 = function () {
|
|
4046
|
-
return this.
|
|
4046
|
+
return this.c1o_1;
|
|
4047
4047
|
};
|
|
4048
4048
|
protoOf(JsonPrimitiveDecoder).vw = function (descriptor) {
|
|
4049
4049
|
return 0;
|
|
4050
4050
|
};
|
|
4051
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4051
|
+
protoOf(JsonPrimitiveDecoder).p1m = function (tag) {
|
|
4052
4052
|
// Inline function 'kotlin.require' call
|
|
4053
4053
|
if (!(tag === 'primitive')) {
|
|
4054
4054
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
4055
4055
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
4056
4056
|
}
|
|
4057
|
-
return this.
|
|
4057
|
+
return this.c1o_1;
|
|
4058
4058
|
};
|
|
4059
4059
|
function JsonTreeMapDecoder(json, value) {
|
|
4060
4060
|
JsonTreeDecoder.call(this, json, value);
|
|
4061
|
-
this.
|
|
4062
|
-
this.
|
|
4063
|
-
this.
|
|
4064
|
-
this.
|
|
4061
|
+
this.n1o_1 = value;
|
|
4062
|
+
this.o1o_1 = toList(this.n1o_1.a3());
|
|
4063
|
+
this.p1o_1 = imul(this.o1o_1.g1(), 2);
|
|
4064
|
+
this.q1o_1 = -1;
|
|
4065
4065
|
}
|
|
4066
4066
|
protoOf(JsonTreeMapDecoder).n1 = function () {
|
|
4067
|
-
return this.
|
|
4067
|
+
return this.n1o_1;
|
|
4068
4068
|
};
|
|
4069
4069
|
protoOf(JsonTreeMapDecoder).j1a = function (descriptor, index) {
|
|
4070
4070
|
var i = index / 2 | 0;
|
|
4071
|
-
return this.
|
|
4071
|
+
return this.o1o_1.h1(i);
|
|
4072
4072
|
};
|
|
4073
4073
|
protoOf(JsonTreeMapDecoder).vw = function (descriptor) {
|
|
4074
|
-
while (this.
|
|
4075
|
-
this.
|
|
4076
|
-
return this.
|
|
4074
|
+
while (this.q1o_1 < (this.p1o_1 - 1 | 0)) {
|
|
4075
|
+
this.q1o_1 = this.q1o_1 + 1 | 0;
|
|
4076
|
+
return this.q1o_1;
|
|
4077
4077
|
}
|
|
4078
4078
|
return -1;
|
|
4079
4079
|
};
|
|
4080
|
-
protoOf(JsonTreeMapDecoder).
|
|
4081
|
-
return (this.
|
|
4080
|
+
protoOf(JsonTreeMapDecoder).p1m = function (tag) {
|
|
4081
|
+
return (this.q1o_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.n1o_1, tag);
|
|
4082
4082
|
};
|
|
4083
4083
|
protoOf(JsonTreeMapDecoder).fw = function (descriptor) {
|
|
4084
4084
|
};
|
|
@@ -4110,8 +4110,8 @@
|
|
|
4110
4110
|
var $ENTRIES;
|
|
4111
4111
|
function WriteMode(name, ordinal, begin, end) {
|
|
4112
4112
|
Enum.call(this, name, ordinal);
|
|
4113
|
-
this.
|
|
4114
|
-
this.
|
|
4113
|
+
this.a1m_1 = begin;
|
|
4114
|
+
this.b1m_1 = end;
|
|
4115
4115
|
}
|
|
4116
4116
|
function switchMode(_this__u8e3s4, desc) {
|
|
4117
4117
|
var tmp0_subject = desc.nu();
|
|
@@ -4136,7 +4136,7 @@
|
|
|
4136
4136
|
if (tmp_1) {
|
|
4137
4137
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
4138
4138
|
} else {
|
|
4139
|
-
if (_this__u8e3s4.
|
|
4139
|
+
if (_this__u8e3s4.z1d_1.o1f_1) {
|
|
4140
4140
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
4141
4141
|
} else {
|
|
4142
4142
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -4180,56 +4180,56 @@
|
|
|
4180
4180
|
return WriteMode_POLY_OBJ_instance;
|
|
4181
4181
|
}
|
|
4182
4182
|
function appendEscape($this, lastPosition, current) {
|
|
4183
|
-
$this.
|
|
4183
|
+
$this.r1o(lastPosition, current);
|
|
4184
4184
|
return appendEsc($this, current + 1 | 0);
|
|
4185
4185
|
}
|
|
4186
4186
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4187
|
-
$this.
|
|
4188
|
-
var result = $this.
|
|
4189
|
-
$this.
|
|
4187
|
+
$this.r1o(lastPosition, currentPosition);
|
|
4188
|
+
var result = $this.q1e_1.toString();
|
|
4189
|
+
$this.q1e_1.bd(0);
|
|
4190
4190
|
return result;
|
|
4191
4191
|
}
|
|
4192
4192
|
function takePeeked($this) {
|
|
4193
4193
|
// Inline function 'kotlin.also' call
|
|
4194
|
-
var this_0 = ensureNotNull($this.
|
|
4195
|
-
$this.
|
|
4194
|
+
var this_0 = ensureNotNull($this.p1e_1);
|
|
4195
|
+
$this.p1e_1 = null;
|
|
4196
4196
|
return this_0;
|
|
4197
4197
|
}
|
|
4198
4198
|
function wasUnquotedString($this) {
|
|
4199
|
-
return !(charSequenceGet($this.
|
|
4199
|
+
return !(charSequenceGet($this.s1o(), $this.n1e_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
4200
4200
|
}
|
|
4201
4201
|
function appendEsc($this, startPosition) {
|
|
4202
4202
|
var currentPosition = startPosition;
|
|
4203
|
-
currentPosition = $this.
|
|
4203
|
+
currentPosition = $this.t1o(currentPosition);
|
|
4204
4204
|
if (currentPosition === -1) {
|
|
4205
|
-
$this.
|
|
4205
|
+
$this.z1i('Expected escape sequence to continue, got EOF');
|
|
4206
4206
|
}
|
|
4207
|
-
var tmp = $this.
|
|
4207
|
+
var tmp = $this.s1o();
|
|
4208
4208
|
var _unary__edvuaz = currentPosition;
|
|
4209
4209
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
4210
4210
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
4211
4211
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
4212
|
-
return appendHex($this, $this.
|
|
4212
|
+
return appendHex($this, $this.s1o(), currentPosition);
|
|
4213
4213
|
}
|
|
4214
4214
|
// Inline function 'kotlin.code' call
|
|
4215
4215
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4216
4216
|
var c = escapeToChar(tmp$ret$0);
|
|
4217
4217
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
4218
|
-
$this.
|
|
4218
|
+
$this.z1i("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
4219
4219
|
}
|
|
4220
|
-
$this.
|
|
4220
|
+
$this.q1e_1.s(c);
|
|
4221
4221
|
return currentPosition;
|
|
4222
4222
|
}
|
|
4223
4223
|
function appendHex($this, source, startPos) {
|
|
4224
4224
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4225
|
-
$this.
|
|
4226
|
-
$this.
|
|
4227
|
-
if (($this.
|
|
4228
|
-
$this.
|
|
4225
|
+
$this.n1e_1 = startPos;
|
|
4226
|
+
$this.u1o();
|
|
4227
|
+
if (($this.n1e_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4228
|
+
$this.z1i('Unexpected EOF during unicode escape');
|
|
4229
4229
|
}
|
|
4230
|
-
return appendHex($this, source, $this.
|
|
4230
|
+
return appendHex($this, source, $this.n1e_1);
|
|
4231
4231
|
}
|
|
4232
|
-
$this.
|
|
4232
|
+
$this.q1e_1.s(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0));
|
|
4233
4233
|
return startPos + 4 | 0;
|
|
4234
4234
|
}
|
|
4235
4235
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4254,16 +4254,16 @@
|
|
|
4254
4254
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4255
4255
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4256
4256
|
} else {
|
|
4257
|
-
$this.
|
|
4257
|
+
$this.z1i("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4258
4258
|
}
|
|
4259
4259
|
return tmp;
|
|
4260
4260
|
}
|
|
4261
4261
|
function consumeBoolean2($this, start) {
|
|
4262
|
-
var current = $this.
|
|
4263
|
-
if (current >= charSequenceLength($this.
|
|
4264
|
-
$this.
|
|
4262
|
+
var current = $this.t1o(start);
|
|
4263
|
+
if (current >= charSequenceLength($this.s1o()) || current === -1) {
|
|
4264
|
+
$this.z1i('EOF');
|
|
4265
4265
|
}
|
|
4266
|
-
var tmp = $this.
|
|
4266
|
+
var tmp = $this.s1o();
|
|
4267
4267
|
var _unary__edvuaz = current;
|
|
4268
4268
|
current = _unary__edvuaz + 1 | 0;
|
|
4269
4269
|
// Inline function 'kotlin.code' call
|
|
@@ -4282,14 +4282,14 @@
|
|
|
4282
4282
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4283
4283
|
tmp_0 = false;
|
|
4284
4284
|
} else {
|
|
4285
|
-
$this.
|
|
4285
|
+
$this.z1i("Expected valid boolean literal prefix, but had '" + $this.h1k() + "'");
|
|
4286
4286
|
}
|
|
4287
4287
|
}
|
|
4288
4288
|
return tmp_0;
|
|
4289
4289
|
}
|
|
4290
4290
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4291
|
-
if ((charSequenceLength($this.
|
|
4292
|
-
$this.
|
|
4291
|
+
if ((charSequenceLength($this.s1o()) - current | 0) < literalSuffix.length) {
|
|
4292
|
+
$this.z1i('Unexpected end of boolean literal');
|
|
4293
4293
|
}
|
|
4294
4294
|
var inductionVariable = 0;
|
|
4295
4295
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4298,16 +4298,16 @@
|
|
|
4298
4298
|
var i = inductionVariable;
|
|
4299
4299
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4300
4300
|
var expected = charCodeAt(literalSuffix, i);
|
|
4301
|
-
var actual = charSequenceGet($this.
|
|
4301
|
+
var actual = charSequenceGet($this.s1o(), current + i | 0);
|
|
4302
4302
|
// Inline function 'kotlin.code' call
|
|
4303
4303
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4304
4304
|
// Inline function 'kotlin.code' call
|
|
4305
4305
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4306
|
-
$this.
|
|
4306
|
+
$this.z1i("Expected valid boolean literal prefix, but had '" + $this.h1k() + "'");
|
|
4307
4307
|
}
|
|
4308
4308
|
}
|
|
4309
4309
|
while (inductionVariable <= last);
|
|
4310
|
-
$this.
|
|
4310
|
+
$this.n1e_1 = current + literalSuffix.length | 0;
|
|
4311
4311
|
}
|
|
4312
4312
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4313
4313
|
var tmp;
|
|
@@ -4331,77 +4331,77 @@
|
|
|
4331
4331
|
return tmp;
|
|
4332
4332
|
}
|
|
4333
4333
|
function AbstractJsonLexer() {
|
|
4334
|
-
this.
|
|
4335
|
-
this.
|
|
4336
|
-
this.
|
|
4337
|
-
this.
|
|
4334
|
+
this.n1e_1 = 0;
|
|
4335
|
+
this.o1e_1 = new JsonPath();
|
|
4336
|
+
this.p1e_1 = null;
|
|
4337
|
+
this.q1e_1 = StringBuilder_init_$Create$();
|
|
4338
4338
|
}
|
|
4339
|
-
protoOf(AbstractJsonLexer).
|
|
4339
|
+
protoOf(AbstractJsonLexer).u1o = function () {
|
|
4340
4340
|
};
|
|
4341
|
-
protoOf(AbstractJsonLexer).
|
|
4342
|
-
var current = this.
|
|
4343
|
-
var source = this.
|
|
4341
|
+
protoOf(AbstractJsonLexer).q1l = function () {
|
|
4342
|
+
var current = this.v1o();
|
|
4343
|
+
var source = this.s1o();
|
|
4344
4344
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4345
4345
|
return false;
|
|
4346
4346
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4347
|
-
this.
|
|
4347
|
+
this.n1e_1 = this.n1e_1 + 1 | 0;
|
|
4348
4348
|
return true;
|
|
4349
4349
|
}
|
|
4350
4350
|
return false;
|
|
4351
4351
|
};
|
|
4352
|
-
protoOf(AbstractJsonLexer).
|
|
4352
|
+
protoOf(AbstractJsonLexer).w1o = function (c) {
|
|
4353
4353
|
return c === _Char___init__impl__6a9atx(125) || c === _Char___init__impl__6a9atx(93) || (c === _Char___init__impl__6a9atx(58) || c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
4354
4354
|
};
|
|
4355
|
-
protoOf(AbstractJsonLexer).
|
|
4356
|
-
var nextToken = this.
|
|
4355
|
+
protoOf(AbstractJsonLexer).r1e = function () {
|
|
4356
|
+
var nextToken = this.j1k();
|
|
4357
4357
|
if (!(nextToken === 10)) {
|
|
4358
|
-
this.
|
|
4358
|
+
this.z1i('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.s1o(), this.n1e_1 - 1 | 0)) + ' instead');
|
|
4359
4359
|
}
|
|
4360
4360
|
};
|
|
4361
|
-
protoOf(AbstractJsonLexer).
|
|
4362
|
-
var token = this.
|
|
4361
|
+
protoOf(AbstractJsonLexer).d1k = function (expected) {
|
|
4362
|
+
var token = this.j1k();
|
|
4363
4363
|
if (!(token === expected)) {
|
|
4364
4364
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4365
4365
|
var expected_0 = tokenDescription(expected);
|
|
4366
|
-
var position = true ? this.
|
|
4367
|
-
var s = this.
|
|
4366
|
+
var position = true ? this.n1e_1 - 1 | 0 : this.n1e_1;
|
|
4367
|
+
var s = this.n1e_1 === charSequenceLength(this.s1o()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.s1o(), position));
|
|
4368
4368
|
var tmp$ret$0 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4369
|
-
this.
|
|
4369
|
+
this.z1i(tmp$ret$0, position);
|
|
4370
4370
|
}
|
|
4371
4371
|
return token;
|
|
4372
4372
|
};
|
|
4373
|
-
protoOf(AbstractJsonLexer).
|
|
4374
|
-
if (this.
|
|
4373
|
+
protoOf(AbstractJsonLexer).x1o = function (expected) {
|
|
4374
|
+
if (this.n1e_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4375
4375
|
var tmp$ret$1;
|
|
4376
4376
|
$l$block: {
|
|
4377
4377
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4378
|
-
var snapshot = this.
|
|
4378
|
+
var snapshot = this.n1e_1;
|
|
4379
4379
|
try {
|
|
4380
|
-
this.
|
|
4381
|
-
tmp$ret$1 = this.
|
|
4380
|
+
this.n1e_1 = this.n1e_1 - 1 | 0;
|
|
4381
|
+
tmp$ret$1 = this.h1k();
|
|
4382
4382
|
break $l$block;
|
|
4383
4383
|
}finally {
|
|
4384
|
-
this.
|
|
4384
|
+
this.n1e_1 = snapshot;
|
|
4385
4385
|
}
|
|
4386
4386
|
}
|
|
4387
4387
|
var inputLiteral = tmp$ret$1;
|
|
4388
4388
|
if (inputLiteral === 'null') {
|
|
4389
|
-
this.
|
|
4389
|
+
this.y1i("Expected string literal but 'null' literal was found", this.n1e_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4390
4390
|
}
|
|
4391
4391
|
}
|
|
4392
4392
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4393
4393
|
var expectedToken = charToTokenClass(expected);
|
|
4394
4394
|
var expected_0 = tokenDescription(expectedToken);
|
|
4395
|
-
var position = true ? this.
|
|
4396
|
-
var s = this.
|
|
4395
|
+
var position = true ? this.n1e_1 - 1 | 0 : this.n1e_1;
|
|
4396
|
+
var s = this.n1e_1 === charSequenceLength(this.s1o()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.s1o(), position));
|
|
4397
4397
|
var tmp$ret$2 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4398
|
-
this.
|
|
4398
|
+
this.z1i(tmp$ret$2, position);
|
|
4399
4399
|
};
|
|
4400
|
-
protoOf(AbstractJsonLexer).
|
|
4401
|
-
var source = this.
|
|
4402
|
-
var cpos = this.
|
|
4400
|
+
protoOf(AbstractJsonLexer).e1k = function () {
|
|
4401
|
+
var source = this.s1o();
|
|
4402
|
+
var cpos = this.n1e_1;
|
|
4403
4403
|
$l$loop_0: while (true) {
|
|
4404
|
-
cpos = this.
|
|
4404
|
+
cpos = this.t1o(cpos);
|
|
4405
4405
|
if (cpos === -1)
|
|
4406
4406
|
break $l$loop_0;
|
|
4407
4407
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4409,16 +4409,16 @@
|
|
|
4409
4409
|
cpos = cpos + 1 | 0;
|
|
4410
4410
|
continue $l$loop_0;
|
|
4411
4411
|
}
|
|
4412
|
-
this.
|
|
4412
|
+
this.n1e_1 = cpos;
|
|
4413
4413
|
return charToTokenClass(ch);
|
|
4414
4414
|
}
|
|
4415
|
-
this.
|
|
4415
|
+
this.n1e_1 = cpos;
|
|
4416
4416
|
return 10;
|
|
4417
4417
|
};
|
|
4418
|
-
protoOf(AbstractJsonLexer).
|
|
4419
|
-
var current = this.
|
|
4420
|
-
current = this.
|
|
4421
|
-
var len = charSequenceLength(this.
|
|
4418
|
+
protoOf(AbstractJsonLexer).r1l = function (doConsume) {
|
|
4419
|
+
var current = this.v1o();
|
|
4420
|
+
current = this.t1o(current);
|
|
4421
|
+
var len = charSequenceLength(this.s1o()) - current | 0;
|
|
4422
4422
|
if (len < 4 || current === -1)
|
|
4423
4423
|
return false;
|
|
4424
4424
|
var inductionVariable = 0;
|
|
@@ -4426,50 +4426,50 @@
|
|
|
4426
4426
|
do {
|
|
4427
4427
|
var i = inductionVariable;
|
|
4428
4428
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4429
|
-
if (!(charCodeAt('null', i) === charSequenceGet(this.
|
|
4429
|
+
if (!(charCodeAt('null', i) === charSequenceGet(this.s1o(), current + i | 0)))
|
|
4430
4430
|
return false;
|
|
4431
4431
|
}
|
|
4432
4432
|
while (inductionVariable <= 3);
|
|
4433
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4433
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.s1o(), current + 4 | 0)) === 0)
|
|
4434
4434
|
return false;
|
|
4435
4435
|
if (doConsume) {
|
|
4436
|
-
this.
|
|
4436
|
+
this.n1e_1 = current + 4 | 0;
|
|
4437
4437
|
}
|
|
4438
4438
|
return true;
|
|
4439
4439
|
};
|
|
4440
|
-
protoOf(AbstractJsonLexer).
|
|
4440
|
+
protoOf(AbstractJsonLexer).c1m = function (doConsume, $super) {
|
|
4441
4441
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4442
|
-
return $super === VOID ? this.
|
|
4442
|
+
return $super === VOID ? this.r1l(doConsume) : $super.r1l.call(this, doConsume);
|
|
4443
4443
|
};
|
|
4444
|
-
protoOf(AbstractJsonLexer).
|
|
4445
|
-
var token = this.
|
|
4444
|
+
protoOf(AbstractJsonLexer).s1l = function (isLenient) {
|
|
4445
|
+
var token = this.e1k();
|
|
4446
4446
|
var tmp;
|
|
4447
4447
|
if (isLenient) {
|
|
4448
4448
|
if (!(token === 1) && !(token === 0))
|
|
4449
4449
|
return null;
|
|
4450
|
-
tmp = this.
|
|
4450
|
+
tmp = this.h1k();
|
|
4451
4451
|
} else {
|
|
4452
4452
|
if (!(token === 1))
|
|
4453
4453
|
return null;
|
|
4454
|
-
tmp = this.
|
|
4454
|
+
tmp = this.g1k();
|
|
4455
4455
|
}
|
|
4456
4456
|
var string = tmp;
|
|
4457
|
-
this.
|
|
4457
|
+
this.p1e_1 = string;
|
|
4458
4458
|
return string;
|
|
4459
4459
|
};
|
|
4460
|
-
protoOf(AbstractJsonLexer).
|
|
4461
|
-
this.
|
|
4460
|
+
protoOf(AbstractJsonLexer).y1o = function () {
|
|
4461
|
+
this.p1e_1 = null;
|
|
4462
4462
|
};
|
|
4463
|
-
protoOf(AbstractJsonLexer).
|
|
4463
|
+
protoOf(AbstractJsonLexer).z1o = function (startPos, endPos) {
|
|
4464
4464
|
// Inline function 'kotlin.text.substring' call
|
|
4465
|
-
var this_0 = this.
|
|
4465
|
+
var this_0 = this.s1o();
|
|
4466
4466
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4467
4467
|
};
|
|
4468
|
-
protoOf(AbstractJsonLexer).
|
|
4469
|
-
if (!(this.
|
|
4468
|
+
protoOf(AbstractJsonLexer).g1k = function () {
|
|
4469
|
+
if (!(this.p1e_1 == null)) {
|
|
4470
4470
|
return takePeeked(this);
|
|
4471
4471
|
}
|
|
4472
|
-
return this.
|
|
4472
|
+
return this.v1l();
|
|
4473
4473
|
};
|
|
4474
4474
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4475
4475
|
var currentPosition = current;
|
|
@@ -4479,19 +4479,19 @@
|
|
|
4479
4479
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4480
4480
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4481
4481
|
usedAppend = true;
|
|
4482
|
-
currentPosition = this.
|
|
4482
|
+
currentPosition = this.t1o(appendEscape(this, lastPosition, currentPosition));
|
|
4483
4483
|
if (currentPosition === -1) {
|
|
4484
|
-
this.
|
|
4484
|
+
this.z1i('Unexpected EOF', currentPosition);
|
|
4485
4485
|
}
|
|
4486
4486
|
lastPosition = currentPosition;
|
|
4487
4487
|
} else {
|
|
4488
4488
|
currentPosition = currentPosition + 1 | 0;
|
|
4489
4489
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4490
4490
|
usedAppend = true;
|
|
4491
|
-
this.
|
|
4492
|
-
currentPosition = this.
|
|
4491
|
+
this.r1o(lastPosition, currentPosition);
|
|
4492
|
+
currentPosition = this.t1o(currentPosition);
|
|
4493
4493
|
if (currentPosition === -1) {
|
|
4494
|
-
this.
|
|
4494
|
+
this.z1i('Unexpected EOF', currentPosition);
|
|
4495
4495
|
}
|
|
4496
4496
|
lastPosition = currentPosition;
|
|
4497
4497
|
}
|
|
@@ -4500,45 +4500,45 @@
|
|
|
4500
4500
|
}
|
|
4501
4501
|
var tmp;
|
|
4502
4502
|
if (!usedAppend) {
|
|
4503
|
-
tmp = this.
|
|
4503
|
+
tmp = this.z1o(lastPosition, currentPosition);
|
|
4504
4504
|
} else {
|
|
4505
4505
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4506
4506
|
}
|
|
4507
4507
|
var string = tmp;
|
|
4508
|
-
this.
|
|
4508
|
+
this.n1e_1 = currentPosition + 1 | 0;
|
|
4509
4509
|
return string;
|
|
4510
4510
|
};
|
|
4511
|
-
protoOf(AbstractJsonLexer).
|
|
4512
|
-
var result = this.
|
|
4511
|
+
protoOf(AbstractJsonLexer).w1l = function () {
|
|
4512
|
+
var result = this.h1k();
|
|
4513
4513
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4514
|
-
this.
|
|
4514
|
+
this.z1i("Unexpected 'null' value instead of string literal");
|
|
4515
4515
|
}
|
|
4516
4516
|
return result;
|
|
4517
4517
|
};
|
|
4518
|
-
protoOf(AbstractJsonLexer).
|
|
4519
|
-
if (!(this.
|
|
4518
|
+
protoOf(AbstractJsonLexer).h1k = function () {
|
|
4519
|
+
if (!(this.p1e_1 == null)) {
|
|
4520
4520
|
return takePeeked(this);
|
|
4521
4521
|
}
|
|
4522
|
-
var current = this.
|
|
4523
|
-
if (current >= charSequenceLength(this.
|
|
4524
|
-
this.
|
|
4522
|
+
var current = this.v1o();
|
|
4523
|
+
if (current >= charSequenceLength(this.s1o()) || current === -1) {
|
|
4524
|
+
this.z1i('EOF', current);
|
|
4525
4525
|
}
|
|
4526
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4526
|
+
var token = charToTokenClass(charSequenceGet(this.s1o(), current));
|
|
4527
4527
|
if (token === 1) {
|
|
4528
|
-
return this.
|
|
4528
|
+
return this.g1k();
|
|
4529
4529
|
}
|
|
4530
4530
|
if (!(token === 0)) {
|
|
4531
|
-
this.
|
|
4531
|
+
this.z1i('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.s1o(), current)));
|
|
4532
4532
|
}
|
|
4533
4533
|
var usedAppend = false;
|
|
4534
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4534
|
+
while (charToTokenClass(charSequenceGet(this.s1o(), current)) === 0) {
|
|
4535
4535
|
current = current + 1 | 0;
|
|
4536
|
-
if (current >= charSequenceLength(this.
|
|
4536
|
+
if (current >= charSequenceLength(this.s1o())) {
|
|
4537
4537
|
usedAppend = true;
|
|
4538
|
-
this.
|
|
4539
|
-
var eof = this.
|
|
4538
|
+
this.r1o(this.n1e_1, current);
|
|
4539
|
+
var eof = this.t1o(current);
|
|
4540
4540
|
if (eof === -1) {
|
|
4541
|
-
this.
|
|
4541
|
+
this.n1e_1 = current;
|
|
4542
4542
|
return decodedString(this, 0, 0);
|
|
4543
4543
|
} else {
|
|
4544
4544
|
current = eof;
|
|
@@ -4547,32 +4547,32 @@
|
|
|
4547
4547
|
}
|
|
4548
4548
|
var tmp;
|
|
4549
4549
|
if (!usedAppend) {
|
|
4550
|
-
tmp = this.
|
|
4550
|
+
tmp = this.z1o(this.n1e_1, current);
|
|
4551
4551
|
} else {
|
|
4552
|
-
tmp = decodedString(this, this.
|
|
4552
|
+
tmp = decodedString(this, this.n1e_1, current);
|
|
4553
4553
|
}
|
|
4554
4554
|
var result = tmp;
|
|
4555
|
-
this.
|
|
4555
|
+
this.n1e_1 = current;
|
|
4556
4556
|
return result;
|
|
4557
4557
|
};
|
|
4558
|
-
protoOf(AbstractJsonLexer).
|
|
4559
|
-
this.
|
|
4558
|
+
protoOf(AbstractJsonLexer).r1o = function (fromIndex, toIndex) {
|
|
4559
|
+
this.q1e_1.vc(this.s1o(), fromIndex, toIndex);
|
|
4560
4560
|
};
|
|
4561
|
-
protoOf(AbstractJsonLexer).
|
|
4561
|
+
protoOf(AbstractJsonLexer).u1l = function (allowLenientStrings) {
|
|
4562
4562
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4563
4563
|
var tokenStack = ArrayList_init_$Create$();
|
|
4564
|
-
var lastToken = this.
|
|
4564
|
+
var lastToken = this.e1k();
|
|
4565
4565
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4566
|
-
this.
|
|
4566
|
+
this.h1k();
|
|
4567
4567
|
return Unit_instance;
|
|
4568
4568
|
}
|
|
4569
4569
|
$l$loop: while (true) {
|
|
4570
|
-
lastToken = this.
|
|
4570
|
+
lastToken = this.e1k();
|
|
4571
4571
|
if (lastToken === 1) {
|
|
4572
4572
|
if (allowLenientStrings)
|
|
4573
|
-
this.
|
|
4573
|
+
this.h1k();
|
|
4574
4574
|
else
|
|
4575
|
-
this.
|
|
4575
|
+
this.v1l();
|
|
4576
4576
|
continue $l$loop;
|
|
4577
4577
|
}
|
|
4578
4578
|
var tmp0_subject = lastToken;
|
|
@@ -4580,29 +4580,29 @@
|
|
|
4580
4580
|
tokenStack.e1(lastToken);
|
|
4581
4581
|
} else if (tmp0_subject === 9) {
|
|
4582
4582
|
if (!(last(tokenStack) === 8))
|
|
4583
|
-
throw JsonDecodingException_0(this.
|
|
4583
|
+
throw JsonDecodingException_0(this.n1e_1, 'found ] instead of } at path: ' + this.o1e_1.toString(), this.s1o());
|
|
4584
4584
|
removeLast(tokenStack);
|
|
4585
4585
|
} else if (tmp0_subject === 7) {
|
|
4586
4586
|
if (!(last(tokenStack) === 6))
|
|
4587
|
-
throw JsonDecodingException_0(this.
|
|
4587
|
+
throw JsonDecodingException_0(this.n1e_1, 'found } instead of ] at path: ' + this.o1e_1.toString(), this.s1o());
|
|
4588
4588
|
removeLast(tokenStack);
|
|
4589
4589
|
} else if (tmp0_subject === 10) {
|
|
4590
|
-
this.
|
|
4590
|
+
this.z1i('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4591
4591
|
}
|
|
4592
|
-
this.
|
|
4592
|
+
this.j1k();
|
|
4593
4593
|
if (tokenStack.g1() === 0)
|
|
4594
4594
|
return Unit_instance;
|
|
4595
4595
|
}
|
|
4596
4596
|
};
|
|
4597
4597
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4598
|
-
return "JsonReader(source='" + toString(this.
|
|
4598
|
+
return "JsonReader(source='" + toString(this.s1o()) + "', currentPosition=" + this.n1e_1 + ')';
|
|
4599
4599
|
};
|
|
4600
|
-
protoOf(AbstractJsonLexer).
|
|
4601
|
-
var processed = this.
|
|
4600
|
+
protoOf(AbstractJsonLexer).t1l = function (key) {
|
|
4601
|
+
var processed = this.z1o(0, this.n1e_1);
|
|
4602
4602
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4603
|
-
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.
|
|
4603
|
+
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.o1e_1.m1j() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.s1o(), lastIndexOf_0))));
|
|
4604
4604
|
};
|
|
4605
|
-
protoOf(AbstractJsonLexer).
|
|
4605
|
+
protoOf(AbstractJsonLexer).y1i = function (message, position, hint) {
|
|
4606
4606
|
var tmp;
|
|
4607
4607
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4608
4608
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4611,24 +4611,24 @@
|
|
|
4611
4611
|
tmp = '\n' + hint;
|
|
4612
4612
|
}
|
|
4613
4613
|
var hintMessage = tmp;
|
|
4614
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4614
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.o1e_1.m1j() + hintMessage, this.s1o());
|
|
4615
4615
|
};
|
|
4616
|
-
protoOf(AbstractJsonLexer).
|
|
4617
|
-
position = position === VOID ? this.
|
|
4616
|
+
protoOf(AbstractJsonLexer).z1i = function (message, position, hint, $super) {
|
|
4617
|
+
position = position === VOID ? this.n1e_1 : position;
|
|
4618
4618
|
hint = hint === VOID ? '' : hint;
|
|
4619
|
-
return $super === VOID ? this.
|
|
4619
|
+
return $super === VOID ? this.y1i(message, position, hint) : $super.y1i.call(this, message, position, hint);
|
|
4620
4620
|
};
|
|
4621
|
-
protoOf(AbstractJsonLexer).
|
|
4622
|
-
var current = this.
|
|
4623
|
-
current = this.
|
|
4624
|
-
if (current >= charSequenceLength(this.
|
|
4625
|
-
this.
|
|
4621
|
+
protoOf(AbstractJsonLexer).e1m = function () {
|
|
4622
|
+
var current = this.v1o();
|
|
4623
|
+
current = this.t1o(current);
|
|
4624
|
+
if (current >= charSequenceLength(this.s1o()) || current === -1) {
|
|
4625
|
+
this.z1i('EOF');
|
|
4626
4626
|
}
|
|
4627
4627
|
var tmp;
|
|
4628
|
-
if (charSequenceGet(this.
|
|
4628
|
+
if (charSequenceGet(this.s1o(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4629
4629
|
current = current + 1 | 0;
|
|
4630
|
-
if (current === charSequenceLength(this.
|
|
4631
|
-
this.
|
|
4630
|
+
if (current === charSequenceLength(this.s1o())) {
|
|
4631
|
+
this.z1i('EOF');
|
|
4632
4632
|
}
|
|
4633
4633
|
tmp = true;
|
|
4634
4634
|
} else {
|
|
@@ -4641,11 +4641,11 @@
|
|
|
4641
4641
|
var isExponentPositive = false;
|
|
4642
4642
|
var hasExponent = false;
|
|
4643
4643
|
var start = current;
|
|
4644
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4645
|
-
var ch = charSequenceGet(this.
|
|
4644
|
+
$l$loop_4: while (!(current === charSequenceLength(this.s1o()))) {
|
|
4645
|
+
var ch = charSequenceGet(this.s1o(), current);
|
|
4646
4646
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4647
4647
|
if (current === start) {
|
|
4648
|
-
this.
|
|
4648
|
+
this.z1i('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4649
4649
|
}
|
|
4650
4650
|
isExponentPositive = true;
|
|
4651
4651
|
hasExponent = true;
|
|
@@ -4654,7 +4654,7 @@
|
|
|
4654
4654
|
}
|
|
4655
4655
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4656
4656
|
if (current === start) {
|
|
4657
|
-
this.
|
|
4657
|
+
this.z1i("Unexpected symbol '-' in numeric literal");
|
|
4658
4658
|
}
|
|
4659
4659
|
isExponentPositive = false;
|
|
4660
4660
|
current = current + 1 | 0;
|
|
@@ -4662,7 +4662,7 @@
|
|
|
4662
4662
|
}
|
|
4663
4663
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4664
4664
|
if (current === start) {
|
|
4665
|
-
this.
|
|
4665
|
+
this.z1i("Unexpected symbol '+' in numeric literal");
|
|
4666
4666
|
}
|
|
4667
4667
|
isExponentPositive = true;
|
|
4668
4668
|
current = current + 1 | 0;
|
|
@@ -4670,7 +4670,7 @@
|
|
|
4670
4670
|
}
|
|
4671
4671
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4672
4672
|
if (!(current === start)) {
|
|
4673
|
-
this.
|
|
4673
|
+
this.z1i("Unexpected symbol '-' in numeric literal");
|
|
4674
4674
|
}
|
|
4675
4675
|
isNegative = true;
|
|
4676
4676
|
current = current + 1 | 0;
|
|
@@ -4682,7 +4682,7 @@
|
|
|
4682
4682
|
current = current + 1 | 0;
|
|
4683
4683
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4684
4684
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4685
|
-
this.
|
|
4685
|
+
this.z1i("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4686
4686
|
}
|
|
4687
4687
|
if (hasExponent) {
|
|
4688
4688
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4698,31 +4698,31 @@
|
|
|
4698
4698
|
var this_3 = multiply(this_2, fromInt(10));
|
|
4699
4699
|
accumulator = subtract(this_3, fromInt(digit));
|
|
4700
4700
|
if (accumulator > 0n) {
|
|
4701
|
-
this.
|
|
4701
|
+
this.z1i('Numeric value overflow');
|
|
4702
4702
|
}
|
|
4703
4703
|
}
|
|
4704
4704
|
var hasChars = !(current === start);
|
|
4705
4705
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4706
|
-
this.
|
|
4706
|
+
this.z1i('Expected numeric literal');
|
|
4707
4707
|
}
|
|
4708
4708
|
if (hasQuotation) {
|
|
4709
4709
|
if (!hasChars) {
|
|
4710
|
-
this.
|
|
4710
|
+
this.z1i('EOF');
|
|
4711
4711
|
}
|
|
4712
|
-
if (!(charSequenceGet(this.
|
|
4713
|
-
this.
|
|
4712
|
+
if (!(charSequenceGet(this.s1o(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4713
|
+
this.z1i('Expected closing quotation mark');
|
|
4714
4714
|
}
|
|
4715
4715
|
current = current + 1 | 0;
|
|
4716
4716
|
}
|
|
4717
|
-
this.
|
|
4717
|
+
this.n1e_1 = current;
|
|
4718
4718
|
if (hasExponent) {
|
|
4719
4719
|
var doubleAccumulator = toNumber(accumulator) * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4720
4720
|
if (doubleAccumulator > toNumber(9223372036854775807n) || doubleAccumulator < toNumber(-9223372036854775808n)) {
|
|
4721
|
-
this.
|
|
4721
|
+
this.z1i('Numeric value overflow');
|
|
4722
4722
|
}
|
|
4723
4723
|
// Inline function 'kotlin.math.floor' call
|
|
4724
4724
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4725
|
-
this.
|
|
4725
|
+
this.z1i("Can't convert " + doubleAccumulator + ' to Long');
|
|
4726
4726
|
}
|
|
4727
4727
|
accumulator = numberToLong(doubleAccumulator);
|
|
4728
4728
|
}
|
|
@@ -4732,30 +4732,30 @@
|
|
|
4732
4732
|
} else if (!(accumulator === -9223372036854775808n)) {
|
|
4733
4733
|
tmp_0 = negate(accumulator);
|
|
4734
4734
|
} else {
|
|
4735
|
-
this.
|
|
4735
|
+
this.z1i('Numeric value overflow');
|
|
4736
4736
|
}
|
|
4737
4737
|
return tmp_0;
|
|
4738
4738
|
};
|
|
4739
|
-
protoOf(AbstractJsonLexer).
|
|
4740
|
-
var result = this.
|
|
4741
|
-
var next = this.
|
|
4739
|
+
protoOf(AbstractJsonLexer).v1g = function () {
|
|
4740
|
+
var result = this.e1m();
|
|
4741
|
+
var next = this.j1k();
|
|
4742
4742
|
if (!(next === 10)) {
|
|
4743
4743
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4744
4744
|
var expected = tokenDescription(10);
|
|
4745
|
-
var position = true ? this.
|
|
4746
|
-
var s = this.
|
|
4745
|
+
var position = true ? this.n1e_1 - 1 | 0 : this.n1e_1;
|
|
4746
|
+
var s = this.n1e_1 === charSequenceLength(this.s1o()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.s1o(), position));
|
|
4747
4747
|
var tmp$ret$0 = "Expected input to contain a single valid number, but got '" + s + "' after it";
|
|
4748
|
-
this.
|
|
4748
|
+
this.z1i(tmp$ret$0, position);
|
|
4749
4749
|
}
|
|
4750
4750
|
return result;
|
|
4751
4751
|
};
|
|
4752
|
-
protoOf(AbstractJsonLexer).
|
|
4753
|
-
var current = this.
|
|
4754
|
-
if (current === charSequenceLength(this.
|
|
4755
|
-
this.
|
|
4752
|
+
protoOf(AbstractJsonLexer).d1m = function () {
|
|
4753
|
+
var current = this.v1o();
|
|
4754
|
+
if (current === charSequenceLength(this.s1o())) {
|
|
4755
|
+
this.z1i('EOF');
|
|
4756
4756
|
}
|
|
4757
4757
|
var tmp;
|
|
4758
|
-
if (charSequenceGet(this.
|
|
4758
|
+
if (charSequenceGet(this.s1o(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4759
4759
|
current = current + 1 | 0;
|
|
4760
4760
|
tmp = true;
|
|
4761
4761
|
} else {
|
|
@@ -4764,13 +4764,13 @@
|
|
|
4764
4764
|
var hasQuotation = tmp;
|
|
4765
4765
|
var result = consumeBoolean2(this, current);
|
|
4766
4766
|
if (hasQuotation) {
|
|
4767
|
-
if (this.
|
|
4768
|
-
this.
|
|
4767
|
+
if (this.n1e_1 === charSequenceLength(this.s1o())) {
|
|
4768
|
+
this.z1i('EOF');
|
|
4769
4769
|
}
|
|
4770
|
-
if (!(charSequenceGet(this.
|
|
4771
|
-
this.
|
|
4770
|
+
if (!(charSequenceGet(this.s1o(), this.n1e_1) === _Char___init__impl__6a9atx(34))) {
|
|
4771
|
+
this.z1i('Expected closing quotation mark');
|
|
4772
4772
|
}
|
|
4773
|
-
this.
|
|
4773
|
+
this.n1e_1 = this.n1e_1 + 1 | 0;
|
|
4774
4774
|
}
|
|
4775
4775
|
return result;
|
|
4776
4776
|
};
|
|
@@ -4778,7 +4778,7 @@
|
|
|
4778
4778
|
var tmp;
|
|
4779
4779
|
// Inline function 'kotlin.code' call
|
|
4780
4780
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4781
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4781
|
+
var tmp_0 = CharMappings_getInstance().b1p_1;
|
|
4782
4782
|
// Inline function 'kotlin.code' call
|
|
4783
4783
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4784
4784
|
} else {
|
|
@@ -4790,7 +4790,7 @@
|
|
|
4790
4790
|
return token === 1 ? "quotation mark '\"'" : token === 2 ? "string escape sequence '\\'" : token === 4 ? "comma ','" : token === 5 ? "colon ':'" : token === 6 ? "start of the object '{'" : token === 7 ? "end of the object '}'" : token === 8 ? "start of the array '['" : token === 9 ? "end of the array ']'" : token === 10 ? 'end of the input' : token === 127 ? 'invalid token' : 'valid token';
|
|
4791
4791
|
}
|
|
4792
4792
|
function escapeToChar(c) {
|
|
4793
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4793
|
+
return c < 117 ? CharMappings_getInstance().a1p_1[c] : _Char___init__impl__6a9atx(0);
|
|
4794
4794
|
}
|
|
4795
4795
|
function initEscape($this) {
|
|
4796
4796
|
var inductionVariable = 0;
|
|
@@ -4836,7 +4836,7 @@
|
|
|
4836
4836
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4837
4837
|
// Inline function 'kotlin.code' call
|
|
4838
4838
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4839
|
-
$this.
|
|
4839
|
+
$this.a1p_1[tmp$ret$0] = numberToChar(c);
|
|
4840
4840
|
}
|
|
4841
4841
|
}
|
|
4842
4842
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4845,7 +4845,7 @@
|
|
|
4845
4845
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4846
4846
|
}
|
|
4847
4847
|
function initC2TC($this, c, cl) {
|
|
4848
|
-
$this.
|
|
4848
|
+
$this.b1p_1[c] = cl;
|
|
4849
4849
|
}
|
|
4850
4850
|
function initC2TC_0($this, c, cl) {
|
|
4851
4851
|
// Inline function 'kotlin.code' call
|
|
@@ -4854,8 +4854,8 @@
|
|
|
4854
4854
|
}
|
|
4855
4855
|
function CharMappings() {
|
|
4856
4856
|
CharMappings_instance = this;
|
|
4857
|
-
this.
|
|
4858
|
-
this.
|
|
4857
|
+
this.a1p_1 = charArray(117);
|
|
4858
|
+
this.b1p_1 = new Int8Array(126);
|
|
4859
4859
|
initEscape(this);
|
|
4860
4860
|
initCharToToken(this);
|
|
4861
4861
|
}
|
|
@@ -4868,48 +4868,48 @@
|
|
|
4868
4868
|
function StringJsonLexerWithComments(source) {
|
|
4869
4869
|
StringJsonLexer.call(this, source);
|
|
4870
4870
|
}
|
|
4871
|
-
protoOf(StringJsonLexerWithComments).
|
|
4872
|
-
var source = this.
|
|
4873
|
-
var cpos = this.
|
|
4871
|
+
protoOf(StringJsonLexerWithComments).j1k = function () {
|
|
4872
|
+
var source = this.s1o();
|
|
4873
|
+
var cpos = this.v1o();
|
|
4874
4874
|
if (cpos >= source.length || cpos === -1)
|
|
4875
4875
|
return 10;
|
|
4876
|
-
this.
|
|
4876
|
+
this.n1e_1 = cpos + 1 | 0;
|
|
4877
4877
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4878
4878
|
};
|
|
4879
|
-
protoOf(StringJsonLexerWithComments).
|
|
4880
|
-
var current = this.
|
|
4881
|
-
if (current >= this.
|
|
4879
|
+
protoOf(StringJsonLexerWithComments).f1k = function () {
|
|
4880
|
+
var current = this.v1o();
|
|
4881
|
+
if (current >= this.s1o().length || current === -1)
|
|
4882
4882
|
return false;
|
|
4883
|
-
return this.
|
|
4883
|
+
return this.w1o(charCodeAt(this.s1o(), current));
|
|
4884
4884
|
};
|
|
4885
|
-
protoOf(StringJsonLexerWithComments).
|
|
4886
|
-
var source = this.
|
|
4887
|
-
var current = this.
|
|
4885
|
+
protoOf(StringJsonLexerWithComments).p1l = function (expected) {
|
|
4886
|
+
var source = this.s1o();
|
|
4887
|
+
var current = this.v1o();
|
|
4888
4888
|
if (current >= source.length || current === -1) {
|
|
4889
|
-
this.
|
|
4890
|
-
this.
|
|
4889
|
+
this.n1e_1 = -1;
|
|
4890
|
+
this.x1o(expected);
|
|
4891
4891
|
}
|
|
4892
4892
|
var c = charCodeAt(source, current);
|
|
4893
|
-
this.
|
|
4893
|
+
this.n1e_1 = current + 1 | 0;
|
|
4894
4894
|
if (c === expected)
|
|
4895
4895
|
return Unit_instance;
|
|
4896
4896
|
else {
|
|
4897
|
-
this.
|
|
4897
|
+
this.x1o(expected);
|
|
4898
4898
|
}
|
|
4899
4899
|
};
|
|
4900
|
-
protoOf(StringJsonLexerWithComments).
|
|
4901
|
-
var source = this.
|
|
4902
|
-
var cpos = this.
|
|
4900
|
+
protoOf(StringJsonLexerWithComments).e1k = function () {
|
|
4901
|
+
var source = this.s1o();
|
|
4902
|
+
var cpos = this.v1o();
|
|
4903
4903
|
if (cpos >= source.length || cpos === -1)
|
|
4904
4904
|
return 10;
|
|
4905
|
-
this.
|
|
4905
|
+
this.n1e_1 = cpos;
|
|
4906
4906
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4907
4907
|
};
|
|
4908
|
-
protoOf(StringJsonLexerWithComments).
|
|
4909
|
-
var current = this.
|
|
4908
|
+
protoOf(StringJsonLexerWithComments).v1o = function () {
|
|
4909
|
+
var current = this.n1e_1;
|
|
4910
4910
|
if (current === -1)
|
|
4911
4911
|
return current;
|
|
4912
|
-
var source = this.
|
|
4912
|
+
var source = this.s1o();
|
|
4913
4913
|
$l$loop_1: while (current < source.length) {
|
|
4914
4914
|
var c = charCodeAt(source, current);
|
|
4915
4915
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4930,8 +4930,8 @@
|
|
|
4930
4930
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4931
4931
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4932
4932
|
if (current === -1) {
|
|
4933
|
-
this.
|
|
4934
|
-
this.
|
|
4933
|
+
this.n1e_1 = source.length;
|
|
4934
|
+
this.z1i('Expected end of the block comment: "*/", but had EOF instead');
|
|
4935
4935
|
} else {
|
|
4936
4936
|
current = current + 2 | 0;
|
|
4937
4937
|
}
|
|
@@ -4940,22 +4940,22 @@
|
|
|
4940
4940
|
}
|
|
4941
4941
|
break $l$loop_1;
|
|
4942
4942
|
}
|
|
4943
|
-
this.
|
|
4943
|
+
this.n1e_1 = current;
|
|
4944
4944
|
return current;
|
|
4945
4945
|
};
|
|
4946
4946
|
function StringJsonLexer(source) {
|
|
4947
4947
|
AbstractJsonLexer.call(this);
|
|
4948
|
-
this.
|
|
4948
|
+
this.l1p_1 = source;
|
|
4949
4949
|
}
|
|
4950
|
-
protoOf(StringJsonLexer).
|
|
4951
|
-
return this.
|
|
4950
|
+
protoOf(StringJsonLexer).s1o = function () {
|
|
4951
|
+
return this.l1p_1;
|
|
4952
4952
|
};
|
|
4953
|
-
protoOf(StringJsonLexer).
|
|
4954
|
-
return position < this.
|
|
4953
|
+
protoOf(StringJsonLexer).t1o = function (position) {
|
|
4954
|
+
return position < this.s1o().length ? position : -1;
|
|
4955
4955
|
};
|
|
4956
|
-
protoOf(StringJsonLexer).
|
|
4957
|
-
var source = this.
|
|
4958
|
-
var cpos = this.
|
|
4956
|
+
protoOf(StringJsonLexer).j1k = function () {
|
|
4957
|
+
var source = this.s1o();
|
|
4958
|
+
var cpos = this.n1e_1;
|
|
4959
4959
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4960
4960
|
var _unary__edvuaz = cpos;
|
|
4961
4961
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4963,17 +4963,17 @@
|
|
|
4963
4963
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4964
4964
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4965
4965
|
continue $l$loop;
|
|
4966
|
-
this.
|
|
4966
|
+
this.n1e_1 = cpos;
|
|
4967
4967
|
return charToTokenClass(c);
|
|
4968
4968
|
}
|
|
4969
|
-
this.
|
|
4969
|
+
this.n1e_1 = source.length;
|
|
4970
4970
|
return 10;
|
|
4971
4971
|
};
|
|
4972
|
-
protoOf(StringJsonLexer).
|
|
4973
|
-
var current = this.
|
|
4972
|
+
protoOf(StringJsonLexer).f1k = function () {
|
|
4973
|
+
var current = this.n1e_1;
|
|
4974
4974
|
if (current === -1)
|
|
4975
4975
|
return false;
|
|
4976
|
-
var source = this.
|
|
4976
|
+
var source = this.s1o();
|
|
4977
4977
|
$l$loop: while (current < source.length) {
|
|
4978
4978
|
var c = charCodeAt(source, current);
|
|
4979
4979
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4981,17 +4981,17 @@
|
|
|
4981
4981
|
current = current + 1 | 0;
|
|
4982
4982
|
continue $l$loop;
|
|
4983
4983
|
}
|
|
4984
|
-
this.
|
|
4985
|
-
return this.
|
|
4984
|
+
this.n1e_1 = current;
|
|
4985
|
+
return this.w1o(c);
|
|
4986
4986
|
}
|
|
4987
|
-
this.
|
|
4987
|
+
this.n1e_1 = current;
|
|
4988
4988
|
return false;
|
|
4989
4989
|
};
|
|
4990
|
-
protoOf(StringJsonLexer).
|
|
4991
|
-
var current = this.
|
|
4990
|
+
protoOf(StringJsonLexer).v1o = function () {
|
|
4991
|
+
var current = this.n1e_1;
|
|
4992
4992
|
if (current === -1)
|
|
4993
4993
|
return current;
|
|
4994
|
-
var source = this.
|
|
4994
|
+
var source = this.s1o();
|
|
4995
4995
|
$l$loop: while (current < source.length) {
|
|
4996
4996
|
var c = charCodeAt(source, current);
|
|
4997
4997
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -5001,15 +5001,15 @@
|
|
|
5001
5001
|
break $l$loop;
|
|
5002
5002
|
}
|
|
5003
5003
|
}
|
|
5004
|
-
this.
|
|
5004
|
+
this.n1e_1 = current;
|
|
5005
5005
|
return current;
|
|
5006
5006
|
};
|
|
5007
|
-
protoOf(StringJsonLexer).
|
|
5008
|
-
if (this.
|
|
5009
|
-
this.
|
|
5007
|
+
protoOf(StringJsonLexer).p1l = function (expected) {
|
|
5008
|
+
if (this.n1e_1 === -1) {
|
|
5009
|
+
this.x1o(expected);
|
|
5010
5010
|
}
|
|
5011
|
-
var source = this.
|
|
5012
|
-
var cpos = this.
|
|
5011
|
+
var source = this.s1o();
|
|
5012
|
+
var cpos = this.n1e_1;
|
|
5013
5013
|
$l$loop: while (cpos < source.length) {
|
|
5014
5014
|
var _unary__edvuaz = cpos;
|
|
5015
5015
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -5017,83 +5017,83 @@
|
|
|
5017
5017
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
5018
5018
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
5019
5019
|
continue $l$loop;
|
|
5020
|
-
this.
|
|
5020
|
+
this.n1e_1 = cpos;
|
|
5021
5021
|
if (c === expected)
|
|
5022
5022
|
return Unit_instance;
|
|
5023
|
-
this.
|
|
5023
|
+
this.x1o(expected);
|
|
5024
5024
|
}
|
|
5025
|
-
this.
|
|
5026
|
-
this.
|
|
5025
|
+
this.n1e_1 = -1;
|
|
5026
|
+
this.x1o(expected);
|
|
5027
5027
|
};
|
|
5028
|
-
protoOf(StringJsonLexer).
|
|
5029
|
-
this.
|
|
5030
|
-
var current = this.
|
|
5031
|
-
var closingQuote = indexOf_0(this.
|
|
5028
|
+
protoOf(StringJsonLexer).v1l = function () {
|
|
5029
|
+
this.p1l(_Char___init__impl__6a9atx(34));
|
|
5030
|
+
var current = this.n1e_1;
|
|
5031
|
+
var closingQuote = indexOf_0(this.s1o(), _Char___init__impl__6a9atx(34), current);
|
|
5032
5032
|
if (closingQuote === -1) {
|
|
5033
|
-
this.
|
|
5033
|
+
this.h1k();
|
|
5034
5034
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
5035
5035
|
var expected = tokenDescription(1);
|
|
5036
|
-
var position = false ? this.
|
|
5037
|
-
var s = this.
|
|
5036
|
+
var position = false ? this.n1e_1 - 1 | 0 : this.n1e_1;
|
|
5037
|
+
var s = this.n1e_1 === charSequenceLength(this.s1o()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.s1o(), position));
|
|
5038
5038
|
var tmp$ret$0 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
5039
|
-
this.
|
|
5039
|
+
this.z1i(tmp$ret$0, position);
|
|
5040
5040
|
}
|
|
5041
5041
|
var inductionVariable = current;
|
|
5042
5042
|
if (inductionVariable < closingQuote)
|
|
5043
5043
|
do {
|
|
5044
5044
|
var i = inductionVariable;
|
|
5045
5045
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5046
|
-
if (charCodeAt(this.
|
|
5047
|
-
return this.consumeString2(this.
|
|
5046
|
+
if (charCodeAt(this.s1o(), i) === _Char___init__impl__6a9atx(92)) {
|
|
5047
|
+
return this.consumeString2(this.s1o(), this.n1e_1, i);
|
|
5048
5048
|
}
|
|
5049
5049
|
}
|
|
5050
5050
|
while (inductionVariable < closingQuote);
|
|
5051
|
-
this.
|
|
5052
|
-
return substring(this.
|
|
5051
|
+
this.n1e_1 = closingQuote + 1 | 0;
|
|
5052
|
+
return substring(this.s1o(), current, closingQuote);
|
|
5053
5053
|
};
|
|
5054
|
-
protoOf(StringJsonLexer).
|
|
5055
|
-
var positionSnapshot = this.
|
|
5054
|
+
protoOf(StringJsonLexer).x1l = function (keyToMatch, isLenient) {
|
|
5055
|
+
var positionSnapshot = this.n1e_1;
|
|
5056
5056
|
try {
|
|
5057
|
-
if (!(this.
|
|
5057
|
+
if (!(this.j1k() === 6))
|
|
5058
5058
|
return null;
|
|
5059
|
-
var firstKey = this.
|
|
5059
|
+
var firstKey = this.s1l(isLenient);
|
|
5060
5060
|
if (!(firstKey === keyToMatch))
|
|
5061
5061
|
return null;
|
|
5062
|
-
this.
|
|
5063
|
-
if (!(this.
|
|
5062
|
+
this.y1o();
|
|
5063
|
+
if (!(this.j1k() === 5))
|
|
5064
5064
|
return null;
|
|
5065
|
-
return this.
|
|
5065
|
+
return this.s1l(isLenient);
|
|
5066
5066
|
}finally {
|
|
5067
|
-
this.
|
|
5068
|
-
this.
|
|
5067
|
+
this.n1e_1 = positionSnapshot;
|
|
5068
|
+
this.y1o();
|
|
5069
5069
|
}
|
|
5070
5070
|
};
|
|
5071
5071
|
function StringJsonLexer_0(json, source) {
|
|
5072
|
-
return !json.
|
|
5072
|
+
return !json.z1d_1.a1g_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
5073
5073
|
}
|
|
5074
5074
|
function get_schemaCache(_this__u8e3s4) {
|
|
5075
|
-
return _this__u8e3s4.
|
|
5075
|
+
return _this__u8e3s4.b1e_1;
|
|
5076
5076
|
}
|
|
5077
5077
|
function JsonToStringWriter() {
|
|
5078
|
-
this.
|
|
5078
|
+
this.d1e_1 = StringBuilder_init_$Create$_0(128);
|
|
5079
5079
|
}
|
|
5080
|
-
protoOf(JsonToStringWriter).
|
|
5081
|
-
this.
|
|
5080
|
+
protoOf(JsonToStringWriter).d1i = function (value) {
|
|
5081
|
+
this.d1e_1.zc(value);
|
|
5082
5082
|
};
|
|
5083
|
-
protoOf(JsonToStringWriter).
|
|
5084
|
-
this.
|
|
5083
|
+
protoOf(JsonToStringWriter).x1h = function (char) {
|
|
5084
|
+
this.d1e_1.s(char);
|
|
5085
5085
|
};
|
|
5086
|
-
protoOf(JsonToStringWriter).
|
|
5087
|
-
this.
|
|
5086
|
+
protoOf(JsonToStringWriter).z1h = function (text) {
|
|
5087
|
+
this.d1e_1.q(text);
|
|
5088
5088
|
};
|
|
5089
|
-
protoOf(JsonToStringWriter).
|
|
5090
|
-
printQuoted(this.
|
|
5089
|
+
protoOf(JsonToStringWriter).j1i = function (text) {
|
|
5090
|
+
printQuoted(this.d1e_1, text);
|
|
5091
5091
|
};
|
|
5092
|
-
protoOf(JsonToStringWriter).
|
|
5093
|
-
this.
|
|
5092
|
+
protoOf(JsonToStringWriter).e1e = function () {
|
|
5093
|
+
this.d1e_1.cd();
|
|
5094
5094
|
};
|
|
5095
5095
|
protoOf(JsonToStringWriter).toString = function () {
|
|
5096
|
-
return this.
|
|
5096
|
+
return this.d1e_1.toString();
|
|
5097
5097
|
};
|
|
5098
5098
|
function createMapForCache(initialCapacity) {
|
|
5099
5099
|
return HashMap_init_$Create$(initialCapacity);
|
|
@@ -5102,7 +5102,7 @@
|
|
|
5102
5102
|
protoOf(defer$1).gu = get_isNullable;
|
|
5103
5103
|
protoOf(defer$1).ou = get_isInline;
|
|
5104
5104
|
protoOf(defer$1).qs = get_annotations;
|
|
5105
|
-
protoOf(JsonSerializersModuleValidator).
|
|
5105
|
+
protoOf(JsonSerializersModuleValidator).p1d = contextual;
|
|
5106
5106
|
//endregion
|
|
5107
5107
|
//region block: init
|
|
5108
5108
|
Companion_instance = new Companion();
|
|
@@ -5114,18 +5114,19 @@
|
|
|
5114
5114
|
//region block: exports
|
|
5115
5115
|
_.$_$ = _.$_$ || {};
|
|
5116
5116
|
_.$_$.a = Default_getInstance;
|
|
5117
|
-
_.$_$.b =
|
|
5118
|
-
_.$_$.c =
|
|
5119
|
-
_.$_$.d =
|
|
5120
|
-
_.$_$.e =
|
|
5121
|
-
_.$_$.f =
|
|
5122
|
-
_.$_$.g =
|
|
5123
|
-
_.$_$.h =
|
|
5124
|
-
_.$_$.i =
|
|
5125
|
-
_.$_$.j =
|
|
5126
|
-
_.$_$.k =
|
|
5127
|
-
_.$_$.l =
|
|
5128
|
-
_.$_$.m =
|
|
5117
|
+
_.$_$.b = JsonElementSerializer_getInstance;
|
|
5118
|
+
_.$_$.c = JsonNull_getInstance;
|
|
5119
|
+
_.$_$.d = JsonArray;
|
|
5120
|
+
_.$_$.e = JsonClassDiscriminator;
|
|
5121
|
+
_.$_$.f = JsonElement;
|
|
5122
|
+
_.$_$.g = JsonNull;
|
|
5123
|
+
_.$_$.h = JsonObjectBuilder;
|
|
5124
|
+
_.$_$.i = JsonObject;
|
|
5125
|
+
_.$_$.j = JsonPrimitive_0;
|
|
5126
|
+
_.$_$.k = JsonPrimitive;
|
|
5127
|
+
_.$_$.l = Json_0;
|
|
5128
|
+
_.$_$.m = get_jsonObject;
|
|
5129
|
+
_.$_$.n = get_jsonPrimitive;
|
|
5129
5130
|
//endregion
|
|
5130
5131
|
return _;
|
|
5131
5132
|
}));
|