game_client_logic_deb 1.4.10 → 1.4.11
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-ir.js +32 -32
- package/Logic_Debertz-core.js +761 -723
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6184 -6169
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2352 -2305
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +8 -8
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +11 -11
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
function System() {
|
|
58
58
|
System_instance = this;
|
|
59
59
|
}
|
|
60
|
-
System.prototype.
|
|
61
|
-
return Companion_getInstance().
|
|
60
|
+
System.prototype.y2k = function () {
|
|
61
|
+
return Companion_getInstance().y2k();
|
|
62
62
|
};
|
|
63
63
|
var System_instance;
|
|
64
64
|
function System_getInstance() {
|
|
@@ -101,19 +101,19 @@
|
|
|
101
101
|
var NANOS_PER_ONE;
|
|
102
102
|
function InstantIso8601Serializer() {
|
|
103
103
|
InstantIso8601Serializer_instance = this;
|
|
104
|
-
this.
|
|
104
|
+
this.d2l_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
|
|
105
105
|
}
|
|
106
106
|
InstantIso8601Serializer.prototype.p19 = function () {
|
|
107
|
-
return this.
|
|
107
|
+
return this.d2l_1;
|
|
108
108
|
};
|
|
109
109
|
InstantIso8601Serializer.prototype.r19 = function (decoder) {
|
|
110
|
-
return Companion_getInstance().
|
|
110
|
+
return Companion_getInstance().e2l(decoder.r1c());
|
|
111
111
|
};
|
|
112
|
-
InstantIso8601Serializer.prototype.
|
|
112
|
+
InstantIso8601Serializer.prototype.f2l = function (encoder, value) {
|
|
113
113
|
encoder.a1e(value.toString());
|
|
114
114
|
};
|
|
115
115
|
InstantIso8601Serializer.prototype.q19 = function (encoder, value) {
|
|
116
|
-
return this.
|
|
116
|
+
return this.f2l(encoder, value instanceof Instant_0 ? value : THROW_CCE());
|
|
117
117
|
};
|
|
118
118
|
var InstantIso8601Serializer_instance;
|
|
119
119
|
function InstantIso8601Serializer_getInstance() {
|
|
@@ -155,15 +155,15 @@
|
|
|
155
155
|
}
|
|
156
156
|
function Companion() {
|
|
157
157
|
Companion_instance = this;
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
158
|
+
this.z2k_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_PAST_SECONDS(), 999999999));
|
|
159
|
+
this.a2l_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_FUTURE_SECONDS(), 0));
|
|
160
|
+
this.b2l_1 = new Instant_0(Instant.MIN);
|
|
161
|
+
this.c2l_1 = new Instant_0(Instant.MAX);
|
|
162
162
|
}
|
|
163
|
-
Companion.prototype.
|
|
163
|
+
Companion.prototype.y2k = function () {
|
|
164
164
|
return new Instant_0(Clock.systemUTC().instant());
|
|
165
165
|
};
|
|
166
|
-
Companion.prototype.
|
|
166
|
+
Companion.prototype.g2l = function (epochMilliseconds) {
|
|
167
167
|
var tmp;
|
|
168
168
|
try {
|
|
169
169
|
var tmp$ret$0;
|
|
@@ -180,13 +180,13 @@
|
|
|
180
180
|
var tmp2_times = tmp$ret$1;
|
|
181
181
|
var tmp3_times = get_NANOS_PER_MILLI();
|
|
182
182
|
tmp$ret$2 = tmp2_times.n6(toLong(tmp3_times));
|
|
183
|
-
tmp = this.
|
|
183
|
+
tmp = this.h2l(tmp_0, tmp$ret$2);
|
|
184
184
|
} catch ($p) {
|
|
185
185
|
var tmp_1;
|
|
186
186
|
if ($p instanceof Error) {
|
|
187
187
|
if (!isJodaDateTimeException($p))
|
|
188
188
|
throw $p;
|
|
189
|
-
tmp_1 = epochMilliseconds.s(new Long(0, 0)) > 0 ? this.
|
|
189
|
+
tmp_1 = epochMilliseconds.s(new Long(0, 0)) > 0 ? this.c2l_1 : this.b2l_1;
|
|
190
190
|
} else {
|
|
191
191
|
throw $p;
|
|
192
192
|
}
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
}
|
|
195
195
|
return tmp;
|
|
196
196
|
};
|
|
197
|
-
Companion.prototype.
|
|
197
|
+
Companion.prototype.e2l = function (isoString) {
|
|
198
198
|
var tmp;
|
|
199
199
|
try {
|
|
200
200
|
tmp = new Instant_0(OffsetDateTime.parse(fixOffsetRepresentation(this, isoString)).toInstant());
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
}
|
|
212
212
|
return tmp;
|
|
213
213
|
};
|
|
214
|
-
Companion.prototype.
|
|
214
|
+
Companion.prototype.h2l = function (epochSeconds, nanosecondAdjustment) {
|
|
215
215
|
var tmp;
|
|
216
216
|
try {
|
|
217
217
|
var tmp$ret$0;
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
}
|
|
243
243
|
if (tmp_1)
|
|
244
244
|
throw $p;
|
|
245
|
-
tmp_0 = epochSeconds.s(new Long(0, 0)) > 0 ? this.
|
|
245
|
+
tmp_0 = epochSeconds.s(new Long(0, 0)) > 0 ? this.c2l_1 : this.b2l_1;
|
|
246
246
|
} else {
|
|
247
247
|
throw $p;
|
|
248
248
|
}
|
|
@@ -258,32 +258,32 @@
|
|
|
258
258
|
}
|
|
259
259
|
function Instant_0(value) {
|
|
260
260
|
Companion_getInstance();
|
|
261
|
-
this.
|
|
261
|
+
this.i2l_1 = value;
|
|
262
262
|
}
|
|
263
|
-
Instant_0.prototype.
|
|
264
|
-
return numberToLong(this.
|
|
263
|
+
Instant_0.prototype.j2l = function () {
|
|
264
|
+
return numberToLong(this.i2l_1.epochSecond());
|
|
265
265
|
};
|
|
266
|
-
Instant_0.prototype.
|
|
267
|
-
return numberToInt(this.
|
|
266
|
+
Instant_0.prototype.k2l = function () {
|
|
267
|
+
return numberToInt(this.i2l_1.nano());
|
|
268
268
|
};
|
|
269
|
-
Instant_0.prototype.
|
|
269
|
+
Instant_0.prototype.l2l = function () {
|
|
270
270
|
var tmp$ret$1;
|
|
271
271
|
// Inline function 'kotlin.Long.plus' call
|
|
272
272
|
var tmp$ret$0;
|
|
273
273
|
// Inline function 'kotlin.Long.times' call
|
|
274
|
-
var tmp0_times = this.
|
|
274
|
+
var tmp0_times = this.j2l();
|
|
275
275
|
var tmp1_times = get_MILLIS_PER_ONE();
|
|
276
276
|
tmp$ret$0 = tmp0_times.n6(toLong(tmp1_times));
|
|
277
277
|
var tmp2_plus = tmp$ret$0;
|
|
278
|
-
var tmp3_plus = this.
|
|
278
|
+
var tmp3_plus = this.k2l() / get_NANOS_PER_MILLI() | 0;
|
|
279
279
|
tmp$ret$1 = tmp2_plus.x4(toLong(tmp3_plus));
|
|
280
280
|
return tmp$ret$1;
|
|
281
281
|
};
|
|
282
|
-
Instant_0.prototype.
|
|
283
|
-
return numberToInt(this.
|
|
282
|
+
Instant_0.prototype.m2l = function (other) {
|
|
283
|
+
return numberToInt(this.i2l_1.compareTo(other.i2l_1));
|
|
284
284
|
};
|
|
285
285
|
Instant_0.prototype.l7 = function (other) {
|
|
286
|
-
return this.
|
|
286
|
+
return this.m2l(other instanceof Instant_0 ? other : THROW_CCE());
|
|
287
287
|
};
|
|
288
288
|
Instant_0.prototype.equals = function (other) {
|
|
289
289
|
var tmp;
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
} else {
|
|
293
293
|
var tmp_0;
|
|
294
294
|
if (other instanceof Instant_0) {
|
|
295
|
-
tmp_0 = equals(this.
|
|
295
|
+
tmp_0 = equals(this.i2l_1, other.i2l_1);
|
|
296
296
|
} else {
|
|
297
297
|
tmp_0 = false;
|
|
298
298
|
}
|
|
@@ -301,10 +301,10 @@
|
|
|
301
301
|
return tmp;
|
|
302
302
|
};
|
|
303
303
|
Instant_0.prototype.hashCode = function () {
|
|
304
|
-
return numberToInt(this.
|
|
304
|
+
return numberToInt(this.i2l_1.hashCode());
|
|
305
305
|
};
|
|
306
306
|
Instant_0.prototype.toString = function () {
|
|
307
|
-
return this.
|
|
307
|
+
return this.i2l_1.toString();
|
|
308
308
|
};
|
|
309
309
|
function isJodaDateTimeException(_this__u8e3s4) {
|
|
310
310
|
var tmp$ret$0;
|