client_plugin_logic_deb 1.8.351 → 1.8.354
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 +70 -70
- package/Kosi-Kodein-kodein-di.js +562 -562
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1592 -1592
- package/Logic_Debertz-client_plugin.d.ts +4 -4
- package/Logic_Debertz-client_plugin.js +3728 -3559
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1749 -1749
- package/Logic_Debertz-engine.js +17902 -17818
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +10884 -10040
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1131 -1130
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +349 -336
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +5 -5
- package/kotlinx-coroutines-core.js +2653 -1687
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +338 -338
- package/kotlinx-serialization-kotlinx-serialization-core.js +1915 -1915
- package/kotlinx-serialization-kotlinx-serialization-json.js +1428 -1428
- package/ktor-ktor-client-content-negotiation.js +157 -157
- package/ktor-ktor-client-core.js +1623 -1623
- package/ktor-ktor-client-logging.js +318 -318
- package/ktor-ktor-events.js +11 -11
- package/ktor-ktor-http.js +683 -683
- package/ktor-ktor-io.js +1301 -1301
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +169 -169
- package/ktor-ktor-serialization.js +85 -85
- package/ktor-ktor-utils.js +560 -560
- package/ktor-ktor-websockets.js +56 -56
- package/package.json +1 -1
- package/random-library-crypto-rand.js +11 -11
- package/random-library-secure-random.js +6 -6
- package/raspberry-cardgame-lib-core.js +225 -225
- package/raspberry-cardgame-lib-logger.js +13 -13
- package/raspberry-cardgame-lib-random.js +870 -870
- package/uuid.js +26 -26
package/ktor-ktor-websockets.js
CHANGED
|
@@ -16,25 +16,25 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
20
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
19
|
+
var mapCapacity = kotlin_kotlin.$_$.n8;
|
|
20
|
+
var coerceAtLeast = kotlin_kotlin.$_$.dd;
|
|
21
21
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
22
22
|
var Unit_instance = kotlin_kotlin.$_$.j5;
|
|
23
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
24
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
25
|
-
var Enum = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
23
|
+
var protoOf = kotlin_kotlin.$_$.uc;
|
|
24
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ub;
|
|
25
|
+
var Enum = kotlin_kotlin.$_$.ig;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.tb;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.f;
|
|
28
|
-
var toString = kotlin_kotlin.$_$.
|
|
29
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
30
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
31
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
32
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
33
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
34
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
35
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
28
|
+
var toString = kotlin_kotlin.$_$.yc;
|
|
29
|
+
var getStringHashCode = kotlin_kotlin.$_$.rb;
|
|
30
|
+
var THROW_CCE = kotlin_kotlin.$_$.tg;
|
|
31
|
+
var initMetadataForObject = kotlin_kotlin.$_$.yb;
|
|
32
|
+
var get_lastIndex = kotlin_kotlin.$_$.f8;
|
|
33
|
+
var compareTo = kotlin_kotlin.$_$.kb;
|
|
34
|
+
var ensureNotNull = kotlin_kotlin.$_$.kh;
|
|
35
|
+
var objectCreate = kotlin_kotlin.$_$.tc;
|
|
36
36
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.g;
|
|
37
|
-
var encodeToByteArray = kotlin_kotlin.$_$.
|
|
37
|
+
var encodeToByteArray = kotlin_kotlin.$_$.ae;
|
|
38
38
|
var encodeToByteArray_0 = kotlin_io_ktor_ktor_io.$_$.k;
|
|
39
39
|
var BytePacketBuilder = kotlin_io_ktor_ktor_io.$_$.q;
|
|
40
40
|
var writeShort = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
while (inductionVariable < last) {
|
|
80
80
|
var element = this_0[inductionVariable];
|
|
81
81
|
inductionVariable = inductionVariable + 1 | 0;
|
|
82
|
-
var tmp$ret$0 = element.
|
|
82
|
+
var tmp$ret$0 = element.x31_1;
|
|
83
83
|
destination.n2(tmp$ret$0, element);
|
|
84
84
|
}
|
|
85
|
-
tmp.
|
|
86
|
-
this.
|
|
85
|
+
tmp.y31_1 = destination;
|
|
86
|
+
this.z31_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
87
87
|
}
|
|
88
|
-
protoOf(Companion).
|
|
89
|
-
return this.
|
|
88
|
+
protoOf(Companion).a32 = function (code) {
|
|
89
|
+
return this.y31_1.k2(code);
|
|
90
90
|
};
|
|
91
91
|
var Companion_instance;
|
|
92
92
|
function Companion_getInstance() {
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
}
|
|
120
120
|
function Codes(name, ordinal, code) {
|
|
121
121
|
Enum.call(this, name, ordinal);
|
|
122
|
-
this.
|
|
122
|
+
this.x31_1 = code;
|
|
123
123
|
}
|
|
124
124
|
function Codes_NORMAL_getInstance() {
|
|
125
125
|
Codes_initEntries();
|
|
@@ -170,19 +170,19 @@
|
|
|
170
170
|
return Codes_TRY_AGAIN_LATER_instance;
|
|
171
171
|
}
|
|
172
172
|
function CloseReason(code, message) {
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
173
|
+
this.b32_1 = code;
|
|
174
|
+
this.c32_1 = message;
|
|
175
175
|
}
|
|
176
|
-
protoOf(CloseReason).
|
|
177
|
-
return Companion_getInstance().
|
|
176
|
+
protoOf(CloseReason).d32 = function () {
|
|
177
|
+
return Companion_getInstance().a32(this.b32_1);
|
|
178
178
|
};
|
|
179
179
|
protoOf(CloseReason).toString = function () {
|
|
180
|
-
var tmp0_elvis_lhs = this.
|
|
181
|
-
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.
|
|
180
|
+
var tmp0_elvis_lhs = this.d32();
|
|
181
|
+
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.b32_1 : tmp0_elvis_lhs) + ', message=' + this.c32_1 + ')';
|
|
182
182
|
};
|
|
183
183
|
protoOf(CloseReason).hashCode = function () {
|
|
184
|
-
var result = this.
|
|
185
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
184
|
+
var result = this.b32_1;
|
|
185
|
+
result = imul(result, 31) + getStringHashCode(this.c32_1) | 0;
|
|
186
186
|
return result;
|
|
187
187
|
};
|
|
188
188
|
protoOf(CloseReason).equals = function (other) {
|
|
@@ -191,9 +191,9 @@
|
|
|
191
191
|
if (!(other instanceof CloseReason))
|
|
192
192
|
return false;
|
|
193
193
|
var tmp0_other_with_cast = other instanceof CloseReason ? other : THROW_CCE();
|
|
194
|
-
if (!(this.
|
|
194
|
+
if (!(this.b32_1 === tmp0_other_with_cast.b32_1))
|
|
195
195
|
return false;
|
|
196
|
-
if (!(this.
|
|
196
|
+
if (!(this.c32_1 === tmp0_other_with_cast.c32_1))
|
|
197
197
|
return false;
|
|
198
198
|
return true;
|
|
199
199
|
};
|
|
@@ -231,14 +231,14 @@
|
|
|
231
231
|
tmp$ret$1 = maxElem;
|
|
232
232
|
break $l$block_0;
|
|
233
233
|
}
|
|
234
|
-
var maxValue = maxElem.
|
|
234
|
+
var maxValue = maxElem.h32_1;
|
|
235
235
|
var inductionVariable = 1;
|
|
236
236
|
if (inductionVariable <= lastIndex)
|
|
237
237
|
do {
|
|
238
238
|
var i = inductionVariable;
|
|
239
239
|
inductionVariable = inductionVariable + 1 | 0;
|
|
240
240
|
var e = tmp0[i];
|
|
241
|
-
var v = e.
|
|
241
|
+
var v = e.h32_1;
|
|
242
242
|
if (compareTo(maxValue, v) < 0) {
|
|
243
243
|
maxElem = e;
|
|
244
244
|
maxValue = v;
|
|
@@ -247,10 +247,10 @@
|
|
|
247
247
|
while (!(i === lastIndex));
|
|
248
248
|
tmp$ret$1 = maxElem;
|
|
249
249
|
}
|
|
250
|
-
tmp.
|
|
250
|
+
tmp.i32_1 = ensureNotNull(tmp$ret$1).h32_1;
|
|
251
251
|
var tmp_0 = this;
|
|
252
252
|
var tmp_1 = 0;
|
|
253
|
-
var tmp_2 = this.
|
|
253
|
+
var tmp_2 = this.i32_1 + 1 | 0;
|
|
254
254
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
255
255
|
var tmp_3 = Array(tmp_2);
|
|
256
256
|
while (tmp_1 < tmp_2) {
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
while (inductionVariable_0 < last) {
|
|
267
267
|
var element = tmp0_0[inductionVariable_0];
|
|
268
268
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
269
|
-
if (element.
|
|
269
|
+
if (element.h32_1 === tmp_4) {
|
|
270
270
|
if (found) {
|
|
271
271
|
tmp$ret$6 = null;
|
|
272
272
|
break $l$block_2;
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
tmp_3[tmp_4] = tmp$ret$6;
|
|
285
285
|
tmp_1 = tmp_1 + 1 | 0;
|
|
286
286
|
}
|
|
287
|
-
tmp_0.
|
|
287
|
+
tmp_0.j32_1 = tmp_3;
|
|
288
288
|
}
|
|
289
289
|
var Companion_instance_0;
|
|
290
290
|
function Companion_getInstance_0() {
|
|
@@ -310,8 +310,8 @@
|
|
|
310
310
|
}
|
|
311
311
|
function FrameType(name, ordinal, controlFrame, opcode) {
|
|
312
312
|
Enum.call(this, name, ordinal);
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
313
|
+
this.g32_1 = controlFrame;
|
|
314
|
+
this.h32_1 = opcode;
|
|
315
315
|
}
|
|
316
316
|
function FrameType_TEXT_getInstance() {
|
|
317
317
|
FrameType_initEntries();
|
|
@@ -348,12 +348,12 @@
|
|
|
348
348
|
var tmp$ret$0;
|
|
349
349
|
$l$block: {
|
|
350
350
|
// Inline function 'io.ktor.utils.io.core.toByteArray' call
|
|
351
|
-
var charset = Charsets_getInstance().
|
|
352
|
-
if (charset.equals(Charsets_getInstance().
|
|
351
|
+
var charset = Charsets_getInstance().y2d_1;
|
|
352
|
+
if (charset.equals(Charsets_getInstance().y2d_1)) {
|
|
353
353
|
tmp$ret$0 = encodeToByteArray(text);
|
|
354
354
|
break $l$block;
|
|
355
355
|
}
|
|
356
|
-
tmp$ret$0 = encodeToByteArray_0(charset.
|
|
356
|
+
tmp$ret$0 = encodeToByteArray_0(charset.c2e(), text, 0, text.length);
|
|
357
357
|
}
|
|
358
358
|
Text_init_$Init$(true, tmp$ret$0, $this);
|
|
359
359
|
return $this;
|
|
@@ -368,14 +368,14 @@
|
|
|
368
368
|
// Inline function 'kotlin.contracts.contract' call
|
|
369
369
|
var builder = new BytePacketBuilder();
|
|
370
370
|
try {
|
|
371
|
-
writeShort(builder, reason.
|
|
372
|
-
writeText(builder, reason.
|
|
373
|
-
tmp$ret$2 = builder.
|
|
371
|
+
writeShort(builder, reason.b32_1);
|
|
372
|
+
writeText(builder, reason.c32_1);
|
|
373
|
+
tmp$ret$2 = builder.s26();
|
|
374
374
|
break $l$block;
|
|
375
375
|
} catch ($p) {
|
|
376
376
|
if ($p instanceof Error) {
|
|
377
377
|
var t = $p;
|
|
378
|
-
builder.
|
|
378
|
+
builder.c1y();
|
|
379
379
|
throw t;
|
|
380
380
|
} else {
|
|
381
381
|
throw $p;
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
return $this;
|
|
394
394
|
}
|
|
395
395
|
function Close_init_$Init$_1($this) {
|
|
396
|
-
Close.call($this, Companion_getInstance_1().
|
|
396
|
+
Close.call($this, Companion_getInstance_1().k32_1);
|
|
397
397
|
return $this;
|
|
398
398
|
}
|
|
399
399
|
function Close_init_$Create$_0() {
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
}
|
|
417
417
|
function Companion_1() {
|
|
418
418
|
Companion_instance_1 = this;
|
|
419
|
-
this.
|
|
419
|
+
this.k32_1 = new Int8Array(0);
|
|
420
420
|
}
|
|
421
421
|
var Companion_instance_1;
|
|
422
422
|
function Companion_getInstance_1() {
|
|
@@ -430,16 +430,16 @@
|
|
|
430
430
|
rsv1 = rsv1 === VOID ? false : rsv1;
|
|
431
431
|
rsv2 = rsv2 === VOID ? false : rsv2;
|
|
432
432
|
rsv3 = rsv3 === VOID ? false : rsv3;
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
433
|
+
this.l32_1 = fin;
|
|
434
|
+
this.m32_1 = frameType;
|
|
435
|
+
this.n32_1 = data;
|
|
436
|
+
this.o32_1 = disposableHandle;
|
|
437
|
+
this.p32_1 = rsv1;
|
|
438
|
+
this.q32_1 = rsv2;
|
|
439
|
+
this.r32_1 = rsv3;
|
|
440
440
|
}
|
|
441
441
|
protoOf(Frame).toString = function () {
|
|
442
|
-
return 'Frame ' + this.
|
|
442
|
+
return 'Frame ' + this.m32_1.toString() + ' (fin=' + this.l32_1 + ', buffer len = ' + this.n32_1.length + ')';
|
|
443
443
|
};
|
|
444
444
|
//region block: init
|
|
445
445
|
NonDisposableHandle_instance = new NonDisposableHandle();
|
package/package.json
CHANGED
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
}(function (_, kotlin_kotlin, kotlin_org_kotlincrypto_error) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
19
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
18
|
+
var protoOf = kotlin_kotlin.$_$.uc;
|
|
19
|
+
var initMetadataForObject = kotlin_kotlin.$_$.yb;
|
|
20
20
|
var VOID = kotlin_kotlin.$_$.f;
|
|
21
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
21
|
+
var initMetadataForClass = kotlin_kotlin.$_$.tb;
|
|
22
22
|
var GeneralSecurityException_init_$Init$ = kotlin_org_kotlincrypto_error.$_$.a;
|
|
23
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
24
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
23
|
+
var objectCreate = kotlin_kotlin.$_$.tc;
|
|
24
|
+
var captureStack = kotlin_kotlin.$_$.db;
|
|
25
25
|
var GeneralSecurityException_init_$Init$_0 = kotlin_org_kotlincrypto_error.$_$.b;
|
|
26
26
|
var GeneralSecurityException = kotlin_org_kotlincrypto_error.$_$.c;
|
|
27
|
-
var KProperty0 = kotlin_kotlin.$_$.
|
|
28
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
29
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
30
|
-
var isNumber = kotlin_kotlin.$_$.
|
|
31
|
-
var numberToByte = kotlin_kotlin.$_$.
|
|
27
|
+
var KProperty0 = kotlin_kotlin.$_$.nd;
|
|
28
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.qb;
|
|
29
|
+
var THROW_CCE = kotlin_kotlin.$_$.tg;
|
|
30
|
+
var isNumber = kotlin_kotlin.$_$.jc;
|
|
31
|
+
var numberToByte = kotlin_kotlin.$_$.pc;
|
|
32
32
|
var Unit_instance = kotlin_kotlin.$_$.j5;
|
|
33
|
-
var lazy = kotlin_kotlin.$_$.
|
|
33
|
+
var lazy = kotlin_kotlin.$_$.qh;
|
|
34
34
|
//endregion
|
|
35
35
|
//region block: pre-declaration
|
|
36
36
|
initMetadataForClass(CryptoRand, 'CryptoRand');
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.b2;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
21
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.uc;
|
|
20
|
+
var objectCreate = kotlin_kotlin.$_$.tc;
|
|
21
|
+
var captureStack = kotlin_kotlin.$_$.db;
|
|
22
22
|
var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.c2;
|
|
23
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
24
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
23
|
+
var RuntimeException = kotlin_kotlin.$_$.sg;
|
|
24
|
+
var initMetadataForClass = kotlin_kotlin.$_$.tb;
|
|
25
25
|
var Unit_instance = kotlin_kotlin.$_$.j5;
|
|
26
26
|
var Default_getInstance = kotlin_org_kotlincrypto_random_crypto_rand.$_$.a;
|
|
27
27
|
var RandomnessProcurementException = kotlin_org_kotlincrypto_random_crypto_rand.$_$.b;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
function SecureRandom() {
|
|
57
57
|
}
|
|
58
|
-
protoOf(SecureRandom).
|
|
58
|
+
protoOf(SecureRandom).u5z = function (bytes) {
|
|
59
59
|
$l$block: {
|
|
60
60
|
// Inline function 'org.kotlincrypto.internal.ifNotNullOrEmpty' call
|
|
61
61
|
// Inline function 'kotlin.contracts.contract' call
|