raspberry_games_server_game_logic 1.8.304 → 1.8.306

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.
Files changed (34) hide show
  1. package/Kosi-Kaverit-kaverit.js +56 -56
  2. package/Kosi-Kodein-kodein-di.js +511 -511
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +1377 -1377
  4. package/Logic_Debertz-core.js +1510 -1510
  5. package/Logic_Debertz-engine.js +14422 -14312
  6. package/Logic_Debertz-engine.js.map +1 -1
  7. package/Logic_Debertz-game_server.d.ts +4 -3
  8. package/Logic_Debertz-game_server.js +1026 -954
  9. package/Logic_Debertz-game_server.js.map +1 -1
  10. package/kotlin-kotlin-stdlib.js +10 -10
  11. package/kotlin-kotlin-stdlib.js.map +1 -1
  12. package/kotlinx-coroutines-core.js +1449 -1603
  13. package/kotlinx-coroutines-core.js.map +1 -1
  14. package/kotlinx-io-kotlinx-io-core.js +316 -316
  15. package/kotlinx-serialization-kotlinx-serialization-core.js +1801 -1801
  16. package/kotlinx-serialization-kotlinx-serialization-json.js +1328 -1328
  17. package/ktor-ktor-client-content-negotiation.js +133 -133
  18. package/ktor-ktor-client-core.js +1536 -1536
  19. package/ktor-ktor-client-logging.js +287 -287
  20. package/ktor-ktor-events.js +6 -6
  21. package/ktor-ktor-http.js +599 -599
  22. package/ktor-ktor-io.js +1255 -1255
  23. package/ktor-ktor-serialization-kotlinx-json.js +7 -7
  24. package/ktor-ktor-serialization-kotlinx.js +139 -139
  25. package/ktor-ktor-serialization.js +65 -65
  26. package/ktor-ktor-utils.js +498 -498
  27. package/ktor-ktor-websockets.js +41 -41
  28. package/package.json +1 -1
  29. package/raspberry-cardgame-lib-core.js +193 -187
  30. package/raspberry-cardgame-lib-core.js.map +1 -1
  31. package/raspberry-cardgame-lib-random.js +881 -908
  32. package/raspberry-cardgame-lib-random.js.map +1 -1
  33. package/secure-random-secure-random.js +5 -5
  34. package/uuid.js +11 -11
@@ -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.$_$.s;
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
43
  var THROW_CCE = kotlin_kotlin.$_$.sg;
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.$_$.t;
48
- var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
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.j2r(contentType, converter, configuration);
65
+ this.w2q(contentType, converter, configuration);
66
66
  tmp_0 = Unit_instance;
67
67
  } else {
68
- tmp_0 = $super.j2r.call(this, contentType, converter, configuration);
68
+ tmp_0 = $super.w2q.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.m2r(contentType, charset, typeInfo, value, $completion);
74
+ return this.z2q(contentType, charset, typeInfo, value, $completion);
75
75
  }
76
76
  function serializeNullable(contentType, charset, typeInfo, value, $completion) {
77
- return this.l2r(contentType, charset, typeInfo, ensureNotNull(value), $completion);
77
+ return this.y2q(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().r22_1 : defaultCharset;
111
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().e22_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().r22_1 : defaultCharset;
117
- var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.k29(HttpHeaders_getInstance().n2g_1)).j();
116
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().e22_1 : defaultCharset;
117
+ var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.x28(HttpHeaders_getInstance().a2g_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.t25(charset))
123
- return Companion_instance.s25(charset);
122
+ else if (Companion_instance.g25(charset))
123
+ return Companion_instance.f25(charset);
124
124
  }
125
125
  return null;
126
126
  }
127
127
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
128
- this.a2s_1 = function_0;
128
+ this.n2r_1 = function_0;
129
129
  }
130
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q18 = function (value, $completion) {
131
- return this.a2s_1(value, $completion);
130
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d18 = function (value, $completion) {
131
+ return this.n2r_1(value, $completion);
132
132
  };
133
133
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
134
- return this.a2s_1;
134
+ return this.n2r_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.j2s_1 = $$this$unsafeFlow;
156
- this.k2s_1 = $charset;
157
- this.l2s_1 = $typeInfo;
158
- this.m2s_1 = $body;
155
+ this.w2r_1 = $$this$unsafeFlow;
156
+ this.x2r_1 = $charset;
157
+ this.y2r_1 = $typeInfo;
158
+ this.z2r_1 = $body;
159
159
  CoroutineImpl.call(this, resultContinuation);
160
160
  }
