@solibo/home-api 1.0.36 → 1.0.38
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-DateTime-library-kotlinx-datetime.js +713 -713
- package/kotlin-kotlin-stdlib.js +958 -842
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +8 -8
- package/kotlinx-coroutines-core.js +82 -82
- package/kotlinx-io-kotlinx-io-bytestring.js +14 -14
- package/kotlinx-io-kotlinx-io-core.js +28 -28
- package/kotlinx-serialization-kotlinx-serialization-core.js +127 -127
- package/kotlinx-serialization-kotlinx-serialization-json.js +1176 -1176
- package/ktor-ktor-client-content-negotiation.js +146 -146
- package/ktor-ktor-client-core.js +1467 -1423
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http-cio.js +53 -53
- package/ktor-ktor-http.js +89 -89
- package/ktor-ktor-io.js +53 -53
- package/ktor-ktor-serialization-kotlinx-json.js +5 -5
- package/ktor-ktor-serialization-kotlinx.js +115 -115
- package/ktor-ktor-serialization.js +14 -14
- package/ktor-ktor-utils.js +101 -99
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +44 -44
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.ts +683 -477
- package/solibo-sdk-sdk-home-api.js +22271 -21428
- package/solibo-sdk-sdk-home-api.js.map +1 -1
|
@@ -16,111 +16,111 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
21
|
-
var toString = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.ub;
|
|
20
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ya;
|
|
21
|
+
var toString = kotlin_kotlin.$_$.xb;
|
|
22
22
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
23
23
|
var Unit_instance = kotlin_kotlin.$_$.y4;
|
|
24
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
25
|
-
var modulo = kotlin_kotlin.$_$.
|
|
26
|
-
var divide = kotlin_kotlin.$_$.
|
|
27
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
28
|
-
var shiftRight = kotlin_kotlin.$_$.
|
|
29
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
24
|
+
var fromInt = kotlin_kotlin.$_$.q9;
|
|
25
|
+
var modulo = kotlin_kotlin.$_$.t9;
|
|
26
|
+
var divide = kotlin_kotlin.$_$.p9;
|
|
27
|
+
var convertToInt = kotlin_kotlin.$_$.n9;
|
|
28
|
+
var shiftRight = kotlin_kotlin.$_$.y9;
|
|
29
|
+
var initMetadataForClass = kotlin_kotlin.$_$.xa;
|
|
30
30
|
var VOID = kotlin_kotlin.$_$.b;
|
|
31
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
32
|
-
var Enum = kotlin_kotlin.$_$.
|
|
31
|
+
var enumEntries = kotlin_kotlin.$_$.i9;
|
|
32
|
+
var Enum = kotlin_kotlin.$_$.lf;
|
|
33
33
|
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.k1;
|
|
34
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
35
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
34
|
+
var objectCreate = kotlin_kotlin.$_$.tb;
|
|
35
|
+
var captureStack = kotlin_kotlin.$_$.fa;
|
|
36
36
|
var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.m1;
|
|
37
37
|
var IllegalArgumentException_init_$Init$_1 = kotlin_kotlin.$_$.o1;
|
|
38
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
38
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.of;
|
|
39
39
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.z1;
|
|
40
40
|
var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.b2;
|
|
41
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
41
|
+
var RuntimeException = kotlin_kotlin.$_$.tf;
|
|
42
42
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
43
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
43
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.bb;
|
|
44
44
|
var toString_0 = kotlin_kotlin.$_$.n2;
|
|
45
|
-
var KProperty0 = kotlin_kotlin.$_$.
|
|
46
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
47
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
48
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
49
|
-
var KMutableProperty1 = kotlin_kotlin.$_$.
|
|
50
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
45
|
+
var KProperty0 = kotlin_kotlin.$_$.qc;
|
|
46
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.ua;
|
|
47
|
+
var hashCode = kotlin_kotlin.$_$.wa;
|
|
48
|
+
var THROW_CCE = kotlin_kotlin.$_$.uf;
|
|
49
|
+
var KMutableProperty1 = kotlin_kotlin.$_$.pc;
|
|
50
|
+
var initMetadataForObject = kotlin_kotlin.$_$.db;
|
|
51
51
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.g2;
|
|
52
|
-
var lazy = kotlin_kotlin.$_$.
|
|
53
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
52
|
+
var lazy = kotlin_kotlin.$_$.sg;
|
|
53
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.ra;
|
|
54
54
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
55
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
56
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
57
|
-
var equals = kotlin_kotlin.$_$.
|
|
55
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.tg;
|
|
56
|
+
var isInterface = kotlin_kotlin.$_$.mb;
|
|
57
|
+
var equals = kotlin_kotlin.$_$.oa;
|
|
58
58
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
59
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
60
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
61
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
62
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
63
|
-
var substring = kotlin_kotlin.$_$.
|
|
64
|
-
var listOf = kotlin_kotlin.$_$.
|
|
65
|
-
var substring_0 = kotlin_kotlin.$_$.
|
|
66
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
67
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
68
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
69
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
59
|
+
var toString_1 = kotlin_kotlin.$_$.wg;
|
|
60
|
+
var getStringHashCode = kotlin_kotlin.$_$.va;
|
|
61
|
+
var charSequenceLength = kotlin_kotlin.$_$.ka;
|
|
62
|
+
var charCodeAt = kotlin_kotlin.$_$.ia;
|
|
63
|
+
var substring = kotlin_kotlin.$_$.de;
|
|
64
|
+
var listOf = kotlin_kotlin.$_$.f7;
|
|
65
|
+
var substring_0 = kotlin_kotlin.$_$.ce;
|
|
66
|
+
var get_lastIndex = kotlin_kotlin.$_$.md;
|
|
67
|
+
var emptyList = kotlin_kotlin.$_$.l6;
|
|
68
|
+
var joinToString = kotlin_kotlin.$_$.z6;
|
|
69
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.s5;
|
|
70
70
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
71
|
-
var single = kotlin_kotlin.$_$.
|
|
72
|
-
var abs = kotlin_kotlin.$_$.
|
|
73
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
74
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
75
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
76
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
77
|
-
var removeLastOrNull = kotlin_kotlin.$_$.
|
|
78
|
-
var sortWith = kotlin_kotlin.$_$.
|
|
79
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
80
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
81
|
-
var compareValues = kotlin_kotlin.$_$.
|
|
82
|
-
var Exception = kotlin_kotlin.$_$.
|
|
71
|
+
var single = kotlin_kotlin.$_$.v7;
|
|
72
|
+
var abs = kotlin_kotlin.$_$.yb;
|
|
73
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.la;
|
|
74
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.rb;
|
|
75
|
+
var charSequenceGet = kotlin_kotlin.$_$.ja;
|
|
76
|
+
var mutableListOf = kotlin_kotlin.$_$.j7;
|
|
77
|
+
var removeLastOrNull = kotlin_kotlin.$_$.p7;
|
|
78
|
+
var sortWith = kotlin_kotlin.$_$.w7;
|
|
79
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ba;
|
|
80
|
+
var Comparator = kotlin_kotlin.$_$.if;
|
|
81
|
+
var compareValues = kotlin_kotlin.$_$.n8;
|
|
82
|
+
var Exception = kotlin_kotlin.$_$.nf;
|
|
83
83
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.h1;
|
|
84
84
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.b1;
|
|
85
|
-
var joinTo = kotlin_kotlin.$_$.
|
|
86
|
-
var plus = kotlin_kotlin.$_$.
|
|
87
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
88
|
-
var addAll = kotlin_kotlin.$_$.
|
|
85
|
+
var joinTo = kotlin_kotlin.$_$.a7;
|
|
86
|
+
var plus = kotlin_kotlin.$_$.m7;
|
|
87
|
+
var toMutableList = kotlin_kotlin.$_$.g8;
|
|
88
|
+
var addAll = kotlin_kotlin.$_$.o5;
|
|
89
89
|
var Collection = kotlin_kotlin.$_$.a5;
|
|
90
|
-
var firstOrNull = kotlin_kotlin.$_$.
|
|
91
|
-
var drop = kotlin_kotlin.$_$.
|
|
92
|
-
var listOf_0 = kotlin_kotlin.$_$.
|
|
93
|
-
var repeat = kotlin_kotlin.$_$.
|
|
94
|
-
var checkCountOverflow = kotlin_kotlin.$_$.
|
|
90
|
+
var firstOrNull = kotlin_kotlin.$_$.q6;
|
|
91
|
+
var drop = kotlin_kotlin.$_$.k6;
|
|
92
|
+
var listOf_0 = kotlin_kotlin.$_$.g7;
|
|
93
|
+
var repeat = kotlin_kotlin.$_$.qd;
|
|
94
|
+
var checkCountOverflow = kotlin_kotlin.$_$.r5;
|
|
95
95
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.i2;
|
|
96
96
|
var buildClassSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
97
97
|
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.n4;
|
|
98
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
99
|
-
var createKType = kotlin_kotlin.$_$.
|
|
98
|
+
var arrayOf = kotlin_kotlin.$_$.ig;
|
|
99
|
+
var createKType = kotlin_kotlin.$_$.kc;
|
|
100
100
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x2;
|
|
101
101
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
102
102
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.e;
|
|
103
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
104
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
103
|
+
var lazy_0 = kotlin_kotlin.$_$.rg;
|
|
104
|
+
var KProperty1 = kotlin_kotlin.$_$.rc;
|
|
105
105
|
var MissingFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
|
|
106
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
106
|
+
var getKClass = kotlin_kotlin.$_$.mc;
|
|
107
107
|
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q2;
|
|
108
108
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
109
109
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
110
110
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
111
111
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
112
|
-
var add = kotlin_kotlin.$_$.
|
|
113
|
-
var subtract = kotlin_kotlin.$_$.
|
|
114
|
-
var multiply = kotlin_kotlin.$_$.
|
|
115
|
-
var negate = kotlin_kotlin.$_$.
|
|
116
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
117
|
-
var get_ONE = kotlin_kotlin.$_$.
|
|
118
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
119
|
-
var ClosedRange = kotlin_kotlin.$_$.
|
|
120
|
-
var contains = kotlin_kotlin.$_$.
|
|
121
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
122
|
-
var ArithmeticException = kotlin_kotlin.$_$.
|
|
123
|
-
var compareValuesBy = kotlin_kotlin.$_$.
|
|
112
|
+
var add = kotlin_kotlin.$_$.l9;
|
|
113
|
+
var subtract = kotlin_kotlin.$_$.z9;
|
|
114
|
+
var multiply = kotlin_kotlin.$_$.u9;
|
|
115
|
+
var negate = kotlin_kotlin.$_$.v9;
|
|
116
|
+
var numberToLong = kotlin_kotlin.$_$.w9;
|
|
117
|
+
var get_ONE = kotlin_kotlin.$_$.k9;
|
|
118
|
+
var compareTo = kotlin_kotlin.$_$.ma;
|
|
119
|
+
var ClosedRange = kotlin_kotlin.$_$.bc;
|
|
120
|
+
var contains = kotlin_kotlin.$_$.fc;
|
|
121
|
+
var Comparable = kotlin_kotlin.$_$.hf;
|
|
122
|
+
var ArithmeticException = kotlin_kotlin.$_$.df;
|
|
123
|
+
var compareValuesBy = kotlin_kotlin.$_$.m8;
|
|
124
124
|
var ArithmeticException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
125
125
|
//endregion
|
|
126
126
|
//region block: pre-declaration
|
|
@@ -144,10 +144,10 @@
|
|
|
144
144
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
145
145
|
var tmp;
|
|
146
146
|
if ($super === VOID) {
|
|
147
|
-
this.
|
|
147
|
+
this.r53(padding);
|
|
148
148
|
tmp = Unit_instance;
|
|
149
149
|
} else {
|
|
150
|
-
tmp = $super.
|
|
150
|
+
tmp = $super.r53.call(this, padding);
|
|
151
151
|
}
|
|
152
152
|
return tmp;
|
|
153
153
|
}
|
|
@@ -155,10 +155,10 @@
|
|
|
155
155
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
156
156
|
var tmp;
|
|
157
157
|
if ($super === VOID) {
|
|
158
|
-
this.
|
|
158
|
+
this.t53(padding);
|
|
159
159
|
tmp = Unit_instance;
|
|
160
160
|
} else {
|
|
161
|
-
tmp = $super.
|
|
161
|
+
tmp = $super.t53.call(this, padding);
|
|
162
162
|
}
|
|
163
163
|
return tmp;
|
|
164
164
|
}
|
|
@@ -167,35 +167,35 @@
|
|
|
167
167
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
168
168
|
var tmp;
|
|
169
169
|
if ($super === VOID) {
|
|
170
|
-
this.
|
|
170
|
+
this.w53(padding);
|
|
171
171
|
tmp = Unit_instance;
|
|
172
172
|
} else {
|
|
173
|
-
tmp = $super.
|
|
173
|
+
tmp = $super.w53.call(this, padding);
|
|
174
174
|
}
|
|
175
175
|
return tmp;
|
|
176
176
|
}
|
|
177
177
|
initMetadataForInterface(WithDate, 'WithDate', VOID, VOID, [WithYearMonth]);
|
|
178
178
|
function chars(value) {
|
|
179
|
-
return this.
|
|
179
|
+
return this.y53().a54(new ConstantFormatStructure(value));
|
|
180
180
|
}
|
|
181
181
|
function build() {
|
|
182
|
-
return new CachedFormatStructure(this.
|
|
182
|
+
return new CachedFormatStructure(this.y53().a2k().b54_1);
|
|
183
183
|
}
|
|
184
184
|
initMetadataForInterface(AbstractDateTimeFormatBuilder, 'AbstractDateTimeFormatBuilder');
|
|
185
185
|
initMetadataForClass(IncompleteLocalDate, 'IncompleteLocalDate', IncompleteLocalDate);
|
|
186
186
|
initMetadataForCompanion(Companion_4);
|
|
187
187
|
function year(padding) {
|
|
188
|
-
return this.
|
|
188
|
+
return this.c55(new BasicFormatStructure(new YearDirective(padding)));
|
|
189
189
|
}
|
|
190
190
|
function monthNumber(padding) {
|
|
191
|
-
return this.
|
|
191
|
+
return this.c55(new BasicFormatStructure(new MonthDirective(padding)));
|
|
192
192
|
}
|
|
193
193
|
initMetadataForInterface(AbstractWithYearMonthBuilder, 'AbstractWithYearMonthBuilder', VOID, VOID, [WithYearMonth]);
|
|
194
194
|
function addFormatStructureForYearMonth(structure) {
|
|
195
|
-
this.
|
|
195
|
+
this.b55(structure);
|
|
196
196
|
}
|
|
197
197
|
function day(padding) {
|
|
198
|
-
return this.
|
|
198
|
+
return this.b55(new BasicFormatStructure(new DayDirective(padding)));
|
|
199
199
|
}
|
|
200
200
|
initMetadataForInterface(AbstractWithDateBuilder, 'AbstractWithDateBuilder', VOID, VOID, [AbstractWithYearMonthBuilder, WithDate]);
|
|
201
201
|
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateBuilder]);
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
initMetadataForClass(AbstractFieldSpec, 'AbstractFieldSpec');
|
|
216
216
|
initMetadataForClass(GenericFieldSpec, 'GenericFieldSpec', VOID, AbstractFieldSpec);
|
|
217
217
|
function getterNotNull(container) {
|
|
218
|
-
var tmp0_elvis_lhs = this.
|
|
218
|
+
var tmp0_elvis_lhs = this.m57(container);
|
|
219
219
|
var tmp;
|
|
220
220
|
if (tmp0_elvis_lhs == null) {
|
|
221
221
|
throw IllegalStateException_init_$Create$('Field ' + this.m() + ' is not set');
|
|
@@ -236,10 +236,10 @@
|
|
|
236
236
|
minusNotRequired = minusNotRequired === VOID ? false : minusNotRequired;
|
|
237
237
|
var tmp;
|
|
238
238
|
if ($super === VOID) {
|
|
239
|
-
this.
|
|
239
|
+
this.p57(obj, builder, minusNotRequired);
|
|
240
240
|
tmp = Unit_instance;
|
|
241
241
|
} else {
|
|
242
|
-
tmp = $super.
|
|
242
|
+
tmp = $super.p57.call(this, obj, builder, minusNotRequired);
|
|
243
243
|
}
|
|
244
244
|
return tmp;
|
|
245
245
|
}
|
|
@@ -307,59 +307,59 @@
|
|
|
307
307
|
}
|
|
308
308
|
function TimeBased(nanoseconds) {
|
|
309
309
|
DateTimeUnit.call(this);
|
|
310
|
-
this.
|
|
310
|
+
this.k52_1 = nanoseconds;
|
|
311
311
|
// Inline function 'kotlin.require' call
|
|
312
|
-
if (!(this.
|
|
313
|
-
var message = 'Unit duration must be positive, but was ' + this.
|
|
312
|
+
if (!(this.k52_1 > 0n)) {
|
|
313
|
+
var message = 'Unit duration must be positive, but was ' + this.k52_1.toString() + ' ns.';
|
|
314
314
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
315
315
|
}
|
|
316
|
-
if (modulo(this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
316
|
+
if (modulo(this.k52_1, 3600000000000n) === 0n) {
|
|
317
|
+
this.l52_1 = 'HOUR';
|
|
318
|
+
this.m52_1 = divide(this.k52_1, 3600000000000n);
|
|
319
319
|
} else {
|
|
320
|
-
if (modulo(this.
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
320
|
+
if (modulo(this.k52_1, 60000000000n) === 0n) {
|
|
321
|
+
this.l52_1 = 'MINUTE';
|
|
322
|
+
this.m52_1 = divide(this.k52_1, 60000000000n);
|
|
323
323
|
} else {
|
|
324
|
-
var tmp0 = this.
|
|
324
|
+
var tmp0 = this.k52_1;
|
|
325
325
|
// Inline function 'kotlin.Long.rem' call
|
|
326
326
|
var other = 1000000000;
|
|
327
327
|
if (modulo(tmp0, fromInt(other)) === 0n) {
|
|
328
|
-
this.
|
|
328
|
+
this.l52_1 = 'SECOND';
|
|
329
329
|
var tmp = this;
|
|
330
|
-
var tmp0_0 = this.
|
|
330
|
+
var tmp0_0 = this.k52_1;
|
|
331
331
|
// Inline function 'kotlin.Long.div' call
|
|
332
332
|
var other_0 = 1000000000;
|
|
333
|
-
tmp.
|
|
333
|
+
tmp.m52_1 = divide(tmp0_0, fromInt(other_0));
|
|
334
334
|
} else {
|
|
335
335
|
// Inline function 'kotlin.Long.rem' call
|
|
336
|
-
var this_0 = this.
|
|
336
|
+
var this_0 = this.k52_1;
|
|
337
337
|
if (modulo(this_0, fromInt(1000000)) === 0n) {
|
|
338
|
-
this.
|
|
338
|
+
this.l52_1 = 'MILLISECOND';
|
|
339
339
|
var tmp_0 = this;
|
|
340
340
|
// Inline function 'kotlin.Long.div' call
|
|
341
|
-
var this_1 = this.
|
|
342
|
-
tmp_0.
|
|
341
|
+
var this_1 = this.k52_1;
|
|
342
|
+
tmp_0.m52_1 = divide(this_1, fromInt(1000000));
|
|
343
343
|
} else {
|
|
344
344
|
// Inline function 'kotlin.Long.rem' call
|
|
345
|
-
var this_2 = this.
|
|
345
|
+
var this_2 = this.k52_1;
|
|
346
346
|
if (modulo(this_2, fromInt(1000)) === 0n) {
|
|
347
|
-
this.
|
|
347
|
+
this.l52_1 = 'MICROSECOND';
|
|
348
348
|
var tmp_1 = this;
|
|
349
349
|
// Inline function 'kotlin.Long.div' call
|
|
350
|
-
var this_3 = this.
|
|
351
|
-
tmp_1.
|
|
350
|
+
var this_3 = this.k52_1;
|
|
351
|
+
tmp_1.m52_1 = divide(this_3, fromInt(1000));
|
|
352
352
|
} else {
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
353
|
+
this.l52_1 = 'NANOSECOND';
|
|
354
|
+
this.m52_1 = this.k52_1;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
protoOf(TimeBased).
|
|
362
|
-
return new TimeBased(safeMultiply(this.
|
|
361
|
+
protoOf(TimeBased).n52 = function (scalar) {
|
|
362
|
+
return new TimeBased(safeMultiply(this.k52_1, fromInt(scalar)));
|
|
363
363
|
};
|
|
364
364
|
protoOf(TimeBased).equals = function (other) {
|
|
365
365
|
var tmp;
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
} else {
|
|
369
369
|
var tmp_0;
|
|
370
370
|
if (other instanceof TimeBased) {
|
|
371
|
-
tmp_0 = this.
|
|
371
|
+
tmp_0 = this.k52_1 === other.k52_1;
|
|
372
372
|
} else {
|
|
373
373
|
tmp_0 = false;
|
|
374
374
|
}
|
|
@@ -377,25 +377,25 @@
|
|
|
377
377
|
return tmp;
|
|
378
378
|
};
|
|
379
379
|
protoOf(TimeBased).hashCode = function () {
|
|
380
|
-
return convertToInt(this.
|
|
380
|
+
return convertToInt(this.k52_1) ^ convertToInt(shiftRight(this.k52_1, 32));
|
|
381
381
|
};
|
|
382
382
|
protoOf(TimeBased).toString = function () {
|
|
383
|
-
return this.
|
|
383
|
+
return this.o52(this.m52_1, this.l52_1);
|
|
384
384
|
};
|
|
385
385
|
function DateBased() {
|
|
386
386
|
DateTimeUnit.call(this);
|
|
387
387
|
}
|
|
388
388
|
function DayBased(days) {
|
|
389
389
|
DateBased.call(this);
|
|
390
|
-
this.
|
|
390
|
+
this.q52_1 = days;
|
|
391
391
|
// Inline function 'kotlin.require' call
|
|
392
|
-
if (!(this.
|
|
393
|
-
var message = 'Unit duration must be positive, but was ' + this.
|
|
392
|
+
if (!(this.q52_1 > 0)) {
|
|
393
|
+
var message = 'Unit duration must be positive, but was ' + this.q52_1 + ' days.';
|
|
394
394
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
protoOf(DayBased).
|
|
398
|
-
return new DayBased(safeMultiply_0(this.
|
|
397
|
+
protoOf(DayBased).n52 = function (scalar) {
|
|
398
|
+
return new DayBased(safeMultiply_0(this.q52_1, scalar));
|
|
399
399
|
};
|
|
400
400
|
protoOf(DayBased).equals = function (other) {
|
|
401
401
|
var tmp;
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
} else {
|
|
405
405
|
var tmp_0;
|
|
406
406
|
if (other instanceof DayBased) {
|
|
407
|
-
tmp_0 = this.
|
|
407
|
+
tmp_0 = this.q52_1 === other.q52_1;
|
|
408
408
|
} else {
|
|
409
409
|
tmp_0 = false;
|
|
410
410
|
}
|
|
@@ -413,22 +413,22 @@
|
|
|
413
413
|
return tmp;
|
|
414
414
|
};
|
|
415
415
|
protoOf(DayBased).hashCode = function () {
|
|
416
|
-
return this.
|
|
416
|
+
return this.q52_1 ^ 65536;
|
|
417
417
|
};
|
|
418
418
|
protoOf(DayBased).toString = function () {
|
|
419
|
-
return (this.
|
|
419
|
+
return (this.q52_1 % 7 | 0) === 0 ? this.p52(this.q52_1 / 7 | 0, 'WEEK') : this.p52(this.q52_1, 'DAY');
|
|
420
420
|
};
|
|
421
421
|
function MonthBased(months) {
|
|
422
422
|
DateBased.call(this);
|
|
423
|
-
this.
|
|
423
|
+
this.r52_1 = months;
|
|
424
424
|
// Inline function 'kotlin.require' call
|
|
425
|
-
if (!(this.
|
|
426
|
-
var message = 'Unit duration must be positive, but was ' + this.
|
|
425
|
+
if (!(this.r52_1 > 0)) {
|
|
426
|
+
var message = 'Unit duration must be positive, but was ' + this.r52_1 + ' months.';
|
|
427
427
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
protoOf(MonthBased).
|
|
431
|
-
return new MonthBased(safeMultiply_0(this.
|
|
430
|
+
protoOf(MonthBased).n52 = function (scalar) {
|
|
431
|
+
return new MonthBased(safeMultiply_0(this.r52_1, scalar));
|
|
432
432
|
};
|
|
433
433
|
protoOf(MonthBased).equals = function (other) {
|
|
434
434
|
var tmp;
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
} else {
|
|
438
438
|
var tmp_0;
|
|
439
439
|
if (other instanceof MonthBased) {
|
|
440
|
-
tmp_0 = this.
|
|
440
|
+
tmp_0 = this.r52_1 === other.r52_1;
|
|
441
441
|
} else {
|
|
442
442
|
tmp_0 = false;
|
|
443
443
|
}
|
|
@@ -446,25 +446,25 @@
|
|
|
446
446
|
return tmp;
|
|
447
447
|
};
|
|
448
448
|
protoOf(MonthBased).hashCode = function () {
|
|
449
|
-
return this.
|
|
449
|
+
return this.r52_1 ^ 131072;
|
|
450
450
|
};
|
|
451
451
|
protoOf(MonthBased).toString = function () {
|
|
452
|
-
return (this.
|
|
452
|
+
return (this.r52_1 % 1200 | 0) === 0 ? this.p52(this.r52_1 / 1200 | 0, 'CENTURY') : (this.r52_1 % 12 | 0) === 0 ? this.p52(this.r52_1 / 12 | 0, 'YEAR') : (this.r52_1 % 3 | 0) === 0 ? this.p52(this.r52_1 / 3 | 0, 'QUARTER') : this.p52(this.r52_1, 'MONTH');
|
|
453
453
|
};
|
|
454
454
|
function Companion_3() {
|
|
455
455
|
Companion_instance_3 = this;
|
|
456
|
-
this.
|
|
457
|
-
this.
|
|
458
|
-
this.
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
461
|
-
this.
|
|
462
|
-
this.
|
|
463
|
-
this.
|
|
464
|
-
this.
|
|
465
|
-
this.
|
|
466
|
-
this.
|
|
467
|
-
this.
|
|
456
|
+
this.s52_1 = new TimeBased(1n);
|
|
457
|
+
this.t52_1 = this.s52_1.n52(1000);
|
|
458
|
+
this.u52_1 = this.t52_1.n52(1000);
|
|
459
|
+
this.v52_1 = this.u52_1.n52(1000);
|
|
460
|
+
this.w52_1 = this.v52_1.n52(60);
|
|
461
|
+
this.x52_1 = this.w52_1.n52(60);
|
|
462
|
+
this.y52_1 = new DayBased(1);
|
|
463
|
+
this.z52_1 = this.y52_1.n52(7);
|
|
464
|
+
this.a53_1 = new MonthBased(1);
|
|
465
|
+
this.b53_1 = this.a53_1.n52(3);
|
|
466
|
+
this.c53_1 = this.a53_1.n52(12);
|
|
467
|
+
this.d53_1 = this.c53_1.n52(100);
|
|
468
468
|
}
|
|
469
469
|
var Companion_instance_3;
|
|
470
470
|
function Companion_getInstance_3() {
|
|
@@ -475,10 +475,10 @@
|
|
|
475
475
|
function DateTimeUnit() {
|
|
476
476
|
Companion_getInstance_3();
|
|
477
477
|
}
|
|
478
|
-
protoOf(DateTimeUnit).
|
|
478
|
+
protoOf(DateTimeUnit).p52 = function (value, unit) {
|
|
479
479
|
return value === 1 ? unit : '' + value + '-' + unit;
|
|
480
480
|
};
|
|
481
|
-
protoOf(DateTimeUnit).
|
|
481
|
+
protoOf(DateTimeUnit).o52 = function (value, unit) {
|
|
482
482
|
return value === 1n ? unit : value.toString() + '-' + unit;
|
|
483
483
|
};
|
|
484
484
|
function get_isoDayNumber(_this__u8e3s4) {
|
|
@@ -612,10 +612,10 @@
|
|
|
612
612
|
return plus_1(_this__u8e3s4, fromInt(value), unit);
|
|
613
613
|
}
|
|
614
614
|
function getIsoDateFormat() {
|
|
615
|
-
return Formats_getInstance().
|
|
615
|
+
return Formats_getInstance().f53();
|
|
616
616
|
}
|
|
617
617
|
function format(_this__u8e3s4, format) {
|
|
618
|
-
return format.
|
|
618
|
+
return format.g53(_this__u8e3s4);
|
|
619
619
|
}
|
|
620
620
|
function get_number(_this__u8e3s4) {
|
|
621
621
|
return _this__u8e3s4.a1_1 + 1 | 0;
|
|
@@ -721,16 +721,16 @@
|
|
|
721
721
|
}
|
|
722
722
|
function AbstractDateTimeFormat() {
|
|
723
723
|
}
|
|
724
|
-
protoOf(AbstractDateTimeFormat).
|
|
724
|
+
protoOf(AbstractDateTimeFormat).g53 = function (value) {
|
|
725
725
|
// Inline function 'kotlin.also' call
|
|
726
726
|
var this_0 = StringBuilder_init_$Create$();
|
|
727
|
-
this.
|
|
727
|
+
this.h53().o53().p53(this.i53(value), this_0);
|
|
728
728
|
return this_0.toString();
|
|
729
729
|
};
|
|
730
730
|
protoOf(AbstractDateTimeFormat).sj = function (input) {
|
|
731
731
|
var tmp;
|
|
732
732
|
try {
|
|
733
|
-
tmp = Parser__match$default_impl_x2xlti(_Parser___init__impl__gdyfby(this.
|
|
733
|
+
tmp = Parser__match$default_impl_x2xlti(_Parser___init__impl__gdyfby(this.h53().q53()), input, this.k53());
|
|
734
734
|
} catch ($p) {
|
|
735
735
|
var tmp_0;
|
|
736
736
|
if ($p instanceof ParseException) {
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
}
|
|
743
743
|
var matched = tmp;
|
|
744
744
|
try {
|
|
745
|
-
return this.
|
|
745
|
+
return this.j53(matched);
|
|
746
746
|
} catch ($p) {
|
|
747
747
|
if ($p instanceof IllegalArgumentException) {
|
|
748
748
|
var e_0 = $p;
|
|
@@ -781,7 +781,7 @@
|
|
|
781
781
|
function WithDate() {
|
|
782
782
|
}
|
|
783
783
|
function char(_this__u8e3s4, value) {
|
|
784
|
-
return _this__u8e3s4.
|
|
784
|
+
return _this__u8e3s4.v53(toString_0(value));
|
|
785
785
|
}
|
|
786
786
|
function AbstractDateTimeFormatBuilder() {
|
|
787
787
|
}
|
|
@@ -813,70 +813,70 @@
|
|
|
813
813
|
day = day === VOID ? null : day;
|
|
814
814
|
dayOfWeek = dayOfWeek === VOID ? null : dayOfWeek;
|
|
815
815
|
dayOfYear = dayOfYear === VOID ? null : dayOfYear;
|
|
816
|
-
this.
|
|
817
|
-
this.
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
816
|
+
this.c54_1 = yearMonth;
|
|
817
|
+
this.d54_1 = day;
|
|
818
|
+
this.e54_1 = dayOfWeek;
|
|
819
|
+
this.f54_1 = dayOfYear;
|
|
820
820
|
}
|
|
821
|
-
protoOf(IncompleteLocalDate).
|
|
822
|
-
this.
|
|
821
|
+
protoOf(IncompleteLocalDate).g54 = function (_set____db54di) {
|
|
822
|
+
this.d54_1 = _set____db54di;
|
|
823
823
|
};
|
|
824
|
-
protoOf(IncompleteLocalDate).
|
|
825
|
-
return this.
|
|
824
|
+
protoOf(IncompleteLocalDate).h54 = function () {
|
|
825
|
+
return this.d54_1;
|
|
826
826
|
};
|
|
827
|
-
protoOf(IncompleteLocalDate).
|
|
828
|
-
this.
|
|
827
|
+
protoOf(IncompleteLocalDate).i54 = function (_set____db54di) {
|
|
828
|
+
this.e54_1 = _set____db54di;
|
|
829
829
|
};
|
|
830
|
-
protoOf(IncompleteLocalDate).
|
|
831
|
-
return this.
|
|
830
|
+
protoOf(IncompleteLocalDate).j54 = function () {
|
|
831
|
+
return this.e54_1;
|
|
832
832
|
};
|
|
833
|
-
protoOf(IncompleteLocalDate).
|
|
834
|
-
this.
|
|
833
|
+
protoOf(IncompleteLocalDate).k54 = function (_set____db54di) {
|
|
834
|
+
this.f54_1 = _set____db54di;
|
|
835
835
|
};
|
|
836
|
-
protoOf(IncompleteLocalDate).
|
|
837
|
-
return this.
|
|
836
|
+
protoOf(IncompleteLocalDate).l54 = function () {
|
|
837
|
+
return this.f54_1;
|
|
838
838
|
};
|
|
839
|
-
protoOf(IncompleteLocalDate).
|
|
840
|
-
var year = requireParsedField(this.
|
|
841
|
-
var dayOfYear = this.
|
|
839
|
+
protoOf(IncompleteLocalDate).m54 = function () {
|
|
840
|
+
var year = requireParsedField(this.n54(), 'year');
|
|
841
|
+
var dayOfYear = this.f54_1;
|
|
842
842
|
var tmp;
|
|
843
843
|
if (dayOfYear == null) {
|
|
844
|
-
tmp = new LocalDate(year, requireParsedField(this.
|
|
844
|
+
tmp = new LocalDate(year, requireParsedField(this.s54(), 'monthNumber'), requireParsedField(this.d54_1, 'day'));
|
|
845
845
|
} else {
|
|
846
846
|
// Inline function 'kotlin.also' call
|
|
847
|
-
var this_0 = plus_0(new LocalDate(year, 1, 1), dayOfYear - 1 | 0, Companion_getInstance_3().
|
|
848
|
-
if (!(this_0.
|
|
847
|
+
var this_0 = plus_0(new LocalDate(year, 1, 1), dayOfYear - 1 | 0, Companion_getInstance_3().y52_1);
|
|
848
|
+
if (!(this_0.o54_1 === year)) {
|
|
849
849
|
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is not a valid day of year for the year ' + year));
|
|
850
850
|
}
|
|
851
|
-
if (!(this.
|
|
852
|
-
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is ' + this_0.
|
|
851
|
+
if (!(this.s54() == null) && !(get_number(this_0.r54()) === this.s54())) {
|
|
852
|
+
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is ' + this_0.r54().toString() + ', ') + ('but ' + this.s54() + ' was specified as the month number'));
|
|
853
853
|
}
|
|
854
|
-
if (!(this.
|
|
855
|
-
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is the day ' + this_0.
|
|
854
|
+
if (!(this.d54_1 == null) && !(this_0.p54_1 === this.d54_1)) {
|
|
855
|
+
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is the day ' + this_0.p54_1 + ' of ' + this_0.r54().toString() + ', ') + ('but ' + this.d54_1 + ' was specified as the day of month'));
|
|
856
856
|
}
|
|
857
857
|
tmp = this_0;
|
|
858
858
|
}
|
|
859
859
|
var date = tmp;
|
|
860
|
-
var tmp0_safe_receiver = this.
|
|
860
|
+
var tmp0_safe_receiver = this.e54_1;
|
|
861
861
|
if (tmp0_safe_receiver == null)
|
|
862
862
|
null;
|
|
863
863
|
else {
|
|
864
864
|
// Inline function 'kotlin.let' call
|
|
865
|
-
if (!(tmp0_safe_receiver === get_isoDayNumber(date.
|
|
866
|
-
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of week is ' + DayOfWeek_0(tmp0_safe_receiver).toString() + ' but the date is ' + date.toString() + ', which is a ' + date.
|
|
865
|
+
if (!(tmp0_safe_receiver === get_isoDayNumber(date.j54()))) {
|
|
866
|
+
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of week is ' + DayOfWeek_0(tmp0_safe_receiver).toString() + ' but the date is ' + date.toString() + ', which is a ' + date.j54().toString()));
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
869
|
return date;
|
|
870
870
|
};
|
|
871
|
-
protoOf(IncompleteLocalDate).
|
|
872
|
-
this.
|
|
873
|
-
this.
|
|
874
|
-
this.
|
|
875
|
-
this.
|
|
876
|
-
this.
|
|
871
|
+
protoOf(IncompleteLocalDate).t54 = function (date) {
|
|
872
|
+
this.u54(date.o54_1);
|
|
873
|
+
this.v54(get_number(date.r54()));
|
|
874
|
+
this.d54_1 = date.p54_1;
|
|
875
|
+
this.e54_1 = get_isoDayNumber(date.j54());
|
|
876
|
+
this.f54_1 = date.l54();
|
|
877
877
|
};
|
|
878
|
-
protoOf(IncompleteLocalDate).
|
|
879
|
-
return new IncompleteLocalDate(this.
|
|
878
|
+
protoOf(IncompleteLocalDate).w54 = function () {
|
|
879
|
+
return new IncompleteLocalDate(this.c54_1.w54(), this.d54_1, this.e54_1, this.f54_1);
|
|
880
880
|
};
|
|
881
881
|
protoOf(IncompleteLocalDate).equals = function (other) {
|
|
882
882
|
var tmp;
|
|
@@ -884,82 +884,82 @@
|
|
|
884
884
|
var tmp_1;
|
|
885
885
|
var tmp_2;
|
|
886
886
|
if (other instanceof IncompleteLocalDate) {
|
|
887
|
-
tmp_2 = this.
|
|
887
|
+
tmp_2 = this.c54_1.equals(other.c54_1);
|
|
888
888
|
} else {
|
|
889
889
|
tmp_2 = false;
|
|
890
890
|
}
|
|
891
891
|
if (tmp_2) {
|
|
892
|
-
tmp_1 = this.
|
|
892
|
+
tmp_1 = this.d54_1 == other.d54_1;
|
|
893
893
|
} else {
|
|
894
894
|
tmp_1 = false;
|
|
895
895
|
}
|
|
896
896
|
if (tmp_1) {
|
|
897
|
-
tmp_0 = this.
|
|
897
|
+
tmp_0 = this.e54_1 == other.e54_1;
|
|
898
898
|
} else {
|
|
899
899
|
tmp_0 = false;
|
|
900
900
|
}
|
|
901
901
|
if (tmp_0) {
|
|
902
|
-
tmp = this.
|
|
902
|
+
tmp = this.f54_1 == other.f54_1;
|
|
903
903
|
} else {
|
|
904
904
|
tmp = false;
|
|
905
905
|
}
|
|
906
906
|
return tmp;
|
|
907
907
|
};
|
|
908
908
|
protoOf(IncompleteLocalDate).hashCode = function () {
|
|
909
|
-
var tmp = imul(this.
|
|
909
|
+
var tmp = imul(this.c54_1.hashCode(), 29791);
|
|
910
910
|
// Inline function 'kotlin.hashCode' call
|
|
911
|
-
var tmp0_safe_receiver = this.
|
|
911
|
+
var tmp0_safe_receiver = this.d54_1;
|
|
912
912
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
913
913
|
var tmp$ret$0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
914
914
|
var tmp_0 = tmp + imul(tmp$ret$0, 961) | 0;
|
|
915
915
|
// Inline function 'kotlin.hashCode' call
|
|
916
|
-
var tmp0_safe_receiver_0 = this.
|
|
916
|
+
var tmp0_safe_receiver_0 = this.e54_1;
|
|
917
917
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
918
918
|
var tmp$ret$1 = tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0;
|
|
919
919
|
var tmp_1 = tmp_0 + imul(tmp$ret$1, 31) | 0;
|
|
920
920
|
// Inline function 'kotlin.hashCode' call
|
|
921
|
-
var tmp0_safe_receiver_1 = this.
|
|
921
|
+
var tmp0_safe_receiver_1 = this.f54_1;
|
|
922
922
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
923
923
|
return tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
|
|
924
924
|
};
|
|
925
925
|
protoOf(IncompleteLocalDate).toString = function () {
|
|
926
926
|
var tmp;
|
|
927
|
-
if (this.
|
|
928
|
-
var tmp_0 = this.
|
|
929
|
-
var tmp0_elvis_lhs = this.
|
|
927
|
+
if (this.f54_1 == null) {
|
|
928
|
+
var tmp_0 = this.c54_1.toString();
|
|
929
|
+
var tmp0_elvis_lhs = this.d54_1;
|
|
930
930
|
var tmp_1 = toString(tmp0_elvis_lhs == null ? '??' : tmp0_elvis_lhs);
|
|
931
|
-
var tmp1_elvis_lhs = this.
|
|
931
|
+
var tmp1_elvis_lhs = this.e54_1;
|
|
932
932
|
tmp = tmp_0 + '-' + tmp_1 + ' (day of week is ' + toString(tmp1_elvis_lhs == null ? '??' : tmp1_elvis_lhs) + ')';
|
|
933
|
-
} else if (this.
|
|
934
|
-
var tmp2_elvis_lhs = this.
|
|
933
|
+
} else if (this.d54_1 == null && this.s54() == null) {
|
|
934
|
+
var tmp2_elvis_lhs = this.c54_1.x54_1;
|
|
935
935
|
var tmp_2 = toString(tmp2_elvis_lhs == null ? '??' : tmp2_elvis_lhs);
|
|
936
|
-
var tmp_3 = this.
|
|
937
|
-
var tmp3_elvis_lhs = this.
|
|
936
|
+
var tmp_3 = this.f54_1;
|
|
937
|
+
var tmp3_elvis_lhs = this.e54_1;
|
|
938
938
|
tmp = '(' + tmp_2 + ')-' + tmp_3 + ' (day of week is ' + toString(tmp3_elvis_lhs == null ? '??' : tmp3_elvis_lhs) + ')';
|
|
939
939
|
} else {
|
|
940
|
-
var tmp_4 = this.
|
|
941
|
-
var tmp4_elvis_lhs = this.
|
|
940
|
+
var tmp_4 = this.c54_1.toString();
|
|
941
|
+
var tmp4_elvis_lhs = this.d54_1;
|
|
942
942
|
var tmp_5 = toString(tmp4_elvis_lhs == null ? '??' : tmp4_elvis_lhs);
|
|
943
|
-
var tmp5_elvis_lhs = this.
|
|
944
|
-
tmp = tmp_4 + '-' + tmp_5 + ' (day of week is ' + toString(tmp5_elvis_lhs == null ? '??' : tmp5_elvis_lhs) + ', day of year is ' + this.
|
|
943
|
+
var tmp5_elvis_lhs = this.e54_1;
|
|
944
|
+
tmp = tmp_4 + '-' + tmp_5 + ' (day of week is ' + toString(tmp5_elvis_lhs == null ? '??' : tmp5_elvis_lhs) + ', day of year is ' + this.f54_1 + ')';
|
|
945
945
|
}
|
|
946
946
|
return tmp;
|
|
947
947
|
};
|
|
948
|
-
protoOf(IncompleteLocalDate).
|
|
949
|
-
this.
|
|
948
|
+
protoOf(IncompleteLocalDate).u54 = function (_set____db54di) {
|
|
949
|
+
this.c54_1.x54_1 = _set____db54di;
|
|
950
950
|
};
|
|
951
|
-
protoOf(IncompleteLocalDate).
|
|
952
|
-
return this.
|
|
951
|
+
protoOf(IncompleteLocalDate).n54 = function () {
|
|
952
|
+
return this.c54_1.x54_1;
|
|
953
953
|
};
|
|
954
|
-
protoOf(IncompleteLocalDate).
|
|
955
|
-
this.
|
|
954
|
+
protoOf(IncompleteLocalDate).v54 = function (_set____db54di) {
|
|
955
|
+
this.c54_1.y54_1 = _set____db54di;
|
|
956
956
|
};
|
|
957
|
-
protoOf(IncompleteLocalDate).
|
|
958
|
-
return this.
|
|
957
|
+
protoOf(IncompleteLocalDate).s54 = function () {
|
|
958
|
+
return this.c54_1.y54_1;
|
|
959
959
|
};
|
|
960
960
|
function Companion_4() {
|
|
961
961
|
}
|
|
962
|
-
protoOf(Companion_4).
|
|
962
|
+
protoOf(Companion_4).z54 = function (block) {
|
|
963
963
|
var builder = new Builder(new AppendableFormatStructure());
|
|
964
964
|
block(builder);
|
|
965
965
|
return new LocalDateFormat(builder.a2k());
|
|
@@ -969,92 +969,92 @@
|
|
|
969
969
|
return Companion_instance_4;
|
|
970
970
|
}
|
|
971
971
|
function Builder(actualBuilder) {
|
|
972
|
-
this.
|
|
972
|
+
this.a55_1 = actualBuilder;
|
|
973
973
|
}
|
|
974
|
-
protoOf(Builder).
|
|
975
|
-
return this.
|
|
974
|
+
protoOf(Builder).y53 = function () {
|
|
975
|
+
return this.a55_1;
|
|
976
976
|
};
|
|
977
|
-
protoOf(Builder).
|
|
978
|
-
return this.
|
|
977
|
+
protoOf(Builder).b55 = function (structure) {
|
|
978
|
+
return this.a55_1.a54(structure);
|
|
979
979
|
};
|
|
980
980
|
function LocalDateFormat(actualFormat) {
|
|
981
981
|
AbstractDateTimeFormat.call(this);
|
|
982
|
-
this.
|
|
982
|
+
this.d55_1 = actualFormat;
|
|
983
983
|
}
|
|
984
|
-
protoOf(LocalDateFormat).
|
|
985
|
-
return this.
|
|
984
|
+
protoOf(LocalDateFormat).h53 = function () {
|
|
985
|
+
return this.d55_1;
|
|
986
986
|
};
|
|
987
|
-
protoOf(LocalDateFormat).
|
|
987
|
+
protoOf(LocalDateFormat).e55 = function (value) {
|
|
988
988
|
// Inline function 'kotlin.apply' call
|
|
989
989
|
var this_0 = new IncompleteLocalDate();
|
|
990
|
-
this_0.
|
|
990
|
+
this_0.t54(value);
|
|
991
991
|
return this_0;
|
|
992
992
|
};
|
|
993
|
-
protoOf(LocalDateFormat).
|
|
994
|
-
return this.
|
|
993
|
+
protoOf(LocalDateFormat).i53 = function (value) {
|
|
994
|
+
return this.e55(value instanceof LocalDate ? value : THROW_CCE());
|
|
995
995
|
};
|
|
996
|
-
protoOf(LocalDateFormat).
|
|
997
|
-
return intermediate.
|
|
996
|
+
protoOf(LocalDateFormat).f55 = function (intermediate) {
|
|
997
|
+
return intermediate.m54();
|
|
998
998
|
};
|
|
999
|
-
protoOf(LocalDateFormat).
|
|
1000
|
-
return this.
|
|
999
|
+
protoOf(LocalDateFormat).j53 = function (intermediate) {
|
|
1000
|
+
return this.f55(intermediate instanceof IncompleteLocalDate ? intermediate : THROW_CCE());
|
|
1001
1001
|
};
|
|
1002
|
-
protoOf(LocalDateFormat).
|
|
1002
|
+
protoOf(LocalDateFormat).k53 = function () {
|
|
1003
1003
|
return get_emptyIncompleteLocalDate();
|
|
1004
1004
|
};
|
|
1005
1005
|
function AbstractWithDateBuilder() {
|
|
1006
1006
|
}
|
|
1007
1007
|
function DayDirective(padding) {
|
|
1008
|
-
var tmp = DateFields_getInstance().
|
|
1008
|
+
var tmp = DateFields_getInstance().g55_1;
|
|
1009
1009
|
// Inline function 'kotlinx.datetime.format.minDigits' call
|
|
1010
1010
|
var tmp_0 = padding.equals(Padding_ZERO_getInstance()) ? 2 : 1;
|
|
1011
1011
|
// Inline function 'kotlinx.datetime.format.spaces' call
|
|
1012
1012
|
var tmp$ret$1 = padding.equals(Padding_SPACE_getInstance()) ? 2 : null;
|
|
1013
1013
|
UnsignedIntFieldFormatDirective.call(this, tmp, tmp_0, tmp$ret$1);
|
|
1014
|
-
this.
|
|
1014
|
+
this.n55_1 = padding;
|
|
1015
1015
|
}
|
|
1016
1016
|
protoOf(DayDirective).equals = function (other) {
|
|
1017
1017
|
var tmp;
|
|
1018
1018
|
if (other instanceof DayDirective) {
|
|
1019
|
-
tmp = this.
|
|
1019
|
+
tmp = this.n55_1.equals(other.n55_1);
|
|
1020
1020
|
} else {
|
|
1021
1021
|
tmp = false;
|
|
1022
1022
|
}
|
|
1023
1023
|
return tmp;
|
|
1024
1024
|
};
|
|
1025
1025
|
protoOf(DayDirective).hashCode = function () {
|
|
1026
|
-
return this.
|
|
1026
|
+
return this.n55_1.hashCode();
|
|
1027
1027
|
};
|
|
1028
1028
|
function DateFieldContainer$_get_day_$ref_2ebhxx() {
|
|
1029
1029
|
return function (p0) {
|
|
1030
|
-
return p0.
|
|
1030
|
+
return p0.h54();
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
1033
|
function DateFieldContainer$_set_day_$ref_s0jsax() {
|
|
1034
1034
|
return function (p0, p1) {
|
|
1035
|
-
p0.
|
|
1035
|
+
p0.g54(p1);
|
|
1036
1036
|
return Unit_instance;
|
|
1037
1037
|
};
|
|
1038
1038
|
}
|
|
1039
1039
|
function DateFieldContainer$_get_dayOfWeek_$ref_thwqom() {
|
|
1040
1040
|
return function (p0) {
|
|
1041
|
-
return p0.
|
|
1041
|
+
return p0.j54();
|
|
1042
1042
|
};
|
|
1043
1043
|
}
|
|
1044
1044
|
function DateFieldContainer$_set_dayOfWeek_$ref_ea586a() {
|
|
1045
1045
|
return function (p0, p1) {
|
|
1046
|
-
p0.
|
|
1046
|
+
p0.i54(p1);
|
|
1047
1047
|
return Unit_instance;
|
|
1048
1048
|
};
|
|
1049
1049
|
}
|
|
1050
1050
|
function DateFieldContainer$_get_dayOfYear_$ref_2m6gfz() {
|
|
1051
1051
|
return function (p0) {
|
|
1052
|
-
return p0.
|
|
1052
|
+
return p0.l54();
|
|
1053
1053
|
};
|
|
1054
1054
|
}
|
|
1055
1055
|
function DateFieldContainer$_set_dayOfYear_$ref_cll22d() {
|
|
1056
1056
|
return function (p0, p1) {
|
|
1057
|
-
p0.
|
|
1057
|
+
p0.k54(p1);
|
|
1058
1058
|
return Unit_instance;
|
|
1059
1059
|
};
|
|
1060
1060
|
}
|
|
@@ -1063,15 +1063,15 @@
|
|
|
1063
1063
|
var tmp = this;
|
|
1064
1064
|
var tmp_0 = KMutableProperty1;
|
|
1065
1065
|
var tmp_1 = DateFieldContainer$_get_day_$ref_2ebhxx();
|
|
1066
|
-
tmp.
|
|
1066
|
+
tmp.g55_1 = new UnsignedFieldSpec(new PropertyAccessor(getPropertyCallableRef('day', 1, tmp_0, tmp_1, DateFieldContainer$_set_day_$ref_s0jsax())), 1, 31);
|
|
1067
1067
|
var tmp_2 = this;
|
|
1068
1068
|
var tmp_3 = KMutableProperty1;
|
|
1069
1069
|
var tmp_4 = DateFieldContainer$_get_dayOfWeek_$ref_thwqom();
|
|
1070
|
-
tmp_2.
|
|
1070
|
+
tmp_2.h55_1 = new UnsignedFieldSpec(new PropertyAccessor(getPropertyCallableRef('dayOfWeek', 1, tmp_3, tmp_4, DateFieldContainer$_set_dayOfWeek_$ref_ea586a())), 1, 7);
|
|
1071
1071
|
var tmp_5 = this;
|
|
1072
1072
|
var tmp_6 = KMutableProperty1;
|
|
1073
1073
|
var tmp_7 = DateFieldContainer$_get_dayOfYear_$ref_2m6gfz();
|
|
1074
|
-
tmp_5.
|
|
1074
|
+
tmp_5.i55_1 = new UnsignedFieldSpec(new PropertyAccessor(getPropertyCallableRef('dayOfYear', 1, tmp_6, tmp_7, DateFieldContainer$_set_dayOfYear_$ref_cll22d())), 1, 366);
|
|
1075
1075
|
}
|
|
1076
1076
|
var DateFields_instance;
|
|
1077
1077
|
function DateFields_getInstance() {
|
|
@@ -1082,15 +1082,15 @@
|
|
|
1082
1082
|
function ISO_DATE$delegate$lambda() {
|
|
1083
1083
|
_init_properties_LocalDateFormat_kt__k1uk9u();
|
|
1084
1084
|
var tmp = Companion_instance_4;
|
|
1085
|
-
return tmp.
|
|
1085
|
+
return tmp.z54(ISO_DATE$delegate$lambda$lambda);
|
|
1086
1086
|
}
|
|
1087
1087
|
function ISO_DATE$delegate$lambda$lambda($this$build) {
|
|
1088
1088
|
_init_properties_LocalDateFormat_kt__k1uk9u();
|
|
1089
|
-
$this$build.
|
|
1089
|
+
$this$build.s53();
|
|
1090
1090
|
char($this$build, _Char___init__impl__6a9atx(45));
|
|
1091
|
-
$this$build.
|
|
1091
|
+
$this$build.u53();
|
|
1092
1092
|
char($this$build, _Char___init__impl__6a9atx(45));
|
|
1093
|
-
$this$build.
|
|
1093
|
+
$this$build.x53();
|
|
1094
1094
|
return Unit_instance;
|
|
1095
1095
|
}
|
|
1096
1096
|
function _get_ISO_DATE_$ref_powsum() {
|
|
@@ -1101,13 +1101,13 @@
|
|
|
1101
1101
|
function ISO_DATE_BASIC$delegate$lambda() {
|
|
1102
1102
|
_init_properties_LocalDateFormat_kt__k1uk9u();
|
|
1103
1103
|
var tmp = Companion_instance_4;
|
|
1104
|
-
return tmp.
|
|
1104
|
+
return tmp.z54(ISO_DATE_BASIC$delegate$lambda$lambda);
|
|
1105
1105
|
}
|
|
1106
1106
|
function ISO_DATE_BASIC$delegate$lambda$lambda($this$build) {
|
|
1107
1107
|
_init_properties_LocalDateFormat_kt__k1uk9u();
|
|
1108
|
-
$this$build.
|
|
1109
|
-
$this$build.
|
|
1110
|
-
$this$build.
|
|
1108
|
+
$this$build.s53();
|
|
1109
|
+
$this$build.u53();
|
|
1110
|
+
$this$build.x53();
|
|
1111
1111
|
return Unit_instance;
|
|
1112
1112
|
}
|
|
1113
1113
|
function _get_ISO_DATE_BASIC_$ref_3fs8eb() {
|
|
@@ -1141,43 +1141,43 @@
|
|
|
1141
1141
|
function IncompleteYearMonth(year, monthNumber) {
|
|
1142
1142
|
year = year === VOID ? null : year;
|
|
1143
1143
|
monthNumber = monthNumber === VOID ? null : monthNumber;
|
|
1144
|
-
this.
|
|
1145
|
-
this.
|
|
1144
|
+
this.x54_1 = year;
|
|
1145
|
+
this.y54_1 = monthNumber;
|
|
1146
1146
|
}
|
|
1147
|
-
protoOf(IncompleteYearMonth).
|
|
1148
|
-
this.
|
|
1147
|
+
protoOf(IncompleteYearMonth).u54 = function (_set____db54di) {
|
|
1148
|
+
this.x54_1 = _set____db54di;
|
|
1149
1149
|
};
|
|
1150
|
-
protoOf(IncompleteYearMonth).
|
|
1151
|
-
return this.
|
|
1150
|
+
protoOf(IncompleteYearMonth).n54 = function () {
|
|
1151
|
+
return this.x54_1;
|
|
1152
1152
|
};
|
|
1153
|
-
protoOf(IncompleteYearMonth).
|
|
1154
|
-
this.
|
|
1153
|
+
protoOf(IncompleteYearMonth).v54 = function (_set____db54di) {
|
|
1154
|
+
this.y54_1 = _set____db54di;
|
|
1155
1155
|
};
|
|
1156
|
-
protoOf(IncompleteYearMonth).
|
|
1157
|
-
return this.
|
|
1156
|
+
protoOf(IncompleteYearMonth).s54 = function () {
|
|
1157
|
+
return this.y54_1;
|
|
1158
1158
|
};
|
|
1159
|
-
protoOf(IncompleteYearMonth).
|
|
1160
|
-
var year = requireParsedField(this.
|
|
1161
|
-
var month = requireParsedField(this.
|
|
1159
|
+
protoOf(IncompleteYearMonth).s55 = function () {
|
|
1160
|
+
var year = requireParsedField(this.x54_1, 'year');
|
|
1161
|
+
var month = requireParsedField(this.y54_1, 'monthNumber');
|
|
1162
1162
|
return new YearMonth(year, month);
|
|
1163
1163
|
};
|
|
1164
|
-
protoOf(IncompleteYearMonth).
|
|
1165
|
-
this.
|
|
1166
|
-
this.
|
|
1164
|
+
protoOf(IncompleteYearMonth).t55 = function (yearMonth) {
|
|
1165
|
+
this.x54_1 = yearMonth.u55_1;
|
|
1166
|
+
this.y54_1 = get_number(yearMonth.r54());
|
|
1167
1167
|
};
|
|
1168
|
-
protoOf(IncompleteYearMonth).
|
|
1169
|
-
return new IncompleteYearMonth(this.
|
|
1168
|
+
protoOf(IncompleteYearMonth).w54 = function () {
|
|
1169
|
+
return new IncompleteYearMonth(this.x54_1, this.y54_1);
|
|
1170
1170
|
};
|
|
1171
1171
|
protoOf(IncompleteYearMonth).equals = function (other) {
|
|
1172
1172
|
var tmp;
|
|
1173
1173
|
var tmp_0;
|
|
1174
1174
|
if (other instanceof IncompleteYearMonth) {
|
|
1175
|
-
tmp_0 = this.
|
|
1175
|
+
tmp_0 = this.x54_1 == other.x54_1;
|
|
1176
1176
|
} else {
|
|
1177
1177
|
tmp_0 = false;
|
|
1178
1178
|
}
|
|
1179
1179
|
if (tmp_0) {
|
|
1180
|
-
tmp = this.
|
|
1180
|
+
tmp = this.y54_1 == other.y54_1;
|
|
1181
1181
|
} else {
|
|
1182
1182
|
tmp = false;
|
|
1183
1183
|
}
|
|
@@ -1185,19 +1185,19 @@
|
|
|
1185
1185
|
};
|
|
1186
1186
|
protoOf(IncompleteYearMonth).hashCode = function () {
|
|
1187
1187
|
// Inline function 'kotlin.hashCode' call
|
|
1188
|
-
var tmp0_safe_receiver = this.
|
|
1188
|
+
var tmp0_safe_receiver = this.x54_1;
|
|
1189
1189
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
1190
1190
|
var tmp$ret$0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
1191
1191
|
var tmp = imul(tmp$ret$0, 31);
|
|
1192
1192
|
// Inline function 'kotlin.hashCode' call
|
|
1193
|
-
var tmp0_safe_receiver_0 = this.
|
|
1193
|
+
var tmp0_safe_receiver_0 = this.y54_1;
|
|
1194
1194
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
1195
1195
|
return tmp + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
1196
1196
|
};
|
|
1197
1197
|
protoOf(IncompleteYearMonth).toString = function () {
|
|
1198
|
-
var tmp0_elvis_lhs = this.
|
|
1198
|
+
var tmp0_elvis_lhs = this.x54_1;
|
|
1199
1199
|
var tmp = toString(tmp0_elvis_lhs == null ? '??' : tmp0_elvis_lhs);
|
|
1200
|
-
var tmp1_elvis_lhs = this.
|
|
1200
|
+
var tmp1_elvis_lhs = this.y54_1;
|
|
1201
1201
|
return tmp + '-' + toString(tmp1_elvis_lhs == null ? '??' : tmp1_elvis_lhs);
|
|
1202
1202
|
};
|
|
1203
1203
|
function requireParsedField(field, name) {
|
|
@@ -1211,7 +1211,7 @@
|
|
|
1211
1211
|
}
|
|
1212
1212
|
function Companion_5() {
|
|
1213
1213
|
}
|
|
1214
|
-
protoOf(Companion_5).
|
|
1214
|
+
protoOf(Companion_5).w55 = function (block) {
|
|
1215
1215
|
var builder = new Builder_0(new AppendableFormatStructure());
|
|
1216
1216
|
block(builder);
|
|
1217
1217
|
return new YearMonthFormat(builder.a2k());
|
|
@@ -1221,108 +1221,108 @@
|
|
|
1221
1221
|
return Companion_instance_5;
|
|
1222
1222
|
}
|
|
1223
1223
|
function Builder_0(actualBuilder) {
|
|
1224
|
-
this.
|
|
1224
|
+
this.x55_1 = actualBuilder;
|
|
1225
1225
|
}
|
|
1226
|
-
protoOf(Builder_0).
|
|
1227
|
-
return this.
|
|
1226
|
+
protoOf(Builder_0).y53 = function () {
|
|
1227
|
+
return this.x55_1;
|
|
1228
1228
|
};
|
|
1229
|
-
protoOf(Builder_0).
|
|
1230
|
-
return this.
|
|
1229
|
+
protoOf(Builder_0).c55 = function (structure) {
|
|
1230
|
+
return this.x55_1.a54(structure);
|
|
1231
1231
|
};
|
|
1232
1232
|
function YearMonthFormat(actualFormat) {
|
|
1233
1233
|
AbstractDateTimeFormat.call(this);
|
|
1234
|
-
this.
|
|
1234
|
+
this.y55_1 = actualFormat;
|
|
1235
1235
|
}
|
|
1236
|
-
protoOf(YearMonthFormat).
|
|
1237
|
-
return this.
|
|
1236
|
+
protoOf(YearMonthFormat).h53 = function () {
|
|
1237
|
+
return this.y55_1;
|
|
1238
1238
|
};
|
|
1239
|
-
protoOf(YearMonthFormat).
|
|
1239
|
+
protoOf(YearMonthFormat).z55 = function (value) {
|
|
1240
1240
|
// Inline function 'kotlin.apply' call
|
|
1241
1241
|
var this_0 = new IncompleteYearMonth();
|
|
1242
|
-
this_0.
|
|
1242
|
+
this_0.t55(value);
|
|
1243
1243
|
return this_0;
|
|
1244
1244
|
};
|
|
1245
|
-
protoOf(YearMonthFormat).
|
|
1246
|
-
return this.
|
|
1245
|
+
protoOf(YearMonthFormat).i53 = function (value) {
|
|
1246
|
+
return this.z55(value instanceof YearMonth ? value : THROW_CCE());
|
|
1247
1247
|
};
|
|
1248
|
-
protoOf(YearMonthFormat).
|
|
1249
|
-
return intermediate.
|
|
1248
|
+
protoOf(YearMonthFormat).a56 = function (intermediate) {
|
|
1249
|
+
return intermediate.s55();
|
|
1250
1250
|
};
|
|
1251
|
-
protoOf(YearMonthFormat).
|
|
1252
|
-
return this.
|
|
1251
|
+
protoOf(YearMonthFormat).j53 = function (intermediate) {
|
|
1252
|
+
return this.a56(intermediate instanceof IncompleteYearMonth ? intermediate : THROW_CCE());
|
|
1253
1253
|
};
|
|
1254
|
-
protoOf(YearMonthFormat).
|
|
1254
|
+
protoOf(YearMonthFormat).k53 = function () {
|
|
1255
1255
|
return get_emptyIncompleteYearMonth();
|
|
1256
1256
|
};
|
|
1257
1257
|
function YearDirective(padding, isYearOfEra) {
|
|
1258
1258
|
isYearOfEra = isYearOfEra === VOID ? false : isYearOfEra;
|
|
1259
|
-
var tmp = YearMonthFields_getInstance().
|
|
1259
|
+
var tmp = YearMonthFields_getInstance().b56_1;
|
|
1260
1260
|
// Inline function 'kotlinx.datetime.format.minDigits' call
|
|
1261
1261
|
var tmp_0 = padding.equals(Padding_ZERO_getInstance()) ? 4 : 1;
|
|
1262
1262
|
// Inline function 'kotlinx.datetime.format.spaces' call
|
|
1263
1263
|
var tmp$ret$1 = padding.equals(Padding_SPACE_getInstance()) ? 4 : null;
|
|
1264
1264
|
SignedIntFieldFormatDirective.call(this, tmp, tmp_0, null, tmp$ret$1, 4);
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1265
|
+
this.i56_1 = padding;
|
|
1266
|
+
this.j56_1 = isYearOfEra;
|
|
1267
1267
|
}
|
|
1268
1268
|
protoOf(YearDirective).equals = function (other) {
|
|
1269
1269
|
var tmp;
|
|
1270
1270
|
var tmp_0;
|
|
1271
1271
|
if (other instanceof YearDirective) {
|
|
1272
|
-
tmp_0 = this.
|
|
1272
|
+
tmp_0 = this.i56_1.equals(other.i56_1);
|
|
1273
1273
|
} else {
|
|
1274
1274
|
tmp_0 = false;
|
|
1275
1275
|
}
|
|
1276
1276
|
if (tmp_0) {
|
|
1277
|
-
tmp = this.
|
|
1277
|
+
tmp = this.j56_1 === other.j56_1;
|
|
1278
1278
|
} else {
|
|
1279
1279
|
tmp = false;
|
|
1280
1280
|
}
|
|
1281
1281
|
return tmp;
|
|
1282
1282
|
};
|
|
1283
1283
|
protoOf(YearDirective).hashCode = function () {
|
|
1284
|
-
return imul(this.
|
|
1284
|
+
return imul(this.i56_1.hashCode(), 31) + getBooleanHashCode(this.j56_1) | 0;
|
|
1285
1285
|
};
|
|
1286
1286
|
function MonthDirective(padding) {
|
|
1287
|
-
var tmp = YearMonthFields_getInstance().
|
|
1287
|
+
var tmp = YearMonthFields_getInstance().c56_1;
|
|
1288
1288
|
// Inline function 'kotlinx.datetime.format.minDigits' call
|
|
1289
1289
|
var tmp_0 = padding.equals(Padding_ZERO_getInstance()) ? 2 : 1;
|
|
1290
1290
|
// Inline function 'kotlinx.datetime.format.spaces' call
|
|
1291
1291
|
var tmp$ret$1 = padding.equals(Padding_SPACE_getInstance()) ? 2 : null;
|
|
1292
1292
|
UnsignedIntFieldFormatDirective.call(this, tmp, tmp_0, tmp$ret$1);
|
|
1293
|
-
this.
|
|
1293
|
+
this.t56_1 = padding;
|
|
1294
1294
|
}
|
|
1295
1295
|
protoOf(MonthDirective).equals = function (other) {
|
|
1296
1296
|
var tmp;
|
|
1297
1297
|
if (other instanceof MonthDirective) {
|
|
1298
|
-
tmp = this.
|
|
1298
|
+
tmp = this.t56_1.equals(other.t56_1);
|
|
1299
1299
|
} else {
|
|
1300
1300
|
tmp = false;
|
|
1301
1301
|
}
|
|
1302
1302
|
return tmp;
|
|
1303
1303
|
};
|
|
1304
1304
|
protoOf(MonthDirective).hashCode = function () {
|
|
1305
|
-
return this.
|
|
1305
|
+
return this.t56_1.hashCode();
|
|
1306
1306
|
};
|
|
1307
1307
|
function YearMonthFieldContainer$_get_year_$ref_7j3zdj() {
|
|
1308
1308
|
return function (p0) {
|
|
1309
|
-
return p0.
|
|
1309
|
+
return p0.n54();
|
|
1310
1310
|
};
|
|
1311
1311
|
}
|
|
1312
1312
|
function YearMonthFieldContainer$_set_year_$ref_kc0aub() {
|
|
1313
1313
|
return function (p0, p1) {
|
|
1314
|
-
p0.
|
|
1314
|
+
p0.u54(p1);
|
|
1315
1315
|
return Unit_instance;
|
|
1316
1316
|
};
|
|
1317
1317
|
}
|
|
1318
1318
|
function YearMonthFieldContainer$_get_monthNumber_$ref_pn0wu5() {
|
|
1319
1319
|
return function (p0) {
|
|
1320
|
-
return p0.
|
|
1320
|
+
return p0.s54();
|
|
1321
1321
|
};
|
|
1322
1322
|
}
|
|
1323
1323
|
function YearMonthFieldContainer$_set_monthNumber_$ref_fjapbl() {
|
|
1324
1324
|
return function (p0, p1) {
|
|
1325
|
-
p0.
|
|
1325
|
+
p0.v54(p1);
|
|
1326
1326
|
return Unit_instance;
|
|
1327
1327
|
};
|
|
1328
1328
|
}
|
|
@@ -1331,11 +1331,11 @@
|
|
|
1331
1331
|
var tmp = this;
|
|
1332
1332
|
var tmp_0 = KMutableProperty1;
|
|
1333
1333
|
var tmp_1 = YearMonthFieldContainer$_get_year_$ref_7j3zdj();
|
|
1334
|
-
tmp.
|
|
1334
|
+
tmp.b56_1 = new GenericFieldSpec(new PropertyAccessor(getPropertyCallableRef('year', 1, tmp_0, tmp_1, YearMonthFieldContainer$_set_year_$ref_kc0aub())));
|
|
1335
1335
|
var tmp_2 = this;
|
|
1336
1336
|
var tmp_3 = KMutableProperty1;
|
|
1337
1337
|
var tmp_4 = YearMonthFieldContainer$_get_monthNumber_$ref_pn0wu5();
|
|
1338
|
-
tmp_2.
|
|
1338
|
+
tmp_2.c56_1 = new UnsignedFieldSpec(new PropertyAccessor(getPropertyCallableRef('monthNumber', 1, tmp_3, tmp_4, YearMonthFieldContainer$_set_monthNumber_$ref_fjapbl())), 1, 12);
|
|
1339
1339
|
}
|
|
1340
1340
|
var YearMonthFields_instance;
|
|
1341
1341
|
function YearMonthFields_getInstance() {
|
|
@@ -1346,13 +1346,13 @@
|
|
|
1346
1346
|
function ISO_YEAR_MONTH$delegate$lambda() {
|
|
1347
1347
|
_init_properties_YearMonthFormat_kt__i0mmu0();
|
|
1348
1348
|
var tmp = Companion_instance_5;
|
|
1349
|
-
return tmp.
|
|
1349
|
+
return tmp.w55(ISO_YEAR_MONTH$delegate$lambda$lambda);
|
|
1350
1350
|
}
|
|
1351
1351
|
function ISO_YEAR_MONTH$delegate$lambda$lambda($this$build) {
|
|
1352
1352
|
_init_properties_YearMonthFormat_kt__i0mmu0();
|
|
1353
|
-
$this$build.
|
|
1353
|
+
$this$build.s53();
|
|
1354
1354
|
char($this$build, _Char___init__impl__6a9atx(45));
|
|
1355
|
-
$this$build.
|
|
1355
|
+
$this$build.u53();
|
|
1356
1356
|
return Unit_instance;
|
|
1357
1357
|
}
|
|
1358
1358
|
function _get_ISO_YEAR_MONTH_$ref_y3tv9a() {
|
|
@@ -1402,21 +1402,21 @@
|
|
|
1402
1402
|
function AppendableFormatStructure() {
|
|
1403
1403
|
var tmp = this;
|
|
1404
1404
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1405
|
-
tmp.
|
|
1405
|
+
tmp.z53_1 = ArrayList_init_$Create$();
|
|
1406
1406
|
}
|
|
1407
1407
|
protoOf(AppendableFormatStructure).a2k = function () {
|
|
1408
|
-
return new ConcatenatedFormatStructure(this.
|
|
1408
|
+
return new ConcatenatedFormatStructure(this.z53_1);
|
|
1409
1409
|
};
|
|
1410
|
-
protoOf(AppendableFormatStructure).
|
|
1410
|
+
protoOf(AppendableFormatStructure).a54 = function (format) {
|
|
1411
1411
|
if (isInterface(format, NonConcatenatedFormatStructure))
|
|
1412
|
-
this.
|
|
1412
|
+
this.z53_1.e1(format);
|
|
1413
1413
|
else {
|
|
1414
1414
|
if (format instanceof ConcatenatedFormatStructure) {
|
|
1415
1415
|
// Inline function 'kotlin.collections.forEach' call
|
|
1416
|
-
var _iterator__ex2g4s = format.
|
|
1416
|
+
var _iterator__ex2g4s = format.b54_1.t();
|
|
1417
1417
|
while (_iterator__ex2g4s.u()) {
|
|
1418
1418
|
var element = _iterator__ex2g4s.v();
|
|
1419
|
-
this.
|
|
1419
|
+
this.z53_1.e1(element);
|
|
1420
1420
|
}
|
|
1421
1421
|
} else {
|
|
1422
1422
|
noWhenBranchMatchedException();
|
|
@@ -1425,106 +1425,106 @@
|
|
|
1425
1425
|
};
|
|
1426
1426
|
function Accessor$getterNotNull$ref(p0) {
|
|
1427
1427
|
var l = function (_this__u8e3s4) {
|
|
1428
|
-
return p0.
|
|
1428
|
+
return p0.u56(_this__u8e3s4);
|
|
1429
1429
|
};
|
|
1430
1430
|
l.callableName = 'getterNotNull';
|
|
1431
1431
|
return l;
|
|
1432
1432
|
}
|
|
1433
1433
|
function UnsignedIntFieldFormatDirective(field, minDigits, spacePadding) {
|
|
1434
|
-
this.
|
|
1435
|
-
this.
|
|
1436
|
-
this.
|
|
1437
|
-
this.
|
|
1434
|
+
this.o55_1 = field;
|
|
1435
|
+
this.p55_1 = minDigits;
|
|
1436
|
+
this.q55_1 = spacePadding;
|
|
1437
|
+
this.r55_1 = this.o55_1.b57_1;
|
|
1438
1438
|
// Inline function 'kotlin.require' call
|
|
1439
|
-
if (!(this.
|
|
1440
|
-
var message = 'The minimum number of digits (' + this.
|
|
1439
|
+
if (!(this.p55_1 >= 0)) {
|
|
1440
|
+
var message = 'The minimum number of digits (' + this.p55_1 + ') is negative';
|
|
1441
1441
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1442
1442
|
}
|
|
1443
1443
|
// Inline function 'kotlin.require' call
|
|
1444
|
-
if (!(this.
|
|
1445
|
-
var message_0 = 'The maximum number of digits (' + this.
|
|
1444
|
+
if (!(this.r55_1 >= this.p55_1)) {
|
|
1445
|
+
var message_0 = 'The maximum number of digits (' + this.r55_1 + ') is less than the minimum number of digits (' + this.p55_1 + ')';
|
|
1446
1446
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1447
1447
|
}
|
|
1448
|
-
if (!(this.
|
|
1448
|
+
if (!(this.q55_1 == null)) {
|
|
1449
1449
|
// Inline function 'kotlin.require' call
|
|
1450
|
-
if (!(this.
|
|
1451
|
-
var message_1 = 'The space padding (' + this.
|
|
1450
|
+
if (!(this.q55_1 > this.p55_1)) {
|
|
1451
|
+
var message_1 = 'The space padding (' + this.q55_1 + ') should be more than the minimum number of digits (' + this.p55_1 + ')';
|
|
1452
1452
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1453
1453
|
}
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
|
-
protoOf(UnsignedIntFieldFormatDirective).
|
|
1457
|
-
var formatter = new UnsignedIntFormatterStructure(Accessor$getterNotNull$ref(this.
|
|
1458
|
-
return !(this.
|
|
1456
|
+
protoOf(UnsignedIntFieldFormatDirective).o53 = function () {
|
|
1457
|
+
var formatter = new UnsignedIntFormatterStructure(Accessor$getterNotNull$ref(this.o55_1.v56_1), this.p55_1);
|
|
1458
|
+
return !(this.q55_1 == null) ? new SpacePaddedFormatter(formatter, this.q55_1) : formatter;
|
|
1459
1459
|
};
|
|
1460
|
-
protoOf(UnsignedIntFieldFormatDirective).
|
|
1461
|
-
return spaceAndZeroPaddedUnsignedInt(this.
|
|
1460
|
+
protoOf(UnsignedIntFieldFormatDirective).q53 = function () {
|
|
1461
|
+
return spaceAndZeroPaddedUnsignedInt(this.p55_1, this.r55_1, this.q55_1, this.o55_1.v56_1, this.o55_1.y56_1);
|
|
1462
1462
|
};
|
|
1463
1463
|
function Accessor$getterNotNull$ref_0(p0) {
|
|
1464
1464
|
var l = function (_this__u8e3s4) {
|
|
1465
|
-
return p0.
|
|
1465
|
+
return p0.u56(_this__u8e3s4);
|
|
1466
1466
|
};
|
|
1467
1467
|
l.callableName = 'getterNotNull';
|
|
1468
1468
|
return l;
|
|
1469
1469
|
}
|
|
1470
1470
|
function SignedIntFieldFormatDirective(field, minDigits, maxDigits, spacePadding, outputPlusOnExceededWidth) {
|
|
1471
|
-
this.
|
|
1472
|
-
this.
|
|
1473
|
-
this.
|
|
1474
|
-
this.
|
|
1475
|
-
this.
|
|
1471
|
+
this.k56_1 = field;
|
|
1472
|
+
this.l56_1 = minDigits;
|
|
1473
|
+
this.m56_1 = maxDigits;
|
|
1474
|
+
this.n56_1 = spacePadding;
|
|
1475
|
+
this.o56_1 = outputPlusOnExceededWidth;
|
|
1476
1476
|
// Inline function 'kotlin.require' call
|
|
1477
|
-
if (!(this.
|
|
1478
|
-
var message = 'The minimum number of digits (' + this.
|
|
1477
|
+
if (!(this.l56_1 == null || this.l56_1 >= 0)) {
|
|
1478
|
+
var message = 'The minimum number of digits (' + this.l56_1 + ') is negative';
|
|
1479
1479
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1480
1480
|
}
|
|
1481
1481
|
// Inline function 'kotlin.require' call
|
|
1482
|
-
if (!(this.
|
|
1483
|
-
var message_0 = 'The maximum number of digits (' + this.
|
|
1482
|
+
if (!(this.m56_1 == null || this.l56_1 == null || this.m56_1 >= this.l56_1)) {
|
|
1483
|
+
var message_0 = 'The maximum number of digits (' + this.m56_1 + ') is less than the minimum number of digits (' + this.l56_1 + ')';
|
|
1484
1484
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
|
-
protoOf(SignedIntFieldFormatDirective).
|
|
1488
|
-
var tmp = Accessor$getterNotNull$ref_0(this.
|
|
1489
|
-
var tmp0_elvis_lhs = this.
|
|
1490
|
-
var formatter = new SignedIntFormatterStructure(tmp, tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs, this.
|
|
1491
|
-
return !(this.
|
|
1487
|
+
protoOf(SignedIntFieldFormatDirective).o53 = function () {
|
|
1488
|
+
var tmp = Accessor$getterNotNull$ref_0(this.k56_1.c57());
|
|
1489
|
+
var tmp0_elvis_lhs = this.l56_1;
|
|
1490
|
+
var formatter = new SignedIntFormatterStructure(tmp, tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs, this.o56_1);
|
|
1491
|
+
return !(this.n56_1 == null) ? new SpacePaddedFormatter(formatter, this.n56_1) : formatter;
|
|
1492
1492
|
};
|
|
1493
|
-
protoOf(SignedIntFieldFormatDirective).
|
|
1494
|
-
return SignedIntParser(this.
|
|
1493
|
+
protoOf(SignedIntFieldFormatDirective).q53 = function () {
|
|
1494
|
+
return SignedIntParser(this.l56_1, this.m56_1, this.n56_1, this.k56_1.c57(), this.k56_1.m(), this.o56_1);
|
|
1495
1495
|
};
|
|
1496
1496
|
function GenericFieldSpec(accessor, name, defaultValue, sign) {
|
|
1497
1497
|
name = name === VOID ? accessor.m() : name;
|
|
1498
1498
|
defaultValue = defaultValue === VOID ? null : defaultValue;
|
|
1499
1499
|
sign = sign === VOID ? null : sign;
|
|
1500
1500
|
AbstractFieldSpec.call(this);
|
|
1501
|
-
this.
|
|
1502
|
-
this.
|
|
1503
|
-
this.
|
|
1504
|
-
this.
|
|
1501
|
+
this.d57_1 = accessor;
|
|
1502
|
+
this.e57_1 = name;
|
|
1503
|
+
this.f57_1 = defaultValue;
|
|
1504
|
+
this.g57_1 = sign;
|
|
1505
1505
|
}
|
|
1506
|
-
protoOf(GenericFieldSpec).
|
|
1507
|
-
return this.
|
|
1506
|
+
protoOf(GenericFieldSpec).c57 = function () {
|
|
1507
|
+
return this.d57_1;
|
|
1508
1508
|
};
|
|
1509
1509
|
protoOf(GenericFieldSpec).m = function () {
|
|
1510
|
-
return this.
|
|
1510
|
+
return this.e57_1;
|
|
1511
1511
|
};
|
|
1512
|
-
protoOf(GenericFieldSpec).
|
|
1513
|
-
return this.
|
|
1512
|
+
protoOf(GenericFieldSpec).h57 = function () {
|
|
1513
|
+
return this.f57_1;
|
|
1514
1514
|
};
|
|
1515
1515
|
function PropertyAccessor(property, name) {
|
|
1516
1516
|
name = name === VOID ? property.callableName : name;
|
|
1517
|
-
this.
|
|
1518
|
-
this.
|
|
1517
|
+
this.i57_1 = property;
|
|
1518
|
+
this.j57_1 = name;
|
|
1519
1519
|
}
|
|
1520
1520
|
protoOf(PropertyAccessor).m = function () {
|
|
1521
|
-
return this.
|
|
1521
|
+
return this.j57_1;
|
|
1522
1522
|
};
|
|
1523
|
-
protoOf(PropertyAccessor).
|
|
1524
|
-
var oldValue = this.
|
|
1523
|
+
protoOf(PropertyAccessor).k57 = function (container, newValue) {
|
|
1524
|
+
var oldValue = this.i57_1.get(container);
|
|
1525
1525
|
var tmp;
|
|
1526
1526
|
if (oldValue === null) {
|
|
1527
|
-
this.
|
|
1527
|
+
this.i57_1.set(container, newValue);
|
|
1528
1528
|
tmp = null;
|
|
1529
1529
|
} else if (equals(oldValue, newValue)) {
|
|
1530
1530
|
tmp = null;
|
|
@@ -1533,110 +1533,110 @@
|
|
|
1533
1533
|
}
|
|
1534
1534
|
return tmp;
|
|
1535
1535
|
};
|
|
1536
|
-
protoOf(PropertyAccessor).
|
|
1536
|
+
protoOf(PropertyAccessor).l57 = function (container, newValue) {
|
|
1537
1537
|
var tmp = (container == null ? true : !(container == null)) ? container : THROW_CCE();
|
|
1538
|
-
return this.
|
|
1538
|
+
return this.k57(tmp, (newValue == null ? true : !(newValue == null)) ? newValue : THROW_CCE());
|
|
1539
1539
|
};
|
|
1540
|
-
protoOf(PropertyAccessor).
|
|
1541
|
-
return this.
|
|
1540
|
+
protoOf(PropertyAccessor).m57 = function (container) {
|
|
1541
|
+
return this.i57_1.get(container);
|
|
1542
1542
|
};
|
|
1543
1543
|
function UnsignedFieldSpec(accessor, minValue, maxValue, name, defaultValue, sign) {
|
|
1544
1544
|
name = name === VOID ? accessor.m() : name;
|
|
1545
1545
|
defaultValue = defaultValue === VOID ? null : defaultValue;
|
|
1546
1546
|
sign = sign === VOID ? null : sign;
|
|
1547
1547
|
AbstractFieldSpec.call(this);
|
|
1548
|
-
this.
|
|
1549
|
-
this.
|
|
1550
|
-
this.
|
|
1551
|
-
this.
|
|
1552
|
-
this.
|
|
1553
|
-
this.
|
|
1548
|
+
this.v56_1 = accessor;
|
|
1549
|
+
this.w56_1 = minValue;
|
|
1550
|
+
this.x56_1 = maxValue;
|
|
1551
|
+
this.y56_1 = name;
|
|
1552
|
+
this.z56_1 = defaultValue;
|
|
1553
|
+
this.a57_1 = sign;
|
|
1554
1554
|
var tmp = this;
|
|
1555
1555
|
var tmp_0;
|
|
1556
|
-
if (this.
|
|
1556
|
+
if (this.x56_1 < 10) {
|
|
1557
1557
|
tmp_0 = 1;
|
|
1558
|
-
} else if (this.
|
|
1558
|
+
} else if (this.x56_1 < 100) {
|
|
1559
1559
|
tmp_0 = 2;
|
|
1560
|
-
} else if (this.
|
|
1560
|
+
} else if (this.x56_1 < 1000) {
|
|
1561
1561
|
tmp_0 = 3;
|
|
1562
1562
|
} else {
|
|
1563
|
-
throw IllegalArgumentException_init_$Create$('Max value ' + this.
|
|
1563
|
+
throw IllegalArgumentException_init_$Create$('Max value ' + this.x56_1 + ' is too large');
|
|
1564
1564
|
}
|
|
1565
|
-
tmp.
|
|
1565
|
+
tmp.b57_1 = tmp_0;
|
|
1566
1566
|
}
|
|
1567
|
-
protoOf(UnsignedFieldSpec).
|
|
1568
|
-
return this.
|
|
1567
|
+
protoOf(UnsignedFieldSpec).c57 = function () {
|
|
1568
|
+
return this.v56_1;
|
|
1569
1569
|
};
|
|
1570
1570
|
protoOf(UnsignedFieldSpec).m = function () {
|
|
1571
|
-
return this.
|
|
1571
|
+
return this.y56_1;
|
|
1572
1572
|
};
|
|
1573
|
-
protoOf(UnsignedFieldSpec).
|
|
1574
|
-
return this.
|
|
1573
|
+
protoOf(UnsignedFieldSpec).h57 = function () {
|
|
1574
|
+
return this.z56_1;
|
|
1575
1575
|
};
|
|
1576
1576
|
function Accessor() {
|
|
1577
1577
|
}
|
|
1578
1578
|
function AbstractFieldSpec() {
|
|
1579
1579
|
}
|
|
1580
1580
|
protoOf(AbstractFieldSpec).toString = function () {
|
|
1581
|
-
return 'The field ' + this.m() + ' (default value is ' + toString_1(this.
|
|
1581
|
+
return 'The field ' + this.m() + ' (default value is ' + toString_1(this.h57()) + ')';
|
|
1582
1582
|
};
|
|
1583
1583
|
function CachedFormatStructure(formats) {
|
|
1584
1584
|
ConcatenatedFormatStructure.call(this, formats);
|
|
1585
|
-
this.
|
|
1586
|
-
this.
|
|
1585
|
+
this.m53_1 = protoOf(ConcatenatedFormatStructure).o53.call(this);
|
|
1586
|
+
this.n53_1 = protoOf(ConcatenatedFormatStructure).q53.call(this);
|
|
1587
1587
|
}
|
|
1588
|
-
protoOf(CachedFormatStructure).
|
|
1589
|
-
return this.
|
|
1588
|
+
protoOf(CachedFormatStructure).o53 = function () {
|
|
1589
|
+
return this.m53_1;
|
|
1590
1590
|
};
|
|
1591
|
-
protoOf(CachedFormatStructure).
|
|
1592
|
-
return this.
|
|
1591
|
+
protoOf(CachedFormatStructure).q53 = function () {
|
|
1592
|
+
return this.n53_1;
|
|
1593
1593
|
};
|
|
1594
1594
|
function BasicFormatStructure(directive) {
|
|
1595
|
-
this.
|
|
1595
|
+
this.n57_1 = directive;
|
|
1596
1596
|
}
|
|
1597
1597
|
protoOf(BasicFormatStructure).toString = function () {
|
|
1598
|
-
return 'BasicFormatStructure(' + toString(this.
|
|
1598
|
+
return 'BasicFormatStructure(' + toString(this.n57_1) + ')';
|
|
1599
1599
|
};
|
|
1600
1600
|
protoOf(BasicFormatStructure).equals = function (other) {
|
|
1601
1601
|
var tmp;
|
|
1602
1602
|
if (other instanceof BasicFormatStructure) {
|
|
1603
|
-
tmp = equals(this.
|
|
1603
|
+
tmp = equals(this.n57_1, other.n57_1);
|
|
1604
1604
|
} else {
|
|
1605
1605
|
tmp = false;
|
|
1606
1606
|
}
|
|
1607
1607
|
return tmp;
|
|
1608
1608
|
};
|
|
1609
1609
|
protoOf(BasicFormatStructure).hashCode = function () {
|
|
1610
|
-
return hashCode(this.
|
|
1610
|
+
return hashCode(this.n57_1);
|
|
1611
1611
|
};
|
|
1612
|
-
protoOf(BasicFormatStructure).
|
|
1613
|
-
return this.
|
|
1612
|
+
protoOf(BasicFormatStructure).q53 = function () {
|
|
1613
|
+
return this.n57_1.q53();
|
|
1614
1614
|
};
|
|
1615
|
-
protoOf(BasicFormatStructure).
|
|
1616
|
-
return this.
|
|
1615
|
+
protoOf(BasicFormatStructure).o53 = function () {
|
|
1616
|
+
return this.n57_1.o53();
|
|
1617
1617
|
};
|
|
1618
1618
|
function ConstantFormatStructure(string) {
|
|
1619
|
-
this.
|
|
1619
|
+
this.o57_1 = string;
|
|
1620
1620
|
}
|
|
1621
1621
|
protoOf(ConstantFormatStructure).toString = function () {
|
|
1622
|
-
return 'ConstantFormatStructure(' + this.
|
|
1622
|
+
return 'ConstantFormatStructure(' + this.o57_1 + ')';
|
|
1623
1623
|
};
|
|
1624
1624
|
protoOf(ConstantFormatStructure).equals = function (other) {
|
|
1625
1625
|
var tmp;
|
|
1626
1626
|
if (other instanceof ConstantFormatStructure) {
|
|
1627
|
-
tmp = this.
|
|
1627
|
+
tmp = this.o57_1 === other.o57_1;
|
|
1628
1628
|
} else {
|
|
1629
1629
|
tmp = false;
|
|
1630
1630
|
}
|
|
1631
1631
|
return tmp;
|
|
1632
1632
|
};
|
|
1633
1633
|
protoOf(ConstantFormatStructure).hashCode = function () {
|
|
1634
|
-
return getStringHashCode(this.
|
|
1634
|
+
return getStringHashCode(this.o57_1);
|
|
1635
1635
|
};
|
|
1636
|
-
protoOf(ConstantFormatStructure).
|
|
1636
|
+
protoOf(ConstantFormatStructure).q53 = function () {
|
|
1637
1637
|
var tmp;
|
|
1638
1638
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1639
|
-
var this_0 = this.
|
|
1639
|
+
var this_0 = this.o57_1;
|
|
1640
1640
|
if (charSequenceLength(this_0) === 0) {
|
|
1641
1641
|
tmp = emptyList();
|
|
1642
1642
|
} else {
|
|
@@ -1645,8 +1645,8 @@
|
|
|
1645
1645
|
// Inline function 'kotlin.apply' call
|
|
1646
1646
|
var this_1 = ArrayList_init_$Create$();
|
|
1647
1647
|
var tmp_0;
|
|
1648
|
-
if (isAsciiDigit(charCodeAt(this.
|
|
1649
|
-
var tmp0 = this.
|
|
1648
|
+
if (isAsciiDigit(charCodeAt(this.o57_1, 0))) {
|
|
1649
|
+
var tmp0 = this.o57_1;
|
|
1650
1650
|
var tmp$ret$2;
|
|
1651
1651
|
$l$block: {
|
|
1652
1652
|
// Inline function 'kotlin.text.takeWhile' call
|
|
@@ -1666,7 +1666,7 @@
|
|
|
1666
1666
|
tmp$ret$2 = tmp0;
|
|
1667
1667
|
}
|
|
1668
1668
|
this_1.e1(new NumberSpanParserOperation(listOf(new ConstantNumberConsumer(tmp$ret$2))));
|
|
1669
|
-
var tmp0_0 = this.
|
|
1669
|
+
var tmp0_0 = this.o57_1;
|
|
1670
1670
|
var tmp$ret$4;
|
|
1671
1671
|
$l$block_0: {
|
|
1672
1672
|
// Inline function 'kotlin.text.dropWhile' call
|
|
@@ -1687,7 +1687,7 @@
|
|
|
1687
1687
|
}
|
|
1688
1688
|
tmp_0 = tmp$ret$4;
|
|
1689
1689
|
} else {
|
|
1690
|
-
tmp_0 = this.
|
|
1690
|
+
tmp_0 = this.o57_1;
|
|
1691
1691
|
}
|
|
1692
1692
|
var suffix = tmp_0;
|
|
1693
1693
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
@@ -1737,49 +1737,49 @@
|
|
|
1737
1737
|
}
|
|
1738
1738
|
return new ParserStructure(tmp, emptyList());
|
|
1739
1739
|
};
|
|
1740
|
-
protoOf(ConstantFormatStructure).
|
|
1741
|
-
return new ConstantStringFormatterStructure(this.
|
|
1740
|
+
protoOf(ConstantFormatStructure).o53 = function () {
|
|
1741
|
+
return new ConstantStringFormatterStructure(this.o57_1);
|
|
1742
1742
|
};
|
|
1743
1743
|
function ConcatenatedFormatStructure(formats) {
|
|
1744
|
-
this.
|
|
1744
|
+
this.b54_1 = formats;
|
|
1745
1745
|
}
|
|
1746
1746
|
protoOf(ConcatenatedFormatStructure).toString = function () {
|
|
1747
|
-
return 'ConcatenatedFormatStructure(' + joinToString(this.
|
|
1747
|
+
return 'ConcatenatedFormatStructure(' + joinToString(this.b54_1, ', ') + ')';
|
|
1748
1748
|
};
|
|
1749
1749
|
protoOf(ConcatenatedFormatStructure).equals = function (other) {
|
|
1750
1750
|
var tmp;
|
|
1751
1751
|
if (other instanceof ConcatenatedFormatStructure) {
|
|
1752
|
-
tmp = equals(this.
|
|
1752
|
+
tmp = equals(this.b54_1, other.b54_1);
|
|
1753
1753
|
} else {
|
|
1754
1754
|
tmp = false;
|
|
1755
1755
|
}
|
|
1756
1756
|
return tmp;
|
|
1757
1757
|
};
|
|
1758
1758
|
protoOf(ConcatenatedFormatStructure).hashCode = function () {
|
|
1759
|
-
return hashCode(this.
|
|
1759
|
+
return hashCode(this.b54_1);
|
|
1760
1760
|
};
|
|
1761
|
-
protoOf(ConcatenatedFormatStructure).
|
|
1761
|
+
protoOf(ConcatenatedFormatStructure).q53 = function () {
|
|
1762
1762
|
// Inline function 'kotlin.collections.map' call
|
|
1763
|
-
var this_0 = this.
|
|
1763
|
+
var this_0 = this.b54_1;
|
|
1764
1764
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1765
1765
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
1766
1766
|
var _iterator__ex2g4s = this_0.t();
|
|
1767
1767
|
while (_iterator__ex2g4s.u()) {
|
|
1768
1768
|
var item = _iterator__ex2g4s.v();
|
|
1769
|
-
var tmp$ret$0 = item.
|
|
1769
|
+
var tmp$ret$0 = item.q53();
|
|
1770
1770
|
destination.e1(tmp$ret$0);
|
|
1771
1771
|
}
|
|
1772
1772
|
return concat(destination);
|
|
1773
1773
|
};
|
|
1774
|
-
protoOf(ConcatenatedFormatStructure).
|
|
1774
|
+
protoOf(ConcatenatedFormatStructure).o53 = function () {
|
|
1775
1775
|
// Inline function 'kotlin.collections.map' call
|
|
1776
|
-
var this_0 = this.
|
|
1776
|
+
var this_0 = this.b54_1;
|
|
1777
1777
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1778
1778
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
1779
1779
|
var _iterator__ex2g4s = this_0.t();
|
|
1780
1780
|
while (_iterator__ex2g4s.u()) {
|
|
1781
1781
|
var item = _iterator__ex2g4s.v();
|
|
1782
|
-
var tmp$ret$0 = item.
|
|
1782
|
+
var tmp$ret$0 = item.o53();
|
|
1783
1783
|
destination.e1(tmp$ret$0);
|
|
1784
1784
|
}
|
|
1785
1785
|
var formatters = destination;
|
|
@@ -1796,16 +1796,16 @@
|
|
|
1796
1796
|
function FormatterStructure() {
|
|
1797
1797
|
}
|
|
1798
1798
|
function SpacePaddedFormatter(formatter, padding) {
|
|
1799
|
-
this.
|
|
1800
|
-
this.
|
|
1799
|
+
this.q57_1 = formatter;
|
|
1800
|
+
this.r57_1 = padding;
|
|
1801
1801
|
}
|
|
1802
|
-
protoOf(SpacePaddedFormatter).
|
|
1802
|
+
protoOf(SpacePaddedFormatter).p57 = function (obj, builder, minusNotRequired) {
|
|
1803
1803
|
// Inline function 'kotlin.let' call
|
|
1804
1804
|
var it = StringBuilder_init_$Create$();
|
|
1805
|
-
this.
|
|
1805
|
+
this.q57_1.p57(obj, it, minusNotRequired);
|
|
1806
1806
|
var string = it.toString();
|
|
1807
1807
|
// Inline function 'kotlin.repeat' call
|
|
1808
|
-
var times = this.
|
|
1808
|
+
var times = this.r57_1 - string.length | 0;
|
|
1809
1809
|
var inductionVariable = 0;
|
|
1810
1810
|
if (inductionVariable < times)
|
|
1811
1811
|
do {
|
|
@@ -1817,34 +1817,34 @@
|
|
|
1817
1817
|
builder.f1(string);
|
|
1818
1818
|
};
|
|
1819
1819
|
function ConcatenatedFormatter(formatters) {
|
|
1820
|
-
this.
|
|
1820
|
+
this.s57_1 = formatters;
|
|
1821
1821
|
}
|
|
1822
|
-
protoOf(ConcatenatedFormatter).
|
|
1823
|
-
var _iterator__ex2g4s = this.
|
|
1822
|
+
protoOf(ConcatenatedFormatter).p57 = function (obj, builder, minusNotRequired) {
|
|
1823
|
+
var _iterator__ex2g4s = this.s57_1.t();
|
|
1824
1824
|
while (_iterator__ex2g4s.u()) {
|
|
1825
1825
|
var formatter = _iterator__ex2g4s.v();
|
|
1826
|
-
formatter.
|
|
1826
|
+
formatter.p57(obj, builder, minusNotRequired);
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
1829
|
function UnsignedIntFormatterStructure(number, zeroPadding) {
|
|
1830
|
-
this.
|
|
1831
|
-
this.
|
|
1830
|
+
this.t57_1 = number;
|
|
1831
|
+
this.u57_1 = zeroPadding;
|
|
1832
1832
|
// Inline function 'kotlin.require' call
|
|
1833
|
-
if (!(this.
|
|
1834
|
-
var message = 'The minimum number of digits (' + this.
|
|
1833
|
+
if (!(this.u57_1 >= 0)) {
|
|
1834
|
+
var message = 'The minimum number of digits (' + this.u57_1 + ') is negative';
|
|
1835
1835
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1836
1836
|
}
|
|
1837
1837
|
// Inline function 'kotlin.require' call
|
|
1838
|
-
if (!(this.
|
|
1839
|
-
var message_0 = 'The minimum number of digits (' + this.
|
|
1838
|
+
if (!(this.u57_1 <= 9)) {
|
|
1839
|
+
var message_0 = 'The minimum number of digits (' + this.u57_1 + ') exceeds the length of an Int';
|
|
1840
1840
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1841
1841
|
}
|
|
1842
1842
|
}
|
|
1843
|
-
protoOf(UnsignedIntFormatterStructure).
|
|
1844
|
-
var num = this.
|
|
1843
|
+
protoOf(UnsignedIntFormatterStructure).p57 = function (obj, builder, minusNotRequired) {
|
|
1844
|
+
var num = this.t57_1(obj);
|
|
1845
1845
|
var numberStr = num.toString();
|
|
1846
1846
|
// Inline function 'kotlin.repeat' call
|
|
1847
|
-
var times = this.
|
|
1847
|
+
var times = this.u57_1 - numberStr.length | 0;
|
|
1848
1848
|
var inductionVariable = 0;
|
|
1849
1849
|
if (inductionVariable < times)
|
|
1850
1850
|
do {
|
|
@@ -1856,34 +1856,34 @@
|
|
|
1856
1856
|
builder.f1(numberStr);
|
|
1857
1857
|
};
|
|
1858
1858
|
function SignedIntFormatterStructure(number, zeroPadding, outputPlusOnExceededWidth) {
|
|
1859
|
-
this.
|
|
1860
|
-
this.
|
|
1861
|
-
this.
|
|
1859
|
+
this.v57_1 = number;
|
|
1860
|
+
this.w57_1 = zeroPadding;
|
|
1861
|
+
this.x57_1 = outputPlusOnExceededWidth;
|
|
1862
1862
|
// Inline function 'kotlin.require' call
|
|
1863
|
-
if (!(this.
|
|
1864
|
-
var message = 'The minimum number of digits (' + this.
|
|
1863
|
+
if (!(this.w57_1 >= 0)) {
|
|
1864
|
+
var message = 'The minimum number of digits (' + this.w57_1 + ') is negative';
|
|
1865
1865
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1866
1866
|
}
|
|
1867
1867
|
// Inline function 'kotlin.require' call
|
|
1868
|
-
if (!(this.
|
|
1869
|
-
var message_0 = 'The minimum number of digits (' + this.
|
|
1868
|
+
if (!(this.w57_1 <= 9)) {
|
|
1869
|
+
var message_0 = 'The minimum number of digits (' + this.w57_1 + ') exceeds the length of an Int';
|
|
1870
1870
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1871
1871
|
}
|
|
1872
1872
|
}
|
|
1873
|
-
protoOf(SignedIntFormatterStructure).
|
|
1873
|
+
protoOf(SignedIntFormatterStructure).p57 = function (obj, builder, minusNotRequired) {
|
|
1874
1874
|
var innerBuilder = StringBuilder_init_$Create$();
|
|
1875
1875
|
// Inline function 'kotlin.let' call
|
|
1876
|
-
var it = this.
|
|
1876
|
+
var it = this.v57_1(obj);
|
|
1877
1877
|
var number = minusNotRequired && it < 0 ? -it | 0 : it;
|
|
1878
|
-
if (!(this.
|
|
1878
|
+
if (!(this.x57_1 == null) && number >= get_POWERS_OF_TEN()[this.x57_1]) {
|
|
1879
1879
|
innerBuilder.s(_Char___init__impl__6a9atx(43));
|
|
1880
1880
|
}
|
|
1881
1881
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
1882
|
-
if (abs(number) < get_POWERS_OF_TEN()[this.
|
|
1882
|
+
if (abs(number) < get_POWERS_OF_TEN()[this.w57_1 - 1 | 0]) {
|
|
1883
1883
|
if (number >= 0) {
|
|
1884
|
-
innerBuilder.vb(number + get_POWERS_OF_TEN()[this.
|
|
1884
|
+
innerBuilder.vb(number + get_POWERS_OF_TEN()[this.w57_1] | 0).ac(0);
|
|
1885
1885
|
} else {
|
|
1886
|
-
innerBuilder.vb(number - get_POWERS_OF_TEN()[this.
|
|
1886
|
+
innerBuilder.vb(number - get_POWERS_OF_TEN()[this.w57_1] | 0).ac(1);
|
|
1887
1887
|
}
|
|
1888
1888
|
} else {
|
|
1889
1889
|
innerBuilder.vb(number);
|
|
@@ -1891,35 +1891,35 @@
|
|
|
1891
1891
|
builder.f1(innerBuilder);
|
|
1892
1892
|
};
|
|
1893
1893
|
function ConstantStringFormatterStructure(string) {
|
|
1894
|
-
this.
|
|
1894
|
+
this.y57_1 = string;
|
|
1895
1895
|
}
|
|
1896
|
-
protoOf(ConstantStringFormatterStructure).
|
|
1897
|
-
builder.f1(this.
|
|
1896
|
+
protoOf(ConstantStringFormatterStructure).p57 = function (obj, builder, minusNotRequired) {
|
|
1897
|
+
builder.f1(this.y57_1);
|
|
1898
1898
|
};
|
|
1899
1899
|
function ConstantNumberConsumer(expected) {
|
|
1900
1900
|
NumberConsumer.call(this, expected.length, 'the predefined string ' + expected);
|
|
1901
|
-
this.
|
|
1901
|
+
this.b58_1 = expected;
|
|
1902
1902
|
}
|
|
1903
|
-
protoOf(ConstantNumberConsumer).
|
|
1903
|
+
protoOf(ConstantNumberConsumer).c58 = function (storage, input, start, end) {
|
|
1904
1904
|
var tmp;
|
|
1905
1905
|
// Inline function 'kotlin.text.substring' call
|
|
1906
|
-
if (toString(charSequenceSubSequence(input, start, end)) === this.
|
|
1906
|
+
if (toString(charSequenceSubSequence(input, start, end)) === this.b58_1) {
|
|
1907
1907
|
tmp = null;
|
|
1908
1908
|
} else {
|
|
1909
|
-
tmp = new WrongConstant(this.
|
|
1909
|
+
tmp = new WrongConstant(this.b58_1);
|
|
1910
1910
|
}
|
|
1911
1911
|
return tmp;
|
|
1912
1912
|
};
|
|
1913
1913
|
function NumberConsumer(length, whatThisExpects) {
|
|
1914
|
-
this.
|
|
1915
|
-
this.
|
|
1914
|
+
this.d58_1 = length;
|
|
1915
|
+
this.e58_1 = whatThisExpects;
|
|
1916
1916
|
}
|
|
1917
1917
|
protoOf(NumberConsumer).a = function () {
|
|
1918
|
-
return this.
|
|
1918
|
+
return this.d58_1;
|
|
1919
1919
|
};
|
|
1920
1920
|
function ExpectedInt() {
|
|
1921
1921
|
}
|
|
1922
|
-
protoOf(ExpectedInt).
|
|
1922
|
+
protoOf(ExpectedInt).f58 = function () {
|
|
1923
1923
|
return 'expected an Int value';
|
|
1924
1924
|
};
|
|
1925
1925
|
var ExpectedInt_instance;
|
|
@@ -1927,31 +1927,31 @@
|
|
|
1927
1927
|
return ExpectedInt_instance;
|
|
1928
1928
|
}
|
|
1929
1929
|
function TooManyDigits(maxDigits) {
|
|
1930
|
-
this.
|
|
1930
|
+
this.g58_1 = maxDigits;
|
|
1931
1931
|
}
|
|
1932
|
-
protoOf(TooManyDigits).
|
|
1933
|
-
return 'expected at most ' + this.
|
|
1932
|
+
protoOf(TooManyDigits).f58 = function () {
|
|
1933
|
+
return 'expected at most ' + this.g58_1 + ' digits';
|
|
1934
1934
|
};
|
|
1935
1935
|
function TooFewDigits(minDigits) {
|
|
1936
|
-
this.
|
|
1936
|
+
this.h58_1 = minDigits;
|
|
1937
1937
|
}
|
|
1938
|
-
protoOf(TooFewDigits).
|
|
1939
|
-
return 'expected at least ' + this.
|
|
1938
|
+
protoOf(TooFewDigits).f58 = function () {
|
|
1939
|
+
return 'expected at least ' + this.h58_1 + ' digits';
|
|
1940
1940
|
};
|
|
1941
1941
|
function WrongConstant(expected) {
|
|
1942
|
-
this.
|
|
1942
|
+
this.i58_1 = expected;
|
|
1943
1943
|
}
|
|
1944
|
-
protoOf(WrongConstant).
|
|
1945
|
-
return "expected '" + this.
|
|
1944
|
+
protoOf(WrongConstant).f58 = function () {
|
|
1945
|
+
return "expected '" + this.i58_1 + "'";
|
|
1946
1946
|
};
|
|
1947
1947
|
function Conflicting(conflicting) {
|
|
1948
|
-
this.
|
|
1948
|
+
this.j58_1 = conflicting;
|
|
1949
1949
|
}
|
|
1950
|
-
protoOf(Conflicting).
|
|
1951
|
-
return "attempted to overwrite the existing value '" + toString(this.
|
|
1950
|
+
protoOf(Conflicting).f58 = function () {
|
|
1951
|
+
return "attempted to overwrite the existing value '" + toString(this.j58_1) + "'";
|
|
1952
1952
|
};
|
|
1953
1953
|
function setWithoutReassigning(_this__u8e3s4, receiver, value) {
|
|
1954
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
1954
|
+
var tmp0_elvis_lhs = _this__u8e3s4.l57(receiver, value);
|
|
1955
1955
|
var tmp;
|
|
1956
1956
|
if (tmp0_elvis_lhs == null) {
|
|
1957
1957
|
return null;
|
|
@@ -1964,25 +1964,25 @@
|
|
|
1964
1964
|
function UnsignedIntConsumer(minLength, maxLength, setter, name, multiplyByMinus1) {
|
|
1965
1965
|
multiplyByMinus1 = multiplyByMinus1 === VOID ? false : multiplyByMinus1;
|
|
1966
1966
|
NumberConsumer.call(this, minLength == maxLength ? minLength : null, name);
|
|
1967
|
-
this.
|
|
1968
|
-
this.
|
|
1969
|
-
this.
|
|
1970
|
-
this.
|
|
1967
|
+
this.m58_1 = minLength;
|
|
1968
|
+
this.n58_1 = maxLength;
|
|
1969
|
+
this.o58_1 = setter;
|
|
1970
|
+
this.p58_1 = multiplyByMinus1;
|
|
1971
1971
|
// Inline function 'kotlin.require' call
|
|
1972
1972
|
if (!(this.a() == null || numberRangeToNumber(1, 9).lh(this.a()))) {
|
|
1973
|
-
var message = 'Invalid length for field ' + this.
|
|
1973
|
+
var message = 'Invalid length for field ' + this.e58_1 + ': ' + this.a();
|
|
1974
1974
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1975
1975
|
}
|
|
1976
1976
|
}
|
|
1977
|
-
protoOf(UnsignedIntConsumer).
|
|
1977
|
+
protoOf(UnsignedIntConsumer).c58 = function (storage, input, start, end) {
|
|
1978
1978
|
var tmp;
|
|
1979
|
-
if (!(this.
|
|
1980
|
-
tmp = new TooManyDigits(this.
|
|
1981
|
-
} else if (!(this.
|
|
1982
|
-
tmp = new TooFewDigits(this.
|
|
1979
|
+
if (!(this.n58_1 == null) && (end - start | 0) > this.n58_1) {
|
|
1980
|
+
tmp = new TooManyDigits(this.n58_1);
|
|
1981
|
+
} else if (!(this.m58_1 == null) && (end - start | 0) < this.m58_1) {
|
|
1982
|
+
tmp = new TooFewDigits(this.m58_1);
|
|
1983
1983
|
} else {
|
|
1984
1984
|
var result = parseAsciiIntOrNull(input, start, end);
|
|
1985
|
-
tmp = result == null ? ExpectedInt_instance : setWithoutReassigning(this.
|
|
1985
|
+
tmp = result == null ? ExpectedInt_instance : setWithoutReassigning(this.o58_1, storage, this.p58_1 ? -result | 0 : result);
|
|
1986
1986
|
}
|
|
1987
1987
|
return tmp;
|
|
1988
1988
|
};
|
|
@@ -2002,8 +2002,8 @@
|
|
|
2002
2002
|
return result;
|
|
2003
2003
|
}
|
|
2004
2004
|
function ParseError(position, message) {
|
|
2005
|
-
this.
|
|
2006
|
-
this.
|
|
2005
|
+
this.q58_1 = position;
|
|
2006
|
+
this.r58_1 = message;
|
|
2007
2007
|
}
|
|
2008
2008
|
function _ParseResult___init__impl__gvz3cn(value) {
|
|
2009
2009
|
return value;
|
|
@@ -2013,10 +2013,10 @@
|
|
|
2013
2013
|
}
|
|
2014
2014
|
function Companion_6() {
|
|
2015
2015
|
}
|
|
2016
|
-
protoOf(Companion_6).
|
|
2016
|
+
protoOf(Companion_6).s58 = function (indexOfNextUnparsed) {
|
|
2017
2017
|
return _ParseResult___init__impl__gvz3cn(indexOfNextUnparsed);
|
|
2018
2018
|
};
|
|
2019
|
-
protoOf(Companion_6).
|
|
2019
|
+
protoOf(Companion_6).t58 = function (position, message) {
|
|
2020
2020
|
return _ParseResult___init__impl__gvz3cn(new ParseError(position, message));
|
|
2021
2021
|
};
|
|
2022
2022
|
var Companion_instance_6;
|
|
@@ -2043,19 +2043,19 @@
|
|
|
2043
2043
|
tmp = tmp0_elvis_lhs;
|
|
2044
2044
|
}
|
|
2045
2045
|
var state = tmp;
|
|
2046
|
-
var output = state.
|
|
2047
|
-
var inputPosition = state.
|
|
2048
|
-
var parserStructure = state.
|
|
2046
|
+
var output = state.u58_1.w54();
|
|
2047
|
+
var inputPosition = state.w58_1;
|
|
2048
|
+
var parserStructure = state.v58_1;
|
|
2049
2049
|
// Inline function 'kotlin.run' call
|
|
2050
2050
|
$l$block: {
|
|
2051
2051
|
var inductionVariable = 0;
|
|
2052
|
-
var last = parserStructure.
|
|
2052
|
+
var last = parserStructure.y58_1.g1() - 1 | 0;
|
|
2053
2053
|
if (inductionVariable <= last)
|
|
2054
2054
|
do {
|
|
2055
2055
|
var ix = inductionVariable;
|
|
2056
2056
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2057
2057
|
// Inline function 'kotlinx.datetime.internal.format.parser.ParseResult.match' call
|
|
2058
|
-
var this_0 = parserStructure.
|
|
2058
|
+
var this_0 = parserStructure.y58_1.h1(ix).a59(output, input, inputPosition);
|
|
2059
2059
|
var tmp0_subject = _ParseResult___get_value__impl__86mnxf(this_0);
|
|
2060
2060
|
if (typeof tmp0_subject === 'number') {
|
|
2061
2061
|
inputPosition = _ParseResult___get_value__impl__86mnxf(this_0);
|
|
@@ -2072,7 +2072,7 @@
|
|
|
2072
2072
|
}
|
|
2073
2073
|
}
|
|
2074
2074
|
while (inductionVariable <= last);
|
|
2075
|
-
if (parserStructure.
|
|
2075
|
+
if (parserStructure.z58_1.r()) {
|
|
2076
2076
|
if (false || inputPosition === charSequenceLength(input)) {
|
|
2077
2077
|
return output;
|
|
2078
2078
|
} else {
|
|
@@ -2081,12 +2081,12 @@
|
|
|
2081
2081
|
errors.e1(it_0);
|
|
2082
2082
|
}
|
|
2083
2083
|
} else {
|
|
2084
|
-
var inductionVariable_0 = parserStructure.
|
|
2084
|
+
var inductionVariable_0 = parserStructure.z58_1.g1() - 1 | 0;
|
|
2085
2085
|
if (0 <= inductionVariable_0)
|
|
2086
2086
|
do {
|
|
2087
2087
|
var ix_0 = inductionVariable_0;
|
|
2088
2088
|
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
2089
|
-
parseOptions.e1(new ParserState(output, parserStructure.
|
|
2089
|
+
parseOptions.e1(new ParserState(output, parserStructure.z58_1.h1(ix_0), inputPosition));
|
|
2090
2090
|
}
|
|
2091
2091
|
while (0 <= inductionVariable_0);
|
|
2092
2092
|
}
|
|
@@ -2108,14 +2108,14 @@
|
|
|
2108
2108
|
tmp = Parser__match_impl_nzt83d($this, input, initialContainer, startIndex);
|
|
2109
2109
|
} else {
|
|
2110
2110
|
var tmp_0 = $super;
|
|
2111
|
-
tmp = (tmp_0 == null ? null : new Parser(tmp_0)).
|
|
2111
|
+
tmp = (tmp_0 == null ? null : new Parser(tmp_0)).b59.call(new Parser($this), input, initialContainer, startIndex);
|
|
2112
2112
|
}
|
|
2113
2113
|
return tmp;
|
|
2114
2114
|
}
|
|
2115
2115
|
function ParserState(output, parserStructure, inputPosition) {
|
|
2116
|
-
this.
|
|
2117
|
-
this.
|
|
2118
|
-
this.
|
|
2116
|
+
this.u58_1 = output;
|
|
2117
|
+
this.v58_1 = parserStructure;
|
|
2118
|
+
this.w58_1 = inputPosition;
|
|
2119
2119
|
}
|
|
2120
2120
|
function Parser__toString_impl_x33iea($this) {
|
|
2121
2121
|
return 'Parser(commands=' + $this.toString() + ')';
|
|
@@ -2126,22 +2126,22 @@
|
|
|
2126
2126
|
function Parser__equals_impl_djxokv($this, other) {
|
|
2127
2127
|
if (!(other instanceof Parser))
|
|
2128
2128
|
return false;
|
|
2129
|
-
var tmp0_other_with_cast = other instanceof Parser ? other.
|
|
2129
|
+
var tmp0_other_with_cast = other instanceof Parser ? other.x58_1 : THROW_CCE();
|
|
2130
2130
|
if (!equals($this, tmp0_other_with_cast))
|
|
2131
2131
|
return false;
|
|
2132
2132
|
return true;
|
|
2133
2133
|
}
|
|
2134
2134
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2135
|
-
this.
|
|
2135
|
+
this.c59_1 = function_0;
|
|
2136
2136
|
}
|
|
2137
2137
|
protoOf(sam$kotlin_Comparator$0).ic = function (a, b) {
|
|
2138
|
-
return this.
|
|
2138
|
+
return this.c59_1(a, b);
|
|
2139
2139
|
};
|
|
2140
2140
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2141
2141
|
return this.ic(a, b);
|
|
2142
2142
|
};
|
|
2143
2143
|
protoOf(sam$kotlin_Comparator$0).g3 = function () {
|
|
2144
|
-
return this.
|
|
2144
|
+
return this.c59_1;
|
|
2145
2145
|
};
|
|
2146
2146
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2147
2147
|
var tmp;
|
|
@@ -2166,28 +2166,28 @@
|
|
|
2166
2166
|
}
|
|
2167
2167
|
function Parser$match$lambda_0(a, b) {
|
|
2168
2168
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
2169
|
-
var tmp = b.
|
|
2170
|
-
var tmp$ret$1 = a.
|
|
2169
|
+
var tmp = b.q58_1;
|
|
2170
|
+
var tmp$ret$1 = a.q58_1;
|
|
2171
2171
|
return compareValues(tmp, tmp$ret$1);
|
|
2172
2172
|
}
|
|
2173
2173
|
function Parser(commands) {
|
|
2174
|
-
this.
|
|
2174
|
+
this.x58_1 = commands;
|
|
2175
2175
|
}
|
|
2176
2176
|
protoOf(Parser).toString = function () {
|
|
2177
|
-
return Parser__toString_impl_x33iea(this.
|
|
2177
|
+
return Parser__toString_impl_x33iea(this.x58_1);
|
|
2178
2178
|
};
|
|
2179
2179
|
protoOf(Parser).hashCode = function () {
|
|
2180
|
-
return Parser__hashCode_impl_bbxllf(this.
|
|
2180
|
+
return Parser__hashCode_impl_bbxllf(this.x58_1);
|
|
2181
2181
|
};
|
|
2182
2182
|
protoOf(Parser).equals = function (other) {
|
|
2183
|
-
return Parser__equals_impl_djxokv(this.
|
|
2183
|
+
return Parser__equals_impl_djxokv(this.x58_1, other);
|
|
2184
2184
|
};
|
|
2185
2185
|
function ParserStructure(operations, followedBy) {
|
|
2186
|
-
this.
|
|
2187
|
-
this.
|
|
2186
|
+
this.y58_1 = operations;
|
|
2187
|
+
this.z58_1 = followedBy;
|
|
2188
2188
|
}
|
|
2189
2189
|
protoOf(ParserStructure).toString = function () {
|
|
2190
|
-
return joinToString(this.
|
|
2190
|
+
return joinToString(this.y58_1, ', ') + '(' + joinToString(this.z58_1, ';') + ')';
|
|
2191
2191
|
};
|
|
2192
2192
|
function ParseException(errors) {
|
|
2193
2193
|
Exception_init_$Init$(formatError(errors), this);
|
|
@@ -2198,8 +2198,8 @@
|
|
|
2198
2198
|
var accumulator = new ParserStructure(emptyList(), emptyList());
|
|
2199
2199
|
if (!_this__u8e3s4.r()) {
|
|
2200
2200
|
var iterator = _this__u8e3s4.i1(_this__u8e3s4.g1());
|
|
2201
|
-
while (iterator.
|
|
2202
|
-
var tmp0 = iterator.
|
|
2201
|
+
while (iterator.s4()) {
|
|
2202
|
+
var tmp0 = iterator.u4();
|
|
2203
2203
|
var acc = accumulator;
|
|
2204
2204
|
accumulator = concat$append(tmp0, acc);
|
|
2205
2205
|
}
|
|
@@ -2209,7 +2209,7 @@
|
|
|
2209
2209
|
}
|
|
2210
2210
|
function formatError(errors) {
|
|
2211
2211
|
if (errors.g1() === 1) {
|
|
2212
|
-
return 'Position ' + errors.h1(0).
|
|
2212
|
+
return 'Position ' + errors.h1(0).q58_1 + ': ' + errors.h1(0).r58_1();
|
|
2213
2213
|
}
|
|
2214
2214
|
var averageMessageLength = 33;
|
|
2215
2215
|
var tmp0_buffer = StringBuilder_init_$Create$_0(imul(averageMessageLength, errors.g1()));
|
|
@@ -2217,11 +2217,11 @@
|
|
|
2217
2217
|
}
|
|
2218
2218
|
function concat$append(_this__u8e3s4, other) {
|
|
2219
2219
|
var tmp;
|
|
2220
|
-
if (_this__u8e3s4.
|
|
2221
|
-
tmp = new ParserStructure(plus(_this__u8e3s4.
|
|
2220
|
+
if (_this__u8e3s4.z58_1.r()) {
|
|
2221
|
+
tmp = new ParserStructure(plus(_this__u8e3s4.y58_1, other.y58_1), other.z58_1);
|
|
2222
2222
|
} else {
|
|
2223
2223
|
// Inline function 'kotlin.collections.map' call
|
|
2224
|
-
var this_0 = _this__u8e3s4.
|
|
2224
|
+
var this_0 = _this__u8e3s4.z58_1;
|
|
2225
2225
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2226
2226
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2227
2227
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -2230,7 +2230,7 @@
|
|
|
2230
2230
|
var tmp$ret$0 = concat$append(item, other);
|
|
2231
2231
|
destination.e1(tmp$ret$0);
|
|
2232
2232
|
}
|
|
2233
|
-
tmp = new ParserStructure(_this__u8e3s4.
|
|
2233
|
+
tmp = new ParserStructure(_this__u8e3s4.y58_1, destination);
|
|
2234
2234
|
}
|
|
2235
2235
|
return tmp;
|
|
2236
2236
|
}
|
|
@@ -2239,14 +2239,14 @@
|
|
|
2239
2239
|
var newOperations = ArrayList_init_$Create$();
|
|
2240
2240
|
var currentNumberSpan = null;
|
|
2241
2241
|
var unconditionalModificationsForTails = toMutableList(unconditionalModifications);
|
|
2242
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
2242
|
+
var _iterator__ex2g4s = _this__u8e3s4.y58_1.t();
|
|
2243
2243
|
while (_iterator__ex2g4s.u()) {
|
|
2244
2244
|
var op = _iterator__ex2g4s.v();
|
|
2245
2245
|
if (op instanceof NumberSpanParserOperation) {
|
|
2246
2246
|
if (!(currentNumberSpan == null)) {
|
|
2247
|
-
currentNumberSpan.j1(op.
|
|
2247
|
+
currentNumberSpan.j1(op.d59_1);
|
|
2248
2248
|
} else {
|
|
2249
|
-
currentNumberSpan = toMutableList(op.
|
|
2249
|
+
currentNumberSpan = toMutableList(op.d59_1);
|
|
2250
2250
|
}
|
|
2251
2251
|
} else {
|
|
2252
2252
|
if (op instanceof UnconditionalModification) {
|
|
@@ -2261,7 +2261,7 @@
|
|
|
2261
2261
|
}
|
|
2262
2262
|
}
|
|
2263
2263
|
// Inline function 'kotlin.collections.flatMap' call
|
|
2264
|
-
var tmp0 = _this__u8e3s4.
|
|
2264
|
+
var tmp0 = _this__u8e3s4.z58_1;
|
|
2265
2265
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
2266
2266
|
var destination = ArrayList_init_$Create$();
|
|
2267
2267
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
@@ -2269,9 +2269,9 @@
|
|
|
2269
2269
|
var element = _iterator__ex2g4s_0.v();
|
|
2270
2270
|
var simplified = concat$simplify(element, unconditionalModificationsForTails);
|
|
2271
2271
|
var tmp;
|
|
2272
|
-
if (simplified.
|
|
2272
|
+
if (simplified.y58_1.r()) {
|
|
2273
2273
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
2274
|
-
var this_0 = simplified.
|
|
2274
|
+
var this_0 = simplified.z58_1;
|
|
2275
2275
|
var tmp_0;
|
|
2276
2276
|
if (this_0.r()) {
|
|
2277
2277
|
tmp_0 = listOf(simplified);
|
|
@@ -2313,7 +2313,7 @@
|
|
|
2313
2313
|
var _iterator__ex2g4s_1 = mergedTails.t();
|
|
2314
2314
|
while (_iterator__ex2g4s_1.u()) {
|
|
2315
2315
|
var element_0 = _iterator__ex2g4s_1.v();
|
|
2316
|
-
var tmp0_safe_receiver = firstOrNull(element_0.
|
|
2316
|
+
var tmp0_safe_receiver = firstOrNull(element_0.y58_1);
|
|
2317
2317
|
var tmp_4;
|
|
2318
2318
|
if (tmp0_safe_receiver == null) {
|
|
2319
2319
|
tmp_4 = null;
|
|
@@ -2338,15 +2338,15 @@
|
|
|
2338
2338
|
var _iterator__ex2g4s_2 = mergedTails.t();
|
|
2339
2339
|
while (_iterator__ex2g4s_2.u()) {
|
|
2340
2340
|
var item = _iterator__ex2g4s_2.v();
|
|
2341
|
-
var firstOperation = firstOrNull(item.
|
|
2341
|
+
var firstOperation = firstOrNull(item.y58_1);
|
|
2342
2342
|
var tmp_5;
|
|
2343
2343
|
if (firstOperation instanceof NumberSpanParserOperation) {
|
|
2344
|
-
tmp_5 = new ParserStructure(plus(listOf(new NumberSpanParserOperation(plus(currentNumberSpan, firstOperation.
|
|
2344
|
+
tmp_5 = new ParserStructure(plus(listOf(new NumberSpanParserOperation(plus(currentNumberSpan, firstOperation.d59_1))), drop(item.y58_1, 1)), item.z58_1);
|
|
2345
2345
|
} else {
|
|
2346
2346
|
if (firstOperation == null) {
|
|
2347
|
-
tmp_5 = new ParserStructure(listOf(new NumberSpanParserOperation(currentNumberSpan)), item.
|
|
2347
|
+
tmp_5 = new ParserStructure(listOf(new NumberSpanParserOperation(currentNumberSpan)), item.z58_1);
|
|
2348
2348
|
} else {
|
|
2349
|
-
tmp_5 = new ParserStructure(plus(listOf(new NumberSpanParserOperation(currentNumberSpan)), item.
|
|
2349
|
+
tmp_5 = new ParserStructure(plus(listOf(new NumberSpanParserOperation(currentNumberSpan)), item.y58_1), item.z58_1);
|
|
2350
2350
|
}
|
|
2351
2351
|
}
|
|
2352
2352
|
var tmp$ret$12 = tmp_5;
|
|
@@ -2359,7 +2359,7 @@
|
|
|
2359
2359
|
return tmp_2;
|
|
2360
2360
|
}
|
|
2361
2361
|
function formatError$lambda(it) {
|
|
2362
|
-
return 'position ' + it.
|
|
2362
|
+
return 'position ' + it.q58_1 + ": '" + it.r58_1() + "'";
|
|
2363
2363
|
}
|
|
2364
2364
|
function spaceAndZeroPaddedUnsignedInt(minDigits, maxDigits, spacePadding, setter, name, withMinus) {
|
|
2365
2365
|
withMinus = withMinus === VOID ? false : withMinus;
|
|
@@ -2401,22 +2401,22 @@
|
|
|
2401
2401
|
}
|
|
2402
2402
|
function _get_whatThisExpects__4pg11j($this) {
|
|
2403
2403
|
// Inline function 'kotlin.collections.map' call
|
|
2404
|
-
var this_0 = $this.
|
|
2404
|
+
var this_0 = $this.d59_1;
|
|
2405
2405
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2406
2406
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2407
2407
|
var _iterator__ex2g4s = this_0.t();
|
|
2408
2408
|
while (_iterator__ex2g4s.u()) {
|
|
2409
2409
|
var item = _iterator__ex2g4s.v();
|
|
2410
2410
|
var length = item.a();
|
|
2411
|
-
var tmp$ret$0 = (length == null ? 'at least one digit' : '' + length + ' digits') + (' for ' + item.
|
|
2411
|
+
var tmp$ret$0 = (length == null ? 'at least one digit' : '' + length + ' digits') + (' for ' + item.e58_1);
|
|
2412
2412
|
destination.e1(tmp$ret$0);
|
|
2413
2413
|
}
|
|
2414
2414
|
var consumerLengths = destination;
|
|
2415
2415
|
var tmp;
|
|
2416
|
-
if ($this.
|
|
2417
|
-
tmp = 'a number with at least ' + $this.
|
|
2416
|
+
if ($this.f59_1) {
|
|
2417
|
+
tmp = 'a number with at least ' + $this.e59_1 + ' digits: ' + toString(consumerLengths);
|
|
2418
2418
|
} else {
|
|
2419
|
-
tmp = 'a number with exactly ' + $this.
|
|
2419
|
+
tmp = 'a number with exactly ' + $this.e59_1 + ' digits: ' + toString(consumerLengths);
|
|
2420
2420
|
}
|
|
2421
2421
|
return tmp;
|
|
2422
2422
|
}
|
|
@@ -2432,24 +2432,24 @@
|
|
|
2432
2432
|
}
|
|
2433
2433
|
function NumberSpanParserOperation$consume$lambda_1($numberString, this$0, $i, $error) {
|
|
2434
2434
|
return function () {
|
|
2435
|
-
return "Can not interpret the string '" + $numberString + "' as " + this$0.
|
|
2435
|
+
return "Can not interpret the string '" + $numberString + "' as " + this$0.d59_1.h1($i).e58_1 + ': ' + $error.f58();
|
|
2436
2436
|
};
|
|
2437
2437
|
}
|
|
2438
2438
|
function NumberSpanParserOperation(consumers) {
|
|
2439
|
-
this.
|
|
2439
|
+
this.d59_1 = consumers;
|
|
2440
2440
|
var tmp = this;
|
|
2441
2441
|
// Inline function 'kotlin.collections.sumOf' call
|
|
2442
2442
|
var sum = 0;
|
|
2443
|
-
var _iterator__ex2g4s = this.
|
|
2443
|
+
var _iterator__ex2g4s = this.d59_1.t();
|
|
2444
2444
|
while (_iterator__ex2g4s.u()) {
|
|
2445
2445
|
var element = _iterator__ex2g4s.v();
|
|
2446
2446
|
var tmp_0 = sum;
|
|
2447
2447
|
var tmp0_elvis_lhs = element.a();
|
|
2448
2448
|
sum = tmp_0 + (tmp0_elvis_lhs == null ? 1 : tmp0_elvis_lhs) | 0;
|
|
2449
2449
|
}
|
|
2450
|
-
tmp.
|
|
2450
|
+
tmp.e59_1 = sum;
|
|
2451
2451
|
var tmp_1 = this;
|
|
2452
|
-
var tmp0 = this.
|
|
2452
|
+
var tmp0 = this.d59_1;
|
|
2453
2453
|
var tmp$ret$2;
|
|
2454
2454
|
$l$block_0: {
|
|
2455
2455
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -2473,8 +2473,8 @@
|
|
|
2473
2473
|
}
|
|
2474
2474
|
tmp$ret$2 = false;
|
|
2475
2475
|
}
|
|
2476
|
-
tmp_1.
|
|
2477
|
-
var tmp0_0 = this.
|
|
2476
|
+
tmp_1.f59_1 = tmp$ret$2;
|
|
2477
|
+
var tmp0_0 = this.d59_1;
|
|
2478
2478
|
var tmp$ret$4;
|
|
2479
2479
|
$l$block_2: {
|
|
2480
2480
|
// Inline function 'kotlin.collections.all' call
|
|
@@ -2505,7 +2505,7 @@
|
|
|
2505
2505
|
var message = 'Failed requirement.';
|
|
2506
2506
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2507
2507
|
}
|
|
2508
|
-
var tmp0_1 = this.
|
|
2508
|
+
var tmp0_1 = this.d59_1;
|
|
2509
2509
|
var tmp$ret$9;
|
|
2510
2510
|
$l$block_3: {
|
|
2511
2511
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -2533,7 +2533,7 @@
|
|
|
2533
2533
|
// Inline function 'kotlin.require' call
|
|
2534
2534
|
if (!(tmp$ret$9 <= 1)) {
|
|
2535
2535
|
// Inline function 'kotlin.collections.filter' call
|
|
2536
|
-
var tmp0_2 = this.
|
|
2536
|
+
var tmp0_2 = this.d59_1;
|
|
2537
2537
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2538
2538
|
var destination = ArrayList_init_$Create$();
|
|
2539
2539
|
var _iterator__ex2g4s_3 = tmp0_2.t();
|
|
@@ -2549,7 +2549,7 @@
|
|
|
2549
2549
|
var _iterator__ex2g4s_4 = destination.t();
|
|
2550
2550
|
while (_iterator__ex2g4s_4.u()) {
|
|
2551
2551
|
var item = _iterator__ex2g4s_4.v();
|
|
2552
|
-
var tmp$ret$14 = item.
|
|
2552
|
+
var tmp$ret$14 = item.e58_1;
|
|
2553
2553
|
destination_0.e1(tmp$ret$14);
|
|
2554
2554
|
}
|
|
2555
2555
|
var fieldNames = destination_0;
|
|
@@ -2557,30 +2557,30 @@
|
|
|
2557
2557
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
2558
2558
|
}
|
|
2559
2559
|
}
|
|
2560
|
-
protoOf(NumberSpanParserOperation).
|
|
2561
|
-
if ((startIndex + this.
|
|
2560
|
+
protoOf(NumberSpanParserOperation).a59 = function (storage, input, startIndex) {
|
|
2561
|
+
if ((startIndex + this.e59_1 | 0) > charSequenceLength(input)) {
|
|
2562
2562
|
var tmp = Companion_instance_6;
|
|
2563
|
-
return tmp.
|
|
2563
|
+
return tmp.t58(startIndex, NumberSpanParserOperation$consume$lambda(this));
|
|
2564
2564
|
}
|
|
2565
2565
|
var digitsInRow = {_v: 0};
|
|
2566
2566
|
while ((startIndex + digitsInRow._v | 0) < charSequenceLength(input) && isAsciiDigit(charSequenceGet(input, startIndex + digitsInRow._v | 0))) {
|
|
2567
2567
|
digitsInRow._v = digitsInRow._v + 1 | 0;
|
|
2568
2568
|
digitsInRow._v;
|
|
2569
2569
|
}
|
|
2570
|
-
if (digitsInRow._v < this.
|
|
2570
|
+
if (digitsInRow._v < this.e59_1) {
|
|
2571
2571
|
var tmp_0 = Companion_instance_6;
|
|
2572
|
-
return tmp_0.
|
|
2572
|
+
return tmp_0.t58(startIndex, NumberSpanParserOperation$consume$lambda_0(digitsInRow, this));
|
|
2573
2573
|
}
|
|
2574
2574
|
var index = startIndex;
|
|
2575
2575
|
var inductionVariable = 0;
|
|
2576
|
-
var last = this.
|
|
2576
|
+
var last = this.d59_1.g1() - 1 | 0;
|
|
2577
2577
|
if (inductionVariable <= last)
|
|
2578
2578
|
do {
|
|
2579
2579
|
var i = inductionVariable;
|
|
2580
2580
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2581
|
-
var tmp0_elvis_lhs = this.
|
|
2582
|
-
var length = tmp0_elvis_lhs == null ? (digitsInRow._v - this.
|
|
2583
|
-
var error = this.
|
|
2581
|
+
var tmp0_elvis_lhs = this.d59_1.h1(i).a();
|
|
2582
|
+
var length = tmp0_elvis_lhs == null ? (digitsInRow._v - this.e59_1 | 0) + 1 | 0 : tmp0_elvis_lhs;
|
|
2583
|
+
var error = this.d59_1.h1(i).c58(storage, input, index, index + length | 0);
|
|
2584
2584
|
if (!(error == null)) {
|
|
2585
2585
|
var tmp2 = index;
|
|
2586
2586
|
// Inline function 'kotlin.text.substring' call
|
|
@@ -2588,12 +2588,12 @@
|
|
|
2588
2588
|
var numberString = toString(charSequenceSubSequence(input, tmp2, endIndex));
|
|
2589
2589
|
var tmp_1 = Companion_instance_6;
|
|
2590
2590
|
var tmp_2 = index;
|
|
2591
|
-
return tmp_1.
|
|
2591
|
+
return tmp_1.t58(tmp_2, NumberSpanParserOperation$consume$lambda_1(numberString, this, i, error));
|
|
2592
2592
|
}
|
|
2593
2593
|
index = index + length | 0;
|
|
2594
2594
|
}
|
|
2595
2595
|
while (inductionVariable <= last);
|
|
2596
|
-
return Companion_instance_6.
|
|
2596
|
+
return Companion_instance_6.s58(index);
|
|
2597
2597
|
};
|
|
2598
2598
|
protoOf(NumberSpanParserOperation).toString = function () {
|
|
2599
2599
|
return _get_whatThisExpects__4pg11j(this);
|
|
@@ -2610,7 +2610,7 @@
|
|
|
2610
2610
|
}
|
|
2611
2611
|
function PlainStringParserOperation$consume$lambda(this$0) {
|
|
2612
2612
|
return function () {
|
|
2613
|
-
return "Unexpected end of input: yet to parse '" + this$0.
|
|
2613
|
+
return "Unexpected end of input: yet to parse '" + this$0.g59_1 + "'";
|
|
2614
2614
|
};
|
|
2615
2615
|
}
|
|
2616
2616
|
function PlainStringParserOperation$consume$lambda_0(this$0, $input, $startIndex, $i) {
|
|
@@ -2620,50 +2620,50 @@
|
|
|
2620
2620
|
// Inline function 'kotlin.text.substring' call
|
|
2621
2621
|
var endIndex = ($startIndex + $i | 0) + 1 | 0;
|
|
2622
2622
|
var tmp$ret$0 = toString(charSequenceSubSequence(tmp0, tmp2, endIndex));
|
|
2623
|
-
return 'Expected ' + this$0.
|
|
2623
|
+
return 'Expected ' + this$0.g59_1 + ' but got ' + tmp$ret$0;
|
|
2624
2624
|
};
|
|
2625
2625
|
}
|
|
2626
2626
|
function PlainStringParserOperation(string) {
|
|
2627
|
-
this.
|
|
2627
|
+
this.g59_1 = string;
|
|
2628
2628
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2629
|
-
var this_0 = this.
|
|
2629
|
+
var this_0 = this.g59_1;
|
|
2630
2630
|
// Inline function 'kotlin.require' call
|
|
2631
2631
|
if (!(charSequenceLength(this_0) > 0)) {
|
|
2632
2632
|
var message = 'Empty string is not allowed';
|
|
2633
2633
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2634
2634
|
}
|
|
2635
2635
|
// Inline function 'kotlin.require' call
|
|
2636
|
-
if (!!isAsciiDigit(charCodeAt(this.
|
|
2637
|
-
var message_0 = "String '" + this.
|
|
2636
|
+
if (!!isAsciiDigit(charCodeAt(this.g59_1, 0))) {
|
|
2637
|
+
var message_0 = "String '" + this.g59_1 + "' starts with a digit";
|
|
2638
2638
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
2639
2639
|
}
|
|
2640
2640
|
// Inline function 'kotlin.require' call
|
|
2641
|
-
if (!!isAsciiDigit(charCodeAt(this.
|
|
2642
|
-
var message_1 = "String '" + this.
|
|
2641
|
+
if (!!isAsciiDigit(charCodeAt(this.g59_1, this.g59_1.length - 1 | 0))) {
|
|
2642
|
+
var message_1 = "String '" + this.g59_1 + "' ends with a digit";
|
|
2643
2643
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
2644
2644
|
}
|
|
2645
2645
|
}
|
|
2646
|
-
protoOf(PlainStringParserOperation).
|
|
2647
|
-
if ((startIndex + this.
|
|
2646
|
+
protoOf(PlainStringParserOperation).a59 = function (storage, input, startIndex) {
|
|
2647
|
+
if ((startIndex + this.g59_1.length | 0) > charSequenceLength(input)) {
|
|
2648
2648
|
var tmp = Companion_instance_6;
|
|
2649
|
-
return tmp.
|
|
2649
|
+
return tmp.t58(startIndex, PlainStringParserOperation$consume$lambda(this));
|
|
2650
2650
|
}
|
|
2651
2651
|
var inductionVariable = 0;
|
|
2652
|
-
var last = charSequenceLength(this.
|
|
2652
|
+
var last = charSequenceLength(this.g59_1) - 1 | 0;
|
|
2653
2653
|
if (inductionVariable <= last)
|
|
2654
2654
|
do {
|
|
2655
2655
|
var i = inductionVariable;
|
|
2656
2656
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2657
|
-
if (!(charSequenceGet(input, startIndex + i | 0) === charCodeAt(this.
|
|
2657
|
+
if (!(charSequenceGet(input, startIndex + i | 0) === charCodeAt(this.g59_1, i))) {
|
|
2658
2658
|
var tmp_0 = Companion_instance_6;
|
|
2659
|
-
return tmp_0.
|
|
2659
|
+
return tmp_0.t58(startIndex, PlainStringParserOperation$consume$lambda_0(this, input, startIndex, i));
|
|
2660
2660
|
}
|
|
2661
2661
|
}
|
|
2662
2662
|
while (inductionVariable <= last);
|
|
2663
|
-
return Companion_instance_6.
|
|
2663
|
+
return Companion_instance_6.s58(startIndex + this.g59_1.length | 0);
|
|
2664
2664
|
};
|
|
2665
2665
|
protoOf(PlainStringParserOperation).toString = function () {
|
|
2666
|
-
return "'" + this.
|
|
2666
|
+
return "'" + this.g59_1 + "'";
|
|
2667
2667
|
};
|
|
2668
2668
|
function UnconditionalModification() {
|
|
2669
2669
|
}
|
|
@@ -2725,24 +2725,24 @@
|
|
|
2725
2725
|
TimeBasedDateTimeUnitSerializer_instance = this;
|
|
2726
2726
|
var tmp = this;
|
|
2727
2727
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2728
|
-
tmp.
|
|
2728
|
+
tmp.h59_1 = lazy_0(tmp_0, TimeBasedDateTimeUnitSerializer$descriptor$delegate$lambda);
|
|
2729
2729
|
}
|
|
2730
2730
|
protoOf(TimeBasedDateTimeUnitSerializer).r1q = function () {
|
|
2731
|
-
var tmp0 = this.
|
|
2731
|
+
var tmp0 = this.h59_1;
|
|
2732
2732
|
var tmp = KProperty1;
|
|
2733
2733
|
// Inline function 'kotlin.getValue' call
|
|
2734
2734
|
getPropertyCallableRef('descriptor', 1, tmp, TimeBasedDateTimeUnitSerializer$_get_descriptor_$ref_ezonyw(), null);
|
|
2735
2735
|
return tmp0.m1();
|
|
2736
2736
|
};
|
|
2737
|
-
protoOf(TimeBasedDateTimeUnitSerializer).
|
|
2737
|
+
protoOf(TimeBasedDateTimeUnitSerializer).i59 = function (encoder, value) {
|
|
2738
2738
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
2739
2739
|
var descriptor = this.r1q();
|
|
2740
2740
|
var composite = encoder.f1u(descriptor);
|
|
2741
|
-
composite.q1v(TimeBasedDateTimeUnitSerializer_getInstance().r1q(), 0, value.
|
|
2741
|
+
composite.q1v(TimeBasedDateTimeUnitSerializer_getInstance().r1q(), 0, value.k52_1);
|
|
2742
2742
|
composite.g1u(descriptor);
|
|
2743
2743
|
};
|
|
2744
2744
|
protoOf(TimeBasedDateTimeUnitSerializer).s1q = function (encoder, value) {
|
|
2745
|
-
return this.
|
|
2745
|
+
return this.i59(encoder, value instanceof TimeBased ? value : THROW_CCE());
|
|
2746
2746
|
};
|
|
2747
2747
|
protoOf(TimeBasedDateTimeUnitSerializer).t1q = function (decoder) {
|
|
2748
2748
|
var seen = {_v: false};
|
|
@@ -2782,7 +2782,7 @@
|
|
|
2782
2782
|
return TimeBasedDateTimeUnitSerializer_instance;
|
|
2783
2783
|
}
|
|
2784
2784
|
function _get_impl__d88w17($this) {
|
|
2785
|
-
var tmp0 = $this.
|
|
2785
|
+
var tmp0 = $this.j59_1;
|
|
2786
2786
|
var tmp = KProperty1;
|
|
2787
2787
|
// Inline function 'kotlin.getValue' call
|
|
2788
2788
|
getPropertyCallableRef('impl', 1, tmp, DateBasedDateTimeUnitSerializer$_get_impl_$ref_m860rs(), null);
|
|
@@ -2810,16 +2810,16 @@
|
|
|
2810
2810
|
AbstractPolymorphicSerializer.call(this);
|
|
2811
2811
|
var tmp = this;
|
|
2812
2812
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2813
|
-
tmp.
|
|
2813
|
+
tmp.j59_1 = lazy_0(tmp_0, DateBasedDateTimeUnitSerializer$impl$delegate$lambda);
|
|
2814
2814
|
}
|
|
2815
2815
|
protoOf(DateBasedDateTimeUnitSerializer).u1q = function (decoder, klassName) {
|
|
2816
2816
|
return _get_impl__d88w17(this).u1q(decoder, klassName);
|
|
2817
2817
|
};
|
|
2818
|
-
protoOf(DateBasedDateTimeUnitSerializer).
|
|
2818
|
+
protoOf(DateBasedDateTimeUnitSerializer).k59 = function (encoder, value) {
|
|
2819
2819
|
return _get_impl__d88w17(this).w1q(encoder, value);
|
|
2820
2820
|
};
|
|
2821
2821
|
protoOf(DateBasedDateTimeUnitSerializer).w1q = function (encoder, value) {
|
|
2822
|
-
return this.
|
|
2822
|
+
return this.k59(encoder, value instanceof DateBased ? value : THROW_CCE());
|
|
2823
2823
|
};
|
|
2824
2824
|
protoOf(DateBasedDateTimeUnitSerializer).v1q = function () {
|
|
2825
2825
|
return getKClass(DateBased);
|
|
@@ -2855,24 +2855,24 @@
|
|
|
2855
2855
|
DayBasedDateTimeUnitSerializer_instance = this;
|
|
2856
2856
|
var tmp = this;
|
|
2857
2857
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2858
|
-
tmp.
|
|
2858
|
+
tmp.l59_1 = lazy_0(tmp_0, DayBasedDateTimeUnitSerializer$descriptor$delegate$lambda);
|
|
2859
2859
|
}
|
|
2860
2860
|
protoOf(DayBasedDateTimeUnitSerializer).r1q = function () {
|
|
2861
|
-
var tmp0 = this.
|
|
2861
|
+
var tmp0 = this.l59_1;
|
|
2862
2862
|
var tmp = KProperty1;
|
|
2863
2863
|
// Inline function 'kotlin.getValue' call
|
|
2864
2864
|
getPropertyCallableRef('descriptor', 1, tmp, DayBasedDateTimeUnitSerializer$_get_descriptor_$ref_2ycvl3(), null);
|
|
2865
2865
|
return tmp0.m1();
|
|
2866
2866
|
};
|
|
2867
|
-
protoOf(DayBasedDateTimeUnitSerializer).
|
|
2867
|
+
protoOf(DayBasedDateTimeUnitSerializer).m59 = function (encoder, value) {
|
|
2868
2868
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
2869
2869
|
var descriptor = this.r1q();
|
|
2870
2870
|
var composite = encoder.f1u(descriptor);
|
|
2871
|
-
composite.p1v(DayBasedDateTimeUnitSerializer_getInstance().r1q(), 0, value.
|
|
2871
|
+
composite.p1v(DayBasedDateTimeUnitSerializer_getInstance().r1q(), 0, value.q52_1);
|
|
2872
2872
|
composite.g1u(descriptor);
|
|
2873
2873
|
};
|
|
2874
2874
|
protoOf(DayBasedDateTimeUnitSerializer).s1q = function (encoder, value) {
|
|
2875
|
-
return this.
|
|
2875
|
+
return this.m59(encoder, value instanceof DayBased ? value : THROW_CCE());
|
|
2876
2876
|
};
|
|
2877
2877
|
protoOf(DayBasedDateTimeUnitSerializer).t1q = function (decoder) {
|
|
2878
2878
|
var seen = {_v: false};
|
|
@@ -2933,24 +2933,24 @@
|
|
|
2933
2933
|
MonthBasedDateTimeUnitSerializer_instance = this;
|
|
2934
2934
|
var tmp = this;
|
|
2935
2935
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2936
|
-
tmp.
|
|
2936
|
+
tmp.n59_1 = lazy_0(tmp_0, MonthBasedDateTimeUnitSerializer$descriptor$delegate$lambda);
|
|
2937
2937
|
}
|
|
2938
2938
|
protoOf(MonthBasedDateTimeUnitSerializer).r1q = function () {
|
|
2939
|
-
var tmp0 = this.
|
|
2939
|
+
var tmp0 = this.n59_1;
|
|
2940
2940
|
var tmp = KProperty1;
|
|
2941
2941
|
// Inline function 'kotlin.getValue' call
|
|
2942
2942
|
getPropertyCallableRef('descriptor', 1, tmp, MonthBasedDateTimeUnitSerializer$_get_descriptor_$ref_vroatn(), null);
|
|
2943
2943
|
return tmp0.m1();
|
|
2944
2944
|
};
|
|
2945
|
-
protoOf(MonthBasedDateTimeUnitSerializer).
|
|
2945
|
+
protoOf(MonthBasedDateTimeUnitSerializer).o59 = function (encoder, value) {
|
|
2946
2946
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
2947
2947
|
var descriptor = this.r1q();
|
|
2948
2948
|
var composite = encoder.f1u(descriptor);
|
|
2949
|
-
composite.p1v(MonthBasedDateTimeUnitSerializer_getInstance().r1q(), 0, value.
|
|
2949
|
+
composite.p1v(MonthBasedDateTimeUnitSerializer_getInstance().r1q(), 0, value.r52_1);
|
|
2950
2950
|
composite.g1u(descriptor);
|
|
2951
2951
|
};
|
|
2952
2952
|
protoOf(MonthBasedDateTimeUnitSerializer).s1q = function (encoder, value) {
|
|
2953
|
-
return this.
|
|
2953
|
+
return this.o59(encoder, value instanceof MonthBased ? value : THROW_CCE());
|
|
2954
2954
|
};
|
|
2955
2955
|
protoOf(MonthBasedDateTimeUnitSerializer).t1q = function (decoder) {
|
|
2956
2956
|
var seen = {_v: false};
|
|
@@ -2990,7 +2990,7 @@
|
|
|
2990
2990
|
return MonthBasedDateTimeUnitSerializer_instance;
|
|
2991
2991
|
}
|
|
2992
2992
|
function _get_impl__d88w17_0($this) {
|
|
2993
|
-
var tmp0 = $this.
|
|
2993
|
+
var tmp0 = $this.p59_1;
|
|
2994
2994
|
var tmp = KProperty1;
|
|
2995
2995
|
// Inline function 'kotlin.getValue' call
|
|
2996
2996
|
getPropertyCallableRef('impl', 1, tmp, DateTimeUnitSerializer$_get_impl_$ref_2y1hvx(), null);
|
|
@@ -3018,16 +3018,16 @@
|
|
|
3018
3018
|
AbstractPolymorphicSerializer.call(this);
|
|
3019
3019
|
var tmp = this;
|
|
3020
3020
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3021
|
-
tmp.
|
|
3021
|
+
tmp.p59_1 = lazy_0(tmp_0, DateTimeUnitSerializer$impl$delegate$lambda);
|
|
3022
3022
|
}
|
|
3023
3023
|
protoOf(DateTimeUnitSerializer).u1q = function (decoder, klassName) {
|
|
3024
3024
|
return _get_impl__d88w17_0(this).u1q(decoder, klassName);
|
|
3025
3025
|
};
|
|
3026
|
-
protoOf(DateTimeUnitSerializer).
|
|
3026
|
+
protoOf(DateTimeUnitSerializer).q59 = function (encoder, value) {
|
|
3027
3027
|
return _get_impl__d88w17_0(this).w1q(encoder, value);
|
|
3028
3028
|
};
|
|
3029
3029
|
protoOf(DateTimeUnitSerializer).w1q = function (encoder, value) {
|
|
3030
|
-
return this.
|
|
3030
|
+
return this.q59(encoder, value instanceof DateTimeUnit ? value : THROW_CCE());
|
|
3031
3031
|
};
|
|
3032
3032
|
protoOf(DateTimeUnitSerializer).v1q = function () {
|
|
3033
3033
|
return getKClass(DateTimeUnit);
|
|
@@ -3046,19 +3046,19 @@
|
|
|
3046
3046
|
}
|
|
3047
3047
|
function LocalDateSerializer() {
|
|
3048
3048
|
LocalDateSerializer_instance = this;
|
|
3049
|
-
this.
|
|
3049
|
+
this.r59_1 = PrimitiveSerialDescriptor('kotlinx.datetime.LocalDate', STRING_getInstance());
|
|
3050
3050
|
}
|
|
3051
3051
|
protoOf(LocalDateSerializer).r1q = function () {
|
|
3052
|
-
return this.
|
|
3052
|
+
return this.r59_1;
|
|
3053
3053
|
};
|
|
3054
3054
|
protoOf(LocalDateSerializer).t1q = function (decoder) {
|
|
3055
|
-
return Companion_getInstance_7().
|
|
3055
|
+
return Companion_getInstance_7().w59(decoder.a1u());
|
|
3056
3056
|
};
|
|
3057
|
-
protoOf(LocalDateSerializer).
|
|
3057
|
+
protoOf(LocalDateSerializer).x59 = function (encoder, value) {
|
|
3058
3058
|
encoder.j1v(value.toString());
|
|
3059
3059
|
};
|
|
3060
3060
|
protoOf(LocalDateSerializer).s1q = function (encoder, value) {
|
|
3061
|
-
return this.
|
|
3061
|
+
return this.x59(encoder, value instanceof LocalDate ? value : THROW_CCE());
|
|
3062
3062
|
};
|
|
3063
3063
|
var LocalDateSerializer_instance;
|
|
3064
3064
|
function LocalDateSerializer_getInstance() {
|
|
@@ -3068,19 +3068,19 @@
|
|
|
3068
3068
|
}
|
|
3069
3069
|
function YearMonthSerializer() {
|
|
3070
3070
|
YearMonthSerializer_instance = this;
|
|
3071
|
-
this.
|
|
3071
|
+
this.y59_1 = PrimitiveSerialDescriptor('kotlinx.datetime.YearMonth', STRING_getInstance());
|
|
3072
3072
|
}
|
|
3073
3073
|
protoOf(YearMonthSerializer).r1q = function () {
|
|
3074
|
-
return this.
|
|
3074
|
+
return this.y59_1;
|
|
3075
3075
|
};
|
|
3076
3076
|
protoOf(YearMonthSerializer).t1q = function (decoder) {
|
|
3077
|
-
return Companion_instance_8.
|
|
3077
|
+
return Companion_instance_8.z59(decoder.a1u());
|
|
3078
3078
|
};
|
|
3079
|
-
protoOf(YearMonthSerializer).
|
|
3079
|
+
protoOf(YearMonthSerializer).a5a = function (encoder, value) {
|
|
3080
3080
|
encoder.j1v(value.toString());
|
|
3081
3081
|
};
|
|
3082
3082
|
protoOf(YearMonthSerializer).s1q = function (encoder, value) {
|
|
3083
|
-
return this.
|
|
3083
|
+
return this.a5a(encoder, value instanceof YearMonth ? value : THROW_CCE());
|
|
3084
3084
|
};
|
|
3085
3085
|
var YearMonthSerializer_instance;
|
|
3086
3086
|
function YearMonthSerializer_getInstance() {
|
|
@@ -3090,19 +3090,19 @@
|
|
|
3090
3090
|
}
|
|
3091
3091
|
function Companion_7() {
|
|
3092
3092
|
Companion_instance_7 = this;
|
|
3093
|
-
this.
|
|
3094
|
-
this.
|
|
3095
|
-
this.
|
|
3096
|
-
this.
|
|
3093
|
+
this.s59_1 = new LocalDate(-999999999, 1, 1);
|
|
3094
|
+
this.t59_1 = new LocalDate(999999999, 12, 31);
|
|
3095
|
+
this.u59_1 = -365243219162n;
|
|
3096
|
+
this.v59_1 = 365241780471n;
|
|
3097
3097
|
}
|
|
3098
|
-
protoOf(Companion_7).
|
|
3098
|
+
protoOf(Companion_7).b5a = function (input, format) {
|
|
3099
3099
|
return format.sj(input);
|
|
3100
3100
|
};
|
|
3101
|
-
protoOf(Companion_7).
|
|
3101
|
+
protoOf(Companion_7).w59 = function (input, format, $super) {
|
|
3102
3102
|
format = format === VOID ? getIsoDateFormat() : format;
|
|
3103
|
-
return $super === VOID ? this.
|
|
3103
|
+
return $super === VOID ? this.b5a(input, format) : $super.b5a.call(this, input, format);
|
|
3104
3104
|
};
|
|
3105
|
-
protoOf(Companion_7).
|
|
3105
|
+
protoOf(Companion_7).c5a = function (epochDays) {
|
|
3106
3106
|
// Inline function 'kotlin.require' call
|
|
3107
3107
|
if (!(-365243219162n <= epochDays ? epochDays <= 365241780471n : false)) {
|
|
3108
3108
|
var message = 'Invalid date: epoch day ' + epochDays.toString() + ' is outside the boundaries of LocalDate';
|
|
@@ -3186,9 +3186,9 @@
|
|
|
3186
3186
|
}
|
|
3187
3187
|
function Formats() {
|
|
3188
3188
|
Formats_instance = this;
|
|
3189
|
-
this.
|
|
3189
|
+
this.e53_1 = get_ISO_DATE_BASIC();
|
|
3190
3190
|
}
|
|
3191
|
-
protoOf(Formats).
|
|
3191
|
+
protoOf(Formats).f53 = function () {
|
|
3192
3192
|
return get_ISO_DATE();
|
|
3193
3193
|
};
|
|
3194
3194
|
var Formats_instance;
|
|
@@ -3205,37 +3205,37 @@
|
|
|
3205
3205
|
}
|
|
3206
3206
|
function LocalDate(year, month, day) {
|
|
3207
3207
|
Companion_getInstance_7();
|
|
3208
|
-
this.
|
|
3209
|
-
this.
|
|
3210
|
-
this.
|
|
3208
|
+
this.o54_1 = year;
|
|
3209
|
+
this.p54_1 = day;
|
|
3210
|
+
this.q54_1 = month;
|
|
3211
3211
|
// Inline function 'kotlin.require' call
|
|
3212
|
-
if (!isValidYear(this.
|
|
3212
|
+
if (!isValidYear(this.o54_1)) {
|
|
3213
3213
|
var message = 'Invalid date: the year is out of range';
|
|
3214
3214
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3215
3215
|
}
|
|
3216
|
-
var containsArg = this.
|
|
3216
|
+
var containsArg = this.q54_1;
|
|
3217
3217
|
// Inline function 'kotlin.require' call
|
|
3218
3218
|
if (!(1 <= containsArg ? containsArg <= 12 : false)) {
|
|
3219
|
-
var message_0 = 'Invalid date: month must be a number between 1 and 12, got ' + this.
|
|
3219
|
+
var message_0 = 'Invalid date: month must be a number between 1 and 12, got ' + this.q54_1;
|
|
3220
3220
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
3221
3221
|
}
|
|
3222
|
-
var containsArg_0 = this.
|
|
3222
|
+
var containsArg_0 = this.p54_1;
|
|
3223
3223
|
// Inline function 'kotlin.require' call
|
|
3224
3224
|
if (!(1 <= containsArg_0 ? containsArg_0 <= 31 : false)) {
|
|
3225
|
-
var message_1 = 'Invalid date: day of month must be a number between 1 and 31, got ' + this.
|
|
3225
|
+
var message_1 = 'Invalid date: day of month must be a number between 1 and 31, got ' + this.p54_1;
|
|
3226
3226
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
3227
3227
|
}
|
|
3228
|
-
if (this.
|
|
3229
|
-
if (this.
|
|
3230
|
-
throw IllegalArgumentException_init_$Create$("Invalid date 'February 29' as '" + this.
|
|
3228
|
+
if (this.p54_1 > 28 && this.p54_1 > monthLength(this.q54_1, isLeapYear(this.o54_1))) {
|
|
3229
|
+
if (this.p54_1 === 29) {
|
|
3230
|
+
throw IllegalArgumentException_init_$Create$("Invalid date 'February 29' as '" + this.o54_1 + "' is not a leap year");
|
|
3231
3231
|
} else {
|
|
3232
|
-
throw IllegalArgumentException_init_$Create$("Invalid date '" + Month_0(month).toString() + ' ' + this.
|
|
3232
|
+
throw IllegalArgumentException_init_$Create$("Invalid date '" + Month_0(month).toString() + ' ' + this.p54_1 + "'");
|
|
3233
3233
|
}
|
|
3234
3234
|
}
|
|
3235
3235
|
}
|
|
3236
|
-
protoOf(LocalDate).
|
|
3237
|
-
var y = fromInt(this.
|
|
3238
|
-
var m = fromInt(this.
|
|
3236
|
+
protoOf(LocalDate).d5a = function () {
|
|
3237
|
+
var y = fromInt(this.o54_1);
|
|
3238
|
+
var m = fromInt(this.q54_1);
|
|
3239
3239
|
var total = 0n;
|
|
3240
3240
|
total = add(total, multiply(numberToLong(365), y));
|
|
3241
3241
|
if (y >= 0n) {
|
|
@@ -3274,12 +3274,12 @@
|
|
|
3274
3274
|
total = add(tmp_5, tmp$ret$10);
|
|
3275
3275
|
var tmp0 = total;
|
|
3276
3276
|
// Inline function 'kotlin.Long.plus' call
|
|
3277
|
-
var other = this.
|
|
3277
|
+
var other = this.p54_1 - 1 | 0;
|
|
3278
3278
|
total = add(tmp0, fromInt(other));
|
|
3279
3279
|
if (m > 2n) {
|
|
3280
3280
|
var _unary__edvuaz = total;
|
|
3281
3281
|
total = subtract(_unary__edvuaz, get_ONE());
|
|
3282
|
-
if (!isLeapYear(this.
|
|
3282
|
+
if (!isLeapYear(this.o54_1)) {
|
|
3283
3283
|
var _unary__edvuaz_0 = total;
|
|
3284
3284
|
total = subtract(_unary__edvuaz_0, get_ONE());
|
|
3285
3285
|
}
|
|
@@ -3288,12 +3288,12 @@
|
|
|
3288
3288
|
var this_5 = total;
|
|
3289
3289
|
return subtract(this_5, fromInt(719528));
|
|
3290
3290
|
};
|
|
3291
|
-
protoOf(LocalDate).
|
|
3292
|
-
return Month_0(this.
|
|
3291
|
+
protoOf(LocalDate).r54 = function () {
|
|
3292
|
+
return Month_0(this.q54_1);
|
|
3293
3293
|
};
|
|
3294
|
-
protoOf(LocalDate).
|
|
3294
|
+
protoOf(LocalDate).j54 = function () {
|
|
3295
3295
|
// Inline function 'kotlin.Long.plus' call
|
|
3296
|
-
var this_0 = this.
|
|
3296
|
+
var this_0 = this.d5a();
|
|
3297
3297
|
// Inline function 'kotlin.mod' call
|
|
3298
3298
|
var tmp0 = add(this_0, fromInt(3));
|
|
3299
3299
|
// Inline function 'kotlin.mod' call
|
|
@@ -3303,30 +3303,30 @@
|
|
|
3303
3303
|
var dow0 = convertToInt(tmp$ret$1);
|
|
3304
3304
|
return DayOfWeek_0(dow0 + 1 | 0);
|
|
3305
3305
|
};
|
|
3306
|
-
protoOf(LocalDate).
|
|
3307
|
-
return (firstDayOfYear(this.
|
|
3306
|
+
protoOf(LocalDate).l54 = function () {
|
|
3307
|
+
return (firstDayOfYear(this.r54(), isLeapYear(this.o54_1)) + this.p54_1 | 0) - 1 | 0;
|
|
3308
3308
|
};
|
|
3309
|
-
protoOf(LocalDate).
|
|
3310
|
-
var y = compareTo(this.
|
|
3309
|
+
protoOf(LocalDate).e5a = function (other) {
|
|
3310
|
+
var y = compareTo(this.o54_1, other.o54_1);
|
|
3311
3311
|
if (!(y === 0)) {
|
|
3312
3312
|
return y;
|
|
3313
3313
|
}
|
|
3314
|
-
var m = compareTo(this.
|
|
3314
|
+
var m = compareTo(this.q54_1, other.q54_1);
|
|
3315
3315
|
if (!(m === 0)) {
|
|
3316
3316
|
return m;
|
|
3317
3317
|
}
|
|
3318
|
-
return compareTo(this.
|
|
3318
|
+
return compareTo(this.p54_1, other.p54_1);
|
|
3319
3319
|
};
|
|
3320
3320
|
protoOf(LocalDate).d = function (other) {
|
|
3321
|
-
return this.
|
|
3321
|
+
return this.e5a(other instanceof LocalDate ? other : THROW_CCE());
|
|
3322
3322
|
};
|
|
3323
|
-
protoOf(LocalDate).
|
|
3323
|
+
protoOf(LocalDate).f5a = function (monthsToAdd) {
|
|
3324
3324
|
if (monthsToAdd === 0n) {
|
|
3325
3325
|
return this;
|
|
3326
3326
|
}
|
|
3327
|
-
var tmp0 = multiply(numberToLong(this.
|
|
3327
|
+
var tmp0 = multiply(numberToLong(this.o54_1), 12n);
|
|
3328
3328
|
// Inline function 'kotlin.Long.plus' call
|
|
3329
|
-
var other = this.
|
|
3329
|
+
var other = this.q54_1 - 1 | 0;
|
|
3330
3330
|
var monthCount = add(tmp0, fromInt(other));
|
|
3331
3331
|
var calcMonths = safeAdd(monthCount, monthsToAdd);
|
|
3332
3332
|
// Inline function 'kotlin.floorDiv' call
|
|
@@ -3349,10 +3349,10 @@
|
|
|
3349
3349
|
var r = modulo(calcMonths, other_1);
|
|
3350
3350
|
var tmp$ret$4 = add(r, other_1 & shiftRight((r ^ other_1) & (r | negate(r)), 63));
|
|
3351
3351
|
var newMonth = convertToInt(tmp$ret$4) + 1 | 0;
|
|
3352
|
-
return resolvePreviousValid(this, convertToInt(newYear), newMonth, this.
|
|
3352
|
+
return resolvePreviousValid(this, convertToInt(newYear), newMonth, this.p54_1);
|
|
3353
3353
|
};
|
|
3354
|
-
protoOf(LocalDate).
|
|
3355
|
-
return daysToAdd === 0n ? this : Companion_getInstance_7().
|
|
3354
|
+
protoOf(LocalDate).g5a = function (daysToAdd) {
|
|
3355
|
+
return daysToAdd === 0n ? this : Companion_getInstance_7().c5a(safeAdd(this.d5a(), daysToAdd));
|
|
3356
3356
|
};
|
|
3357
3357
|
protoOf(LocalDate).equals = function (other) {
|
|
3358
3358
|
var tmp;
|
|
@@ -3361,7 +3361,7 @@
|
|
|
3361
3361
|
} else {
|
|
3362
3362
|
var tmp_0;
|
|
3363
3363
|
if (other instanceof LocalDate) {
|
|
3364
|
-
tmp_0 = this.
|
|
3364
|
+
tmp_0 = this.e5a(other) === 0;
|
|
3365
3365
|
} else {
|
|
3366
3366
|
tmp_0 = false;
|
|
3367
3367
|
}
|
|
@@ -3370,13 +3370,13 @@
|
|
|
3370
3370
|
return tmp;
|
|
3371
3371
|
};
|
|
3372
3372
|
protoOf(LocalDate).hashCode = function () {
|
|
3373
|
-
var yearValue = this.
|
|
3374
|
-
var monthValue = this.
|
|
3375
|
-
var dayValue = this.
|
|
3373
|
+
var yearValue = this.o54_1;
|
|
3374
|
+
var monthValue = this.q54_1;
|
|
3375
|
+
var dayValue = this.p54_1;
|
|
3376
3376
|
return yearValue & -2048 ^ (((yearValue << 11) + (monthValue << 6) | 0) + dayValue | 0);
|
|
3377
3377
|
};
|
|
3378
3378
|
protoOf(LocalDate).toString = function () {
|
|
3379
|
-
return format(this, Formats_getInstance().
|
|
3379
|
+
return format(this, Formats_getInstance().f53());
|
|
3380
3380
|
};
|
|
3381
3381
|
function isValidYear(year) {
|
|
3382
3382
|
return year >= -999999999 && year <= 999999999;
|
|
@@ -3386,10 +3386,10 @@
|
|
|
3386
3386
|
try {
|
|
3387
3387
|
var tmp_0;
|
|
3388
3388
|
if (unit instanceof DayBased) {
|
|
3389
|
-
tmp_0 = _this__u8e3s4.
|
|
3389
|
+
tmp_0 = _this__u8e3s4.g5a(safeMultiply(value, fromInt(unit.q52_1)));
|
|
3390
3390
|
} else {
|
|
3391
3391
|
if (unit instanceof MonthBased) {
|
|
3392
|
-
tmp_0 = _this__u8e3s4.
|
|
3392
|
+
tmp_0 = _this__u8e3s4.f5a(safeMultiply(value, fromInt(unit.r52_1)));
|
|
3393
3393
|
} else {
|
|
3394
3394
|
noWhenBranchMatchedException();
|
|
3395
3395
|
}
|
|
@@ -3459,12 +3459,12 @@
|
|
|
3459
3459
|
}
|
|
3460
3460
|
function Companion_8() {
|
|
3461
3461
|
}
|
|
3462
|
-
protoOf(Companion_8).
|
|
3462
|
+
protoOf(Companion_8).h5a = function (input, format) {
|
|
3463
3463
|
return format.sj(input);
|
|
3464
3464
|
};
|
|
3465
|
-
protoOf(Companion_8).
|
|
3466
|
-
format = format === VOID ? Formats_instance_0.
|
|
3467
|
-
return $super === VOID ? this.
|
|
3465
|
+
protoOf(Companion_8).z59 = function (input, format, $super) {
|
|
3466
|
+
format = format === VOID ? Formats_instance_0.f53() : format;
|
|
3467
|
+
return $super === VOID ? this.h5a(input, format) : $super.h5a.call(this, input, format);
|
|
3468
3468
|
};
|
|
3469
3469
|
var Companion_instance_8;
|
|
3470
3470
|
function Companion_getInstance_8() {
|
|
@@ -3472,7 +3472,7 @@
|
|
|
3472
3472
|
}
|
|
3473
3473
|
function Formats_0() {
|
|
3474
3474
|
}
|
|
3475
|
-
protoOf(Formats_0).
|
|
3475
|
+
protoOf(Formats_0).f53 = function () {
|
|
3476
3476
|
return get_ISO_YEAR_MONTH();
|
|
3477
3477
|
};
|
|
3478
3478
|
var Formats_instance_0;
|
|
@@ -3481,63 +3481,63 @@
|
|
|
3481
3481
|
}
|
|
3482
3482
|
function YearMonth$_get_year_$ref_chp4n6() {
|
|
3483
3483
|
return function (p0) {
|
|
3484
|
-
return p0.
|
|
3484
|
+
return p0.u55_1;
|
|
3485
3485
|
};
|
|
3486
3486
|
}
|
|
3487
3487
|
function YearMonth$_get_month_$ref_9rphhd() {
|
|
3488
3488
|
return function (p0) {
|
|
3489
|
-
return p0.
|
|
3489
|
+
return p0.r54();
|
|
3490
3490
|
};
|
|
3491
3491
|
}
|
|
3492
3492
|
function YearMonth(year, month) {
|
|
3493
|
-
this.
|
|
3494
|
-
this.
|
|
3493
|
+
this.u55_1 = year;
|
|
3494
|
+
this.v55_1 = month;
|
|
3495
3495
|
// Inline function 'kotlin.require' call
|
|
3496
3496
|
if (!(1 <= month ? month <= 12 : false)) {
|
|
3497
3497
|
var message = 'Month must be in 1..12, but was ' + month;
|
|
3498
3498
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3499
3499
|
}
|
|
3500
|
-
var containsLower = Companion_getInstance_7().
|
|
3501
|
-
var containsUpper = Companion_getInstance_7().
|
|
3502
|
-
var containsArg = this.
|
|
3500
|
+
var containsLower = Companion_getInstance_7().s59_1.o54_1;
|
|
3501
|
+
var containsUpper = Companion_getInstance_7().t59_1.o54_1;
|
|
3502
|
+
var containsArg = this.u55_1;
|
|
3503
3503
|
// Inline function 'kotlin.require' call
|
|
3504
3504
|
if (!(containsLower <= containsArg ? containsArg <= containsUpper : false)) {
|
|
3505
|
-
var message_0 = 'Year ' + this.
|
|
3505
|
+
var message_0 = 'Year ' + this.u55_1 + ' is out of range: ' + Companion_getInstance_7().s59_1.o54_1 + '..' + Companion_getInstance_7().t59_1.o54_1;
|
|
3506
3506
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
3507
3507
|
}
|
|
3508
3508
|
}
|
|
3509
|
-
protoOf(YearMonth).
|
|
3510
|
-
return Month_0(this.
|
|
3509
|
+
protoOf(YearMonth).r54 = function () {
|
|
3510
|
+
return Month_0(this.v55_1);
|
|
3511
3511
|
};
|
|
3512
|
-
protoOf(YearMonth).
|
|
3512
|
+
protoOf(YearMonth).i5a = function (other) {
|
|
3513
3513
|
var tmp = KProperty1;
|
|
3514
3514
|
var tmp_0 = getPropertyCallableRef('year', 1, tmp, YearMonth$_get_year_$ref_chp4n6(), null);
|
|
3515
3515
|
var tmp_1 = KProperty1;
|
|
3516
3516
|
return compareValuesBy(this, other, [tmp_0, getPropertyCallableRef('month', 1, tmp_1, YearMonth$_get_month_$ref_9rphhd(), null)]);
|
|
3517
3517
|
};
|
|
3518
3518
|
protoOf(YearMonth).d = function (other) {
|
|
3519
|
-
return this.
|
|
3519
|
+
return this.i5a(other instanceof YearMonth ? other : THROW_CCE());
|
|
3520
3520
|
};
|
|
3521
3521
|
protoOf(YearMonth).toString = function () {
|
|
3522
|
-
return Formats_instance_0.
|
|
3522
|
+
return Formats_instance_0.f53().g53(this);
|
|
3523
3523
|
};
|
|
3524
3524
|
protoOf(YearMonth).equals = function (other) {
|
|
3525
3525
|
var tmp;
|
|
3526
3526
|
var tmp_0;
|
|
3527
3527
|
if (other instanceof YearMonth) {
|
|
3528
|
-
tmp_0 = this.
|
|
3528
|
+
tmp_0 = this.u55_1 === other.u55_1;
|
|
3529
3529
|
} else {
|
|
3530
3530
|
tmp_0 = false;
|
|
3531
3531
|
}
|
|
3532
3532
|
if (tmp_0) {
|
|
3533
|
-
tmp = this.
|
|
3533
|
+
tmp = this.r54().equals(other.r54());
|
|
3534
3534
|
} else {
|
|
3535
3535
|
tmp = false;
|
|
3536
3536
|
}
|
|
3537
3537
|
return tmp;
|
|
3538
3538
|
};
|
|
3539
3539
|
protoOf(YearMonth).hashCode = function () {
|
|
3540
|
-
return imul(this.
|
|
3540
|
+
return imul(this.u55_1, 31) + this.r54().hashCode() | 0;
|
|
3541
3541
|
};
|
|
3542
3542
|
function safeAdd(a, b) {
|
|
3543
3543
|
var sum = add(a, b);
|
|
@@ -3570,27 +3570,27 @@
|
|
|
3570
3570
|
return convertToInt(total);
|
|
3571
3571
|
}
|
|
3572
3572
|
//region block: post-declaration
|
|
3573
|
-
protoOf(Builder).
|
|
3573
|
+
protoOf(Builder).v53 = chars;
|
|
3574
3574
|
protoOf(Builder).a2k = build;
|
|
3575
|
-
protoOf(Builder).
|
|
3576
|
-
protoOf(Builder).
|
|
3577
|
-
protoOf(Builder).
|
|
3578
|
-
protoOf(Builder).
|
|
3579
|
-
protoOf(Builder).
|
|
3580
|
-
protoOf(Builder).
|
|
3581
|
-
protoOf(Builder).
|
|
3582
|
-
protoOf(Builder_0).
|
|
3575
|
+
protoOf(Builder).c55 = addFormatStructureForYearMonth;
|
|
3576
|
+
protoOf(Builder).w53 = day;
|
|
3577
|
+
protoOf(Builder).x53 = day$default;
|
|
3578
|
+
protoOf(Builder).r53 = year;
|
|
3579
|
+
protoOf(Builder).s53 = year$default;
|
|
3580
|
+
protoOf(Builder).t53 = monthNumber;
|
|
3581
|
+
protoOf(Builder).u53 = monthNumber$default;
|
|
3582
|
+
protoOf(Builder_0).v53 = chars;
|
|
3583
3583
|
protoOf(Builder_0).a2k = build;
|
|
3584
|
-
protoOf(Builder_0).
|
|
3585
|
-
protoOf(Builder_0).
|
|
3586
|
-
protoOf(Builder_0).
|
|
3587
|
-
protoOf(Builder_0).
|
|
3588
|
-
protoOf(PropertyAccessor).
|
|
3589
|
-
protoOf(SpacePaddedFormatter).
|
|
3590
|
-
protoOf(ConcatenatedFormatter).
|
|
3591
|
-
protoOf(UnsignedIntFormatterStructure).
|
|
3592
|
-
protoOf(SignedIntFormatterStructure).
|
|
3593
|
-
protoOf(ConstantStringFormatterStructure).
|
|
3584
|
+
protoOf(Builder_0).r53 = year;
|
|
3585
|
+
protoOf(Builder_0).s53 = year$default;
|
|
3586
|
+
protoOf(Builder_0).t53 = monthNumber;
|
|
3587
|
+
protoOf(Builder_0).u53 = monthNumber$default;
|
|
3588
|
+
protoOf(PropertyAccessor).u56 = getterNotNull;
|
|
3589
|
+
protoOf(SpacePaddedFormatter).p53 = format$default;
|
|
3590
|
+
protoOf(ConcatenatedFormatter).p53 = format$default;
|
|
3591
|
+
protoOf(UnsignedIntFormatterStructure).p53 = format$default;
|
|
3592
|
+
protoOf(SignedIntFormatterStructure).p53 = format$default;
|
|
3593
|
+
protoOf(ConstantStringFormatterStructure).p53 = format$default;
|
|
3594
3594
|
//endregion
|
|
3595
3595
|
//region block: init
|
|
3596
3596
|
Companion_instance = new Companion();
|