git-digger 1.8.17 → 1.8.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/clikt-clikt-mordant.js +94 -94
- package/kotlin/clikt-clikt-mordant.js.map +1 -1
- package/kotlin/clikt-clikt.js +2133 -2127
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +567 -552
- package/kotlin/colormath-root-colormath.js.map +1 -1
- package/kotlin/command-line-tools-digger-cli.js +74 -74
- package/kotlin/command-line-tools-digger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +3503 -3481
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1223 -1223
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +330 -330
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1779 -1767
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +4 -4
- package/kotlin/tools-cli-tools.js.map +1 -1
- package/kotlin/tools-digger-core.js +231 -233
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +122 -123
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +59 -61
- package/kotlin/tools-digger-model.js.map +1 -1
- package/kotlin/tools-git-adapter.js +97 -99
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,78 +2,78 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
7
|
-
var VOID = kotlin_kotlin.$_$.
|
|
8
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.c8;
|
|
6
|
+
var initMetadataForObject = kotlin_kotlin.$_$.j7;
|
|
7
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
8
|
+
var Unit_instance = kotlin_kotlin.$_$.z2;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.e7;
|
|
10
10
|
var toString = kotlin_kotlin.$_$.gc;
|
|
11
11
|
var Enum = kotlin_kotlin.$_$.bb;
|
|
12
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
12
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.n2;
|
|
13
13
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
14
14
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
15
|
-
var
|
|
16
|
-
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.
|
|
17
|
-
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.
|
|
18
|
-
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.
|
|
19
|
-
var ULong__toString_impl_f9au7k = kotlin_kotlin.$_$.
|
|
20
|
-
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.
|
|
21
|
-
var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.
|
|
22
|
-
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.
|
|
23
|
-
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.
|
|
24
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
25
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
26
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
27
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
28
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
29
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
30
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
15
|
+
var fromInt = kotlin_kotlin.$_$.n6;
|
|
16
|
+
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.s1;
|
|
17
|
+
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.u1;
|
|
18
|
+
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.x1;
|
|
19
|
+
var ULong__toString_impl_f9au7k = kotlin_kotlin.$_$.z1;
|
|
20
|
+
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.n1;
|
|
21
|
+
var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.p1;
|
|
22
|
+
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.c2;
|
|
23
|
+
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.e2;
|
|
24
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.g1;
|
|
25
|
+
var captureStack = kotlin_kotlin.$_$.r6;
|
|
26
|
+
var charSequenceLength = kotlin_kotlin.$_$.v6;
|
|
27
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.w6;
|
|
28
|
+
var toString_0 = kotlin_kotlin.$_$.e8;
|
|
29
|
+
var coerceAtLeast = kotlin_kotlin.$_$.i8;
|
|
30
|
+
var coerceAtMost = kotlin_kotlin.$_$.k8;
|
|
31
31
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
32
32
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
33
33
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
34
|
-
var equals = kotlin_kotlin.$_$.
|
|
34
|
+
var equals = kotlin_kotlin.$_$.y6;
|
|
35
35
|
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
36
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
36
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
37
37
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
38
38
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
39
39
|
var PrimitiveKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
40
40
|
var PolymorphicKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
41
41
|
var THROW_CCE = kotlin_kotlin.$_$.jb;
|
|
42
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
42
|
+
var objectCreate = kotlin_kotlin.$_$.b8;
|
|
43
43
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
44
44
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
45
45
|
var OBJECT_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
46
46
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.dc;
|
|
47
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
47
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
48
48
|
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
49
49
|
var SerializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
50
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
50
|
+
var isInterface = kotlin_kotlin.$_$.s7;
|
|
51
51
|
var isFinite = kotlin_kotlin.$_$.ac;
|
|
52
52
|
var isFinite_0 = kotlin_kotlin.$_$.zb;
|
|
53
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
53
|
+
var toString_1 = kotlin_kotlin.$_$.i1;
|
|
54
54
|
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
55
55
|
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
56
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
56
|
+
var Companion_getInstance = kotlin_kotlin.$_$.w2;
|
|
57
57
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
58
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
58
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.x2;
|
|
59
59
|
var serializer_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
60
|
-
var Companion_getInstance_1 = kotlin_kotlin.$_$.
|
|
60
|
+
var Companion_getInstance_1 = kotlin_kotlin.$_$.v2;
|
|
61
61
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
62
|
-
var Companion_getInstance_2 = kotlin_kotlin.$_$.
|
|
62
|
+
var Companion_getInstance_2 = kotlin_kotlin.$_$.y2;
|
|
63
63
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
64
|
-
var setOf = kotlin_kotlin.$_$.
|
|
65
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
66
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
67
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
68
|
-
var toByte = kotlin_kotlin.$_$.
|
|
69
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
64
|
+
var setOf = kotlin_kotlin.$_$.m5;
|
|
65
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.h1;
|
|
66
|
+
var numberToChar = kotlin_kotlin.$_$.y7;
|
|
67
|
+
var charCodeAt = kotlin_kotlin.$_$.t6;
|
|
68
|
+
var toByte = kotlin_kotlin.$_$.d8;
|
|
69
|
+
var enumEntries = kotlin_kotlin.$_$.j6;
|
|
70
70
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
71
71
|
var MAP_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
72
72
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
73
73
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
74
74
|
var CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
|
|
75
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
76
|
-
var HashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
75
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
76
|
+
var HashMap_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
77
77
|
//endregion
|
|
78
78
|
//region block: pre-declaration
|
|
79
79
|
initMetadataForClass(Json, 'Json');
|
|
@@ -105,20 +105,20 @@
|
|
|
105
105
|
}
|
|
106
106
|
function Json(configuration, serializersModule) {
|
|
107
107
|
Default_getInstance();
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
108
|
+
this.ix_1 = configuration;
|
|
109
|
+
this.jx_1 = serializersModule;
|
|
110
|
+
this.kx_1 = new DescriptorSchemaCache();
|
|
111
111
|
}
|
|
112
|
-
protoOf(Json).
|
|
113
|
-
return this.
|
|
112
|
+
protoOf(Json).fp = function () {
|
|
113
|
+
return this.jx_1;
|
|
114
114
|
};
|
|
115
|
-
protoOf(Json).
|
|
115
|
+
protoOf(Json).lx = function (serializer, value) {
|
|
116
116
|
var result = new JsonToStringWriter();
|
|
117
117
|
try {
|
|
118
118
|
encodeByWriter(this, result, serializer, value);
|
|
119
119
|
return result.toString();
|
|
120
120
|
}finally {
|
|
121
|
-
result.
|
|
121
|
+
result.nx();
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
function JsonClassDiscriminator() {
|
|
@@ -141,26 +141,26 @@
|
|
|
141
141
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
142
142
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
143
143
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
153
|
-
this.
|
|
154
|
-
this.
|
|
155
|
-
this.
|
|
156
|
-
this.
|
|
157
|
-
this.
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
144
|
+
this.ox_1 = encodeDefaults;
|
|
145
|
+
this.px_1 = ignoreUnknownKeys;
|
|
146
|
+
this.qx_1 = isLenient;
|
|
147
|
+
this.rx_1 = allowStructuredMapKeys;
|
|
148
|
+
this.sx_1 = prettyPrint;
|
|
149
|
+
this.tx_1 = explicitNulls;
|
|
150
|
+
this.ux_1 = prettyPrintIndent;
|
|
151
|
+
this.vx_1 = coerceInputValues;
|
|
152
|
+
this.wx_1 = useArrayPolymorphism;
|
|
153
|
+
this.xx_1 = classDiscriminator;
|
|
154
|
+
this.yx_1 = allowSpecialFloatingPointValues;
|
|
155
|
+
this.zx_1 = useAlternativeNames;
|
|
156
|
+
this.ay_1 = namingStrategy;
|
|
157
|
+
this.by_1 = decodeEnumsCaseInsensitive;
|
|
158
|
+
this.cy_1 = allowTrailingComma;
|
|
159
|
+
this.dy_1 = allowComments;
|
|
160
|
+
this.ey_1 = classDiscriminatorMode;
|
|
161
161
|
}
|
|
162
162
|
protoOf(JsonConfiguration).toString = function () {
|
|
163
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
163
|
+
return 'JsonConfiguration(encodeDefaults=' + this.ox_1 + ', ignoreUnknownKeys=' + this.px_1 + ', isLenient=' + this.qx_1 + ', ' + ('allowStructuredMapKeys=' + this.rx_1 + ', prettyPrint=' + this.sx_1 + ', explicitNulls=' + this.tx_1 + ', ') + ("prettyPrintIndent='" + this.ux_1 + "', coerceInputValues=" + this.vx_1 + ', useArrayPolymorphism=' + this.wx_1 + ', ') + ("classDiscriminator='" + this.xx_1 + "', allowSpecialFloatingPointValues=" + this.yx_1 + ', ') + ('useAlternativeNames=' + this.zx_1 + ', namingStrategy=' + toString(this.ay_1) + ', decodeEnumsCaseInsensitive=' + this.by_1 + ', ') + ('allowTrailingComma=' + this.cy_1 + ', allowComments=' + this.dy_1 + ', classDiscriminatorMode=' + this.ey_1.toString() + ')');
|
|
164
164
|
};
|
|
165
165
|
var ClassDiscriminatorMode_NONE_instance;
|
|
166
166
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -198,158 +198,158 @@
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
function Composer(writer) {
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
201
|
+
this.fy_1 = writer;
|
|
202
|
+
this.gy_1 = true;
|
|
203
203
|
}
|
|
204
|
-
protoOf(Composer).
|
|
205
|
-
this.
|
|
204
|
+
protoOf(Composer).hy = function () {
|
|
205
|
+
this.gy_1 = true;
|
|
206
206
|
};
|
|
207
|
-
protoOf(Composer).
|
|
207
|
+
protoOf(Composer).iy = function () {
|
|
208
208
|
return Unit_instance;
|
|
209
209
|
};
|
|
210
|
-
protoOf(Composer).
|
|
211
|
-
this.
|
|
210
|
+
protoOf(Composer).jy = function () {
|
|
211
|
+
this.gy_1 = false;
|
|
212
212
|
};
|
|
213
|
-
protoOf(Composer).
|
|
214
|
-
this.
|
|
213
|
+
protoOf(Composer).ky = function () {
|
|
214
|
+
this.gy_1 = false;
|
|
215
215
|
};
|
|
216
|
-
protoOf(Composer).
|
|
216
|
+
protoOf(Composer).ly = function () {
|
|
217
217
|
return Unit_instance;
|
|
218
218
|
};
|
|
219
|
-
protoOf(Composer).
|
|
220
|
-
return this.
|
|
219
|
+
protoOf(Composer).my = function (v) {
|
|
220
|
+
return this.fy_1.ny(v);
|
|
221
221
|
};
|
|
222
|
-
protoOf(Composer).
|
|
223
|
-
return this.
|
|
222
|
+
protoOf(Composer).oy = function (v) {
|
|
223
|
+
return this.fy_1.py(v);
|
|
224
224
|
};
|
|
225
|
-
protoOf(Composer).
|
|
226
|
-
return this.
|
|
225
|
+
protoOf(Composer).qy = function (v) {
|
|
226
|
+
return this.fy_1.py(v.toString());
|
|
227
227
|
};
|
|
228
|
-
protoOf(Composer).
|
|
229
|
-
return this.
|
|
228
|
+
protoOf(Composer).ry = function (v) {
|
|
229
|
+
return this.fy_1.py(v.toString());
|
|
230
230
|
};
|
|
231
|
-
protoOf(Composer).
|
|
232
|
-
return this.
|
|
231
|
+
protoOf(Composer).sy = function (v) {
|
|
232
|
+
return this.fy_1.ty(fromInt(v));
|
|
233
233
|
};
|
|
234
|
-
protoOf(Composer).
|
|
235
|
-
return this.
|
|
234
|
+
protoOf(Composer).uy = function (v) {
|
|
235
|
+
return this.fy_1.ty(fromInt(v));
|
|
236
236
|
};
|
|
237
|
-
protoOf(Composer).
|
|
238
|
-
return this.
|
|
237
|
+
protoOf(Composer).vy = function (v) {
|
|
238
|
+
return this.fy_1.ty(fromInt(v));
|
|
239
239
|
};
|
|
240
|
-
protoOf(Composer).
|
|
241
|
-
return this.
|
|
240
|
+
protoOf(Composer).wy = function (v) {
|
|
241
|
+
return this.fy_1.ty(v);
|
|
242
242
|
};
|
|
243
|
-
protoOf(Composer).
|
|
244
|
-
return this.
|
|
243
|
+
protoOf(Composer).xy = function (v) {
|
|
244
|
+
return this.fy_1.py(v.toString());
|
|
245
245
|
};
|
|
246
|
-
protoOf(Composer).
|
|
247
|
-
return this.
|
|
246
|
+
protoOf(Composer).yy = function (value) {
|
|
247
|
+
return this.fy_1.zy(value);
|
|
248
248
|
};
|
|
249
249
|
function Composer_0(sb, json) {
|
|
250
|
-
return json.
|
|
250
|
+
return json.ix_1.sx_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
251
251
|
}
|
|
252
252
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
253
253
|
Composer.call(this, writer);
|
|
254
|
-
this.
|
|
254
|
+
this.cz_1 = forceQuoting;
|
|
255
255
|
}
|
|
256
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
257
|
-
if (this.
|
|
256
|
+
protoOf(ComposerForUnsignedNumbers).vy = function (v) {
|
|
257
|
+
if (this.cz_1) {
|
|
258
258
|
// Inline function 'kotlin.toUInt' call
|
|
259
259
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
260
|
-
this.
|
|
260
|
+
this.yy(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
261
261
|
} else {
|
|
262
262
|
// Inline function 'kotlin.toUInt' call
|
|
263
263
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
264
|
-
this.
|
|
264
|
+
this.oy(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
268
|
-
if (this.
|
|
267
|
+
protoOf(ComposerForUnsignedNumbers).wy = function (v) {
|
|
268
|
+
if (this.cz_1) {
|
|
269
269
|
// Inline function 'kotlin.toULong' call
|
|
270
270
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
271
|
-
this.
|
|
271
|
+
this.yy(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
272
272
|
} else {
|
|
273
273
|
// Inline function 'kotlin.toULong' call
|
|
274
274
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
275
|
-
this.
|
|
275
|
+
this.oy(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
279
|
-
if (this.
|
|
278
|
+
protoOf(ComposerForUnsignedNumbers).sy = function (v) {
|
|
279
|
+
if (this.cz_1) {
|
|
280
280
|
// Inline function 'kotlin.toUByte' call
|
|
281
281
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
282
|
-
this.
|
|
282
|
+
this.yy(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
283
283
|
} else {
|
|
284
284
|
// Inline function 'kotlin.toUByte' call
|
|
285
285
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
286
|
-
this.
|
|
286
|
+
this.oy(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
290
|
-
if (this.
|
|
289
|
+
protoOf(ComposerForUnsignedNumbers).uy = function (v) {
|
|
290
|
+
if (this.cz_1) {
|
|
291
291
|
// Inline function 'kotlin.toUShort' call
|
|
292
292
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
293
|
-
this.
|
|
293
|
+
this.yy(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
294
294
|
} else {
|
|
295
295
|
// Inline function 'kotlin.toUShort' call
|
|
296
296
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
297
|
-
this.
|
|
297
|
+
this.oy(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
301
301
|
Composer.call(this, writer);
|
|
302
|
-
this.
|
|
302
|
+
this.fz_1 = forceQuoting;
|
|
303
303
|
}
|
|
304
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
305
|
-
if (this.
|
|
306
|
-
protoOf(Composer).
|
|
304
|
+
protoOf(ComposerForUnquotedLiterals).yy = function (value) {
|
|
305
|
+
if (this.fz_1) {
|
|
306
|
+
protoOf(Composer).yy.call(this, value);
|
|
307
307
|
} else {
|
|
308
|
-
protoOf(Composer).
|
|
308
|
+
protoOf(Composer).oy.call(this, value);
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
311
|
function ComposerWithPrettyPrint(writer, json) {
|
|
312
312
|
Composer.call(this, writer);
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
313
|
+
this.iz_1 = json;
|
|
314
|
+
this.jz_1 = 0;
|
|
315
315
|
}
|
|
316
|
-
protoOf(ComposerWithPrettyPrint).
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
316
|
+
protoOf(ComposerWithPrettyPrint).hy = function () {
|
|
317
|
+
this.gy_1 = true;
|
|
318
|
+
this.jz_1 = this.jz_1 + 1 | 0;
|
|
319
319
|
};
|
|
320
|
-
protoOf(ComposerWithPrettyPrint).
|
|
321
|
-
this.
|
|
320
|
+
protoOf(ComposerWithPrettyPrint).iy = function () {
|
|
321
|
+
this.jz_1 = this.jz_1 - 1 | 0;
|
|
322
322
|
};
|
|
323
|
-
protoOf(ComposerWithPrettyPrint).
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
323
|
+
protoOf(ComposerWithPrettyPrint).jy = function () {
|
|
324
|
+
this.gy_1 = false;
|
|
325
|
+
this.oy('\n');
|
|
326
326
|
// Inline function 'kotlin.repeat' call
|
|
327
|
-
var times = this.
|
|
327
|
+
var times = this.jz_1;
|
|
328
328
|
var inductionVariable = 0;
|
|
329
329
|
if (inductionVariable < times)
|
|
330
330
|
do {
|
|
331
331
|
var index = inductionVariable;
|
|
332
332
|
inductionVariable = inductionVariable + 1 | 0;
|
|
333
|
-
this.
|
|
333
|
+
this.oy(this.iz_1.ix_1.ux_1);
|
|
334
334
|
}
|
|
335
335
|
while (inductionVariable < times);
|
|
336
336
|
};
|
|
337
|
-
protoOf(ComposerWithPrettyPrint).
|
|
338
|
-
if (this.
|
|
339
|
-
this.
|
|
337
|
+
protoOf(ComposerWithPrettyPrint).ky = function () {
|
|
338
|
+
if (this.gy_1)
|
|
339
|
+
this.gy_1 = false;
|
|
340
340
|
else {
|
|
341
|
-
this.
|
|
341
|
+
this.jy();
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
|
-
protoOf(ComposerWithPrettyPrint).
|
|
345
|
-
this.
|
|
344
|
+
protoOf(ComposerWithPrettyPrint).ly = function () {
|
|
345
|
+
this.my(_Char___init__impl__6a9atx(32));
|
|
346
346
|
};
|
|
347
347
|
function JsonEncodingException(message) {
|
|
348
348
|
JsonException.call(this, message);
|
|
349
349
|
captureStack(this, JsonEncodingException);
|
|
350
350
|
}
|
|
351
351
|
function InvalidKeyKindException(keyDescriptor) {
|
|
352
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
352
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.bn() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.cn().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
353
353
|
}
|
|
354
354
|
function minify(_this__u8e3s4, offset) {
|
|
355
355
|
offset = offset === VOID ? -1 : offset;
|
|
@@ -388,28 +388,28 @@
|
|
|
388
388
|
function getJsonElementName(_this__u8e3s4, json, index) {
|
|
389
389
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
390
390
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
391
|
-
return strategy == null ? _this__u8e3s4.
|
|
391
|
+
return strategy == null ? _this__u8e3s4.gn(index) : serializationNamesIndices(_this__u8e3s4, json, strategy)[index];
|
|
392
392
|
}
|
|
393
393
|
function namingStrategy(_this__u8e3s4, json) {
|
|
394
394
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
395
|
-
return equals(_this__u8e3s4.
|
|
395
|
+
return equals(_this__u8e3s4.cn(), CLASS_getInstance()) ? json.ix_1.ay_1 : null;
|
|
396
396
|
}
|
|
397
397
|
function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
398
398
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
399
399
|
var tmp = get_schemaCache(json);
|
|
400
400
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
401
|
-
return tmp.
|
|
401
|
+
return tmp.lz(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
402
402
|
}
|
|
403
403
|
function serializationNamesIndices$lambda($this_serializationNamesIndices, $strategy) {
|
|
404
404
|
return function () {
|
|
405
405
|
var tmp = 0;
|
|
406
|
-
var tmp_0 = $this_serializationNamesIndices.
|
|
406
|
+
var tmp_0 = $this_serializationNamesIndices.en();
|
|
407
407
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
408
408
|
var tmp_1 = Array(tmp_0);
|
|
409
409
|
while (tmp < tmp_0) {
|
|
410
410
|
var tmp_2 = tmp;
|
|
411
|
-
var baseName = $this_serializationNamesIndices.
|
|
412
|
-
tmp_1[tmp_2] = $strategy.
|
|
411
|
+
var baseName = $this_serializationNamesIndices.gn(tmp_2);
|
|
412
|
+
tmp_1[tmp_2] = $strategy.mz($this_serializationNamesIndices, tmp_2, baseName);
|
|
413
413
|
tmp = tmp + 1 | 0;
|
|
414
414
|
}
|
|
415
415
|
return tmp_1;
|
|
@@ -426,26 +426,26 @@
|
|
|
426
426
|
function encodeByWriter(json, writer, serializer, value) {
|
|
427
427
|
var tmp = WriteMode_OBJ_getInstance();
|
|
428
428
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
429
|
-
var size = get_entries().
|
|
429
|
+
var size = get_entries().s();
|
|
430
430
|
var tmp$ret$0 = Array(size);
|
|
431
431
|
var encoder = StreamingJsonEncoder_init_$Create$(writer, json, tmp, tmp$ret$0);
|
|
432
|
-
encoder.
|
|
432
|
+
encoder.cp(serializer, value);
|
|
433
433
|
}
|
|
434
434
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
435
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
436
|
-
while (_iterator__ex2g4s.
|
|
437
|
-
var annotation = _iterator__ex2g4s.
|
|
435
|
+
var _iterator__ex2g4s = _this__u8e3s4.fn().o();
|
|
436
|
+
while (_iterator__ex2g4s.p()) {
|
|
437
|
+
var annotation = _iterator__ex2g4s.q();
|
|
438
438
|
if (annotation instanceof JsonClassDiscriminator)
|
|
439
|
-
return annotation.
|
|
439
|
+
return annotation.wz_1;
|
|
440
440
|
}
|
|
441
|
-
return json.
|
|
441
|
+
return json.ix_1.xx_1;
|
|
442
442
|
}
|
|
443
443
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
444
444
|
if (!(serializer instanceof SealedClassSerializer))
|
|
445
445
|
return Unit_instance;
|
|
446
|
-
if (jsonCachedSerialNames(actualSerializer.
|
|
447
|
-
var baseName = serializer.
|
|
448
|
-
var actualName = actualSerializer.
|
|
446
|
+
if (jsonCachedSerialNames(actualSerializer.am()).f1(classDiscriminator)) {
|
|
447
|
+
var baseName = serializer.am().bn();
|
|
448
|
+
var actualName = actualSerializer.am().bn();
|
|
449
449
|
// Inline function 'kotlin.error' call
|
|
450
450
|
var message = "Sealed class '" + actualName + "' cannot be serialized as base class '" + baseName + "' because" + (" it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'. ") + 'You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism';
|
|
451
451
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -474,16 +474,16 @@
|
|
|
474
474
|
function Key() {
|
|
475
475
|
}
|
|
476
476
|
function DescriptorSchemaCache() {
|
|
477
|
-
this.
|
|
477
|
+
this.kz_1 = createMapForCache(16);
|
|
478
478
|
}
|
|
479
|
-
protoOf(DescriptorSchemaCache).
|
|
479
|
+
protoOf(DescriptorSchemaCache).xz = function (descriptor, key, value) {
|
|
480
480
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
481
|
-
var this_0 = this.
|
|
482
|
-
var value_0 = this_0.
|
|
481
|
+
var this_0 = this.kz_1;
|
|
482
|
+
var value_0 = this_0.x1(descriptor);
|
|
483
483
|
var tmp;
|
|
484
484
|
if (value_0 == null) {
|
|
485
485
|
var answer = createMapForCache(2);
|
|
486
|
-
this_0.
|
|
486
|
+
this_0.e2(descriptor, answer);
|
|
487
487
|
tmp = answer;
|
|
488
488
|
} else {
|
|
489
489
|
tmp = value_0;
|
|
@@ -492,10 +492,10 @@
|
|
|
492
492
|
var tmp2 = key instanceof Key ? key : THROW_CCE();
|
|
493
493
|
// Inline function 'kotlin.collections.set' call
|
|
494
494
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
495
|
-
tmp0.
|
|
495
|
+
tmp0.e2(tmp2, value_1);
|
|
496
496
|
};
|
|
497
|
-
protoOf(DescriptorSchemaCache).
|
|
498
|
-
var tmp0_safe_receiver = this.
|
|
497
|
+
protoOf(DescriptorSchemaCache).lz = function (descriptor, key, defaultValue) {
|
|
498
|
+
var tmp0_safe_receiver = this.yz(descriptor, key);
|
|
499
499
|
if (tmp0_safe_receiver == null)
|
|
500
500
|
null;
|
|
501
501
|
else {
|
|
@@ -503,16 +503,16 @@
|
|
|
503
503
|
return tmp0_safe_receiver;
|
|
504
504
|
}
|
|
505
505
|
var value = defaultValue();
|
|
506
|
-
this.
|
|
506
|
+
this.xz(descriptor, key, value);
|
|
507
507
|
return value;
|
|
508
508
|
};
|
|
509
|
-
protoOf(DescriptorSchemaCache).
|
|
510
|
-
var tmp0_safe_receiver = this.
|
|
509
|
+
protoOf(DescriptorSchemaCache).yz = function (descriptor, key) {
|
|
510
|
+
var tmp0_safe_receiver = this.kz_1.x1(descriptor);
|
|
511
511
|
var tmp;
|
|
512
512
|
if (tmp0_safe_receiver == null) {
|
|
513
513
|
tmp = null;
|
|
514
514
|
} else {
|
|
515
|
-
tmp = tmp0_safe_receiver.
|
|
515
|
+
tmp = tmp0_safe_receiver.x1(key instanceof Key ? key : THROW_CCE());
|
|
516
516
|
}
|
|
517
517
|
var tmp_0 = tmp;
|
|
518
518
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
@@ -530,53 +530,53 @@
|
|
|
530
530
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
531
531
|
}
|
|
532
532
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
533
|
-
$this.
|
|
534
|
-
$this.
|
|
535
|
-
$this.
|
|
536
|
-
$this.
|
|
537
|
-
$this.
|
|
533
|
+
$this.nz_1.jy();
|
|
534
|
+
$this.po(discriminator);
|
|
535
|
+
$this.nz_1.my(_Char___init__impl__6a9atx(58));
|
|
536
|
+
$this.nz_1.ly();
|
|
537
|
+
$this.po(serialName);
|
|
538
538
|
}
|
|
539
539
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
540
540
|
AbstractEncoder.call(this);
|
|
541
|
-
this.
|
|
542
|
-
this.
|
|
543
|
-
this.
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
547
|
-
this.
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
550
|
-
var i = this.
|
|
551
|
-
if (!(this.
|
|
552
|
-
if (!(this.
|
|
553
|
-
this.
|
|
541
|
+
this.nz_1 = composer;
|
|
542
|
+
this.oz_1 = json;
|
|
543
|
+
this.pz_1 = mode;
|
|
544
|
+
this.qz_1 = modeReuseCache;
|
|
545
|
+
this.rz_1 = this.oz_1.fp();
|
|
546
|
+
this.sz_1 = this.oz_1.ix_1;
|
|
547
|
+
this.tz_1 = false;
|
|
548
|
+
this.uz_1 = null;
|
|
549
|
+
this.vz_1 = null;
|
|
550
|
+
var i = this.pz_1.j2_1;
|
|
551
|
+
if (!(this.qz_1 == null)) {
|
|
552
|
+
if (!(this.qz_1[i] === null) || !(this.qz_1[i] === this)) {
|
|
553
|
+
this.qz_1[i] = this;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
protoOf(StreamingJsonEncoder).
|
|
558
|
-
return this.
|
|
557
|
+
protoOf(StreamingJsonEncoder).zz = function () {
|
|
558
|
+
return this.oz_1;
|
|
559
559
|
};
|
|
560
|
-
protoOf(StreamingJsonEncoder).
|
|
561
|
-
return this.
|
|
560
|
+
protoOf(StreamingJsonEncoder).fp = function () {
|
|
561
|
+
return this.rz_1;
|
|
562
562
|
};
|
|
563
|
-
protoOf(StreamingJsonEncoder).
|
|
564
|
-
return this.
|
|
563
|
+
protoOf(StreamingJsonEncoder).ip = function (descriptor, index) {
|
|
564
|
+
return this.sz_1.ox_1;
|
|
565
565
|
};
|
|
566
|
-
protoOf(StreamingJsonEncoder).
|
|
566
|
+
protoOf(StreamingJsonEncoder).cp = function (serializer, value) {
|
|
567
567
|
$l$block: {
|
|
568
568
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
569
|
-
if (this.
|
|
570
|
-
serializer.
|
|
569
|
+
if (this.zz().ix_1.wx_1) {
|
|
570
|
+
serializer.bm(this, value);
|
|
571
571
|
break $l$block;
|
|
572
572
|
}
|
|
573
573
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
574
574
|
var tmp;
|
|
575
575
|
if (isPolymorphicSerializer) {
|
|
576
|
-
tmp = !this.
|
|
576
|
+
tmp = !this.zz().ix_1.ey_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
577
577
|
} else {
|
|
578
578
|
var tmp_0;
|
|
579
|
-
switch (this.
|
|
579
|
+
switch (this.zz().ix_1.ey_1.j2_1) {
|
|
580
580
|
case 0:
|
|
581
581
|
case 2:
|
|
582
582
|
tmp_0 = false;
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
case 1:
|
|
585
585
|
// Inline function 'kotlin.let' call
|
|
586
586
|
|
|
587
|
-
var it = serializer.
|
|
587
|
+
var it = serializer.am().cn();
|
|
588
588
|
tmp_0 = equals(it, CLASS_getInstance()) || equals(it, OBJECT_getInstance());
|
|
589
589
|
break;
|
|
590
590
|
default:
|
|
@@ -594,14 +594,14 @@
|
|
|
594
594
|
tmp = tmp_0;
|
|
595
595
|
}
|
|
596
596
|
var needDiscriminator = tmp;
|
|
597
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.
|
|
597
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.am(), this.zz()) : null;
|
|
598
598
|
var tmp_1;
|
|
599
599
|
if (isPolymorphicSerializer) {
|
|
600
600
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
601
601
|
$l$block_0: {
|
|
602
602
|
// Inline function 'kotlin.requireNotNull' call
|
|
603
603
|
if (value == null) {
|
|
604
|
-
var message = 'Value for serializer ' + toString_0(serializer.
|
|
604
|
+
var message = 'Value for serializer ' + toString_0(serializer.am()) + ' should always be non-null. Please report issue to the kotlinx.serialization tracker.';
|
|
605
605
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
606
606
|
} else {
|
|
607
607
|
break $l$block_0;
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
var actual = findPolymorphicSerializer(casted, this, value);
|
|
611
611
|
if (!(baseClassDiscriminator == null)) {
|
|
612
612
|
access$validateIfSealed$tPolymorphicKt(serializer, actual, baseClassDiscriminator);
|
|
613
|
-
checkKind(actual.
|
|
613
|
+
checkKind(actual.am().cn());
|
|
614
614
|
}
|
|
615
615
|
tmp_1 = isInterface(actual, SerializationStrategy) ? actual : THROW_CCE();
|
|
616
616
|
} else {
|
|
@@ -618,211 +618,211 @@
|
|
|
618
618
|
}
|
|
619
619
|
var actualSerializer = tmp_1;
|
|
620
620
|
if (!(baseClassDiscriminator == null)) {
|
|
621
|
-
var serialName = actualSerializer.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
621
|
+
var serialName = actualSerializer.am().bn();
|
|
622
|
+
this.uz_1 = baseClassDiscriminator;
|
|
623
|
+
this.vz_1 = serialName;
|
|
624
624
|
}
|
|
625
|
-
actualSerializer.
|
|
625
|
+
actualSerializer.bm(this, value);
|
|
626
626
|
}
|
|
627
627
|
};
|
|
628
|
-
protoOf(StreamingJsonEncoder).
|
|
629
|
-
var newMode = switchMode(this.
|
|
630
|
-
if (!(newMode.
|
|
631
|
-
this.
|
|
632
|
-
this.
|
|
628
|
+
protoOf(StreamingJsonEncoder).co = function (descriptor) {
|
|
629
|
+
var newMode = switchMode(this.oz_1, descriptor);
|
|
630
|
+
if (!(newMode.c10_1 === _Char___init__impl__6a9atx(0))) {
|
|
631
|
+
this.nz_1.my(newMode.c10_1);
|
|
632
|
+
this.nz_1.hy();
|
|
633
633
|
}
|
|
634
|
-
var discriminator = this.
|
|
634
|
+
var discriminator = this.uz_1;
|
|
635
635
|
if (!(discriminator == null)) {
|
|
636
|
-
var tmp0_elvis_lhs = this.
|
|
637
|
-
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.
|
|
638
|
-
this.
|
|
639
|
-
this.
|
|
636
|
+
var tmp0_elvis_lhs = this.vz_1;
|
|
637
|
+
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.bn() : tmp0_elvis_lhs);
|
|
638
|
+
this.uz_1 = null;
|
|
639
|
+
this.vz_1 = null;
|
|
640
640
|
}
|
|
641
|
-
if (this.
|
|
641
|
+
if (this.pz_1.equals(newMode)) {
|
|
642
642
|
return this;
|
|
643
643
|
}
|
|
644
|
-
var tmp1_safe_receiver = this.
|
|
645
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.
|
|
646
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
644
|
+
var tmp1_safe_receiver = this.qz_1;
|
|
645
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.j2_1];
|
|
646
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.nz_1, this.oz_1, newMode, this.qz_1) : tmp2_elvis_lhs;
|
|
647
647
|
};
|
|
648
|
-
protoOf(StreamingJsonEncoder).
|
|
649
|
-
if (!(this.
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
652
|
-
this.
|
|
648
|
+
protoOf(StreamingJsonEncoder).do = function (descriptor) {
|
|
649
|
+
if (!(this.pz_1.d10_1 === _Char___init__impl__6a9atx(0))) {
|
|
650
|
+
this.nz_1.iy();
|
|
651
|
+
this.nz_1.ky();
|
|
652
|
+
this.nz_1.my(this.pz_1.d10_1);
|
|
653
653
|
}
|
|
654
654
|
};
|
|
655
|
-
protoOf(StreamingJsonEncoder).
|
|
656
|
-
switch (this.
|
|
655
|
+
protoOf(StreamingJsonEncoder).eo = function (descriptor, index) {
|
|
656
|
+
switch (this.pz_1.j2_1) {
|
|
657
657
|
case 1:
|
|
658
|
-
if (!this.
|
|
659
|
-
this.
|
|
658
|
+
if (!this.nz_1.gy_1) {
|
|
659
|
+
this.nz_1.my(_Char___init__impl__6a9atx(44));
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
this.
|
|
662
|
+
this.nz_1.jy();
|
|
663
663
|
break;
|
|
664
664
|
case 2:
|
|
665
|
-
if (!this.
|
|
665
|
+
if (!this.nz_1.gy_1) {
|
|
666
666
|
var tmp = this;
|
|
667
667
|
var tmp_0;
|
|
668
668
|
if ((index % 2 | 0) === 0) {
|
|
669
|
-
this.
|
|
670
|
-
this.
|
|
669
|
+
this.nz_1.my(_Char___init__impl__6a9atx(44));
|
|
670
|
+
this.nz_1.jy();
|
|
671
671
|
tmp_0 = true;
|
|
672
672
|
} else {
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
673
|
+
this.nz_1.my(_Char___init__impl__6a9atx(58));
|
|
674
|
+
this.nz_1.ly();
|
|
675
675
|
tmp_0 = false;
|
|
676
676
|
}
|
|
677
|
-
tmp.
|
|
677
|
+
tmp.tz_1 = tmp_0;
|
|
678
678
|
} else {
|
|
679
|
-
this.
|
|
680
|
-
this.
|
|
679
|
+
this.tz_1 = true;
|
|
680
|
+
this.nz_1.jy();
|
|
681
681
|
}
|
|
682
682
|
|
|
683
683
|
break;
|
|
684
684
|
case 3:
|
|
685
685
|
if (index === 0)
|
|
686
|
-
this.
|
|
686
|
+
this.tz_1 = true;
|
|
687
687
|
if (index === 1) {
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
688
|
+
this.nz_1.my(_Char___init__impl__6a9atx(44));
|
|
689
|
+
this.nz_1.ly();
|
|
690
|
+
this.tz_1 = false;
|
|
691
691
|
}
|
|
692
692
|
|
|
693
693
|
break;
|
|
694
694
|
default:
|
|
695
|
-
if (!this.
|
|
696
|
-
this.
|
|
695
|
+
if (!this.nz_1.gy_1) {
|
|
696
|
+
this.nz_1.my(_Char___init__impl__6a9atx(44));
|
|
697
697
|
}
|
|
698
698
|
|
|
699
|
-
this.
|
|
700
|
-
this.
|
|
701
|
-
this.
|
|
702
|
-
this.
|
|
699
|
+
this.nz_1.jy();
|
|
700
|
+
this.po(getJsonElementName(descriptor, this.oz_1, index));
|
|
701
|
+
this.nz_1.my(_Char___init__impl__6a9atx(58));
|
|
702
|
+
this.nz_1.ly();
|
|
703
703
|
break;
|
|
704
704
|
}
|
|
705
705
|
return true;
|
|
706
706
|
};
|
|
707
|
-
protoOf(StreamingJsonEncoder).
|
|
708
|
-
if (!(value == null) || this.
|
|
709
|
-
protoOf(AbstractEncoder).
|
|
707
|
+
protoOf(StreamingJsonEncoder).dp = function (descriptor, index, serializer, value) {
|
|
708
|
+
if (!(value == null) || this.sz_1.tx_1) {
|
|
709
|
+
protoOf(AbstractEncoder).dp.call(this, descriptor, index, serializer, value);
|
|
710
710
|
}
|
|
711
711
|
};
|
|
712
|
-
protoOf(StreamingJsonEncoder).
|
|
712
|
+
protoOf(StreamingJsonEncoder).qo = function (descriptor) {
|
|
713
713
|
var tmp;
|
|
714
714
|
if (get_isUnsignedNumber(descriptor)) {
|
|
715
715
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
716
716
|
var tmp_0;
|
|
717
|
-
var tmp_1 = this.
|
|
717
|
+
var tmp_1 = this.nz_1;
|
|
718
718
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
719
|
-
tmp_0 = this.
|
|
719
|
+
tmp_0 = this.nz_1;
|
|
720
720
|
} else {
|
|
721
|
-
var tmp0 = this.
|
|
722
|
-
var p1 = this.
|
|
721
|
+
var tmp0 = this.nz_1.fy_1;
|
|
722
|
+
var p1 = this.tz_1;
|
|
723
723
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
724
724
|
}
|
|
725
725
|
var tmp$ret$1 = tmp_0;
|
|
726
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
726
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.oz_1, this.pz_1, null);
|
|
727
727
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
728
728
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
729
729
|
var tmp_2;
|
|
730
|
-
var tmp_3 = this.
|
|
730
|
+
var tmp_3 = this.nz_1;
|
|
731
731
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
732
|
-
tmp_2 = this.
|
|
732
|
+
tmp_2 = this.nz_1;
|
|
733
733
|
} else {
|
|
734
|
-
var tmp0_0 = this.
|
|
735
|
-
var p1_0 = this.
|
|
734
|
+
var tmp0_0 = this.nz_1.fy_1;
|
|
735
|
+
var p1_0 = this.tz_1;
|
|
736
736
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
737
737
|
}
|
|
738
738
|
var tmp$ret$3 = tmp_2;
|
|
739
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
740
|
-
} else if (!(this.
|
|
739
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.oz_1, this.pz_1, null);
|
|
740
|
+
} else if (!(this.uz_1 == null)) {
|
|
741
741
|
// Inline function 'kotlin.apply' call
|
|
742
|
-
this.
|
|
742
|
+
this.vz_1 = descriptor.bn();
|
|
743
743
|
tmp = this;
|
|
744
744
|
} else {
|
|
745
|
-
tmp = protoOf(AbstractEncoder).
|
|
745
|
+
tmp = protoOf(AbstractEncoder).qo.call(this, descriptor);
|
|
746
746
|
}
|
|
747
747
|
return tmp;
|
|
748
748
|
};
|
|
749
|
-
protoOf(StreamingJsonEncoder).
|
|
750
|
-
this.
|
|
749
|
+
protoOf(StreamingJsonEncoder).go = function () {
|
|
750
|
+
this.nz_1.oy('null');
|
|
751
751
|
};
|
|
752
|
-
protoOf(StreamingJsonEncoder).
|
|
753
|
-
if (this.
|
|
754
|
-
this.
|
|
752
|
+
protoOf(StreamingJsonEncoder).ho = function (value) {
|
|
753
|
+
if (this.tz_1) {
|
|
754
|
+
this.po(value.toString());
|
|
755
755
|
} else {
|
|
756
|
-
this.
|
|
756
|
+
this.nz_1.xy(value);
|
|
757
757
|
}
|
|
758
758
|
};
|
|
759
|
-
protoOf(StreamingJsonEncoder).
|
|
760
|
-
if (this.
|
|
761
|
-
this.
|
|
759
|
+
protoOf(StreamingJsonEncoder).io = function (value) {
|
|
760
|
+
if (this.tz_1) {
|
|
761
|
+
this.po(value.toString());
|
|
762
762
|
} else {
|
|
763
|
-
this.
|
|
763
|
+
this.nz_1.sy(value);
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
|
-
protoOf(StreamingJsonEncoder).
|
|
767
|
-
if (this.
|
|
768
|
-
this.
|
|
766
|
+
protoOf(StreamingJsonEncoder).jo = function (value) {
|
|
767
|
+
if (this.tz_1) {
|
|
768
|
+
this.po(value.toString());
|
|
769
769
|
} else {
|
|
770
|
-
this.
|
|
770
|
+
this.nz_1.uy(value);
|
|
771
771
|
}
|
|
772
772
|
};
|
|
773
|
-
protoOf(StreamingJsonEncoder).
|
|
774
|
-
if (this.
|
|
775
|
-
this.
|
|
773
|
+
protoOf(StreamingJsonEncoder).ko = function (value) {
|
|
774
|
+
if (this.tz_1) {
|
|
775
|
+
this.po(value.toString());
|
|
776
776
|
} else {
|
|
777
|
-
this.
|
|
777
|
+
this.nz_1.vy(value);
|
|
778
778
|
}
|
|
779
779
|
};
|
|
780
|
-
protoOf(StreamingJsonEncoder).
|
|
781
|
-
if (this.
|
|
782
|
-
this.
|
|
780
|
+
protoOf(StreamingJsonEncoder).lo = function (value) {
|
|
781
|
+
if (this.tz_1) {
|
|
782
|
+
this.po(value.toString());
|
|
783
783
|
} else {
|
|
784
|
-
this.
|
|
784
|
+
this.nz_1.wy(value);
|
|
785
785
|
}
|
|
786
786
|
};
|
|
787
|
-
protoOf(StreamingJsonEncoder).
|
|
788
|
-
if (this.
|
|
789
|
-
this.
|
|
787
|
+
protoOf(StreamingJsonEncoder).mo = function (value) {
|
|
788
|
+
if (this.tz_1) {
|
|
789
|
+
this.po(value.toString());
|
|
790
790
|
} else {
|
|
791
|
-
this.
|
|
791
|
+
this.nz_1.qy(value);
|
|
792
792
|
}
|
|
793
|
-
if (!this.
|
|
794
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
793
|
+
if (!this.sz_1.yx_1 && !isFinite(value)) {
|
|
794
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.nz_1.fy_1));
|
|
795
795
|
}
|
|
796
796
|
};
|
|
797
|
-
protoOf(StreamingJsonEncoder).
|
|
798
|
-
if (this.
|
|
799
|
-
this.
|
|
797
|
+
protoOf(StreamingJsonEncoder).no = function (value) {
|
|
798
|
+
if (this.tz_1) {
|
|
799
|
+
this.po(value.toString());
|
|
800
800
|
} else {
|
|
801
|
-
this.
|
|
801
|
+
this.nz_1.ry(value);
|
|
802
802
|
}
|
|
803
|
-
if (!this.
|
|
804
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
803
|
+
if (!this.sz_1.yx_1 && !isFinite_0(value)) {
|
|
804
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.nz_1.fy_1));
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
|
-
protoOf(StreamingJsonEncoder).
|
|
808
|
-
this.
|
|
807
|
+
protoOf(StreamingJsonEncoder).oo = function (value) {
|
|
808
|
+
this.po(toString_1(value));
|
|
809
809
|
};
|
|
810
|
-
protoOf(StreamingJsonEncoder).
|
|
811
|
-
return this.
|
|
810
|
+
protoOf(StreamingJsonEncoder).po = function (value) {
|
|
811
|
+
return this.nz_1.yy(value);
|
|
812
812
|
};
|
|
813
813
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
814
814
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
815
|
-
return _this__u8e3s4.
|
|
815
|
+
return _this__u8e3s4.dn() && get_unsignedNumberDescriptors().f1(_this__u8e3s4);
|
|
816
816
|
}
|
|
817
817
|
function get_isUnquotedLiteral(_this__u8e3s4) {
|
|
818
818
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
819
|
-
return _this__u8e3s4.
|
|
819
|
+
return _this__u8e3s4.dn() && equals(_this__u8e3s4, get_jsonUnquotedLiteralDescriptor());
|
|
820
820
|
}
|
|
821
821
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
822
822
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
823
823
|
if (!properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
824
824
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
825
|
-
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance()).
|
|
825
|
+
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance()).am(), serializer_1(Companion_getInstance_0()).am(), serializer_2(Companion_getInstance_1()).am(), serializer_3(Companion_getInstance_2()).am()]);
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
function get_ESCAPE_STRINGS() {
|
|
@@ -851,7 +851,7 @@
|
|
|
851
851
|
}
|
|
852
852
|
function printQuoted(_this__u8e3s4, value) {
|
|
853
853
|
_init_properties_StringOps_kt__fcy1db();
|
|
854
|
-
_this__u8e3s4.
|
|
854
|
+
_this__u8e3s4.m7(_Char___init__impl__6a9atx(34));
|
|
855
855
|
var lastPos = 0;
|
|
856
856
|
var inductionVariable = 0;
|
|
857
857
|
var last = charSequenceLength(value) - 1 | 0;
|
|
@@ -863,17 +863,17 @@
|
|
|
863
863
|
var this_0 = charCodeAt(value, i);
|
|
864
864
|
var c = Char__toInt_impl_vasixd(this_0);
|
|
865
865
|
if (c < get_ESCAPE_STRINGS().length && !(get_ESCAPE_STRINGS()[c] == null)) {
|
|
866
|
-
_this__u8e3s4.
|
|
867
|
-
_this__u8e3s4.
|
|
866
|
+
_this__u8e3s4.xa(value, lastPos, i);
|
|
867
|
+
_this__u8e3s4.l7(get_ESCAPE_STRINGS()[c]);
|
|
868
868
|
lastPos = i + 1 | 0;
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
while (inductionVariable <= last);
|
|
872
872
|
if (!(lastPos === 0))
|
|
873
|
-
_this__u8e3s4.
|
|
873
|
+
_this__u8e3s4.xa(value, lastPos, value.length);
|
|
874
874
|
else
|
|
875
|
-
_this__u8e3s4.
|
|
876
|
-
_this__u8e3s4.
|
|
875
|
+
_this__u8e3s4.l7(value);
|
|
876
|
+
_this__u8e3s4.m7(_Char___init__impl__6a9atx(34));
|
|
877
877
|
}
|
|
878
878
|
var properties_initialized_StringOps_kt_wzaea7;
|
|
879
879
|
function _init_properties_StringOps_kt__fcy1db() {
|
|
@@ -998,11 +998,11 @@
|
|
|
998
998
|
var $ENTRIES;
|
|
999
999
|
function WriteMode(name, ordinal, begin, end) {
|
|
1000
1000
|
Enum.call(this, name, ordinal);
|
|
1001
|
-
this.
|
|
1002
|
-
this.
|
|
1001
|
+
this.c10_1 = begin;
|
|
1002
|
+
this.d10_1 = end;
|
|
1003
1003
|
}
|
|
1004
1004
|
function switchMode(_this__u8e3s4, desc) {
|
|
1005
|
-
var tmp0_subject = desc.
|
|
1005
|
+
var tmp0_subject = desc.cn();
|
|
1006
1006
|
var tmp;
|
|
1007
1007
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
1008
1008
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -1012,8 +1012,8 @@
|
|
|
1012
1012
|
} else {
|
|
1013
1013
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
1014
1014
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
1015
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
1016
|
-
var keyKind = keyDescriptor.
|
|
1015
|
+
var keyDescriptor = carrierDescriptor(desc.hn(0), _this__u8e3s4.fp());
|
|
1016
|
+
var keyKind = keyDescriptor.cn();
|
|
1017
1017
|
var tmp_0;
|
|
1018
1018
|
var tmp_1;
|
|
1019
1019
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -1024,7 +1024,7 @@
|
|
|
1024
1024
|
if (tmp_1) {
|
|
1025
1025
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
1026
1026
|
} else {
|
|
1027
|
-
if (_this__u8e3s4.
|
|
1027
|
+
if (_this__u8e3s4.ix_1.rx_1) {
|
|
1028
1028
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
1029
1029
|
} else {
|
|
1030
1030
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -1040,12 +1040,12 @@
|
|
|
1040
1040
|
}
|
|
1041
1041
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
1042
1042
|
var tmp;
|
|
1043
|
-
if (equals(_this__u8e3s4.
|
|
1043
|
+
if (equals(_this__u8e3s4.cn(), CONTEXTUAL_getInstance())) {
|
|
1044
1044
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
1045
1045
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
1046
1046
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
1047
|
-
} else if (_this__u8e3s4.
|
|
1048
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
1047
|
+
} else if (_this__u8e3s4.dn()) {
|
|
1048
|
+
tmp = carrierDescriptor(_this__u8e3s4.hn(0), module_0);
|
|
1049
1049
|
} else {
|
|
1050
1050
|
tmp = _this__u8e3s4;
|
|
1051
1051
|
}
|
|
@@ -1068,28 +1068,28 @@
|
|
|
1068
1068
|
return WriteMode_POLY_OBJ_instance;
|
|
1069
1069
|
}
|
|
1070
1070
|
function get_schemaCache(_this__u8e3s4) {
|
|
1071
|
-
return _this__u8e3s4.
|
|
1071
|
+
return _this__u8e3s4.kx_1;
|
|
1072
1072
|
}
|
|
1073
1073
|
function JsonToStringWriter() {
|
|
1074
|
-
this.
|
|
1074
|
+
this.mx_1 = StringBuilder_init_$Create$(128);
|
|
1075
1075
|
}
|
|
1076
|
-
protoOf(JsonToStringWriter).
|
|
1077
|
-
this.
|
|
1076
|
+
protoOf(JsonToStringWriter).ty = function (value) {
|
|
1077
|
+
this.mx_1.ab(value);
|
|
1078
1078
|
};
|
|
1079
|
-
protoOf(JsonToStringWriter).
|
|
1080
|
-
this.
|
|
1079
|
+
protoOf(JsonToStringWriter).ny = function (char) {
|
|
1080
|
+
this.mx_1.m7(char);
|
|
1081
1081
|
};
|
|
1082
|
-
protoOf(JsonToStringWriter).
|
|
1083
|
-
this.
|
|
1082
|
+
protoOf(JsonToStringWriter).py = function (text) {
|
|
1083
|
+
this.mx_1.l7(text);
|
|
1084
1084
|
};
|
|
1085
|
-
protoOf(JsonToStringWriter).
|
|
1086
|
-
printQuoted(this.
|
|
1085
|
+
protoOf(JsonToStringWriter).zy = function (text) {
|
|
1086
|
+
printQuoted(this.mx_1, text);
|
|
1087
1087
|
};
|
|
1088
|
-
protoOf(JsonToStringWriter).
|
|
1089
|
-
this.
|
|
1088
|
+
protoOf(JsonToStringWriter).nx = function () {
|
|
1089
|
+
this.mx_1.cb();
|
|
1090
1090
|
};
|
|
1091
1091
|
protoOf(JsonToStringWriter).toString = function () {
|
|
1092
|
-
return this.
|
|
1092
|
+
return this.mx_1.toString();
|
|
1093
1093
|
};
|
|
1094
1094
|
function createMapForCache(initialCapacity) {
|
|
1095
1095
|
return HashMap_init_$Create$(initialCapacity);
|