game_client_logic_deb 1.8.185 → 1.8.208
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 +74 -74
- package/Kosi-Kodein-kodein-di.js +583 -583
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1413 -1413
- package/Logic_Debertz-core.js +1527 -1484
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +16658 -15083
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +70 -26
- package/Logic_Debertz-game_client.js +3462 -3671
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +626 -619
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +19 -19
- package/kotlinx-coroutines-core.js +2223 -2223
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +271 -271
- package/kotlinx-serialization-kotlinx-serialization-core.js +1894 -1894
- package/kotlinx-serialization-kotlinx-serialization-json.js +1366 -1366
- package/ktor-ktor-client-content-negotiation.js +158 -158
- package/ktor-ktor-client-core.js +1605 -1605
- package/ktor-ktor-client-logging.js +306 -306
- package/ktor-ktor-events.js +12 -12
- package/ktor-ktor-http.js +688 -688
- package/ktor-ktor-io.js +1311 -1311
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +155 -155
- package/ktor-ktor-serialization.js +73 -73
- package/ktor-ktor-utils.js +560 -560
- package/ktor-ktor-websockets.js +59 -59
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +272 -394
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +29 -14
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +1194 -884
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +18 -18
- package/uuid.js +30 -30
|
@@ -21,25 +21,25 @@
|
|
|
21
21
|
}(globalThis, function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
22
22
|
'use strict';
|
|
23
23
|
//region block: imports
|
|
24
|
-
var Exception = kotlin_kotlin.$_$.
|
|
24
|
+
var Exception = kotlin_kotlin.$_$.hg;
|
|
25
25
|
var VOID = kotlin_kotlin.$_$.f;
|
|
26
26
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.l1;
|
|
27
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
28
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
29
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
30
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
31
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
32
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
27
|
+
var captureStack = kotlin_kotlin.$_$.za;
|
|
28
|
+
var protoOf = kotlin_kotlin.$_$.qc;
|
|
29
|
+
var initMetadataForClass = kotlin_kotlin.$_$.pb;
|
|
30
|
+
var Unit_instance = kotlin_kotlin.$_$.n5;
|
|
31
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.sb;
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.hh;
|
|
33
33
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.g;
|
|
34
34
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
|
|
35
35
|
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.h1;
|
|
36
36
|
var Companion_instance = kotlin_io_ktor_ktor_io.$_$.f;
|
|
37
37
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
38
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
39
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
40
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
41
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
42
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
38
|
+
var CoroutineImpl = kotlin_kotlin.$_$.sa;
|
|
39
|
+
var THROW_CCE = kotlin_kotlin.$_$.qg;
|
|
40
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ea;
|
|
41
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.tb;
|
|
42
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.rb;
|
|
43
43
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
44
44
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
45
45
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
@@ -57,19 +57,19 @@
|
|
|
57
57
|
configuration = tmp;
|
|
58
58
|
var tmp_0;
|
|
59
59
|
if ($super === VOID) {
|
|
60
|
-
this.
|
|
60
|
+
this.l2o(contentType, converter, configuration);
|
|
61
61
|
tmp_0 = Unit_instance;
|
|
62
62
|
} else {
|
|
63
|
-
tmp_0 = $super.
|
|
63
|
+
tmp_0 = $super.l2o.call(this, contentType, converter, configuration);
|
|
64
64
|
}
|
|
65
65
|
return tmp_0;
|
|
66
66
|
}
|
|
67
67
|
initMetadataForInterface(Configuration, 'Configuration');
|
|
68
68
|
function serialize(contentType, charset, typeInfo, value, $completion) {
|
|
69
|
-
return this.
|
|
69
|
+
return this.o2o(contentType, charset, typeInfo, value, $completion);
|
|
70
70
|
}
|
|
71
71
|
function serializeNullable(contentType, charset, typeInfo, value, $completion) {
|
|
72
|
-
return this.
|
|
72
|
+
return this.n2o(contentType, charset, typeInfo, ensureNotNull(value), $completion);
|
|
73
73
|
}
|
|
74
74
|
initMetadataForInterface(ContentConverter, 'ContentConverter', VOID, VOID, VOID, [4, 3]);
|
|
75
75
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
@@ -103,43 +103,43 @@
|
|
|
103
103
|
return tmp.l9();
|
|
104
104
|
}
|
|
105
105
|
function suitableCharset(_this__u8e3s4, defaultCharset) {
|
|
106
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
106
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().t1z_1 : defaultCharset;
|
|
107
107
|
var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
|
|
108
108
|
return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
|
|
109
109
|
}
|
|
110
110
|
function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
111
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
112
|
-
var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.
|
|
111
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().t1z_1 : defaultCharset;
|
|
112
|
+
var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.m26(HttpHeaders_getInstance().p2d_1)).j();
|
|
113
113
|
while (tmp0_iterator.k()) {
|
|
114
114
|
var charset = tmp0_iterator.l().me();
|
|
115
115
|
if (charset === '*')
|
|
116
116
|
return defaultCharset;
|
|
117
|
-
else if (Companion_instance.
|
|
118
|
-
return Companion_instance.
|
|
117
|
+
else if (Companion_instance.v22(charset))
|
|
118
|
+
return Companion_instance.u22(charset);
|
|
119
119
|
}
|
|
120
120
|
return null;
|
|
121
121
|
}
|
|
122
122
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
123
|
-
this.
|
|
123
|
+
this.c2p_1 = function_0;
|
|
124
124
|
}
|
|
125
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
126
|
-
return this.
|
|
125
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p16 = function (value, $completion) {
|
|
126
|
+
return this.c2p_1(value, $completion);
|
|
127
127
|
};
|
|
128
128
|
function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
129
|
+
this.l2p_1 = $$this$unsafeFlow;
|
|
130
|
+
this.m2p_1 = $charset;
|
|
131
|
+
this.n2p_1 = $typeInfo;
|
|
132
|
+
this.o2p_1 = $body;
|
|
133
133
|
CoroutineImpl.call(this, resultContinuation);
|
|
134
134
|
}
|
|
135
|
-
protoOf(deserialize$o$collect$slambda).
|
|
136
|
-
var tmp = this.
|
|
135
|
+
protoOf(deserialize$o$collect$slambda).u2p = function (value, $completion) {
|
|
136
|
+
var tmp = this.v2p(value, $completion);
|
|
137
137
|
tmp.f9_1 = Unit_instance;
|
|
138
138
|
tmp.g9_1 = null;
|
|
139
139
|
return tmp.l9();
|
|
140
140
|
};
|
|
141
141
|
protoOf(deserialize$o$collect$slambda).ga = function (p1, $completion) {
|
|
142
|
-
return this.
|
|
142
|
+
return this.u2p((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
143
143
|
};
|
|
144
144
|
protoOf(deserialize$o$collect$slambda).l9 = function () {
|
|
145
145
|
var suspendResult = this.f9_1;
|
|
@@ -150,22 +150,22 @@
|
|
|
150
150
|
case 0:
|
|
151
151
|
this.e9_1 = 3;
|
|
152
152
|
var tmp_0 = this;
|
|
153
|
-
tmp_0.
|
|
153
|
+
tmp_0.q2p_1 = this.l2p_1;
|
|
154
154
|
var tmp_1 = this;
|
|
155
|
-
tmp_1.
|
|
155
|
+
tmp_1.r2p_1 = this.p2p_1;
|
|
156
156
|
var tmp_2 = this;
|
|
157
|
-
tmp_2.
|
|
157
|
+
tmp_2.s2p_1 = this.r2p_1;
|
|
158
158
|
this.d9_1 = 1;
|
|
159
|
-
suspendResult = this.
|
|
159
|
+
suspendResult = this.s2p_1.p2o(this.m2p_1, this.n2p_1, this.o2p_1, this);
|
|
160
160
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
161
161
|
return suspendResult;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
continue $sm;
|
|
165
165
|
case 1:
|
|
166
|
-
this.
|
|
166
|
+
this.t2p_1 = suspendResult;
|
|
167
167
|
this.d9_1 = 2;
|
|
168
|
-
suspendResult = this.
|
|
168
|
+
suspendResult = this.q2p_1.p16(this.t2p_1, this);
|
|
169
169
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
170
170
|
return suspendResult;
|
|
171
171
|
}
|
|
@@ -187,23 +187,23 @@
|
|
|
187
187
|
}
|
|
188
188
|
while (true);
|
|
189
189
|
};
|
|
190
|
-
protoOf(deserialize$o$collect$slambda).
|
|
191
|
-
var i = new deserialize$o$collect$slambda(this.
|
|
192
|
-
i.
|
|
190
|
+
protoOf(deserialize$o$collect$slambda).v2p = function (value, completion) {
|
|
191
|
+
var i = new deserialize$o$collect$slambda(this.l2p_1, this.m2p_1, this.n2p_1, this.o2p_1, completion);
|
|
192
|
+
i.p2p_1 = value;
|
|
193
193
|
return i;
|
|
194
194
|
};
|
|
195
195
|
function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
196
196
|
var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
|
|
197
197
|
var l = function (value, $completion) {
|
|
198
|
-
return i.
|
|
198
|
+
return i.u2p(value, $completion);
|
|
199
199
|
};
|
|
200
200
|
l.$arity = 1;
|
|
201
201
|
return l;
|
|
202
202
|
}
|
|
203
203
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
204
204
|
CoroutineImpl.call(this, resultContinuation);
|
|
205
|
-
this.
|
|
206
|
-
this.
|
|
205
|
+
this.e2q_1 = _this__u8e3s4;
|
|
206
|
+
this.f2q_1 = collector;
|
|
207
207
|
}
|
|
208
208
|
protoOf($collectCOROUTINE$1).l9 = function () {
|
|
209
209
|
var suspendResult = this.f9_1;
|
|
@@ -214,10 +214,10 @@
|
|
|
214
214
|
case 0:
|
|
215
215
|
this.e9_1 = 2;
|
|
216
216
|
var tmp_0 = this;
|
|
217
|
-
tmp_0.
|
|
217
|
+
tmp_0.g2q_1 = this.f2q_1;
|
|
218
218
|
this.d9_1 = 1;
|
|
219
|
-
var tmp_1 = deserialize$o$collect$slambda_0(this.
|
|
220
|
-
suspendResult = this.
|
|
219
|
+
var tmp_1 = deserialize$o$collect$slambda_0(this.g2q_1, this.e2q_1.i2q_1, this.e2q_1.j2q_1, this.e2q_1.k2q_1, null);
|
|
220
|
+
suspendResult = this.e2q_1.h2q_1.y15(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
221
221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
222
222
|
return suspendResult;
|
|
223
223
|
}
|
|
@@ -240,32 +240,32 @@
|
|
|
240
240
|
while (true);
|
|
241
241
|
};
|
|
242
242
|
function _no_name_provided__qut3iv($this, $charset, $typeInfo, $body) {
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
243
|
+
this.h2q_1 = $this;
|
|
244
|
+
this.i2q_1 = $charset;
|
|
245
|
+
this.j2q_1 = $typeInfo;
|
|
246
|
+
this.k2q_1 = $body;
|
|
247
247
|
}
|
|
248
|
-
protoOf(_no_name_provided__qut3iv).
|
|
248
|
+
protoOf(_no_name_provided__qut3iv).q16 = function (collector, $completion) {
|
|
249
249
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
250
250
|
tmp.f9_1 = Unit_instance;
|
|
251
251
|
tmp.g9_1 = null;
|
|
252
252
|
return tmp.l9();
|
|
253
253
|
};
|
|
254
|
-
protoOf(_no_name_provided__qut3iv).
|
|
255
|
-
return this.
|
|
254
|
+
protoOf(_no_name_provided__qut3iv).y15 = function (collector, $completion) {
|
|
255
|
+
return this.q16(collector, $completion);
|
|
256
256
|
};
|
|
257
257
|
function deserialize$slambda($body, resultContinuation) {
|
|
258
|
-
this.
|
|
258
|
+
this.t2q_1 = $body;
|
|
259
259
|
CoroutineImpl.call(this, resultContinuation);
|
|
260
260
|
}
|
|
261
|
-
protoOf(deserialize$slambda).
|
|
262
|
-
var tmp = this.
|
|
261
|
+
protoOf(deserialize$slambda).v2q = function (it, $completion) {
|
|
262
|
+
var tmp = this.v2p(it, $completion);
|
|
263
263
|
tmp.f9_1 = Unit_instance;
|
|
264
264
|
tmp.g9_1 = null;
|
|
265
265
|
return tmp.l9();
|
|
266
266
|
};
|
|
267
267
|
protoOf(deserialize$slambda).ga = function (p1, $completion) {
|
|
268
|
-
return this.
|
|
268
|
+
return this.v2q((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
269
269
|
};
|
|
270
270
|
protoOf(deserialize$slambda).l9 = function () {
|
|
271
271
|
var suspendResult = this.f9_1;
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
var tmp = this.d9_1;
|
|
275
275
|
if (tmp === 0) {
|
|
276
276
|
this.e9_1 = 1;
|
|
277
|
-
return !(this.
|
|
277
|
+
return !(this.u2q_1 == null) || this.t2q_1.j1p();
|
|
278
278
|
} else if (tmp === 1) {
|
|
279
279
|
throw this.g9_1;
|
|
280
280
|
}
|
|
@@ -284,25 +284,25 @@
|
|
|
284
284
|
}
|
|
285
285
|
while (true);
|
|
286
286
|
};
|
|
287
|
-
protoOf(deserialize$slambda).
|
|
288
|
-
var i = new deserialize$slambda(this.
|
|
289
|
-
i.
|
|
287
|
+
protoOf(deserialize$slambda).v2p = function (it, completion) {
|
|
288
|
+
var i = new deserialize$slambda(this.t2q_1, completion);
|
|
289
|
+
i.u2q_1 = it;
|
|
290
290
|
return i;
|
|
291
291
|
};
|
|
292
292
|
function deserialize$slambda_0($body, resultContinuation) {
|
|
293
293
|
var i = new deserialize$slambda($body, resultContinuation);
|
|
294
294
|
var l = function (it, $completion) {
|
|
295
|
-
return i.
|
|
295
|
+
return i.v2q(it, $completion);
|
|
296
296
|
};
|
|
297
297
|
l.$arity = 1;
|
|
298
298
|
return l;
|
|
299
299
|
}
|
|
300
300
|
function $deserializeCOROUTINE$0(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
|
|
301
301
|
CoroutineImpl.call(this, resultContinuation);
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
302
|
+
this.y2o_1 = _this__u8e3s4;
|
|
303
|
+
this.z2o_1 = body;
|
|
304
|
+
this.a2p_1 = typeInfo;
|
|
305
|
+
this.b2p_1 = charset;
|
|
306
306
|
}
|
|
307
307
|
protoOf($deserializeCOROUTINE$0).l9 = function () {
|
|
308
308
|
var suspendResult = this.f9_1;
|
|
@@ -313,9 +313,9 @@
|
|
|
313
313
|
case 0:
|
|
314
314
|
this.e9_1 = 2;
|
|
315
315
|
this.d9_1 = 1;
|
|
316
|
-
var this_0 = asFlow(this.
|
|
317
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
318
|
-
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.
|
|
316
|
+
var this_0 = asFlow(this.y2o_1);
|
|
317
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.b2p_1, this.a2p_1, this.z2o_1);
|
|
318
|
+
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.z2o_1, null), this);
|
|
319
319
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
320
320
|
return suspendResult;
|
|
321
321
|
}
|
|
@@ -327,14 +327,14 @@
|
|
|
327
327
|
if (!(result == null)) {
|
|
328
328
|
tmp_1 = result;
|
|
329
329
|
} else {
|
|
330
|
-
if (!this.
|
|
331
|
-
tmp_1 = this.
|
|
330
|
+
if (!this.z2o_1.j1p()) {
|
|
331
|
+
tmp_1 = this.z2o_1;
|
|
332
332
|
} else {
|
|
333
|
-
var tmp0_safe_receiver = this.
|
|
333
|
+
var tmp0_safe_receiver = this.a2p_1.l2b_1;
|
|
334
334
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.za()) === true) {
|
|
335
335
|
tmp_1 = NullBody_instance;
|
|
336
336
|
} else {
|
|
337
|
-
throw new ContentConvertException('No suitable converter found for ' + this.
|
|
337
|
+
throw new ContentConvertException('No suitable converter found for ' + this.a2p_1.toString());
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|