client_plugin_logic_deb 1.8.304 → 1.8.310
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 +58 -58
- package/Kosi-Kodein-kodein-di.js +519 -519
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1391 -1391
- package/Logic_Debertz-client_plugin.d.ts +4 -3
- package/Logic_Debertz-client_plugin.js +3044 -3022
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2115 -2181
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +16298 -16194
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +8129 -8109
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1072 -997
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +86 -73
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +1 -1
- package/kotlinx-coroutines-core.js +1577 -1731
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +321 -321
- package/kotlinx-serialization-kotlinx-serialization-core.js +1830 -1830
- package/kotlinx-serialization-kotlinx-serialization-json.js +1354 -1354
- package/ktor-ktor-client-content-negotiation.js +137 -137
- package/ktor-ktor-client-core.js +1553 -1553
- package/ktor-ktor-client-logging.js +292 -292
- package/ktor-ktor-events.js +8 -8
- package/ktor-ktor-http.js +614 -614
- package/ktor-ktor-io.js +1264 -1264
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +140 -140
- package/ktor-ktor-serialization.js +68 -68
- package/ktor-ktor-utils.js +509 -509
- package/ktor-ktor-websockets.js +44 -44
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +208 -202
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +4 -4
- package/raspberry-cardgame-lib-random.js +1018 -943
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +8 -8
- package/uuid.js +13 -13
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}(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.$_$.lg;
|
|
25
25
|
var VOID = kotlin_kotlin.$_$.f;
|
|
26
26
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.m1;
|
|
27
27
|
var captureStack = kotlin_kotlin.$_$.eb;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
var initMetadataForClass = kotlin_kotlin.$_$.ub;
|
|
30
30
|
var Unit_instance = kotlin_kotlin.$_$.p5;
|
|
31
31
|
var initMetadataForInterface = kotlin_kotlin.$_$.xb;
|
|
32
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.lh;
|
|
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;
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
var equals = kotlin_kotlin.$_$.mb;
|
|
38
38
|
var FunctionAdapter = kotlin_kotlin.$_$.ab;
|
|
39
39
|
var isInterface = kotlin_kotlin.$_$.ic;
|
|
40
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
40
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
41
41
|
var hashCode = kotlin_kotlin.$_$.tb;
|
|
42
42
|
var CoroutineImpl = kotlin_kotlin.$_$.wa;
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.ug;
|
|
44
44
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ha;
|
|
45
45
|
var initMetadataForLambda = kotlin_kotlin.$_$.yb;
|
|
46
46
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.wb;
|
|
47
|
-
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
48
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
47
|
+
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
48
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
|
|
49
49
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
50
50
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
51
51
|
//endregion
|
|
@@ -62,19 +62,19 @@
|
|
|
62
62
|
configuration = tmp;
|
|
63
63
|
var tmp_0;
|
|
64
64
|
if ($super === VOID) {
|
|
65
|
-
this.
|
|
65
|
+
this.p2u(contentType, converter, configuration);
|
|
66
66
|
tmp_0 = Unit_instance;
|
|
67
67
|
} else {
|
|
68
|
-
tmp_0 = $super.
|
|
68
|
+
tmp_0 = $super.p2u.call(this, contentType, converter, configuration);
|
|
69
69
|
}
|
|
70
70
|
return tmp_0;
|
|
71
71
|
}
|
|
72
72
|
initMetadataForInterface(Configuration, 'Configuration');
|
|
73
73
|
function serialize(contentType, charset, typeInfo, value, $completion) {
|
|
74
|
-
return this.
|
|
74
|
+
return this.s2u(contentType, charset, typeInfo, value, $completion);
|
|
75
75
|
}
|
|
76
76
|
function serializeNullable(contentType, charset, typeInfo, value, $completion) {
|
|
77
|
-
return this.
|
|
77
|
+
return this.r2u(contentType, charset, typeInfo, ensureNotNull(value), $completion);
|
|
78
78
|
}
|
|
79
79
|
initMetadataForInterface(ContentConverter, 'ContentConverter', VOID, VOID, VOID, [4, 3]);
|
|
80
80
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
@@ -108,30 +108,30 @@
|
|
|
108
108
|
return tmp.n9();
|
|
109
109
|
}
|
|
110
110
|
function suitableCharset(_this__u8e3s4, defaultCharset) {
|
|
111
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
111
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().x25_1 : defaultCharset;
|
|
112
112
|
var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
|
|
113
113
|
return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
|
|
114
114
|
}
|
|
115
115
|
function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
116
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
117
|
-
var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.
|
|
116
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().x25_1 : defaultCharset;
|
|
117
|
+
var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.q2c(HttpHeaders_getInstance().t2j_1)).j();
|
|
118
118
|
while (tmp0_iterator.k()) {
|
|
119
119
|
var charset = tmp0_iterator.l().qe();
|
|
120
120
|
if (charset === '*')
|
|
121
121
|
return defaultCharset;
|
|
122
|
-
else if (Companion_instance.
|
|
123
|
-
return Companion_instance.
|
|
122
|
+
else if (Companion_instance.z28(charset))
|
|
123
|
+
return Companion_instance.y28(charset);
|
|
124
124
|
}
|
|
125
125
|
return null;
|
|
126
126
|
}
|
|
127
127
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
128
|
-
this.
|
|
128
|
+
this.g2v_1 = function_0;
|
|
129
129
|
}
|
|
130
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
131
|
-
return this.
|
|
130
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d18 = function (value, $completion) {
|
|
131
|
+
return this.g2v_1(value, $completion);
|
|
132
132
|
};
|
|
133
133
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
|
|
134
|
-
return this.
|
|
134
|
+
return this.g2v_1;
|
|
135
135
|
};
|
|
136
136
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
137
137
|
var tmp;
|
|
@@ -152,20 +152,20 @@
|
|
|
152
152
|
return hashCode(this.p3());
|
|
153
153
|
};
|
|
154
154
|
function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
155
|
-
this.
|
|
156
|
-
this.
|
|
157
|
-
this.
|
|
158
|
-
this.
|
|
155
|
+
this.p2v_1 = $$this$unsafeFlow;
|
|
156
|
+
this.q2v_1 = $charset;
|
|
157
|
+
this.r2v_1 = $typeInfo;
|
|
158
|
+
this.s2v_1 = $body;
|
|
159
159
|
CoroutineImpl.call(this, resultContinuation);
|
|
160
160
|
}
|
|
161
|
-
protoOf(deserialize$o$collect$slambda).
|
|
162
|
-
var tmp = this.
|
|
161
|
+
protoOf(deserialize$o$collect$slambda).p1l = function (value, $completion) {
|
|
162
|
+
var tmp = this.q1l(value, $completion);
|
|
163
163
|
tmp.h9_1 = Unit_instance;
|
|
164
164
|
tmp.i9_1 = null;
|
|
165
165
|
return tmp.n9();
|
|
166
166
|
};
|
|
167
167
|
protoOf(deserialize$o$collect$slambda).x9 = function (p1, $completion) {
|
|
168
|
-
return this.
|
|
168
|
+
return this.p1l((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
169
169
|
};
|
|
170
170
|
protoOf(deserialize$o$collect$slambda).n9 = function () {
|
|
171
171
|
var suspendResult = this.h9_1;
|
|
@@ -176,22 +176,22 @@
|
|
|
176
176
|
case 0:
|
|
177
177
|
this.g9_1 = 3;
|
|
178
178
|
var tmp_0 = this;
|
|
179
|
-
tmp_0.
|
|
179
|
+
tmp_0.u2v_1 = this.p2v_1;
|
|
180
180
|
var tmp_1 = this;
|
|
181
|
-
tmp_1.
|
|
181
|
+
tmp_1.v2v_1 = this.t2v_1;
|
|
182
182
|
var tmp_2 = this;
|
|
183
|
-
tmp_2.
|
|
183
|
+
tmp_2.w2v_1 = this.v2v_1;
|
|
184
184
|
this.f9_1 = 1;
|
|
185
|
-
suspendResult = this.
|
|
185
|
+
suspendResult = this.w2v_1.t2u(this.q2v_1, this.r2v_1, this.s2v_1, this);
|
|
186
186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
187
187
|
return suspendResult;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
continue $sm;
|
|
191
191
|
case 1:
|
|
192
|
-
this.
|
|
192
|
+
this.x2v_1 = suspendResult;
|
|
193
193
|
this.f9_1 = 2;
|
|
194
|
-
suspendResult = this.
|
|
194
|
+
suspendResult = this.u2v_1.d18(this.x2v_1, this);
|
|
195
195
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
196
196
|
return suspendResult;
|
|
197
197
|
}
|
|
@@ -213,23 +213,23 @@
|
|
|
213
213
|
}
|
|
214
214
|
while (true);
|
|
215
215
|
};
|
|
216
|
-
protoOf(deserialize$o$collect$slambda).
|
|
217
|
-
var i = new deserialize$o$collect$slambda(this.
|
|
218
|
-
i.
|
|
216
|
+
protoOf(deserialize$o$collect$slambda).q1l = function (value, completion) {
|
|
217
|
+
var i = new deserialize$o$collect$slambda(this.p2v_1, this.q2v_1, this.r2v_1, this.s2v_1, completion);
|
|
218
|
+
i.t2v_1 = value;
|
|
219
219
|
return i;
|
|
220
220
|
};
|
|
221
221
|
function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
222
222
|
var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
|
|
223
223
|
var l = function (value, $completion) {
|
|
224
|
-
return i.
|
|
224
|
+
return i.p1l(value, $completion);
|
|
225
225
|
};
|
|
226
226
|
l.$arity = 1;
|
|
227
227
|
return l;
|
|
228
228
|
}
|
|
229
229
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
230
230
|
CoroutineImpl.call(this, resultContinuation);
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
231
|
+
this.g2w_1 = _this__u8e3s4;
|
|
232
|
+
this.h2w_1 = collector;
|
|
233
233
|
}
|
|
234
234
|
protoOf($collectCOROUTINE$1).n9 = function () {
|
|
235
235
|
var suspendResult = this.h9_1;
|
|
@@ -240,10 +240,10 @@
|
|
|
240
240
|
case 0:
|
|
241
241
|
this.g9_1 = 2;
|
|
242
242
|
var tmp_0 = this;
|
|
243
|
-
tmp_0.
|
|
243
|
+
tmp_0.i2w_1 = this.h2w_1;
|
|
244
244
|
this.f9_1 = 1;
|
|
245
|
-
var tmp_1 = deserialize$o$collect$slambda_0(this.
|
|
246
|
-
suspendResult = this.
|
|
245
|
+
var tmp_1 = deserialize$o$collect$slambda_0(this.i2w_1, this.g2w_1.k2w_1, this.g2w_1.l2w_1, this.g2w_1.m2w_1, null);
|
|
246
|
+
suspendResult = this.g2w_1.j2w_1.z16(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
247
247
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
248
248
|
return suspendResult;
|
|
249
249
|
}
|
|
@@ -266,32 +266,32 @@
|
|
|
266
266
|
while (true);
|
|
267
267
|
};
|
|
268
268
|
function _no_name_provided__qut3iv($this, $charset, $typeInfo, $body) {
|
|
269
|
-
this.
|
|
270
|
-
this.
|
|
271
|
-
this.
|
|
272
|
-
this.
|
|
269
|
+
this.j2w_1 = $this;
|
|
270
|
+
this.k2w_1 = $charset;
|
|
271
|
+
this.l2w_1 = $typeInfo;
|
|
272
|
+
this.m2w_1 = $body;
|
|
273
273
|
}
|
|
274
|
-
protoOf(_no_name_provided__qut3iv).
|
|
274
|
+
protoOf(_no_name_provided__qut3iv).e18 = function (collector, $completion) {
|
|
275
275
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
276
276
|
tmp.h9_1 = Unit_instance;
|
|
277
277
|
tmp.i9_1 = null;
|
|
278
278
|
return tmp.n9();
|
|
279
279
|
};
|
|
280
|
-
protoOf(_no_name_provided__qut3iv).
|
|
281
|
-
return this.
|
|
280
|
+
protoOf(_no_name_provided__qut3iv).z16 = function (collector, $completion) {
|
|
281
|
+
return this.e18(collector, $completion);
|
|
282
282
|
};
|
|
283
283
|
function deserialize$slambda($body, resultContinuation) {
|
|
284
|
-
this.
|
|
284
|
+
this.v2w_1 = $body;
|
|
285
285
|
CoroutineImpl.call(this, resultContinuation);
|
|
286
286
|
}
|
|
287
|
-
protoOf(deserialize$slambda).
|
|
288
|
-
var tmp = this.
|
|
287
|
+
protoOf(deserialize$slambda).x2w = function (it, $completion) {
|
|
288
|
+
var tmp = this.q1l(it, $completion);
|
|
289
289
|
tmp.h9_1 = Unit_instance;
|
|
290
290
|
tmp.i9_1 = null;
|
|
291
291
|
return tmp.n9();
|
|
292
292
|
};
|
|
293
293
|
protoOf(deserialize$slambda).x9 = function (p1, $completion) {
|
|
294
|
-
return this.
|
|
294
|
+
return this.x2w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
295
295
|
};
|
|
296
296
|
protoOf(deserialize$slambda).n9 = function () {
|
|
297
297
|
var suspendResult = this.h9_1;
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
var tmp = this.f9_1;
|
|
301
301
|
if (tmp === 0) {
|
|
302
302
|
this.g9_1 = 1;
|
|
303
|
-
return !(this.
|
|
303
|
+
return !(this.w2w_1 == null) || this.v2w_1.n1v();
|
|
304
304
|
} else if (tmp === 1) {
|
|
305
305
|
throw this.i9_1;
|
|
306
306
|
}
|
|
@@ -310,25 +310,25 @@
|
|
|
310
310
|
}
|
|
311
311
|
while (true);
|
|
312
312
|
};
|
|
313
|
-
protoOf(deserialize$slambda).
|
|
314
|
-
var i = new deserialize$slambda(this.
|
|
315
|
-
i.
|
|
313
|
+
protoOf(deserialize$slambda).q1l = function (it, completion) {
|
|
314
|
+
var i = new deserialize$slambda(this.v2w_1, completion);
|
|
315
|
+
i.w2w_1 = it;
|
|
316
316
|
return i;
|
|
317
317
|
};
|
|
318
318
|
function deserialize$slambda_0($body, resultContinuation) {
|
|
319
319
|
var i = new deserialize$slambda($body, resultContinuation);
|
|
320
320
|
var l = function (it, $completion) {
|
|
321
|
-
return i.
|
|
321
|
+
return i.x2w(it, $completion);
|
|
322
322
|
};
|
|
323
323
|
l.$arity = 1;
|
|
324
324
|
return l;
|
|
325
325
|
}
|
|
326
326
|
function $deserializeCOROUTINE$0(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
|
|
327
327
|
CoroutineImpl.call(this, resultContinuation);
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
330
|
-
this.
|
|
331
|
-
this.
|
|
328
|
+
this.c2v_1 = _this__u8e3s4;
|
|
329
|
+
this.d2v_1 = body;
|
|
330
|
+
this.e2v_1 = typeInfo;
|
|
331
|
+
this.f2v_1 = charset;
|
|
332
332
|
}
|
|
333
333
|
protoOf($deserializeCOROUTINE$0).n9 = function () {
|
|
334
334
|
var suspendResult = this.h9_1;
|
|
@@ -339,9 +339,9 @@
|
|
|
339
339
|
case 0:
|
|
340
340
|
this.g9_1 = 2;
|
|
341
341
|
this.f9_1 = 1;
|
|
342
|
-
var this_0 = asFlow(this.
|
|
343
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
344
|
-
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.
|
|
342
|
+
var this_0 = asFlow(this.c2v_1);
|
|
343
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.f2v_1, this.e2v_1, this.d2v_1);
|
|
344
|
+
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.d2v_1, null), this);
|
|
345
345
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
346
346
|
return suspendResult;
|
|
347
347
|
}
|
|
@@ -353,14 +353,14 @@
|
|
|
353
353
|
if (!(result == null)) {
|
|
354
354
|
tmp_1 = result;
|
|
355
355
|
} else {
|
|
356
|
-
if (!this.
|
|
357
|
-
tmp_1 = this.
|
|
356
|
+
if (!this.d2v_1.n1v()) {
|
|
357
|
+
tmp_1 = this.d2v_1;
|
|
358
358
|
} else {
|
|
359
|
-
var tmp0_safe_receiver = this.
|
|
359
|
+
var tmp0_safe_receiver = this.e2v_1.q2h_1;
|
|
360
360
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.cb()) === true) {
|
|
361
361
|
tmp_1 = NullBody_instance;
|
|
362
362
|
} else {
|
|
363
|
-
throw new ContentConvertException('No suitable converter found for ' + this.
|
|
363
|
+
throw new ContentConvertException('No suitable converter found for ' + this.e2v_1.toString());
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
}
|