game_client_logic_deb 1.4.19 → 1.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +36 -32
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
- package/Logic_Debertz-core.js +772 -706
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6309 -6222
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +8 -4
- package/Logic_Debertz-game_client.js +2269 -2260
- package/Logic_Debertz-game_client.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.n2b = function () {
|
|
61
|
+
return Companion_getInstance().n2b();
|
|
62
62
|
};
|
|
63
63
|
var System_instance;
|
|
64
64
|
function System_getInstance() {
|
|
@@ -79,6 +79,9 @@
|
|
|
79
79
|
function DateTimeFormatException() {
|
|
80
80
|
captureStack(this, DateTimeFormatException);
|
|
81
81
|
}
|
|
82
|
+
function toInstant(_this__u8e3s4) {
|
|
83
|
+
return Companion_getInstance().s2b(_this__u8e3s4);
|
|
84
|
+
}
|
|
82
85
|
function get_DISTANT_PAST_SECONDS() {
|
|
83
86
|
return DISTANT_PAST_SECONDS;
|
|
84
87
|
}
|
|
@@ -101,19 +104,19 @@
|
|
|
101
104
|
var NANOS_PER_ONE;
|
|
102
105
|
function InstantIso8601Serializer() {
|
|
103
106
|
InstantIso8601Serializer_instance = this;
|
|
104
|
-
this.
|
|
107
|
+
this.t2b_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
|
|
105
108
|
}
|
|
106
109
|
InstantIso8601Serializer.prototype.p19 = function () {
|
|
107
|
-
return this.
|
|
110
|
+
return this.t2b_1;
|
|
108
111
|
};
|
|
109
112
|
InstantIso8601Serializer.prototype.r19 = function (decoder) {
|
|
110
|
-
return Companion_getInstance().
|
|
113
|
+
return Companion_getInstance().s2b(decoder.r1c());
|
|
111
114
|
};
|
|
112
|
-
InstantIso8601Serializer.prototype.
|
|
115
|
+
InstantIso8601Serializer.prototype.u2b = function (encoder, value) {
|
|
113
116
|
encoder.a1e(value.toString());
|
|
114
117
|
};
|
|
115
118
|
InstantIso8601Serializer.prototype.q19 = function (encoder, value) {
|
|
116
|
-
return this.
|
|
119
|
+
return this.u2b(encoder, value instanceof Instant_0 ? value : THROW_CCE());
|
|
117
120
|
};
|
|
118
121
|
var InstantIso8601Serializer_instance;
|
|
119
122
|
function InstantIso8601Serializer_getInstance() {
|
|
@@ -155,15 +158,15 @@
|
|
|
155
158
|
}
|
|
156
159
|
function Companion() {
|
|
157
160
|
Companion_instance = this;
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
161
|
+
this.o2b_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_PAST_SECONDS(), 999999999));
|
|
162
|
+
this.p2b_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_FUTURE_SECONDS(), 0));
|
|
163
|
+
this.q2b_1 = new Instant_0(Instant.MIN);
|
|
164
|
+
this.r2b_1 = new Instant_0(Instant.MAX);
|
|
162
165
|
}
|
|
163
|
-
Companion.prototype.
|
|
166
|
+
Companion.prototype.n2b = function () {
|
|
164
167
|
return new Instant_0(Clock.systemUTC().instant());
|
|
165
168
|
};
|
|
166
|
-
Companion.prototype.
|
|
169
|
+
Companion.prototype.v2b = function (epochMilliseconds) {
|
|
167
170
|
var tmp;
|
|
168
171
|
try {
|
|
169
172
|
var tmp$ret$0;
|
|
@@ -180,13 +183,13 @@
|
|
|
180
183
|
var tmp2_times = tmp$ret$1;
|
|
181
184
|
var tmp3_times = get_NANOS_PER_MILLI();
|
|
182
185
|
tmp$ret$2 = tmp2_times.n6(toLong(tmp3_times));
|
|
183
|
-
tmp = this.
|
|
186
|
+
tmp = this.w2b(tmp_0, tmp$ret$2);
|
|
184
187
|
} catch ($p) {
|
|
185
188
|
var tmp_1;
|
|
186
189
|
if ($p instanceof Error) {
|
|
187
190
|
if (!isJodaDateTimeException($p))
|
|
188
191
|
throw $p;
|
|
189
|
-
tmp_1 = epochMilliseconds.s(new Long(0, 0)) > 0 ? this.
|
|
192
|
+
tmp_1 = epochMilliseconds.s(new Long(0, 0)) > 0 ? this.r2b_1 : this.q2b_1;
|
|
190
193
|
} else {
|
|
191
194
|
throw $p;
|
|
192
195
|
}
|
|
@@ -194,7 +197,7 @@
|
|
|
194
197
|
}
|
|
195
198
|
return tmp;
|
|
196
199
|
};
|
|
197
|
-
Companion.prototype.
|
|
200
|
+
Companion.prototype.s2b = function (isoString) {
|
|
198
201
|
var tmp;
|
|
199
202
|
try {
|
|
200
203
|
tmp = new Instant_0(OffsetDateTime.parse(fixOffsetRepresentation(this, isoString)).toInstant());
|
|
@@ -211,7 +214,7 @@
|
|
|
211
214
|
}
|
|
212
215
|
return tmp;
|
|
213
216
|
};
|
|
214
|
-
Companion.prototype.
|
|
217
|
+
Companion.prototype.w2b = function (epochSeconds, nanosecondAdjustment) {
|
|
215
218
|
var tmp;
|
|
216
219
|
try {
|
|
217
220
|
var tmp$ret$0;
|
|
@@ -242,7 +245,7 @@
|
|
|
242
245
|
}
|
|
243
246
|
if (tmp_1)
|
|
244
247
|
throw $p;
|
|
245
|
-
tmp_0 = epochSeconds.s(new Long(0, 0)) > 0 ? this.
|
|
248
|
+
tmp_0 = epochSeconds.s(new Long(0, 0)) > 0 ? this.r2b_1 : this.q2b_1;
|
|
246
249
|
} else {
|
|
247
250
|
throw $p;
|
|
248
251
|
}
|
|
@@ -258,32 +261,32 @@
|
|
|
258
261
|
}
|
|
259
262
|
function Instant_0(value) {
|
|
260
263
|
Companion_getInstance();
|
|
261
|
-
this.
|
|
264
|
+
this.x2b_1 = value;
|
|
262
265
|
}
|
|
263
|
-
Instant_0.prototype.
|
|
264
|
-
return numberToLong(this.
|
|
266
|
+
Instant_0.prototype.y2b = function () {
|
|
267
|
+
return numberToLong(this.x2b_1.epochSecond());
|
|
265
268
|
};
|
|
266
|
-
Instant_0.prototype.
|
|
267
|
-
return numberToInt(this.
|
|
269
|
+
Instant_0.prototype.z2b = function () {
|
|
270
|
+
return numberToInt(this.x2b_1.nano());
|
|
268
271
|
};
|
|
269
|
-
Instant_0.prototype.
|
|
272
|
+
Instant_0.prototype.a2c = function () {
|
|
270
273
|
var tmp$ret$1;
|
|
271
274
|
// Inline function 'kotlin.Long.plus' call
|
|
272
275
|
var tmp$ret$0;
|
|
273
276
|
// Inline function 'kotlin.Long.times' call
|
|
274
|
-
var tmp0_times = this.
|
|
277
|
+
var tmp0_times = this.y2b();
|
|
275
278
|
var tmp1_times = get_MILLIS_PER_ONE();
|
|
276
279
|
tmp$ret$0 = tmp0_times.n6(toLong(tmp1_times));
|
|
277
280
|
var tmp2_plus = tmp$ret$0;
|
|
278
|
-
var tmp3_plus = this.
|
|
281
|
+
var tmp3_plus = this.z2b() / get_NANOS_PER_MILLI() | 0;
|
|
279
282
|
tmp$ret$1 = tmp2_plus.x4(toLong(tmp3_plus));
|
|
280
283
|
return tmp$ret$1;
|
|
281
284
|
};
|
|
282
|
-
Instant_0.prototype.
|
|
283
|
-
return numberToInt(this.
|
|
285
|
+
Instant_0.prototype.b2c = function (other) {
|
|
286
|
+
return numberToInt(this.x2b_1.compareTo(other.x2b_1));
|
|
284
287
|
};
|
|
285
288
|
Instant_0.prototype.l7 = function (other) {
|
|
286
|
-
return this.
|
|
289
|
+
return this.b2c(other instanceof Instant_0 ? other : THROW_CCE());
|
|
287
290
|
};
|
|
288
291
|
Instant_0.prototype.equals = function (other) {
|
|
289
292
|
var tmp;
|
|
@@ -292,7 +295,7 @@
|
|
|
292
295
|
} else {
|
|
293
296
|
var tmp_0;
|
|
294
297
|
if (other instanceof Instant_0) {
|
|
295
|
-
tmp_0 = equals(this.
|
|
298
|
+
tmp_0 = equals(this.x2b_1, other.x2b_1);
|
|
296
299
|
} else {
|
|
297
300
|
tmp_0 = false;
|
|
298
301
|
}
|
|
@@ -301,10 +304,10 @@
|
|
|
301
304
|
return tmp;
|
|
302
305
|
};
|
|
303
306
|
Instant_0.prototype.hashCode = function () {
|
|
304
|
-
return numberToInt(this.
|
|
307
|
+
return numberToInt(this.x2b_1.hashCode());
|
|
305
308
|
};
|
|
306
309
|
Instant_0.prototype.toString = function () {
|
|
307
|
-
return this.
|
|
310
|
+
return this.x2b_1.toString();
|
|
308
311
|
};
|
|
309
312
|
function isJodaDateTimeException(_this__u8e3s4) {
|
|
310
313
|
var tmp$ret$0;
|
|
@@ -336,6 +339,7 @@
|
|
|
336
339
|
_.$_$ = _.$_$ || {};
|
|
337
340
|
_.$_$.a = System_getInstance;
|
|
338
341
|
_.$_$.b = Companion_getInstance;
|
|
342
|
+
_.$_$.c = toInstant;
|
|
339
343
|
//endregion
|
|
340
344
|
return _;
|
|
341
345
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/Clock.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/Exceptions.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/Instant.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/internal/dateCalculations.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/serializers/InstantSerializers.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/js/src/Instant.kt","commonMainSources/libraries/stdlib/common/src/generated/_Strings.kt","runtime/long.kt","commonMainSources/libraries/stdlib/src/kotlin/util/FloorDivMod.kt","jsMainSources/libraries/stdlib/js/src/kotlin/dynamic.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/js/src/JSJodaExceptions.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/js/src/internal/mathJs.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwBkF,OAAL,6B;;;;;;;;;ICA1C,qCAAM,KAAN,Q;IAA/B,mC;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/Clock.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/Exceptions.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/Instant.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/internal/dateCalculations.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/serializers/InstantSerializers.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/js/src/Instant.kt","commonMainSources/libraries/stdlib/common/src/generated/_Strings.kt","runtime/long.kt","commonMainSources/libraries/stdlib/src/kotlin/util/FloorDivMod.kt","jsMainSources/libraries/stdlib/js/src/kotlin/dynamic.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/js/src/JSJodaExceptions.kt","../../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/js/src/internal/mathJs.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwBkF,OAAL,6B;;;;;;;;;ICA1C,qCAAM,KAAN,Q;IAA/B,mC;;;;;;;;;;;;IC8LwD,OAAX,4BAAM,aAAN,C;;;IAwSlC,2B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