@vonage/client-sdk 0.1.4-alpha.2 → 0.1.4-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kotlin/Kermit-kermit-js-ir.js +35 -46
- package/dist/kotlin/Kermit-kermit-js-ir.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore.js +4924 -4562
- package/dist/kotlin/clientsdk-clientcore.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore_js.js +247 -247
- package/dist/kotlin/clientsdk-clientcore_js.js.map +1 -1
- package/dist/kotlin/kotlin-kotlin-stdlib-js-ir.js +353 -336
- package/dist/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +69 -69
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +71 -71
- package/package.json +1 -1
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
var toString = kotlin_kotlin.$_$.n6;
|
|
26
26
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.g1;
|
|
27
27
|
var charSequenceGet = kotlin_kotlin.$_$.g5;
|
|
28
|
-
var Char = kotlin_kotlin.$_$.
|
|
28
|
+
var Char = kotlin_kotlin.$_$.q7;
|
|
29
29
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.k1;
|
|
30
30
|
var equals = kotlin_kotlin.$_$.k5;
|
|
31
|
-
var Annotation = kotlin_kotlin.$_$.
|
|
31
|
+
var Annotation = kotlin_kotlin.$_$.p7;
|
|
32
32
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
33
33
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
34
34
|
var buildSerialDescriptor$default = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
35
35
|
var getKClassFromExpression = kotlin_kotlin.$_$.c;
|
|
36
36
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v2;
|
|
37
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
37
|
+
var THROW_CCE = kotlin_kotlin.$_$.z7;
|
|
38
38
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
39
39
|
var isInterface = kotlin_kotlin.$_$.y5;
|
|
40
40
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
var joinToString$default = kotlin_kotlin.$_$.f;
|
|
46
46
|
var Map = kotlin_kotlin.$_$.b3;
|
|
47
47
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.e;
|
|
48
|
-
var lazy = kotlin_kotlin.$_$.
|
|
48
|
+
var lazy = kotlin_kotlin.$_$.n8;
|
|
49
49
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
50
50
|
var getStringHashCode = kotlin_kotlin.$_$.o5;
|
|
51
51
|
var List = kotlin_kotlin.$_$.z2;
|
|
52
|
-
var toInt = kotlin_kotlin.$_$.
|
|
53
|
-
var toLong = kotlin_kotlin.$_$.
|
|
54
|
-
var toDouble = kotlin_kotlin.$_$.
|
|
55
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
56
|
-
var toDoubleOrNull = kotlin_kotlin.$_$.
|
|
52
|
+
var toInt = kotlin_kotlin.$_$.g7;
|
|
53
|
+
var toLong = kotlin_kotlin.$_$.i7;
|
|
54
|
+
var toDouble = kotlin_kotlin.$_$.e7;
|
|
55
|
+
var toLongOrNull = kotlin_kotlin.$_$.h7;
|
|
56
|
+
var toDoubleOrNull = kotlin_kotlin.$_$.d7;
|
|
57
57
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
58
58
|
var StringCompanionObject_getInstance = kotlin_kotlin.$_$.g2;
|
|
59
59
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
64
64
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
65
65
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
66
|
-
var toULongOrNull = kotlin_kotlin.$_$.
|
|
66
|
+
var toULongOrNull = kotlin_kotlin.$_$.l7;
|
|
67
67
|
var Companion_getInstance = kotlin_kotlin.$_$.n2;
|
|
68
68
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
69
69
|
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.v1;
|
|
70
|
-
var ULong = kotlin_kotlin.$_$.
|
|
70
|
+
var ULong = kotlin_kotlin.$_$.e8;
|
|
71
71
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
72
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
72
|
+
var lazy_0 = kotlin_kotlin.$_$.o8;
|
|
73
73
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
74
74
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
75
75
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
@@ -98,14 +98,14 @@
|
|
|
98
98
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
99
99
|
var singleOrNull = kotlin_kotlin.$_$.p4;
|
|
100
100
|
var arrayIterator = kotlin_kotlin.$_$.c5;
|
|
101
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
101
|
+
var ensureNotNull = kotlin_kotlin.$_$.j8;
|
|
102
102
|
var emptyMap = kotlin_kotlin.$_$.v3;
|
|
103
103
|
var getValue = kotlin_kotlin.$_$.y3;
|
|
104
|
-
var DeepRecursiveFunction = kotlin_kotlin.$_$.
|
|
105
|
-
var invoke = kotlin_kotlin.$_$.
|
|
104
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.r7;
|
|
105
|
+
var invoke = kotlin_kotlin.$_$.k8;
|
|
106
106
|
var CoroutineImpl = kotlin_kotlin.$_$.y4;
|
|
107
|
-
var DeepRecursiveScope = kotlin_kotlin.$_$.
|
|
108
|
-
var Unit = kotlin_kotlin.$_$.
|
|
107
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.s7;
|
|
108
|
+
var Unit = kotlin_kotlin.$_$.g8;
|
|
109
109
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x4;
|
|
110
110
|
var SuspendFunction2 = kotlin_kotlin.$_$.z4;
|
|
111
111
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
|
|
@@ -124,18 +124,18 @@
|
|
|
124
124
|
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
125
125
|
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
126
126
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
127
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
128
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
129
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
127
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.w7;
|
|
128
|
+
var isFinite = kotlin_kotlin.$_$.m8;
|
|
129
|
+
var isFinite_0 = kotlin_kotlin.$_$.l8;
|
|
130
130
|
var decodeSequentially = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
131
131
|
var decodeCollectionSize = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
132
132
|
var decodeSerializableElement$default = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
|
|
133
|
-
var toUInt = kotlin_kotlin.$_$.
|
|
133
|
+
var toUInt = kotlin_kotlin.$_$.k7;
|
|
134
134
|
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.s1;
|
|
135
|
-
var toULong = kotlin_kotlin.$_$.
|
|
136
|
-
var toUByte = kotlin_kotlin.$_$.
|
|
135
|
+
var toULong = kotlin_kotlin.$_$.m7;
|
|
136
|
+
var toUByte = kotlin_kotlin.$_$.j7;
|
|
137
137
|
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.p1;
|
|
138
|
-
var toUShort = kotlin_kotlin.$_$.
|
|
138
|
+
var toUShort = kotlin_kotlin.$_$.n7;
|
|
139
139
|
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.y1;
|
|
140
140
|
var decodeSerializableValue = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
141
141
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.m1;
|
|
155
155
|
var equals_0 = kotlin_kotlin.$_$.w6;
|
|
156
156
|
var toByte = kotlin_kotlin.$_$.k6;
|
|
157
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
157
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.p8;
|
|
158
158
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
159
159
|
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.e1;
|
|
160
160
|
var ByteCompanionObject_getInstance = kotlin_kotlin.$_$.b2;
|
|
@@ -164,16 +164,16 @@
|
|
|
164
164
|
var emptySet = kotlin_kotlin.$_$.w3;
|
|
165
165
|
var plus = kotlin_kotlin.$_$.l4;
|
|
166
166
|
var toList = kotlin_kotlin.$_$.s4;
|
|
167
|
-
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.
|
|
167
|
+
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.r8;
|
|
168
168
|
var encodeSerializableValue = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v1;
|
|
169
169
|
var shouldEncodeElementDefault = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
170
170
|
var NamedValueEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
171
|
-
var Enum = kotlin_kotlin.$_$.
|
|
171
|
+
var Enum = kotlin_kotlin.$_$.t7;
|
|
172
172
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
173
173
|
var last = kotlin_kotlin.$_$.f4;
|
|
174
174
|
var removeLast = kotlin_kotlin.$_$.m4;
|
|
175
175
|
var lastIndexOf$default = kotlin_kotlin.$_$.h;
|
|
176
|
-
var Long = kotlin_kotlin.$_$.
|
|
176
|
+
var Long = kotlin_kotlin.$_$.x7;
|
|
177
177
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.l1;
|
|
178
178
|
var Companion_getInstance_4 = kotlin_kotlin.$_$.k2;
|
|
179
179
|
var charArray = kotlin_kotlin.$_$.f5;
|
|
@@ -521,11 +521,11 @@
|
|
|
521
521
|
function JsonObject$toString$lambda(_name_for_destructuring_parameter_0__wldtmu) {
|
|
522
522
|
var tmp$ret$0;
|
|
523
523
|
// Inline function 'kotlin.collections.component1' call
|
|
524
|
-
tmp$ret$0 = _name_for_destructuring_parameter_0__wldtmu.
|
|
524
|
+
tmp$ret$0 = _name_for_destructuring_parameter_0__wldtmu.p1();
|
|
525
525
|
var k = tmp$ret$0;
|
|
526
526
|
var tmp$ret$1;
|
|
527
527
|
// Inline function 'kotlin.collections.component2' call
|
|
528
|
-
tmp$ret$1 = _name_for_destructuring_parameter_0__wldtmu.
|
|
528
|
+
tmp$ret$1 = _name_for_destructuring_parameter_0__wldtmu.r1();
|
|
529
529
|
var v = tmp$ret$1;
|
|
530
530
|
var tmp$ret$3;
|
|
531
531
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -548,17 +548,17 @@
|
|
|
548
548
|
this.p10_1 = content;
|
|
549
549
|
}
|
|
550
550
|
JsonObject.prototype.q10 = function (key) {
|
|
551
|
-
return this.p10_1.
|
|
551
|
+
return this.p10_1.z1(key);
|
|
552
552
|
};
|
|
553
|
-
JsonObject.prototype.
|
|
553
|
+
JsonObject.prototype.z1 = function (key) {
|
|
554
554
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
555
555
|
return false;
|
|
556
556
|
return this.q10((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
557
557
|
};
|
|
558
558
|
JsonObject.prototype.r10 = function (key) {
|
|
559
|
-
return this.p10_1.
|
|
559
|
+
return this.p10_1.f2(key);
|
|
560
560
|
};
|
|
561
|
-
JsonObject.prototype.
|
|
561
|
+
JsonObject.prototype.f2 = function (key) {
|
|
562
562
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
563
563
|
return null;
|
|
564
564
|
return this.r10((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
@@ -569,14 +569,14 @@
|
|
|
569
569
|
JsonObject.prototype.q = function () {
|
|
570
570
|
return this.p10_1.q();
|
|
571
571
|
};
|
|
572
|
-
JsonObject.prototype.
|
|
573
|
-
return this.p10_1.
|
|
572
|
+
JsonObject.prototype.g2 = function () {
|
|
573
|
+
return this.p10_1.g2();
|
|
574
574
|
};
|
|
575
575
|
JsonObject.prototype.f = function () {
|
|
576
576
|
return this.p10_1.f();
|
|
577
577
|
};
|
|
578
|
-
JsonObject.prototype.
|
|
579
|
-
return this.p10_1.
|
|
578
|
+
JsonObject.prototype.h2 = function () {
|
|
579
|
+
return this.p10_1.h2();
|
|
580
580
|
};
|
|
581
581
|
JsonObject.prototype.equals = function (other) {
|
|
582
582
|
return equals(this.p10_1, other);
|
|
@@ -604,7 +604,7 @@
|
|
|
604
604
|
return this.s10_1;
|
|
605
605
|
};
|
|
606
606
|
JsonNull.prototype.v10 = function () {
|
|
607
|
-
return this.t10_1.
|
|
607
|
+
return this.t10_1.r1();
|
|
608
608
|
};
|
|
609
609
|
JsonNull.prototype.or = function (typeParamsSerializers) {
|
|
610
610
|
return this.v10();
|
|
@@ -714,9 +714,9 @@
|
|
|
714
714
|
this.y10_1 = content;
|
|
715
715
|
}
|
|
716
716
|
JsonArray.prototype.z10 = function (elements) {
|
|
717
|
-
return this.y10_1.
|
|
717
|
+
return this.y10_1.i1(elements);
|
|
718
718
|
};
|
|
719
|
-
JsonArray.prototype.
|
|
719
|
+
JsonArray.prototype.i1 = function (elements) {
|
|
720
720
|
return this.z10(elements);
|
|
721
721
|
};
|
|
722
722
|
JsonArray.prototype.k = function (index) {
|
|
@@ -1217,7 +1217,7 @@
|
|
|
1217
1217
|
var tmp$ret$0;
|
|
1218
1218
|
// Inline function 'kotlin.getValue' call
|
|
1219
1219
|
var tmp0_getValue = original$factory();
|
|
1220
|
-
tmp$ret$0 = $this.s11_1.
|
|
1220
|
+
tmp$ret$0 = $this.s11_1.r1();
|
|
1221
1221
|
return tmp$ret$0;
|
|
1222
1222
|
}
|
|
1223
1223
|
function defer$1($deferred) {
|
|
@@ -1506,7 +1506,7 @@
|
|
|
1506
1506
|
var tmp = get_schemaCache(json);
|
|
1507
1507
|
var tmp_0 = get_JsonAlternativeNamesKey();
|
|
1508
1508
|
var alternativeNamesMap = tmp.v12(_this__u8e3s4, tmp_0, buildAlternativeNamesMap$ref(_this__u8e3s4));
|
|
1509
|
-
var tmp0_elvis_lhs = alternativeNamesMap.
|
|
1509
|
+
var tmp0_elvis_lhs = alternativeNamesMap.f2(name);
|
|
1510
1510
|
var tmp_1;
|
|
1511
1511
|
if (tmp0_elvis_lhs == null) {
|
|
1512
1512
|
Companion_getInstance_0();
|
|
@@ -1573,7 +1573,7 @@
|
|
|
1573
1573
|
// Inline function 'kotlin.collections.contains' call
|
|
1574
1574
|
var tmp$ret$0;
|
|
1575
1575
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1576
|
-
tmp$ret$0 = (isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).
|
|
1576
|
+
tmp$ret$0 = (isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).z1(name);
|
|
1577
1577
|
tmp$ret$1 = tmp$ret$0;
|
|
1578
1578
|
if (tmp$ret$1) {
|
|
1579
1579
|
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildAlternativeNamesMap.qh(index) + ' is already one of the names for property ' + ($this_buildAlternativeNamesMap.qh(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildAlternativeNamesMap));
|
|
@@ -1941,7 +1941,7 @@
|
|
|
1941
1941
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
1942
1942
|
if (!(serializer instanceof SealedClassSerializer))
|
|
1943
1943
|
return Unit_getInstance();
|
|
1944
|
-
if (jsonCachedSerialNames(actualSerializer.zf()).
|
|
1944
|
+
if (jsonCachedSerialNames(actualSerializer.zf()).h1(classDiscriminator)) {
|
|
1945
1945
|
var baseName = serializer.zf().wg();
|
|
1946
1946
|
var actualName = actualSerializer.zf().wg();
|
|
1947
1947
|
// Inline function 'kotlin.error' call
|
|
@@ -2040,7 +2040,7 @@
|
|
|
2040
2040
|
var tmp$ret$1;
|
|
2041
2041
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2042
2042
|
var tmp0_getOrPut = this.u12_1;
|
|
2043
|
-
var value_0 = tmp0_getOrPut.
|
|
2043
|
+
var value_0 = tmp0_getOrPut.f2(descriptor);
|
|
2044
2044
|
var tmp;
|
|
2045
2045
|
if (value_0 == null) {
|
|
2046
2046
|
var tmp$ret$0;
|
|
@@ -2073,12 +2073,12 @@
|
|
|
2073
2073
|
return value;
|
|
2074
2074
|
};
|
|
2075
2075
|
DescriptorSchemaCache.prototype.o14 = function (descriptor, key) {
|
|
2076
|
-
var tmp0_safe_receiver = this.u12_1.
|
|
2076
|
+
var tmp0_safe_receiver = this.u12_1.f2(descriptor);
|
|
2077
2077
|
var tmp;
|
|
2078
2078
|
if (tmp0_safe_receiver == null) {
|
|
2079
2079
|
tmp = null;
|
|
2080
2080
|
} else {
|
|
2081
|
-
tmp = tmp0_safe_receiver.
|
|
2081
|
+
tmp = tmp0_safe_receiver.f2(key instanceof Key ? key : THROW_CCE());
|
|
2082
2082
|
}
|
|
2083
2083
|
var tmp_0 = tmp;
|
|
2084
2084
|
return isObject(tmp_0) ? tmp_0 : null;
|
|
@@ -2304,7 +2304,7 @@
|
|
|
2304
2304
|
this.az_1.p14(newMode.a15_1);
|
|
2305
2305
|
checkLeadingComma(this);
|
|
2306
2306
|
var tmp0_subject = newMode;
|
|
2307
|
-
var tmp0 = tmp0_subject.
|
|
2307
|
+
var tmp0 = tmp0_subject.t3_1;
|
|
2308
2308
|
var tmp;
|
|
2309
2309
|
switch (tmp0) {
|
|
2310
2310
|
case 1:
|
|
@@ -2347,7 +2347,7 @@
|
|
|
2347
2347
|
};
|
|
2348
2348
|
StreamingJsonDecoder.prototype.vj = function (descriptor) {
|
|
2349
2349
|
var tmp0_subject = this.zy_1;
|
|
2350
|
-
var tmp0 = tmp0_subject.
|
|
2350
|
+
var tmp0 = tmp0_subject.t3_1;
|
|
2351
2351
|
switch (tmp0) {
|
|
2352
2352
|
case 0:
|
|
2353
2353
|
return decodeObjectIndex(this, descriptor);
|
|
@@ -2644,7 +2644,7 @@
|
|
|
2644
2644
|
this.ty_1 = this.py_1.iy_1;
|
|
2645
2645
|
this.uy_1 = false;
|
|
2646
2646
|
this.vy_1 = null;
|
|
2647
|
-
var i = this.qy_1.
|
|
2647
|
+
var i = this.qy_1.t3_1;
|
|
2648
2648
|
if (!(this.ry_1 == null)) {
|
|
2649
2649
|
if (!(this.ry_1[i] === null) ? true : !(this.ry_1[i] === this)) {
|
|
2650
2650
|
this.ry_1[i] = this;
|
|
@@ -2699,7 +2699,7 @@
|
|
|
2699
2699
|
return this;
|
|
2700
2700
|
}
|
|
2701
2701
|
var tmp0_safe_receiver = this.ry_1;
|
|
2702
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver[newMode.
|
|
2702
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver[newMode.t3_1];
|
|
2703
2703
|
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.oy_1, this.py_1, newMode, this.ry_1) : tmp1_elvis_lhs;
|
|
2704
2704
|
};
|
|
2705
2705
|
StreamingJsonEncoder.prototype.hj = function (descriptor) {
|
|
@@ -2711,7 +2711,7 @@
|
|
|
2711
2711
|
};
|
|
2712
2712
|
StreamingJsonEncoder.prototype.xj = function (descriptor, index) {
|
|
2713
2713
|
var tmp0_subject = this.qy_1;
|
|
2714
|
-
var tmp0 = tmp0_subject.
|
|
2714
|
+
var tmp0 = tmp0_subject.t3_1;
|
|
2715
2715
|
switch (tmp0) {
|
|
2716
2716
|
case 1:
|
|
2717
2717
|
if (!this.oy_1.u11_1) {
|
|
@@ -2843,7 +2843,7 @@
|
|
|
2843
2843
|
StreamingJsonEncoder.$metadata$ = classMeta('StreamingJsonEncoder', [JsonEncoder], undefined, undefined, undefined, AbstractEncoder.prototype);
|
|
2844
2844
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
2845
2845
|
init_properties_StreamingJsonEncoder_kt_qkpchk();
|
|
2846
|
-
return _this__u8e3s4.uh() ? get_unsignedNumberDescriptors().
|
|
2846
|
+
return _this__u8e3s4.uh() ? get_unsignedNumberDescriptors().h1(_this__u8e3s4) : false;
|
|
2847
2847
|
}
|
|
2848
2848
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
2849
2849
|
function init_properties_StreamingJsonEncoder_kt_qkpchk() {
|
|
@@ -3072,7 +3072,7 @@
|
|
|
3072
3072
|
tmp = tmp$ret$1;
|
|
3073
3073
|
}
|
|
3074
3074
|
var tmp1_elvis_lhs = tmp;
|
|
3075
|
-
return tmp1_elvis_lhs == null ? $this.
|
|
3075
|
+
return tmp1_elvis_lhs == null ? $this.r1() : tmp1_elvis_lhs;
|
|
3076
3076
|
}
|
|
3077
3077
|
function unparsedPrimitive($this, primitive) {
|
|
3078
3078
|
throw JsonDecodingException_0(-1, "Failed to parse '" + primitive + "'", toString(currentObject($this)));
|
|
@@ -3096,7 +3096,7 @@
|
|
|
3096
3096
|
AbstractJsonTreeDecoder.prototype.o10 = function () {
|
|
3097
3097
|
return this.j15_1;
|
|
3098
3098
|
};
|
|
3099
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3099
|
+
AbstractJsonTreeDecoder.prototype.r1 = function () {
|
|
3100
3100
|
return this.k15_1;
|
|
3101
3101
|
};
|
|
3102
3102
|
AbstractJsonTreeDecoder.prototype.bh = function () {
|
|
@@ -3603,7 +3603,7 @@
|
|
|
3603
3603
|
this.i16_1 = 0;
|
|
3604
3604
|
this.j16_1 = false;
|
|
3605
3605
|
}
|
|
3606
|
-
JsonTreeDecoder.prototype.
|
|
3606
|
+
JsonTreeDecoder.prototype.r1 = function () {
|
|
3607
3607
|
return this.f16_1;
|
|
3608
3608
|
};
|
|
3609
3609
|
JsonTreeDecoder.prototype.vj = function (descriptor) {
|
|
@@ -3618,10 +3618,10 @@
|
|
|
3618
3618
|
var tmp_0;
|
|
3619
3619
|
var tmp$ret$1;
|
|
3620
3620
|
// Inline function 'kotlin.collections.contains' call
|
|
3621
|
-
var tmp0_contains = this.
|
|
3621
|
+
var tmp0_contains = this.r1();
|
|
3622
3622
|
var tmp$ret$0;
|
|
3623
3623
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3624
|
-
tmp$ret$0 = (isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).
|
|
3624
|
+
tmp$ret$0 = (isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).z1(name);
|
|
3625
3625
|
tmp$ret$1 = tmp$ret$0;
|
|
3626
3626
|
if (tmp$ret$1) {
|
|
3627
3627
|
tmp_0 = true;
|
|
@@ -3647,14 +3647,14 @@
|
|
|
3647
3647
|
var mainName = desc.qh(index);
|
|
3648
3648
|
if (!this.l15_1.h10_1)
|
|
3649
3649
|
return mainName;
|
|
3650
|
-
if (this.
|
|
3650
|
+
if (this.r1().g2().h1(mainName))
|
|
3651
3651
|
return mainName;
|
|
3652
3652
|
var tmp = get_schemaCache(this.o10());
|
|
3653
3653
|
var tmp_0 = get_JsonAlternativeNamesKey();
|
|
3654
3654
|
var alternativeNamesMap = tmp.v12(desc, tmp_0, buildAlternativeNamesMap$ref_0(desc));
|
|
3655
3655
|
var tmp$ret$2;
|
|
3656
3656
|
// Inline function 'kotlin.collections.find' call
|
|
3657
|
-
var tmp0_find = this.
|
|
3657
|
+
var tmp0_find = this.r1().g2();
|
|
3658
3658
|
var tmp$ret$1;
|
|
3659
3659
|
$l$block: {
|
|
3660
3660
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -3663,7 +3663,7 @@
|
|
|
3663
3663
|
var element = tmp0_iterator.i();
|
|
3664
3664
|
var tmp$ret$0;
|
|
3665
3665
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.elementName.<anonymous>' call
|
|
3666
|
-
tmp$ret$0 = alternativeNamesMap.
|
|
3666
|
+
tmp$ret$0 = alternativeNamesMap.f2(element) === index;
|
|
3667
3667
|
if (tmp$ret$0) {
|
|
3668
3668
|
tmp$ret$1 = element;
|
|
3669
3669
|
break $l$block;
|
|
@@ -3677,7 +3677,7 @@
|
|
|
3677
3677
|
return tmp0_elvis_lhs == null ? mainName : tmp0_elvis_lhs;
|
|
3678
3678
|
};
|
|
3679
3679
|
JsonTreeDecoder.prototype.m15 = function (tag) {
|
|
3680
|
-
return getValue(this.
|
|
3680
|
+
return getValue(this.r1(), tag);
|
|
3681
3681
|
};
|
|
3682
3682
|
JsonTreeDecoder.prototype.gj = function (descriptor) {
|
|
3683
3683
|
if (descriptor === this.h16_1)
|
|
@@ -3702,17 +3702,17 @@
|
|
|
3702
3702
|
var tmp$ret$0;
|
|
3703
3703
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3704
3704
|
var tmp0_safe_receiver = get_schemaCache(this.o10()).o14(descriptor, get_JsonAlternativeNamesKey());
|
|
3705
|
-
var tmp0_orEmpty = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3705
|
+
var tmp0_orEmpty = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g2();
|
|
3706
3706
|
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
3707
3707
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
3708
3708
|
tmp_1 = plus(tmp_2, tmp$ret$0);
|
|
3709
3709
|
}
|
|
3710
3710
|
var names = tmp_1;
|
|
3711
|
-
var tmp1_iterator = this.
|
|
3711
|
+
var tmp1_iterator = this.r1().g2().g();
|
|
3712
3712
|
while (tmp1_iterator.h()) {
|
|
3713
3713
|
var key = tmp1_iterator.i();
|
|
3714
|
-
if (!names.
|
|
3715
|
-
throw UnknownKeyException(key, this.
|
|
3714
|
+
if (!names.h1(key) ? !(key === this.g16_1) : false) {
|
|
3715
|
+
throw UnknownKeyException(key, this.r1().toString());
|
|
3716
3716
|
}
|
|
3717
3717
|
}
|
|
3718
3718
|
};
|
|
@@ -3723,7 +3723,7 @@
|
|
|
3723
3723
|
this.q16_1 = this.p16_1.f();
|
|
3724
3724
|
this.r16_1 = -1;
|
|
3725
3725
|
}
|
|
3726
|
-
JsonTreeListDecoder.prototype.
|
|
3726
|
+
JsonTreeListDecoder.prototype.r1 = function () {
|
|
3727
3727
|
return this.p16_1;
|
|
3728
3728
|
};
|
|
3729
3729
|
JsonTreeListDecoder.prototype.jv = function (desc, index) {
|
|
@@ -3748,7 +3748,7 @@
|
|
|
3748
3748
|
this.x16_1 = value;
|
|
3749
3749
|
this.cw(get_PRIMITIVE_TAG());
|
|
3750
3750
|
}
|
|
3751
|
-
JsonPrimitiveDecoder.prototype.
|
|
3751
|
+
JsonPrimitiveDecoder.prototype.r1 = function () {
|
|
3752
3752
|
return this.x16_1;
|
|
3753
3753
|
};
|
|
3754
3754
|
JsonPrimitiveDecoder.prototype.vj = function (descriptor) {
|
|
@@ -3771,11 +3771,11 @@
|
|
|
3771
3771
|
function JsonTreeMapDecoder(json, value) {
|
|
3772
3772
|
JsonTreeDecoder_init_$Init$(json, value, null, null, 12, null, this);
|
|
3773
3773
|
this.i17_1 = value;
|
|
3774
|
-
this.j17_1 = toList(this.i17_1.
|
|
3774
|
+
this.j17_1 = toList(this.i17_1.g2());
|
|
3775
3775
|
this.k17_1 = imul(this.j17_1.f(), 2);
|
|
3776
3776
|
this.l17_1 = -1;
|
|
3777
3777
|
}
|
|
3778
|
-
JsonTreeMapDecoder.prototype.
|
|
3778
|
+
JsonTreeMapDecoder.prototype.r1 = function () {
|
|
3779
3779
|
return this.i17_1;
|
|
3780
3780
|
};
|
|
3781
3781
|
JsonTreeMapDecoder.prototype.jv = function (desc, index) {
|