mrs-toolbox-cli 0.0.107 → 0.0.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/88b0986a7186d029-atomicfu-js-ir.js +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime.js +88 -88
- package/clikt-clikt.js +1287 -1287
- package/colormath-root-colormath.js +395 -395
- package/com.mrs.platform.configuration.dto.js +2611 -2451
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +897 -814
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging-js-ir.js +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core.js +97 -97
- package/kotlinx-serialization-kotlinx-serialization-json.js +838 -830
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1412 -1466
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +146 -146
- package/ktor-ktor-client-core.js +1558 -1558
- package/ktor-ktor-events.js +12 -12
- package/ktor-ktor-http.js +76 -76
- package/ktor-ktor-io.js +126 -126
- package/ktor-ktor-serialization-kotlinx.js +19 -19
- package/ktor-ktor-serialization.js +16 -16
- package/ktor-ktor-utils.js +43 -43
- package/ktor-ktor-websockets.js +16 -16
- package/markdown.js +1922 -1919
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +1791 -1783
- package/mordant-mordant.js.map +1 -1
- package/mrs-toolbox-cli.d.ts +37 -21
- package/mrs-toolbox-cli.js +117 -117
- package/package.json +1 -1
- package/toolbox.js +3555 -3606
- package/toolbox.js.map +1 -1
|
@@ -3,42 +3,42 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
8
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.ec;
|
|
7
|
+
var objectMeta = kotlin_kotlin.$_$.dc;
|
|
8
|
+
var setMetadataFor = kotlin_kotlin.$_$.fc;
|
|
9
9
|
var Unit_instance = kotlin_kotlin.$_$.g5;
|
|
10
10
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
11
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
11
|
+
var classMeta = kotlin_kotlin.$_$.wa;
|
|
12
12
|
var VOID = kotlin_kotlin.$_$.g;
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
13
|
+
var toString = kotlin_kotlin.$_$.jc;
|
|
14
14
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
15
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
16
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
15
|
+
var charSequenceLength = kotlin_kotlin.$_$.ua;
|
|
16
|
+
var charSequenceGet = kotlin_kotlin.$_$.ta;
|
|
17
17
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.p2;
|
|
18
|
-
var equals = kotlin_kotlin.$_$.
|
|
19
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
20
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
18
|
+
var equals = kotlin_kotlin.$_$.za;
|
|
19
|
+
var THROW_CCE = kotlin_kotlin.$_$.pg;
|
|
20
|
+
var getStringHashCode = kotlin_kotlin.$_$.fb;
|
|
21
21
|
var contentEquals = kotlin_kotlin.$_$.d6;
|
|
22
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
22
|
+
var hashCode = kotlin_kotlin.$_$.gb;
|
|
23
23
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1;
|
|
24
24
|
var CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
25
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
25
|
+
var interfaceMeta = kotlin_kotlin.$_$.hb;
|
|
26
26
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.g1;
|
|
27
27
|
var joinToString = kotlin_kotlin.$_$.k7;
|
|
28
28
|
var Map = kotlin_kotlin.$_$.q5;
|
|
29
29
|
var List = kotlin_kotlin.$_$.o5;
|
|
30
30
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
31
|
-
var lazy = kotlin_kotlin.$_$.
|
|
31
|
+
var lazy = kotlin_kotlin.$_$.lh;
|
|
32
32
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
33
33
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
34
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
34
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.cb;
|
|
35
35
|
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.f2;
|
|
36
36
|
var IntCompanionObject_instance = kotlin_kotlin.$_$.t4;
|
|
37
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
38
|
-
var ClosedRange = kotlin_kotlin.$_$.
|
|
39
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
40
|
-
var contains = kotlin_kotlin.$_$.
|
|
41
|
-
var toDouble = kotlin_kotlin.$_$.
|
|
37
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.xb;
|
|
38
|
+
var ClosedRange = kotlin_kotlin.$_$.mc;
|
|
39
|
+
var isInterface = kotlin_kotlin.$_$.qb;
|
|
40
|
+
var contains = kotlin_kotlin.$_$.wc;
|
|
41
|
+
var toDouble = kotlin_kotlin.$_$.if;
|
|
42
42
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.v4;
|
|
43
43
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
44
44
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
@@ -51,24 +51,24 @@
|
|
|
51
51
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
52
52
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
53
53
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
54
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
55
|
-
var toULongOrNull = kotlin_kotlin.$_$.
|
|
56
|
-
var ULong = kotlin_kotlin.$_$.
|
|
54
|
+
var toLongOrNull = kotlin_kotlin.$_$.mf;
|
|
55
|
+
var toULongOrNull = kotlin_kotlin.$_$.qf;
|
|
56
|
+
var ULong = kotlin_kotlin.$_$.xg;
|
|
57
57
|
var Companion_getInstance = kotlin_kotlin.$_$.e5;
|
|
58
58
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
59
59
|
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.w3;
|
|
60
|
-
var toDoubleOrNull = kotlin_kotlin.$_$.
|
|
61
|
-
var toBooleanStrictOrNull = kotlin_kotlin.$_$.
|
|
60
|
+
var toDoubleOrNull = kotlin_kotlin.$_$.hf;
|
|
61
|
+
var toBooleanStrictOrNull = kotlin_kotlin.$_$.gf;
|
|
62
62
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
63
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
63
|
+
var lazy_0 = kotlin_kotlin.$_$.mh;
|
|
64
64
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
65
65
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
66
66
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
67
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
68
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
67
|
+
var KProperty1 = kotlin_kotlin.$_$.cd;
|
|
68
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.eb;
|
|
69
69
|
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
70
70
|
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
71
|
-
var toLong = kotlin_kotlin.$_$.
|
|
71
|
+
var toLong = kotlin_kotlin.$_$.hc;
|
|
72
72
|
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.m3;
|
|
73
73
|
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.o3;
|
|
74
74
|
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.v3;
|
|
@@ -78,34 +78,34 @@
|
|
|
78
78
|
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.e4;
|
|
79
79
|
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.g4;
|
|
80
80
|
var ElementMarker = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
81
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
81
|
+
var captureStack = kotlin_kotlin.$_$.qa;
|
|
82
82
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
83
83
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
84
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
85
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
86
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
84
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.va;
|
|
85
|
+
var coerceAtLeast = kotlin_kotlin.$_$.pc;
|
|
86
|
+
var coerceAtMost = kotlin_kotlin.$_$.sc;
|
|
87
87
|
var Companion_instance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
88
88
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
89
89
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
90
90
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
91
91
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
92
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
92
|
+
var singleOrNull = kotlin_kotlin.$_$.q8;
|
|
93
93
|
var emptyMap = kotlin_kotlin.$_$.t6;
|
|
94
94
|
var getValue = kotlin_kotlin.$_$.d7;
|
|
95
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
95
|
+
var fillArrayVal = kotlin_kotlin.$_$.bb;
|
|
96
96
|
var copyOf = kotlin_kotlin.$_$.n6;
|
|
97
97
|
var copyOf_0 = kotlin_kotlin.$_$.o6;
|
|
98
98
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
99
|
-
var DeepRecursiveFunction = kotlin_kotlin.$_$.
|
|
100
|
-
var invoke = kotlin_kotlin.$_$.
|
|
101
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
102
|
-
var DeepRecursiveScope = kotlin_kotlin.$_$.
|
|
103
|
-
var Unit = kotlin_kotlin.$_$.
|
|
104
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
99
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.cg;
|
|
100
|
+
var invoke = kotlin_kotlin.$_$.hh;
|
|
101
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ga;
|
|
102
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.dg;
|
|
103
|
+
var Unit = kotlin_kotlin.$_$.ah;
|
|
104
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.s9;
|
|
105
105
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1;
|
|
106
106
|
var getKClass = kotlin_kotlin.$_$.f;
|
|
107
107
|
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
108
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
108
|
+
var ensureNotNull = kotlin_kotlin.$_$.gh;
|
|
109
109
|
var DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
110
110
|
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
111
111
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
|
|
@@ -117,23 +117,23 @@
|
|
|
117
117
|
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
118
118
|
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
119
119
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
120
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
121
|
-
var removeSuffix = kotlin_kotlin.$_$.
|
|
122
|
-
var substringAfter = kotlin_kotlin.$_$.
|
|
123
|
-
var contains_0 = kotlin_kotlin.$_$.
|
|
124
|
-
var plus = kotlin_kotlin.$_$.
|
|
120
|
+
var substringBefore = kotlin_kotlin.$_$.df;
|
|
121
|
+
var removeSuffix = kotlin_kotlin.$_$.me;
|
|
122
|
+
var substringAfter = kotlin_kotlin.$_$.ze;
|
|
123
|
+
var contains_0 = kotlin_kotlin.$_$.nd;
|
|
124
|
+
var plus = kotlin_kotlin.$_$.oh;
|
|
125
125
|
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
126
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
127
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
128
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
129
|
-
var toUInt = kotlin_kotlin.$_$.
|
|
126
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.hg;
|
|
127
|
+
var isFinite = kotlin_kotlin.$_$.jh;
|
|
128
|
+
var isFinite_0 = kotlin_kotlin.$_$.ih;
|
|
129
|
+
var toUInt = kotlin_kotlin.$_$.pf;
|
|
130
130
|
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.n3;
|
|
131
|
-
var toULong = kotlin_kotlin.$_$.
|
|
132
|
-
var toUByte = kotlin_kotlin.$_$.
|
|
131
|
+
var toULong = kotlin_kotlin.$_$.rf;
|
|
132
|
+
var toUByte = kotlin_kotlin.$_$.of;
|
|
133
133
|
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.e3;
|
|
134
|
-
var toUShort = kotlin_kotlin.$_$.
|
|
134
|
+
var toUShort = kotlin_kotlin.$_$.sf;
|
|
135
135
|
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.f4;
|
|
136
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
136
|
+
var objectCreate = kotlin_kotlin.$_$.cc;
|
|
137
137
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
138
138
|
var findPolymorphicSerializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q2;
|
|
139
139
|
var toString_0 = kotlin_kotlin.$_$.x2;
|
|
@@ -143,34 +143,34 @@
|
|
|
143
143
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
144
144
|
var Companion_getInstance_2 = kotlin_kotlin.$_$.f5;
|
|
145
145
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
146
|
-
var setOf = kotlin_kotlin.$_$.
|
|
146
|
+
var setOf = kotlin_kotlin.$_$.p8;
|
|
147
147
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.w2;
|
|
148
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
149
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
148
|
+
var numberToChar = kotlin_kotlin.$_$.yb;
|
|
149
|
+
var equals_0 = kotlin_kotlin.$_$.td;
|
|
150
150
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
151
151
|
var ByteCompanionObject_instance = kotlin_kotlin.$_$.q4;
|
|
152
|
-
var toByte = kotlin_kotlin.$_$.
|
|
152
|
+
var toByte = kotlin_kotlin.$_$.gc;
|
|
153
153
|
var ShortCompanionObject_instance = kotlin_kotlin.$_$.u4;
|
|
154
|
-
var toShort = kotlin_kotlin.$_$.
|
|
155
|
-
var single = kotlin_kotlin.$_$.
|
|
156
|
-
var Char = kotlin_kotlin.$_$.
|
|
154
|
+
var toShort = kotlin_kotlin.$_$.ic;
|
|
155
|
+
var single = kotlin_kotlin.$_$.se;
|
|
156
|
+
var Char = kotlin_kotlin.$_$.yf;
|
|
157
157
|
var emptySet = kotlin_kotlin.$_$.u6;
|
|
158
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
159
|
-
var toInt = kotlin_kotlin.$_$.
|
|
160
|
-
var toList = kotlin_kotlin.$_$.
|
|
161
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
162
|
-
var Enum = kotlin_kotlin.$_$.
|
|
158
|
+
var plus_0 = kotlin_kotlin.$_$.h8;
|
|
159
|
+
var toInt = kotlin_kotlin.$_$.kf;
|
|
160
|
+
var toList = kotlin_kotlin.$_$.b9;
|
|
161
|
+
var enumEntries = kotlin_kotlin.$_$.ia;
|
|
162
|
+
var Enum = kotlin_kotlin.$_$.eg;
|
|
163
163
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
164
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
164
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.nh;
|
|
165
165
|
var last = kotlin_kotlin.$_$.v7;
|
|
166
|
-
var removeLast = kotlin_kotlin.$_$.
|
|
167
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
168
|
-
var Long = kotlin_kotlin.$_$.
|
|
166
|
+
var removeLast = kotlin_kotlin.$_$.m8;
|
|
167
|
+
var lastIndexOf = kotlin_kotlin.$_$.he;
|
|
168
|
+
var Long = kotlin_kotlin.$_$.jg;
|
|
169
169
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.s2;
|
|
170
170
|
var Companion_getInstance_3 = kotlin_kotlin.$_$.a5;
|
|
171
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
172
|
-
var charArray = kotlin_kotlin.$_$.
|
|
173
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
171
|
+
var numberToLong = kotlin_kotlin.$_$.bc;
|
|
172
|
+
var charArray = kotlin_kotlin.$_$.sa;
|
|
173
|
+
var indexOf = kotlin_kotlin.$_$.yd;
|
|
174
174
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.f1;
|
|
175
175
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
176
176
|
//endregion
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
encodeByWriter(this, result, serializer, value);
|
|
260
260
|
return result.toString();
|
|
261
261
|
}finally {
|
|
262
|
-
result.
|
|
262
|
+
result.js();
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
265
|
protoOf(Json).c27 = function (deserializer, string) {
|
|
@@ -531,6 +531,14 @@
|
|
|
531
531
|
protoOf(JsonArray).i1 = function (index) {
|
|
532
532
|
return this.d2x_1.i1(index);
|
|
533
533
|
};
|
|
534
|
+
protoOf(JsonArray).g2x = function (element) {
|
|
535
|
+
return this.d2x_1.a2(element);
|
|
536
|
+
};
|
|
537
|
+
protoOf(JsonArray).a2 = function (element) {
|
|
538
|
+
if (!(element instanceof JsonElement))
|
|
539
|
+
return -1;
|
|
540
|
+
return this.g2x(element instanceof JsonElement ? element : THROW_CCE());
|
|
541
|
+
};
|
|
534
542
|
protoOf(JsonArray).e1 = function () {
|
|
535
543
|
return this.d2x_1.e1();
|
|
536
544
|
};
|
|
@@ -562,10 +570,10 @@
|
|
|
562
570
|
JsonElement.call(this);
|
|
563
571
|
}
|
|
564
572
|
protoOf(JsonPrimitive).toString = function () {
|
|
565
|
-
return this.
|
|
573
|
+
return this.i2x();
|
|
566
574
|
};
|
|
567
575
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
568
|
-
return $this.
|
|
576
|
+
return $this.k2x_1.s2();
|
|
569
577
|
}
|
|
570
578
|
function JsonNull$_anonymous__enib48() {
|
|
571
579
|
return JsonNullSerializer_getInstance();
|
|
@@ -573,22 +581,22 @@
|
|
|
573
581
|
function JsonNull() {
|
|
574
582
|
JsonNull_instance = this;
|
|
575
583
|
JsonPrimitive.call(this);
|
|
576
|
-
this.
|
|
584
|
+
this.j2x_1 = 'null';
|
|
577
585
|
var tmp = this;
|
|
578
586
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
579
|
-
tmp.
|
|
587
|
+
tmp.k2x_1 = lazy(tmp_0, JsonNull$_anonymous__enib48);
|
|
580
588
|
}
|
|
581
|
-
protoOf(JsonNull).
|
|
589
|
+
protoOf(JsonNull).h2x = function () {
|
|
582
590
|
return false;
|
|
583
591
|
};
|
|
584
|
-
protoOf(JsonNull).
|
|
585
|
-
return this.
|
|
592
|
+
protoOf(JsonNull).i2x = function () {
|
|
593
|
+
return this.j2x_1;
|
|
586
594
|
};
|
|
587
|
-
protoOf(JsonNull).
|
|
595
|
+
protoOf(JsonNull).l2x = function () {
|
|
588
596
|
return _get_$cachedSerializer__te6jhj(this);
|
|
589
597
|
};
|
|
590
598
|
protoOf(JsonNull).y2h = function (typeParamsSerializers) {
|
|
591
|
-
return this.
|
|
599
|
+
return this.l2x();
|
|
592
600
|
};
|
|
593
601
|
var JsonNull_instance;
|
|
594
602
|
function JsonNull_getInstance() {
|
|
@@ -599,40 +607,40 @@
|
|
|
599
607
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
600
608
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
601
609
|
JsonPrimitive.call(this);
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
604
|
-
this.
|
|
605
|
-
if (!(this.
|
|
610
|
+
this.m2x_1 = isString;
|
|
611
|
+
this.n2x_1 = coerceToInlineType;
|
|
612
|
+
this.o2x_1 = toString(body);
|
|
613
|
+
if (!(this.n2x_1 == null)) {
|
|
606
614
|
// Inline function 'kotlin.require' call
|
|
607
615
|
// Inline function 'kotlin.contracts.contract' call
|
|
608
616
|
// Inline function 'kotlin.require' call
|
|
609
617
|
// Inline function 'kotlin.contracts.contract' call
|
|
610
|
-
if (!this.
|
|
618
|
+
if (!this.n2x_1.r27()) {
|
|
611
619
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
612
620
|
var message = 'Failed requirement.';
|
|
613
621
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
614
622
|
}
|
|
615
623
|
}
|
|
616
624
|
}
|
|
617
|
-
protoOf(JsonLiteral).g2x = function () {
|
|
618
|
-
return this.l2x_1;
|
|
619
|
-
};
|
|
620
625
|
protoOf(JsonLiteral).h2x = function () {
|
|
621
|
-
return this.
|
|
626
|
+
return this.m2x_1;
|
|
627
|
+
};
|
|
628
|
+
protoOf(JsonLiteral).i2x = function () {
|
|
629
|
+
return this.o2x_1;
|
|
622
630
|
};
|
|
623
631
|
protoOf(JsonLiteral).toString = function () {
|
|
624
632
|
var tmp;
|
|
625
|
-
if (this.
|
|
633
|
+
if (this.m2x_1) {
|
|
626
634
|
// Inline function 'kotlin.text.buildString' call
|
|
627
635
|
// Inline function 'kotlin.contracts.contract' call
|
|
628
636
|
// Inline function 'kotlin.apply' call
|
|
629
637
|
var this_0 = StringBuilder_init_$Create$();
|
|
630
638
|
// Inline function 'kotlin.contracts.contract' call
|
|
631
639
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
632
|
-
printQuoted(this_0, this.
|
|
640
|
+
printQuoted(this_0, this.o2x_1);
|
|
633
641
|
tmp = this_0.toString();
|
|
634
642
|
} else {
|
|
635
|
-
tmp = this.
|
|
643
|
+
tmp = this.o2x_1;
|
|
636
644
|
}
|
|
637
645
|
return tmp;
|
|
638
646
|
};
|
|
@@ -643,15 +651,15 @@
|
|
|
643
651
|
return false;
|
|
644
652
|
if (!(other instanceof JsonLiteral))
|
|
645
653
|
THROW_CCE();
|
|
646
|
-
if (!(this.
|
|
654
|
+
if (!(this.m2x_1 === other.m2x_1))
|
|
647
655
|
return false;
|
|
648
|
-
if (!(this.
|
|
656
|
+
if (!(this.o2x_1 === other.o2x_1))
|
|
649
657
|
return false;
|
|
650
658
|
return true;
|
|
651
659
|
};
|
|
652
660
|
protoOf(JsonLiteral).hashCode = function () {
|
|
653
|
-
var result = getBooleanHashCode(this.
|
|
654
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
661
|
+
var result = getBooleanHashCode(this.m2x_1);
|
|
662
|
+
result = imul(31, result) + getStringHashCode(this.o2x_1) | 0;
|
|
655
663
|
return result;
|
|
656
664
|
};
|
|
657
665
|
function JsonPrimitive_0(value) {
|
|
@@ -662,7 +670,7 @@
|
|
|
662
670
|
}
|
|
663
671
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
664
672
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
665
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
673
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.i2x());
|
|
666
674
|
}
|
|
667
675
|
function get_int(_this__u8e3s4) {
|
|
668
676
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -670,7 +678,7 @@
|
|
|
670
678
|
var tmp;
|
|
671
679
|
try {
|
|
672
680
|
// Inline function 'kotlinx.serialization.json.<get-int>.<anonymous>' call
|
|
673
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
681
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.i2x())).p2x();
|
|
674
682
|
} catch ($p) {
|
|
675
683
|
var tmp_0;
|
|
676
684
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -684,7 +692,7 @@
|
|
|
684
692
|
// Inline function 'kotlin.ranges.contains' call
|
|
685
693
|
var this_0 = numberRangeToNumber(IntCompanionObject_instance.MIN_VALUE, IntCompanionObject_instance.MAX_VALUE);
|
|
686
694
|
if (!contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result))
|
|
687
|
-
throw NumberFormatException_init_$Create$(_this__u8e3s4.
|
|
695
|
+
throw NumberFormatException_init_$Create$(_this__u8e3s4.i2x() + ' is not an Int');
|
|
688
696
|
return result.eb();
|
|
689
697
|
}
|
|
690
698
|
function get_long(_this__u8e3s4) {
|
|
@@ -693,7 +701,7 @@
|
|
|
693
701
|
var tmp;
|
|
694
702
|
try {
|
|
695
703
|
// Inline function 'kotlinx.serialization.json.<get-long>.<anonymous>' call
|
|
696
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
704
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.i2x())).p2x();
|
|
697
705
|
} catch ($p) {
|
|
698
706
|
var tmp_0;
|
|
699
707
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -708,14 +716,14 @@
|
|
|
708
716
|
function get_float(_this__u8e3s4) {
|
|
709
717
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
710
718
|
// Inline function 'kotlin.text.toFloat' call
|
|
711
|
-
var this_0 = _this__u8e3s4.
|
|
719
|
+
var this_0 = _this__u8e3s4.i2x();
|
|
712
720
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
713
721
|
// Inline function 'kotlin.js.asDynamic' call
|
|
714
722
|
return toDouble(this_0);
|
|
715
723
|
}
|
|
716
724
|
function get_double(_this__u8e3s4) {
|
|
717
725
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
718
|
-
return toDouble(_this__u8e3s4.
|
|
726
|
+
return toDouble(_this__u8e3s4.i2x());
|
|
719
727
|
}
|
|
720
728
|
function get_contentOrNull(_this__u8e3s4) {
|
|
721
729
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -723,7 +731,7 @@
|
|
|
723
731
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
724
732
|
tmp = null;
|
|
725
733
|
} else {
|
|
726
|
-
tmp = _this__u8e3s4.
|
|
734
|
+
tmp = _this__u8e3s4.i2x();
|
|
727
735
|
}
|
|
728
736
|
return tmp;
|
|
729
737
|
}
|
|
@@ -751,41 +759,41 @@
|
|
|
751
759
|
}
|
|
752
760
|
function JsonObjectDescriptor() {
|
|
753
761
|
JsonObjectDescriptor_instance = this;
|
|
754
|
-
this.
|
|
755
|
-
this.
|
|
762
|
+
this.q2x_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).y25();
|
|
763
|
+
this.r2x_1 = 'kotlinx.serialization.json.JsonObject';
|
|
756
764
|
}
|
|
757
765
|
protoOf(JsonObjectDescriptor).p27 = function () {
|
|
758
|
-
return this.
|
|
766
|
+
return this.q2x_1.p27();
|
|
759
767
|
};
|
|
760
768
|
protoOf(JsonObjectDescriptor).q27 = function () {
|
|
761
|
-
return this.
|
|
769
|
+
return this.q2x_1.q27();
|
|
762
770
|
};
|
|
763
771
|
protoOf(JsonObjectDescriptor).r27 = function () {
|
|
764
|
-
return this.
|
|
772
|
+
return this.q2x_1.r27();
|
|
765
773
|
};
|
|
766
774
|
protoOf(JsonObjectDescriptor).l27 = function () {
|
|
767
|
-
return this.
|
|
775
|
+
return this.q2x_1.l27();
|
|
768
776
|
};
|
|
769
777
|
protoOf(JsonObjectDescriptor).s27 = function () {
|
|
770
|
-
return this.
|
|
778
|
+
return this.q2x_1.s27();
|
|
771
779
|
};
|
|
772
780
|
protoOf(JsonObjectDescriptor).t27 = function (index) {
|
|
773
|
-
return this.
|
|
781
|
+
return this.q2x_1.t27(index);
|
|
774
782
|
};
|
|
775
783
|
protoOf(JsonObjectDescriptor).u27 = function (index) {
|
|
776
|
-
return this.
|
|
784
|
+
return this.q2x_1.u27(index);
|
|
777
785
|
};
|
|
778
786
|
protoOf(JsonObjectDescriptor).v27 = function (name) {
|
|
779
|
-
return this.
|
|
787
|
+
return this.q2x_1.v27(name);
|
|
780
788
|
};
|
|
781
789
|
protoOf(JsonObjectDescriptor).w27 = function (index) {
|
|
782
|
-
return this.
|
|
790
|
+
return this.q2x_1.w27(index);
|
|
783
791
|
};
|
|
784
792
|
protoOf(JsonObjectDescriptor).x27 = function (index) {
|
|
785
|
-
return this.
|
|
793
|
+
return this.q2x_1.x27(index);
|
|
786
794
|
};
|
|
787
795
|
protoOf(JsonObjectDescriptor).z26 = function () {
|
|
788
|
-
return this.
|
|
796
|
+
return this.r2x_1;
|
|
789
797
|
};
|
|
790
798
|
var JsonObjectDescriptor_instance;
|
|
791
799
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -795,17 +803,17 @@
|
|
|
795
803
|
}
|
|
796
804
|
function JsonObjectSerializer() {
|
|
797
805
|
JsonObjectSerializer_instance = this;
|
|
798
|
-
this.
|
|
806
|
+
this.s2x_1 = JsonObjectDescriptor_getInstance();
|
|
799
807
|
}
|
|
800
808
|
protoOf(JsonObjectSerializer).y25 = function () {
|
|
801
|
-
return this.
|
|
809
|
+
return this.s2x_1;
|
|
802
810
|
};
|
|
803
|
-
protoOf(JsonObjectSerializer).
|
|
811
|
+
protoOf(JsonObjectSerializer).t2x = function (encoder, value) {
|
|
804
812
|
verify(encoder);
|
|
805
813
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).z25(encoder, value);
|
|
806
814
|
};
|
|
807
815
|
protoOf(JsonObjectSerializer).z25 = function (encoder, value) {
|
|
808
|
-
return this.
|
|
816
|
+
return this.t2x(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
809
817
|
};
|
|
810
818
|
protoOf(JsonObjectSerializer).a26 = function (decoder) {
|
|
811
819
|
verify_0(decoder);
|
|
@@ -819,41 +827,41 @@
|
|
|
819
827
|
}
|
|
820
828
|
function JsonArrayDescriptor() {
|
|
821
829
|
JsonArrayDescriptor_instance = this;
|
|
822
|
-
this.
|
|
823
|
-
this.
|
|
830
|
+
this.u2x_1 = ListSerializer(JsonElementSerializer_getInstance()).y25();
|
|
831
|
+
this.v2x_1 = 'kotlinx.serialization.json.JsonArray';
|
|
824
832
|
}
|
|
825
833
|
protoOf(JsonArrayDescriptor).p27 = function () {
|
|
826
|
-
return this.
|
|
834
|
+
return this.u2x_1.p27();
|
|
827
835
|
};
|
|
828
836
|
protoOf(JsonArrayDescriptor).q27 = function () {
|
|
829
|
-
return this.
|
|
837
|
+
return this.u2x_1.q27();
|
|
830
838
|
};
|
|
831
839
|
protoOf(JsonArrayDescriptor).r27 = function () {
|
|
832
|
-
return this.
|
|
840
|
+
return this.u2x_1.r27();
|
|
833
841
|
};
|
|
834
842
|
protoOf(JsonArrayDescriptor).l27 = function () {
|
|
835
|
-
return this.
|
|
843
|
+
return this.u2x_1.l27();
|
|
836
844
|
};
|
|
837
845
|
protoOf(JsonArrayDescriptor).s27 = function () {
|
|
838
|
-
return this.
|
|
846
|
+
return this.u2x_1.s27();
|
|
839
847
|
};
|
|
840
848
|
protoOf(JsonArrayDescriptor).t27 = function (index) {
|
|
841
|
-
return this.
|
|
849
|
+
return this.u2x_1.t27(index);
|
|
842
850
|
};
|
|
843
851
|
protoOf(JsonArrayDescriptor).u27 = function (index) {
|
|
844
|
-
return this.
|
|
852
|
+
return this.u2x_1.u27(index);
|
|
845
853
|
};
|
|
846
854
|
protoOf(JsonArrayDescriptor).v27 = function (name) {
|
|
847
|
-
return this.
|
|
855
|
+
return this.u2x_1.v27(name);
|
|
848
856
|
};
|
|
849
857
|
protoOf(JsonArrayDescriptor).w27 = function (index) {
|
|
850
|
-
return this.
|
|
858
|
+
return this.u2x_1.w27(index);
|
|
851
859
|
};
|
|
852
860
|
protoOf(JsonArrayDescriptor).x27 = function (index) {
|
|
853
|
-
return this.
|
|
861
|
+
return this.u2x_1.x27(index);
|
|
854
862
|
};
|
|
855
863
|
protoOf(JsonArrayDescriptor).z26 = function () {
|
|
856
|
-
return this.
|
|
864
|
+
return this.v2x_1;
|
|
857
865
|
};
|
|
858
866
|
var JsonArrayDescriptor_instance;
|
|
859
867
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -863,17 +871,17 @@
|
|
|
863
871
|
}
|
|
864
872
|
function JsonArraySerializer() {
|
|
865
873
|
JsonArraySerializer_instance = this;
|
|
866
|
-
this.
|
|
874
|
+
this.w2x_1 = JsonArrayDescriptor_getInstance();
|
|
867
875
|
}
|
|
868
876
|
protoOf(JsonArraySerializer).y25 = function () {
|
|
869
|
-
return this.
|
|
877
|
+
return this.w2x_1;
|
|
870
878
|
};
|
|
871
|
-
protoOf(JsonArraySerializer).
|
|
879
|
+
protoOf(JsonArraySerializer).x2x = function (encoder, value) {
|
|
872
880
|
verify(encoder);
|
|
873
881
|
ListSerializer(JsonElementSerializer_getInstance()).z25(encoder, value);
|
|
874
882
|
};
|
|
875
883
|
protoOf(JsonArraySerializer).z25 = function (encoder, value) {
|
|
876
|
-
return this.
|
|
884
|
+
return this.x2x(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
877
885
|
};
|
|
878
886
|
protoOf(JsonArraySerializer).a26 = function (decoder) {
|
|
879
887
|
verify_0(decoder);
|
|
@@ -894,30 +902,30 @@
|
|
|
894
902
|
return Unit_instance;
|
|
895
903
|
}
|
|
896
904
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
897
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
905
|
+
return JsonPrimitiveSerializer_getInstance().y2x_1;
|
|
898
906
|
}
|
|
899
907
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
900
|
-
return JsonNullSerializer_getInstance().
|
|
908
|
+
return JsonNullSerializer_getInstance().z2x_1;
|
|
901
909
|
}
|
|
902
910
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
903
|
-
return JsonLiteralSerializer_getInstance().
|
|
911
|
+
return JsonLiteralSerializer_getInstance().a2y_1;
|
|
904
912
|
}
|
|
905
913
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
906
|
-
return JsonObjectSerializer_getInstance().
|
|
914
|
+
return JsonObjectSerializer_getInstance().s2x_1;
|
|
907
915
|
}
|
|
908
916
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
909
|
-
return JsonArraySerializer_getInstance().
|
|
917
|
+
return JsonArraySerializer_getInstance().w2x_1;
|
|
910
918
|
}
|
|
911
919
|
function JsonElementSerializer() {
|
|
912
920
|
JsonElementSerializer_instance = this;
|
|
913
921
|
var tmp = this;
|
|
914
922
|
var tmp_0 = SEALED_getInstance();
|
|
915
|
-
tmp.
|
|
923
|
+
tmp.b2y_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
916
924
|
}
|
|
917
925
|
protoOf(JsonElementSerializer).y25 = function () {
|
|
918
|
-
return this.
|
|
926
|
+
return this.b2y_1;
|
|
919
927
|
};
|
|
920
|
-
protoOf(JsonElementSerializer).
|
|
928
|
+
protoOf(JsonElementSerializer).c2y = function (encoder, value) {
|
|
921
929
|
verify(encoder);
|
|
922
930
|
if (value instanceof JsonPrimitive) {
|
|
923
931
|
encoder.c2b(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -932,7 +940,7 @@
|
|
|
932
940
|
}
|
|
933
941
|
};
|
|
934
942
|
protoOf(JsonElementSerializer).z25 = function (encoder, value) {
|
|
935
|
-
return this.
|
|
943
|
+
return this.c2y(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
936
944
|
};
|
|
937
945
|
protoOf(JsonElementSerializer).a26 = function (decoder) {
|
|
938
946
|
var input = asJsonDecoder(decoder);
|
|
@@ -955,12 +963,12 @@
|
|
|
955
963
|
}
|
|
956
964
|
function JsonPrimitiveSerializer() {
|
|
957
965
|
JsonPrimitiveSerializer_instance = this;
|
|
958
|
-
this.
|
|
966
|
+
this.y2x_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
959
967
|
}
|
|
960
968
|
protoOf(JsonPrimitiveSerializer).y25 = function () {
|
|
961
|
-
return this.
|
|
969
|
+
return this.y2x_1;
|
|
962
970
|
};
|
|
963
|
-
protoOf(JsonPrimitiveSerializer).
|
|
971
|
+
protoOf(JsonPrimitiveSerializer).d2y = function (encoder, value) {
|
|
964
972
|
verify(encoder);
|
|
965
973
|
var tmp;
|
|
966
974
|
if (value instanceof JsonNull) {
|
|
@@ -974,7 +982,7 @@
|
|
|
974
982
|
return tmp;
|
|
975
983
|
};
|
|
976
984
|
protoOf(JsonPrimitiveSerializer).z25 = function (encoder, value) {
|
|
977
|
-
return this.
|
|
985
|
+
return this.d2y(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
978
986
|
};
|
|
979
987
|
protoOf(JsonPrimitiveSerializer).a26 = function (decoder) {
|
|
980
988
|
var result = asJsonDecoder(decoder).b2x();
|
|
@@ -990,17 +998,17 @@
|
|
|
990
998
|
}
|
|
991
999
|
function JsonNullSerializer() {
|
|
992
1000
|
JsonNullSerializer_instance = this;
|
|
993
|
-
this.
|
|
1001
|
+
this.z2x_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
994
1002
|
}
|
|
995
1003
|
protoOf(JsonNullSerializer).y25 = function () {
|
|
996
|
-
return this.
|
|
1004
|
+
return this.z2x_1;
|
|
997
1005
|
};
|
|
998
|
-
protoOf(JsonNullSerializer).
|
|
1006
|
+
protoOf(JsonNullSerializer).e2y = function (encoder, value) {
|
|
999
1007
|
verify(encoder);
|
|
1000
1008
|
encoder.f2a();
|
|
1001
1009
|
};
|
|
1002
1010
|
protoOf(JsonNullSerializer).z25 = function (encoder, value) {
|
|
1003
|
-
return this.
|
|
1011
|
+
return this.e2y(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
1004
1012
|
};
|
|
1005
1013
|
protoOf(JsonNullSerializer).a26 = function (decoder) {
|
|
1006
1014
|
verify_0(decoder);
|
|
@@ -1018,20 +1026,20 @@
|
|
|
1018
1026
|
}
|
|
1019
1027
|
function JsonLiteralSerializer() {
|
|
1020
1028
|
JsonLiteralSerializer_instance = this;
|
|
1021
|
-
this.
|
|
1029
|
+
this.a2y_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
1022
1030
|
}
|
|
1023
1031
|
protoOf(JsonLiteralSerializer).y25 = function () {
|
|
1024
|
-
return this.
|
|
1032
|
+
return this.a2y_1;
|
|
1025
1033
|
};
|
|
1026
|
-
protoOf(JsonLiteralSerializer).
|
|
1034
|
+
protoOf(JsonLiteralSerializer).f2y = function (encoder, value) {
|
|
1027
1035
|
verify(encoder);
|
|
1028
|
-
if (value.
|
|
1029
|
-
return encoder.o2a(value.
|
|
1036
|
+
if (value.m2x_1) {
|
|
1037
|
+
return encoder.o2a(value.o2x_1);
|
|
1030
1038
|
}
|
|
1031
|
-
if (!(value.
|
|
1032
|
-
return encoder.q2a(value.
|
|
1039
|
+
if (!(value.n2x_1 == null)) {
|
|
1040
|
+
return encoder.q2a(value.n2x_1).o2a(value.o2x_1);
|
|
1033
1041
|
}
|
|
1034
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
1042
|
+
var tmp0_safe_receiver = toLongOrNull(value.o2x_1);
|
|
1035
1043
|
if (tmp0_safe_receiver == null)
|
|
1036
1044
|
null;
|
|
1037
1045
|
else {
|
|
@@ -1039,7 +1047,7 @@
|
|
|
1039
1047
|
// Inline function 'kotlin.contracts.contract' call
|
|
1040
1048
|
return encoder.k2a(tmp0_safe_receiver);
|
|
1041
1049
|
}
|
|
1042
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
1050
|
+
var tmp1_safe_receiver = toULongOrNull(value.o2x_1);
|
|
1043
1051
|
var tmp = tmp1_safe_receiver;
|
|
1044
1052
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
1045
1053
|
null;
|
|
@@ -1047,14 +1055,14 @@
|
|
|
1047
1055
|
// Inline function 'kotlin.let' call
|
|
1048
1056
|
var tmp_0 = tmp1_safe_receiver;
|
|
1049
1057
|
// Inline function 'kotlin.contracts.contract' call
|
|
1050
|
-
var it = (tmp_0 == null ? null : new ULong(tmp_0)).
|
|
1058
|
+
var it = (tmp_0 == null ? null : new ULong(tmp_0)).cl_1;
|
|
1051
1059
|
var tmp_1 = encoder.q2a(serializer_0(Companion_getInstance()).y25());
|
|
1052
1060
|
// Inline function 'kotlin.ULong.toLong' call
|
|
1053
1061
|
var tmp$ret$1 = _ULong___get_data__impl__fggpzb(it);
|
|
1054
1062
|
tmp_1.k2a(tmp$ret$1);
|
|
1055
1063
|
return Unit_instance;
|
|
1056
1064
|
}
|
|
1057
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
1065
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.o2x_1);
|
|
1058
1066
|
if (tmp2_safe_receiver == null)
|
|
1059
1067
|
null;
|
|
1060
1068
|
else {
|
|
@@ -1062,7 +1070,7 @@
|
|
|
1062
1070
|
// Inline function 'kotlin.contracts.contract' call
|
|
1063
1071
|
return encoder.m2a(tmp2_safe_receiver);
|
|
1064
1072
|
}
|
|
1065
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
1073
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.o2x_1);
|
|
1066
1074
|
if (tmp3_safe_receiver == null)
|
|
1067
1075
|
null;
|
|
1068
1076
|
else {
|
|
@@ -1070,10 +1078,10 @@
|
|
|
1070
1078
|
// Inline function 'kotlin.contracts.contract' call
|
|
1071
1079
|
return encoder.g2a(tmp3_safe_receiver);
|
|
1072
1080
|
}
|
|
1073
|
-
encoder.o2a(value.
|
|
1081
|
+
encoder.o2a(value.o2x_1);
|
|
1074
1082
|
};
|
|
1075
1083
|
protoOf(JsonLiteralSerializer).z25 = function (encoder, value) {
|
|
1076
|
-
return this.
|
|
1084
|
+
return this.f2y(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
1077
1085
|
};
|
|
1078
1086
|
protoOf(JsonLiteralSerializer).a26 = function (decoder) {
|
|
1079
1087
|
var result = asJsonDecoder(decoder).b2x();
|
|
@@ -1109,12 +1117,12 @@
|
|
|
1109
1117
|
}
|
|
1110
1118
|
function _get_original__l7ku1m($this) {
|
|
1111
1119
|
// Inline function 'kotlin.getValue' call
|
|
1112
|
-
var this_0 = $this.
|
|
1120
|
+
var this_0 = $this.g2y_1;
|
|
1113
1121
|
original$factory();
|
|
1114
1122
|
return this_0.s2();
|
|
1115
1123
|
}
|
|
1116
1124
|
function defer$1($deferred) {
|
|
1117
|
-
this.
|
|
1125
|
+
this.g2y_1 = lazy_0($deferred);
|
|
1118
1126
|
}
|
|
1119
1127
|
protoOf(defer$1).z26 = function () {
|
|
1120
1128
|
return _get_original__l7ku1m(this).z26();
|
|
@@ -1148,130 +1156,130 @@
|
|
|
1148
1156
|
function JsonEncoder() {
|
|
1149
1157
|
}
|
|
1150
1158
|
function Composer(writer) {
|
|
1151
|
-
this.
|
|
1152
|
-
this.
|
|
1159
|
+
this.h2y_1 = writer;
|
|
1160
|
+
this.i2y_1 = true;
|
|
1153
1161
|
}
|
|
1154
|
-
protoOf(Composer).i2y = function () {
|
|
1155
|
-
this.h2y_1 = true;
|
|
1156
|
-
};
|
|
1157
1162
|
protoOf(Composer).j2y = function () {
|
|
1158
|
-
|
|
1163
|
+
this.i2y_1 = true;
|
|
1159
1164
|
};
|
|
1160
1165
|
protoOf(Composer).k2y = function () {
|
|
1161
|
-
|
|
1166
|
+
return Unit_instance;
|
|
1162
1167
|
};
|
|
1163
1168
|
protoOf(Composer).l2y = function () {
|
|
1164
|
-
|
|
1169
|
+
this.i2y_1 = false;
|
|
1165
1170
|
};
|
|
1166
|
-
protoOf(Composer).m2y = function (
|
|
1167
|
-
return
|
|
1171
|
+
protoOf(Composer).m2y = function () {
|
|
1172
|
+
return Unit_instance;
|
|
1168
1173
|
};
|
|
1169
|
-
protoOf(Composer).
|
|
1170
|
-
return this.
|
|
1174
|
+
protoOf(Composer).n2y = function (v) {
|
|
1175
|
+
return this.h2y_1.o2y(v);
|
|
1171
1176
|
};
|
|
1172
|
-
protoOf(Composer).
|
|
1173
|
-
return this.
|
|
1177
|
+
protoOf(Composer).p2y = function (v) {
|
|
1178
|
+
return this.h2y_1.q2y(v);
|
|
1174
1179
|
};
|
|
1175
1180
|
protoOf(Composer).r2y = function (v) {
|
|
1176
|
-
return this.
|
|
1181
|
+
return this.h2y_1.q2y(v.toString());
|
|
1177
1182
|
};
|
|
1178
1183
|
protoOf(Composer).s2y = function (v) {
|
|
1179
|
-
return this.
|
|
1184
|
+
return this.h2y_1.q2y(v.toString());
|
|
1180
1185
|
};
|
|
1181
|
-
protoOf(Composer).
|
|
1182
|
-
return this.
|
|
1186
|
+
protoOf(Composer).t2y = function (v) {
|
|
1187
|
+
return this.h2y_1.u2y(toLong(v));
|
|
1183
1188
|
};
|
|
1184
1189
|
protoOf(Composer).v2y = function (v) {
|
|
1185
|
-
return this.
|
|
1190
|
+
return this.h2y_1.u2y(toLong(v));
|
|
1186
1191
|
};
|
|
1187
1192
|
protoOf(Composer).w2y = function (v) {
|
|
1188
|
-
return this.
|
|
1193
|
+
return this.h2y_1.u2y(toLong(v));
|
|
1189
1194
|
};
|
|
1190
1195
|
protoOf(Composer).x2y = function (v) {
|
|
1191
|
-
return this.
|
|
1196
|
+
return this.h2y_1.u2y(v);
|
|
1192
1197
|
};
|
|
1193
|
-
protoOf(Composer).y2y = function (
|
|
1194
|
-
return this.
|
|
1198
|
+
protoOf(Composer).y2y = function (v) {
|
|
1199
|
+
return this.h2y_1.q2y(v.toString());
|
|
1200
|
+
};
|
|
1201
|
+
protoOf(Composer).z2y = function (value) {
|
|
1202
|
+
return this.h2y_1.a2z(value);
|
|
1195
1203
|
};
|
|
1196
1204
|
function Composer_0(sb, json) {
|
|
1197
1205
|
return json.c2v_1.n2w_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1198
1206
|
}
|
|
1199
1207
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1200
1208
|
Composer.call(this, writer);
|
|
1201
|
-
this.
|
|
1209
|
+
this.d2z_1 = forceQuoting;
|
|
1202
1210
|
}
|
|
1203
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1204
|
-
if (this.
|
|
1211
|
+
protoOf(ComposerForUnsignedNumbers).w2y = function (v) {
|
|
1212
|
+
if (this.d2z_1) {
|
|
1205
1213
|
// Inline function 'kotlin.toUInt' call
|
|
1206
1214
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1207
|
-
this.
|
|
1215
|
+
this.z2y(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1208
1216
|
} else {
|
|
1209
1217
|
// Inline function 'kotlin.toUInt' call
|
|
1210
1218
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1211
|
-
this.
|
|
1219
|
+
this.p2y(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1212
1220
|
}
|
|
1213
1221
|
};
|
|
1214
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1215
|
-
if (this.
|
|
1222
|
+
protoOf(ComposerForUnsignedNumbers).x2y = function (v) {
|
|
1223
|
+
if (this.d2z_1) {
|
|
1216
1224
|
// Inline function 'kotlin.toULong' call
|
|
1217
1225
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1218
|
-
this.
|
|
1226
|
+
this.z2y(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1219
1227
|
} else {
|
|
1220
1228
|
// Inline function 'kotlin.toULong' call
|
|
1221
1229
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1222
|
-
this.
|
|
1230
|
+
this.p2y(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1223
1231
|
}
|
|
1224
1232
|
};
|
|
1225
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1226
|
-
if (this.
|
|
1233
|
+
protoOf(ComposerForUnsignedNumbers).t2y = function (v) {
|
|
1234
|
+
if (this.d2z_1) {
|
|
1227
1235
|
// Inline function 'kotlin.toUByte' call
|
|
1228
1236
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1229
|
-
this.
|
|
1237
|
+
this.z2y(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1230
1238
|
} else {
|
|
1231
1239
|
// Inline function 'kotlin.toUByte' call
|
|
1232
1240
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1233
|
-
this.
|
|
1241
|
+
this.p2y(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1234
1242
|
}
|
|
1235
1243
|
};
|
|
1236
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1237
|
-
if (this.
|
|
1244
|
+
protoOf(ComposerForUnsignedNumbers).v2y = function (v) {
|
|
1245
|
+
if (this.d2z_1) {
|
|
1238
1246
|
// Inline function 'kotlin.toUShort' call
|
|
1239
1247
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1240
|
-
this.
|
|
1248
|
+
this.z2y(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1241
1249
|
} else {
|
|
1242
1250
|
// Inline function 'kotlin.toUShort' call
|
|
1243
1251
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1244
|
-
this.
|
|
1252
|
+
this.p2y(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1245
1253
|
}
|
|
1246
1254
|
};
|
|
1247
1255
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1248
1256
|
Composer.call(this, writer);
|
|
1249
|
-
this.
|
|
1257
|
+
this.g2z_1 = forceQuoting;
|
|
1250
1258
|
}
|
|
1251
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1252
|
-
if (this.
|
|
1253
|
-
protoOf(Composer).
|
|
1259
|
+
protoOf(ComposerForUnquotedLiterals).z2y = function (value) {
|
|
1260
|
+
if (this.g2z_1) {
|
|
1261
|
+
protoOf(Composer).z2y.call(this, value);
|
|
1254
1262
|
} else {
|
|
1255
|
-
protoOf(Composer).
|
|
1263
|
+
protoOf(Composer).p2y.call(this, value);
|
|
1256
1264
|
}
|
|
1257
1265
|
};
|
|
1258
1266
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1259
1267
|
Composer.call(this, writer);
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1268
|
+
this.j2z_1 = json;
|
|
1269
|
+
this.k2z_1 = 0;
|
|
1262
1270
|
}
|
|
1263
|
-
protoOf(ComposerWithPrettyPrint).i2y = function () {
|
|
1264
|
-
this.h2y_1 = true;
|
|
1265
|
-
this.j2z_1 = this.j2z_1 + 1 | 0;
|
|
1266
|
-
};
|
|
1267
1271
|
protoOf(ComposerWithPrettyPrint).j2y = function () {
|
|
1268
|
-
this.
|
|
1272
|
+
this.i2y_1 = true;
|
|
1273
|
+
this.k2z_1 = this.k2z_1 + 1 | 0;
|
|
1269
1274
|
};
|
|
1270
1275
|
protoOf(ComposerWithPrettyPrint).k2y = function () {
|
|
1271
|
-
this.
|
|
1272
|
-
|
|
1276
|
+
this.k2z_1 = this.k2z_1 - 1 | 0;
|
|
1277
|
+
};
|
|
1278
|
+
protoOf(ComposerWithPrettyPrint).l2y = function () {
|
|
1279
|
+
this.i2y_1 = false;
|
|
1280
|
+
this.p2y('\n');
|
|
1273
1281
|
// Inline function 'kotlin.repeat' call
|
|
1274
|
-
var times = this.
|
|
1282
|
+
var times = this.k2z_1;
|
|
1275
1283
|
// Inline function 'kotlin.contracts.contract' call
|
|
1276
1284
|
var inductionVariable = 0;
|
|
1277
1285
|
if (inductionVariable < times)
|
|
@@ -1279,16 +1287,16 @@
|
|
|
1279
1287
|
var index = inductionVariable;
|
|
1280
1288
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1281
1289
|
// Inline function 'kotlinx.serialization.json.internal.ComposerWithPrettyPrint.nextItem.<anonymous>' call
|
|
1282
|
-
this.
|
|
1290
|
+
this.p2y(this.j2z_1.c2v_1.p2w_1);
|
|
1283
1291
|
}
|
|
1284
1292
|
while (inductionVariable < times);
|
|
1285
1293
|
};
|
|
1286
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1287
|
-
this.
|
|
1294
|
+
protoOf(ComposerWithPrettyPrint).m2y = function () {
|
|
1295
|
+
this.n2y(_Char___init__impl__6a9atx(32));
|
|
1288
1296
|
};
|
|
1289
1297
|
function readIfAbsent($this, descriptor, index) {
|
|
1290
|
-
$this.
|
|
1291
|
-
return $this.
|
|
1298
|
+
$this.m2z_1 = !descriptor.x27(index) ? descriptor.u27(index).l27() : false;
|
|
1299
|
+
return $this.m2z_1;
|
|
1292
1300
|
}
|
|
1293
1301
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1294
1302
|
var l = function (p0, p1) {
|
|
@@ -1299,14 +1307,14 @@
|
|
|
1299
1307
|
}
|
|
1300
1308
|
function JsonElementMarker(descriptor) {
|
|
1301
1309
|
var tmp = this;
|
|
1302
|
-
tmp.
|
|
1303
|
-
this.
|
|
1310
|
+
tmp.l2z_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1311
|
+
this.m2z_1 = false;
|
|
1304
1312
|
}
|
|
1305
1313
|
protoOf(JsonElementMarker).o2f = function (index) {
|
|
1306
|
-
this.
|
|
1314
|
+
this.l2z_1.o2f(index);
|
|
1307
1315
|
};
|
|
1308
1316
|
protoOf(JsonElementMarker).p2f = function () {
|
|
1309
|
-
return this.
|
|
1317
|
+
return this.l2z_1.p2f();
|
|
1310
1318
|
};
|
|
1311
1319
|
function JsonDecodingException(message) {
|
|
1312
1320
|
JsonException.call(this, message);
|
|
@@ -1317,10 +1325,10 @@
|
|
|
1317
1325
|
}
|
|
1318
1326
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1319
1327
|
entity = entity === VOID ? 'object' : entity;
|
|
1320
|
-
_this__u8e3s4.
|
|
1328
|
+
_this__u8e3s4.n2z('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.o2v_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingCommas = true' in 'Json {}' builder to support them.");
|
|
1321
1329
|
}
|
|
1322
1330
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1323
|
-
_this__u8e3s4.
|
|
1331
|
+
_this__u8e3s4.o2z('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, get_specialFlowingValuesHint());
|
|
1324
1332
|
}
|
|
1325
1333
|
function JsonEncodingException(message) {
|
|
1326
1334
|
JsonException.call(this, message);
|
|
@@ -1418,7 +1426,7 @@
|
|
|
1418
1426
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1419
1427
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1420
1428
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1421
|
-
return tmp.
|
|
1429
|
+
return tmp.q2z(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1422
1430
|
}
|
|
1423
1431
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1424
1432
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1439,7 +1447,7 @@
|
|
|
1439
1447
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1440
1448
|
var tmp = get_schemaCache(json);
|
|
1441
1449
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1442
|
-
return tmp.
|
|
1450
|
+
return tmp.q2z(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1443
1451
|
}
|
|
1444
1452
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1445
1453
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1493,7 +1501,7 @@
|
|
|
1493
1501
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1494
1502
|
tmp_0 = _this__u8e3s4.w27(i).toLowerCase();
|
|
1495
1503
|
} else if (!(strategyForClasses == null)) {
|
|
1496
|
-
tmp_0 = strategyForClasses.
|
|
1504
|
+
tmp_0 = strategyForClasses.r2z(_this__u8e3s4, i, _this__u8e3s4.w27(i));
|
|
1497
1505
|
} else {
|
|
1498
1506
|
tmp_0 = null;
|
|
1499
1507
|
}
|
|
@@ -1541,7 +1549,7 @@
|
|
|
1541
1549
|
while (tmp < tmp_0) {
|
|
1542
1550
|
var tmp_2 = tmp;
|
|
1543
1551
|
var baseName = $this_serializationNamesIndices.w27(tmp_2);
|
|
1544
|
-
tmp_1[tmp_2] = $strategy.
|
|
1552
|
+
tmp_1[tmp_2] = $strategy.r2z($this_serializationNamesIndices, tmp_2, baseName);
|
|
1545
1553
|
tmp = tmp + 1 | 0;
|
|
1546
1554
|
}
|
|
1547
1555
|
return tmp_1;
|
|
@@ -1562,14 +1570,14 @@
|
|
|
1562
1570
|
return Tombstone_instance;
|
|
1563
1571
|
}
|
|
1564
1572
|
function resize($this) {
|
|
1565
|
-
var newSize = imul($this.
|
|
1566
|
-
$this.
|
|
1567
|
-
$this.
|
|
1573
|
+
var newSize = imul($this.u2z_1, 2);
|
|
1574
|
+
$this.s2z_1 = copyOf($this.s2z_1, newSize);
|
|
1575
|
+
$this.t2z_1 = copyOf_0($this.t2z_1, newSize);
|
|
1568
1576
|
}
|
|
1569
1577
|
function JsonPath() {
|
|
1570
1578
|
var tmp = this;
|
|
1571
1579
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1572
|
-
tmp.
|
|
1580
|
+
tmp.s2z_1 = fillArrayVal(Array(8), null);
|
|
1573
1581
|
var tmp_0 = this;
|
|
1574
1582
|
var tmp_1 = 0;
|
|
1575
1583
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1577,50 +1585,50 @@
|
|
|
1577
1585
|
tmp_2[tmp_1] = -1;
|
|
1578
1586
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1579
1587
|
}
|
|
1580
|
-
tmp_0.
|
|
1581
|
-
this.
|
|
1588
|
+
tmp_0.t2z_1 = tmp_2;
|
|
1589
|
+
this.u2z_1 = -1;
|
|
1582
1590
|
}
|
|
1583
|
-
protoOf(JsonPath).
|
|
1584
|
-
this.
|
|
1585
|
-
var depth = this.
|
|
1586
|
-
if (depth === this.
|
|
1591
|
+
protoOf(JsonPath).v2z = function (sd) {
|
|
1592
|
+
this.u2z_1 = this.u2z_1 + 1 | 0;
|
|
1593
|
+
var depth = this.u2z_1;
|
|
1594
|
+
if (depth === this.s2z_1.length) {
|
|
1587
1595
|
resize(this);
|
|
1588
1596
|
}
|
|
1589
|
-
this.
|
|
1597
|
+
this.s2z_1[depth] = sd;
|
|
1590
1598
|
};
|
|
1591
|
-
protoOf(JsonPath).
|
|
1592
|
-
this.
|
|
1599
|
+
protoOf(JsonPath).w2z = function (index) {
|
|
1600
|
+
this.t2z_1[this.u2z_1] = index;
|
|
1593
1601
|
};
|
|
1594
|
-
protoOf(JsonPath).
|
|
1602
|
+
protoOf(JsonPath).x2z = function (key) {
|
|
1595
1603
|
var tmp;
|
|
1596
|
-
if (!(this.
|
|
1597
|
-
this.
|
|
1598
|
-
tmp = this.
|
|
1604
|
+
if (!(this.t2z_1[this.u2z_1] === -2)) {
|
|
1605
|
+
this.u2z_1 = this.u2z_1 + 1 | 0;
|
|
1606
|
+
tmp = this.u2z_1 === this.s2z_1.length;
|
|
1599
1607
|
} else {
|
|
1600
1608
|
tmp = false;
|
|
1601
1609
|
}
|
|
1602
1610
|
if (tmp) {
|
|
1603
1611
|
resize(this);
|
|
1604
1612
|
}
|
|
1605
|
-
this.
|
|
1606
|
-
this.
|
|
1613
|
+
this.s2z_1[this.u2z_1] = key;
|
|
1614
|
+
this.t2z_1[this.u2z_1] = -2;
|
|
1607
1615
|
};
|
|
1608
|
-
protoOf(JsonPath).
|
|
1609
|
-
if (this.
|
|
1610
|
-
this.
|
|
1616
|
+
protoOf(JsonPath).y2z = function () {
|
|
1617
|
+
if (this.t2z_1[this.u2z_1] === -2) {
|
|
1618
|
+
this.s2z_1[this.u2z_1] = Tombstone_instance;
|
|
1611
1619
|
}
|
|
1612
1620
|
};
|
|
1613
|
-
protoOf(JsonPath).
|
|
1614
|
-
var depth = this.
|
|
1615
|
-
if (this.
|
|
1616
|
-
this.
|
|
1617
|
-
this.
|
|
1621
|
+
protoOf(JsonPath).z2z = function () {
|
|
1622
|
+
var depth = this.u2z_1;
|
|
1623
|
+
if (this.t2z_1[depth] === -2) {
|
|
1624
|
+
this.t2z_1[depth] = -1;
|
|
1625
|
+
this.u2z_1 = this.u2z_1 - 1 | 0;
|
|
1618
1626
|
}
|
|
1619
|
-
if (!(this.
|
|
1620
|
-
this.
|
|
1627
|
+
if (!(this.u2z_1 === -1)) {
|
|
1628
|
+
this.u2z_1 = this.u2z_1 - 1 | 0;
|
|
1621
1629
|
}
|
|
1622
1630
|
};
|
|
1623
|
-
protoOf(JsonPath).
|
|
1631
|
+
protoOf(JsonPath).a30 = function () {
|
|
1624
1632
|
// Inline function 'kotlin.text.buildString' call
|
|
1625
1633
|
// Inline function 'kotlin.contracts.contract' call
|
|
1626
1634
|
// Inline function 'kotlin.apply' call
|
|
@@ -1629,7 +1637,7 @@
|
|
|
1629
1637
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1630
1638
|
this_0.x5('$');
|
|
1631
1639
|
// Inline function 'kotlin.repeat' call
|
|
1632
|
-
var times = this.
|
|
1640
|
+
var times = this.u2z_1 + 1 | 0;
|
|
1633
1641
|
// Inline function 'kotlin.contracts.contract' call
|
|
1634
1642
|
var inductionVariable = 0;
|
|
1635
1643
|
if (inductionVariable < times)
|
|
@@ -1637,16 +1645,16 @@
|
|
|
1637
1645
|
var index = inductionVariable;
|
|
1638
1646
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1639
1647
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1640
|
-
var element = this.
|
|
1648
|
+
var element = this.s2z_1[index];
|
|
1641
1649
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1642
1650
|
if (equals(element.s27(), LIST_getInstance())) {
|
|
1643
|
-
if (!(this.
|
|
1651
|
+
if (!(this.t2z_1[index] === -1)) {
|
|
1644
1652
|
this_0.x5('[');
|
|
1645
|
-
this_0.k8(this.
|
|
1653
|
+
this_0.k8(this.t2z_1[index]);
|
|
1646
1654
|
this_0.x5(']');
|
|
1647
1655
|
}
|
|
1648
1656
|
} else {
|
|
1649
|
-
var idx = this.
|
|
1657
|
+
var idx = this.t2z_1[index];
|
|
1650
1658
|
if (idx >= 0) {
|
|
1651
1659
|
this_0.x5('.');
|
|
1652
1660
|
this_0.x5(element.w27(idx));
|
|
@@ -1666,7 +1674,7 @@
|
|
|
1666
1674
|
return this_0.toString();
|
|
1667
1675
|
};
|
|
1668
1676
|
protoOf(JsonPath).toString = function () {
|
|
1669
|
-
return this.
|
|
1677
|
+
return this.a30();
|
|
1670
1678
|
};
|
|
1671
1679
|
function encodeByWriter(json, writer, serializer, value) {
|
|
1672
1680
|
var tmp = WriteMode_OBJ_getInstance();
|
|
@@ -1678,35 +1686,35 @@
|
|
|
1678
1686
|
}
|
|
1679
1687
|
function readObject($this) {
|
|
1680
1688
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1681
|
-
var lastToken = $this.
|
|
1682
|
-
if ($this.
|
|
1683
|
-
$this.
|
|
1689
|
+
var lastToken = $this.j30_1.n30(get_TC_BEGIN_OBJ());
|
|
1690
|
+
if ($this.j30_1.o30() === get_TC_COMMA()) {
|
|
1691
|
+
$this.j30_1.o2z('Unexpected leading comma');
|
|
1684
1692
|
}
|
|
1685
1693
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1686
1694
|
var result = LinkedHashMap_init_$Create$();
|
|
1687
|
-
$l$loop: while ($this.
|
|
1688
|
-
var key = $this.
|
|
1689
|
-
$this.
|
|
1695
|
+
$l$loop: while ($this.j30_1.p30()) {
|
|
1696
|
+
var key = $this.k30_1 ? $this.j30_1.r30() : $this.j30_1.q30();
|
|
1697
|
+
$this.j30_1.n30(get_TC_COLON());
|
|
1690
1698
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1691
|
-
var element = $this.
|
|
1699
|
+
var element = $this.s30();
|
|
1692
1700
|
// Inline function 'kotlin.collections.set' call
|
|
1693
1701
|
result.p2(key, element);
|
|
1694
|
-
lastToken = $this.
|
|
1702
|
+
lastToken = $this.j30_1.t30();
|
|
1695
1703
|
var tmp0_subject = lastToken;
|
|
1696
1704
|
if (tmp0_subject !== get_TC_COMMA())
|
|
1697
1705
|
if (tmp0_subject === get_TC_END_OBJ())
|
|
1698
1706
|
break $l$loop;
|
|
1699
1707
|
else {
|
|
1700
|
-
$this.
|
|
1708
|
+
$this.j30_1.o2z('Expected end of the object or comma');
|
|
1701
1709
|
}
|
|
1702
1710
|
}
|
|
1703
1711
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1704
|
-
$this.
|
|
1712
|
+
$this.j30_1.n30(get_TC_END_OBJ());
|
|
1705
1713
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1706
|
-
if (!$this.
|
|
1707
|
-
invalidTrailingComma($this.
|
|
1714
|
+
if (!$this.l30_1) {
|
|
1715
|
+
invalidTrailingComma($this.j30_1);
|
|
1708
1716
|
}
|
|
1709
|
-
$this.
|
|
1717
|
+
$this.j30_1.n30(get_TC_END_OBJ());
|
|
1710
1718
|
}
|
|
1711
1719
|
return new JsonObject(result);
|
|
1712
1720
|
}
|
|
@@ -1717,44 +1725,44 @@
|
|
|
1717
1725
|
return tmp.kd();
|
|
1718
1726
|
}
|
|
1719
1727
|
function readArray($this) {
|
|
1720
|
-
var lastToken = $this.
|
|
1721
|
-
if ($this.
|
|
1722
|
-
$this.
|
|
1728
|
+
var lastToken = $this.j30_1.t30();
|
|
1729
|
+
if ($this.j30_1.o30() === get_TC_COMMA()) {
|
|
1730
|
+
$this.j30_1.o2z('Unexpected leading comma');
|
|
1723
1731
|
}
|
|
1724
1732
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1725
1733
|
var result = ArrayList_init_$Create$();
|
|
1726
|
-
while ($this.
|
|
1727
|
-
var element = $this.
|
|
1734
|
+
while ($this.j30_1.p30()) {
|
|
1735
|
+
var element = $this.s30();
|
|
1728
1736
|
result.s(element);
|
|
1729
|
-
lastToken = $this.
|
|
1737
|
+
lastToken = $this.j30_1.t30();
|
|
1730
1738
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1731
1739
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1732
|
-
var this_0 = $this.
|
|
1740
|
+
var this_0 = $this.j30_1;
|
|
1733
1741
|
var condition = lastToken === get_TC_END_LIST();
|
|
1734
1742
|
var position = this_0.o2v_1;
|
|
1735
1743
|
if (!condition) {
|
|
1736
1744
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1737
1745
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1738
|
-
this_0.
|
|
1746
|
+
this_0.o2z(tmp$ret$1, position);
|
|
1739
1747
|
}
|
|
1740
1748
|
}
|
|
1741
1749
|
}
|
|
1742
1750
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1743
|
-
$this.
|
|
1751
|
+
$this.j30_1.n30(get_TC_END_LIST());
|
|
1744
1752
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1745
|
-
if (!$this.
|
|
1746
|
-
invalidTrailingComma($this.
|
|
1753
|
+
if (!$this.l30_1) {
|
|
1754
|
+
invalidTrailingComma($this.j30_1, 'array');
|
|
1747
1755
|
}
|
|
1748
|
-
$this.
|
|
1756
|
+
$this.j30_1.n30(get_TC_END_LIST());
|
|
1749
1757
|
}
|
|
1750
1758
|
return new JsonArray(result);
|
|
1751
1759
|
}
|
|
1752
1760
|
function readValue($this, isString) {
|
|
1753
1761
|
var tmp;
|
|
1754
|
-
if ($this.
|
|
1755
|
-
tmp = $this.
|
|
1762
|
+
if ($this.k30_1 ? true : !isString) {
|
|
1763
|
+
tmp = $this.j30_1.r30();
|
|
1756
1764
|
} else {
|
|
1757
|
-
tmp = $this.
|
|
1765
|
+
tmp = $this.j30_1.q30();
|
|
1758
1766
|
}
|
|
1759
1767
|
var string = tmp;
|
|
1760
1768
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1765,18 +1773,18 @@
|
|
|
1765
1773
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1766
1774
|
}
|
|
1767
1775
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1768
|
-
this.
|
|
1776
|
+
this.q31_1 = this$0;
|
|
1769
1777
|
CoroutineImpl.call(this, resultContinuation);
|
|
1770
1778
|
}
|
|
1771
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1772
|
-
var tmp = this.
|
|
1779
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).v31 = function ($this$$receiver, it, $completion) {
|
|
1780
|
+
var tmp = this.w31($this$$receiver, it, $completion);
|
|
1773
1781
|
tmp.zc_1 = Unit_instance;
|
|
1774
1782
|
tmp.ad_1 = null;
|
|
1775
1783
|
return tmp.kd();
|
|
1776
1784
|
};
|
|
1777
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1785
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).qj = function (p1, p2, $completion) {
|
|
1778
1786
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1779
|
-
return this.
|
|
1787
|
+
return this.v31(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1780
1788
|
};
|
|
1781
1789
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).kd = function () {
|
|
1782
1790
|
var suspendResult = this.zc_1;
|
|
@@ -1786,32 +1794,32 @@
|
|
|
1786
1794
|
switch (tmp) {
|
|
1787
1795
|
case 0:
|
|
1788
1796
|
this.yc_1 = 3;
|
|
1789
|
-
this.
|
|
1790
|
-
if (this.
|
|
1791
|
-
this.
|
|
1797
|
+
this.t31_1 = this.q31_1.j30_1.o30();
|
|
1798
|
+
if (this.t31_1 === get_TC_STRING()) {
|
|
1799
|
+
this.u31_1 = readValue(this.q31_1, true);
|
|
1792
1800
|
this.xc_1 = 2;
|
|
1793
1801
|
continue $sm;
|
|
1794
1802
|
} else {
|
|
1795
|
-
if (this.
|
|
1796
|
-
this.
|
|
1803
|
+
if (this.t31_1 === get_TC_OTHER()) {
|
|
1804
|
+
this.u31_1 = readValue(this.q31_1, false);
|
|
1797
1805
|
this.xc_1 = 2;
|
|
1798
1806
|
continue $sm;
|
|
1799
1807
|
} else {
|
|
1800
|
-
if (this.
|
|
1808
|
+
if (this.t31_1 === get_TC_BEGIN_OBJ()) {
|
|
1801
1809
|
this.xc_1 = 1;
|
|
1802
|
-
suspendResult = readObject_0(this.
|
|
1810
|
+
suspendResult = readObject_0(this.r31_1, this.q31_1, this);
|
|
1803
1811
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1804
1812
|
return suspendResult;
|
|
1805
1813
|
}
|
|
1806
1814
|
continue $sm;
|
|
1807
1815
|
} else {
|
|
1808
|
-
if (this.
|
|
1809
|
-
this.
|
|
1816
|
+
if (this.t31_1 === get_TC_BEGIN_LIST()) {
|
|
1817
|
+
this.u31_1 = readArray(this.q31_1);
|
|
1810
1818
|
this.xc_1 = 2;
|
|
1811
1819
|
continue $sm;
|
|
1812
1820
|
} else {
|
|
1813
1821
|
var tmp_0 = this;
|
|
1814
|
-
this.
|
|
1822
|
+
this.q31_1.j30_1.o2z("Can't begin reading element, unexpected token");
|
|
1815
1823
|
}
|
|
1816
1824
|
}
|
|
1817
1825
|
}
|
|
@@ -1819,11 +1827,11 @@
|
|
|
1819
1827
|
|
|
1820
1828
|
break;
|
|
1821
1829
|
case 1:
|
|
1822
|
-
this.
|
|
1830
|
+
this.u31_1 = suspendResult;
|
|
1823
1831
|
this.xc_1 = 2;
|
|
1824
1832
|
continue $sm;
|
|
1825
1833
|
case 2:
|
|
1826
|
-
return this.
|
|
1834
|
+
return this.u31_1;
|
|
1827
1835
|
case 3:
|
|
1828
1836
|
throw this.ad_1;
|
|
1829
1837
|
}
|
|
@@ -1838,24 +1846,24 @@
|
|
|
1838
1846
|
}
|
|
1839
1847
|
while (true);
|
|
1840
1848
|
};
|
|
1841
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1842
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1843
|
-
i.
|
|
1844
|
-
i.
|
|
1849
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).w31 = function ($this$$receiver, it, completion) {
|
|
1850
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.q31_1, completion);
|
|
1851
|
+
i.r31_1 = $this$$receiver;
|
|
1852
|
+
i.s31_1 = it;
|
|
1845
1853
|
return i;
|
|
1846
1854
|
};
|
|
1847
1855
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1848
1856
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1849
1857
|
var l = function ($this$$receiver, it, $completion) {
|
|
1850
|
-
return i.
|
|
1858
|
+
return i.v31($this$$receiver, it, $completion);
|
|
1851
1859
|
};
|
|
1852
1860
|
l.$arity = 2;
|
|
1853
1861
|
return l;
|
|
1854
1862
|
}
|
|
1855
1863
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1856
1864
|
CoroutineImpl.call(this, resultContinuation);
|
|
1857
|
-
this.
|
|
1858
|
-
this.
|
|
1865
|
+
this.c31_1 = _this__u8e3s4;
|
|
1866
|
+
this.d31_1 = _this__u8e3s4_0;
|
|
1859
1867
|
}
|
|
1860
1868
|
protoOf($readObjectCOROUTINE$0).kd = function () {
|
|
1861
1869
|
var suspendResult = this.zc_1;
|
|
@@ -1866,26 +1874,26 @@
|
|
|
1866
1874
|
case 0:
|
|
1867
1875
|
this.yc_1 = 5;
|
|
1868
1876
|
var tmp_0 = this;
|
|
1869
|
-
tmp_0.
|
|
1870
|
-
this.
|
|
1871
|
-
if (this.
|
|
1872
|
-
this.
|
|
1877
|
+
tmp_0.e31_1 = this.c31_1;
|
|
1878
|
+
this.f31_1 = this.e31_1.j30_1.n30(get_TC_BEGIN_OBJ());
|
|
1879
|
+
if (this.e31_1.j30_1.o30() === get_TC_COMMA()) {
|
|
1880
|
+
this.e31_1.j30_1.o2z('Unexpected leading comma');
|
|
1873
1881
|
}
|
|
1874
1882
|
|
|
1875
1883
|
var tmp_1 = this;
|
|
1876
|
-
tmp_1.
|
|
1884
|
+
tmp_1.g31_1 = LinkedHashMap_init_$Create$();
|
|
1877
1885
|
this.xc_1 = 1;
|
|
1878
1886
|
continue $sm;
|
|
1879
1887
|
case 1:
|
|
1880
|
-
if (!this.
|
|
1888
|
+
if (!this.e31_1.j30_1.p30()) {
|
|
1881
1889
|
this.xc_1 = 4;
|
|
1882
1890
|
continue $sm;
|
|
1883
1891
|
}
|
|
1884
1892
|
|
|
1885
|
-
this.
|
|
1886
|
-
this.
|
|
1893
|
+
this.h31_1 = this.e31_1.k30_1 ? this.e31_1.j30_1.r30() : this.e31_1.j30_1.q30();
|
|
1894
|
+
this.e31_1.j30_1.n30(get_TC_COLON());
|
|
1887
1895
|
this.xc_1 = 2;
|
|
1888
|
-
suspendResult = this.
|
|
1896
|
+
suspendResult = this.d31_1.ij(Unit_instance, this);
|
|
1889
1897
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1890
1898
|
return suspendResult;
|
|
1891
1899
|
}
|
|
@@ -1893,11 +1901,11 @@
|
|
|
1893
1901
|
continue $sm;
|
|
1894
1902
|
case 2:
|
|
1895
1903
|
var element = suspendResult;
|
|
1896
|
-
var this_0 = this.
|
|
1897
|
-
var key = this.
|
|
1904
|
+
var this_0 = this.g31_1;
|
|
1905
|
+
var key = this.h31_1;
|
|
1898
1906
|
this_0.p2(key, element);
|
|
1899
|
-
this.
|
|
1900
|
-
var tmp0_subject = this.
|
|
1907
|
+
this.f31_1 = this.e31_1.j30_1.t30();
|
|
1908
|
+
var tmp0_subject = this.f31_1;
|
|
1901
1909
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1902
1910
|
this.xc_1 = 3;
|
|
1903
1911
|
continue $sm;
|
|
@@ -1906,7 +1914,7 @@
|
|
|
1906
1914
|
this.xc_1 = 4;
|
|
1907
1915
|
continue $sm;
|
|
1908
1916
|
} else {
|
|
1909
|
-
this.
|
|
1917
|
+
this.e31_1.j30_1.o2z('Expected end of the object or comma');
|
|
1910
1918
|
}
|
|
1911
1919
|
}
|
|
1912
1920
|
|
|
@@ -1915,16 +1923,16 @@
|
|
|
1915
1923
|
this.xc_1 = 1;
|
|
1916
1924
|
continue $sm;
|
|
1917
1925
|
case 4:
|
|
1918
|
-
if (this.
|
|
1919
|
-
this.
|
|
1920
|
-
} else if (this.
|
|
1921
|
-
if (!this.
|
|
1922
|
-
invalidTrailingComma(this.
|
|
1926
|
+
if (this.f31_1 === get_TC_BEGIN_OBJ()) {
|
|
1927
|
+
this.e31_1.j30_1.n30(get_TC_END_OBJ());
|
|
1928
|
+
} else if (this.f31_1 === get_TC_COMMA()) {
|
|
1929
|
+
if (!this.e31_1.l30_1) {
|
|
1930
|
+
invalidTrailingComma(this.e31_1.j30_1);
|
|
1923
1931
|
}
|
|
1924
|
-
this.
|
|
1932
|
+
this.e31_1.j30_1.n30(get_TC_END_OBJ());
|
|
1925
1933
|
}
|
|
1926
1934
|
|
|
1927
|
-
return new JsonObject(this.
|
|
1935
|
+
return new JsonObject(this.g31_1);
|
|
1928
1936
|
case 5:
|
|
1929
1937
|
throw this.ad_1;
|
|
1930
1938
|
}
|
|
@@ -1940,13 +1948,13 @@
|
|
|
1940
1948
|
while (true);
|
|
1941
1949
|
};
|
|
1942
1950
|
function JsonTreeReader(configuration, lexer) {
|
|
1943
|
-
this.
|
|
1944
|
-
this.
|
|
1945
|
-
this.
|
|
1946
|
-
this.
|
|
1951
|
+
this.j30_1 = lexer;
|
|
1952
|
+
this.k30_1 = configuration.l2w_1;
|
|
1953
|
+
this.l30_1 = configuration.x2w_1;
|
|
1954
|
+
this.m30_1 = 0;
|
|
1947
1955
|
}
|
|
1948
|
-
protoOf(JsonTreeReader).
|
|
1949
|
-
var token = this.
|
|
1956
|
+
protoOf(JsonTreeReader).s30 = function () {
|
|
1957
|
+
var token = this.j30_1.o30();
|
|
1950
1958
|
var tmp;
|
|
1951
1959
|
if (token === get_TC_STRING()) {
|
|
1952
1960
|
tmp = readValue(this, true);
|
|
@@ -1954,19 +1962,19 @@
|
|
|
1954
1962
|
tmp = readValue(this, false);
|
|
1955
1963
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1956
1964
|
var tmp_0;
|
|
1957
|
-
this.
|
|
1958
|
-
if (this.
|
|
1965
|
+
this.m30_1 = this.m30_1 + 1 | 0;
|
|
1966
|
+
if (this.m30_1 === 200) {
|
|
1959
1967
|
tmp_0 = readDeepRecursive(this);
|
|
1960
1968
|
} else {
|
|
1961
1969
|
tmp_0 = readObject(this);
|
|
1962
1970
|
}
|
|
1963
1971
|
var result = tmp_0;
|
|
1964
|
-
this.
|
|
1972
|
+
this.m30_1 = this.m30_1 - 1 | 0;
|
|
1965
1973
|
tmp = result;
|
|
1966
1974
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1967
1975
|
tmp = readArray(this);
|
|
1968
1976
|
} else {
|
|
1969
|
-
this.
|
|
1977
|
+
this.j30_1.o2z('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
1970
1978
|
}
|
|
1971
1979
|
return tmp;
|
|
1972
1980
|
};
|
|
@@ -2058,7 +2066,7 @@
|
|
|
2058
2066
|
if (tmp) {
|
|
2059
2067
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.v6() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
2060
2068
|
}
|
|
2061
|
-
if ($this.
|
|
2069
|
+
if ($this.x31_1)
|
|
2062
2070
|
return Unit_instance;
|
|
2063
2071
|
var tmp_0;
|
|
2064
2072
|
var tmp_1;
|
|
@@ -2084,22 +2092,22 @@
|
|
|
2084
2092
|
var i = inductionVariable;
|
|
2085
2093
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2086
2094
|
var name = descriptor.w27(i);
|
|
2087
|
-
if (name === $this.
|
|
2095
|
+
if (name === $this.y31_1) {
|
|
2088
2096
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + actualClass + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, ' + 'rename property with @SerialName annotation ' + 'or fall back to array polymorphism');
|
|
2089
2097
|
}
|
|
2090
2098
|
}
|
|
2091
2099
|
while (inductionVariable < last);
|
|
2092
2100
|
}
|
|
2093
2101
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
2094
|
-
this.
|
|
2095
|
-
this.
|
|
2102
|
+
this.x31_1 = useArrayPolymorphism;
|
|
2103
|
+
this.y31_1 = discriminator;
|
|
2096
2104
|
}
|
|
2097
2105
|
protoOf(PolymorphismValidator).y2p = function (kClass, provider) {
|
|
2098
2106
|
};
|
|
2099
2107
|
protoOf(PolymorphismValidator).b2q = function (baseClass, actualClass, actualSerializer) {
|
|
2100
2108
|
var descriptor = actualSerializer.y25();
|
|
2101
2109
|
checkKind_0(this, descriptor, actualClass);
|
|
2102
|
-
if (!this.
|
|
2110
|
+
if (!this.x31_1) {
|
|
2103
2111
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
2104
2112
|
}
|
|
2105
2113
|
};
|
|
@@ -2110,12 +2118,12 @@
|
|
|
2110
2118
|
function Key() {
|
|
2111
2119
|
}
|
|
2112
2120
|
function DescriptorSchemaCache() {
|
|
2113
|
-
this.
|
|
2121
|
+
this.p2z_1 = createMapForCache(16);
|
|
2114
2122
|
}
|
|
2115
|
-
protoOf(DescriptorSchemaCache).
|
|
2123
|
+
protoOf(DescriptorSchemaCache).z31 = function (descriptor, key, value) {
|
|
2116
2124
|
// Inline function 'kotlin.collections.set' call
|
|
2117
2125
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2118
|
-
var this_0 = this.
|
|
2126
|
+
var this_0 = this.p2z_1;
|
|
2119
2127
|
var value_0 = this_0.z2(descriptor);
|
|
2120
2128
|
var tmp;
|
|
2121
2129
|
if (value_0 == null) {
|
|
@@ -2131,8 +2139,8 @@
|
|
|
2131
2139
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2132
2140
|
this_1.p2(key_0, value_1);
|
|
2133
2141
|
};
|
|
2134
|
-
protoOf(DescriptorSchemaCache).
|
|
2135
|
-
var tmp0_safe_receiver = this.
|
|
2142
|
+
protoOf(DescriptorSchemaCache).q2z = function (descriptor, key, defaultValue) {
|
|
2143
|
+
var tmp0_safe_receiver = this.a32(descriptor, key);
|
|
2136
2144
|
if (tmp0_safe_receiver == null)
|
|
2137
2145
|
null;
|
|
2138
2146
|
else {
|
|
@@ -2141,11 +2149,11 @@
|
|
|
2141
2149
|
return tmp0_safe_receiver;
|
|
2142
2150
|
}
|
|
2143
2151
|
var value = defaultValue();
|
|
2144
|
-
this.
|
|
2152
|
+
this.z31(descriptor, key, value);
|
|
2145
2153
|
return value;
|
|
2146
2154
|
};
|
|
2147
|
-
protoOf(DescriptorSchemaCache).
|
|
2148
|
-
var tmp0_safe_receiver = this.
|
|
2155
|
+
protoOf(DescriptorSchemaCache).a32 = function (descriptor, key) {
|
|
2156
|
+
var tmp0_safe_receiver = this.p2z_1.z2(descriptor);
|
|
2149
2157
|
var tmp;
|
|
2150
2158
|
if (tmp0_safe_receiver == null) {
|
|
2151
2159
|
tmp = null;
|
|
@@ -2156,13 +2164,13 @@
|
|
|
2156
2164
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2157
2165
|
};
|
|
2158
2166
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2159
|
-
this.
|
|
2167
|
+
this.b32_1 = discriminatorToSkip;
|
|
2160
2168
|
}
|
|
2161
2169
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
2162
2170
|
if (_this__u8e3s4 == null)
|
|
2163
2171
|
return false;
|
|
2164
|
-
if (_this__u8e3s4.
|
|
2165
|
-
_this__u8e3s4.
|
|
2172
|
+
if (_this__u8e3s4.b32_1 === unknownKey) {
|
|
2173
|
+
_this__u8e3s4.b32_1 = null;
|
|
2166
2174
|
return true;
|
|
2167
2175
|
}
|
|
2168
2176
|
return false;
|
|
@@ -2176,8 +2184,8 @@
|
|
|
2176
2184
|
}
|
|
2177
2185
|
}
|
|
2178
2186
|
function checkLeadingComma($this) {
|
|
2179
|
-
if ($this.i2v_1.
|
|
2180
|
-
$this.i2v_1.
|
|
2187
|
+
if ($this.i2v_1.o30() === get_TC_COMMA()) {
|
|
2188
|
+
$this.i2v_1.o2z('Unexpected leading comma');
|
|
2181
2189
|
}
|
|
2182
2190
|
}
|
|
2183
2191
|
function decodeMapIndex($this) {
|
|
@@ -2185,13 +2193,13 @@
|
|
|
2185
2193
|
var decodingKey = !(($this.k2v_1 % 2 | 0) === 0);
|
|
2186
2194
|
if (decodingKey) {
|
|
2187
2195
|
if (!($this.k2v_1 === -1)) {
|
|
2188
|
-
hasComma = $this.i2v_1.
|
|
2196
|
+
hasComma = $this.i2v_1.d32();
|
|
2189
2197
|
}
|
|
2190
2198
|
} else {
|
|
2191
|
-
$this.i2v_1.
|
|
2199
|
+
$this.i2v_1.c32(get_COLON());
|
|
2192
2200
|
}
|
|
2193
2201
|
var tmp;
|
|
2194
|
-
if ($this.i2v_1.
|
|
2202
|
+
if ($this.i2v_1.p30()) {
|
|
2195
2203
|
if (decodingKey) {
|
|
2196
2204
|
if ($this.k2v_1 === -1) {
|
|
2197
2205
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
@@ -2201,7 +2209,7 @@
|
|
|
2201
2209
|
if (!condition) {
|
|
2202
2210
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2203
2211
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
2204
|
-
this_0.
|
|
2212
|
+
this_0.o2z(tmp$ret$0, position);
|
|
2205
2213
|
}
|
|
2206
2214
|
} else {
|
|
2207
2215
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
@@ -2211,7 +2219,7 @@
|
|
|
2211
2219
|
if (!condition_0) {
|
|
2212
2220
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2213
2221
|
var tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
2214
|
-
this_1.
|
|
2222
|
+
this_1.o2z(tmp$ret$1, position_0);
|
|
2215
2223
|
}
|
|
2216
2224
|
}
|
|
2217
2225
|
}
|
|
@@ -2234,7 +2242,7 @@
|
|
|
2234
2242
|
var tmp;
|
|
2235
2243
|
if (!elementDescriptor.l27()) {
|
|
2236
2244
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2237
|
-
tmp = $this.i2v_1.
|
|
2245
|
+
tmp = $this.i2v_1.e32(true);
|
|
2238
2246
|
} else {
|
|
2239
2247
|
tmp = false;
|
|
2240
2248
|
}
|
|
@@ -2246,7 +2254,7 @@
|
|
|
2246
2254
|
var tmp_0;
|
|
2247
2255
|
if (elementDescriptor.l27()) {
|
|
2248
2256
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2249
|
-
tmp_0 = $this.i2v_1.
|
|
2257
|
+
tmp_0 = $this.i2v_1.e32(false);
|
|
2250
2258
|
} else {
|
|
2251
2259
|
tmp_0 = false;
|
|
2252
2260
|
}
|
|
@@ -2255,7 +2263,7 @@
|
|
|
2255
2263
|
break $l$block_2;
|
|
2256
2264
|
}
|
|
2257
2265
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2258
|
-
var tmp0_elvis_lhs = $this.i2v_1.
|
|
2266
|
+
var tmp0_elvis_lhs = $this.i2v_1.f32($this.m2v_1.l2w_1);
|
|
2259
2267
|
var tmp_1;
|
|
2260
2268
|
if (tmp0_elvis_lhs == null) {
|
|
2261
2269
|
tmp$ret$1 = false;
|
|
@@ -2267,7 +2275,7 @@
|
|
|
2267
2275
|
var enumIndex = getJsonNameIndex(elementDescriptor, this_0, enumValue);
|
|
2268
2276
|
if (enumIndex === -3) {
|
|
2269
2277
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2270
|
-
$this.i2v_1.
|
|
2278
|
+
$this.i2v_1.q30();
|
|
2271
2279
|
tmp$ret$1 = true;
|
|
2272
2280
|
break $l$block_2;
|
|
2273
2281
|
}
|
|
@@ -2277,17 +2285,17 @@
|
|
|
2277
2285
|
return tmp$ret$1;
|
|
2278
2286
|
}
|
|
2279
2287
|
function decodeObjectIndex($this, descriptor) {
|
|
2280
|
-
var hasComma = $this.i2v_1.
|
|
2281
|
-
while ($this.i2v_1.
|
|
2288
|
+
var hasComma = $this.i2v_1.d32();
|
|
2289
|
+
while ($this.i2v_1.p30()) {
|
|
2282
2290
|
hasComma = false;
|
|
2283
2291
|
var key = decodeStringKey($this);
|
|
2284
|
-
$this.i2v_1.
|
|
2292
|
+
$this.i2v_1.c32(get_COLON());
|
|
2285
2293
|
var index = getJsonNameIndex(descriptor, $this.g2v_1, key);
|
|
2286
2294
|
var tmp;
|
|
2287
2295
|
if (!(index === -3)) {
|
|
2288
2296
|
var tmp_0;
|
|
2289
2297
|
if ($this.m2v_1.q2w_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
2290
|
-
hasComma = $this.i2v_1.
|
|
2298
|
+
hasComma = $this.i2v_1.d32();
|
|
2291
2299
|
tmp_0 = false;
|
|
2292
2300
|
} else {
|
|
2293
2301
|
var tmp0_safe_receiver = $this.n2v_1;
|
|
@@ -2322,18 +2330,18 @@
|
|
|
2322
2330
|
}
|
|
2323
2331
|
function handleUnknown($this, key) {
|
|
2324
2332
|
if ($this.m2v_1.k2w_1 ? true : trySkip($this.l2v_1, $this, key)) {
|
|
2325
|
-
$this.i2v_1.
|
|
2333
|
+
$this.i2v_1.h32($this.m2v_1.l2w_1);
|
|
2326
2334
|
} else {
|
|
2327
|
-
$this.i2v_1.
|
|
2335
|
+
$this.i2v_1.g32(key);
|
|
2328
2336
|
}
|
|
2329
|
-
return $this.i2v_1.
|
|
2337
|
+
return $this.i2v_1.d32();
|
|
2330
2338
|
}
|
|
2331
2339
|
function decodeListIndex($this) {
|
|
2332
|
-
var hasComma = $this.i2v_1.
|
|
2340
|
+
var hasComma = $this.i2v_1.d32();
|
|
2333
2341
|
var tmp;
|
|
2334
|
-
if ($this.i2v_1.
|
|
2342
|
+
if ($this.i2v_1.p30()) {
|
|
2335
2343
|
if (!($this.k2v_1 === -1) ? !hasComma : false) {
|
|
2336
|
-
$this.i2v_1.
|
|
2344
|
+
$this.i2v_1.o2z('Expected end of the array or comma');
|
|
2337
2345
|
}
|
|
2338
2346
|
$this.k2v_1 = $this.k2v_1 + 1 | 0;
|
|
2339
2347
|
tmp = $this.k2v_1;
|
|
@@ -2348,9 +2356,9 @@
|
|
|
2348
2356
|
function decodeStringKey($this) {
|
|
2349
2357
|
var tmp;
|
|
2350
2358
|
if ($this.m2v_1.l2w_1) {
|
|
2351
|
-
tmp = $this.i2v_1.
|
|
2359
|
+
tmp = $this.i2v_1.j32();
|
|
2352
2360
|
} else {
|
|
2353
|
-
tmp = $this.i2v_1.
|
|
2361
|
+
tmp = $this.i2v_1.i32();
|
|
2354
2362
|
}
|
|
2355
2363
|
return tmp;
|
|
2356
2364
|
}
|
|
@@ -2372,7 +2380,7 @@
|
|
|
2372
2380
|
return this.j2v_1;
|
|
2373
2381
|
};
|
|
2374
2382
|
protoOf(StreamingJsonDecoder).b2x = function () {
|
|
2375
|
-
return (new JsonTreeReader(this.g2v_1.c2v_1, this.i2v_1)).
|
|
2383
|
+
return (new JsonTreeReader(this.g2v_1.c2v_1, this.i2v_1)).s30();
|
|
2376
2384
|
};
|
|
2377
2385
|
protoOf(StreamingJsonDecoder).k29 = function (deserializer) {
|
|
2378
2386
|
try {
|
|
@@ -2386,7 +2394,7 @@
|
|
|
2386
2394
|
return deserializer.a26(this);
|
|
2387
2395
|
}
|
|
2388
2396
|
var discriminator = classDiscriminator(deserializer.y25(), this.g2v_1);
|
|
2389
|
-
var tmp0_elvis_lhs = this.i2v_1.
|
|
2397
|
+
var tmp0_elvis_lhs = this.i2v_1.k32(discriminator, this.m2v_1.l2w_1);
|
|
2390
2398
|
var tmp_0;
|
|
2391
2399
|
if (tmp0_elvis_lhs == null) {
|
|
2392
2400
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
@@ -2403,7 +2411,7 @@
|
|
|
2403
2411
|
var it = $p;
|
|
2404
2412
|
var message = removeSuffix(substringBefore(ensureNotNull(it.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2405
2413
|
var hint = substringAfter(ensureNotNull(it.message), _Char___init__impl__6a9atx(10), '');
|
|
2406
|
-
this.i2v_1.
|
|
2414
|
+
this.i2v_1.o2z(message, VOID, hint);
|
|
2407
2415
|
} else {
|
|
2408
2416
|
throw $p;
|
|
2409
2417
|
}
|
|
@@ -2418,7 +2426,7 @@
|
|
|
2418
2426
|
var e = $p;
|
|
2419
2427
|
if (contains_0(ensureNotNull(e.message), 'at path'))
|
|
2420
2428
|
throw e;
|
|
2421
|
-
throw new MissingFieldException(e.g27_1, plus(e.message, ' at path: ') + this.i2v_1.p2v_1.
|
|
2429
|
+
throw new MissingFieldException(e.g27_1, plus(e.message, ' at path: ') + this.i2v_1.p2v_1.a30(), e);
|
|
2422
2430
|
} else {
|
|
2423
2431
|
throw $p;
|
|
2424
2432
|
}
|
|
@@ -2426,8 +2434,8 @@
|
|
|
2426
2434
|
};
|
|
2427
2435
|
protoOf(StreamingJsonDecoder).l29 = function (descriptor) {
|
|
2428
2436
|
var newMode = switchMode(this.g2v_1, descriptor);
|
|
2429
|
-
this.i2v_1.p2v_1.
|
|
2430
|
-
this.i2v_1.
|
|
2437
|
+
this.i2v_1.p2v_1.v2z(descriptor);
|
|
2438
|
+
this.i2v_1.c32(newMode.n32_1);
|
|
2431
2439
|
checkLeadingComma(this);
|
|
2432
2440
|
var tmp;
|
|
2433
2441
|
switch (newMode.w9_1) {
|
|
@@ -2453,18 +2461,18 @@
|
|
|
2453
2461
|
if (this.g2v_1.c2v_1.k2w_1 ? descriptor.q27() === 0 : false) {
|
|
2454
2462
|
skipLeftoverElements(this, descriptor);
|
|
2455
2463
|
}
|
|
2456
|
-
if (this.i2v_1.
|
|
2464
|
+
if (this.i2v_1.d32() ? !this.g2v_1.c2v_1.x2w_1 : false) {
|
|
2457
2465
|
invalidTrailingComma(this.i2v_1, '');
|
|
2458
2466
|
}
|
|
2459
|
-
this.i2v_1.
|
|
2460
|
-
this.i2v_1.p2v_1.
|
|
2467
|
+
this.i2v_1.c32(this.h2v_1.o32_1);
|
|
2468
|
+
this.i2v_1.p2v_1.z2z();
|
|
2461
2469
|
};
|
|
2462
2470
|
protoOf(StreamingJsonDecoder).w28 = function () {
|
|
2463
2471
|
var tmp;
|
|
2464
2472
|
var tmp0_safe_receiver = this.n2v_1;
|
|
2465
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2473
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m2z_1;
|
|
2466
2474
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2467
|
-
tmp = !this.i2v_1.
|
|
2475
|
+
tmp = !this.i2v_1.p32();
|
|
2468
2476
|
} else {
|
|
2469
2477
|
tmp = false;
|
|
2470
2478
|
}
|
|
@@ -2476,11 +2484,11 @@
|
|
|
2476
2484
|
protoOf(StreamingJsonDecoder).x29 = function (descriptor, index, deserializer, previousValue) {
|
|
2477
2485
|
var isMapKey = this.h2v_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2478
2486
|
if (isMapKey) {
|
|
2479
|
-
this.i2v_1.p2v_1.
|
|
2487
|
+
this.i2v_1.p2v_1.y2z();
|
|
2480
2488
|
}
|
|
2481
2489
|
var value = protoOf(AbstractDecoder).x29.call(this, descriptor, index, deserializer, previousValue);
|
|
2482
2490
|
if (isMapKey) {
|
|
2483
|
-
this.i2v_1.p2v_1.
|
|
2491
|
+
this.i2v_1.p2v_1.x2z(value);
|
|
2484
2492
|
}
|
|
2485
2493
|
return value;
|
|
2486
2494
|
};
|
|
@@ -2498,43 +2506,43 @@
|
|
|
2498
2506
|
break;
|
|
2499
2507
|
}
|
|
2500
2508
|
if (!this.h2v_1.equals(WriteMode_MAP_getInstance())) {
|
|
2501
|
-
this.i2v_1.p2v_1.
|
|
2509
|
+
this.i2v_1.p2v_1.w2z(index);
|
|
2502
2510
|
}
|
|
2503
2511
|
return index;
|
|
2504
2512
|
};
|
|
2505
2513
|
protoOf(StreamingJsonDecoder).y28 = function () {
|
|
2506
|
-
return this.i2v_1.
|
|
2514
|
+
return this.i2v_1.q32();
|
|
2507
2515
|
};
|
|
2508
2516
|
protoOf(StreamingJsonDecoder).z28 = function () {
|
|
2509
|
-
var value = this.i2v_1.
|
|
2517
|
+
var value = this.i2v_1.p2x();
|
|
2510
2518
|
if (!value.equals(toLong(value.oc()))) {
|
|
2511
|
-
this.i2v_1.
|
|
2519
|
+
this.i2v_1.o2z("Failed to parse byte for input '" + value.toString() + "'");
|
|
2512
2520
|
}
|
|
2513
2521
|
return value.oc();
|
|
2514
2522
|
};
|
|
2515
2523
|
protoOf(StreamingJsonDecoder).a29 = function () {
|
|
2516
|
-
var value = this.i2v_1.
|
|
2524
|
+
var value = this.i2v_1.p2x();
|
|
2517
2525
|
if (!value.equals(toLong(value.pc()))) {
|
|
2518
|
-
this.i2v_1.
|
|
2526
|
+
this.i2v_1.o2z("Failed to parse short for input '" + value.toString() + "'");
|
|
2519
2527
|
}
|
|
2520
2528
|
return value.pc();
|
|
2521
2529
|
};
|
|
2522
2530
|
protoOf(StreamingJsonDecoder).b29 = function () {
|
|
2523
|
-
var value = this.i2v_1.
|
|
2531
|
+
var value = this.i2v_1.p2x();
|
|
2524
2532
|
if (!value.equals(toLong(value.eb()))) {
|
|
2525
|
-
this.i2v_1.
|
|
2533
|
+
this.i2v_1.o2z("Failed to parse int for input '" + value.toString() + "'");
|
|
2526
2534
|
}
|
|
2527
2535
|
return value.eb();
|
|
2528
2536
|
};
|
|
2529
2537
|
protoOf(StreamingJsonDecoder).c29 = function () {
|
|
2530
|
-
return this.i2v_1.
|
|
2538
|
+
return this.i2v_1.p2x();
|
|
2531
2539
|
};
|
|
2532
2540
|
protoOf(StreamingJsonDecoder).d29 = function () {
|
|
2533
2541
|
var tmp$ret$4;
|
|
2534
2542
|
$l$block: {
|
|
2535
2543
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2536
2544
|
var this_0 = this.i2v_1;
|
|
2537
|
-
var input = this_0.
|
|
2545
|
+
var input = this_0.r30();
|
|
2538
2546
|
try {
|
|
2539
2547
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
2540
2548
|
// Inline function 'kotlin.text.toFloat' call
|
|
@@ -2545,7 +2553,7 @@
|
|
|
2545
2553
|
} catch ($p) {
|
|
2546
2554
|
if ($p instanceof IllegalArgumentException) {
|
|
2547
2555
|
var e = $p;
|
|
2548
|
-
this_0.
|
|
2556
|
+
this_0.o2z("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2549
2557
|
} else {
|
|
2550
2558
|
throw $p;
|
|
2551
2559
|
}
|
|
@@ -2562,7 +2570,7 @@
|
|
|
2562
2570
|
$l$block: {
|
|
2563
2571
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2564
2572
|
var this_0 = this.i2v_1;
|
|
2565
|
-
var input = this_0.
|
|
2573
|
+
var input = this_0.r30();
|
|
2566
2574
|
try {
|
|
2567
2575
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
2568
2576
|
tmp$ret$1 = toDouble(input);
|
|
@@ -2570,7 +2578,7 @@
|
|
|
2570
2578
|
} catch ($p) {
|
|
2571
2579
|
if ($p instanceof IllegalArgumentException) {
|
|
2572
2580
|
var e = $p;
|
|
2573
|
-
this_0.
|
|
2581
|
+
this_0.o2z("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2574
2582
|
} else {
|
|
2575
2583
|
throw $p;
|
|
2576
2584
|
}
|
|
@@ -2583,18 +2591,18 @@
|
|
|
2583
2591
|
throwInvalidFloatingPointDecoded(this.i2v_1, result);
|
|
2584
2592
|
};
|
|
2585
2593
|
protoOf(StreamingJsonDecoder).f29 = function () {
|
|
2586
|
-
var string = this.i2v_1.
|
|
2594
|
+
var string = this.i2v_1.r30();
|
|
2587
2595
|
if (!(string.length === 1)) {
|
|
2588
|
-
this.i2v_1.
|
|
2596
|
+
this.i2v_1.o2z("Expected single char, but got '" + string + "'");
|
|
2589
2597
|
}
|
|
2590
2598
|
return charSequenceGet(string, 0);
|
|
2591
2599
|
};
|
|
2592
2600
|
protoOf(StreamingJsonDecoder).g29 = function () {
|
|
2593
2601
|
var tmp;
|
|
2594
2602
|
if (this.m2v_1.l2w_1) {
|
|
2595
|
-
tmp = this.i2v_1.
|
|
2603
|
+
tmp = this.i2v_1.j32();
|
|
2596
2604
|
} else {
|
|
2597
|
-
tmp = this.i2v_1.
|
|
2605
|
+
tmp = this.i2v_1.q30();
|
|
2598
2606
|
}
|
|
2599
2607
|
return tmp;
|
|
2600
2608
|
};
|
|
@@ -2602,15 +2610,15 @@
|
|
|
2602
2610
|
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.i2v_1, this.g2v_1) : protoOf(AbstractDecoder).i29.call(this, descriptor);
|
|
2603
2611
|
};
|
|
2604
2612
|
protoOf(StreamingJsonDecoder).h29 = function (enumDescriptor) {
|
|
2605
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.g2v_1, this.g29(), ' at path ' + this.i2v_1.p2v_1.
|
|
2613
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.g2v_1, this.g29(), ' at path ' + this.i2v_1.p2v_1.a30());
|
|
2606
2614
|
};
|
|
2607
2615
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2608
2616
|
AbstractDecoder.call(this);
|
|
2609
|
-
this.
|
|
2610
|
-
this.
|
|
2617
|
+
this.r32_1 = lexer;
|
|
2618
|
+
this.s32_1 = json.d27();
|
|
2611
2619
|
}
|
|
2612
2620
|
protoOf(JsonDecoderForUnsignedTypes).d27 = function () {
|
|
2613
|
-
return this.
|
|
2621
|
+
return this.s32_1;
|
|
2614
2622
|
};
|
|
2615
2623
|
protoOf(JsonDecoderForUnsignedTypes).b2a = function (descriptor) {
|
|
2616
2624
|
var message = 'unsupported';
|
|
@@ -2620,8 +2628,8 @@
|
|
|
2620
2628
|
var tmp$ret$2;
|
|
2621
2629
|
$l$block: {
|
|
2622
2630
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2623
|
-
var this_0 = this.
|
|
2624
|
-
var input = this_0.
|
|
2631
|
+
var this_0 = this.r32_1;
|
|
2632
|
+
var input = this_0.r30();
|
|
2625
2633
|
try {
|
|
2626
2634
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
2627
2635
|
// Inline function 'kotlin.UInt.toInt' call
|
|
@@ -2631,7 +2639,7 @@
|
|
|
2631
2639
|
} catch ($p) {
|
|
2632
2640
|
if ($p instanceof IllegalArgumentException) {
|
|
2633
2641
|
var e = $p;
|
|
2634
|
-
this_0.
|
|
2642
|
+
this_0.o2z("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2635
2643
|
} else {
|
|
2636
2644
|
throw $p;
|
|
2637
2645
|
}
|
|
@@ -2643,8 +2651,8 @@
|
|
|
2643
2651
|
var tmp$ret$2;
|
|
2644
2652
|
$l$block: {
|
|
2645
2653
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2646
|
-
var this_0 = this.
|
|
2647
|
-
var input = this_0.
|
|
2654
|
+
var this_0 = this.r32_1;
|
|
2655
|
+
var input = this_0.r30();
|
|
2648
2656
|
try {
|
|
2649
2657
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
2650
2658
|
// Inline function 'kotlin.ULong.toLong' call
|
|
@@ -2654,7 +2662,7 @@
|
|
|
2654
2662
|
} catch ($p) {
|
|
2655
2663
|
if ($p instanceof IllegalArgumentException) {
|
|
2656
2664
|
var e = $p;
|
|
2657
|
-
this_0.
|
|
2665
|
+
this_0.o2z("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2658
2666
|
} else {
|
|
2659
2667
|
throw $p;
|
|
2660
2668
|
}
|
|
@@ -2666,8 +2674,8 @@
|
|
|
2666
2674
|
var tmp$ret$2;
|
|
2667
2675
|
$l$block: {
|
|
2668
2676
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2669
|
-
var this_0 = this.
|
|
2670
|
-
var input = this_0.
|
|
2677
|
+
var this_0 = this.r32_1;
|
|
2678
|
+
var input = this_0.r30();
|
|
2671
2679
|
try {
|
|
2672
2680
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
2673
2681
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -2677,7 +2685,7 @@
|
|
|
2677
2685
|
} catch ($p) {
|
|
2678
2686
|
if ($p instanceof IllegalArgumentException) {
|
|
2679
2687
|
var e = $p;
|
|
2680
|
-
this_0.
|
|
2688
|
+
this_0.o2z("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2681
2689
|
} else {
|
|
2682
2690
|
throw $p;
|
|
2683
2691
|
}
|
|
@@ -2689,8 +2697,8 @@
|
|
|
2689
2697
|
var tmp$ret$2;
|
|
2690
2698
|
$l$block: {
|
|
2691
2699
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2692
|
-
var this_0 = this.
|
|
2693
|
-
var input = this_0.
|
|
2700
|
+
var this_0 = this.r32_1;
|
|
2701
|
+
var input = this_0.r30();
|
|
2694
2702
|
try {
|
|
2695
2703
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
2696
2704
|
// Inline function 'kotlin.UShort.toShort' call
|
|
@@ -2700,7 +2708,7 @@
|
|
|
2700
2708
|
} catch ($p) {
|
|
2701
2709
|
if ($p instanceof IllegalArgumentException) {
|
|
2702
2710
|
var e = $p;
|
|
2703
|
-
this_0.
|
|
2711
|
+
this_0.o2z("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2704
2712
|
} else {
|
|
2705
2713
|
throw $p;
|
|
2706
2714
|
}
|
|
@@ -2721,37 +2729,37 @@
|
|
|
2721
2729
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2722
2730
|
}
|
|
2723
2731
|
function encodeTypeInfo($this, descriptor) {
|
|
2724
|
-
$this.
|
|
2725
|
-
$this.o2a(ensureNotNull($this.
|
|
2726
|
-
$this.
|
|
2727
|
-
$this.
|
|
2732
|
+
$this.b30_1.l2y();
|
|
2733
|
+
$this.o2a(ensureNotNull($this.i30_1));
|
|
2734
|
+
$this.b30_1.n2y(get_COLON());
|
|
2735
|
+
$this.b30_1.m2y();
|
|
2728
2736
|
$this.o2a(descriptor.z26());
|
|
2729
2737
|
}
|
|
2730
2738
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2731
2739
|
AbstractEncoder.call(this);
|
|
2732
|
-
this.
|
|
2733
|
-
this.
|
|
2734
|
-
this.
|
|
2735
|
-
this.
|
|
2736
|
-
this.
|
|
2737
|
-
this.
|
|
2738
|
-
this.
|
|
2739
|
-
this.
|
|
2740
|
-
var i = this.
|
|
2741
|
-
if (!(this.
|
|
2742
|
-
if (!(this.
|
|
2743
|
-
this.
|
|
2740
|
+
this.b30_1 = composer;
|
|
2741
|
+
this.c30_1 = json;
|
|
2742
|
+
this.d30_1 = mode;
|
|
2743
|
+
this.e30_1 = modeReuseCache;
|
|
2744
|
+
this.f30_1 = this.c30_1.d27();
|
|
2745
|
+
this.g30_1 = this.c30_1.c2v_1;
|
|
2746
|
+
this.h30_1 = false;
|
|
2747
|
+
this.i30_1 = null;
|
|
2748
|
+
var i = this.d30_1.w9_1;
|
|
2749
|
+
if (!(this.e30_1 == null)) {
|
|
2750
|
+
if (!(this.e30_1[i] === null) ? true : !(this.e30_1[i] === this)) {
|
|
2751
|
+
this.e30_1[i] = this;
|
|
2744
2752
|
}
|
|
2745
2753
|
}
|
|
2746
2754
|
}
|
|
2747
2755
|
protoOf(StreamingJsonEncoder).a2x = function () {
|
|
2748
|
-
return this.
|
|
2756
|
+
return this.c30_1;
|
|
2749
2757
|
};
|
|
2750
2758
|
protoOf(StreamingJsonEncoder).d27 = function () {
|
|
2751
|
-
return this.
|
|
2759
|
+
return this.f30_1;
|
|
2752
2760
|
};
|
|
2753
2761
|
protoOf(StreamingJsonEncoder).h2b = function (descriptor, index) {
|
|
2754
|
-
return this.
|
|
2762
|
+
return this.g30_1.j2w_1;
|
|
2755
2763
|
};
|
|
2756
2764
|
protoOf(StreamingJsonEncoder).c2b = function (serializer, value) {
|
|
2757
2765
|
$l$block: {
|
|
@@ -2772,88 +2780,88 @@
|
|
|
2772
2780
|
validateIfSealed$accessor$1ad0flx(casted, actualSerializer, baseClassDiscriminator);
|
|
2773
2781
|
checkKind(actualSerializer.y25().s27());
|
|
2774
2782
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue.<anonymous>' call
|
|
2775
|
-
this.
|
|
2783
|
+
this.i30_1 = baseClassDiscriminator;
|
|
2776
2784
|
actualSerializer.z25(this, value);
|
|
2777
2785
|
}
|
|
2778
2786
|
};
|
|
2779
2787
|
protoOf(StreamingJsonEncoder).l29 = function (descriptor) {
|
|
2780
|
-
var newMode = switchMode(this.
|
|
2781
|
-
if (!(newMode.
|
|
2782
|
-
this.
|
|
2783
|
-
this.
|
|
2788
|
+
var newMode = switchMode(this.c30_1, descriptor);
|
|
2789
|
+
if (!(newMode.n32_1 === get_INVALID())) {
|
|
2790
|
+
this.b30_1.n2y(newMode.n32_1);
|
|
2791
|
+
this.b30_1.j2y();
|
|
2784
2792
|
}
|
|
2785
|
-
if (!(this.
|
|
2793
|
+
if (!(this.i30_1 == null)) {
|
|
2786
2794
|
encodeTypeInfo(this, descriptor);
|
|
2787
|
-
this.
|
|
2795
|
+
this.i30_1 = null;
|
|
2788
2796
|
}
|
|
2789
|
-
if (this.
|
|
2797
|
+
if (this.d30_1.equals(newMode)) {
|
|
2790
2798
|
return this;
|
|
2791
2799
|
}
|
|
2792
|
-
var tmp0_safe_receiver = this.
|
|
2800
|
+
var tmp0_safe_receiver = this.e30_1;
|
|
2793
2801
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver[newMode.w9_1];
|
|
2794
|
-
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2802
|
+
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.b30_1, this.c30_1, newMode, this.e30_1) : tmp1_elvis_lhs;
|
|
2795
2803
|
};
|
|
2796
2804
|
protoOf(StreamingJsonEncoder).m29 = function (descriptor) {
|
|
2797
|
-
if (!(this.
|
|
2798
|
-
this.
|
|
2799
|
-
this.
|
|
2800
|
-
this.
|
|
2805
|
+
if (!(this.d30_1.o32_1 === get_INVALID())) {
|
|
2806
|
+
this.b30_1.k2y();
|
|
2807
|
+
this.b30_1.l2y();
|
|
2808
|
+
this.b30_1.n2y(this.d30_1.o32_1);
|
|
2801
2809
|
}
|
|
2802
2810
|
};
|
|
2803
2811
|
protoOf(StreamingJsonEncoder).d2a = function (descriptor, index) {
|
|
2804
|
-
switch (this.
|
|
2812
|
+
switch (this.d30_1.w9_1) {
|
|
2805
2813
|
case 1:
|
|
2806
|
-
if (!this.
|
|
2807
|
-
this.
|
|
2814
|
+
if (!this.b30_1.i2y_1) {
|
|
2815
|
+
this.b30_1.n2y(get_COMMA());
|
|
2808
2816
|
}
|
|
2809
2817
|
|
|
2810
|
-
this.
|
|
2818
|
+
this.b30_1.l2y();
|
|
2811
2819
|
break;
|
|
2812
2820
|
case 2:
|
|
2813
|
-
if (!this.
|
|
2821
|
+
if (!this.b30_1.i2y_1) {
|
|
2814
2822
|
var tmp = this;
|
|
2815
2823
|
var tmp_0;
|
|
2816
2824
|
if ((index % 2 | 0) === 0) {
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2825
|
+
this.b30_1.n2y(get_COMMA());
|
|
2826
|
+
this.b30_1.l2y();
|
|
2819
2827
|
tmp_0 = true;
|
|
2820
2828
|
} else {
|
|
2821
|
-
this.
|
|
2822
|
-
this.
|
|
2829
|
+
this.b30_1.n2y(get_COLON());
|
|
2830
|
+
this.b30_1.m2y();
|
|
2823
2831
|
tmp_0 = false;
|
|
2824
2832
|
}
|
|
2825
|
-
tmp.
|
|
2833
|
+
tmp.h30_1 = tmp_0;
|
|
2826
2834
|
} else {
|
|
2827
|
-
this.
|
|
2828
|
-
this.
|
|
2835
|
+
this.h30_1 = true;
|
|
2836
|
+
this.b30_1.l2y();
|
|
2829
2837
|
}
|
|
2830
2838
|
|
|
2831
2839
|
break;
|
|
2832
2840
|
case 3:
|
|
2833
2841
|
if (index === 0)
|
|
2834
|
-
this.
|
|
2842
|
+
this.h30_1 = true;
|
|
2835
2843
|
if (index === 1) {
|
|
2836
|
-
this.
|
|
2837
|
-
this.
|
|
2838
|
-
this.
|
|
2844
|
+
this.b30_1.n2y(get_COMMA());
|
|
2845
|
+
this.b30_1.m2y();
|
|
2846
|
+
this.h30_1 = false;
|
|
2839
2847
|
}
|
|
2840
2848
|
|
|
2841
2849
|
break;
|
|
2842
2850
|
default:
|
|
2843
|
-
if (!this.
|
|
2844
|
-
this.
|
|
2851
|
+
if (!this.b30_1.i2y_1) {
|
|
2852
|
+
this.b30_1.n2y(get_COMMA());
|
|
2845
2853
|
}
|
|
2846
2854
|
|
|
2847
|
-
this.
|
|
2848
|
-
this.o2a(getJsonElementName(descriptor, this.
|
|
2849
|
-
this.
|
|
2850
|
-
this.
|
|
2855
|
+
this.b30_1.l2y();
|
|
2856
|
+
this.o2a(getJsonElementName(descriptor, this.c30_1, index));
|
|
2857
|
+
this.b30_1.n2y(get_COLON());
|
|
2858
|
+
this.b30_1.m2y();
|
|
2851
2859
|
break;
|
|
2852
2860
|
}
|
|
2853
2861
|
return true;
|
|
2854
2862
|
};
|
|
2855
2863
|
protoOf(StreamingJsonEncoder).d2b = function (descriptor, index, serializer, value) {
|
|
2856
|
-
if (!(value == null) ? true : this.
|
|
2864
|
+
if (!(value == null) ? true : this.g30_1.o2w_1) {
|
|
2857
2865
|
protoOf(AbstractEncoder).d2b.call(this, descriptor, index, serializer, value);
|
|
2858
2866
|
}
|
|
2859
2867
|
};
|
|
@@ -2862,93 +2870,93 @@
|
|
|
2862
2870
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2863
2871
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2864
2872
|
var tmp_0;
|
|
2865
|
-
var tmp_1 = this.
|
|
2873
|
+
var tmp_1 = this.b30_1;
|
|
2866
2874
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2867
|
-
tmp_0 = this.
|
|
2875
|
+
tmp_0 = this.b30_1;
|
|
2868
2876
|
} else {
|
|
2869
|
-
tmp_0 = new ComposerForUnsignedNumbers(this.
|
|
2877
|
+
tmp_0 = new ComposerForUnsignedNumbers(this.b30_1.h2y_1, this.h30_1);
|
|
2870
2878
|
}
|
|
2871
2879
|
var tmp$ret$1 = tmp_0;
|
|
2872
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2880
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.c30_1, this.d30_1, null);
|
|
2873
2881
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2874
2882
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2875
2883
|
var tmp_2;
|
|
2876
|
-
var tmp_3 = this.
|
|
2884
|
+
var tmp_3 = this.b30_1;
|
|
2877
2885
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2878
|
-
tmp_2 = this.
|
|
2886
|
+
tmp_2 = this.b30_1;
|
|
2879
2887
|
} else {
|
|
2880
|
-
tmp_2 = new ComposerForUnquotedLiterals(this.
|
|
2888
|
+
tmp_2 = new ComposerForUnquotedLiterals(this.b30_1.h2y_1, this.h30_1);
|
|
2881
2889
|
}
|
|
2882
2890
|
var tmp$ret$3 = tmp_2;
|
|
2883
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
2891
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.c30_1, this.d30_1, null);
|
|
2884
2892
|
} else {
|
|
2885
2893
|
tmp = protoOf(AbstractEncoder).q2a.call(this, descriptor);
|
|
2886
2894
|
}
|
|
2887
2895
|
return tmp;
|
|
2888
2896
|
};
|
|
2889
2897
|
protoOf(StreamingJsonEncoder).f2a = function () {
|
|
2890
|
-
this.
|
|
2898
|
+
this.b30_1.p2y(get_NULL());
|
|
2891
2899
|
};
|
|
2892
2900
|
protoOf(StreamingJsonEncoder).g2a = function (value) {
|
|
2893
|
-
if (this.
|
|
2901
|
+
if (this.h30_1) {
|
|
2894
2902
|
this.o2a(value.toString());
|
|
2895
2903
|
} else {
|
|
2896
|
-
this.
|
|
2904
|
+
this.b30_1.y2y(value);
|
|
2897
2905
|
}
|
|
2898
2906
|
};
|
|
2899
2907
|
protoOf(StreamingJsonEncoder).h2a = function (value) {
|
|
2900
|
-
if (this.
|
|
2908
|
+
if (this.h30_1) {
|
|
2901
2909
|
this.o2a(value.toString());
|
|
2902
2910
|
} else {
|
|
2903
|
-
this.
|
|
2911
|
+
this.b30_1.t2y(value);
|
|
2904
2912
|
}
|
|
2905
2913
|
};
|
|
2906
2914
|
protoOf(StreamingJsonEncoder).i2a = function (value) {
|
|
2907
|
-
if (this.
|
|
2915
|
+
if (this.h30_1) {
|
|
2908
2916
|
this.o2a(value.toString());
|
|
2909
2917
|
} else {
|
|
2910
|
-
this.
|
|
2918
|
+
this.b30_1.v2y(value);
|
|
2911
2919
|
}
|
|
2912
2920
|
};
|
|
2913
2921
|
protoOf(StreamingJsonEncoder).j2a = function (value) {
|
|
2914
|
-
if (this.
|
|
2922
|
+
if (this.h30_1) {
|
|
2915
2923
|
this.o2a(value.toString());
|
|
2916
2924
|
} else {
|
|
2917
|
-
this.
|
|
2925
|
+
this.b30_1.w2y(value);
|
|
2918
2926
|
}
|
|
2919
2927
|
};
|
|
2920
2928
|
protoOf(StreamingJsonEncoder).k2a = function (value) {
|
|
2921
|
-
if (this.
|
|
2929
|
+
if (this.h30_1) {
|
|
2922
2930
|
this.o2a(value.toString());
|
|
2923
2931
|
} else {
|
|
2924
|
-
this.
|
|
2932
|
+
this.b30_1.x2y(value);
|
|
2925
2933
|
}
|
|
2926
2934
|
};
|
|
2927
2935
|
protoOf(StreamingJsonEncoder).l2a = function (value) {
|
|
2928
|
-
if (this.
|
|
2936
|
+
if (this.h30_1) {
|
|
2929
2937
|
this.o2a(value.toString());
|
|
2930
2938
|
} else {
|
|
2931
|
-
this.
|
|
2939
|
+
this.b30_1.r2y(value);
|
|
2932
2940
|
}
|
|
2933
|
-
if (!this.
|
|
2934
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
2941
|
+
if (!this.g30_1.t2w_1 ? !isFinite(value) : false) {
|
|
2942
|
+
throw InvalidFloatingPointEncoded(value, toString(this.b30_1.h2y_1));
|
|
2935
2943
|
}
|
|
2936
2944
|
};
|
|
2937
2945
|
protoOf(StreamingJsonEncoder).m2a = function (value) {
|
|
2938
|
-
if (this.
|
|
2946
|
+
if (this.h30_1) {
|
|
2939
2947
|
this.o2a(value.toString());
|
|
2940
2948
|
} else {
|
|
2941
|
-
this.
|
|
2949
|
+
this.b30_1.s2y(value);
|
|
2942
2950
|
}
|
|
2943
|
-
if (!this.
|
|
2944
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
2951
|
+
if (!this.g30_1.t2w_1 ? !isFinite_0(value) : false) {
|
|
2952
|
+
throw InvalidFloatingPointEncoded(value, toString(this.b30_1.h2y_1));
|
|
2945
2953
|
}
|
|
2946
2954
|
};
|
|
2947
2955
|
protoOf(StreamingJsonEncoder).n2a = function (value) {
|
|
2948
2956
|
this.o2a(toString_0(value));
|
|
2949
2957
|
};
|
|
2950
2958
|
protoOf(StreamingJsonEncoder).o2a = function (value) {
|
|
2951
|
-
return this.
|
|
2959
|
+
return this.b30_1.z2y(value);
|
|
2952
2960
|
};
|
|
2953
2961
|
protoOf(StreamingJsonEncoder).p2a = function (enumDescriptor, index) {
|
|
2954
2962
|
this.o2a(enumDescriptor.w27(index));
|
|
@@ -3099,7 +3107,7 @@
|
|
|
3099
3107
|
}
|
|
3100
3108
|
}
|
|
3101
3109
|
function unparsedPrimitive($this, primitive) {
|
|
3102
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal as '" + primitive + "' value", toString($this.
|
|
3110
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal as '" + primitive + "' value", toString($this.y32()));
|
|
3103
3111
|
}
|
|
3104
3112
|
function asLiteral(_this__u8e3s4, $this, type) {
|
|
3105
3113
|
var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonLiteral ? _this__u8e3s4 : null;
|
|
@@ -3113,20 +3121,20 @@
|
|
|
3113
3121
|
}
|
|
3114
3122
|
function AbstractJsonTreeDecoder(json, value) {
|
|
3115
3123
|
NamedValueDecoder.call(this);
|
|
3116
|
-
this.
|
|
3117
|
-
this.
|
|
3118
|
-
this.
|
|
3124
|
+
this.v32_1 = json;
|
|
3125
|
+
this.w32_1 = value;
|
|
3126
|
+
this.x32_1 = this.a2x().c2v_1;
|
|
3119
3127
|
}
|
|
3120
3128
|
protoOf(AbstractJsonTreeDecoder).a2x = function () {
|
|
3121
|
-
return this.
|
|
3129
|
+
return this.v32_1;
|
|
3122
3130
|
};
|
|
3123
3131
|
protoOf(AbstractJsonTreeDecoder).s2 = function () {
|
|
3124
|
-
return this.
|
|
3132
|
+
return this.w32_1;
|
|
3125
3133
|
};
|
|
3126
3134
|
protoOf(AbstractJsonTreeDecoder).d27 = function () {
|
|
3127
3135
|
return this.a2x().d27();
|
|
3128
3136
|
};
|
|
3129
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3137
|
+
protoOf(AbstractJsonTreeDecoder).y32 = function () {
|
|
3130
3138
|
var tmp0_safe_receiver = this.q2n();
|
|
3131
3139
|
var tmp;
|
|
3132
3140
|
if (tmp0_safe_receiver == null) {
|
|
@@ -3135,13 +3143,13 @@
|
|
|
3135
3143
|
// Inline function 'kotlin.let' call
|
|
3136
3144
|
// Inline function 'kotlin.contracts.contract' call
|
|
3137
3145
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
3138
|
-
tmp = this.
|
|
3146
|
+
tmp = this.z32(tmp0_safe_receiver);
|
|
3139
3147
|
}
|
|
3140
3148
|
var tmp1_elvis_lhs = tmp;
|
|
3141
3149
|
return tmp1_elvis_lhs == null ? this.s2() : tmp1_elvis_lhs;
|
|
3142
3150
|
};
|
|
3143
3151
|
protoOf(AbstractJsonTreeDecoder).b2x = function () {
|
|
3144
|
-
return this.
|
|
3152
|
+
return this.y32();
|
|
3145
3153
|
};
|
|
3146
3154
|
protoOf(AbstractJsonTreeDecoder).k29 = function (deserializer) {
|
|
3147
3155
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
@@ -3150,7 +3158,7 @@
|
|
|
3150
3158
|
return childName;
|
|
3151
3159
|
};
|
|
3152
3160
|
protoOf(AbstractJsonTreeDecoder).l29 = function (descriptor) {
|
|
3153
|
-
var currentObject = this.
|
|
3161
|
+
var currentObject = this.y32();
|
|
3154
3162
|
var tmp0_subject = descriptor.s27();
|
|
3155
3163
|
var tmp;
|
|
3156
3164
|
var tmp_0;
|
|
@@ -3215,37 +3223,37 @@
|
|
|
3215
3223
|
protoOf(AbstractJsonTreeDecoder).m29 = function (descriptor) {
|
|
3216
3224
|
};
|
|
3217
3225
|
protoOf(AbstractJsonTreeDecoder).w28 = function () {
|
|
3218
|
-
var tmp = this.
|
|
3226
|
+
var tmp = this.y32();
|
|
3219
3227
|
return !(tmp instanceof JsonNull);
|
|
3220
3228
|
};
|
|
3221
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3222
|
-
var currentElement = this.
|
|
3229
|
+
protoOf(AbstractJsonTreeDecoder).a33 = function (tag) {
|
|
3230
|
+
var currentElement = this.z32(tag);
|
|
3223
3231
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
3224
3232
|
var tmp;
|
|
3225
3233
|
if (tmp0_elvis_lhs == null) {
|
|
3226
|
-
throw JsonDecodingException_0(-1, 'Expected JsonPrimitive at ' + tag + ', found ' + currentElement, toString(this.
|
|
3234
|
+
throw JsonDecodingException_0(-1, 'Expected JsonPrimitive at ' + tag + ', found ' + currentElement, toString(this.y32()));
|
|
3227
3235
|
} else {
|
|
3228
3236
|
tmp = tmp0_elvis_lhs;
|
|
3229
3237
|
}
|
|
3230
3238
|
return tmp;
|
|
3231
3239
|
};
|
|
3232
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3233
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.a2x(), this.
|
|
3240
|
+
protoOf(AbstractJsonTreeDecoder).b33 = function (tag, enumDescriptor) {
|
|
3241
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.a2x(), this.a33(tag).i2x());
|
|
3234
3242
|
};
|
|
3235
3243
|
protoOf(AbstractJsonTreeDecoder).d2o = function (tag, enumDescriptor) {
|
|
3236
|
-
return this.
|
|
3244
|
+
return this.b33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3237
3245
|
};
|
|
3238
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3239
|
-
return !(this.
|
|
3246
|
+
protoOf(AbstractJsonTreeDecoder).c33 = function (tag) {
|
|
3247
|
+
return !(this.z32(tag) === JsonNull_getInstance());
|
|
3240
3248
|
};
|
|
3241
3249
|
protoOf(AbstractJsonTreeDecoder).t2n = function (tag) {
|
|
3242
|
-
return this.
|
|
3250
|
+
return this.c33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3243
3251
|
};
|
|
3244
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3252
|
+
protoOf(AbstractJsonTreeDecoder).d33 = function (tag) {
|
|
3245
3253
|
var tmp$ret$1;
|
|
3246
3254
|
$l$block: {
|
|
3247
3255
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3248
|
-
var this_0 = this.
|
|
3256
|
+
var this_0 = this.a33(tag);
|
|
3249
3257
|
try {
|
|
3250
3258
|
var tmp0_elvis_lhs = get_booleanOrNull(this_0);
|
|
3251
3259
|
var tmp;
|
|
@@ -3268,13 +3276,13 @@
|
|
|
3268
3276
|
return tmp$ret$1;
|
|
3269
3277
|
};
|
|
3270
3278
|
protoOf(AbstractJsonTreeDecoder).u2n = function (tag) {
|
|
3271
|
-
return this.
|
|
3279
|
+
return this.d33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3272
3280
|
};
|
|
3273
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3281
|
+
protoOf(AbstractJsonTreeDecoder).e33 = function (tag) {
|
|
3274
3282
|
var tmp$ret$1;
|
|
3275
3283
|
$l$block: {
|
|
3276
3284
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3277
|
-
var this_0 = this.
|
|
3285
|
+
var this_0 = this.a33(tag);
|
|
3278
3286
|
try {
|
|
3279
3287
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
3280
3288
|
var result = get_int(this_0);
|
|
@@ -3306,13 +3314,13 @@
|
|
|
3306
3314
|
return tmp$ret$1;
|
|
3307
3315
|
};
|
|
3308
3316
|
protoOf(AbstractJsonTreeDecoder).v2n = function (tag) {
|
|
3309
|
-
return this.
|
|
3317
|
+
return this.e33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3310
3318
|
};
|
|
3311
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3319
|
+
protoOf(AbstractJsonTreeDecoder).f33 = function (tag) {
|
|
3312
3320
|
var tmp$ret$1;
|
|
3313
3321
|
$l$block: {
|
|
3314
3322
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3315
|
-
var this_0 = this.
|
|
3323
|
+
var this_0 = this.a33(tag);
|
|
3316
3324
|
try {
|
|
3317
3325
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
3318
3326
|
var result = get_int(this_0);
|
|
@@ -3344,13 +3352,13 @@
|
|
|
3344
3352
|
return tmp$ret$1;
|
|
3345
3353
|
};
|
|
3346
3354
|
protoOf(AbstractJsonTreeDecoder).w2n = function (tag) {
|
|
3347
|
-
return this.
|
|
3355
|
+
return this.f33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3348
3356
|
};
|
|
3349
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3357
|
+
protoOf(AbstractJsonTreeDecoder).g33 = function (tag) {
|
|
3350
3358
|
var tmp$ret$1;
|
|
3351
3359
|
$l$block: {
|
|
3352
3360
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3353
|
-
var this_0 = this.
|
|
3361
|
+
var this_0 = this.a33(tag);
|
|
3354
3362
|
try {
|
|
3355
3363
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
3356
3364
|
var tmp0_elvis_lhs = get_int(this_0);
|
|
@@ -3374,13 +3382,13 @@
|
|
|
3374
3382
|
return tmp$ret$1;
|
|
3375
3383
|
};
|
|
3376
3384
|
protoOf(AbstractJsonTreeDecoder).x2n = function (tag) {
|
|
3377
|
-
return this.
|
|
3385
|
+
return this.g33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3378
3386
|
};
|
|
3379
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3387
|
+
protoOf(AbstractJsonTreeDecoder).h33 = function (tag) {
|
|
3380
3388
|
var tmp$ret$1;
|
|
3381
3389
|
$l$block: {
|
|
3382
3390
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3383
|
-
var this_0 = this.
|
|
3391
|
+
var this_0 = this.a33(tag);
|
|
3384
3392
|
try {
|
|
3385
3393
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
3386
3394
|
var tmp0_elvis_lhs = get_long(this_0);
|
|
@@ -3404,13 +3412,13 @@
|
|
|
3404
3412
|
return tmp$ret$1;
|
|
3405
3413
|
};
|
|
3406
3414
|
protoOf(AbstractJsonTreeDecoder).y2n = function (tag) {
|
|
3407
|
-
return this.
|
|
3415
|
+
return this.h33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3408
3416
|
};
|
|
3409
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3417
|
+
protoOf(AbstractJsonTreeDecoder).i33 = function (tag) {
|
|
3410
3418
|
var tmp$ret$1;
|
|
3411
3419
|
$l$block: {
|
|
3412
3420
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3413
|
-
var this_0 = this.
|
|
3421
|
+
var this_0 = this.a33(tag);
|
|
3414
3422
|
try {
|
|
3415
3423
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
3416
3424
|
var tmp0_elvis_lhs = get_float(this_0);
|
|
@@ -3435,16 +3443,16 @@
|
|
|
3435
3443
|
var specialFp = this.a2x().c2v_1.t2w_1;
|
|
3436
3444
|
if (specialFp ? true : isFinite(result))
|
|
3437
3445
|
return result;
|
|
3438
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3446
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.y32()));
|
|
3439
3447
|
};
|
|
3440
3448
|
protoOf(AbstractJsonTreeDecoder).z2n = function (tag) {
|
|
3441
|
-
return this.
|
|
3449
|
+
return this.i33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3442
3450
|
};
|
|
3443
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3451
|
+
protoOf(AbstractJsonTreeDecoder).j33 = function (tag) {
|
|
3444
3452
|
var tmp$ret$1;
|
|
3445
3453
|
$l$block: {
|
|
3446
3454
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3447
|
-
var this_0 = this.
|
|
3455
|
+
var this_0 = this.a33(tag);
|
|
3448
3456
|
try {
|
|
3449
3457
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
3450
3458
|
var tmp0_elvis_lhs = get_double(this_0);
|
|
@@ -3469,19 +3477,19 @@
|
|
|
3469
3477
|
var specialFp = this.a2x().c2v_1.t2w_1;
|
|
3470
3478
|
if (specialFp ? true : isFinite_0(result))
|
|
3471
3479
|
return result;
|
|
3472
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3480
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.y32()));
|
|
3473
3481
|
};
|
|
3474
3482
|
protoOf(AbstractJsonTreeDecoder).a2o = function (tag) {
|
|
3475
|
-
return this.
|
|
3483
|
+
return this.j33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3476
3484
|
};
|
|
3477
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3485
|
+
protoOf(AbstractJsonTreeDecoder).k33 = function (tag) {
|
|
3478
3486
|
var tmp$ret$1;
|
|
3479
3487
|
$l$block: {
|
|
3480
3488
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3481
|
-
var this_0 = this.
|
|
3489
|
+
var this_0 = this.a33(tag);
|
|
3482
3490
|
try {
|
|
3483
3491
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
3484
|
-
var tmp0_elvis_lhs = single(this_0.
|
|
3492
|
+
var tmp0_elvis_lhs = single(this_0.i2x());
|
|
3485
3493
|
var tmp;
|
|
3486
3494
|
var tmp_0 = tmp0_elvis_lhs;
|
|
3487
3495
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
@@ -3503,27 +3511,27 @@
|
|
|
3503
3511
|
return tmp$ret$1;
|
|
3504
3512
|
};
|
|
3505
3513
|
protoOf(AbstractJsonTreeDecoder).b2o = function (tag) {
|
|
3506
|
-
return this.
|
|
3514
|
+
return this.k33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3507
3515
|
};
|
|
3508
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3509
|
-
var value = this.
|
|
3516
|
+
protoOf(AbstractJsonTreeDecoder).l33 = function (tag) {
|
|
3517
|
+
var value = this.a33(tag);
|
|
3510
3518
|
if (!this.a2x().c2v_1.l2w_1) {
|
|
3511
3519
|
var literal = asLiteral(value, this, 'string');
|
|
3512
|
-
if (!literal.
|
|
3513
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(this.
|
|
3520
|
+
if (!literal.m2x_1)
|
|
3521
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(this.y32()));
|
|
3514
3522
|
}
|
|
3515
3523
|
if (value instanceof JsonNull)
|
|
3516
|
-
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(this.
|
|
3517
|
-
return value.
|
|
3524
|
+
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(this.y32()));
|
|
3525
|
+
return value.i2x();
|
|
3518
3526
|
};
|
|
3519
3527
|
protoOf(AbstractJsonTreeDecoder).c2o = function (tag) {
|
|
3520
|
-
return this.
|
|
3528
|
+
return this.l33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3521
3529
|
};
|
|
3522
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3523
|
-
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.
|
|
3530
|
+
protoOf(AbstractJsonTreeDecoder).m33 = function (tag, inlineDescriptor) {
|
|
3531
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.a33(tag).i2x()), this.a2x()) : protoOf(NamedValueDecoder).e2o.call(this, tag, inlineDescriptor);
|
|
3524
3532
|
};
|
|
3525
3533
|
protoOf(AbstractJsonTreeDecoder).e2o = function (tag, inlineDescriptor) {
|
|
3526
|
-
return this.
|
|
3534
|
+
return this.m33((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3527
3535
|
};
|
|
3528
3536
|
protoOf(AbstractJsonTreeDecoder).i29 = function (descriptor) {
|
|
3529
3537
|
return !(this.q2n() == null) ? protoOf(NamedValueDecoder).i29.call(this, descriptor) : (new JsonPrimitiveDecoder(this.a2x(), this.s2())).i29(descriptor);
|
|
@@ -3537,7 +3545,7 @@
|
|
|
3537
3545
|
var tmp;
|
|
3538
3546
|
if (!elementDescriptor.l27()) {
|
|
3539
3547
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3540
|
-
var tmp_0 = $this.
|
|
3548
|
+
var tmp_0 = $this.z32(tag);
|
|
3541
3549
|
tmp = tmp_0 instanceof JsonNull;
|
|
3542
3550
|
} else {
|
|
3543
3551
|
tmp = false;
|
|
@@ -3550,7 +3558,7 @@
|
|
|
3550
3558
|
var tmp_1;
|
|
3551
3559
|
if (elementDescriptor.l27()) {
|
|
3552
3560
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3553
|
-
var tmp_2 = $this.
|
|
3561
|
+
var tmp_2 = $this.z32(tag);
|
|
3554
3562
|
tmp_1 = tmp_2 instanceof JsonNull;
|
|
3555
3563
|
} else {
|
|
3556
3564
|
tmp_1 = false;
|
|
@@ -3560,7 +3568,7 @@
|
|
|
3560
3568
|
break $l$block_2;
|
|
3561
3569
|
}
|
|
3562
3570
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3563
|
-
var tmp_3 = $this.
|
|
3571
|
+
var tmp_3 = $this.z32(tag);
|
|
3564
3572
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
3565
3573
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3566
3574
|
var tmp_4;
|
|
@@ -3583,29 +3591,29 @@
|
|
|
3583
3591
|
return tmp$ret$1;
|
|
3584
3592
|
}
|
|
3585
3593
|
function absenceIsNull($this, descriptor, index) {
|
|
3586
|
-
$this.
|
|
3587
|
-
return $this.
|
|
3594
|
+
$this.w33_1 = (!$this.a2x().c2v_1.o2w_1 ? !descriptor.x27(index) : false) ? descriptor.u27(index).l27() : false;
|
|
3595
|
+
return $this.w33_1;
|
|
3588
3596
|
}
|
|
3589
3597
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
3590
3598
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
3591
3599
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3592
3600
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3593
|
-
this.
|
|
3594
|
-
this.
|
|
3595
|
-
this.
|
|
3596
|
-
this.
|
|
3597
|
-
this.
|
|
3601
|
+
this.s33_1 = value;
|
|
3602
|
+
this.t33_1 = polyDiscriminator;
|
|
3603
|
+
this.u33_1 = polyDescriptor;
|
|
3604
|
+
this.v33_1 = 0;
|
|
3605
|
+
this.w33_1 = false;
|
|
3598
3606
|
}
|
|
3599
3607
|
protoOf(JsonTreeDecoder).s2 = function () {
|
|
3600
|
-
return this.
|
|
3608
|
+
return this.s33_1;
|
|
3601
3609
|
};
|
|
3602
3610
|
protoOf(JsonTreeDecoder).b2a = function (descriptor) {
|
|
3603
|
-
while (this.
|
|
3604
|
-
var tmp1 = this.
|
|
3605
|
-
this.
|
|
3611
|
+
while (this.v33_1 < descriptor.q27()) {
|
|
3612
|
+
var tmp1 = this.v33_1;
|
|
3613
|
+
this.v33_1 = tmp1 + 1 | 0;
|
|
3606
3614
|
var name = this.l2n(descriptor, tmp1);
|
|
3607
|
-
var index = this.
|
|
3608
|
-
this.
|
|
3615
|
+
var index = this.v33_1 - 1 | 0;
|
|
3616
|
+
this.w33_1 = false;
|
|
3609
3617
|
var tmp;
|
|
3610
3618
|
var tmp_0;
|
|
3611
3619
|
// Inline function 'kotlin.collections.contains' call
|
|
@@ -3617,7 +3625,7 @@
|
|
|
3617
3625
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3618
3626
|
}
|
|
3619
3627
|
if (tmp_0) {
|
|
3620
|
-
tmp = !this.
|
|
3628
|
+
tmp = !this.x32_1.q2w_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
3621
3629
|
} else {
|
|
3622
3630
|
tmp = false;
|
|
3623
3631
|
}
|
|
@@ -3628,13 +3636,13 @@
|
|
|
3628
3636
|
return -1;
|
|
3629
3637
|
};
|
|
3630
3638
|
protoOf(JsonTreeDecoder).w28 = function () {
|
|
3631
|
-
return !this.
|
|
3639
|
+
return !this.w33_1 ? protoOf(AbstractJsonTreeDecoder).w28.call(this) : false;
|
|
3632
3640
|
};
|
|
3633
3641
|
protoOf(JsonTreeDecoder).m2n = function (descriptor, index) {
|
|
3634
3642
|
var strategy = namingStrategy(descriptor, this.a2x());
|
|
3635
3643
|
var baseName = descriptor.w27(index);
|
|
3636
3644
|
if (strategy == null) {
|
|
3637
|
-
if (!this.
|
|
3645
|
+
if (!this.x32_1.u2w_1)
|
|
3638
3646
|
return baseName;
|
|
3639
3647
|
if (this.s2().m2().r(baseName))
|
|
3640
3648
|
return baseName;
|
|
@@ -3664,28 +3672,28 @@
|
|
|
3664
3672
|
// Inline function 'kotlin.contracts.contract' call
|
|
3665
3673
|
return tmp0_safe_receiver;
|
|
3666
3674
|
}
|
|
3667
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3675
|
+
var fallbackName = strategy == null ? null : strategy.r2z(descriptor, index, baseName);
|
|
3668
3676
|
return fallbackName == null ? baseName : fallbackName;
|
|
3669
3677
|
};
|
|
3670
|
-
protoOf(JsonTreeDecoder).
|
|
3678
|
+
protoOf(JsonTreeDecoder).z32 = function (tag) {
|
|
3671
3679
|
return getValue(this.s2(), tag);
|
|
3672
3680
|
};
|
|
3673
3681
|
protoOf(JsonTreeDecoder).l29 = function (descriptor) {
|
|
3674
|
-
if (descriptor === this.
|
|
3682
|
+
if (descriptor === this.u33_1) {
|
|
3675
3683
|
var tmp = this.a2x();
|
|
3676
3684
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3677
|
-
var value = this.
|
|
3678
|
-
var descriptor_0 = this.
|
|
3685
|
+
var value = this.y32();
|
|
3686
|
+
var descriptor_0 = this.u33_1;
|
|
3679
3687
|
if (!(value instanceof JsonObject)) {
|
|
3680
3688
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor_0.z26() + ', but had ' + getKClassFromExpression(value));
|
|
3681
3689
|
}
|
|
3682
|
-
return new JsonTreeDecoder(tmp, value, this.
|
|
3690
|
+
return new JsonTreeDecoder(tmp, value, this.t33_1, this.u33_1);
|
|
3683
3691
|
}
|
|
3684
3692
|
return protoOf(AbstractJsonTreeDecoder).l29.call(this, descriptor);
|
|
3685
3693
|
};
|
|
3686
3694
|
protoOf(JsonTreeDecoder).m29 = function (descriptor) {
|
|
3687
3695
|
var tmp;
|
|
3688
|
-
if (this.
|
|
3696
|
+
if (this.x32_1.k2w_1) {
|
|
3689
3697
|
tmp = true;
|
|
3690
3698
|
} else {
|
|
3691
3699
|
var tmp_0 = descriptor.s27();
|
|
@@ -3695,14 +3703,14 @@
|
|
|
3695
3703
|
return Unit_instance;
|
|
3696
3704
|
var strategy = namingStrategy(descriptor, this.a2x());
|
|
3697
3705
|
var tmp_1;
|
|
3698
|
-
if (strategy == null ? !this.
|
|
3706
|
+
if (strategy == null ? !this.x32_1.u2w_1 : false) {
|
|
3699
3707
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3700
3708
|
} else if (!(strategy == null)) {
|
|
3701
3709
|
tmp_1 = deserializationNamesMap(this.a2x(), descriptor).m2();
|
|
3702
3710
|
} else {
|
|
3703
3711
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3704
3712
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3705
|
-
var tmp0_safe_receiver = get_schemaCache(this.a2x()).
|
|
3713
|
+
var tmp0_safe_receiver = get_schemaCache(this.a2x()).a32(descriptor, get_JsonDeserializationNamesKey());
|
|
3706
3714
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m2();
|
|
3707
3715
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
3708
3716
|
tmp_1 = plus_0(tmp_2, tmp$ret$0);
|
|
@@ -3711,45 +3719,45 @@
|
|
|
3711
3719
|
var tmp1_iterator = this.s2().m2().v();
|
|
3712
3720
|
while (tmp1_iterator.w()) {
|
|
3713
3721
|
var key = tmp1_iterator.y();
|
|
3714
|
-
if (!names.r(key) ? !(key === this.
|
|
3722
|
+
if (!names.r(key) ? !(key === this.t33_1) : false) {
|
|
3715
3723
|
throw UnknownKeyException(key, this.s2().toString());
|
|
3716
3724
|
}
|
|
3717
3725
|
}
|
|
3718
3726
|
};
|
|
3719
3727
|
function JsonTreeListDecoder(json, value) {
|
|
3720
3728
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3721
|
-
this.
|
|
3722
|
-
this.
|
|
3723
|
-
this.
|
|
3729
|
+
this.c34_1 = value;
|
|
3730
|
+
this.d34_1 = this.c34_1.n();
|
|
3731
|
+
this.e34_1 = -1;
|
|
3724
3732
|
}
|
|
3725
3733
|
protoOf(JsonTreeListDecoder).s2 = function () {
|
|
3726
|
-
return this.
|
|
3734
|
+
return this.c34_1;
|
|
3727
3735
|
};
|
|
3728
3736
|
protoOf(JsonTreeListDecoder).m2n = function (descriptor, index) {
|
|
3729
3737
|
return index.toString();
|
|
3730
3738
|
};
|
|
3731
|
-
protoOf(JsonTreeListDecoder).
|
|
3732
|
-
return this.
|
|
3739
|
+
protoOf(JsonTreeListDecoder).z32 = function (tag) {
|
|
3740
|
+
return this.c34_1.i1(toInt(tag));
|
|
3733
3741
|
};
|
|
3734
3742
|
protoOf(JsonTreeListDecoder).b2a = function (descriptor) {
|
|
3735
|
-
while (this.
|
|
3736
|
-
this.
|
|
3737
|
-
return this.
|
|
3743
|
+
while (this.e34_1 < (this.d34_1 - 1 | 0)) {
|
|
3744
|
+
this.e34_1 = this.e34_1 + 1 | 0;
|
|
3745
|
+
return this.e34_1;
|
|
3738
3746
|
}
|
|
3739
3747
|
return -1;
|
|
3740
3748
|
};
|
|
3741
3749
|
function JsonPrimitiveDecoder(json, value) {
|
|
3742
3750
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3743
|
-
this.
|
|
3751
|
+
this.k34_1 = value;
|
|
3744
3752
|
this.f2o(get_PRIMITIVE_TAG());
|
|
3745
3753
|
}
|
|
3746
3754
|
protoOf(JsonPrimitiveDecoder).s2 = function () {
|
|
3747
|
-
return this.
|
|
3755
|
+
return this.k34_1;
|
|
3748
3756
|
};
|
|
3749
3757
|
protoOf(JsonPrimitiveDecoder).b2a = function (descriptor) {
|
|
3750
3758
|
return 0;
|
|
3751
3759
|
};
|
|
3752
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3760
|
+
protoOf(JsonPrimitiveDecoder).z32 = function (tag) {
|
|
3753
3761
|
// Inline function 'kotlin.require' call
|
|
3754
3762
|
// Inline function 'kotlin.contracts.contract' call
|
|
3755
3763
|
if (!(tag === get_PRIMITIVE_TAG())) {
|
|
@@ -3757,31 +3765,31 @@
|
|
|
3757
3765
|
var message = "This input can only handle primitives with '" + get_PRIMITIVE_TAG() + "' tag";
|
|
3758
3766
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3759
3767
|
}
|
|
3760
|
-
return this.
|
|
3768
|
+
return this.k34_1;
|
|
3761
3769
|
};
|
|
3762
3770
|
function JsonTreeMapDecoder(json, value) {
|
|
3763
3771
|
JsonTreeDecoder.call(this, json, value);
|
|
3764
|
-
this.
|
|
3765
|
-
this.
|
|
3766
|
-
this.
|
|
3767
|
-
this.
|
|
3772
|
+
this.v34_1 = value;
|
|
3773
|
+
this.w34_1 = toList(this.v34_1.m2());
|
|
3774
|
+
this.x34_1 = imul(this.w34_1.n(), 2);
|
|
3775
|
+
this.y34_1 = -1;
|
|
3768
3776
|
}
|
|
3769
3777
|
protoOf(JsonTreeMapDecoder).s2 = function () {
|
|
3770
|
-
return this.
|
|
3778
|
+
return this.v34_1;
|
|
3771
3779
|
};
|
|
3772
3780
|
protoOf(JsonTreeMapDecoder).m2n = function (descriptor, index) {
|
|
3773
3781
|
var i = index / 2 | 0;
|
|
3774
|
-
return this.
|
|
3782
|
+
return this.w34_1.i1(i);
|
|
3775
3783
|
};
|
|
3776
3784
|
protoOf(JsonTreeMapDecoder).b2a = function (descriptor) {
|
|
3777
|
-
while (this.
|
|
3778
|
-
this.
|
|
3779
|
-
return this.
|
|
3785
|
+
while (this.y34_1 < (this.x34_1 - 1 | 0)) {
|
|
3786
|
+
this.y34_1 = this.y34_1 + 1 | 0;
|
|
3787
|
+
return this.y34_1;
|
|
3780
3788
|
}
|
|
3781
3789
|
return -1;
|
|
3782
3790
|
};
|
|
3783
|
-
protoOf(JsonTreeMapDecoder).
|
|
3784
|
-
return (this.
|
|
3791
|
+
protoOf(JsonTreeMapDecoder).z32 = function (tag) {
|
|
3792
|
+
return (this.y34_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.v34_1, tag);
|
|
3785
3793
|
};
|
|
3786
3794
|
protoOf(JsonTreeMapDecoder).m29 = function (descriptor) {
|
|
3787
3795
|
};
|
|
@@ -3817,8 +3825,8 @@
|
|
|
3817
3825
|
var $ENTRIES;
|
|
3818
3826
|
function WriteMode(name, ordinal, begin, end) {
|
|
3819
3827
|
Enum.call(this, name, ordinal);
|
|
3820
|
-
this.
|
|
3821
|
-
this.
|
|
3828
|
+
this.n32_1 = begin;
|
|
3829
|
+
this.o32_1 = end;
|
|
3822
3830
|
}
|
|
3823
3831
|
function switchMode(_this__u8e3s4, desc) {
|
|
3824
3832
|
var tmp0_subject = desc.s27();
|
|
@@ -3889,11 +3897,11 @@
|
|
|
3889
3897
|
return WriteMode_POLY_OBJ_instance;
|
|
3890
3898
|
}
|
|
3891
3899
|
function appendEscape($this, lastPosition, current) {
|
|
3892
|
-
$this.
|
|
3900
|
+
$this.z34(lastPosition, current);
|
|
3893
3901
|
return appendEsc($this, current + 1 | 0);
|
|
3894
3902
|
}
|
|
3895
3903
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3896
|
-
$this.
|
|
3904
|
+
$this.z34(lastPosition, currentPosition);
|
|
3897
3905
|
var result = $this.r2v_1.toString();
|
|
3898
3906
|
$this.r2v_1.n8(0);
|
|
3899
3907
|
return result;
|
|
@@ -3907,26 +3915,26 @@
|
|
|
3907
3915
|
return this_0;
|
|
3908
3916
|
}
|
|
3909
3917
|
function wasUnquotedString($this) {
|
|
3910
|
-
return !(charSequenceGet($this.
|
|
3918
|
+
return !(charSequenceGet($this.a35(), $this.o2v_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
3911
3919
|
}
|
|
3912
3920
|
function appendEsc($this, startPosition) {
|
|
3913
3921
|
var currentPosition = startPosition;
|
|
3914
|
-
currentPosition = $this.
|
|
3922
|
+
currentPosition = $this.b35(currentPosition);
|
|
3915
3923
|
if (currentPosition === -1) {
|
|
3916
|
-
$this.
|
|
3924
|
+
$this.o2z('Expected escape sequence to continue, got EOF');
|
|
3917
3925
|
}
|
|
3918
|
-
var tmp = $this.
|
|
3926
|
+
var tmp = $this.a35();
|
|
3919
3927
|
var tmp0 = currentPosition;
|
|
3920
3928
|
currentPosition = tmp0 + 1 | 0;
|
|
3921
3929
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
3922
3930
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
3923
|
-
return appendHex($this, $this.
|
|
3931
|
+
return appendHex($this, $this.a35(), currentPosition);
|
|
3924
3932
|
}
|
|
3925
3933
|
// Inline function 'kotlin.code' call
|
|
3926
3934
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3927
3935
|
var c = escapeToChar(tmp$ret$0);
|
|
3928
3936
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
3929
|
-
$this.
|
|
3937
|
+
$this.o2z("Invalid escaped char '" + toString_0(currentChar) + "'");
|
|
3930
3938
|
}
|
|
3931
3939
|
$this.r2v_1.y5(c);
|
|
3932
3940
|
return currentPosition;
|
|
@@ -3934,9 +3942,9 @@
|
|
|
3934
3942
|
function appendHex($this, source, startPos) {
|
|
3935
3943
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3936
3944
|
$this.o2v_1 = startPos;
|
|
3937
|
-
$this.
|
|
3945
|
+
$this.c35();
|
|
3938
3946
|
if (($this.o2v_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3939
|
-
$this.
|
|
3947
|
+
$this.o2z('Unexpected EOF during unicode escape');
|
|
3940
3948
|
}
|
|
3941
3949
|
return appendHex($this, source, $this.o2v_1);
|
|
3942
3950
|
}
|
|
@@ -3965,17 +3973,17 @@
|
|
|
3965
3973
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
3966
3974
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
3967
3975
|
} else {
|
|
3968
|
-
$this.
|
|
3976
|
+
$this.o2z("Invalid toHexChar char '" + toString_0(character) + "' in unicode escape");
|
|
3969
3977
|
}
|
|
3970
3978
|
return tmp;
|
|
3971
3979
|
}
|
|
3972
3980
|
function consumeBoolean($this, start) {
|
|
3973
|
-
var current = $this.
|
|
3974
|
-
if (current >= charSequenceLength($this.
|
|
3975
|
-
$this.
|
|
3981
|
+
var current = $this.b35(start);
|
|
3982
|
+
if (current >= charSequenceLength($this.a35()) ? true : current === -1) {
|
|
3983
|
+
$this.o2z('EOF');
|
|
3976
3984
|
}
|
|
3977
3985
|
// Inline function 'kotlin.code' call
|
|
3978
|
-
var tmp = $this.
|
|
3986
|
+
var tmp = $this.a35();
|
|
3979
3987
|
var tmp0 = current;
|
|
3980
3988
|
current = tmp0 + 1 | 0;
|
|
3981
3989
|
var this_0 = charSequenceGet(tmp, tmp0);
|
|
@@ -3993,14 +4001,14 @@
|
|
|
3993
4001
|
consumeBooleanLiteral($this, 'alse', current);
|
|
3994
4002
|
tmp_0 = false;
|
|
3995
4003
|
} else {
|
|
3996
|
-
$this.
|
|
4004
|
+
$this.o2z("Expected valid boolean literal prefix, but had '" + $this.r30() + "'");
|
|
3997
4005
|
}
|
|
3998
4006
|
}
|
|
3999
4007
|
return tmp_0;
|
|
4000
4008
|
}
|
|
4001
4009
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4002
|
-
if ((charSequenceLength($this.
|
|
4003
|
-
$this.
|
|
4010
|
+
if ((charSequenceLength($this.a35()) - current | 0) < literalSuffix.length) {
|
|
4011
|
+
$this.o2z('Unexpected end of boolean literal');
|
|
4004
4012
|
}
|
|
4005
4013
|
var inductionVariable = 0;
|
|
4006
4014
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4009,12 +4017,12 @@
|
|
|
4009
4017
|
var i = inductionVariable;
|
|
4010
4018
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4011
4019
|
var expected = charSequenceGet(literalSuffix, i);
|
|
4012
|
-
var actual = charSequenceGet($this.
|
|
4020
|
+
var actual = charSequenceGet($this.a35(), current + i | 0);
|
|
4013
4021
|
// Inline function 'kotlin.code' call
|
|
4014
4022
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4015
4023
|
// Inline function 'kotlin.code' call
|
|
4016
4024
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4017
|
-
$this.
|
|
4025
|
+
$this.o2z("Expected valid boolean literal prefix, but had '" + $this.r30() + "'");
|
|
4018
4026
|
}
|
|
4019
4027
|
}
|
|
4020
4028
|
while (inductionVariable <= last);
|
|
@@ -4047,30 +4055,30 @@
|
|
|
4047
4055
|
this.q2v_1 = null;
|
|
4048
4056
|
this.r2v_1 = StringBuilder_init_$Create$();
|
|
4049
4057
|
}
|
|
4050
|
-
protoOf(AbstractJsonLexer).
|
|
4058
|
+
protoOf(AbstractJsonLexer).c35 = function () {
|
|
4051
4059
|
};
|
|
4052
|
-
protoOf(AbstractJsonLexer).
|
|
4060
|
+
protoOf(AbstractJsonLexer).d35 = function (c) {
|
|
4053
4061
|
return (((c === _Char___init__impl__6a9atx(125) ? true : c === _Char___init__impl__6a9atx(93)) ? true : c === _Char___init__impl__6a9atx(58)) ? true : c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
4054
4062
|
};
|
|
4055
4063
|
protoOf(AbstractJsonLexer).s2v = function () {
|
|
4056
|
-
var nextToken = this.
|
|
4064
|
+
var nextToken = this.t30();
|
|
4057
4065
|
if (!(nextToken === 10)) {
|
|
4058
|
-
this.
|
|
4066
|
+
this.o2z('Expected EOF after parsing, but had ' + toString_0(charSequenceGet(this.a35(), this.o2v_1 - 1 | 0)) + ' instead');
|
|
4059
4067
|
}
|
|
4060
4068
|
};
|
|
4061
|
-
protoOf(AbstractJsonLexer).
|
|
4062
|
-
var token = this.
|
|
4069
|
+
protoOf(AbstractJsonLexer).n30 = function (expected) {
|
|
4070
|
+
var token = this.t30();
|
|
4063
4071
|
if (!(token === expected)) {
|
|
4064
|
-
this.
|
|
4072
|
+
this.e35(expected);
|
|
4065
4073
|
}
|
|
4066
4074
|
return token;
|
|
4067
4075
|
};
|
|
4068
|
-
protoOf(AbstractJsonLexer).
|
|
4069
|
-
this.
|
|
4070
|
-
var source = this.
|
|
4076
|
+
protoOf(AbstractJsonLexer).c32 = function (expected) {
|
|
4077
|
+
this.c35();
|
|
4078
|
+
var source = this.a35();
|
|
4071
4079
|
var cpos = this.o2v_1;
|
|
4072
4080
|
$l$loop_0: while (true) {
|
|
4073
|
-
cpos = this.
|
|
4081
|
+
cpos = this.b35(cpos);
|
|
4074
4082
|
if (cpos === -1)
|
|
4075
4083
|
break $l$loop_0;
|
|
4076
4084
|
var tmp0 = cpos;
|
|
@@ -4081,12 +4089,12 @@
|
|
|
4081
4089
|
this.o2v_1 = cpos;
|
|
4082
4090
|
if (c === expected)
|
|
4083
4091
|
return Unit_instance;
|
|
4084
|
-
this.
|
|
4092
|
+
this.f35(expected);
|
|
4085
4093
|
}
|
|
4086
4094
|
this.o2v_1 = cpos;
|
|
4087
|
-
this.
|
|
4095
|
+
this.f35(expected);
|
|
4088
4096
|
};
|
|
4089
|
-
protoOf(AbstractJsonLexer).
|
|
4097
|
+
protoOf(AbstractJsonLexer).f35 = function (expected) {
|
|
4090
4098
|
if (this.o2v_1 > 0 ? expected === _Char___init__impl__6a9atx(34) : false) {
|
|
4091
4099
|
var tmp$ret$1;
|
|
4092
4100
|
$l$block: {
|
|
@@ -4095,7 +4103,7 @@
|
|
|
4095
4103
|
try {
|
|
4096
4104
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken.<anonymous>' call
|
|
4097
4105
|
this.o2v_1 = this.o2v_1 - 1 | 0;
|
|
4098
|
-
tmp$ret$1 = this.
|
|
4106
|
+
tmp$ret$1 = this.r30();
|
|
4099
4107
|
break $l$block;
|
|
4100
4108
|
}finally {
|
|
4101
4109
|
this.o2v_1 = snapshot;
|
|
@@ -4103,26 +4111,26 @@
|
|
|
4103
4111
|
}
|
|
4104
4112
|
var inputLiteral = tmp$ret$1;
|
|
4105
4113
|
if (inputLiteral === 'null') {
|
|
4106
|
-
this.
|
|
4114
|
+
this.n2z("Expected string literal but 'null' literal was found", this.o2v_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls to default values.");
|
|
4107
4115
|
}
|
|
4108
4116
|
}
|
|
4109
|
-
this.
|
|
4117
|
+
this.e35(charToTokenClass(expected));
|
|
4110
4118
|
};
|
|
4111
|
-
protoOf(AbstractJsonLexer).
|
|
4119
|
+
protoOf(AbstractJsonLexer).g35 = function (expectedToken, wasConsumed) {
|
|
4112
4120
|
var expected = tokenDescription(expectedToken);
|
|
4113
4121
|
var position = wasConsumed ? this.o2v_1 - 1 | 0 : this.o2v_1;
|
|
4114
|
-
var s = (this.o2v_1 === charSequenceLength(this.
|
|
4115
|
-
this.
|
|
4122
|
+
var s = (this.o2v_1 === charSequenceLength(this.a35()) ? true : position < 0) ? 'EOF' : toString_0(charSequenceGet(this.a35(), position));
|
|
4123
|
+
this.o2z('Expected ' + expected + ", but had '" + s + "' instead", position);
|
|
4116
4124
|
};
|
|
4117
|
-
protoOf(AbstractJsonLexer).
|
|
4125
|
+
protoOf(AbstractJsonLexer).e35 = function (expectedToken, wasConsumed, $super) {
|
|
4118
4126
|
wasConsumed = wasConsumed === VOID ? true : wasConsumed;
|
|
4119
|
-
return $super === VOID ? this.
|
|
4127
|
+
return $super === VOID ? this.g35(expectedToken, wasConsumed) : $super.g35.call(this, expectedToken, wasConsumed);
|
|
4120
4128
|
};
|
|
4121
|
-
protoOf(AbstractJsonLexer).
|
|
4122
|
-
var source = this.
|
|
4129
|
+
protoOf(AbstractJsonLexer).o30 = function () {
|
|
4130
|
+
var source = this.a35();
|
|
4123
4131
|
var cpos = this.o2v_1;
|
|
4124
4132
|
$l$loop_0: while (true) {
|
|
4125
|
-
cpos = this.
|
|
4133
|
+
cpos = this.b35(cpos);
|
|
4126
4134
|
if (cpos === -1)
|
|
4127
4135
|
break $l$loop_0;
|
|
4128
4136
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4136,10 +4144,10 @@
|
|
|
4136
4144
|
this.o2v_1 = cpos;
|
|
4137
4145
|
return 10;
|
|
4138
4146
|
};
|
|
4139
|
-
protoOf(AbstractJsonLexer).
|
|
4140
|
-
var current = this.
|
|
4141
|
-
current = this.
|
|
4142
|
-
var len = charSequenceLength(this.
|
|
4147
|
+
protoOf(AbstractJsonLexer).e32 = function (doConsume) {
|
|
4148
|
+
var current = this.h35();
|
|
4149
|
+
current = this.b35(current);
|
|
4150
|
+
var len = charSequenceLength(this.a35()) - current | 0;
|
|
4143
4151
|
if (len < 4 ? true : current === -1)
|
|
4144
4152
|
return false;
|
|
4145
4153
|
var inductionVariable = 0;
|
|
@@ -4147,28 +4155,28 @@
|
|
|
4147
4155
|
do {
|
|
4148
4156
|
var i = inductionVariable;
|
|
4149
4157
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4150
|
-
if (!(charSequenceGet('null', i) === charSequenceGet(this.
|
|
4158
|
+
if (!(charSequenceGet('null', i) === charSequenceGet(this.a35(), current + i | 0)))
|
|
4151
4159
|
return false;
|
|
4152
4160
|
}
|
|
4153
4161
|
while (inductionVariable <= 3);
|
|
4154
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
4162
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.a35(), current + 4 | 0)) === 0 : false)
|
|
4155
4163
|
return false;
|
|
4156
4164
|
if (doConsume) {
|
|
4157
4165
|
this.o2v_1 = current + 4 | 0;
|
|
4158
4166
|
}
|
|
4159
4167
|
return true;
|
|
4160
4168
|
};
|
|
4161
|
-
protoOf(AbstractJsonLexer).
|
|
4169
|
+
protoOf(AbstractJsonLexer).p32 = function (doConsume, $super) {
|
|
4162
4170
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4163
|
-
return $super === VOID ? this.
|
|
4171
|
+
return $super === VOID ? this.e32(doConsume) : $super.e32.call(this, doConsume);
|
|
4164
4172
|
};
|
|
4165
|
-
protoOf(AbstractJsonLexer).
|
|
4173
|
+
protoOf(AbstractJsonLexer).h35 = function () {
|
|
4166
4174
|
var current = this.o2v_1;
|
|
4167
4175
|
$l$loop_0: while (true) {
|
|
4168
|
-
current = this.
|
|
4176
|
+
current = this.b35(current);
|
|
4169
4177
|
if (current === -1)
|
|
4170
4178
|
break $l$loop_0;
|
|
4171
|
-
var c = charSequenceGet(this.
|
|
4179
|
+
var c = charSequenceGet(this.a35(), current);
|
|
4172
4180
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
4173
4181
|
current = current + 1 | 0;
|
|
4174
4182
|
} else {
|
|
@@ -4178,35 +4186,35 @@
|
|
|
4178
4186
|
this.o2v_1 = current;
|
|
4179
4187
|
return current;
|
|
4180
4188
|
};
|
|
4181
|
-
protoOf(AbstractJsonLexer).
|
|
4182
|
-
var token = this.
|
|
4189
|
+
protoOf(AbstractJsonLexer).f32 = function (isLenient) {
|
|
4190
|
+
var token = this.o30();
|
|
4183
4191
|
var tmp;
|
|
4184
4192
|
if (isLenient) {
|
|
4185
4193
|
if (!(token === 1) ? !(token === 0) : false)
|
|
4186
4194
|
return null;
|
|
4187
|
-
tmp = this.
|
|
4195
|
+
tmp = this.r30();
|
|
4188
4196
|
} else {
|
|
4189
4197
|
if (!(token === 1))
|
|
4190
4198
|
return null;
|
|
4191
|
-
tmp = this.
|
|
4199
|
+
tmp = this.q30();
|
|
4192
4200
|
}
|
|
4193
4201
|
var string = tmp;
|
|
4194
4202
|
this.q2v_1 = string;
|
|
4195
4203
|
return string;
|
|
4196
4204
|
};
|
|
4197
|
-
protoOf(AbstractJsonLexer).
|
|
4205
|
+
protoOf(AbstractJsonLexer).i35 = function () {
|
|
4198
4206
|
this.q2v_1 = null;
|
|
4199
4207
|
};
|
|
4200
|
-
protoOf(AbstractJsonLexer).
|
|
4208
|
+
protoOf(AbstractJsonLexer).j35 = function (startPos, endPos) {
|
|
4201
4209
|
// Inline function 'kotlin.text.substring' call
|
|
4202
|
-
var this_0 = this.
|
|
4210
|
+
var this_0 = this.a35();
|
|
4203
4211
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4204
4212
|
};
|
|
4205
|
-
protoOf(AbstractJsonLexer).
|
|
4213
|
+
protoOf(AbstractJsonLexer).q30 = function () {
|
|
4206
4214
|
if (!(this.q2v_1 == null)) {
|
|
4207
4215
|
return takePeeked(this);
|
|
4208
4216
|
}
|
|
4209
|
-
return this.
|
|
4217
|
+
return this.i32();
|
|
4210
4218
|
};
|
|
4211
4219
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4212
4220
|
var currentPosition = current;
|
|
@@ -4216,19 +4224,19 @@
|
|
|
4216
4224
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4217
4225
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4218
4226
|
usedAppend = true;
|
|
4219
|
-
currentPosition = this.
|
|
4227
|
+
currentPosition = this.b35(appendEscape(this, lastPosition, currentPosition));
|
|
4220
4228
|
if (currentPosition === -1) {
|
|
4221
|
-
this.
|
|
4229
|
+
this.o2z('Unexpected EOF', currentPosition);
|
|
4222
4230
|
}
|
|
4223
4231
|
lastPosition = currentPosition;
|
|
4224
4232
|
} else {
|
|
4225
4233
|
currentPosition = currentPosition + 1 | 0;
|
|
4226
4234
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4227
4235
|
usedAppend = true;
|
|
4228
|
-
this.
|
|
4229
|
-
currentPosition = this.
|
|
4236
|
+
this.z34(lastPosition, currentPosition);
|
|
4237
|
+
currentPosition = this.b35(currentPosition);
|
|
4230
4238
|
if (currentPosition === -1) {
|
|
4231
|
-
this.
|
|
4239
|
+
this.o2z('Unexpected EOF', currentPosition);
|
|
4232
4240
|
}
|
|
4233
4241
|
lastPosition = currentPosition;
|
|
4234
4242
|
}
|
|
@@ -4237,7 +4245,7 @@
|
|
|
4237
4245
|
}
|
|
4238
4246
|
var tmp;
|
|
4239
4247
|
if (!usedAppend) {
|
|
4240
|
-
tmp = this.
|
|
4248
|
+
tmp = this.j35(lastPosition, currentPosition);
|
|
4241
4249
|
} else {
|
|
4242
4250
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4243
4251
|
}
|
|
@@ -4245,35 +4253,35 @@
|
|
|
4245
4253
|
this.o2v_1 = currentPosition + 1 | 0;
|
|
4246
4254
|
return string;
|
|
4247
4255
|
};
|
|
4248
|
-
protoOf(AbstractJsonLexer).
|
|
4249
|
-
var result = this.
|
|
4256
|
+
protoOf(AbstractJsonLexer).j32 = function () {
|
|
4257
|
+
var result = this.r30();
|
|
4250
4258
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
4251
|
-
this.
|
|
4259
|
+
this.o2z("Unexpected 'null' value instead of string literal");
|
|
4252
4260
|
}
|
|
4253
4261
|
return result;
|
|
4254
4262
|
};
|
|
4255
|
-
protoOf(AbstractJsonLexer).
|
|
4263
|
+
protoOf(AbstractJsonLexer).r30 = function () {
|
|
4256
4264
|
if (!(this.q2v_1 == null)) {
|
|
4257
4265
|
return takePeeked(this);
|
|
4258
4266
|
}
|
|
4259
|
-
var current = this.
|
|
4260
|
-
if (current >= charSequenceLength(this.
|
|
4261
|
-
this.
|
|
4267
|
+
var current = this.h35();
|
|
4268
|
+
if (current >= charSequenceLength(this.a35()) ? true : current === -1) {
|
|
4269
|
+
this.o2z('EOF', current);
|
|
4262
4270
|
}
|
|
4263
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4271
|
+
var token = charToTokenClass(charSequenceGet(this.a35(), current));
|
|
4264
4272
|
if (token === 1) {
|
|
4265
|
-
return this.
|
|
4273
|
+
return this.q30();
|
|
4266
4274
|
}
|
|
4267
4275
|
if (!(token === 0)) {
|
|
4268
|
-
this.
|
|
4276
|
+
this.o2z('Expected beginning of the string, but got ' + toString_0(charSequenceGet(this.a35(), current)));
|
|
4269
4277
|
}
|
|
4270
4278
|
var usedAppend = false;
|
|
4271
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4279
|
+
while (charToTokenClass(charSequenceGet(this.a35(), current)) === 0) {
|
|
4272
4280
|
current = current + 1 | 0;
|
|
4273
|
-
if (current >= charSequenceLength(this.
|
|
4281
|
+
if (current >= charSequenceLength(this.a35())) {
|
|
4274
4282
|
usedAppend = true;
|
|
4275
|
-
this.
|
|
4276
|
-
var eof = this.
|
|
4283
|
+
this.z34(this.o2v_1, current);
|
|
4284
|
+
var eof = this.b35(current);
|
|
4277
4285
|
if (eof === -1) {
|
|
4278
4286
|
this.o2v_1 = current;
|
|
4279
4287
|
return decodedString(this, 0, 0);
|
|
@@ -4284,7 +4292,7 @@
|
|
|
4284
4292
|
}
|
|
4285
4293
|
var tmp;
|
|
4286
4294
|
if (!usedAppend) {
|
|
4287
|
-
tmp = this.
|
|
4295
|
+
tmp = this.j35(this.o2v_1, current);
|
|
4288
4296
|
} else {
|
|
4289
4297
|
tmp = decodedString(this, this.o2v_1, current);
|
|
4290
4298
|
}
|
|
@@ -4292,24 +4300,24 @@
|
|
|
4292
4300
|
this.o2v_1 = current;
|
|
4293
4301
|
return result;
|
|
4294
4302
|
};
|
|
4295
|
-
protoOf(AbstractJsonLexer).
|
|
4296
|
-
this.r2v_1.i8(this.
|
|
4303
|
+
protoOf(AbstractJsonLexer).z34 = function (fromIndex, toIndex) {
|
|
4304
|
+
this.r2v_1.i8(this.a35(), fromIndex, toIndex);
|
|
4297
4305
|
};
|
|
4298
|
-
protoOf(AbstractJsonLexer).
|
|
4306
|
+
protoOf(AbstractJsonLexer).h32 = function (allowLenientStrings) {
|
|
4299
4307
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4300
4308
|
var tokenStack = ArrayList_init_$Create$();
|
|
4301
|
-
var lastToken = this.
|
|
4309
|
+
var lastToken = this.o30();
|
|
4302
4310
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
4303
|
-
this.
|
|
4311
|
+
this.r30();
|
|
4304
4312
|
return Unit_instance;
|
|
4305
4313
|
}
|
|
4306
4314
|
$l$loop: while (true) {
|
|
4307
|
-
lastToken = this.
|
|
4315
|
+
lastToken = this.o30();
|
|
4308
4316
|
if (lastToken === 1) {
|
|
4309
4317
|
if (allowLenientStrings) {
|
|
4310
|
-
this.
|
|
4318
|
+
this.r30();
|
|
4311
4319
|
} else {
|
|
4312
|
-
this.
|
|
4320
|
+
this.i32();
|
|
4313
4321
|
}
|
|
4314
4322
|
continue $l$loop;
|
|
4315
4323
|
}
|
|
@@ -4318,29 +4326,29 @@
|
|
|
4318
4326
|
tokenStack.s(lastToken);
|
|
4319
4327
|
} else if (tmp0_subject === 9) {
|
|
4320
4328
|
if (!(last(tokenStack) === 8))
|
|
4321
|
-
throw JsonDecodingException_0(this.o2v_1, 'found ] instead of } at path: ' + this.p2v_1, this.
|
|
4329
|
+
throw JsonDecodingException_0(this.o2v_1, 'found ] instead of } at path: ' + this.p2v_1, this.a35());
|
|
4322
4330
|
removeLast(tokenStack);
|
|
4323
4331
|
} else if (tmp0_subject === 7) {
|
|
4324
4332
|
if (!(last(tokenStack) === 6))
|
|
4325
|
-
throw JsonDecodingException_0(this.o2v_1, 'found } instead of ] at path: ' + this.p2v_1, this.
|
|
4333
|
+
throw JsonDecodingException_0(this.o2v_1, 'found } instead of ] at path: ' + this.p2v_1, this.a35());
|
|
4326
4334
|
removeLast(tokenStack);
|
|
4327
4335
|
} else if (tmp0_subject === 10) {
|
|
4328
|
-
this.
|
|
4336
|
+
this.o2z('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4329
4337
|
}
|
|
4330
|
-
this.
|
|
4338
|
+
this.t30();
|
|
4331
4339
|
if (tokenStack.n() === 0)
|
|
4332
4340
|
return Unit_instance;
|
|
4333
4341
|
}
|
|
4334
4342
|
};
|
|
4335
4343
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4336
|
-
return "JsonReader(source='" + this.
|
|
4344
|
+
return "JsonReader(source='" + this.a35() + "', currentPosition=" + this.o2v_1 + ')';
|
|
4337
4345
|
};
|
|
4338
|
-
protoOf(AbstractJsonLexer).
|
|
4339
|
-
var processed = this.
|
|
4346
|
+
protoOf(AbstractJsonLexer).g32 = function (key) {
|
|
4347
|
+
var processed = this.j35(0, this.o2v_1);
|
|
4340
4348
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4341
|
-
this.
|
|
4349
|
+
this.n2z("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
4342
4350
|
};
|
|
4343
|
-
protoOf(AbstractJsonLexer).
|
|
4351
|
+
protoOf(AbstractJsonLexer).n2z = function (message, position, hint) {
|
|
4344
4352
|
var tmp;
|
|
4345
4353
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4346
4354
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4349,24 +4357,24 @@
|
|
|
4349
4357
|
tmp = '\n' + hint;
|
|
4350
4358
|
}
|
|
4351
4359
|
var hintMessage = tmp;
|
|
4352
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.p2v_1.
|
|
4360
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.p2v_1.a30() + hintMessage, this.a35());
|
|
4353
4361
|
};
|
|
4354
|
-
protoOf(AbstractJsonLexer).
|
|
4362
|
+
protoOf(AbstractJsonLexer).o2z = function (message, position, hint, $super) {
|
|
4355
4363
|
position = position === VOID ? this.o2v_1 : position;
|
|
4356
4364
|
hint = hint === VOID ? '' : hint;
|
|
4357
|
-
return $super === VOID ? this.
|
|
4365
|
+
return $super === VOID ? this.n2z(message, position, hint) : $super.n2z.call(this, message, position, hint);
|
|
4358
4366
|
};
|
|
4359
|
-
protoOf(AbstractJsonLexer).
|
|
4360
|
-
var current = this.
|
|
4361
|
-
current = this.
|
|
4362
|
-
if (current >= charSequenceLength(this.
|
|
4363
|
-
this.
|
|
4367
|
+
protoOf(AbstractJsonLexer).p2x = function () {
|
|
4368
|
+
var current = this.h35();
|
|
4369
|
+
current = this.b35(current);
|
|
4370
|
+
if (current >= charSequenceLength(this.a35()) ? true : current === -1) {
|
|
4371
|
+
this.o2z('EOF');
|
|
4364
4372
|
}
|
|
4365
4373
|
var tmp;
|
|
4366
|
-
if (charSequenceGet(this.
|
|
4374
|
+
if (charSequenceGet(this.a35(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4367
4375
|
current = current + 1 | 0;
|
|
4368
|
-
if (current === charSequenceLength(this.
|
|
4369
|
-
this.
|
|
4376
|
+
if (current === charSequenceLength(this.a35())) {
|
|
4377
|
+
this.o2z('EOF');
|
|
4370
4378
|
}
|
|
4371
4379
|
tmp = true;
|
|
4372
4380
|
} else {
|
|
@@ -4379,11 +4387,11 @@
|
|
|
4379
4387
|
var isExponentPositive = false;
|
|
4380
4388
|
var hasExponent = false;
|
|
4381
4389
|
var start = current;
|
|
4382
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4383
|
-
var ch = charSequenceGet(this.
|
|
4390
|
+
$l$loop_4: while (!(current === charSequenceLength(this.a35()))) {
|
|
4391
|
+
var ch = charSequenceGet(this.a35(), current);
|
|
4384
4392
|
if ((ch === _Char___init__impl__6a9atx(101) ? true : ch === _Char___init__impl__6a9atx(69)) ? !hasExponent : false) {
|
|
4385
4393
|
if (current === start) {
|
|
4386
|
-
this.
|
|
4394
|
+
this.o2z('Unexpected symbol ' + toString_0(ch) + ' in numeric literal');
|
|
4387
4395
|
}
|
|
4388
4396
|
isExponentPositive = true;
|
|
4389
4397
|
hasExponent = true;
|
|
@@ -4392,7 +4400,7 @@
|
|
|
4392
4400
|
}
|
|
4393
4401
|
if (ch === _Char___init__impl__6a9atx(45) ? hasExponent : false) {
|
|
4394
4402
|
if (current === start) {
|
|
4395
|
-
this.
|
|
4403
|
+
this.o2z("Unexpected symbol '-' in numeric literal");
|
|
4396
4404
|
}
|
|
4397
4405
|
isExponentPositive = false;
|
|
4398
4406
|
current = current + 1 | 0;
|
|
@@ -4400,7 +4408,7 @@
|
|
|
4400
4408
|
}
|
|
4401
4409
|
if (ch === _Char___init__impl__6a9atx(43) ? hasExponent : false) {
|
|
4402
4410
|
if (current === start) {
|
|
4403
|
-
this.
|
|
4411
|
+
this.o2z("Unexpected symbol '+' in numeric literal");
|
|
4404
4412
|
}
|
|
4405
4413
|
isExponentPositive = true;
|
|
4406
4414
|
current = current + 1 | 0;
|
|
@@ -4408,7 +4416,7 @@
|
|
|
4408
4416
|
}
|
|
4409
4417
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4410
4418
|
if (!(current === start)) {
|
|
4411
|
-
this.
|
|
4419
|
+
this.o2z("Unexpected symbol '-' in numeric literal");
|
|
4412
4420
|
}
|
|
4413
4421
|
isNegative = true;
|
|
4414
4422
|
current = current + 1 | 0;
|
|
@@ -4420,7 +4428,7 @@
|
|
|
4420
4428
|
current = current + 1 | 0;
|
|
4421
4429
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4422
4430
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4423
|
-
this.
|
|
4431
|
+
this.o2z("Unexpected symbol '" + toString_0(ch) + "' in numeric literal");
|
|
4424
4432
|
}
|
|
4425
4433
|
if (hasExponent) {
|
|
4426
4434
|
// Inline function 'kotlin.Long.plus' call
|
|
@@ -4432,19 +4440,19 @@
|
|
|
4432
4440
|
// Inline function 'kotlin.Long.times' call
|
|
4433
4441
|
accumulator = accumulator.va(toLong(10)).cc(toLong(digit));
|
|
4434
4442
|
if (accumulator.wa(new Long(0, 0)) > 0) {
|
|
4435
|
-
this.
|
|
4443
|
+
this.o2z('Numeric value overflow');
|
|
4436
4444
|
}
|
|
4437
4445
|
}
|
|
4438
4446
|
var hasChars = !(current === start);
|
|
4439
4447
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
4440
|
-
this.
|
|
4448
|
+
this.o2z('Expected numeric literal');
|
|
4441
4449
|
}
|
|
4442
4450
|
if (hasQuotation) {
|
|
4443
4451
|
if (!hasChars) {
|
|
4444
|
-
this.
|
|
4452
|
+
this.o2z('EOF');
|
|
4445
4453
|
}
|
|
4446
|
-
if (!(charSequenceGet(this.
|
|
4447
|
-
this.
|
|
4454
|
+
if (!(charSequenceGet(this.a35(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4455
|
+
this.o2z('Expected closing quotation mark');
|
|
4448
4456
|
}
|
|
4449
4457
|
current = current + 1 | 0;
|
|
4450
4458
|
}
|
|
@@ -4460,11 +4468,11 @@
|
|
|
4460
4468
|
tmp_0 = doubleAccumulator < (new Long(0, -2147483648)).s6();
|
|
4461
4469
|
}
|
|
4462
4470
|
if (tmp_0) {
|
|
4463
|
-
this.
|
|
4471
|
+
this.o2z('Numeric value overflow');
|
|
4464
4472
|
}
|
|
4465
4473
|
// Inline function 'kotlin.math.floor' call
|
|
4466
4474
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4467
|
-
this.
|
|
4475
|
+
this.o2z("Can't convert " + doubleAccumulator + ' to Long');
|
|
4468
4476
|
}
|
|
4469
4477
|
accumulator = numberToLong(doubleAccumulator);
|
|
4470
4478
|
}
|
|
@@ -4477,18 +4485,18 @@
|
|
|
4477
4485
|
if (!tmp_2.equals(new Long(0, -2147483648))) {
|
|
4478
4486
|
tmp_1 = accumulator.gc();
|
|
4479
4487
|
} else {
|
|
4480
|
-
this.
|
|
4488
|
+
this.o2z('Numeric value overflow');
|
|
4481
4489
|
}
|
|
4482
4490
|
}
|
|
4483
4491
|
return tmp_1;
|
|
4484
4492
|
};
|
|
4485
|
-
protoOf(AbstractJsonLexer).
|
|
4486
|
-
var current = this.
|
|
4487
|
-
if (current === charSequenceLength(this.
|
|
4488
|
-
this.
|
|
4493
|
+
protoOf(AbstractJsonLexer).q32 = function () {
|
|
4494
|
+
var current = this.h35();
|
|
4495
|
+
if (current === charSequenceLength(this.a35())) {
|
|
4496
|
+
this.o2z('EOF');
|
|
4489
4497
|
}
|
|
4490
4498
|
var tmp;
|
|
4491
|
-
if (charSequenceGet(this.
|
|
4499
|
+
if (charSequenceGet(this.a35(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4492
4500
|
current = current + 1 | 0;
|
|
4493
4501
|
tmp = true;
|
|
4494
4502
|
} else {
|
|
@@ -4497,11 +4505,11 @@
|
|
|
4497
4505
|
var hasQuotation = tmp;
|
|
4498
4506
|
var result = consumeBoolean(this, current);
|
|
4499
4507
|
if (hasQuotation) {
|
|
4500
|
-
if (this.o2v_1 === charSequenceLength(this.
|
|
4501
|
-
this.
|
|
4508
|
+
if (this.o2v_1 === charSequenceLength(this.a35())) {
|
|
4509
|
+
this.o2z('EOF');
|
|
4502
4510
|
}
|
|
4503
|
-
if (!(charSequenceGet(this.
|
|
4504
|
-
this.
|
|
4511
|
+
if (!(charSequenceGet(this.a35(), this.o2v_1) === _Char___init__impl__6a9atx(34))) {
|
|
4512
|
+
this.o2z('Expected closing quotation mark');
|
|
4505
4513
|
}
|
|
4506
4514
|
this.o2v_1 = this.o2v_1 + 1 | 0;
|
|
4507
4515
|
}
|
|
@@ -4511,7 +4519,7 @@
|
|
|
4511
4519
|
var tmp;
|
|
4512
4520
|
// Inline function 'kotlin.code' call
|
|
4513
4521
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4514
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4522
|
+
var tmp_0 = CharMappings_getInstance().l35_1;
|
|
4515
4523
|
// Inline function 'kotlin.code' call
|
|
4516
4524
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4517
4525
|
} else {
|
|
@@ -4607,7 +4615,7 @@
|
|
|
4607
4615
|
}
|
|
4608
4616
|
var TC_OTHER;
|
|
4609
4617
|
function escapeToChar(c) {
|
|
4610
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4618
|
+
return c < 117 ? CharMappings_getInstance().k35_1[c] : _Char___init__impl__6a9atx(0);
|
|
4611
4619
|
}
|
|
4612
4620
|
function get_TC_BEGIN_LIST() {
|
|
4613
4621
|
return TC_BEGIN_LIST;
|
|
@@ -4665,7 +4673,7 @@
|
|
|
4665
4673
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4666
4674
|
// Inline function 'kotlin.code' call
|
|
4667
4675
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4668
|
-
$this.
|
|
4676
|
+
$this.k35_1[tmp$ret$0] = numberToChar(c);
|
|
4669
4677
|
}
|
|
4670
4678
|
}
|
|
4671
4679
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4674,7 +4682,7 @@
|
|
|
4674
4682
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4675
4683
|
}
|
|
4676
4684
|
function initC2TC($this, c, cl) {
|
|
4677
|
-
$this.
|
|
4685
|
+
$this.l35_1[c] = cl;
|
|
4678
4686
|
}
|
|
4679
4687
|
function initC2TC_0($this, c, cl) {
|
|
4680
4688
|
// Inline function 'kotlin.code' call
|
|
@@ -4683,8 +4691,8 @@
|
|
|
4683
4691
|
}
|
|
4684
4692
|
function CharMappings() {
|
|
4685
4693
|
CharMappings_instance = this;
|
|
4686
|
-
this.
|
|
4687
|
-
this.
|
|
4694
|
+
this.k35_1 = charArray(117);
|
|
4695
|
+
this.l35_1 = new Int8Array(126);
|
|
4688
4696
|
initEscape(this);
|
|
4689
4697
|
initCharToToken(this);
|
|
4690
4698
|
}
|
|
@@ -4696,16 +4704,16 @@
|
|
|
4696
4704
|
}
|
|
4697
4705
|
function StringJsonLexer(source) {
|
|
4698
4706
|
AbstractJsonLexer.call(this);
|
|
4699
|
-
this.
|
|
4707
|
+
this.q35_1 = source;
|
|
4700
4708
|
}
|
|
4701
|
-
protoOf(StringJsonLexer).
|
|
4702
|
-
return this.
|
|
4709
|
+
protoOf(StringJsonLexer).a35 = function () {
|
|
4710
|
+
return this.q35_1;
|
|
4703
4711
|
};
|
|
4704
|
-
protoOf(StringJsonLexer).
|
|
4705
|
-
return position < this.
|
|
4712
|
+
protoOf(StringJsonLexer).b35 = function (position) {
|
|
4713
|
+
return position < this.q35_1.length ? position : -1;
|
|
4706
4714
|
};
|
|
4707
|
-
protoOf(StringJsonLexer).
|
|
4708
|
-
var source = this.
|
|
4715
|
+
protoOf(StringJsonLexer).t30 = function () {
|
|
4716
|
+
var source = this.q35_1;
|
|
4709
4717
|
$l$loop: while (!(this.o2v_1 === -1) ? this.o2v_1 < source.length : false) {
|
|
4710
4718
|
var tmp1 = this.o2v_1;
|
|
4711
4719
|
this.o2v_1 = tmp1 + 1 | 0;
|
|
@@ -4721,38 +4729,38 @@
|
|
|
4721
4729
|
}
|
|
4722
4730
|
return get_TC_EOF();
|
|
4723
4731
|
};
|
|
4724
|
-
protoOf(StringJsonLexer).
|
|
4725
|
-
var current = this.
|
|
4726
|
-
if (current === this.
|
|
4732
|
+
protoOf(StringJsonLexer).d32 = function () {
|
|
4733
|
+
var current = this.h35();
|
|
4734
|
+
if (current === this.q35_1.length ? true : current === -1)
|
|
4727
4735
|
return false;
|
|
4728
|
-
if (charSequenceGet(this.
|
|
4736
|
+
if (charSequenceGet(this.q35_1, current) === _Char___init__impl__6a9atx(44)) {
|
|
4729
4737
|
this.o2v_1 = this.o2v_1 + 1 | 0;
|
|
4730
4738
|
return true;
|
|
4731
4739
|
}
|
|
4732
4740
|
return false;
|
|
4733
4741
|
};
|
|
4734
|
-
protoOf(StringJsonLexer).
|
|
4742
|
+
protoOf(StringJsonLexer).p30 = function () {
|
|
4735
4743
|
var current = this.o2v_1;
|
|
4736
4744
|
if (current === -1)
|
|
4737
4745
|
return false;
|
|
4738
|
-
$l$loop: while (current < this.
|
|
4739
|
-
var c = charSequenceGet(this.
|
|
4746
|
+
$l$loop: while (current < this.q35_1.length) {
|
|
4747
|
+
var c = charSequenceGet(this.q35_1, current);
|
|
4740
4748
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
4741
4749
|
current = current + 1 | 0;
|
|
4742
4750
|
continue $l$loop;
|
|
4743
4751
|
}
|
|
4744
4752
|
this.o2v_1 = current;
|
|
4745
|
-
return this.
|
|
4753
|
+
return this.d35(c);
|
|
4746
4754
|
}
|
|
4747
4755
|
this.o2v_1 = current;
|
|
4748
4756
|
return false;
|
|
4749
4757
|
};
|
|
4750
|
-
protoOf(StringJsonLexer).
|
|
4758
|
+
protoOf(StringJsonLexer).h35 = function () {
|
|
4751
4759
|
var current = this.o2v_1;
|
|
4752
4760
|
if (current === -1)
|
|
4753
4761
|
return current;
|
|
4754
|
-
$l$loop: while (current < this.
|
|
4755
|
-
var c = charSequenceGet(this.
|
|
4762
|
+
$l$loop: while (current < this.q35_1.length) {
|
|
4763
|
+
var c = charSequenceGet(this.q35_1, current);
|
|
4756
4764
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
4757
4765
|
current = current + 1 | 0;
|
|
4758
4766
|
} else {
|
|
@@ -4762,11 +4770,11 @@
|
|
|
4762
4770
|
this.o2v_1 = current;
|
|
4763
4771
|
return current;
|
|
4764
4772
|
};
|
|
4765
|
-
protoOf(StringJsonLexer).
|
|
4773
|
+
protoOf(StringJsonLexer).c32 = function (expected) {
|
|
4766
4774
|
if (this.o2v_1 === -1) {
|
|
4767
|
-
this.
|
|
4775
|
+
this.f35(expected);
|
|
4768
4776
|
}
|
|
4769
|
-
var source = this.
|
|
4777
|
+
var source = this.q35_1;
|
|
4770
4778
|
$l$loop: while (this.o2v_1 < source.length) {
|
|
4771
4779
|
var tmp1 = this.o2v_1;
|
|
4772
4780
|
this.o2v_1 = tmp1 + 1 | 0;
|
|
@@ -4775,49 +4783,49 @@
|
|
|
4775
4783
|
continue $l$loop;
|
|
4776
4784
|
if (c === expected)
|
|
4777
4785
|
return Unit_instance;
|
|
4778
|
-
this.
|
|
4786
|
+
this.f35(expected);
|
|
4779
4787
|
}
|
|
4780
4788
|
this.o2v_1 = -1;
|
|
4781
|
-
this.
|
|
4789
|
+
this.f35(expected);
|
|
4782
4790
|
};
|
|
4783
|
-
protoOf(StringJsonLexer).
|
|
4784
|
-
this.
|
|
4791
|
+
protoOf(StringJsonLexer).i32 = function () {
|
|
4792
|
+
this.c32(get_STRING());
|
|
4785
4793
|
var current = this.o2v_1;
|
|
4786
|
-
var closingQuote = indexOf(this.
|
|
4794
|
+
var closingQuote = indexOf(this.q35_1, _Char___init__impl__6a9atx(34), current);
|
|
4787
4795
|
if (closingQuote === -1) {
|
|
4788
|
-
this.
|
|
4789
|
-
this.
|
|
4796
|
+
this.r30();
|
|
4797
|
+
this.g35(get_TC_STRING(), false);
|
|
4790
4798
|
}
|
|
4791
4799
|
var inductionVariable = current;
|
|
4792
4800
|
if (inductionVariable < closingQuote)
|
|
4793
4801
|
do {
|
|
4794
4802
|
var i = inductionVariable;
|
|
4795
4803
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4796
|
-
if (charSequenceGet(this.
|
|
4797
|
-
return this.consumeString2(this.
|
|
4804
|
+
if (charSequenceGet(this.q35_1, i) === get_STRING_ESC()) {
|
|
4805
|
+
return this.consumeString2(this.q35_1, this.o2v_1, i);
|
|
4798
4806
|
}
|
|
4799
4807
|
}
|
|
4800
4808
|
while (inductionVariable < closingQuote);
|
|
4801
4809
|
this.o2v_1 = closingQuote + 1 | 0;
|
|
4802
4810
|
// Inline function 'kotlin.text.substring' call
|
|
4803
4811
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4804
|
-
return this.
|
|
4812
|
+
return this.q35_1.substring(current, closingQuote);
|
|
4805
4813
|
};
|
|
4806
|
-
protoOf(StringJsonLexer).
|
|
4814
|
+
protoOf(StringJsonLexer).k32 = function (keyToMatch, isLenient) {
|
|
4807
4815
|
var positionSnapshot = this.o2v_1;
|
|
4808
4816
|
try {
|
|
4809
|
-
if (!(this.
|
|
4817
|
+
if (!(this.t30() === get_TC_BEGIN_OBJ()))
|
|
4810
4818
|
return null;
|
|
4811
|
-
var firstKey = this.
|
|
4819
|
+
var firstKey = this.f32(isLenient);
|
|
4812
4820
|
if (!(firstKey === keyToMatch))
|
|
4813
4821
|
return null;
|
|
4814
|
-
this.
|
|
4815
|
-
if (!(this.
|
|
4822
|
+
this.i35();
|
|
4823
|
+
if (!(this.t30() === get_TC_COLON()))
|
|
4816
4824
|
return null;
|
|
4817
|
-
return this.
|
|
4825
|
+
return this.f32(isLenient);
|
|
4818
4826
|
}finally {
|
|
4819
4827
|
this.o2v_1 = positionSnapshot;
|
|
4820
|
-
this.
|
|
4828
|
+
this.i35();
|
|
4821
4829
|
}
|
|
4822
4830
|
};
|
|
4823
4831
|
function get_schemaCache(_this__u8e3s4) {
|
|
@@ -4826,19 +4834,19 @@
|
|
|
4826
4834
|
function JsonToStringWriter() {
|
|
4827
4835
|
this.f2v_1 = StringBuilder_init_$Create$_0(128);
|
|
4828
4836
|
}
|
|
4829
|
-
protoOf(JsonToStringWriter).
|
|
4837
|
+
protoOf(JsonToStringWriter).u2y = function (value) {
|
|
4830
4838
|
this.f2v_1.l8(value);
|
|
4831
4839
|
};
|
|
4832
|
-
protoOf(JsonToStringWriter).
|
|
4840
|
+
protoOf(JsonToStringWriter).o2y = function (char) {
|
|
4833
4841
|
this.f2v_1.y5(char);
|
|
4834
4842
|
};
|
|
4835
|
-
protoOf(JsonToStringWriter).
|
|
4843
|
+
protoOf(JsonToStringWriter).q2y = function (text) {
|
|
4836
4844
|
this.f2v_1.x5(text);
|
|
4837
4845
|
};
|
|
4838
|
-
protoOf(JsonToStringWriter).
|
|
4846
|
+
protoOf(JsonToStringWriter).a2z = function (text) {
|
|
4839
4847
|
printQuoted(this.f2v_1, text);
|
|
4840
4848
|
};
|
|
4841
|
-
protoOf(JsonToStringWriter).
|
|
4849
|
+
protoOf(JsonToStringWriter).js = function () {
|
|
4842
4850
|
this.f2v_1.o8();
|
|
4843
4851
|
};
|
|
4844
4852
|
protoOf(JsonToStringWriter).toString = function () {
|