git-digger 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +2 -5910
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +99 -99
- package/kotlin/clikt-clikt.js +2068 -2068
- package/kotlin/colormath-root-colormath.js +480 -480
- package/kotlin/command-line-tools-digger-cli.js +75 -75
- package/kotlin/command-line-tools-digger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +2980 -2491
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1073 -1206
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +361 -361
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1688 -1696
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +4 -4
- package/kotlin/tools-digger-core.js +221 -221
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +130 -130
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +60 -60
- package/kotlin/tools-digger-model.js.map +1 -1
- package/kotlin/tools-git-adapter.js +96 -96
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +2 -3
|
@@ -2,147 +2,143 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.f8;
|
|
6
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.k7;
|
|
7
7
|
var VOID = kotlin_kotlin.$_$.g;
|
|
8
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
9
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
10
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
8
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.r2;
|
|
9
|
+
var Unit_instance = kotlin_kotlin.$_$.d3;
|
|
10
|
+
var emptyList = kotlin_kotlin.$_$.g4;
|
|
11
11
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
12
|
-
var lazy = kotlin_kotlin.$_$.
|
|
13
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
14
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
15
|
-
var toString = kotlin_kotlin.$_$.
|
|
16
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
12
|
+
var lazy = kotlin_kotlin.$_$.bc;
|
|
13
|
+
var KProperty1 = kotlin_kotlin.$_$.u8;
|
|
14
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.e7;
|
|
15
|
+
var toString = kotlin_kotlin.$_$.i8;
|
|
16
|
+
var initMetadataForClass = kotlin_kotlin.$_$.h7;
|
|
17
17
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var mapCapacity = kotlin_kotlin.$_$.k5;
|
|
25
|
-
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
26
|
-
var isInterface = kotlin_kotlin.$_$.h8;
|
|
27
|
-
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.b1;
|
|
28
|
-
var objectCreate = kotlin_kotlin.$_$.r8;
|
|
29
|
-
var captureStack = kotlin_kotlin.$_$.g7;
|
|
30
|
-
var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.c1;
|
|
31
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.wb;
|
|
32
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.g4;
|
|
18
|
+
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.y;
|
|
19
|
+
var objectCreate = kotlin_kotlin.$_$.e8;
|
|
20
|
+
var captureStack = kotlin_kotlin.$_$.u6;
|
|
21
|
+
var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.z;
|
|
22
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.db;
|
|
23
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.z3;
|
|
33
24
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
34
|
-
var
|
|
35
|
-
var
|
|
25
|
+
var THROW_CCE = kotlin_kotlin.$_$.jb;
|
|
26
|
+
var KClass = kotlin_kotlin.$_$.s8;
|
|
27
|
+
var isInterface = kotlin_kotlin.$_$.v7;
|
|
28
|
+
var Triple = kotlin_kotlin.$_$.kb;
|
|
36
29
|
var getKClass = kotlin_kotlin.$_$.f;
|
|
37
|
-
var Pair = kotlin_kotlin.$_$.
|
|
38
|
-
var Entry = kotlin_kotlin.$_$.
|
|
39
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
40
|
-
var KtMutableMap = kotlin_kotlin.$_$.
|
|
41
|
-
var LinkedHashMap = kotlin_kotlin.$_$.
|
|
42
|
-
var HashMap = kotlin_kotlin.$_$.
|
|
43
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
44
|
-
var KtMutableSet = kotlin_kotlin.$_$.
|
|
45
|
-
var LinkedHashSet = kotlin_kotlin.$_$.
|
|
46
|
-
var HashSet = kotlin_kotlin.$_$.
|
|
47
|
-
var Collection = kotlin_kotlin.$_$.
|
|
48
|
-
var KtList = kotlin_kotlin.$_$.
|
|
49
|
-
var KtMutableList = kotlin_kotlin.$_$.
|
|
50
|
-
var ArrayList = kotlin_kotlin.$_$.
|
|
51
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
52
|
-
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.
|
|
53
|
-
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.
|
|
54
|
-
var Result = kotlin_kotlin.$_$.
|
|
55
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
56
|
-
var equals = kotlin_kotlin.$_$.
|
|
57
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
58
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
59
|
-
var
|
|
30
|
+
var Pair = kotlin_kotlin.$_$.gb;
|
|
31
|
+
var Entry = kotlin_kotlin.$_$.l3;
|
|
32
|
+
var KtMap = kotlin_kotlin.$_$.m3;
|
|
33
|
+
var KtMutableMap = kotlin_kotlin.$_$.o3;
|
|
34
|
+
var LinkedHashMap = kotlin_kotlin.$_$.i3;
|
|
35
|
+
var HashMap = kotlin_kotlin.$_$.g3;
|
|
36
|
+
var KtSet = kotlin_kotlin.$_$.q3;
|
|
37
|
+
var KtMutableSet = kotlin_kotlin.$_$.p3;
|
|
38
|
+
var LinkedHashSet = kotlin_kotlin.$_$.j3;
|
|
39
|
+
var HashSet = kotlin_kotlin.$_$.h3;
|
|
40
|
+
var Collection = kotlin_kotlin.$_$.f3;
|
|
41
|
+
var KtList = kotlin_kotlin.$_$.k3;
|
|
42
|
+
var KtMutableList = kotlin_kotlin.$_$.n3;
|
|
43
|
+
var ArrayList = kotlin_kotlin.$_$.e3;
|
|
44
|
+
var copyToArray = kotlin_kotlin.$_$.e4;
|
|
45
|
+
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.q1;
|
|
46
|
+
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.o1;
|
|
47
|
+
var Result = kotlin_kotlin.$_$.hb;
|
|
48
|
+
var ensureNotNull = kotlin_kotlin.$_$.yb;
|
|
49
|
+
var equals = kotlin_kotlin.$_$.b7;
|
|
50
|
+
var getStringHashCode = kotlin_kotlin.$_$.f7;
|
|
51
|
+
var isBlank = kotlin_kotlin.$_$.v9;
|
|
52
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
53
|
+
var toList = kotlin_kotlin.$_$.c6;
|
|
60
54
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
61
55
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
62
|
-
var toHashSet = kotlin_kotlin.$_$.
|
|
63
|
-
var toBooleanArray = kotlin_kotlin.$_$.
|
|
64
|
-
var withIndex = kotlin_kotlin.$_$.
|
|
65
|
-
var to = kotlin_kotlin.$_$.
|
|
66
|
-
var
|
|
67
|
-
var
|
|
68
|
-
var
|
|
69
|
-
var
|
|
70
|
-
var
|
|
71
|
-
var
|
|
72
|
-
var
|
|
73
|
-
var
|
|
74
|
-
var Uuid = kotlin_kotlin.$_$.
|
|
75
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
76
|
-
var
|
|
77
|
-
var
|
|
56
|
+
var toHashSet = kotlin_kotlin.$_$.z5;
|
|
57
|
+
var toBooleanArray = kotlin_kotlin.$_$.y5;
|
|
58
|
+
var withIndex = kotlin_kotlin.$_$.h6;
|
|
59
|
+
var to = kotlin_kotlin.$_$.hc;
|
|
60
|
+
var toMap = kotlin_kotlin.$_$.d6;
|
|
61
|
+
var lazy_0 = kotlin_kotlin.$_$.cc;
|
|
62
|
+
var contentEquals = kotlin_kotlin.$_$.b4;
|
|
63
|
+
var initMetadataForObject = kotlin_kotlin.$_$.m7;
|
|
64
|
+
var Char = kotlin_kotlin.$_$.ya;
|
|
65
|
+
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.j1;
|
|
66
|
+
var Duration = kotlin_kotlin.$_$.va;
|
|
67
|
+
var Instant = kotlin_kotlin.$_$.wa;
|
|
68
|
+
var Uuid = kotlin_kotlin.$_$.xa;
|
|
69
|
+
var hashCode = kotlin_kotlin.$_$.g7;
|
|
70
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
71
|
+
var isArray = kotlin_kotlin.$_$.n7;
|
|
72
|
+
var arrayIterator = kotlin_kotlin.$_$.s6;
|
|
78
73
|
var HashSet_init_$Create$_0 = kotlin_kotlin.$_$.o;
|
|
79
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
80
|
-
var KTypeParameter = kotlin_kotlin.$_$.
|
|
81
|
-
var contentHashCode = kotlin_kotlin.$_$.
|
|
74
|
+
var toString_0 = kotlin_kotlin.$_$.gc;
|
|
75
|
+
var KTypeParameter = kotlin_kotlin.$_$.v8;
|
|
76
|
+
var contentHashCode = kotlin_kotlin.$_$.d4;
|
|
77
|
+
var until = kotlin_kotlin.$_$.r8;
|
|
78
|
+
var joinToString = kotlin_kotlin.$_$.r4;
|
|
82
79
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
83
|
-
var booleanArray = kotlin_kotlin.$_$.
|
|
84
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
85
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
86
|
-
var isCharArray = kotlin_kotlin.$_$.
|
|
87
|
-
var DoubleCompanionObject_instance = kotlin_kotlin.$_$.
|
|
88
|
-
var isDoubleArray = kotlin_kotlin.$_$.
|
|
89
|
-
var FloatCompanionObject_instance = kotlin_kotlin.$_$.
|
|
90
|
-
var isFloatArray = kotlin_kotlin.$_$.
|
|
91
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
92
|
-
var isLongArray = kotlin_kotlin.$_$.
|
|
93
|
-
var Companion_getInstance_1 = kotlin_kotlin.$_$.
|
|
94
|
-
var _ULongArray___get_size__impl__ju6dtr = kotlin_kotlin.$_$.
|
|
95
|
-
var ULongArray = kotlin_kotlin.$_$.
|
|
96
|
-
var ULongArray__get_impl_pr71q9 = kotlin_kotlin.$_$.
|
|
97
|
-
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.
|
|
98
|
-
var IntCompanionObject_instance = kotlin_kotlin.$_$.
|
|
99
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
100
|
-
var Companion_getInstance_2 = kotlin_kotlin.$_$.
|
|
101
|
-
var _UIntArray___get_size__impl__r6l8ci = kotlin_kotlin.$_$.
|
|
102
|
-
var UIntArray = kotlin_kotlin.$_$.
|
|
103
|
-
var UIntArray__get_impl_gp5kza = kotlin_kotlin.$_$.
|
|
104
|
-
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.
|
|
105
|
-
var ShortCompanionObject_instance = kotlin_kotlin.$_$.
|
|
106
|
-
var isShortArray = kotlin_kotlin.$_$.
|
|
107
|
-
var Companion_getInstance_3 = kotlin_kotlin.$_$.
|
|
108
|
-
var _UShortArray___get_size__impl__jqto1b = kotlin_kotlin.$_$.
|
|
109
|
-
var UShortArray = kotlin_kotlin.$_$.
|
|
110
|
-
var UShortArray__get_impl_fnbhmx = kotlin_kotlin.$_$.
|
|
111
|
-
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.
|
|
112
|
-
var ByteCompanionObject_instance = kotlin_kotlin.$_$.
|
|
113
|
-
var isByteArray = kotlin_kotlin.$_$.
|
|
114
|
-
var Companion_getInstance_4 = kotlin_kotlin.$_$.
|
|
115
|
-
var _UByteArray___get_size__impl__h6pkdv = kotlin_kotlin.$_$.
|
|
116
|
-
var UByteArray = kotlin_kotlin.$_$.
|
|
117
|
-
var UByteArray__get_impl_t5f3hv = kotlin_kotlin.$_$.
|
|
118
|
-
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.
|
|
119
|
-
var BooleanCompanionObject_instance = kotlin_kotlin.$_$.
|
|
120
|
-
var isBooleanArray = kotlin_kotlin.$_$.
|
|
121
|
-
var Long = kotlin_kotlin.$_$.
|
|
122
|
-
var Unit = kotlin_kotlin.$_$.
|
|
123
|
-
var
|
|
124
|
-
var
|
|
125
|
-
var
|
|
126
|
-
var
|
|
127
|
-
var
|
|
128
|
-
var
|
|
129
|
-
var
|
|
130
|
-
var
|
|
131
|
-
var mapOf = kotlin_kotlin.$_$.
|
|
132
|
-
var get_js = kotlin_kotlin.$_$.
|
|
80
|
+
var booleanArray = kotlin_kotlin.$_$.t6;
|
|
81
|
+
var emptyMap = kotlin_kotlin.$_$.h4;
|
|
82
|
+
var Companion_getInstance = kotlin_kotlin.$_$.w2;
|
|
83
|
+
var isCharArray = kotlin_kotlin.$_$.q7;
|
|
84
|
+
var DoubleCompanionObject_instance = kotlin_kotlin.$_$.n2;
|
|
85
|
+
var isDoubleArray = kotlin_kotlin.$_$.s7;
|
|
86
|
+
var FloatCompanionObject_instance = kotlin_kotlin.$_$.o2;
|
|
87
|
+
var isFloatArray = kotlin_kotlin.$_$.t7;
|
|
88
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.x2;
|
|
89
|
+
var isLongArray = kotlin_kotlin.$_$.w7;
|
|
90
|
+
var Companion_getInstance_1 = kotlin_kotlin.$_$.b3;
|
|
91
|
+
var _ULongArray___get_size__impl__ju6dtr = kotlin_kotlin.$_$.f2;
|
|
92
|
+
var ULongArray = kotlin_kotlin.$_$.pb;
|
|
93
|
+
var ULongArray__get_impl_pr71q9 = kotlin_kotlin.$_$.e2;
|
|
94
|
+
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.c2;
|
|
95
|
+
var IntCompanionObject_instance = kotlin_kotlin.$_$.p2;
|
|
96
|
+
var isIntArray = kotlin_kotlin.$_$.u7;
|
|
97
|
+
var Companion_getInstance_2 = kotlin_kotlin.$_$.a3;
|
|
98
|
+
var _UIntArray___get_size__impl__r6l8ci = kotlin_kotlin.$_$.a2;
|
|
99
|
+
var UIntArray = kotlin_kotlin.$_$.nb;
|
|
100
|
+
var UIntArray__get_impl_gp5kza = kotlin_kotlin.$_$.z1;
|
|
101
|
+
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.x1;
|
|
102
|
+
var ShortCompanionObject_instance = kotlin_kotlin.$_$.q2;
|
|
103
|
+
var isShortArray = kotlin_kotlin.$_$.x7;
|
|
104
|
+
var Companion_getInstance_3 = kotlin_kotlin.$_$.c3;
|
|
105
|
+
var _UShortArray___get_size__impl__jqto1b = kotlin_kotlin.$_$.k2;
|
|
106
|
+
var UShortArray = kotlin_kotlin.$_$.rb;
|
|
107
|
+
var UShortArray__get_impl_fnbhmx = kotlin_kotlin.$_$.j2;
|
|
108
|
+
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.h2;
|
|
109
|
+
var ByteCompanionObject_instance = kotlin_kotlin.$_$.m2;
|
|
110
|
+
var isByteArray = kotlin_kotlin.$_$.p7;
|
|
111
|
+
var Companion_getInstance_4 = kotlin_kotlin.$_$.z2;
|
|
112
|
+
var _UByteArray___get_size__impl__h6pkdv = kotlin_kotlin.$_$.v1;
|
|
113
|
+
var UByteArray = kotlin_kotlin.$_$.lb;
|
|
114
|
+
var UByteArray__get_impl_t5f3hv = kotlin_kotlin.$_$.u1;
|
|
115
|
+
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.s1;
|
|
116
|
+
var BooleanCompanionObject_instance = kotlin_kotlin.$_$.l2;
|
|
117
|
+
var isBooleanArray = kotlin_kotlin.$_$.o7;
|
|
118
|
+
var Long = kotlin_kotlin.$_$.fb;
|
|
119
|
+
var Unit = kotlin_kotlin.$_$.tb;
|
|
120
|
+
var ULong = kotlin_kotlin.$_$.qb;
|
|
121
|
+
var UInt = kotlin_kotlin.$_$.ob;
|
|
122
|
+
var UShort = kotlin_kotlin.$_$.sb;
|
|
123
|
+
var UByte = kotlin_kotlin.$_$.mb;
|
|
124
|
+
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.s2;
|
|
125
|
+
var Companion_getInstance_5 = kotlin_kotlin.$_$.t2;
|
|
126
|
+
var Companion_getInstance_6 = kotlin_kotlin.$_$.u2;
|
|
127
|
+
var Companion_getInstance_7 = kotlin_kotlin.$_$.v2;
|
|
128
|
+
var mapOf = kotlin_kotlin.$_$.d5;
|
|
129
|
+
var get_js = kotlin_kotlin.$_$.y7;
|
|
133
130
|
var findAssociatedObject = kotlin_kotlin.$_$.d;
|
|
134
|
-
var get_indices = kotlin_kotlin.$_$.
|
|
135
|
-
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.
|
|
136
|
-
var Companion_instance = kotlin_kotlin.$_$.
|
|
137
|
-
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.
|
|
138
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
131
|
+
var get_indices = kotlin_kotlin.$_$.p4;
|
|
132
|
+
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
133
|
+
var Companion_instance = kotlin_kotlin.$_$.y2;
|
|
134
|
+
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.n1;
|
|
135
|
+
var createFailure = kotlin_kotlin.$_$.xb;
|
|
139
136
|
//endregion
|
|
140
137
|
//region block: pre-declaration
|
|
141
138
|
initMetadataForInterface(SerializationStrategy, 'SerializationStrategy');
|
|
142
139
|
initMetadataForInterface(KSerializer, 'KSerializer', VOID, VOID, [SerializationStrategy]);
|
|
143
140
|
initMetadataForClass(AbstractPolymorphicSerializer, 'AbstractPolymorphicSerializer', VOID, VOID, [KSerializer]);
|
|
144
141
|
initMetadataForClass(PolymorphicSerializer, 'PolymorphicSerializer', VOID, AbstractPolymorphicSerializer);
|
|
145
|
-
initMetadataForClass(SealedClassSerializer$$inlined$groupingBy$1);
|
|
146
142
|
initMetadataForClass(SealedClassSerializer, 'SealedClassSerializer', VOID, AbstractPolymorphicSerializer);
|
|
147
143
|
initMetadataForClass(SerializationException, 'SerializationException', SerializationException_init_$Create$, IllegalArgumentException);
|
|
148
144
|
function get_isNullable() {
|
|
@@ -165,7 +161,6 @@
|
|
|
165
161
|
initMetadataForObject(ENUM, 'ENUM', VOID, SerialKind);
|
|
166
162
|
initMetadataForObject(CONTEXTUAL, 'CONTEXTUAL', VOID, SerialKind);
|
|
167
163
|
initMetadataForClass(PolymorphicKind, 'PolymorphicKind', VOID, SerialKind);
|
|
168
|
-
initMetadataForObject(SEALED, 'SEALED', VOID, PolymorphicKind);
|
|
169
164
|
initMetadataForObject(OPEN, 'OPEN', VOID, PolymorphicKind);
|
|
170
165
|
initMetadataForClass(PrimitiveKind, 'PrimitiveKind', VOID, SerialKind);
|
|
171
166
|
initMetadataForObject(BOOLEAN, 'BOOLEAN', VOID, PrimitiveKind);
|
|
@@ -185,21 +180,21 @@
|
|
|
185
180
|
function encodeNotNullMark() {
|
|
186
181
|
}
|
|
187
182
|
function beginCollection(descriptor, collectionSize) {
|
|
188
|
-
return this.
|
|
183
|
+
return this.lm(descriptor);
|
|
189
184
|
}
|
|
190
185
|
function encodeSerializableValue(serializer, value) {
|
|
191
|
-
serializer.
|
|
186
|
+
serializer.kk(this, value);
|
|
192
187
|
}
|
|
193
188
|
function encodeNullableSerializableValue(serializer, value) {
|
|
194
|
-
var isNullabilitySupported = serializer.
|
|
189
|
+
var isNullabilitySupported = serializer.jk().gl();
|
|
195
190
|
if (isNullabilitySupported) {
|
|
196
|
-
return this.
|
|
191
|
+
return this.ln(isInterface(serializer, SerializationStrategy) ? serializer : THROW_CCE(), value);
|
|
197
192
|
}
|
|
198
193
|
if (value == null) {
|
|
199
|
-
this.
|
|
194
|
+
this.pm();
|
|
200
195
|
} else {
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
196
|
+
this.pn();
|
|
197
|
+
this.ln(serializer, value);
|
|
203
198
|
}
|
|
204
199
|
}
|
|
205
200
|
initMetadataForInterface(Encoder, 'Encoder');
|
|
@@ -210,6 +205,7 @@
|
|
|
210
205
|
initMetadataForClass(AbstractEncoder, 'AbstractEncoder', VOID, VOID, [Encoder, CompositeEncoder]);
|
|
211
206
|
initMetadataForObject(NothingSerializer_0, 'NothingSerializer', VOID, VOID, [KSerializer]);
|
|
212
207
|
initMetadataForObject(DurationSerializer, 'DurationSerializer', VOID, VOID, [KSerializer]);
|
|
208
|
+
initMetadataForObject(InstantSerializer, 'InstantSerializer', VOID, VOID, [KSerializer]);
|
|
213
209
|
initMetadataForObject(UuidSerializer, 'UuidSerializer', VOID, VOID, [KSerializer]);
|
|
214
210
|
initMetadataForClass(ListLikeDescriptor, 'ListLikeDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
215
211
|
initMetadataForClass(ArrayListClassDesc, 'ArrayListClassDesc', VOID, ListLikeDescriptor);
|
|
@@ -266,7 +262,7 @@
|
|
|
266
262
|
initMetadataForObject(ByteSerializer, 'ByteSerializer', VOID, VOID, [KSerializer]);
|
|
267
263
|
initMetadataForObject(BooleanSerializer, 'BooleanSerializer', VOID, VOID, [KSerializer]);
|
|
268
264
|
initMetadataForObject(UnitSerializer, 'UnitSerializer', VOID, VOID, [KSerializer]);
|
|
269
|
-
initMetadataForClass(
|
|
265
|
+
initMetadataForClass(PrimitiveSerialDescriptor, 'PrimitiveSerialDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
270
266
|
initMetadataForClass(KeyValueSerializer, 'KeyValueSerializer', VOID, VOID, [KSerializer]);
|
|
271
267
|
initMetadataForClass(MapEntrySerializer_0, 'MapEntrySerializer', VOID, KeyValueSerializer);
|
|
272
268
|
initMetadataForClass(PairSerializer_0, 'PairSerializer', VOID, KeyValueSerializer);
|
|
@@ -287,173 +283,68 @@
|
|
|
287
283
|
}
|
|
288
284
|
function PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0) {
|
|
289
285
|
return function ($this$buildSerialDescriptor) {
|
|
290
|
-
$this$buildSerialDescriptor.
|
|
291
|
-
$this$buildSerialDescriptor.
|
|
292
|
-
$this$buildSerialDescriptor.
|
|
286
|
+
$this$buildSerialDescriptor.tk('type', serializer_0(StringCompanionObject_instance).jk());
|
|
287
|
+
$this$buildSerialDescriptor.tk('value', buildSerialDescriptor('kotlinx.serialization.Polymorphic<' + this$0.uk_1.ca() + '>', CONTEXTUAL_getInstance(), []));
|
|
288
|
+
$this$buildSerialDescriptor.nk_1 = this$0.vk_1;
|
|
293
289
|
return Unit_instance;
|
|
294
290
|
};
|
|
295
291
|
}
|
|
296
292
|
function PolymorphicSerializer$descriptor$delegate$lambda(this$0) {
|
|
297
293
|
return function () {
|
|
298
294
|
var tmp = OPEN_getInstance();
|
|
299
|
-
return withContext(buildSerialDescriptor('kotlinx.serialization.Polymorphic', tmp, [], PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0)), this$0.
|
|
295
|
+
return withContext(buildSerialDescriptor('kotlinx.serialization.Polymorphic', tmp, [], PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0)), this$0.uk_1);
|
|
300
296
|
};
|
|
301
297
|
}
|
|
302
298
|
function PolymorphicSerializer$_get_descriptor_$ref_8tw9if() {
|
|
303
299
|
return function (p0) {
|
|
304
|
-
return p0.
|
|
300
|
+
return p0.jk();
|
|
305
301
|
};
|
|
306
302
|
}
|
|
307
303
|
function PolymorphicSerializer(baseClass) {
|
|
308
304
|
AbstractPolymorphicSerializer.call(this);
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
305
|
+
this.uk_1 = baseClass;
|
|
306
|
+
this.vk_1 = emptyList();
|
|
311
307
|
var tmp = this;
|
|
312
308
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
313
|
-
tmp.
|
|
309
|
+
tmp.wk_1 = lazy(tmp_0, PolymorphicSerializer$descriptor$delegate$lambda(this));
|
|
314
310
|
}
|
|
315
|
-
protoOf(PolymorphicSerializer).
|
|
316
|
-
return this.
|
|
311
|
+
protoOf(PolymorphicSerializer).xk = function () {
|
|
312
|
+
return this.uk_1;
|
|
317
313
|
};
|
|
318
|
-
protoOf(PolymorphicSerializer).
|
|
319
|
-
var tmp0 = this.
|
|
314
|
+
protoOf(PolymorphicSerializer).jk = function () {
|
|
315
|
+
var tmp0 = this.wk_1;
|
|
320
316
|
var tmp = KProperty1;
|
|
321
317
|
// Inline function 'kotlin.getValue' call
|
|
322
318
|
getPropertyCallableRef('descriptor', 1, tmp, PolymorphicSerializer$_get_descriptor_$ref_8tw9if(), null);
|
|
323
319
|
return tmp0.z();
|
|
324
320
|
};
|
|
325
321
|
protoOf(PolymorphicSerializer).toString = function () {
|
|
326
|
-
return 'kotlinx.serialization.PolymorphicSerializer(baseClass: ' + toString(this.
|
|
322
|
+
return 'kotlinx.serialization.PolymorphicSerializer(baseClass: ' + toString(this.uk_1) + ')';
|
|
327
323
|
};
|
|
328
324
|
function findPolymorphicSerializer(_this__u8e3s4, encoder, value) {
|
|
329
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
325
|
+
var tmp0_elvis_lhs = _this__u8e3s4.zk(encoder, value);
|
|
330
326
|
var tmp;
|
|
331
327
|
if (tmp0_elvis_lhs == null) {
|
|
332
|
-
throwSubtypeNotRegistered(getKClassFromExpression(value), _this__u8e3s4.
|
|
328
|
+
throwSubtypeNotRegistered(getKClassFromExpression(value), _this__u8e3s4.xk());
|
|
333
329
|
} else {
|
|
334
330
|
tmp = tmp0_elvis_lhs;
|
|
335
331
|
}
|
|
336
332
|
return tmp;
|
|
337
333
|
}
|
|
338
|
-
function SealedClassSerializer$descriptor$delegate$lambda$lambda$lambda(this$0) {
|
|
339
|
-
return function ($this$buildSerialDescriptor) {
|
|
340
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
341
|
-
// Inline function 'kotlin.collections.iterator' call
|
|
342
|
-
var _iterator__ex2g4s = this$0.jk_1.x().p();
|
|
343
|
-
while (_iterator__ex2g4s.q()) {
|
|
344
|
-
var element = _iterator__ex2g4s.r();
|
|
345
|
-
// Inline function 'kotlin.collections.component1' call
|
|
346
|
-
var name = element.y();
|
|
347
|
-
// Inline function 'kotlin.collections.component2' call
|
|
348
|
-
var serializer = element.z();
|
|
349
|
-
$this$buildSerialDescriptor.yj(name, serializer.oj());
|
|
350
|
-
}
|
|
351
|
-
return Unit_instance;
|
|
352
|
-
};
|
|
353
|
-
}
|
|
354
|
-
function SealedClassSerializer$descriptor$delegate$lambda$lambda(this$0) {
|
|
355
|
-
return function ($this$buildSerialDescriptor) {
|
|
356
|
-
$this$buildSerialDescriptor.yj('type', serializer_1(StringCompanionObject_instance).oj());
|
|
357
|
-
var tmp = 'kotlinx.serialization.Sealed<' + this$0.fk_1.aa() + '>';
|
|
358
|
-
var tmp_0 = CONTEXTUAL_getInstance();
|
|
359
|
-
var elementDescriptor = buildSerialDescriptor(tmp, tmp_0, [], SealedClassSerializer$descriptor$delegate$lambda$lambda$lambda(this$0));
|
|
360
|
-
$this$buildSerialDescriptor.yj('value', elementDescriptor);
|
|
361
|
-
$this$buildSerialDescriptor.sj_1 = this$0.gk_1;
|
|
362
|
-
return Unit_instance;
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
|
-
function SealedClassSerializer$descriptor$delegate$lambda($serialName, this$0) {
|
|
366
|
-
return function () {
|
|
367
|
-
var tmp = SEALED_getInstance();
|
|
368
|
-
return buildSerialDescriptor($serialName, tmp, [], SealedClassSerializer$descriptor$delegate$lambda$lambda(this$0));
|
|
369
|
-
};
|
|
370
|
-
}
|
|
371
334
|
function SealedClassSerializer$_get_descriptor_$ref_m511rz() {
|
|
372
335
|
return function (p0) {
|
|
373
|
-
return p0.
|
|
336
|
+
return p0.jk();
|
|
374
337
|
};
|
|
375
338
|
}
|
|
376
|
-
function SealedClassSerializer
|
|
377
|
-
this.kk_1 = $this;
|
|
339
|
+
function SealedClassSerializer() {
|
|
378
340
|
}
|
|
379
|
-
protoOf(SealedClassSerializer
|
|
380
|
-
|
|
381
|
-
};
|
|
382
|
-
protoOf(SealedClassSerializer$$inlined$groupingBy$1).mk = function (element) {
|
|
383
|
-
return element.z().oj().nk();
|
|
384
|
-
};
|
|
385
|
-
protoOf(SealedClassSerializer$$inlined$groupingBy$1).ok = function (element) {
|
|
386
|
-
return this.mk((element == null ? true : !(element == null)) ? element : THROW_CCE());
|
|
387
|
-
};
|
|
388
|
-
function SealedClassSerializer(serialName, baseClass, subclasses, subclassSerializers) {
|
|
389
|
-
AbstractPolymorphicSerializer.call(this);
|
|
390
|
-
this.fk_1 = baseClass;
|
|
391
|
-
this.gk_1 = emptyList();
|
|
392
|
-
var tmp = this;
|
|
393
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
394
|
-
tmp.hk_1 = lazy(tmp_0, SealedClassSerializer$descriptor$delegate$lambda(serialName, this));
|
|
395
|
-
if (!(subclasses.length === subclassSerializers.length)) {
|
|
396
|
-
throw IllegalArgumentException_init_$Create$('All subclasses of sealed class ' + this.fk_1.aa() + ' should be marked @Serializable');
|
|
397
|
-
}
|
|
398
|
-
this.ik_1 = toMap(zip(subclasses, subclassSerializers));
|
|
399
|
-
var tmp_1 = this;
|
|
400
|
-
// Inline function 'kotlin.collections.groupingBy' call
|
|
401
|
-
var this_0 = this.ik_1.x();
|
|
402
|
-
// Inline function 'kotlin.collections.aggregate' call
|
|
403
|
-
var tmp0 = new SealedClassSerializer$$inlined$groupingBy$1(this_0);
|
|
404
|
-
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
405
|
-
// Inline function 'kotlin.collections.aggregateTo' call
|
|
406
|
-
var destination = LinkedHashMap_init_$Create$();
|
|
407
|
-
// Inline function 'kotlin.collections.iterator' call
|
|
408
|
-
var _iterator__ex2g4s = tmp0.lk();
|
|
409
|
-
while (_iterator__ex2g4s.q()) {
|
|
410
|
-
var e = _iterator__ex2g4s.r();
|
|
411
|
-
var key = tmp0.ok(e);
|
|
412
|
-
var accumulator = destination.w1(key);
|
|
413
|
-
accumulator == null && !destination.u1(key);
|
|
414
|
-
if (!(accumulator == null)) {
|
|
415
|
-
// Inline function 'kotlin.error' call
|
|
416
|
-
var message = "Multiple sealed subclasses of '" + toString(this.fk_1) + "' have the same serial name '" + key + "':" + (" '" + toString(accumulator.y()) + "', '" + toString(e.y()) + "'");
|
|
417
|
-
throw IllegalStateException_init_$Create$(toString(message));
|
|
418
|
-
}
|
|
419
|
-
// Inline function 'kotlin.collections.set' call
|
|
420
|
-
destination.e2(key, e);
|
|
421
|
-
}
|
|
422
|
-
// Inline function 'kotlin.collections.mapValues' call
|
|
423
|
-
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
424
|
-
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(destination.s()));
|
|
425
|
-
// Inline function 'kotlin.collections.associateByTo' call
|
|
426
|
-
var _iterator__ex2g4s_0 = destination.x().p();
|
|
427
|
-
while (_iterator__ex2g4s_0.q()) {
|
|
428
|
-
var element = _iterator__ex2g4s_0.r();
|
|
429
|
-
var tmp_2 = element.y();
|
|
430
|
-
var tmp$ret$8 = element.z().z();
|
|
431
|
-
destination_0.e2(tmp_2, tmp$ret$8);
|
|
432
|
-
}
|
|
433
|
-
tmp_1.jk_1 = destination_0;
|
|
434
|
-
}
|
|
435
|
-
protoOf(SealedClassSerializer).ck = function () {
|
|
436
|
-
return this.fk_1;
|
|
437
|
-
};
|
|
438
|
-
protoOf(SealedClassSerializer).oj = function () {
|
|
439
|
-
var tmp0 = this.hk_1;
|
|
341
|
+
protoOf(SealedClassSerializer).jk = function () {
|
|
342
|
+
var tmp0 = this.al_1;
|
|
440
343
|
var tmp = KProperty1;
|
|
441
344
|
// Inline function 'kotlin.getValue' call
|
|
442
345
|
getPropertyCallableRef('descriptor', 1, tmp, SealedClassSerializer$_get_descriptor_$ref_m511rz(), null);
|
|
443
346
|
return tmp0.z();
|
|
444
347
|
};
|
|
445
|
-
protoOf(SealedClassSerializer).ek = function (encoder, value) {
|
|
446
|
-
var tmp0_elvis_lhs = this.ik_1.w1(getKClassFromExpression(value));
|
|
447
|
-
var tmp1_safe_receiver = tmp0_elvis_lhs == null ? protoOf(AbstractPolymorphicSerializer).ek.call(this, encoder, value) : tmp0_elvis_lhs;
|
|
448
|
-
var tmp;
|
|
449
|
-
if (tmp1_safe_receiver == null) {
|
|
450
|
-
tmp = null;
|
|
451
|
-
} else {
|
|
452
|
-
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
453
|
-
tmp = isInterface(tmp1_safe_receiver, SerializationStrategy) ? tmp1_safe_receiver : THROW_CCE();
|
|
454
|
-
}
|
|
455
|
-
return tmp;
|
|
456
|
-
};
|
|
457
348
|
function SerializationException_init_$Init$($this) {
|
|
458
349
|
IllegalArgumentException_init_$Init$($this);
|
|
459
350
|
SerializationException.call($this);
|
|
@@ -487,9 +378,9 @@
|
|
|
487
378
|
// Inline function 'kotlin.collections.map' call
|
|
488
379
|
// Inline function 'kotlin.collections.mapTo' call
|
|
489
380
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(typeArguments, 10));
|
|
490
|
-
var _iterator__ex2g4s = typeArguments.
|
|
491
|
-
while (_iterator__ex2g4s.
|
|
492
|
-
var item = _iterator__ex2g4s.
|
|
381
|
+
var _iterator__ex2g4s = typeArguments.m();
|
|
382
|
+
while (_iterator__ex2g4s.n()) {
|
|
383
|
+
var item = _iterator__ex2g4s.o();
|
|
493
384
|
var tmp$ret$0 = serializer(_this__u8e3s4, item);
|
|
494
385
|
destination.e(tmp$ret$0);
|
|
495
386
|
}
|
|
@@ -498,9 +389,9 @@
|
|
|
498
389
|
// Inline function 'kotlin.collections.map' call
|
|
499
390
|
// Inline function 'kotlin.collections.mapTo' call
|
|
500
391
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(typeArguments, 10));
|
|
501
|
-
var _iterator__ex2g4s_0 = typeArguments.
|
|
502
|
-
while (_iterator__ex2g4s_0.
|
|
503
|
-
var item_0 = _iterator__ex2g4s_0.
|
|
392
|
+
var _iterator__ex2g4s_0 = typeArguments.m();
|
|
393
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
394
|
+
var item_0 = _iterator__ex2g4s_0.o();
|
|
504
395
|
var tmp0_elvis_lhs = serializerOrNull_0(_this__u8e3s4, item_0);
|
|
505
396
|
var tmp_0;
|
|
506
397
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -536,26 +427,26 @@
|
|
|
536
427
|
function builtinParametrizedSerializer(_this__u8e3s4, serializers, elementClassifierIfArray) {
|
|
537
428
|
var tmp;
|
|
538
429
|
if (_this__u8e3s4.equals(getKClass(Collection)) || _this__u8e3s4.equals(getKClass(KtList)) || (_this__u8e3s4.equals(getKClass(KtMutableList)) || _this__u8e3s4.equals(getKClass(ArrayList)))) {
|
|
539
|
-
tmp = new ArrayListSerializer(serializers.
|
|
430
|
+
tmp = new ArrayListSerializer(serializers.q(0));
|
|
540
431
|
} else if (_this__u8e3s4.equals(getKClass(HashSet))) {
|
|
541
|
-
tmp = new HashSetSerializer(serializers.
|
|
432
|
+
tmp = new HashSetSerializer(serializers.q(0));
|
|
542
433
|
} else if (_this__u8e3s4.equals(getKClass(KtSet)) || (_this__u8e3s4.equals(getKClass(KtMutableSet)) || _this__u8e3s4.equals(getKClass(LinkedHashSet)))) {
|
|
543
|
-
tmp = new LinkedHashSetSerializer(serializers.
|
|
434
|
+
tmp = new LinkedHashSetSerializer(serializers.q(0));
|
|
544
435
|
} else if (_this__u8e3s4.equals(getKClass(HashMap))) {
|
|
545
|
-
tmp = new HashMapSerializer(serializers.
|
|
436
|
+
tmp = new HashMapSerializer(serializers.q(0), serializers.q(1));
|
|
546
437
|
} else if (_this__u8e3s4.equals(getKClass(KtMap)) || (_this__u8e3s4.equals(getKClass(KtMutableMap)) || _this__u8e3s4.equals(getKClass(LinkedHashMap)))) {
|
|
547
|
-
tmp = new LinkedHashMapSerializer(serializers.
|
|
438
|
+
tmp = new LinkedHashMapSerializer(serializers.q(0), serializers.q(1));
|
|
548
439
|
} else if (_this__u8e3s4.equals(getKClass(Entry))) {
|
|
549
|
-
tmp = MapEntrySerializer(serializers.
|
|
440
|
+
tmp = MapEntrySerializer(serializers.q(0), serializers.q(1));
|
|
550
441
|
} else if (_this__u8e3s4.equals(getKClass(Pair))) {
|
|
551
|
-
tmp = PairSerializer(serializers.
|
|
442
|
+
tmp = PairSerializer(serializers.q(0), serializers.q(1));
|
|
552
443
|
} else if (_this__u8e3s4.equals(getKClass(Triple))) {
|
|
553
|
-
tmp = TripleSerializer(serializers.
|
|
444
|
+
tmp = TripleSerializer(serializers.q(0), serializers.q(1), serializers.q(2));
|
|
554
445
|
} else {
|
|
555
446
|
var tmp_0;
|
|
556
447
|
if (isReferenceArray(_this__u8e3s4)) {
|
|
557
448
|
var tmp_1 = elementClassifierIfArray();
|
|
558
|
-
tmp_0 = ArraySerializer((!(tmp_1 == null) ? isInterface(tmp_1, KClass) : false) ? tmp_1 : THROW_CCE(), serializers.
|
|
449
|
+
tmp_0 = ArraySerializer((!(tmp_1 == null) ? isInterface(tmp_1, KClass) : false) ? tmp_1 : THROW_CCE(), serializers.q(0));
|
|
559
450
|
} else {
|
|
560
451
|
tmp_0 = null;
|
|
561
452
|
}
|
|
@@ -570,22 +461,22 @@
|
|
|
570
461
|
}
|
|
571
462
|
function serializerByKTypeImpl(_this__u8e3s4, type, failOnMissingTypeArgSerializer) {
|
|
572
463
|
var rootClass = kclass(type);
|
|
573
|
-
var isNullable = type.
|
|
464
|
+
var isNullable = type.sa();
|
|
574
465
|
// Inline function 'kotlin.collections.map' call
|
|
575
|
-
var this_0 = type.
|
|
466
|
+
var this_0 = type.ra();
|
|
576
467
|
// Inline function 'kotlin.collections.mapTo' call
|
|
577
468
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
578
|
-
var _iterator__ex2g4s = this_0.
|
|
579
|
-
while (_iterator__ex2g4s.
|
|
580
|
-
var item = _iterator__ex2g4s.
|
|
469
|
+
var _iterator__ex2g4s = this_0.m();
|
|
470
|
+
while (_iterator__ex2g4s.n()) {
|
|
471
|
+
var item = _iterator__ex2g4s.o();
|
|
581
472
|
var tmp$ret$0 = typeOrThrow(item);
|
|
582
473
|
destination.e(tmp$ret$0);
|
|
583
474
|
}
|
|
584
475
|
var typeArguments = destination;
|
|
585
476
|
var tmp;
|
|
586
|
-
if (typeArguments.
|
|
477
|
+
if (typeArguments.j()) {
|
|
587
478
|
var tmp_0;
|
|
588
|
-
if (isInterface_0(rootClass) && !(_this__u8e3s4.
|
|
479
|
+
if (isInterface_0(rootClass) && !(_this__u8e3s4.cl(rootClass) == null)) {
|
|
589
480
|
tmp_0 = null;
|
|
590
481
|
} else {
|
|
591
482
|
tmp_0 = findCachedSerializer(rootClass, isNullable);
|
|
@@ -593,7 +484,7 @@
|
|
|
593
484
|
tmp = tmp_0;
|
|
594
485
|
} else {
|
|
595
486
|
var tmp_1;
|
|
596
|
-
if (_this__u8e3s4.
|
|
487
|
+
if (_this__u8e3s4.bl()) {
|
|
597
488
|
tmp_1 = null;
|
|
598
489
|
} else {
|
|
599
490
|
// Inline function 'kotlin.Result.getOrNull' call
|
|
@@ -613,9 +504,9 @@
|
|
|
613
504
|
if (!(cachedSerializer == null))
|
|
614
505
|
return cachedSerializer;
|
|
615
506
|
var tmp_4;
|
|
616
|
-
if (typeArguments.
|
|
507
|
+
if (typeArguments.j()) {
|
|
617
508
|
var tmp0_elvis_lhs = serializerOrNull(rootClass);
|
|
618
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? _this__u8e3s4.
|
|
509
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? _this__u8e3s4.cl(rootClass) : tmp0_elvis_lhs;
|
|
619
510
|
var tmp_5;
|
|
620
511
|
if (tmp1_elvis_lhs == null) {
|
|
621
512
|
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
@@ -634,7 +525,7 @@
|
|
|
634
525
|
}
|
|
635
526
|
var serializers = tmp_6;
|
|
636
527
|
var tmp3_elvis_lhs = parametrizedSerializerOrNull(rootClass, serializers, serializerByKTypeImpl$lambda(typeArguments));
|
|
637
|
-
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? _this__u8e3s4.
|
|
528
|
+
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? _this__u8e3s4.dl(rootClass, serializers) : tmp3_elvis_lhs;
|
|
638
529
|
var tmp_7;
|
|
639
530
|
if (tmp4_elvis_lhs == null) {
|
|
640
531
|
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
@@ -660,12 +551,9 @@
|
|
|
660
551
|
return get_nullable(_this__u8e3s4);
|
|
661
552
|
return isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
|
|
662
553
|
}
|
|
663
|
-
function serializer_0(type) {
|
|
664
|
-
return serializer(EmptySerializersModule_0(), type);
|
|
665
|
-
}
|
|
666
554
|
function serializerByKTypeImpl$lambda($typeArguments) {
|
|
667
555
|
return function () {
|
|
668
|
-
return $typeArguments.
|
|
556
|
+
return $typeArguments.q(0).qa();
|
|
669
557
|
};
|
|
670
558
|
}
|
|
671
559
|
function get_SERIALIZERS_CACHE() {
|
|
@@ -692,7 +580,7 @@
|
|
|
692
580
|
_init_properties_SerializersCache_kt__hgwi2p();
|
|
693
581
|
var tmp;
|
|
694
582
|
if (!isNullable) {
|
|
695
|
-
var tmp0_safe_receiver = get_SERIALIZERS_CACHE().
|
|
583
|
+
var tmp0_safe_receiver = get_SERIALIZERS_CACHE().el(clazz);
|
|
696
584
|
var tmp_0;
|
|
697
585
|
if (tmp0_safe_receiver == null) {
|
|
698
586
|
tmp_0 = null;
|
|
@@ -702,7 +590,7 @@
|
|
|
702
590
|
}
|
|
703
591
|
tmp = tmp_0;
|
|
704
592
|
} else {
|
|
705
|
-
tmp = get_SERIALIZERS_CACHE_NULLABLE().
|
|
593
|
+
tmp = get_SERIALIZERS_CACHE_NULLABLE().el(clazz);
|
|
706
594
|
}
|
|
707
595
|
return tmp;
|
|
708
596
|
}
|
|
@@ -710,10 +598,10 @@
|
|
|
710
598
|
_init_properties_SerializersCache_kt__hgwi2p();
|
|
711
599
|
var tmp;
|
|
712
600
|
if (!isNullable) {
|
|
713
|
-
var tmp_0 = get_PARAMETRIZED_SERIALIZERS_CACHE().
|
|
601
|
+
var tmp_0 = get_PARAMETRIZED_SERIALIZERS_CACHE().fl(clazz, types);
|
|
714
602
|
tmp = new Result(tmp_0) instanceof Result ? tmp_0 : THROW_CCE();
|
|
715
603
|
} else {
|
|
716
|
-
tmp = get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE().
|
|
604
|
+
tmp = get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE().fl(clazz, types);
|
|
717
605
|
}
|
|
718
606
|
return tmp;
|
|
719
607
|
}
|
|
@@ -757,7 +645,7 @@
|
|
|
757
645
|
}
|
|
758
646
|
function PARAMETRIZED_SERIALIZERS_CACHE$lambda$lambda($types) {
|
|
759
647
|
return function () {
|
|
760
|
-
return $types.
|
|
648
|
+
return $types.q(0).qa();
|
|
761
649
|
};
|
|
762
650
|
}
|
|
763
651
|
function PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda(clazz, types) {
|
|
@@ -776,7 +664,7 @@
|
|
|
776
664
|
}
|
|
777
665
|
function PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda$lambda($types) {
|
|
778
666
|
return function () {
|
|
779
|
-
return $types.
|
|
667
|
+
return $types.q(0).qa();
|
|
780
668
|
};
|
|
781
669
|
}
|
|
782
670
|
var properties_initialized_SerializersCache_kt_q8kf25;
|
|
@@ -791,97 +679,100 @@
|
|
|
791
679
|
}
|
|
792
680
|
function get_nullable(_this__u8e3s4) {
|
|
793
681
|
var tmp;
|
|
794
|
-
if (_this__u8e3s4.
|
|
682
|
+
if (_this__u8e3s4.jk().gl()) {
|
|
795
683
|
tmp = isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
|
|
796
684
|
} else {
|
|
797
685
|
tmp = new NullableSerializer(_this__u8e3s4);
|
|
798
686
|
}
|
|
799
687
|
return tmp;
|
|
800
688
|
}
|
|
801
|
-
function
|
|
689
|
+
function serializer_0(_this__u8e3s4) {
|
|
802
690
|
return StringSerializer_getInstance();
|
|
803
691
|
}
|
|
804
|
-
function
|
|
692
|
+
function serializer_1(_this__u8e3s4) {
|
|
805
693
|
return CharSerializer_getInstance();
|
|
806
694
|
}
|
|
807
695
|
function CharArraySerializer() {
|
|
808
696
|
return CharArraySerializer_getInstance();
|
|
809
697
|
}
|
|
810
|
-
function
|
|
698
|
+
function serializer_2(_this__u8e3s4) {
|
|
811
699
|
return DoubleSerializer_getInstance();
|
|
812
700
|
}
|
|
813
701
|
function DoubleArraySerializer() {
|
|
814
702
|
return DoubleArraySerializer_getInstance();
|
|
815
703
|
}
|
|
816
|
-
function
|
|
704
|
+
function serializer_3(_this__u8e3s4) {
|
|
817
705
|
return FloatSerializer_getInstance();
|
|
818
706
|
}
|
|
819
707
|
function FloatArraySerializer() {
|
|
820
708
|
return FloatArraySerializer_getInstance();
|
|
821
709
|
}
|
|
822
|
-
function
|
|
710
|
+
function serializer_4(_this__u8e3s4) {
|
|
823
711
|
return LongSerializer_getInstance();
|
|
824
712
|
}
|
|
825
713
|
function LongArraySerializer() {
|
|
826
714
|
return LongArraySerializer_getInstance();
|
|
827
715
|
}
|
|
828
|
-
function
|
|
716
|
+
function serializer_5(_this__u8e3s4) {
|
|
829
717
|
return ULongSerializer_getInstance();
|
|
830
718
|
}
|
|
831
719
|
function ULongArraySerializer() {
|
|
832
720
|
return ULongArraySerializer_getInstance();
|
|
833
721
|
}
|
|
834
|
-
function
|
|
722
|
+
function serializer_6(_this__u8e3s4) {
|
|
835
723
|
return IntSerializer_getInstance();
|
|
836
724
|
}
|
|
837
725
|
function IntArraySerializer() {
|
|
838
726
|
return IntArraySerializer_getInstance();
|
|
839
727
|
}
|
|
840
|
-
function
|
|
728
|
+
function serializer_7(_this__u8e3s4) {
|
|
841
729
|
return UIntSerializer_getInstance();
|
|
842
730
|
}
|
|
843
731
|
function UIntArraySerializer() {
|
|
844
732
|
return UIntArraySerializer_getInstance();
|
|
845
733
|
}
|
|
846
|
-
function
|
|
734
|
+
function serializer_8(_this__u8e3s4) {
|
|
847
735
|
return ShortSerializer_getInstance();
|
|
848
736
|
}
|
|
849
737
|
function ShortArraySerializer() {
|
|
850
738
|
return ShortArraySerializer_getInstance();
|
|
851
739
|
}
|
|
852
|
-
function
|
|
740
|
+
function serializer_9(_this__u8e3s4) {
|
|
853
741
|
return UShortSerializer_getInstance();
|
|
854
742
|
}
|
|
855
743
|
function UShortArraySerializer() {
|
|
856
744
|
return UShortArraySerializer_getInstance();
|
|
857
745
|
}
|
|
858
|
-
function
|
|
746
|
+
function serializer_10(_this__u8e3s4) {
|
|
859
747
|
return ByteSerializer_getInstance();
|
|
860
748
|
}
|
|
861
749
|
function ByteArraySerializer() {
|
|
862
750
|
return ByteArraySerializer_getInstance();
|
|
863
751
|
}
|
|
864
|
-
function
|
|
752
|
+
function serializer_11(_this__u8e3s4) {
|
|
865
753
|
return UByteSerializer_getInstance();
|
|
866
754
|
}
|
|
867
755
|
function UByteArraySerializer() {
|
|
868
756
|
return UByteArraySerializer_getInstance();
|
|
869
757
|
}
|
|
870
|
-
function
|
|
758
|
+
function serializer_12(_this__u8e3s4) {
|
|
871
759
|
return BooleanSerializer_getInstance();
|
|
872
760
|
}
|
|
873
761
|
function BooleanArraySerializer() {
|
|
874
762
|
return BooleanArraySerializer_getInstance();
|
|
875
763
|
}
|
|
876
|
-
function
|
|
764
|
+
function serializer_13(_this__u8e3s4) {
|
|
877
765
|
return UnitSerializer_getInstance();
|
|
878
766
|
}
|
|
879
767
|
function NothingSerializer() {
|
|
880
768
|
return NothingSerializer_getInstance();
|
|
881
769
|
}
|
|
882
|
-
function
|
|
770
|
+
function serializer_14(_this__u8e3s4) {
|
|
883
771
|
return DurationSerializer_getInstance();
|
|
884
772
|
}
|
|
773
|
+
function serializer_15(_this__u8e3s4) {
|
|
774
|
+
return InstantSerializer_getInstance();
|
|
775
|
+
}
|
|
885
776
|
function serializer_16(_this__u8e3s4) {
|
|
886
777
|
return UuidSerializer_getInstance();
|
|
887
778
|
}
|
|
@@ -901,12 +792,12 @@
|
|
|
901
792
|
return new ContextDescriptor(_this__u8e3s4, context);
|
|
902
793
|
}
|
|
903
794
|
function ContextDescriptor(original, kClass) {
|
|
904
|
-
this.
|
|
905
|
-
this.
|
|
906
|
-
this.
|
|
795
|
+
this.hl_1 = original;
|
|
796
|
+
this.il_1 = kClass;
|
|
797
|
+
this.jl_1 = this.hl_1.kl() + '<' + this.il_1.ca() + '>';
|
|
907
798
|
}
|
|
908
|
-
protoOf(ContextDescriptor).
|
|
909
|
-
return this.
|
|
799
|
+
protoOf(ContextDescriptor).kl = function () {
|
|
800
|
+
return this.jl_1;
|
|
910
801
|
};
|
|
911
802
|
protoOf(ContextDescriptor).equals = function (other) {
|
|
912
803
|
var tmp0_elvis_lhs = other instanceof ContextDescriptor ? other : null;
|
|
@@ -917,36 +808,36 @@
|
|
|
917
808
|
tmp = tmp0_elvis_lhs;
|
|
918
809
|
}
|
|
919
810
|
var another = tmp;
|
|
920
|
-
return equals(this.
|
|
811
|
+
return equals(this.hl_1, another.hl_1) && another.il_1.equals(this.il_1);
|
|
921
812
|
};
|
|
922
813
|
protoOf(ContextDescriptor).hashCode = function () {
|
|
923
|
-
var result = this.
|
|
924
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
814
|
+
var result = this.il_1.hashCode();
|
|
815
|
+
result = imul(31, result) + getStringHashCode(this.jl_1) | 0;
|
|
925
816
|
return result;
|
|
926
817
|
};
|
|
927
818
|
protoOf(ContextDescriptor).toString = function () {
|
|
928
|
-
return 'ContextDescriptor(kClass: ' + toString(this.
|
|
819
|
+
return 'ContextDescriptor(kClass: ' + toString(this.il_1) + ', original: ' + toString(this.hl_1) + ')';
|
|
929
820
|
};
|
|
930
|
-
protoOf(ContextDescriptor).
|
|
931
|
-
return this.
|
|
821
|
+
protoOf(ContextDescriptor).ll = function () {
|
|
822
|
+
return this.hl_1.ll();
|
|
932
823
|
};
|
|
933
|
-
protoOf(ContextDescriptor).
|
|
934
|
-
return this.
|
|
824
|
+
protoOf(ContextDescriptor).gl = function () {
|
|
825
|
+
return this.hl_1.gl();
|
|
935
826
|
};
|
|
936
|
-
protoOf(ContextDescriptor).
|
|
937
|
-
return this.
|
|
827
|
+
protoOf(ContextDescriptor).ml = function () {
|
|
828
|
+
return this.hl_1.ml();
|
|
938
829
|
};
|
|
939
|
-
protoOf(ContextDescriptor).
|
|
940
|
-
return this.
|
|
830
|
+
protoOf(ContextDescriptor).nl = function () {
|
|
831
|
+
return this.hl_1.nl();
|
|
941
832
|
};
|
|
942
|
-
protoOf(ContextDescriptor).
|
|
943
|
-
return this.
|
|
833
|
+
protoOf(ContextDescriptor).ol = function () {
|
|
834
|
+
return this.hl_1.ol();
|
|
944
835
|
};
|
|
945
|
-
protoOf(ContextDescriptor).
|
|
946
|
-
return this.
|
|
836
|
+
protoOf(ContextDescriptor).pl = function (index) {
|
|
837
|
+
return this.hl_1.pl(index);
|
|
947
838
|
};
|
|
948
|
-
protoOf(ContextDescriptor).
|
|
949
|
-
return this.
|
|
839
|
+
protoOf(ContextDescriptor).ql = function (index) {
|
|
840
|
+
return this.hl_1.ql(index);
|
|
950
841
|
};
|
|
951
842
|
function getContextualDescriptor(_this__u8e3s4, descriptor) {
|
|
952
843
|
var tmp0_safe_receiver = get_capturedKClass(descriptor);
|
|
@@ -955,18 +846,18 @@
|
|
|
955
846
|
tmp = null;
|
|
956
847
|
} else {
|
|
957
848
|
// Inline function 'kotlin.let' call
|
|
958
|
-
var tmp0_safe_receiver_0 = _this__u8e3s4.
|
|
959
|
-
tmp = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
849
|
+
var tmp0_safe_receiver_0 = _this__u8e3s4.cl(tmp0_safe_receiver);
|
|
850
|
+
tmp = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.jk();
|
|
960
851
|
}
|
|
961
852
|
return tmp;
|
|
962
853
|
}
|
|
963
854
|
function get_capturedKClass(_this__u8e3s4) {
|
|
964
855
|
var tmp;
|
|
965
856
|
if (_this__u8e3s4 instanceof ContextDescriptor) {
|
|
966
|
-
tmp = _this__u8e3s4.
|
|
857
|
+
tmp = _this__u8e3s4.il_1;
|
|
967
858
|
} else {
|
|
968
859
|
if (_this__u8e3s4 instanceof SerialDescriptorForNullable) {
|
|
969
|
-
tmp = get_capturedKClass(_this__u8e3s4.
|
|
860
|
+
tmp = get_capturedKClass(_this__u8e3s4.rl_1);
|
|
970
861
|
} else {
|
|
971
862
|
tmp = null;
|
|
972
863
|
}
|
|
@@ -980,23 +871,23 @@
|
|
|
980
871
|
return new elementDescriptors$$inlined$Iterable$1(_this__u8e3s4);
|
|
981
872
|
}
|
|
982
873
|
function elementDescriptors$1($this_elementDescriptors) {
|
|
983
|
-
this.
|
|
984
|
-
this.
|
|
874
|
+
this.vl_1 = $this_elementDescriptors;
|
|
875
|
+
this.ul_1 = $this_elementDescriptors.nl();
|
|
985
876
|
}
|
|
986
|
-
protoOf(elementDescriptors$1).
|
|
987
|
-
return this.
|
|
877
|
+
protoOf(elementDescriptors$1).n = function () {
|
|
878
|
+
return this.ul_1 > 0;
|
|
988
879
|
};
|
|
989
|
-
protoOf(elementDescriptors$1).
|
|
990
|
-
var tmp = this.
|
|
991
|
-
var _unary__edvuaz = this.
|
|
992
|
-
this.
|
|
993
|
-
return this.
|
|
880
|
+
protoOf(elementDescriptors$1).o = function () {
|
|
881
|
+
var tmp = this.vl_1.nl();
|
|
882
|
+
var _unary__edvuaz = this.ul_1;
|
|
883
|
+
this.ul_1 = _unary__edvuaz - 1 | 0;
|
|
884
|
+
return this.vl_1.ql(tmp - _unary__edvuaz | 0);
|
|
994
885
|
};
|
|
995
886
|
function elementDescriptors$$inlined$Iterable$1($this_elementDescriptors) {
|
|
996
|
-
this.
|
|
887
|
+
this.wl_1 = $this_elementDescriptors;
|
|
997
888
|
}
|
|
998
|
-
protoOf(elementDescriptors$$inlined$Iterable$1).
|
|
999
|
-
return new elementDescriptors$1(this.
|
|
889
|
+
protoOf(elementDescriptors$$inlined$Iterable$1).m = function () {
|
|
890
|
+
return new elementDescriptors$1(this.wl_1);
|
|
1000
891
|
};
|
|
1001
892
|
function buildSerialDescriptor(serialName, kind, typeParameters, builder) {
|
|
1002
893
|
var tmp;
|
|
@@ -1019,47 +910,47 @@
|
|
|
1019
910
|
}
|
|
1020
911
|
var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
|
|
1021
912
|
builder(sdBuilder);
|
|
1022
|
-
return new SerialDescriptorImpl(serialName, kind, sdBuilder.
|
|
913
|
+
return new SerialDescriptorImpl(serialName, kind, sdBuilder.ok_1.p(), toList(typeParameters), sdBuilder);
|
|
1023
914
|
}
|
|
1024
915
|
function ClassSerialDescriptorBuilder(serialName) {
|
|
1025
|
-
this.
|
|
1026
|
-
this.
|
|
1027
|
-
this.
|
|
1028
|
-
this.
|
|
1029
|
-
this.
|
|
1030
|
-
this.
|
|
1031
|
-
this.
|
|
1032
|
-
this.
|
|
1033
|
-
}
|
|
1034
|
-
protoOf(ClassSerialDescriptorBuilder).
|
|
916
|
+
this.lk_1 = serialName;
|
|
917
|
+
this.mk_1 = false;
|
|
918
|
+
this.nk_1 = emptyList();
|
|
919
|
+
this.ok_1 = ArrayList_init_$Create$_0();
|
|
920
|
+
this.pk_1 = HashSet_init_$Create$();
|
|
921
|
+
this.qk_1 = ArrayList_init_$Create$_0();
|
|
922
|
+
this.rk_1 = ArrayList_init_$Create$_0();
|
|
923
|
+
this.sk_1 = ArrayList_init_$Create$_0();
|
|
924
|
+
}
|
|
925
|
+
protoOf(ClassSerialDescriptorBuilder).xl = function (elementName, descriptor, annotations, isOptional) {
|
|
1035
926
|
// Inline function 'kotlin.require' call
|
|
1036
|
-
if (!this.
|
|
1037
|
-
var message = "Element with name '" + elementName + "' is already registered in " + this.
|
|
927
|
+
if (!this.pk_1.e(elementName)) {
|
|
928
|
+
var message = "Element with name '" + elementName + "' is already registered in " + this.lk_1;
|
|
1038
929
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1039
930
|
}
|
|
1040
931
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1041
|
-
this.
|
|
932
|
+
this.ok_1.e(elementName);
|
|
1042
933
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1043
|
-
this.
|
|
934
|
+
this.qk_1.e(descriptor);
|
|
1044
935
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1045
|
-
this.
|
|
936
|
+
this.rk_1.e(annotations);
|
|
1046
937
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1047
|
-
this.
|
|
938
|
+
this.sk_1.e(isOptional);
|
|
1048
939
|
};
|
|
1049
|
-
protoOf(ClassSerialDescriptorBuilder).
|
|
940
|
+
protoOf(ClassSerialDescriptorBuilder).tk = function (elementName, descriptor, annotations, isOptional, $super) {
|
|
1050
941
|
annotations = annotations === VOID ? emptyList() : annotations;
|
|
1051
942
|
isOptional = isOptional === VOID ? false : isOptional;
|
|
1052
943
|
var tmp;
|
|
1053
944
|
if ($super === VOID) {
|
|
1054
|
-
this.
|
|
945
|
+
this.xl(elementName, descriptor, annotations, isOptional);
|
|
1055
946
|
tmp = Unit_instance;
|
|
1056
947
|
} else {
|
|
1057
|
-
tmp = $super.
|
|
948
|
+
tmp = $super.xl.call(this, elementName, descriptor, annotations, isOptional);
|
|
1058
949
|
}
|
|
1059
950
|
return tmp;
|
|
1060
951
|
};
|
|
1061
952
|
function _get__hashCode__tgwhef($this) {
|
|
1062
|
-
var tmp0 = $this.
|
|
953
|
+
var tmp0 = $this.jm_1;
|
|
1063
954
|
var tmp = KProperty1;
|
|
1064
955
|
// Inline function 'kotlin.getValue' call
|
|
1065
956
|
getPropertyCallableRef('_hashCode', 1, tmp, SerialDescriptorImpl$_get__hashCode_$ref_2v7wzp(), null);
|
|
@@ -1067,7 +958,7 @@
|
|
|
1067
958
|
}
|
|
1068
959
|
function SerialDescriptorImpl$_hashCode$delegate$lambda(this$0) {
|
|
1069
960
|
return function () {
|
|
1070
|
-
return hashCodeImpl(this$0, this$0.
|
|
961
|
+
return hashCodeImpl(this$0, this$0.im_1);
|
|
1071
962
|
};
|
|
1072
963
|
}
|
|
1073
964
|
function SerialDescriptorImpl$_get__hashCode_$ref_2v7wzp() {
|
|
@@ -1075,63 +966,58 @@
|
|
|
1075
966
|
return _get__hashCode__tgwhef(p0);
|
|
1076
967
|
};
|
|
1077
968
|
}
|
|
1078
|
-
function SerialDescriptorImpl$toString$lambda(this$0) {
|
|
1079
|
-
return function (it) {
|
|
1080
|
-
return this$0.cl(it) + ': ' + this$0.dl(it).nk();
|
|
1081
|
-
};
|
|
1082
|
-
}
|
|
1083
969
|
function SerialDescriptorImpl(serialName, kind, elementsCount, typeParameters, builder) {
|
|
1084
|
-
this.
|
|
1085
|
-
this.
|
|
1086
|
-
this.
|
|
1087
|
-
this.
|
|
1088
|
-
this.
|
|
970
|
+
this.yl_1 = serialName;
|
|
971
|
+
this.zl_1 = kind;
|
|
972
|
+
this.am_1 = elementsCount;
|
|
973
|
+
this.bm_1 = builder.nk_1;
|
|
974
|
+
this.cm_1 = toHashSet(builder.ok_1);
|
|
1089
975
|
var tmp = this;
|
|
1090
976
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1091
|
-
var this_0 = builder.
|
|
1092
|
-
tmp.
|
|
1093
|
-
this.
|
|
977
|
+
var this_0 = builder.ok_1;
|
|
978
|
+
tmp.dm_1 = copyToArray(this_0);
|
|
979
|
+
this.em_1 = compactArray(builder.qk_1);
|
|
1094
980
|
var tmp_0 = this;
|
|
1095
981
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1096
|
-
var this_1 = builder.
|
|
1097
|
-
tmp_0.
|
|
1098
|
-
this.
|
|
982
|
+
var this_1 = builder.rk_1;
|
|
983
|
+
tmp_0.fm_1 = copyToArray(this_1);
|
|
984
|
+
this.gm_1 = toBooleanArray(builder.sk_1);
|
|
1099
985
|
var tmp_1 = this;
|
|
1100
986
|
// Inline function 'kotlin.collections.map' call
|
|
1101
|
-
var this_2 = withIndex(this.
|
|
987
|
+
var this_2 = withIndex(this.dm_1);
|
|
1102
988
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1103
989
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
|
|
1104
|
-
var _iterator__ex2g4s = this_2.
|
|
1105
|
-
while (_iterator__ex2g4s.
|
|
1106
|
-
var item = _iterator__ex2g4s.
|
|
1107
|
-
var tmp$ret$2 = to(item.
|
|
990
|
+
var _iterator__ex2g4s = this_2.m();
|
|
991
|
+
while (_iterator__ex2g4s.n()) {
|
|
992
|
+
var item = _iterator__ex2g4s.o();
|
|
993
|
+
var tmp$ret$2 = to(item.ce_1, item.be_1);
|
|
1108
994
|
destination.e(tmp$ret$2);
|
|
1109
995
|
}
|
|
1110
|
-
tmp_1.
|
|
1111
|
-
this.
|
|
996
|
+
tmp_1.hm_1 = toMap(destination);
|
|
997
|
+
this.im_1 = compactArray(typeParameters);
|
|
1112
998
|
var tmp_2 = this;
|
|
1113
|
-
tmp_2.
|
|
999
|
+
tmp_2.jm_1 = lazy_0(SerialDescriptorImpl$_hashCode$delegate$lambda(this));
|
|
1114
1000
|
}
|
|
1115
|
-
protoOf(SerialDescriptorImpl).
|
|
1116
|
-
return this.
|
|
1001
|
+
protoOf(SerialDescriptorImpl).kl = function () {
|
|
1002
|
+
return this.yl_1;
|
|
1117
1003
|
};
|
|
1118
|
-
protoOf(SerialDescriptorImpl).
|
|
1119
|
-
return this.
|
|
1004
|
+
protoOf(SerialDescriptorImpl).ll = function () {
|
|
1005
|
+
return this.zl_1;
|
|
1120
1006
|
};
|
|
1121
|
-
protoOf(SerialDescriptorImpl).
|
|
1122
|
-
return this.
|
|
1007
|
+
protoOf(SerialDescriptorImpl).nl = function () {
|
|
1008
|
+
return this.am_1;
|
|
1123
1009
|
};
|
|
1124
|
-
protoOf(SerialDescriptorImpl).
|
|
1125
|
-
return this.
|
|
1010
|
+
protoOf(SerialDescriptorImpl).ol = function () {
|
|
1011
|
+
return this.bm_1;
|
|
1126
1012
|
};
|
|
1127
|
-
protoOf(SerialDescriptorImpl).
|
|
1128
|
-
return this.
|
|
1013
|
+
protoOf(SerialDescriptorImpl).km = function () {
|
|
1014
|
+
return this.cm_1;
|
|
1129
1015
|
};
|
|
1130
|
-
protoOf(SerialDescriptorImpl).
|
|
1131
|
-
return getChecked(this.
|
|
1016
|
+
protoOf(SerialDescriptorImpl).pl = function (index) {
|
|
1017
|
+
return getChecked(this.dm_1, index);
|
|
1132
1018
|
};
|
|
1133
|
-
protoOf(SerialDescriptorImpl).
|
|
1134
|
-
return getChecked(this.
|
|
1019
|
+
protoOf(SerialDescriptorImpl).ql = function (index) {
|
|
1020
|
+
return getChecked(this.em_1, index);
|
|
1135
1021
|
};
|
|
1136
1022
|
protoOf(SerialDescriptorImpl).equals = function (other) {
|
|
1137
1023
|
var tmp$ret$0;
|
|
@@ -1145,29 +1031,29 @@
|
|
|
1145
1031
|
tmp$ret$0 = false;
|
|
1146
1032
|
break $l$block_5;
|
|
1147
1033
|
}
|
|
1148
|
-
if (!(this.
|
|
1034
|
+
if (!(this.kl() === other.kl())) {
|
|
1149
1035
|
tmp$ret$0 = false;
|
|
1150
1036
|
break $l$block_5;
|
|
1151
1037
|
}
|
|
1152
|
-
if (!contentEquals(this.
|
|
1038
|
+
if (!contentEquals(this.im_1, other.im_1)) {
|
|
1153
1039
|
tmp$ret$0 = false;
|
|
1154
1040
|
break $l$block_5;
|
|
1155
1041
|
}
|
|
1156
|
-
if (!(this.
|
|
1042
|
+
if (!(this.nl() === other.nl())) {
|
|
1157
1043
|
tmp$ret$0 = false;
|
|
1158
1044
|
break $l$block_5;
|
|
1159
1045
|
}
|
|
1160
1046
|
var inductionVariable = 0;
|
|
1161
|
-
var last = this.
|
|
1047
|
+
var last = this.nl();
|
|
1162
1048
|
if (inductionVariable < last)
|
|
1163
1049
|
do {
|
|
1164
1050
|
var index = inductionVariable;
|
|
1165
1051
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1166
|
-
if (!(this.
|
|
1052
|
+
if (!(this.ql(index).kl() === other.ql(index).kl())) {
|
|
1167
1053
|
tmp$ret$0 = false;
|
|
1168
1054
|
break $l$block_5;
|
|
1169
1055
|
}
|
|
1170
|
-
if (!equals(this.
|
|
1056
|
+
if (!equals(this.ql(index).ll(), other.ql(index).ll())) {
|
|
1171
1057
|
tmp$ret$0 = false;
|
|
1172
1058
|
break $l$block_5;
|
|
1173
1059
|
}
|
|
@@ -1181,9 +1067,7 @@
|
|
|
1181
1067
|
return _get__hashCode__tgwhef(this);
|
|
1182
1068
|
};
|
|
1183
1069
|
protoOf(SerialDescriptorImpl).toString = function () {
|
|
1184
|
-
|
|
1185
|
-
var tmp_0 = this.ll_1 + '(';
|
|
1186
|
-
return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, SerialDescriptorImpl$toString$lambda(this));
|
|
1070
|
+
return toStringImpl(this);
|
|
1187
1071
|
};
|
|
1188
1072
|
function buildClassSerialDescriptor(serialName, typeParameters, builderAction) {
|
|
1189
1073
|
var tmp;
|
|
@@ -1201,16 +1085,7 @@
|
|
|
1201
1085
|
}
|
|
1202
1086
|
var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
|
|
1203
1087
|
builderAction(sdBuilder);
|
|
1204
|
-
return new SerialDescriptorImpl(serialName, CLASS_getInstance(), sdBuilder.
|
|
1205
|
-
}
|
|
1206
|
-
function PrimitiveSerialDescriptor(serialName, kind) {
|
|
1207
|
-
// Inline function 'kotlin.text.isNotBlank' call
|
|
1208
|
-
// Inline function 'kotlin.require' call
|
|
1209
|
-
if (!!isBlank(serialName)) {
|
|
1210
|
-
var message = 'Blank serial names are prohibited';
|
|
1211
|
-
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1212
|
-
}
|
|
1213
|
-
return PrimitiveDescriptorSafe(serialName, kind);
|
|
1088
|
+
return new SerialDescriptorImpl(serialName, CLASS_getInstance(), sdBuilder.ok_1.p(), toList(typeParameters), sdBuilder);
|
|
1214
1089
|
}
|
|
1215
1090
|
function buildSerialDescriptor$lambda(_this__u8e3s4) {
|
|
1216
1091
|
return Unit_instance;
|
|
@@ -1241,21 +1116,11 @@
|
|
|
1241
1116
|
function SerialKind() {
|
|
1242
1117
|
}
|
|
1243
1118
|
protoOf(SerialKind).toString = function () {
|
|
1244
|
-
return ensureNotNull(getKClassFromExpression(this).
|
|
1119
|
+
return ensureNotNull(getKClassFromExpression(this).ca());
|
|
1245
1120
|
};
|
|
1246
1121
|
protoOf(SerialKind).hashCode = function () {
|
|
1247
1122
|
return getStringHashCode(this.toString());
|
|
1248
1123
|
};
|
|
1249
|
-
function SEALED() {
|
|
1250
|
-
SEALED_instance = this;
|
|
1251
|
-
PolymorphicKind.call(this);
|
|
1252
|
-
}
|
|
1253
|
-
var SEALED_instance;
|
|
1254
|
-
function SEALED_getInstance() {
|
|
1255
|
-
if (SEALED_instance == null)
|
|
1256
|
-
new SEALED();
|
|
1257
|
-
return SEALED_instance;
|
|
1258
|
-
}
|
|
1259
1124
|
function OPEN() {
|
|
1260
1125
|
OPEN_instance = this;
|
|
1261
1126
|
PolymorphicKind.call(this);
|
|
@@ -1407,106 +1272,106 @@
|
|
|
1407
1272
|
}
|
|
1408
1273
|
function AbstractEncoder() {
|
|
1409
1274
|
}
|
|
1410
|
-
protoOf(AbstractEncoder).
|
|
1275
|
+
protoOf(AbstractEncoder).lm = function (descriptor) {
|
|
1411
1276
|
return this;
|
|
1412
1277
|
};
|
|
1413
|
-
protoOf(AbstractEncoder).
|
|
1278
|
+
protoOf(AbstractEncoder).mm = function (descriptor) {
|
|
1414
1279
|
};
|
|
1415
|
-
protoOf(AbstractEncoder).
|
|
1280
|
+
protoOf(AbstractEncoder).nm = function (descriptor, index) {
|
|
1416
1281
|
return true;
|
|
1417
1282
|
};
|
|
1418
|
-
protoOf(AbstractEncoder).
|
|
1283
|
+
protoOf(AbstractEncoder).om = function (value) {
|
|
1419
1284
|
throw SerializationException_init_$Create$_0('Non-serializable ' + toString(getKClassFromExpression(value)) + ' is not supported by ' + toString(getKClassFromExpression(this)) + ' encoder');
|
|
1420
1285
|
};
|
|
1421
|
-
protoOf(AbstractEncoder).
|
|
1286
|
+
protoOf(AbstractEncoder).pm = function () {
|
|
1422
1287
|
throw SerializationException_init_$Create$_0("'null' is not supported by default");
|
|
1423
1288
|
};
|
|
1424
|
-
protoOf(AbstractEncoder).
|
|
1425
|
-
return this.
|
|
1289
|
+
protoOf(AbstractEncoder).qm = function (value) {
|
|
1290
|
+
return this.om(value);
|
|
1426
1291
|
};
|
|
1427
|
-
protoOf(AbstractEncoder).
|
|
1428
|
-
return this.
|
|
1292
|
+
protoOf(AbstractEncoder).rm = function (value) {
|
|
1293
|
+
return this.om(value);
|
|
1429
1294
|
};
|
|
1430
|
-
protoOf(AbstractEncoder).
|
|
1431
|
-
return this.
|
|
1295
|
+
protoOf(AbstractEncoder).sm = function (value) {
|
|
1296
|
+
return this.om(value);
|
|
1432
1297
|
};
|
|
1433
|
-
protoOf(AbstractEncoder).
|
|
1434
|
-
return this.
|
|
1298
|
+
protoOf(AbstractEncoder).tm = function (value) {
|
|
1299
|
+
return this.om(value);
|
|
1435
1300
|
};
|
|
1436
|
-
protoOf(AbstractEncoder).
|
|
1437
|
-
return this.
|
|
1301
|
+
protoOf(AbstractEncoder).um = function (value) {
|
|
1302
|
+
return this.om(value);
|
|
1438
1303
|
};
|
|
1439
|
-
protoOf(AbstractEncoder).
|
|
1440
|
-
return this.
|
|
1304
|
+
protoOf(AbstractEncoder).vm = function (value) {
|
|
1305
|
+
return this.om(value);
|
|
1441
1306
|
};
|
|
1442
|
-
protoOf(AbstractEncoder).
|
|
1443
|
-
return this.
|
|
1307
|
+
protoOf(AbstractEncoder).wm = function (value) {
|
|
1308
|
+
return this.om(value);
|
|
1444
1309
|
};
|
|
1445
|
-
protoOf(AbstractEncoder).
|
|
1446
|
-
return this.
|
|
1310
|
+
protoOf(AbstractEncoder).xm = function (value) {
|
|
1311
|
+
return this.om(new Char(value));
|
|
1447
1312
|
};
|
|
1448
|
-
protoOf(AbstractEncoder).
|
|
1449
|
-
return this.
|
|
1313
|
+
protoOf(AbstractEncoder).ym = function (value) {
|
|
1314
|
+
return this.om(value);
|
|
1450
1315
|
};
|
|
1451
|
-
protoOf(AbstractEncoder).
|
|
1316
|
+
protoOf(AbstractEncoder).zm = function (descriptor) {
|
|
1452
1317
|
return this;
|
|
1453
1318
|
};
|
|
1454
|
-
protoOf(AbstractEncoder).
|
|
1455
|
-
if (this.
|
|
1456
|
-
this.
|
|
1319
|
+
protoOf(AbstractEncoder).an = function (descriptor, index, value) {
|
|
1320
|
+
if (this.nm(descriptor, index)) {
|
|
1321
|
+
this.qm(value);
|
|
1457
1322
|
}
|
|
1458
1323
|
};
|
|
1459
|
-
protoOf(AbstractEncoder).
|
|
1460
|
-
if (this.
|
|
1461
|
-
this.
|
|
1324
|
+
protoOf(AbstractEncoder).bn = function (descriptor, index, value) {
|
|
1325
|
+
if (this.nm(descriptor, index)) {
|
|
1326
|
+
this.rm(value);
|
|
1462
1327
|
}
|
|
1463
1328
|
};
|
|
1464
|
-
protoOf(AbstractEncoder).
|
|
1465
|
-
if (this.
|
|
1466
|
-
this.
|
|
1329
|
+
protoOf(AbstractEncoder).cn = function (descriptor, index, value) {
|
|
1330
|
+
if (this.nm(descriptor, index)) {
|
|
1331
|
+
this.sm(value);
|
|
1467
1332
|
}
|
|
1468
1333
|
};
|
|
1469
|
-
protoOf(AbstractEncoder).
|
|
1470
|
-
if (this.
|
|
1471
|
-
this.
|
|
1334
|
+
protoOf(AbstractEncoder).dn = function (descriptor, index, value) {
|
|
1335
|
+
if (this.nm(descriptor, index)) {
|
|
1336
|
+
this.tm(value);
|
|
1472
1337
|
}
|
|
1473
1338
|
};
|
|
1474
|
-
protoOf(AbstractEncoder).
|
|
1475
|
-
if (this.
|
|
1476
|
-
this.
|
|
1339
|
+
protoOf(AbstractEncoder).en = function (descriptor, index, value) {
|
|
1340
|
+
if (this.nm(descriptor, index)) {
|
|
1341
|
+
this.um(value);
|
|
1477
1342
|
}
|
|
1478
1343
|
};
|
|
1479
|
-
protoOf(AbstractEncoder).
|
|
1480
|
-
if (this.
|
|
1481
|
-
this.
|
|
1344
|
+
protoOf(AbstractEncoder).fn = function (descriptor, index, value) {
|
|
1345
|
+
if (this.nm(descriptor, index)) {
|
|
1346
|
+
this.vm(value);
|
|
1482
1347
|
}
|
|
1483
1348
|
};
|
|
1484
|
-
protoOf(AbstractEncoder).
|
|
1485
|
-
if (this.
|
|
1486
|
-
this.
|
|
1349
|
+
protoOf(AbstractEncoder).gn = function (descriptor, index, value) {
|
|
1350
|
+
if (this.nm(descriptor, index)) {
|
|
1351
|
+
this.wm(value);
|
|
1487
1352
|
}
|
|
1488
1353
|
};
|
|
1489
|
-
protoOf(AbstractEncoder).
|
|
1490
|
-
if (this.
|
|
1491
|
-
this.
|
|
1354
|
+
protoOf(AbstractEncoder).hn = function (descriptor, index, value) {
|
|
1355
|
+
if (this.nm(descriptor, index)) {
|
|
1356
|
+
this.xm(value);
|
|
1492
1357
|
}
|
|
1493
1358
|
};
|
|
1494
|
-
protoOf(AbstractEncoder).
|
|
1495
|
-
if (this.
|
|
1496
|
-
this.
|
|
1359
|
+
protoOf(AbstractEncoder).in = function (descriptor, index, value) {
|
|
1360
|
+
if (this.nm(descriptor, index)) {
|
|
1361
|
+
this.ym(value);
|
|
1497
1362
|
}
|
|
1498
1363
|
};
|
|
1499
|
-
protoOf(AbstractEncoder).
|
|
1500
|
-
return this.
|
|
1364
|
+
protoOf(AbstractEncoder).jn = function (descriptor, index) {
|
|
1365
|
+
return this.nm(descriptor, index) ? this.zm(descriptor.ql(index)) : NoOpEncoder_getInstance();
|
|
1501
1366
|
};
|
|
1502
|
-
protoOf(AbstractEncoder).
|
|
1503
|
-
if (this.
|
|
1504
|
-
this.
|
|
1367
|
+
protoOf(AbstractEncoder).kn = function (descriptor, index, serializer, value) {
|
|
1368
|
+
if (this.nm(descriptor, index)) {
|
|
1369
|
+
this.ln(serializer, value);
|
|
1505
1370
|
}
|
|
1506
1371
|
};
|
|
1507
|
-
protoOf(AbstractEncoder).
|
|
1508
|
-
if (this.
|
|
1509
|
-
this.
|
|
1372
|
+
protoOf(AbstractEncoder).mn = function (descriptor, index, serializer, value) {
|
|
1373
|
+
if (this.nm(descriptor, index)) {
|
|
1374
|
+
this.nn(serializer, value);
|
|
1510
1375
|
}
|
|
1511
1376
|
};
|
|
1512
1377
|
function Encoder() {
|
|
@@ -1515,50 +1380,50 @@
|
|
|
1515
1380
|
}
|
|
1516
1381
|
function AbstractPolymorphicSerializer() {
|
|
1517
1382
|
}
|
|
1518
|
-
protoOf(AbstractPolymorphicSerializer).
|
|
1383
|
+
protoOf(AbstractPolymorphicSerializer).yk = function (encoder, value) {
|
|
1519
1384
|
var actualSerializer = findPolymorphicSerializer(this, encoder, value);
|
|
1520
1385
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
1521
|
-
var descriptor = this.
|
|
1522
|
-
var composite = encoder.
|
|
1523
|
-
composite.
|
|
1524
|
-
var tmp = this.
|
|
1386
|
+
var descriptor = this.jk();
|
|
1387
|
+
var composite = encoder.lm(descriptor);
|
|
1388
|
+
composite.in(this.jk(), 0, actualSerializer.jk().kl());
|
|
1389
|
+
var tmp = this.jk();
|
|
1525
1390
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1526
1391
|
var tmp$ret$0 = isInterface(actualSerializer, SerializationStrategy) ? actualSerializer : THROW_CCE();
|
|
1527
|
-
composite.
|
|
1528
|
-
composite.
|
|
1392
|
+
composite.kn(tmp, 1, tmp$ret$0, value);
|
|
1393
|
+
composite.mm(descriptor);
|
|
1529
1394
|
};
|
|
1530
|
-
protoOf(AbstractPolymorphicSerializer).
|
|
1531
|
-
return this.
|
|
1395
|
+
protoOf(AbstractPolymorphicSerializer).kk = function (encoder, value) {
|
|
1396
|
+
return this.yk(encoder, !(value == null) ? value : THROW_CCE());
|
|
1532
1397
|
};
|
|
1533
|
-
protoOf(AbstractPolymorphicSerializer).
|
|
1534
|
-
return encoder.
|
|
1398
|
+
protoOf(AbstractPolymorphicSerializer).zk = function (encoder, value) {
|
|
1399
|
+
return encoder.on().sn(this.xk(), value);
|
|
1535
1400
|
};
|
|
1536
1401
|
function throwSubtypeNotRegistered(subClass, baseClass) {
|
|
1537
|
-
var tmp0_elvis_lhs = subClass.
|
|
1402
|
+
var tmp0_elvis_lhs = subClass.ca();
|
|
1538
1403
|
throwSubtypeNotRegistered_0(tmp0_elvis_lhs == null ? toString(subClass) : tmp0_elvis_lhs, baseClass);
|
|
1539
1404
|
}
|
|
1540
1405
|
function throwSubtypeNotRegistered_0(subClassName, baseClass) {
|
|
1541
|
-
var scope = "in the polymorphic scope of '" + baseClass.
|
|
1542
|
-
throw SerializationException_init_$Create$_0(subClassName == null ? 'Class discriminator was missing and no default serializers were registered ' + scope + '.' : "Serializer for subclass '" + subClassName + "' is not found " + scope + '.\n' + ("Check if class with serial name '" + subClassName + "' exists and serializer is registered in a corresponding SerializersModule.\n") + ("To be registered automatically, class '" + subClassName + "' has to be '@Serializable', and the base class '" + baseClass.
|
|
1406
|
+
var scope = "in the polymorphic scope of '" + baseClass.ca() + "'";
|
|
1407
|
+
throw SerializationException_init_$Create$_0(subClassName == null ? 'Class discriminator was missing and no default serializers were registered ' + scope + '.' : "Serializer for subclass '" + subClassName + "' is not found " + scope + '.\n' + ("Check if class with serial name '" + subClassName + "' exists and serializer is registered in a corresponding SerializersModule.\n") + ("To be registered automatically, class '" + subClassName + "' has to be '@Serializable', and the base class '" + baseClass.ca() + "' has to be sealed and '@Serializable'."));
|
|
1543
1408
|
}
|
|
1544
1409
|
function NothingSerializer_0() {
|
|
1545
1410
|
NothingSerializer_instance = this;
|
|
1546
|
-
this.
|
|
1411
|
+
this.tn_1 = NothingSerialDescriptor_getInstance();
|
|
1547
1412
|
}
|
|
1548
|
-
protoOf(NothingSerializer_0).
|
|
1549
|
-
return this.
|
|
1413
|
+
protoOf(NothingSerializer_0).jk = function () {
|
|
1414
|
+
return this.tn_1;
|
|
1550
1415
|
};
|
|
1551
|
-
protoOf(NothingSerializer_0).
|
|
1416
|
+
protoOf(NothingSerializer_0).un = function (encoder, value) {
|
|
1552
1417
|
throw SerializationException_init_$Create$_0("'kotlin.Nothing' cannot be serialized");
|
|
1553
1418
|
};
|
|
1554
|
-
protoOf(NothingSerializer_0).
|
|
1419
|
+
protoOf(NothingSerializer_0).kk = function (encoder, value) {
|
|
1555
1420
|
var tmp;
|
|
1556
1421
|
if (false) {
|
|
1557
1422
|
tmp = value;
|
|
1558
1423
|
} else {
|
|
1559
1424
|
tmp = THROW_CCE();
|
|
1560
1425
|
}
|
|
1561
|
-
return this.
|
|
1426
|
+
return this.un(encoder, tmp);
|
|
1562
1427
|
};
|
|
1563
1428
|
var NothingSerializer_instance;
|
|
1564
1429
|
function NothingSerializer_getInstance() {
|
|
@@ -1568,16 +1433,16 @@
|
|
|
1568
1433
|
}
|
|
1569
1434
|
function DurationSerializer() {
|
|
1570
1435
|
DurationSerializer_instance = this;
|
|
1571
|
-
this.
|
|
1436
|
+
this.vn_1 = new PrimitiveSerialDescriptor('kotlin.time.Duration', STRING_getInstance());
|
|
1572
1437
|
}
|
|
1573
|
-
protoOf(DurationSerializer).
|
|
1574
|
-
return this.
|
|
1438
|
+
protoOf(DurationSerializer).jk = function () {
|
|
1439
|
+
return this.vn_1;
|
|
1575
1440
|
};
|
|
1576
|
-
protoOf(DurationSerializer).
|
|
1577
|
-
encoder.
|
|
1441
|
+
protoOf(DurationSerializer).wn = function (encoder, value) {
|
|
1442
|
+
encoder.ym(Duration__toIsoString_impl_9h6wsm(value));
|
|
1578
1443
|
};
|
|
1579
|
-
protoOf(DurationSerializer).
|
|
1580
|
-
return this.
|
|
1444
|
+
protoOf(DurationSerializer).kk = function (encoder, value) {
|
|
1445
|
+
return this.wn(encoder, value instanceof Duration ? value.eh_1 : THROW_CCE());
|
|
1581
1446
|
};
|
|
1582
1447
|
var DurationSerializer_instance;
|
|
1583
1448
|
function DurationSerializer_getInstance() {
|
|
@@ -1585,18 +1450,37 @@
|
|
|
1585
1450
|
new DurationSerializer();
|
|
1586
1451
|
return DurationSerializer_instance;
|
|
1587
1452
|
}
|
|
1453
|
+
function InstantSerializer() {
|
|
1454
|
+
InstantSerializer_instance = this;
|
|
1455
|
+
this.xn_1 = new PrimitiveSerialDescriptor('kotlin.time.Instant', STRING_getInstance());
|
|
1456
|
+
}
|
|
1457
|
+
protoOf(InstantSerializer).jk = function () {
|
|
1458
|
+
return this.xn_1;
|
|
1459
|
+
};
|
|
1460
|
+
protoOf(InstantSerializer).yn = function (encoder, value) {
|
|
1461
|
+
encoder.ym(value.toString());
|
|
1462
|
+
};
|
|
1463
|
+
protoOf(InstantSerializer).kk = function (encoder, value) {
|
|
1464
|
+
return this.yn(encoder, value instanceof Instant ? value : THROW_CCE());
|
|
1465
|
+
};
|
|
1466
|
+
var InstantSerializer_instance;
|
|
1467
|
+
function InstantSerializer_getInstance() {
|
|
1468
|
+
if (InstantSerializer_instance == null)
|
|
1469
|
+
new InstantSerializer();
|
|
1470
|
+
return InstantSerializer_instance;
|
|
1471
|
+
}
|
|
1588
1472
|
function UuidSerializer() {
|
|
1589
1473
|
UuidSerializer_instance = this;
|
|
1590
|
-
this.
|
|
1474
|
+
this.zn_1 = new PrimitiveSerialDescriptor('kotlin.uuid.Uuid', STRING_getInstance());
|
|
1591
1475
|
}
|
|
1592
|
-
protoOf(UuidSerializer).
|
|
1593
|
-
return this.
|
|
1476
|
+
protoOf(UuidSerializer).jk = function () {
|
|
1477
|
+
return this.zn_1;
|
|
1594
1478
|
};
|
|
1595
|
-
protoOf(UuidSerializer).
|
|
1596
|
-
encoder.
|
|
1479
|
+
protoOf(UuidSerializer).ao = function (encoder, value) {
|
|
1480
|
+
encoder.ym(value.toString());
|
|
1597
1481
|
};
|
|
1598
|
-
protoOf(UuidSerializer).
|
|
1599
|
-
return this.
|
|
1482
|
+
protoOf(UuidSerializer).kk = function (encoder, value) {
|
|
1483
|
+
return this.ao(encoder, value instanceof Uuid ? value : THROW_CCE());
|
|
1600
1484
|
};
|
|
1601
1485
|
var UuidSerializer_instance;
|
|
1602
1486
|
function UuidSerializer_getInstance() {
|
|
@@ -1609,19 +1493,19 @@
|
|
|
1609
1493
|
function ArrayListClassDesc(elementDesc) {
|
|
1610
1494
|
ListLikeDescriptor.call(this, elementDesc);
|
|
1611
1495
|
}
|
|
1612
|
-
protoOf(ArrayListClassDesc).
|
|
1496
|
+
protoOf(ArrayListClassDesc).kl = function () {
|
|
1613
1497
|
return 'kotlin.collections.ArrayList';
|
|
1614
1498
|
};
|
|
1615
1499
|
function HashSetClassDesc(elementDesc) {
|
|
1616
1500
|
ListLikeDescriptor.call(this, elementDesc);
|
|
1617
1501
|
}
|
|
1618
|
-
protoOf(HashSetClassDesc).
|
|
1502
|
+
protoOf(HashSetClassDesc).kl = function () {
|
|
1619
1503
|
return 'kotlin.collections.HashSet';
|
|
1620
1504
|
};
|
|
1621
1505
|
function LinkedHashSetClassDesc(elementDesc) {
|
|
1622
1506
|
ListLikeDescriptor.call(this, elementDesc);
|
|
1623
1507
|
}
|
|
1624
|
-
protoOf(LinkedHashSetClassDesc).
|
|
1508
|
+
protoOf(LinkedHashSetClassDesc).kl = function () {
|
|
1625
1509
|
return 'kotlin.collections.LinkedHashSet';
|
|
1626
1510
|
};
|
|
1627
1511
|
function HashMapClassDesc(keyDesc, valueDesc) {
|
|
@@ -1633,76 +1517,76 @@
|
|
|
1633
1517
|
function ArrayClassDesc(elementDesc) {
|
|
1634
1518
|
ListLikeDescriptor.call(this, elementDesc);
|
|
1635
1519
|
}
|
|
1636
|
-
protoOf(ArrayClassDesc).
|
|
1520
|
+
protoOf(ArrayClassDesc).kl = function () {
|
|
1637
1521
|
return 'kotlin.Array';
|
|
1638
1522
|
};
|
|
1639
1523
|
function ListLikeDescriptor(elementDescriptor) {
|
|
1640
|
-
this.
|
|
1641
|
-
this.
|
|
1524
|
+
this.do_1 = elementDescriptor;
|
|
1525
|
+
this.eo_1 = 1;
|
|
1642
1526
|
}
|
|
1643
|
-
protoOf(ListLikeDescriptor).
|
|
1527
|
+
protoOf(ListLikeDescriptor).ll = function () {
|
|
1644
1528
|
return LIST_getInstance();
|
|
1645
1529
|
};
|
|
1646
|
-
protoOf(ListLikeDescriptor).
|
|
1647
|
-
return this.
|
|
1530
|
+
protoOf(ListLikeDescriptor).nl = function () {
|
|
1531
|
+
return this.eo_1;
|
|
1648
1532
|
};
|
|
1649
|
-
protoOf(ListLikeDescriptor).
|
|
1533
|
+
protoOf(ListLikeDescriptor).pl = function (index) {
|
|
1650
1534
|
return index.toString();
|
|
1651
1535
|
};
|
|
1652
|
-
protoOf(ListLikeDescriptor).
|
|
1536
|
+
protoOf(ListLikeDescriptor).ql = function (index) {
|
|
1653
1537
|
// Inline function 'kotlin.require' call
|
|
1654
1538
|
if (!(index >= 0)) {
|
|
1655
|
-
var message = 'Illegal index ' + index + ', ' + this.
|
|
1539
|
+
var message = 'Illegal index ' + index + ', ' + this.kl() + ' expects only non-negative indices';
|
|
1656
1540
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1657
1541
|
}
|
|
1658
|
-
return this.
|
|
1542
|
+
return this.do_1;
|
|
1659
1543
|
};
|
|
1660
1544
|
protoOf(ListLikeDescriptor).equals = function (other) {
|
|
1661
1545
|
if (this === other)
|
|
1662
1546
|
return true;
|
|
1663
1547
|
if (!(other instanceof ListLikeDescriptor))
|
|
1664
1548
|
return false;
|
|
1665
|
-
if (equals(this.
|
|
1549
|
+
if (equals(this.do_1, other.do_1) && this.kl() === other.kl())
|
|
1666
1550
|
return true;
|
|
1667
1551
|
return false;
|
|
1668
1552
|
};
|
|
1669
1553
|
protoOf(ListLikeDescriptor).hashCode = function () {
|
|
1670
|
-
return imul(hashCode(this.
|
|
1554
|
+
return imul(hashCode(this.do_1), 31) + getStringHashCode(this.kl()) | 0;
|
|
1671
1555
|
};
|
|
1672
1556
|
protoOf(ListLikeDescriptor).toString = function () {
|
|
1673
|
-
return this.
|
|
1557
|
+
return this.kl() + '(' + toString(this.do_1) + ')';
|
|
1674
1558
|
};
|
|
1675
1559
|
function MapLikeDescriptor(serialName, keyDescriptor, valueDescriptor) {
|
|
1676
|
-
this.
|
|
1677
|
-
this.
|
|
1678
|
-
this.
|
|
1679
|
-
this.
|
|
1560
|
+
this.jo_1 = serialName;
|
|
1561
|
+
this.ko_1 = keyDescriptor;
|
|
1562
|
+
this.lo_1 = valueDescriptor;
|
|
1563
|
+
this.mo_1 = 2;
|
|
1680
1564
|
}
|
|
1681
|
-
protoOf(MapLikeDescriptor).
|
|
1682
|
-
return this.
|
|
1565
|
+
protoOf(MapLikeDescriptor).kl = function () {
|
|
1566
|
+
return this.jo_1;
|
|
1683
1567
|
};
|
|
1684
|
-
protoOf(MapLikeDescriptor).
|
|
1568
|
+
protoOf(MapLikeDescriptor).ll = function () {
|
|
1685
1569
|
return MAP_getInstance();
|
|
1686
1570
|
};
|
|
1687
|
-
protoOf(MapLikeDescriptor).
|
|
1688
|
-
return this.
|
|
1571
|
+
protoOf(MapLikeDescriptor).nl = function () {
|
|
1572
|
+
return this.mo_1;
|
|
1689
1573
|
};
|
|
1690
|
-
protoOf(MapLikeDescriptor).
|
|
1574
|
+
protoOf(MapLikeDescriptor).pl = function (index) {
|
|
1691
1575
|
return index.toString();
|
|
1692
1576
|
};
|
|
1693
|
-
protoOf(MapLikeDescriptor).
|
|
1577
|
+
protoOf(MapLikeDescriptor).ql = function (index) {
|
|
1694
1578
|
// Inline function 'kotlin.require' call
|
|
1695
1579
|
if (!(index >= 0)) {
|
|
1696
|
-
var message = 'Illegal index ' + index + ', ' + this.
|
|
1580
|
+
var message = 'Illegal index ' + index + ', ' + this.kl() + ' expects only non-negative indices';
|
|
1697
1581
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1698
1582
|
}
|
|
1699
1583
|
var tmp;
|
|
1700
1584
|
switch (index % 2 | 0) {
|
|
1701
1585
|
case 0:
|
|
1702
|
-
tmp = this.
|
|
1586
|
+
tmp = this.ko_1;
|
|
1703
1587
|
break;
|
|
1704
1588
|
case 1:
|
|
1705
|
-
tmp = this.
|
|
1589
|
+
tmp = this.lo_1;
|
|
1706
1590
|
break;
|
|
1707
1591
|
default:
|
|
1708
1592
|
var message_0 = 'Unreached';
|
|
@@ -1715,223 +1599,223 @@
|
|
|
1715
1599
|
return true;
|
|
1716
1600
|
if (!(other instanceof MapLikeDescriptor))
|
|
1717
1601
|
return false;
|
|
1718
|
-
if (!(this.
|
|
1602
|
+
if (!(this.kl() === other.kl()))
|
|
1719
1603
|
return false;
|
|
1720
|
-
if (!equals(this.
|
|
1604
|
+
if (!equals(this.ko_1, other.ko_1))
|
|
1721
1605
|
return false;
|
|
1722
|
-
if (!equals(this.
|
|
1606
|
+
if (!equals(this.lo_1, other.lo_1))
|
|
1723
1607
|
return false;
|
|
1724
1608
|
return true;
|
|
1725
1609
|
};
|
|
1726
1610
|
protoOf(MapLikeDescriptor).hashCode = function () {
|
|
1727
|
-
var result = getStringHashCode(this.
|
|
1728
|
-
result = imul(31, result) + hashCode(this.
|
|
1729
|
-
result = imul(31, result) + hashCode(this.
|
|
1611
|
+
var result = getStringHashCode(this.kl());
|
|
1612
|
+
result = imul(31, result) + hashCode(this.ko_1) | 0;
|
|
1613
|
+
result = imul(31, result) + hashCode(this.lo_1) | 0;
|
|
1730
1614
|
return result;
|
|
1731
1615
|
};
|
|
1732
1616
|
protoOf(MapLikeDescriptor).toString = function () {
|
|
1733
|
-
return this.
|
|
1617
|
+
return this.kl() + '(' + toString(this.ko_1) + ', ' + toString(this.lo_1) + ')';
|
|
1734
1618
|
};
|
|
1735
1619
|
function PrimitiveArrayDescriptor(primitive) {
|
|
1736
1620
|
ListLikeDescriptor.call(this, primitive);
|
|
1737
|
-
this.
|
|
1621
|
+
this.ro_1 = primitive.kl() + 'Array';
|
|
1738
1622
|
}
|
|
1739
|
-
protoOf(PrimitiveArrayDescriptor).
|
|
1740
|
-
return this.
|
|
1623
|
+
protoOf(PrimitiveArrayDescriptor).kl = function () {
|
|
1624
|
+
return this.ro_1;
|
|
1741
1625
|
};
|
|
1742
1626
|
function ArrayListSerializer(element) {
|
|
1743
1627
|
CollectionSerializer.call(this, element);
|
|
1744
|
-
this.
|
|
1628
|
+
this.to_1 = new ArrayListClassDesc(element.jk());
|
|
1745
1629
|
}
|
|
1746
|
-
protoOf(ArrayListSerializer).
|
|
1747
|
-
return this.
|
|
1630
|
+
protoOf(ArrayListSerializer).jk = function () {
|
|
1631
|
+
return this.to_1;
|
|
1748
1632
|
};
|
|
1749
1633
|
function HashSetSerializer(eSerializer) {
|
|
1750
1634
|
CollectionSerializer.call(this, eSerializer);
|
|
1751
|
-
this.
|
|
1635
|
+
this.ap_1 = new HashSetClassDesc(eSerializer.jk());
|
|
1752
1636
|
}
|
|
1753
|
-
protoOf(HashSetSerializer).
|
|
1754
|
-
return this.
|
|
1637
|
+
protoOf(HashSetSerializer).jk = function () {
|
|
1638
|
+
return this.ap_1;
|
|
1755
1639
|
};
|
|
1756
1640
|
function LinkedHashSetSerializer(eSerializer) {
|
|
1757
1641
|
CollectionSerializer.call(this, eSerializer);
|
|
1758
|
-
this.
|
|
1642
|
+
this.cp_1 = new LinkedHashSetClassDesc(eSerializer.jk());
|
|
1759
1643
|
}
|
|
1760
|
-
protoOf(LinkedHashSetSerializer).
|
|
1761
|
-
return this.
|
|
1644
|
+
protoOf(LinkedHashSetSerializer).jk = function () {
|
|
1645
|
+
return this.cp_1;
|
|
1762
1646
|
};
|
|
1763
1647
|
function HashMapSerializer(kSerializer, vSerializer) {
|
|
1764
1648
|
MapLikeSerializer.call(this, kSerializer, vSerializer);
|
|
1765
|
-
this.
|
|
1649
|
+
this.fp_1 = new HashMapClassDesc(kSerializer.jk(), vSerializer.jk());
|
|
1766
1650
|
}
|
|
1767
|
-
protoOf(HashMapSerializer).
|
|
1768
|
-
return this.
|
|
1651
|
+
protoOf(HashMapSerializer).jk = function () {
|
|
1652
|
+
return this.fp_1;
|
|
1769
1653
|
};
|
|
1770
|
-
protoOf(HashMapSerializer).
|
|
1771
|
-
return _this__u8e3s4.
|
|
1654
|
+
protoOf(HashMapSerializer).gp = function (_this__u8e3s4) {
|
|
1655
|
+
return _this__u8e3s4.p();
|
|
1772
1656
|
};
|
|
1773
|
-
protoOf(HashMapSerializer).
|
|
1774
|
-
return this.
|
|
1657
|
+
protoOf(HashMapSerializer).hp = function (_this__u8e3s4) {
|
|
1658
|
+
return this.gp((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1775
1659
|
};
|
|
1776
|
-
protoOf(HashMapSerializer).
|
|
1660
|
+
protoOf(HashMapSerializer).ip = function (_this__u8e3s4) {
|
|
1777
1661
|
// Inline function 'kotlin.collections.iterator' call
|
|
1778
|
-
return _this__u8e3s4.x().
|
|
1662
|
+
return _this__u8e3s4.x().m();
|
|
1779
1663
|
};
|
|
1780
|
-
protoOf(HashMapSerializer).
|
|
1781
|
-
return this.
|
|
1664
|
+
protoOf(HashMapSerializer).jp = function (_this__u8e3s4) {
|
|
1665
|
+
return this.ip((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1782
1666
|
};
|
|
1783
1667
|
function LinkedHashMapSerializer(kSerializer, vSerializer) {
|
|
1784
1668
|
MapLikeSerializer.call(this, kSerializer, vSerializer);
|
|
1785
|
-
this.
|
|
1669
|
+
this.op_1 = new LinkedHashMapClassDesc(kSerializer.jk(), vSerializer.jk());
|
|
1786
1670
|
}
|
|
1787
|
-
protoOf(LinkedHashMapSerializer).
|
|
1788
|
-
return this.
|
|
1671
|
+
protoOf(LinkedHashMapSerializer).jk = function () {
|
|
1672
|
+
return this.op_1;
|
|
1789
1673
|
};
|
|
1790
|
-
protoOf(LinkedHashMapSerializer).
|
|
1791
|
-
return _this__u8e3s4.
|
|
1674
|
+
protoOf(LinkedHashMapSerializer).gp = function (_this__u8e3s4) {
|
|
1675
|
+
return _this__u8e3s4.p();
|
|
1792
1676
|
};
|
|
1793
|
-
protoOf(LinkedHashMapSerializer).
|
|
1794
|
-
return this.
|
|
1677
|
+
protoOf(LinkedHashMapSerializer).hp = function (_this__u8e3s4) {
|
|
1678
|
+
return this.gp((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1795
1679
|
};
|
|
1796
|
-
protoOf(LinkedHashMapSerializer).
|
|
1680
|
+
protoOf(LinkedHashMapSerializer).ip = function (_this__u8e3s4) {
|
|
1797
1681
|
// Inline function 'kotlin.collections.iterator' call
|
|
1798
|
-
return _this__u8e3s4.x().
|
|
1682
|
+
return _this__u8e3s4.x().m();
|
|
1799
1683
|
};
|
|
1800
|
-
protoOf(LinkedHashMapSerializer).
|
|
1801
|
-
return this.
|
|
1684
|
+
protoOf(LinkedHashMapSerializer).jp = function (_this__u8e3s4) {
|
|
1685
|
+
return this.ip((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1802
1686
|
};
|
|
1803
1687
|
function ReferenceArraySerializer(kClass, eSerializer) {
|
|
1804
1688
|
CollectionLikeSerializer.call(this, eSerializer);
|
|
1805
|
-
this.
|
|
1806
|
-
this.
|
|
1689
|
+
this.qp_1 = kClass;
|
|
1690
|
+
this.rp_1 = new ArrayClassDesc(eSerializer.jk());
|
|
1807
1691
|
}
|
|
1808
|
-
protoOf(ReferenceArraySerializer).
|
|
1809
|
-
return this.
|
|
1692
|
+
protoOf(ReferenceArraySerializer).jk = function () {
|
|
1693
|
+
return this.rp_1;
|
|
1810
1694
|
};
|
|
1811
|
-
protoOf(ReferenceArraySerializer).
|
|
1695
|
+
protoOf(ReferenceArraySerializer).sp = function (_this__u8e3s4) {
|
|
1812
1696
|
return _this__u8e3s4.length;
|
|
1813
1697
|
};
|
|
1814
|
-
protoOf(ReferenceArraySerializer).
|
|
1815
|
-
return this.
|
|
1698
|
+
protoOf(ReferenceArraySerializer).hp = function (_this__u8e3s4) {
|
|
1699
|
+
return this.sp((!(_this__u8e3s4 == null) ? isArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1816
1700
|
};
|
|
1817
|
-
protoOf(ReferenceArraySerializer).
|
|
1701
|
+
protoOf(ReferenceArraySerializer).tp = function (_this__u8e3s4) {
|
|
1818
1702
|
return arrayIterator(_this__u8e3s4);
|
|
1819
1703
|
};
|
|
1820
|
-
protoOf(ReferenceArraySerializer).
|
|
1821
|
-
return this.
|
|
1704
|
+
protoOf(ReferenceArraySerializer).jp = function (_this__u8e3s4) {
|
|
1705
|
+
return this.tp((!(_this__u8e3s4 == null) ? isArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1822
1706
|
};
|
|
1823
1707
|
function CollectionSerializer(element) {
|
|
1824
1708
|
CollectionLikeSerializer.call(this, element);
|
|
1825
1709
|
}
|
|
1826
|
-
protoOf(CollectionSerializer).
|
|
1827
|
-
return _this__u8e3s4.
|
|
1710
|
+
protoOf(CollectionSerializer).vo = function (_this__u8e3s4) {
|
|
1711
|
+
return _this__u8e3s4.p();
|
|
1828
1712
|
};
|
|
1829
|
-
protoOf(CollectionSerializer).
|
|
1830
|
-
return this.
|
|
1713
|
+
protoOf(CollectionSerializer).hp = function (_this__u8e3s4) {
|
|
1714
|
+
return this.vo((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Collection) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1831
1715
|
};
|
|
1832
|
-
protoOf(CollectionSerializer).
|
|
1833
|
-
return _this__u8e3s4.
|
|
1716
|
+
protoOf(CollectionSerializer).wo = function (_this__u8e3s4) {
|
|
1717
|
+
return _this__u8e3s4.m();
|
|
1834
1718
|
};
|
|
1835
|
-
protoOf(CollectionSerializer).
|
|
1836
|
-
return this.
|
|
1719
|
+
protoOf(CollectionSerializer).jp = function (_this__u8e3s4) {
|
|
1720
|
+
return this.wo((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Collection) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1837
1721
|
};
|
|
1838
1722
|
function MapLikeSerializer(keySerializer, valueSerializer) {
|
|
1839
1723
|
AbstractCollectionSerializer.call(this);
|
|
1840
|
-
this.
|
|
1841
|
-
this.
|
|
1724
|
+
this.kp_1 = keySerializer;
|
|
1725
|
+
this.lp_1 = valueSerializer;
|
|
1842
1726
|
}
|
|
1843
|
-
protoOf(MapLikeSerializer).
|
|
1844
|
-
var size = this.
|
|
1727
|
+
protoOf(MapLikeSerializer).yo = function (encoder, value) {
|
|
1728
|
+
var size = this.hp(value);
|
|
1845
1729
|
// Inline function 'kotlinx.serialization.encoding.encodeCollection' call
|
|
1846
|
-
var descriptor = this.
|
|
1847
|
-
var composite = encoder.
|
|
1848
|
-
var iterator = this.
|
|
1730
|
+
var descriptor = this.jk();
|
|
1731
|
+
var composite = encoder.qn(descriptor, size);
|
|
1732
|
+
var iterator = this.jp(value);
|
|
1849
1733
|
var index = 0;
|
|
1850
1734
|
// Inline function 'kotlin.collections.forEach' call
|
|
1851
1735
|
// Inline function 'kotlin.collections.iterator' call
|
|
1852
1736
|
var _iterator__ex2g4s = iterator;
|
|
1853
|
-
while (_iterator__ex2g4s.
|
|
1854
|
-
var element = _iterator__ex2g4s.
|
|
1737
|
+
while (_iterator__ex2g4s.n()) {
|
|
1738
|
+
var element = _iterator__ex2g4s.o();
|
|
1855
1739
|
// Inline function 'kotlin.collections.component1' call
|
|
1856
1740
|
var k = element.y();
|
|
1857
1741
|
// Inline function 'kotlin.collections.component2' call
|
|
1858
1742
|
var v = element.z();
|
|
1859
|
-
var tmp = this.
|
|
1743
|
+
var tmp = this.jk();
|
|
1860
1744
|
var _unary__edvuaz = index;
|
|
1861
1745
|
index = _unary__edvuaz + 1 | 0;
|
|
1862
|
-
composite.
|
|
1863
|
-
var tmp_0 = this.
|
|
1746
|
+
composite.kn(tmp, _unary__edvuaz, this.kp_1, k);
|
|
1747
|
+
var tmp_0 = this.jk();
|
|
1864
1748
|
var _unary__edvuaz_0 = index;
|
|
1865
1749
|
index = _unary__edvuaz_0 + 1 | 0;
|
|
1866
|
-
composite.
|
|
1750
|
+
composite.kn(tmp_0, _unary__edvuaz_0, this.lp_1, v);
|
|
1867
1751
|
}
|
|
1868
|
-
composite.
|
|
1752
|
+
composite.mm(descriptor);
|
|
1869
1753
|
};
|
|
1870
|
-
protoOf(MapLikeSerializer).
|
|
1871
|
-
return this.
|
|
1754
|
+
protoOf(MapLikeSerializer).kk = function (encoder, value) {
|
|
1755
|
+
return this.yo(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1872
1756
|
};
|
|
1873
1757
|
function CollectionLikeSerializer(elementSerializer) {
|
|
1874
1758
|
AbstractCollectionSerializer.call(this);
|
|
1875
|
-
this.
|
|
1759
|
+
this.xo_1 = elementSerializer;
|
|
1876
1760
|
}
|
|
1877
|
-
protoOf(CollectionLikeSerializer).
|
|
1878
|
-
var size = this.
|
|
1761
|
+
protoOf(CollectionLikeSerializer).yo = function (encoder, value) {
|
|
1762
|
+
var size = this.hp(value);
|
|
1879
1763
|
// Inline function 'kotlinx.serialization.encoding.encodeCollection' call
|
|
1880
|
-
var descriptor = this.
|
|
1881
|
-
var composite = encoder.
|
|
1882
|
-
var iterator = this.
|
|
1764
|
+
var descriptor = this.jk();
|
|
1765
|
+
var composite = encoder.qn(descriptor, size);
|
|
1766
|
+
var iterator = this.jp(value);
|
|
1883
1767
|
var inductionVariable = 0;
|
|
1884
1768
|
if (inductionVariable < size)
|
|
1885
1769
|
do {
|
|
1886
1770
|
var index = inductionVariable;
|
|
1887
1771
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1888
|
-
composite.
|
|
1772
|
+
composite.kn(this.jk(), index, this.xo_1, iterator.o());
|
|
1889
1773
|
}
|
|
1890
1774
|
while (inductionVariable < size);
|
|
1891
|
-
composite.
|
|
1775
|
+
composite.mm(descriptor);
|
|
1892
1776
|
};
|
|
1893
|
-
protoOf(CollectionLikeSerializer).
|
|
1894
|
-
return this.
|
|
1777
|
+
protoOf(CollectionLikeSerializer).kk = function (encoder, value) {
|
|
1778
|
+
return this.yo(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1895
1779
|
};
|
|
1896
1780
|
function AbstractCollectionSerializer() {
|
|
1897
1781
|
}
|
|
1898
1782
|
function PrimitiveArraySerializer(primitiveSerializer) {
|
|
1899
1783
|
CollectionLikeSerializer.call(this, primitiveSerializer);
|
|
1900
|
-
this.
|
|
1784
|
+
this.vp_1 = new PrimitiveArrayDescriptor(primitiveSerializer.jk());
|
|
1901
1785
|
}
|
|
1902
|
-
protoOf(PrimitiveArraySerializer).
|
|
1903
|
-
return this.
|
|
1786
|
+
protoOf(PrimitiveArraySerializer).jk = function () {
|
|
1787
|
+
return this.vp_1;
|
|
1904
1788
|
};
|
|
1905
|
-
protoOf(PrimitiveArraySerializer).
|
|
1789
|
+
protoOf(PrimitiveArraySerializer).wp = function (_this__u8e3s4) {
|
|
1906
1790
|
var message = 'This method lead to boxing and must not be used, use writeContents instead';
|
|
1907
1791
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1908
1792
|
};
|
|
1909
|
-
protoOf(PrimitiveArraySerializer).
|
|
1910
|
-
return this.
|
|
1793
|
+
protoOf(PrimitiveArraySerializer).jp = function (_this__u8e3s4) {
|
|
1794
|
+
return this.wp((_this__u8e3s4 == null ? true : !(_this__u8e3s4 == null)) ? _this__u8e3s4 : THROW_CCE());
|
|
1911
1795
|
};
|
|
1912
|
-
protoOf(PrimitiveArraySerializer).
|
|
1913
|
-
var size = this.
|
|
1796
|
+
protoOf(PrimitiveArraySerializer).yp = function (encoder, value) {
|
|
1797
|
+
var size = this.hp(value);
|
|
1914
1798
|
// Inline function 'kotlinx.serialization.encoding.encodeCollection' call
|
|
1915
|
-
var descriptor = this.
|
|
1916
|
-
var composite = encoder.
|
|
1917
|
-
this.
|
|
1918
|
-
composite.
|
|
1799
|
+
var descriptor = this.vp_1;
|
|
1800
|
+
var composite = encoder.qn(descriptor, size);
|
|
1801
|
+
this.xp(composite, value, size);
|
|
1802
|
+
composite.mm(descriptor);
|
|
1919
1803
|
};
|
|
1920
|
-
protoOf(PrimitiveArraySerializer).
|
|
1921
|
-
return this.
|
|
1804
|
+
protoOf(PrimitiveArraySerializer).kk = function (encoder, value) {
|
|
1805
|
+
return this.yp(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1922
1806
|
};
|
|
1923
|
-
protoOf(PrimitiveArraySerializer).
|
|
1924
|
-
return this.
|
|
1807
|
+
protoOf(PrimitiveArraySerializer).yo = function (encoder, value) {
|
|
1808
|
+
return this.yp(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1925
1809
|
};
|
|
1926
1810
|
function InlinePrimitiveDescriptor(name, primitiveSerializer) {
|
|
1927
1811
|
return new InlineClassDescriptor(name, new InlinePrimitiveDescriptor$1(primitiveSerializer));
|
|
1928
1812
|
}
|
|
1929
1813
|
function InlineClassDescriptor(name, generatedSerializer) {
|
|
1930
1814
|
PluginGeneratedSerialDescriptor.call(this, name, generatedSerializer, 1);
|
|
1931
|
-
this.
|
|
1815
|
+
this.lq_1 = true;
|
|
1932
1816
|
}
|
|
1933
|
-
protoOf(InlineClassDescriptor).
|
|
1934
|
-
return this.
|
|
1817
|
+
protoOf(InlineClassDescriptor).ml = function () {
|
|
1818
|
+
return this.lq_1;
|
|
1935
1819
|
};
|
|
1936
1820
|
protoOf(InlineClassDescriptor).hashCode = function () {
|
|
1937
1821
|
return imul(protoOf(PluginGeneratedSerialDescriptor).hashCode.call(this), 31);
|
|
@@ -1948,29 +1832,29 @@
|
|
|
1948
1832
|
tmp$ret$0 = false;
|
|
1949
1833
|
break $l$block_5;
|
|
1950
1834
|
}
|
|
1951
|
-
if (!(this.
|
|
1835
|
+
if (!(this.kl() === other.kl())) {
|
|
1952
1836
|
tmp$ret$0 = false;
|
|
1953
1837
|
break $l$block_5;
|
|
1954
1838
|
}
|
|
1955
|
-
if (!(other.
|
|
1839
|
+
if (!(other.lq_1 && contentEquals(this.yq(), other.yq()))) {
|
|
1956
1840
|
tmp$ret$0 = false;
|
|
1957
1841
|
break $l$block_5;
|
|
1958
1842
|
}
|
|
1959
|
-
if (!(this.
|
|
1843
|
+
if (!(this.nl() === other.nl())) {
|
|
1960
1844
|
tmp$ret$0 = false;
|
|
1961
1845
|
break $l$block_5;
|
|
1962
1846
|
}
|
|
1963
1847
|
var inductionVariable = 0;
|
|
1964
|
-
var last = this.
|
|
1848
|
+
var last = this.nl();
|
|
1965
1849
|
if (inductionVariable < last)
|
|
1966
1850
|
do {
|
|
1967
1851
|
var index = inductionVariable;
|
|
1968
1852
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1969
|
-
if (!(this.
|
|
1853
|
+
if (!(this.ql(index).kl() === other.ql(index).kl())) {
|
|
1970
1854
|
tmp$ret$0 = false;
|
|
1971
1855
|
break $l$block_5;
|
|
1972
1856
|
}
|
|
1973
|
-
if (!equals(this.
|
|
1857
|
+
if (!equals(this.ql(index).ll(), other.ql(index).ll())) {
|
|
1974
1858
|
tmp$ret$0 = false;
|
|
1975
1859
|
break $l$block_5;
|
|
1976
1860
|
}
|
|
@@ -1981,19 +1865,19 @@
|
|
|
1981
1865
|
return tmp$ret$0;
|
|
1982
1866
|
};
|
|
1983
1867
|
function InlinePrimitiveDescriptor$1($primitiveSerializer) {
|
|
1984
|
-
this.
|
|
1868
|
+
this.ar_1 = $primitiveSerializer;
|
|
1985
1869
|
}
|
|
1986
|
-
protoOf(InlinePrimitiveDescriptor$1).
|
|
1870
|
+
protoOf(InlinePrimitiveDescriptor$1).br = function () {
|
|
1987
1871
|
// Inline function 'kotlin.arrayOf' call
|
|
1988
1872
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1989
1873
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1990
|
-
return [this.
|
|
1874
|
+
return [this.ar_1];
|
|
1991
1875
|
};
|
|
1992
|
-
protoOf(InlinePrimitiveDescriptor$1).
|
|
1876
|
+
protoOf(InlinePrimitiveDescriptor$1).jk = function () {
|
|
1993
1877
|
var message = 'unsupported';
|
|
1994
1878
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1995
1879
|
};
|
|
1996
|
-
protoOf(InlinePrimitiveDescriptor$1).
|
|
1880
|
+
protoOf(InlinePrimitiveDescriptor$1).kk = function (encoder, value) {
|
|
1997
1881
|
// Inline function 'kotlin.error' call
|
|
1998
1882
|
var message = 'unsupported';
|
|
1999
1883
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
@@ -2004,42 +1888,42 @@
|
|
|
2004
1888
|
function NoOpEncoder() {
|
|
2005
1889
|
NoOpEncoder_instance = this;
|
|
2006
1890
|
AbstractEncoder.call(this);
|
|
2007
|
-
this.
|
|
1891
|
+
this.dr_1 = EmptySerializersModule_0();
|
|
2008
1892
|
}
|
|
2009
|
-
protoOf(NoOpEncoder).
|
|
2010
|
-
return this.
|
|
1893
|
+
protoOf(NoOpEncoder).on = function () {
|
|
1894
|
+
return this.dr_1;
|
|
2011
1895
|
};
|
|
2012
|
-
protoOf(NoOpEncoder).
|
|
1896
|
+
protoOf(NoOpEncoder).om = function (value) {
|
|
2013
1897
|
return Unit_instance;
|
|
2014
1898
|
};
|
|
2015
|
-
protoOf(NoOpEncoder).
|
|
1899
|
+
protoOf(NoOpEncoder).pm = function () {
|
|
2016
1900
|
return Unit_instance;
|
|
2017
1901
|
};
|
|
2018
|
-
protoOf(NoOpEncoder).
|
|
1902
|
+
protoOf(NoOpEncoder).qm = function (value) {
|
|
2019
1903
|
return Unit_instance;
|
|
2020
1904
|
};
|
|
2021
|
-
protoOf(NoOpEncoder).
|
|
1905
|
+
protoOf(NoOpEncoder).rm = function (value) {
|
|
2022
1906
|
return Unit_instance;
|
|
2023
1907
|
};
|
|
2024
|
-
protoOf(NoOpEncoder).
|
|
1908
|
+
protoOf(NoOpEncoder).sm = function (value) {
|
|
2025
1909
|
return Unit_instance;
|
|
2026
1910
|
};
|
|
2027
|
-
protoOf(NoOpEncoder).
|
|
1911
|
+
protoOf(NoOpEncoder).tm = function (value) {
|
|
2028
1912
|
return Unit_instance;
|
|
2029
1913
|
};
|
|
2030
|
-
protoOf(NoOpEncoder).
|
|
1914
|
+
protoOf(NoOpEncoder).um = function (value) {
|
|
2031
1915
|
return Unit_instance;
|
|
2032
1916
|
};
|
|
2033
|
-
protoOf(NoOpEncoder).
|
|
1917
|
+
protoOf(NoOpEncoder).vm = function (value) {
|
|
2034
1918
|
return Unit_instance;
|
|
2035
1919
|
};
|
|
2036
|
-
protoOf(NoOpEncoder).
|
|
1920
|
+
protoOf(NoOpEncoder).wm = function (value) {
|
|
2037
1921
|
return Unit_instance;
|
|
2038
1922
|
};
|
|
2039
|
-
protoOf(NoOpEncoder).
|
|
1923
|
+
protoOf(NoOpEncoder).xm = function (value) {
|
|
2040
1924
|
return Unit_instance;
|
|
2041
1925
|
};
|
|
2042
|
-
protoOf(NoOpEncoder).
|
|
1926
|
+
protoOf(NoOpEncoder).ym = function (value) {
|
|
2043
1927
|
return Unit_instance;
|
|
2044
1928
|
};
|
|
2045
1929
|
var NoOpEncoder_instance;
|
|
@@ -2053,22 +1937,22 @@
|
|
|
2053
1937
|
}
|
|
2054
1938
|
function NothingSerialDescriptor() {
|
|
2055
1939
|
NothingSerialDescriptor_instance = this;
|
|
2056
|
-
this.
|
|
2057
|
-
this.
|
|
1940
|
+
this.er_1 = OBJECT_getInstance();
|
|
1941
|
+
this.fr_1 = 'kotlin.Nothing';
|
|
2058
1942
|
}
|
|
2059
|
-
protoOf(NothingSerialDescriptor).
|
|
2060
|
-
return this.
|
|
1943
|
+
protoOf(NothingSerialDescriptor).ll = function () {
|
|
1944
|
+
return this.er_1;
|
|
2061
1945
|
};
|
|
2062
|
-
protoOf(NothingSerialDescriptor).
|
|
2063
|
-
return this.
|
|
1946
|
+
protoOf(NothingSerialDescriptor).kl = function () {
|
|
1947
|
+
return this.fr_1;
|
|
2064
1948
|
};
|
|
2065
|
-
protoOf(NothingSerialDescriptor).
|
|
1949
|
+
protoOf(NothingSerialDescriptor).nl = function () {
|
|
2066
1950
|
return 0;
|
|
2067
1951
|
};
|
|
2068
|
-
protoOf(NothingSerialDescriptor).
|
|
1952
|
+
protoOf(NothingSerialDescriptor).pl = function (index) {
|
|
2069
1953
|
error(this);
|
|
2070
1954
|
};
|
|
2071
|
-
protoOf(NothingSerialDescriptor).
|
|
1955
|
+
protoOf(NothingSerialDescriptor).ql = function (index) {
|
|
2072
1956
|
error(this);
|
|
2073
1957
|
};
|
|
2074
1958
|
protoOf(NothingSerialDescriptor).toString = function () {
|
|
@@ -2078,7 +1962,7 @@
|
|
|
2078
1962
|
return this === other;
|
|
2079
1963
|
};
|
|
2080
1964
|
protoOf(NothingSerialDescriptor).hashCode = function () {
|
|
2081
|
-
return getStringHashCode(this.
|
|
1965
|
+
return getStringHashCode(this.fr_1) + imul(31, this.er_1.hashCode()) | 0;
|
|
2082
1966
|
};
|
|
2083
1967
|
var NothingSerialDescriptor_instance;
|
|
2084
1968
|
function NothingSerialDescriptor_getInstance() {
|
|
@@ -2087,22 +1971,22 @@
|
|
|
2087
1971
|
return NothingSerialDescriptor_instance;
|
|
2088
1972
|
}
|
|
2089
1973
|
function NullableSerializer(serializer) {
|
|
2090
|
-
this.
|
|
2091
|
-
this.
|
|
1974
|
+
this.gr_1 = serializer;
|
|
1975
|
+
this.hr_1 = new SerialDescriptorForNullable(this.gr_1.jk());
|
|
2092
1976
|
}
|
|
2093
|
-
protoOf(NullableSerializer).
|
|
2094
|
-
return this.
|
|
1977
|
+
protoOf(NullableSerializer).jk = function () {
|
|
1978
|
+
return this.hr_1;
|
|
2095
1979
|
};
|
|
2096
|
-
protoOf(NullableSerializer).
|
|
1980
|
+
protoOf(NullableSerializer).ir = function (encoder, value) {
|
|
2097
1981
|
if (!(value == null)) {
|
|
2098
|
-
encoder.
|
|
2099
|
-
encoder.
|
|
1982
|
+
encoder.pn();
|
|
1983
|
+
encoder.ln(this.gr_1, value);
|
|
2100
1984
|
} else {
|
|
2101
|
-
encoder.
|
|
1985
|
+
encoder.pm();
|
|
2102
1986
|
}
|
|
2103
1987
|
};
|
|
2104
|
-
protoOf(NullableSerializer).
|
|
2105
|
-
return this.
|
|
1988
|
+
protoOf(NullableSerializer).kk = function (encoder, value) {
|
|
1989
|
+
return this.ir(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
2106
1990
|
};
|
|
2107
1991
|
protoOf(NullableSerializer).equals = function (other) {
|
|
2108
1992
|
if (this === other)
|
|
@@ -2111,25 +1995,25 @@
|
|
|
2111
1995
|
return false;
|
|
2112
1996
|
if (!(other instanceof NullableSerializer))
|
|
2113
1997
|
THROW_CCE();
|
|
2114
|
-
if (!equals(this.
|
|
1998
|
+
if (!equals(this.gr_1, other.gr_1))
|
|
2115
1999
|
return false;
|
|
2116
2000
|
return true;
|
|
2117
2001
|
};
|
|
2118
2002
|
protoOf(NullableSerializer).hashCode = function () {
|
|
2119
|
-
return hashCode(this.
|
|
2003
|
+
return hashCode(this.gr_1);
|
|
2120
2004
|
};
|
|
2121
2005
|
function SerialDescriptorForNullable(original) {
|
|
2122
|
-
this.
|
|
2123
|
-
this.
|
|
2124
|
-
this.
|
|
2006
|
+
this.rl_1 = original;
|
|
2007
|
+
this.sl_1 = this.rl_1.kl() + '?';
|
|
2008
|
+
this.tl_1 = cachedSerialNames(this.rl_1);
|
|
2125
2009
|
}
|
|
2126
|
-
protoOf(SerialDescriptorForNullable).
|
|
2127
|
-
return this.
|
|
2010
|
+
protoOf(SerialDescriptorForNullable).kl = function () {
|
|
2011
|
+
return this.sl_1;
|
|
2128
2012
|
};
|
|
2129
|
-
protoOf(SerialDescriptorForNullable).
|
|
2130
|
-
return this.
|
|
2013
|
+
protoOf(SerialDescriptorForNullable).km = function () {
|
|
2014
|
+
return this.tl_1;
|
|
2131
2015
|
};
|
|
2132
|
-
protoOf(SerialDescriptorForNullable).
|
|
2016
|
+
protoOf(SerialDescriptorForNullable).gl = function () {
|
|
2133
2017
|
return true;
|
|
2134
2018
|
};
|
|
2135
2019
|
protoOf(SerialDescriptorForNullable).equals = function (other) {
|
|
@@ -2137,37 +2021,37 @@
|
|
|
2137
2021
|
return true;
|
|
2138
2022
|
if (!(other instanceof SerialDescriptorForNullable))
|
|
2139
2023
|
return false;
|
|
2140
|
-
if (!equals(this.
|
|
2024
|
+
if (!equals(this.rl_1, other.rl_1))
|
|
2141
2025
|
return false;
|
|
2142
2026
|
return true;
|
|
2143
2027
|
};
|
|
2144
2028
|
protoOf(SerialDescriptorForNullable).toString = function () {
|
|
2145
|
-
return toString(this.
|
|
2029
|
+
return toString(this.rl_1) + '?';
|
|
2146
2030
|
};
|
|
2147
2031
|
protoOf(SerialDescriptorForNullable).hashCode = function () {
|
|
2148
|
-
return imul(hashCode(this.
|
|
2032
|
+
return imul(hashCode(this.rl_1), 31);
|
|
2149
2033
|
};
|
|
2150
|
-
protoOf(SerialDescriptorForNullable).
|
|
2151
|
-
return this.
|
|
2034
|
+
protoOf(SerialDescriptorForNullable).ll = function () {
|
|
2035
|
+
return this.rl_1.ll();
|
|
2152
2036
|
};
|
|
2153
|
-
protoOf(SerialDescriptorForNullable).
|
|
2154
|
-
return this.
|
|
2037
|
+
protoOf(SerialDescriptorForNullable).ml = function () {
|
|
2038
|
+
return this.rl_1.ml();
|
|
2155
2039
|
};
|
|
2156
|
-
protoOf(SerialDescriptorForNullable).
|
|
2157
|
-
return this.
|
|
2040
|
+
protoOf(SerialDescriptorForNullable).nl = function () {
|
|
2041
|
+
return this.rl_1.nl();
|
|
2158
2042
|
};
|
|
2159
|
-
protoOf(SerialDescriptorForNullable).
|
|
2160
|
-
return this.
|
|
2043
|
+
protoOf(SerialDescriptorForNullable).ol = function () {
|
|
2044
|
+
return this.rl_1.ol();
|
|
2161
2045
|
};
|
|
2162
|
-
protoOf(SerialDescriptorForNullable).
|
|
2163
|
-
return this.
|
|
2046
|
+
protoOf(SerialDescriptorForNullable).pl = function (index) {
|
|
2047
|
+
return this.rl_1.pl(index);
|
|
2164
2048
|
};
|
|
2165
|
-
protoOf(SerialDescriptorForNullable).
|
|
2166
|
-
return this.
|
|
2049
|
+
protoOf(SerialDescriptorForNullable).ql = function (index) {
|
|
2050
|
+
return this.rl_1.ql(index);
|
|
2167
2051
|
};
|
|
2168
2052
|
function ObjectSerializer$descriptor$delegate$lambda$lambda(this$0) {
|
|
2169
2053
|
return function ($this$buildSerialDescriptor) {
|
|
2170
|
-
$this$buildSerialDescriptor.
|
|
2054
|
+
$this$buildSerialDescriptor.nk_1 = this$0.kr_1;
|
|
2171
2055
|
return Unit_instance;
|
|
2172
2056
|
};
|
|
2173
2057
|
}
|
|
@@ -2179,28 +2063,28 @@
|
|
|
2179
2063
|
}
|
|
2180
2064
|
function ObjectSerializer$_get_descriptor_$ref_7z4xb6() {
|
|
2181
2065
|
return function (p0) {
|
|
2182
|
-
return p0.
|
|
2066
|
+
return p0.jk();
|
|
2183
2067
|
};
|
|
2184
2068
|
}
|
|
2185
2069
|
function ObjectSerializer(serialName, objectInstance) {
|
|
2186
|
-
this.
|
|
2187
|
-
this.
|
|
2070
|
+
this.jr_1 = objectInstance;
|
|
2071
|
+
this.kr_1 = emptyList();
|
|
2188
2072
|
var tmp = this;
|
|
2189
2073
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2190
|
-
tmp.
|
|
2074
|
+
tmp.lr_1 = lazy(tmp_0, ObjectSerializer$descriptor$delegate$lambda(serialName, this));
|
|
2191
2075
|
}
|
|
2192
|
-
protoOf(ObjectSerializer).
|
|
2193
|
-
var tmp0 = this.
|
|
2076
|
+
protoOf(ObjectSerializer).jk = function () {
|
|
2077
|
+
var tmp0 = this.lr_1;
|
|
2194
2078
|
var tmp = KProperty1;
|
|
2195
2079
|
// Inline function 'kotlin.getValue' call
|
|
2196
2080
|
getPropertyCallableRef('descriptor', 1, tmp, ObjectSerializer$_get_descriptor_$ref_7z4xb6(), null);
|
|
2197
2081
|
return tmp0.z();
|
|
2198
2082
|
};
|
|
2199
|
-
protoOf(ObjectSerializer).
|
|
2200
|
-
encoder.
|
|
2083
|
+
protoOf(ObjectSerializer).yk = function (encoder, value) {
|
|
2084
|
+
encoder.lm(this.jk()).mm(this.jk());
|
|
2201
2085
|
};
|
|
2202
|
-
protoOf(ObjectSerializer).
|
|
2203
|
-
return this.
|
|
2086
|
+
protoOf(ObjectSerializer).kk = function (encoder, value) {
|
|
2087
|
+
return this.yk(encoder, !(value == null) ? value : THROW_CCE());
|
|
2204
2088
|
};
|
|
2205
2089
|
function get_EMPTY_DESCRIPTOR_ARRAY() {
|
|
2206
2090
|
_init_properties_Platform_common_kt__3qzecs();
|
|
@@ -2210,16 +2094,16 @@
|
|
|
2210
2094
|
function cachedSerialNames(_this__u8e3s4) {
|
|
2211
2095
|
_init_properties_Platform_common_kt__3qzecs();
|
|
2212
2096
|
if (isInterface(_this__u8e3s4, CachedNames))
|
|
2213
|
-
return _this__u8e3s4.
|
|
2214
|
-
var result = HashSet_init_$Create$_0(_this__u8e3s4.
|
|
2097
|
+
return _this__u8e3s4.km();
|
|
2098
|
+
var result = HashSet_init_$Create$_0(_this__u8e3s4.nl());
|
|
2215
2099
|
var inductionVariable = 0;
|
|
2216
|
-
var last = _this__u8e3s4.
|
|
2100
|
+
var last = _this__u8e3s4.nl();
|
|
2217
2101
|
if (inductionVariable < last)
|
|
2218
2102
|
do {
|
|
2219
2103
|
var i = inductionVariable;
|
|
2220
2104
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2221
2105
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2222
|
-
var element = _this__u8e3s4.
|
|
2106
|
+
var element = _this__u8e3s4.pl(i);
|
|
2223
2107
|
result.e(element);
|
|
2224
2108
|
}
|
|
2225
2109
|
while (inductionVariable < last);
|
|
@@ -2227,7 +2111,7 @@
|
|
|
2227
2111
|
}
|
|
2228
2112
|
function kclass(_this__u8e3s4) {
|
|
2229
2113
|
_init_properties_Platform_common_kt__3qzecs();
|
|
2230
|
-
var t = _this__u8e3s4.
|
|
2114
|
+
var t = _this__u8e3s4.qa();
|
|
2231
2115
|
var tmp;
|
|
2232
2116
|
if (!(t == null) ? isInterface(t, KClass) : false) {
|
|
2233
2117
|
tmp = t;
|
|
@@ -2259,7 +2143,7 @@
|
|
|
2259
2143
|
}
|
|
2260
2144
|
function notRegisteredMessage(_this__u8e3s4) {
|
|
2261
2145
|
_init_properties_Platform_common_kt__3qzecs();
|
|
2262
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2146
|
+
var tmp0_elvis_lhs = _this__u8e3s4.ca();
|
|
2263
2147
|
return notRegisteredMessage_0(tmp0_elvis_lhs == null ? '<local class name not available>' : tmp0_elvis_lhs);
|
|
2264
2148
|
}
|
|
2265
2149
|
function compactArray(_this__u8e3s4) {
|
|
@@ -2267,7 +2151,7 @@
|
|
|
2267
2151
|
// Inline function 'kotlin.takeUnless' call
|
|
2268
2152
|
var tmp;
|
|
2269
2153
|
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
2270
|
-
if (!(_this__u8e3s4 == null || _this__u8e3s4.
|
|
2154
|
+
if (!(_this__u8e3s4 == null || _this__u8e3s4.j())) {
|
|
2271
2155
|
tmp = _this__u8e3s4;
|
|
2272
2156
|
} else {
|
|
2273
2157
|
tmp = null;
|
|
@@ -2298,19 +2182,19 @@
|
|
|
2298
2182
|
}
|
|
2299
2183
|
}
|
|
2300
2184
|
function hashCodeImpl(_this__u8e3s4, typeParams) {
|
|
2301
|
-
var result = getStringHashCode(_this__u8e3s4.
|
|
2185
|
+
var result = getStringHashCode(_this__u8e3s4.kl());
|
|
2302
2186
|
result = imul(31, result) + contentHashCode(typeParams) | 0;
|
|
2303
2187
|
var elementDescriptors = get_elementDescriptors(_this__u8e3s4);
|
|
2304
2188
|
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
|
|
2305
2189
|
// Inline function 'kotlin.collections.fold' call
|
|
2306
2190
|
var accumulator = 1;
|
|
2307
|
-
var _iterator__ex2g4s = elementDescriptors.
|
|
2308
|
-
while (_iterator__ex2g4s.
|
|
2309
|
-
var element = _iterator__ex2g4s.
|
|
2191
|
+
var _iterator__ex2g4s = elementDescriptors.m();
|
|
2192
|
+
while (_iterator__ex2g4s.n()) {
|
|
2193
|
+
var element = _iterator__ex2g4s.o();
|
|
2310
2194
|
var hash = accumulator;
|
|
2311
2195
|
var tmp = imul(31, hash);
|
|
2312
2196
|
// Inline function 'kotlin.hashCode' call
|
|
2313
|
-
var tmp0_safe_receiver = element.
|
|
2197
|
+
var tmp0_safe_receiver = element.kl();
|
|
2314
2198
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
2315
2199
|
accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
2316
2200
|
}
|
|
@@ -2318,13 +2202,13 @@
|
|
|
2318
2202
|
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
|
|
2319
2203
|
// Inline function 'kotlin.collections.fold' call
|
|
2320
2204
|
var accumulator_0 = 1;
|
|
2321
|
-
var _iterator__ex2g4s_0 = elementDescriptors.
|
|
2322
|
-
while (_iterator__ex2g4s_0.
|
|
2323
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
2205
|
+
var _iterator__ex2g4s_0 = elementDescriptors.m();
|
|
2206
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
2207
|
+
var element_0 = _iterator__ex2g4s_0.o();
|
|
2324
2208
|
var hash_0 = accumulator_0;
|
|
2325
2209
|
var tmp_0 = imul(31, hash_0);
|
|
2326
2210
|
// Inline function 'kotlin.hashCode' call
|
|
2327
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
2211
|
+
var tmp0_safe_receiver_0 = element_0.ll();
|
|
2328
2212
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
2329
2213
|
accumulator_0 = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
2330
2214
|
}
|
|
@@ -2333,15 +2217,20 @@
|
|
|
2333
2217
|
result = imul(31, result) + kindHash | 0;
|
|
2334
2218
|
return result;
|
|
2335
2219
|
}
|
|
2220
|
+
function toStringImpl(_this__u8e3s4) {
|
|
2221
|
+
var tmp = until(0, _this__u8e3s4.nl());
|
|
2222
|
+
var tmp_0 = _this__u8e3s4.kl() + '(';
|
|
2223
|
+
return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, toStringImpl$lambda(_this__u8e3s4));
|
|
2224
|
+
}
|
|
2336
2225
|
function _get_childSerializers__7vnyfa($this) {
|
|
2337
|
-
var tmp0 = $this.
|
|
2226
|
+
var tmp0 = $this.vq_1;
|
|
2338
2227
|
var tmp = KProperty1;
|
|
2339
2228
|
// Inline function 'kotlin.getValue' call
|
|
2340
2229
|
getPropertyCallableRef('childSerializers', 1, tmp, PluginGeneratedSerialDescriptor$_get_childSerializers_$ref_e7suca(), null);
|
|
2341
2230
|
return tmp0.z();
|
|
2342
2231
|
}
|
|
2343
2232
|
function _get__hashCode__tgwhef_0($this) {
|
|
2344
|
-
var tmp0 = $this.
|
|
2233
|
+
var tmp0 = $this.xq_1;
|
|
2345
2234
|
var tmp = KProperty1;
|
|
2346
2235
|
// Inline function 'kotlin.getValue' call
|
|
2347
2236
|
getPropertyCallableRef('_hashCode', 1, tmp, PluginGeneratedSerialDescriptor$_get__hashCode_$ref_cmj4vz(), null);
|
|
@@ -2350,22 +2239,22 @@
|
|
|
2350
2239
|
function buildIndices($this) {
|
|
2351
2240
|
var indices = HashMap_init_$Create$();
|
|
2352
2241
|
var inductionVariable = 0;
|
|
2353
|
-
var last = $this.
|
|
2242
|
+
var last = $this.qq_1.length - 1 | 0;
|
|
2354
2243
|
if (inductionVariable <= last)
|
|
2355
2244
|
do {
|
|
2356
2245
|
var i = inductionVariable;
|
|
2357
2246
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2358
2247
|
// Inline function 'kotlin.collections.set' call
|
|
2359
|
-
var key = $this.
|
|
2360
|
-
indices.
|
|
2248
|
+
var key = $this.qq_1[i];
|
|
2249
|
+
indices.d2(key, i);
|
|
2361
2250
|
}
|
|
2362
2251
|
while (inductionVariable <= last);
|
|
2363
2252
|
return indices;
|
|
2364
2253
|
}
|
|
2365
2254
|
function PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this$0) {
|
|
2366
2255
|
return function () {
|
|
2367
|
-
var tmp0_safe_receiver = this$0.
|
|
2368
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2256
|
+
var tmp0_safe_receiver = this$0.nq_1;
|
|
2257
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.br();
|
|
2369
2258
|
return tmp1_elvis_lhs == null ? get_EMPTY_SERIALIZER_ARRAY() : tmp1_elvis_lhs;
|
|
2370
2259
|
};
|
|
2371
2260
|
}
|
|
@@ -2376,8 +2265,8 @@
|
|
|
2376
2265
|
}
|
|
2377
2266
|
function PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this$0) {
|
|
2378
2267
|
return function () {
|
|
2379
|
-
var tmp0_safe_receiver = this$0.
|
|
2380
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2268
|
+
var tmp0_safe_receiver = this$0.nq_1;
|
|
2269
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.cr();
|
|
2381
2270
|
var tmp;
|
|
2382
2271
|
if (tmp1_safe_receiver == null) {
|
|
2383
2272
|
tmp = null;
|
|
@@ -2390,7 +2279,7 @@
|
|
|
2390
2279
|
while (inductionVariable < last) {
|
|
2391
2280
|
var item = tmp1_safe_receiver[inductionVariable];
|
|
2392
2281
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2393
|
-
var tmp$ret$0 = item.
|
|
2282
|
+
var tmp$ret$0 = item.jk();
|
|
2394
2283
|
destination.e(tmp$ret$0);
|
|
2395
2284
|
}
|
|
2396
2285
|
tmp = destination;
|
|
@@ -2400,12 +2289,12 @@
|
|
|
2400
2289
|
}
|
|
2401
2290
|
function PluginGeneratedSerialDescriptor$_get_typeParameterDescriptors_$ref_jk3pka() {
|
|
2402
2291
|
return function (p0) {
|
|
2403
|
-
return p0.
|
|
2292
|
+
return p0.yq();
|
|
2404
2293
|
};
|
|
2405
2294
|
}
|
|
2406
2295
|
function PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this$0) {
|
|
2407
2296
|
return function () {
|
|
2408
|
-
return hashCodeImpl(this$0, this$0.
|
|
2297
|
+
return hashCodeImpl(this$0, this$0.yq());
|
|
2409
2298
|
};
|
|
2410
2299
|
}
|
|
2411
2300
|
function PluginGeneratedSerialDescriptor$_get__hashCode_$ref_cmj4vz() {
|
|
@@ -2413,81 +2302,76 @@
|
|
|
2413
2302
|
return _get__hashCode__tgwhef_0(p0);
|
|
2414
2303
|
};
|
|
2415
2304
|
}
|
|
2416
|
-
function PluginGeneratedSerialDescriptor$toString$lambda(this$0) {
|
|
2417
|
-
return function (i) {
|
|
2418
|
-
return this$0.cl(i) + ': ' + this$0.dl(i).nk();
|
|
2419
|
-
};
|
|
2420
|
-
}
|
|
2421
2305
|
function PluginGeneratedSerialDescriptor(serialName, generatedSerializer, elementsCount) {
|
|
2422
2306
|
generatedSerializer = generatedSerializer === VOID ? null : generatedSerializer;
|
|
2423
|
-
this.
|
|
2424
|
-
this.
|
|
2425
|
-
this.
|
|
2426
|
-
this.
|
|
2307
|
+
this.mq_1 = serialName;
|
|
2308
|
+
this.nq_1 = generatedSerializer;
|
|
2309
|
+
this.oq_1 = elementsCount;
|
|
2310
|
+
this.pq_1 = -1;
|
|
2427
2311
|
var tmp = this;
|
|
2428
2312
|
var tmp_0 = 0;
|
|
2429
|
-
var tmp_1 = this.
|
|
2313
|
+
var tmp_1 = this.oq_1;
|
|
2430
2314
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2431
2315
|
var tmp_2 = Array(tmp_1);
|
|
2432
2316
|
while (tmp_0 < tmp_1) {
|
|
2433
2317
|
tmp_2[tmp_0] = '[UNINITIALIZED]';
|
|
2434
2318
|
tmp_0 = tmp_0 + 1 | 0;
|
|
2435
2319
|
}
|
|
2436
|
-
tmp.
|
|
2320
|
+
tmp.qq_1 = tmp_2;
|
|
2437
2321
|
var tmp_3 = this;
|
|
2438
2322
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2439
|
-
var size = this.
|
|
2440
|
-
tmp_3.
|
|
2441
|
-
this.
|
|
2442
|
-
this.
|
|
2443
|
-
this.
|
|
2323
|
+
var size = this.oq_1;
|
|
2324
|
+
tmp_3.rq_1 = Array(size);
|
|
2325
|
+
this.sq_1 = null;
|
|
2326
|
+
this.tq_1 = booleanArray(this.oq_1);
|
|
2327
|
+
this.uq_1 = emptyMap();
|
|
2444
2328
|
var tmp_4 = this;
|
|
2445
2329
|
var tmp_5 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2446
|
-
tmp_4.
|
|
2330
|
+
tmp_4.vq_1 = lazy(tmp_5, PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this));
|
|
2447
2331
|
var tmp_6 = this;
|
|
2448
2332
|
var tmp_7 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2449
|
-
tmp_6.
|
|
2333
|
+
tmp_6.wq_1 = lazy(tmp_7, PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this));
|
|
2450
2334
|
var tmp_8 = this;
|
|
2451
2335
|
var tmp_9 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2452
|
-
tmp_8.
|
|
2336
|
+
tmp_8.xq_1 = lazy(tmp_9, PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this));
|
|
2453
2337
|
}
|
|
2454
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2455
|
-
return this.
|
|
2338
|
+
protoOf(PluginGeneratedSerialDescriptor).kl = function () {
|
|
2339
|
+
return this.mq_1;
|
|
2456
2340
|
};
|
|
2457
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2458
|
-
return this.
|
|
2341
|
+
protoOf(PluginGeneratedSerialDescriptor).nl = function () {
|
|
2342
|
+
return this.oq_1;
|
|
2459
2343
|
};
|
|
2460
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2344
|
+
protoOf(PluginGeneratedSerialDescriptor).ll = function () {
|
|
2461
2345
|
return CLASS_getInstance();
|
|
2462
2346
|
};
|
|
2463
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2464
|
-
var tmp0_elvis_lhs = this.
|
|
2347
|
+
protoOf(PluginGeneratedSerialDescriptor).ol = function () {
|
|
2348
|
+
var tmp0_elvis_lhs = this.sq_1;
|
|
2465
2349
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
2466
2350
|
};
|
|
2467
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2468
|
-
return this.
|
|
2351
|
+
protoOf(PluginGeneratedSerialDescriptor).km = function () {
|
|
2352
|
+
return this.uq_1.w1();
|
|
2469
2353
|
};
|
|
2470
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2471
|
-
var tmp0 = this.
|
|
2354
|
+
protoOf(PluginGeneratedSerialDescriptor).yq = function () {
|
|
2355
|
+
var tmp0 = this.wq_1;
|
|
2472
2356
|
var tmp = KProperty1;
|
|
2473
2357
|
// Inline function 'kotlin.getValue' call
|
|
2474
2358
|
getPropertyCallableRef('typeParameterDescriptors', 1, tmp, PluginGeneratedSerialDescriptor$_get_typeParameterDescriptors_$ref_jk3pka(), null);
|
|
2475
2359
|
return tmp0.z();
|
|
2476
2360
|
};
|
|
2477
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2478
|
-
this.
|
|
2479
|
-
this.
|
|
2480
|
-
this.
|
|
2481
|
-
this.
|
|
2482
|
-
if (this.
|
|
2483
|
-
this.
|
|
2361
|
+
protoOf(PluginGeneratedSerialDescriptor).zq = function (name, isOptional) {
|
|
2362
|
+
this.pq_1 = this.pq_1 + 1 | 0;
|
|
2363
|
+
this.qq_1[this.pq_1] = name;
|
|
2364
|
+
this.tq_1[this.pq_1] = isOptional;
|
|
2365
|
+
this.rq_1[this.pq_1] = null;
|
|
2366
|
+
if (this.pq_1 === (this.oq_1 - 1 | 0)) {
|
|
2367
|
+
this.uq_1 = buildIndices(this);
|
|
2484
2368
|
}
|
|
2485
2369
|
};
|
|
2486
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2487
|
-
return getChecked(_get_childSerializers__7vnyfa(this), index).
|
|
2370
|
+
protoOf(PluginGeneratedSerialDescriptor).ql = function (index) {
|
|
2371
|
+
return getChecked(_get_childSerializers__7vnyfa(this), index).jk();
|
|
2488
2372
|
};
|
|
2489
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2490
|
-
return getChecked(this.
|
|
2373
|
+
protoOf(PluginGeneratedSerialDescriptor).pl = function (index) {
|
|
2374
|
+
return getChecked(this.qq_1, index);
|
|
2491
2375
|
};
|
|
2492
2376
|
protoOf(PluginGeneratedSerialDescriptor).equals = function (other) {
|
|
2493
2377
|
var tmp$ret$0;
|
|
@@ -2501,29 +2385,29 @@
|
|
|
2501
2385
|
tmp$ret$0 = false;
|
|
2502
2386
|
break $l$block_5;
|
|
2503
2387
|
}
|
|
2504
|
-
if (!(this.
|
|
2388
|
+
if (!(this.kl() === other.kl())) {
|
|
2505
2389
|
tmp$ret$0 = false;
|
|
2506
2390
|
break $l$block_5;
|
|
2507
2391
|
}
|
|
2508
|
-
if (!contentEquals(this.
|
|
2392
|
+
if (!contentEquals(this.yq(), other.yq())) {
|
|
2509
2393
|
tmp$ret$0 = false;
|
|
2510
2394
|
break $l$block_5;
|
|
2511
2395
|
}
|
|
2512
|
-
if (!(this.
|
|
2396
|
+
if (!(this.nl() === other.nl())) {
|
|
2513
2397
|
tmp$ret$0 = false;
|
|
2514
2398
|
break $l$block_5;
|
|
2515
2399
|
}
|
|
2516
2400
|
var inductionVariable = 0;
|
|
2517
|
-
var last = this.
|
|
2401
|
+
var last = this.nl();
|
|
2518
2402
|
if (inductionVariable < last)
|
|
2519
2403
|
do {
|
|
2520
2404
|
var index = inductionVariable;
|
|
2521
2405
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2522
|
-
if (!(this.
|
|
2406
|
+
if (!(this.ql(index).kl() === other.ql(index).kl())) {
|
|
2523
2407
|
tmp$ret$0 = false;
|
|
2524
2408
|
break $l$block_5;
|
|
2525
2409
|
}
|
|
2526
|
-
if (!equals(this.
|
|
2410
|
+
if (!equals(this.ql(index).ll(), other.ql(index).ll())) {
|
|
2527
2411
|
tmp$ret$0 = false;
|
|
2528
2412
|
break $l$block_5;
|
|
2529
2413
|
}
|
|
@@ -2537,10 +2421,13 @@
|
|
|
2537
2421
|
return _get__hashCode__tgwhef_0(this);
|
|
2538
2422
|
};
|
|
2539
2423
|
protoOf(PluginGeneratedSerialDescriptor).toString = function () {
|
|
2540
|
-
|
|
2541
|
-
var tmp_0 = this.nk() + '(';
|
|
2542
|
-
return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, PluginGeneratedSerialDescriptor$toString$lambda(this));
|
|
2424
|
+
return toStringImpl(this);
|
|
2543
2425
|
};
|
|
2426
|
+
function toStringImpl$lambda($this_toStringImpl) {
|
|
2427
|
+
return function (i) {
|
|
2428
|
+
return $this_toStringImpl.pl(i) + ': ' + $this_toStringImpl.ql(i).kl();
|
|
2429
|
+
};
|
|
2430
|
+
}
|
|
2544
2431
|
function get_EMPTY_SERIALIZER_ARRAY() {
|
|
2545
2432
|
_init_properties_PluginHelperInterfaces_kt__xgvzfp();
|
|
2546
2433
|
return EMPTY_SERIALIZER_ARRAY;
|
|
@@ -2562,26 +2449,26 @@
|
|
|
2562
2449
|
}
|
|
2563
2450
|
function CharArraySerializer_0() {
|
|
2564
2451
|
CharArraySerializer_instance = this;
|
|
2565
|
-
PrimitiveArraySerializer.call(this,
|
|
2452
|
+
PrimitiveArraySerializer.call(this, serializer_1(Companion_getInstance()));
|
|
2566
2453
|
}
|
|
2567
|
-
protoOf(CharArraySerializer_0).
|
|
2454
|
+
protoOf(CharArraySerializer_0).pr = function (_this__u8e3s4) {
|
|
2568
2455
|
return _this__u8e3s4.length;
|
|
2569
2456
|
};
|
|
2570
|
-
protoOf(CharArraySerializer_0).
|
|
2571
|
-
return this.
|
|
2457
|
+
protoOf(CharArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2458
|
+
return this.pr((!(_this__u8e3s4 == null) ? isCharArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2572
2459
|
};
|
|
2573
|
-
protoOf(CharArraySerializer_0).
|
|
2460
|
+
protoOf(CharArraySerializer_0).qr = function (encoder, content, size) {
|
|
2574
2461
|
var inductionVariable = 0;
|
|
2575
2462
|
if (inductionVariable < size)
|
|
2576
2463
|
do {
|
|
2577
2464
|
var i = inductionVariable;
|
|
2578
2465
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2579
|
-
encoder.
|
|
2466
|
+
encoder.hn(this.vp_1, i, content[i]);
|
|
2580
2467
|
}
|
|
2581
2468
|
while (inductionVariable < size);
|
|
2582
2469
|
};
|
|
2583
|
-
protoOf(CharArraySerializer_0).
|
|
2584
|
-
return this.
|
|
2470
|
+
protoOf(CharArraySerializer_0).xp = function (encoder, content, size) {
|
|
2471
|
+
return this.qr(encoder, (!(content == null) ? isCharArray(content) : false) ? content : THROW_CCE(), size);
|
|
2585
2472
|
};
|
|
2586
2473
|
var CharArraySerializer_instance;
|
|
2587
2474
|
function CharArraySerializer_getInstance() {
|
|
@@ -2591,26 +2478,26 @@
|
|
|
2591
2478
|
}
|
|
2592
2479
|
function DoubleArraySerializer_0() {
|
|
2593
2480
|
DoubleArraySerializer_instance = this;
|
|
2594
|
-
PrimitiveArraySerializer.call(this,
|
|
2481
|
+
PrimitiveArraySerializer.call(this, serializer_2(DoubleCompanionObject_instance));
|
|
2595
2482
|
}
|
|
2596
|
-
protoOf(DoubleArraySerializer_0).
|
|
2483
|
+
protoOf(DoubleArraySerializer_0).tr = function (_this__u8e3s4) {
|
|
2597
2484
|
return _this__u8e3s4.length;
|
|
2598
2485
|
};
|
|
2599
|
-
protoOf(DoubleArraySerializer_0).
|
|
2600
|
-
return this.
|
|
2486
|
+
protoOf(DoubleArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2487
|
+
return this.tr((!(_this__u8e3s4 == null) ? isDoubleArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2601
2488
|
};
|
|
2602
|
-
protoOf(DoubleArraySerializer_0).
|
|
2489
|
+
protoOf(DoubleArraySerializer_0).ur = function (encoder, content, size) {
|
|
2603
2490
|
var inductionVariable = 0;
|
|
2604
2491
|
if (inductionVariable < size)
|
|
2605
2492
|
do {
|
|
2606
2493
|
var i = inductionVariable;
|
|
2607
2494
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2608
|
-
encoder.
|
|
2495
|
+
encoder.gn(this.vp_1, i, content[i]);
|
|
2609
2496
|
}
|
|
2610
2497
|
while (inductionVariable < size);
|
|
2611
2498
|
};
|
|
2612
|
-
protoOf(DoubleArraySerializer_0).
|
|
2613
|
-
return this.
|
|
2499
|
+
protoOf(DoubleArraySerializer_0).xp = function (encoder, content, size) {
|
|
2500
|
+
return this.ur(encoder, (!(content == null) ? isDoubleArray(content) : false) ? content : THROW_CCE(), size);
|
|
2614
2501
|
};
|
|
2615
2502
|
var DoubleArraySerializer_instance;
|
|
2616
2503
|
function DoubleArraySerializer_getInstance() {
|
|
@@ -2620,26 +2507,26 @@
|
|
|
2620
2507
|
}
|
|
2621
2508
|
function FloatArraySerializer_0() {
|
|
2622
2509
|
FloatArraySerializer_instance = this;
|
|
2623
|
-
PrimitiveArraySerializer.call(this,
|
|
2510
|
+
PrimitiveArraySerializer.call(this, serializer_3(FloatCompanionObject_instance));
|
|
2624
2511
|
}
|
|
2625
|
-
protoOf(FloatArraySerializer_0).
|
|
2512
|
+
protoOf(FloatArraySerializer_0).xr = function (_this__u8e3s4) {
|
|
2626
2513
|
return _this__u8e3s4.length;
|
|
2627
2514
|
};
|
|
2628
|
-
protoOf(FloatArraySerializer_0).
|
|
2629
|
-
return this.
|
|
2515
|
+
protoOf(FloatArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2516
|
+
return this.xr((!(_this__u8e3s4 == null) ? isFloatArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2630
2517
|
};
|
|
2631
|
-
protoOf(FloatArraySerializer_0).
|
|
2518
|
+
protoOf(FloatArraySerializer_0).yr = function (encoder, content, size) {
|
|
2632
2519
|
var inductionVariable = 0;
|
|
2633
2520
|
if (inductionVariable < size)
|
|
2634
2521
|
do {
|
|
2635
2522
|
var i = inductionVariable;
|
|
2636
2523
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2637
|
-
encoder.
|
|
2524
|
+
encoder.fn(this.vp_1, i, content[i]);
|
|
2638
2525
|
}
|
|
2639
2526
|
while (inductionVariable < size);
|
|
2640
2527
|
};
|
|
2641
|
-
protoOf(FloatArraySerializer_0).
|
|
2642
|
-
return this.
|
|
2528
|
+
protoOf(FloatArraySerializer_0).xp = function (encoder, content, size) {
|
|
2529
|
+
return this.yr(encoder, (!(content == null) ? isFloatArray(content) : false) ? content : THROW_CCE(), size);
|
|
2643
2530
|
};
|
|
2644
2531
|
var FloatArraySerializer_instance;
|
|
2645
2532
|
function FloatArraySerializer_getInstance() {
|
|
@@ -2649,26 +2536,26 @@
|
|
|
2649
2536
|
}
|
|
2650
2537
|
function LongArraySerializer_0() {
|
|
2651
2538
|
LongArraySerializer_instance = this;
|
|
2652
|
-
PrimitiveArraySerializer.call(this,
|
|
2539
|
+
PrimitiveArraySerializer.call(this, serializer_4(Companion_getInstance_0()));
|
|
2653
2540
|
}
|
|
2654
|
-
protoOf(LongArraySerializer_0).
|
|
2541
|
+
protoOf(LongArraySerializer_0).bs = function (_this__u8e3s4) {
|
|
2655
2542
|
return _this__u8e3s4.length;
|
|
2656
2543
|
};
|
|
2657
|
-
protoOf(LongArraySerializer_0).
|
|
2658
|
-
return this.
|
|
2544
|
+
protoOf(LongArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2545
|
+
return this.bs((!(_this__u8e3s4 == null) ? isLongArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2659
2546
|
};
|
|
2660
|
-
protoOf(LongArraySerializer_0).
|
|
2547
|
+
protoOf(LongArraySerializer_0).cs = function (encoder, content, size) {
|
|
2661
2548
|
var inductionVariable = 0;
|
|
2662
2549
|
if (inductionVariable < size)
|
|
2663
2550
|
do {
|
|
2664
2551
|
var i = inductionVariable;
|
|
2665
2552
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2666
|
-
encoder.
|
|
2553
|
+
encoder.en(this.vp_1, i, content[i]);
|
|
2667
2554
|
}
|
|
2668
2555
|
while (inductionVariable < size);
|
|
2669
2556
|
};
|
|
2670
|
-
protoOf(LongArraySerializer_0).
|
|
2671
|
-
return this.
|
|
2557
|
+
protoOf(LongArraySerializer_0).xp = function (encoder, content, size) {
|
|
2558
|
+
return this.cs(encoder, (!(content == null) ? isLongArray(content) : false) ? content : THROW_CCE(), size);
|
|
2672
2559
|
};
|
|
2673
2560
|
var LongArraySerializer_instance;
|
|
2674
2561
|
function LongArraySerializer_getInstance() {
|
|
@@ -2678,30 +2565,30 @@
|
|
|
2678
2565
|
}
|
|
2679
2566
|
function ULongArraySerializer_0() {
|
|
2680
2567
|
ULongArraySerializer_instance = this;
|
|
2681
|
-
PrimitiveArraySerializer.call(this,
|
|
2568
|
+
PrimitiveArraySerializer.call(this, serializer_5(Companion_getInstance_1()));
|
|
2682
2569
|
}
|
|
2683
|
-
protoOf(ULongArraySerializer_0).
|
|
2570
|
+
protoOf(ULongArraySerializer_0).fs = function (_this__u8e3s4) {
|
|
2684
2571
|
return _ULongArray___get_size__impl__ju6dtr(_this__u8e3s4);
|
|
2685
2572
|
};
|
|
2686
|
-
protoOf(ULongArraySerializer_0).
|
|
2687
|
-
return this.
|
|
2573
|
+
protoOf(ULongArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2574
|
+
return this.fs(_this__u8e3s4 instanceof ULongArray ? _this__u8e3s4.wj_1 : THROW_CCE());
|
|
2688
2575
|
};
|
|
2689
|
-
protoOf(ULongArraySerializer_0).
|
|
2576
|
+
protoOf(ULongArraySerializer_0).gs = function (encoder, content, size) {
|
|
2690
2577
|
var inductionVariable = 0;
|
|
2691
2578
|
if (inductionVariable < size)
|
|
2692
2579
|
do {
|
|
2693
2580
|
var i = inductionVariable;
|
|
2694
2581
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2695
|
-
var tmp = encoder.
|
|
2582
|
+
var tmp = encoder.jn(this.vp_1, i);
|
|
2696
2583
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2697
2584
|
var this_0 = ULongArray__get_impl_pr71q9(content, i);
|
|
2698
2585
|
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(this_0);
|
|
2699
|
-
tmp.
|
|
2586
|
+
tmp.um(tmp$ret$0);
|
|
2700
2587
|
}
|
|
2701
2588
|
while (inductionVariable < size);
|
|
2702
2589
|
};
|
|
2703
|
-
protoOf(ULongArraySerializer_0).
|
|
2704
|
-
return this.
|
|
2590
|
+
protoOf(ULongArraySerializer_0).xp = function (encoder, content, size) {
|
|
2591
|
+
return this.gs(encoder, content instanceof ULongArray ? content.wj_1 : THROW_CCE(), size);
|
|
2705
2592
|
};
|
|
2706
2593
|
var ULongArraySerializer_instance;
|
|
2707
2594
|
function ULongArraySerializer_getInstance() {
|
|
@@ -2711,26 +2598,26 @@
|
|
|
2711
2598
|
}
|
|
2712
2599
|
function IntArraySerializer_0() {
|
|
2713
2600
|
IntArraySerializer_instance = this;
|
|
2714
|
-
PrimitiveArraySerializer.call(this,
|
|
2601
|
+
PrimitiveArraySerializer.call(this, serializer_6(IntCompanionObject_instance));
|
|
2715
2602
|
}
|
|
2716
|
-
protoOf(IntArraySerializer_0).
|
|
2603
|
+
protoOf(IntArraySerializer_0).js = function (_this__u8e3s4) {
|
|
2717
2604
|
return _this__u8e3s4.length;
|
|
2718
2605
|
};
|
|
2719
|
-
protoOf(IntArraySerializer_0).
|
|
2720
|
-
return this.
|
|
2606
|
+
protoOf(IntArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2607
|
+
return this.js((!(_this__u8e3s4 == null) ? isIntArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2721
2608
|
};
|
|
2722
|
-
protoOf(IntArraySerializer_0).
|
|
2609
|
+
protoOf(IntArraySerializer_0).ks = function (encoder, content, size) {
|
|
2723
2610
|
var inductionVariable = 0;
|
|
2724
2611
|
if (inductionVariable < size)
|
|
2725
2612
|
do {
|
|
2726
2613
|
var i = inductionVariable;
|
|
2727
2614
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2728
|
-
encoder.
|
|
2615
|
+
encoder.dn(this.vp_1, i, content[i]);
|
|
2729
2616
|
}
|
|
2730
2617
|
while (inductionVariable < size);
|
|
2731
2618
|
};
|
|
2732
|
-
protoOf(IntArraySerializer_0).
|
|
2733
|
-
return this.
|
|
2619
|
+
protoOf(IntArraySerializer_0).xp = function (encoder, content, size) {
|
|
2620
|
+
return this.ks(encoder, (!(content == null) ? isIntArray(content) : false) ? content : THROW_CCE(), size);
|
|
2734
2621
|
};
|
|
2735
2622
|
var IntArraySerializer_instance;
|
|
2736
2623
|
function IntArraySerializer_getInstance() {
|
|
@@ -2740,30 +2627,30 @@
|
|
|
2740
2627
|
}
|
|
2741
2628
|
function UIntArraySerializer_0() {
|
|
2742
2629
|
UIntArraySerializer_instance = this;
|
|
2743
|
-
PrimitiveArraySerializer.call(this,
|
|
2630
|
+
PrimitiveArraySerializer.call(this, serializer_7(Companion_getInstance_2()));
|
|
2744
2631
|
}
|
|
2745
|
-
protoOf(UIntArraySerializer_0).
|
|
2632
|
+
protoOf(UIntArraySerializer_0).ns = function (_this__u8e3s4) {
|
|
2746
2633
|
return _UIntArray___get_size__impl__r6l8ci(_this__u8e3s4);
|
|
2747
2634
|
};
|
|
2748
|
-
protoOf(UIntArraySerializer_0).
|
|
2749
|
-
return this.
|
|
2635
|
+
protoOf(UIntArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2636
|
+
return this.ns(_this__u8e3s4 instanceof UIntArray ? _this__u8e3s4.lj_1 : THROW_CCE());
|
|
2750
2637
|
};
|
|
2751
|
-
protoOf(UIntArraySerializer_0).
|
|
2638
|
+
protoOf(UIntArraySerializer_0).os = function (encoder, content, size) {
|
|
2752
2639
|
var inductionVariable = 0;
|
|
2753
2640
|
if (inductionVariable < size)
|
|
2754
2641
|
do {
|
|
2755
2642
|
var i = inductionVariable;
|
|
2756
2643
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2757
|
-
var tmp = encoder.
|
|
2644
|
+
var tmp = encoder.jn(this.vp_1, i);
|
|
2758
2645
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2759
2646
|
var this_0 = UIntArray__get_impl_gp5kza(content, i);
|
|
2760
2647
|
var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(this_0);
|
|
2761
|
-
tmp.
|
|
2648
|
+
tmp.tm(tmp$ret$0);
|
|
2762
2649
|
}
|
|
2763
2650
|
while (inductionVariable < size);
|
|
2764
2651
|
};
|
|
2765
|
-
protoOf(UIntArraySerializer_0).
|
|
2766
|
-
return this.
|
|
2652
|
+
protoOf(UIntArraySerializer_0).xp = function (encoder, content, size) {
|
|
2653
|
+
return this.os(encoder, content instanceof UIntArray ? content.lj_1 : THROW_CCE(), size);
|
|
2767
2654
|
};
|
|
2768
2655
|
var UIntArraySerializer_instance;
|
|
2769
2656
|
function UIntArraySerializer_getInstance() {
|
|
@@ -2773,26 +2660,26 @@
|
|
|
2773
2660
|
}
|
|
2774
2661
|
function ShortArraySerializer_0() {
|
|
2775
2662
|
ShortArraySerializer_instance = this;
|
|
2776
|
-
PrimitiveArraySerializer.call(this,
|
|
2663
|
+
PrimitiveArraySerializer.call(this, serializer_8(ShortCompanionObject_instance));
|
|
2777
2664
|
}
|
|
2778
|
-
protoOf(ShortArraySerializer_0).
|
|
2665
|
+
protoOf(ShortArraySerializer_0).rs = function (_this__u8e3s4) {
|
|
2779
2666
|
return _this__u8e3s4.length;
|
|
2780
2667
|
};
|
|
2781
|
-
protoOf(ShortArraySerializer_0).
|
|
2782
|
-
return this.
|
|
2668
|
+
protoOf(ShortArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2669
|
+
return this.rs((!(_this__u8e3s4 == null) ? isShortArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2783
2670
|
};
|
|
2784
|
-
protoOf(ShortArraySerializer_0).
|
|
2671
|
+
protoOf(ShortArraySerializer_0).ss = function (encoder, content, size) {
|
|
2785
2672
|
var inductionVariable = 0;
|
|
2786
2673
|
if (inductionVariable < size)
|
|
2787
2674
|
do {
|
|
2788
2675
|
var i = inductionVariable;
|
|
2789
2676
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2790
|
-
encoder.
|
|
2677
|
+
encoder.cn(this.vp_1, i, content[i]);
|
|
2791
2678
|
}
|
|
2792
2679
|
while (inductionVariable < size);
|
|
2793
2680
|
};
|
|
2794
|
-
protoOf(ShortArraySerializer_0).
|
|
2795
|
-
return this.
|
|
2681
|
+
protoOf(ShortArraySerializer_0).xp = function (encoder, content, size) {
|
|
2682
|
+
return this.ss(encoder, (!(content == null) ? isShortArray(content) : false) ? content : THROW_CCE(), size);
|
|
2796
2683
|
};
|
|
2797
2684
|
var ShortArraySerializer_instance;
|
|
2798
2685
|
function ShortArraySerializer_getInstance() {
|
|
@@ -2802,30 +2689,30 @@
|
|
|
2802
2689
|
}
|
|
2803
2690
|
function UShortArraySerializer_0() {
|
|
2804
2691
|
UShortArraySerializer_instance = this;
|
|
2805
|
-
PrimitiveArraySerializer.call(this,
|
|
2692
|
+
PrimitiveArraySerializer.call(this, serializer_9(Companion_getInstance_3()));
|
|
2806
2693
|
}
|
|
2807
|
-
protoOf(UShortArraySerializer_0).
|
|
2694
|
+
protoOf(UShortArraySerializer_0).vs = function (_this__u8e3s4) {
|
|
2808
2695
|
return _UShortArray___get_size__impl__jqto1b(_this__u8e3s4);
|
|
2809
2696
|
};
|
|
2810
|
-
protoOf(UShortArraySerializer_0).
|
|
2811
|
-
return this.
|
|
2697
|
+
protoOf(UShortArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2698
|
+
return this.vs(_this__u8e3s4 instanceof UShortArray ? _this__u8e3s4.hk_1 : THROW_CCE());
|
|
2812
2699
|
};
|
|
2813
|
-
protoOf(UShortArraySerializer_0).
|
|
2700
|
+
protoOf(UShortArraySerializer_0).ws = function (encoder, content, size) {
|
|
2814
2701
|
var inductionVariable = 0;
|
|
2815
2702
|
if (inductionVariable < size)
|
|
2816
2703
|
do {
|
|
2817
2704
|
var i = inductionVariable;
|
|
2818
2705
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2819
|
-
var tmp = encoder.
|
|
2706
|
+
var tmp = encoder.jn(this.vp_1, i);
|
|
2820
2707
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2821
2708
|
var this_0 = UShortArray__get_impl_fnbhmx(content, i);
|
|
2822
2709
|
var tmp$ret$0 = _UShort___get_data__impl__g0245(this_0);
|
|
2823
|
-
tmp.
|
|
2710
|
+
tmp.sm(tmp$ret$0);
|
|
2824
2711
|
}
|
|
2825
2712
|
while (inductionVariable < size);
|
|
2826
2713
|
};
|
|
2827
|
-
protoOf(UShortArraySerializer_0).
|
|
2828
|
-
return this.
|
|
2714
|
+
protoOf(UShortArraySerializer_0).xp = function (encoder, content, size) {
|
|
2715
|
+
return this.ws(encoder, content instanceof UShortArray ? content.hk_1 : THROW_CCE(), size);
|
|
2829
2716
|
};
|
|
2830
2717
|
var UShortArraySerializer_instance;
|
|
2831
2718
|
function UShortArraySerializer_getInstance() {
|
|
@@ -2835,26 +2722,26 @@
|
|
|
2835
2722
|
}
|
|
2836
2723
|
function ByteArraySerializer_0() {
|
|
2837
2724
|
ByteArraySerializer_instance = this;
|
|
2838
|
-
PrimitiveArraySerializer.call(this,
|
|
2725
|
+
PrimitiveArraySerializer.call(this, serializer_10(ByteCompanionObject_instance));
|
|
2839
2726
|
}
|
|
2840
|
-
protoOf(ByteArraySerializer_0).
|
|
2727
|
+
protoOf(ByteArraySerializer_0).zs = function (_this__u8e3s4) {
|
|
2841
2728
|
return _this__u8e3s4.length;
|
|
2842
2729
|
};
|
|
2843
|
-
protoOf(ByteArraySerializer_0).
|
|
2844
|
-
return this.
|
|
2730
|
+
protoOf(ByteArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2731
|
+
return this.zs((!(_this__u8e3s4 == null) ? isByteArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2845
2732
|
};
|
|
2846
|
-
protoOf(ByteArraySerializer_0).
|
|
2733
|
+
protoOf(ByteArraySerializer_0).at = function (encoder, content, size) {
|
|
2847
2734
|
var inductionVariable = 0;
|
|
2848
2735
|
if (inductionVariable < size)
|
|
2849
2736
|
do {
|
|
2850
2737
|
var i = inductionVariable;
|
|
2851
2738
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2852
|
-
encoder.
|
|
2739
|
+
encoder.bn(this.vp_1, i, content[i]);
|
|
2853
2740
|
}
|
|
2854
2741
|
while (inductionVariable < size);
|
|
2855
2742
|
};
|
|
2856
|
-
protoOf(ByteArraySerializer_0).
|
|
2857
|
-
return this.
|
|
2743
|
+
protoOf(ByteArraySerializer_0).xp = function (encoder, content, size) {
|
|
2744
|
+
return this.at(encoder, (!(content == null) ? isByteArray(content) : false) ? content : THROW_CCE(), size);
|
|
2858
2745
|
};
|
|
2859
2746
|
var ByteArraySerializer_instance;
|
|
2860
2747
|
function ByteArraySerializer_getInstance() {
|
|
@@ -2864,30 +2751,30 @@
|
|
|
2864
2751
|
}
|
|
2865
2752
|
function UByteArraySerializer_0() {
|
|
2866
2753
|
UByteArraySerializer_instance = this;
|
|
2867
|
-
PrimitiveArraySerializer.call(this,
|
|
2754
|
+
PrimitiveArraySerializer.call(this, serializer_11(Companion_getInstance_4()));
|
|
2868
2755
|
}
|
|
2869
|
-
protoOf(UByteArraySerializer_0).
|
|
2756
|
+
protoOf(UByteArraySerializer_0).dt = function (_this__u8e3s4) {
|
|
2870
2757
|
return _UByteArray___get_size__impl__h6pkdv(_this__u8e3s4);
|
|
2871
2758
|
};
|
|
2872
|
-
protoOf(UByteArraySerializer_0).
|
|
2873
|
-
return this.
|
|
2759
|
+
protoOf(UByteArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2760
|
+
return this.dt(_this__u8e3s4 instanceof UByteArray ? _this__u8e3s4.aj_1 : THROW_CCE());
|
|
2874
2761
|
};
|
|
2875
|
-
protoOf(UByteArraySerializer_0).
|
|
2762
|
+
protoOf(UByteArraySerializer_0).et = function (encoder, content, size) {
|
|
2876
2763
|
var inductionVariable = 0;
|
|
2877
2764
|
if (inductionVariable < size)
|
|
2878
2765
|
do {
|
|
2879
2766
|
var i = inductionVariable;
|
|
2880
2767
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2881
|
-
var tmp = encoder.
|
|
2768
|
+
var tmp = encoder.jn(this.vp_1, i);
|
|
2882
2769
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2883
2770
|
var this_0 = UByteArray__get_impl_t5f3hv(content, i);
|
|
2884
2771
|
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(this_0);
|
|
2885
|
-
tmp.
|
|
2772
|
+
tmp.rm(tmp$ret$0);
|
|
2886
2773
|
}
|
|
2887
2774
|
while (inductionVariable < size);
|
|
2888
2775
|
};
|
|
2889
|
-
protoOf(UByteArraySerializer_0).
|
|
2890
|
-
return this.
|
|
2776
|
+
protoOf(UByteArraySerializer_0).xp = function (encoder, content, size) {
|
|
2777
|
+
return this.et(encoder, content instanceof UByteArray ? content.aj_1 : THROW_CCE(), size);
|
|
2891
2778
|
};
|
|
2892
2779
|
var UByteArraySerializer_instance;
|
|
2893
2780
|
function UByteArraySerializer_getInstance() {
|
|
@@ -2897,26 +2784,26 @@
|
|
|
2897
2784
|
}
|
|
2898
2785
|
function BooleanArraySerializer_0() {
|
|
2899
2786
|
BooleanArraySerializer_instance = this;
|
|
2900
|
-
PrimitiveArraySerializer.call(this,
|
|
2787
|
+
PrimitiveArraySerializer.call(this, serializer_12(BooleanCompanionObject_instance));
|
|
2901
2788
|
}
|
|
2902
|
-
protoOf(BooleanArraySerializer_0).
|
|
2789
|
+
protoOf(BooleanArraySerializer_0).ht = function (_this__u8e3s4) {
|
|
2903
2790
|
return _this__u8e3s4.length;
|
|
2904
2791
|
};
|
|
2905
|
-
protoOf(BooleanArraySerializer_0).
|
|
2906
|
-
return this.
|
|
2792
|
+
protoOf(BooleanArraySerializer_0).hp = function (_this__u8e3s4) {
|
|
2793
|
+
return this.ht((!(_this__u8e3s4 == null) ? isBooleanArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2907
2794
|
};
|
|
2908
|
-
protoOf(BooleanArraySerializer_0).
|
|
2795
|
+
protoOf(BooleanArraySerializer_0).it = function (encoder, content, size) {
|
|
2909
2796
|
var inductionVariable = 0;
|
|
2910
2797
|
if (inductionVariable < size)
|
|
2911
2798
|
do {
|
|
2912
2799
|
var i = inductionVariable;
|
|
2913
2800
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2914
|
-
encoder.
|
|
2801
|
+
encoder.an(this.vp_1, i, content[i]);
|
|
2915
2802
|
}
|
|
2916
2803
|
while (inductionVariable < size);
|
|
2917
2804
|
};
|
|
2918
|
-
protoOf(BooleanArraySerializer_0).
|
|
2919
|
-
return this.
|
|
2805
|
+
protoOf(BooleanArraySerializer_0).xp = function (encoder, content, size) {
|
|
2806
|
+
return this.it(encoder, (!(content == null) ? isBooleanArray(content) : false) ? content : THROW_CCE(), size);
|
|
2920
2807
|
};
|
|
2921
2808
|
var BooleanArraySerializer_instance;
|
|
2922
2809
|
function BooleanArraySerializer_getInstance() {
|
|
@@ -2931,21 +2818,21 @@
|
|
|
2931
2818
|
var BUILTIN_SERIALIZERS;
|
|
2932
2819
|
function builtinSerializerOrNull(_this__u8e3s4) {
|
|
2933
2820
|
_init_properties_Primitives_kt__k0eto4();
|
|
2934
|
-
var tmp = get_BUILTIN_SERIALIZERS().
|
|
2821
|
+
var tmp = get_BUILTIN_SERIALIZERS().v1(_this__u8e3s4);
|
|
2935
2822
|
return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : THROW_CCE();
|
|
2936
2823
|
}
|
|
2937
2824
|
function StringSerializer() {
|
|
2938
2825
|
StringSerializer_instance = this;
|
|
2939
|
-
this.
|
|
2826
|
+
this.jt_1 = new PrimitiveSerialDescriptor('kotlin.String', STRING_getInstance());
|
|
2940
2827
|
}
|
|
2941
|
-
protoOf(StringSerializer).
|
|
2942
|
-
return this.
|
|
2828
|
+
protoOf(StringSerializer).jk = function () {
|
|
2829
|
+
return this.jt_1;
|
|
2943
2830
|
};
|
|
2944
|
-
protoOf(StringSerializer).
|
|
2945
|
-
return encoder.
|
|
2831
|
+
protoOf(StringSerializer).kt = function (encoder, value) {
|
|
2832
|
+
return encoder.ym(value);
|
|
2946
2833
|
};
|
|
2947
|
-
protoOf(StringSerializer).
|
|
2948
|
-
return this.
|
|
2834
|
+
protoOf(StringSerializer).kk = function (encoder, value) {
|
|
2835
|
+
return this.kt(encoder, (!(value == null) ? typeof value === 'string' : false) ? value : THROW_CCE());
|
|
2949
2836
|
};
|
|
2950
2837
|
var StringSerializer_instance;
|
|
2951
2838
|
function StringSerializer_getInstance() {
|
|
@@ -2955,16 +2842,16 @@
|
|
|
2955
2842
|
}
|
|
2956
2843
|
function CharSerializer() {
|
|
2957
2844
|
CharSerializer_instance = this;
|
|
2958
|
-
this.
|
|
2845
|
+
this.lt_1 = new PrimitiveSerialDescriptor('kotlin.Char', CHAR_getInstance());
|
|
2959
2846
|
}
|
|
2960
|
-
protoOf(CharSerializer).
|
|
2961
|
-
return this.
|
|
2847
|
+
protoOf(CharSerializer).jk = function () {
|
|
2848
|
+
return this.lt_1;
|
|
2962
2849
|
};
|
|
2963
|
-
protoOf(CharSerializer).
|
|
2964
|
-
return encoder.
|
|
2850
|
+
protoOf(CharSerializer).mt = function (encoder, value) {
|
|
2851
|
+
return encoder.xm(value);
|
|
2965
2852
|
};
|
|
2966
|
-
protoOf(CharSerializer).
|
|
2967
|
-
return this.
|
|
2853
|
+
protoOf(CharSerializer).kk = function (encoder, value) {
|
|
2854
|
+
return this.mt(encoder, value instanceof Char ? value.f1_1 : THROW_CCE());
|
|
2968
2855
|
};
|
|
2969
2856
|
var CharSerializer_instance;
|
|
2970
2857
|
function CharSerializer_getInstance() {
|
|
@@ -2974,16 +2861,16 @@
|
|
|
2974
2861
|
}
|
|
2975
2862
|
function DoubleSerializer() {
|
|
2976
2863
|
DoubleSerializer_instance = this;
|
|
2977
|
-
this.
|
|
2864
|
+
this.nt_1 = new PrimitiveSerialDescriptor('kotlin.Double', DOUBLE_getInstance());
|
|
2978
2865
|
}
|
|
2979
|
-
protoOf(DoubleSerializer).
|
|
2980
|
-
return this.
|
|
2866
|
+
protoOf(DoubleSerializer).jk = function () {
|
|
2867
|
+
return this.nt_1;
|
|
2981
2868
|
};
|
|
2982
|
-
protoOf(DoubleSerializer).
|
|
2983
|
-
return encoder.
|
|
2869
|
+
protoOf(DoubleSerializer).ot = function (encoder, value) {
|
|
2870
|
+
return encoder.wm(value);
|
|
2984
2871
|
};
|
|
2985
|
-
protoOf(DoubleSerializer).
|
|
2986
|
-
return this.
|
|
2872
|
+
protoOf(DoubleSerializer).kk = function (encoder, value) {
|
|
2873
|
+
return this.ot(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
2987
2874
|
};
|
|
2988
2875
|
var DoubleSerializer_instance;
|
|
2989
2876
|
function DoubleSerializer_getInstance() {
|
|
@@ -2993,16 +2880,16 @@
|
|
|
2993
2880
|
}
|
|
2994
2881
|
function FloatSerializer() {
|
|
2995
2882
|
FloatSerializer_instance = this;
|
|
2996
|
-
this.
|
|
2883
|
+
this.pt_1 = new PrimitiveSerialDescriptor('kotlin.Float', FLOAT_getInstance());
|
|
2997
2884
|
}
|
|
2998
|
-
protoOf(FloatSerializer).
|
|
2999
|
-
return this.
|
|
2885
|
+
protoOf(FloatSerializer).jk = function () {
|
|
2886
|
+
return this.pt_1;
|
|
3000
2887
|
};
|
|
3001
|
-
protoOf(FloatSerializer).
|
|
3002
|
-
return encoder.
|
|
2888
|
+
protoOf(FloatSerializer).qt = function (encoder, value) {
|
|
2889
|
+
return encoder.vm(value);
|
|
3003
2890
|
};
|
|
3004
|
-
protoOf(FloatSerializer).
|
|
3005
|
-
return this.
|
|
2891
|
+
protoOf(FloatSerializer).kk = function (encoder, value) {
|
|
2892
|
+
return this.qt(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
3006
2893
|
};
|
|
3007
2894
|
var FloatSerializer_instance;
|
|
3008
2895
|
function FloatSerializer_getInstance() {
|
|
@@ -3012,16 +2899,16 @@
|
|
|
3012
2899
|
}
|
|
3013
2900
|
function LongSerializer() {
|
|
3014
2901
|
LongSerializer_instance = this;
|
|
3015
|
-
this.
|
|
2902
|
+
this.rt_1 = new PrimitiveSerialDescriptor('kotlin.Long', LONG_getInstance());
|
|
3016
2903
|
}
|
|
3017
|
-
protoOf(LongSerializer).
|
|
3018
|
-
return this.
|
|
2904
|
+
protoOf(LongSerializer).jk = function () {
|
|
2905
|
+
return this.rt_1;
|
|
3019
2906
|
};
|
|
3020
|
-
protoOf(LongSerializer).
|
|
3021
|
-
return encoder.
|
|
2907
|
+
protoOf(LongSerializer).st = function (encoder, value) {
|
|
2908
|
+
return encoder.um(value);
|
|
3022
2909
|
};
|
|
3023
|
-
protoOf(LongSerializer).
|
|
3024
|
-
return this.
|
|
2910
|
+
protoOf(LongSerializer).kk = function (encoder, value) {
|
|
2911
|
+
return this.st(encoder, value instanceof Long ? value : THROW_CCE());
|
|
3025
2912
|
};
|
|
3026
2913
|
var LongSerializer_instance;
|
|
3027
2914
|
function LongSerializer_getInstance() {
|
|
@@ -3031,16 +2918,16 @@
|
|
|
3031
2918
|
}
|
|
3032
2919
|
function IntSerializer() {
|
|
3033
2920
|
IntSerializer_instance = this;
|
|
3034
|
-
this.
|
|
2921
|
+
this.tt_1 = new PrimitiveSerialDescriptor('kotlin.Int', INT_getInstance());
|
|
3035
2922
|
}
|
|
3036
|
-
protoOf(IntSerializer).
|
|
3037
|
-
return this.
|
|
2923
|
+
protoOf(IntSerializer).jk = function () {
|
|
2924
|
+
return this.tt_1;
|
|
3038
2925
|
};
|
|
3039
|
-
protoOf(IntSerializer).
|
|
3040
|
-
return encoder.
|
|
2926
|
+
protoOf(IntSerializer).ut = function (encoder, value) {
|
|
2927
|
+
return encoder.tm(value);
|
|
3041
2928
|
};
|
|
3042
|
-
protoOf(IntSerializer).
|
|
3043
|
-
return this.
|
|
2929
|
+
protoOf(IntSerializer).kk = function (encoder, value) {
|
|
2930
|
+
return this.ut(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
3044
2931
|
};
|
|
3045
2932
|
var IntSerializer_instance;
|
|
3046
2933
|
function IntSerializer_getInstance() {
|
|
@@ -3050,16 +2937,16 @@
|
|
|
3050
2937
|
}
|
|
3051
2938
|
function ShortSerializer() {
|
|
3052
2939
|
ShortSerializer_instance = this;
|
|
3053
|
-
this.
|
|
2940
|
+
this.vt_1 = new PrimitiveSerialDescriptor('kotlin.Short', SHORT_getInstance());
|
|
3054
2941
|
}
|
|
3055
|
-
protoOf(ShortSerializer).
|
|
3056
|
-
return this.
|
|
2942
|
+
protoOf(ShortSerializer).jk = function () {
|
|
2943
|
+
return this.vt_1;
|
|
3057
2944
|
};
|
|
3058
|
-
protoOf(ShortSerializer).
|
|
3059
|
-
return encoder.
|
|
2945
|
+
protoOf(ShortSerializer).wt = function (encoder, value) {
|
|
2946
|
+
return encoder.sm(value);
|
|
3060
2947
|
};
|
|
3061
|
-
protoOf(ShortSerializer).
|
|
3062
|
-
return this.
|
|
2948
|
+
protoOf(ShortSerializer).kk = function (encoder, value) {
|
|
2949
|
+
return this.wt(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
3063
2950
|
};
|
|
3064
2951
|
var ShortSerializer_instance;
|
|
3065
2952
|
function ShortSerializer_getInstance() {
|
|
@@ -3069,16 +2956,16 @@
|
|
|
3069
2956
|
}
|
|
3070
2957
|
function ByteSerializer() {
|
|
3071
2958
|
ByteSerializer_instance = this;
|
|
3072
|
-
this.
|
|
2959
|
+
this.xt_1 = new PrimitiveSerialDescriptor('kotlin.Byte', BYTE_getInstance());
|
|
3073
2960
|
}
|
|
3074
|
-
protoOf(ByteSerializer).
|
|
3075
|
-
return this.
|
|
2961
|
+
protoOf(ByteSerializer).jk = function () {
|
|
2962
|
+
return this.xt_1;
|
|
3076
2963
|
};
|
|
3077
|
-
protoOf(ByteSerializer).
|
|
3078
|
-
return encoder.
|
|
2964
|
+
protoOf(ByteSerializer).yt = function (encoder, value) {
|
|
2965
|
+
return encoder.rm(value);
|
|
3079
2966
|
};
|
|
3080
|
-
protoOf(ByteSerializer).
|
|
3081
|
-
return this.
|
|
2967
|
+
protoOf(ByteSerializer).kk = function (encoder, value) {
|
|
2968
|
+
return this.yt(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
3082
2969
|
};
|
|
3083
2970
|
var ByteSerializer_instance;
|
|
3084
2971
|
function ByteSerializer_getInstance() {
|
|
@@ -3088,16 +2975,16 @@
|
|
|
3088
2975
|
}
|
|
3089
2976
|
function BooleanSerializer() {
|
|
3090
2977
|
BooleanSerializer_instance = this;
|
|
3091
|
-
this.
|
|
2978
|
+
this.zt_1 = new PrimitiveSerialDescriptor('kotlin.Boolean', BOOLEAN_getInstance());
|
|
3092
2979
|
}
|
|
3093
|
-
protoOf(BooleanSerializer).
|
|
3094
|
-
return this.
|
|
2980
|
+
protoOf(BooleanSerializer).jk = function () {
|
|
2981
|
+
return this.zt_1;
|
|
3095
2982
|
};
|
|
3096
|
-
protoOf(BooleanSerializer).
|
|
3097
|
-
return encoder.
|
|
2983
|
+
protoOf(BooleanSerializer).au = function (encoder, value) {
|
|
2984
|
+
return encoder.qm(value);
|
|
3098
2985
|
};
|
|
3099
|
-
protoOf(BooleanSerializer).
|
|
3100
|
-
return this.
|
|
2986
|
+
protoOf(BooleanSerializer).kk = function (encoder, value) {
|
|
2987
|
+
return this.au(encoder, (!(value == null) ? typeof value === 'boolean' : false) ? value : THROW_CCE());
|
|
3101
2988
|
};
|
|
3102
2989
|
var BooleanSerializer_instance;
|
|
3103
2990
|
function BooleanSerializer_getInstance() {
|
|
@@ -3107,16 +2994,16 @@
|
|
|
3107
2994
|
}
|
|
3108
2995
|
function UnitSerializer() {
|
|
3109
2996
|
UnitSerializer_instance = this;
|
|
3110
|
-
this.
|
|
2997
|
+
this.bu_1 = new ObjectSerializer('kotlin.Unit', Unit_instance);
|
|
3111
2998
|
}
|
|
3112
|
-
protoOf(UnitSerializer).
|
|
3113
|
-
return this.
|
|
2999
|
+
protoOf(UnitSerializer).jk = function () {
|
|
3000
|
+
return this.bu_1.jk();
|
|
3114
3001
|
};
|
|
3115
|
-
protoOf(UnitSerializer).
|
|
3116
|
-
this.
|
|
3002
|
+
protoOf(UnitSerializer).cu = function (encoder, value) {
|
|
3003
|
+
this.bu_1.yk(encoder, Unit_instance);
|
|
3117
3004
|
};
|
|
3118
|
-
protoOf(UnitSerializer).
|
|
3119
|
-
return this.
|
|
3005
|
+
protoOf(UnitSerializer).kk = function (encoder, value) {
|
|
3006
|
+
return this.cu(encoder, value instanceof Unit ? value : THROW_CCE());
|
|
3120
3007
|
};
|
|
3121
3008
|
var UnitSerializer_instance;
|
|
3122
3009
|
function UnitSerializer_getInstance() {
|
|
@@ -3125,59 +3012,42 @@
|
|
|
3125
3012
|
return UnitSerializer_instance;
|
|
3126
3013
|
}
|
|
3127
3014
|
function error_0($this) {
|
|
3128
|
-
throw IllegalStateException_init_$Create$('Primitive descriptor does not have elements');
|
|
3015
|
+
throw IllegalStateException_init_$Create$('Primitive descriptor ' + $this.du_1 + ' does not have elements');
|
|
3129
3016
|
}
|
|
3130
|
-
function
|
|
3131
|
-
this.
|
|
3132
|
-
this.
|
|
3017
|
+
function PrimitiveSerialDescriptor(serialName, kind) {
|
|
3018
|
+
this.du_1 = serialName;
|
|
3019
|
+
this.eu_1 = kind;
|
|
3133
3020
|
}
|
|
3134
|
-
protoOf(
|
|
3135
|
-
return this.
|
|
3021
|
+
protoOf(PrimitiveSerialDescriptor).kl = function () {
|
|
3022
|
+
return this.du_1;
|
|
3136
3023
|
};
|
|
3137
|
-
protoOf(
|
|
3138
|
-
return this.
|
|
3024
|
+
protoOf(PrimitiveSerialDescriptor).ll = function () {
|
|
3025
|
+
return this.eu_1;
|
|
3139
3026
|
};
|
|
3140
|
-
protoOf(
|
|
3027
|
+
protoOf(PrimitiveSerialDescriptor).nl = function () {
|
|
3141
3028
|
return 0;
|
|
3142
3029
|
};
|
|
3143
|
-
protoOf(
|
|
3030
|
+
protoOf(PrimitiveSerialDescriptor).pl = function (index) {
|
|
3144
3031
|
error_0(this);
|
|
3145
3032
|
};
|
|
3146
|
-
protoOf(
|
|
3033
|
+
protoOf(PrimitiveSerialDescriptor).ql = function (index) {
|
|
3147
3034
|
error_0(this);
|
|
3148
3035
|
};
|
|
3149
|
-
protoOf(
|
|
3150
|
-
return 'PrimitiveDescriptor(' + this.
|
|
3036
|
+
protoOf(PrimitiveSerialDescriptor).toString = function () {
|
|
3037
|
+
return 'PrimitiveDescriptor(' + this.du_1 + ')';
|
|
3151
3038
|
};
|
|
3152
|
-
protoOf(
|
|
3039
|
+
protoOf(PrimitiveSerialDescriptor).equals = function (other) {
|
|
3153
3040
|
if (this === other)
|
|
3154
3041
|
return true;
|
|
3155
|
-
if (!(other instanceof
|
|
3042
|
+
if (!(other instanceof PrimitiveSerialDescriptor))
|
|
3156
3043
|
return false;
|
|
3157
|
-
if (this.
|
|
3044
|
+
if (this.du_1 === other.du_1 && equals(this.eu_1, other.eu_1))
|
|
3158
3045
|
return true;
|
|
3159
3046
|
return false;
|
|
3160
3047
|
};
|
|
3161
|
-
protoOf(
|
|
3162
|
-
return getStringHashCode(this.
|
|
3048
|
+
protoOf(PrimitiveSerialDescriptor).hashCode = function () {
|
|
3049
|
+
return getStringHashCode(this.du_1) + imul(31, this.eu_1.hashCode()) | 0;
|
|
3163
3050
|
};
|
|
3164
|
-
function PrimitiveDescriptorSafe(serialName, kind) {
|
|
3165
|
-
_init_properties_Primitives_kt__k0eto4();
|
|
3166
|
-
checkName(serialName);
|
|
3167
|
-
return new PrimitiveSerialDescriptor_0(serialName, kind);
|
|
3168
|
-
}
|
|
3169
|
-
function checkName(serialName) {
|
|
3170
|
-
_init_properties_Primitives_kt__k0eto4();
|
|
3171
|
-
var values = get_BUILTIN_SERIALIZERS().y1();
|
|
3172
|
-
var _iterator__ex2g4s = values.p();
|
|
3173
|
-
while (_iterator__ex2g4s.q()) {
|
|
3174
|
-
var primitive = _iterator__ex2g4s.r();
|
|
3175
|
-
var primitiveName = primitive.oj().nk();
|
|
3176
|
-
if (serialName === primitiveName) {
|
|
3177
|
-
throw IllegalArgumentException_init_$Create$(trimIndent('\n The name of serial descriptor should uniquely identify associated serializer.\n For serial name ' + serialName + ' there already exists ' + getKClassFromExpression(primitive).aa() + '.\n Please refer to SerialDescriptor documentation for additional information.\n '));
|
|
3178
|
-
}
|
|
3179
|
-
}
|
|
3180
|
-
}
|
|
3181
3051
|
var properties_initialized_Primitives_kt_6dpii6;
|
|
3182
3052
|
function _init_properties_Primitives_kt__k0eto4() {
|
|
3183
3053
|
if (!properties_initialized_Primitives_kt_6dpii6) {
|
|
@@ -3187,8 +3057,8 @@
|
|
|
3187
3057
|
}
|
|
3188
3058
|
function MapEntrySerializer$descriptor$lambda($keySerializer, $valueSerializer) {
|
|
3189
3059
|
return function ($this$buildSerialDescriptor) {
|
|
3190
|
-
$this$buildSerialDescriptor.
|
|
3191
|
-
$this$buildSerialDescriptor.
|
|
3060
|
+
$this$buildSerialDescriptor.tk('key', $keySerializer.jk());
|
|
3061
|
+
$this$buildSerialDescriptor.tk('value', $valueSerializer.jk());
|
|
3192
3062
|
return Unit_instance;
|
|
3193
3063
|
};
|
|
3194
3064
|
}
|
|
@@ -3196,106 +3066,106 @@
|
|
|
3196
3066
|
KeyValueSerializer.call(this, keySerializer, valueSerializer);
|
|
3197
3067
|
var tmp = this;
|
|
3198
3068
|
var tmp_0 = MAP_getInstance();
|
|
3199
|
-
tmp.
|
|
3069
|
+
tmp.hu_1 = buildSerialDescriptor('kotlin.collections.Map.Entry', tmp_0, [], MapEntrySerializer$descriptor$lambda(keySerializer, valueSerializer));
|
|
3200
3070
|
}
|
|
3201
|
-
protoOf(MapEntrySerializer_0).
|
|
3202
|
-
return this.
|
|
3071
|
+
protoOf(MapEntrySerializer_0).jk = function () {
|
|
3072
|
+
return this.hu_1;
|
|
3203
3073
|
};
|
|
3204
|
-
protoOf(MapEntrySerializer_0).
|
|
3074
|
+
protoOf(MapEntrySerializer_0).iu = function (_this__u8e3s4) {
|
|
3205
3075
|
return _this__u8e3s4.y();
|
|
3206
3076
|
};
|
|
3207
|
-
protoOf(MapEntrySerializer_0).
|
|
3208
|
-
return this.
|
|
3077
|
+
protoOf(MapEntrySerializer_0).ju = function (_this__u8e3s4) {
|
|
3078
|
+
return this.iu((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Entry) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
3209
3079
|
};
|
|
3210
|
-
protoOf(MapEntrySerializer_0).
|
|
3080
|
+
protoOf(MapEntrySerializer_0).ku = function (_this__u8e3s4) {
|
|
3211
3081
|
return _this__u8e3s4.z();
|
|
3212
3082
|
};
|
|
3213
|
-
protoOf(MapEntrySerializer_0).
|
|
3214
|
-
return this.
|
|
3083
|
+
protoOf(MapEntrySerializer_0).lu = function (_this__u8e3s4) {
|
|
3084
|
+
return this.ku((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Entry) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
3215
3085
|
};
|
|
3216
3086
|
function PairSerializer$descriptor$lambda($keySerializer, $valueSerializer) {
|
|
3217
3087
|
return function ($this$buildClassSerialDescriptor) {
|
|
3218
|
-
$this$buildClassSerialDescriptor.
|
|
3219
|
-
$this$buildClassSerialDescriptor.
|
|
3088
|
+
$this$buildClassSerialDescriptor.tk('first', $keySerializer.jk());
|
|
3089
|
+
$this$buildClassSerialDescriptor.tk('second', $valueSerializer.jk());
|
|
3220
3090
|
return Unit_instance;
|
|
3221
3091
|
};
|
|
3222
3092
|
}
|
|
3223
3093
|
function PairSerializer_0(keySerializer, valueSerializer) {
|
|
3224
3094
|
KeyValueSerializer.call(this, keySerializer, valueSerializer);
|
|
3225
3095
|
var tmp = this;
|
|
3226
|
-
tmp.
|
|
3096
|
+
tmp.ru_1 = buildClassSerialDescriptor('kotlin.Pair', [], PairSerializer$descriptor$lambda(keySerializer, valueSerializer));
|
|
3227
3097
|
}
|
|
3228
|
-
protoOf(PairSerializer_0).
|
|
3229
|
-
return this.
|
|
3098
|
+
protoOf(PairSerializer_0).jk = function () {
|
|
3099
|
+
return this.ru_1;
|
|
3230
3100
|
};
|
|
3231
|
-
protoOf(PairSerializer_0).
|
|
3232
|
-
return _this__u8e3s4.
|
|
3101
|
+
protoOf(PairSerializer_0).su = function (_this__u8e3s4) {
|
|
3102
|
+
return _this__u8e3s4.w9_1;
|
|
3233
3103
|
};
|
|
3234
|
-
protoOf(PairSerializer_0).
|
|
3235
|
-
return this.
|
|
3104
|
+
protoOf(PairSerializer_0).ju = function (_this__u8e3s4) {
|
|
3105
|
+
return this.su(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
|
|
3236
3106
|
};
|
|
3237
|
-
protoOf(PairSerializer_0).
|
|
3238
|
-
return _this__u8e3s4.
|
|
3107
|
+
protoOf(PairSerializer_0).tu = function (_this__u8e3s4) {
|
|
3108
|
+
return _this__u8e3s4.x9_1;
|
|
3239
3109
|
};
|
|
3240
|
-
protoOf(PairSerializer_0).
|
|
3241
|
-
return this.
|
|
3110
|
+
protoOf(PairSerializer_0).lu = function (_this__u8e3s4) {
|
|
3111
|
+
return this.tu(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
|
|
3242
3112
|
};
|
|
3243
3113
|
function TripleSerializer$descriptor$lambda(this$0) {
|
|
3244
3114
|
return function ($this$buildClassSerialDescriptor) {
|
|
3245
|
-
$this$buildClassSerialDescriptor.
|
|
3246
|
-
$this$buildClassSerialDescriptor.
|
|
3247
|
-
$this$buildClassSerialDescriptor.
|
|
3115
|
+
$this$buildClassSerialDescriptor.tk('first', this$0.uu_1.jk());
|
|
3116
|
+
$this$buildClassSerialDescriptor.tk('second', this$0.vu_1.jk());
|
|
3117
|
+
$this$buildClassSerialDescriptor.tk('third', this$0.wu_1.jk());
|
|
3248
3118
|
return Unit_instance;
|
|
3249
3119
|
};
|
|
3250
3120
|
}
|
|
3251
3121
|
function TripleSerializer_0(aSerializer, bSerializer, cSerializer) {
|
|
3252
|
-
this.
|
|
3253
|
-
this.
|
|
3254
|
-
this.
|
|
3122
|
+
this.uu_1 = aSerializer;
|
|
3123
|
+
this.vu_1 = bSerializer;
|
|
3124
|
+
this.wu_1 = cSerializer;
|
|
3255
3125
|
var tmp = this;
|
|
3256
|
-
tmp.
|
|
3126
|
+
tmp.xu_1 = buildClassSerialDescriptor('kotlin.Triple', [], TripleSerializer$descriptor$lambda(this));
|
|
3257
3127
|
}
|
|
3258
|
-
protoOf(TripleSerializer_0).
|
|
3259
|
-
return this.
|
|
3128
|
+
protoOf(TripleSerializer_0).jk = function () {
|
|
3129
|
+
return this.xu_1;
|
|
3260
3130
|
};
|
|
3261
|
-
protoOf(TripleSerializer_0).
|
|
3262
|
-
var structuredEncoder = encoder.
|
|
3263
|
-
structuredEncoder.
|
|
3264
|
-
structuredEncoder.
|
|
3265
|
-
structuredEncoder.
|
|
3266
|
-
structuredEncoder.
|
|
3131
|
+
protoOf(TripleSerializer_0).yu = function (encoder, value) {
|
|
3132
|
+
var structuredEncoder = encoder.lm(this.xu_1);
|
|
3133
|
+
structuredEncoder.kn(this.xu_1, 0, this.uu_1, value.gi_1);
|
|
3134
|
+
structuredEncoder.kn(this.xu_1, 1, this.vu_1, value.hi_1);
|
|
3135
|
+
structuredEncoder.kn(this.xu_1, 2, this.wu_1, value.ii_1);
|
|
3136
|
+
structuredEncoder.mm(this.xu_1);
|
|
3267
3137
|
};
|
|
3268
|
-
protoOf(TripleSerializer_0).
|
|
3269
|
-
return this.
|
|
3138
|
+
protoOf(TripleSerializer_0).kk = function (encoder, value) {
|
|
3139
|
+
return this.yu(encoder, value instanceof Triple ? value : THROW_CCE());
|
|
3270
3140
|
};
|
|
3271
3141
|
function KeyValueSerializer(keySerializer, valueSerializer) {
|
|
3272
|
-
this.
|
|
3273
|
-
this.
|
|
3142
|
+
this.mu_1 = keySerializer;
|
|
3143
|
+
this.nu_1 = valueSerializer;
|
|
3274
3144
|
}
|
|
3275
|
-
protoOf(KeyValueSerializer).
|
|
3276
|
-
var structuredEncoder = encoder.
|
|
3277
|
-
structuredEncoder.
|
|
3278
|
-
structuredEncoder.
|
|
3279
|
-
structuredEncoder.
|
|
3145
|
+
protoOf(KeyValueSerializer).ou = function (encoder, value) {
|
|
3146
|
+
var structuredEncoder = encoder.lm(this.jk());
|
|
3147
|
+
structuredEncoder.kn(this.jk(), 0, this.mu_1, this.ju(value));
|
|
3148
|
+
structuredEncoder.kn(this.jk(), 1, this.nu_1, this.lu(value));
|
|
3149
|
+
structuredEncoder.mm(this.jk());
|
|
3280
3150
|
};
|
|
3281
|
-
protoOf(KeyValueSerializer).
|
|
3282
|
-
return this.
|
|
3151
|
+
protoOf(KeyValueSerializer).kk = function (encoder, value) {
|
|
3152
|
+
return this.ou(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
3283
3153
|
};
|
|
3284
3154
|
function ULongSerializer() {
|
|
3285
3155
|
ULongSerializer_instance = this;
|
|
3286
|
-
this.
|
|
3156
|
+
this.zu_1 = InlinePrimitiveDescriptor('kotlin.ULong', serializer_4(Companion_getInstance_0()));
|
|
3287
3157
|
}
|
|
3288
|
-
protoOf(ULongSerializer).
|
|
3289
|
-
return this.
|
|
3158
|
+
protoOf(ULongSerializer).jk = function () {
|
|
3159
|
+
return this.zu_1;
|
|
3290
3160
|
};
|
|
3291
|
-
protoOf(ULongSerializer).
|
|
3292
|
-
var tmp = encoder.
|
|
3161
|
+
protoOf(ULongSerializer).av = function (encoder, value) {
|
|
3162
|
+
var tmp = encoder.zm(this.zu_1);
|
|
3293
3163
|
// Inline function 'kotlin.ULong.toLong' call
|
|
3294
3164
|
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(value);
|
|
3295
|
-
tmp.
|
|
3165
|
+
tmp.um(tmp$ret$0);
|
|
3296
3166
|
};
|
|
3297
|
-
protoOf(ULongSerializer).
|
|
3298
|
-
return this.
|
|
3167
|
+
protoOf(ULongSerializer).kk = function (encoder, value) {
|
|
3168
|
+
return this.av(encoder, value instanceof ULong ? value.rj_1 : THROW_CCE());
|
|
3299
3169
|
};
|
|
3300
3170
|
var ULongSerializer_instance;
|
|
3301
3171
|
function ULongSerializer_getInstance() {
|
|
@@ -3305,19 +3175,19 @@
|
|
|
3305
3175
|
}
|
|
3306
3176
|
function UIntSerializer() {
|
|
3307
3177
|
UIntSerializer_instance = this;
|
|
3308
|
-
this.
|
|
3178
|
+
this.bv_1 = InlinePrimitiveDescriptor('kotlin.UInt', serializer_6(IntCompanionObject_instance));
|
|
3309
3179
|
}
|
|
3310
|
-
protoOf(UIntSerializer).
|
|
3311
|
-
return this.
|
|
3180
|
+
protoOf(UIntSerializer).jk = function () {
|
|
3181
|
+
return this.bv_1;
|
|
3312
3182
|
};
|
|
3313
|
-
protoOf(UIntSerializer).
|
|
3314
|
-
var tmp = encoder.
|
|
3183
|
+
protoOf(UIntSerializer).cv = function (encoder, value) {
|
|
3184
|
+
var tmp = encoder.zm(this.bv_1);
|
|
3315
3185
|
// Inline function 'kotlin.UInt.toInt' call
|
|
3316
3186
|
var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(value);
|
|
3317
|
-
tmp.
|
|
3187
|
+
tmp.tm(tmp$ret$0);
|
|
3318
3188
|
};
|
|
3319
|
-
protoOf(UIntSerializer).
|
|
3320
|
-
return this.
|
|
3189
|
+
protoOf(UIntSerializer).kk = function (encoder, value) {
|
|
3190
|
+
return this.cv(encoder, value instanceof UInt ? value.gj_1 : THROW_CCE());
|
|
3321
3191
|
};
|
|
3322
3192
|
var UIntSerializer_instance;
|
|
3323
3193
|
function UIntSerializer_getInstance() {
|
|
@@ -3327,19 +3197,19 @@
|
|
|
3327
3197
|
}
|
|
3328
3198
|
function UShortSerializer() {
|
|
3329
3199
|
UShortSerializer_instance = this;
|
|
3330
|
-
this.
|
|
3200
|
+
this.dv_1 = InlinePrimitiveDescriptor('kotlin.UShort', serializer_8(ShortCompanionObject_instance));
|
|
3331
3201
|
}
|
|
3332
|
-
protoOf(UShortSerializer).
|
|
3333
|
-
return this.
|
|
3202
|
+
protoOf(UShortSerializer).jk = function () {
|
|
3203
|
+
return this.dv_1;
|
|
3334
3204
|
};
|
|
3335
|
-
protoOf(UShortSerializer).
|
|
3336
|
-
var tmp = encoder.
|
|
3205
|
+
protoOf(UShortSerializer).ev = function (encoder, value) {
|
|
3206
|
+
var tmp = encoder.zm(this.dv_1);
|
|
3337
3207
|
// Inline function 'kotlin.UShort.toShort' call
|
|
3338
3208
|
var tmp$ret$0 = _UShort___get_data__impl__g0245(value);
|
|
3339
|
-
tmp.
|
|
3209
|
+
tmp.sm(tmp$ret$0);
|
|
3340
3210
|
};
|
|
3341
|
-
protoOf(UShortSerializer).
|
|
3342
|
-
return this.
|
|
3211
|
+
protoOf(UShortSerializer).kk = function (encoder, value) {
|
|
3212
|
+
return this.ev(encoder, value instanceof UShort ? value.ck_1 : THROW_CCE());
|
|
3343
3213
|
};
|
|
3344
3214
|
var UShortSerializer_instance;
|
|
3345
3215
|
function UShortSerializer_getInstance() {
|
|
@@ -3349,19 +3219,19 @@
|
|
|
3349
3219
|
}
|
|
3350
3220
|
function UByteSerializer() {
|
|
3351
3221
|
UByteSerializer_instance = this;
|
|
3352
|
-
this.
|
|
3222
|
+
this.fv_1 = InlinePrimitiveDescriptor('kotlin.UByte', serializer_10(ByteCompanionObject_instance));
|
|
3353
3223
|
}
|
|
3354
|
-
protoOf(UByteSerializer).
|
|
3355
|
-
return this.
|
|
3224
|
+
protoOf(UByteSerializer).jk = function () {
|
|
3225
|
+
return this.fv_1;
|
|
3356
3226
|
};
|
|
3357
|
-
protoOf(UByteSerializer).
|
|
3358
|
-
var tmp = encoder.
|
|
3227
|
+
protoOf(UByteSerializer).gv = function (encoder, value) {
|
|
3228
|
+
var tmp = encoder.zm(this.fv_1);
|
|
3359
3229
|
// Inline function 'kotlin.UByte.toByte' call
|
|
3360
3230
|
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(value);
|
|
3361
|
-
tmp.
|
|
3231
|
+
tmp.rm(tmp$ret$0);
|
|
3362
3232
|
};
|
|
3363
|
-
protoOf(UByteSerializer).
|
|
3364
|
-
return this.
|
|
3233
|
+
protoOf(UByteSerializer).kk = function (encoder, value) {
|
|
3234
|
+
return this.gv(encoder, value instanceof UByte ? value.vi_1 : THROW_CCE());
|
|
3365
3235
|
};
|
|
3366
3236
|
var UByteSerializer_instance;
|
|
3367
3237
|
function UByteSerializer_getInstance() {
|
|
@@ -3376,37 +3246,37 @@
|
|
|
3376
3246
|
var EmptySerializersModule;
|
|
3377
3247
|
function SerializersModule() {
|
|
3378
3248
|
}
|
|
3379
|
-
protoOf(SerializersModule).
|
|
3249
|
+
protoOf(SerializersModule).cl = function (kClass, typeArgumentsSerializers, $super) {
|
|
3380
3250
|
typeArgumentsSerializers = typeArgumentsSerializers === VOID ? emptyList() : typeArgumentsSerializers;
|
|
3381
|
-
return $super === VOID ? this.
|
|
3251
|
+
return $super === VOID ? this.dl(kClass, typeArgumentsSerializers) : $super.dl.call(this, kClass, typeArgumentsSerializers);
|
|
3382
3252
|
};
|
|
3383
3253
|
function SerialModuleImpl(class2ContextualFactory, polyBase2Serializers, polyBase2DefaultSerializerProvider, polyBase2NamedSerializers, polyBase2DefaultDeserializerProvider, hasInterfaceContextualSerializers) {
|
|
3384
3254
|
SerializersModule.call(this);
|
|
3385
|
-
this.
|
|
3386
|
-
this.
|
|
3387
|
-
this.
|
|
3388
|
-
this.
|
|
3389
|
-
this.
|
|
3390
|
-
this.
|
|
3391
|
-
}
|
|
3392
|
-
protoOf(SerialModuleImpl).
|
|
3393
|
-
return this.
|
|
3394
|
-
};
|
|
3395
|
-
protoOf(SerialModuleImpl).
|
|
3396
|
-
if (!baseClass.
|
|
3255
|
+
this.hv_1 = class2ContextualFactory;
|
|
3256
|
+
this.iv_1 = polyBase2Serializers;
|
|
3257
|
+
this.jv_1 = polyBase2DefaultSerializerProvider;
|
|
3258
|
+
this.kv_1 = polyBase2NamedSerializers;
|
|
3259
|
+
this.lv_1 = polyBase2DefaultDeserializerProvider;
|
|
3260
|
+
this.mv_1 = hasInterfaceContextualSerializers;
|
|
3261
|
+
}
|
|
3262
|
+
protoOf(SerialModuleImpl).bl = function () {
|
|
3263
|
+
return this.mv_1;
|
|
3264
|
+
};
|
|
3265
|
+
protoOf(SerialModuleImpl).sn = function (baseClass, value) {
|
|
3266
|
+
if (!baseClass.da(value))
|
|
3397
3267
|
return null;
|
|
3398
|
-
var tmp0_safe_receiver = this.
|
|
3399
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3268
|
+
var tmp0_safe_receiver = this.iv_1.v1(baseClass);
|
|
3269
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v1(getKClassFromExpression(value));
|
|
3400
3270
|
var registered = (!(tmp == null) ? isInterface(tmp, SerializationStrategy) : false) ? tmp : null;
|
|
3401
3271
|
if (!(registered == null))
|
|
3402
3272
|
return registered;
|
|
3403
|
-
var tmp_0 = this.
|
|
3273
|
+
var tmp_0 = this.jv_1.v1(baseClass);
|
|
3404
3274
|
var tmp1_safe_receiver = (!(tmp_0 == null) ? typeof tmp_0 === 'function' : false) ? tmp_0 : null;
|
|
3405
3275
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver(value);
|
|
3406
3276
|
};
|
|
3407
|
-
protoOf(SerialModuleImpl).
|
|
3408
|
-
var tmp0_safe_receiver = this.
|
|
3409
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3277
|
+
protoOf(SerialModuleImpl).dl = function (kClass, typeArgumentsSerializers) {
|
|
3278
|
+
var tmp0_safe_receiver = this.hv_1.v1(kClass);
|
|
3279
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.nv(typeArgumentsSerializers);
|
|
3410
3280
|
return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : null;
|
|
3411
3281
|
};
|
|
3412
3282
|
var properties_initialized_SerializersModule_kt_fjigjn;
|
|
@@ -3420,21 +3290,21 @@
|
|
|
3420
3290
|
return get_EmptySerializersModuleLegacyJs();
|
|
3421
3291
|
}
|
|
3422
3292
|
function SerializableWith(serializer) {
|
|
3423
|
-
this.
|
|
3293
|
+
this.ov_1 = serializer;
|
|
3424
3294
|
}
|
|
3425
3295
|
protoOf(SerializableWith).equals = function (other) {
|
|
3426
3296
|
if (!(other instanceof SerializableWith))
|
|
3427
3297
|
return false;
|
|
3428
3298
|
var tmp0_other_with_cast = other instanceof SerializableWith ? other : THROW_CCE();
|
|
3429
|
-
if (!this.
|
|
3299
|
+
if (!this.ov_1.equals(tmp0_other_with_cast.ov_1))
|
|
3430
3300
|
return false;
|
|
3431
3301
|
return true;
|
|
3432
3302
|
};
|
|
3433
3303
|
protoOf(SerializableWith).hashCode = function () {
|
|
3434
|
-
return imul(getStringHashCode('serializer'), 127) ^ this.
|
|
3304
|
+
return imul(getStringHashCode('serializer'), 127) ^ this.ov_1.hashCode();
|
|
3435
3305
|
};
|
|
3436
3306
|
protoOf(SerializableWith).toString = function () {
|
|
3437
|
-
return '@kotlinx.serialization.SerializableWith(' + 'serializer=' + toString(this.
|
|
3307
|
+
return '@kotlinx.serialization.SerializableWith(' + 'serializer=' + toString(this.ov_1) + ')';
|
|
3438
3308
|
};
|
|
3439
3309
|
function createCache(factory) {
|
|
3440
3310
|
return new createCache$1(factory);
|
|
@@ -3443,13 +3313,13 @@
|
|
|
3443
3313
|
return new createParametrizedCache$1(factory);
|
|
3444
3314
|
}
|
|
3445
3315
|
function isInterface_0(_this__u8e3s4) {
|
|
3446
|
-
return
|
|
3316
|
+
return get_isInterfaceHack(_this__u8e3s4);
|
|
3447
3317
|
}
|
|
3448
3318
|
function initBuiltins() {
|
|
3449
|
-
return mapOf([to(PrimitiveClasses_getInstance().
|
|
3319
|
+
return mapOf([to(PrimitiveClasses_getInstance().db(), serializer_0(StringCompanionObject_instance)), to(getKClass(Char), serializer_1(Companion_getInstance())), to(PrimitiveClasses_getInstance().gb(), CharArraySerializer()), to(PrimitiveClasses_getInstance().bb(), serializer_2(DoubleCompanionObject_instance)), to(PrimitiveClasses_getInstance().mb(), DoubleArraySerializer()), to(PrimitiveClasses_getInstance().ab(), serializer_3(FloatCompanionObject_instance)), to(PrimitiveClasses_getInstance().lb(), FloatArraySerializer()), to(getKClass(Long), serializer_4(Companion_getInstance_0())), to(PrimitiveClasses_getInstance().kb(), LongArraySerializer()), to(getKClass(ULong), serializer_5(Companion_getInstance_1())), to(getKClass(ULongArray), ULongArraySerializer()), to(PrimitiveClasses_getInstance().za(), serializer_6(IntCompanionObject_instance)), to(PrimitiveClasses_getInstance().jb(), IntArraySerializer()), to(getKClass(UInt), serializer_7(Companion_getInstance_2())), to(getKClass(UIntArray), UIntArraySerializer()), to(PrimitiveClasses_getInstance().ya(), serializer_8(ShortCompanionObject_instance)), to(PrimitiveClasses_getInstance().ib(), ShortArraySerializer()), to(getKClass(UShort), serializer_9(Companion_getInstance_3())), to(getKClass(UShortArray), UShortArraySerializer()), to(PrimitiveClasses_getInstance().xa(), serializer_10(ByteCompanionObject_instance)), to(PrimitiveClasses_getInstance().hb(), ByteArraySerializer()), to(getKClass(UByte), serializer_11(Companion_getInstance_4())), to(getKClass(UByteArray), UByteArraySerializer()), to(PrimitiveClasses_getInstance().wa(), serializer_12(BooleanCompanionObject_instance)), to(PrimitiveClasses_getInstance().fb(), BooleanArraySerializer()), to(getKClass(Unit), serializer_13(Unit_instance)), to(PrimitiveClasses_getInstance().va(), NothingSerializer()), to(getKClass(Duration), serializer_14(Companion_getInstance_5())), to(getKClass(Instant), serializer_15(Companion_getInstance_6())), to(getKClass(Uuid), serializer_16(Companion_getInstance_7()))]);
|
|
3450
3320
|
}
|
|
3451
|
-
function
|
|
3452
|
-
if (_this__u8e3s4 === PrimitiveClasses_getInstance().
|
|
3321
|
+
function get_isInterfaceHack(_this__u8e3s4) {
|
|
3322
|
+
if (_this__u8e3s4 === PrimitiveClasses_getInstance().va())
|
|
3453
3323
|
return false;
|
|
3454
3324
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3455
3325
|
var tmp0_safe_receiver = get_js(_this__u8e3s4).$metadata$;
|
|
@@ -3460,7 +3330,7 @@
|
|
|
3460
3330
|
var tmp;
|
|
3461
3331
|
if (tmp0_elvis_lhs == null) {
|
|
3462
3332
|
var tmp_0;
|
|
3463
|
-
if (_this__u8e3s4 === PrimitiveClasses_getInstance().
|
|
3333
|
+
if (_this__u8e3s4 === PrimitiveClasses_getInstance().va()) {
|
|
3464
3334
|
tmp_0 = NothingSerializer_getInstance();
|
|
3465
3335
|
} else {
|
|
3466
3336
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3478,7 +3348,7 @@
|
|
|
3478
3348
|
throw SerializationException_init_$Create$_0(notRegisteredMessage(_this__u8e3s4) + 'To get enum serializer on Kotlin/JS, it should be annotated with @Serializable annotation.');
|
|
3479
3349
|
}
|
|
3480
3350
|
function isReferenceArray(rootClass) {
|
|
3481
|
-
return rootClass.equals(PrimitiveClasses_getInstance().
|
|
3351
|
+
return rootClass.equals(PrimitiveClasses_getInstance().cb());
|
|
3482
3352
|
}
|
|
3483
3353
|
function constructSerializerForGivenTypeArgs(_this__u8e3s4, args) {
|
|
3484
3354
|
var tmp;
|
|
@@ -3490,7 +3360,7 @@
|
|
|
3490
3360
|
tmp_0 = isInterface(assocObject, KSerializer) ? assocObject : THROW_CCE();
|
|
3491
3361
|
} else {
|
|
3492
3362
|
if (!(assocObject == null) ? isInterface(assocObject, SerializerFactory) : false) {
|
|
3493
|
-
var tmp_1 = assocObject.
|
|
3363
|
+
var tmp_1 = assocObject.mr(args.slice());
|
|
3494
3364
|
tmp_0 = isInterface(tmp_1, KSerializer) ? tmp_1 : THROW_CCE();
|
|
3495
3365
|
} else {
|
|
3496
3366
|
tmp_0 = null;
|
|
@@ -3511,20 +3381,20 @@
|
|
|
3511
3381
|
return _this__u8e3s4[index];
|
|
3512
3382
|
}
|
|
3513
3383
|
function createCache$1($factory) {
|
|
3514
|
-
this.
|
|
3384
|
+
this.pv_1 = $factory;
|
|
3515
3385
|
}
|
|
3516
|
-
protoOf(createCache$1).
|
|
3517
|
-
return this.
|
|
3386
|
+
protoOf(createCache$1).el = function (key) {
|
|
3387
|
+
return this.pv_1(key);
|
|
3518
3388
|
};
|
|
3519
3389
|
function createParametrizedCache$1($factory) {
|
|
3520
|
-
this.
|
|
3390
|
+
this.qv_1 = $factory;
|
|
3521
3391
|
}
|
|
3522
|
-
protoOf(createParametrizedCache$1).
|
|
3392
|
+
protoOf(createParametrizedCache$1).fl = function (key, types) {
|
|
3523
3393
|
// Inline function 'kotlin.runCatching' call
|
|
3524
3394
|
var tmp;
|
|
3525
3395
|
try {
|
|
3526
3396
|
// Inline function 'kotlin.Companion.success' call
|
|
3527
|
-
var value = this.
|
|
3397
|
+
var value = this.qv_1(key, types);
|
|
3528
3398
|
tmp = _Result___init__impl__xyqfz8(value);
|
|
3529
3399
|
} catch ($p) {
|
|
3530
3400
|
var tmp_0;
|
|
@@ -3540,71 +3410,68 @@
|
|
|
3540
3410
|
return tmp;
|
|
3541
3411
|
};
|
|
3542
3412
|
//region block: post-declaration
|
|
3543
|
-
protoOf(SerialDescriptorImpl).
|
|
3544
|
-
protoOf(SerialDescriptorImpl).
|
|
3545
|
-
protoOf(AbstractEncoder).
|
|
3546
|
-
protoOf(AbstractEncoder).
|
|
3547
|
-
protoOf(AbstractEncoder).
|
|
3548
|
-
protoOf(AbstractEncoder).
|
|
3549
|
-
protoOf(AbstractEncoder).
|
|
3550
|
-
protoOf(ListLikeDescriptor).
|
|
3551
|
-
protoOf(ListLikeDescriptor).
|
|
3552
|
-
protoOf(ListLikeDescriptor).
|
|
3553
|
-
protoOf(MapLikeDescriptor).
|
|
3554
|
-
protoOf(MapLikeDescriptor).
|
|
3555
|
-
protoOf(MapLikeDescriptor).
|
|
3556
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
3557
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
3558
|
-
protoOf(InlinePrimitiveDescriptor$1).
|
|
3559
|
-
protoOf(NothingSerialDescriptor).
|
|
3560
|
-
protoOf(NothingSerialDescriptor).
|
|
3561
|
-
protoOf(NothingSerialDescriptor).
|
|
3562
|
-
protoOf(
|
|
3563
|
-
protoOf(
|
|
3564
|
-
protoOf(
|
|
3413
|
+
protoOf(SerialDescriptorImpl).gl = get_isNullable;
|
|
3414
|
+
protoOf(SerialDescriptorImpl).ml = get_isInline;
|
|
3415
|
+
protoOf(AbstractEncoder).pn = encodeNotNullMark;
|
|
3416
|
+
protoOf(AbstractEncoder).qn = beginCollection;
|
|
3417
|
+
protoOf(AbstractEncoder).ln = encodeSerializableValue;
|
|
3418
|
+
protoOf(AbstractEncoder).nn = encodeNullableSerializableValue;
|
|
3419
|
+
protoOf(AbstractEncoder).rn = shouldEncodeElementDefault;
|
|
3420
|
+
protoOf(ListLikeDescriptor).gl = get_isNullable;
|
|
3421
|
+
protoOf(ListLikeDescriptor).ml = get_isInline;
|
|
3422
|
+
protoOf(ListLikeDescriptor).ol = get_annotations;
|
|
3423
|
+
protoOf(MapLikeDescriptor).gl = get_isNullable;
|
|
3424
|
+
protoOf(MapLikeDescriptor).ml = get_isInline;
|
|
3425
|
+
protoOf(MapLikeDescriptor).ol = get_annotations;
|
|
3426
|
+
protoOf(PluginGeneratedSerialDescriptor).gl = get_isNullable;
|
|
3427
|
+
protoOf(PluginGeneratedSerialDescriptor).ml = get_isInline;
|
|
3428
|
+
protoOf(InlinePrimitiveDescriptor$1).cr = typeParametersSerializers;
|
|
3429
|
+
protoOf(NothingSerialDescriptor).gl = get_isNullable;
|
|
3430
|
+
protoOf(NothingSerialDescriptor).ml = get_isInline;
|
|
3431
|
+
protoOf(NothingSerialDescriptor).ol = get_annotations;
|
|
3432
|
+
protoOf(PrimitiveSerialDescriptor).gl = get_isNullable;
|
|
3433
|
+
protoOf(PrimitiveSerialDescriptor).ml = get_isInline;
|
|
3434
|
+
protoOf(PrimitiveSerialDescriptor).ol = get_annotations;
|
|
3565
3435
|
//endregion
|
|
3566
3436
|
//region block: exports
|
|
3567
3437
|
_.$_$ = _.$_$ || {};
|
|
3568
3438
|
_.$_$.a = SerializationException_init_$Init$_0;
|
|
3569
|
-
_.$_$.b =
|
|
3570
|
-
_.$_$.c =
|
|
3571
|
-
_.$_$.d =
|
|
3572
|
-
_.$_$.e =
|
|
3573
|
-
_.$_$.f =
|
|
3574
|
-
_.$_$.g =
|
|
3575
|
-
_.$_$.h =
|
|
3439
|
+
_.$_$.b = CONTEXTUAL_getInstance;
|
|
3440
|
+
_.$_$.c = ENUM_getInstance;
|
|
3441
|
+
_.$_$.d = CLASS_getInstance;
|
|
3442
|
+
_.$_$.e = LIST_getInstance;
|
|
3443
|
+
_.$_$.f = MAP_getInstance;
|
|
3444
|
+
_.$_$.g = OBJECT_getInstance;
|
|
3445
|
+
_.$_$.h = InstantSerializer_getInstance;
|
|
3576
3446
|
_.$_$.i = IntSerializer_getInstance;
|
|
3577
3447
|
_.$_$.j = StringSerializer_getInstance;
|
|
3578
3448
|
_.$_$.k = get_nullable;
|
|
3579
|
-
_.$_$.l =
|
|
3580
|
-
_.$_$.m =
|
|
3581
|
-
_.$_$.n =
|
|
3582
|
-
_.$_$.o =
|
|
3583
|
-
_.$_$.p =
|
|
3449
|
+
_.$_$.l = serializer_0;
|
|
3450
|
+
_.$_$.m = serializer_9;
|
|
3451
|
+
_.$_$.n = serializer_7;
|
|
3452
|
+
_.$_$.o = serializer_11;
|
|
3453
|
+
_.$_$.p = serializer_5;
|
|
3584
3454
|
_.$_$.q = PolymorphicKind;
|
|
3585
3455
|
_.$_$.r = PrimitiveKind;
|
|
3586
|
-
_.$_$.s =
|
|
3587
|
-
_.$_$.t =
|
|
3588
|
-
_.$_$.u =
|
|
3589
|
-
_.$_$.v =
|
|
3590
|
-
_.$_$.w =
|
|
3591
|
-
_.$_$.x =
|
|
3592
|
-
_.$_$.y =
|
|
3593
|
-
_.$_$.z =
|
|
3594
|
-
_.$_$.a1 =
|
|
3595
|
-
_.$_$.b1 =
|
|
3596
|
-
_.$_$.c1 =
|
|
3597
|
-
_.$_$.d1 =
|
|
3598
|
-
_.$_$.e1 =
|
|
3599
|
-
_.$_$.f1 =
|
|
3600
|
-
_.$_$.g1 =
|
|
3601
|
-
_.$_$.h1 =
|
|
3602
|
-
_.$_$.i1 =
|
|
3603
|
-
_.$_$.j1 =
|
|
3604
|
-
_.$_$.k1 =
|
|
3605
|
-
_.$_$.l1 = findPolymorphicSerializer;
|
|
3606
|
-
_.$_$.m1 = serializer_0;
|
|
3607
|
-
_.$_$.n1 = serializer;
|
|
3456
|
+
_.$_$.s = ENUM;
|
|
3457
|
+
_.$_$.t = getContextualDescriptor;
|
|
3458
|
+
_.$_$.u = AbstractEncoder;
|
|
3459
|
+
_.$_$.v = CompositeEncoder;
|
|
3460
|
+
_.$_$.w = Encoder;
|
|
3461
|
+
_.$_$.x = AbstractPolymorphicSerializer;
|
|
3462
|
+
_.$_$.y = ArrayListSerializer;
|
|
3463
|
+
_.$_$.z = typeParametersSerializers;
|
|
3464
|
+
_.$_$.a1 = GeneratedSerializer;
|
|
3465
|
+
_.$_$.b1 = InlinePrimitiveDescriptor;
|
|
3466
|
+
_.$_$.c1 = PluginGeneratedSerialDescriptor;
|
|
3467
|
+
_.$_$.d1 = jsonCachedSerialNames;
|
|
3468
|
+
_.$_$.e1 = EmptySerializersModule_0;
|
|
3469
|
+
_.$_$.f1 = KSerializer;
|
|
3470
|
+
_.$_$.g1 = SealedClassSerializer;
|
|
3471
|
+
_.$_$.h1 = SerializationException;
|
|
3472
|
+
_.$_$.i1 = SerializationStrategy;
|
|
3473
|
+
_.$_$.j1 = findPolymorphicSerializer;
|
|
3474
|
+
_.$_$.k1 = serializer;
|
|
3608
3475
|
//endregion
|
|
3609
3476
|
return _;
|
|
3610
3477
|
}(module.exports, require('./kotlin-kotlin-stdlib.js')));
|