git-digger 1.5.34 → 1.5.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1250 -1250
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/bin/digger +0 -0
- package/kotlin/clikt-clikt-mordant.js +89 -89
- package/kotlin/clikt-clikt.js +1608 -1608
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +467 -467
- package/kotlin/command-line-tools-digger-cli.js +76 -76
- package/kotlin/kotlin-kotlin-stdlib.js +2015 -1729
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1123 -1063
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +326 -315
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1344 -1344
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +4 -4
- package/kotlin/tools-digger-core.js +152 -152
- package/kotlin/tools-digger-json.js +114 -114
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +60 -60
- package/kotlin/tools-git-adapter.js +72 -72
- package/package.json +1 -1
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.q8;
|
|
6
|
+
var initMetadataForObject = kotlin_kotlin.$_$.w7;
|
|
7
7
|
var VOID = kotlin_kotlin.$_$.g;
|
|
8
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
-
var toString = kotlin_kotlin.$_$.
|
|
11
|
-
var Enum = kotlin_kotlin.$_$.
|
|
8
|
+
var Unit_instance = kotlin_kotlin.$_$.i3;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.r7;
|
|
10
|
+
var toString = kotlin_kotlin.$_$.vc;
|
|
11
|
+
var Enum = kotlin_kotlin.$_$.qb;
|
|
12
12
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.x2;
|
|
13
13
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
14
14
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
15
|
-
var toLong = kotlin_kotlin.$_$.
|
|
15
|
+
var toLong = kotlin_kotlin.$_$.s8;
|
|
16
16
|
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.c2;
|
|
17
17
|
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.e2;
|
|
18
18
|
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.h2;
|
|
@@ -22,53 +22,52 @@
|
|
|
22
22
|
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.m2;
|
|
23
23
|
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.o2;
|
|
24
24
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.p1;
|
|
25
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
26
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
25
|
+
var captureStack = kotlin_kotlin.$_$.e7;
|
|
26
|
+
var toString_0 = kotlin_kotlin.$_$.t8;
|
|
27
27
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
28
28
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
29
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
30
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
31
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
32
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
29
|
+
var charSequenceLength = kotlin_kotlin.$_$.h7;
|
|
30
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.i7;
|
|
31
|
+
var coerceAtLeast = kotlin_kotlin.$_$.x8;
|
|
32
|
+
var coerceAtMost = kotlin_kotlin.$_$.z8;
|
|
33
33
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
34
|
-
var equals = kotlin_kotlin.$_$.
|
|
35
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
34
|
+
var equals = kotlin_kotlin.$_$.k7;
|
|
35
|
+
var fillArrayVal = kotlin_kotlin.$_$.l7;
|
|
36
36
|
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
37
37
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
38
38
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
39
39
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
40
40
|
var PrimitiveKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
41
41
|
var PolymorphicKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
42
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
44
|
-
var ensureNotNull = kotlin_kotlin.$_$.oc;
|
|
42
|
+
var THROW_CCE = kotlin_kotlin.$_$.yb;
|
|
43
|
+
var objectCreate = kotlin_kotlin.$_$.p8;
|
|
45
44
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
46
45
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
47
46
|
var OBJECT_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
48
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
47
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.sc;
|
|
49
48
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
50
49
|
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
51
50
|
var SerializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
52
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
53
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
54
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
51
|
+
var isInterface = kotlin_kotlin.$_$.f8;
|
|
52
|
+
var isFinite = kotlin_kotlin.$_$.pc;
|
|
53
|
+
var isFinite_0 = kotlin_kotlin.$_$.oc;
|
|
55
54
|
var toString_1 = kotlin_kotlin.$_$.s1;
|
|
56
|
-
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
57
55
|
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
58
|
-
var
|
|
56
|
+
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
57
|
+
var Companion_getInstance = kotlin_kotlin.$_$.f3;
|
|
59
58
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
60
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
59
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.g3;
|
|
61
60
|
var serializer_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
62
|
-
var Companion_getInstance_1 = kotlin_kotlin.$_$.
|
|
61
|
+
var Companion_getInstance_1 = kotlin_kotlin.$_$.e3;
|
|
63
62
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
64
|
-
var Companion_getInstance_2 = kotlin_kotlin.$_$.
|
|
63
|
+
var Companion_getInstance_2 = kotlin_kotlin.$_$.h3;
|
|
65
64
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
66
|
-
var setOf = kotlin_kotlin.$_$.
|
|
65
|
+
var setOf = kotlin_kotlin.$_$.y5;
|
|
67
66
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.r1;
|
|
68
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
69
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
70
|
-
var toByte = kotlin_kotlin.$_$.
|
|
71
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
67
|
+
var numberToChar = kotlin_kotlin.$_$.l8;
|
|
68
|
+
var charSequenceGet = kotlin_kotlin.$_$.g7;
|
|
69
|
+
var toByte = kotlin_kotlin.$_$.r8;
|
|
70
|
+
var enumEntries = kotlin_kotlin.$_$.x6;
|
|
72
71
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
73
72
|
var MAP_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
74
73
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
@@ -91,7 +90,7 @@
|
|
|
91
90
|
initMetadataForClass(JsonEncodingException, 'JsonEncodingException', VOID, JsonException);
|
|
92
91
|
initMetadataForClass(Key, 'Key', Key);
|
|
93
92
|
initMetadataForClass(DescriptorSchemaCache, 'DescriptorSchemaCache', DescriptorSchemaCache);
|
|
94
|
-
initMetadataForClass(StreamingJsonEncoder, 'StreamingJsonEncoder', VOID, AbstractEncoder, [
|
|
93
|
+
initMetadataForClass(StreamingJsonEncoder, 'StreamingJsonEncoder', VOID, AbstractEncoder, [Encoder, CompositeEncoder, AbstractEncoder]);
|
|
95
94
|
initMetadataForClass(WriteMode, 'WriteMode', VOID, Enum);
|
|
96
95
|
initMetadataForClass(JsonToStringWriter, 'JsonToStringWriter', JsonToStringWriter);
|
|
97
96
|
//endregion
|
|
@@ -107,25 +106,25 @@
|
|
|
107
106
|
}
|
|
108
107
|
function Json(configuration, serializersModule) {
|
|
109
108
|
Default_getInstance();
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
109
|
+
this.n1b_1 = configuration;
|
|
110
|
+
this.o1b_1 = serializersModule;
|
|
111
|
+
this.p1b_1 = new DescriptorSchemaCache();
|
|
113
112
|
}
|
|
114
|
-
protoOf(Json).
|
|
115
|
-
return this.
|
|
113
|
+
protoOf(Json).tm = function () {
|
|
114
|
+
return this.o1b_1;
|
|
116
115
|
};
|
|
117
|
-
protoOf(Json).
|
|
116
|
+
protoOf(Json).q1b = function (serializer, value) {
|
|
118
117
|
var result = new JsonToStringWriter();
|
|
119
118
|
try {
|
|
120
119
|
encodeByWriter(this, result, serializer, value);
|
|
121
120
|
return result.toString();
|
|
122
121
|
}finally {
|
|
123
|
-
result.
|
|
122
|
+
result.s1b();
|
|
124
123
|
}
|
|
125
124
|
};
|
|
126
125
|
function JsonClassDiscriminator() {
|
|
127
126
|
}
|
|
128
|
-
function JsonConfiguration(encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames, namingStrategy, decodeEnumsCaseInsensitive, allowTrailingComma, classDiscriminatorMode) {
|
|
127
|
+
function JsonConfiguration(encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames, namingStrategy, decodeEnumsCaseInsensitive, allowTrailingComma, allowComments, classDiscriminatorMode) {
|
|
129
128
|
encodeDefaults = encodeDefaults === VOID ? false : encodeDefaults;
|
|
130
129
|
ignoreUnknownKeys = ignoreUnknownKeys === VOID ? false : ignoreUnknownKeys;
|
|
131
130
|
isLenient = isLenient === VOID ? false : isLenient;
|
|
@@ -141,26 +140,28 @@
|
|
|
141
140
|
namingStrategy = namingStrategy === VOID ? null : namingStrategy;
|
|
142
141
|
decodeEnumsCaseInsensitive = decodeEnumsCaseInsensitive === VOID ? false : decodeEnumsCaseInsensitive;
|
|
143
142
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
143
|
+
allowComments = allowComments === VOID ? false : allowComments;
|
|
144
144
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
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.
|
|
145
|
+
this.t1b_1 = encodeDefaults;
|
|
146
|
+
this.u1b_1 = ignoreUnknownKeys;
|
|
147
|
+
this.v1b_1 = isLenient;
|
|
148
|
+
this.w1b_1 = allowStructuredMapKeys;
|
|
149
|
+
this.x1b_1 = prettyPrint;
|
|
150
|
+
this.y1b_1 = explicitNulls;
|
|
151
|
+
this.z1b_1 = prettyPrintIndent;
|
|
152
|
+
this.a1c_1 = coerceInputValues;
|
|
153
|
+
this.b1c_1 = useArrayPolymorphism;
|
|
154
|
+
this.c1c_1 = classDiscriminator;
|
|
155
|
+
this.d1c_1 = allowSpecialFloatingPointValues;
|
|
156
|
+
this.e1c_1 = useAlternativeNames;
|
|
157
|
+
this.f1c_1 = namingStrategy;
|
|
158
|
+
this.g1c_1 = decodeEnumsCaseInsensitive;
|
|
159
|
+
this.h1c_1 = allowTrailingComma;
|
|
160
|
+
this.i1c_1 = allowComments;
|
|
161
|
+
this.j1c_1 = classDiscriminatorMode;
|
|
161
162
|
}
|
|
162
163
|
protoOf(JsonConfiguration).toString = function () {
|
|
163
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
164
|
+
return 'JsonConfiguration(encodeDefaults=' + this.t1b_1 + ', ignoreUnknownKeys=' + this.u1b_1 + ', isLenient=' + this.v1b_1 + ', ' + ('allowStructuredMapKeys=' + this.w1b_1 + ', prettyPrint=' + this.x1b_1 + ', explicitNulls=' + this.y1b_1 + ', ') + ("prettyPrintIndent='" + this.z1b_1 + "', coerceInputValues=" + this.a1c_1 + ', useArrayPolymorphism=' + this.b1c_1 + ', ') + ("classDiscriminator='" + this.c1c_1 + "', allowSpecialFloatingPointValues=" + this.d1c_1 + ', ') + ('useAlternativeNames=' + this.e1c_1 + ', namingStrategy=' + toString(this.f1c_1) + ', decodeEnumsCaseInsensitive=' + this.g1c_1 + ', ') + ('allowTrailingComma=' + this.h1c_1 + ', allowComments=' + this.i1c_1 + ', classDiscriminatorMode=' + this.j1c_1.toString() + ')');
|
|
164
165
|
};
|
|
165
166
|
var ClassDiscriminatorMode_NONE_instance;
|
|
166
167
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -198,159 +199,159 @@
|
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
201
|
function Composer(writer) {
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
202
|
+
this.k1c_1 = writer;
|
|
203
|
+
this.l1c_1 = true;
|
|
203
204
|
}
|
|
204
|
-
protoOf(Composer).
|
|
205
|
-
this.
|
|
205
|
+
protoOf(Composer).m1c = function () {
|
|
206
|
+
this.l1c_1 = true;
|
|
206
207
|
};
|
|
207
|
-
protoOf(Composer).
|
|
208
|
+
protoOf(Composer).n1c = function () {
|
|
208
209
|
return Unit_instance;
|
|
209
210
|
};
|
|
210
|
-
protoOf(Composer).
|
|
211
|
-
this.
|
|
211
|
+
protoOf(Composer).o1c = function () {
|
|
212
|
+
this.l1c_1 = false;
|
|
212
213
|
};
|
|
213
|
-
protoOf(Composer).
|
|
214
|
-
this.
|
|
214
|
+
protoOf(Composer).p1c = function () {
|
|
215
|
+
this.l1c_1 = false;
|
|
215
216
|
};
|
|
216
|
-
protoOf(Composer).
|
|
217
|
+
protoOf(Composer).q1c = function () {
|
|
217
218
|
return Unit_instance;
|
|
218
219
|
};
|
|
219
|
-
protoOf(Composer).
|
|
220
|
-
return this.
|
|
220
|
+
protoOf(Composer).r1c = function (v) {
|
|
221
|
+
return this.k1c_1.s1c(v);
|
|
221
222
|
};
|
|
222
|
-
protoOf(Composer).
|
|
223
|
-
return this.
|
|
223
|
+
protoOf(Composer).t1c = function (v) {
|
|
224
|
+
return this.k1c_1.u1c(v);
|
|
224
225
|
};
|
|
225
|
-
protoOf(Composer).
|
|
226
|
-
return this.
|
|
226
|
+
protoOf(Composer).v1c = function (v) {
|
|
227
|
+
return this.k1c_1.u1c(v.toString());
|
|
227
228
|
};
|
|
228
|
-
protoOf(Composer).
|
|
229
|
-
return this.
|
|
229
|
+
protoOf(Composer).w1c = function (v) {
|
|
230
|
+
return this.k1c_1.u1c(v.toString());
|
|
230
231
|
};
|
|
231
|
-
protoOf(Composer).
|
|
232
|
-
return this.
|
|
232
|
+
protoOf(Composer).x1c = function (v) {
|
|
233
|
+
return this.k1c_1.y1c(toLong(v));
|
|
233
234
|
};
|
|
234
|
-
protoOf(Composer).
|
|
235
|
-
return this.
|
|
235
|
+
protoOf(Composer).z1c = function (v) {
|
|
236
|
+
return this.k1c_1.y1c(toLong(v));
|
|
236
237
|
};
|
|
237
|
-
protoOf(Composer).
|
|
238
|
-
return this.
|
|
238
|
+
protoOf(Composer).a1d = function (v) {
|
|
239
|
+
return this.k1c_1.y1c(toLong(v));
|
|
239
240
|
};
|
|
240
|
-
protoOf(Composer).
|
|
241
|
-
return this.
|
|
241
|
+
protoOf(Composer).b1d = function (v) {
|
|
242
|
+
return this.k1c_1.y1c(v);
|
|
242
243
|
};
|
|
243
|
-
protoOf(Composer).
|
|
244
|
-
return this.
|
|
244
|
+
protoOf(Composer).c1d = function (v) {
|
|
245
|
+
return this.k1c_1.u1c(v.toString());
|
|
245
246
|
};
|
|
246
|
-
protoOf(Composer).
|
|
247
|
-
return this.
|
|
247
|
+
protoOf(Composer).d1d = function (value) {
|
|
248
|
+
return this.k1c_1.e1d(value);
|
|
248
249
|
};
|
|
249
250
|
function Composer_0(sb, json) {
|
|
250
|
-
return json.
|
|
251
|
+
return json.n1b_1.x1b_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
251
252
|
}
|
|
252
253
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
253
254
|
Composer.call(this, writer);
|
|
254
|
-
this.
|
|
255
|
+
this.h1d_1 = forceQuoting;
|
|
255
256
|
}
|
|
256
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
257
|
-
if (this.
|
|
257
|
+
protoOf(ComposerForUnsignedNumbers).a1d = function (v) {
|
|
258
|
+
if (this.h1d_1) {
|
|
258
259
|
// Inline function 'kotlin.toUInt' call
|
|
259
260
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
260
|
-
this.
|
|
261
|
+
this.d1d(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
261
262
|
} else {
|
|
262
263
|
// Inline function 'kotlin.toUInt' call
|
|
263
264
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
264
|
-
this.
|
|
265
|
+
this.t1c(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
265
266
|
}
|
|
266
267
|
};
|
|
267
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
268
|
-
if (this.
|
|
268
|
+
protoOf(ComposerForUnsignedNumbers).b1d = function (v) {
|
|
269
|
+
if (this.h1d_1) {
|
|
269
270
|
// Inline function 'kotlin.toULong' call
|
|
270
271
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
271
|
-
this.
|
|
272
|
+
this.d1d(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
272
273
|
} else {
|
|
273
274
|
// Inline function 'kotlin.toULong' call
|
|
274
275
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
275
|
-
this.
|
|
276
|
+
this.t1c(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
276
277
|
}
|
|
277
278
|
};
|
|
278
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
279
|
-
if (this.
|
|
279
|
+
protoOf(ComposerForUnsignedNumbers).x1c = function (v) {
|
|
280
|
+
if (this.h1d_1) {
|
|
280
281
|
// Inline function 'kotlin.toUByte' call
|
|
281
282
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
282
|
-
this.
|
|
283
|
+
this.d1d(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
283
284
|
} else {
|
|
284
285
|
// Inline function 'kotlin.toUByte' call
|
|
285
286
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
286
|
-
this.
|
|
287
|
+
this.t1c(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
287
288
|
}
|
|
288
289
|
};
|
|
289
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
290
|
-
if (this.
|
|
290
|
+
protoOf(ComposerForUnsignedNumbers).z1c = function (v) {
|
|
291
|
+
if (this.h1d_1) {
|
|
291
292
|
// Inline function 'kotlin.toUShort' call
|
|
292
293
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
293
|
-
this.
|
|
294
|
+
this.d1d(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
294
295
|
} else {
|
|
295
296
|
// Inline function 'kotlin.toUShort' call
|
|
296
297
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
297
|
-
this.
|
|
298
|
+
this.t1c(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
298
299
|
}
|
|
299
300
|
};
|
|
300
301
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
301
302
|
Composer.call(this, writer);
|
|
302
|
-
this.
|
|
303
|
+
this.k1d_1 = forceQuoting;
|
|
303
304
|
}
|
|
304
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
305
|
-
if (this.
|
|
306
|
-
protoOf(Composer).
|
|
305
|
+
protoOf(ComposerForUnquotedLiterals).d1d = function (value) {
|
|
306
|
+
if (this.k1d_1) {
|
|
307
|
+
protoOf(Composer).d1d.call(this, value);
|
|
307
308
|
} else {
|
|
308
|
-
protoOf(Composer).
|
|
309
|
+
protoOf(Composer).t1c.call(this, value);
|
|
309
310
|
}
|
|
310
311
|
};
|
|
311
312
|
function ComposerWithPrettyPrint(writer, json) {
|
|
312
313
|
Composer.call(this, writer);
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
314
|
+
this.n1d_1 = json;
|
|
315
|
+
this.o1d_1 = 0;
|
|
315
316
|
}
|
|
316
|
-
protoOf(ComposerWithPrettyPrint).
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
317
|
+
protoOf(ComposerWithPrettyPrint).m1c = function () {
|
|
318
|
+
this.l1c_1 = true;
|
|
319
|
+
this.o1d_1 = this.o1d_1 + 1 | 0;
|
|
319
320
|
};
|
|
320
|
-
protoOf(ComposerWithPrettyPrint).
|
|
321
|
-
this.
|
|
321
|
+
protoOf(ComposerWithPrettyPrint).n1c = function () {
|
|
322
|
+
this.o1d_1 = this.o1d_1 - 1 | 0;
|
|
322
323
|
};
|
|
323
|
-
protoOf(ComposerWithPrettyPrint).
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
324
|
+
protoOf(ComposerWithPrettyPrint).o1c = function () {
|
|
325
|
+
this.l1c_1 = false;
|
|
326
|
+
this.t1c('\n');
|
|
326
327
|
// Inline function 'kotlin.repeat' call
|
|
327
|
-
var times = this.
|
|
328
|
+
var times = this.o1d_1;
|
|
328
329
|
var inductionVariable = 0;
|
|
329
330
|
if (inductionVariable < times)
|
|
330
331
|
do {
|
|
331
332
|
var index = inductionVariable;
|
|
332
333
|
inductionVariable = inductionVariable + 1 | 0;
|
|
333
334
|
// Inline function 'kotlinx.serialization.json.internal.ComposerWithPrettyPrint.nextItem.<anonymous>' call
|
|
334
|
-
this.
|
|
335
|
+
this.t1c(this.n1d_1.n1b_1.z1b_1);
|
|
335
336
|
}
|
|
336
337
|
while (inductionVariable < times);
|
|
337
338
|
};
|
|
338
|
-
protoOf(ComposerWithPrettyPrint).
|
|
339
|
-
if (this.
|
|
340
|
-
this.
|
|
339
|
+
protoOf(ComposerWithPrettyPrint).p1c = function () {
|
|
340
|
+
if (this.l1c_1)
|
|
341
|
+
this.l1c_1 = false;
|
|
341
342
|
else {
|
|
342
|
-
this.
|
|
343
|
+
this.o1c();
|
|
343
344
|
}
|
|
344
345
|
};
|
|
345
|
-
protoOf(ComposerWithPrettyPrint).
|
|
346
|
-
this.
|
|
346
|
+
protoOf(ComposerWithPrettyPrint).q1c = function () {
|
|
347
|
+
this.r1c(_Char___init__impl__6a9atx(32));
|
|
347
348
|
};
|
|
348
349
|
function JsonEncodingException(message) {
|
|
349
350
|
JsonException.call(this, message);
|
|
350
351
|
captureStack(this, JsonEncodingException);
|
|
351
352
|
}
|
|
352
353
|
function InvalidKeyKindException(keyDescriptor) {
|
|
353
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
354
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.pk() + "' 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.qk().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
354
355
|
}
|
|
355
356
|
function InvalidFloatingPointEncoded(value, output) {
|
|
356
357
|
return new JsonEncodingException('Unexpected special floating-point value ' + toString_0(value) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification. ' + "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString_0(minify(output))));
|
|
@@ -389,28 +390,28 @@
|
|
|
389
390
|
function getJsonElementName(_this__u8e3s4, json, index) {
|
|
390
391
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
391
392
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
392
|
-
return strategy == null ? _this__u8e3s4.
|
|
393
|
+
return strategy == null ? _this__u8e3s4.uk(index) : serializationNamesIndices(_this__u8e3s4, json, strategy)[index];
|
|
393
394
|
}
|
|
394
395
|
function namingStrategy(_this__u8e3s4, json) {
|
|
395
396
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
396
|
-
return equals(_this__u8e3s4.
|
|
397
|
+
return equals(_this__u8e3s4.qk(), CLASS_getInstance()) ? json.n1b_1.f1c_1 : null;
|
|
397
398
|
}
|
|
398
399
|
function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
399
400
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
400
401
|
var tmp = get_schemaCache(json);
|
|
401
402
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
402
|
-
return tmp.
|
|
403
|
+
return tmp.q1d(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
403
404
|
}
|
|
404
405
|
function serializationNamesIndices$lambda($this_serializationNamesIndices, $strategy) {
|
|
405
406
|
return function () {
|
|
406
407
|
var tmp = 0;
|
|
407
|
-
var tmp_0 = $this_serializationNamesIndices.
|
|
408
|
+
var tmp_0 = $this_serializationNamesIndices.sk();
|
|
408
409
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
409
410
|
var tmp_1 = fillArrayVal(Array(tmp_0), null);
|
|
410
411
|
while (tmp < tmp_0) {
|
|
411
412
|
var tmp_2 = tmp;
|
|
412
|
-
var baseName = $this_serializationNamesIndices.
|
|
413
|
-
tmp_1[tmp_2] = $strategy.
|
|
413
|
+
var baseName = $this_serializationNamesIndices.uk(tmp_2);
|
|
414
|
+
tmp_1[tmp_2] = $strategy.r1d($this_serializationNamesIndices, tmp_2, baseName);
|
|
414
415
|
tmp = tmp + 1 | 0;
|
|
415
416
|
}
|
|
416
417
|
return tmp_1;
|
|
@@ -430,23 +431,23 @@
|
|
|
430
431
|
var size = get_entries().p();
|
|
431
432
|
var tmp$ret$0 = fillArrayVal(Array(size), null);
|
|
432
433
|
var encoder = StreamingJsonEncoder_init_$Create$(writer, json, tmp, tmp$ret$0);
|
|
433
|
-
encoder.
|
|
434
|
+
encoder.qm(serializer, value);
|
|
434
435
|
}
|
|
435
436
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
436
|
-
var
|
|
437
|
-
while (
|
|
438
|
-
var annotation =
|
|
437
|
+
var _iterator__ex2g4s = _this__u8e3s4.tk().m();
|
|
438
|
+
while (_iterator__ex2g4s.n()) {
|
|
439
|
+
var annotation = _iterator__ex2g4s.o();
|
|
439
440
|
if (annotation instanceof JsonClassDiscriminator)
|
|
440
|
-
return annotation.
|
|
441
|
+
return annotation.b1e_1;
|
|
441
442
|
}
|
|
442
|
-
return json.
|
|
443
|
+
return json.n1b_1.c1c_1;
|
|
443
444
|
}
|
|
444
445
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
445
446
|
if (!(serializer instanceof SealedClassSerializer))
|
|
446
447
|
return Unit_instance;
|
|
447
|
-
if (jsonCachedSerialNames(actualSerializer.
|
|
448
|
-
var baseName = serializer.
|
|
449
|
-
var actualName = actualSerializer.
|
|
448
|
+
if (jsonCachedSerialNames(actualSerializer.oj()).d1(classDiscriminator)) {
|
|
449
|
+
var baseName = serializer.oj().pk();
|
|
450
|
+
var actualName = actualSerializer.oj().pk();
|
|
450
451
|
// Inline function 'kotlin.error' call
|
|
451
452
|
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';
|
|
452
453
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -475,11 +476,11 @@
|
|
|
475
476
|
function Key() {
|
|
476
477
|
}
|
|
477
478
|
function DescriptorSchemaCache() {
|
|
478
|
-
this.
|
|
479
|
+
this.p1d_1 = createMapForCache(16);
|
|
479
480
|
}
|
|
480
|
-
protoOf(DescriptorSchemaCache).
|
|
481
|
+
protoOf(DescriptorSchemaCache).c1e = function (descriptor, key, value) {
|
|
481
482
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
482
|
-
var this_0 = this.
|
|
483
|
+
var this_0 = this.p1d_1;
|
|
483
484
|
var value_0 = this_0.w1(descriptor);
|
|
484
485
|
var tmp;
|
|
485
486
|
if (value_0 == null) {
|
|
@@ -496,8 +497,8 @@
|
|
|
496
497
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
497
498
|
tmp2.e2(tmp3, value_1);
|
|
498
499
|
};
|
|
499
|
-
protoOf(DescriptorSchemaCache).
|
|
500
|
-
var tmp0_safe_receiver = this.
|
|
500
|
+
protoOf(DescriptorSchemaCache).q1d = function (descriptor, key, defaultValue) {
|
|
501
|
+
var tmp0_safe_receiver = this.d1e(descriptor, key);
|
|
501
502
|
if (tmp0_safe_receiver == null)
|
|
502
503
|
null;
|
|
503
504
|
else {
|
|
@@ -505,11 +506,11 @@
|
|
|
505
506
|
return tmp0_safe_receiver;
|
|
506
507
|
}
|
|
507
508
|
var value = defaultValue();
|
|
508
|
-
this.
|
|
509
|
+
this.c1e(descriptor, key, value);
|
|
509
510
|
return value;
|
|
510
511
|
};
|
|
511
|
-
protoOf(DescriptorSchemaCache).
|
|
512
|
-
var tmp0_safe_receiver = this.
|
|
512
|
+
protoOf(DescriptorSchemaCache).d1e = function (descriptor, key) {
|
|
513
|
+
var tmp0_safe_receiver = this.p1d_1.w1(descriptor);
|
|
513
514
|
var tmp;
|
|
514
515
|
if (tmp0_safe_receiver == null) {
|
|
515
516
|
tmp = null;
|
|
@@ -531,53 +532,54 @@
|
|
|
531
532
|
function StreamingJsonEncoder_init_$Create$(output, json, mode, modeReuseCache) {
|
|
532
533
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
533
534
|
}
|
|
534
|
-
function encodeTypeInfo($this,
|
|
535
|
-
$this.
|
|
536
|
-
$this.
|
|
537
|
-
$this.
|
|
538
|
-
$this.
|
|
539
|
-
$this.
|
|
535
|
+
function encodeTypeInfo($this, discriminator, serialName) {
|
|
536
|
+
$this.s1d_1.o1c();
|
|
537
|
+
$this.dm(discriminator);
|
|
538
|
+
$this.s1d_1.r1c(_Char___init__impl__6a9atx(58));
|
|
539
|
+
$this.s1d_1.q1c();
|
|
540
|
+
$this.dm(serialName);
|
|
540
541
|
}
|
|
541
542
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
542
543
|
AbstractEncoder.call(this);
|
|
543
|
-
this.
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
547
|
-
this.
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
550
|
-
this.
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
544
|
+
this.s1d_1 = composer;
|
|
545
|
+
this.t1d_1 = json;
|
|
546
|
+
this.u1d_1 = mode;
|
|
547
|
+
this.v1d_1 = modeReuseCache;
|
|
548
|
+
this.w1d_1 = this.t1d_1.tm();
|
|
549
|
+
this.x1d_1 = this.t1d_1.n1b_1;
|
|
550
|
+
this.y1d_1 = false;
|
|
551
|
+
this.z1d_1 = null;
|
|
552
|
+
this.a1e_1 = null;
|
|
553
|
+
var i = this.u1d_1.i2_1;
|
|
554
|
+
if (!(this.v1d_1 == null)) {
|
|
555
|
+
if (!(this.v1d_1[i] === null) || !(this.v1d_1[i] === this)) {
|
|
556
|
+
this.v1d_1[i] = this;
|
|
555
557
|
}
|
|
556
558
|
}
|
|
557
559
|
}
|
|
558
|
-
protoOf(StreamingJsonEncoder).
|
|
559
|
-
return this.
|
|
560
|
+
protoOf(StreamingJsonEncoder).e1e = function () {
|
|
561
|
+
return this.t1d_1;
|
|
560
562
|
};
|
|
561
|
-
protoOf(StreamingJsonEncoder).
|
|
562
|
-
return this.
|
|
563
|
+
protoOf(StreamingJsonEncoder).tm = function () {
|
|
564
|
+
return this.w1d_1;
|
|
563
565
|
};
|
|
564
|
-
protoOf(StreamingJsonEncoder).
|
|
565
|
-
return this.
|
|
566
|
+
protoOf(StreamingJsonEncoder).wm = function (descriptor, index) {
|
|
567
|
+
return this.x1d_1.t1b_1;
|
|
566
568
|
};
|
|
567
|
-
protoOf(StreamingJsonEncoder).
|
|
569
|
+
protoOf(StreamingJsonEncoder).qm = function (serializer, value) {
|
|
568
570
|
$l$block: {
|
|
569
571
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
570
|
-
if (this.
|
|
571
|
-
serializer.
|
|
572
|
+
if (this.e1e().n1b_1.b1c_1) {
|
|
573
|
+
serializer.pj(this, value);
|
|
572
574
|
break $l$block;
|
|
573
575
|
}
|
|
574
576
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
575
577
|
var tmp;
|
|
576
578
|
if (isPolymorphicSerializer) {
|
|
577
|
-
tmp = !this.
|
|
579
|
+
tmp = !this.e1e().n1b_1.j1c_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
578
580
|
} else {
|
|
579
581
|
var tmp_0;
|
|
580
|
-
switch (this.
|
|
582
|
+
switch (this.e1e().n1b_1.j1c_1.i2_1) {
|
|
581
583
|
case 0:
|
|
582
584
|
case 2:
|
|
583
585
|
tmp_0 = false;
|
|
@@ -587,7 +589,7 @@
|
|
|
587
589
|
|
|
588
590
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically.<anonymous>' call
|
|
589
591
|
|
|
590
|
-
var it = serializer.
|
|
592
|
+
var it = serializer.oj().qk();
|
|
591
593
|
tmp_0 = equals(it, CLASS_getInstance()) || equals(it, OBJECT_getInstance());
|
|
592
594
|
break;
|
|
593
595
|
default:
|
|
@@ -597,7 +599,7 @@
|
|
|
597
599
|
tmp = tmp_0;
|
|
598
600
|
}
|
|
599
601
|
var needDiscriminator = tmp;
|
|
600
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.
|
|
602
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.oj(), this.e1e()) : null;
|
|
601
603
|
var tmp_1;
|
|
602
604
|
if (isPolymorphicSerializer) {
|
|
603
605
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -605,7 +607,7 @@
|
|
|
605
607
|
// Inline function 'kotlin.requireNotNull' call
|
|
606
608
|
if (value == null) {
|
|
607
609
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically.<anonymous>' call
|
|
608
|
-
var message = 'Value for serializer ' + toString_0(serializer.
|
|
610
|
+
var message = 'Value for serializer ' + toString_0(serializer.oj()) + ' should always be non-null. Please report issue to the kotlinx.serialization tracker.';
|
|
609
611
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
610
612
|
} else {
|
|
611
613
|
break $l$block_0;
|
|
@@ -615,7 +617,7 @@
|
|
|
615
617
|
if (!(baseClassDiscriminator == null)) {
|
|
616
618
|
access$validateIfSealed$tPolymorphicKt(serializer, actual, baseClassDiscriminator);
|
|
617
619
|
}
|
|
618
|
-
checkKind(actual.
|
|
620
|
+
checkKind(actual.oj().qk());
|
|
619
621
|
tmp_1 = isInterface(actual, SerializationStrategy) ? actual : THROW_CCE();
|
|
620
622
|
} else {
|
|
621
623
|
tmp_1 = serializer;
|
|
@@ -623,204 +625,214 @@
|
|
|
623
625
|
var actualSerializer = tmp_1;
|
|
624
626
|
if (!(baseClassDiscriminator == null)) {
|
|
625
627
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue.<anonymous>' call
|
|
626
|
-
|
|
628
|
+
var serialName = actualSerializer.oj().pk();
|
|
629
|
+
this.z1d_1 = baseClassDiscriminator;
|
|
630
|
+
this.a1e_1 = serialName;
|
|
627
631
|
}
|
|
628
|
-
actualSerializer.
|
|
632
|
+
actualSerializer.pj(this, value);
|
|
629
633
|
}
|
|
630
634
|
};
|
|
631
|
-
protoOf(StreamingJsonEncoder).
|
|
632
|
-
var newMode = switchMode(this.
|
|
633
|
-
if (!(newMode.
|
|
634
|
-
this.
|
|
635
|
-
this.
|
|
635
|
+
protoOf(StreamingJsonEncoder).ql = function (descriptor) {
|
|
636
|
+
var newMode = switchMode(this.t1d_1, descriptor);
|
|
637
|
+
if (!(newMode.h1e_1 === _Char___init__impl__6a9atx(0))) {
|
|
638
|
+
this.s1d_1.r1c(newMode.h1e_1);
|
|
639
|
+
this.s1d_1.m1c();
|
|
636
640
|
}
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
641
|
+
var discriminator = this.z1d_1;
|
|
642
|
+
if (!(discriminator == null)) {
|
|
643
|
+
var tmp0_elvis_lhs = this.a1e_1;
|
|
644
|
+
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.pk() : tmp0_elvis_lhs);
|
|
645
|
+
this.z1d_1 = null;
|
|
646
|
+
this.a1e_1 = null;
|
|
640
647
|
}
|
|
641
|
-
if (this.
|
|
648
|
+
if (this.u1d_1.equals(newMode)) {
|
|
642
649
|
return this;
|
|
643
650
|
}
|
|
644
|
-
var
|
|
645
|
-
var
|
|
646
|
-
return
|
|
651
|
+
var tmp1_safe_receiver = this.v1d_1;
|
|
652
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.i2_1];
|
|
653
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.s1d_1, this.t1d_1, newMode, this.v1d_1) : tmp2_elvis_lhs;
|
|
647
654
|
};
|
|
648
|
-
protoOf(StreamingJsonEncoder).
|
|
649
|
-
if (!(this.
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
652
|
-
this.
|
|
655
|
+
protoOf(StreamingJsonEncoder).rl = function (descriptor) {
|
|
656
|
+
if (!(this.u1d_1.i1e_1 === _Char___init__impl__6a9atx(0))) {
|
|
657
|
+
this.s1d_1.n1c();
|
|
658
|
+
this.s1d_1.p1c();
|
|
659
|
+
this.s1d_1.r1c(this.u1d_1.i1e_1);
|
|
653
660
|
}
|
|
654
661
|
};
|
|
655
|
-
protoOf(StreamingJsonEncoder).
|
|
656
|
-
switch (this.
|
|
662
|
+
protoOf(StreamingJsonEncoder).sl = function (descriptor, index) {
|
|
663
|
+
switch (this.u1d_1.i2_1) {
|
|
657
664
|
case 1:
|
|
658
|
-
if (!this.
|
|
659
|
-
this.
|
|
665
|
+
if (!this.s1d_1.l1c_1) {
|
|
666
|
+
this.s1d_1.r1c(_Char___init__impl__6a9atx(44));
|
|
660
667
|
}
|
|
661
668
|
|
|
662
|
-
this.
|
|
669
|
+
this.s1d_1.o1c();
|
|
663
670
|
break;
|
|
664
671
|
case 2:
|
|
665
|
-
if (!this.
|
|
672
|
+
if (!this.s1d_1.l1c_1) {
|
|
666
673
|
var tmp = this;
|
|
667
674
|
var tmp_0;
|
|
668
675
|
if ((index % 2 | 0) === 0) {
|
|
669
|
-
this.
|
|
670
|
-
this.
|
|
676
|
+
this.s1d_1.r1c(_Char___init__impl__6a9atx(44));
|
|
677
|
+
this.s1d_1.o1c();
|
|
671
678
|
tmp_0 = true;
|
|
672
679
|
} else {
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
680
|
+
this.s1d_1.r1c(_Char___init__impl__6a9atx(58));
|
|
681
|
+
this.s1d_1.q1c();
|
|
675
682
|
tmp_0 = false;
|
|
676
683
|
}
|
|
677
|
-
tmp.
|
|
684
|
+
tmp.y1d_1 = tmp_0;
|
|
678
685
|
} else {
|
|
679
|
-
this.
|
|
680
|
-
this.
|
|
686
|
+
this.y1d_1 = true;
|
|
687
|
+
this.s1d_1.o1c();
|
|
681
688
|
}
|
|
682
689
|
|
|
683
690
|
break;
|
|
684
691
|
case 3:
|
|
685
692
|
if (index === 0)
|
|
686
|
-
this.
|
|
693
|
+
this.y1d_1 = true;
|
|
687
694
|
if (index === 1) {
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
695
|
+
this.s1d_1.r1c(_Char___init__impl__6a9atx(44));
|
|
696
|
+
this.s1d_1.q1c();
|
|
697
|
+
this.y1d_1 = false;
|
|
691
698
|
}
|
|
692
699
|
|
|
693
700
|
break;
|
|
694
701
|
default:
|
|
695
|
-
if (!this.
|
|
696
|
-
this.
|
|
702
|
+
if (!this.s1d_1.l1c_1) {
|
|
703
|
+
this.s1d_1.r1c(_Char___init__impl__6a9atx(44));
|
|
697
704
|
}
|
|
698
705
|
|
|
699
|
-
this.
|
|
700
|
-
this.
|
|
701
|
-
this.
|
|
702
|
-
this.
|
|
706
|
+
this.s1d_1.o1c();
|
|
707
|
+
this.dm(getJsonElementName(descriptor, this.t1d_1, index));
|
|
708
|
+
this.s1d_1.r1c(_Char___init__impl__6a9atx(58));
|
|
709
|
+
this.s1d_1.q1c();
|
|
703
710
|
break;
|
|
704
711
|
}
|
|
705
712
|
return true;
|
|
706
713
|
};
|
|
707
|
-
protoOf(StreamingJsonEncoder).
|
|
708
|
-
if (!(value == null) || this.
|
|
709
|
-
protoOf(AbstractEncoder).
|
|
714
|
+
protoOf(StreamingJsonEncoder).rm = function (descriptor, index, serializer, value) {
|
|
715
|
+
if (!(value == null) || this.x1d_1.y1b_1) {
|
|
716
|
+
protoOf(AbstractEncoder).rm.call(this, descriptor, index, serializer, value);
|
|
710
717
|
}
|
|
711
718
|
};
|
|
712
|
-
protoOf(StreamingJsonEncoder).
|
|
719
|
+
protoOf(StreamingJsonEncoder).em = function (descriptor) {
|
|
713
720
|
var tmp;
|
|
714
721
|
if (get_isUnsignedNumber(descriptor)) {
|
|
715
722
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
716
723
|
var tmp_0;
|
|
717
|
-
var tmp_1 = this.
|
|
724
|
+
var tmp_1 = this.s1d_1;
|
|
718
725
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
719
|
-
tmp_0 = this.
|
|
726
|
+
tmp_0 = this.s1d_1;
|
|
720
727
|
} else {
|
|
721
|
-
var tmp1 = this.
|
|
728
|
+
var tmp1 = this.s1d_1.k1c_1;
|
|
722
729
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeInline.stub_for_inlining' call
|
|
723
|
-
var p1 = this.
|
|
730
|
+
var p1 = this.y1d_1;
|
|
724
731
|
tmp_0 = new ComposerForUnsignedNumbers(tmp1, p1);
|
|
725
732
|
}
|
|
726
733
|
var tmp$ret$1 = tmp_0;
|
|
727
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
734
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.t1d_1, this.u1d_1, null);
|
|
728
735
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
729
736
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
730
737
|
var tmp_2;
|
|
731
|
-
var tmp_3 = this.
|
|
738
|
+
var tmp_3 = this.s1d_1;
|
|
732
739
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
733
|
-
tmp_2 = this.
|
|
740
|
+
tmp_2 = this.s1d_1;
|
|
734
741
|
} else {
|
|
735
|
-
var tmp4 = this.
|
|
742
|
+
var tmp4 = this.s1d_1.k1c_1;
|
|
736
743
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeInline.stub_for_inlining' call
|
|
737
|
-
var p1_0 = this.
|
|
744
|
+
var p1_0 = this.y1d_1;
|
|
738
745
|
tmp_2 = new ComposerForUnquotedLiterals(tmp4, p1_0);
|
|
739
746
|
}
|
|
740
747
|
var tmp$ret$3 = tmp_2;
|
|
741
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
748
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.t1d_1, this.u1d_1, null);
|
|
749
|
+
} else if (!(this.z1d_1 == null)) {
|
|
750
|
+
// Inline function 'kotlin.apply' call
|
|
751
|
+
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeInline.<anonymous>' call
|
|
752
|
+
this.a1e_1 = descriptor.pk();
|
|
753
|
+
tmp = this;
|
|
742
754
|
} else {
|
|
743
|
-
tmp = protoOf(AbstractEncoder).
|
|
755
|
+
tmp = protoOf(AbstractEncoder).em.call(this, descriptor);
|
|
744
756
|
}
|
|
745
757
|
return tmp;
|
|
746
758
|
};
|
|
747
|
-
protoOf(StreamingJsonEncoder).
|
|
748
|
-
this.
|
|
759
|
+
protoOf(StreamingJsonEncoder).ul = function () {
|
|
760
|
+
this.s1d_1.t1c('null');
|
|
749
761
|
};
|
|
750
|
-
protoOf(StreamingJsonEncoder).
|
|
751
|
-
if (this.
|
|
752
|
-
this.
|
|
762
|
+
protoOf(StreamingJsonEncoder).vl = function (value) {
|
|
763
|
+
if (this.y1d_1) {
|
|
764
|
+
this.dm(value.toString());
|
|
753
765
|
} else {
|
|
754
|
-
this.
|
|
766
|
+
this.s1d_1.c1d(value);
|
|
755
767
|
}
|
|
756
768
|
};
|
|
757
|
-
protoOf(StreamingJsonEncoder).
|
|
758
|
-
if (this.
|
|
759
|
-
this.
|
|
769
|
+
protoOf(StreamingJsonEncoder).wl = function (value) {
|
|
770
|
+
if (this.y1d_1) {
|
|
771
|
+
this.dm(value.toString());
|
|
760
772
|
} else {
|
|
761
|
-
this.
|
|
773
|
+
this.s1d_1.x1c(value);
|
|
762
774
|
}
|
|
763
775
|
};
|
|
764
|
-
protoOf(StreamingJsonEncoder).
|
|
765
|
-
if (this.
|
|
766
|
-
this.
|
|
776
|
+
protoOf(StreamingJsonEncoder).xl = function (value) {
|
|
777
|
+
if (this.y1d_1) {
|
|
778
|
+
this.dm(value.toString());
|
|
767
779
|
} else {
|
|
768
|
-
this.
|
|
780
|
+
this.s1d_1.z1c(value);
|
|
769
781
|
}
|
|
770
782
|
};
|
|
771
|
-
protoOf(StreamingJsonEncoder).
|
|
772
|
-
if (this.
|
|
773
|
-
this.
|
|
783
|
+
protoOf(StreamingJsonEncoder).yl = function (value) {
|
|
784
|
+
if (this.y1d_1) {
|
|
785
|
+
this.dm(value.toString());
|
|
774
786
|
} else {
|
|
775
|
-
this.
|
|
787
|
+
this.s1d_1.a1d(value);
|
|
776
788
|
}
|
|
777
789
|
};
|
|
778
|
-
protoOf(StreamingJsonEncoder).
|
|
779
|
-
if (this.
|
|
780
|
-
this.
|
|
790
|
+
protoOf(StreamingJsonEncoder).zl = function (value) {
|
|
791
|
+
if (this.y1d_1) {
|
|
792
|
+
this.dm(value.toString());
|
|
781
793
|
} else {
|
|
782
|
-
this.
|
|
794
|
+
this.s1d_1.b1d(value);
|
|
783
795
|
}
|
|
784
796
|
};
|
|
785
|
-
protoOf(StreamingJsonEncoder).
|
|
786
|
-
if (this.
|
|
787
|
-
this.
|
|
797
|
+
protoOf(StreamingJsonEncoder).am = function (value) {
|
|
798
|
+
if (this.y1d_1) {
|
|
799
|
+
this.dm(value.toString());
|
|
788
800
|
} else {
|
|
789
|
-
this.
|
|
801
|
+
this.s1d_1.v1c(value);
|
|
790
802
|
}
|
|
791
|
-
if (!this.
|
|
792
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
803
|
+
if (!this.x1d_1.d1c_1 && !isFinite(value)) {
|
|
804
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.s1d_1.k1c_1));
|
|
793
805
|
}
|
|
794
806
|
};
|
|
795
|
-
protoOf(StreamingJsonEncoder).
|
|
796
|
-
if (this.
|
|
797
|
-
this.
|
|
807
|
+
protoOf(StreamingJsonEncoder).bm = function (value) {
|
|
808
|
+
if (this.y1d_1) {
|
|
809
|
+
this.dm(value.toString());
|
|
798
810
|
} else {
|
|
799
|
-
this.
|
|
811
|
+
this.s1d_1.w1c(value);
|
|
800
812
|
}
|
|
801
|
-
if (!this.
|
|
802
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
813
|
+
if (!this.x1d_1.d1c_1 && !isFinite_0(value)) {
|
|
814
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.s1d_1.k1c_1));
|
|
803
815
|
}
|
|
804
816
|
};
|
|
805
|
-
protoOf(StreamingJsonEncoder).
|
|
806
|
-
this.
|
|
817
|
+
protoOf(StreamingJsonEncoder).cm = function (value) {
|
|
818
|
+
this.dm(toString_1(value));
|
|
807
819
|
};
|
|
808
|
-
protoOf(StreamingJsonEncoder).
|
|
809
|
-
return this.
|
|
820
|
+
protoOf(StreamingJsonEncoder).dm = function (value) {
|
|
821
|
+
return this.s1d_1.d1d(value);
|
|
810
822
|
};
|
|
811
823
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
812
824
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
813
|
-
return _this__u8e3s4.
|
|
825
|
+
return _this__u8e3s4.rk() && get_unsignedNumberDescriptors().d1(_this__u8e3s4);
|
|
814
826
|
}
|
|
815
827
|
function get_isUnquotedLiteral(_this__u8e3s4) {
|
|
816
828
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
817
|
-
return _this__u8e3s4.
|
|
829
|
+
return _this__u8e3s4.rk() && equals(_this__u8e3s4, get_jsonUnquotedLiteralDescriptor());
|
|
818
830
|
}
|
|
819
831
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
820
832
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
821
833
|
if (!properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
822
834
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
823
|
-
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance()).
|
|
835
|
+
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance()).oj(), serializer_1(Companion_getInstance_0()).oj(), serializer_2(Companion_getInstance_1()).oj(), serializer_3(Companion_getInstance_2()).oj()]);
|
|
824
836
|
}
|
|
825
837
|
}
|
|
826
838
|
function get_ESCAPE_STRINGS() {
|
|
@@ -849,7 +861,7 @@
|
|
|
849
861
|
}
|
|
850
862
|
function printQuoted(_this__u8e3s4, value) {
|
|
851
863
|
_init_properties_StringOps_kt__fcy1db();
|
|
852
|
-
_this__u8e3s4.
|
|
864
|
+
_this__u8e3s4.y7(_Char___init__impl__6a9atx(34));
|
|
853
865
|
var lastPos = 0;
|
|
854
866
|
var inductionVariable = 0;
|
|
855
867
|
var last = charSequenceLength(value) - 1 | 0;
|
|
@@ -861,18 +873,17 @@
|
|
|
861
873
|
var this_0 = charSequenceGet(value, i);
|
|
862
874
|
var c = Char__toInt_impl_vasixd(this_0);
|
|
863
875
|
if (c < get_ESCAPE_STRINGS().length && !(get_ESCAPE_STRINGS()[c] == null)) {
|
|
864
|
-
_this__u8e3s4.
|
|
865
|
-
_this__u8e3s4.
|
|
876
|
+
_this__u8e3s4.mb(value, lastPos, i);
|
|
877
|
+
_this__u8e3s4.x7(get_ESCAPE_STRINGS()[c]);
|
|
866
878
|
lastPos = i + 1 | 0;
|
|
867
879
|
}
|
|
868
880
|
}
|
|
869
881
|
while (inductionVariable <= last);
|
|
870
|
-
if (!(lastPos === 0))
|
|
871
|
-
_this__u8e3s4.
|
|
872
|
-
|
|
873
|
-
_this__u8e3s4.
|
|
874
|
-
|
|
875
|
-
_this__u8e3s4.d8(_Char___init__impl__6a9atx(34));
|
|
882
|
+
if (!(lastPos === 0))
|
|
883
|
+
_this__u8e3s4.mb(value, lastPos, value.length);
|
|
884
|
+
else
|
|
885
|
+
_this__u8e3s4.x7(value);
|
|
886
|
+
_this__u8e3s4.y7(_Char___init__impl__6a9atx(34));
|
|
876
887
|
}
|
|
877
888
|
var properties_initialized_StringOps_kt_wzaea7;
|
|
878
889
|
function _init_properties_StringOps_kt__fcy1db() {
|
|
@@ -999,11 +1010,11 @@
|
|
|
999
1010
|
var $ENTRIES;
|
|
1000
1011
|
function WriteMode(name, ordinal, begin, end) {
|
|
1001
1012
|
Enum.call(this, name, ordinal);
|
|
1002
|
-
this.
|
|
1003
|
-
this.
|
|
1013
|
+
this.h1e_1 = begin;
|
|
1014
|
+
this.i1e_1 = end;
|
|
1004
1015
|
}
|
|
1005
1016
|
function switchMode(_this__u8e3s4, desc) {
|
|
1006
|
-
var tmp0_subject = desc.
|
|
1017
|
+
var tmp0_subject = desc.qk();
|
|
1007
1018
|
var tmp;
|
|
1008
1019
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
1009
1020
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -1013,8 +1024,8 @@
|
|
|
1013
1024
|
} else {
|
|
1014
1025
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
1015
1026
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
1016
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
1017
|
-
var keyKind = keyDescriptor.
|
|
1027
|
+
var keyDescriptor = carrierDescriptor(desc.vk(0), _this__u8e3s4.tm());
|
|
1028
|
+
var keyKind = keyDescriptor.qk();
|
|
1018
1029
|
var tmp_0;
|
|
1019
1030
|
var tmp_1;
|
|
1020
1031
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -1026,7 +1037,7 @@
|
|
|
1026
1037
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
1027
1038
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
1028
1039
|
} else {
|
|
1029
|
-
if (_this__u8e3s4.
|
|
1040
|
+
if (_this__u8e3s4.n1b_1.w1b_1) {
|
|
1030
1041
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
1031
1042
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
1032
1043
|
} else {
|
|
@@ -1043,12 +1054,12 @@
|
|
|
1043
1054
|
}
|
|
1044
1055
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
1045
1056
|
var tmp;
|
|
1046
|
-
if (equals(_this__u8e3s4.
|
|
1057
|
+
if (equals(_this__u8e3s4.qk(), CONTEXTUAL_getInstance())) {
|
|
1047
1058
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
1048
1059
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
1049
1060
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
1050
|
-
} else if (_this__u8e3s4.
|
|
1051
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
1061
|
+
} else if (_this__u8e3s4.rk()) {
|
|
1062
|
+
tmp = carrierDescriptor(_this__u8e3s4.vk(0), module_0);
|
|
1052
1063
|
} else {
|
|
1053
1064
|
tmp = _this__u8e3s4;
|
|
1054
1065
|
}
|
|
@@ -1071,28 +1082,28 @@
|
|
|
1071
1082
|
return WriteMode_POLY_OBJ_instance;
|
|
1072
1083
|
}
|
|
1073
1084
|
function get_schemaCache(_this__u8e3s4) {
|
|
1074
|
-
return _this__u8e3s4.
|
|
1085
|
+
return _this__u8e3s4.p1b_1;
|
|
1075
1086
|
}
|
|
1076
1087
|
function JsonToStringWriter() {
|
|
1077
|
-
this.
|
|
1088
|
+
this.r1b_1 = StringBuilder_init_$Create$(128);
|
|
1078
1089
|
}
|
|
1079
|
-
protoOf(JsonToStringWriter).
|
|
1080
|
-
this.
|
|
1090
|
+
protoOf(JsonToStringWriter).y1c = function (value) {
|
|
1091
|
+
this.r1b_1.pb(value);
|
|
1081
1092
|
};
|
|
1082
|
-
protoOf(JsonToStringWriter).
|
|
1083
|
-
this.
|
|
1093
|
+
protoOf(JsonToStringWriter).s1c = function (char) {
|
|
1094
|
+
this.r1b_1.y7(char);
|
|
1084
1095
|
};
|
|
1085
|
-
protoOf(JsonToStringWriter).
|
|
1086
|
-
this.
|
|
1096
|
+
protoOf(JsonToStringWriter).u1c = function (text) {
|
|
1097
|
+
this.r1b_1.x7(text);
|
|
1087
1098
|
};
|
|
1088
|
-
protoOf(JsonToStringWriter).
|
|
1089
|
-
printQuoted(this.
|
|
1099
|
+
protoOf(JsonToStringWriter).e1d = function (text) {
|
|
1100
|
+
printQuoted(this.r1b_1, text);
|
|
1090
1101
|
};
|
|
1091
|
-
protoOf(JsonToStringWriter).
|
|
1092
|
-
this.
|
|
1102
|
+
protoOf(JsonToStringWriter).s1b = function () {
|
|
1103
|
+
this.r1b_1.rb();
|
|
1093
1104
|
};
|
|
1094
1105
|
protoOf(JsonToStringWriter).toString = function () {
|
|
1095
|
-
return this.
|
|
1106
|
+
return this.r1b_1.toString();
|
|
1096
1107
|
};
|
|
1097
1108
|
function createMapForCache(initialCapacity) {
|
|
1098
1109
|
return HashMap_init_$Create$(initialCapacity);
|