git-digger 1.2.20 → 1.2.21
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 +50 -50
- package/kotlin/clikt-clikt.js +1163 -1163
- package/kotlin/colormath-root-colormath.js +421 -421
- package/kotlin/kotlin-kotlin-stdlib.js +211 -210
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +64 -64
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +231 -231
- package/kotlin/markdown.js +1865 -1865
- package/kotlin/mordant-mordant.js +1595 -1595
- package/kotlin/tools-digger-cli.js +67 -67
- package/kotlin/tools-digger-core.js +81 -125
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +67 -67
- package/kotlin/tools-digger-model.js +7 -7
- 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 objectMeta = kotlin_kotlin.$_$.
|
|
7
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.c9;
|
|
6
|
+
var objectMeta = kotlin_kotlin.$_$.b9;
|
|
7
|
+
var setMetadataFor = kotlin_kotlin.$_$.d9;
|
|
8
8
|
var Unit_instance = kotlin_kotlin.$_$.l3;
|
|
9
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
9
|
+
var classMeta = kotlin_kotlin.$_$.y7;
|
|
10
10
|
var VOID = kotlin_kotlin.$_$.g;
|
|
11
|
-
var Enum = kotlin_kotlin.$_$.
|
|
11
|
+
var Enum = kotlin_kotlin.$_$.fc;
|
|
12
12
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.b3;
|
|
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.$_$.e9;
|
|
16
16
|
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.g2;
|
|
17
17
|
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.i2;
|
|
18
18
|
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.l2;
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.q2;
|
|
23
23
|
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.s2;
|
|
24
24
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
|
|
25
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
26
|
-
var toString = kotlin_kotlin.$_$.
|
|
25
|
+
var captureStack = kotlin_kotlin.$_$.s7;
|
|
26
|
+
var toString = kotlin_kotlin.$_$.f9;
|
|
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.$_$.w7;
|
|
30
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.x7;
|
|
31
|
+
var coerceAtLeast = kotlin_kotlin.$_$.k9;
|
|
32
|
+
var coerceAtMost = kotlin_kotlin.$_$.m9;
|
|
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.$_$.a8;
|
|
35
|
+
var fillArrayVal = kotlin_kotlin.$_$.b8;
|
|
36
36
|
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
37
37
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.k1;
|
|
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.$_$.
|
|
42
|
+
var THROW_CCE = kotlin_kotlin.$_$.nc;
|
|
43
|
+
var objectCreate = kotlin_kotlin.$_$.a9;
|
|
44
|
+
var ensureNotNull = kotlin_kotlin.$_$.bd;
|
|
45
45
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
46
46
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
47
47
|
var OBJECT_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
48
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
48
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.gd;
|
|
49
49
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.g1;
|
|
50
50
|
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
51
51
|
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.$_$.
|
|
52
|
+
var isInterface = kotlin_kotlin.$_$.q8;
|
|
53
|
+
var isFinite = kotlin_kotlin.$_$.dd;
|
|
54
|
+
var isFinite_0 = kotlin_kotlin.$_$.cd;
|
|
55
55
|
var toString_0 = kotlin_kotlin.$_$.w1;
|
|
56
|
-
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
57
56
|
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
57
|
+
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
58
58
|
var Companion_getInstance = kotlin_kotlin.$_$.i3;
|
|
59
59
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
60
60
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.j3;
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
66
66
|
var setOf = kotlin_kotlin.$_$.m6;
|
|
67
67
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.v1;
|
|
68
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
69
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
70
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
68
|
+
var numberToChar = kotlin_kotlin.$_$.w8;
|
|
69
|
+
var charSequenceGet = kotlin_kotlin.$_$.v7;
|
|
70
|
+
var enumEntries = kotlin_kotlin.$_$.m7;
|
|
71
71
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
72
72
|
var MAP_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
73
73
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
setMetadataFor(JsonEncodingException, 'JsonEncodingException', classMeta, JsonException);
|
|
91
91
|
setMetadataFor(Key, 'Key', classMeta, VOID, VOID, Key);
|
|
92
92
|
setMetadataFor(DescriptorSchemaCache, 'DescriptorSchemaCache', classMeta, VOID, VOID, DescriptorSchemaCache);
|
|
93
|
-
setMetadataFor(StreamingJsonEncoder, 'StreamingJsonEncoder', classMeta, AbstractEncoder, [
|
|
93
|
+
setMetadataFor(StreamingJsonEncoder, 'StreamingJsonEncoder', classMeta, AbstractEncoder, [CompositeEncoder, Encoder, AbstractEncoder]);
|
|
94
94
|
setMetadataFor(WriteMode, 'WriteMode', classMeta, Enum);
|
|
95
95
|
setMetadataFor(JsonToStringWriter, 'JsonToStringWriter', classMeta, VOID, VOID, JsonToStringWriter);
|
|
96
96
|
//endregion
|
|
@@ -106,20 +106,20 @@
|
|
|
106
106
|
}
|
|
107
107
|
function Json(configuration, serializersModule) {
|
|
108
108
|
Default_getInstance();
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
109
|
+
this.a19_1 = configuration;
|
|
110
|
+
this.b19_1 = serializersModule;
|
|
111
|
+
this.c19_1 = new DescriptorSchemaCache();
|
|
112
112
|
}
|
|
113
113
|
protoOf(Json).ok = function () {
|
|
114
|
-
return this.
|
|
114
|
+
return this.b19_1;
|
|
115
115
|
};
|
|
116
|
-
protoOf(Json).
|
|
116
|
+
protoOf(Json).d19 = function (serializer, value) {
|
|
117
117
|
var result = new JsonToStringWriter();
|
|
118
118
|
try {
|
|
119
119
|
encodeByWriter(this, result, serializer, value);
|
|
120
120
|
return result.toString();
|
|
121
121
|
}finally {
|
|
122
|
-
result.
|
|
122
|
+
result.f19();
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
function JsonClassDiscriminator() {
|
|
@@ -141,25 +141,25 @@
|
|
|
141
141
|
decodeEnumsCaseInsensitive = decodeEnumsCaseInsensitive === VOID ? false : decodeEnumsCaseInsensitive;
|
|
142
142
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
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.
|
|
144
|
+
this.g19_1 = encodeDefaults;
|
|
145
|
+
this.h19_1 = ignoreUnknownKeys;
|
|
146
|
+
this.i19_1 = isLenient;
|
|
147
|
+
this.j19_1 = allowStructuredMapKeys;
|
|
148
|
+
this.k19_1 = prettyPrint;
|
|
149
|
+
this.l19_1 = explicitNulls;
|
|
150
|
+
this.m19_1 = prettyPrintIndent;
|
|
151
|
+
this.n19_1 = coerceInputValues;
|
|
152
|
+
this.o19_1 = useArrayPolymorphism;
|
|
153
|
+
this.p19_1 = classDiscriminator;
|
|
154
|
+
this.q19_1 = allowSpecialFloatingPointValues;
|
|
155
|
+
this.r19_1 = useAlternativeNames;
|
|
156
|
+
this.s19_1 = namingStrategy;
|
|
157
|
+
this.t19_1 = decodeEnumsCaseInsensitive;
|
|
158
|
+
this.u19_1 = allowTrailingComma;
|
|
159
|
+
this.v19_1 = classDiscriminatorMode;
|
|
160
160
|
}
|
|
161
161
|
protoOf(JsonConfiguration).toString = function () {
|
|
162
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
162
|
+
return 'JsonConfiguration(encodeDefaults=' + this.g19_1 + ', ignoreUnknownKeys=' + this.h19_1 + ', isLenient=' + this.i19_1 + ', ' + ('allowStructuredMapKeys=' + this.j19_1 + ', prettyPrint=' + this.k19_1 + ', explicitNulls=' + this.l19_1 + ', ') + ("prettyPrintIndent='" + this.m19_1 + "', coerceInputValues=" + this.n19_1 + ', useArrayPolymorphism=' + this.o19_1 + ', ') + ("classDiscriminator='" + this.p19_1 + "', allowSpecialFloatingPointValues=" + this.q19_1 + ', ') + ('useAlternativeNames=' + this.r19_1 + ', namingStrategy=' + this.s19_1 + ', decodeEnumsCaseInsensitive=' + this.t19_1 + ', ') + ('allowTrailingComma=' + this.u19_1 + ', classDiscriminatorMode=' + this.v19_1 + ')');
|
|
163
163
|
};
|
|
164
164
|
var ClassDiscriminatorMode_NONE_instance;
|
|
165
165
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -197,133 +197,133 @@
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
function Composer(writer) {
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
200
|
+
this.w19_1 = writer;
|
|
201
|
+
this.x19_1 = true;
|
|
202
202
|
}
|
|
203
|
+
protoOf(Composer).y19 = function () {
|
|
204
|
+
this.x19_1 = true;
|
|
205
|
+
};
|
|
203
206
|
protoOf(Composer).z19 = function () {
|
|
204
|
-
|
|
207
|
+
return Unit_instance;
|
|
205
208
|
};
|
|
206
209
|
protoOf(Composer).a1a = function () {
|
|
207
|
-
|
|
210
|
+
this.x19_1 = false;
|
|
208
211
|
};
|
|
209
212
|
protoOf(Composer).b1a = function () {
|
|
210
|
-
this.
|
|
213
|
+
this.x19_1 = false;
|
|
211
214
|
};
|
|
212
215
|
protoOf(Composer).c1a = function () {
|
|
213
|
-
this.y19_1 = false;
|
|
214
|
-
};
|
|
215
|
-
protoOf(Composer).d1a = function () {
|
|
216
216
|
return Unit_instance;
|
|
217
217
|
};
|
|
218
|
-
protoOf(Composer).
|
|
219
|
-
return this.
|
|
218
|
+
protoOf(Composer).d1a = function (v) {
|
|
219
|
+
return this.w19_1.e1a(v);
|
|
220
|
+
};
|
|
221
|
+
protoOf(Composer).f1a = function (v) {
|
|
222
|
+
return this.w19_1.g1a(v);
|
|
220
223
|
};
|
|
221
|
-
protoOf(Composer).
|
|
222
|
-
return this.
|
|
224
|
+
protoOf(Composer).h1a = function (v) {
|
|
225
|
+
return this.w19_1.g1a(v.toString());
|
|
223
226
|
};
|
|
224
227
|
protoOf(Composer).i1a = function (v) {
|
|
225
|
-
return this.
|
|
228
|
+
return this.w19_1.g1a(v.toString());
|
|
226
229
|
};
|
|
227
230
|
protoOf(Composer).j1a = function (v) {
|
|
228
|
-
return this.
|
|
231
|
+
return this.w19_1.k1a(toLong(v));
|
|
229
232
|
};
|
|
230
|
-
protoOf(Composer).
|
|
231
|
-
return this.
|
|
233
|
+
protoOf(Composer).l1a = function (v) {
|
|
234
|
+
return this.w19_1.k1a(toLong(v));
|
|
232
235
|
};
|
|
233
236
|
protoOf(Composer).m1a = function (v) {
|
|
234
|
-
return this.
|
|
237
|
+
return this.w19_1.k1a(toLong(v));
|
|
235
238
|
};
|
|
236
239
|
protoOf(Composer).n1a = function (v) {
|
|
237
|
-
return this.
|
|
240
|
+
return this.w19_1.k1a(v);
|
|
238
241
|
};
|
|
239
242
|
protoOf(Composer).o1a = function (v) {
|
|
240
|
-
return this.
|
|
243
|
+
return this.w19_1.g1a(v.toString());
|
|
241
244
|
};
|
|
242
|
-
protoOf(Composer).p1a = function (
|
|
243
|
-
return this.
|
|
244
|
-
};
|
|
245
|
-
protoOf(Composer).q1a = function (value) {
|
|
246
|
-
return this.x19_1.r1a(value);
|
|
245
|
+
protoOf(Composer).p1a = function (value) {
|
|
246
|
+
return this.w19_1.q1a(value);
|
|
247
247
|
};
|
|
248
248
|
function Composer_0(sb, json) {
|
|
249
|
-
return json.
|
|
249
|
+
return json.a19_1.k19_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
250
250
|
}
|
|
251
251
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
252
252
|
Composer.call(this, writer);
|
|
253
|
-
this.
|
|
253
|
+
this.t1a_1 = forceQuoting;
|
|
254
254
|
}
|
|
255
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
256
|
-
if (this.
|
|
255
|
+
protoOf(ComposerForUnsignedNumbers).m1a = function (v) {
|
|
256
|
+
if (this.t1a_1) {
|
|
257
257
|
// Inline function 'kotlin.toUInt' call
|
|
258
258
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
259
|
-
this.
|
|
259
|
+
this.p1a(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
260
260
|
} else {
|
|
261
261
|
// Inline function 'kotlin.toUInt' call
|
|
262
262
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
263
|
-
this.
|
|
263
|
+
this.f1a(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
264
264
|
}
|
|
265
265
|
};
|
|
266
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
267
|
-
if (this.
|
|
266
|
+
protoOf(ComposerForUnsignedNumbers).n1a = function (v) {
|
|
267
|
+
if (this.t1a_1) {
|
|
268
268
|
// Inline function 'kotlin.toULong' call
|
|
269
269
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
270
|
-
this.
|
|
270
|
+
this.p1a(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
271
271
|
} else {
|
|
272
272
|
// Inline function 'kotlin.toULong' call
|
|
273
273
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
274
|
-
this.
|
|
274
|
+
this.f1a(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
278
|
-
if (this.
|
|
277
|
+
protoOf(ComposerForUnsignedNumbers).j1a = function (v) {
|
|
278
|
+
if (this.t1a_1) {
|
|
279
279
|
// Inline function 'kotlin.toUByte' call
|
|
280
280
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
281
|
-
this.
|
|
281
|
+
this.p1a(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
282
282
|
} else {
|
|
283
283
|
// Inline function 'kotlin.toUByte' call
|
|
284
284
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
285
|
-
this.
|
|
285
|
+
this.f1a(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
289
|
-
if (this.
|
|
288
|
+
protoOf(ComposerForUnsignedNumbers).l1a = function (v) {
|
|
289
|
+
if (this.t1a_1) {
|
|
290
290
|
// Inline function 'kotlin.toUShort' call
|
|
291
291
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
292
|
-
this.
|
|
292
|
+
this.p1a(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
293
293
|
} else {
|
|
294
294
|
// Inline function 'kotlin.toUShort' call
|
|
295
295
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
296
|
-
this.
|
|
296
|
+
this.f1a(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
299
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
300
300
|
Composer.call(this, writer);
|
|
301
|
-
this.
|
|
301
|
+
this.w1a_1 = forceQuoting;
|
|
302
302
|
}
|
|
303
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
304
|
-
if (this.
|
|
305
|
-
protoOf(Composer).
|
|
303
|
+
protoOf(ComposerForUnquotedLiterals).p1a = function (value) {
|
|
304
|
+
if (this.w1a_1) {
|
|
305
|
+
protoOf(Composer).p1a.call(this, value);
|
|
306
306
|
} else {
|
|
307
|
-
protoOf(Composer).
|
|
307
|
+
protoOf(Composer).f1a.call(this, value);
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
310
|
function ComposerWithPrettyPrint(writer, json) {
|
|
311
311
|
Composer.call(this, writer);
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
312
|
+
this.z1a_1 = json;
|
|
313
|
+
this.a1b_1 = 0;
|
|
314
314
|
}
|
|
315
|
+
protoOf(ComposerWithPrettyPrint).y19 = function () {
|
|
316
|
+
this.x19_1 = true;
|
|
317
|
+
this.a1b_1 = this.a1b_1 + 1 | 0;
|
|
318
|
+
};
|
|
315
319
|
protoOf(ComposerWithPrettyPrint).z19 = function () {
|
|
316
|
-
this.
|
|
317
|
-
this.b1b_1 = this.b1b_1 + 1 | 0;
|
|
320
|
+
this.a1b_1 = this.a1b_1 - 1 | 0;
|
|
318
321
|
};
|
|
319
322
|
protoOf(ComposerWithPrettyPrint).a1a = function () {
|
|
320
|
-
this.
|
|
321
|
-
|
|
322
|
-
protoOf(ComposerWithPrettyPrint).b1a = function () {
|
|
323
|
-
this.y19_1 = false;
|
|
324
|
-
this.g1a('\n');
|
|
323
|
+
this.x19_1 = false;
|
|
324
|
+
this.f1a('\n');
|
|
325
325
|
// Inline function 'kotlin.repeat' call
|
|
326
|
-
var times = this.
|
|
326
|
+
var times = this.a1b_1;
|
|
327
327
|
// Inline function 'kotlin.contracts.contract' call
|
|
328
328
|
var inductionVariable = 0;
|
|
329
329
|
if (inductionVariable < times)
|
|
@@ -331,19 +331,19 @@
|
|
|
331
331
|
var index = inductionVariable;
|
|
332
332
|
inductionVariable = inductionVariable + 1 | 0;
|
|
333
333
|
// Inline function 'kotlinx.serialization.json.internal.ComposerWithPrettyPrint.nextItem.<anonymous>' call
|
|
334
|
-
this.
|
|
334
|
+
this.f1a(this.z1a_1.a19_1.m19_1);
|
|
335
335
|
}
|
|
336
336
|
while (inductionVariable < times);
|
|
337
337
|
};
|
|
338
|
-
protoOf(ComposerWithPrettyPrint).
|
|
339
|
-
if (this.
|
|
340
|
-
this.
|
|
338
|
+
protoOf(ComposerWithPrettyPrint).b1a = function () {
|
|
339
|
+
if (this.x19_1)
|
|
340
|
+
this.x19_1 = false;
|
|
341
341
|
else {
|
|
342
|
-
this.
|
|
342
|
+
this.a1a();
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
|
-
protoOf(ComposerWithPrettyPrint).
|
|
346
|
-
this.
|
|
345
|
+
protoOf(ComposerWithPrettyPrint).c1a = function () {
|
|
346
|
+
this.d1a(_Char___init__impl__6a9atx(32));
|
|
347
347
|
};
|
|
348
348
|
function JsonEncodingException(message) {
|
|
349
349
|
JsonException.call(this, message);
|
|
@@ -393,13 +393,13 @@
|
|
|
393
393
|
}
|
|
394
394
|
function namingStrategy(_this__u8e3s4, json) {
|
|
395
395
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
396
|
-
return equals(_this__u8e3s4.oi(), CLASS_getInstance()) ? json.
|
|
396
|
+
return equals(_this__u8e3s4.oi(), CLASS_getInstance()) ? json.a19_1.s19_1 : null;
|
|
397
397
|
}
|
|
398
398
|
function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
399
399
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
400
400
|
var tmp = get_schemaCache(json);
|
|
401
401
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
402
|
-
return tmp.
|
|
402
|
+
return tmp.c1b(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
403
403
|
}
|
|
404
404
|
function serializationNamesIndices$lambda($this_serializationNamesIndices, $strategy) {
|
|
405
405
|
return function () {
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
while (tmp < tmp_0) {
|
|
411
411
|
var tmp_2 = tmp;
|
|
412
412
|
var baseName = $this_serializationNamesIndices.qi(tmp_2);
|
|
413
|
-
tmp_1[tmp_2] = $strategy.
|
|
413
|
+
tmp_1[tmp_2] = $strategy.d1b($this_serializationNamesIndices, tmp_2, baseName);
|
|
414
414
|
tmp = tmp + 1 | 0;
|
|
415
415
|
}
|
|
416
416
|
return tmp_1;
|
|
@@ -437,9 +437,9 @@
|
|
|
437
437
|
while (tmp0_iterator.s()) {
|
|
438
438
|
var annotation = tmp0_iterator.u();
|
|
439
439
|
if (annotation instanceof JsonClassDiscriminator)
|
|
440
|
-
return annotation.
|
|
440
|
+
return annotation.m1b_1;
|
|
441
441
|
}
|
|
442
|
-
return json.
|
|
442
|
+
return json.a19_1.p19_1;
|
|
443
443
|
}
|
|
444
444
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
445
445
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -475,12 +475,12 @@
|
|
|
475
475
|
function Key() {
|
|
476
476
|
}
|
|
477
477
|
function DescriptorSchemaCache() {
|
|
478
|
-
this.
|
|
478
|
+
this.b1b_1 = createMapForCache(16);
|
|
479
479
|
}
|
|
480
|
-
protoOf(DescriptorSchemaCache).
|
|
480
|
+
protoOf(DescriptorSchemaCache).n1b = function (descriptor, key, value) {
|
|
481
481
|
// Inline function 'kotlin.collections.set' call
|
|
482
482
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
483
|
-
var this_0 = this.
|
|
483
|
+
var this_0 = this.b1b_1;
|
|
484
484
|
var value_0 = this_0.s2(descriptor);
|
|
485
485
|
var tmp;
|
|
486
486
|
if (value_0 == null) {
|
|
@@ -496,8 +496,8 @@
|
|
|
496
496
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
497
497
|
this_1.j2(key_0, value_1);
|
|
498
498
|
};
|
|
499
|
-
protoOf(DescriptorSchemaCache).
|
|
500
|
-
var tmp0_safe_receiver = this.
|
|
499
|
+
protoOf(DescriptorSchemaCache).c1b = function (descriptor, key, defaultValue) {
|
|
500
|
+
var tmp0_safe_receiver = this.o1b(descriptor, key);
|
|
501
501
|
if (tmp0_safe_receiver == null)
|
|
502
502
|
null;
|
|
503
503
|
else {
|
|
@@ -506,11 +506,11 @@
|
|
|
506
506
|
return tmp0_safe_receiver;
|
|
507
507
|
}
|
|
508
508
|
var value = defaultValue();
|
|
509
|
-
this.
|
|
509
|
+
this.n1b(descriptor, key, value);
|
|
510
510
|
return value;
|
|
511
511
|
};
|
|
512
|
-
protoOf(DescriptorSchemaCache).
|
|
513
|
-
var tmp0_safe_receiver = this.
|
|
512
|
+
protoOf(DescriptorSchemaCache).o1b = function (descriptor, key) {
|
|
513
|
+
var tmp0_safe_receiver = this.b1b_1.s2(descriptor);
|
|
514
514
|
var tmp;
|
|
515
515
|
if (tmp0_safe_receiver == null) {
|
|
516
516
|
tmp = null;
|
|
@@ -533,52 +533,52 @@
|
|
|
533
533
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
534
534
|
}
|
|
535
535
|
function encodeTypeInfo($this, descriptor) {
|
|
536
|
-
$this.
|
|
537
|
-
$this.yj(ensureNotNull($this.
|
|
538
|
-
$this.
|
|
539
|
-
$this.
|
|
536
|
+
$this.e1b_1.a1a();
|
|
537
|
+
$this.yj(ensureNotNull($this.l1b_1));
|
|
538
|
+
$this.e1b_1.d1a(get_COLON());
|
|
539
|
+
$this.e1b_1.c1a();
|
|
540
540
|
$this.yj(descriptor.ki());
|
|
541
541
|
}
|
|
542
542
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
543
543
|
AbstractEncoder.call(this);
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
547
|
-
this.
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
552
|
-
var i = this.
|
|
553
|
-
if (!(this.
|
|
554
|
-
if (!(this.
|
|
555
|
-
this.
|
|
544
|
+
this.e1b_1 = composer;
|
|
545
|
+
this.f1b_1 = json;
|
|
546
|
+
this.g1b_1 = mode;
|
|
547
|
+
this.h1b_1 = modeReuseCache;
|
|
548
|
+
this.i1b_1 = this.f1b_1.ok();
|
|
549
|
+
this.j1b_1 = this.f1b_1.a19_1;
|
|
550
|
+
this.k1b_1 = false;
|
|
551
|
+
this.l1b_1 = null;
|
|
552
|
+
var i = this.g1b_1.a9_1;
|
|
553
|
+
if (!(this.h1b_1 == null)) {
|
|
554
|
+
if (!(this.h1b_1[i] === null) ? true : !(this.h1b_1[i] === this)) {
|
|
555
|
+
this.h1b_1[i] = this;
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
protoOf(StreamingJsonEncoder).
|
|
560
|
-
return this.
|
|
559
|
+
protoOf(StreamingJsonEncoder).p1b = function () {
|
|
560
|
+
return this.f1b_1;
|
|
561
561
|
};
|
|
562
562
|
protoOf(StreamingJsonEncoder).ok = function () {
|
|
563
|
-
return this.
|
|
563
|
+
return this.i1b_1;
|
|
564
564
|
};
|
|
565
565
|
protoOf(StreamingJsonEncoder).rk = function (descriptor, index) {
|
|
566
|
-
return this.
|
|
566
|
+
return this.j1b_1.g19_1;
|
|
567
567
|
};
|
|
568
568
|
protoOf(StreamingJsonEncoder).lk = function (serializer, value) {
|
|
569
569
|
$l$block: {
|
|
570
570
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
571
|
-
if (this.
|
|
571
|
+
if (this.p1b().a19_1.o19_1) {
|
|
572
572
|
serializer.mh(this, value);
|
|
573
573
|
break $l$block;
|
|
574
574
|
}
|
|
575
575
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
576
576
|
var tmp;
|
|
577
577
|
if (isPolymorphicSerializer) {
|
|
578
|
-
tmp = !this.
|
|
578
|
+
tmp = !this.p1b().a19_1.v19_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
579
579
|
} else {
|
|
580
580
|
var tmp_0;
|
|
581
|
-
switch (this.
|
|
581
|
+
switch (this.p1b().a19_1.v19_1.a9_1) {
|
|
582
582
|
case 0:
|
|
583
583
|
case 2:
|
|
584
584
|
tmp_0 = false;
|
|
@@ -600,7 +600,7 @@
|
|
|
600
600
|
tmp = tmp_0;
|
|
601
601
|
}
|
|
602
602
|
var needDiscriminator = tmp;
|
|
603
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.lh(), this.
|
|
603
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.lh(), this.p1b()) : null;
|
|
604
604
|
var tmp_1;
|
|
605
605
|
if (isPolymorphicSerializer) {
|
|
606
606
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -627,89 +627,89 @@
|
|
|
627
627
|
var actualSerializer = tmp_1;
|
|
628
628
|
if (!(baseClassDiscriminator == null)) {
|
|
629
629
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue.<anonymous>' call
|
|
630
|
-
this.
|
|
630
|
+
this.l1b_1 = baseClassDiscriminator;
|
|
631
631
|
}
|
|
632
632
|
actualSerializer.mh(this, value);
|
|
633
633
|
}
|
|
634
634
|
};
|
|
635
635
|
protoOf(StreamingJsonEncoder).lj = function (descriptor) {
|
|
636
|
-
var newMode = switchMode(this.
|
|
637
|
-
if (!(newMode.
|
|
638
|
-
this.
|
|
639
|
-
this.
|
|
636
|
+
var newMode = switchMode(this.f1b_1, descriptor);
|
|
637
|
+
if (!(newMode.s1b_1 === get_INVALID())) {
|
|
638
|
+
this.e1b_1.d1a(newMode.s1b_1);
|
|
639
|
+
this.e1b_1.y19();
|
|
640
640
|
}
|
|
641
|
-
if (!(this.
|
|
641
|
+
if (!(this.l1b_1 == null)) {
|
|
642
642
|
encodeTypeInfo(this, descriptor);
|
|
643
|
-
this.
|
|
643
|
+
this.l1b_1 = null;
|
|
644
644
|
}
|
|
645
|
-
if (this.
|
|
645
|
+
if (this.g1b_1.equals(newMode)) {
|
|
646
646
|
return this;
|
|
647
647
|
}
|
|
648
|
-
var tmp0_safe_receiver = this.
|
|
648
|
+
var tmp0_safe_receiver = this.h1b_1;
|
|
649
649
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver[newMode.a9_1];
|
|
650
|
-
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
650
|
+
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.e1b_1, this.f1b_1, newMode, this.h1b_1) : tmp1_elvis_lhs;
|
|
651
651
|
};
|
|
652
652
|
protoOf(StreamingJsonEncoder).mj = function (descriptor) {
|
|
653
|
-
if (!(this.
|
|
654
|
-
this.
|
|
655
|
-
this.
|
|
656
|
-
this.
|
|
653
|
+
if (!(this.g1b_1.t1b_1 === get_INVALID())) {
|
|
654
|
+
this.e1b_1.z19();
|
|
655
|
+
this.e1b_1.b1a();
|
|
656
|
+
this.e1b_1.d1a(this.g1b_1.t1b_1);
|
|
657
657
|
}
|
|
658
658
|
};
|
|
659
659
|
protoOf(StreamingJsonEncoder).nj = function (descriptor, index) {
|
|
660
|
-
switch (this.
|
|
660
|
+
switch (this.g1b_1.a9_1) {
|
|
661
661
|
case 1:
|
|
662
|
-
if (!this.
|
|
663
|
-
this.
|
|
662
|
+
if (!this.e1b_1.x19_1) {
|
|
663
|
+
this.e1b_1.d1a(get_COMMA());
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
-
this.
|
|
666
|
+
this.e1b_1.a1a();
|
|
667
667
|
break;
|
|
668
668
|
case 2:
|
|
669
|
-
if (!this.
|
|
669
|
+
if (!this.e1b_1.x19_1) {
|
|
670
670
|
var tmp = this;
|
|
671
671
|
var tmp_0;
|
|
672
672
|
if ((index % 2 | 0) === 0) {
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
673
|
+
this.e1b_1.d1a(get_COMMA());
|
|
674
|
+
this.e1b_1.a1a();
|
|
675
675
|
tmp_0 = true;
|
|
676
676
|
} else {
|
|
677
|
-
this.
|
|
678
|
-
this.
|
|
677
|
+
this.e1b_1.d1a(get_COLON());
|
|
678
|
+
this.e1b_1.c1a();
|
|
679
679
|
tmp_0 = false;
|
|
680
680
|
}
|
|
681
|
-
tmp.
|
|
681
|
+
tmp.k1b_1 = tmp_0;
|
|
682
682
|
} else {
|
|
683
|
-
this.
|
|
684
|
-
this.
|
|
683
|
+
this.k1b_1 = true;
|
|
684
|
+
this.e1b_1.a1a();
|
|
685
685
|
}
|
|
686
686
|
|
|
687
687
|
break;
|
|
688
688
|
case 3:
|
|
689
689
|
if (index === 0)
|
|
690
|
-
this.
|
|
690
|
+
this.k1b_1 = true;
|
|
691
691
|
if (index === 1) {
|
|
692
|
-
this.
|
|
693
|
-
this.
|
|
694
|
-
this.
|
|
692
|
+
this.e1b_1.d1a(get_COMMA());
|
|
693
|
+
this.e1b_1.c1a();
|
|
694
|
+
this.k1b_1 = false;
|
|
695
695
|
}
|
|
696
696
|
|
|
697
697
|
break;
|
|
698
698
|
default:
|
|
699
|
-
if (!this.
|
|
700
|
-
this.
|
|
699
|
+
if (!this.e1b_1.x19_1) {
|
|
700
|
+
this.e1b_1.d1a(get_COMMA());
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
-
this.
|
|
704
|
-
this.yj(getJsonElementName(descriptor, this.
|
|
705
|
-
this.
|
|
706
|
-
this.
|
|
703
|
+
this.e1b_1.a1a();
|
|
704
|
+
this.yj(getJsonElementName(descriptor, this.f1b_1, index));
|
|
705
|
+
this.e1b_1.d1a(get_COLON());
|
|
706
|
+
this.e1b_1.c1a();
|
|
707
707
|
break;
|
|
708
708
|
}
|
|
709
709
|
return true;
|
|
710
710
|
};
|
|
711
711
|
protoOf(StreamingJsonEncoder).mk = function (descriptor, index, serializer, value) {
|
|
712
|
-
if (!(value == null) ? true : this.
|
|
712
|
+
if (!(value == null) ? true : this.j1b_1.l19_1) {
|
|
713
713
|
protoOf(AbstractEncoder).mk.call(this, descriptor, index, serializer, value);
|
|
714
714
|
}
|
|
715
715
|
};
|
|
@@ -718,93 +718,93 @@
|
|
|
718
718
|
if (get_isUnsignedNumber(descriptor)) {
|
|
719
719
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
720
720
|
var tmp_0;
|
|
721
|
-
var tmp_1 = this.
|
|
721
|
+
var tmp_1 = this.e1b_1;
|
|
722
722
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
723
|
-
tmp_0 = this.
|
|
723
|
+
tmp_0 = this.e1b_1;
|
|
724
724
|
} else {
|
|
725
|
-
tmp_0 = new ComposerForUnsignedNumbers(this.
|
|
725
|
+
tmp_0 = new ComposerForUnsignedNumbers(this.e1b_1.w19_1, this.k1b_1);
|
|
726
726
|
}
|
|
727
727
|
var tmp$ret$1 = tmp_0;
|
|
728
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
728
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.f1b_1, this.g1b_1, null);
|
|
729
729
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
730
730
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
731
731
|
var tmp_2;
|
|
732
|
-
var tmp_3 = this.
|
|
732
|
+
var tmp_3 = this.e1b_1;
|
|
733
733
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
734
|
-
tmp_2 = this.
|
|
734
|
+
tmp_2 = this.e1b_1;
|
|
735
735
|
} else {
|
|
736
|
-
tmp_2 = new ComposerForUnquotedLiterals(this.
|
|
736
|
+
tmp_2 = new ComposerForUnquotedLiterals(this.e1b_1.w19_1, this.k1b_1);
|
|
737
737
|
}
|
|
738
738
|
var tmp$ret$3 = tmp_2;
|
|
739
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
739
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.f1b_1, this.g1b_1, null);
|
|
740
740
|
} else {
|
|
741
741
|
tmp = protoOf(AbstractEncoder).zj.call(this, descriptor);
|
|
742
742
|
}
|
|
743
743
|
return tmp;
|
|
744
744
|
};
|
|
745
745
|
protoOf(StreamingJsonEncoder).pj = function () {
|
|
746
|
-
this.
|
|
746
|
+
this.e1b_1.f1a(get_NULL());
|
|
747
747
|
};
|
|
748
748
|
protoOf(StreamingJsonEncoder).qj = function (value) {
|
|
749
|
-
if (this.
|
|
749
|
+
if (this.k1b_1) {
|
|
750
750
|
this.yj(value.toString());
|
|
751
751
|
} else {
|
|
752
|
-
this.
|
|
752
|
+
this.e1b_1.o1a(value);
|
|
753
753
|
}
|
|
754
754
|
};
|
|
755
755
|
protoOf(StreamingJsonEncoder).rj = function (value) {
|
|
756
|
-
if (this.
|
|
756
|
+
if (this.k1b_1) {
|
|
757
757
|
this.yj(value.toString());
|
|
758
758
|
} else {
|
|
759
|
-
this.
|
|
759
|
+
this.e1b_1.j1a(value);
|
|
760
760
|
}
|
|
761
761
|
};
|
|
762
762
|
protoOf(StreamingJsonEncoder).sj = function (value) {
|
|
763
|
-
if (this.
|
|
763
|
+
if (this.k1b_1) {
|
|
764
764
|
this.yj(value.toString());
|
|
765
765
|
} else {
|
|
766
|
-
this.
|
|
766
|
+
this.e1b_1.l1a(value);
|
|
767
767
|
}
|
|
768
768
|
};
|
|
769
769
|
protoOf(StreamingJsonEncoder).tj = function (value) {
|
|
770
|
-
if (this.
|
|
770
|
+
if (this.k1b_1) {
|
|
771
771
|
this.yj(value.toString());
|
|
772
772
|
} else {
|
|
773
|
-
this.
|
|
773
|
+
this.e1b_1.m1a(value);
|
|
774
774
|
}
|
|
775
775
|
};
|
|
776
776
|
protoOf(StreamingJsonEncoder).uj = function (value) {
|
|
777
|
-
if (this.
|
|
777
|
+
if (this.k1b_1) {
|
|
778
778
|
this.yj(value.toString());
|
|
779
779
|
} else {
|
|
780
|
-
this.
|
|
780
|
+
this.e1b_1.n1a(value);
|
|
781
781
|
}
|
|
782
782
|
};
|
|
783
783
|
protoOf(StreamingJsonEncoder).vj = function (value) {
|
|
784
|
-
if (this.
|
|
784
|
+
if (this.k1b_1) {
|
|
785
785
|
this.yj(value.toString());
|
|
786
786
|
} else {
|
|
787
|
-
this.
|
|
787
|
+
this.e1b_1.h1a(value);
|
|
788
788
|
}
|
|
789
|
-
if (!this.
|
|
790
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
789
|
+
if (!this.j1b_1.q19_1 ? !isFinite(value) : false) {
|
|
790
|
+
throw InvalidFloatingPointEncoded(value, toString(this.e1b_1.w19_1));
|
|
791
791
|
}
|
|
792
792
|
};
|
|
793
793
|
protoOf(StreamingJsonEncoder).wj = function (value) {
|
|
794
|
-
if (this.
|
|
794
|
+
if (this.k1b_1) {
|
|
795
795
|
this.yj(value.toString());
|
|
796
796
|
} else {
|
|
797
|
-
this.
|
|
797
|
+
this.e1b_1.i1a(value);
|
|
798
798
|
}
|
|
799
|
-
if (!this.
|
|
800
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
799
|
+
if (!this.j1b_1.q19_1 ? !isFinite_0(value) : false) {
|
|
800
|
+
throw InvalidFloatingPointEncoded(value, toString(this.e1b_1.w19_1));
|
|
801
801
|
}
|
|
802
802
|
};
|
|
803
803
|
protoOf(StreamingJsonEncoder).xj = function (value) {
|
|
804
804
|
this.yj(toString_0(value));
|
|
805
805
|
};
|
|
806
806
|
protoOf(StreamingJsonEncoder).yj = function (value) {
|
|
807
|
-
return this.
|
|
807
|
+
return this.e1b_1.p1a(value);
|
|
808
808
|
};
|
|
809
809
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
810
810
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
@@ -972,8 +972,8 @@
|
|
|
972
972
|
var $ENTRIES;
|
|
973
973
|
function WriteMode(name, ordinal, begin, end) {
|
|
974
974
|
Enum.call(this, name, ordinal);
|
|
975
|
-
this.
|
|
976
|
-
this.
|
|
975
|
+
this.s1b_1 = begin;
|
|
976
|
+
this.t1b_1 = end;
|
|
977
977
|
}
|
|
978
978
|
function switchMode(_this__u8e3s4, desc) {
|
|
979
979
|
var tmp0_subject = desc.oi();
|
|
@@ -999,7 +999,7 @@
|
|
|
999
999
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
1000
1000
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
1001
1001
|
} else {
|
|
1002
|
-
if (_this__u8e3s4.
|
|
1002
|
+
if (_this__u8e3s4.a19_1.j19_1) {
|
|
1003
1003
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
1004
1004
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
1005
1005
|
} else {
|
|
@@ -1088,28 +1088,28 @@
|
|
|
1088
1088
|
}
|
|
1089
1089
|
var allowStructuredMapKeysHint;
|
|
1090
1090
|
function get_schemaCache(_this__u8e3s4) {
|
|
1091
|
-
return _this__u8e3s4.
|
|
1091
|
+
return _this__u8e3s4.c19_1;
|
|
1092
1092
|
}
|
|
1093
1093
|
function JsonToStringWriter() {
|
|
1094
|
-
this.
|
|
1094
|
+
this.e19_1 = StringBuilder_init_$Create$(128);
|
|
1095
1095
|
}
|
|
1096
|
-
protoOf(JsonToStringWriter).
|
|
1097
|
-
this.
|
|
1096
|
+
protoOf(JsonToStringWriter).k1a = function (value) {
|
|
1097
|
+
this.e19_1.u7(value);
|
|
1098
1098
|
};
|
|
1099
|
-
protoOf(JsonToStringWriter).
|
|
1100
|
-
this.
|
|
1099
|
+
protoOf(JsonToStringWriter).e1a = function (char) {
|
|
1100
|
+
this.e19_1.g5(char);
|
|
1101
1101
|
};
|
|
1102
|
-
protoOf(JsonToStringWriter).
|
|
1103
|
-
this.
|
|
1102
|
+
protoOf(JsonToStringWriter).g1a = function (text) {
|
|
1103
|
+
this.e19_1.f5(text);
|
|
1104
1104
|
};
|
|
1105
|
-
protoOf(JsonToStringWriter).
|
|
1106
|
-
printQuoted(this.
|
|
1105
|
+
protoOf(JsonToStringWriter).q1a = function (text) {
|
|
1106
|
+
printQuoted(this.e19_1, text);
|
|
1107
1107
|
};
|
|
1108
|
-
protoOf(JsonToStringWriter).
|
|
1109
|
-
this.
|
|
1108
|
+
protoOf(JsonToStringWriter).f19 = function () {
|
|
1109
|
+
this.e19_1.w7();
|
|
1110
1110
|
};
|
|
1111
1111
|
protoOf(JsonToStringWriter).toString = function () {
|
|
1112
|
-
return this.
|
|
1112
|
+
return this.e19_1.toString();
|
|
1113
1113
|
};
|
|
1114
1114
|
function createMapForCache(initialCapacity) {
|
|
1115
1115
|
return HashMap_init_$Create$(initialCapacity);
|