git-digger 1.1.26

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.
@@ -0,0 +1,3460 @@
1
+ (function (_, kotlin_kotlin) {
2
+ 'use strict';
3
+ //region block: imports
4
+ var imul = Math.imul;
5
+ var protoOf = kotlin_kotlin.$_$.w8;
6
+ var interfaceMeta = kotlin_kotlin.$_$.b8;
7
+ var setMetadataFor = kotlin_kotlin.$_$.x8;
8
+ var VOID = kotlin_kotlin.$_$.g;
9
+ var StringCompanionObject_instance = kotlin_kotlin.$_$.a3;
10
+ var Unit_instance = kotlin_kotlin.$_$.k3;
11
+ var emptyList = kotlin_kotlin.$_$.t4;
12
+ var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.k;
13
+ var lazy = kotlin_kotlin.$_$.yc;
14
+ var classMeta = kotlin_kotlin.$_$.s7;
15
+ var getKClassFromExpression = kotlin_kotlin.$_$.e;
16
+ var KProperty1 = kotlin_kotlin.$_$.o9;
17
+ var getPropertyCallableRef = kotlin_kotlin.$_$.y7;
18
+ var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.d1;
19
+ var objectCreate = kotlin_kotlin.$_$.u8;
20
+ var captureStack = kotlin_kotlin.$_$.m7;
21
+ var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.e1;
22
+ var IllegalArgumentException = kotlin_kotlin.$_$.bc;
23
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.h4;
24
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
25
+ var THROW_CCE = kotlin_kotlin.$_$.hc;
26
+ var KClass = kotlin_kotlin.$_$.k9;
27
+ var isInterface = kotlin_kotlin.$_$.k8;
28
+ var Triple = kotlin_kotlin.$_$.ic;
29
+ var getKClass = kotlin_kotlin.$_$.f;
30
+ var Pair = kotlin_kotlin.$_$.ec;
31
+ var Entry = kotlin_kotlin.$_$.s3;
32
+ var LinkedHashMap = kotlin_kotlin.$_$.p3;
33
+ var MutableMap = kotlin_kotlin.$_$.v3;
34
+ var Map = kotlin_kotlin.$_$.t3;
35
+ var HashMap = kotlin_kotlin.$_$.n3;
36
+ var LinkedHashSet = kotlin_kotlin.$_$.q3;
37
+ var MutableSet = kotlin_kotlin.$_$.w3;
38
+ var Set = kotlin_kotlin.$_$.x3;
39
+ var HashSet = kotlin_kotlin.$_$.o3;
40
+ var ArrayList = kotlin_kotlin.$_$.l3;
41
+ var MutableList = kotlin_kotlin.$_$.u3;
42
+ var List = kotlin_kotlin.$_$.r3;
43
+ var Collection = kotlin_kotlin.$_$.m3;
44
+ var copyToArray = kotlin_kotlin.$_$.p4;
45
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.z1;
46
+ var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.x1;
47
+ var Result = kotlin_kotlin.$_$.fc;
48
+ var ensureNotNull = kotlin_kotlin.$_$.vc;
49
+ var equals = kotlin_kotlin.$_$.u7;
50
+ var getStringHashCode = kotlin_kotlin.$_$.z7;
51
+ var isBlank = kotlin_kotlin.$_$.ma;
52
+ var toString = kotlin_kotlin.$_$.z8;
53
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.f1;
54
+ var toList = kotlin_kotlin.$_$.v6;
55
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
56
+ var HashSet_init_$Create$ = kotlin_kotlin.$_$.q;
57
+ var toHashSet = kotlin_kotlin.$_$.s6;
58
+ var toBooleanArray = kotlin_kotlin.$_$.r6;
59
+ var withIndex = kotlin_kotlin.$_$.c7;
60
+ var to = kotlin_kotlin.$_$.cd;
61
+ var toMap = kotlin_kotlin.$_$.w6;
62
+ var lazy_0 = kotlin_kotlin.$_$.zc;
63
+ var contentEquals = kotlin_kotlin.$_$.j4;
64
+ var until = kotlin_kotlin.$_$.j9;
65
+ var joinToString = kotlin_kotlin.$_$.g5;
66
+ var objectMeta = kotlin_kotlin.$_$.v8;
67
+ var Char = kotlin_kotlin.$_$.vb;
68
+ var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.r1;
69
+ var Duration = kotlin_kotlin.$_$.tb;
70
+ var hashCode = kotlin_kotlin.$_$.a8;
71
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.j1;
72
+ var isArray = kotlin_kotlin.$_$.c8;
73
+ var arrayIterator = kotlin_kotlin.$_$.k7;
74
+ var HashSet_init_$Create$_0 = kotlin_kotlin.$_$.p;
75
+ var KTypeParameter = kotlin_kotlin.$_$.p9;
76
+ var HashMap_init_$Create$ = kotlin_kotlin.$_$.o;
77
+ var fillArrayVal = kotlin_kotlin.$_$.v7;
78
+ var booleanArray = kotlin_kotlin.$_$.l7;
79
+ var emptyMap = kotlin_kotlin.$_$.u4;
80
+ var contentHashCode = kotlin_kotlin.$_$.l4;
81
+ var Companion_getInstance = kotlin_kotlin.$_$.d3;
82
+ var isCharArray = kotlin_kotlin.$_$.f8;
83
+ var DoubleCompanionObject_instance = kotlin_kotlin.$_$.w2;
84
+ var isDoubleArray = kotlin_kotlin.$_$.h8;
85
+ var FloatCompanionObject_instance = kotlin_kotlin.$_$.x2;
86
+ var isFloatArray = kotlin_kotlin.$_$.i8;
87
+ var Companion_getInstance_0 = kotlin_kotlin.$_$.e3;
88
+ var isLongArray = kotlin_kotlin.$_$.l8;
89
+ var Companion_getInstance_1 = kotlin_kotlin.$_$.i3;
90
+ var _ULongArray___get_size__impl__ju6dtr = kotlin_kotlin.$_$.o2;
91
+ var ULongArray = kotlin_kotlin.$_$.nc;
92
+ var ULongArray__get_impl_pr71q9 = kotlin_kotlin.$_$.n2;
93
+ var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.l2;
94
+ var IntCompanionObject_instance = kotlin_kotlin.$_$.y2;
95
+ var isIntArray = kotlin_kotlin.$_$.j8;
96
+ var Companion_getInstance_2 = kotlin_kotlin.$_$.h3;
97
+ var _UIntArray___get_size__impl__r6l8ci = kotlin_kotlin.$_$.j2;
98
+ var UIntArray = kotlin_kotlin.$_$.lc;
99
+ var UIntArray__get_impl_gp5kza = kotlin_kotlin.$_$.i2;
100
+ var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.g2;
101
+ var ShortCompanionObject_instance = kotlin_kotlin.$_$.z2;
102
+ var isShortArray = kotlin_kotlin.$_$.m8;
103
+ var Companion_getInstance_3 = kotlin_kotlin.$_$.j3;
104
+ var _UShortArray___get_size__impl__jqto1b = kotlin_kotlin.$_$.t2;
105
+ var UShortArray = kotlin_kotlin.$_$.pc;
106
+ var UShortArray__get_impl_fnbhmx = kotlin_kotlin.$_$.s2;
107
+ var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.q2;
108
+ var ByteCompanionObject_instance = kotlin_kotlin.$_$.v2;
109
+ var isByteArray = kotlin_kotlin.$_$.e8;
110
+ var Companion_getInstance_4 = kotlin_kotlin.$_$.g3;
111
+ var _UByteArray___get_size__impl__h6pkdv = kotlin_kotlin.$_$.e2;
112
+ var UByteArray = kotlin_kotlin.$_$.jc;
113
+ var UByteArray__get_impl_t5f3hv = kotlin_kotlin.$_$.d2;
114
+ var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.b2;
115
+ var BooleanCompanionObject_instance = kotlin_kotlin.$_$.u2;
116
+ var isBooleanArray = kotlin_kotlin.$_$.d8;
117
+ var Long = kotlin_kotlin.$_$.dc;
118
+ var Unit = kotlin_kotlin.$_$.rc;
119
+ var trimIndent = kotlin_kotlin.$_$.pb;
120
+ var equals_0 = kotlin_kotlin.$_$.ga;
121
+ var charSequenceLength = kotlin_kotlin.$_$.q7;
122
+ var charSequenceGet = kotlin_kotlin.$_$.p7;
123
+ var toString_0 = kotlin_kotlin.$_$.v1;
124
+ var titlecase = kotlin_kotlin.$_$.lb;
125
+ var isLowerCase = kotlin_kotlin.$_$.qa;
126
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.b3;
127
+ var ULong = kotlin_kotlin.$_$.oc;
128
+ var UInt = kotlin_kotlin.$_$.mc;
129
+ var UShort = kotlin_kotlin.$_$.qc;
130
+ var UByte = kotlin_kotlin.$_$.kc;
131
+ var Companion_getInstance_5 = kotlin_kotlin.$_$.c3;
132
+ var mapOf = kotlin_kotlin.$_$.u5;
133
+ var get_js = kotlin_kotlin.$_$.n8;
134
+ var findAssociatedObject = kotlin_kotlin.$_$.d;
135
+ var get_indices = kotlin_kotlin.$_$.e5;
136
+ var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.l1;
137
+ var Companion_instance = kotlin_kotlin.$_$.f3;
138
+ var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.w1;
139
+ var createFailure = kotlin_kotlin.$_$.uc;
140
+ //endregion
141
+ //region block: pre-declaration
142
+ setMetadataFor(SerializationStrategy, 'SerializationStrategy', interfaceMeta);
143
+ setMetadataFor(KSerializer, 'KSerializer', interfaceMeta, VOID, [SerializationStrategy]);
144
+ setMetadataFor(AbstractPolymorphicSerializer, 'AbstractPolymorphicSerializer', classMeta, VOID, [KSerializer]);
145
+ setMetadataFor(PolymorphicSerializer, 'PolymorphicSerializer', classMeta, AbstractPolymorphicSerializer);
146
+ setMetadataFor(SealedClassSerializer, 'SealedClassSerializer', classMeta, AbstractPolymorphicSerializer);
147
+ setMetadataFor(SerializationException, 'SerializationException', classMeta, IllegalArgumentException, VOID, SerializationException_init_$Create$);
148
+ function get_isNullable() {
149
+ return false;
150
+ }
151
+ function get_isInline() {
152
+ return false;
153
+ }
154
+ function get_annotations() {
155
+ return emptyList();
156
+ }
157
+ setMetadataFor(SerialDescriptor, 'SerialDescriptor', interfaceMeta);
158
+ setMetadataFor(ContextDescriptor, 'ContextDescriptor', classMeta, VOID, [SerialDescriptor]);
159
+ setMetadataFor(elementDescriptors$1$1, VOID, classMeta);
160
+ setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta);
161
+ setMetadataFor(ClassSerialDescriptorBuilder, 'ClassSerialDescriptorBuilder', classMeta);
162
+ setMetadataFor(CachedNames, 'CachedNames', interfaceMeta);
163
+ setMetadataFor(SerialDescriptorImpl, 'SerialDescriptorImpl', classMeta, VOID, [SerialDescriptor, CachedNames]);
164
+ setMetadataFor(SerialKind, 'SerialKind', classMeta);
165
+ setMetadataFor(ENUM, 'ENUM', objectMeta, SerialKind);
166
+ setMetadataFor(CONTEXTUAL, 'CONTEXTUAL', objectMeta, SerialKind);
167
+ setMetadataFor(PrimitiveKind, 'PrimitiveKind', classMeta, SerialKind);
168
+ setMetadataFor(BOOLEAN, 'BOOLEAN', objectMeta, PrimitiveKind);
169
+ setMetadataFor(BYTE, 'BYTE', objectMeta, PrimitiveKind);
170
+ setMetadataFor(CHAR, 'CHAR', objectMeta, PrimitiveKind);
171
+ setMetadataFor(SHORT, 'SHORT', objectMeta, PrimitiveKind);
172
+ setMetadataFor(INT, 'INT', objectMeta, PrimitiveKind);
173
+ setMetadataFor(LONG, 'LONG', objectMeta, PrimitiveKind);
174
+ setMetadataFor(FLOAT, 'FLOAT', objectMeta, PrimitiveKind);
175
+ setMetadataFor(DOUBLE, 'DOUBLE', objectMeta, PrimitiveKind);
176
+ setMetadataFor(STRING, 'STRING', objectMeta, PrimitiveKind);
177
+ setMetadataFor(StructureKind, 'StructureKind', classMeta, SerialKind);
178
+ setMetadataFor(CLASS, 'CLASS', objectMeta, StructureKind);
179
+ setMetadataFor(LIST, 'LIST', objectMeta, StructureKind);
180
+ setMetadataFor(MAP, 'MAP', objectMeta, StructureKind);
181
+ setMetadataFor(OBJECT, 'OBJECT', objectMeta, StructureKind);
182
+ setMetadataFor(PolymorphicKind, 'PolymorphicKind', classMeta, SerialKind);
183
+ setMetadataFor(OPEN, 'OPEN', objectMeta, PolymorphicKind);
184
+ function encodeNotNullMark() {
185
+ }
186
+ function beginCollection(descriptor, collectionSize) {
187
+ return this.lj(descriptor);
188
+ }
189
+ function encodeSerializableValue(serializer, value) {
190
+ serializer.mh(this, value);
191
+ }
192
+ function encodeNullableSerializableValue(serializer, value) {
193
+ var isNullabilitySupported = serializer.lh().gi();
194
+ if (isNullabilitySupported) {
195
+ return this.lk(isInterface(serializer, SerializationStrategy) ? serializer : THROW_CCE(), value);
196
+ }
197
+ if (value == null) {
198
+ this.pj();
199
+ } else {
200
+ this.pk();
201
+ this.lk(serializer, value);
202
+ }
203
+ }
204
+ setMetadataFor(Encoder, 'Encoder', interfaceMeta);
205
+ function shouldEncodeElementDefault(descriptor, index) {
206
+ return true;
207
+ }
208
+ setMetadataFor(CompositeEncoder, 'CompositeEncoder', interfaceMeta);
209
+ setMetadataFor(AbstractEncoder, 'AbstractEncoder', classMeta, VOID, [Encoder, CompositeEncoder]);
210
+ setMetadataFor(NothingSerializer_0, 'NothingSerializer', objectMeta, VOID, [KSerializer]);
211
+ setMetadataFor(DurationSerializer, 'DurationSerializer', objectMeta, VOID, [KSerializer]);
212
+ setMetadataFor(ListLikeDescriptor, 'ListLikeDescriptor', classMeta, VOID, [SerialDescriptor]);
213
+ setMetadataFor(ArrayListClassDesc, 'ArrayListClassDesc', classMeta, ListLikeDescriptor);
214
+ setMetadataFor(HashSetClassDesc, 'HashSetClassDesc', classMeta, ListLikeDescriptor);
215
+ setMetadataFor(LinkedHashSetClassDesc, 'LinkedHashSetClassDesc', classMeta, ListLikeDescriptor);
216
+ setMetadataFor(MapLikeDescriptor, 'MapLikeDescriptor', classMeta, VOID, [SerialDescriptor]);
217
+ setMetadataFor(HashMapClassDesc, 'HashMapClassDesc', classMeta, MapLikeDescriptor);
218
+ setMetadataFor(LinkedHashMapClassDesc, 'LinkedHashMapClassDesc', classMeta, MapLikeDescriptor);
219
+ setMetadataFor(ArrayClassDesc, 'ArrayClassDesc', classMeta, ListLikeDescriptor);
220
+ setMetadataFor(PrimitiveArrayDescriptor, 'PrimitiveArrayDescriptor', classMeta, ListLikeDescriptor);
221
+ setMetadataFor(AbstractCollectionSerializer, 'AbstractCollectionSerializer', classMeta, VOID, [KSerializer]);
222
+ setMetadataFor(CollectionLikeSerializer, 'CollectionLikeSerializer', classMeta, AbstractCollectionSerializer);
223
+ setMetadataFor(CollectionSerializer, 'CollectionSerializer', classMeta, CollectionLikeSerializer);
224
+ setMetadataFor(ArrayListSerializer, 'ArrayListSerializer', classMeta, CollectionSerializer);
225
+ setMetadataFor(HashSetSerializer, 'HashSetSerializer', classMeta, CollectionSerializer);
226
+ setMetadataFor(LinkedHashSetSerializer, 'LinkedHashSetSerializer', classMeta, CollectionSerializer);
227
+ setMetadataFor(MapLikeSerializer, 'MapLikeSerializer', classMeta, AbstractCollectionSerializer);
228
+ setMetadataFor(HashMapSerializer, 'HashMapSerializer', classMeta, MapLikeSerializer);
229
+ setMetadataFor(LinkedHashMapSerializer, 'LinkedHashMapSerializer', classMeta, MapLikeSerializer);
230
+ setMetadataFor(ReferenceArraySerializer, 'ReferenceArraySerializer', classMeta, CollectionLikeSerializer);
231
+ setMetadataFor(PrimitiveArraySerializer, 'PrimitiveArraySerializer', classMeta, CollectionLikeSerializer);
232
+ setMetadataFor(PluginGeneratedSerialDescriptor, 'PluginGeneratedSerialDescriptor', classMeta, VOID, [SerialDescriptor, CachedNames]);
233
+ setMetadataFor(InlineClassDescriptor, 'InlineClassDescriptor', classMeta, PluginGeneratedSerialDescriptor);
234
+ function typeParametersSerializers() {
235
+ return get_EMPTY_SERIALIZER_ARRAY();
236
+ }
237
+ setMetadataFor(GeneratedSerializer, 'GeneratedSerializer', interfaceMeta, VOID, [KSerializer]);
238
+ setMetadataFor(InlinePrimitiveDescriptor$1, VOID, classMeta, VOID, [GeneratedSerializer]);
239
+ setMetadataFor(NoOpEncoder, 'NoOpEncoder', objectMeta, AbstractEncoder);
240
+ setMetadataFor(NothingSerialDescriptor, 'NothingSerialDescriptor', objectMeta, VOID, [SerialDescriptor]);
241
+ setMetadataFor(NullableSerializer, 'NullableSerializer', classMeta, VOID, [KSerializer]);
242
+ setMetadataFor(SerialDescriptorForNullable, 'SerialDescriptorForNullable', classMeta, VOID, [SerialDescriptor, CachedNames]);
243
+ setMetadataFor(ObjectSerializer, 'ObjectSerializer', classMeta, VOID, [KSerializer]);
244
+ setMetadataFor(SerializerFactory, 'SerializerFactory', interfaceMeta);
245
+ setMetadataFor(CharArraySerializer_0, 'CharArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
246
+ setMetadataFor(DoubleArraySerializer_0, 'DoubleArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
247
+ setMetadataFor(FloatArraySerializer_0, 'FloatArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
248
+ setMetadataFor(LongArraySerializer_0, 'LongArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
249
+ setMetadataFor(ULongArraySerializer_0, 'ULongArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
250
+ setMetadataFor(IntArraySerializer_0, 'IntArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
251
+ setMetadataFor(UIntArraySerializer_0, 'UIntArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
252
+ setMetadataFor(ShortArraySerializer_0, 'ShortArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
253
+ setMetadataFor(UShortArraySerializer_0, 'UShortArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
254
+ setMetadataFor(ByteArraySerializer_0, 'ByteArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
255
+ setMetadataFor(UByteArraySerializer_0, 'UByteArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
256
+ setMetadataFor(BooleanArraySerializer_0, 'BooleanArraySerializer', objectMeta, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
257
+ setMetadataFor(StringSerializer, 'StringSerializer', objectMeta, VOID, [KSerializer]);
258
+ setMetadataFor(CharSerializer, 'CharSerializer', objectMeta, VOID, [KSerializer]);
259
+ setMetadataFor(DoubleSerializer, 'DoubleSerializer', objectMeta, VOID, [KSerializer]);
260
+ setMetadataFor(FloatSerializer, 'FloatSerializer', objectMeta, VOID, [KSerializer]);
261
+ setMetadataFor(LongSerializer, 'LongSerializer', objectMeta, VOID, [KSerializer]);
262
+ setMetadataFor(IntSerializer, 'IntSerializer', objectMeta, VOID, [KSerializer]);
263
+ setMetadataFor(ShortSerializer, 'ShortSerializer', objectMeta, VOID, [KSerializer]);
264
+ setMetadataFor(ByteSerializer, 'ByteSerializer', objectMeta, VOID, [KSerializer]);
265
+ setMetadataFor(BooleanSerializer, 'BooleanSerializer', objectMeta, VOID, [KSerializer]);
266
+ setMetadataFor(UnitSerializer, 'UnitSerializer', objectMeta, VOID, [KSerializer]);
267
+ setMetadataFor(PrimitiveSerialDescriptor_0, 'PrimitiveSerialDescriptor', classMeta, VOID, [SerialDescriptor]);
268
+ setMetadataFor(KeyValueSerializer, 'KeyValueSerializer', classMeta, VOID, [KSerializer]);
269
+ setMetadataFor(MapEntrySerializer_0, 'MapEntrySerializer', classMeta, KeyValueSerializer);
270
+ setMetadataFor(PairSerializer_0, 'PairSerializer', classMeta, KeyValueSerializer);
271
+ setMetadataFor(TripleSerializer_0, 'TripleSerializer', classMeta, VOID, [KSerializer]);
272
+ setMetadataFor(ULongSerializer, 'ULongSerializer', objectMeta, VOID, [KSerializer]);
273
+ setMetadataFor(UIntSerializer, 'UIntSerializer', objectMeta, VOID, [KSerializer]);
274
+ setMetadataFor(UShortSerializer, 'UShortSerializer', objectMeta, VOID, [KSerializer]);
275
+ setMetadataFor(UByteSerializer, 'UByteSerializer', objectMeta, VOID, [KSerializer]);
276
+ setMetadataFor(SerializersModule, 'SerializersModule', classMeta);
277
+ setMetadataFor(SerialModuleImpl, 'SerialModuleImpl', classMeta, SerializersModule);
278
+ setMetadataFor(SerializableWith, 'SerializableWith', classMeta, VOID, VOID, VOID, 0);
279
+ setMetadataFor(createCache$1, VOID, classMeta);
280
+ setMetadataFor(createParametrizedCache$1, VOID, classMeta);
281
+ //endregion
282
+ function KSerializer() {
283
+ }
284
+ function SerializationStrategy() {
285
+ }
286
+ function PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0) {
287
+ return function ($this$buildSerialDescriptor) {
288
+ $this$buildSerialDescriptor.vh('type', serializer_0(StringCompanionObject_instance).lh());
289
+ $this$buildSerialDescriptor.vh('value', buildSerialDescriptor('kotlinx.serialization.Polymorphic<' + this$0.wh_1.e6() + '>', CONTEXTUAL_getInstance(), []));
290
+ $this$buildSerialDescriptor.ph_1 = this$0.xh_1;
291
+ return Unit_instance;
292
+ };
293
+ }
294
+ function PolymorphicSerializer$descriptor$delegate$lambda(this$0) {
295
+ return function () {
296
+ var tmp = OPEN_getInstance();
297
+ return withContext(buildSerialDescriptor('kotlinx.serialization.Polymorphic', tmp, [], PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0)), this$0.wh_1);
298
+ };
299
+ }
300
+ function PolymorphicSerializer(baseClass) {
301
+ AbstractPolymorphicSerializer.call(this);
302
+ this.wh_1 = baseClass;
303
+ this.xh_1 = emptyList();
304
+ var tmp = this;
305
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
306
+ tmp.yh_1 = lazy(tmp_0, PolymorphicSerializer$descriptor$delegate$lambda(this));
307
+ }
308
+ protoOf(PolymorphicSerializer).zh = function () {
309
+ return this.wh_1;
310
+ };
311
+ protoOf(PolymorphicSerializer).lh = function () {
312
+ // Inline function 'kotlin.getValue' call
313
+ var this_0 = this.yh_1;
314
+ descriptor$factory();
315
+ return this_0.n2();
316
+ };
317
+ protoOf(PolymorphicSerializer).toString = function () {
318
+ return 'kotlinx.serialization.PolymorphicSerializer(baseClass: ' + this.wh_1 + ')';
319
+ };
320
+ function findPolymorphicSerializer(_this__u8e3s4, encoder, value) {
321
+ var tmp0_elvis_lhs = _this__u8e3s4.bi(encoder, value);
322
+ var tmp;
323
+ if (tmp0_elvis_lhs == null) {
324
+ throwSubtypeNotRegistered(getKClassFromExpression(value), _this__u8e3s4.zh());
325
+ } else {
326
+ tmp = tmp0_elvis_lhs;
327
+ }
328
+ return tmp;
329
+ }
330
+ function descriptor$factory() {
331
+ return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) {
332
+ return receiver.lh();
333
+ }, null);
334
+ }
335
+ function SealedClassSerializer() {
336
+ }
337
+ function SerializationException_init_$Init$($this) {
338
+ IllegalArgumentException_init_$Init$($this);
339
+ SerializationException.call($this);
340
+ return $this;
341
+ }
342
+ function SerializationException_init_$Create$() {
343
+ var tmp = SerializationException_init_$Init$(objectCreate(protoOf(SerializationException)));
344
+ captureStack(tmp, SerializationException_init_$Create$);
345
+ return tmp;
346
+ }
347
+ function SerializationException_init_$Init$_0(message, $this) {
348
+ IllegalArgumentException_init_$Init$_0(message, $this);
349
+ SerializationException.call($this);
350
+ return $this;
351
+ }
352
+ function SerializationException_init_$Create$_0(message) {
353
+ var tmp = SerializationException_init_$Init$_0(message, objectCreate(protoOf(SerializationException)));
354
+ captureStack(tmp, SerializationException_init_$Create$_0);
355
+ return tmp;
356
+ }
357
+ function SerializationException() {
358
+ captureStack(this, SerializationException);
359
+ }
360
+ function serializerOrNull(_this__u8e3s4) {
361
+ var tmp0_elvis_lhs = compiledSerializerImpl(_this__u8e3s4);
362
+ return tmp0_elvis_lhs == null ? builtinSerializerOrNull(_this__u8e3s4) : tmp0_elvis_lhs;
363
+ }
364
+ function serializersForParameters(_this__u8e3s4, typeArguments, failOnMissingTypeArgSerializer) {
365
+ var tmp;
366
+ if (failOnMissingTypeArgSerializer) {
367
+ // Inline function 'kotlin.collections.map' call
368
+ // Inline function 'kotlin.collections.mapTo' call
369
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(typeArguments, 10));
370
+ var tmp0_iterator = typeArguments.r();
371
+ while (tmp0_iterator.s()) {
372
+ var item = tmp0_iterator.u();
373
+ // Inline function 'kotlinx.serialization.serializersForParameters.<anonymous>' call
374
+ var tmp$ret$0 = serializer(_this__u8e3s4, item);
375
+ destination.o(tmp$ret$0);
376
+ }
377
+ tmp = destination;
378
+ } else {
379
+ // Inline function 'kotlin.collections.map' call
380
+ // Inline function 'kotlin.collections.mapTo' call
381
+ var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(typeArguments, 10));
382
+ var tmp0_iterator_0 = typeArguments.r();
383
+ while (tmp0_iterator_0.s()) {
384
+ var item_0 = tmp0_iterator_0.u();
385
+ // Inline function 'kotlinx.serialization.serializersForParameters.<anonymous>' call
386
+ var tmp0_elvis_lhs = serializerOrNull_0(_this__u8e3s4, item_0);
387
+ var tmp_0;
388
+ if (tmp0_elvis_lhs == null) {
389
+ return null;
390
+ } else {
391
+ tmp_0 = tmp0_elvis_lhs;
392
+ }
393
+ var tmp$ret$3 = tmp_0;
394
+ destination_0.o(tmp$ret$3);
395
+ }
396
+ tmp = destination_0;
397
+ }
398
+ var serializers = tmp;
399
+ return serializers;
400
+ }
401
+ function parametrizedSerializerOrNull(_this__u8e3s4, serializers, elementClassifierIfArray) {
402
+ var tmp0_elvis_lhs = builtinParametrizedSerializer(_this__u8e3s4, serializers, elementClassifierIfArray);
403
+ return tmp0_elvis_lhs == null ? compiledParametrizedSerializer(_this__u8e3s4, serializers) : tmp0_elvis_lhs;
404
+ }
405
+ function serializer(_this__u8e3s4, type) {
406
+ var tmp0_elvis_lhs = serializerByKTypeImpl(_this__u8e3s4, type, true);
407
+ var tmp;
408
+ if (tmp0_elvis_lhs == null) {
409
+ platformSpecificSerializerNotRegistered(kclass(type));
410
+ } else {
411
+ tmp = tmp0_elvis_lhs;
412
+ }
413
+ return tmp;
414
+ }
415
+ function serializerOrNull_0(_this__u8e3s4, type) {
416
+ return serializerByKTypeImpl(_this__u8e3s4, type, false);
417
+ }
418
+ function builtinParametrizedSerializer(_this__u8e3s4, serializers, elementClassifierIfArray) {
419
+ var tmp;
420
+ if (((_this__u8e3s4.equals(getKClass(Collection)) ? true : _this__u8e3s4.equals(getKClass(List))) ? true : _this__u8e3s4.equals(getKClass(MutableList))) ? true : _this__u8e3s4.equals(getKClass(ArrayList))) {
421
+ tmp = new ArrayListSerializer(serializers.c1(0));
422
+ } else if (_this__u8e3s4.equals(getKClass(HashSet))) {
423
+ tmp = new HashSetSerializer(serializers.c1(0));
424
+ } else if ((_this__u8e3s4.equals(getKClass(Set)) ? true : _this__u8e3s4.equals(getKClass(MutableSet))) ? true : _this__u8e3s4.equals(getKClass(LinkedHashSet))) {
425
+ tmp = new LinkedHashSetSerializer(serializers.c1(0));
426
+ } else if (_this__u8e3s4.equals(getKClass(HashMap))) {
427
+ tmp = new HashMapSerializer(serializers.c1(0), serializers.c1(1));
428
+ } else if ((_this__u8e3s4.equals(getKClass(Map)) ? true : _this__u8e3s4.equals(getKClass(MutableMap))) ? true : _this__u8e3s4.equals(getKClass(LinkedHashMap))) {
429
+ tmp = new LinkedHashMapSerializer(serializers.c1(0), serializers.c1(1));
430
+ } else if (_this__u8e3s4.equals(getKClass(Entry))) {
431
+ tmp = MapEntrySerializer(serializers.c1(0), serializers.c1(1));
432
+ } else if (_this__u8e3s4.equals(getKClass(Pair))) {
433
+ tmp = PairSerializer(serializers.c1(0), serializers.c1(1));
434
+ } else if (_this__u8e3s4.equals(getKClass(Triple))) {
435
+ tmp = TripleSerializer(serializers.c1(0), serializers.c1(1), serializers.c1(2));
436
+ } else {
437
+ var tmp_0;
438
+ if (isReferenceArray(_this__u8e3s4)) {
439
+ var tmp_1 = elementClassifierIfArray();
440
+ tmp_0 = ArraySerializer((!(tmp_1 == null) ? isInterface(tmp_1, KClass) : false) ? tmp_1 : THROW_CCE(), serializers.c1(0));
441
+ } else {
442
+ tmp_0 = null;
443
+ }
444
+ tmp = tmp_0;
445
+ }
446
+ return tmp;
447
+ }
448
+ function compiledParametrizedSerializer(_this__u8e3s4, serializers) {
449
+ // Inline function 'kotlin.collections.toTypedArray' call
450
+ var tmp$ret$0 = copyToArray(serializers);
451
+ return constructSerializerForGivenTypeArgs(_this__u8e3s4, tmp$ret$0.slice());
452
+ }
453
+ function serializerByKTypeImpl(_this__u8e3s4, type, failOnMissingTypeArgSerializer) {
454
+ var rootClass = kclass(type);
455
+ var isNullable = type.u6();
456
+ // Inline function 'kotlin.collections.map' call
457
+ var this_0 = type.t6();
458
+ // Inline function 'kotlin.collections.mapTo' call
459
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
460
+ var tmp0_iterator = this_0.r();
461
+ while (tmp0_iterator.s()) {
462
+ var item = tmp0_iterator.u();
463
+ var tmp$ret$0 = typeOrThrow(item);
464
+ destination.o(tmp$ret$0);
465
+ }
466
+ var typeArguments = destination;
467
+ var tmp;
468
+ if (typeArguments.y()) {
469
+ tmp = findCachedSerializer(rootClass, isNullable);
470
+ } else {
471
+ // Inline function 'kotlin.Result.getOrNull' call
472
+ var this_1 = findParametrizedCachedSerializer(rootClass, typeArguments, isNullable);
473
+ var tmp_0;
474
+ if (_Result___get_isFailure__impl__jpiriv(this_1)) {
475
+ tmp_0 = null;
476
+ } else {
477
+ var tmp_1 = _Result___get_value__impl__bjfvqg(this_1);
478
+ tmp_0 = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
479
+ }
480
+ tmp = tmp_0;
481
+ }
482
+ var cachedSerializer = tmp;
483
+ if (cachedSerializer == null)
484
+ null;
485
+ else {
486
+ // Inline function 'kotlin.let' call
487
+ // Inline function 'kotlin.contracts.contract' call
488
+ return cachedSerializer;
489
+ }
490
+ var tmp_2;
491
+ if (typeArguments.y()) {
492
+ tmp_2 = _this__u8e3s4.di(rootClass);
493
+ } else {
494
+ var tmp1_elvis_lhs = serializersForParameters(_this__u8e3s4, typeArguments, failOnMissingTypeArgSerializer);
495
+ var tmp_3;
496
+ if (tmp1_elvis_lhs == null) {
497
+ return null;
498
+ } else {
499
+ tmp_3 = tmp1_elvis_lhs;
500
+ }
501
+ var serializers = tmp_3;
502
+ var tmp2_elvis_lhs = parametrizedSerializerOrNull(rootClass, serializers, serializerByKTypeImpl$lambda(typeArguments));
503
+ tmp_2 = tmp2_elvis_lhs == null ? _this__u8e3s4.ci(rootClass, serializers) : tmp2_elvis_lhs;
504
+ }
505
+ var contextualSerializer = tmp_2;
506
+ var tmp_4;
507
+ if (contextualSerializer == null) {
508
+ tmp_4 = null;
509
+ } else {
510
+ // Inline function 'kotlinx.serialization.internal.cast' call
511
+ tmp_4 = isInterface(contextualSerializer, KSerializer) ? contextualSerializer : THROW_CCE();
512
+ }
513
+ var tmp4_safe_receiver = tmp_4;
514
+ return tmp4_safe_receiver == null ? null : nullable(tmp4_safe_receiver, isNullable);
515
+ }
516
+ function nullable(_this__u8e3s4, shouldBeNullable) {
517
+ if (shouldBeNullable)
518
+ return get_nullable(_this__u8e3s4);
519
+ return isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
520
+ }
521
+ function serializerByKTypeImpl$lambda($typeArguments) {
522
+ return function () {
523
+ return $typeArguments.c1(0).s6();
524
+ };
525
+ }
526
+ function get_SERIALIZERS_CACHE() {
527
+ _init_properties_SerializersCache_kt__hgwi2p();
528
+ return SERIALIZERS_CACHE;
529
+ }
530
+ var SERIALIZERS_CACHE;
531
+ function get_SERIALIZERS_CACHE_NULLABLE() {
532
+ _init_properties_SerializersCache_kt__hgwi2p();
533
+ return SERIALIZERS_CACHE_NULLABLE;
534
+ }
535
+ var SERIALIZERS_CACHE_NULLABLE;
536
+ function get_PARAMETRIZED_SERIALIZERS_CACHE() {
537
+ _init_properties_SerializersCache_kt__hgwi2p();
538
+ return PARAMETRIZED_SERIALIZERS_CACHE;
539
+ }
540
+ var PARAMETRIZED_SERIALIZERS_CACHE;
541
+ function get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE() {
542
+ _init_properties_SerializersCache_kt__hgwi2p();
543
+ return PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE;
544
+ }
545
+ var PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE;
546
+ function findCachedSerializer(clazz, isNullable) {
547
+ _init_properties_SerializersCache_kt__hgwi2p();
548
+ var tmp;
549
+ if (!isNullable) {
550
+ var tmp0_safe_receiver = get_SERIALIZERS_CACHE().ei(clazz);
551
+ var tmp_0;
552
+ if (tmp0_safe_receiver == null) {
553
+ tmp_0 = null;
554
+ } else {
555
+ // Inline function 'kotlinx.serialization.internal.cast' call
556
+ tmp_0 = isInterface(tmp0_safe_receiver, KSerializer) ? tmp0_safe_receiver : THROW_CCE();
557
+ }
558
+ tmp = tmp_0;
559
+ } else {
560
+ tmp = get_SERIALIZERS_CACHE_NULLABLE().ei(clazz);
561
+ }
562
+ return tmp;
563
+ }
564
+ function findParametrizedCachedSerializer(clazz, types, isNullable) {
565
+ _init_properties_SerializersCache_kt__hgwi2p();
566
+ var tmp;
567
+ if (!isNullable) {
568
+ var tmp_0 = get_PARAMETRIZED_SERIALIZERS_CACHE().fi(clazz, types);
569
+ tmp = new Result(tmp_0) instanceof Result ? tmp_0 : THROW_CCE();
570
+ } else {
571
+ tmp = get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE().fi(clazz, types);
572
+ }
573
+ return tmp;
574
+ }
575
+ function SERIALIZERS_CACHE$lambda(it) {
576
+ _init_properties_SerializersCache_kt__hgwi2p();
577
+ return serializerOrNull(it);
578
+ }
579
+ function SERIALIZERS_CACHE_NULLABLE$lambda(it) {
580
+ _init_properties_SerializersCache_kt__hgwi2p();
581
+ var tmp0_safe_receiver = serializerOrNull(it);
582
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_nullable(tmp0_safe_receiver);
583
+ var tmp;
584
+ if (tmp1_safe_receiver == null) {
585
+ tmp = null;
586
+ } else {
587
+ // Inline function 'kotlinx.serialization.internal.cast' call
588
+ tmp = isInterface(tmp1_safe_receiver, KSerializer) ? tmp1_safe_receiver : THROW_CCE();
589
+ }
590
+ return tmp;
591
+ }
592
+ function PARAMETRIZED_SERIALIZERS_CACHE$lambda(clazz, types) {
593
+ _init_properties_SerializersCache_kt__hgwi2p();
594
+ var serializers = ensureNotNull(serializersForParameters(EmptySerializersModule_0(), types, true));
595
+ return parametrizedSerializerOrNull(clazz, serializers, PARAMETRIZED_SERIALIZERS_CACHE$lambda$lambda(types));
596
+ }
597
+ function PARAMETRIZED_SERIALIZERS_CACHE$lambda$lambda($types) {
598
+ return function () {
599
+ return $types.c1(0).s6();
600
+ };
601
+ }
602
+ function PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda(clazz, types) {
603
+ _init_properties_SerializersCache_kt__hgwi2p();
604
+ var serializers = ensureNotNull(serializersForParameters(EmptySerializersModule_0(), types, true));
605
+ var tmp0_safe_receiver = parametrizedSerializerOrNull(clazz, serializers, PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda$lambda(types));
606
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_nullable(tmp0_safe_receiver);
607
+ var tmp;
608
+ if (tmp1_safe_receiver == null) {
609
+ tmp = null;
610
+ } else {
611
+ // Inline function 'kotlinx.serialization.internal.cast' call
612
+ tmp = isInterface(tmp1_safe_receiver, KSerializer) ? tmp1_safe_receiver : THROW_CCE();
613
+ }
614
+ return tmp;
615
+ }
616
+ function PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda$lambda($types) {
617
+ return function () {
618
+ return $types.c1(0).s6();
619
+ };
620
+ }
621
+ var properties_initialized_SerializersCache_kt_q8kf25;
622
+ function _init_properties_SerializersCache_kt__hgwi2p() {
623
+ if (!properties_initialized_SerializersCache_kt_q8kf25) {
624
+ properties_initialized_SerializersCache_kt_q8kf25 = true;
625
+ SERIALIZERS_CACHE = createCache(SERIALIZERS_CACHE$lambda);
626
+ SERIALIZERS_CACHE_NULLABLE = createCache(SERIALIZERS_CACHE_NULLABLE$lambda);
627
+ PARAMETRIZED_SERIALIZERS_CACHE = createParametrizedCache(PARAMETRIZED_SERIALIZERS_CACHE$lambda);
628
+ PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE = createParametrizedCache(PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda);
629
+ }
630
+ }
631
+ function get_nullable(_this__u8e3s4) {
632
+ var tmp;
633
+ if (_this__u8e3s4.lh().gi()) {
634
+ tmp = isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
635
+ } else {
636
+ tmp = new NullableSerializer(_this__u8e3s4);
637
+ }
638
+ return tmp;
639
+ }
640
+ function serializer_0(_this__u8e3s4) {
641
+ return StringSerializer_getInstance();
642
+ }
643
+ function serializer_1(_this__u8e3s4) {
644
+ return CharSerializer_getInstance();
645
+ }
646
+ function CharArraySerializer() {
647
+ return CharArraySerializer_getInstance();
648
+ }
649
+ function serializer_2(_this__u8e3s4) {
650
+ return DoubleSerializer_getInstance();
651
+ }
652
+ function DoubleArraySerializer() {
653
+ return DoubleArraySerializer_getInstance();
654
+ }
655
+ function serializer_3(_this__u8e3s4) {
656
+ return FloatSerializer_getInstance();
657
+ }
658
+ function FloatArraySerializer() {
659
+ return FloatArraySerializer_getInstance();
660
+ }
661
+ function serializer_4(_this__u8e3s4) {
662
+ return LongSerializer_getInstance();
663
+ }
664
+ function LongArraySerializer() {
665
+ return LongArraySerializer_getInstance();
666
+ }
667
+ function serializer_5(_this__u8e3s4) {
668
+ return ULongSerializer_getInstance();
669
+ }
670
+ function ULongArraySerializer() {
671
+ return ULongArraySerializer_getInstance();
672
+ }
673
+ function serializer_6(_this__u8e3s4) {
674
+ return IntSerializer_getInstance();
675
+ }
676
+ function IntArraySerializer() {
677
+ return IntArraySerializer_getInstance();
678
+ }
679
+ function serializer_7(_this__u8e3s4) {
680
+ return UIntSerializer_getInstance();
681
+ }
682
+ function UIntArraySerializer() {
683
+ return UIntArraySerializer_getInstance();
684
+ }
685
+ function serializer_8(_this__u8e3s4) {
686
+ return ShortSerializer_getInstance();
687
+ }
688
+ function ShortArraySerializer() {
689
+ return ShortArraySerializer_getInstance();
690
+ }
691
+ function serializer_9(_this__u8e3s4) {
692
+ return UShortSerializer_getInstance();
693
+ }
694
+ function UShortArraySerializer() {
695
+ return UShortArraySerializer_getInstance();
696
+ }
697
+ function serializer_10(_this__u8e3s4) {
698
+ return ByteSerializer_getInstance();
699
+ }
700
+ function ByteArraySerializer() {
701
+ return ByteArraySerializer_getInstance();
702
+ }
703
+ function serializer_11(_this__u8e3s4) {
704
+ return UByteSerializer_getInstance();
705
+ }
706
+ function UByteArraySerializer() {
707
+ return UByteArraySerializer_getInstance();
708
+ }
709
+ function serializer_12(_this__u8e3s4) {
710
+ return BooleanSerializer_getInstance();
711
+ }
712
+ function BooleanArraySerializer() {
713
+ return BooleanArraySerializer_getInstance();
714
+ }
715
+ function serializer_13(_this__u8e3s4) {
716
+ return UnitSerializer_getInstance();
717
+ }
718
+ function NothingSerializer() {
719
+ return NothingSerializer_getInstance();
720
+ }
721
+ function serializer_14(_this__u8e3s4) {
722
+ return DurationSerializer_getInstance();
723
+ }
724
+ function MapEntrySerializer(keySerializer, valueSerializer) {
725
+ return new MapEntrySerializer_0(keySerializer, valueSerializer);
726
+ }
727
+ function PairSerializer(keySerializer, valueSerializer) {
728
+ return new PairSerializer_0(keySerializer, valueSerializer);
729
+ }
730
+ function TripleSerializer(aSerializer, bSerializer, cSerializer) {
731
+ return new TripleSerializer_0(aSerializer, bSerializer, cSerializer);
732
+ }
733
+ function ArraySerializer(kClass, elementSerializer) {
734
+ return new ReferenceArraySerializer(kClass, elementSerializer);
735
+ }
736
+ function withContext(_this__u8e3s4, context) {
737
+ return new ContextDescriptor(_this__u8e3s4, context);
738
+ }
739
+ function ContextDescriptor(original, kClass) {
740
+ this.hi_1 = original;
741
+ this.ii_1 = kClass;
742
+ this.ji_1 = this.hi_1.ki() + '<' + this.ii_1.e6() + '>';
743
+ }
744
+ protoOf(ContextDescriptor).li = function () {
745
+ return this.hi_1.li();
746
+ };
747
+ protoOf(ContextDescriptor).mi = function () {
748
+ return this.hi_1.mi();
749
+ };
750
+ protoOf(ContextDescriptor).ni = function () {
751
+ return this.hi_1.ni();
752
+ };
753
+ protoOf(ContextDescriptor).gi = function () {
754
+ return this.hi_1.gi();
755
+ };
756
+ protoOf(ContextDescriptor).oi = function () {
757
+ return this.hi_1.oi();
758
+ };
759
+ protoOf(ContextDescriptor).pi = function (index) {
760
+ return this.hi_1.pi(index);
761
+ };
762
+ protoOf(ContextDescriptor).qi = function (index) {
763
+ return this.hi_1.qi(index);
764
+ };
765
+ protoOf(ContextDescriptor).ki = function () {
766
+ return this.ji_1;
767
+ };
768
+ protoOf(ContextDescriptor).equals = function (other) {
769
+ var tmp0_elvis_lhs = other instanceof ContextDescriptor ? other : null;
770
+ var tmp;
771
+ if (tmp0_elvis_lhs == null) {
772
+ return false;
773
+ } else {
774
+ tmp = tmp0_elvis_lhs;
775
+ }
776
+ var another = tmp;
777
+ return equals(this.hi_1, another.hi_1) ? another.ii_1.equals(this.ii_1) : false;
778
+ };
779
+ protoOf(ContextDescriptor).hashCode = function () {
780
+ var result = this.ii_1.hashCode();
781
+ result = imul(31, result) + getStringHashCode(this.ji_1) | 0;
782
+ return result;
783
+ };
784
+ protoOf(ContextDescriptor).toString = function () {
785
+ return 'ContextDescriptor(kClass: ' + this.ii_1 + ', original: ' + this.hi_1 + ')';
786
+ };
787
+ function getContextualDescriptor(_this__u8e3s4, descriptor) {
788
+ var tmp0_safe_receiver = get_capturedKClass(descriptor);
789
+ var tmp;
790
+ if (tmp0_safe_receiver == null) {
791
+ tmp = null;
792
+ } else {
793
+ // Inline function 'kotlin.let' call
794
+ // Inline function 'kotlin.contracts.contract' call
795
+ // Inline function 'kotlinx.serialization.descriptors.getContextualDescriptor.<anonymous>' call
796
+ var tmp0_safe_receiver_0 = _this__u8e3s4.di(tmp0_safe_receiver);
797
+ tmp = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.lh();
798
+ }
799
+ return tmp;
800
+ }
801
+ function get_capturedKClass(_this__u8e3s4) {
802
+ var tmp;
803
+ if (_this__u8e3s4 instanceof ContextDescriptor) {
804
+ tmp = _this__u8e3s4.ii_1;
805
+ } else {
806
+ if (_this__u8e3s4 instanceof SerialDescriptorForNullable) {
807
+ tmp = get_capturedKClass(_this__u8e3s4.ri_1);
808
+ } else {
809
+ tmp = null;
810
+ }
811
+ }
812
+ return tmp;
813
+ }
814
+ function SerialDescriptor() {
815
+ }
816
+ function get_elementDescriptors(_this__u8e3s4) {
817
+ // Inline function 'kotlin.collections.Iterable' call
818
+ return new _no_name_provided__qut3iv(_this__u8e3s4);
819
+ }
820
+ function elementDescriptors$1$1($this_elementDescriptors) {
821
+ this.vi_1 = $this_elementDescriptors;
822
+ this.ui_1 = $this_elementDescriptors.mi();
823
+ }
824
+ protoOf(elementDescriptors$1$1).s = function () {
825
+ return this.ui_1 > 0;
826
+ };
827
+ protoOf(elementDescriptors$1$1).u = function () {
828
+ var tmp = this.vi_1.mi();
829
+ var tmp1 = this.ui_1;
830
+ this.ui_1 = tmp1 - 1 | 0;
831
+ return this.vi_1.pi(tmp - tmp1 | 0);
832
+ };
833
+ function _no_name_provided__qut3iv($this_elementDescriptors) {
834
+ this.wi_1 = $this_elementDescriptors;
835
+ }
836
+ protoOf(_no_name_provided__qut3iv).r = function () {
837
+ // Inline function 'kotlinx.serialization.descriptors.<get-elementDescriptors>.<anonymous>' call
838
+ return new elementDescriptors$1$1(this.wi_1);
839
+ };
840
+ function buildSerialDescriptor(serialName, kind, typeParameters, builder) {
841
+ var tmp;
842
+ if (builder === VOID) {
843
+ tmp = buildSerialDescriptor$lambda;
844
+ } else {
845
+ tmp = builder;
846
+ }
847
+ builder = tmp;
848
+ // Inline function 'kotlin.require' call
849
+ // Inline function 'kotlin.text.isNotBlank' call
850
+ // Inline function 'kotlin.contracts.contract' call
851
+ if (!!isBlank(serialName)) {
852
+ // Inline function 'kotlinx.serialization.descriptors.buildSerialDescriptor.<anonymous>' call
853
+ var message = 'Blank serial names are prohibited';
854
+ throw IllegalArgumentException_init_$Create$(toString(message));
855
+ }
856
+ // Inline function 'kotlin.require' call
857
+ // Inline function 'kotlin.contracts.contract' call
858
+ if (!!equals(kind, CLASS_getInstance())) {
859
+ // Inline function 'kotlinx.serialization.descriptors.buildSerialDescriptor.<anonymous>' call
860
+ var message_0 = "For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead";
861
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
862
+ }
863
+ var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
864
+ builder(sdBuilder);
865
+ return new SerialDescriptorImpl(serialName, kind, sdBuilder.qh_1.l(), toList(typeParameters), sdBuilder);
866
+ }
867
+ function ClassSerialDescriptorBuilder(serialName) {
868
+ this.nh_1 = serialName;
869
+ this.oh_1 = false;
870
+ this.ph_1 = emptyList();
871
+ this.qh_1 = ArrayList_init_$Create$_0();
872
+ this.rh_1 = HashSet_init_$Create$();
873
+ this.sh_1 = ArrayList_init_$Create$_0();
874
+ this.th_1 = ArrayList_init_$Create$_0();
875
+ this.uh_1 = ArrayList_init_$Create$_0();
876
+ }
877
+ protoOf(ClassSerialDescriptorBuilder).xi = function (elementName, descriptor, annotations, isOptional) {
878
+ // Inline function 'kotlin.require' call
879
+ // Inline function 'kotlin.contracts.contract' call
880
+ if (!this.rh_1.o(elementName)) {
881
+ // Inline function 'kotlinx.serialization.descriptors.ClassSerialDescriptorBuilder.element.<anonymous>' call
882
+ var message = "Element with name '" + elementName + "' is already registered in " + this.nh_1;
883
+ throw IllegalArgumentException_init_$Create$(toString(message));
884
+ }
885
+ // Inline function 'kotlin.collections.plusAssign' call
886
+ this.qh_1.o(elementName);
887
+ // Inline function 'kotlin.collections.plusAssign' call
888
+ this.sh_1.o(descriptor);
889
+ // Inline function 'kotlin.collections.plusAssign' call
890
+ this.th_1.o(annotations);
891
+ // Inline function 'kotlin.collections.plusAssign' call
892
+ this.uh_1.o(isOptional);
893
+ };
894
+ protoOf(ClassSerialDescriptorBuilder).vh = function (elementName, descriptor, annotations, isOptional, $super) {
895
+ annotations = annotations === VOID ? emptyList() : annotations;
896
+ isOptional = isOptional === VOID ? false : isOptional;
897
+ var tmp;
898
+ if ($super === VOID) {
899
+ this.xi(elementName, descriptor, annotations, isOptional);
900
+ tmp = Unit_instance;
901
+ } else {
902
+ tmp = $super.xi.call(this, elementName, descriptor, annotations, isOptional);
903
+ }
904
+ return tmp;
905
+ };
906
+ function buildClassSerialDescriptor(serialName, typeParameters, builderAction) {
907
+ var tmp;
908
+ if (builderAction === VOID) {
909
+ tmp = buildClassSerialDescriptor$lambda;
910
+ } else {
911
+ tmp = builderAction;
912
+ }
913
+ builderAction = tmp;
914
+ // Inline function 'kotlin.require' call
915
+ // Inline function 'kotlin.text.isNotBlank' call
916
+ // Inline function 'kotlin.contracts.contract' call
917
+ if (!!isBlank(serialName)) {
918
+ // Inline function 'kotlinx.serialization.descriptors.buildClassSerialDescriptor.<anonymous>' call
919
+ var message = 'Blank serial names are prohibited';
920
+ throw IllegalArgumentException_init_$Create$(toString(message));
921
+ }
922
+ var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
923
+ builderAction(sdBuilder);
924
+ return new SerialDescriptorImpl(serialName, CLASS_getInstance(), sdBuilder.qh_1.l(), toList(typeParameters), sdBuilder);
925
+ }
926
+ function _get__hashCode__tgwhef($this) {
927
+ // Inline function 'kotlin.getValue' call
928
+ var this_0 = $this.jj_1;
929
+ _hashCode$factory();
930
+ return this_0.n2();
931
+ }
932
+ function SerialDescriptorImpl$_hashCode$delegate$lambda(this$0) {
933
+ return function () {
934
+ return hashCodeImpl(this$0, this$0.ij_1);
935
+ };
936
+ }
937
+ function SerialDescriptorImpl$toString$lambda(this$0) {
938
+ return function (it) {
939
+ return this$0.qi(it) + ': ' + this$0.pi(it).ki();
940
+ };
941
+ }
942
+ function SerialDescriptorImpl(serialName, kind, elementsCount, typeParameters, builder) {
943
+ this.yi_1 = serialName;
944
+ this.zi_1 = kind;
945
+ this.aj_1 = elementsCount;
946
+ this.bj_1 = builder.ph_1;
947
+ this.cj_1 = toHashSet(builder.qh_1);
948
+ var tmp = this;
949
+ // Inline function 'kotlin.collections.toTypedArray' call
950
+ var this_0 = builder.qh_1;
951
+ tmp.dj_1 = copyToArray(this_0);
952
+ this.ej_1 = compactArray(builder.sh_1);
953
+ var tmp_0 = this;
954
+ // Inline function 'kotlin.collections.toTypedArray' call
955
+ var this_1 = builder.th_1;
956
+ tmp_0.fj_1 = copyToArray(this_1);
957
+ this.gj_1 = toBooleanArray(builder.uh_1);
958
+ var tmp_1 = this;
959
+ // Inline function 'kotlin.collections.map' call
960
+ var this_2 = withIndex(this.dj_1);
961
+ // Inline function 'kotlin.collections.mapTo' call
962
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
963
+ var tmp0_iterator = this_2.r();
964
+ while (tmp0_iterator.s()) {
965
+ var item = tmp0_iterator.u();
966
+ // Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.name2Index.<anonymous>' call
967
+ var tmp$ret$2 = to(item.lc_1, item.kc_1);
968
+ destination.o(tmp$ret$2);
969
+ }
970
+ tmp_1.hj_1 = toMap(destination);
971
+ this.ij_1 = compactArray(typeParameters);
972
+ var tmp_2 = this;
973
+ tmp_2.jj_1 = lazy_0(SerialDescriptorImpl$_hashCode$delegate$lambda(this));
974
+ }
975
+ protoOf(SerialDescriptorImpl).ki = function () {
976
+ return this.yi_1;
977
+ };
978
+ protoOf(SerialDescriptorImpl).oi = function () {
979
+ return this.zi_1;
980
+ };
981
+ protoOf(SerialDescriptorImpl).mi = function () {
982
+ return this.aj_1;
983
+ };
984
+ protoOf(SerialDescriptorImpl).li = function () {
985
+ return this.bj_1;
986
+ };
987
+ protoOf(SerialDescriptorImpl).kj = function () {
988
+ return this.cj_1;
989
+ };
990
+ protoOf(SerialDescriptorImpl).qi = function (index) {
991
+ return getChecked(this.dj_1, index);
992
+ };
993
+ protoOf(SerialDescriptorImpl).pi = function (index) {
994
+ return getChecked(this.ej_1, index);
995
+ };
996
+ protoOf(SerialDescriptorImpl).equals = function (other) {
997
+ var tmp$ret$0;
998
+ $l$block_5: {
999
+ // Inline function 'kotlinx.serialization.internal.equalsImpl' call
1000
+ if (this === other) {
1001
+ tmp$ret$0 = true;
1002
+ break $l$block_5;
1003
+ }
1004
+ if (!(other instanceof SerialDescriptorImpl)) {
1005
+ tmp$ret$0 = false;
1006
+ break $l$block_5;
1007
+ }
1008
+ if (!(this.ki() === other.ki())) {
1009
+ tmp$ret$0 = false;
1010
+ break $l$block_5;
1011
+ }
1012
+ // Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.equals.<anonymous>' call
1013
+ if (!contentEquals(this.ij_1, other.ij_1)) {
1014
+ tmp$ret$0 = false;
1015
+ break $l$block_5;
1016
+ }
1017
+ if (!(this.mi() === other.mi())) {
1018
+ tmp$ret$0 = false;
1019
+ break $l$block_5;
1020
+ }
1021
+ var inductionVariable = 0;
1022
+ var last = this.mi();
1023
+ if (inductionVariable < last)
1024
+ do {
1025
+ var index = inductionVariable;
1026
+ inductionVariable = inductionVariable + 1 | 0;
1027
+ if (!(this.pi(index).ki() === other.pi(index).ki())) {
1028
+ tmp$ret$0 = false;
1029
+ break $l$block_5;
1030
+ }
1031
+ if (!equals(this.pi(index).oi(), other.pi(index).oi())) {
1032
+ tmp$ret$0 = false;
1033
+ break $l$block_5;
1034
+ }
1035
+ }
1036
+ while (inductionVariable < last);
1037
+ tmp$ret$0 = true;
1038
+ }
1039
+ return tmp$ret$0;
1040
+ };
1041
+ protoOf(SerialDescriptorImpl).hashCode = function () {
1042
+ return _get__hashCode__tgwhef(this);
1043
+ };
1044
+ protoOf(SerialDescriptorImpl).toString = function () {
1045
+ var tmp = until(0, this.aj_1);
1046
+ var tmp_0 = this.yi_1 + '(';
1047
+ return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, SerialDescriptorImpl$toString$lambda(this));
1048
+ };
1049
+ function PrimitiveSerialDescriptor(serialName, kind) {
1050
+ // Inline function 'kotlin.require' call
1051
+ // Inline function 'kotlin.text.isNotBlank' call
1052
+ // Inline function 'kotlin.contracts.contract' call
1053
+ if (!!isBlank(serialName)) {
1054
+ // Inline function 'kotlinx.serialization.descriptors.PrimitiveSerialDescriptor.<anonymous>' call
1055
+ var message = 'Blank serial names are prohibited';
1056
+ throw IllegalArgumentException_init_$Create$(toString(message));
1057
+ }
1058
+ return PrimitiveDescriptorSafe(serialName, kind);
1059
+ }
1060
+ function buildSerialDescriptor$lambda($this$null) {
1061
+ return Unit_instance;
1062
+ }
1063
+ function buildClassSerialDescriptor$lambda($this$null) {
1064
+ return Unit_instance;
1065
+ }
1066
+ function _hashCode$factory() {
1067
+ return getPropertyCallableRef('_hashCode', 1, KProperty1, function (receiver) {
1068
+ return _get__hashCode__tgwhef(receiver);
1069
+ }, null);
1070
+ }
1071
+ function ENUM() {
1072
+ ENUM_instance = this;
1073
+ SerialKind.call(this);
1074
+ }
1075
+ var ENUM_instance;
1076
+ function ENUM_getInstance() {
1077
+ if (ENUM_instance == null)
1078
+ new ENUM();
1079
+ return ENUM_instance;
1080
+ }
1081
+ function CONTEXTUAL() {
1082
+ CONTEXTUAL_instance = this;
1083
+ SerialKind.call(this);
1084
+ }
1085
+ var CONTEXTUAL_instance;
1086
+ function CONTEXTUAL_getInstance() {
1087
+ if (CONTEXTUAL_instance == null)
1088
+ new CONTEXTUAL();
1089
+ return CONTEXTUAL_instance;
1090
+ }
1091
+ function SerialKind() {
1092
+ }
1093
+ protoOf(SerialKind).toString = function () {
1094
+ return ensureNotNull(getKClassFromExpression(this).e6());
1095
+ };
1096
+ protoOf(SerialKind).hashCode = function () {
1097
+ return getStringHashCode(this.toString());
1098
+ };
1099
+ function BOOLEAN() {
1100
+ BOOLEAN_instance = this;
1101
+ PrimitiveKind.call(this);
1102
+ }
1103
+ var BOOLEAN_instance;
1104
+ function BOOLEAN_getInstance() {
1105
+ if (BOOLEAN_instance == null)
1106
+ new BOOLEAN();
1107
+ return BOOLEAN_instance;
1108
+ }
1109
+ function BYTE() {
1110
+ BYTE_instance = this;
1111
+ PrimitiveKind.call(this);
1112
+ }
1113
+ var BYTE_instance;
1114
+ function BYTE_getInstance() {
1115
+ if (BYTE_instance == null)
1116
+ new BYTE();
1117
+ return BYTE_instance;
1118
+ }
1119
+ function CHAR() {
1120
+ CHAR_instance = this;
1121
+ PrimitiveKind.call(this);
1122
+ }
1123
+ var CHAR_instance;
1124
+ function CHAR_getInstance() {
1125
+ if (CHAR_instance == null)
1126
+ new CHAR();
1127
+ return CHAR_instance;
1128
+ }
1129
+ function SHORT() {
1130
+ SHORT_instance = this;
1131
+ PrimitiveKind.call(this);
1132
+ }
1133
+ var SHORT_instance;
1134
+ function SHORT_getInstance() {
1135
+ if (SHORT_instance == null)
1136
+ new SHORT();
1137
+ return SHORT_instance;
1138
+ }
1139
+ function INT() {
1140
+ INT_instance = this;
1141
+ PrimitiveKind.call(this);
1142
+ }
1143
+ var INT_instance;
1144
+ function INT_getInstance() {
1145
+ if (INT_instance == null)
1146
+ new INT();
1147
+ return INT_instance;
1148
+ }
1149
+ function LONG() {
1150
+ LONG_instance = this;
1151
+ PrimitiveKind.call(this);
1152
+ }
1153
+ var LONG_instance;
1154
+ function LONG_getInstance() {
1155
+ if (LONG_instance == null)
1156
+ new LONG();
1157
+ return LONG_instance;
1158
+ }
1159
+ function FLOAT() {
1160
+ FLOAT_instance = this;
1161
+ PrimitiveKind.call(this);
1162
+ }
1163
+ var FLOAT_instance;
1164
+ function FLOAT_getInstance() {
1165
+ if (FLOAT_instance == null)
1166
+ new FLOAT();
1167
+ return FLOAT_instance;
1168
+ }
1169
+ function DOUBLE() {
1170
+ DOUBLE_instance = this;
1171
+ PrimitiveKind.call(this);
1172
+ }
1173
+ var DOUBLE_instance;
1174
+ function DOUBLE_getInstance() {
1175
+ if (DOUBLE_instance == null)
1176
+ new DOUBLE();
1177
+ return DOUBLE_instance;
1178
+ }
1179
+ function STRING() {
1180
+ STRING_instance = this;
1181
+ PrimitiveKind.call(this);
1182
+ }
1183
+ var STRING_instance;
1184
+ function STRING_getInstance() {
1185
+ if (STRING_instance == null)
1186
+ new STRING();
1187
+ return STRING_instance;
1188
+ }
1189
+ function PrimitiveKind() {
1190
+ SerialKind.call(this);
1191
+ }
1192
+ function CLASS() {
1193
+ CLASS_instance = this;
1194
+ StructureKind.call(this);
1195
+ }
1196
+ var CLASS_instance;
1197
+ function CLASS_getInstance() {
1198
+ if (CLASS_instance == null)
1199
+ new CLASS();
1200
+ return CLASS_instance;
1201
+ }
1202
+ function LIST() {
1203
+ LIST_instance = this;
1204
+ StructureKind.call(this);
1205
+ }
1206
+ var LIST_instance;
1207
+ function LIST_getInstance() {
1208
+ if (LIST_instance == null)
1209
+ new LIST();
1210
+ return LIST_instance;
1211
+ }
1212
+ function MAP() {
1213
+ MAP_instance = this;
1214
+ StructureKind.call(this);
1215
+ }
1216
+ var MAP_instance;
1217
+ function MAP_getInstance() {
1218
+ if (MAP_instance == null)
1219
+ new MAP();
1220
+ return MAP_instance;
1221
+ }
1222
+ function OBJECT() {
1223
+ OBJECT_instance = this;
1224
+ StructureKind.call(this);
1225
+ }
1226
+ var OBJECT_instance;
1227
+ function OBJECT_getInstance() {
1228
+ if (OBJECT_instance == null)
1229
+ new OBJECT();
1230
+ return OBJECT_instance;
1231
+ }
1232
+ function StructureKind() {
1233
+ SerialKind.call(this);
1234
+ }
1235
+ function OPEN() {
1236
+ OPEN_instance = this;
1237
+ PolymorphicKind.call(this);
1238
+ }
1239
+ var OPEN_instance;
1240
+ function OPEN_getInstance() {
1241
+ if (OPEN_instance == null)
1242
+ new OPEN();
1243
+ return OPEN_instance;
1244
+ }
1245
+ function PolymorphicKind() {
1246
+ SerialKind.call(this);
1247
+ }
1248
+ function AbstractEncoder() {
1249
+ }
1250
+ protoOf(AbstractEncoder).lj = function (descriptor) {
1251
+ return this;
1252
+ };
1253
+ protoOf(AbstractEncoder).mj = function (descriptor) {
1254
+ };
1255
+ protoOf(AbstractEncoder).nj = function (descriptor, index) {
1256
+ return true;
1257
+ };
1258
+ protoOf(AbstractEncoder).oj = function (value) {
1259
+ throw SerializationException_init_$Create$_0('Non-serializable ' + getKClassFromExpression(value) + ' is not supported by ' + getKClassFromExpression(this) + ' encoder');
1260
+ };
1261
+ protoOf(AbstractEncoder).pj = function () {
1262
+ throw SerializationException_init_$Create$_0("'null' is not supported by default");
1263
+ };
1264
+ protoOf(AbstractEncoder).qj = function (value) {
1265
+ return this.oj(value);
1266
+ };
1267
+ protoOf(AbstractEncoder).rj = function (value) {
1268
+ return this.oj(value);
1269
+ };
1270
+ protoOf(AbstractEncoder).sj = function (value) {
1271
+ return this.oj(value);
1272
+ };
1273
+ protoOf(AbstractEncoder).tj = function (value) {
1274
+ return this.oj(value);
1275
+ };
1276
+ protoOf(AbstractEncoder).uj = function (value) {
1277
+ return this.oj(value);
1278
+ };
1279
+ protoOf(AbstractEncoder).vj = function (value) {
1280
+ return this.oj(value);
1281
+ };
1282
+ protoOf(AbstractEncoder).wj = function (value) {
1283
+ return this.oj(value);
1284
+ };
1285
+ protoOf(AbstractEncoder).xj = function (value) {
1286
+ return this.oj(new Char(value));
1287
+ };
1288
+ protoOf(AbstractEncoder).yj = function (value) {
1289
+ return this.oj(value);
1290
+ };
1291
+ protoOf(AbstractEncoder).zj = function (descriptor) {
1292
+ return this;
1293
+ };
1294
+ protoOf(AbstractEncoder).ak = function (descriptor, index, value) {
1295
+ if (this.nj(descriptor, index)) {
1296
+ this.qj(value);
1297
+ }
1298
+ };
1299
+ protoOf(AbstractEncoder).bk = function (descriptor, index, value) {
1300
+ if (this.nj(descriptor, index)) {
1301
+ this.rj(value);
1302
+ }
1303
+ };
1304
+ protoOf(AbstractEncoder).ck = function (descriptor, index, value) {
1305
+ if (this.nj(descriptor, index)) {
1306
+ this.sj(value);
1307
+ }
1308
+ };
1309
+ protoOf(AbstractEncoder).dk = function (descriptor, index, value) {
1310
+ if (this.nj(descriptor, index)) {
1311
+ this.tj(value);
1312
+ }
1313
+ };
1314
+ protoOf(AbstractEncoder).ek = function (descriptor, index, value) {
1315
+ if (this.nj(descriptor, index)) {
1316
+ this.uj(value);
1317
+ }
1318
+ };
1319
+ protoOf(AbstractEncoder).fk = function (descriptor, index, value) {
1320
+ if (this.nj(descriptor, index)) {
1321
+ this.vj(value);
1322
+ }
1323
+ };
1324
+ protoOf(AbstractEncoder).gk = function (descriptor, index, value) {
1325
+ if (this.nj(descriptor, index)) {
1326
+ this.wj(value);
1327
+ }
1328
+ };
1329
+ protoOf(AbstractEncoder).hk = function (descriptor, index, value) {
1330
+ if (this.nj(descriptor, index)) {
1331
+ this.xj(value);
1332
+ }
1333
+ };
1334
+ protoOf(AbstractEncoder).ik = function (descriptor, index, value) {
1335
+ if (this.nj(descriptor, index)) {
1336
+ this.yj(value);
1337
+ }
1338
+ };
1339
+ protoOf(AbstractEncoder).jk = function (descriptor, index) {
1340
+ return this.nj(descriptor, index) ? this.zj(descriptor.pi(index)) : NoOpEncoder_getInstance();
1341
+ };
1342
+ protoOf(AbstractEncoder).kk = function (descriptor, index, serializer, value) {
1343
+ if (this.nj(descriptor, index)) {
1344
+ this.lk(serializer, value);
1345
+ }
1346
+ };
1347
+ protoOf(AbstractEncoder).mk = function (descriptor, index, serializer, value) {
1348
+ if (this.nj(descriptor, index)) {
1349
+ this.nk(serializer, value);
1350
+ }
1351
+ };
1352
+ function Encoder() {
1353
+ }
1354
+ function CompositeEncoder() {
1355
+ }
1356
+ function AbstractPolymorphicSerializer() {
1357
+ }
1358
+ protoOf(AbstractPolymorphicSerializer).ai = function (encoder, value) {
1359
+ var actualSerializer = findPolymorphicSerializer(this, encoder, value);
1360
+ // Inline function 'kotlinx.serialization.encoding.encodeStructure' call
1361
+ var descriptor = this.lh();
1362
+ var composite = encoder.lj(descriptor);
1363
+ // Inline function 'kotlinx.serialization.internal.AbstractPolymorphicSerializer.serialize.<anonymous>' call
1364
+ composite.ik(this.lh(), 0, actualSerializer.lh().ki());
1365
+ var tmp = this.lh();
1366
+ // Inline function 'kotlinx.serialization.internal.cast' call
1367
+ var tmp$ret$0 = isInterface(actualSerializer, SerializationStrategy) ? actualSerializer : THROW_CCE();
1368
+ composite.kk(tmp, 1, tmp$ret$0, value);
1369
+ composite.mj(descriptor);
1370
+ };
1371
+ protoOf(AbstractPolymorphicSerializer).mh = function (encoder, value) {
1372
+ return this.ai(encoder, !(value == null) ? value : THROW_CCE());
1373
+ };
1374
+ protoOf(AbstractPolymorphicSerializer).bi = function (encoder, value) {
1375
+ return encoder.ok().sk(this.zh(), value);
1376
+ };
1377
+ function throwSubtypeNotRegistered(subClass, baseClass) {
1378
+ var tmp0_elvis_lhs = subClass.e6();
1379
+ throwSubtypeNotRegistered_0(tmp0_elvis_lhs == null ? '' + subClass : tmp0_elvis_lhs, baseClass);
1380
+ }
1381
+ function throwSubtypeNotRegistered_0(subClassName, baseClass) {
1382
+ var scope = "in the polymorphic scope of '" + baseClass.e6() + "'";
1383
+ 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.e6() + "' has to be sealed and '@Serializable'."));
1384
+ }
1385
+ function NothingSerializer_0() {
1386
+ NothingSerializer_instance = this;
1387
+ this.tk_1 = NothingSerialDescriptor_getInstance();
1388
+ }
1389
+ protoOf(NothingSerializer_0).lh = function () {
1390
+ return this.tk_1;
1391
+ };
1392
+ protoOf(NothingSerializer_0).uk = function (encoder, value) {
1393
+ throw SerializationException_init_$Create$_0("'kotlin.Nothing' cannot be serialized");
1394
+ };
1395
+ protoOf(NothingSerializer_0).mh = function (encoder, value) {
1396
+ var tmp;
1397
+ if (false) {
1398
+ tmp = value;
1399
+ } else {
1400
+ tmp = THROW_CCE();
1401
+ }
1402
+ return this.uk(encoder, tmp);
1403
+ };
1404
+ var NothingSerializer_instance;
1405
+ function NothingSerializer_getInstance() {
1406
+ if (NothingSerializer_instance == null)
1407
+ new NothingSerializer_0();
1408
+ return NothingSerializer_instance;
1409
+ }
1410
+ function DurationSerializer() {
1411
+ DurationSerializer_instance = this;
1412
+ this.vk_1 = new PrimitiveSerialDescriptor_0('kotlin.time.Duration', STRING_getInstance());
1413
+ }
1414
+ protoOf(DurationSerializer).lh = function () {
1415
+ return this.vk_1;
1416
+ };
1417
+ protoOf(DurationSerializer).wk = function (encoder, value) {
1418
+ encoder.yj(Duration__toIsoString_impl_9h6wsm(value));
1419
+ };
1420
+ protoOf(DurationSerializer).mh = function (encoder, value) {
1421
+ return this.wk(encoder, value instanceof Duration ? value.cf_1 : THROW_CCE());
1422
+ };
1423
+ var DurationSerializer_instance;
1424
+ function DurationSerializer_getInstance() {
1425
+ if (DurationSerializer_instance == null)
1426
+ new DurationSerializer();
1427
+ return DurationSerializer_instance;
1428
+ }
1429
+ function CachedNames() {
1430
+ }
1431
+ function ArrayListClassDesc(elementDesc) {
1432
+ ListLikeDescriptor.call(this, elementDesc);
1433
+ }
1434
+ protoOf(ArrayListClassDesc).ki = function () {
1435
+ return 'kotlin.collections.ArrayList';
1436
+ };
1437
+ function HashSetClassDesc(elementDesc) {
1438
+ ListLikeDescriptor.call(this, elementDesc);
1439
+ }
1440
+ protoOf(HashSetClassDesc).ki = function () {
1441
+ return 'kotlin.collections.HashSet';
1442
+ };
1443
+ function LinkedHashSetClassDesc(elementDesc) {
1444
+ ListLikeDescriptor.call(this, elementDesc);
1445
+ }
1446
+ protoOf(LinkedHashSetClassDesc).ki = function () {
1447
+ return 'kotlin.collections.LinkedHashSet';
1448
+ };
1449
+ function HashMapClassDesc(keyDesc, valueDesc) {
1450
+ MapLikeDescriptor.call(this, 'kotlin.collections.HashMap', keyDesc, valueDesc);
1451
+ }
1452
+ function LinkedHashMapClassDesc(keyDesc, valueDesc) {
1453
+ MapLikeDescriptor.call(this, 'kotlin.collections.LinkedHashMap', keyDesc, valueDesc);
1454
+ }
1455
+ function ArrayClassDesc(elementDesc) {
1456
+ ListLikeDescriptor.call(this, elementDesc);
1457
+ }
1458
+ protoOf(ArrayClassDesc).ki = function () {
1459
+ return 'kotlin.Array';
1460
+ };
1461
+ function ListLikeDescriptor(elementDescriptor) {
1462
+ this.zk_1 = elementDescriptor;
1463
+ this.al_1 = 1;
1464
+ }
1465
+ protoOf(ListLikeDescriptor).oi = function () {
1466
+ return LIST_getInstance();
1467
+ };
1468
+ protoOf(ListLikeDescriptor).mi = function () {
1469
+ return this.al_1;
1470
+ };
1471
+ protoOf(ListLikeDescriptor).qi = function (index) {
1472
+ return index.toString();
1473
+ };
1474
+ protoOf(ListLikeDescriptor).pi = function (index) {
1475
+ // Inline function 'kotlin.require' call
1476
+ // Inline function 'kotlin.contracts.contract' call
1477
+ if (!(index >= 0)) {
1478
+ // Inline function 'kotlinx.serialization.internal.ListLikeDescriptor.getElementDescriptor.<anonymous>' call
1479
+ var message = 'Illegal index ' + index + ', ' + this.ki() + ' expects only non-negative indices';
1480
+ throw IllegalArgumentException_init_$Create$(toString(message));
1481
+ }
1482
+ return this.zk_1;
1483
+ };
1484
+ protoOf(ListLikeDescriptor).equals = function (other) {
1485
+ if (this === other)
1486
+ return true;
1487
+ if (!(other instanceof ListLikeDescriptor))
1488
+ return false;
1489
+ if (equals(this.zk_1, other.zk_1) ? this.ki() === other.ki() : false)
1490
+ return true;
1491
+ return false;
1492
+ };
1493
+ protoOf(ListLikeDescriptor).hashCode = function () {
1494
+ return imul(hashCode(this.zk_1), 31) + getStringHashCode(this.ki()) | 0;
1495
+ };
1496
+ protoOf(ListLikeDescriptor).toString = function () {
1497
+ return this.ki() + '(' + this.zk_1 + ')';
1498
+ };
1499
+ function MapLikeDescriptor(serialName, keyDescriptor, valueDescriptor) {
1500
+ this.fl_1 = serialName;
1501
+ this.gl_1 = keyDescriptor;
1502
+ this.hl_1 = valueDescriptor;
1503
+ this.il_1 = 2;
1504
+ }
1505
+ protoOf(MapLikeDescriptor).ki = function () {
1506
+ return this.fl_1;
1507
+ };
1508
+ protoOf(MapLikeDescriptor).oi = function () {
1509
+ return MAP_getInstance();
1510
+ };
1511
+ protoOf(MapLikeDescriptor).mi = function () {
1512
+ return this.il_1;
1513
+ };
1514
+ protoOf(MapLikeDescriptor).qi = function (index) {
1515
+ return index.toString();
1516
+ };
1517
+ protoOf(MapLikeDescriptor).pi = function (index) {
1518
+ // Inline function 'kotlin.require' call
1519
+ // Inline function 'kotlin.contracts.contract' call
1520
+ if (!(index >= 0)) {
1521
+ // Inline function 'kotlinx.serialization.internal.MapLikeDescriptor.getElementDescriptor.<anonymous>' call
1522
+ var message = 'Illegal index ' + index + ', ' + this.ki() + ' expects only non-negative indices';
1523
+ throw IllegalArgumentException_init_$Create$(toString(message));
1524
+ }
1525
+ var tmp;
1526
+ switch (index % 2 | 0) {
1527
+ case 0:
1528
+ tmp = this.gl_1;
1529
+ break;
1530
+ case 1:
1531
+ tmp = this.hl_1;
1532
+ break;
1533
+ default:
1534
+ var message_0 = 'Unreached';
1535
+ throw IllegalStateException_init_$Create$(toString(message_0));
1536
+ }
1537
+ return tmp;
1538
+ };
1539
+ protoOf(MapLikeDescriptor).equals = function (other) {
1540
+ if (this === other)
1541
+ return true;
1542
+ if (!(other instanceof MapLikeDescriptor))
1543
+ return false;
1544
+ if (!(this.ki() === other.ki()))
1545
+ return false;
1546
+ if (!equals(this.gl_1, other.gl_1))
1547
+ return false;
1548
+ if (!equals(this.hl_1, other.hl_1))
1549
+ return false;
1550
+ return true;
1551
+ };
1552
+ protoOf(MapLikeDescriptor).hashCode = function () {
1553
+ var result = getStringHashCode(this.ki());
1554
+ result = imul(31, result) + hashCode(this.gl_1) | 0;
1555
+ result = imul(31, result) + hashCode(this.hl_1) | 0;
1556
+ return result;
1557
+ };
1558
+ protoOf(MapLikeDescriptor).toString = function () {
1559
+ return this.ki() + '(' + this.gl_1 + ', ' + this.hl_1 + ')';
1560
+ };
1561
+ function PrimitiveArrayDescriptor(primitive) {
1562
+ ListLikeDescriptor.call(this, primitive);
1563
+ this.nl_1 = primitive.ki() + 'Array';
1564
+ }
1565
+ protoOf(PrimitiveArrayDescriptor).ki = function () {
1566
+ return this.nl_1;
1567
+ };
1568
+ function ArrayListSerializer(element) {
1569
+ CollectionSerializer.call(this, element);
1570
+ this.pl_1 = new ArrayListClassDesc(element.lh());
1571
+ }
1572
+ protoOf(ArrayListSerializer).lh = function () {
1573
+ return this.pl_1;
1574
+ };
1575
+ function HashSetSerializer(eSerializer) {
1576
+ CollectionSerializer.call(this, eSerializer);
1577
+ this.wl_1 = new HashSetClassDesc(eSerializer.lh());
1578
+ }
1579
+ protoOf(HashSetSerializer).lh = function () {
1580
+ return this.wl_1;
1581
+ };
1582
+ function LinkedHashSetSerializer(eSerializer) {
1583
+ CollectionSerializer.call(this, eSerializer);
1584
+ this.yl_1 = new LinkedHashSetClassDesc(eSerializer.lh());
1585
+ }
1586
+ protoOf(LinkedHashSetSerializer).lh = function () {
1587
+ return this.yl_1;
1588
+ };
1589
+ function HashMapSerializer(kSerializer, vSerializer) {
1590
+ MapLikeSerializer.call(this, kSerializer, vSerializer);
1591
+ this.bm_1 = new HashMapClassDesc(kSerializer.lh(), vSerializer.lh());
1592
+ }
1593
+ protoOf(HashMapSerializer).lh = function () {
1594
+ return this.bm_1;
1595
+ };
1596
+ protoOf(HashMapSerializer).cm = function (_this__u8e3s4) {
1597
+ return _this__u8e3s4.l();
1598
+ };
1599
+ protoOf(HashMapSerializer).dm = function (_this__u8e3s4) {
1600
+ return this.cm((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Map) : false) ? _this__u8e3s4 : THROW_CCE());
1601
+ };
1602
+ protoOf(HashMapSerializer).em = function (_this__u8e3s4) {
1603
+ // Inline function 'kotlin.collections.iterator' call
1604
+ return _this__u8e3s4.l2().r();
1605
+ };
1606
+ protoOf(HashMapSerializer).fm = function (_this__u8e3s4) {
1607
+ return this.em((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Map) : false) ? _this__u8e3s4 : THROW_CCE());
1608
+ };
1609
+ function LinkedHashMapSerializer(kSerializer, vSerializer) {
1610
+ MapLikeSerializer.call(this, kSerializer, vSerializer);
1611
+ this.km_1 = new LinkedHashMapClassDesc(kSerializer.lh(), vSerializer.lh());
1612
+ }
1613
+ protoOf(LinkedHashMapSerializer).lh = function () {
1614
+ return this.km_1;
1615
+ };
1616
+ protoOf(LinkedHashMapSerializer).cm = function (_this__u8e3s4) {
1617
+ return _this__u8e3s4.l();
1618
+ };
1619
+ protoOf(LinkedHashMapSerializer).dm = function (_this__u8e3s4) {
1620
+ return this.cm((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Map) : false) ? _this__u8e3s4 : THROW_CCE());
1621
+ };
1622
+ protoOf(LinkedHashMapSerializer).em = function (_this__u8e3s4) {
1623
+ // Inline function 'kotlin.collections.iterator' call
1624
+ return _this__u8e3s4.l2().r();
1625
+ };
1626
+ protoOf(LinkedHashMapSerializer).fm = function (_this__u8e3s4) {
1627
+ return this.em((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Map) : false) ? _this__u8e3s4 : THROW_CCE());
1628
+ };
1629
+ function ReferenceArraySerializer(kClass, eSerializer) {
1630
+ CollectionLikeSerializer.call(this, eSerializer);
1631
+ this.mm_1 = kClass;
1632
+ this.nm_1 = new ArrayClassDesc(eSerializer.lh());
1633
+ }
1634
+ protoOf(ReferenceArraySerializer).lh = function () {
1635
+ return this.nm_1;
1636
+ };
1637
+ protoOf(ReferenceArraySerializer).om = function (_this__u8e3s4) {
1638
+ return _this__u8e3s4.length;
1639
+ };
1640
+ protoOf(ReferenceArraySerializer).dm = function (_this__u8e3s4) {
1641
+ return this.om((!(_this__u8e3s4 == null) ? isArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
1642
+ };
1643
+ protoOf(ReferenceArraySerializer).pm = function (_this__u8e3s4) {
1644
+ return arrayIterator(_this__u8e3s4);
1645
+ };
1646
+ protoOf(ReferenceArraySerializer).fm = function (_this__u8e3s4) {
1647
+ return this.pm((!(_this__u8e3s4 == null) ? isArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
1648
+ };
1649
+ function CollectionSerializer(element) {
1650
+ CollectionLikeSerializer.call(this, element);
1651
+ }
1652
+ protoOf(CollectionSerializer).rl = function (_this__u8e3s4) {
1653
+ return _this__u8e3s4.l();
1654
+ };
1655
+ protoOf(CollectionSerializer).dm = function (_this__u8e3s4) {
1656
+ return this.rl((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Collection) : false) ? _this__u8e3s4 : THROW_CCE());
1657
+ };
1658
+ protoOf(CollectionSerializer).sl = function (_this__u8e3s4) {
1659
+ return _this__u8e3s4.r();
1660
+ };
1661
+ protoOf(CollectionSerializer).fm = function (_this__u8e3s4) {
1662
+ return this.sl((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Collection) : false) ? _this__u8e3s4 : THROW_CCE());
1663
+ };
1664
+ function MapLikeSerializer(keySerializer, valueSerializer) {
1665
+ AbstractCollectionSerializer.call(this);
1666
+ this.gm_1 = keySerializer;
1667
+ this.hm_1 = valueSerializer;
1668
+ }
1669
+ protoOf(MapLikeSerializer).ul = function (encoder, value) {
1670
+ var size = this.dm(value);
1671
+ // Inline function 'kotlinx.serialization.encoding.encodeCollection' call
1672
+ var descriptor = this.lh();
1673
+ var composite = encoder.qk(descriptor, size);
1674
+ // Inline function 'kotlinx.serialization.internal.MapLikeSerializer.serialize.<anonymous>' call
1675
+ var iterator = this.fm(value);
1676
+ var index = 0;
1677
+ // Inline function 'kotlin.collections.forEach' call
1678
+ // Inline function 'kotlin.collections.iterator' call
1679
+ var tmp0_iterator = iterator;
1680
+ while (tmp0_iterator.s()) {
1681
+ var element = tmp0_iterator.u();
1682
+ // Inline function 'kotlinx.serialization.internal.MapLikeSerializer.serialize.<anonymous>.<anonymous>' call
1683
+ // Inline function 'kotlin.collections.component1' call
1684
+ var k = element.m2();
1685
+ // Inline function 'kotlin.collections.component2' call
1686
+ var v = element.n2();
1687
+ var tmp = this.lh();
1688
+ var tmp0 = index;
1689
+ index = tmp0 + 1 | 0;
1690
+ composite.kk(tmp, tmp0, this.gm_1, k);
1691
+ var tmp_0 = this.lh();
1692
+ var tmp1 = index;
1693
+ index = tmp1 + 1 | 0;
1694
+ composite.kk(tmp_0, tmp1, this.hm_1, v);
1695
+ }
1696
+ composite.mj(descriptor);
1697
+ };
1698
+ protoOf(MapLikeSerializer).mh = function (encoder, value) {
1699
+ return this.ul(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
1700
+ };
1701
+ function CollectionLikeSerializer(elementSerializer) {
1702
+ AbstractCollectionSerializer.call(this);
1703
+ this.tl_1 = elementSerializer;
1704
+ }
1705
+ protoOf(CollectionLikeSerializer).ul = function (encoder, value) {
1706
+ var size = this.dm(value);
1707
+ // Inline function 'kotlinx.serialization.encoding.encodeCollection' call
1708
+ var descriptor = this.lh();
1709
+ var composite = encoder.qk(descriptor, size);
1710
+ // Inline function 'kotlinx.serialization.internal.CollectionLikeSerializer.serialize.<anonymous>' call
1711
+ var iterator = this.fm(value);
1712
+ var inductionVariable = 0;
1713
+ if (inductionVariable < size)
1714
+ do {
1715
+ var index = inductionVariable;
1716
+ inductionVariable = inductionVariable + 1 | 0;
1717
+ composite.kk(this.lh(), index, this.tl_1, iterator.u());
1718
+ }
1719
+ while (inductionVariable < size);
1720
+ composite.mj(descriptor);
1721
+ };
1722
+ protoOf(CollectionLikeSerializer).mh = function (encoder, value) {
1723
+ return this.ul(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
1724
+ };
1725
+ function AbstractCollectionSerializer() {
1726
+ }
1727
+ function PrimitiveArraySerializer(primitiveSerializer) {
1728
+ CollectionLikeSerializer.call(this, primitiveSerializer);
1729
+ this.rm_1 = new PrimitiveArrayDescriptor(primitiveSerializer.lh());
1730
+ }
1731
+ protoOf(PrimitiveArraySerializer).lh = function () {
1732
+ return this.rm_1;
1733
+ };
1734
+ protoOf(PrimitiveArraySerializer).sm = function (_this__u8e3s4) {
1735
+ var message = 'This method lead to boxing and must not be used, use writeContents instead';
1736
+ throw IllegalStateException_init_$Create$(toString(message));
1737
+ };
1738
+ protoOf(PrimitiveArraySerializer).fm = function (_this__u8e3s4) {
1739
+ return this.sm((_this__u8e3s4 == null ? true : !(_this__u8e3s4 == null)) ? _this__u8e3s4 : THROW_CCE());
1740
+ };
1741
+ protoOf(PrimitiveArraySerializer).um = function (encoder, value) {
1742
+ var size = this.dm(value);
1743
+ // Inline function 'kotlinx.serialization.encoding.encodeCollection' call
1744
+ var descriptor = this.rm_1;
1745
+ var composite = encoder.qk(descriptor, size);
1746
+ // Inline function 'kotlinx.serialization.internal.PrimitiveArraySerializer.serialize.<anonymous>' call
1747
+ this.tm(composite, value, size);
1748
+ composite.mj(descriptor);
1749
+ };
1750
+ protoOf(PrimitiveArraySerializer).mh = function (encoder, value) {
1751
+ return this.um(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
1752
+ };
1753
+ protoOf(PrimitiveArraySerializer).ul = function (encoder, value) {
1754
+ return this.um(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
1755
+ };
1756
+ function InlinePrimitiveDescriptor(name, primitiveSerializer) {
1757
+ return new InlineClassDescriptor(name, new InlinePrimitiveDescriptor$1(primitiveSerializer));
1758
+ }
1759
+ function InlineClassDescriptor(name, generatedSerializer) {
1760
+ PluginGeneratedSerialDescriptor.call(this, name, generatedSerializer, 1);
1761
+ this.hn_1 = true;
1762
+ }
1763
+ protoOf(InlineClassDescriptor).ni = function () {
1764
+ return this.hn_1;
1765
+ };
1766
+ protoOf(InlineClassDescriptor).hashCode = function () {
1767
+ return imul(protoOf(PluginGeneratedSerialDescriptor).hashCode.call(this), 31);
1768
+ };
1769
+ protoOf(InlineClassDescriptor).equals = function (other) {
1770
+ var tmp$ret$0;
1771
+ $l$block_5: {
1772
+ // Inline function 'kotlinx.serialization.internal.equalsImpl' call
1773
+ if (this === other) {
1774
+ tmp$ret$0 = true;
1775
+ break $l$block_5;
1776
+ }
1777
+ if (!(other instanceof InlineClassDescriptor)) {
1778
+ tmp$ret$0 = false;
1779
+ break $l$block_5;
1780
+ }
1781
+ if (!(this.ki() === other.ki())) {
1782
+ tmp$ret$0 = false;
1783
+ break $l$block_5;
1784
+ }
1785
+ // Inline function 'kotlinx.serialization.internal.InlineClassDescriptor.equals.<anonymous>' call
1786
+ if (!(other.hn_1 ? contentEquals(this.un(), other.un()) : false)) {
1787
+ tmp$ret$0 = false;
1788
+ break $l$block_5;
1789
+ }
1790
+ if (!(this.mi() === other.mi())) {
1791
+ tmp$ret$0 = false;
1792
+ break $l$block_5;
1793
+ }
1794
+ var inductionVariable = 0;
1795
+ var last = this.mi();
1796
+ if (inductionVariable < last)
1797
+ do {
1798
+ var index = inductionVariable;
1799
+ inductionVariable = inductionVariable + 1 | 0;
1800
+ if (!(this.pi(index).ki() === other.pi(index).ki())) {
1801
+ tmp$ret$0 = false;
1802
+ break $l$block_5;
1803
+ }
1804
+ if (!equals(this.pi(index).oi(), other.pi(index).oi())) {
1805
+ tmp$ret$0 = false;
1806
+ break $l$block_5;
1807
+ }
1808
+ }
1809
+ while (inductionVariable < last);
1810
+ tmp$ret$0 = true;
1811
+ }
1812
+ return tmp$ret$0;
1813
+ };
1814
+ function InlinePrimitiveDescriptor$1($primitiveSerializer) {
1815
+ this.wn_1 = $primitiveSerializer;
1816
+ }
1817
+ protoOf(InlinePrimitiveDescriptor$1).xn = function () {
1818
+ // Inline function 'kotlin.arrayOf' call
1819
+ // Inline function 'kotlin.js.unsafeCast' call
1820
+ // Inline function 'kotlin.js.asDynamic' call
1821
+ return [this.wn_1];
1822
+ };
1823
+ protoOf(InlinePrimitiveDescriptor$1).lh = function () {
1824
+ var message = 'unsupported';
1825
+ throw IllegalStateException_init_$Create$(toString(message));
1826
+ };
1827
+ protoOf(InlinePrimitiveDescriptor$1).mh = function (encoder, value) {
1828
+ // Inline function 'kotlin.error' call
1829
+ var message = 'unsupported';
1830
+ throw IllegalStateException_init_$Create$(toString(message));
1831
+ };
1832
+ function jsonCachedSerialNames(_this__u8e3s4) {
1833
+ return cachedSerialNames(_this__u8e3s4);
1834
+ }
1835
+ function NoOpEncoder() {
1836
+ NoOpEncoder_instance = this;
1837
+ AbstractEncoder.call(this);
1838
+ this.zn_1 = EmptySerializersModule_0();
1839
+ }
1840
+ protoOf(NoOpEncoder).ok = function () {
1841
+ return this.zn_1;
1842
+ };
1843
+ protoOf(NoOpEncoder).oj = function (value) {
1844
+ return Unit_instance;
1845
+ };
1846
+ protoOf(NoOpEncoder).pj = function () {
1847
+ return Unit_instance;
1848
+ };
1849
+ protoOf(NoOpEncoder).qj = function (value) {
1850
+ return Unit_instance;
1851
+ };
1852
+ protoOf(NoOpEncoder).rj = function (value) {
1853
+ return Unit_instance;
1854
+ };
1855
+ protoOf(NoOpEncoder).sj = function (value) {
1856
+ return Unit_instance;
1857
+ };
1858
+ protoOf(NoOpEncoder).tj = function (value) {
1859
+ return Unit_instance;
1860
+ };
1861
+ protoOf(NoOpEncoder).uj = function (value) {
1862
+ return Unit_instance;
1863
+ };
1864
+ protoOf(NoOpEncoder).vj = function (value) {
1865
+ return Unit_instance;
1866
+ };
1867
+ protoOf(NoOpEncoder).wj = function (value) {
1868
+ return Unit_instance;
1869
+ };
1870
+ protoOf(NoOpEncoder).xj = function (value) {
1871
+ return Unit_instance;
1872
+ };
1873
+ protoOf(NoOpEncoder).yj = function (value) {
1874
+ return Unit_instance;
1875
+ };
1876
+ var NoOpEncoder_instance;
1877
+ function NoOpEncoder_getInstance() {
1878
+ if (NoOpEncoder_instance == null)
1879
+ new NoOpEncoder();
1880
+ return NoOpEncoder_instance;
1881
+ }
1882
+ function error($this) {
1883
+ throw IllegalStateException_init_$Create$('Descriptor for type `kotlin.Nothing` does not have elements');
1884
+ }
1885
+ function NothingSerialDescriptor() {
1886
+ NothingSerialDescriptor_instance = this;
1887
+ this.ao_1 = OBJECT_getInstance();
1888
+ this.bo_1 = 'kotlin.Nothing';
1889
+ }
1890
+ protoOf(NothingSerialDescriptor).oi = function () {
1891
+ return this.ao_1;
1892
+ };
1893
+ protoOf(NothingSerialDescriptor).ki = function () {
1894
+ return this.bo_1;
1895
+ };
1896
+ protoOf(NothingSerialDescriptor).mi = function () {
1897
+ return 0;
1898
+ };
1899
+ protoOf(NothingSerialDescriptor).qi = function (index) {
1900
+ error(this);
1901
+ };
1902
+ protoOf(NothingSerialDescriptor).pi = function (index) {
1903
+ error(this);
1904
+ };
1905
+ protoOf(NothingSerialDescriptor).toString = function () {
1906
+ return 'NothingSerialDescriptor';
1907
+ };
1908
+ protoOf(NothingSerialDescriptor).equals = function (other) {
1909
+ return this === other;
1910
+ };
1911
+ protoOf(NothingSerialDescriptor).hashCode = function () {
1912
+ return getStringHashCode(this.bo_1) + imul(31, this.ao_1.hashCode()) | 0;
1913
+ };
1914
+ var NothingSerialDescriptor_instance;
1915
+ function NothingSerialDescriptor_getInstance() {
1916
+ if (NothingSerialDescriptor_instance == null)
1917
+ new NothingSerialDescriptor();
1918
+ return NothingSerialDescriptor_instance;
1919
+ }
1920
+ function NullableSerializer(serializer) {
1921
+ this.co_1 = serializer;
1922
+ this.do_1 = new SerialDescriptorForNullable(this.co_1.lh());
1923
+ }
1924
+ protoOf(NullableSerializer).lh = function () {
1925
+ return this.do_1;
1926
+ };
1927
+ protoOf(NullableSerializer).eo = function (encoder, value) {
1928
+ if (!(value == null)) {
1929
+ encoder.pk();
1930
+ encoder.lk(this.co_1, value);
1931
+ } else {
1932
+ encoder.pj();
1933
+ }
1934
+ };
1935
+ protoOf(NullableSerializer).mh = function (encoder, value) {
1936
+ return this.eo(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
1937
+ };
1938
+ protoOf(NullableSerializer).equals = function (other) {
1939
+ if (this === other)
1940
+ return true;
1941
+ if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
1942
+ return false;
1943
+ if (!(other instanceof NullableSerializer))
1944
+ THROW_CCE();
1945
+ if (!equals(this.co_1, other.co_1))
1946
+ return false;
1947
+ return true;
1948
+ };
1949
+ protoOf(NullableSerializer).hashCode = function () {
1950
+ return hashCode(this.co_1);
1951
+ };
1952
+ function SerialDescriptorForNullable(original) {
1953
+ this.ri_1 = original;
1954
+ this.si_1 = this.ri_1.ki() + '?';
1955
+ this.ti_1 = cachedSerialNames(this.ri_1);
1956
+ }
1957
+ protoOf(SerialDescriptorForNullable).li = function () {
1958
+ return this.ri_1.li();
1959
+ };
1960
+ protoOf(SerialDescriptorForNullable).mi = function () {
1961
+ return this.ri_1.mi();
1962
+ };
1963
+ protoOf(SerialDescriptorForNullable).ni = function () {
1964
+ return this.ri_1.ni();
1965
+ };
1966
+ protoOf(SerialDescriptorForNullable).oi = function () {
1967
+ return this.ri_1.oi();
1968
+ };
1969
+ protoOf(SerialDescriptorForNullable).pi = function (index) {
1970
+ return this.ri_1.pi(index);
1971
+ };
1972
+ protoOf(SerialDescriptorForNullable).qi = function (index) {
1973
+ return this.ri_1.qi(index);
1974
+ };
1975
+ protoOf(SerialDescriptorForNullable).ki = function () {
1976
+ return this.si_1;
1977
+ };
1978
+ protoOf(SerialDescriptorForNullable).kj = function () {
1979
+ return this.ti_1;
1980
+ };
1981
+ protoOf(SerialDescriptorForNullable).gi = function () {
1982
+ return true;
1983
+ };
1984
+ protoOf(SerialDescriptorForNullable).equals = function (other) {
1985
+ if (this === other)
1986
+ return true;
1987
+ if (!(other instanceof SerialDescriptorForNullable))
1988
+ return false;
1989
+ if (!equals(this.ri_1, other.ri_1))
1990
+ return false;
1991
+ return true;
1992
+ };
1993
+ protoOf(SerialDescriptorForNullable).toString = function () {
1994
+ return '' + this.ri_1 + '?';
1995
+ };
1996
+ protoOf(SerialDescriptorForNullable).hashCode = function () {
1997
+ return imul(hashCode(this.ri_1), 31);
1998
+ };
1999
+ function ObjectSerializer$descriptor$delegate$lambda$lambda(this$0) {
2000
+ return function ($this$buildSerialDescriptor) {
2001
+ $this$buildSerialDescriptor.ph_1 = this$0.go_1;
2002
+ return Unit_instance;
2003
+ };
2004
+ }
2005
+ function ObjectSerializer$descriptor$delegate$lambda($serialName, this$0) {
2006
+ return function () {
2007
+ var tmp = OBJECT_getInstance();
2008
+ return buildSerialDescriptor($serialName, tmp, [], ObjectSerializer$descriptor$delegate$lambda$lambda(this$0));
2009
+ };
2010
+ }
2011
+ function ObjectSerializer(serialName, objectInstance) {
2012
+ this.fo_1 = objectInstance;
2013
+ this.go_1 = emptyList();
2014
+ var tmp = this;
2015
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2016
+ tmp.ho_1 = lazy(tmp_0, ObjectSerializer$descriptor$delegate$lambda(serialName, this));
2017
+ }
2018
+ protoOf(ObjectSerializer).lh = function () {
2019
+ // Inline function 'kotlin.getValue' call
2020
+ var this_0 = this.ho_1;
2021
+ descriptor$factory_0();
2022
+ return this_0.n2();
2023
+ };
2024
+ protoOf(ObjectSerializer).ai = function (encoder, value) {
2025
+ encoder.lj(this.lh()).mj(this.lh());
2026
+ };
2027
+ protoOf(ObjectSerializer).mh = function (encoder, value) {
2028
+ return this.ai(encoder, !(value == null) ? value : THROW_CCE());
2029
+ };
2030
+ function descriptor$factory_0() {
2031
+ return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) {
2032
+ return receiver.lh();
2033
+ }, null);
2034
+ }
2035
+ function get_EMPTY_DESCRIPTOR_ARRAY() {
2036
+ _init_properties_Platform_common_kt__3qzecs();
2037
+ return EMPTY_DESCRIPTOR_ARRAY;
2038
+ }
2039
+ var EMPTY_DESCRIPTOR_ARRAY;
2040
+ function cachedSerialNames(_this__u8e3s4) {
2041
+ _init_properties_Platform_common_kt__3qzecs();
2042
+ if (isInterface(_this__u8e3s4, CachedNames))
2043
+ return _this__u8e3s4.kj();
2044
+ var result = HashSet_init_$Create$_0(_this__u8e3s4.mi());
2045
+ var inductionVariable = 0;
2046
+ var last = _this__u8e3s4.mi();
2047
+ if (inductionVariable < last)
2048
+ do {
2049
+ var i = inductionVariable;
2050
+ inductionVariable = inductionVariable + 1 | 0;
2051
+ // Inline function 'kotlin.collections.plusAssign' call
2052
+ var element = _this__u8e3s4.qi(i);
2053
+ result.o(element);
2054
+ }
2055
+ while (inductionVariable < last);
2056
+ return result;
2057
+ }
2058
+ function kclass(_this__u8e3s4) {
2059
+ _init_properties_Platform_common_kt__3qzecs();
2060
+ var t = _this__u8e3s4.s6();
2061
+ var tmp;
2062
+ if (!(t == null) ? isInterface(t, KClass) : false) {
2063
+ tmp = t;
2064
+ } else {
2065
+ if (!(t == null) ? isInterface(t, KTypeParameter) : false) {
2066
+ throw IllegalArgumentException_init_$Create$('Captured type parameter ' + t + ' from generic non-reified function. ' + ('Such functionality cannot be supported because ' + t + ' is erased, either specify serializer explicitly or make ') + ('calling function inline with reified ' + t + '.'));
2067
+ } else {
2068
+ throw IllegalArgumentException_init_$Create$('Only KClass supported as classifier, got ' + t);
2069
+ }
2070
+ }
2071
+ var tmp_0 = tmp;
2072
+ return isInterface(tmp_0, KClass) ? tmp_0 : THROW_CCE();
2073
+ }
2074
+ function typeOrThrow(_this__u8e3s4) {
2075
+ _init_properties_Platform_common_kt__3qzecs();
2076
+ var tmp$ret$1;
2077
+ $l$block: {
2078
+ // Inline function 'kotlin.requireNotNull' call
2079
+ var value = _this__u8e3s4.oe_1;
2080
+ // Inline function 'kotlin.contracts.contract' call
2081
+ if (value == null) {
2082
+ // Inline function 'kotlinx.serialization.internal.typeOrThrow.<anonymous>' call
2083
+ var message = 'Star projections in type arguments are not allowed, but had ' + _this__u8e3s4.oe_1;
2084
+ throw IllegalArgumentException_init_$Create$(toString(message));
2085
+ } else {
2086
+ tmp$ret$1 = value;
2087
+ break $l$block;
2088
+ }
2089
+ }
2090
+ return tmp$ret$1;
2091
+ }
2092
+ function notRegisteredMessage(_this__u8e3s4) {
2093
+ _init_properties_Platform_common_kt__3qzecs();
2094
+ var tmp0_elvis_lhs = _this__u8e3s4.e6();
2095
+ return notRegisteredMessage_0(tmp0_elvis_lhs == null ? '<local class name not available>' : tmp0_elvis_lhs);
2096
+ }
2097
+ function notRegisteredMessage_0(className) {
2098
+ _init_properties_Platform_common_kt__3qzecs();
2099
+ return "Serializer for class '" + className + "' is not found.\n" + "Please ensure that class is marked as '@Serializable' and that the serialization compiler plugin is applied.\n";
2100
+ }
2101
+ function compactArray(_this__u8e3s4) {
2102
+ _init_properties_Platform_common_kt__3qzecs();
2103
+ // Inline function 'kotlin.takeUnless' call
2104
+ // Inline function 'kotlin.contracts.contract' call
2105
+ var tmp;
2106
+ // Inline function 'kotlinx.serialization.internal.compactArray.<anonymous>' call
2107
+ // Inline function 'kotlin.collections.isNullOrEmpty' call
2108
+ // Inline function 'kotlin.contracts.contract' call
2109
+ if (!(_this__u8e3s4 == null ? true : _this__u8e3s4.y())) {
2110
+ tmp = _this__u8e3s4;
2111
+ } else {
2112
+ tmp = null;
2113
+ }
2114
+ var tmp0_safe_receiver = tmp;
2115
+ var tmp_0;
2116
+ if (tmp0_safe_receiver == null) {
2117
+ tmp_0 = null;
2118
+ } else {
2119
+ // Inline function 'kotlin.collections.toTypedArray' call
2120
+ tmp_0 = copyToArray(tmp0_safe_receiver);
2121
+ }
2122
+ var tmp1_elvis_lhs = tmp_0;
2123
+ return tmp1_elvis_lhs == null ? get_EMPTY_DESCRIPTOR_ARRAY() : tmp1_elvis_lhs;
2124
+ }
2125
+ var properties_initialized_Platform_common_kt_i7q4ty;
2126
+ function _init_properties_Platform_common_kt__3qzecs() {
2127
+ if (!properties_initialized_Platform_common_kt_i7q4ty) {
2128
+ properties_initialized_Platform_common_kt_i7q4ty = true;
2129
+ // Inline function 'kotlin.arrayOf' call
2130
+ // Inline function 'kotlin.js.unsafeCast' call
2131
+ // Inline function 'kotlin.js.asDynamic' call
2132
+ EMPTY_DESCRIPTOR_ARRAY = [];
2133
+ }
2134
+ }
2135
+ function _get_childSerializers__7vnyfa($this) {
2136
+ // Inline function 'kotlin.getValue' call
2137
+ var this_0 = $this.rn_1;
2138
+ childSerializers$factory();
2139
+ return this_0.n2();
2140
+ }
2141
+ function _get__hashCode__tgwhef_0($this) {
2142
+ // Inline function 'kotlin.getValue' call
2143
+ var this_0 = $this.tn_1;
2144
+ _hashCode$factory_0();
2145
+ return this_0.n2();
2146
+ }
2147
+ function buildIndices($this) {
2148
+ var indices = HashMap_init_$Create$();
2149
+ var inductionVariable = 0;
2150
+ var last = $this.mn_1.length - 1 | 0;
2151
+ if (inductionVariable <= last)
2152
+ do {
2153
+ var i = inductionVariable;
2154
+ inductionVariable = inductionVariable + 1 | 0;
2155
+ // Inline function 'kotlin.collections.set' call
2156
+ var key = $this.mn_1[i];
2157
+ indices.j2(key, i);
2158
+ }
2159
+ while (inductionVariable <= last);
2160
+ return indices;
2161
+ }
2162
+ function PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this$0) {
2163
+ return function () {
2164
+ var tmp0_safe_receiver = this$0.jn_1;
2165
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xn();
2166
+ return tmp1_elvis_lhs == null ? get_EMPTY_SERIALIZER_ARRAY() : tmp1_elvis_lhs;
2167
+ };
2168
+ }
2169
+ function PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this$0) {
2170
+ return function () {
2171
+ var tmp0_safe_receiver = this$0.jn_1;
2172
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yn();
2173
+ var tmp;
2174
+ if (tmp1_safe_receiver == null) {
2175
+ tmp = null;
2176
+ } else {
2177
+ // Inline function 'kotlin.collections.map' call
2178
+ // Inline function 'kotlin.collections.mapTo' call
2179
+ var destination = ArrayList_init_$Create$(tmp1_safe_receiver.length);
2180
+ var inductionVariable = 0;
2181
+ var last = tmp1_safe_receiver.length;
2182
+ while (inductionVariable < last) {
2183
+ var item = tmp1_safe_receiver[inductionVariable];
2184
+ inductionVariable = inductionVariable + 1 | 0;
2185
+ // Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.typeParameterDescriptors$delegate.<anonymous>.<anonymous>' call
2186
+ var tmp$ret$0 = item.lh();
2187
+ destination.o(tmp$ret$0);
2188
+ }
2189
+ tmp = destination;
2190
+ }
2191
+ return compactArray(tmp);
2192
+ };
2193
+ }
2194
+ function PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this$0) {
2195
+ return function () {
2196
+ return hashCodeImpl(this$0, this$0.un());
2197
+ };
2198
+ }
2199
+ function PluginGeneratedSerialDescriptor$toString$lambda(this$0) {
2200
+ return function (i) {
2201
+ return this$0.qi(i) + ': ' + this$0.pi(i).ki();
2202
+ };
2203
+ }
2204
+ function PluginGeneratedSerialDescriptor(serialName, generatedSerializer, elementsCount) {
2205
+ generatedSerializer = generatedSerializer === VOID ? null : generatedSerializer;
2206
+ this.in_1 = serialName;
2207
+ this.jn_1 = generatedSerializer;
2208
+ this.kn_1 = elementsCount;
2209
+ this.ln_1 = -1;
2210
+ var tmp = this;
2211
+ var tmp_0 = 0;
2212
+ var tmp_1 = this.kn_1;
2213
+ // Inline function 'kotlin.arrayOfNulls' call
2214
+ var tmp_2 = fillArrayVal(Array(tmp_1), null);
2215
+ while (tmp_0 < tmp_1) {
2216
+ tmp_2[tmp_0] = '[UNINITIALIZED]';
2217
+ tmp_0 = tmp_0 + 1 | 0;
2218
+ }
2219
+ tmp.mn_1 = tmp_2;
2220
+ var tmp_3 = this;
2221
+ // Inline function 'kotlin.arrayOfNulls' call
2222
+ var size = this.kn_1;
2223
+ tmp_3.nn_1 = fillArrayVal(Array(size), null);
2224
+ this.on_1 = null;
2225
+ this.pn_1 = booleanArray(this.kn_1);
2226
+ this.qn_1 = emptyMap();
2227
+ var tmp_4 = this;
2228
+ var tmp_5 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2229
+ tmp_4.rn_1 = lazy(tmp_5, PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this));
2230
+ var tmp_6 = this;
2231
+ var tmp_7 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2232
+ tmp_6.sn_1 = lazy(tmp_7, PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this));
2233
+ var tmp_8 = this;
2234
+ var tmp_9 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2235
+ tmp_8.tn_1 = lazy(tmp_9, PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this));
2236
+ }
2237
+ protoOf(PluginGeneratedSerialDescriptor).ki = function () {
2238
+ return this.in_1;
2239
+ };
2240
+ protoOf(PluginGeneratedSerialDescriptor).mi = function () {
2241
+ return this.kn_1;
2242
+ };
2243
+ protoOf(PluginGeneratedSerialDescriptor).oi = function () {
2244
+ return CLASS_getInstance();
2245
+ };
2246
+ protoOf(PluginGeneratedSerialDescriptor).li = function () {
2247
+ var tmp0_elvis_lhs = this.on_1;
2248
+ return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
2249
+ };
2250
+ protoOf(PluginGeneratedSerialDescriptor).kj = function () {
2251
+ return this.qn_1.i2();
2252
+ };
2253
+ protoOf(PluginGeneratedSerialDescriptor).un = function () {
2254
+ // Inline function 'kotlin.getValue' call
2255
+ var this_0 = this.sn_1;
2256
+ typeParameterDescriptors$factory();
2257
+ return this_0.n2();
2258
+ };
2259
+ protoOf(PluginGeneratedSerialDescriptor).vn = function (name, isOptional) {
2260
+ this.ln_1 = this.ln_1 + 1 | 0;
2261
+ this.mn_1[this.ln_1] = name;
2262
+ this.pn_1[this.ln_1] = isOptional;
2263
+ this.nn_1[this.ln_1] = null;
2264
+ if (this.ln_1 === (this.kn_1 - 1 | 0)) {
2265
+ this.qn_1 = buildIndices(this);
2266
+ }
2267
+ };
2268
+ protoOf(PluginGeneratedSerialDescriptor).pi = function (index) {
2269
+ return getChecked(_get_childSerializers__7vnyfa(this), index).lh();
2270
+ };
2271
+ protoOf(PluginGeneratedSerialDescriptor).qi = function (index) {
2272
+ return getChecked(this.mn_1, index);
2273
+ };
2274
+ protoOf(PluginGeneratedSerialDescriptor).equals = function (other) {
2275
+ var tmp$ret$0;
2276
+ $l$block_5: {
2277
+ // Inline function 'kotlinx.serialization.internal.equalsImpl' call
2278
+ if (this === other) {
2279
+ tmp$ret$0 = true;
2280
+ break $l$block_5;
2281
+ }
2282
+ if (!(other instanceof PluginGeneratedSerialDescriptor)) {
2283
+ tmp$ret$0 = false;
2284
+ break $l$block_5;
2285
+ }
2286
+ if (!(this.ki() === other.ki())) {
2287
+ tmp$ret$0 = false;
2288
+ break $l$block_5;
2289
+ }
2290
+ // Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.equals.<anonymous>' call
2291
+ if (!contentEquals(this.un(), other.un())) {
2292
+ tmp$ret$0 = false;
2293
+ break $l$block_5;
2294
+ }
2295
+ if (!(this.mi() === other.mi())) {
2296
+ tmp$ret$0 = false;
2297
+ break $l$block_5;
2298
+ }
2299
+ var inductionVariable = 0;
2300
+ var last = this.mi();
2301
+ if (inductionVariable < last)
2302
+ do {
2303
+ var index = inductionVariable;
2304
+ inductionVariable = inductionVariable + 1 | 0;
2305
+ if (!(this.pi(index).ki() === other.pi(index).ki())) {
2306
+ tmp$ret$0 = false;
2307
+ break $l$block_5;
2308
+ }
2309
+ if (!equals(this.pi(index).oi(), other.pi(index).oi())) {
2310
+ tmp$ret$0 = false;
2311
+ break $l$block_5;
2312
+ }
2313
+ }
2314
+ while (inductionVariable < last);
2315
+ tmp$ret$0 = true;
2316
+ }
2317
+ return tmp$ret$0;
2318
+ };
2319
+ protoOf(PluginGeneratedSerialDescriptor).hashCode = function () {
2320
+ return _get__hashCode__tgwhef_0(this);
2321
+ };
2322
+ protoOf(PluginGeneratedSerialDescriptor).toString = function () {
2323
+ var tmp = until(0, this.kn_1);
2324
+ var tmp_0 = this.ki() + '(';
2325
+ return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, PluginGeneratedSerialDescriptor$toString$lambda(this));
2326
+ };
2327
+ function hashCodeImpl(_this__u8e3s4, typeParams) {
2328
+ var result = getStringHashCode(_this__u8e3s4.ki());
2329
+ result = imul(31, result) + contentHashCode(typeParams) | 0;
2330
+ var elementDescriptors = get_elementDescriptors(_this__u8e3s4);
2331
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
2332
+ // Inline function 'kotlin.collections.fold' call
2333
+ var accumulator = 1;
2334
+ var tmp0_iterator = elementDescriptors.r();
2335
+ while (tmp0_iterator.s()) {
2336
+ var element = tmp0_iterator.u();
2337
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
2338
+ var hash = accumulator;
2339
+ var tmp = imul(31, hash);
2340
+ // Inline function 'kotlin.hashCode' call
2341
+ // Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
2342
+ var tmp0_safe_receiver = element.ki();
2343
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
2344
+ accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
2345
+ }
2346
+ var namesHash = accumulator;
2347
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
2348
+ // Inline function 'kotlin.collections.fold' call
2349
+ var accumulator_0 = 1;
2350
+ var tmp0_iterator_0 = elementDescriptors.r();
2351
+ while (tmp0_iterator_0.s()) {
2352
+ var element_0 = tmp0_iterator_0.u();
2353
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
2354
+ var hash_0 = accumulator_0;
2355
+ var tmp_0 = imul(31, hash_0);
2356
+ // Inline function 'kotlin.hashCode' call
2357
+ // Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
2358
+ var tmp0_safe_receiver_0 = element_0.oi();
2359
+ var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
2360
+ accumulator_0 = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
2361
+ }
2362
+ var kindHash = accumulator_0;
2363
+ result = imul(31, result) + namesHash | 0;
2364
+ result = imul(31, result) + kindHash | 0;
2365
+ return result;
2366
+ }
2367
+ function childSerializers$factory() {
2368
+ return getPropertyCallableRef('childSerializers', 1, KProperty1, function (receiver) {
2369
+ return _get_childSerializers__7vnyfa(receiver);
2370
+ }, null);
2371
+ }
2372
+ function typeParameterDescriptors$factory() {
2373
+ return getPropertyCallableRef('typeParameterDescriptors', 1, KProperty1, function (receiver) {
2374
+ return receiver.un();
2375
+ }, null);
2376
+ }
2377
+ function _hashCode$factory_0() {
2378
+ return getPropertyCallableRef('_hashCode', 1, KProperty1, function (receiver) {
2379
+ return _get__hashCode__tgwhef_0(receiver);
2380
+ }, null);
2381
+ }
2382
+ function get_EMPTY_SERIALIZER_ARRAY() {
2383
+ _init_properties_PluginHelperInterfaces_kt__xgvzfp();
2384
+ return EMPTY_SERIALIZER_ARRAY;
2385
+ }
2386
+ var EMPTY_SERIALIZER_ARRAY;
2387
+ function SerializerFactory() {
2388
+ }
2389
+ function GeneratedSerializer() {
2390
+ }
2391
+ var properties_initialized_PluginHelperInterfaces_kt_ap8in1;
2392
+ function _init_properties_PluginHelperInterfaces_kt__xgvzfp() {
2393
+ if (!properties_initialized_PluginHelperInterfaces_kt_ap8in1) {
2394
+ properties_initialized_PluginHelperInterfaces_kt_ap8in1 = true;
2395
+ // Inline function 'kotlin.arrayOf' call
2396
+ // Inline function 'kotlin.js.unsafeCast' call
2397
+ // Inline function 'kotlin.js.asDynamic' call
2398
+ EMPTY_SERIALIZER_ARRAY = [];
2399
+ }
2400
+ }
2401
+ function CharArraySerializer_0() {
2402
+ CharArraySerializer_instance = this;
2403
+ PrimitiveArraySerializer.call(this, serializer_1(Companion_getInstance()));
2404
+ }
2405
+ protoOf(CharArraySerializer_0).lo = function (_this__u8e3s4) {
2406
+ return _this__u8e3s4.length;
2407
+ };
2408
+ protoOf(CharArraySerializer_0).dm = function (_this__u8e3s4) {
2409
+ return this.lo((!(_this__u8e3s4 == null) ? isCharArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
2410
+ };
2411
+ protoOf(CharArraySerializer_0).mo = function (encoder, content, size) {
2412
+ var inductionVariable = 0;
2413
+ if (inductionVariable < size)
2414
+ do {
2415
+ var i = inductionVariable;
2416
+ inductionVariable = inductionVariable + 1 | 0;
2417
+ encoder.hk(this.rm_1, i, content[i]);
2418
+ }
2419
+ while (inductionVariable < size);
2420
+ };
2421
+ protoOf(CharArraySerializer_0).tm = function (encoder, content, size) {
2422
+ return this.mo(encoder, (!(content == null) ? isCharArray(content) : false) ? content : THROW_CCE(), size);
2423
+ };
2424
+ var CharArraySerializer_instance;
2425
+ function CharArraySerializer_getInstance() {
2426
+ if (CharArraySerializer_instance == null)
2427
+ new CharArraySerializer_0();
2428
+ return CharArraySerializer_instance;
2429
+ }
2430
+ function DoubleArraySerializer_0() {
2431
+ DoubleArraySerializer_instance = this;
2432
+ PrimitiveArraySerializer.call(this, serializer_2(DoubleCompanionObject_instance));
2433
+ }
2434
+ protoOf(DoubleArraySerializer_0).po = function (_this__u8e3s4) {
2435
+ return _this__u8e3s4.length;
2436
+ };
2437
+ protoOf(DoubleArraySerializer_0).dm = function (_this__u8e3s4) {
2438
+ return this.po((!(_this__u8e3s4 == null) ? isDoubleArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
2439
+ };
2440
+ protoOf(DoubleArraySerializer_0).qo = function (encoder, content, size) {
2441
+ var inductionVariable = 0;
2442
+ if (inductionVariable < size)
2443
+ do {
2444
+ var i = inductionVariable;
2445
+ inductionVariable = inductionVariable + 1 | 0;
2446
+ encoder.gk(this.rm_1, i, content[i]);
2447
+ }
2448
+ while (inductionVariable < size);
2449
+ };
2450
+ protoOf(DoubleArraySerializer_0).tm = function (encoder, content, size) {
2451
+ return this.qo(encoder, (!(content == null) ? isDoubleArray(content) : false) ? content : THROW_CCE(), size);
2452
+ };
2453
+ var DoubleArraySerializer_instance;
2454
+ function DoubleArraySerializer_getInstance() {
2455
+ if (DoubleArraySerializer_instance == null)
2456
+ new DoubleArraySerializer_0();
2457
+ return DoubleArraySerializer_instance;
2458
+ }
2459
+ function FloatArraySerializer_0() {
2460
+ FloatArraySerializer_instance = this;
2461
+ PrimitiveArraySerializer.call(this, serializer_3(FloatCompanionObject_instance));
2462
+ }
2463
+ protoOf(FloatArraySerializer_0).to = function (_this__u8e3s4) {
2464
+ return _this__u8e3s4.length;
2465
+ };
2466
+ protoOf(FloatArraySerializer_0).dm = function (_this__u8e3s4) {
2467
+ return this.to((!(_this__u8e3s4 == null) ? isFloatArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
2468
+ };
2469
+ protoOf(FloatArraySerializer_0).uo = function (encoder, content, size) {
2470
+ var inductionVariable = 0;
2471
+ if (inductionVariable < size)
2472
+ do {
2473
+ var i = inductionVariable;
2474
+ inductionVariable = inductionVariable + 1 | 0;
2475
+ encoder.fk(this.rm_1, i, content[i]);
2476
+ }
2477
+ while (inductionVariable < size);
2478
+ };
2479
+ protoOf(FloatArraySerializer_0).tm = function (encoder, content, size) {
2480
+ return this.uo(encoder, (!(content == null) ? isFloatArray(content) : false) ? content : THROW_CCE(), size);
2481
+ };
2482
+ var FloatArraySerializer_instance;
2483
+ function FloatArraySerializer_getInstance() {
2484
+ if (FloatArraySerializer_instance == null)
2485
+ new FloatArraySerializer_0();
2486
+ return FloatArraySerializer_instance;
2487
+ }
2488
+ function LongArraySerializer_0() {
2489
+ LongArraySerializer_instance = this;
2490
+ PrimitiveArraySerializer.call(this, serializer_4(Companion_getInstance_0()));
2491
+ }
2492
+ protoOf(LongArraySerializer_0).xo = function (_this__u8e3s4) {
2493
+ return _this__u8e3s4.length;
2494
+ };
2495
+ protoOf(LongArraySerializer_0).dm = function (_this__u8e3s4) {
2496
+ return this.xo((!(_this__u8e3s4 == null) ? isLongArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
2497
+ };
2498
+ protoOf(LongArraySerializer_0).yo = function (encoder, content, size) {
2499
+ var inductionVariable = 0;
2500
+ if (inductionVariable < size)
2501
+ do {
2502
+ var i = inductionVariable;
2503
+ inductionVariable = inductionVariable + 1 | 0;
2504
+ encoder.ek(this.rm_1, i, content[i]);
2505
+ }
2506
+ while (inductionVariable < size);
2507
+ };
2508
+ protoOf(LongArraySerializer_0).tm = function (encoder, content, size) {
2509
+ return this.yo(encoder, (!(content == null) ? isLongArray(content) : false) ? content : THROW_CCE(), size);
2510
+ };
2511
+ var LongArraySerializer_instance;
2512
+ function LongArraySerializer_getInstance() {
2513
+ if (LongArraySerializer_instance == null)
2514
+ new LongArraySerializer_0();
2515
+ return LongArraySerializer_instance;
2516
+ }
2517
+ function ULongArraySerializer_0() {
2518
+ ULongArraySerializer_instance = this;
2519
+ PrimitiveArraySerializer.call(this, serializer_5(Companion_getInstance_1()));
2520
+ }
2521
+ protoOf(ULongArraySerializer_0).bp = function (_this__u8e3s4) {
2522
+ return _ULongArray___get_size__impl__ju6dtr(_this__u8e3s4);
2523
+ };
2524
+ protoOf(ULongArraySerializer_0).dm = function (_this__u8e3s4) {
2525
+ return this.bp(_this__u8e3s4 instanceof ULongArray ? _this__u8e3s4.wg_1 : THROW_CCE());
2526
+ };
2527
+ protoOf(ULongArraySerializer_0).cp = function (encoder, content, size) {
2528
+ var inductionVariable = 0;
2529
+ if (inductionVariable < size)
2530
+ do {
2531
+ var i = inductionVariable;
2532
+ inductionVariable = inductionVariable + 1 | 0;
2533
+ var tmp = encoder.jk(this.rm_1, i);
2534
+ // Inline function 'kotlin.ULong.toLong' call
2535
+ var this_0 = ULongArray__get_impl_pr71q9(content, i);
2536
+ var tmp$ret$0 = _ULong___get_data__impl__fggpzb(this_0);
2537
+ tmp.uj(tmp$ret$0);
2538
+ }
2539
+ while (inductionVariable < size);
2540
+ };
2541
+ protoOf(ULongArraySerializer_0).tm = function (encoder, content, size) {
2542
+ return this.cp(encoder, content instanceof ULongArray ? content.wg_1 : THROW_CCE(), size);
2543
+ };
2544
+ var ULongArraySerializer_instance;
2545
+ function ULongArraySerializer_getInstance() {
2546
+ if (ULongArraySerializer_instance == null)
2547
+ new ULongArraySerializer_0();
2548
+ return ULongArraySerializer_instance;
2549
+ }
2550
+ function IntArraySerializer_0() {
2551
+ IntArraySerializer_instance = this;
2552
+ PrimitiveArraySerializer.call(this, serializer_6(IntCompanionObject_instance));
2553
+ }
2554
+ protoOf(IntArraySerializer_0).fp = function (_this__u8e3s4) {
2555
+ return _this__u8e3s4.length;
2556
+ };
2557
+ protoOf(IntArraySerializer_0).dm = function (_this__u8e3s4) {
2558
+ return this.fp((!(_this__u8e3s4 == null) ? isIntArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
2559
+ };
2560
+ protoOf(IntArraySerializer_0).gp = function (encoder, content, size) {
2561
+ var inductionVariable = 0;
2562
+ if (inductionVariable < size)
2563
+ do {
2564
+ var i = inductionVariable;
2565
+ inductionVariable = inductionVariable + 1 | 0;
2566
+ encoder.dk(this.rm_1, i, content[i]);
2567
+ }
2568
+ while (inductionVariable < size);
2569
+ };
2570
+ protoOf(IntArraySerializer_0).tm = function (encoder, content, size) {
2571
+ return this.gp(encoder, (!(content == null) ? isIntArray(content) : false) ? content : THROW_CCE(), size);
2572
+ };
2573
+ var IntArraySerializer_instance;
2574
+ function IntArraySerializer_getInstance() {
2575
+ if (IntArraySerializer_instance == null)
2576
+ new IntArraySerializer_0();
2577
+ return IntArraySerializer_instance;
2578
+ }
2579
+ function UIntArraySerializer_0() {
2580
+ UIntArraySerializer_instance = this;
2581
+ PrimitiveArraySerializer.call(this, serializer_7(Companion_getInstance_2()));
2582
+ }
2583
+ protoOf(UIntArraySerializer_0).jp = function (_this__u8e3s4) {
2584
+ return _UIntArray___get_size__impl__r6l8ci(_this__u8e3s4);
2585
+ };
2586
+ protoOf(UIntArraySerializer_0).dm = function (_this__u8e3s4) {
2587
+ return this.jp(_this__u8e3s4 instanceof UIntArray ? _this__u8e3s4.kg_1 : THROW_CCE());
2588
+ };
2589
+ protoOf(UIntArraySerializer_0).kp = function (encoder, content, size) {
2590
+ var inductionVariable = 0;
2591
+ if (inductionVariable < size)
2592
+ do {
2593
+ var i = inductionVariable;
2594
+ inductionVariable = inductionVariable + 1 | 0;
2595
+ var tmp = encoder.jk(this.rm_1, i);
2596
+ // Inline function 'kotlin.UInt.toInt' call
2597
+ var this_0 = UIntArray__get_impl_gp5kza(content, i);
2598
+ var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(this_0);
2599
+ tmp.tj(tmp$ret$0);
2600
+ }
2601
+ while (inductionVariable < size);
2602
+ };
2603
+ protoOf(UIntArraySerializer_0).tm = function (encoder, content, size) {
2604
+ return this.kp(encoder, content instanceof UIntArray ? content.kg_1 : THROW_CCE(), size);
2605
+ };
2606
+ var UIntArraySerializer_instance;
2607
+ function UIntArraySerializer_getInstance() {
2608
+ if (UIntArraySerializer_instance == null)
2609
+ new UIntArraySerializer_0();
2610
+ return UIntArraySerializer_instance;
2611
+ }
2612
+ function ShortArraySerializer_0() {
2613
+ ShortArraySerializer_instance = this;
2614
+ PrimitiveArraySerializer.call(this, serializer_8(ShortCompanionObject_instance));
2615
+ }
2616
+ protoOf(ShortArraySerializer_0).np = function (_this__u8e3s4) {
2617
+ return _this__u8e3s4.length;
2618
+ };
2619
+ protoOf(ShortArraySerializer_0).dm = function (_this__u8e3s4) {
2620
+ return this.np((!(_this__u8e3s4 == null) ? isShortArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
2621
+ };
2622
+ protoOf(ShortArraySerializer_0).op = function (encoder, content, size) {
2623
+ var inductionVariable = 0;
2624
+ if (inductionVariable < size)
2625
+ do {
2626
+ var i = inductionVariable;
2627
+ inductionVariable = inductionVariable + 1 | 0;
2628
+ encoder.ck(this.rm_1, i, content[i]);
2629
+ }
2630
+ while (inductionVariable < size);
2631
+ };
2632
+ protoOf(ShortArraySerializer_0).tm = function (encoder, content, size) {
2633
+ return this.op(encoder, (!(content == null) ? isShortArray(content) : false) ? content : THROW_CCE(), size);
2634
+ };
2635
+ var ShortArraySerializer_instance;
2636
+ function ShortArraySerializer_getInstance() {
2637
+ if (ShortArraySerializer_instance == null)
2638
+ new ShortArraySerializer_0();
2639
+ return ShortArraySerializer_instance;
2640
+ }
2641
+ function UShortArraySerializer_0() {
2642
+ UShortArraySerializer_instance = this;
2643
+ PrimitiveArraySerializer.call(this, serializer_9(Companion_getInstance_3()));
2644
+ }
2645
+ protoOf(UShortArraySerializer_0).rp = function (_this__u8e3s4) {
2646
+ return _UShortArray___get_size__impl__jqto1b(_this__u8e3s4);
2647
+ };
2648
+ protoOf(UShortArraySerializer_0).dm = function (_this__u8e3s4) {
2649
+ return this.rp(_this__u8e3s4 instanceof UShortArray ? _this__u8e3s4.ih_1 : THROW_CCE());
2650
+ };
2651
+ protoOf(UShortArraySerializer_0).sp = function (encoder, content, size) {
2652
+ var inductionVariable = 0;
2653
+ if (inductionVariable < size)
2654
+ do {
2655
+ var i = inductionVariable;
2656
+ inductionVariable = inductionVariable + 1 | 0;
2657
+ var tmp = encoder.jk(this.rm_1, i);
2658
+ // Inline function 'kotlin.UShort.toShort' call
2659
+ var this_0 = UShortArray__get_impl_fnbhmx(content, i);
2660
+ var tmp$ret$0 = _UShort___get_data__impl__g0245(this_0);
2661
+ tmp.sj(tmp$ret$0);
2662
+ }
2663
+ while (inductionVariable < size);
2664
+ };
2665
+ protoOf(UShortArraySerializer_0).tm = function (encoder, content, size) {
2666
+ return this.sp(encoder, content instanceof UShortArray ? content.ih_1 : THROW_CCE(), size);
2667
+ };
2668
+ var UShortArraySerializer_instance;
2669
+ function UShortArraySerializer_getInstance() {
2670
+ if (UShortArraySerializer_instance == null)
2671
+ new UShortArraySerializer_0();
2672
+ return UShortArraySerializer_instance;
2673
+ }
2674
+ function ByteArraySerializer_0() {
2675
+ ByteArraySerializer_instance = this;
2676
+ PrimitiveArraySerializer.call(this, serializer_10(ByteCompanionObject_instance));
2677
+ }
2678
+ protoOf(ByteArraySerializer_0).vp = function (_this__u8e3s4) {
2679
+ return _this__u8e3s4.length;
2680
+ };
2681
+ protoOf(ByteArraySerializer_0).dm = function (_this__u8e3s4) {
2682
+ return this.vp((!(_this__u8e3s4 == null) ? isByteArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
2683
+ };
2684
+ protoOf(ByteArraySerializer_0).wp = function (encoder, content, size) {
2685
+ var inductionVariable = 0;
2686
+ if (inductionVariable < size)
2687
+ do {
2688
+ var i = inductionVariable;
2689
+ inductionVariable = inductionVariable + 1 | 0;
2690
+ encoder.bk(this.rm_1, i, content[i]);
2691
+ }
2692
+ while (inductionVariable < size);
2693
+ };
2694
+ protoOf(ByteArraySerializer_0).tm = function (encoder, content, size) {
2695
+ return this.wp(encoder, (!(content == null) ? isByteArray(content) : false) ? content : THROW_CCE(), size);
2696
+ };
2697
+ var ByteArraySerializer_instance;
2698
+ function ByteArraySerializer_getInstance() {
2699
+ if (ByteArraySerializer_instance == null)
2700
+ new ByteArraySerializer_0();
2701
+ return ByteArraySerializer_instance;
2702
+ }
2703
+ function UByteArraySerializer_0() {
2704
+ UByteArraySerializer_instance = this;
2705
+ PrimitiveArraySerializer.call(this, serializer_11(Companion_getInstance_4()));
2706
+ }
2707
+ protoOf(UByteArraySerializer_0).zp = function (_this__u8e3s4) {
2708
+ return _UByteArray___get_size__impl__h6pkdv(_this__u8e3s4);
2709
+ };
2710
+ protoOf(UByteArraySerializer_0).dm = function (_this__u8e3s4) {
2711
+ return this.zp(_this__u8e3s4 instanceof UByteArray ? _this__u8e3s4.yf_1 : THROW_CCE());
2712
+ };
2713
+ protoOf(UByteArraySerializer_0).aq = function (encoder, content, size) {
2714
+ var inductionVariable = 0;
2715
+ if (inductionVariable < size)
2716
+ do {
2717
+ var i = inductionVariable;
2718
+ inductionVariable = inductionVariable + 1 | 0;
2719
+ var tmp = encoder.jk(this.rm_1, i);
2720
+ // Inline function 'kotlin.UByte.toByte' call
2721
+ var this_0 = UByteArray__get_impl_t5f3hv(content, i);
2722
+ var tmp$ret$0 = _UByte___get_data__impl__jof9qr(this_0);
2723
+ tmp.rj(tmp$ret$0);
2724
+ }
2725
+ while (inductionVariable < size);
2726
+ };
2727
+ protoOf(UByteArraySerializer_0).tm = function (encoder, content, size) {
2728
+ return this.aq(encoder, content instanceof UByteArray ? content.yf_1 : THROW_CCE(), size);
2729
+ };
2730
+ var UByteArraySerializer_instance;
2731
+ function UByteArraySerializer_getInstance() {
2732
+ if (UByteArraySerializer_instance == null)
2733
+ new UByteArraySerializer_0();
2734
+ return UByteArraySerializer_instance;
2735
+ }
2736
+ function BooleanArraySerializer_0() {
2737
+ BooleanArraySerializer_instance = this;
2738
+ PrimitiveArraySerializer.call(this, serializer_12(BooleanCompanionObject_instance));
2739
+ }
2740
+ protoOf(BooleanArraySerializer_0).dq = function (_this__u8e3s4) {
2741
+ return _this__u8e3s4.length;
2742
+ };
2743
+ protoOf(BooleanArraySerializer_0).dm = function (_this__u8e3s4) {
2744
+ return this.dq((!(_this__u8e3s4 == null) ? isBooleanArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
2745
+ };
2746
+ protoOf(BooleanArraySerializer_0).eq = function (encoder, content, size) {
2747
+ var inductionVariable = 0;
2748
+ if (inductionVariable < size)
2749
+ do {
2750
+ var i = inductionVariable;
2751
+ inductionVariable = inductionVariable + 1 | 0;
2752
+ encoder.ak(this.rm_1, i, content[i]);
2753
+ }
2754
+ while (inductionVariable < size);
2755
+ };
2756
+ protoOf(BooleanArraySerializer_0).tm = function (encoder, content, size) {
2757
+ return this.eq(encoder, (!(content == null) ? isBooleanArray(content) : false) ? content : THROW_CCE(), size);
2758
+ };
2759
+ var BooleanArraySerializer_instance;
2760
+ function BooleanArraySerializer_getInstance() {
2761
+ if (BooleanArraySerializer_instance == null)
2762
+ new BooleanArraySerializer_0();
2763
+ return BooleanArraySerializer_instance;
2764
+ }
2765
+ function get_BUILTIN_SERIALIZERS() {
2766
+ _init_properties_Primitives_kt__k0eto4();
2767
+ return BUILTIN_SERIALIZERS;
2768
+ }
2769
+ var BUILTIN_SERIALIZERS;
2770
+ function builtinSerializerOrNull(_this__u8e3s4) {
2771
+ _init_properties_Primitives_kt__k0eto4();
2772
+ var tmp = get_BUILTIN_SERIALIZERS().s2(_this__u8e3s4);
2773
+ return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : THROW_CCE();
2774
+ }
2775
+ function StringSerializer() {
2776
+ StringSerializer_instance = this;
2777
+ this.fq_1 = new PrimitiveSerialDescriptor_0('kotlin.String', STRING_getInstance());
2778
+ }
2779
+ protoOf(StringSerializer).lh = function () {
2780
+ return this.fq_1;
2781
+ };
2782
+ protoOf(StringSerializer).gq = function (encoder, value) {
2783
+ return encoder.yj(value);
2784
+ };
2785
+ protoOf(StringSerializer).mh = function (encoder, value) {
2786
+ return this.gq(encoder, (!(value == null) ? typeof value === 'string' : false) ? value : THROW_CCE());
2787
+ };
2788
+ var StringSerializer_instance;
2789
+ function StringSerializer_getInstance() {
2790
+ if (StringSerializer_instance == null)
2791
+ new StringSerializer();
2792
+ return StringSerializer_instance;
2793
+ }
2794
+ function CharSerializer() {
2795
+ CharSerializer_instance = this;
2796
+ this.hq_1 = new PrimitiveSerialDescriptor_0('kotlin.Char', CHAR_getInstance());
2797
+ }
2798
+ protoOf(CharSerializer).lh = function () {
2799
+ return this.hq_1;
2800
+ };
2801
+ protoOf(CharSerializer).iq = function (encoder, value) {
2802
+ return encoder.xj(value);
2803
+ };
2804
+ protoOf(CharSerializer).mh = function (encoder, value) {
2805
+ return this.iq(encoder, value instanceof Char ? value.fa_1 : THROW_CCE());
2806
+ };
2807
+ var CharSerializer_instance;
2808
+ function CharSerializer_getInstance() {
2809
+ if (CharSerializer_instance == null)
2810
+ new CharSerializer();
2811
+ return CharSerializer_instance;
2812
+ }
2813
+ function DoubleSerializer() {
2814
+ DoubleSerializer_instance = this;
2815
+ this.jq_1 = new PrimitiveSerialDescriptor_0('kotlin.Double', DOUBLE_getInstance());
2816
+ }
2817
+ protoOf(DoubleSerializer).lh = function () {
2818
+ return this.jq_1;
2819
+ };
2820
+ protoOf(DoubleSerializer).kq = function (encoder, value) {
2821
+ return encoder.wj(value);
2822
+ };
2823
+ protoOf(DoubleSerializer).mh = function (encoder, value) {
2824
+ return this.kq(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
2825
+ };
2826
+ var DoubleSerializer_instance;
2827
+ function DoubleSerializer_getInstance() {
2828
+ if (DoubleSerializer_instance == null)
2829
+ new DoubleSerializer();
2830
+ return DoubleSerializer_instance;
2831
+ }
2832
+ function FloatSerializer() {
2833
+ FloatSerializer_instance = this;
2834
+ this.lq_1 = new PrimitiveSerialDescriptor_0('kotlin.Float', FLOAT_getInstance());
2835
+ }
2836
+ protoOf(FloatSerializer).lh = function () {
2837
+ return this.lq_1;
2838
+ };
2839
+ protoOf(FloatSerializer).mq = function (encoder, value) {
2840
+ return encoder.vj(value);
2841
+ };
2842
+ protoOf(FloatSerializer).mh = function (encoder, value) {
2843
+ return this.mq(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
2844
+ };
2845
+ var FloatSerializer_instance;
2846
+ function FloatSerializer_getInstance() {
2847
+ if (FloatSerializer_instance == null)
2848
+ new FloatSerializer();
2849
+ return FloatSerializer_instance;
2850
+ }
2851
+ function LongSerializer() {
2852
+ LongSerializer_instance = this;
2853
+ this.nq_1 = new PrimitiveSerialDescriptor_0('kotlin.Long', LONG_getInstance());
2854
+ }
2855
+ protoOf(LongSerializer).lh = function () {
2856
+ return this.nq_1;
2857
+ };
2858
+ protoOf(LongSerializer).oq = function (encoder, value) {
2859
+ return encoder.uj(value);
2860
+ };
2861
+ protoOf(LongSerializer).mh = function (encoder, value) {
2862
+ return this.oq(encoder, value instanceof Long ? value : THROW_CCE());
2863
+ };
2864
+ var LongSerializer_instance;
2865
+ function LongSerializer_getInstance() {
2866
+ if (LongSerializer_instance == null)
2867
+ new LongSerializer();
2868
+ return LongSerializer_instance;
2869
+ }
2870
+ function IntSerializer() {
2871
+ IntSerializer_instance = this;
2872
+ this.pq_1 = new PrimitiveSerialDescriptor_0('kotlin.Int', INT_getInstance());
2873
+ }
2874
+ protoOf(IntSerializer).lh = function () {
2875
+ return this.pq_1;
2876
+ };
2877
+ protoOf(IntSerializer).qq = function (encoder, value) {
2878
+ return encoder.tj(value);
2879
+ };
2880
+ protoOf(IntSerializer).mh = function (encoder, value) {
2881
+ return this.qq(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
2882
+ };
2883
+ var IntSerializer_instance;
2884
+ function IntSerializer_getInstance() {
2885
+ if (IntSerializer_instance == null)
2886
+ new IntSerializer();
2887
+ return IntSerializer_instance;
2888
+ }
2889
+ function ShortSerializer() {
2890
+ ShortSerializer_instance = this;
2891
+ this.rq_1 = new PrimitiveSerialDescriptor_0('kotlin.Short', SHORT_getInstance());
2892
+ }
2893
+ protoOf(ShortSerializer).lh = function () {
2894
+ return this.rq_1;
2895
+ };
2896
+ protoOf(ShortSerializer).sq = function (encoder, value) {
2897
+ return encoder.sj(value);
2898
+ };
2899
+ protoOf(ShortSerializer).mh = function (encoder, value) {
2900
+ return this.sq(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
2901
+ };
2902
+ var ShortSerializer_instance;
2903
+ function ShortSerializer_getInstance() {
2904
+ if (ShortSerializer_instance == null)
2905
+ new ShortSerializer();
2906
+ return ShortSerializer_instance;
2907
+ }
2908
+ function ByteSerializer() {
2909
+ ByteSerializer_instance = this;
2910
+ this.tq_1 = new PrimitiveSerialDescriptor_0('kotlin.Byte', BYTE_getInstance());
2911
+ }
2912
+ protoOf(ByteSerializer).lh = function () {
2913
+ return this.tq_1;
2914
+ };
2915
+ protoOf(ByteSerializer).uq = function (encoder, value) {
2916
+ return encoder.rj(value);
2917
+ };
2918
+ protoOf(ByteSerializer).mh = function (encoder, value) {
2919
+ return this.uq(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
2920
+ };
2921
+ var ByteSerializer_instance;
2922
+ function ByteSerializer_getInstance() {
2923
+ if (ByteSerializer_instance == null)
2924
+ new ByteSerializer();
2925
+ return ByteSerializer_instance;
2926
+ }
2927
+ function BooleanSerializer() {
2928
+ BooleanSerializer_instance = this;
2929
+ this.vq_1 = new PrimitiveSerialDescriptor_0('kotlin.Boolean', BOOLEAN_getInstance());
2930
+ }
2931
+ protoOf(BooleanSerializer).lh = function () {
2932
+ return this.vq_1;
2933
+ };
2934
+ protoOf(BooleanSerializer).wq = function (encoder, value) {
2935
+ return encoder.qj(value);
2936
+ };
2937
+ protoOf(BooleanSerializer).mh = function (encoder, value) {
2938
+ return this.wq(encoder, (!(value == null) ? typeof value === 'boolean' : false) ? value : THROW_CCE());
2939
+ };
2940
+ var BooleanSerializer_instance;
2941
+ function BooleanSerializer_getInstance() {
2942
+ if (BooleanSerializer_instance == null)
2943
+ new BooleanSerializer();
2944
+ return BooleanSerializer_instance;
2945
+ }
2946
+ function UnitSerializer() {
2947
+ UnitSerializer_instance = this;
2948
+ this.xq_1 = new ObjectSerializer('kotlin.Unit', Unit_instance);
2949
+ }
2950
+ protoOf(UnitSerializer).lh = function () {
2951
+ return this.xq_1.lh();
2952
+ };
2953
+ protoOf(UnitSerializer).yq = function (encoder, value) {
2954
+ this.xq_1.ai(encoder, Unit_instance);
2955
+ };
2956
+ protoOf(UnitSerializer).mh = function (encoder, value) {
2957
+ return this.yq(encoder, value instanceof Unit ? value : THROW_CCE());
2958
+ };
2959
+ var UnitSerializer_instance;
2960
+ function UnitSerializer_getInstance() {
2961
+ if (UnitSerializer_instance == null)
2962
+ new UnitSerializer();
2963
+ return UnitSerializer_instance;
2964
+ }
2965
+ function error_0($this) {
2966
+ throw IllegalStateException_init_$Create$('Primitive descriptor does not have elements');
2967
+ }
2968
+ function PrimitiveSerialDescriptor_0(serialName, kind) {
2969
+ this.zq_1 = serialName;
2970
+ this.ar_1 = kind;
2971
+ }
2972
+ protoOf(PrimitiveSerialDescriptor_0).ki = function () {
2973
+ return this.zq_1;
2974
+ };
2975
+ protoOf(PrimitiveSerialDescriptor_0).oi = function () {
2976
+ return this.ar_1;
2977
+ };
2978
+ protoOf(PrimitiveSerialDescriptor_0).mi = function () {
2979
+ return 0;
2980
+ };
2981
+ protoOf(PrimitiveSerialDescriptor_0).qi = function (index) {
2982
+ error_0(this);
2983
+ };
2984
+ protoOf(PrimitiveSerialDescriptor_0).pi = function (index) {
2985
+ error_0(this);
2986
+ };
2987
+ protoOf(PrimitiveSerialDescriptor_0).toString = function () {
2988
+ return 'PrimitiveDescriptor(' + this.zq_1 + ')';
2989
+ };
2990
+ protoOf(PrimitiveSerialDescriptor_0).equals = function (other) {
2991
+ if (this === other)
2992
+ return true;
2993
+ if (!(other instanceof PrimitiveSerialDescriptor_0))
2994
+ return false;
2995
+ if (this.zq_1 === other.zq_1 ? equals(this.ar_1, other.ar_1) : false)
2996
+ return true;
2997
+ return false;
2998
+ };
2999
+ protoOf(PrimitiveSerialDescriptor_0).hashCode = function () {
3000
+ return getStringHashCode(this.zq_1) + imul(31, this.ar_1.hashCode()) | 0;
3001
+ };
3002
+ function PrimitiveDescriptorSafe(serialName, kind) {
3003
+ _init_properties_Primitives_kt__k0eto4();
3004
+ checkName(serialName);
3005
+ return new PrimitiveSerialDescriptor_0(serialName, kind);
3006
+ }
3007
+ function checkName(serialName) {
3008
+ _init_properties_Primitives_kt__k0eto4();
3009
+ var keys = get_BUILTIN_SERIALIZERS().i2();
3010
+ var tmp0_iterator = keys.r();
3011
+ while (tmp0_iterator.s()) {
3012
+ var primitive = tmp0_iterator.u();
3013
+ var simpleName = capitalize(ensureNotNull(primitive.e6()));
3014
+ var qualifiedName = 'kotlin.' + simpleName;
3015
+ if (equals_0(serialName, qualifiedName, true) ? true : equals_0(serialName, simpleName, true)) {
3016
+ throw IllegalArgumentException_init_$Create$(trimIndent('\n The name of serial descriptor should uniquely identify associated serializer.\n For serial name ' + serialName + ' there already exist ' + capitalize(simpleName) + 'Serializer.\n Please refer to SerialDescriptor documentation for additional information.\n '));
3017
+ }
3018
+ }
3019
+ }
3020
+ function capitalize(_this__u8e3s4) {
3021
+ _init_properties_Primitives_kt__k0eto4();
3022
+ // Inline function 'kotlin.text.replaceFirstChar' call
3023
+ var tmp;
3024
+ // Inline function 'kotlin.text.isNotEmpty' call
3025
+ if (charSequenceLength(_this__u8e3s4) > 0) {
3026
+ // Inline function 'kotlinx.serialization.internal.capitalize.<anonymous>' call
3027
+ var it = charSequenceGet(_this__u8e3s4, 0);
3028
+ var tmp$ret$1 = isLowerCase(it) ? titlecase(it) : toString_0(it);
3029
+ var tmp_0 = toString(tmp$ret$1);
3030
+ // Inline function 'kotlin.text.substring' call
3031
+ // Inline function 'kotlin.js.asDynamic' call
3032
+ tmp = tmp_0 + _this__u8e3s4.substring(1);
3033
+ } else {
3034
+ tmp = _this__u8e3s4;
3035
+ }
3036
+ return tmp;
3037
+ }
3038
+ var properties_initialized_Primitives_kt_6dpii6;
3039
+ function _init_properties_Primitives_kt__k0eto4() {
3040
+ if (!properties_initialized_Primitives_kt_6dpii6) {
3041
+ properties_initialized_Primitives_kt_6dpii6 = true;
3042
+ BUILTIN_SERIALIZERS = mapOf([to(PrimitiveClasses_getInstance().f7(), serializer_0(StringCompanionObject_instance)), to(getKClass(Char), serializer_1(Companion_getInstance())), to(PrimitiveClasses_getInstance().i7(), CharArraySerializer()), to(PrimitiveClasses_getInstance().d7(), serializer_2(DoubleCompanionObject_instance)), to(PrimitiveClasses_getInstance().o7(), DoubleArraySerializer()), to(PrimitiveClasses_getInstance().c7(), serializer_3(FloatCompanionObject_instance)), to(PrimitiveClasses_getInstance().n7(), FloatArraySerializer()), to(getKClass(Long), serializer_4(Companion_getInstance_0())), to(PrimitiveClasses_getInstance().m7(), LongArraySerializer()), to(getKClass(ULong), serializer_5(Companion_getInstance_1())), to(getKClass(ULongArray), ULongArraySerializer()), to(PrimitiveClasses_getInstance().b7(), serializer_6(IntCompanionObject_instance)), to(PrimitiveClasses_getInstance().l7(), IntArraySerializer()), to(getKClass(UInt), serializer_7(Companion_getInstance_2())), to(getKClass(UIntArray), UIntArraySerializer()), to(PrimitiveClasses_getInstance().a7(), serializer_8(ShortCompanionObject_instance)), to(PrimitiveClasses_getInstance().k7(), ShortArraySerializer()), to(getKClass(UShort), serializer_9(Companion_getInstance_3())), to(getKClass(UShortArray), UShortArraySerializer()), to(PrimitiveClasses_getInstance().z6(), serializer_10(ByteCompanionObject_instance)), to(PrimitiveClasses_getInstance().j7(), ByteArraySerializer()), to(getKClass(UByte), serializer_11(Companion_getInstance_4())), to(getKClass(UByteArray), UByteArraySerializer()), to(PrimitiveClasses_getInstance().y6(), serializer_12(BooleanCompanionObject_instance)), to(PrimitiveClasses_getInstance().h7(), BooleanArraySerializer()), to(getKClass(Unit), serializer_13(Unit_instance)), to(PrimitiveClasses_getInstance().x6(), NothingSerializer()), to(getKClass(Duration), serializer_14(Companion_getInstance_5()))]);
3043
+ }
3044
+ }
3045
+ function MapEntrySerializer$descriptor$lambda($keySerializer, $valueSerializer) {
3046
+ return function ($this$buildSerialDescriptor) {
3047
+ $this$buildSerialDescriptor.vh('key', $keySerializer.lh());
3048
+ $this$buildSerialDescriptor.vh('value', $valueSerializer.lh());
3049
+ return Unit_instance;
3050
+ };
3051
+ }
3052
+ function MapEntrySerializer_0(keySerializer, valueSerializer) {
3053
+ KeyValueSerializer.call(this, keySerializer, valueSerializer);
3054
+ var tmp = this;
3055
+ var tmp_0 = MAP_getInstance();
3056
+ tmp.dr_1 = buildSerialDescriptor('kotlin.collections.Map.Entry', tmp_0, [], MapEntrySerializer$descriptor$lambda(keySerializer, valueSerializer));
3057
+ }
3058
+ protoOf(MapEntrySerializer_0).lh = function () {
3059
+ return this.dr_1;
3060
+ };
3061
+ protoOf(MapEntrySerializer_0).er = function (_this__u8e3s4) {
3062
+ return _this__u8e3s4.m2();
3063
+ };
3064
+ protoOf(MapEntrySerializer_0).fr = function (_this__u8e3s4) {
3065
+ return this.er((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Entry) : false) ? _this__u8e3s4 : THROW_CCE());
3066
+ };
3067
+ protoOf(MapEntrySerializer_0).gr = function (_this__u8e3s4) {
3068
+ return _this__u8e3s4.n2();
3069
+ };
3070
+ protoOf(MapEntrySerializer_0).hr = function (_this__u8e3s4) {
3071
+ return this.gr((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Entry) : false) ? _this__u8e3s4 : THROW_CCE());
3072
+ };
3073
+ function PairSerializer$descriptor$lambda($keySerializer, $valueSerializer) {
3074
+ return function ($this$buildClassSerialDescriptor) {
3075
+ $this$buildClassSerialDescriptor.vh('first', $keySerializer.lh());
3076
+ $this$buildClassSerialDescriptor.vh('second', $valueSerializer.lh());
3077
+ return Unit_instance;
3078
+ };
3079
+ }
3080
+ function PairSerializer_0(keySerializer, valueSerializer) {
3081
+ KeyValueSerializer.call(this, keySerializer, valueSerializer);
3082
+ var tmp = this;
3083
+ tmp.nr_1 = buildClassSerialDescriptor('kotlin.Pair', [], PairSerializer$descriptor$lambda(keySerializer, valueSerializer));
3084
+ }
3085
+ protoOf(PairSerializer_0).lh = function () {
3086
+ return this.nr_1;
3087
+ };
3088
+ protoOf(PairSerializer_0).or = function (_this__u8e3s4) {
3089
+ return _this__u8e3s4.y5_1;
3090
+ };
3091
+ protoOf(PairSerializer_0).fr = function (_this__u8e3s4) {
3092
+ return this.or(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
3093
+ };
3094
+ protoOf(PairSerializer_0).pr = function (_this__u8e3s4) {
3095
+ return _this__u8e3s4.z5_1;
3096
+ };
3097
+ protoOf(PairSerializer_0).hr = function (_this__u8e3s4) {
3098
+ return this.pr(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
3099
+ };
3100
+ function TripleSerializer$descriptor$lambda(this$0) {
3101
+ return function ($this$buildClassSerialDescriptor) {
3102
+ $this$buildClassSerialDescriptor.vh('first', this$0.qr_1.lh());
3103
+ $this$buildClassSerialDescriptor.vh('second', this$0.rr_1.lh());
3104
+ $this$buildClassSerialDescriptor.vh('third', this$0.sr_1.lh());
3105
+ return Unit_instance;
3106
+ };
3107
+ }
3108
+ function TripleSerializer_0(aSerializer, bSerializer, cSerializer) {
3109
+ this.qr_1 = aSerializer;
3110
+ this.rr_1 = bSerializer;
3111
+ this.sr_1 = cSerializer;
3112
+ var tmp = this;
3113
+ tmp.tr_1 = buildClassSerialDescriptor('kotlin.Triple', [], TripleSerializer$descriptor$lambda(this));
3114
+ }
3115
+ protoOf(TripleSerializer_0).lh = function () {
3116
+ return this.tr_1;
3117
+ };
3118
+ protoOf(TripleSerializer_0).ur = function (encoder, value) {
3119
+ var structuredEncoder = encoder.lj(this.tr_1);
3120
+ structuredEncoder.kk(this.tr_1, 0, this.qr_1, value.lf_1);
3121
+ structuredEncoder.kk(this.tr_1, 1, this.rr_1, value.mf_1);
3122
+ structuredEncoder.kk(this.tr_1, 2, this.sr_1, value.nf_1);
3123
+ structuredEncoder.mj(this.tr_1);
3124
+ };
3125
+ protoOf(TripleSerializer_0).mh = function (encoder, value) {
3126
+ return this.ur(encoder, value instanceof Triple ? value : THROW_CCE());
3127
+ };
3128
+ function KeyValueSerializer(keySerializer, valueSerializer) {
3129
+ this.ir_1 = keySerializer;
3130
+ this.jr_1 = valueSerializer;
3131
+ }
3132
+ protoOf(KeyValueSerializer).kr = function (encoder, value) {
3133
+ var structuredEncoder = encoder.lj(this.lh());
3134
+ structuredEncoder.kk(this.lh(), 0, this.ir_1, this.fr(value));
3135
+ structuredEncoder.kk(this.lh(), 1, this.jr_1, this.hr(value));
3136
+ structuredEncoder.mj(this.lh());
3137
+ };
3138
+ protoOf(KeyValueSerializer).mh = function (encoder, value) {
3139
+ return this.kr(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
3140
+ };
3141
+ function ULongSerializer() {
3142
+ ULongSerializer_instance = this;
3143
+ this.vr_1 = InlinePrimitiveDescriptor('kotlin.ULong', serializer_4(Companion_getInstance_0()));
3144
+ }
3145
+ protoOf(ULongSerializer).lh = function () {
3146
+ return this.vr_1;
3147
+ };
3148
+ protoOf(ULongSerializer).wr = function (encoder, value) {
3149
+ var tmp = encoder.zj(this.vr_1);
3150
+ // Inline function 'kotlin.ULong.toLong' call
3151
+ var tmp$ret$0 = _ULong___get_data__impl__fggpzb(value);
3152
+ tmp.uj(tmp$ret$0);
3153
+ };
3154
+ protoOf(ULongSerializer).mh = function (encoder, value) {
3155
+ return this.wr(encoder, value instanceof ULong ? value.rg_1 : THROW_CCE());
3156
+ };
3157
+ var ULongSerializer_instance;
3158
+ function ULongSerializer_getInstance() {
3159
+ if (ULongSerializer_instance == null)
3160
+ new ULongSerializer();
3161
+ return ULongSerializer_instance;
3162
+ }
3163
+ function UIntSerializer() {
3164
+ UIntSerializer_instance = this;
3165
+ this.xr_1 = InlinePrimitiveDescriptor('kotlin.UInt', serializer_6(IntCompanionObject_instance));
3166
+ }
3167
+ protoOf(UIntSerializer).lh = function () {
3168
+ return this.xr_1;
3169
+ };
3170
+ protoOf(UIntSerializer).yr = function (encoder, value) {
3171
+ var tmp = encoder.zj(this.xr_1);
3172
+ // Inline function 'kotlin.UInt.toInt' call
3173
+ var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(value);
3174
+ tmp.tj(tmp$ret$0);
3175
+ };
3176
+ protoOf(UIntSerializer).mh = function (encoder, value) {
3177
+ return this.yr(encoder, value instanceof UInt ? value.fg_1 : THROW_CCE());
3178
+ };
3179
+ var UIntSerializer_instance;
3180
+ function UIntSerializer_getInstance() {
3181
+ if (UIntSerializer_instance == null)
3182
+ new UIntSerializer();
3183
+ return UIntSerializer_instance;
3184
+ }
3185
+ function UShortSerializer() {
3186
+ UShortSerializer_instance = this;
3187
+ this.zr_1 = InlinePrimitiveDescriptor('kotlin.UShort', serializer_8(ShortCompanionObject_instance));
3188
+ }
3189
+ protoOf(UShortSerializer).lh = function () {
3190
+ return this.zr_1;
3191
+ };
3192
+ protoOf(UShortSerializer).as = function (encoder, value) {
3193
+ var tmp = encoder.zj(this.zr_1);
3194
+ // Inline function 'kotlin.UShort.toShort' call
3195
+ var tmp$ret$0 = _UShort___get_data__impl__g0245(value);
3196
+ tmp.sj(tmp$ret$0);
3197
+ };
3198
+ protoOf(UShortSerializer).mh = function (encoder, value) {
3199
+ return this.as(encoder, value instanceof UShort ? value.dh_1 : THROW_CCE());
3200
+ };
3201
+ var UShortSerializer_instance;
3202
+ function UShortSerializer_getInstance() {
3203
+ if (UShortSerializer_instance == null)
3204
+ new UShortSerializer();
3205
+ return UShortSerializer_instance;
3206
+ }
3207
+ function UByteSerializer() {
3208
+ UByteSerializer_instance = this;
3209
+ this.bs_1 = InlinePrimitiveDescriptor('kotlin.UByte', serializer_10(ByteCompanionObject_instance));
3210
+ }
3211
+ protoOf(UByteSerializer).lh = function () {
3212
+ return this.bs_1;
3213
+ };
3214
+ protoOf(UByteSerializer).cs = function (encoder, value) {
3215
+ var tmp = encoder.zj(this.bs_1);
3216
+ // Inline function 'kotlin.UByte.toByte' call
3217
+ var tmp$ret$0 = _UByte___get_data__impl__jof9qr(value);
3218
+ tmp.rj(tmp$ret$0);
3219
+ };
3220
+ protoOf(UByteSerializer).mh = function (encoder, value) {
3221
+ return this.cs(encoder, value instanceof UByte ? value.tf_1 : THROW_CCE());
3222
+ };
3223
+ var UByteSerializer_instance;
3224
+ function UByteSerializer_getInstance() {
3225
+ if (UByteSerializer_instance == null)
3226
+ new UByteSerializer();
3227
+ return UByteSerializer_instance;
3228
+ }
3229
+ function get_EmptySerializersModuleLegacyJs() {
3230
+ _init_properties_SerializersModule_kt__u78ha3();
3231
+ return EmptySerializersModule;
3232
+ }
3233
+ var EmptySerializersModule;
3234
+ function SerializersModule() {
3235
+ }
3236
+ protoOf(SerializersModule).di = function (kClass, typeArgumentsSerializers, $super) {
3237
+ typeArgumentsSerializers = typeArgumentsSerializers === VOID ? emptyList() : typeArgumentsSerializers;
3238
+ return $super === VOID ? this.ci(kClass, typeArgumentsSerializers) : $super.ci.call(this, kClass, typeArgumentsSerializers);
3239
+ };
3240
+ function SerialModuleImpl(class2ContextualFactory, polyBase2Serializers, polyBase2DefaultSerializerProvider, polyBase2NamedSerializers, polyBase2DefaultDeserializerProvider) {
3241
+ SerializersModule.call(this);
3242
+ this.ds_1 = class2ContextualFactory;
3243
+ this.es_1 = polyBase2Serializers;
3244
+ this.fs_1 = polyBase2DefaultSerializerProvider;
3245
+ this.gs_1 = polyBase2NamedSerializers;
3246
+ this.hs_1 = polyBase2DefaultDeserializerProvider;
3247
+ }
3248
+ protoOf(SerialModuleImpl).sk = function (baseClass, value) {
3249
+ if (!baseClass.f6(value))
3250
+ return null;
3251
+ var tmp0_safe_receiver = this.es_1.s2(baseClass);
3252
+ var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s2(getKClassFromExpression(value));
3253
+ var registered = (!(tmp == null) ? isInterface(tmp, SerializationStrategy) : false) ? tmp : null;
3254
+ if (!(registered == null))
3255
+ return registered;
3256
+ var tmp_0 = this.fs_1.s2(baseClass);
3257
+ var tmp1_safe_receiver = (!(tmp_0 == null) ? typeof tmp_0 === 'function' : false) ? tmp_0 : null;
3258
+ return tmp1_safe_receiver == null ? null : tmp1_safe_receiver(value);
3259
+ };
3260
+ protoOf(SerialModuleImpl).ci = function (kClass, typeArgumentsSerializers) {
3261
+ var tmp0_safe_receiver = this.ds_1.s2(kClass);
3262
+ var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.is(typeArgumentsSerializers);
3263
+ return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : null;
3264
+ };
3265
+ var properties_initialized_SerializersModule_kt_fjigjn;
3266
+ function _init_properties_SerializersModule_kt__u78ha3() {
3267
+ if (!properties_initialized_SerializersModule_kt_fjigjn) {
3268
+ properties_initialized_SerializersModule_kt_fjigjn = true;
3269
+ EmptySerializersModule = new SerialModuleImpl(emptyMap(), emptyMap(), emptyMap(), emptyMap(), emptyMap());
3270
+ }
3271
+ }
3272
+ function EmptySerializersModule_0() {
3273
+ return get_EmptySerializersModuleLegacyJs();
3274
+ }
3275
+ function SerializableWith(serializer) {
3276
+ this.js_1 = serializer;
3277
+ }
3278
+ protoOf(SerializableWith).equals = function (other) {
3279
+ if (!(other instanceof SerializableWith))
3280
+ return false;
3281
+ var tmp0_other_with_cast = other instanceof SerializableWith ? other : THROW_CCE();
3282
+ if (!this.js_1.equals(tmp0_other_with_cast.js_1))
3283
+ return false;
3284
+ return true;
3285
+ };
3286
+ protoOf(SerializableWith).hashCode = function () {
3287
+ return imul(getStringHashCode('serializer'), 127) ^ this.js_1.hashCode();
3288
+ };
3289
+ protoOf(SerializableWith).toString = function () {
3290
+ return '@kotlinx.serialization.SerializableWith(serializer=' + this.js_1 + ')';
3291
+ };
3292
+ function createCache(factory) {
3293
+ return new createCache$1(factory);
3294
+ }
3295
+ function createParametrizedCache(factory) {
3296
+ return new createParametrizedCache$1(factory);
3297
+ }
3298
+ function compiledSerializerImpl(_this__u8e3s4) {
3299
+ var tmp1_elvis_lhs = constructSerializerForGivenTypeArgs(_this__u8e3s4, []);
3300
+ var tmp;
3301
+ if (tmp1_elvis_lhs == null) {
3302
+ var tmp_0;
3303
+ if (_this__u8e3s4 === PrimitiveClasses_getInstance().x6()) {
3304
+ tmp_0 = NothingSerializer_getInstance();
3305
+ } else {
3306
+ // Inline function 'kotlin.js.asDynamic' call
3307
+ var tmp0_safe_receiver = get_js(_this__u8e3s4).Companion;
3308
+ tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.serializer();
3309
+ }
3310
+ var tmp_1 = tmp_0;
3311
+ tmp = (!(tmp_1 == null) ? isInterface(tmp_1, KSerializer) : false) ? tmp_1 : null;
3312
+ } else {
3313
+ tmp = tmp1_elvis_lhs;
3314
+ }
3315
+ return tmp;
3316
+ }
3317
+ function platformSpecificSerializerNotRegistered(_this__u8e3s4) {
3318
+ throw SerializationException_init_$Create$_0(notRegisteredMessage(_this__u8e3s4) + 'To get enum serializer on Kotlin/JS, it should be annotated with @Serializable annotation.');
3319
+ }
3320
+ function isReferenceArray(rootClass) {
3321
+ return rootClass.equals(PrimitiveClasses_getInstance().e7());
3322
+ }
3323
+ function constructSerializerForGivenTypeArgs(_this__u8e3s4, args) {
3324
+ var tmp;
3325
+ try {
3326
+ // Inline function 'kotlin.reflect.findAssociatedObject' call
3327
+ var assocObject = findAssociatedObject(_this__u8e3s4, getKClass(SerializableWith));
3328
+ var tmp_0;
3329
+ if (!(assocObject == null) ? isInterface(assocObject, KSerializer) : false) {
3330
+ tmp_0 = (!(assocObject == null) ? isInterface(assocObject, KSerializer) : false) ? assocObject : THROW_CCE();
3331
+ } else {
3332
+ if (!(assocObject == null) ? isInterface(assocObject, SerializerFactory) : false) {
3333
+ var tmp_1 = assocObject.io(args.slice());
3334
+ tmp_0 = isInterface(tmp_1, KSerializer) ? tmp_1 : THROW_CCE();
3335
+ } else {
3336
+ if (get_isInterface(_this__u8e3s4)) {
3337
+ tmp_0 = new PolymorphicSerializer(_this__u8e3s4);
3338
+ } else {
3339
+ tmp_0 = null;
3340
+ }
3341
+ }
3342
+ }
3343
+ tmp = tmp_0;
3344
+ } catch ($p) {
3345
+ var tmp_2;
3346
+ var e = $p;
3347
+ tmp_2 = null;
3348
+ tmp = tmp_2;
3349
+ }
3350
+ return tmp;
3351
+ }
3352
+ function get_isInterface(_this__u8e3s4) {
3353
+ // Inline function 'kotlin.js.asDynamic' call
3354
+ var tmp0_safe_receiver = get_js(_this__u8e3s4).$metadata$;
3355
+ return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.kind) == 'interface';
3356
+ }
3357
+ function getChecked(_this__u8e3s4, index) {
3358
+ if (!(0 <= index ? index <= (_this__u8e3s4.length - 1 | 0) : false))
3359
+ throw IndexOutOfBoundsException_init_$Create$('Index ' + index + ' out of bounds ' + get_indices(_this__u8e3s4));
3360
+ return _this__u8e3s4[index];
3361
+ }
3362
+ function createCache$1($factory) {
3363
+ this.ks_1 = $factory;
3364
+ }
3365
+ protoOf(createCache$1).ei = function (key) {
3366
+ return this.ks_1(key);
3367
+ };
3368
+ function createParametrizedCache$1($factory) {
3369
+ this.ls_1 = $factory;
3370
+ }
3371
+ protoOf(createParametrizedCache$1).fi = function (key, types) {
3372
+ // Inline function 'kotlin.runCatching' call
3373
+ var tmp;
3374
+ try {
3375
+ // Inline function 'kotlin.Companion.success' call
3376
+ // Inline function 'kotlinx.serialization.internal.<no name provided>.get.<anonymous>' call
3377
+ var value = this.ls_1(key, types);
3378
+ tmp = _Result___init__impl__xyqfz8(value);
3379
+ } catch ($p) {
3380
+ var tmp_0;
3381
+ if ($p instanceof Error) {
3382
+ var e = $p;
3383
+ // Inline function 'kotlin.Companion.failure' call
3384
+ tmp_0 = _Result___init__impl__xyqfz8(createFailure(e));
3385
+ } else {
3386
+ throw $p;
3387
+ }
3388
+ tmp = tmp_0;
3389
+ }
3390
+ return tmp;
3391
+ };
3392
+ //region block: post-declaration
3393
+ protoOf(SerialDescriptorImpl).gi = get_isNullable;
3394
+ protoOf(SerialDescriptorImpl).ni = get_isInline;
3395
+ protoOf(AbstractEncoder).pk = encodeNotNullMark;
3396
+ protoOf(AbstractEncoder).qk = beginCollection;
3397
+ protoOf(AbstractEncoder).lk = encodeSerializableValue;
3398
+ protoOf(AbstractEncoder).nk = encodeNullableSerializableValue;
3399
+ protoOf(AbstractEncoder).rk = shouldEncodeElementDefault;
3400
+ protoOf(ListLikeDescriptor).gi = get_isNullable;
3401
+ protoOf(ListLikeDescriptor).ni = get_isInline;
3402
+ protoOf(ListLikeDescriptor).li = get_annotations;
3403
+ protoOf(MapLikeDescriptor).gi = get_isNullable;
3404
+ protoOf(MapLikeDescriptor).ni = get_isInline;
3405
+ protoOf(MapLikeDescriptor).li = get_annotations;
3406
+ protoOf(PluginGeneratedSerialDescriptor).gi = get_isNullable;
3407
+ protoOf(PluginGeneratedSerialDescriptor).ni = get_isInline;
3408
+ protoOf(InlinePrimitiveDescriptor$1).yn = typeParametersSerializers;
3409
+ protoOf(NothingSerialDescriptor).gi = get_isNullable;
3410
+ protoOf(NothingSerialDescriptor).ni = get_isInline;
3411
+ protoOf(NothingSerialDescriptor).li = get_annotations;
3412
+ protoOf(PrimitiveSerialDescriptor_0).gi = get_isNullable;
3413
+ protoOf(PrimitiveSerialDescriptor_0).ni = get_isInline;
3414
+ protoOf(PrimitiveSerialDescriptor_0).li = get_annotations;
3415
+ //endregion
3416
+ //region block: exports
3417
+ _.$_$ = _.$_$ || {};
3418
+ _.$_$.a = SerializationException_init_$Init$_0;
3419
+ _.$_$.b = STRING_getInstance;
3420
+ _.$_$.c = CONTEXTUAL_getInstance;
3421
+ _.$_$.d = ENUM_getInstance;
3422
+ _.$_$.e = CLASS_getInstance;
3423
+ _.$_$.f = LIST_getInstance;
3424
+ _.$_$.g = MAP_getInstance;
3425
+ _.$_$.h = OBJECT_getInstance;
3426
+ _.$_$.i = IntSerializer_getInstance;
3427
+ _.$_$.j = StringSerializer_getInstance;
3428
+ _.$_$.k = get_nullable;
3429
+ _.$_$.l = serializer_0;
3430
+ _.$_$.m = serializer_9;
3431
+ _.$_$.n = serializer_7;
3432
+ _.$_$.o = serializer_11;
3433
+ _.$_$.p = serializer_5;
3434
+ _.$_$.q = PolymorphicKind;
3435
+ _.$_$.r = PrimitiveKind;
3436
+ _.$_$.s = PrimitiveSerialDescriptor;
3437
+ _.$_$.t = ENUM;
3438
+ _.$_$.u = getContextualDescriptor;
3439
+ _.$_$.v = AbstractEncoder;
3440
+ _.$_$.w = CompositeEncoder;
3441
+ _.$_$.x = Encoder;
3442
+ _.$_$.y = AbstractPolymorphicSerializer;
3443
+ _.$_$.z = ArrayListSerializer;
3444
+ _.$_$.a1 = typeParametersSerializers;
3445
+ _.$_$.b1 = GeneratedSerializer;
3446
+ _.$_$.c1 = InlinePrimitiveDescriptor;
3447
+ _.$_$.d1 = PluginGeneratedSerialDescriptor;
3448
+ _.$_$.e1 = jsonCachedSerialNames;
3449
+ _.$_$.f1 = EmptySerializersModule_0;
3450
+ _.$_$.g1 = KSerializer;
3451
+ _.$_$.h1 = SealedClassSerializer;
3452
+ _.$_$.i1 = SerializationException;
3453
+ _.$_$.j1 = SerializationStrategy;
3454
+ _.$_$.k1 = findPolymorphicSerializer;
3455
+ _.$_$.l1 = serializer;
3456
+ //endregion
3457
+ return _;
3458
+ }(module.exports, require('./kotlin-kotlin-stdlib.js')));
3459
+
3460
+ //# sourceMappingURL=kotlinx-serialization-kotlinx-serialization-core.js.map