game_client_logic_deb 1.3.47

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.
Files changed (28) hide show
  1. package/88b0986a7186d029-atomicfu-js-ir.js +202 -0
  2. package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -0
  3. package/Kaverit-kaverit-js-ir.js +383 -0
  4. package/Kaverit-kaverit-js-ir.js.map +1 -0
  5. package/Kodein-kodein-di-js-ir.js +2793 -0
  6. package/Kodein-kodein-di-js-ir.js.map +1 -0
  7. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +167 -0
  8. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -0
  9. package/Logic_Debertz-core.js +3214 -0
  10. package/Logic_Debertz-core.js.map +1 -0
  11. package/Logic_Debertz-engine.js +21765 -0
  12. package/Logic_Debertz-engine.js.map +1 -0
  13. package/Logic_Debertz-game_client_logic_deb.d.ts +592 -0
  14. package/Logic_Debertz-game_client_logic_deb.js +13899 -0
  15. package/Logic_Debertz-game_client_logic_deb.js.map +1 -0
  16. package/kotlin-kotlin-stdlib-js-ir.js +13032 -0
  17. package/kotlin-kotlin-stdlib-js-ir.js.map +1 -0
  18. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js +15 -0
  19. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map +1 -0
  20. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +3622 -0
  21. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -0
  22. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +293 -0
  23. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -0
  24. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +10834 -0
  25. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -0
  26. package/package.json +6 -0
  27. package/uuid-js-ir.js +202 -0
  28. package/uuid-js-ir.js.map +1 -0
