client_plugin_logic_deb 1.5.0 → 1.5.9
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 +28 -28
- package/Kodein-kodein-di.js +620 -620
- package/KosiTypeSystem-kaverit.js +81 -81
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +86 -86
- package/Logic_Debertz-client_plugin.d.ts +73 -12
- package/Logic_Debertz-client_plugin.js +4696 -4529
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2536 -1943
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +14952 -13630
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +10799 -10231
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1612 -1042
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +1919 -1982
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1959 -1959
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1402 -1405
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +4855 -2982
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +34 -34
|
@@ -12,30 +12,30 @@
|
|
|
12
12
|
}(this, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
16
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
17
|
-
var Unit_getInstance = kotlin_kotlin.$_$.
|
|
18
|
-
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.
|
|
19
|
-
var toString = kotlin_kotlin.$_$.
|
|
15
|
+
var protoOf = kotlin_kotlin.$_$.ka;
|
|
16
|
+
var emptyList = kotlin_kotlin.$_$.e6;
|
|
17
|
+
var Unit_getInstance = kotlin_kotlin.$_$.s4;
|
|
18
|
+
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.i4;
|
|
19
|
+
var toString = kotlin_kotlin.$_$.pa;
|
|
20
20
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
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.$_$.g9;
|
|
22
|
+
var VOID = kotlin_kotlin.$_$.ge;
|
|
23
|
+
var setMetadataFor = kotlin_kotlin.$_$.la;
|
|
24
|
+
var Unit = kotlin_kotlin.$_$.nd;
|
|
25
25
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
26
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
27
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
28
|
-
var equals = kotlin_kotlin.$_$.
|
|
29
|
-
var Collection = kotlin_kotlin.$_$.
|
|
30
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
26
|
+
var objectMeta = kotlin_kotlin.$_$.ja;
|
|
27
|
+
var interfaceMeta = kotlin_kotlin.$_$.p9;
|
|
28
|
+
var equals = kotlin_kotlin.$_$.j9;
|
|
29
|
+
var Collection = kotlin_kotlin.$_$.u4;
|
|
30
|
+
var isInterface = kotlin_kotlin.$_$.x9;
|
|
31
31
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
32
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
32
|
+
var THROW_CCE = kotlin_kotlin.$_$.cd;
|
|
33
33
|
var KClass = kotlin_kotlin.$_$.xa;
|
|
34
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
34
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.l5;
|
|
35
35
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
36
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
37
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
38
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
36
|
+
var copyToArray = kotlin_kotlin.$_$.b6;
|
|
37
|
+
var Companion_getInstance = kotlin_kotlin.$_$.j4;
|
|
38
|
+
var hashCode = kotlin_kotlin.$_$.o9;
|
|
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.w2j_1 = type;
|
|
52
52
|
}
|
|
53
|
-
protoOf(AbstractKClassTypeToken).
|
|
54
|
-
return this.
|
|
53
|
+
protoOf(AbstractKClassTypeToken).x2j = function () {
|
|
54
|
+
return this.y2j();
|
|
55
55
|
};
|
|
56
|
-
protoOf(AbstractKClassTypeToken).
|
|
57
|
-
return this.
|
|
56
|
+
protoOf(AbstractKClassTypeToken).z2j = function () {
|
|
57
|
+
return this.a2k();
|
|
58
58
|
};
|
|
59
|
-
protoOf(AbstractKClassTypeToken).
|
|
59
|
+
protoOf(AbstractKClassTypeToken).b2k = function () {
|
|
60
60
|
return this;
|
|
61
61
|
};
|
|
62
|
-
protoOf(AbstractKClassTypeToken).
|
|
62
|
+
protoOf(AbstractKClassTypeToken).c2k = function () {
|
|
63
63
|
return true;
|
|
64
64
|
};
|
|
65
|
-
protoOf(AbstractKClassTypeToken).
|
|
65
|
+
protoOf(AbstractKClassTypeToken).d2k = function () {
|
|
66
66
|
return emptyList();
|
|
67
67
|
};
|
|
68
|
-
protoOf(AbstractKClassTypeToken).
|
|
68
|
+
protoOf(AbstractKClassTypeToken).e2k = 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).f2k = function (typeToken) {
|
|
75
75
|
if (this.equals(typeToken))
|
|
76
76
|
return true;
|
|
77
|
-
if (this.
|
|
77
|
+
if (this.w2j_1.equals(PrimitiveClasses_getInstance().ff()))
|
|
78
78
|
return true;
|
|
79
79
|
return false;
|
|
80
80
|
};
|
|
81
|
-
protoOf(AbstractKClassTypeToken).
|
|
81
|
+
protoOf(AbstractKClassTypeToken).g2k = 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.w2j_1.equals(other.w2j_1))
|
|
94
94
|
return false;
|
|
95
95
|
return true;
|
|
96
96
|
};
|
|
97
|
-
protoOf(AbstractKClassTypeToken).
|
|
98
|
-
return this.
|
|
97
|
+
protoOf(AbstractKClassTypeToken).h2k = function () {
|
|
98
|
+
return this.w2j_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.i2k_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().ff());
|
|
111
|
+
tmp_0.j2k_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.k2k_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().ff());
|
|
132
|
+
tmp_0.l2k_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).f2k = function (typeToken) {
|
|
144
|
+
if (this.equals(typeToken) ? true : this.equals(Companion_getInstance_1().l2k_1))
|
|
145
145
|
return true;
|
|
146
|
-
var raw = this.
|
|
147
|
-
if (equals(raw, typeToken.
|
|
148
|
-
var thisParams = this.
|
|
146
|
+
var raw = this.b2k();
|
|
147
|
+
if (equals(raw, typeToken.b2k())) {
|
|
148
|
+
var thisParams = this.e2k();
|
|
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.e2k();
|
|
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.f2k(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.d2k();
|
|
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.f2k(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.z2j();
|
|
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.g2k(other);
|
|
212
|
+
if (!equals(this.b2k(), other.b2k()))
|
|
213
213
|
return false;
|
|
214
|
-
if (!this.
|
|
215
|
-
var tParams = this.
|
|
216
|
-
var oParams = other.
|
|
214
|
+
if (!this.c2k() ? true : !other.c2k()) {
|
|
215
|
+
var tParams = this.e2k();
|
|
216
|
+
var oParams = other.e2k();
|
|
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.h2k();
|
|
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).y2j = function () {
|
|
239
|
+
var tmp0_elvis_lhs = this.w2j_1.qe();
|
|
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).a2k = function () {
|
|
243
|
+
var tmp0_elvis_lhs = this.w2j_1.qe();
|
|
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.n2k_1 = type;
|
|
249
249
|
}
|
|
250
|
-
protoOf(JSKTypeTypeToken).
|
|
251
|
-
return toString(this.
|
|
250
|
+
protoOf(JSKTypeTypeToken).x2j = function () {
|
|
251
|
+
return toString(this.n2k_1);
|
|
252
252
|
};
|
|
253
|
-
protoOf(JSKTypeTypeToken).
|
|
254
|
-
return toString(this.
|
|
253
|
+
protoOf(JSKTypeTypeToken).z2j = function () {
|
|
254
|
+
return toString(this.n2k_1);
|
|
255
255
|
};
|
|
256
|
-
protoOf(JSKTypeTypeToken).
|
|
257
|
-
var tmp = this.
|
|
256
|
+
protoOf(JSKTypeTypeToken).b2k = function () {
|
|
257
|
+
var tmp = this.n2k_1.cf();
|
|
258
258
|
return new JSKClassTypeToken((!(tmp == null) ? isInterface(tmp, KClass) : false) ? tmp : THROW_CCE());
|
|
259
259
|
};
|
|
260
|
-
protoOf(JSKTypeTypeToken).
|
|
260
|
+
protoOf(JSKTypeTypeToken).e2k = 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.n2k_1.df();
|
|
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.k7_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().l2k_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).c2k = 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.n2k_1.df();
|
|
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().h7());
|
|
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).d2k = function () {
|
|
329
329
|
return emptyList();
|
|
330
330
|
};
|
|
331
|
-
protoOf(JSKTypeTypeToken).
|
|
331
|
+
protoOf(JSKTypeTypeToken).g2k = 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.n2k_1, other.n2k_1);
|
|
344
344
|
};
|
|
345
|
-
protoOf(JSKTypeTypeToken).
|
|
346
|
-
return hashCode(this.
|
|
345
|
+
protoOf(JSKTypeTypeToken).h2k = function () {
|
|
346
|
+
return hashCode(this.n2k_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.df().l()) {
|
|
354
|
+
var tmp_0 = type.cf();
|
|
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);
|