game_client_logic_deb 1.8.310 → 1.8.314
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 +78 -78
- package/Kosi-Kodein-kodein-di.js +647 -647
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1507 -1507
- package/Logic_Debertz-core.js +2244 -2215
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +15384 -15268
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +21 -15
- package/Logic_Debertz-game_client.js +5384 -4779
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2883 -2641
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +25 -25
- package/kotlinx-coroutines-core.js +2858 -2858
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +362 -362
- package/kotlinx-serialization-kotlinx-serialization-core.js +2038 -2038
- package/kotlinx-serialization-kotlinx-serialization-json.js +1569 -1569
- package/ktor-ktor-client-content-negotiation.js +219 -219
- package/ktor-ktor-client-core.js +2528 -2528
- package/ktor-ktor-client-logging.js +553 -553
- package/ktor-ktor-events.js +12 -12
- package/ktor-ktor-http.js +762 -762
- package/ktor-ktor-io.js +1659 -1659
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +271 -271
- package/ktor-ktor-serialization.js +130 -130
- package/ktor-ktor-utils.js +741 -741
- package/ktor-ktor-websockets.js +60 -60
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +341 -318
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +102 -102
- package/raspberry-cardgame-lib-random.js +993 -978
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +18 -18
- package/uuid.js +33 -33
package/Kosi-Kaverit-kaverit.js
CHANGED
|
@@ -12,29 +12,29 @@
|
|
|
12
12
|
}(function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var Unit = kotlin_kotlin.$_$.
|
|
15
|
+
var Unit = kotlin_kotlin.$_$.fh;
|
|
16
16
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
17
|
-
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.
|
|
18
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
19
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
21
|
-
var equals = kotlin_kotlin.$_$.
|
|
22
|
-
var Collection = kotlin_kotlin.$_$.
|
|
23
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
17
|
+
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.f5;
|
|
18
|
+
var protoOf = kotlin_kotlin.$_$.wc;
|
|
19
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.wb;
|
|
20
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.yb;
|
|
21
|
+
var equals = kotlin_kotlin.$_$.nb;
|
|
22
|
+
var Collection = kotlin_kotlin.$_$.s5;
|
|
23
|
+
var isInterface = kotlin_kotlin.$_$.jc;
|
|
24
24
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
25
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
25
|
+
var initMetadataForClass = kotlin_kotlin.$_$.vb;
|
|
26
26
|
var VOID = kotlin_kotlin.$_$.f;
|
|
27
|
-
var toString = kotlin_kotlin.$_$.
|
|
28
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
29
|
-
var KClass = kotlin_kotlin.$_$.
|
|
30
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
27
|
+
var toString = kotlin_kotlin.$_$.ad;
|
|
28
|
+
var THROW_CCE = kotlin_kotlin.$_$.ug;
|
|
29
|
+
var KClass = kotlin_kotlin.$_$.nd;
|
|
30
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.t6;
|
|
31
31
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
32
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
33
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
34
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
35
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
32
|
+
var Unit_instance = kotlin_kotlin.$_$.q5;
|
|
33
|
+
var copyToArray = kotlin_kotlin.$_$.j7;
|
|
34
|
+
var Companion_getInstance = kotlin_kotlin.$_$.g5;
|
|
35
|
+
var emptyList = kotlin_kotlin.$_$.o7;
|
|
36
36
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
37
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
37
|
+
var hashCode = kotlin_kotlin.$_$.ub;
|
|
38
38
|
//endregion
|
|
39
39
|
//region block: pre-declaration
|
|
40
40
|
initMetadataForCompanion(Companion);
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
Companion_instance = this;
|
|
50
50
|
var tmp = this;
|
|
51
51
|
// Inline function 'org.kodein.type.erased' call
|
|
52
|
-
tmp.
|
|
52
|
+
tmp.t5u_1 = erased(getKClass(Unit));
|
|
53
53
|
var tmp_0 = this;
|
|
54
54
|
// Inline function 'org.kodein.type.erased' call
|
|
55
|
-
tmp_0.
|
|
55
|
+
tmp_0.u5u_1 = erased(PrimitiveClasses_getInstance().hb());
|
|
56
56
|
}
|
|
57
57
|
var Companion_instance;
|
|
58
58
|
function Companion_getInstance_0() {
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
Companion_instance_0 = this;
|
|
67
67
|
var tmp = this;
|
|
68
68
|
// Inline function 'org.kodein.type.erased' call
|
|
69
|
-
tmp.
|
|
69
|
+
tmp.e5v_1 = erased(getKClass(Unit));
|
|
70
70
|
var tmp_0 = this;
|
|
71
71
|
// Inline function 'org.kodein.type.erased' call
|
|
72
|
-
tmp_0.
|
|
72
|
+
tmp_0.f5v_1 = erased(PrimitiveClasses_getInstance().hb());
|
|
73
73
|
}
|
|
74
74
|
var Companion_instance_0;
|
|
75
75
|
function Companion_getInstance_1() {
|
|
@@ -80,16 +80,16 @@
|
|
|
80
80
|
function AbstractTypeToken() {
|
|
81
81
|
Companion_getInstance_1();
|
|
82
82
|
}
|
|
83
|
-
protoOf(AbstractTypeToken).
|
|
84
|
-
if (this.equals(typeToken) || this.equals(Companion_getInstance_1().
|
|
83
|
+
protoOf(AbstractTypeToken).d5v = function (typeToken) {
|
|
84
|
+
if (this.equals(typeToken) || this.equals(Companion_getInstance_1().f5v_1))
|
|
85
85
|
return true;
|
|
86
|
-
var raw = this.
|
|
87
|
-
if (equals(raw, typeToken.
|
|
88
|
-
var thisParams = this.
|
|
86
|
+
var raw = this.z5u();
|
|
87
|
+
if (equals(raw, typeToken.z5u())) {
|
|
88
|
+
var thisParams = this.a5v();
|
|
89
89
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
90
90
|
if (thisParams.length === 0)
|
|
91
91
|
return true;
|
|
92
|
-
var tokenParams = typeToken.
|
|
92
|
+
var tokenParams = typeToken.a5v();
|
|
93
93
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
94
94
|
var index = 0;
|
|
95
95
|
var inductionVariable = 0;
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
var tmp1 = index;
|
|
102
102
|
index = tmp1 + 1 | 0;
|
|
103
103
|
var tokenParam = tokenParams[tmp1];
|
|
104
|
-
if (!item.
|
|
104
|
+
if (!item.d5v(tokenParam))
|
|
105
105
|
return false;
|
|
106
106
|
}
|
|
107
107
|
return true;
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
var tmp$ret$1;
|
|
110
110
|
$l$block_0: {
|
|
111
111
|
// Inline function 'kotlin.collections.any' call
|
|
112
|
-
var this_0 = typeToken.
|
|
112
|
+
var this_0 = typeToken.c5v();
|
|
113
113
|
var tmp;
|
|
114
114
|
if (isInterface(this_0, Collection)) {
|
|
115
115
|
tmp = this_0.p();
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
while (tmp0_iterator.k()) {
|
|
125
125
|
var element = tmp0_iterator.l();
|
|
126
126
|
// Inline function 'org.kodein.type.AbstractTypeToken.isAssignableFrom.<anonymous>' call
|
|
127
|
-
if (this.
|
|
127
|
+
if (this.d5v(element)) {
|
|
128
128
|
tmp$ret$1 = true;
|
|
129
129
|
break $l$block_0;
|
|
130
130
|
}
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
return tmp$ret$1;
|
|
135
135
|
};
|
|
136
136
|
protoOf(AbstractTypeToken).toString = function () {
|
|
137
|
-
return this.
|
|
137
|
+
return this.x5u();
|
|
138
138
|
};
|
|
139
139
|
protoOf(AbstractTypeToken).equals = function (other) {
|
|
140
140
|
if (this === other)
|
|
@@ -142,12 +142,12 @@
|
|
|
142
142
|
if (!(!(other == null) ? isInterface(other, TypeToken) : false))
|
|
143
143
|
return false;
|
|
144
144
|
if (getKClassFromExpression(this).equals(getKClassFromExpression(other)))
|
|
145
|
-
return this.
|
|
146
|
-
if (!equals(this.
|
|
145
|
+
return this.g5v(other);
|
|
146
|
+
if (!equals(this.z5u(), other.z5u()))
|
|
147
147
|
return false;
|
|
148
|
-
if (!this.
|
|
149
|
-
var tParams = this.
|
|
150
|
-
var oParams = other.
|
|
148
|
+
if (!this.b5v() || !other.b5v()) {
|
|
149
|
+
var tParams = this.a5v();
|
|
150
|
+
var oParams = other.a5v();
|
|
151
151
|
if (!(tParams.length === oParams.length))
|
|
152
152
|
return false;
|
|
153
153
|
var inductionVariable = 0;
|
|
@@ -164,44 +164,44 @@
|
|
|
164
164
|
return true;
|
|
165
165
|
};
|
|
166
166
|
protoOf(AbstractTypeToken).hashCode = function () {
|
|
167
|
-
return this.
|
|
167
|
+
return this.h5v();
|
|
168
168
|
};
|
|
169
169
|
function JSKClassTypeToken(type) {
|
|
170
170
|
AbstractKClassTypeToken.call(this, type);
|
|
171
171
|
}
|
|
172
|
-
protoOf(JSKClassTypeToken).
|
|
173
|
-
var tmp0_elvis_lhs = this.
|
|
172
|
+
protoOf(JSKClassTypeToken).w5u = function () {
|
|
173
|
+
var tmp0_elvis_lhs = this.j5v_1.qa();
|
|
174
174
|
return tmp0_elvis_lhs == null ? '(non-denotable type)' : tmp0_elvis_lhs;
|
|
175
175
|
};
|
|
176
|
-
protoOf(JSKClassTypeToken).
|
|
177
|
-
var tmp0_elvis_lhs = this.
|
|
176
|
+
protoOf(JSKClassTypeToken).y5u = function () {
|
|
177
|
+
var tmp0_elvis_lhs = this.j5v_1.qa();
|
|
178
178
|
return tmp0_elvis_lhs == null ? '(non-denotable type)' : tmp0_elvis_lhs;
|
|
179
179
|
};
|
|
180
180
|
function JSKTypeTypeToken(type) {
|
|
181
181
|
AbstractTypeToken.call(this);
|
|
182
|
-
this.
|
|
182
|
+
this.k5v_1 = type;
|
|
183
183
|
}
|
|
184
|
-
protoOf(JSKTypeTypeToken).
|
|
185
|
-
return toString(this.
|
|
184
|
+
protoOf(JSKTypeTypeToken).v5u = function () {
|
|
185
|
+
return toString(this.k5v_1);
|
|
186
186
|
};
|
|
187
|
-
protoOf(JSKTypeTypeToken).
|
|
188
|
-
return toString(this.
|
|
187
|
+
protoOf(JSKTypeTypeToken).x5u = function () {
|
|
188
|
+
return toString(this.k5v_1);
|
|
189
189
|
};
|
|
190
|
-
protoOf(JSKTypeTypeToken).
|
|
191
|
-
var tmp = this.
|
|
190
|
+
protoOf(JSKTypeTypeToken).z5u = function () {
|
|
191
|
+
var tmp = this.k5v_1.eb();
|
|
192
192
|
return new JSKClassTypeToken((!(tmp == null) ? isInterface(tmp, KClass) : false) ? tmp : THROW_CCE());
|
|
193
193
|
};
|
|
194
|
-
protoOf(JSKTypeTypeToken).
|
|
194
|
+
protoOf(JSKTypeTypeToken).a5v = function () {
|
|
195
195
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
196
196
|
// Inline function 'kotlin.collections.map' call
|
|
197
|
-
var this_0 = this.
|
|
197
|
+
var this_0 = this.k5v_1.fb();
|
|
198
198
|
// Inline function 'kotlin.collections.mapTo' call
|
|
199
199
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
200
200
|
var tmp0_iterator = this_0.j();
|
|
201
201
|
while (tmp0_iterator.k()) {
|
|
202
202
|
var item = tmp0_iterator.l();
|
|
203
203
|
// Inline function 'org.kodein.type.JSKTypeTypeToken.getGenericParameters.<anonymous>' call
|
|
204
|
-
var tmp2_safe_receiver = item.
|
|
204
|
+
var tmp2_safe_receiver = item.ri_1;
|
|
205
205
|
var tmp;
|
|
206
206
|
if (tmp2_safe_receiver == null) {
|
|
207
207
|
tmp = null;
|
|
@@ -212,16 +212,16 @@
|
|
|
212
212
|
tmp = typeToken(tmp2_safe_receiver);
|
|
213
213
|
}
|
|
214
214
|
var tmp0_elvis_lhs = tmp;
|
|
215
|
-
var tmp$ret$2 = tmp0_elvis_lhs == null ? Companion_getInstance_1().
|
|
215
|
+
var tmp$ret$2 = tmp0_elvis_lhs == null ? Companion_getInstance_1().f5v_1 : tmp0_elvis_lhs;
|
|
216
216
|
destination.e(tmp$ret$2);
|
|
217
217
|
}
|
|
218
218
|
return copyToArray(destination);
|
|
219
219
|
};
|
|
220
|
-
protoOf(JSKTypeTypeToken).
|
|
220
|
+
protoOf(JSKTypeTypeToken).b5v = function () {
|
|
221
221
|
var tmp$ret$0;
|
|
222
222
|
$l$block_0: {
|
|
223
223
|
// Inline function 'kotlin.collections.all' call
|
|
224
|
-
var this_0 = this.
|
|
224
|
+
var this_0 = this.k5v_1.fb();
|
|
225
225
|
var tmp;
|
|
226
226
|
if (isInterface(this_0, Collection)) {
|
|
227
227
|
tmp = this_0.p();
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
while (tmp0_iterator.k()) {
|
|
237
237
|
var element = tmp0_iterator.l();
|
|
238
238
|
// Inline function 'org.kodein.type.JSKTypeTypeToken.isWildcard.<anonymous>' call
|
|
239
|
-
if (!element.equals(Companion_getInstance().
|
|
239
|
+
if (!element.equals(Companion_getInstance().pi())) {
|
|
240
240
|
tmp$ret$0 = false;
|
|
241
241
|
break $l$block_0;
|
|
242
242
|
}
|
|
@@ -245,10 +245,10 @@
|
|
|
245
245
|
}
|
|
246
246
|
return tmp$ret$0;
|
|
247
247
|
};
|
|
248
|
-
protoOf(JSKTypeTypeToken).
|
|
248
|
+
protoOf(JSKTypeTypeToken).c5v = function () {
|
|
249
249
|
return emptyList();
|
|
250
250
|
};
|
|
251
|
-
protoOf(JSKTypeTypeToken).
|
|
251
|
+
protoOf(JSKTypeTypeToken).g5v = function (other) {
|
|
252
252
|
// Inline function 'kotlin.require' call
|
|
253
253
|
// Inline function 'kotlin.contracts.contract' call
|
|
254
254
|
// Inline function 'kotlin.require' call
|
|
@@ -258,18 +258,18 @@
|
|
|
258
258
|
var message = 'Failed requirement.';
|
|
259
259
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
260
260
|
}
|
|
261
|
-
return equals(this.
|
|
261
|
+
return equals(this.k5v_1, other.k5v_1);
|
|
262
262
|
};
|
|
263
|
-
protoOf(JSKTypeTypeToken).
|
|
264
|
-
return hashCode(this.
|
|
263
|
+
protoOf(JSKTypeTypeToken).h5v = function () {
|
|
264
|
+
return hashCode(this.k5v_1);
|
|
265
265
|
};
|
|
266
266
|
function erasedOf(obj) {
|
|
267
267
|
return new JSKClassTypeToken(getKClassFromExpression(obj));
|
|
268
268
|
}
|
|
269
269
|
function typeToken(type) {
|
|
270
270
|
var tmp;
|
|
271
|
-
if (type.
|
|
272
|
-
var tmp_0 = type.
|
|
271
|
+
if (type.fb().p()) {
|
|
272
|
+
var tmp_0 = type.eb();
|
|
273
273
|
tmp = new JSKClassTypeToken((!(tmp_0 == null) ? isInterface(tmp_0, KClass) : false) ? tmp_0 : THROW_CCE());
|
|
274
274
|
} else {
|
|
275
275
|
tmp = new JSKTypeTypeToken(type);
|
|
@@ -281,35 +281,35 @@
|
|
|
281
281
|
}
|
|
282
282
|
function AbstractKClassTypeToken(type) {
|
|
283
283
|
AbstractTypeToken.call(this);
|
|
284
|
-
this.
|
|
284
|
+
this.j5v_1 = type;
|
|
285
285
|
}
|
|
286
|
-
protoOf(AbstractKClassTypeToken).
|
|
287
|
-
return this.
|
|
286
|
+
protoOf(AbstractKClassTypeToken).v5u = function () {
|
|
287
|
+
return this.w5u();
|
|
288
288
|
};
|
|
289
|
-
protoOf(AbstractKClassTypeToken).
|
|
290
|
-
return this.
|
|
289
|
+
protoOf(AbstractKClassTypeToken).x5u = function () {
|
|
290
|
+
return this.y5u();
|
|
291
291
|
};
|
|
292
|
-
protoOf(AbstractKClassTypeToken).
|
|
292
|
+
protoOf(AbstractKClassTypeToken).z5u = function () {
|
|
293
293
|
return this;
|
|
294
294
|
};
|
|
295
|
-
protoOf(AbstractKClassTypeToken).
|
|
295
|
+
protoOf(AbstractKClassTypeToken).b5v = function () {
|
|
296
296
|
return true;
|
|
297
297
|
};
|
|
298
|
-
protoOf(AbstractKClassTypeToken).
|
|
298
|
+
protoOf(AbstractKClassTypeToken).c5v = function () {
|
|
299
299
|
return emptyList();
|
|
300
300
|
};
|
|
301
|
-
protoOf(AbstractKClassTypeToken).
|
|
301
|
+
protoOf(AbstractKClassTypeToken).a5v = function () {
|
|
302
302
|
// Inline function 'kotlin.emptyArray' call
|
|
303
303
|
return [];
|
|
304
304
|
};
|
|
305
|
-
protoOf(AbstractKClassTypeToken).
|
|
305
|
+
protoOf(AbstractKClassTypeToken).d5v = function (typeToken) {
|
|
306
306
|
if (this.equals(typeToken))
|
|
307
307
|
return true;
|
|
308
|
-
if (this.
|
|
308
|
+
if (this.j5v_1.equals(PrimitiveClasses_getInstance().hb()))
|
|
309
309
|
return true;
|
|
310
310
|
return false;
|
|
311
311
|
};
|
|
312
|
-
protoOf(AbstractKClassTypeToken).
|
|
312
|
+
protoOf(AbstractKClassTypeToken).g5v = function (other) {
|
|
313
313
|
// Inline function 'kotlin.require' call
|
|
314
314
|
// Inline function 'kotlin.contracts.contract' call
|
|
315
315
|
// Inline function 'kotlin.require' call
|
|
@@ -319,12 +319,12 @@
|
|
|
319
319
|
var message = 'Failed requirement.';
|
|
320
320
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
321
321
|
}
|
|
322
|
-
if (!this.
|
|
322
|
+
if (!this.j5v_1.equals(other.j5v_1))
|
|
323
323
|
return false;
|
|
324
324
|
return true;
|
|
325
325
|
};
|
|
326
|
-
protoOf(AbstractKClassTypeToken).
|
|
327
|
-
return this.
|
|
326
|
+
protoOf(AbstractKClassTypeToken).h5v = function () {
|
|
327
|
+
return this.j5v_1.hashCode();
|
|
328
328
|
};
|
|
329
329
|
//region block: exports
|
|
330
330
|
_.$_$ = _.$_$ || {};
|