game_client_logic_deb 1.4.96 → 1.5.1
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/88b0986a7186d029-atomicfu-js-ir.js +27 -27
- package/Kodein-kodein-di.js +615 -615
- package/KosiTypeSystem-kaverit.js +75 -75
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +79 -79
- package/Logic_Debertz-core.js +1509 -1405
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +11672 -11546
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +22 -11
- package/Logic_Debertz-game_client.js +4119 -4096
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +1770 -1980
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1877 -1877
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1388 -1391
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2609 -2609
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +29 -29
|
@@ -12,30 +12,30 @@
|
|
|
12
12
|
}(this, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
15
|
+
var protoOf = kotlin_kotlin.$_$.aa;
|
|
16
16
|
var emptyList = kotlin_kotlin.$_$.x5;
|
|
17
17
|
var Unit_getInstance = kotlin_kotlin.$_$.m4;
|
|
18
18
|
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.c4;
|
|
19
|
-
var toString = kotlin_kotlin.$_$.
|
|
19
|
+
var toString = kotlin_kotlin.$_$.fa;
|
|
20
20
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
21
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
22
|
-
var VOID = kotlin_kotlin.$_$.
|
|
23
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
24
|
-
var Unit = kotlin_kotlin.$_$.
|
|
21
|
+
var classMeta = kotlin_kotlin.$_$.x8;
|
|
22
|
+
var VOID = kotlin_kotlin.$_$.sd;
|
|
23
|
+
var setMetadataFor = kotlin_kotlin.$_$.ba;
|
|
24
|
+
var Unit = kotlin_kotlin.$_$.zc;
|
|
25
25
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
26
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
27
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
28
|
-
var equals = kotlin_kotlin.$_$.
|
|
26
|
+
var objectMeta = kotlin_kotlin.$_$.z9;
|
|
27
|
+
var interfaceMeta = kotlin_kotlin.$_$.g9;
|
|
28
|
+
var equals = kotlin_kotlin.$_$.a9;
|
|
29
29
|
var Collection = kotlin_kotlin.$_$.o4;
|
|
30
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
30
|
+
var isInterface = kotlin_kotlin.$_$.o9;
|
|
31
31
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
32
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
33
|
-
var KClass = kotlin_kotlin.$_$.
|
|
32
|
+
var THROW_CCE = kotlin_kotlin.$_$.oc;
|
|
33
|
+
var KClass = kotlin_kotlin.$_$.ma;
|
|
34
34
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.f5;
|
|
35
35
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
36
36
|
var copyToArray = kotlin_kotlin.$_$.v5;
|
|
37
37
|
var Companion_getInstance = kotlin_kotlin.$_$.d4;
|
|
38
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
38
|
+
var hashCode = kotlin_kotlin.$_$.f9;
|
|
39
39
|
//endregion
|
|
40
40
|
//region block: pre-declaration
|
|
41
41
|
setMetadataFor(TypeToken, 'TypeToken', interfaceMeta);
|
|
@@ -48,37 +48,37 @@
|
|
|
48
48
|
//endregion
|
|
49
49
|
function AbstractKClassTypeToken(type) {
|
|
50
50
|
AbstractTypeToken.call(this);
|
|
51
|
-
this.
|
|
51
|
+
this.r26_1 = type;
|
|
52
52
|
}
|
|
53
|
-
protoOf(AbstractKClassTypeToken).
|
|
54
|
-
return this.
|
|
53
|
+
protoOf(AbstractKClassTypeToken).s26 = function () {
|
|
54
|
+
return this.t26();
|
|
55
55
|
};
|
|
56
|
-
protoOf(AbstractKClassTypeToken).
|
|
57
|
-
return this.
|
|
56
|
+
protoOf(AbstractKClassTypeToken).u26 = function () {
|
|
57
|
+
return this.v26();
|
|
58
58
|
};
|
|
59
|
-
protoOf(AbstractKClassTypeToken).
|
|
59
|
+
protoOf(AbstractKClassTypeToken).w26 = function () {
|
|
60
60
|
return this;
|
|
61
61
|
};
|
|
62
|
-
protoOf(AbstractKClassTypeToken).
|
|
62
|
+
protoOf(AbstractKClassTypeToken).x26 = function () {
|
|
63
63
|
return true;
|
|
64
64
|
};
|
|
65
|
-
protoOf(AbstractKClassTypeToken).
|
|
65
|
+
protoOf(AbstractKClassTypeToken).y26 = function () {
|
|
66
66
|
return emptyList();
|
|
67
67
|
};
|
|
68
|
-
protoOf(AbstractKClassTypeToken).
|
|
68
|
+
protoOf(AbstractKClassTypeToken).z26 = function () {
|
|
69
69
|
var tmp$ret$0;
|
|
70
70
|
// Inline function 'kotlin.emptyArray' call
|
|
71
71
|
tmp$ret$0 = [];
|
|
72
72
|
return tmp$ret$0;
|
|
73
73
|
};
|
|
74
|
-
protoOf(AbstractKClassTypeToken).
|
|
74
|
+
protoOf(AbstractKClassTypeToken).a27 = function (typeToken) {
|
|
75
75
|
if (this.equals(typeToken))
|
|
76
76
|
return true;
|
|
77
|
-
if (this.
|
|
77
|
+
if (this.r26_1.equals(PrimitiveClasses_getInstance().xe()))
|
|
78
78
|
return true;
|
|
79
79
|
return false;
|
|
80
80
|
};
|
|
81
|
-
protoOf(AbstractKClassTypeToken).
|
|
81
|
+
protoOf(AbstractKClassTypeToken).b27 = function (other) {
|
|
82
82
|
// Inline function 'kotlin.require' call
|
|
83
83
|
// Inline function 'kotlin.contracts.contract' call
|
|
84
84
|
// Inline function 'kotlin.require' call
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
var message = tmp$ret$0;
|
|
91
91
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
92
92
|
}
|
|
93
|
-
if (!this.
|
|
93
|
+
if (!this.r26_1.equals(other.r26_1))
|
|
94
94
|
return false;
|
|
95
95
|
return true;
|
|
96
96
|
};
|
|
97
|
-
protoOf(AbstractKClassTypeToken).
|
|
98
|
-
return this.
|
|
97
|
+
protoOf(AbstractKClassTypeToken).c27 = function () {
|
|
98
|
+
return this.r26_1.hashCode();
|
|
99
99
|
};
|
|
100
100
|
function Companion() {
|
|
101
101
|
Companion_instance = this;
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
var tmp$ret$0;
|
|
104
104
|
// Inline function 'org.kodein.type.erased' call
|
|
105
105
|
tmp$ret$0 = erased(getKClass(Unit));
|
|
106
|
-
tmp.
|
|
106
|
+
tmp.d27_1 = tmp$ret$0;
|
|
107
107
|
var tmp_0 = this;
|
|
108
108
|
var tmp$ret$1;
|
|
109
109
|
// Inline function 'org.kodein.type.erased' call
|
|
110
|
-
tmp$ret$1 = erased(PrimitiveClasses_getInstance().
|
|
111
|
-
tmp_0.
|
|
110
|
+
tmp$ret$1 = erased(PrimitiveClasses_getInstance().xe());
|
|
111
|
+
tmp_0.e27_1 = tmp$ret$1;
|
|
112
112
|
}
|
|
113
113
|
var Companion_instance;
|
|
114
114
|
function Companion_getInstance_0() {
|
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
var tmp$ret$0;
|
|
125
125
|
// Inline function 'org.kodein.type.erased' call
|
|
126
126
|
tmp$ret$0 = erased(getKClass(Unit));
|
|
127
|
-
tmp.
|
|
127
|
+
tmp.f27_1 = tmp$ret$0;
|
|
128
128
|
var tmp_0 = this;
|
|
129
129
|
var tmp$ret$1;
|
|
130
130
|
// Inline function 'org.kodein.type.erased' call
|
|
131
|
-
tmp$ret$1 = erased(PrimitiveClasses_getInstance().
|
|
132
|
-
tmp_0.
|
|
131
|
+
tmp$ret$1 = erased(PrimitiveClasses_getInstance().xe());
|
|
132
|
+
tmp_0.g27_1 = tmp$ret$1;
|
|
133
133
|
}
|
|
134
134
|
var Companion_instance_0;
|
|
135
135
|
function Companion_getInstance_1() {
|
|
@@ -140,18 +140,18 @@
|
|
|
140
140
|
function AbstractTypeToken() {
|
|
141
141
|
Companion_getInstance_1();
|
|
142
142
|
}
|
|
143
|
-
protoOf(AbstractTypeToken).
|
|
144
|
-
if (this.equals(typeToken) ? true : this.equals(Companion_getInstance_1().
|
|
143
|
+
protoOf(AbstractTypeToken).a27 = function (typeToken) {
|
|
144
|
+
if (this.equals(typeToken) ? true : this.equals(Companion_getInstance_1().g27_1))
|
|
145
145
|
return true;
|
|
146
|
-
var raw = this.
|
|
147
|
-
if (equals(raw, typeToken.
|
|
148
|
-
var thisParams = this.
|
|
146
|
+
var raw = this.w26();
|
|
147
|
+
if (equals(raw, typeToken.w26())) {
|
|
148
|
+
var thisParams = this.z26();
|
|
149
149
|
var tmp$ret$0;
|
|
150
150
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
151
151
|
tmp$ret$0 = thisParams.length === 0;
|
|
152
152
|
if (tmp$ret$0)
|
|
153
153
|
return true;
|
|
154
|
-
var tokenParams = typeToken.
|
|
154
|
+
var tokenParams = typeToken.z26();
|
|
155
155
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
156
156
|
var index = 0;
|
|
157
157
|
var indexedObject = thisParams;
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
index = tmp1 + 1 | 0;
|
|
166
166
|
var tmp0__anonymous__q1qw7t = tmp1;
|
|
167
167
|
var tokenParam = tokenParams[tmp0__anonymous__q1qw7t];
|
|
168
|
-
if (!item.
|
|
168
|
+
if (!item.a27(tokenParam))
|
|
169
169
|
return false;
|
|
170
170
|
}
|
|
171
171
|
return true;
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
var tmp$ret$1;
|
|
174
174
|
$l$block_0: {
|
|
175
175
|
// Inline function 'kotlin.collections.any' call
|
|
176
|
-
var tmp1_any = typeToken.
|
|
176
|
+
var tmp1_any = typeToken.y26();
|
|
177
177
|
var tmp;
|
|
178
178
|
if (isInterface(tmp1_any, Collection)) {
|
|
179
179
|
tmp = tmp1_any.l();
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
var element = tmp0_iterator.h();
|
|
190
190
|
var tmp$ret$2;
|
|
191
191
|
// Inline function 'org.kodein.type.AbstractTypeToken.isAssignableFrom.<anonymous>' call
|
|
192
|
-
tmp$ret$2 = this.
|
|
192
|
+
tmp$ret$2 = this.a27(element);
|
|
193
193
|
if (tmp$ret$2) {
|
|
194
194
|
tmp$ret$1 = true;
|
|
195
195
|
break $l$block_0;
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
return tmp$ret$1;
|
|
201
201
|
};
|
|
202
202
|
protoOf(AbstractTypeToken).toString = function () {
|
|
203
|
-
return this.
|
|
203
|
+
return this.u26();
|
|
204
204
|
};
|
|
205
205
|
protoOf(AbstractTypeToken).equals = function (other) {
|
|
206
206
|
if (this === other)
|
|
@@ -208,12 +208,12 @@
|
|
|
208
208
|
if (!(!(other == null) ? isInterface(other, TypeToken) : false))
|
|
209
209
|
return false;
|
|
210
210
|
if (getKClassFromExpression(this).equals(getKClassFromExpression(other)))
|
|
211
|
-
return this.
|
|
212
|
-
if (!equals(this.
|
|
211
|
+
return this.b27(other);
|
|
212
|
+
if (!equals(this.w26(), other.w26()))
|
|
213
213
|
return false;
|
|
214
|
-
if (!this.
|
|
215
|
-
var tParams = this.
|
|
216
|
-
var oParams = other.
|
|
214
|
+
if (!this.x26() ? true : !other.x26()) {
|
|
215
|
+
var tParams = this.z26();
|
|
216
|
+
var oParams = other.z26();
|
|
217
217
|
if (!(tParams.length === oParams.length))
|
|
218
218
|
return false;
|
|
219
219
|
var inductionVariable = 0;
|
|
@@ -230,39 +230,39 @@
|
|
|
230
230
|
return true;
|
|
231
231
|
};
|
|
232
232
|
protoOf(AbstractTypeToken).hashCode = function () {
|
|
233
|
-
return this.
|
|
233
|
+
return this.c27();
|
|
234
234
|
};
|
|
235
235
|
function JSKClassTypeToken(type) {
|
|
236
236
|
AbstractKClassTypeToken.call(this, type);
|
|
237
237
|
}
|
|
238
|
-
protoOf(JSKClassTypeToken).
|
|
239
|
-
var tmp0_elvis_lhs = this.
|
|
238
|
+
protoOf(JSKClassTypeToken).t26 = function () {
|
|
239
|
+
var tmp0_elvis_lhs = this.r26_1.ie();
|
|
240
240
|
return tmp0_elvis_lhs == null ? '(non-denotable type)' : tmp0_elvis_lhs;
|
|
241
241
|
};
|
|
242
|
-
protoOf(JSKClassTypeToken).
|
|
243
|
-
var tmp0_elvis_lhs = this.
|
|
242
|
+
protoOf(JSKClassTypeToken).v26 = function () {
|
|
243
|
+
var tmp0_elvis_lhs = this.r26_1.ie();
|
|
244
244
|
return tmp0_elvis_lhs == null ? '(non-denotable type)' : tmp0_elvis_lhs;
|
|
245
245
|
};
|
|
246
246
|
function JSKTypeTypeToken(type) {
|
|
247
247
|
AbstractTypeToken.call(this);
|
|
248
|
-
this.
|
|
248
|
+
this.i27_1 = type;
|
|
249
249
|
}
|
|
250
|
-
protoOf(JSKTypeTypeToken).
|
|
251
|
-
return toString(this.
|
|
250
|
+
protoOf(JSKTypeTypeToken).s26 = function () {
|
|
251
|
+
return toString(this.i27_1);
|
|
252
252
|
};
|
|
253
|
-
protoOf(JSKTypeTypeToken).
|
|
254
|
-
return toString(this.
|
|
253
|
+
protoOf(JSKTypeTypeToken).u26 = function () {
|
|
254
|
+
return toString(this.i27_1);
|
|
255
255
|
};
|
|
256
|
-
protoOf(JSKTypeTypeToken).
|
|
257
|
-
var tmp = this.
|
|
256
|
+
protoOf(JSKTypeTypeToken).w26 = function () {
|
|
257
|
+
var tmp = this.i27_1.ue();
|
|
258
258
|
return new JSKClassTypeToken((!(tmp == null) ? isInterface(tmp, KClass) : false) ? tmp : THROW_CCE());
|
|
259
259
|
};
|
|
260
|
-
protoOf(JSKTypeTypeToken).
|
|
260
|
+
protoOf(JSKTypeTypeToken).z26 = function () {
|
|
261
261
|
var tmp$ret$5;
|
|
262
262
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
263
263
|
var tmp$ret$4;
|
|
264
264
|
// Inline function 'kotlin.collections.map' call
|
|
265
|
-
var tmp1_map = this.
|
|
265
|
+
var tmp1_map = this.i27_1.ve();
|
|
266
266
|
var tmp$ret$3;
|
|
267
267
|
// Inline function 'kotlin.collections.mapTo' call
|
|
268
268
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1_map, 10));
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
var item = tmp0_iterator.h();
|
|
272
272
|
var tmp$ret$2;
|
|
273
273
|
// Inline function 'org.kodein.type.JSKTypeTypeToken.getGenericParameters.<anonymous>' call
|
|
274
|
-
var tmp0_safe_receiver = item.
|
|
274
|
+
var tmp0_safe_receiver = item.h7_1;
|
|
275
275
|
var tmp;
|
|
276
276
|
if (tmp0_safe_receiver == null) {
|
|
277
277
|
tmp = null;
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
tmp = tmp$ret$1;
|
|
287
287
|
}
|
|
288
288
|
var tmp1_elvis_lhs = tmp;
|
|
289
|
-
tmp$ret$2 = tmp1_elvis_lhs == null ? Companion_getInstance_1().
|
|
289
|
+
tmp$ret$2 = tmp1_elvis_lhs == null ? Companion_getInstance_1().g27_1 : tmp1_elvis_lhs;
|
|
290
290
|
tmp0_mapTo.a(tmp$ret$2);
|
|
291
291
|
}
|
|
292
292
|
tmp$ret$3 = tmp0_mapTo;
|
|
@@ -295,11 +295,11 @@
|
|
|
295
295
|
tmp$ret$5 = copyToArray(tmp2_toTypedArray);
|
|
296
296
|
return tmp$ret$5;
|
|
297
297
|
};
|
|
298
|
-
protoOf(JSKTypeTypeToken).
|
|
298
|
+
protoOf(JSKTypeTypeToken).x26 = function () {
|
|
299
299
|
var tmp$ret$0;
|
|
300
300
|
$l$block_0: {
|
|
301
301
|
// Inline function 'kotlin.collections.all' call
|
|
302
|
-
var tmp0_all = this.
|
|
302
|
+
var tmp0_all = this.i27_1.ve();
|
|
303
303
|
var tmp;
|
|
304
304
|
if (isInterface(tmp0_all, Collection)) {
|
|
305
305
|
tmp = tmp0_all.l();
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
var element = tmp0_iterator.h();
|
|
316
316
|
var tmp$ret$1;
|
|
317
317
|
// Inline function 'org.kodein.type.JSKTypeTypeToken.isWildcard.<anonymous>' call
|
|
318
|
-
tmp$ret$1 = element.equals(Companion_getInstance().
|
|
318
|
+
tmp$ret$1 = element.equals(Companion_getInstance().e7());
|
|
319
319
|
if (!tmp$ret$1) {
|
|
320
320
|
tmp$ret$0 = false;
|
|
321
321
|
break $l$block_0;
|
|
@@ -325,10 +325,10 @@
|
|
|
325
325
|
}
|
|
326
326
|
return tmp$ret$0;
|
|
327
327
|
};
|
|
328
|
-
protoOf(JSKTypeTypeToken).
|
|
328
|
+
protoOf(JSKTypeTypeToken).y26 = function () {
|
|
329
329
|
return emptyList();
|
|
330
330
|
};
|
|
331
|
-
protoOf(JSKTypeTypeToken).
|
|
331
|
+
protoOf(JSKTypeTypeToken).b27 = function (other) {
|
|
332
332
|
// Inline function 'kotlin.require' call
|
|
333
333
|
// Inline function 'kotlin.contracts.contract' call
|
|
334
334
|
// Inline function 'kotlin.require' call
|
|
@@ -340,18 +340,18 @@
|
|
|
340
340
|
var message = tmp$ret$0;
|
|
341
341
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
342
342
|
}
|
|
343
|
-
return equals(this.
|
|
343
|
+
return equals(this.i27_1, other.i27_1);
|
|
344
344
|
};
|
|
345
|
-
protoOf(JSKTypeTypeToken).
|
|
346
|
-
return hashCode(this.
|
|
345
|
+
protoOf(JSKTypeTypeToken).c27 = function () {
|
|
346
|
+
return hashCode(this.i27_1);
|
|
347
347
|
};
|
|
348
348
|
function erasedOf(obj) {
|
|
349
349
|
return new JSKClassTypeToken(getKClassFromExpression(obj));
|
|
350
350
|
}
|
|
351
351
|
function typeToken(type) {
|
|
352
352
|
var tmp;
|
|
353
|
-
if (type.
|
|
354
|
-
var tmp_0 = type.
|
|
353
|
+
if (type.ve().l()) {
|
|
354
|
+
var tmp_0 = type.ue();
|
|
355
355
|
tmp = new JSKClassTypeToken((!(tmp_0 == null) ? isInterface(tmp_0, KClass) : false) ? tmp_0 : THROW_CCE());
|
|
356
356
|
} else {
|
|
357
357
|
tmp = new JSKTypeTypeToken(type);
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
var Instant = $module$_js_joda_core_gcv2k.Instant;
|
|
22
22
|
var Clock = $module$_js_joda_core_gcv2k.Clock;
|
|
23
23
|
var OffsetDateTime = $module$_js_joda_core_gcv2k.OffsetDateTime;
|
|
24
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
25
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
26
|
-
var VOID = kotlin_kotlin.$_$.
|
|
27
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
24
|
+
var protoOf = kotlin_kotlin.$_$.aa;
|
|
25
|
+
var objectMeta = kotlin_kotlin.$_$.z9;
|
|
26
|
+
var VOID = kotlin_kotlin.$_$.sd;
|
|
27
|
+
var setMetadataFor = kotlin_kotlin.$_$.ba;
|
|
28
28
|
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.f1;
|
|
29
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
30
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
31
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
32
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
33
|
-
var Long = kotlin_kotlin.$_$.
|
|
29
|
+
var objectCreate = kotlin_kotlin.$_$.y9;
|
|
30
|
+
var captureStack = kotlin_kotlin.$_$.s8;
|
|
31
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.gc;
|
|
32
|
+
var classMeta = kotlin_kotlin.$_$.x8;
|
|
33
|
+
var Long = kotlin_kotlin.$_$.ic;
|
|
34
34
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
35
35
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
36
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
36
|
+
var THROW_CCE = kotlin_kotlin.$_$.oc;
|
|
37
37
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
38
38
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.z1;
|
|
39
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
40
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
41
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
42
|
-
var Char = kotlin_kotlin.$_$.
|
|
43
|
-
var equals = kotlin_kotlin.$_$.
|
|
39
|
+
var indexOf = kotlin_kotlin.$_$.ab;
|
|
40
|
+
var charSequenceLength = kotlin_kotlin.$_$.v8;
|
|
41
|
+
var charSequenceGet = kotlin_kotlin.$_$.u8;
|
|
42
|
+
var Char = kotlin_kotlin.$_$.yb;
|
|
43
|
+
var equals = kotlin_kotlin.$_$.a9;
|
|
44
44
|
var Unit_getInstance = kotlin_kotlin.$_$.m4;
|
|
45
|
-
var toLong = kotlin_kotlin.$_$.
|
|
46
|
-
var ArithmeticException = kotlin_kotlin.$_$.
|
|
47
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
48
|
-
var numberToInt = kotlin_kotlin.$_$.
|
|
45
|
+
var toLong = kotlin_kotlin.$_$.da;
|
|
46
|
+
var ArithmeticException = kotlin_kotlin.$_$.xb;
|
|
47
|
+
var numberToLong = kotlin_kotlin.$_$.x9;
|
|
48
|
+
var numberToInt = kotlin_kotlin.$_$.w9;
|
|
49
49
|
var _Duration___get_inWholeSeconds__impl__hpy7b3 = kotlin_kotlin.$_$.w1;
|
|
50
50
|
var _Duration___get_nanosecondsComponent__impl__nh19kq = kotlin_kotlin.$_$.x1;
|
|
51
|
-
var numberToDouble = kotlin_kotlin.$_$.
|
|
52
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
53
|
-
var toString = kotlin_kotlin.$_$.
|
|
51
|
+
var numberToDouble = kotlin_kotlin.$_$.v9;
|
|
52
|
+
var Comparable = kotlin_kotlin.$_$.zb;
|
|
53
|
+
var toString = kotlin_kotlin.$_$.fa;
|
|
54
54
|
var ArithmeticException_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
55
55
|
//endregion
|
|
56
56
|
//region block: pre-declaration
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
function System() {
|
|
64
64
|
System_instance = this;
|
|
65
65
|
}
|
|
66
|
-
protoOf(System).
|
|
67
|
-
return Companion_getInstance().
|
|
66
|
+
protoOf(System).y2d = function () {
|
|
67
|
+
return Companion_getInstance().y2d();
|
|
68
68
|
};
|
|
69
69
|
var System_instance;
|
|
70
70
|
function System_getInstance() {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
captureStack(this, DateTimeFormatException);
|
|
87
87
|
}
|
|
88
88
|
function toInstant(_this__u8e3s4) {
|
|
89
|
-
return Companion_getInstance().
|
|
89
|
+
return Companion_getInstance().d2e(_this__u8e3s4);
|
|
90
90
|
}
|
|
91
91
|
function get_DISTANT_PAST_SECONDS() {
|
|
92
92
|
return DISTANT_PAST_SECONDS;
|
|
@@ -110,19 +110,19 @@
|
|
|
110
110
|
var NANOS_PER_ONE;
|
|
111
111
|
function InstantIso8601Serializer() {
|
|
112
112
|
InstantIso8601Serializer_instance = this;
|
|
113
|
-
this.
|
|
113
|
+
this.e2e_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
|
|
114
114
|
}
|
|
115
|
-
protoOf(InstantIso8601Serializer).
|
|
116
|
-
return this.
|
|
115
|
+
protoOf(InstantIso8601Serializer).t1b = function () {
|
|
116
|
+
return this.e2e_1;
|
|
117
117
|
};
|
|
118
|
-
protoOf(InstantIso8601Serializer).
|
|
119
|
-
return Companion_getInstance().
|
|
118
|
+
protoOf(InstantIso8601Serializer).v1b = function (decoder) {
|
|
119
|
+
return Companion_getInstance().d2e(decoder.v1e());
|
|
120
120
|
};
|
|
121
|
-
protoOf(InstantIso8601Serializer).
|
|
122
|
-
encoder.
|
|
121
|
+
protoOf(InstantIso8601Serializer).f2e = function (encoder, value) {
|
|
122
|
+
encoder.e1g(value.toString());
|
|
123
123
|
};
|
|
124
|
-
protoOf(InstantIso8601Serializer).
|
|
125
|
-
return this.
|
|
124
|
+
protoOf(InstantIso8601Serializer).u1b = function (encoder, value) {
|
|
125
|
+
return this.f2e(encoder, value instanceof Instant_0 ? value : THROW_CCE());
|
|
126
126
|
};
|
|
127
127
|
var InstantIso8601Serializer_instance;
|
|
128
128
|
function InstantIso8601Serializer_getInstance() {
|
|
@@ -162,39 +162,39 @@
|
|
|
162
162
|
}
|
|
163
163
|
function Companion() {
|
|
164
164
|
Companion_instance = this;
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
165
|
+
this.z2d_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_PAST_SECONDS(), 999999999));
|
|
166
|
+
this.a2e_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_FUTURE_SECONDS(), 0));
|
|
167
|
+
this.b2e_1 = new Instant_0(Instant.MIN);
|
|
168
|
+
this.c2e_1 = new Instant_0(Instant.MAX);
|
|
169
169
|
}
|
|
170
|
-
protoOf(Companion).
|
|
170
|
+
protoOf(Companion).y2d = function () {
|
|
171
171
|
return new Instant_0(Clock.systemUTC().instant());
|
|
172
172
|
};
|
|
173
|
-
protoOf(Companion).
|
|
173
|
+
protoOf(Companion).g2e = function (epochMilliseconds) {
|
|
174
174
|
var tmp;
|
|
175
175
|
try {
|
|
176
176
|
var tmp$ret$0;
|
|
177
177
|
// Inline function 'kotlin.Long.div' call
|
|
178
178
|
var tmp0_div = get_MILLIS_PER_ONE();
|
|
179
|
-
tmp$ret$0 = epochMilliseconds.
|
|
179
|
+
tmp$ret$0 = epochMilliseconds.k7(toLong(tmp0_div));
|
|
180
180
|
var tmp_0 = tmp$ret$0;
|
|
181
181
|
var tmp$ret$2;
|
|
182
182
|
// Inline function 'kotlin.Long.times' call
|
|
183
183
|
var tmp$ret$1;
|
|
184
184
|
// Inline function 'kotlin.Long.rem' call
|
|
185
185
|
var tmp1_rem = get_MILLIS_PER_ONE();
|
|
186
|
-
tmp$ret$1 = epochMilliseconds.
|
|
186
|
+
tmp$ret$1 = epochMilliseconds.x5(toLong(tmp1_rem));
|
|
187
187
|
var tmp2_times = tmp$ret$1;
|
|
188
188
|
var tmp3_times = get_NANOS_PER_MILLI();
|
|
189
|
-
tmp$ret$2 = tmp2_times.
|
|
190
|
-
tmp = this.
|
|
189
|
+
tmp$ret$2 = tmp2_times.l7(toLong(tmp3_times));
|
|
190
|
+
tmp = this.h2e(tmp_0, tmp$ret$2);
|
|
191
191
|
} catch ($p) {
|
|
192
192
|
var tmp_1;
|
|
193
193
|
if ($p instanceof Error) {
|
|
194
194
|
var e = $p;
|
|
195
195
|
if (!isJodaDateTimeException(e))
|
|
196
196
|
throw e;
|
|
197
|
-
tmp_1 = epochMilliseconds.t(new Long(0, 0)) > 0 ? this.
|
|
197
|
+
tmp_1 = epochMilliseconds.t(new Long(0, 0)) > 0 ? this.c2e_1 : this.b2e_1;
|
|
198
198
|
} else {
|
|
199
199
|
throw $p;
|
|
200
200
|
}
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
}
|
|
203
203
|
return tmp;
|
|
204
204
|
};
|
|
205
|
-
protoOf(Companion).
|
|
205
|
+
protoOf(Companion).d2e = function (isoString) {
|
|
206
206
|
var tmp;
|
|
207
207
|
try {
|
|
208
208
|
tmp = new Instant_0(OffsetDateTime.parse(fixOffsetRepresentation(this, isoString)).toInstant());
|
|
@@ -220,25 +220,25 @@
|
|
|
220
220
|
}
|
|
221
221
|
return tmp;
|
|
222
222
|
};
|
|
223
|
-
protoOf(Companion).
|
|
223
|
+
protoOf(Companion).h2e = function (epochSeconds, nanosecondAdjustment) {
|
|
224
224
|
var tmp;
|
|
225
225
|
try {
|
|
226
226
|
var tmp$ret$0;
|
|
227
227
|
// Inline function 'kotlin.floorDiv' call
|
|
228
228
|
var tmp0_floorDiv = toLong(get_NANOS_PER_ONE());
|
|
229
|
-
var q = nanosecondAdjustment.
|
|
230
|
-
if (nanosecondAdjustment.
|
|
229
|
+
var q = nanosecondAdjustment.k7(tmp0_floorDiv);
|
|
230
|
+
if (nanosecondAdjustment.c8(tmp0_floorDiv).t(new Long(0, 0)) < 0 ? !q.l7(tmp0_floorDiv).equals(nanosecondAdjustment) : false) {
|
|
231
231
|
var tmp0 = q;
|
|
232
|
-
q = tmp0.
|
|
232
|
+
q = tmp0.zg();
|
|
233
233
|
}
|
|
234
234
|
tmp$ret$0 = q;
|
|
235
235
|
var secs = safeAdd(epochSeconds, tmp$ret$0);
|
|
236
236
|
var tmp$ret$1;
|
|
237
237
|
// Inline function 'kotlin.mod' call
|
|
238
238
|
var tmp1_mod = toLong(get_NANOS_PER_ONE());
|
|
239
|
-
var r = nanosecondAdjustment.
|
|
240
|
-
tmp$ret$1 = r.
|
|
241
|
-
var nos = tmp$ret$1.
|
|
239
|
+
var r = nanosecondAdjustment.x5(tmp1_mod);
|
|
240
|
+
tmp$ret$1 = r.u5(tmp1_mod.z5(r.c8(tmp1_mod).z5(r.bh(r.a6())).x7(63)));
|
|
241
|
+
var nos = tmp$ret$1.y5();
|
|
242
242
|
tmp = new Instant_0(Instant.ofEpochSecond(secs, nos));
|
|
243
243
|
} catch ($p) {
|
|
244
244
|
var tmp_0;
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
}
|
|
253
253
|
if (tmp_1)
|
|
254
254
|
throw e;
|
|
255
|
-
tmp_0 = epochSeconds.t(new Long(0, 0)) > 0 ? this.
|
|
255
|
+
tmp_0 = epochSeconds.t(new Long(0, 0)) > 0 ? this.c2e_1 : this.b2e_1;
|
|
256
256
|
} else {
|
|
257
257
|
throw $p;
|
|
258
258
|
}
|
|
@@ -268,28 +268,28 @@
|
|
|
268
268
|
}
|
|
269
269
|
function Instant_0(value) {
|
|
270
270
|
Companion_getInstance();
|
|
271
|
-
this.
|
|
271
|
+
this.i2e_1 = value;
|
|
272
272
|
}
|
|
273
|
-
protoOf(Instant_0).
|
|
274
|
-
return numberToLong(this.
|
|
273
|
+
protoOf(Instant_0).j2e = function () {
|
|
274
|
+
return numberToLong(this.i2e_1.epochSecond());
|
|
275
275
|
};
|
|
276
|
-
protoOf(Instant_0).
|
|
277
|
-
return numberToInt(this.
|
|
276
|
+
protoOf(Instant_0).k2e = function () {
|
|
277
|
+
return numberToInt(this.i2e_1.nano());
|
|
278
278
|
};
|
|
279
|
-
protoOf(Instant_0).
|
|
279
|
+
protoOf(Instant_0).l2e = function () {
|
|
280
280
|
var tmp$ret$1;
|
|
281
281
|
// Inline function 'kotlin.Long.plus' call
|
|
282
282
|
var tmp$ret$0;
|
|
283
283
|
// Inline function 'kotlin.Long.times' call
|
|
284
|
-
var tmp0_times = this.
|
|
284
|
+
var tmp0_times = this.j2e();
|
|
285
285
|
var tmp1_times = get_MILLIS_PER_ONE();
|
|
286
|
-
tmp$ret$0 = tmp0_times.
|
|
286
|
+
tmp$ret$0 = tmp0_times.l7(toLong(tmp1_times));
|
|
287
287
|
var tmp2_plus = tmp$ret$0;
|
|
288
|
-
var tmp3_plus = this.
|
|
289
|
-
tmp$ret$1 = tmp2_plus.
|
|
288
|
+
var tmp3_plus = this.k2e() / get_NANOS_PER_MILLI() | 0;
|
|
289
|
+
tmp$ret$1 = tmp2_plus.u5(toLong(tmp3_plus));
|
|
290
290
|
return tmp$ret$1;
|
|
291
291
|
};
|
|
292
|
-
protoOf(Instant_0).
|
|
292
|
+
protoOf(Instant_0).m2e = function (duration) {
|
|
293
293
|
var tmp$ret$0;
|
|
294
294
|
// Inline function 'kotlin.time.Duration.toComponents' call
|
|
295
295
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -297,14 +297,14 @@
|
|
|
297
297
|
var tmp1__anonymous__uwfjfc = _Duration___get_nanosecondsComponent__impl__nh19kq(duration);
|
|
298
298
|
var tmp;
|
|
299
299
|
try {
|
|
300
|
-
tmp = new Instant_0(this.
|
|
300
|
+
tmp = new Instant_0(this.n2e(tmp0__anonymous__q1qw7t.fe(), tmp1__anonymous__uwfjfc));
|
|
301
301
|
} catch ($p) {
|
|
302
302
|
var tmp_0;
|
|
303
303
|
if ($p instanceof Error) {
|
|
304
304
|
var e = $p;
|
|
305
305
|
if (!isJodaDateTimeException(e))
|
|
306
306
|
throw e;
|
|
307
|
-
tmp_0 = tmp0__anonymous__q1qw7t.t(new Long(0, 0)) > 0 ? Companion_getInstance().
|
|
307
|
+
tmp_0 = tmp0__anonymous__q1qw7t.t(new Long(0, 0)) > 0 ? Companion_getInstance().c2e_1 : Companion_getInstance().b2e_1;
|
|
308
308
|
} else {
|
|
309
309
|
throw $p;
|
|
310
310
|
}
|
|
@@ -313,16 +313,16 @@
|
|
|
313
313
|
return tmp;
|
|
314
314
|
return tmp$ret$0;
|
|
315
315
|
};
|
|
316
|
-
protoOf(Instant_0).
|
|
317
|
-
var newSeconds = numberToDouble(this.
|
|
318
|
-
var newNanos = numberToDouble(this.
|
|
316
|
+
protoOf(Instant_0).n2e = function (seconds, nanos) {
|
|
317
|
+
var newSeconds = numberToDouble(this.i2e_1.epochSecond()) + seconds;
|
|
318
|
+
var newNanos = numberToDouble(this.i2e_1.nano()) + nanos;
|
|
319
319
|
return Instant.ofEpochSecond(newSeconds, newNanos);
|
|
320
320
|
};
|
|
321
|
-
protoOf(Instant_0).
|
|
322
|
-
return numberToInt(this.
|
|
321
|
+
protoOf(Instant_0).o2e = function (other) {
|
|
322
|
+
return numberToInt(this.i2e_1.compareTo(other.i2e_1));
|
|
323
323
|
};
|
|
324
|
-
protoOf(Instant_0).
|
|
325
|
-
return this.
|
|
324
|
+
protoOf(Instant_0).j8 = function (other) {
|
|
325
|
+
return this.o2e(other instanceof Instant_0 ? other : THROW_CCE());
|
|
326
326
|
};
|
|
327
327
|
protoOf(Instant_0).equals = function (other) {
|
|
328
328
|
var tmp;
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
} else {
|
|
332
332
|
var tmp_0;
|
|
333
333
|
if (other instanceof Instant_0) {
|
|
334
|
-
tmp_0 = equals(this.
|
|
334
|
+
tmp_0 = equals(this.i2e_1, other.i2e_1);
|
|
335
335
|
} else {
|
|
336
336
|
tmp_0 = false;
|
|
337
337
|
}
|
|
@@ -340,10 +340,10 @@
|
|
|
340
340
|
return tmp;
|
|
341
341
|
};
|
|
342
342
|
protoOf(Instant_0).hashCode = function () {
|
|
343
|
-
return numberToInt(this.
|
|
343
|
+
return numberToInt(this.i2e_1.hashCode());
|
|
344
344
|
};
|
|
345
345
|
protoOf(Instant_0).toString = function () {
|
|
346
|
-
return this.
|
|
346
|
+
return this.i2e_1.toString();
|
|
347
347
|
};
|
|
348
348
|
function isJodaDateTimeException(_this__u8e3s4) {
|
|
349
349
|
var tmp$ret$0;
|
|
@@ -358,8 +358,8 @@
|
|
|
358
358
|
return tmp$ret$0.name == 'DateTimeParseException';
|
|
359
359
|
}
|
|
360
360
|
function safeAdd(a, b) {
|
|
361
|
-
var sum = a.
|
|
362
|
-
if (a.
|
|
361
|
+
var sum = a.u5(b);
|
|
362
|
+
if (a.c8(sum).t(new Long(0, 0)) < 0 ? a.c8(b).t(new Long(0, 0)) >= 0 : false) {
|
|
363
363
|
throw ArithmeticException_init_$Create$('Addition overflows a long: ' + toString(a) + ' + ' + toString(b));
|
|
364
364
|
}
|
|
365
365
|
return sum;
|