game_client_logic_deb 1.8.96 → 1.8.105
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/Kosi-Kaverit-kaverit.js +98 -99
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +803 -804
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +171 -202
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1918 -2300
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +17308 -21309
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +92 -127
- package/Logic_Debertz-game_client.js +5084 -5655
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +8597 -7800
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +1 -1
- package/kotlinx-atomicfu.js +54 -39
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2899 -2964
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +1 -1
- package/kotlinx-io-kotlinx-io-core.js +326 -358
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2416 -2452
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1699 -1842
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +281 -290
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/secure-random-secure-random.js +1 -1
- package/uuid.js +44 -59
- package/uuid.js.map +1 -1
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
root['Kotlin-DateTime-library-kotlinx-datetime'] = factory(typeof this['Kotlin-DateTime-library-kotlinx-datetime'] === 'undefined' ? {} : this['Kotlin-DateTime-library-kotlinx-datetime'], this['@js-joda/core'], this['kotlin-kotlin-stdlib'], this['kotlinx-serialization-kotlinx-serialization-core']);
|
|
17
17
|
}
|
|
18
|
-
}(
|
|
18
|
+
}(globalThis, function (_, $module$_js_joda_core_gcv2k, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
|
|
19
19
|
'use strict';
|
|
20
20
|
//region block: imports
|
|
21
21
|
var Instant = $module$_js_joda_core_gcv2k.Instant;
|
|
@@ -25,70 +25,70 @@
|
|
|
25
25
|
var LocalDateTime = $module$_js_joda_core_gcv2k.LocalDateTime;
|
|
26
26
|
var ZoneOffset = $module$_js_joda_core_gcv2k.ZoneOffset;
|
|
27
27
|
var ZoneId = $module$_js_joda_core_gcv2k.ZoneId;
|
|
28
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
29
|
-
var
|
|
30
|
-
var setMetadataFor = kotlin_kotlin.$_$.bb;
|
|
28
|
+
var protoOf = kotlin_kotlin.$_$.gb;
|
|
29
|
+
var initMetadataForObject = kotlin_kotlin.$_$.oa;
|
|
31
30
|
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.k1;
|
|
32
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
33
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
31
|
+
var objectCreate = kotlin_kotlin.$_$.fb;
|
|
32
|
+
var captureStack = kotlin_kotlin.$_$.u9;
|
|
34
33
|
var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.j1;
|
|
35
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
36
|
-
var
|
|
37
|
-
var VOID = kotlin_kotlin.$_$.f;
|
|
34
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.wd;
|
|
35
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ja;
|
|
38
36
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.y1;
|
|
39
37
|
var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.x1;
|
|
40
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
41
|
-
var Long = kotlin_kotlin.$_$.td;
|
|
38
|
+
var RuntimeException = kotlin_kotlin.$_$.de;
|
|
42
39
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
43
|
-
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
44
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
45
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
40
|
+
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
41
|
+
var THROW_CCE = kotlin_kotlin.$_$.ee;
|
|
42
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
43
|
+
var VOID = kotlin_kotlin.$_$.f;
|
|
46
44
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
47
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
48
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
49
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
50
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
45
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.m2;
|
|
46
|
+
var indexOf = kotlin_kotlin.$_$.jc;
|
|
47
|
+
var charSequenceLength = kotlin_kotlin.$_$.y9;
|
|
48
|
+
var charSequenceGet = kotlin_kotlin.$_$.x9;
|
|
49
|
+
var Long = kotlin_kotlin.$_$.yd;
|
|
50
|
+
var toLong = kotlin_kotlin.$_$.ib;
|
|
51
|
+
var Unit_instance = kotlin_kotlin.$_$.z4;
|
|
52
|
+
var ArithmeticException = kotlin_kotlin.$_$.nd;
|
|
53
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ka;
|
|
54
|
+
var numberToLong = kotlin_kotlin.$_$.eb;
|
|
55
|
+
var numberToInt = kotlin_kotlin.$_$.db;
|
|
56
56
|
var _Duration___get_inWholeSeconds__impl__hpy7b3 = kotlin_kotlin.$_$.g2;
|
|
57
57
|
var _Duration___get_nanosecondsComponent__impl__nh19kq = kotlin_kotlin.$_$.i2;
|
|
58
58
|
var Duration__isPositive_impl_tvkkt2 = kotlin_kotlin.$_$.h2;
|
|
59
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
59
|
+
var Companion_getInstance = kotlin_kotlin.$_$.r4;
|
|
60
60
|
var DurationUnit_SECONDS_getInstance = kotlin_kotlin.$_$.i;
|
|
61
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
61
|
+
var toDuration = kotlin_kotlin.$_$.ld;
|
|
62
62
|
var DurationUnit_NANOSECONDS_getInstance = kotlin_kotlin.$_$.h;
|
|
63
63
|
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.j2;
|
|
64
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
64
|
+
var Comparable = kotlin_kotlin.$_$.pd;
|
|
65
65
|
var ArithmeticException_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
66
66
|
//endregion
|
|
67
67
|
//region block: pre-declaration
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
68
|
+
initMetadataForObject(System, 'System');
|
|
69
|
+
initMetadataForClass(DateTimeFormatException, 'DateTimeFormatException', DateTimeFormatException_init_$Create$, IllegalArgumentException);
|
|
70
|
+
initMetadataForClass(DateTimeArithmeticException, 'DateTimeArithmeticException', DateTimeArithmeticException_init_$Create$, RuntimeException);
|
|
71
|
+
initMetadataForClass(IllegalTimeZoneException, 'IllegalTimeZoneException', IllegalTimeZoneException_init_$Create$, IllegalArgumentException);
|
|
72
|
+
initMetadataForObject(InstantIso8601Serializer, 'InstantIso8601Serializer', VOID, VOID, [KSerializer]);
|
|
73
|
+
initMetadataForObject(LocalDateTimeIso8601Serializer, 'LocalDateTimeIso8601Serializer', VOID, VOID, [KSerializer]);
|
|
74
|
+
initMetadataForObject(TimeZoneSerializer, 'TimeZoneSerializer', VOID, VOID, [KSerializer]);
|
|
75
|
+
initMetadataForObject(FixedOffsetTimeZoneSerializer, 'FixedOffsetTimeZoneSerializer', VOID, VOID, [KSerializer]);
|
|
76
|
+
initMetadataForObject(UtcOffsetSerializer, 'UtcOffsetSerializer', VOID, VOID, [KSerializer]);
|
|
77
|
+
initMetadataForCompanion(Companion);
|
|
78
|
+
initMetadataForClass(Instant_0, 'Instant', VOID, VOID, [Comparable], VOID, VOID, {0: InstantIso8601Serializer_getInstance});
|
|
79
|
+
initMetadataForCompanion(Companion_0);
|
|
80
|
+
initMetadataForClass(LocalDateTime_0, 'LocalDateTime', VOID, VOID, [Comparable], VOID, VOID, {0: LocalDateTimeIso8601Serializer_getInstance});
|
|
81
|
+
initMetadataForCompanion(Companion_1);
|
|
82
|
+
initMetadataForClass(TimeZone, 'TimeZone', VOID, VOID, VOID, VOID, VOID, {0: TimeZoneSerializer_getInstance});
|
|
83
|
+
initMetadataForCompanion(Companion_2);
|
|
84
|
+
initMetadataForClass(FixedOffsetTimeZone, 'FixedOffsetTimeZone', VOID, TimeZone, VOID, VOID, VOID, {0: FixedOffsetTimeZoneSerializer_getInstance});
|
|
85
|
+
initMetadataForCompanion(Companion_3);
|
|
86
|
+
initMetadataForClass(UtcOffset, 'UtcOffset', VOID, VOID, VOID, VOID, VOID, {0: UtcOffsetSerializer_getInstance});
|
|
87
87
|
//endregion
|
|
88
88
|
function System() {
|
|
89
89
|
}
|
|
90
|
-
protoOf(System).
|
|
91
|
-
return Companion_getInstance_0().
|
|
90
|
+
protoOf(System).p2i = function () {
|
|
91
|
+
return Companion_getInstance_0().p2i();
|
|
92
92
|
};
|
|
93
93
|
var System_instance;
|
|
94
94
|
function System_getInstance() {
|
|
@@ -164,46 +164,26 @@
|
|
|
164
164
|
captureStack(this, IllegalTimeZoneException);
|
|
165
165
|
}
|
|
166
166
|
function toInstant(_this__u8e3s4) {
|
|
167
|
-
return Companion_getInstance_0().
|
|
168
|
-
}
|
|
169
|
-
function get_DISTANT_PAST_SECONDS() {
|
|
170
|
-
return DISTANT_PAST_SECONDS;
|
|
171
|
-
}
|
|
172
|
-
var DISTANT_PAST_SECONDS;
|
|
173
|
-
function get_DISTANT_FUTURE_SECONDS() {
|
|
174
|
-
return DISTANT_FUTURE_SECONDS;
|
|
167
|
+
return Companion_getInstance_0().u2i(_this__u8e3s4);
|
|
175
168
|
}
|
|
176
|
-
var DISTANT_FUTURE_SECONDS;
|
|
177
169
|
function asTimeZone(_this__u8e3s4) {
|
|
178
170
|
return FixedOffsetTimeZone_init_$Create$(_this__u8e3s4);
|
|
179
171
|
}
|
|
180
|
-
function get_NANOS_PER_MILLI() {
|
|
181
|
-
return NANOS_PER_MILLI;
|
|
182
|
-
}
|
|
183
|
-
var NANOS_PER_MILLI;
|
|
184
|
-
function get_MILLIS_PER_ONE() {
|
|
185
|
-
return MILLIS_PER_ONE;
|
|
186
|
-
}
|
|
187
|
-
var MILLIS_PER_ONE;
|
|
188
|
-
function get_NANOS_PER_ONE() {
|
|
189
|
-
return NANOS_PER_ONE;
|
|
190
|
-
}
|
|
191
|
-
var NANOS_PER_ONE;
|
|
192
172
|
function InstantIso8601Serializer() {
|
|
193
173
|
InstantIso8601Serializer_instance = this;
|
|
194
|
-
this.
|
|
174
|
+
this.v2i_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
|
|
195
175
|
}
|
|
196
|
-
protoOf(InstantIso8601Serializer).
|
|
197
|
-
return this.
|
|
176
|
+
protoOf(InstantIso8601Serializer).i1f = function () {
|
|
177
|
+
return this.v2i_1;
|
|
198
178
|
};
|
|
199
|
-
protoOf(InstantIso8601Serializer).
|
|
200
|
-
return Companion_getInstance_0().
|
|
179
|
+
protoOf(InstantIso8601Serializer).k1f = function (decoder) {
|
|
180
|
+
return Companion_getInstance_0().u2i(decoder.l1i());
|
|
201
181
|
};
|
|
202
|
-
protoOf(InstantIso8601Serializer).
|
|
203
|
-
encoder.
|
|
182
|
+
protoOf(InstantIso8601Serializer).w2i = function (encoder, value) {
|
|
183
|
+
encoder.u1j(value.toString());
|
|
204
184
|
};
|
|
205
|
-
protoOf(InstantIso8601Serializer).
|
|
206
|
-
return this.
|
|
185
|
+
protoOf(InstantIso8601Serializer).j1f = function (encoder, value) {
|
|
186
|
+
return this.w2i(encoder, value instanceof Instant_0 ? value : THROW_CCE());
|
|
207
187
|
};
|
|
208
188
|
var InstantIso8601Serializer_instance;
|
|
209
189
|
function InstantIso8601Serializer_getInstance() {
|
|
@@ -213,19 +193,19 @@
|
|
|
213
193
|
}
|
|
214
194
|
function LocalDateTimeIso8601Serializer() {
|
|
215
195
|
LocalDateTimeIso8601Serializer_instance = this;
|
|
216
|
-
this.
|
|
196
|
+
this.x2i_1 = PrimitiveSerialDescriptor('LocalDateTime', STRING_getInstance());
|
|
217
197
|
}
|
|
218
|
-
protoOf(LocalDateTimeIso8601Serializer).
|
|
219
|
-
return this.
|
|
198
|
+
protoOf(LocalDateTimeIso8601Serializer).i1f = function () {
|
|
199
|
+
return this.x2i_1;
|
|
220
200
|
};
|
|
221
|
-
protoOf(LocalDateTimeIso8601Serializer).
|
|
222
|
-
return Companion_getInstance_1().
|
|
201
|
+
protoOf(LocalDateTimeIso8601Serializer).k1f = function (decoder) {
|
|
202
|
+
return Companion_getInstance_1().u2i(decoder.l1i());
|
|
223
203
|
};
|
|
224
|
-
protoOf(LocalDateTimeIso8601Serializer).
|
|
225
|
-
encoder.
|
|
204
|
+
protoOf(LocalDateTimeIso8601Serializer).a2j = function (encoder, value) {
|
|
205
|
+
encoder.u1j(value.toString());
|
|
226
206
|
};
|
|
227
|
-
protoOf(LocalDateTimeIso8601Serializer).
|
|
228
|
-
return this.
|
|
207
|
+
protoOf(LocalDateTimeIso8601Serializer).j1f = function (encoder, value) {
|
|
208
|
+
return this.a2j(encoder, value instanceof LocalDateTime_0 ? value : THROW_CCE());
|
|
229
209
|
};
|
|
230
210
|
var LocalDateTimeIso8601Serializer_instance;
|
|
231
211
|
function LocalDateTimeIso8601Serializer_getInstance() {
|
|
@@ -235,19 +215,19 @@
|
|
|
235
215
|
}
|
|
236
216
|
function TimeZoneSerializer() {
|
|
237
217
|
TimeZoneSerializer_instance = this;
|
|
238
|
-
this.
|
|
218
|
+
this.b2j_1 = PrimitiveSerialDescriptor('TimeZone', STRING_getInstance());
|
|
239
219
|
}
|
|
240
|
-
protoOf(TimeZoneSerializer).
|
|
241
|
-
return this.
|
|
220
|
+
protoOf(TimeZoneSerializer).i1f = function () {
|
|
221
|
+
return this.b2j_1;
|
|
242
222
|
};
|
|
243
|
-
protoOf(TimeZoneSerializer).
|
|
244
|
-
return Companion_getInstance_2().
|
|
223
|
+
protoOf(TimeZoneSerializer).k1f = function (decoder) {
|
|
224
|
+
return Companion_getInstance_2().d2j(decoder.l1i());
|
|
245
225
|
};
|
|
246
|
-
protoOf(TimeZoneSerializer).
|
|
247
|
-
encoder.
|
|
226
|
+
protoOf(TimeZoneSerializer).e2j = function (encoder, value) {
|
|
227
|
+
encoder.u1j(value.g2j());
|
|
248
228
|
};
|
|
249
|
-
protoOf(TimeZoneSerializer).
|
|
250
|
-
return this.
|
|
229
|
+
protoOf(TimeZoneSerializer).j1f = function (encoder, value) {
|
|
230
|
+
return this.e2j(encoder, value instanceof TimeZone ? value : THROW_CCE());
|
|
251
231
|
};
|
|
252
232
|
var TimeZoneSerializer_instance;
|
|
253
233
|
function TimeZoneSerializer_getInstance() {
|
|
@@ -257,24 +237,24 @@
|
|
|
257
237
|
}
|
|
258
238
|
function FixedOffsetTimeZoneSerializer() {
|
|
259
239
|
FixedOffsetTimeZoneSerializer_instance = this;
|
|
260
|
-
this.
|
|
240
|
+
this.h2j_1 = PrimitiveSerialDescriptor('FixedOffsetTimeZone', STRING_getInstance());
|
|
261
241
|
}
|
|
262
|
-
protoOf(FixedOffsetTimeZoneSerializer).
|
|
263
|
-
return this.
|
|
242
|
+
protoOf(FixedOffsetTimeZoneSerializer).i1f = function () {
|
|
243
|
+
return this.h2j_1;
|
|
264
244
|
};
|
|
265
|
-
protoOf(FixedOffsetTimeZoneSerializer).
|
|
266
|
-
var zone = Companion_getInstance_2().
|
|
245
|
+
protoOf(FixedOffsetTimeZoneSerializer).k1f = function (decoder) {
|
|
246
|
+
var zone = Companion_getInstance_2().d2j(decoder.l1i());
|
|
267
247
|
if (zone instanceof FixedOffsetTimeZone) {
|
|
268
248
|
return zone;
|
|
269
249
|
} else {
|
|
270
|
-
throw SerializationException_init_$Create$("Timezone identifier '" + zone + "' does not correspond to a fixed-offset timezone");
|
|
250
|
+
throw SerializationException_init_$Create$("Timezone identifier '" + zone.toString() + "' does not correspond to a fixed-offset timezone");
|
|
271
251
|
}
|
|
272
252
|
};
|
|
273
|
-
protoOf(FixedOffsetTimeZoneSerializer).
|
|
274
|
-
encoder.
|
|
253
|
+
protoOf(FixedOffsetTimeZoneSerializer).i2j = function (encoder, value) {
|
|
254
|
+
encoder.u1j(value.g2j());
|
|
275
255
|
};
|
|
276
|
-
protoOf(FixedOffsetTimeZoneSerializer).
|
|
277
|
-
return this.
|
|
256
|
+
protoOf(FixedOffsetTimeZoneSerializer).j1f = function (encoder, value) {
|
|
257
|
+
return this.i2j(encoder, value instanceof FixedOffsetTimeZone ? value : THROW_CCE());
|
|
278
258
|
};
|
|
279
259
|
var FixedOffsetTimeZoneSerializer_instance;
|
|
280
260
|
function FixedOffsetTimeZoneSerializer_getInstance() {
|
|
@@ -284,19 +264,19 @@
|
|
|
284
264
|
}
|
|
285
265
|
function UtcOffsetSerializer() {
|
|
286
266
|
UtcOffsetSerializer_instance = this;
|
|
287
|
-
this.
|
|
267
|
+
this.j2j_1 = PrimitiveSerialDescriptor('UtcOffset', STRING_getInstance());
|
|
288
268
|
}
|
|
289
|
-
protoOf(UtcOffsetSerializer).
|
|
290
|
-
return this.
|
|
269
|
+
protoOf(UtcOffsetSerializer).i1f = function () {
|
|
270
|
+
return this.j2j_1;
|
|
291
271
|
};
|
|
292
|
-
protoOf(UtcOffsetSerializer).
|
|
293
|
-
return Companion_getInstance_4().
|
|
272
|
+
protoOf(UtcOffsetSerializer).k1f = function (decoder) {
|
|
273
|
+
return Companion_getInstance_4().u2i(decoder.l1i());
|
|
294
274
|
};
|
|
295
|
-
protoOf(UtcOffsetSerializer).
|
|
296
|
-
encoder.
|
|
275
|
+
protoOf(UtcOffsetSerializer).l2j = function (encoder, value) {
|
|
276
|
+
encoder.u1j(value.toString());
|
|
297
277
|
};
|
|
298
|
-
protoOf(UtcOffsetSerializer).
|
|
299
|
-
return this.
|
|
278
|
+
protoOf(UtcOffsetSerializer).j1f = function (encoder, value) {
|
|
279
|
+
return this.l2j(encoder, value instanceof UtcOffset ? value : THROW_CCE());
|
|
300
280
|
};
|
|
301
281
|
var UtcOffsetSerializer_instance;
|
|
302
282
|
function UtcOffsetSerializer_getInstance() {
|
|
@@ -318,7 +298,7 @@
|
|
|
318
298
|
inductionVariable = inductionVariable + -1 | 0;
|
|
319
299
|
// Inline function 'kotlinx.datetime.Companion.fixOffsetRepresentation.<anonymous>' call
|
|
320
300
|
var c = charSequenceGet(isoString, index);
|
|
321
|
-
if (c === _Char___init__impl__6a9atx(43)
|
|
301
|
+
if (c === _Char___init__impl__6a9atx(43) || c === _Char___init__impl__6a9atx(45)) {
|
|
322
302
|
tmp$ret$1 = index;
|
|
323
303
|
break $l$block;
|
|
324
304
|
}
|
|
@@ -337,39 +317,35 @@
|
|
|
337
317
|
var tmp = this;
|
|
338
318
|
// Inline function 'kotlinx.datetime.jsTry' call
|
|
339
319
|
// Inline function 'kotlinx.datetime.Companion.DISTANT_PAST.<anonymous>' call
|
|
340
|
-
var tmp$ret$1 = Instant.ofEpochSecond(
|
|
341
|
-
tmp.
|
|
320
|
+
var tmp$ret$1 = Instant.ofEpochSecond((new Long(-931914497, -750)).n3(), 999999999);
|
|
321
|
+
tmp.q2i_1 = new Instant_0(tmp$ret$1);
|
|
342
322
|
var tmp_0 = this;
|
|
343
323
|
// Inline function 'kotlinx.datetime.jsTry' call
|
|
344
324
|
// Inline function 'kotlinx.datetime.Companion.DISTANT_FUTURE.<anonymous>' call
|
|
345
|
-
var tmp$ret$3 = Instant.ofEpochSecond(
|
|
346
|
-
tmp_0.
|
|
347
|
-
this.
|
|
348
|
-
this.
|
|
325
|
+
var tmp$ret$3 = Instant.ofEpochSecond((new Long(1151527680, 720)).n3(), 0);
|
|
326
|
+
tmp_0.r2i_1 = new Instant_0(tmp$ret$3);
|
|
327
|
+
this.s2i_1 = new Instant_0(Instant.MIN);
|
|
328
|
+
this.t2i_1 = new Instant_0(Instant.MAX);
|
|
349
329
|
}
|
|
350
|
-
protoOf(Companion).
|
|
330
|
+
protoOf(Companion).p2i = function () {
|
|
351
331
|
return new Instant_0(Clock.systemUTC().instant());
|
|
352
332
|
};
|
|
353
|
-
protoOf(Companion).
|
|
333
|
+
protoOf(Companion).m2j = function (epochMilliseconds) {
|
|
354
334
|
var tmp;
|
|
355
335
|
try {
|
|
356
336
|
// Inline function 'kotlin.Long.div' call
|
|
357
|
-
var
|
|
358
|
-
var tmp_0 = epochMilliseconds.k8(toLong(other));
|
|
337
|
+
var tmp_0 = epochMilliseconds.y2(toLong(1000));
|
|
359
338
|
// Inline function 'kotlin.Long.times' call
|
|
360
339
|
// Inline function 'kotlin.Long.rem' call
|
|
361
|
-
var
|
|
362
|
-
|
|
363
|
-
var other_1 = get_NANOS_PER_MILLI();
|
|
364
|
-
var tmp$ret$2 = this_0.l8(toLong(other_1));
|
|
365
|
-
tmp = this.d2i(tmp_0, tmp$ret$2);
|
|
340
|
+
var tmp$ret$2 = epochMilliseconds.z2(toLong(1000)).x2(toLong(1000000));
|
|
341
|
+
tmp = this.n2j(tmp_0, tmp$ret$2);
|
|
366
342
|
} catch ($p) {
|
|
367
343
|
var tmp_1;
|
|
368
344
|
if ($p instanceof Error) {
|
|
369
345
|
var e = $p;
|
|
370
346
|
if (!isJodaDateTimeException(e))
|
|
371
347
|
throw e;
|
|
372
|
-
tmp_1 = epochMilliseconds.
|
|
348
|
+
tmp_1 = epochMilliseconds.x(new Long(0, 0)) > 0 ? this.t2i_1 : this.s2i_1;
|
|
373
349
|
} else {
|
|
374
350
|
throw $p;
|
|
375
351
|
}
|
|
@@ -377,7 +353,7 @@
|
|
|
377
353
|
}
|
|
378
354
|
return tmp;
|
|
379
355
|
};
|
|
380
|
-
protoOf(Companion).
|
|
356
|
+
protoOf(Companion).u2i = function (isoString) {
|
|
381
357
|
var tmp;
|
|
382
358
|
try {
|
|
383
359
|
// Inline function 'kotlinx.datetime.jsTry' call
|
|
@@ -397,24 +373,24 @@
|
|
|
397
373
|
}
|
|
398
374
|
return tmp;
|
|
399
375
|
};
|
|
400
|
-
protoOf(Companion).
|
|
376
|
+
protoOf(Companion).n2j = function (epochSeconds, nanosecondAdjustment) {
|
|
401
377
|
var tmp;
|
|
402
378
|
try {
|
|
403
379
|
// Inline function 'kotlin.floorDiv' call
|
|
404
|
-
var other =
|
|
405
|
-
var q = nanosecondAdjustment.
|
|
406
|
-
if (nanosecondAdjustment.
|
|
407
|
-
q = q.
|
|
380
|
+
var other = new Long(1000000000, 0);
|
|
381
|
+
var q = nanosecondAdjustment.y2(other);
|
|
382
|
+
if (nanosecondAdjustment.j3(other).x(new Long(0, 0)) < 0 && !q.x2(other).equals(nanosecondAdjustment)) {
|
|
383
|
+
q = q.b3();
|
|
408
384
|
}
|
|
409
385
|
var tmp$ret$0 = q;
|
|
410
386
|
var secs = safeAdd(epochSeconds, tmp$ret$0);
|
|
411
387
|
// Inline function 'kotlin.mod' call
|
|
412
|
-
var other_0 =
|
|
413
|
-
var r = nanosecondAdjustment.
|
|
414
|
-
var nos = r.
|
|
388
|
+
var other_0 = new Long(1000000000, 0);
|
|
389
|
+
var r = nanosecondAdjustment.z2(other_0);
|
|
390
|
+
var nos = r.v2(other_0.h3(r.j3(other_0).h3(r.i3(r.c3())).f3(63))).c1();
|
|
415
391
|
// Inline function 'kotlinx.datetime.jsTry' call
|
|
416
392
|
// Inline function 'kotlinx.datetime.Companion.fromEpochSeconds.<anonymous>' call
|
|
417
|
-
var tmp$ret$3 = Instant.ofEpochSecond(secs.
|
|
393
|
+
var tmp$ret$3 = Instant.ofEpochSecond(secs.n3(), nos);
|
|
418
394
|
tmp = new Instant_0(tmp$ret$3);
|
|
419
395
|
} catch ($p) {
|
|
420
396
|
var tmp_0;
|
|
@@ -428,7 +404,7 @@
|
|
|
428
404
|
}
|
|
429
405
|
if (tmp_1)
|
|
430
406
|
throw e;
|
|
431
|
-
tmp_0 = epochSeconds.
|
|
407
|
+
tmp_0 = epochSeconds.x(new Long(0, 0)) > 0 ? this.t2i_1 : this.s2i_1;
|
|
432
408
|
} else {
|
|
433
409
|
throw $p;
|
|
434
410
|
}
|
|
@@ -444,38 +420,36 @@
|
|
|
444
420
|
}
|
|
445
421
|
function Instant_0(value) {
|
|
446
422
|
Companion_getInstance_0();
|
|
447
|
-
this.
|
|
423
|
+
this.o2j_1 = value;
|
|
448
424
|
}
|
|
449
|
-
protoOf(Instant_0).
|
|
450
|
-
return numberToLong(this.
|
|
425
|
+
protoOf(Instant_0).p2j = function () {
|
|
426
|
+
return numberToLong(this.o2j_1.epochSecond());
|
|
451
427
|
};
|
|
452
|
-
protoOf(Instant_0).
|
|
453
|
-
return numberToInt(this.
|
|
428
|
+
protoOf(Instant_0).q2j = function () {
|
|
429
|
+
return numberToInt(this.o2j_1.nano());
|
|
454
430
|
};
|
|
455
|
-
protoOf(Instant_0).
|
|
431
|
+
protoOf(Instant_0).r2j = function () {
|
|
456
432
|
// Inline function 'kotlin.Long.plus' call
|
|
457
433
|
// Inline function 'kotlin.Long.times' call
|
|
458
|
-
var this_0 = this.
|
|
459
|
-
var other =
|
|
460
|
-
|
|
461
|
-
var other_0 = this.g2i() / get_NANOS_PER_MILLI() | 0;
|
|
462
|
-
return this_1.q9(toLong(other_0));
|
|
434
|
+
var this_0 = this.p2j().x2(toLong(1000));
|
|
435
|
+
var other = this.q2j() / 1000000 | 0;
|
|
436
|
+
return this_0.v2(toLong(other));
|
|
463
437
|
};
|
|
464
|
-
protoOf(Instant_0).
|
|
438
|
+
protoOf(Instant_0).s2j = function (duration) {
|
|
465
439
|
// Inline function 'kotlin.time.Duration.toComponents' call
|
|
466
440
|
// Inline function 'kotlin.contracts.contract' call
|
|
467
441
|
var seconds = _Duration___get_inWholeSeconds__impl__hpy7b3(duration);
|
|
468
442
|
var nanoseconds = _Duration___get_nanosecondsComponent__impl__nh19kq(duration);
|
|
469
443
|
var tmp;
|
|
470
444
|
try {
|
|
471
|
-
tmp = new Instant_0(this.
|
|
445
|
+
tmp = new Instant_0(this.t2j(seconds.n3(), nanoseconds));
|
|
472
446
|
} catch ($p) {
|
|
473
447
|
var tmp_0;
|
|
474
448
|
if ($p instanceof Error) {
|
|
475
449
|
var e = $p;
|
|
476
450
|
if (!isJodaDateTimeException(e))
|
|
477
451
|
throw e;
|
|
478
|
-
tmp_0 = Duration__isPositive_impl_tvkkt2(duration) ? Companion_getInstance_0().
|
|
452
|
+
tmp_0 = Duration__isPositive_impl_tvkkt2(duration) ? Companion_getInstance_0().t2i_1 : Companion_getInstance_0().s2i_1;
|
|
479
453
|
} else {
|
|
480
454
|
throw $p;
|
|
481
455
|
}
|
|
@@ -483,15 +457,15 @@
|
|
|
483
457
|
}
|
|
484
458
|
return tmp;
|
|
485
459
|
};
|
|
486
|
-
protoOf(Instant_0).
|
|
487
|
-
var newSeconds = this.
|
|
488
|
-
var newNanos = this.
|
|
460
|
+
protoOf(Instant_0).t2j = function (seconds, nanos) {
|
|
461
|
+
var newSeconds = this.o2j_1.epochSecond() + seconds;
|
|
462
|
+
var newNanos = this.o2j_1.nano() + nanos;
|
|
489
463
|
// Inline function 'kotlinx.datetime.jsTry' call
|
|
490
464
|
// Inline function 'kotlinx.datetime.Instant.plusFix.<anonymous>' call
|
|
491
465
|
return Instant.ofEpochSecond(newSeconds, numberToInt(newNanos));
|
|
492
466
|
};
|
|
493
|
-
protoOf(Instant_0).
|
|
494
|
-
var diff = Duration.between(other.
|
|
467
|
+
protoOf(Instant_0).u2j = function (other) {
|
|
468
|
+
var diff = Duration.between(other.o2j_1, this.o2j_1);
|
|
495
469
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
496
470
|
Companion_getInstance();
|
|
497
471
|
var this_0 = diff.seconds();
|
|
@@ -502,11 +476,11 @@
|
|
|
502
476
|
var tmp$ret$1 = toDuration(this_1, DurationUnit_NANOSECONDS_getInstance());
|
|
503
477
|
return Duration__plus_impl_yu9v8f(tmp, tmp$ret$1);
|
|
504
478
|
};
|
|
505
|
-
protoOf(Instant_0).
|
|
506
|
-
return this.
|
|
479
|
+
protoOf(Instant_0).v2j = function (other) {
|
|
480
|
+
return this.o2j_1.compareTo(other.o2j_1);
|
|
507
481
|
};
|
|
508
482
|
protoOf(Instant_0).d = function (other) {
|
|
509
|
-
return this.
|
|
483
|
+
return this.v2j(other instanceof Instant_0 ? other : THROW_CCE());
|
|
510
484
|
};
|
|
511
485
|
protoOf(Instant_0).equals = function (other) {
|
|
512
486
|
var tmp;
|
|
@@ -515,7 +489,7 @@
|
|
|
515
489
|
} else {
|
|
516
490
|
var tmp_0;
|
|
517
491
|
if (other instanceof Instant_0) {
|
|
518
|
-
tmp_0 = this.
|
|
492
|
+
tmp_0 = this.o2j_1 === other.o2j_1 || this.o2j_1.equals(other.o2j_1);
|
|
519
493
|
} else {
|
|
520
494
|
tmp_0 = false;
|
|
521
495
|
}
|
|
@@ -524,10 +498,10 @@
|
|
|
524
498
|
return tmp;
|
|
525
499
|
};
|
|
526
500
|
protoOf(Instant_0).hashCode = function () {
|
|
527
|
-
return this.
|
|
501
|
+
return this.o2j_1.hashCode();
|
|
528
502
|
};
|
|
529
503
|
protoOf(Instant_0).toString = function () {
|
|
530
|
-
return this.
|
|
504
|
+
return this.o2j_1.toString();
|
|
531
505
|
};
|
|
532
506
|
function isJodaDateTimeException(_this__u8e3s4) {
|
|
533
507
|
return hasJsExceptionName(_this__u8e3s4, 'DateTimeException');
|
|
@@ -537,10 +511,10 @@
|
|
|
537
511
|
}
|
|
538
512
|
function Companion_0() {
|
|
539
513
|
Companion_instance_0 = this;
|
|
540
|
-
this.
|
|
541
|
-
this.
|
|
514
|
+
this.y2i_1 = new LocalDateTime_0(LocalDateTime.MIN);
|
|
515
|
+
this.z2i_1 = new LocalDateTime_0(LocalDateTime.MAX);
|
|
542
516
|
}
|
|
543
|
-
protoOf(Companion_0).
|
|
517
|
+
protoOf(Companion_0).u2i = function (isoString) {
|
|
544
518
|
var tmp;
|
|
545
519
|
try {
|
|
546
520
|
// Inline function 'kotlin.let' call
|
|
@@ -570,7 +544,7 @@
|
|
|
570
544
|
}
|
|
571
545
|
function LocalDateTime_0(value) {
|
|
572
546
|
Companion_getInstance_1();
|
|
573
|
-
this.
|
|
547
|
+
this.w2j_1 = value;
|
|
574
548
|
}
|
|
575
549
|
protoOf(LocalDateTime_0).equals = function (other) {
|
|
576
550
|
var tmp;
|
|
@@ -579,7 +553,7 @@
|
|
|
579
553
|
} else {
|
|
580
554
|
var tmp_0;
|
|
581
555
|
if (other instanceof LocalDateTime_0) {
|
|
582
|
-
tmp_0 = this.
|
|
556
|
+
tmp_0 = this.w2j_1 === other.w2j_1 || this.w2j_1.equals(other.w2j_1);
|
|
583
557
|
} else {
|
|
584
558
|
tmp_0 = false;
|
|
585
559
|
}
|
|
@@ -588,16 +562,16 @@
|
|
|
588
562
|
return tmp;
|
|
589
563
|
};
|
|
590
564
|
protoOf(LocalDateTime_0).hashCode = function () {
|
|
591
|
-
return this.
|
|
565
|
+
return this.w2j_1.hashCode();
|
|
592
566
|
};
|
|
593
567
|
protoOf(LocalDateTime_0).toString = function () {
|
|
594
|
-
return this.
|
|
568
|
+
return this.w2j_1.toString();
|
|
595
569
|
};
|
|
596
|
-
protoOf(LocalDateTime_0).
|
|
597
|
-
return this.
|
|
570
|
+
protoOf(LocalDateTime_0).x2j = function (other) {
|
|
571
|
+
return this.w2j_1.compareTo(other.w2j_1);
|
|
598
572
|
};
|
|
599
573
|
protoOf(LocalDateTime_0).d = function (other) {
|
|
600
|
-
return this.
|
|
574
|
+
return this.x2j(other instanceof LocalDateTime_0 ? other : THROW_CCE());
|
|
601
575
|
};
|
|
602
576
|
function toLocalDateTime(_this__u8e3s4, timeZone) {
|
|
603
577
|
var tmp;
|
|
@@ -605,7 +579,7 @@
|
|
|
605
579
|
// Inline function 'kotlin.let' call
|
|
606
580
|
// Inline function 'kotlinx.datetime.jsTry' call
|
|
607
581
|
// Inline function 'kotlinx.datetime.toLocalDateTime.<anonymous>' call
|
|
608
|
-
var this_0 = LocalDateTime.ofInstant(_this__u8e3s4.
|
|
582
|
+
var this_0 = LocalDateTime.ofInstant(_this__u8e3s4.o2j_1, timeZone.f2j_1);
|
|
609
583
|
// Inline function 'kotlin.contracts.contract' call
|
|
610
584
|
tmp = new LocalDateTime_0(this_0);
|
|
611
585
|
} catch ($p) {
|
|
@@ -637,12 +611,12 @@
|
|
|
637
611
|
}
|
|
638
612
|
function Companion_1() {
|
|
639
613
|
Companion_instance_1 = this;
|
|
640
|
-
this.
|
|
614
|
+
this.c2j_1 = asTimeZone(new UtcOffset(ZoneOffset.UTC));
|
|
641
615
|
}
|
|
642
|
-
protoOf(Companion_1).
|
|
616
|
+
protoOf(Companion_1).y2j = function () {
|
|
643
617
|
return ofZone(this, ZoneId.systemDefault());
|
|
644
618
|
};
|
|
645
|
-
protoOf(Companion_1).
|
|
619
|
+
protoOf(Companion_1).d2j = function (zoneId) {
|
|
646
620
|
var tmp;
|
|
647
621
|
try {
|
|
648
622
|
// Inline function 'kotlinx.datetime.jsTry' call
|
|
@@ -670,10 +644,10 @@
|
|
|
670
644
|
}
|
|
671
645
|
function TimeZone(zoneId) {
|
|
672
646
|
Companion_getInstance_2();
|
|
673
|
-
this.
|
|
647
|
+
this.f2j_1 = zoneId;
|
|
674
648
|
}
|
|
675
|
-
protoOf(TimeZone).
|
|
676
|
-
return this.
|
|
649
|
+
protoOf(TimeZone).g2j = function () {
|
|
650
|
+
return this.f2j_1.id();
|
|
677
651
|
};
|
|
678
652
|
protoOf(TimeZone).equals = function (other) {
|
|
679
653
|
var tmp;
|
|
@@ -682,7 +656,7 @@
|
|
|
682
656
|
} else {
|
|
683
657
|
var tmp_0;
|
|
684
658
|
if (other instanceof TimeZone) {
|
|
685
|
-
tmp_0 = this.
|
|
659
|
+
tmp_0 = this.f2j_1 === other.f2j_1 || this.f2j_1.equals(other.f2j_1);
|
|
686
660
|
} else {
|
|
687
661
|
tmp_0 = false;
|
|
688
662
|
}
|
|
@@ -691,13 +665,13 @@
|
|
|
691
665
|
return tmp;
|
|
692
666
|
};
|
|
693
667
|
protoOf(TimeZone).hashCode = function () {
|
|
694
|
-
return this.
|
|
668
|
+
return this.f2j_1.hashCode();
|
|
695
669
|
};
|
|
696
670
|
protoOf(TimeZone).toString = function () {
|
|
697
|
-
return this.
|
|
671
|
+
return this.f2j_1.toString();
|
|
698
672
|
};
|
|
699
673
|
function FixedOffsetTimeZone_init_$Init$(offset, $this) {
|
|
700
|
-
FixedOffsetTimeZone.call($this, offset, offset.
|
|
674
|
+
FixedOffsetTimeZone.call($this, offset, offset.z2j_1);
|
|
701
675
|
return $this;
|
|
702
676
|
}
|
|
703
677
|
function FixedOffsetTimeZone_init_$Create$(offset) {
|
|
@@ -711,13 +685,13 @@
|
|
|
711
685
|
}
|
|
712
686
|
function FixedOffsetTimeZone(offset, zoneId) {
|
|
713
687
|
TimeZone.call(this, zoneId);
|
|
714
|
-
this.
|
|
688
|
+
this.b2k_1 = offset;
|
|
715
689
|
}
|
|
716
690
|
function Companion_3() {
|
|
717
691
|
Companion_instance_3 = this;
|
|
718
|
-
this.
|
|
692
|
+
this.k2j_1 = new UtcOffset(ZoneOffset.UTC);
|
|
719
693
|
}
|
|
720
|
-
protoOf(Companion_3).
|
|
694
|
+
protoOf(Companion_3).u2i = function (offsetString) {
|
|
721
695
|
var tmp;
|
|
722
696
|
try {
|
|
723
697
|
// Inline function 'kotlin.let' call
|
|
@@ -747,26 +721,26 @@
|
|
|
747
721
|
}
|
|
748
722
|
function UtcOffset(zoneOffset) {
|
|
749
723
|
Companion_getInstance_4();
|
|
750
|
-
this.
|
|
724
|
+
this.z2j_1 = zoneOffset;
|
|
751
725
|
}
|
|
752
726
|
protoOf(UtcOffset).hashCode = function () {
|
|
753
|
-
return this.
|
|
727
|
+
return this.z2j_1.hashCode();
|
|
754
728
|
};
|
|
755
729
|
protoOf(UtcOffset).equals = function (other) {
|
|
756
730
|
var tmp;
|
|
757
731
|
if (other instanceof UtcOffset) {
|
|
758
|
-
tmp = this.
|
|
732
|
+
tmp = this.z2j_1 === other.z2j_1 || this.z2j_1.equals(other.z2j_1);
|
|
759
733
|
} else {
|
|
760
734
|
tmp = false;
|
|
761
735
|
}
|
|
762
736
|
return tmp;
|
|
763
737
|
};
|
|
764
738
|
protoOf(UtcOffset).toString = function () {
|
|
765
|
-
return this.
|
|
739
|
+
return this.z2j_1.toString();
|
|
766
740
|
};
|
|
767
741
|
function safeAdd(a, b) {
|
|
768
|
-
var sum = a.
|
|
769
|
-
if (a.
|
|
742
|
+
var sum = a.v2(b);
|
|
743
|
+
if (a.j3(sum).x(new Long(0, 0)) < 0 && a.j3(b).x(new Long(0, 0)) >= 0) {
|
|
770
744
|
throw ArithmeticException_init_$Create$('Addition overflows a long: ' + a.toString() + ' + ' + b.toString());
|
|
771
745
|
}
|
|
772
746
|
return sum;
|
|
@@ -777,11 +751,6 @@
|
|
|
777
751
|
}
|
|
778
752
|
//region block: init
|
|
779
753
|
System_instance = new System();
|
|
780
|
-
DISTANT_PAST_SECONDS = new Long(-931914497, -750);
|
|
781
|
-
DISTANT_FUTURE_SECONDS = new Long(1151527680, 720);
|
|
782
|
-
NANOS_PER_MILLI = 1000000;
|
|
783
|
-
MILLIS_PER_ONE = 1000;
|
|
784
|
-
NANOS_PER_ONE = 1000000000;
|
|
785
754
|
Companion_instance_2 = new Companion_2();
|
|
786
755
|
//endregion
|
|
787
756
|
//region block: exports
|