@@ -0,0 +1,3622 @@
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib-js-ir.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'));
6
+ else {
7
+ if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
8
+ throw new Error("Error loading module 'kotlinx-serialization-kotlinx-serialization-core-js-ir'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'kotlinx-serialization-kotlinx-serialization-core-js-ir'.");
9
+ }
10
+ root['kotlinx-serialization-kotlinx-serialization-core-js-ir'] = factory(typeof this['kotlinx-serialization-kotlinx-serialization-core-js-ir'] === 'undefined' ? {} : this['kotlinx-serialization-kotlinx-serialization-core-js-ir'], this['kotlin-kotlin-stdlib-js-ir']);
11
+ }
12
+ }(this, function (_, kotlin_kotlin) {
13
+ 'use strict';
14
+ //region block: imports
15
+ var imul = Math.imul;
16
+ var interfaceMeta = kotlin_kotlin.$_$.q6;
17
+ var StringCompanionObject_getInstance = kotlin_kotlin.$_$.d2;
18
+ var Unit_getInstance = kotlin_kotlin.$_$.p2;
19
+ var emptyList = kotlin_kotlin.$_$.v3;
20
+ var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.f;
21
+ var lazy = kotlin_kotlin.$_$.b9;
22
+ var classMeta = kotlin_kotlin.$_$.j6;
23
+ var KProperty1 = kotlin_kotlin.$_$.g7;
24
+ var getPropertyCallableRef = kotlin_kotlin.$_$.n6;
25
+ var asList = kotlin_kotlin.$_$.i3;
26
+ var distinct = kotlin_kotlin.$_$.t3;
27
+ var THROW_CCE = kotlin_kotlin.$_$.k8;
28
+ var Entry = kotlin_kotlin.$_$.a3;
29
+ var isInterface = kotlin_kotlin.$_$.r6;
30
+ var Grouping = kotlin_kotlin.$_$.s2;
31
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.c1;
32
+ var zip = kotlin_kotlin.$_$.g5;
33
+ var toMap = kotlin_kotlin.$_$.c5;
34
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
35
+ var toString = kotlin_kotlin.$_$.z6;
36
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.e1;
37
+ var mapCapacity = kotlin_kotlin.$_$.l4;
38
+ var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.s;
39
+ var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.b1;
40
+ var captureStack = kotlin_kotlin.$_$.f6;
41
+ var IllegalArgumentException = kotlin_kotlin.$_$.d8;
42
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.l3;
43
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
44
+ var KClass = kotlin_kotlin.$_$.d7;
45
+ var Triple = kotlin_kotlin.$_$.m8;
46
+ var getKClass = kotlin_kotlin.$_$.e;
47
+ var Pair = kotlin_kotlin.$_$.h8;
48
+ var LinkedHashMap = kotlin_kotlin.$_$.x2;
49
+ var MutableMap = kotlin_kotlin.$_$.d3;
50
+ var Map = kotlin_kotlin.$_$.b3;
51
+ var HashMap = kotlin_kotlin.$_$.t2;
52
+ var LinkedHashSet = kotlin_kotlin.$_$.y2;
53
+ var MutableSet = kotlin_kotlin.$_$.e3;
54
+ var Set = kotlin_kotlin.$_$.f3;
55
+ var HashSet = kotlin_kotlin.$_$.u2;
56
+ var ArrayList = kotlin_kotlin.$_$.q2;
57
+ var MutableList = kotlin_kotlin.$_$.c3;
58
+ var List = kotlin_kotlin.$_$.z2;
59
+ var Collection = kotlin_kotlin.$_$.r2;
60
+ var copyToArray = kotlin_kotlin.$_$.s3;
61
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.s1;
62
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.u1;
63
+ var isObject = kotlin_kotlin.$_$.s6;
64
+ var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.t1;
65
+ var Result = kotlin_kotlin.$_$.i8;
66
+ var ensureNotNull = kotlin_kotlin.$_$.a9;
67
+ var equals = kotlin_kotlin.$_$.l6;
68
+ var getStringHashCode = kotlin_kotlin.$_$.o6;
69
+ var Iterator = kotlin_kotlin.$_$.w2;
70
+ var Iterable = kotlin_kotlin.$_$.v2;
71
+ var isBlank = kotlin_kotlin.$_$.p7;
72
+ var toList = kotlin_kotlin.$_$.b5;
73
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
74
+ var HashSet_init_$Create$ = kotlin_kotlin.$_$.r;
75
+ var toHashSet = kotlin_kotlin.$_$.z4;
76
+ var toBooleanArray = kotlin_kotlin.$_$.y4;
77
+ var withIndex = kotlin_kotlin.$_$.f5;
78
+ var to = kotlin_kotlin.$_$.i9;
79
+ var lazy_0 = kotlin_kotlin.$_$.c9;
80
+ var contentEquals = kotlin_kotlin.$_$.n3;
81
+ var until = kotlin_kotlin.$_$.c7;
82
+ var joinToString$default = kotlin_kotlin.$_$.h;
83
+ var objectMeta = kotlin_kotlin.$_$.w6;
84
+ var getKClassFromExpression = kotlin_kotlin.$_$.d;
85
+ var hashCode = kotlin_kotlin.$_$.p6;
86
+ var fillArrayVal = kotlin_kotlin.$_$.m6;
87
+ var HashSet_init_$Create$_0 = kotlin_kotlin.$_$.q;
88
+ var KTypeParameter = kotlin_kotlin.$_$.h7;
89
+ var HashMap_init_$Create$ = kotlin_kotlin.$_$.o;
90
+ var arrayIterator = kotlin_kotlin.$_$.d6;
91
+ var booleanArray = kotlin_kotlin.$_$.e6;
92
+ var emptyMap = kotlin_kotlin.$_$.w3;
93
+ var contentHashCode = kotlin_kotlin.$_$.q3;
94
+ var Companion_getInstance = kotlin_kotlin.$_$.i2;
95
+ var DoubleCompanionObject_getInstance = kotlin_kotlin.$_$.z1;
96
+ var FloatCompanionObject_getInstance = kotlin_kotlin.$_$.a2;
97
+ var Companion_getInstance_0 = kotlin_kotlin.$_$.j2;
98
+ var Companion_getInstance_1 = kotlin_kotlin.$_$.n2;
99
+ var IntCompanionObject_getInstance = kotlin_kotlin.$_$.b2;
100
+ var Companion_getInstance_2 = kotlin_kotlin.$_$.m2;
101
+ var ShortCompanionObject_getInstance = kotlin_kotlin.$_$.c2;
102
+ var Companion_getInstance_3 = kotlin_kotlin.$_$.o2;
103
+ var ByteCompanionObject_getInstance = kotlin_kotlin.$_$.y1;
104
+ var Companion_getInstance_4 = kotlin_kotlin.$_$.l2;
105
+ var BooleanCompanionObject_getInstance = kotlin_kotlin.$_$.x1;
106
+ var trimIndent = kotlin_kotlin.$_$.u7;
107
+ var equals_0 = kotlin_kotlin.$_$.o7;
108
+ var charSequenceLength = kotlin_kotlin.$_$.i6;
109
+ var charSequenceGet = kotlin_kotlin.$_$.h6;
110
+ var toString_0 = kotlin_kotlin.$_$.q1;
111
+ var titlecase = kotlin_kotlin.$_$.s7;
112
+ var isLowerCase = kotlin_kotlin.$_$.q7;
113
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.f2;
114
+ var Char = kotlin_kotlin.$_$.x7;
115
+ var Long = kotlin_kotlin.$_$.f8;
116
+ var ULong = kotlin_kotlin.$_$.s8;
117
+ var ULongArray = kotlin_kotlin.$_$.r8;
118
+ var UInt = kotlin_kotlin.$_$.q8;
119
+ var UIntArray = kotlin_kotlin.$_$.p8;
120
+ var UShort = kotlin_kotlin.$_$.u8;
121
+ var UShortArray = kotlin_kotlin.$_$.t8;
122
+ var UByte = kotlin_kotlin.$_$.o8;
123
+ var UByteArray = kotlin_kotlin.$_$.n8;
124
+ var Unit = kotlin_kotlin.$_$.v8;
125
+ var Duration = kotlin_kotlin.$_$.v7;
126
+ var Companion_getInstance_5 = kotlin_kotlin.$_$.h2;
127
+ var mapOf = kotlin_kotlin.$_$.n4;
128
+ var asSequence = kotlin_kotlin.$_$.j3;
129
+ var Annotation = kotlin_kotlin.$_$.w7;
130
+ var get_js = kotlin_kotlin.$_$.t6;
131
+ var findAssociatedObject = kotlin_kotlin.$_$.c;
132
+ var get_indices = kotlin_kotlin.$_$.e4;
133
+ var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.g1;
134
+ var Companion_getInstance_6 = kotlin_kotlin.$_$.k2;
135
+ var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.r1;
136
+ var createFailure = kotlin_kotlin.$_$.z8;
137
+ //endregion
138
+ //region block: pre-declaration
139
+ PolymorphicSerializer.prototype = Object.create(AbstractPolymorphicSerializer.prototype);
140
+ PolymorphicSerializer.prototype.constructor = PolymorphicSerializer;
141
+ SealedClassSerializer.prototype = Object.create(AbstractPolymorphicSerializer.prototype);
142
+ SealedClassSerializer.prototype.constructor = SealedClassSerializer;
143
+ SerializationException.prototype = Object.create(IllegalArgumentException.prototype);
144
+ SerializationException.prototype.constructor = SerializationException;
145
+ function get_isNullable() {
146
+ return false;
147
+ }
148
+ ENUM.prototype = Object.create(SerialKind.prototype);
149
+ ENUM.prototype.constructor = ENUM;
150
+ CONTEXTUAL.prototype = Object.create(SerialKind.prototype);
151
+ CONTEXTUAL.prototype.constructor = CONTEXTUAL;
152
+ PolymorphicKind.prototype = Object.create(SerialKind.prototype);
153
+ PolymorphicKind.prototype.constructor = PolymorphicKind;
154
+ SEALED.prototype = Object.create(PolymorphicKind.prototype);
155
+ SEALED.prototype.constructor = SEALED;
156
+ OPEN.prototype = Object.create(PolymorphicKind.prototype);
157
+ OPEN.prototype.constructor = OPEN;
158
+ PrimitiveKind.prototype = Object.create(SerialKind.prototype);
159
+ PrimitiveKind.prototype.constructor = PrimitiveKind;
160
+ BOOLEAN.prototype = Object.create(PrimitiveKind.prototype);
161
+ BOOLEAN.prototype.constructor = BOOLEAN;
162
+ BYTE.prototype = Object.create(PrimitiveKind.prototype);
163
+ BYTE.prototype.constructor = BYTE;
164
+ CHAR.prototype = Object.create(PrimitiveKind.prototype);
165
+ CHAR.prototype.constructor = CHAR;
166
+ SHORT.prototype = Object.create(PrimitiveKind.prototype);
167
+ SHORT.prototype.constructor = SHORT;
168
+ INT.prototype = Object.create(PrimitiveKind.prototype);
169
+ INT.prototype.constructor = INT;
170
+ LONG.prototype = Object.create(PrimitiveKind.prototype);
171
+ LONG.prototype.constructor = LONG;
172
+ FLOAT.prototype = Object.create(PrimitiveKind.prototype);
173
+ FLOAT.prototype.constructor = FLOAT;
174
+ DOUBLE.prototype = Object.create(PrimitiveKind.prototype);
175
+ DOUBLE.prototype.constructor = DOUBLE;
176
+ STRING.prototype = Object.create(PrimitiveKind.prototype);
177
+ STRING.prototype.constructor = STRING;
178
+ StructureKind.prototype = Object.create(SerialKind.prototype);
179
+ StructureKind.prototype.constructor = StructureKind;
180
+ CLASS.prototype = Object.create(StructureKind.prototype);
181
+ CLASS.prototype.constructor = CLASS;
182
+ LIST.prototype = Object.create(StructureKind.prototype);
183
+ LIST.prototype.constructor = LIST;
184
+ MAP.prototype = Object.create(StructureKind.prototype);
185
+ MAP.prototype.constructor = MAP;
186
+ OBJECT.prototype = Object.create(StructureKind.prototype);
187
+ OBJECT.prototype.constructor = OBJECT;
188
+ ArrayListClassDesc.prototype = Object.create(ListLikeDescriptor.prototype);
189
+ ArrayListClassDesc.prototype.constructor = ArrayListClassDesc;
190
+ HashSetClassDesc.prototype = Object.create(ListLikeDescriptor.prototype);
191
+ HashSetClassDesc.prototype.constructor = HashSetClassDesc;
192
+ LinkedHashSetClassDesc.prototype = Object.create(ListLikeDescriptor.prototype);
193
+ LinkedHashSetClassDesc.prototype.constructor = LinkedHashSetClassDesc;
194
+ HashMapClassDesc.prototype = Object.create(MapLikeDescriptor.prototype);
195
+ HashMapClassDesc.prototype.constructor = HashMapClassDesc;
196
+ LinkedHashMapClassDesc.prototype = Object.create(MapLikeDescriptor.prototype);
197
+ LinkedHashMapClassDesc.prototype.constructor = LinkedHashMapClassDesc;
198
+ ArrayClassDesc.prototype = Object.create(ListLikeDescriptor.prototype);
199
+ ArrayClassDesc.prototype.constructor = ArrayClassDesc;
200
+ PrimitiveArrayDescriptor.prototype = Object.create(ListLikeDescriptor.prototype);
201
+ PrimitiveArrayDescriptor.prototype.constructor = PrimitiveArrayDescriptor;
202
+ CollectionLikeSerializer.prototype = Object.create(AbstractCollectionSerializer.prototype);
203
+ CollectionLikeSerializer.prototype.constructor = CollectionLikeSerializer;
204
+ CollectionSerializer.prototype = Object.create(CollectionLikeSerializer.prototype);
205
+ CollectionSerializer.prototype.constructor = CollectionSerializer;
206
+ ArrayListSerializer.prototype = Object.create(CollectionSerializer.prototype);
207
+ ArrayListSerializer.prototype.constructor = ArrayListSerializer;
208
+ HashSetSerializer.prototype = Object.create(CollectionSerializer.prototype);
209
+ HashSetSerializer.prototype.constructor = HashSetSerializer;
210
+ LinkedHashSetSerializer.prototype = Object.create(CollectionSerializer.prototype);
211
+ LinkedHashSetSerializer.prototype.constructor = LinkedHashSetSerializer;
212
+ MapLikeSerializer.prototype = Object.create(AbstractCollectionSerializer.prototype);
213
+ MapLikeSerializer.prototype.constructor = MapLikeSerializer;
214
+ HashMapSerializer.prototype = Object.create(MapLikeSerializer.prototype);
215
+ HashMapSerializer.prototype.constructor = HashMapSerializer;
216
+ LinkedHashMapSerializer.prototype = Object.create(MapLikeSerializer.prototype);
217
+ LinkedHashMapSerializer.prototype.constructor = LinkedHashMapSerializer;
218
+ ReferenceArraySerializer.prototype = Object.create(CollectionLikeSerializer.prototype);
219
+ ReferenceArraySerializer.prototype.constructor = ReferenceArraySerializer;
220
+ PrimitiveArraySerializer.prototype = Object.create(CollectionLikeSerializer.prototype);
221
+ PrimitiveArraySerializer.prototype.constructor = PrimitiveArraySerializer;
222
+ EnumDescriptor.prototype = Object.create(PluginGeneratedSerialDescriptor.prototype);
223
+ EnumDescriptor.prototype.constructor = EnumDescriptor;
224
+ InlineClassDescriptor.prototype = Object.create(PluginGeneratedSerialDescriptor.prototype);
225
+ InlineClassDescriptor.prototype.constructor = InlineClassDescriptor;
226
+ function typeParametersSerializers() {
227
+ return get_EMPTY_SERIALIZER_ARRAY();
228
+ }
229
+ CharArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
230
+ CharArraySerializer_0.prototype.constructor = CharArraySerializer_0;
231
+ DoubleArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
232
+ DoubleArraySerializer_0.prototype.constructor = DoubleArraySerializer_0;
233
+ FloatArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
234
+ FloatArraySerializer_0.prototype.constructor = FloatArraySerializer_0;
235
+ LongArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
236
+ LongArraySerializer_0.prototype.constructor = LongArraySerializer_0;
237
+ ULongArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
238
+ ULongArraySerializer_0.prototype.constructor = ULongArraySerializer_0;
239
+ IntArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
240
+ IntArraySerializer_0.prototype.constructor = IntArraySerializer_0;
241
+ UIntArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
242
+ UIntArraySerializer_0.prototype.constructor = UIntArraySerializer_0;
243
+ ShortArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
244
+ ShortArraySerializer_0.prototype.constructor = ShortArraySerializer_0;
245
+ UShortArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
246
+ UShortArraySerializer_0.prototype.constructor = UShortArraySerializer_0;
247
+ ByteArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
248
+ ByteArraySerializer_0.prototype.constructor = ByteArraySerializer_0;
249
+ UByteArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
250
+ UByteArraySerializer_0.prototype.constructor = UByteArraySerializer_0;
251
+ BooleanArraySerializer_0.prototype = Object.create(PrimitiveArraySerializer.prototype);
252
+ BooleanArraySerializer_0.prototype.constructor = BooleanArraySerializer_0;
253
+ MapEntrySerializer_0.prototype = Object.create(KeyValueSerializer.prototype);
254
+ MapEntrySerializer_0.prototype.constructor = MapEntrySerializer_0;
255
+ PairSerializer_0.prototype = Object.create(KeyValueSerializer.prototype);
256
+ PairSerializer_0.prototype.constructor = PairSerializer_0;
257
+ SerialModuleImpl.prototype = Object.create(SerializersModule.prototype);
258
+ SerialModuleImpl.prototype.constructor = SerialModuleImpl;
259
+ Argless.prototype = Object.create(ContextualProvider.prototype);
260
+ Argless.prototype.constructor = Argless;
261
+ WithTypeArguments.prototype = Object.create(ContextualProvider.prototype);
262
+ WithTypeArguments.prototype.constructor = WithTypeArguments;
263
+ function contextual(kClass, serializer) {
264
+ return this.q1p(kClass, SerializersModuleCollector$contextual$lambda(serializer));
265
+ }
266
+ SerializerAlreadyRegisteredException.prototype = Object.create(IllegalArgumentException.prototype);
267
+ SerializerAlreadyRegisteredException.prototype.constructor = SerializerAlreadyRegisteredException;
268
+ //endregion
269
+ function KSerializer() {
270
+ }
271
+ KSerializer.$metadata$ = interfaceMeta('KSerializer', [SerializationStrategy, DeserializationStrategy]);
272
+ function SerializationStrategy() {
273
+ }
274
+ SerializationStrategy.$metadata$ = interfaceMeta('SerializationStrategy');
275
+ function DeserializationStrategy() {
276
+ }
277
+ DeserializationStrategy.$metadata$ = interfaceMeta('DeserializationStrategy');
278
+ function PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0) {
279
+ return function ($this$buildSerialDescriptor) {
280
+ var tmp = serializer_1(StringCompanionObject_getInstance()).x1h();
281
+ $this$buildSerialDescriptor.g1i('type', tmp, null, false, 12, null);
282
+ var tmp_0 = 'kotlinx.serialization.Polymorphic<' + this$0.h1i_1.ye() + '>';
283
+ var tmp_1 = CONTEXTUAL_getInstance();
284
+ var tmp_2 = buildSerialDescriptor$default(tmp_0, tmp_1, [], null, 12, null);
285
+ $this$buildSerialDescriptor.g1i('value', tmp_2, null, false, 12, null);
286
+ $this$buildSerialDescriptor.a1i_1 = this$0.i1i_1;
287
+ return Unit_getInstance();
288
+ };
289
+ }
290
+ function PolymorphicSerializer$descriptor$delegate$lambda(this$0) {
291
+ return function () {
292
+ var tmp = OPEN_getInstance();
293
+ return withContext(buildSerialDescriptor$default('kotlinx.serialization.Polymorphic', tmp, [], PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0), 4, null), this$0.h1i_1);
294
+ };
295
+ }
296
+ function PolymorphicSerializer(baseClass) {
297
+ AbstractPolymorphicSerializer.call(this);
298
+ this.h1i_1 = baseClass;
299
+ this.i1i_1 = emptyList();
300
+ var tmp = this;
301
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
302
+ tmp.j1i_1 = lazy(tmp_0, PolymorphicSerializer$descriptor$delegate$lambda(this));
303
+ }
304
+ PolymorphicSerializer.prototype.x1h = function () {
305
+ var tmp$ret$0;
306
+ // Inline function 'kotlin.getValue' call
307
+ var tmp0_getValue = descriptor$factory();
308
+ tmp$ret$0 = this.j1i_1.z1();
309
+ return tmp$ret$0;
310
+ };
311
+ PolymorphicSerializer.prototype.toString = function () {
312
+ return 'kotlinx.serialization.PolymorphicSerializer(baseClass: ' + this.h1i_1 + ')';
313
+ };
314
+ PolymorphicSerializer.$metadata$ = classMeta('PolymorphicSerializer', undefined, undefined, undefined, undefined, AbstractPolymorphicSerializer.prototype);
315
+ function descriptor$factory() {
316
+ return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) {
317
+ return receiver.x1h();
318
+ }, null);
319
+ }
320
+ function SealedClassSerializer_init_$Init$(serialName, baseClass, subclasses, subclassSerializers, classAnnotations, $this) {
321
+ SealedClassSerializer.call($this, serialName, baseClass, subclasses, subclassSerializers);
322
+ $this.l1i_1 = asList(classAnnotations);
323
+ return $this;
324
+ }
325
+ function SealedClassSerializer_init_$Create$(serialName, baseClass, subclasses, subclassSerializers, classAnnotations) {
326
+ return SealedClassSerializer_init_$Init$(serialName, baseClass, subclasses, subclassSerializers, classAnnotations, Object.create(SealedClassSerializer.prototype));
327
+ }
328
+ function SealedClassSerializer$descriptor$delegate$lambda$lambda$lambda($subclassSerializers) {
329
+ return function ($this$buildSerialDescriptor) {
330
+ var tmp0_forEach = distinct($subclassSerializers);
331
+ var tmp0_iterator = tmp0_forEach.f();
332
+ while (tmp0_iterator.g()) {
333
+ var element = tmp0_iterator.h();
334
+ // Inline function 'kotlinx.serialization.SealedClassSerializer.descriptor$delegate.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
335
+ var d = element.x1h();
336
+ var tmp = d.p1i();
337
+ $this$buildSerialDescriptor.g1i(tmp, d, null, false, 12, null);
338
+ }
339
+ return Unit_getInstance();
340
+ };
341
+ }
342
+ function SealedClassSerializer$descriptor$delegate$lambda$lambda(this$0, $subclassSerializers) {
343
+ return function ($this$buildSerialDescriptor) {
344
+ var tmp = serializer_1(StringCompanionObject_getInstance()).x1h();
345
+ $this$buildSerialDescriptor.g1i('type', tmp, null, false, 12, null);
346
+ var tmp_0 = 'kotlinx.serialization.Sealed<' + this$0.k1i_1.ye() + '>';
347
+ var tmp_1 = CONTEXTUAL_getInstance();
348
+ var elementDescriptor = buildSerialDescriptor$default(tmp_0, tmp_1, [], SealedClassSerializer$descriptor$delegate$lambda$lambda$lambda($subclassSerializers), 4, null);
349
+ $this$buildSerialDescriptor.g1i('value', elementDescriptor, null, false, 12, null);
350
+ $this$buildSerialDescriptor.a1i_1 = this$0.l1i_1;
351
+ return Unit_getInstance();
352
+ };
353
+ }
354
+ function SealedClassSerializer$descriptor$delegate$lambda($serialName, this$0, $subclassSerializers) {
355
+ return function () {
356
+ var tmp = SEALED_getInstance();
357
+ return buildSerialDescriptor$default($serialName, tmp, [], SealedClassSerializer$descriptor$delegate$lambda$lambda(this$0, $subclassSerializers), 4, null);
358
+ };
359
+ }
360
+ function _no_name_provided__qut3iv($tmp0_groupingBy) {
361
+ this.q1i_1 = $tmp0_groupingBy;
362
+ }
363
+ _no_name_provided__qut3iv.prototype.x = function () {
364
+ return this.q1i_1.f();
365
+ };
366
+ _no_name_provided__qut3iv.prototype.r1i = function (element) {
367
+ var tmp$ret$0;
368
+ // Inline function 'kotlinx.serialization.SealedClassSerializer.<anonymous>' call
369
+ tmp$ret$0 = element.z1().x1h().p1i();
370
+ return tmp$ret$0;
371
+ };
372
+ _no_name_provided__qut3iv.prototype.y = function (element) {
373
+ return this.r1i((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
374
+ };
375
+ _no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [Grouping]);
376
+ function SealedClassSerializer(serialName, baseClass, subclasses, subclassSerializers) {
377
+ AbstractPolymorphicSerializer.call(this);
378
+ this.k1i_1 = baseClass;
379
+ this.l1i_1 = emptyList();
380
+ var tmp = this;
381
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
382
+ tmp.m1i_1 = lazy(tmp_0, SealedClassSerializer$descriptor$delegate$lambda(serialName, this, subclassSerializers));
383
+ if (!(subclasses.length === subclassSerializers.length)) {
384
+ throw IllegalArgumentException_init_$Create$('All subclasses of sealed class ' + this.k1i_1.ye() + ' should be marked @Serializable');
385
+ }
386
+ this.n1i_1 = toMap(zip(subclasses, subclassSerializers));
387
+ var tmp_1 = this;
388
+ var tmp$ret$10;
389
+ // Inline function 'kotlin.collections.mapValues' call
390
+ var tmp$ret$5;
391
+ // Inline function 'kotlin.collections.aggregate' call
392
+ var tmp$ret$0;
393
+ // Inline function 'kotlin.collections.groupingBy' call
394
+ var tmp0_groupingBy = this.n1i_1.a1();
395
+ tmp$ret$0 = new _no_name_provided__qut3iv(tmp0_groupingBy);
396
+ var tmp1_aggregate = tmp$ret$0;
397
+ var tmp$ret$4;
398
+ // Inline function 'kotlin.collections.aggregateTo' call
399
+ var tmp$ret$1;
400
+ // Inline function 'kotlin.collections.mutableMapOf' call
401
+ tmp$ret$1 = LinkedHashMap_init_$Create$();
402
+ var tmp2_aggregateTo = tmp$ret$1;
403
+ var tmp$ret$2;
404
+ // Inline function 'kotlin.collections.iterator' call
405
+ var tmp0_iterator = tmp1_aggregate.x();
406
+ tmp$ret$2 = tmp0_iterator;
407
+ var tmp0_iterator_0 = tmp$ret$2;
408
+ while (tmp0_iterator_0.g()) {
409
+ var e = tmp0_iterator_0.h();
410
+ var key = tmp1_aggregate.y(e);
411
+ var accumulator = tmp2_aggregateTo.n(key);
412
+ // Inline function 'kotlin.collections.set' call
413
+ var tmp$ret$3;
414
+ // Inline function 'kotlinx.serialization.SealedClassSerializer.<anonymous>' call
415
+ var tmp2__anonymous__z9zvc9 = accumulator == null ? !tmp2_aggregateTo.g2(key) : false;
416
+ if (!(accumulator == null)) {
417
+ // Inline function 'kotlin.error' call
418
+ var tmp0_error = "Multiple sealed subclasses of '" + this.k1i_1 + "' have the same serial name '" + key + "':" + (" '" + accumulator.x1() + "', '" + e.x1() + "'");
419
+ throw IllegalStateException_init_$Create$(toString(tmp0_error));
420
+ }
421
+ tmp$ret$3 = e;
422
+ var tmp1_set = tmp$ret$3;
423
+ tmp2_aggregateTo.o(key, tmp1_set);
424
+ }
425
+ tmp$ret$4 = tmp2_aggregateTo;
426
+ tmp$ret$5 = tmp$ret$4;
427
+ var tmp3_mapValues = tmp$ret$5;
428
+ var tmp$ret$9;
429
+ // Inline function 'kotlin.collections.mapValuesTo' call
430
+ var tmp1_mapValuesTo = LinkedHashMap_init_$Create$_0(mapCapacity(tmp3_mapValues.i()));
431
+ var tmp$ret$8;
432
+ // Inline function 'kotlin.collections.associateByTo' call
433
+ var tmp0_associateByTo = tmp3_mapValues.a1();
434
+ var tmp0_iterator_1 = tmp0_associateByTo.f();
435
+ while (tmp0_iterator_1.g()) {
436
+ var element = tmp0_iterator_1.h();
437
+ var tmp$ret$6;
438
+ // Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
439
+ tmp$ret$6 = element.x1();
440
+ var tmp_2 = tmp$ret$6;
441
+ var tmp$ret$7;
442
+ // Inline function 'kotlinx.serialization.SealedClassSerializer.<anonymous>' call
443
+ tmp$ret$7 = element.z1().z1();
444
+ tmp1_mapValuesTo.o(tmp_2, tmp$ret$7);
445
+ }
446
+ tmp$ret$8 = tmp1_mapValuesTo;
447
+ tmp$ret$9 = tmp$ret$8;
448
+ tmp$ret$10 = tmp$ret$9;
449
+ tmp_1.o1i_1 = tmp$ret$10;
450
+ }
451
+ SealedClassSerializer.prototype.s1i = function () {
452
+ return this.k1i_1;
453
+ };
454
+ SealedClassSerializer.prototype.x1h = function () {
455
+ var tmp$ret$0;
456
+ // Inline function 'kotlin.getValue' call
457
+ var tmp0_getValue = descriptor$factory_0();
458
+ tmp$ret$0 = this.m1i_1.z1();
459
+ return tmp$ret$0;
460
+ };
461
+ SealedClassSerializer.$metadata$ = classMeta('SealedClassSerializer', undefined, undefined, undefined, undefined, AbstractPolymorphicSerializer.prototype);
462
+ function descriptor$factory_0() {
463
+ return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) {
464
+ return receiver.x1h();
465
+ }, null);
466
+ }
467
+ function StringFormat() {
468
+ }
469
+ StringFormat.$metadata$ = interfaceMeta('StringFormat', [SerialFormat]);
470
+ function SerialFormat() {
471
+ }
472
+ SerialFormat.$metadata$ = interfaceMeta('SerialFormat');
473
+ function SerializationException_init_$Init$(message, $this) {
474
+ IllegalArgumentException_init_$Init$(message, $this);
475
+ SerializationException.call($this);
476
+ return $this;
477
+ }
478
+ function SerializationException_init_$Create$(message) {
479
+ var tmp = SerializationException_init_$Init$(message, Object.create(SerializationException.prototype));
480
+ captureStack(tmp, SerializationException_init_$Create$);
481
+ return tmp;
482
+ }
483
+ function SerializationException() {
484
+ captureStack(this, SerializationException);
485
+ }
486
+ SerializationException.$metadata$ = classMeta('SerializationException', undefined, undefined, undefined, undefined, IllegalArgumentException.prototype);
487
+ function serializerOrNull(_this__u8e3s4) {
488
+ var tmp0_elvis_lhs = compiledSerializerImpl(_this__u8e3s4);
489
+ return tmp0_elvis_lhs == null ? builtinSerializerOrNull(_this__u8e3s4) : tmp0_elvis_lhs;
490
+ }
491
+ function serializersForParameters(_this__u8e3s4, typeArguments, failOnMissingTypeArgSerializer) {
492
+ var tmp;
493
+ if (failOnMissingTypeArgSerializer) {
494
+ var tmp$ret$2;
495
+ // Inline function 'kotlin.collections.map' call
496
+ var tmp$ret$1;
497
+ // Inline function 'kotlin.collections.mapTo' call
498
+ var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(typeArguments, 10));
499
+ var tmp0_iterator = typeArguments.f();
500
+ while (tmp0_iterator.g()) {
501
+ var item = tmp0_iterator.h();
502
+ var tmp$ret$0;
503
+ // Inline function 'kotlinx.serialization.serializersForParameters.<anonymous>' call
504
+ tmp$ret$0 = serializer(_this__u8e3s4, item);
505
+ tmp0_mapTo.a(tmp$ret$0);
506
+ }
507
+ tmp$ret$1 = tmp0_mapTo;
508
+ tmp$ret$2 = tmp$ret$1;
509
+ tmp = tmp$ret$2;
510
+ } else {
511
+ var tmp$ret$5;
512
+ // Inline function 'kotlin.collections.map' call
513
+ var tmp$ret$4;
514
+ // Inline function 'kotlin.collections.mapTo' call
515
+ var tmp0_mapTo_0 = ArrayList_init_$Create$(collectionSizeOrDefault(typeArguments, 10));
516
+ var tmp0_iterator_0 = typeArguments.f();
517
+ while (tmp0_iterator_0.g()) {
518
+ var item_0 = tmp0_iterator_0.h();
519
+ var tmp$ret$3;
520
+ // Inline function 'kotlinx.serialization.serializersForParameters.<anonymous>' call
521
+ var tmp0_elvis_lhs = serializerOrNull_0(_this__u8e3s4, item_0);
522
+ var tmp_0;
523
+ if (tmp0_elvis_lhs == null) {
524
+ return null;
525
+ } else {
526
+ tmp_0 = tmp0_elvis_lhs;
527
+ }
528
+ tmp$ret$3 = tmp_0;
529
+ tmp0_mapTo_0.a(tmp$ret$3);
530
+ }
531
+ tmp$ret$4 = tmp0_mapTo_0;
532
+ tmp$ret$5 = tmp$ret$4;
533
+ tmp = tmp$ret$5;
534
+ }
535
+ var serializers = tmp;
536
+ return serializers;
537
+ }
538
+ function parametrizedSerializerOrNull(_this__u8e3s4, types, serializers) {
539
+ var tmp0_elvis_lhs = builtinParametrizedSerializer(_this__u8e3s4, types, serializers);
540
+ return tmp0_elvis_lhs == null ? compiledParametrizedSerializer(_this__u8e3s4, serializers) : tmp0_elvis_lhs;
541
+ }
542
+ function serializer(_this__u8e3s4, type) {
543
+ var tmp0_elvis_lhs = serializerByKTypeImpl(_this__u8e3s4, type, true);
544
+ var tmp;
545
+ if (tmp0_elvis_lhs == null) {
546
+ platformSpecificSerializerNotRegistered(kclass(type));
547
+ } else {
548
+ tmp = tmp0_elvis_lhs;
549
+ }
550
+ return tmp;
551
+ }
552
+ function serializerOrNull_0(_this__u8e3s4, type) {
553
+ return serializerByKTypeImpl(_this__u8e3s4, type, false);
554
+ }
555
+ function builtinParametrizedSerializer(_this__u8e3s4, typeArguments, serializers) {
556
+ var tmp0_subject = _this__u8e3s4;
557
+ var tmp;
558
+ if (((tmp0_subject.equals(getKClass(Collection)) ? true : tmp0_subject.equals(getKClass(List))) ? true : tmp0_subject.equals(getKClass(MutableList))) ? true : tmp0_subject.equals(getKClass(ArrayList))) {
559
+ tmp = new ArrayListSerializer(serializers.j(0));
560
+ } else if (tmp0_subject.equals(getKClass(HashSet))) {
561
+ tmp = new HashSetSerializer(serializers.j(0));
562
+ } else if ((tmp0_subject.equals(getKClass(Set)) ? true : tmp0_subject.equals(getKClass(MutableSet))) ? true : tmp0_subject.equals(getKClass(LinkedHashSet))) {
563
+ tmp = new LinkedHashSetSerializer(serializers.j(0));
564
+ } else if (tmp0_subject.equals(getKClass(HashMap))) {
565
+ tmp = new HashMapSerializer(serializers.j(0), serializers.j(1));
566
+ } else if ((tmp0_subject.equals(getKClass(Map)) ? true : tmp0_subject.equals(getKClass(MutableMap))) ? true : tmp0_subject.equals(getKClass(LinkedHashMap))) {
567
+ tmp = new LinkedHashMapSerializer(serializers.j(0), serializers.j(1));
568
+ } else if (tmp0_subject.equals(getKClass(Entry))) {
569
+ tmp = MapEntrySerializer(serializers.j(0), serializers.j(1));
570
+ } else if (tmp0_subject.equals(getKClass(Pair))) {
571
+ tmp = PairSerializer(serializers.j(0), serializers.j(1));
572
+ } else if (tmp0_subject.equals(getKClass(Triple))) {
573
+ tmp = TripleSerializer(serializers.j(0), serializers.j(1), serializers.j(2));
574
+ } else {
575
+ var tmp_0;
576
+ if (isReferenceArray(_this__u8e3s4)) {
577
+ var tmp_1 = typeArguments.j(0).if();
578
+ tmp_0 = ArraySerializer((!(tmp_1 == null) ? isInterface(tmp_1, KClass) : false) ? tmp_1 : THROW_CCE(), serializers.j(0));
579
+ } else {
580
+ tmp_0 = null;
581
+ }
582
+ tmp = tmp_0;
583
+ }
584
+ return tmp;
585
+ }
586
+ function compiledParametrizedSerializer(_this__u8e3s4, serializers) {
587
+ var tmp$ret$0;
588
+ // Inline function 'kotlin.collections.toTypedArray' call
589
+ tmp$ret$0 = copyToArray(serializers);
590
+ return constructSerializerForGivenTypeArgs(_this__u8e3s4, tmp$ret$0.slice());
591
+ }
592
+ function serializerByKTypeImpl(_this__u8e3s4, type, failOnMissingTypeArgSerializer) {
593
+ var rootClass = kclass(type);
594
+ var isNullable = type.kf();
595
+ var tmp$ret$4;
596
+ // Inline function 'kotlin.collections.map' call
597
+ var tmp0_map = type.jf();
598
+ var tmp$ret$3;
599
+ // Inline function 'kotlin.collections.mapTo' call
600
+ var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
601
+ var tmp0_iterator = tmp0_map.f();
602
+ while (tmp0_iterator.g()) {
603
+ var item = tmp0_iterator.h();
604
+ var tmp$ret$2;
605
+ // Inline function 'kotlinx.serialization.serializerByKTypeImpl.<anonymous>' call
606
+ var tmp$ret$1;
607
+ $l$block: {
608
+ // Inline function 'kotlin.requireNotNull' call
609
+ var tmp0_requireNotNull = item.b7_1;
610
+ // Inline function 'kotlin.contracts.contract' call
611
+ if (tmp0_requireNotNull == null) {
612
+ var tmp$ret$0;
613
+ // Inline function 'kotlinx.serialization.serializerByKTypeImpl.<anonymous>.<anonymous>' call
614
+ tmp$ret$0 = 'Star projections in type arguments are not allowed, but had ' + type;
615
+ var message = tmp$ret$0;
616
+ throw IllegalArgumentException_init_$Create$(toString(message));
617
+ } else {
618
+ tmp$ret$1 = tmp0_requireNotNull;
619
+ break $l$block;
620
+ }
621
+ }
622
+ tmp$ret$2 = tmp$ret$1;
623
+ tmp0_mapTo.a(tmp$ret$2);
624
+ }
625
+ tmp$ret$3 = tmp0_mapTo;
626
+ tmp$ret$4 = tmp$ret$3;
627
+ var typeArguments = tmp$ret$4;
628
+ var tmp;
629
+ if (typeArguments.k()) {
630
+ tmp = findCachedSerializer(rootClass, isNullable);
631
+ } else {
632
+ var cachedResult = findParametrizedCachedSerializer(rootClass, typeArguments, isNullable);
633
+ var tmp_0;
634
+ if (failOnMissingTypeArgSerializer) {
635
+ var tmp$ret$5;
636
+ // Inline function 'kotlin.Result.getOrNull' call
637
+ var tmp_1;
638
+ if (_Result___get_isFailure__impl__jpiriv(cachedResult)) {
639
+ tmp_1 = null;
640
+ } else {
641
+ var tmp_2 = _Result___get_value__impl__bjfvqg(cachedResult);
642
+ tmp_1 = (tmp_2 == null ? true : isObject(tmp_2)) ? tmp_2 : THROW_CCE();
643
+ }
644
+ tmp$ret$5 = tmp_1;
645
+ tmp_0 = tmp$ret$5;
646
+ } else {
647
+ var tmp$ret$6;
648
+ // Inline function 'kotlin.getOrElse' call
649
+ // Inline function 'kotlin.contracts.contract' call
650
+ var exception = Result__exceptionOrNull_impl_p6xea9(cachedResult);
651
+ var tmp_3;
652
+ if (exception == null) {
653
+ var tmp_4 = _Result___get_value__impl__bjfvqg(cachedResult);
654
+ tmp_3 = (tmp_4 == null ? true : isObject(tmp_4)) ? tmp_4 : THROW_CCE();
655
+ } else {
656
+ return null;
657
+ }
658
+ tmp$ret$6 = tmp_3;
659
+ tmp_0 = tmp$ret$6;
660
+ }
661
+ tmp = tmp_0;
662
+ }
663
+ var cachedSerializer = tmp;
664
+ var tmp0_safe_receiver = cachedSerializer;
665
+ if (tmp0_safe_receiver == null)
666
+ null;
667
+ else {
668
+ var tmp$ret$7;
669
+ // Inline function 'kotlin.let' call
670
+ // Inline function 'kotlin.contracts.contract' call
671
+ return tmp0_safe_receiver;
672
+ }
673
+ var tmp_5;
674
+ if (typeArguments.k()) {
675
+ tmp_5 = _this__u8e3s4.u1i(rootClass, null, 2, null);
676
+ } else {
677
+ var tmp1_elvis_lhs = serializersForParameters(_this__u8e3s4, typeArguments, failOnMissingTypeArgSerializer);
678
+ var tmp_6;
679
+ if (tmp1_elvis_lhs == null) {
680
+ return null;
681
+ } else {
682
+ tmp_6 = tmp1_elvis_lhs;
683
+ }
684
+ var serializers = tmp_6;
685
+ var tmp2_elvis_lhs = parametrizedSerializerOrNull(rootClass, typeArguments, serializers);
686
+ tmp_5 = tmp2_elvis_lhs == null ? _this__u8e3s4.t1i(rootClass, serializers) : tmp2_elvis_lhs;
687
+ }
688
+ var contextualSerializer = tmp_5;
689
+ var tmp3_safe_receiver = contextualSerializer;
690
+ var tmp_7;
691
+ if (tmp3_safe_receiver == null) {
692
+ tmp_7 = null;
693
+ } else {
694
+ var tmp$ret$8;
695
+ // Inline function 'kotlinx.serialization.internal.cast' call
696
+ tmp$ret$8 = (!(tmp3_safe_receiver == null) ? isInterface(tmp3_safe_receiver, KSerializer) : false) ? tmp3_safe_receiver : THROW_CCE();
697
+ tmp_7 = tmp$ret$8;
698
+ }
699
+ var tmp4_safe_receiver = tmp_7;
700
+ return tmp4_safe_receiver == null ? null : nullable(tmp4_safe_receiver, isNullable);
701
+ }
702
+ function nullable(_this__u8e3s4, shouldBeNullable) {
703
+ if (shouldBeNullable)
704
+ return get_nullable(_this__u8e3s4);
705
+ return isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
706
+ }
707
+ function serializer_0(type) {
708
+ return serializer(EmptySerializersModule_0(), type);
709
+ }
710
+ function get_SERIALIZERS_CACHE() {
711
+ init_properties_SerializersCache_kt_1gq1i1();
712
+ return SERIALIZERS_CACHE;
713
+ }
714
+ var SERIALIZERS_CACHE;
715
+ function get_SERIALIZERS_CACHE_NULLABLE() {
716
+ init_properties_SerializersCache_kt_1gq1i1();
717
+ return SERIALIZERS_CACHE_NULLABLE;
718
+ }
719
+ var SERIALIZERS_CACHE_NULLABLE;
720
+ function get_PARAMETRIZED_SERIALIZERS_CACHE() {
721
+ init_properties_SerializersCache_kt_1gq1i1();
722
+ return PARAMETRIZED_SERIALIZERS_CACHE;
723
+ }
724
+ var PARAMETRIZED_SERIALIZERS_CACHE;
725
+ function get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE() {
726
+ init_properties_SerializersCache_kt_1gq1i1();
727
+ return PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE;
728
+ }
729
+ var PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE;
730
+ function findCachedSerializer(clazz, isNullable) {
731
+ init_properties_SerializersCache_kt_1gq1i1();
732
+ var tmp;
733
+ if (!isNullable) {
734
+ var tmp0_safe_receiver = get_SERIALIZERS_CACHE().v1i(clazz);
735
+ var tmp_0;
736
+ if (tmp0_safe_receiver == null) {
737
+ tmp_0 = null;
738
+ } else {
739
+ var tmp$ret$0;
740
+ // Inline function 'kotlinx.serialization.internal.cast' call
741
+ tmp$ret$0 = (!(tmp0_safe_receiver == null) ? isInterface(tmp0_safe_receiver, KSerializer) : false) ? tmp0_safe_receiver : THROW_CCE();
742
+ tmp_0 = tmp$ret$0;
743
+ }
744
+ tmp = tmp_0;
745
+ } else {
746
+ tmp = get_SERIALIZERS_CACHE_NULLABLE().v1i(clazz);
747
+ }
748
+ return tmp;
749
+ }
750
+ function findParametrizedCachedSerializer(clazz, types, isNullable) {
751
+ init_properties_SerializersCache_kt_1gq1i1();
752
+ var tmp;
753
+ if (!isNullable) {
754
+ var tmp_0 = get_PARAMETRIZED_SERIALIZERS_CACHE().w1i(clazz, types);
755
+ tmp = new Result(tmp_0) instanceof Result ? tmp_0 : THROW_CCE();
756
+ } else {
757
+ tmp = get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE().w1i(clazz, types);
758
+ }
759
+ return tmp;
760
+ }
761
+ function SERIALIZERS_CACHE$lambda(it) {
762
+ init_properties_SerializersCache_kt_1gq1i1();
763
+ return serializerOrNull(it);
764
+ }
765
+ function SERIALIZERS_CACHE_NULLABLE$lambda(it) {
766
+ init_properties_SerializersCache_kt_1gq1i1();
767
+ var tmp0_safe_receiver = serializerOrNull(it);
768
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_nullable(tmp0_safe_receiver);
769
+ var tmp;
770
+ if (tmp1_safe_receiver == null) {
771
+ tmp = null;
772
+ } else {
773
+ var tmp$ret$0;
774
+ // Inline function 'kotlinx.serialization.internal.cast' call
775
+ tmp$ret$0 = (!(tmp1_safe_receiver == null) ? isInterface(tmp1_safe_receiver, KSerializer) : false) ? tmp1_safe_receiver : THROW_CCE();
776
+ tmp = tmp$ret$0;
777
+ }
778
+ return tmp;
779
+ }
780
+ function PARAMETRIZED_SERIALIZERS_CACHE$lambda(clazz, types) {
781
+ init_properties_SerializersCache_kt_1gq1i1();
782
+ var serializers = ensureNotNull(serializersForParameters(EmptySerializersModule_0(), types, true));
783
+ return parametrizedSerializerOrNull(clazz, types, serializers);
784
+ }
785
+ function PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda(clazz, types) {
786
+ init_properties_SerializersCache_kt_1gq1i1();
787
+ var serializers = ensureNotNull(serializersForParameters(EmptySerializersModule_0(), types, true));
788
+ var tmp0_safe_receiver = parametrizedSerializerOrNull(clazz, types, serializers);
789
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_nullable(tmp0_safe_receiver);
790
+ var tmp;
791
+ if (tmp1_safe_receiver == null) {
792
+ tmp = null;
793
+ } else {
794
+ var tmp$ret$0;
795
+ // Inline function 'kotlinx.serialization.internal.cast' call
796
+ tmp$ret$0 = (!(tmp1_safe_receiver == null) ? isInterface(tmp1_safe_receiver, KSerializer) : false) ? tmp1_safe_receiver : THROW_CCE();
797
+ tmp = tmp$ret$0;
798
+ }
799
+ return tmp;
800
+ }
801
+ var properties_initialized_SerializersCache_kt_q8kf25;
802
+ function init_properties_SerializersCache_kt_1gq1i1() {
803
+ if (properties_initialized_SerializersCache_kt_q8kf25) {
804
+ } else {
805
+ properties_initialized_SerializersCache_kt_q8kf25 = true;
806
+ SERIALIZERS_CACHE = createCache(SERIALIZERS_CACHE$lambda);
807
+ SERIALIZERS_CACHE_NULLABLE = createCache(SERIALIZERS_CACHE_NULLABLE$lambda);
808
+ PARAMETRIZED_SERIALIZERS_CACHE = createParametrizedCache(PARAMETRIZED_SERIALIZERS_CACHE$lambda);
809
+ PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE = createParametrizedCache(PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda);
810
+ }
811
+ }
812
+ function get_nullable(_this__u8e3s4) {
813
+ var tmp;
814
+ if (_this__u8e3s4.x1h().x1i()) {
815
+ tmp = isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
816
+ } else {
817
+ tmp = new NullableSerializer(_this__u8e3s4);
818
+ }
819
+ return tmp;
820
+ }
821
+ function serializer_1(_this__u8e3s4) {
822
+ return StringSerializer_getInstance();
823
+ }
824
+ function serializer_2(_this__u8e3s4) {
825
+ return CharSerializer_getInstance();
826
+ }
827
+ function CharArraySerializer() {
828
+ return CharArraySerializer_getInstance();
829
+ }
830
+ function serializer_3(_this__u8e3s4) {
831
+ return DoubleSerializer_getInstance();
832
+ }
833
+ function DoubleArraySerializer() {
834
+ return DoubleArraySerializer_getInstance();
835
+ }
836
+ function serializer_4(_this__u8e3s4) {
837
+ return FloatSerializer_getInstance();
838
+ }
839
+ function FloatArraySerializer() {
840
+ return FloatArraySerializer_getInstance();
841
+ }
842
+ function serializer_5(_this__u8e3s4) {
843
+ return LongSerializer_getInstance();
844
+ }
845
+ function LongArraySerializer() {
846
+ return LongArraySerializer_getInstance();
847
+ }
848
+ function serializer_6(_this__u8e3s4) {
849
+ return ULongSerializer_getInstance();
850
+ }
851
+ function ULongArraySerializer() {
852
+ return ULongArraySerializer_getInstance();
853
+ }
854
+ function serializer_7(_this__u8e3s4) {
855
+ return IntSerializer_getInstance();
856
+ }
857
+ function IntArraySerializer() {
858
+ return IntArraySerializer_getInstance();
859
+ }
860
+ function serializer_8(_this__u8e3s4) {
861
+ return UIntSerializer_getInstance();
862
+ }
863
+ function UIntArraySerializer() {
864
+ return UIntArraySerializer_getInstance();
865
+ }
866
+ function serializer_9(_this__u8e3s4) {
867
+ return ShortSerializer_getInstance();
868
+ }
869
+ function ShortArraySerializer() {
870
+ return ShortArraySerializer_getInstance();
871
+ }
872
+ function serializer_10(_this__u8e3s4) {
873
+ return UShortSerializer_getInstance();
874
+ }
875
+ function UShortArraySerializer() {
876
+ return UShortArraySerializer_getInstance();
877
+ }
878
+ function serializer_11(_this__u8e3s4) {
879
+ return ByteSerializer_getInstance();
880
+ }
881
+ function ByteArraySerializer() {
882
+ return ByteArraySerializer_getInstance();
883
+ }
884
+ function serializer_12(_this__u8e3s4) {
885
+ return UByteSerializer_getInstance();
886
+ }
887
+ function UByteArraySerializer() {
888
+ return UByteArraySerializer_getInstance();
889
+ }
890
+ function serializer_13(_this__u8e3s4) {
891
+ return BooleanSerializer_getInstance();
892
+ }
893
+ function BooleanArraySerializer() {
894
+ return BooleanArraySerializer_getInstance();
895
+ }
896
+ function serializer_14(_this__u8e3s4) {
897
+ return UnitSerializer_getInstance();
898
+ }
899
+ function serializer_15(_this__u8e3s4) {
900
+ return DurationSerializer_getInstance();
901
+ }
902
+ function MapEntrySerializer(keySerializer, valueSerializer) {
903
+ return new MapEntrySerializer_0(keySerializer, valueSerializer);
904
+ }
905
+ function PairSerializer(keySerializer, valueSerializer) {
906
+ return new PairSerializer_0(keySerializer, valueSerializer);
907
+ }
908
+ function TripleSerializer(aSerializer, bSerializer, cSerializer) {
909
+ return new TripleSerializer_0(aSerializer, bSerializer, cSerializer);
910
+ }
911
+ function ArraySerializer(kClass, elementSerializer) {
912
+ return new ReferenceArraySerializer(kClass, elementSerializer);
913
+ }
914
+ function withContext(_this__u8e3s4, context) {
915
+ return new ContextDescriptor(_this__u8e3s4, context);
916
+ }
917
+ function ContextDescriptor(original, kClass) {
918
+ this.y1i_1 = original;
919
+ this.z1i_1 = kClass;
920
+ this.a1j_1 = this.y1i_1.p1i() + '<' + this.z1i_1.ye() + '>';
921
+ }
922
+ ContextDescriptor.prototype.b1j = function () {
923
+ return this.y1i_1.b1j();
924
+ };
925
+ ContextDescriptor.prototype.x1i = function () {
926
+ return this.y1i_1.x1i();
927
+ };
928
+ ContextDescriptor.prototype.c1j = function () {
929
+ return this.y1i_1.c1j();
930
+ };
931
+ ContextDescriptor.prototype.d1j = function (index) {
932
+ return this.y1i_1.d1j(index);
933
+ };
934
+ ContextDescriptor.prototype.e1j = function (index) {
935
+ return this.y1i_1.e1j(index);
936
+ };
937
+ ContextDescriptor.prototype.p1i = function () {
938
+ return this.a1j_1;
939
+ };
940
+ ContextDescriptor.prototype.equals = function (other) {
941
+ var tmp0_elvis_lhs = other instanceof ContextDescriptor ? other : null;
942
+ var tmp;
943
+ if (tmp0_elvis_lhs == null) {
944
+ return false;
945
+ } else {
946
+ tmp = tmp0_elvis_lhs;
947
+ }
948
+ var another = tmp;
949
+ return equals(this.y1i_1, another.y1i_1) ? another.z1i_1.equals(this.z1i_1) : false;
950
+ };
951
+ ContextDescriptor.prototype.hashCode = function () {
952
+ var result = this.z1i_1.hashCode();
953
+ result = imul(31, result) + getStringHashCode(this.a1j_1) | 0;
954
+ return result;
955
+ };
956
+ ContextDescriptor.prototype.toString = function () {
957
+ return 'ContextDescriptor(kClass: ' + this.z1i_1 + ', original: ' + this.y1i_1 + ')';
958
+ };
959
+ ContextDescriptor.$metadata$ = classMeta('ContextDescriptor', [SerialDescriptor]);
960
+ function SerialDescriptor() {
961
+ }
962
+ SerialDescriptor.$metadata$ = interfaceMeta('SerialDescriptor');
963
+ function get_elementDescriptors(_this__u8e3s4) {
964
+ var tmp$ret$0;
965
+ // Inline function 'kotlin.collections.Iterable' call
966
+ tmp$ret$0 = new _no_name_provided__qut3iv_0(_this__u8e3s4);
967
+ return tmp$ret$0;
968
+ }
969
+ function get_elementNames(_this__u8e3s4) {
970
+ var tmp$ret$0;
971
+ // Inline function 'kotlin.collections.Iterable' call
972
+ tmp$ret$0 = new _no_name_provided__qut3iv_1(_this__u8e3s4);
973
+ return tmp$ret$0;
974
+ }
975
+ function elementDescriptors$1$1($this_elementDescriptors) {
976
+ this.g1j_1 = $this_elementDescriptors;
977
+ this.f1j_1 = $this_elementDescriptors.b1j();
978
+ }
979
+ elementDescriptors$1$1.prototype.g = function () {
980
+ return this.f1j_1 > 0;
981
+ };
982
+ elementDescriptors$1$1.prototype.h = function () {
983
+ var tmp = this.g1j_1.b1j();
984
+ var tmp0_this = this;
985
+ var tmp1 = tmp0_this.f1j_1;
986
+ tmp0_this.f1j_1 = tmp1 - 1 | 0;
987
+ return this.g1j_1.d1j(tmp - tmp1 | 0);
988
+ };
989
+ elementDescriptors$1$1.$metadata$ = classMeta(undefined, [Iterator]);
990
+ function _no_name_provided__qut3iv_0($this_elementDescriptors) {
991
+ this.h1j_1 = $this_elementDescriptors;
992
+ }
993
+ _no_name_provided__qut3iv_0.prototype.f = function () {
994
+ var tmp$ret$0;
995
+ // Inline function 'kotlinx.serialization.descriptors.<get-elementDescriptors>.<anonymous>' call
996
+ tmp$ret$0 = new elementDescriptors$1$1(this.h1j_1);
997
+ return tmp$ret$0;
998
+ };
999
+ _no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Iterable]);
1000
+ function elementNames$1$1($this_elementNames) {
1001
+ this.j1j_1 = $this_elementNames;
1002
+ this.i1j_1 = $this_elementNames.b1j();
1003
+ }
1004
+ elementNames$1$1.prototype.g = function () {
1005
+ return this.i1j_1 > 0;
1006
+ };
1007
+ elementNames$1$1.prototype.h = function () {
1008
+ var tmp = this.j1j_1.b1j();
1009
+ var tmp0_this = this;
1010
+ var tmp1 = tmp0_this.i1j_1;
1011
+ tmp0_this.i1j_1 = tmp1 - 1 | 0;
1012
+ return this.j1j_1.e1j(tmp - tmp1 | 0);
1013
+ };
1014
+ elementNames$1$1.$metadata$ = classMeta(undefined, [Iterator]);
1015
+ function _no_name_provided__qut3iv_1($this_elementNames) {
1016
+ this.k1j_1 = $this_elementNames;
1017
+ }
1018
+ _no_name_provided__qut3iv_1.prototype.f = function () {
1019
+ var tmp$ret$0;
1020
+ // Inline function 'kotlinx.serialization.descriptors.<get-elementNames>.<anonymous>' call
1021
+ tmp$ret$0 = new elementNames$1$1(this.k1j_1);
1022
+ return tmp$ret$0;
1023
+ };
1024
+ _no_name_provided__qut3iv_1.$metadata$ = classMeta(undefined, [Iterable]);
1025
+ function buildSerialDescriptor(serialName, kind, typeParameters, builder) {
1026
+ // Inline function 'kotlin.require' call
1027
+ var tmp$ret$0;
1028
+ // Inline function 'kotlin.text.isNotBlank' call
1029
+ tmp$ret$0 = !isBlank(serialName);
1030
+ var tmp0_require = tmp$ret$0;
1031
+ // Inline function 'kotlin.contracts.contract' call
1032
+ if (!tmp0_require) {
1033
+ var tmp$ret$1;
1034
+ // Inline function 'kotlinx.serialization.descriptors.buildSerialDescriptor.<anonymous>' call
1035
+ tmp$ret$1 = 'Blank serial names are prohibited';
1036
+ var message = tmp$ret$1;
1037
+ throw IllegalArgumentException_init_$Create$(toString(message));
1038
+ }
1039
+ // Inline function 'kotlin.require' call
1040
+ var tmp1_require = !equals(kind, CLASS_getInstance());
1041
+ // Inline function 'kotlin.contracts.contract' call
1042
+ if (!tmp1_require) {
1043
+ var tmp$ret$2;
1044
+ // Inline function 'kotlinx.serialization.descriptors.buildSerialDescriptor.<anonymous>' call
1045
+ tmp$ret$2 = "For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead";
1046
+ var message_0 = tmp$ret$2;
1047
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
1048
+ }
1049
+ var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
1050
+ builder(sdBuilder);
1051
+ return new SerialDescriptorImpl(serialName, kind, sdBuilder.b1i_1.i(), toList(typeParameters), sdBuilder);
1052
+ }
1053
+ function buildSerialDescriptor$default(serialName, kind, typeParameters, builder, $mask0, $handler) {
1054
+ if (!(($mask0 & 8) === 0)) {
1055
+ builder = buildSerialDescriptor$lambda;
1056
+ }
1057
+ return buildSerialDescriptor(serialName, kind, typeParameters, builder);
1058
+ }
1059
+ function ClassSerialDescriptorBuilder(serialName) {
1060
+ this.y1h_1 = serialName;
1061
+ this.z1h_1 = false;
1062
+ this.a1i_1 = emptyList();
1063
+ this.b1i_1 = ArrayList_init_$Create$_0();
1064
+ this.c1i_1 = HashSet_init_$Create$();
1065
+ this.d1i_1 = ArrayList_init_$Create$_0();
1066
+ this.e1i_1 = ArrayList_init_$Create$_0();
1067
+ this.f1i_1 = ArrayList_init_$Create$_0();
1068
+ }
1069
+ ClassSerialDescriptorBuilder.prototype.l1j = function (elementName, descriptor, annotations, isOptional) {
1070
+ // Inline function 'kotlin.require' call
1071
+ var tmp0_require = this.c1i_1.a(elementName);
1072
+ // Inline function 'kotlin.contracts.contract' call
1073
+ if (!tmp0_require) {
1074
+ var tmp$ret$0;
1075
+ // Inline function 'kotlinx.serialization.descriptors.ClassSerialDescriptorBuilder.element.<anonymous>' call
1076
+ tmp$ret$0 = "Element with name '" + elementName + "' is already registered";
1077
+ var message = tmp$ret$0;
1078
+ throw IllegalArgumentException_init_$Create$(toString(message));
1079
+ }
1080
+ var tmp0_this = this;
1081
+ // Inline function 'kotlin.collections.plusAssign' call
1082
+ var tmp1_plusAssign = tmp0_this.b1i_1;
1083
+ tmp1_plusAssign.a(elementName);
1084
+ var tmp1_this = this;
1085
+ // Inline function 'kotlin.collections.plusAssign' call
1086
+ var tmp2_plusAssign = tmp1_this.d1i_1;
1087
+ tmp2_plusAssign.a(descriptor);
1088
+ var tmp2_this = this;
1089
+ // Inline function 'kotlin.collections.plusAssign' call
1090
+ var tmp3_plusAssign = tmp2_this.e1i_1;
1091
+ tmp3_plusAssign.a(annotations);
1092
+ var tmp3_this = this;
1093
+ // Inline function 'kotlin.collections.plusAssign' call
1094
+ var tmp4_plusAssign = tmp3_this.f1i_1;
1095
+ tmp4_plusAssign.a(isOptional);
1096
+ };
1097
+ ClassSerialDescriptorBuilder.prototype.g1i = function (elementName, descriptor, annotations, isOptional, $mask0, $handler) {
1098
+ if (!(($mask0 & 4) === 0))
1099
+ annotations = emptyList();
1100
+ if (!(($mask0 & 8) === 0))
1101
+ isOptional = false;
1102
+ return this.l1j(elementName, descriptor, annotations, isOptional);
1103
+ };
1104
+ ClassSerialDescriptorBuilder.$metadata$ = classMeta('ClassSerialDescriptorBuilder');
1105
+ function buildClassSerialDescriptor(serialName, typeParameters, builderAction) {
1106
+ // Inline function 'kotlin.require' call
1107
+ var tmp$ret$0;
1108
+ // Inline function 'kotlin.text.isNotBlank' call
1109
+ tmp$ret$0 = !isBlank(serialName);
1110
+ var tmp0_require = tmp$ret$0;
1111
+ // Inline function 'kotlin.contracts.contract' call
1112
+ if (!tmp0_require) {
1113
+ var tmp$ret$1;
1114
+ // Inline function 'kotlinx.serialization.descriptors.buildClassSerialDescriptor.<anonymous>' call
1115
+ tmp$ret$1 = 'Blank serial names are prohibited';
1116
+ var message = tmp$ret$1;
1117
+ throw IllegalArgumentException_init_$Create$(toString(message));
1118
+ }
1119
+ var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
1120
+ builderAction(sdBuilder);
1121
+ return new SerialDescriptorImpl(serialName, CLASS_getInstance(), sdBuilder.b1i_1.i(), toList(typeParameters), sdBuilder);
1122
+ }
1123
+ function buildClassSerialDescriptor$default(serialName, typeParameters, builderAction, $mask0, $handler) {
1124
+ if (!(($mask0 & 4) === 0)) {
1125
+ builderAction = buildClassSerialDescriptor$lambda;
1126
+ }
1127
+ return buildClassSerialDescriptor(serialName, typeParameters, builderAction);
1128
+ }
1129
+ function _get__hashCode__tgwhef($this) {
1130
+ var tmp$ret$0;
1131
+ // Inline function 'kotlin.getValue' call
1132
+ var tmp0_getValue = _hashCode$factory();
1133
+ tmp$ret$0 = $this.x1j_1.z1();
1134
+ return tmp$ret$0;
1135
+ }
1136
+ function SerialDescriptorImpl$_hashCode$delegate$lambda(this$0) {
1137
+ return function () {
1138
+ return hashCodeImpl(this$0, this$0.w1j_1);
1139
+ };
1140
+ }
1141
+ function SerialDescriptorImpl$toString$lambda(this$0) {
1142
+ return function (it) {
1143
+ return this$0.e1j(it) + ': ' + this$0.d1j(it).p1i();
1144
+ };
1145
+ }
1146
+ function SerialDescriptorImpl(serialName, kind, elementsCount, typeParameters, builder) {
1147
+ this.m1j_1 = serialName;
1148
+ this.n1j_1 = kind;
1149
+ this.o1j_1 = elementsCount;
1150
+ this.p1j_1 = builder.a1i_1;
1151
+ this.q1j_1 = toHashSet(builder.b1i_1);
1152
+ var tmp = this;
1153
+ var tmp$ret$0;
1154
+ // Inline function 'kotlin.collections.toTypedArray' call
1155
+ var tmp0_toTypedArray = builder.b1i_1;
1156
+ tmp$ret$0 = copyToArray(tmp0_toTypedArray);
1157
+ tmp.r1j_1 = tmp$ret$0;
1158
+ this.s1j_1 = compactArray(builder.d1i_1);
1159
+ var tmp_0 = this;
1160
+ var tmp$ret$1;
1161
+ // Inline function 'kotlin.collections.toTypedArray' call
1162
+ var tmp0_toTypedArray_0 = builder.e1i_1;
1163
+ tmp$ret$1 = copyToArray(tmp0_toTypedArray_0);
1164
+ tmp_0.t1j_1 = tmp$ret$1;
1165
+ this.u1j_1 = toBooleanArray(builder.f1i_1);
1166
+ var tmp_1 = this;
1167
+ var tmp$ret$4;
1168
+ // Inline function 'kotlin.collections.map' call
1169
+ var tmp0_map = withIndex(this.r1j_1);
1170
+ var tmp$ret$3;
1171
+ // Inline function 'kotlin.collections.mapTo' call
1172
+ var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
1173
+ var tmp0_iterator = tmp0_map.f();
1174
+ while (tmp0_iterator.g()) {
1175
+ var item = tmp0_iterator.h();
1176
+ var tmp$ret$2;
1177
+ // Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.name2Index.<anonymous>' call
1178
+ tmp$ret$2 = to(item.x2_1, item.w2_1);
1179
+ tmp0_mapTo.a(tmp$ret$2);
1180
+ }
1181
+ tmp$ret$3 = tmp0_mapTo;
1182
+ tmp$ret$4 = tmp$ret$3;
1183
+ tmp_1.v1j_1 = toMap(tmp$ret$4);
1184
+ this.w1j_1 = compactArray(typeParameters);
1185
+ var tmp_2 = this;
1186
+ tmp_2.x1j_1 = lazy_0(SerialDescriptorImpl$_hashCode$delegate$lambda(this));
1187
+ }
1188
+ SerialDescriptorImpl.prototype.p1i = function () {
1189
+ return this.m1j_1;
1190
+ };
1191
+ SerialDescriptorImpl.prototype.c1j = function () {
1192
+ return this.n1j_1;
1193
+ };
1194
+ SerialDescriptorImpl.prototype.b1j = function () {
1195
+ return this.o1j_1;
1196
+ };
1197
+ SerialDescriptorImpl.prototype.y1j = function () {
1198
+ return this.q1j_1;
1199
+ };
1200
+ SerialDescriptorImpl.prototype.e1j = function (index) {
1201
+ return getChecked(this.r1j_1, index);
1202
+ };
1203
+ SerialDescriptorImpl.prototype.d1j = function (index) {
1204
+ return getChecked(this.s1j_1, index);
1205
+ };
1206
+ SerialDescriptorImpl.prototype.equals = function (other) {
1207
+ var tmp$ret$0;
1208
+ $l$block_5: {
1209
+ // Inline function 'kotlinx.serialization.internal.equalsImpl' call
1210
+ if (this === other) {
1211
+ tmp$ret$0 = true;
1212
+ break $l$block_5;
1213
+ }
1214
+ if (!(other instanceof SerialDescriptorImpl)) {
1215
+ tmp$ret$0 = false;
1216
+ break $l$block_5;
1217
+ }
1218
+ if (!(this.p1i() === other.p1i())) {
1219
+ tmp$ret$0 = false;
1220
+ break $l$block_5;
1221
+ }
1222
+ var tmp$ret$1;
1223
+ // Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.equals.<anonymous>' call
1224
+ var tmp0__anonymous__q1qw7t = other;
1225
+ tmp$ret$1 = contentEquals(this.w1j_1, tmp0__anonymous__q1qw7t.w1j_1);
1226
+ if (!tmp$ret$1) {
1227
+ tmp$ret$0 = false;
1228
+ break $l$block_5;
1229
+ }
1230
+ if (!(this.b1j() === other.b1j())) {
1231
+ tmp$ret$0 = false;
1232
+ break $l$block_5;
1233
+ }
1234
+ var inductionVariable = 0;
1235
+ var last = this.b1j();
1236
+ if (inductionVariable < last)
1237
+ do {
1238
+ var index = inductionVariable;
1239
+ inductionVariable = inductionVariable + 1 | 0;
1240
+ if (!(this.d1j(index).p1i() === other.d1j(index).p1i())) {
1241
+ tmp$ret$0 = false;
1242
+ break $l$block_5;
1243
+ }
1244
+ if (!equals(this.d1j(index).c1j(), other.d1j(index).c1j())) {
1245
+ tmp$ret$0 = false;
1246
+ break $l$block_5;
1247
+ }
1248
+ }
1249
+ while (inductionVariable < last);
1250
+ tmp$ret$0 = true;
1251
+ }
1252
+ return tmp$ret$0;
1253
+ };
1254
+ SerialDescriptorImpl.prototype.hashCode = function () {
1255
+ return _get__hashCode__tgwhef(this);
1256
+ };
1257
+ SerialDescriptorImpl.prototype.toString = function () {
1258
+ var tmp = until(0, this.o1j_1);
1259
+ var tmp_0 = this.m1j_1 + '(';
1260
+ return joinToString$default(tmp, ', ', tmp_0, ')', 0, null, SerialDescriptorImpl$toString$lambda(this), 24, null);
1261
+ };
1262
+ SerialDescriptorImpl.$metadata$ = classMeta('SerialDescriptorImpl', [SerialDescriptor, CachedNames]);
1263
+ function PrimitiveSerialDescriptor(serialName, kind) {
1264
+ // Inline function 'kotlin.require' call
1265
+ var tmp$ret$0;
1266
+ // Inline function 'kotlin.text.isNotBlank' call
1267
+ tmp$ret$0 = !isBlank(serialName);
1268
+ var tmp0_require = tmp$ret$0;
1269
+ // Inline function 'kotlin.contracts.contract' call
1270
+ if (!tmp0_require) {
1271
+ var tmp$ret$1;
1272
+ // Inline function 'kotlinx.serialization.descriptors.PrimitiveSerialDescriptor.<anonymous>' call
1273
+ tmp$ret$1 = 'Blank serial names are prohibited';
1274
+ var message = tmp$ret$1;
1275
+ throw IllegalArgumentException_init_$Create$(toString(message));
1276
+ }
1277
+ return PrimitiveDescriptorSafe(serialName, kind);
1278
+ }
1279
+ function buildSerialDescriptor$lambda($this$null) {
1280
+ return Unit_getInstance();
1281
+ }
1282
+ function buildClassSerialDescriptor$lambda($this$null) {
1283
+ return Unit_getInstance();
1284
+ }
1285
+ function _hashCode$factory() {
1286
+ return getPropertyCallableRef('_hashCode', 1, KProperty1, function (receiver) {
1287
+ return _get__hashCode__tgwhef(receiver);
1288
+ }, null);
1289
+ }
1290
+ function ENUM() {
1291
+ ENUM_instance = this;
1292
+ SerialKind.call(this);
1293
+ }
1294
+ ENUM.$metadata$ = objectMeta('ENUM', undefined, undefined, undefined, undefined, SerialKind.prototype);
1295
+ var ENUM_instance;
1296
+ function ENUM_getInstance() {
1297
+ if (ENUM_instance == null)
1298
+ new ENUM();
1299
+ return ENUM_instance;
1300
+ }
1301
+ function CONTEXTUAL() {
1302
+ CONTEXTUAL_instance = this;
1303
+ SerialKind.call(this);
1304
+ }
1305
+ CONTEXTUAL.$metadata$ = objectMeta('CONTEXTUAL', undefined, undefined, undefined, undefined, SerialKind.prototype);
1306
+ var CONTEXTUAL_instance;
1307
+ function CONTEXTUAL_getInstance() {
1308
+ if (CONTEXTUAL_instance == null)
1309
+ new CONTEXTUAL();
1310
+ return CONTEXTUAL_instance;
1311
+ }
1312
+ function SerialKind() {
1313
+ }
1314
+ SerialKind.prototype.toString = function () {
1315
+ return ensureNotNull(getKClassFromExpression(this).ye());
1316
+ };
1317
+ SerialKind.prototype.hashCode = function () {
1318
+ return getStringHashCode(this.toString());
1319
+ };
1320
+ SerialKind.$metadata$ = classMeta('SerialKind');
1321
+ function SEALED() {
1322
+ SEALED_instance = this;
1323
+ PolymorphicKind.call(this);
1324
+ }
1325
+ SEALED.$metadata$ = objectMeta('SEALED', undefined, undefined, undefined, undefined, PolymorphicKind.prototype);
1326
+ var SEALED_instance;
1327
+ function SEALED_getInstance() {
1328
+ if (SEALED_instance == null)
1329
+ new SEALED();
1330
+ return SEALED_instance;
1331
+ }
1332
+ function OPEN() {
1333
+ OPEN_instance = this;
1334
+ PolymorphicKind.call(this);
1335
+ }
1336
+ OPEN.$metadata$ = objectMeta('OPEN', undefined, undefined, undefined, undefined, PolymorphicKind.prototype);
1337
+ var OPEN_instance;
1338
+ function OPEN_getInstance() {
1339
+ if (OPEN_instance == null)
1340
+ new OPEN();
1341
+ return OPEN_instance;
1342
+ }
1343
+ function PolymorphicKind() {
1344
+ SerialKind.call(this);
1345
+ }
1346
+ PolymorphicKind.$metadata$ = classMeta('PolymorphicKind', undefined, undefined, undefined, undefined, SerialKind.prototype);
1347
+ function BOOLEAN() {
1348
+ BOOLEAN_instance = this;
1349
+ PrimitiveKind.call(this);
1350
+ }
1351
+ BOOLEAN.$metadata$ = objectMeta('BOOLEAN', undefined, undefined, undefined, undefined, PrimitiveKind.prototype);
1352
+ var BOOLEAN_instance;
1353
+ function BOOLEAN_getInstance() {
1354
+ if (BOOLEAN_instance == null)
1355
+ new BOOLEAN();
1356
+ return BOOLEAN_instance;
1357
+ }
1358
+ function BYTE() {
1359
+ BYTE_instance = this;
1360
+ PrimitiveKind.call(this);
1361
+ }
1362
+ BYTE.$metadata$ = objectMeta('BYTE', undefined, undefined, undefined, undefined, PrimitiveKind.prototype);
1363
+ var BYTE_instance;
1364
+ function BYTE_getInstance() {
1365
+ if (BYTE_instance == null)
1366
+ new BYTE();
1367
+ return BYTE_instance;
1368
+ }
1369
+ function CHAR() {
1370
+ CHAR_instance = this;
1371
+ PrimitiveKind.call(this);
1372
+ }
1373
+ CHAR.$metadata$ = objectMeta('CHAR', undefined, undefined, undefined, undefined, PrimitiveKind.prototype);
1374
+ var CHAR_instance;
1375
+ function CHAR_getInstance() {
1376
+ if (CHAR_instance == null)
1377
+ new CHAR();
1378
+ return CHAR_instance;
1379
+ }
1380
+ function SHORT() {
1381
+ SHORT_instance = this;
1382
+ PrimitiveKind.call(this);
1383
+ }
1384
+ SHORT.$metadata$ = objectMeta('SHORT', undefined, undefined, undefined, undefined, PrimitiveKind.prototype);
1385
+ var SHORT_instance;
1386
+ function SHORT_getInstance() {
1387
+ if (SHORT_instance == null)
1388
+ new SHORT();
1389
+ return SHORT_instance;
1390
+ }
1391
+ function INT() {
1392
+ INT_instance = this;
1393
+ PrimitiveKind.call(this);
1394
+ }
1395
+ INT.$metadata$ = objectMeta('INT', undefined, undefined, undefined, undefined, PrimitiveKind.prototype);
1396
+ var INT_instance;
1397
+ function INT_getInstance() {
1398
+ if (INT_instance == null)
1399
+ new INT();
1400
+ return INT_instance;
1401
+ }
1402
+ function LONG() {
1403
+ LONG_instance = this;
1404
+ PrimitiveKind.call(this);
1405
+ }
1406
+ LONG.$metadata$ = objectMeta('LONG', undefined, undefined, undefined, undefined, PrimitiveKind.prototype);
1407
+ var LONG_instance;
1408
+ function LONG_getInstance() {
1409
+ if (LONG_instance == null)
1410
+ new LONG();
1411
+ return LONG_instance;
1412
+ }
1413
+ function FLOAT() {
1414
+ FLOAT_instance = this;
1415
+ PrimitiveKind.call(this);
1416
+ }
1417
+ FLOAT.$metadata$ = objectMeta('FLOAT', undefined, undefined, undefined, undefined, PrimitiveKind.prototype);
1418
+ var FLOAT_instance;
1419
+ function FLOAT_getInstance() {
1420
+ if (FLOAT_instance == null)
1421
+ new FLOAT();
1422
+ return FLOAT_instance;
1423
+ }
1424
+ function DOUBLE() {
1425
+ DOUBLE_instance = this;
1426
+ PrimitiveKind.call(this);
1427
+ }
1428
+ DOUBLE.$metadata$ = objectMeta('DOUBLE', undefined, undefined, undefined, undefined, PrimitiveKind.prototype);
1429
+ var DOUBLE_instance;
1430
+ function DOUBLE_getInstance() {
1431
+ if (DOUBLE_instance == null)
1432
+ new DOUBLE();
1433
+ return DOUBLE_instance;
1434
+ }
1435
+ function STRING() {
1436
+ STRING_instance = this;
1437
+ PrimitiveKind.call(this);
1438
+ }
1439
+ STRING.$metadata$ = objectMeta('STRING', undefined, undefined, undefined, undefined, PrimitiveKind.prototype);
1440
+ var STRING_instance;
1441
+ function STRING_getInstance() {
1442
+ if (STRING_instance == null)
1443
+ new STRING();
1444
+ return STRING_instance;
1445
+ }
1446
+ function PrimitiveKind() {
1447
+ SerialKind.call(this);
1448
+ }
1449
+ PrimitiveKind.$metadata$ = classMeta('PrimitiveKind', undefined, undefined, undefined, undefined, SerialKind.prototype);
1450
+ function CLASS() {
1451
+ CLASS_instance = this;
1452
+ StructureKind.call(this);
1453
+ }
1454
+ CLASS.$metadata$ = objectMeta('CLASS', undefined, undefined, undefined, undefined, StructureKind.prototype);
1455
+ var CLASS_instance;
1456
+ function CLASS_getInstance() {
1457
+ if (CLASS_instance == null)
1458
+ new CLASS();
1459
+ return CLASS_instance;
1460
+ }
1461
+ function LIST() {
1462
+ LIST_instance = this;
1463
+ StructureKind.call(this);
1464
+ }
1465
+ LIST.$metadata$ = objectMeta('LIST', undefined, undefined, undefined, undefined, StructureKind.prototype);
1466
+ var LIST_instance;
1467
+ function LIST_getInstance() {
1468
+ if (LIST_instance == null)
1469
+ new LIST();
1470
+ return LIST_instance;
1471
+ }
1472
+ function MAP() {
1473
+ MAP_instance = this;
1474
+ StructureKind.call(this);
1475
+ }
1476
+ MAP.$metadata$ = objectMeta('MAP', undefined, undefined, undefined, undefined, StructureKind.prototype);
1477
+ var MAP_instance;
1478
+ function MAP_getInstance() {
1479
+ if (MAP_instance == null)
1480
+ new MAP();
1481
+ return MAP_instance;
1482
+ }
1483
+ function OBJECT() {
1484
+ OBJECT_instance = this;
1485
+ StructureKind.call(this);
1486
+ }
1487
+ OBJECT.$metadata$ = objectMeta('OBJECT', undefined, undefined, undefined, undefined, StructureKind.prototype);
1488
+ var OBJECT_instance;
1489
+ function OBJECT_getInstance() {
1490
+ if (OBJECT_instance == null)
1491
+ new OBJECT();
1492
+ return OBJECT_instance;
1493
+ }
1494
+ function StructureKind() {
1495
+ SerialKind.call(this);
1496
+ }
1497
+ StructureKind.$metadata$ = classMeta('StructureKind', undefined, undefined, undefined, undefined, SerialKind.prototype);
1498
+ function AbstractPolymorphicSerializer() {
1499
+ }
1500
+ AbstractPolymorphicSerializer.$metadata$ = classMeta('AbstractPolymorphicSerializer', [KSerializer]);
1501
+ function DurationSerializer() {
1502
+ DurationSerializer_instance = this;
1503
+ this.z1j_1 = new PrimitiveSerialDescriptor_0('kotlin.time.Duration', STRING_getInstance());
1504
+ }
1505
+ DurationSerializer.prototype.x1h = function () {
1506
+ return this.z1j_1;
1507
+ };
1508
+ DurationSerializer.$metadata$ = objectMeta('DurationSerializer', [KSerializer]);
1509
+ var DurationSerializer_instance;
1510
+ function DurationSerializer_getInstance() {
1511
+ if (DurationSerializer_instance == null)
1512
+ new DurationSerializer();
1513
+ return DurationSerializer_instance;
1514
+ }
1515
+ function CachedNames() {
1516
+ }
1517
+ CachedNames.$metadata$ = interfaceMeta('CachedNames');
1518
+ function ArrayListClassDesc(elementDesc) {
1519
+ ListLikeDescriptor.call(this, elementDesc);
1520
+ }
1521
+ ArrayListClassDesc.prototype.p1i = function () {
1522
+ return 'kotlin.collections.ArrayList';
1523
+ };
1524
+ ArrayListClassDesc.$metadata$ = classMeta('ArrayListClassDesc', undefined, undefined, undefined, undefined, ListLikeDescriptor.prototype);
1525
+ function HashSetClassDesc(elementDesc) {
1526
+ ListLikeDescriptor.call(this, elementDesc);
1527
+ }
1528
+ HashSetClassDesc.prototype.p1i = function () {
1529
+ return 'kotlin.collections.HashSet';
1530
+ };
1531
+ HashSetClassDesc.$metadata$ = classMeta('HashSetClassDesc', undefined, undefined, undefined, undefined, ListLikeDescriptor.prototype);
1532
+ function LinkedHashSetClassDesc(elementDesc) {
1533
+ ListLikeDescriptor.call(this, elementDesc);
1534
+ }
1535
+ LinkedHashSetClassDesc.prototype.p1i = function () {
1536
+ return 'kotlin.collections.LinkedHashSet';
1537
+ };
1538
+ LinkedHashSetClassDesc.$metadata$ = classMeta('LinkedHashSetClassDesc', undefined, undefined, undefined, undefined, ListLikeDescriptor.prototype);
1539
+ function HashMapClassDesc(keyDesc, valueDesc) {
1540
+ MapLikeDescriptor.call(this, 'kotlin.collections.HashMap', keyDesc, valueDesc);
1541
+ }
1542
+ HashMapClassDesc.$metadata$ = classMeta('HashMapClassDesc', undefined, undefined, undefined, undefined, MapLikeDescriptor.prototype);
1543
+ function LinkedHashMapClassDesc(keyDesc, valueDesc) {
1544
+ MapLikeDescriptor.call(this, 'kotlin.collections.LinkedHashMap', keyDesc, valueDesc);
1545
+ }
1546
+ LinkedHashMapClassDesc.$metadata$ = classMeta('LinkedHashMapClassDesc', undefined, undefined, undefined, undefined, MapLikeDescriptor.prototype);
1547
+ function ArrayClassDesc(elementDesc) {
1548
+ ListLikeDescriptor.call(this, elementDesc);
1549
+ }
1550
+ ArrayClassDesc.prototype.p1i = function () {
1551
+ return 'kotlin.Array';
1552
+ };
1553
+ ArrayClassDesc.$metadata$ = classMeta('ArrayClassDesc', undefined, undefined, undefined, undefined, ListLikeDescriptor.prototype);
1554
+ function PrimitiveArrayDescriptor(primitive) {
1555
+ ListLikeDescriptor.call(this, primitive);
1556
+ this.q1k_1 = primitive.p1i() + 'Array';
1557
+ }
1558
+ PrimitiveArrayDescriptor.prototype.p1i = function () {
1559
+ return this.q1k_1;
1560
+ };
1561
+ PrimitiveArrayDescriptor.$metadata$ = classMeta('PrimitiveArrayDescriptor', undefined, undefined, undefined, undefined, ListLikeDescriptor.prototype);
1562
+ function ListLikeDescriptor(elementDescriptor) {
1563
+ this.c1k_1 = elementDescriptor;
1564
+ this.d1k_1 = 1;
1565
+ }
1566
+ ListLikeDescriptor.prototype.c1j = function () {
1567
+ return LIST_getInstance();
1568
+ };
1569
+ ListLikeDescriptor.prototype.b1j = function () {
1570
+ return this.d1k_1;
1571
+ };
1572
+ ListLikeDescriptor.prototype.e1j = function (index) {
1573
+ return index.toString();
1574
+ };
1575
+ ListLikeDescriptor.prototype.d1j = function (index) {
1576
+ // Inline function 'kotlin.require' call
1577
+ var tmp0_require = index >= 0;
1578
+ // Inline function 'kotlin.contracts.contract' call
1579
+ if (!tmp0_require) {
1580
+ var tmp$ret$0;
1581
+ // Inline function 'kotlinx.serialization.internal.ListLikeDescriptor.getElementDescriptor.<anonymous>' call
1582
+ tmp$ret$0 = 'Illegal index ' + index + ', ' + this.p1i() + ' expects only non-negative indices';
1583
+ var message = tmp$ret$0;
1584
+ throw IllegalArgumentException_init_$Create$(toString(message));
1585
+ }
1586
+ return this.c1k_1;
1587
+ };
1588
+ ListLikeDescriptor.prototype.equals = function (other) {
1589
+ if (this === other)
1590
+ return true;
1591
+ if (!(other instanceof ListLikeDescriptor))
1592
+ return false;
1593
+ if (equals(this.c1k_1, other.c1k_1) ? this.p1i() === other.p1i() : false)
1594
+ return true;
1595
+ return false;
1596
+ };
1597
+ ListLikeDescriptor.prototype.hashCode = function () {
1598
+ return imul(hashCode(this.c1k_1), 31) + getStringHashCode(this.p1i()) | 0;
1599
+ };
1600
+ ListLikeDescriptor.prototype.toString = function () {
1601
+ return this.p1i() + '(' + this.c1k_1 + ')';
1602
+ };
1603
+ ListLikeDescriptor.$metadata$ = classMeta('ListLikeDescriptor', [SerialDescriptor]);
1604
+ function MapLikeDescriptor(serialName, keyDescriptor, valueDescriptor) {
1605
+ this.i1k_1 = serialName;
1606
+ this.j1k_1 = keyDescriptor;
1607
+ this.k1k_1 = valueDescriptor;
1608
+ this.l1k_1 = 2;
1609
+ }
1610
+ MapLikeDescriptor.prototype.p1i = function () {
1611
+ return this.i1k_1;
1612
+ };
1613
+ MapLikeDescriptor.prototype.c1j = function () {
1614
+ return MAP_getInstance();
1615
+ };
1616
+ MapLikeDescriptor.prototype.b1j = function () {
1617
+ return this.l1k_1;
1618
+ };
1619
+ MapLikeDescriptor.prototype.e1j = function (index) {
1620
+ return index.toString();
1621
+ };
1622
+ MapLikeDescriptor.prototype.d1j = function (index) {
1623
+ // Inline function 'kotlin.require' call
1624
+ var tmp0_require = index >= 0;
1625
+ // Inline function 'kotlin.contracts.contract' call
1626
+ if (!tmp0_require) {
1627
+ var tmp$ret$0;
1628
+ // Inline function 'kotlinx.serialization.internal.MapLikeDescriptor.getElementDescriptor.<anonymous>' call
1629
+ tmp$ret$0 = 'Illegal index ' + index + ', ' + this.p1i() + ' expects only non-negative indices';
1630
+ var message = tmp$ret$0;
1631
+ throw IllegalArgumentException_init_$Create$(toString(message));
1632
+ }
1633
+ var tmp0_subject = index % 2 | 0;
1634
+ var tmp;
1635
+ switch (tmp0_subject) {
1636
+ case 0:
1637
+ tmp = this.j1k_1;
1638
+ break;
1639
+ case 1:
1640
+ tmp = this.k1k_1;
1641
+ break;
1642
+ default:
1643
+ throw IllegalStateException_init_$Create$('Unreached');
1644
+ }
1645
+ return tmp;
1646
+ };
1647
+ MapLikeDescriptor.prototype.equals = function (other) {
1648
+ if (this === other)
1649
+ return true;
1650
+ if (!(other instanceof MapLikeDescriptor))
1651
+ return false;
1652
+ if (!(this.p1i() === other.p1i()))
1653
+ return false;
1654
+ if (!equals(this.j1k_1, other.j1k_1))
1655
+ return false;
1656
+ if (!equals(this.k1k_1, other.k1k_1))
1657
+ return false;
1658
+ return true;
1659
+ };
1660
+ MapLikeDescriptor.prototype.hashCode = function () {
1661
+ var result = getStringHashCode(this.p1i());
1662
+ result = imul(31, result) + hashCode(this.j1k_1) | 0;
1663
+ result = imul(31, result) + hashCode(this.k1k_1) | 0;
1664
+ return result;
1665
+ };
1666
+ MapLikeDescriptor.prototype.toString = function () {
1667
+ return this.p1i() + '(' + this.j1k_1 + ', ' + this.k1k_1 + ')';
1668
+ };
1669
+ MapLikeDescriptor.$metadata$ = classMeta('MapLikeDescriptor', [SerialDescriptor]);
1670
+ function ArrayListSerializer(element) {
1671
+ CollectionSerializer.call(this, element);
1672
+ this.s1k_1 = new ArrayListClassDesc(element.x1h());
1673
+ }
1674
+ ArrayListSerializer.prototype.x1h = function () {
1675
+ return this.s1k_1;
1676
+ };
1677
+ ArrayListSerializer.$metadata$ = classMeta('ArrayListSerializer', undefined, undefined, undefined, undefined, CollectionSerializer.prototype);
1678
+ function HashSetSerializer(eSerializer) {
1679
+ CollectionSerializer.call(this, eSerializer);
1680
+ this.u1k_1 = new HashSetClassDesc(eSerializer.x1h());
1681
+ }
1682
+ HashSetSerializer.prototype.x1h = function () {
1683
+ return this.u1k_1;
1684
+ };
1685
+ HashSetSerializer.$metadata$ = classMeta('HashSetSerializer', undefined, undefined, undefined, undefined, CollectionSerializer.prototype);
1686
+ function LinkedHashSetSerializer(eSerializer) {
1687
+ CollectionSerializer.call(this, eSerializer);
1688
+ this.w1k_1 = new LinkedHashSetClassDesc(eSerializer.x1h());
1689
+ }
1690
+ LinkedHashSetSerializer.prototype.x1h = function () {
1691
+ return this.w1k_1;
1692
+ };
1693
+ LinkedHashSetSerializer.$metadata$ = classMeta('LinkedHashSetSerializer', undefined, undefined, undefined, undefined, CollectionSerializer.prototype);
1694
+ function HashMapSerializer(kSerializer, vSerializer) {
1695
+ MapLikeSerializer.call(this, kSerializer, vSerializer);
1696
+ this.z1k_1 = new HashMapClassDesc(kSerializer.x1h(), vSerializer.x1h());
1697
+ }
1698
+ HashMapSerializer.prototype.x1h = function () {
1699
+ return this.z1k_1;
1700
+ };
1701
+ HashMapSerializer.$metadata$ = classMeta('HashMapSerializer', undefined, undefined, undefined, undefined, MapLikeSerializer.prototype);
1702
+ function LinkedHashMapSerializer(kSerializer, vSerializer) {
1703
+ MapLikeSerializer.call(this, kSerializer, vSerializer);
1704
+ this.c1l_1 = new LinkedHashMapClassDesc(kSerializer.x1h(), vSerializer.x1h());
1705
+ }
1706
+ LinkedHashMapSerializer.prototype.x1h = function () {
1707
+ return this.c1l_1;
1708
+ };
1709
+ LinkedHashMapSerializer.$metadata$ = classMeta('LinkedHashMapSerializer', undefined, undefined, undefined, undefined, MapLikeSerializer.prototype);
1710
+ function ReferenceArraySerializer(kClass, eSerializer) {
1711
+ CollectionLikeSerializer.call(this, eSerializer);
1712
+ this.e1l_1 = kClass;
1713
+ this.f1l_1 = new ArrayClassDesc(eSerializer.x1h());
1714
+ }
1715
+ ReferenceArraySerializer.prototype.x1h = function () {
1716
+ return this.f1l_1;
1717
+ };
1718
+ ReferenceArraySerializer.$metadata$ = classMeta('ReferenceArraySerializer', undefined, undefined, undefined, undefined, CollectionLikeSerializer.prototype);
1719
+ function CollectionSerializer(element) {
1720
+ CollectionLikeSerializer.call(this, element);
1721
+ }
1722
+ CollectionSerializer.$metadata$ = classMeta('CollectionSerializer', undefined, undefined, undefined, undefined, CollectionLikeSerializer.prototype);
1723
+ function MapLikeSerializer(keySerializer, valueSerializer) {
1724
+ AbstractCollectionSerializer.call(this);
1725
+ this.h1l_1 = keySerializer;
1726
+ this.i1l_1 = valueSerializer;
1727
+ }
1728
+ MapLikeSerializer.$metadata$ = classMeta('MapLikeSerializer', undefined, undefined, undefined, undefined, AbstractCollectionSerializer.prototype);
1729
+ function CollectionLikeSerializer(elementSerializer) {
1730
+ AbstractCollectionSerializer.call(this);
1731
+ this.g1l_1 = elementSerializer;
1732
+ }
1733
+ CollectionLikeSerializer.$metadata$ = classMeta('CollectionLikeSerializer', undefined, undefined, undefined, undefined, AbstractCollectionSerializer.prototype);
1734
+ function AbstractCollectionSerializer() {
1735
+ }
1736
+ AbstractCollectionSerializer.$metadata$ = classMeta('AbstractCollectionSerializer', [KSerializer]);
1737
+ function PrimitiveArraySerializer(primitiveSerializer) {
1738
+ CollectionLikeSerializer.call(this, primitiveSerializer);
1739
+ this.k1l_1 = new PrimitiveArrayDescriptor(primitiveSerializer.x1h());
1740
+ }
1741
+ PrimitiveArraySerializer.prototype.x1h = function () {
1742
+ return this.k1l_1;
1743
+ };
1744
+ PrimitiveArraySerializer.$metadata$ = classMeta('PrimitiveArraySerializer', undefined, undefined, undefined, undefined, CollectionLikeSerializer.prototype);
1745
+ function createSimpleEnumSerializer(serialName, values) {
1746
+ return new EnumSerializer(serialName, values);
1747
+ }
1748
+ function createUnmarkedDescriptor($this, serialName) {
1749
+ var d = new EnumDescriptor(serialName, $this.l1l_1.length);
1750
+ // Inline function 'kotlin.collections.forEach' call
1751
+ var tmp0_forEach = $this.l1l_1;
1752
+ var indexedObject = tmp0_forEach;
1753
+ var inductionVariable = 0;
1754
+ var last = indexedObject.length;
1755
+ while (inductionVariable < last) {
1756
+ var element = indexedObject[inductionVariable];
1757
+ inductionVariable = inductionVariable + 1 | 0;
1758
+ // Inline function 'kotlinx.serialization.internal.EnumSerializer.createUnmarkedDescriptor.<anonymous>' call
1759
+ d.a1m(element.a5_1, false, 2, null);
1760
+ }
1761
+ return d;
1762
+ }
1763
+ function EnumSerializer$descriptor$delegate$lambda(this$0, $serialName) {
1764
+ return function () {
1765
+ var tmp0_elvis_lhs = this$0.m1l_1;
1766
+ return tmp0_elvis_lhs == null ? createUnmarkedDescriptor(this$0, $serialName) : tmp0_elvis_lhs;
1767
+ };
1768
+ }
1769
+ function EnumSerializer(serialName, values) {
1770
+ this.l1l_1 = values;
1771
+ this.m1l_1 = null;
1772
+ var tmp = this;
1773
+ tmp.n1l_1 = lazy_0(EnumSerializer$descriptor$delegate$lambda(this, serialName));
1774
+ }
1775
+ EnumSerializer.prototype.x1h = function () {
1776
+ var tmp$ret$0;
1777
+ // Inline function 'kotlin.getValue' call
1778
+ var tmp0_getValue = descriptor$factory_1();
1779
+ tmp$ret$0 = this.n1l_1.z1();
1780
+ return tmp$ret$0;
1781
+ };
1782
+ EnumSerializer.prototype.toString = function () {
1783
+ return 'kotlinx.serialization.internal.EnumSerializer<' + this.x1h().p1i() + '>';
1784
+ };
1785
+ EnumSerializer.$metadata$ = classMeta('EnumSerializer', [KSerializer]);
1786
+ function _get_elementDescriptors__y23q9p($this) {
1787
+ var tmp$ret$0;
1788
+ // Inline function 'kotlin.getValue' call
1789
+ var tmp0_getValue = elementDescriptors$factory();
1790
+ tmp$ret$0 = $this.o1m_1.z1();
1791
+ return tmp$ret$0;
1792
+ }
1793
+ function EnumDescriptor$elementDescriptors$delegate$lambda($elementsCount, $name, this$0) {
1794
+ return function () {
1795
+ var tmp = 0;
1796
+ var tmp_0 = $elementsCount;
1797
+ var tmp$ret$0;
1798
+ // Inline function 'kotlin.arrayOfNulls' call
1799
+ tmp$ret$0 = fillArrayVal(Array(tmp_0), null);
1800
+ var tmp_1 = tmp$ret$0;
1801
+ while (tmp < tmp_0) {
1802
+ var tmp_2 = tmp;
1803
+ var tmp$ret$1;
1804
+ // Inline function 'kotlinx.serialization.internal.EnumDescriptor.elementDescriptors$delegate.<anonymous>.<anonymous>' call
1805
+ var tmp_3 = $name + '.' + this$0.e1j(tmp_2);
1806
+ var tmp_4 = OBJECT_getInstance();
1807
+ tmp$ret$1 = buildSerialDescriptor$default(tmp_3, tmp_4, [], null, 12, null);
1808
+ tmp_1[tmp_2] = tmp$ret$1;
1809
+ tmp = tmp + 1 | 0;
1810
+ }
1811
+ return tmp_1;
1812
+ };
1813
+ }
1814
+ function EnumDescriptor(name, elementsCount) {
1815
+ PluginGeneratedSerialDescriptor_init_$Init$(name, null, elementsCount, 2, null, this);
1816
+ this.n1m_1 = ENUM_getInstance();
1817
+ var tmp = this;
1818
+ tmp.o1m_1 = lazy_0(EnumDescriptor$elementDescriptors$delegate$lambda(elementsCount, name, this));
1819
+ }
1820
+ EnumDescriptor.prototype.c1j = function () {
1821
+ return this.n1m_1;
1822
+ };
1823
+ EnumDescriptor.prototype.d1j = function (index) {
1824
+ return getChecked(_get_elementDescriptors__y23q9p(this), index);
1825
+ };
1826
+ EnumDescriptor.prototype.equals = function (other) {
1827
+ if (this === other)
1828
+ return true;
1829
+ if (other == null)
1830
+ return false;
1831
+ if (!(!(other == null) ? isInterface(other, SerialDescriptor) : false))
1832
+ return false;
1833
+ if (!(other.c1j() === ENUM_getInstance()))
1834
+ return false;
1835
+ if (!(this.p1i() === other.p1i()))
1836
+ return false;
1837
+ if (!equals(cachedSerialNames(this), cachedSerialNames(other)))
1838
+ return false;
1839
+ return true;
1840
+ };
1841
+ EnumDescriptor.prototype.toString = function () {
1842
+ var tmp = get_elementNames(this);
1843
+ var tmp_0 = this.p1i() + '(';
1844
+ return joinToString$default(tmp, ', ', tmp_0, ')', 0, null, null, 56, null);
1845
+ };
1846
+ EnumDescriptor.prototype.hashCode = function () {
1847
+ var result = getStringHashCode(this.p1i());
1848
+ var tmp$ret$4;
1849
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
1850
+ var tmp1_elementsHashCodeBy = get_elementNames(this);
1851
+ var tmp$ret$3;
1852
+ // Inline function 'kotlin.collections.fold' call
1853
+ var accumulator = 1;
1854
+ var tmp0_iterator = tmp1_elementsHashCodeBy.f();
1855
+ while (tmp0_iterator.g()) {
1856
+ var element = tmp0_iterator.h();
1857
+ var tmp$ret$2;
1858
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
1859
+ var tmp0__anonymous__q1qw7t = accumulator;
1860
+ var tmp = imul(31, tmp0__anonymous__q1qw7t);
1861
+ var tmp$ret$1;
1862
+ // Inline function 'kotlin.hashCode' call
1863
+ var tmp$ret$0;
1864
+ // Inline function 'kotlinx.serialization.internal.EnumDescriptor.hashCode.<anonymous>' call
1865
+ tmp$ret$0 = element;
1866
+ var tmp0_hashCode = tmp$ret$0;
1867
+ var tmp0_safe_receiver = tmp0_hashCode;
1868
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
1869
+ tmp$ret$1 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
1870
+ tmp$ret$2 = tmp + tmp$ret$1 | 0;
1871
+ accumulator = tmp$ret$2;
1872
+ }
1873
+ tmp$ret$3 = accumulator;
1874
+ tmp$ret$4 = tmp$ret$3;
1875
+ var elementsHashCode = tmp$ret$4;
1876
+ result = imul(31, result) + elementsHashCode | 0;
1877
+ return result;
1878
+ };
1879
+ EnumDescriptor.$metadata$ = classMeta('EnumDescriptor', undefined, undefined, undefined, undefined, PluginGeneratedSerialDescriptor.prototype);
1880
+ function descriptor$factory_1() {
1881
+ return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) {
1882
+ return receiver.x1h();
1883
+ }, null);
1884
+ }
1885
+ function elementDescriptors$factory() {
1886
+ return getPropertyCallableRef('elementDescriptors', 1, KProperty1, function (receiver) {
1887
+ return _get_elementDescriptors__y23q9p(receiver);
1888
+ }, null);
1889
+ }
1890
+ function InlinePrimitiveDescriptor(name, primitiveSerializer) {
1891
+ return new InlineClassDescriptor(name, new InlinePrimitiveDescriptor$1(primitiveSerializer));
1892
+ }
1893
+ function InlineClassDescriptor(name, generatedSerializer) {
1894
+ PluginGeneratedSerialDescriptor.call(this, name, generatedSerializer, 1);
1895
+ this.d1n_1 = true;
1896
+ }
1897
+ InlineClassDescriptor.prototype.e1n = function () {
1898
+ return this.d1n_1;
1899
+ };
1900
+ InlineClassDescriptor.prototype.hashCode = function () {
1901
+ return imul(PluginGeneratedSerialDescriptor.prototype.hashCode.call(this), 31);
1902
+ };
1903
+ InlineClassDescriptor.prototype.equals = function (other) {
1904
+ var tmp$ret$0;
1905
+ $l$block_5: {
1906
+ // Inline function 'kotlinx.serialization.internal.equalsImpl' call
1907
+ if (this === other) {
1908
+ tmp$ret$0 = true;
1909
+ break $l$block_5;
1910
+ }
1911
+ if (!(other instanceof InlineClassDescriptor)) {
1912
+ tmp$ret$0 = false;
1913
+ break $l$block_5;
1914
+ }
1915
+ if (!(this.p1i() === other.p1i())) {
1916
+ tmp$ret$0 = false;
1917
+ break $l$block_5;
1918
+ }
1919
+ var tmp$ret$1;
1920
+ // Inline function 'kotlinx.serialization.internal.InlineClassDescriptor.equals.<anonymous>' call
1921
+ var tmp0__anonymous__q1qw7t = other;
1922
+ tmp$ret$1 = tmp0__anonymous__q1qw7t.d1n_1 ? contentEquals(this.p1m(), tmp0__anonymous__q1qw7t.p1m()) : false;
1923
+ if (!tmp$ret$1) {
1924
+ tmp$ret$0 = false;
1925
+ break $l$block_5;
1926
+ }
1927
+ if (!(this.b1j() === other.b1j())) {
1928
+ tmp$ret$0 = false;
1929
+ break $l$block_5;
1930
+ }
1931
+ var inductionVariable = 0;
1932
+ var last = this.b1j();
1933
+ if (inductionVariable < last)
1934
+ do {
1935
+ var index = inductionVariable;
1936
+ inductionVariable = inductionVariable + 1 | 0;
1937
+ if (!(this.d1j(index).p1i() === other.d1j(index).p1i())) {
1938
+ tmp$ret$0 = false;
1939
+ break $l$block_5;
1940
+ }
1941
+ if (!equals(this.d1j(index).c1j(), other.d1j(index).c1j())) {
1942
+ tmp$ret$0 = false;
1943
+ break $l$block_5;
1944
+ }
1945
+ }
1946
+ while (inductionVariable < last);
1947
+ tmp$ret$0 = true;
1948
+ }
1949
+ return tmp$ret$0;
1950
+ };
1951
+ InlineClassDescriptor.$metadata$ = classMeta('InlineClassDescriptor', undefined, undefined, undefined, undefined, PluginGeneratedSerialDescriptor.prototype);
1952
+ function InlinePrimitiveDescriptor$1($primitiveSerializer) {
1953
+ this.f1n_1 = $primitiveSerializer;
1954
+ }
1955
+ InlinePrimitiveDescriptor$1.prototype.g1n = function () {
1956
+ var tmp$ret$2;
1957
+ // Inline function 'kotlin.arrayOf' call
1958
+ var tmp$ret$1;
1959
+ // Inline function 'kotlin.js.unsafeCast' call
1960
+ var tmp$ret$0;
1961
+ // Inline function 'kotlin.js.asDynamic' call
1962
+ tmp$ret$0 = [this.f1n_1];
1963
+ tmp$ret$1 = tmp$ret$0;
1964
+ tmp$ret$2 = tmp$ret$1;
1965
+ return tmp$ret$2;
1966
+ };
1967
+ InlinePrimitiveDescriptor$1.prototype.x1h = function () {
1968
+ throw IllegalStateException_init_$Create$('unsupported');
1969
+ };
1970
+ InlinePrimitiveDescriptor$1.$metadata$ = classMeta(undefined, [GeneratedSerializer]);
1971
+ function NullableSerializer(serializer) {
1972
+ this.i1n_1 = serializer;
1973
+ this.j1n_1 = new SerialDescriptorForNullable(this.i1n_1.x1h());
1974
+ }
1975
+ NullableSerializer.prototype.x1h = function () {
1976
+ return this.j1n_1;
1977
+ };
1978
+ NullableSerializer.prototype.equals = function (other) {
1979
+ if (this === other)
1980
+ return true;
1981
+ if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
1982
+ return false;
1983
+ if (other instanceof NullableSerializer)
1984
+ other;
1985
+ else
1986
+ THROW_CCE();
1987
+ if (!equals(this.i1n_1, other.i1n_1))
1988
+ return false;
1989
+ return true;
1990
+ };
1991
+ NullableSerializer.prototype.hashCode = function () {
1992
+ return hashCode(this.i1n_1);
1993
+ };
1994
+ NullableSerializer.$metadata$ = classMeta('NullableSerializer', [KSerializer]);
1995
+ function SerialDescriptorForNullable(original) {
1996
+ this.k1n_1 = original;
1997
+ this.l1n_1 = this.k1n_1.p1i() + '?';
1998
+ this.m1n_1 = cachedSerialNames(this.k1n_1);
1999
+ }
2000
+ SerialDescriptorForNullable.prototype.b1j = function () {
2001
+ return this.k1n_1.b1j();
2002
+ };
2003
+ SerialDescriptorForNullable.prototype.c1j = function () {
2004
+ return this.k1n_1.c1j();
2005
+ };
2006
+ SerialDescriptorForNullable.prototype.d1j = function (index) {
2007
+ return this.k1n_1.d1j(index);
2008
+ };
2009
+ SerialDescriptorForNullable.prototype.e1j = function (index) {
2010
+ return this.k1n_1.e1j(index);
2011
+ };
2012
+ SerialDescriptorForNullable.prototype.p1i = function () {
2013
+ return this.l1n_1;
2014
+ };
2015
+ SerialDescriptorForNullable.prototype.y1j = function () {
2016
+ return this.m1n_1;
2017
+ };
2018
+ SerialDescriptorForNullable.prototype.x1i = function () {
2019
+ return true;
2020
+ };
2021
+ SerialDescriptorForNullable.prototype.equals = function (other) {
2022
+ if (this === other)
2023
+ return true;
2024
+ if (!(other instanceof SerialDescriptorForNullable))
2025
+ return false;
2026
+ if (!equals(this.k1n_1, other.k1n_1))
2027
+ return false;
2028
+ return true;
2029
+ };
2030
+ SerialDescriptorForNullable.prototype.toString = function () {
2031
+ return '' + this.k1n_1 + '?';
2032
+ };
2033
+ SerialDescriptorForNullable.prototype.hashCode = function () {
2034
+ return imul(hashCode(this.k1n_1), 31);
2035
+ };
2036
+ SerialDescriptorForNullable.$metadata$ = classMeta('SerialDescriptorForNullable', [SerialDescriptor, CachedNames]);
2037
+ function ObjectSerializer_init_$Init$(serialName, objectInstance, classAnnotations, $this) {
2038
+ ObjectSerializer.call($this, serialName, objectInstance);
2039
+ $this.o1n_1 = asList(classAnnotations);
2040
+ return $this;
2041
+ }
2042
+ function ObjectSerializer_init_$Create$(serialName, objectInstance, classAnnotations) {
2043
+ return ObjectSerializer_init_$Init$(serialName, objectInstance, classAnnotations, Object.create(ObjectSerializer.prototype));
2044
+ }
2045
+ function ObjectSerializer$descriptor$delegate$lambda$lambda(this$0) {
2046
+ return function ($this$buildSerialDescriptor) {
2047
+ $this$buildSerialDescriptor.a1i_1 = this$0.o1n_1;
2048
+ return Unit_getInstance();
2049
+ };
2050
+ }
2051
+ function ObjectSerializer$descriptor$delegate$lambda($serialName, this$0) {
2052
+ return function () {
2053
+ var tmp = OBJECT_getInstance();
2054
+ return buildSerialDescriptor$default($serialName, tmp, [], ObjectSerializer$descriptor$delegate$lambda$lambda(this$0), 4, null);
2055
+ };
2056
+ }
2057
+ function ObjectSerializer(serialName, objectInstance) {
2058
+ this.n1n_1 = objectInstance;
2059
+ this.o1n_1 = emptyList();
2060
+ var tmp = this;
2061
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2062
+ tmp.p1n_1 = lazy(tmp_0, ObjectSerializer$descriptor$delegate$lambda(serialName, this));
2063
+ }
2064
+ ObjectSerializer.prototype.x1h = function () {
2065
+ var tmp$ret$0;
2066
+ // Inline function 'kotlin.getValue' call
2067
+ var tmp0_getValue = descriptor$factory_2();
2068
+ tmp$ret$0 = this.p1n_1.z1();
2069
+ return tmp$ret$0;
2070
+ };
2071
+ ObjectSerializer.$metadata$ = classMeta('ObjectSerializer', [KSerializer]);
2072
+ function descriptor$factory_2() {
2073
+ return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) {
2074
+ return receiver.x1h();
2075
+ }, null);
2076
+ }
2077
+ function get_EMPTY_DESCRIPTOR_ARRAY() {
2078
+ init_properties_Platform_common_kt_9ujmfm();
2079
+ return EMPTY_DESCRIPTOR_ARRAY;
2080
+ }
2081
+ var EMPTY_DESCRIPTOR_ARRAY;
2082
+ function SerializerCache() {
2083
+ }
2084
+ SerializerCache.$metadata$ = interfaceMeta('SerializerCache');
2085
+ function cast(_this__u8e3s4) {
2086
+ init_properties_Platform_common_kt_9ujmfm();
2087
+ return isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
2088
+ }
2089
+ function ParametrizedSerializerCache() {
2090
+ }
2091
+ ParametrizedSerializerCache.$metadata$ = interfaceMeta('ParametrizedSerializerCache');
2092
+ function cachedSerialNames(_this__u8e3s4) {
2093
+ init_properties_Platform_common_kt_9ujmfm();
2094
+ if (isInterface(_this__u8e3s4, CachedNames))
2095
+ return _this__u8e3s4.y1j();
2096
+ var result = HashSet_init_$Create$_0(_this__u8e3s4.b1j());
2097
+ var inductionVariable = 0;
2098
+ var last = _this__u8e3s4.b1j();
2099
+ if (inductionVariable < last)
2100
+ do {
2101
+ var i = inductionVariable;
2102
+ inductionVariable = inductionVariable + 1 | 0;
2103
+ // Inline function 'kotlin.collections.plusAssign' call
2104
+ var tmp0_plusAssign = _this__u8e3s4.e1j(i);
2105
+ result.a(tmp0_plusAssign);
2106
+ }
2107
+ while (inductionVariable < last);
2108
+ return result;
2109
+ }
2110
+ function kclass(_this__u8e3s4) {
2111
+ init_properties_Platform_common_kt_9ujmfm();
2112
+ var t = _this__u8e3s4.if();
2113
+ var tmp;
2114
+ if (!(t == null) ? isInterface(t, KClass) : false) {
2115
+ tmp = t;
2116
+ } else {
2117
+ if (!(t == null) ? isInterface(t, KTypeParameter) : false) {
2118
+ var tmp0_error = 'Captured type paramerer ' + t + ' from generic non-reified function. ' + ('Such functionality cannot be supported as ' + t + ' is erased, either specify serializer explicitly or make ') + ('calling function inline with reified ' + t);
2119
+ throw IllegalStateException_init_$Create$(toString(tmp0_error));
2120
+ } else {
2121
+ var tmp1_error = 'Only KClass supported as classifier, got ' + t;
2122
+ throw IllegalStateException_init_$Create$(toString(tmp1_error));
2123
+ }
2124
+ }
2125
+ var tmp_0 = tmp;
2126
+ return isInterface(tmp_0, KClass) ? tmp_0 : THROW_CCE();
2127
+ }
2128
+ function compactArray(_this__u8e3s4) {
2129
+ init_properties_Platform_common_kt_9ujmfm();
2130
+ var tmp$ret$2;
2131
+ // Inline function 'kotlin.takeUnless' call
2132
+ // Inline function 'kotlin.contracts.contract' call
2133
+ var tmp;
2134
+ var tmp$ret$1;
2135
+ // Inline function 'kotlinx.serialization.internal.compactArray.<anonymous>' call
2136
+ var tmp$ret$0;
2137
+ // Inline function 'kotlin.collections.isNullOrEmpty' call
2138
+ // Inline function 'kotlin.contracts.contract' call
2139
+ tmp$ret$0 = _this__u8e3s4 == null ? true : _this__u8e3s4.k();
2140
+ tmp$ret$1 = tmp$ret$0;
2141
+ if (!tmp$ret$1) {
2142
+ tmp = _this__u8e3s4;
2143
+ } else {
2144
+ tmp = null;
2145
+ }
2146
+ tmp$ret$2 = tmp;
2147
+ var tmp0_safe_receiver = tmp$ret$2;
2148
+ var tmp_0;
2149
+ if (tmp0_safe_receiver == null) {
2150
+ tmp_0 = null;
2151
+ } else {
2152
+ var tmp$ret$3;
2153
+ // Inline function 'kotlin.collections.toTypedArray' call
2154
+ tmp$ret$3 = copyToArray(tmp0_safe_receiver);
2155
+ tmp_0 = tmp$ret$3;
2156
+ }
2157
+ var tmp1_elvis_lhs = tmp_0;
2158
+ return tmp1_elvis_lhs == null ? get_EMPTY_DESCRIPTOR_ARRAY() : tmp1_elvis_lhs;
2159
+ }
2160
+ function elementsHashCodeBy(_this__u8e3s4, selector) {
2161
+ init_properties_Platform_common_kt_9ujmfm();
2162
+ var tmp$ret$2;
2163
+ // Inline function 'kotlin.collections.fold' call
2164
+ var accumulator = 1;
2165
+ var tmp0_iterator = _this__u8e3s4.f();
2166
+ while (tmp0_iterator.g()) {
2167
+ var element = tmp0_iterator.h();
2168
+ var tmp$ret$1;
2169
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
2170
+ var tmp0__anonymous__q1qw7t = accumulator;
2171
+ var tmp = imul(31, tmp0__anonymous__q1qw7t);
2172
+ var tmp$ret$0;
2173
+ // Inline function 'kotlin.hashCode' call
2174
+ var tmp0_hashCode = selector(element);
2175
+ var tmp0_safe_receiver = tmp0_hashCode;
2176
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
2177
+ tmp$ret$0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
2178
+ tmp$ret$1 = tmp + tmp$ret$0 | 0;
2179
+ accumulator = tmp$ret$1;
2180
+ }
2181
+ tmp$ret$2 = accumulator;
2182
+ return tmp$ret$2;
2183
+ }
2184
+ var properties_initialized_Platform_common_kt_i7q4ty;
2185
+ function init_properties_Platform_common_kt_9ujmfm() {
2186
+ if (properties_initialized_Platform_common_kt_i7q4ty) {
2187
+ } else {
2188
+ properties_initialized_Platform_common_kt_i7q4ty = true;
2189
+ var tmp$ret$2;
2190
+ // Inline function 'kotlin.arrayOf' call
2191
+ var tmp$ret$1;
2192
+ // Inline function 'kotlin.js.unsafeCast' call
2193
+ var tmp$ret$0;
2194
+ // Inline function 'kotlin.js.asDynamic' call
2195
+ tmp$ret$0 = [];
2196
+ tmp$ret$1 = tmp$ret$0;
2197
+ tmp$ret$2 = tmp$ret$1;
2198
+ EMPTY_DESCRIPTOR_ARRAY = tmp$ret$2;
2199
+ }
2200
+ }
2201
+ function PluginGeneratedSerialDescriptor_init_$Init$(serialName, generatedSerializer, elementsCount, $mask0, $marker, $this) {
2202
+ if (!(($mask0 & 2) === 0))
2203
+ generatedSerializer = null;
2204
+ PluginGeneratedSerialDescriptor.call($this, serialName, generatedSerializer, elementsCount);
2205
+ return $this;
2206
+ }
2207
+ function _get_childSerializers__7vnyfa($this) {
2208
+ var tmp$ret$0;
2209
+ // Inline function 'kotlin.getValue' call
2210
+ var tmp0_getValue = childSerializers$factory();
2211
+ tmp$ret$0 = $this.x1l_1.z1();
2212
+ return tmp$ret$0;
2213
+ }
2214
+ function _get__hashCode__tgwhef_0($this) {
2215
+ var tmp$ret$0;
2216
+ // Inline function 'kotlin.getValue' call
2217
+ var tmp0_getValue = _hashCode$factory_0();
2218
+ tmp$ret$0 = $this.z1l_1.z1();
2219
+ return tmp$ret$0;
2220
+ }
2221
+ function buildIndices($this) {
2222
+ var indices = HashMap_init_$Create$();
2223
+ var inductionVariable = 0;
2224
+ var last = $this.s1l_1.length - 1 | 0;
2225
+ if (inductionVariable <= last)
2226
+ do {
2227
+ var i = inductionVariable;
2228
+ inductionVariable = inductionVariable + 1 | 0;
2229
+ // Inline function 'kotlin.collections.set' call
2230
+ var tmp0_set = $this.s1l_1[i];
2231
+ indices.o(tmp0_set, i);
2232
+ }
2233
+ while (inductionVariable <= last);
2234
+ return indices;
2235
+ }
2236
+ function PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this$0) {
2237
+ return function () {
2238
+ var tmp0_safe_receiver = this$0.p1l_1;
2239
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g1n();
2240
+ return tmp1_elvis_lhs == null ? get_EMPTY_SERIALIZER_ARRAY() : tmp1_elvis_lhs;
2241
+ };
2242
+ }
2243
+ function PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this$0) {
2244
+ return function () {
2245
+ var tmp0_safe_receiver = this$0.p1l_1;
2246
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h1n();
2247
+ var tmp;
2248
+ if (tmp1_safe_receiver == null) {
2249
+ tmp = null;
2250
+ } else {
2251
+ var tmp$ret$2;
2252
+ // Inline function 'kotlin.collections.map' call
2253
+ var tmp$ret$1;
2254
+ // Inline function 'kotlin.collections.mapTo' call
2255
+ var tmp0_mapTo = ArrayList_init_$Create$(tmp1_safe_receiver.length);
2256
+ var tmp0_iterator = arrayIterator(tmp1_safe_receiver);
2257
+ while (tmp0_iterator.g()) {
2258
+ var item = tmp0_iterator.h();
2259
+ var tmp$ret$0;
2260
+ // Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.typeParameterDescriptors$delegate.<anonymous>.<anonymous>' call
2261
+ tmp$ret$0 = item.x1h();
2262
+ tmp0_mapTo.a(tmp$ret$0);
2263
+ }
2264
+ tmp$ret$1 = tmp0_mapTo;
2265
+ tmp$ret$2 = tmp$ret$1;
2266
+ tmp = tmp$ret$2;
2267
+ }
2268
+ return compactArray(tmp);
2269
+ };
2270
+ }
2271
+ function PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this$0) {
2272
+ return function () {
2273
+ return hashCodeImpl(this$0, this$0.p1m());
2274
+ };
2275
+ }
2276
+ function PluginGeneratedSerialDescriptor$toString$lambda(this$0) {
2277
+ return function (i) {
2278
+ return this$0.e1j(i) + ': ' + this$0.d1j(i).p1i();
2279
+ };
2280
+ }
2281
+ function PluginGeneratedSerialDescriptor(serialName, generatedSerializer, elementsCount) {
2282
+ this.o1l_1 = serialName;
2283
+ this.p1l_1 = generatedSerializer;
2284
+ this.q1l_1 = elementsCount;
2285
+ this.r1l_1 = -1;
2286
+ var tmp = this;
2287
+ var tmp_0 = 0;
2288
+ var tmp_1 = this.q1l_1;
2289
+ var tmp$ret$0;
2290
+ // Inline function 'kotlin.arrayOfNulls' call
2291
+ tmp$ret$0 = fillArrayVal(Array(tmp_1), null);
2292
+ var tmp_2 = tmp$ret$0;
2293
+ while (tmp_0 < tmp_1) {
2294
+ var tmp_3 = tmp_0;
2295
+ var tmp$ret$1;
2296
+ // Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.names.<anonymous>' call
2297
+ tmp$ret$1 = '[UNINITIALIZED]';
2298
+ tmp_2[tmp_3] = tmp$ret$1;
2299
+ tmp_0 = tmp_0 + 1 | 0;
2300
+ }
2301
+ tmp.s1l_1 = tmp_2;
2302
+ var tmp_4 = this;
2303
+ var tmp$ret$2;
2304
+ // Inline function 'kotlin.arrayOfNulls' call
2305
+ var tmp0_arrayOfNulls = this.q1l_1;
2306
+ tmp$ret$2 = fillArrayVal(Array(tmp0_arrayOfNulls), null);
2307
+ tmp_4.t1l_1 = tmp$ret$2;
2308
+ this.u1l_1 = null;
2309
+ this.v1l_1 = booleanArray(this.q1l_1);
2310
+ this.w1l_1 = emptyMap();
2311
+ var tmp_5 = this;
2312
+ var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2313
+ tmp_5.x1l_1 = lazy(tmp_6, PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this));
2314
+ var tmp_7 = this;
2315
+ var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2316
+ tmp_7.y1l_1 = lazy(tmp_8, PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this));
2317
+ var tmp_9 = this;
2318
+ var tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2319
+ tmp_9.z1l_1 = lazy(tmp_10, PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this));
2320
+ }
2321
+ PluginGeneratedSerialDescriptor.prototype.p1i = function () {
2322
+ return this.o1l_1;
2323
+ };
2324
+ PluginGeneratedSerialDescriptor.prototype.b1j = function () {
2325
+ return this.q1l_1;
2326
+ };
2327
+ PluginGeneratedSerialDescriptor.prototype.c1j = function () {
2328
+ return CLASS_getInstance();
2329
+ };
2330
+ PluginGeneratedSerialDescriptor.prototype.y1j = function () {
2331
+ return this.w1l_1.j2();
2332
+ };
2333
+ PluginGeneratedSerialDescriptor.prototype.p1m = function () {
2334
+ var tmp$ret$0;
2335
+ // Inline function 'kotlin.getValue' call
2336
+ var tmp0_getValue = typeParameterDescriptors$factory();
2337
+ tmp$ret$0 = this.y1l_1.z1();
2338
+ return tmp$ret$0;
2339
+ };
2340
+ PluginGeneratedSerialDescriptor.prototype.q1m = function (name, isOptional) {
2341
+ var tmp0_this = this;
2342
+ tmp0_this.r1l_1 = tmp0_this.r1l_1 + 1 | 0;
2343
+ this.s1l_1[tmp0_this.r1l_1] = name;
2344
+ this.v1l_1[this.r1l_1] = isOptional;
2345
+ this.t1l_1[this.r1l_1] = null;
2346
+ if (this.r1l_1 === (this.q1l_1 - 1 | 0)) {
2347
+ this.w1l_1 = buildIndices(this);
2348
+ }
2349
+ };
2350
+ PluginGeneratedSerialDescriptor.prototype.a1m = function (name, isOptional, $mask0, $handler) {
2351
+ if (!(($mask0 & 2) === 0))
2352
+ isOptional = false;
2353
+ return this.q1m(name, isOptional);
2354
+ };
2355
+ PluginGeneratedSerialDescriptor.prototype.d1j = function (index) {
2356
+ return getChecked(_get_childSerializers__7vnyfa(this), index).x1h();
2357
+ };
2358
+ PluginGeneratedSerialDescriptor.prototype.e1j = function (index) {
2359
+ return getChecked(this.s1l_1, index);
2360
+ };
2361
+ PluginGeneratedSerialDescriptor.prototype.equals = function (other) {
2362
+ var tmp$ret$0;
2363
+ $l$block_5: {
2364
+ // Inline function 'kotlinx.serialization.internal.equalsImpl' call
2365
+ if (this === other) {
2366
+ tmp$ret$0 = true;
2367
+ break $l$block_5;
2368
+ }
2369
+ if (!(other instanceof PluginGeneratedSerialDescriptor)) {
2370
+ tmp$ret$0 = false;
2371
+ break $l$block_5;
2372
+ }
2373
+ if (!(this.p1i() === other.p1i())) {
2374
+ tmp$ret$0 = false;
2375
+ break $l$block_5;
2376
+ }
2377
+ var tmp$ret$1;
2378
+ // Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.equals.<anonymous>' call
2379
+ var tmp0__anonymous__q1qw7t = other;
2380
+ tmp$ret$1 = contentEquals(this.p1m(), tmp0__anonymous__q1qw7t.p1m());
2381
+ if (!tmp$ret$1) {
2382
+ tmp$ret$0 = false;
2383
+ break $l$block_5;
2384
+ }
2385
+ if (!(this.b1j() === other.b1j())) {
2386
+ tmp$ret$0 = false;
2387
+ break $l$block_5;
2388
+ }
2389
+ var inductionVariable = 0;
2390
+ var last = this.b1j();
2391
+ if (inductionVariable < last)
2392
+ do {
2393
+ var index = inductionVariable;
2394
+ inductionVariable = inductionVariable + 1 | 0;
2395
+ if (!(this.d1j(index).p1i() === other.d1j(index).p1i())) {
2396
+ tmp$ret$0 = false;
2397
+ break $l$block_5;
2398
+ }
2399
+ if (!equals(this.d1j(index).c1j(), other.d1j(index).c1j())) {
2400
+ tmp$ret$0 = false;
2401
+ break $l$block_5;
2402
+ }
2403
+ }
2404
+ while (inductionVariable < last);
2405
+ tmp$ret$0 = true;
2406
+ }
2407
+ return tmp$ret$0;
2408
+ };
2409
+ PluginGeneratedSerialDescriptor.prototype.hashCode = function () {
2410
+ return _get__hashCode__tgwhef_0(this);
2411
+ };
2412
+ PluginGeneratedSerialDescriptor.prototype.toString = function () {
2413
+ var tmp = until(0, this.q1l_1);
2414
+ var tmp_0 = this.p1i() + '(';
2415
+ return joinToString$default(tmp, ', ', tmp_0, ')', 0, null, PluginGeneratedSerialDescriptor$toString$lambda(this), 24, null);
2416
+ };
2417
+ PluginGeneratedSerialDescriptor.$metadata$ = classMeta('PluginGeneratedSerialDescriptor', [SerialDescriptor, CachedNames]);
2418
+ function hashCodeImpl(_this__u8e3s4, typeParams) {
2419
+ var result = getStringHashCode(_this__u8e3s4.p1i());
2420
+ result = imul(31, result) + contentHashCode(typeParams) | 0;
2421
+ var elementDescriptors = get_elementDescriptors(_this__u8e3s4);
2422
+ var tmp$ret$4;
2423
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
2424
+ var tmp$ret$3;
2425
+ // Inline function 'kotlin.collections.fold' call
2426
+ var accumulator = 1;
2427
+ var tmp0_iterator = elementDescriptors.f();
2428
+ while (tmp0_iterator.g()) {
2429
+ var element = tmp0_iterator.h();
2430
+ var tmp$ret$2;
2431
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
2432
+ var tmp0__anonymous__q1qw7t = accumulator;
2433
+ var tmp = imul(31, tmp0__anonymous__q1qw7t);
2434
+ var tmp$ret$1;
2435
+ // Inline function 'kotlin.hashCode' call
2436
+ var tmp$ret$0;
2437
+ // Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
2438
+ tmp$ret$0 = element.p1i();
2439
+ var tmp0_hashCode = tmp$ret$0;
2440
+ var tmp0_safe_receiver = tmp0_hashCode;
2441
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
2442
+ tmp$ret$1 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
2443
+ tmp$ret$2 = tmp + tmp$ret$1 | 0;
2444
+ accumulator = tmp$ret$2;
2445
+ }
2446
+ tmp$ret$3 = accumulator;
2447
+ tmp$ret$4 = tmp$ret$3;
2448
+ var namesHash = tmp$ret$4;
2449
+ var tmp$ret$9;
2450
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
2451
+ var tmp$ret$8;
2452
+ // Inline function 'kotlin.collections.fold' call
2453
+ var accumulator_0 = 1;
2454
+ var tmp0_iterator_0 = elementDescriptors.f();
2455
+ while (tmp0_iterator_0.g()) {
2456
+ var element_0 = tmp0_iterator_0.h();
2457
+ var tmp$ret$7;
2458
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
2459
+ var tmp0__anonymous__q1qw7t_0 = accumulator_0;
2460
+ var tmp_0 = imul(31, tmp0__anonymous__q1qw7t_0);
2461
+ var tmp$ret$6;
2462
+ // Inline function 'kotlin.hashCode' call
2463
+ var tmp$ret$5;
2464
+ // Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
2465
+ tmp$ret$5 = element_0.c1j();
2466
+ var tmp0_hashCode_0 = tmp$ret$5;
2467
+ var tmp0_safe_receiver_0 = tmp0_hashCode_0;
2468
+ var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
2469
+ tmp$ret$6 = tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0;
2470
+ tmp$ret$7 = tmp_0 + tmp$ret$6 | 0;
2471
+ accumulator_0 = tmp$ret$7;
2472
+ }
2473
+ tmp$ret$8 = accumulator_0;
2474
+ tmp$ret$9 = tmp$ret$8;
2475
+ var kindHash = tmp$ret$9;
2476
+ result = imul(31, result) + namesHash | 0;
2477
+ result = imul(31, result) + kindHash | 0;
2478
+ return result;
2479
+ }
2480
+ function childSerializers$factory() {
2481
+ return getPropertyCallableRef('childSerializers', 1, KProperty1, function (receiver) {
2482
+ return _get_childSerializers__7vnyfa(receiver);
2483
+ }, null);
2484
+ }
2485
+ function typeParameterDescriptors$factory() {
2486
+ return getPropertyCallableRef('typeParameterDescriptors', 1, KProperty1, function (receiver) {
2487
+ return receiver.p1m();
2488
+ }, null);
2489
+ }
2490
+ function _hashCode$factory_0() {
2491
+ return getPropertyCallableRef('_hashCode', 1, KProperty1, function (receiver) {
2492
+ return _get__hashCode__tgwhef_0(receiver);
2493
+ }, null);
2494
+ }
2495
+ function get_EMPTY_SERIALIZER_ARRAY() {
2496
+ init_properties_PluginHelperInterfaces_kt_tblf27();
2497
+ return EMPTY_SERIALIZER_ARRAY;
2498
+ }
2499
+ var EMPTY_SERIALIZER_ARRAY;
2500
+ function SerializerFactory() {
2501
+ }
2502
+ SerializerFactory.$metadata$ = interfaceMeta('SerializerFactory');
2503
+ function GeneratedSerializer() {
2504
+ }
2505
+ GeneratedSerializer.$metadata$ = interfaceMeta('GeneratedSerializer', [KSerializer]);
2506
+ var properties_initialized_PluginHelperInterfaces_kt_ap8in1;
2507
+ function init_properties_PluginHelperInterfaces_kt_tblf27() {
2508
+ if (properties_initialized_PluginHelperInterfaces_kt_ap8in1) {
2509
+ } else {
2510
+ properties_initialized_PluginHelperInterfaces_kt_ap8in1 = true;
2511
+ var tmp$ret$2;
2512
+ // Inline function 'kotlin.arrayOf' call
2513
+ var tmp$ret$1;
2514
+ // Inline function 'kotlin.js.unsafeCast' call
2515
+ var tmp$ret$0;
2516
+ // Inline function 'kotlin.js.asDynamic' call
2517
+ tmp$ret$0 = [];
2518
+ tmp$ret$1 = tmp$ret$0;
2519
+ tmp$ret$2 = tmp$ret$1;
2520
+ EMPTY_SERIALIZER_ARRAY = tmp$ret$2;
2521
+ }
2522
+ }
2523
+ function CharArraySerializer_0() {
2524
+ CharArraySerializer_instance = this;
2525
+ PrimitiveArraySerializer.call(this, serializer_2(Companion_getInstance()));
2526
+ }
2527
+ CharArraySerializer_0.$metadata$ = objectMeta('CharArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2528
+ var CharArraySerializer_instance;
2529
+ function CharArraySerializer_getInstance() {
2530
+ if (CharArraySerializer_instance == null)
2531
+ new CharArraySerializer_0();
2532
+ return CharArraySerializer_instance;
2533
+ }
2534
+ function DoubleArraySerializer_0() {
2535
+ DoubleArraySerializer_instance = this;
2536
+ PrimitiveArraySerializer.call(this, serializer_3(DoubleCompanionObject_getInstance()));
2537
+ }
2538
+ DoubleArraySerializer_0.$metadata$ = objectMeta('DoubleArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2539
+ var DoubleArraySerializer_instance;
2540
+ function DoubleArraySerializer_getInstance() {
2541
+ if (DoubleArraySerializer_instance == null)
2542
+ new DoubleArraySerializer_0();
2543
+ return DoubleArraySerializer_instance;
2544
+ }
2545
+ function FloatArraySerializer_0() {
2546
+ FloatArraySerializer_instance = this;
2547
+ PrimitiveArraySerializer.call(this, serializer_4(FloatCompanionObject_getInstance()));
2548
+ }
2549
+ FloatArraySerializer_0.$metadata$ = objectMeta('FloatArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2550
+ var FloatArraySerializer_instance;
2551
+ function FloatArraySerializer_getInstance() {
2552
+ if (FloatArraySerializer_instance == null)
2553
+ new FloatArraySerializer_0();
2554
+ return FloatArraySerializer_instance;
2555
+ }
2556
+ function LongArraySerializer_0() {
2557
+ LongArraySerializer_instance = this;
2558
+ PrimitiveArraySerializer.call(this, serializer_5(Companion_getInstance_0()));
2559
+ }
2560
+ LongArraySerializer_0.$metadata$ = objectMeta('LongArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2561
+ var LongArraySerializer_instance;
2562
+ function LongArraySerializer_getInstance() {
2563
+ if (LongArraySerializer_instance == null)
2564
+ new LongArraySerializer_0();
2565
+ return LongArraySerializer_instance;
2566
+ }
2567
+ function ULongArraySerializer_0() {
2568
+ ULongArraySerializer_instance = this;
2569
+ PrimitiveArraySerializer.call(this, serializer_6(Companion_getInstance_1()));
2570
+ }
2571
+ ULongArraySerializer_0.$metadata$ = objectMeta('ULongArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2572
+ var ULongArraySerializer_instance;
2573
+ function ULongArraySerializer_getInstance() {
2574
+ if (ULongArraySerializer_instance == null)
2575
+ new ULongArraySerializer_0();
2576
+ return ULongArraySerializer_instance;
2577
+ }
2578
+ function IntArraySerializer_0() {
2579
+ IntArraySerializer_instance = this;
2580
+ PrimitiveArraySerializer.call(this, serializer_7(IntCompanionObject_getInstance()));
2581
+ }
2582
+ IntArraySerializer_0.$metadata$ = objectMeta('IntArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2583
+ var IntArraySerializer_instance;
2584
+ function IntArraySerializer_getInstance() {
2585
+ if (IntArraySerializer_instance == null)
2586
+ new IntArraySerializer_0();
2587
+ return IntArraySerializer_instance;
2588
+ }
2589
+ function UIntArraySerializer_0() {
2590
+ UIntArraySerializer_instance = this;
2591
+ PrimitiveArraySerializer.call(this, serializer_8(Companion_getInstance_2()));
2592
+ }
2593
+ UIntArraySerializer_0.$metadata$ = objectMeta('UIntArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2594
+ var UIntArraySerializer_instance;
2595
+ function UIntArraySerializer_getInstance() {
2596
+ if (UIntArraySerializer_instance == null)
2597
+ new UIntArraySerializer_0();
2598
+ return UIntArraySerializer_instance;
2599
+ }
2600
+ function ShortArraySerializer_0() {
2601
+ ShortArraySerializer_instance = this;
2602
+ PrimitiveArraySerializer.call(this, serializer_9(ShortCompanionObject_getInstance()));
2603
+ }
2604
+ ShortArraySerializer_0.$metadata$ = objectMeta('ShortArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2605
+ var ShortArraySerializer_instance;
2606
+ function ShortArraySerializer_getInstance() {
2607
+ if (ShortArraySerializer_instance == null)
2608
+ new ShortArraySerializer_0();
2609
+ return ShortArraySerializer_instance;
2610
+ }
2611
+ function UShortArraySerializer_0() {
2612
+ UShortArraySerializer_instance = this;
2613
+ PrimitiveArraySerializer.call(this, serializer_10(Companion_getInstance_3()));
2614
+ }
2615
+ UShortArraySerializer_0.$metadata$ = objectMeta('UShortArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2616
+ var UShortArraySerializer_instance;
2617
+ function UShortArraySerializer_getInstance() {
2618
+ if (UShortArraySerializer_instance == null)
2619
+ new UShortArraySerializer_0();
2620
+ return UShortArraySerializer_instance;
2621
+ }
2622
+ function ByteArraySerializer_0() {
2623
+ ByteArraySerializer_instance = this;
2624
+ PrimitiveArraySerializer.call(this, serializer_11(ByteCompanionObject_getInstance()));
2625
+ }
2626
+ ByteArraySerializer_0.$metadata$ = objectMeta('ByteArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2627
+ var ByteArraySerializer_instance;
2628
+ function ByteArraySerializer_getInstance() {
2629
+ if (ByteArraySerializer_instance == null)
2630
+ new ByteArraySerializer_0();
2631
+ return ByteArraySerializer_instance;
2632
+ }
2633
+ function UByteArraySerializer_0() {
2634
+ UByteArraySerializer_instance = this;
2635
+ PrimitiveArraySerializer.call(this, serializer_12(Companion_getInstance_4()));
2636
+ }
2637
+ UByteArraySerializer_0.$metadata$ = objectMeta('UByteArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2638
+ var UByteArraySerializer_instance;
2639
+ function UByteArraySerializer_getInstance() {
2640
+ if (UByteArraySerializer_instance == null)
2641
+ new UByteArraySerializer_0();
2642
+ return UByteArraySerializer_instance;
2643
+ }
2644
+ function BooleanArraySerializer_0() {
2645
+ BooleanArraySerializer_instance = this;
2646
+ PrimitiveArraySerializer.call(this, serializer_13(BooleanCompanionObject_getInstance()));
2647
+ }
2648
+ BooleanArraySerializer_0.$metadata$ = objectMeta('BooleanArraySerializer', [KSerializer], undefined, undefined, undefined, PrimitiveArraySerializer.prototype);
2649
+ var BooleanArraySerializer_instance;
2650
+ function BooleanArraySerializer_getInstance() {
2651
+ if (BooleanArraySerializer_instance == null)
2652
+ new BooleanArraySerializer_0();
2653
+ return BooleanArraySerializer_instance;
2654
+ }
2655
+ function get_BUILTIN_SERIALIZERS() {
2656
+ init_properties_Primitives_kt_u7dn2q();
2657
+ return BUILTIN_SERIALIZERS;
2658
+ }
2659
+ var BUILTIN_SERIALIZERS;
2660
+ function builtinSerializerOrNull(_this__u8e3s4) {
2661
+ init_properties_Primitives_kt_u7dn2q();
2662
+ var tmp = get_BUILTIN_SERIALIZERS().n(_this__u8e3s4);
2663
+ return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : THROW_CCE();
2664
+ }
2665
+ function StringSerializer() {
2666
+ StringSerializer_instance = this;
2667
+ this.r1n_1 = new PrimitiveSerialDescriptor_0('kotlin.String', STRING_getInstance());
2668
+ }
2669
+ StringSerializer.prototype.x1h = function () {
2670
+ return this.r1n_1;
2671
+ };
2672
+ StringSerializer.$metadata$ = objectMeta('StringSerializer', [KSerializer]);
2673
+ var StringSerializer_instance;
2674
+ function StringSerializer_getInstance() {
2675
+ if (StringSerializer_instance == null)
2676
+ new StringSerializer();
2677
+ return StringSerializer_instance;
2678
+ }
2679
+ function CharSerializer() {
2680
+ CharSerializer_instance = this;
2681
+ this.s1n_1 = new PrimitiveSerialDescriptor_0('kotlin.Char', CHAR_getInstance());
2682
+ }
2683
+ CharSerializer.prototype.x1h = function () {
2684
+ return this.s1n_1;
2685
+ };
2686
+ CharSerializer.$metadata$ = objectMeta('CharSerializer', [KSerializer]);
2687
+ var CharSerializer_instance;
2688
+ function CharSerializer_getInstance() {
2689
+ if (CharSerializer_instance == null)
2690
+ new CharSerializer();
2691
+ return CharSerializer_instance;
2692
+ }
2693
+ function DoubleSerializer() {
2694
+ DoubleSerializer_instance = this;
2695
+ this.t1n_1 = new PrimitiveSerialDescriptor_0('kotlin.Double', DOUBLE_getInstance());
2696
+ }
2697
+ DoubleSerializer.prototype.x1h = function () {
2698
+ return this.t1n_1;
2699
+ };
2700
+ DoubleSerializer.$metadata$ = objectMeta('DoubleSerializer', [KSerializer]);
2701
+ var DoubleSerializer_instance;
2702
+ function DoubleSerializer_getInstance() {
2703
+ if (DoubleSerializer_instance == null)
2704
+ new DoubleSerializer();
2705
+ return DoubleSerializer_instance;
2706
+ }
2707
+ function FloatSerializer() {
2708
+ FloatSerializer_instance = this;
2709
+ this.u1n_1 = new PrimitiveSerialDescriptor_0('kotlin.Float', FLOAT_getInstance());
2710
+ }
2711
+ FloatSerializer.prototype.x1h = function () {
2712
+ return this.u1n_1;
2713
+ };
2714
+ FloatSerializer.$metadata$ = objectMeta('FloatSerializer', [KSerializer]);
2715
+ var FloatSerializer_instance;
2716
+ function FloatSerializer_getInstance() {
2717
+ if (FloatSerializer_instance == null)
2718
+ new FloatSerializer();
2719
+ return FloatSerializer_instance;
2720
+ }
2721
+ function LongSerializer() {
2722
+ LongSerializer_instance = this;
2723
+ this.v1n_1 = new PrimitiveSerialDescriptor_0('kotlin.Long', LONG_getInstance());
2724
+ }
2725
+ LongSerializer.prototype.x1h = function () {
2726
+ return this.v1n_1;
2727
+ };
2728
+ LongSerializer.$metadata$ = objectMeta('LongSerializer', [KSerializer]);
2729
+ var LongSerializer_instance;
2730
+ function LongSerializer_getInstance() {
2731
+ if (LongSerializer_instance == null)
2732
+ new LongSerializer();
2733
+ return LongSerializer_instance;
2734
+ }
2735
+ function IntSerializer() {
2736
+ IntSerializer_instance = this;
2737
+ this.w1n_1 = new PrimitiveSerialDescriptor_0('kotlin.Int', INT_getInstance());
2738
+ }
2739
+ IntSerializer.prototype.x1h = function () {
2740
+ return this.w1n_1;
2741
+ };
2742
+ IntSerializer.$metadata$ = objectMeta('IntSerializer', [KSerializer]);
2743
+ var IntSerializer_instance;
2744
+ function IntSerializer_getInstance() {
2745
+ if (IntSerializer_instance == null)
2746
+ new IntSerializer();
2747
+ return IntSerializer_instance;
2748
+ }
2749
+ function ShortSerializer() {
2750
+ ShortSerializer_instance = this;
2751
+ this.x1n_1 = new PrimitiveSerialDescriptor_0('kotlin.Short', SHORT_getInstance());
2752
+ }
2753
+ ShortSerializer.prototype.x1h = function () {
2754
+ return this.x1n_1;
2755
+ };
2756
+ ShortSerializer.$metadata$ = objectMeta('ShortSerializer', [KSerializer]);
2757
+ var ShortSerializer_instance;
2758
+ function ShortSerializer_getInstance() {
2759
+ if (ShortSerializer_instance == null)
2760
+ new ShortSerializer();
2761
+ return ShortSerializer_instance;
2762
+ }
2763
+ function ByteSerializer() {
2764
+ ByteSerializer_instance = this;
2765
+ this.y1n_1 = new PrimitiveSerialDescriptor_0('kotlin.Byte', BYTE_getInstance());
2766
+ }
2767
+ ByteSerializer.prototype.x1h = function () {
2768
+ return this.y1n_1;
2769
+ };
2770
+ ByteSerializer.$metadata$ = objectMeta('ByteSerializer', [KSerializer]);
2771
+ var ByteSerializer_instance;
2772
+ function ByteSerializer_getInstance() {
2773
+ if (ByteSerializer_instance == null)
2774
+ new ByteSerializer();
2775
+ return ByteSerializer_instance;
2776
+ }
2777
+ function BooleanSerializer() {
2778
+ BooleanSerializer_instance = this;
2779
+ this.z1n_1 = new PrimitiveSerialDescriptor_0('kotlin.Boolean', BOOLEAN_getInstance());
2780
+ }
2781
+ BooleanSerializer.prototype.x1h = function () {
2782
+ return this.z1n_1;
2783
+ };
2784
+ BooleanSerializer.$metadata$ = objectMeta('BooleanSerializer', [KSerializer]);
2785
+ var BooleanSerializer_instance;
2786
+ function BooleanSerializer_getInstance() {
2787
+ if (BooleanSerializer_instance == null)
2788
+ new BooleanSerializer();
2789
+ return BooleanSerializer_instance;
2790
+ }
2791
+ function UnitSerializer() {
2792
+ UnitSerializer_instance = this;
2793
+ this.a1o_1 = new ObjectSerializer('kotlin.Unit', Unit_getInstance());
2794
+ }
2795
+ UnitSerializer.prototype.x1h = function () {
2796
+ return this.a1o_1.x1h();
2797
+ };
2798
+ UnitSerializer.$metadata$ = objectMeta('UnitSerializer', [KSerializer]);
2799
+ var UnitSerializer_instance;
2800
+ function UnitSerializer_getInstance() {
2801
+ if (UnitSerializer_instance == null)
2802
+ new UnitSerializer();
2803
+ return UnitSerializer_instance;
2804
+ }
2805
+ function error($this) {
2806
+ throw IllegalStateException_init_$Create$('Primitive descriptor does not have elements');
2807
+ }
2808
+ function PrimitiveSerialDescriptor_0(serialName, kind) {
2809
+ this.b1o_1 = serialName;
2810
+ this.c1o_1 = kind;
2811
+ }
2812
+ PrimitiveSerialDescriptor_0.prototype.p1i = function () {
2813
+ return this.b1o_1;
2814
+ };
2815
+ PrimitiveSerialDescriptor_0.prototype.c1j = function () {
2816
+ return this.c1o_1;
2817
+ };
2818
+ PrimitiveSerialDescriptor_0.prototype.b1j = function () {
2819
+ return 0;
2820
+ };
2821
+ PrimitiveSerialDescriptor_0.prototype.e1j = function (index) {
2822
+ error(this);
2823
+ };
2824
+ PrimitiveSerialDescriptor_0.prototype.d1j = function (index) {
2825
+ error(this);
2826
+ };
2827
+ PrimitiveSerialDescriptor_0.prototype.toString = function () {
2828
+ return 'PrimitiveDescriptor(' + this.b1o_1 + ')';
2829
+ };
2830
+ PrimitiveSerialDescriptor_0.$metadata$ = classMeta('PrimitiveSerialDescriptor', [SerialDescriptor]);
2831
+ function PrimitiveDescriptorSafe(serialName, kind) {
2832
+ init_properties_Primitives_kt_u7dn2q();
2833
+ checkName(serialName);
2834
+ return new PrimitiveSerialDescriptor_0(serialName, kind);
2835
+ }
2836
+ function checkName(serialName) {
2837
+ init_properties_Primitives_kt_u7dn2q();
2838
+ var keys = get_BUILTIN_SERIALIZERS().j2();
2839
+ var tmp0_iterator = keys.f();
2840
+ while (tmp0_iterator.g()) {
2841
+ var primitive = tmp0_iterator.h();
2842
+ var simpleName = capitalize(ensureNotNull(primitive.ye()));
2843
+ var qualifiedName = 'kotlin.' + simpleName;
2844
+ if (equals_0(serialName, qualifiedName, true) ? true : equals_0(serialName, simpleName, true)) {
2845
+ 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 '));
2846
+ }
2847
+ }
2848
+ }
2849
+ function capitalize(_this__u8e3s4) {
2850
+ init_properties_Primitives_kt_u7dn2q();
2851
+ var tmp$ret$4;
2852
+ // Inline function 'kotlin.text.replaceFirstChar' call
2853
+ var tmp;
2854
+ var tmp$ret$0;
2855
+ // Inline function 'kotlin.text.isNotEmpty' call
2856
+ tmp$ret$0 = charSequenceLength(_this__u8e3s4) > 0;
2857
+ if (tmp$ret$0) {
2858
+ var tmp$ret$1;
2859
+ // Inline function 'kotlinx.serialization.internal.capitalize.<anonymous>' call
2860
+ var tmp0__anonymous__q1qw7t = charSequenceGet(_this__u8e3s4, 0);
2861
+ tmp$ret$1 = isLowerCase(tmp0__anonymous__q1qw7t) ? titlecase(tmp0__anonymous__q1qw7t) : toString_0(tmp0__anonymous__q1qw7t);
2862
+ var tmp_0 = toString(tmp$ret$1);
2863
+ var tmp$ret$3;
2864
+ // Inline function 'kotlin.text.substring' call
2865
+ var tmp$ret$2;
2866
+ // Inline function 'kotlin.js.asDynamic' call
2867
+ tmp$ret$2 = _this__u8e3s4;
2868
+ tmp$ret$3 = tmp$ret$2.substring(1);
2869
+ tmp = tmp_0 + tmp$ret$3;
2870
+ } else {
2871
+ tmp = _this__u8e3s4;
2872
+ }
2873
+ tmp$ret$4 = tmp;
2874
+ return tmp$ret$4;
2875
+ }
2876
+ var properties_initialized_Primitives_kt_6dpii6;
2877
+ function init_properties_Primitives_kt_u7dn2q() {
2878
+ if (properties_initialized_Primitives_kt_6dpii6) {
2879
+ } else {
2880
+ properties_initialized_Primitives_kt_6dpii6 = true;
2881
+ BUILTIN_SERIALIZERS = mapOf([to(PrimitiveClasses_getInstance().sg(), serializer_1(StringCompanionObject_getInstance())), to(getKClass(Char), serializer_2(Companion_getInstance())), to(PrimitiveClasses_getInstance().vg(), CharArraySerializer()), to(PrimitiveClasses_getInstance().qg(), serializer_3(DoubleCompanionObject_getInstance())), to(PrimitiveClasses_getInstance().bh(), DoubleArraySerializer()), to(PrimitiveClasses_getInstance().pg(), serializer_4(FloatCompanionObject_getInstance())), to(PrimitiveClasses_getInstance().ah(), FloatArraySerializer()), to(getKClass(Long), serializer_5(Companion_getInstance_0())), to(PrimitiveClasses_getInstance().zg(), LongArraySerializer()), to(getKClass(ULong), serializer_6(Companion_getInstance_1())), to(getKClass(ULongArray), ULongArraySerializer()), to(PrimitiveClasses_getInstance().og(), serializer_7(IntCompanionObject_getInstance())), to(PrimitiveClasses_getInstance().yg(), IntArraySerializer()), to(getKClass(UInt), serializer_8(Companion_getInstance_2())), to(getKClass(UIntArray), UIntArraySerializer()), to(PrimitiveClasses_getInstance().ng(), serializer_9(ShortCompanionObject_getInstance())), to(PrimitiveClasses_getInstance().xg(), ShortArraySerializer()), to(getKClass(UShort), serializer_10(Companion_getInstance_3())), to(getKClass(UShortArray), UShortArraySerializer()), to(PrimitiveClasses_getInstance().mg(), serializer_11(ByteCompanionObject_getInstance())), to(PrimitiveClasses_getInstance().wg(), ByteArraySerializer()), to(getKClass(UByte), serializer_12(Companion_getInstance_4())), to(getKClass(UByteArray), UByteArraySerializer()), to(PrimitiveClasses_getInstance().lg(), serializer_13(BooleanCompanionObject_getInstance())), to(PrimitiveClasses_getInstance().ug(), BooleanArraySerializer()), to(getKClass(Unit), serializer_14(Unit_getInstance())), to(getKClass(Duration), serializer_15(Companion_getInstance_5()))]);
2882
+ }
2883
+ }
2884
+ function MapEntrySerializer$descriptor$lambda($keySerializer, $valueSerializer) {
2885
+ return function ($this$buildSerialDescriptor) {
2886
+ var tmp = $keySerializer.x1h();
2887
+ $this$buildSerialDescriptor.g1i('key', tmp, null, false, 12, null);
2888
+ var tmp_0 = $valueSerializer.x1h();
2889
+ $this$buildSerialDescriptor.g1i('value', tmp_0, null, false, 12, null);
2890
+ return Unit_getInstance();
2891
+ };
2892
+ }
2893
+ function MapEntrySerializer_0(keySerializer, valueSerializer) {
2894
+ KeyValueSerializer.call(this, keySerializer, valueSerializer);
2895
+ var tmp = this;
2896
+ var tmp_0 = MAP_getInstance();
2897
+ tmp.f1o_1 = buildSerialDescriptor$default('kotlin.collections.Map.Entry', tmp_0, [], MapEntrySerializer$descriptor$lambda(keySerializer, valueSerializer), 4, null);
2898
+ }
2899
+ MapEntrySerializer_0.prototype.x1h = function () {
2900
+ return this.f1o_1;
2901
+ };
2902
+ MapEntrySerializer_0.$metadata$ = classMeta('MapEntrySerializer', undefined, undefined, undefined, undefined, KeyValueSerializer.prototype);
2903
+ function PairSerializer$descriptor$lambda($keySerializer, $valueSerializer) {
2904
+ return function ($this$buildClassSerialDescriptor) {
2905
+ var tmp = $keySerializer.x1h();
2906
+ $this$buildClassSerialDescriptor.g1i('first', tmp, null, false, 12, null);
2907
+ var tmp_0 = $valueSerializer.x1h();
2908
+ $this$buildClassSerialDescriptor.g1i('second', tmp_0, null, false, 12, null);
2909
+ return Unit_getInstance();
2910
+ };
2911
+ }
2912
+ function PairSerializer_0(keySerializer, valueSerializer) {
2913
+ KeyValueSerializer.call(this, keySerializer, valueSerializer);
2914
+ var tmp = this;
2915
+ tmp.i1o_1 = buildClassSerialDescriptor$default('kotlin.Pair', [], PairSerializer$descriptor$lambda(keySerializer, valueSerializer), 2, null);
2916
+ }
2917
+ PairSerializer_0.prototype.x1h = function () {
2918
+ return this.i1o_1;
2919
+ };
2920
+ PairSerializer_0.$metadata$ = classMeta('PairSerializer', undefined, undefined, undefined, undefined, KeyValueSerializer.prototype);
2921
+ function TripleSerializer$descriptor$lambda(this$0) {
2922
+ return function ($this$buildClassSerialDescriptor) {
2923
+ var tmp = this$0.j1o_1.x1h();
2924
+ $this$buildClassSerialDescriptor.g1i('first', tmp, null, false, 12, null);
2925
+ var tmp_0 = this$0.k1o_1.x1h();
2926
+ $this$buildClassSerialDescriptor.g1i('second', tmp_0, null, false, 12, null);
2927
+ var tmp_1 = this$0.l1o_1.x1h();
2928
+ $this$buildClassSerialDescriptor.g1i('third', tmp_1, null, false, 12, null);
2929
+ return Unit_getInstance();
2930
+ };
2931
+ }
2932
+ function TripleSerializer_0(aSerializer, bSerializer, cSerializer) {
2933
+ this.j1o_1 = aSerializer;
2934
+ this.k1o_1 = bSerializer;
2935
+ this.l1o_1 = cSerializer;
2936
+ var tmp = this;
2937
+ tmp.m1o_1 = buildClassSerialDescriptor$default('kotlin.Triple', [], TripleSerializer$descriptor$lambda(this), 2, null);
2938
+ }
2939
+ TripleSerializer_0.prototype.x1h = function () {
2940
+ return this.m1o_1;
2941
+ };
2942
+ TripleSerializer_0.$metadata$ = classMeta('TripleSerializer', [KSerializer]);
2943
+ function KeyValueSerializer(keySerializer, valueSerializer) {
2944
+ this.n1o_1 = keySerializer;
2945
+ this.o1o_1 = valueSerializer;
2946
+ }
2947
+ KeyValueSerializer.$metadata$ = classMeta('KeyValueSerializer', [KSerializer]);
2948
+ function ULongSerializer() {
2949
+ ULongSerializer_instance = this;
2950
+ this.p1o_1 = InlinePrimitiveDescriptor('kotlin.ULong', serializer_5(Companion_getInstance_0()));
2951
+ }
2952
+ ULongSerializer.prototype.x1h = function () {
2953
+ return this.p1o_1;
2954
+ };
2955
+ ULongSerializer.$metadata$ = objectMeta('ULongSerializer', [KSerializer]);
2956
+ var ULongSerializer_instance;
2957
+ function ULongSerializer_getInstance() {
2958
+ if (ULongSerializer_instance == null)
2959
+ new ULongSerializer();
2960
+ return ULongSerializer_instance;
2961
+ }
2962
+ function UIntSerializer() {
2963
+ UIntSerializer_instance = this;
2964
+ this.q1o_1 = InlinePrimitiveDescriptor('kotlin.UInt', serializer_7(IntCompanionObject_getInstance()));
2965
+ }
2966
+ UIntSerializer.prototype.x1h = function () {
2967
+ return this.q1o_1;
2968
+ };
2969
+ UIntSerializer.$metadata$ = objectMeta('UIntSerializer', [KSerializer]);
2970
+ var UIntSerializer_instance;
2971
+ function UIntSerializer_getInstance() {
2972
+ if (UIntSerializer_instance == null)
2973
+ new UIntSerializer();
2974
+ return UIntSerializer_instance;
2975
+ }
2976
+ function UShortSerializer() {
2977
+ UShortSerializer_instance = this;
2978
+ this.r1o_1 = InlinePrimitiveDescriptor('kotlin.UShort', serializer_9(ShortCompanionObject_getInstance()));
2979
+ }
2980
+ UShortSerializer.prototype.x1h = function () {
2981
+ return this.r1o_1;
2982
+ };
2983
+ UShortSerializer.$metadata$ = objectMeta('UShortSerializer', [KSerializer]);
2984
+ var UShortSerializer_instance;
2985
+ function UShortSerializer_getInstance() {
2986
+ if (UShortSerializer_instance == null)
2987
+ new UShortSerializer();
2988
+ return UShortSerializer_instance;
2989
+ }
2990
+ function UByteSerializer() {
2991
+ UByteSerializer_instance = this;
2992
+ this.s1o_1 = InlinePrimitiveDescriptor('kotlin.UByte', serializer_11(ByteCompanionObject_getInstance()));
2993
+ }
2994
+ UByteSerializer.prototype.x1h = function () {
2995
+ return this.s1o_1;
2996
+ };
2997
+ UByteSerializer.$metadata$ = objectMeta('UByteSerializer', [KSerializer]);
2998
+ var UByteSerializer_instance;
2999
+ function UByteSerializer_getInstance() {
3000
+ if (UByteSerializer_instance == null)
3001
+ new UByteSerializer();
3002
+ return UByteSerializer_instance;
3003
+ }
3004
+ function PolymorphicModuleBuilder(baseClass, baseSerializer) {
3005
+ this.t1o_1 = baseClass;
3006
+ this.u1o_1 = baseSerializer;
3007
+ var tmp = this;
3008
+ var tmp$ret$0;
3009
+ // Inline function 'kotlin.collections.mutableListOf' call
3010
+ tmp$ret$0 = ArrayList_init_$Create$_0();
3011
+ tmp.v1o_1 = tmp$ret$0;
3012
+ this.w1o_1 = null;
3013
+ this.x1o_1 = null;
3014
+ }
3015
+ PolymorphicModuleBuilder.prototype.s1i = function () {
3016
+ return this.t1o_1;
3017
+ };
3018
+ PolymorphicModuleBuilder.prototype.y1o = function (subclass, serializer) {
3019
+ this.v1o_1.a(to(subclass, serializer));
3020
+ };
3021
+ PolymorphicModuleBuilder.prototype.z1o = function (builder) {
3022
+ if (!(this.u1o_1 == null)) {
3023
+ builder.f1p(this.t1o_1, this.t1o_1, this.u1o_1, false, 8, null);
3024
+ }
3025
+ // Inline function 'kotlin.collections.forEach' call
3026
+ var tmp0_forEach = this.v1o_1;
3027
+ var tmp0_iterator = tmp0_forEach.f();
3028
+ while (tmp0_iterator.g()) {
3029
+ var element = tmp0_iterator.h();
3030
+ // Inline function 'kotlinx.serialization.modules.PolymorphicModuleBuilder.buildTo.<anonymous>' call
3031
+ var kclass = element.h3();
3032
+ var serializer = element.i3();
3033
+ var tmp = isInterface(kclass, KClass) ? kclass : THROW_CCE();
3034
+ var tmp$ret$0;
3035
+ // Inline function 'kotlinx.serialization.internal.cast' call
3036
+ tmp$ret$0 = isInterface(serializer, KSerializer) ? serializer : THROW_CCE();
3037
+ var tmp_0 = tmp$ret$0;
3038
+ builder.f1p(this.t1o_1, tmp, tmp_0, false, 8, null);
3039
+ }
3040
+ var defaultSerializer = this.w1o_1;
3041
+ if (!(defaultSerializer == null)) {
3042
+ builder.g1p(this.t1o_1, defaultSerializer, false);
3043
+ }
3044
+ var defaultDeserializer = this.x1o_1;
3045
+ if (!(defaultDeserializer == null)) {
3046
+ builder.h1p(this.t1o_1, defaultDeserializer, false);
3047
+ }
3048
+ };
3049
+ PolymorphicModuleBuilder.$metadata$ = classMeta('PolymorphicModuleBuilder');
3050
+ function get_EmptySerializersModuleLegacyJs() {
3051
+ init_properties_SerializersModule_kt_swldyf();
3052
+ return EmptySerializersModule;
3053
+ }
3054
+ var EmptySerializersModule;
3055
+ function SerializersModule() {
3056
+ }
3057
+ SerializersModule.prototype.u1i = function (kClass, typeArgumentsSerializers, $mask0, $handler) {
3058
+ if (!(($mask0 & 2) === 0))
3059
+ typeArgumentsSerializers = emptyList();
3060
+ return $handler == null ? this.t1i(kClass, typeArgumentsSerializers) : $handler(kClass, typeArgumentsSerializers);
3061
+ };
3062
+ SerializersModule.$metadata$ = classMeta('SerializersModule');
3063
+ function SerialModuleImpl(class2ContextualFactory, polyBase2Serializers, polyBase2DefaultSerializerProvider, polyBase2NamedSerializers, polyBase2DefaultDeserializerProvider) {
3064
+ SerializersModule.call(this);
3065
+ this.j1p_1 = class2ContextualFactory;
3066
+ this.k1p_1 = polyBase2Serializers;
3067
+ this.l1p_1 = polyBase2DefaultSerializerProvider;
3068
+ this.m1p_1 = polyBase2NamedSerializers;
3069
+ this.n1p_1 = polyBase2DefaultDeserializerProvider;
3070
+ }
3071
+ SerialModuleImpl.prototype.t1i = function (kClass, typeArgumentsSerializers) {
3072
+ var tmp0_safe_receiver = this.j1p_1.n(kClass);
3073
+ var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o1p(typeArgumentsSerializers);
3074
+ return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : null;
3075
+ };
3076
+ SerialModuleImpl.prototype.i1p = function (collector) {
3077
+ // Inline function 'kotlin.collections.forEach' call
3078
+ var tmp0_forEach = this.j1p_1;
3079
+ var tmp$ret$0;
3080
+ // Inline function 'kotlin.collections.iterator' call
3081
+ tmp$ret$0 = tmp0_forEach.a1().f();
3082
+ var tmp0_iterator = tmp$ret$0;
3083
+ while (tmp0_iterator.g()) {
3084
+ var element = tmp0_iterator.h();
3085
+ // Inline function 'kotlinx.serialization.modules.SerialModuleImpl.dumpTo.<anonymous>' call
3086
+ var tmp$ret$1;
3087
+ // Inline function 'kotlin.collections.component1' call
3088
+ tmp$ret$1 = element.x1();
3089
+ var kclass = tmp$ret$1;
3090
+ var tmp$ret$2;
3091
+ // Inline function 'kotlin.collections.component2' call
3092
+ tmp$ret$2 = element.z1();
3093
+ var serial = tmp$ret$2;
3094
+ var tmp0_subject = serial;
3095
+ if (tmp0_subject instanceof Argless) {
3096
+ var tmp = isInterface(kclass, KClass) ? kclass : THROW_CCE();
3097
+ var tmp_0 = serial.r1p_1;
3098
+ collector.s1p(tmp, isInterface(tmp_0, KSerializer) ? tmp_0 : THROW_CCE());
3099
+ } else {
3100
+ if (tmp0_subject instanceof WithTypeArguments) {
3101
+ collector.q1p(kclass, serial.p1p_1);
3102
+ }
3103
+ }
3104
+ }
3105
+ // Inline function 'kotlin.collections.forEach' call
3106
+ var tmp1_forEach = this.k1p_1;
3107
+ var tmp$ret$3;
3108
+ // Inline function 'kotlin.collections.iterator' call
3109
+ tmp$ret$3 = tmp1_forEach.a1().f();
3110
+ var tmp0_iterator_0 = tmp$ret$3;
3111
+ while (tmp0_iterator_0.g()) {
3112
+ var element_0 = tmp0_iterator_0.h();
3113
+ // Inline function 'kotlinx.serialization.modules.SerialModuleImpl.dumpTo.<anonymous>' call
3114
+ var tmp$ret$4;
3115
+ // Inline function 'kotlin.collections.component1' call
3116
+ tmp$ret$4 = element_0.x1();
3117
+ var baseClass = tmp$ret$4;
3118
+ var tmp$ret$5;
3119
+ // Inline function 'kotlin.collections.component2' call
3120
+ tmp$ret$5 = element_0.z1();
3121
+ var classMap = tmp$ret$5;
3122
+ // Inline function 'kotlin.collections.forEach' call
3123
+ var tmp$ret$6;
3124
+ // Inline function 'kotlin.collections.iterator' call
3125
+ tmp$ret$6 = classMap.a1().f();
3126
+ var tmp0_iterator_1 = tmp$ret$6;
3127
+ while (tmp0_iterator_1.g()) {
3128
+ var element_1 = tmp0_iterator_1.h();
3129
+ // Inline function 'kotlinx.serialization.modules.SerialModuleImpl.dumpTo.<anonymous>.<anonymous>' call
3130
+ var tmp$ret$7;
3131
+ // Inline function 'kotlin.collections.component1' call
3132
+ tmp$ret$7 = element_1.x1();
3133
+ var actualClass = tmp$ret$7;
3134
+ var tmp$ret$8;
3135
+ // Inline function 'kotlin.collections.component2' call
3136
+ tmp$ret$8 = element_1.z1();
3137
+ var serializer = tmp$ret$8;
3138
+ var tmp_1 = isInterface(baseClass, KClass) ? baseClass : THROW_CCE();
3139
+ var tmp_2 = isInterface(actualClass, KClass) ? actualClass : THROW_CCE();
3140
+ var tmp$ret$9;
3141
+ // Inline function 'kotlinx.serialization.internal.cast' call
3142
+ tmp$ret$9 = isInterface(serializer, KSerializer) ? serializer : THROW_CCE();
3143
+ collector.t1p(tmp_1, tmp_2, tmp$ret$9);
3144
+ }
3145
+ }
3146
+ // Inline function 'kotlin.collections.forEach' call
3147
+ var tmp2_forEach = this.l1p_1;
3148
+ var tmp$ret$10;
3149
+ // Inline function 'kotlin.collections.iterator' call
3150
+ tmp$ret$10 = tmp2_forEach.a1().f();
3151
+ var tmp0_iterator_2 = tmp$ret$10;
3152
+ while (tmp0_iterator_2.g()) {
3153
+ var element_2 = tmp0_iterator_2.h();
3154
+ // Inline function 'kotlinx.serialization.modules.SerialModuleImpl.dumpTo.<anonymous>' call
3155
+ var tmp$ret$11;
3156
+ // Inline function 'kotlin.collections.component1' call
3157
+ tmp$ret$11 = element_2.x1();
3158
+ var baseClass_0 = tmp$ret$11;
3159
+ var tmp$ret$12;
3160
+ // Inline function 'kotlin.collections.component2' call
3161
+ tmp$ret$12 = element_2.z1();
3162
+ var provider = tmp$ret$12;
3163
+ var tmp_3 = isInterface(baseClass_0, KClass) ? baseClass_0 : THROW_CCE();
3164
+ collector.u1p(tmp_3, typeof provider === 'function' ? provider : THROW_CCE());
3165
+ }
3166
+ // Inline function 'kotlin.collections.forEach' call
3167
+ var tmp3_forEach = this.n1p_1;
3168
+ var tmp$ret$13;
3169
+ // Inline function 'kotlin.collections.iterator' call
3170
+ tmp$ret$13 = tmp3_forEach.a1().f();
3171
+ var tmp0_iterator_3 = tmp$ret$13;
3172
+ while (tmp0_iterator_3.g()) {
3173
+ var element_3 = tmp0_iterator_3.h();
3174
+ // Inline function 'kotlinx.serialization.modules.SerialModuleImpl.dumpTo.<anonymous>' call
3175
+ var tmp$ret$14;
3176
+ // Inline function 'kotlin.collections.component1' call
3177
+ tmp$ret$14 = element_3.x1();
3178
+ var baseClass_1 = tmp$ret$14;
3179
+ var tmp$ret$15;
3180
+ // Inline function 'kotlin.collections.component2' call
3181
+ tmp$ret$15 = element_3.z1();
3182
+ var provider_0 = tmp$ret$15;
3183
+ var tmp_4 = isInterface(baseClass_1, KClass) ? baseClass_1 : THROW_CCE();
3184
+ collector.v1p(tmp_4, typeof provider_0 === 'function' ? provider_0 : THROW_CCE());
3185
+ }
3186
+ };
3187
+ SerialModuleImpl.$metadata$ = classMeta('SerialModuleImpl', undefined, undefined, undefined, undefined, SerializersModule.prototype);
3188
+ function Argless(serializer) {
3189
+ ContextualProvider.call(this);
3190
+ this.r1p_1 = serializer;
3191
+ }
3192
+ Argless.prototype.w1p = function () {
3193
+ return this.r1p_1;
3194
+ };
3195
+ Argless.prototype.o1p = function (typeArgumentsSerializers) {
3196
+ return this.r1p_1;
3197
+ };
3198
+ Argless.prototype.equals = function (other) {
3199
+ var tmp;
3200
+ if (other instanceof Argless) {
3201
+ tmp = equals(other.r1p_1, this.r1p_1);
3202
+ } else {
3203
+ tmp = false;
3204
+ }
3205
+ return tmp;
3206
+ };
3207
+ Argless.prototype.hashCode = function () {
3208
+ return hashCode(this.r1p_1);
3209
+ };
3210
+ Argless.$metadata$ = classMeta('Argless', undefined, undefined, undefined, undefined, ContextualProvider.prototype);
3211
+ function WithTypeArguments(provider) {
3212
+ ContextualProvider.call(this);
3213
+ this.p1p_1 = provider;
3214
+ }
3215
+ WithTypeArguments.prototype.x1p = function () {
3216
+ return this.p1p_1;
3217
+ };
3218
+ WithTypeArguments.prototype.o1p = function (typeArgumentsSerializers) {
3219
+ return this.p1p_1(typeArgumentsSerializers);
3220
+ };
3221
+ WithTypeArguments.$metadata$ = classMeta('WithTypeArguments', undefined, undefined, undefined, undefined, ContextualProvider.prototype);
3222
+ function ContextualProvider() {
3223
+ }
3224
+ ContextualProvider.$metadata$ = classMeta('ContextualProvider');
3225
+ var properties_initialized_SerializersModule_kt_fjigjn;
3226
+ function init_properties_SerializersModule_kt_swldyf() {
3227
+ if (properties_initialized_SerializersModule_kt_fjigjn) {
3228
+ } else {
3229
+ properties_initialized_SerializersModule_kt_fjigjn = true;
3230
+ EmptySerializersModule = new SerialModuleImpl(emptyMap(), emptyMap(), emptyMap(), emptyMap(), emptyMap());
3231
+ }
3232
+ }
3233
+ function EmptySerializersModule_0() {
3234
+ return get_EmptySerializersModuleLegacyJs();
3235
+ }
3236
+ function SerializersModule_0(builderAction) {
3237
+ var builder = new SerializersModuleBuilder();
3238
+ builderAction(builder);
3239
+ return builder.y1p();
3240
+ }
3241
+ function SerializersModuleBuilder() {
3242
+ var tmp = this;
3243
+ var tmp$ret$0;
3244
+ // Inline function 'kotlin.collections.hashMapOf' call
3245
+ tmp$ret$0 = HashMap_init_$Create$();
3246
+ tmp.a1p_1 = tmp$ret$0;
3247
+ var tmp_0 = this;
3248
+ var tmp$ret$1;
3249
+ // Inline function 'kotlin.collections.hashMapOf' call
3250
+ tmp$ret$1 = HashMap_init_$Create$();
3251
+ tmp_0.b1p_1 = tmp$ret$1;
3252
+ var tmp_1 = this;
3253
+ var tmp$ret$2;
3254
+ // Inline function 'kotlin.collections.hashMapOf' call
3255
+ tmp$ret$2 = HashMap_init_$Create$();
3256
+ tmp_1.c1p_1 = tmp$ret$2;
3257
+ var tmp_2 = this;
3258
+ var tmp$ret$3;
3259
+ // Inline function 'kotlin.collections.hashMapOf' call
3260
+ tmp$ret$3 = HashMap_init_$Create$();
3261
+ tmp_2.d1p_1 = tmp$ret$3;
3262
+ var tmp_3 = this;
3263
+ var tmp$ret$4;
3264
+ // Inline function 'kotlin.collections.hashMapOf' call
3265
+ tmp$ret$4 = HashMap_init_$Create$();
3266
+ tmp_3.e1p_1 = tmp$ret$4;
3267
+ }
3268
+ SerializersModuleBuilder.prototype.s1p = function (kClass, serializer) {
3269
+ var tmp = new Argless(serializer);
3270
+ return this.z1p(kClass, tmp, false, 4, null);
3271
+ };
3272
+ SerializersModuleBuilder.prototype.q1p = function (kClass, provider) {
3273
+ var tmp = new WithTypeArguments(provider);
3274
+ return this.z1p(kClass, tmp, false, 4, null);
3275
+ };
3276
+ SerializersModuleBuilder.prototype.t1p = function (baseClass, actualClass, actualSerializer) {
3277
+ this.f1p(baseClass, actualClass, actualSerializer, false, 8, null);
3278
+ };
3279
+ SerializersModuleBuilder.prototype.u1p = function (baseClass, defaultSerializerProvider) {
3280
+ this.g1p(baseClass, defaultSerializerProvider, false);
3281
+ };
3282
+ SerializersModuleBuilder.prototype.v1p = function (baseClass, defaultDeserializerProvider) {
3283
+ this.h1p(baseClass, defaultDeserializerProvider, false);
3284
+ };
3285
+ SerializersModuleBuilder.prototype.a1q = function (forClass, provider, allowOverwrite) {
3286
+ if (!allowOverwrite) {
3287
+ var previous = this.a1p_1.n(forClass);
3288
+ if (!(previous == null) ? !equals(previous, provider) : false) {
3289
+ throw new SerializerAlreadyRegisteredException('Contextual serializer or serializer provider for ' + forClass + ' already registered in this module');
3290
+ }
3291
+ }
3292
+ // Inline function 'kotlin.collections.set' call
3293
+ var tmp0_set = this.a1p_1;
3294
+ tmp0_set.o(forClass, provider);
3295
+ };
3296
+ SerializersModuleBuilder.prototype.z1p = function (forClass, provider, allowOverwrite, $mask0, $handler) {
3297
+ if (!(($mask0 & 4) === 0))
3298
+ allowOverwrite = false;
3299
+ return this.a1q(forClass, provider, allowOverwrite);
3300
+ };
3301
+ SerializersModuleBuilder.prototype.g1p = function (baseClass, defaultSerializerProvider, allowOverwrite) {
3302
+ var previous = this.c1p_1.n(baseClass);
3303
+ if ((!(previous == null) ? !equals(previous, defaultSerializerProvider) : false) ? !allowOverwrite : false) {
3304
+ throw IllegalArgumentException_init_$Create$('Default serializers provider for ' + baseClass + ' is already registered: ' + previous);
3305
+ }
3306
+ // Inline function 'kotlin.collections.set' call
3307
+ var tmp0_set = this.c1p_1;
3308
+ tmp0_set.o(baseClass, defaultSerializerProvider);
3309
+ };
3310
+ SerializersModuleBuilder.prototype.h1p = function (baseClass, defaultDeserializerProvider, allowOverwrite) {
3311
+ var previous = this.e1p_1.n(baseClass);
3312
+ if ((!(previous == null) ? !equals(previous, defaultDeserializerProvider) : false) ? !allowOverwrite : false) {
3313
+ throw IllegalArgumentException_init_$Create$('Default deserializers provider for ' + baseClass + ' is already registered: ' + previous);
3314
+ }
3315
+ // Inline function 'kotlin.collections.set' call
3316
+ var tmp0_set = this.e1p_1;
3317
+ tmp0_set.o(baseClass, defaultDeserializerProvider);
3318
+ };
3319
+ SerializersModuleBuilder.prototype.b1q = function (baseClass, concreteClass, concreteSerializer, allowOverwrite) {
3320
+ var name = concreteSerializer.x1h().p1i();
3321
+ var tmp$ret$1;
3322
+ // Inline function 'kotlin.collections.getOrPut' call
3323
+ var tmp0_getOrPut = this.b1p_1;
3324
+ var value = tmp0_getOrPut.n(baseClass);
3325
+ var tmp;
3326
+ if (value == null) {
3327
+ var tmp$ret$0;
3328
+ // Inline function 'kotlin.collections.hashMapOf' call
3329
+ tmp$ret$0 = HashMap_init_$Create$();
3330
+ var answer = tmp$ret$0;
3331
+ tmp0_getOrPut.o(baseClass, answer);
3332
+ tmp = answer;
3333
+ } else {
3334
+ tmp = value;
3335
+ }
3336
+ tmp$ret$1 = tmp;
3337
+ var baseClassSerializers = tmp$ret$1;
3338
+ var previousSerializer = baseClassSerializers.n(concreteClass);
3339
+ var tmp$ret$3;
3340
+ // Inline function 'kotlin.collections.getOrPut' call
3341
+ var tmp1_getOrPut = this.d1p_1;
3342
+ var value_0 = tmp1_getOrPut.n(baseClass);
3343
+ var tmp_0;
3344
+ if (value_0 == null) {
3345
+ var tmp$ret$2;
3346
+ // Inline function 'kotlin.collections.hashMapOf' call
3347
+ tmp$ret$2 = HashMap_init_$Create$();
3348
+ var answer_0 = tmp$ret$2;
3349
+ tmp1_getOrPut.o(baseClass, answer_0);
3350
+ tmp_0 = answer_0;
3351
+ } else {
3352
+ tmp_0 = value_0;
3353
+ }
3354
+ tmp$ret$3 = tmp_0;
3355
+ var names = tmp$ret$3;
3356
+ if (allowOverwrite) {
3357
+ if (!(previousSerializer == null)) {
3358
+ names.ad(previousSerializer.x1h().p1i());
3359
+ }
3360
+ // Inline function 'kotlin.collections.set' call
3361
+ baseClassSerializers.o(concreteClass, concreteSerializer);
3362
+ // Inline function 'kotlin.collections.set' call
3363
+ names.o(name, concreteSerializer);
3364
+ return Unit_getInstance();
3365
+ }
3366
+ if (!(previousSerializer == null)) {
3367
+ if (!equals(previousSerializer, concreteSerializer)) {
3368
+ throw SerializerAlreadyRegisteredException_init_$Create$(baseClass, concreteClass);
3369
+ } else {
3370
+ names.ad(previousSerializer.x1h().p1i());
3371
+ }
3372
+ }
3373
+ var previousByName = names.n(name);
3374
+ if (!(previousByName == null)) {
3375
+ var tmp$ret$6;
3376
+ // Inline function 'kotlin.sequences.find' call
3377
+ var tmp2_find = asSequence(ensureNotNull(this.b1p_1.n(baseClass)));
3378
+ var tmp$ret$5;
3379
+ $l$block: {
3380
+ // Inline function 'kotlin.sequences.firstOrNull' call
3381
+ var tmp0_iterator = tmp2_find.f();
3382
+ while (tmp0_iterator.g()) {
3383
+ var element = tmp0_iterator.h();
3384
+ var tmp$ret$4;
3385
+ // Inline function 'kotlinx.serialization.modules.SerializersModuleBuilder.registerPolymorphicSerializer.<anonymous>' call
3386
+ tmp$ret$4 = element.z1() === previousByName;
3387
+ if (tmp$ret$4) {
3388
+ tmp$ret$5 = element;
3389
+ break $l$block;
3390
+ }
3391
+ }
3392
+ tmp$ret$5 = null;
3393
+ }
3394
+ tmp$ret$6 = tmp$ret$5;
3395
+ var conflictingClass = tmp$ret$6;
3396
+ throw IllegalArgumentException_init_$Create$("Multiple polymorphic serializers for base class '" + baseClass + "' " + ("have the same serial name '" + name + "': '" + concreteClass + "' and '" + conflictingClass + "'"));
3397
+ }
3398
+ // Inline function 'kotlin.collections.set' call
3399
+ baseClassSerializers.o(concreteClass, concreteSerializer);
3400
+ // Inline function 'kotlin.collections.set' call
3401
+ names.o(name, concreteSerializer);
3402
+ };
3403
+ SerializersModuleBuilder.prototype.f1p = function (baseClass, concreteClass, concreteSerializer, allowOverwrite, $mask0, $handler) {
3404
+ if (!(($mask0 & 8) === 0))
3405
+ allowOverwrite = false;
3406
+ return this.b1q(baseClass, concreteClass, concreteSerializer, allowOverwrite);
3407
+ };
3408
+ SerializersModuleBuilder.prototype.y1p = function () {
3409
+ return new SerialModuleImpl(this.a1p_1, this.b1p_1, this.c1p_1, this.d1p_1, this.e1p_1);
3410
+ };
3411
+ SerializersModuleBuilder.$metadata$ = classMeta('SerializersModuleBuilder', [SerializersModuleCollector]);
3412
+ function polymorphic(_this__u8e3s4, baseClass, baseSerializer, builderAction) {
3413
+ var builder = new PolymorphicModuleBuilder(baseClass, baseSerializer);
3414
+ builderAction(builder);
3415
+ builder.z1o(_this__u8e3s4);
3416
+ }
3417
+ function SerializerAlreadyRegisteredException_init_$Init$(baseClass, concreteClass, $this) {
3418
+ SerializerAlreadyRegisteredException.call($this, 'Serializer for ' + concreteClass + ' already registered in the scope of ' + baseClass);
3419
+ return $this;
3420
+ }
3421
+ function SerializerAlreadyRegisteredException_init_$Create$(baseClass, concreteClass) {
3422
+ var tmp = SerializerAlreadyRegisteredException_init_$Init$(baseClass, concreteClass, Object.create(SerializerAlreadyRegisteredException.prototype));
3423
+ captureStack(tmp, SerializerAlreadyRegisteredException_init_$Create$);
3424
+ return tmp;
3425
+ }
3426
+ function SerializerAlreadyRegisteredException(msg) {
3427
+ IllegalArgumentException_init_$Init$(msg, this);
3428
+ captureStack(this, SerializerAlreadyRegisteredException);
3429
+ }
3430
+ SerializerAlreadyRegisteredException.$metadata$ = classMeta('SerializerAlreadyRegisteredException', undefined, undefined, undefined, undefined, IllegalArgumentException.prototype);
3431
+ function SerializersModuleCollector$contextual$lambda($serializer) {
3432
+ return function (it) {
3433
+ return $serializer;
3434
+ };
3435
+ }
3436
+ function SerializersModuleCollector() {
3437
+ }
3438
+ SerializersModuleCollector.$metadata$ = interfaceMeta('SerializersModuleCollector');
3439
+ function SerializableWith(serializer) {
3440
+ this.c1q_1 = serializer;
3441
+ }
3442
+ SerializableWith.prototype.equals = function (other) {
3443
+ if (!(other instanceof SerializableWith))
3444
+ return false;
3445
+ var tmp0_other_with_cast = other instanceof SerializableWith ? other : THROW_CCE();
3446
+ if (!this.c1q_1.equals(tmp0_other_with_cast.c1q_1))
3447
+ return false;
3448
+ return true;
3449
+ };
3450
+ SerializableWith.prototype.hashCode = function () {
3451
+ return imul(getStringHashCode('serializer'), 127) ^ this.c1q_1.hashCode();
3452
+ };
3453
+ SerializableWith.prototype.toString = function () {
3454
+ return '@kotlinx.serialization.SerializableWith(serializer=' + this.c1q_1 + ')';
3455
+ };
3456
+ SerializableWith.$metadata$ = classMeta('SerializableWith', [Annotation], 0);
3457
+ function createCache(factory) {
3458
+ return new createCache$1(factory);
3459
+ }
3460
+ function createParametrizedCache(factory) {
3461
+ return new createParametrizedCache$1(factory);
3462
+ }
3463
+ function compiledSerializerImpl(_this__u8e3s4) {
3464
+ var tmp1_elvis_lhs = constructSerializerForGivenTypeArgs(_this__u8e3s4, []);
3465
+ var tmp;
3466
+ if (tmp1_elvis_lhs == null) {
3467
+ var tmp$ret$0;
3468
+ // Inline function 'kotlin.js.asDynamic' call
3469
+ var tmp0_asDynamic = get_js(_this__u8e3s4);
3470
+ tmp$ret$0 = tmp0_asDynamic;
3471
+ var tmp0_safe_receiver = tmp$ret$0.Companion;
3472
+ var tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.serializer();
3473
+ tmp = (!(tmp_0 == null) ? isInterface(tmp_0, KSerializer) : false) ? tmp_0 : null;
3474
+ } else {
3475
+ tmp = tmp1_elvis_lhs;
3476
+ }
3477
+ return tmp;
3478
+ }
3479
+ function platformSpecificSerializerNotRegistered(_this__u8e3s4) {
3480
+ throw SerializationException_init_$Create$("Serializer for class '" + _this__u8e3s4.ye() + "' is not found.\n" + 'Mark the class as @Serializable or provide the serializer explicitly.\n' + 'On Kotlin/JS explicitly declared serializer should be used for interfaces and enums without @Serializable annotation');
3481
+ }
3482
+ function isReferenceArray(rootClass) {
3483
+ return rootClass.equals(PrimitiveClasses_getInstance().rg());
3484
+ }
3485
+ function constructSerializerForGivenTypeArgs(_this__u8e3s4, args) {
3486
+ var tmp;
3487
+ try {
3488
+ var tmp$ret$0;
3489
+ // Inline function 'kotlin.reflect.findAssociatedObject' call
3490
+ tmp$ret$0 = findAssociatedObject(_this__u8e3s4, getKClass(SerializableWith));
3491
+ var assocObject = tmp$ret$0;
3492
+ var tmp_0;
3493
+ if (!(assocObject == null) ? isInterface(assocObject, KSerializer) : false) {
3494
+ tmp_0 = (!(assocObject == null) ? isInterface(assocObject, KSerializer) : false) ? assocObject : THROW_CCE();
3495
+ } else {
3496
+ if (!(assocObject == null) ? isInterface(assocObject, SerializerFactory) : false) {
3497
+ var tmp_1 = assocObject.q1n(args.slice());
3498
+ tmp_0 = isInterface(tmp_1, KSerializer) ? tmp_1 : THROW_CCE();
3499
+ } else {
3500
+ if (get_isInterface(_this__u8e3s4)) {
3501
+ tmp_0 = new PolymorphicSerializer(_this__u8e3s4);
3502
+ } else {
3503
+ tmp_0 = null;
3504
+ }
3505
+ }
3506
+ }
3507
+ tmp = tmp_0;
3508
+ } catch ($p) {
3509
+ var tmp_2;
3510
+ {
3511
+ tmp_2 = null;
3512
+ }
3513
+ tmp = tmp_2;
3514
+ }
3515
+ return tmp;
3516
+ }
3517
+ function get_isInterface(_this__u8e3s4) {
3518
+ var tmp$ret$0;
3519
+ // Inline function 'kotlin.js.asDynamic' call
3520
+ var tmp0_asDynamic = get_js(_this__u8e3s4);
3521
+ tmp$ret$0 = tmp0_asDynamic;
3522
+ var tmp0_safe_receiver = tmp$ret$0.$metadata$;
3523
+ return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.kind) == 'interface';
3524
+ }
3525
+ function getChecked(_this__u8e3s4, index) {
3526
+ if (!(0 <= index ? index <= (_this__u8e3s4.length - 1 | 0) : false))
3527
+ throw IndexOutOfBoundsException_init_$Create$('Index ' + index + ' out of bounds ' + get_indices(_this__u8e3s4));
3528
+ return _this__u8e3s4[index];
3529
+ }
3530
+ function createCache$1($factory) {
3531
+ this.d1q_1 = $factory;
3532
+ }
3533
+ createCache$1.prototype.v1i = function (key) {
3534
+ return this.d1q_1(key);
3535
+ };
3536
+ createCache$1.$metadata$ = classMeta(undefined, [SerializerCache]);
3537
+ function createParametrizedCache$1($factory) {
3538
+ this.e1q_1 = $factory;
3539
+ }
3540
+ createParametrizedCache$1.prototype.w1i = function (key, types) {
3541
+ var tmp$ret$3;
3542
+ // Inline function 'kotlin.runCatching' call
3543
+ var tmp;
3544
+ try {
3545
+ var tmp$ret$1;
3546
+ // Inline function 'kotlin.Companion.success' call
3547
+ var tmp0_success = Companion_getInstance_6();
3548
+ var tmp$ret$0;
3549
+ // Inline function 'kotlinx.serialization.internal.<no name provided>.get.<anonymous>' call
3550
+ tmp$ret$0 = this.e1q_1(key, types);
3551
+ var tmp1_success = tmp$ret$0;
3552
+ tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
3553
+ tmp = tmp$ret$1;
3554
+ } catch ($p) {
3555
+ var tmp_0;
3556
+ if ($p instanceof Error) {
3557
+ var tmp$ret$2;
3558
+ // Inline function 'kotlin.Companion.failure' call
3559
+ var tmp2_failure = Companion_getInstance_6();
3560
+ tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure($p));
3561
+ tmp_0 = tmp$ret$2;
3562
+ } else {
3563
+ throw $p;
3564
+ }
3565
+ tmp = tmp_0;
3566
+ }
3567
+ tmp$ret$3 = tmp;
3568
+ return tmp$ret$3;
3569
+ };
3570
+ createParametrizedCache$1.$metadata$ = classMeta(undefined, [ParametrizedSerializerCache]);
3571
+ //region block: post-declaration
3572
+ SerialDescriptorImpl.prototype.x1i = get_isNullable;
3573
+ ListLikeDescriptor.prototype.x1i = get_isNullable;
3574
+ ArrayListClassDesc.prototype.x1i = get_isNullable;
3575
+ HashSetClassDesc.prototype.x1i = get_isNullable;
3576
+ LinkedHashSetClassDesc.prototype.x1i = get_isNullable;
3577
+ MapLikeDescriptor.prototype.x1i = get_isNullable;
3578
+ HashMapClassDesc.prototype.x1i = get_isNullable;
3579
+ LinkedHashMapClassDesc.prototype.x1i = get_isNullable;
3580
+ ArrayClassDesc.prototype.x1i = get_isNullable;
3581
+ PrimitiveArrayDescriptor.prototype.x1i = get_isNullable;
3582
+ PluginGeneratedSerialDescriptor.prototype.x1i = get_isNullable;
3583
+ EnumDescriptor.prototype.x1i = get_isNullable;
3584
+ InlineClassDescriptor.prototype.x1i = get_isNullable;
3585
+ InlinePrimitiveDescriptor$1.prototype.h1n = typeParametersSerializers;
3586
+ PrimitiveSerialDescriptor_0.prototype.x1i = get_isNullable;
3587
+ //endregion
3588
+ //region block: exports
3589
+ _.$_$ = _.$_$ || {};
3590
+ _.$_$.a = ObjectSerializer_init_$Create$;
3591
+ _.$_$.b = SealedClassSerializer_init_$Create$;
3592
+ _.$_$.c = STRING_getInstance;
3593
+ _.$_$.d = CONTEXTUAL_getInstance;
3594
+ _.$_$.e = LIST_getInstance;
3595
+ _.$_$.f = MAP_getInstance;
3596
+ _.$_$.g = IntSerializer_getInstance;
3597
+ _.$_$.h = StringSerializer_getInstance;
3598
+ _.$_$.i = get_nullable;
3599
+ _.$_$.j = PolymorphicKind;
3600
+ _.$_$.k = PrimitiveKind;
3601
+ _.$_$.l = PrimitiveSerialDescriptor;
3602
+ _.$_$.m = ENUM;
3603
+ _.$_$.n = ArrayListSerializer;
3604
+ _.$_$.o = typeParametersSerializers;
3605
+ _.$_$.p = GeneratedSerializer;
3606
+ _.$_$.q = LinkedHashMapSerializer;
3607
+ _.$_$.r = PluginGeneratedSerialDescriptor;
3608
+ _.$_$.s = SerializerFactory;
3609
+ _.$_$.t = createSimpleEnumSerializer;
3610
+ _.$_$.u = EmptySerializersModule_0;
3611
+ _.$_$.v = PolymorphicModuleBuilder;
3612
+ _.$_$.w = SerializersModuleBuilder;
3613
+ _.$_$.x = contextual;
3614
+ _.$_$.y = SerializersModuleCollector;
3615
+ _.$_$.z = KSerializer;
3616
+ _.$_$.a1 = StringFormat;
3617
+ _.$_$.b1 = serializer_0;
3618
+ //endregion
3619
+ return _;
3620
+ }));
3621
+
3622
+ //# sourceMappingURL=kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map