161
- protoOf(deserialize$o$collect$slambda).j1i = function (value, $completion) {
162
- var tmp = this.k1i(value, $completion);
161
+ protoOf(deserialize$o$collect$slambda).w1h = function (value, $completion) {
162
+ var tmp = this.x1h(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.j1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
168
+ return this.w1h((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.o2s_1 = this.j2s_1;
179
+ tmp_0.b2s_1 = this.w2r_1;
180
180
  var tmp_1 = this;
181
- tmp_1.p2s_1 = this.n2s_1;
181
+ tmp_1.c2s_1 = this.a2s_1;
182
182
  var tmp_2 = this;
183
- tmp_2.q2s_1 = this.p2s_1;
183
+ tmp_2.d2s_1 = this.c2s_1;
184
184
  this.f9_1 = 1;
185
- suspendResult = this.q2s_1.n2r(this.k2s_1, this.l2s_1, this.m2s_1, this);
185
+ suspendResult = this.d2s_1.a2r(this.x2r_1, this.y2r_1, this.z2r_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.r2s_1 = suspendResult;
192
+ this.e2s_1 = suspendResult;
193
193
  this.f9_1 = 2;
194
- suspendResult = this.o2s_1.q18(this.r2s_1, this);
194
+ suspendResult = this.b2s_1.d18(this.e2s_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).k1i = function (value, completion) {
217
- var i = new deserialize$o$collect$slambda(this.j2s_1, this.k2s_1, this.l2s_1, this.m2s_1, completion);
218
- i.n2s_1 = value;
216
+ protoOf(deserialize$o$collect$slambda).x1h = function (value, completion) {
217
+ var i = new deserialize$o$collect$slambda(this.w2r_1, this.x2r_1, this.y2r_1, this.z2r_1, completion);
218
+ i.a2s_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.j1i(value, $completion);
224
+ return i.w1h(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.a2t_1 = _this__u8e3s4;
232
- this.b2t_1 = collector;
231
+ this.n2s_1 = _this__u8e3s4;
232
+ this.o2s_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.c2t_1 = this.b2t_1;
243
+ tmp_0.p2s_1 = this.o2s_1;
244
244
  this.f9_1 = 1;
245
- var tmp_1 = deserialize$o$collect$slambda_0(this.c2t_1, this.a2t_1.e2t_1, this.a2t_1.f2t_1, this.a2t_1.g2t_1, null);
246
- suspendResult = this.a2t_1.d2t_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
245
+ var tmp_1 = deserialize$o$collect$slambda_0(this.p2s_1, this.n2s_1.r2s_1, this.n2s_1.s2s_1, this.n2s_1.t2s_1, null);
246
+ suspendResult = this.n2s_1.q2s_1.a17(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.d2t_1 = $this;
270
- this.e2t_1 = $charset;
271
- this.f2t_1 = $typeInfo;
272
- this.g2t_1 = $body;
269
+ this.q2s_1 = $this;
270
+ this.r2s_1 = $charset;
271
+ this.s2s_1 = $typeInfo;
272
+ this.t2s_1 = $body;
273
273
  }
274
- protoOf(_no_name_provided__qut3iv).r18 = function (collector, $completion) {
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).n17 = function (collector, $completion) {
281
- return this.r18(collector, $completion);
280
+ protoOf(_no_name_provided__qut3iv).a17 = function (collector, $completion) {
281
+ return this.e18(collector, $completion);
282
282
  };
283
283
  function deserialize$slambda($body, resultContinuation) {
284
- this.p2t_1 = $body;
284
+ this.c2t_1 = $body;
285
285
  CoroutineImpl.call(this, resultContinuation);
286
286
  }
287
- protoOf(deserialize$slambda).r2t = function (it, $completion) {
288
- var tmp = this.k1i(it, $completion);
287
+ protoOf(deserialize$slambda).e2t = function (it, $completion) {
288
+ var tmp = this.x1h(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.r2t((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
294
+ return this.e2t((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.q2t_1 == null) || this.p2t_1.h1s();
303
+ return !(this.d2t_1 == null) || this.c2t_1.u1r();
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).k1i = function (it, completion) {
314
- var i = new deserialize$slambda(this.p2t_1, completion);
315
- i.q2t_1 = it;
313
+ protoOf(deserialize$slambda).x1h = function (it, completion) {
314
+ var i = new deserialize$slambda(this.c2t_1, completion);
315
+ i.d2t_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.r2t(it, $completion);
321
+ return i.e2t(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.w2r_1 = _this__u8e3s4;
329
- this.x2r_1 = body;
330
- this.y2r_1 = typeInfo;
331
- this.z2r_1 = charset;
328
+ this.j2r_1 = _this__u8e3s4;
329
+ this.k2r_1 = body;
330
+ this.l2r_1 = typeInfo;
331
+ this.m2r_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.w2r_1);
343
- var tmp_0 = new _no_name_provided__qut3iv(this_0, this.z2r_1, this.y2r_1, this.x2r_1);
344
- suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.x2r_1, null), this);
342
+ var this_0 = asFlow(this.j2r_1);
343
+ var tmp_0 = new _no_name_provided__qut3iv(this_0, this.m2r_1, this.l2r_1, this.k2r_1);
344
+ suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.k2r_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.x2r_1.h1s()) {
357
- tmp_1 = this.x2r_1;
356
+ if (!this.k2r_1.u1r()) {
357
+ tmp_1 = this.k2r_1;
358
358
  } else {
359
- var tmp0_safe_receiver = this.y2r_1.k2e_1;
359
+ var tmp0_safe_receiver = this.l2r_1.x2d_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.y2r_1.toString());
363
+ throw new ContentConvertException('No suitable converter found for ' + this.l2r_1.toString());
364
364
  }
365
365
  }
366
366
  }