raspberry_games_server_game_logic 1.8.431 → 1.8.433

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 (36) hide show
  1. package/Kosi-Kaverit-kaverit.js +2 -2
  2. package/Kosi-Kodein-kodein-di.js +16 -16
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +151 -151
  4. package/Logic_Debertz-ai_module.js +193 -193
  5. package/Logic_Debertz-core.js +536 -536
  6. package/Logic_Debertz-engine.js +3710 -3649
  7. package/Logic_Debertz-engine.js.map +1 -1
  8. package/Logic_Debertz-game_server.d.ts +16 -0
  9. package/Logic_Debertz-game_server.js +1001 -1001
  10. package/kotlin-kotlin-stdlib.js +546 -540
  11. package/kotlin-kotlin-stdlib.js.map +1 -1
  12. package/kotlinx-atomicfu.js +13 -13
  13. package/kotlinx-coroutines-core.js +2160 -2160
  14. package/kotlinx-io-kotlinx-io-core.js +314 -314
  15. package/kotlinx-serialization-kotlinx-serialization-core.js +1739 -1739
  16. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  17. package/kotlinx-serialization-kotlinx-serialization-json.js +1316 -1316
  18. package/ktor-ktor-client-content-negotiation.js +123 -123
  19. package/ktor-ktor-client-core.js +1442 -1442
  20. package/ktor-ktor-client-logging.js +265 -265
  21. package/ktor-ktor-events.js +6 -6
  22. package/ktor-ktor-http.js +590 -590
  23. package/ktor-ktor-io.js +1241 -1241
  24. package/ktor-ktor-serialization-kotlinx-json.js +6 -6
  25. package/ktor-ktor-serialization-kotlinx.js +132 -132
  26. package/ktor-ktor-serialization.js +61 -61
  27. package/ktor-ktor-utils.js +483 -483
  28. package/ktor-ktor-websockets.js +42 -42
  29. package/package.json +1 -1
  30. package/random-library-crypto-rand.js +1 -1
  31. package/random-library-secure-random.js +2 -2
  32. package/raspberry-cardgame-lib-core.js +7 -7
  33. package/raspberry-cardgame-lib-logger.js +90 -90
  34. package/raspberry-cardgame-lib-random.js +794 -794
  35. package/raspberry-cardgame-lib-random.js.map +1 -1
  36. package/uuid.js +12 -12
@@ -62,19 +62,19 @@
62
62
  configuration = tmp;
63
63
  var tmp_0;
64
64
  if ($super === VOID) {
65
- this.r4u(contentType, converter, configuration);
65
+ this.s4u(contentType, converter, configuration);
66
66
  tmp_0 = Unit_instance;
67
67
  } else {
68
- tmp_0 = $super.r4u.call(this, contentType, converter, configuration);
68
+ tmp_0 = $super.s4u.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.u4u(contentType, charset, typeInfo, value, $completion);
74
+ return this.v4u(contentType, charset, typeInfo, value, $completion);
75
75
  }
76
76
  function serializeNullable(contentType, charset, typeInfo, value, $completion) {
77
- return this.t4u(contentType, charset, typeInfo, ensureNotNull(value), $completion);
77
+ return this.u4u(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.a9();
109
109
  }
110
110
  function suitableCharset(_this__u8e3s4, defaultCharset) {
111
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().v31_1 : defaultCharset;
111
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().w31_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().v31_1 : defaultCharset;
117
- var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.t1b(HttpHeaders_getInstance().k3f_1)).l();
116
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().w31_1 : defaultCharset;
117
+ var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.u1b(HttpHeaders_getInstance().l3f_1)).l();
118
118
  while (tmp0_iterator.m()) {
119
119
  var charset = tmp0_iterator.n().oe();
120
120
  if (charset === '*')
121
121
  return defaultCharset;
122
- else if (Companion_instance.w34(charset))
123
- return Companion_instance.v34(charset);
122
+ else if (Companion_instance.x34(charset))
123
+ return Companion_instance.w34(charset);
124
124
  }
125
125
  return null;
126
126
  }
127
127
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
128
- this.i4v_1 = function_0;
128
+ this.j4v_1 = function_0;
129
129
  }
130
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
131
- return this.i4v_1(value, $completion);
130
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o28 = function (value, $completion) {
131
+ return this.j4v_1(value, $completion);
132
132
  };
133
133
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
134
- return this.i4v_1;
134
+ return this.j4v_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.b3());
153
153
  };
154
154
  function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
155
- this.r4v_1 = $$this$unsafeFlow;
156
- this.s4v_1 = $charset;
157
- this.t4v_1 = $typeInfo;
158
- this.u4v_1 = $body;
155
+ this.s4v_1 = $$this$unsafeFlow;
156
+ this.t4v_1 = $charset;
157
+ this.u4v_1 = $typeInfo;
158
+ this.v4v_1 = $body;
159
159
  CoroutineImpl.call(this, resultContinuation);
160
160
  }
161
- protoOf(deserialize$o$collect$slambda).w2h = function (value, $completion) {
162
- var tmp = this.x2h(value, $completion);
161
+ protoOf(deserialize$o$collect$slambda).x2h = function (value, $completion) {
162
+ var tmp = this.y2h(value, $completion);
163
163
  tmp.u8_1 = Unit_instance;
164
164
  tmp.v8_1 = null;
165
165
  return tmp.a9();
166
166
  };
167
167
  protoOf(deserialize$o$collect$slambda).i9 = function (p1, $completion) {
168
- return this.w2h((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
168
+ return this.x2h((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
169
169
  };
170
170
  protoOf(deserialize$o$collect$slambda).a9 = function () {
171
171
  var suspendResult = this.u8_1;
@@ -175,11 +175,11 @@
175
175
  switch (tmp) {
176
176
  case 0:
177
177
  this.t8_1 = 3;
178
- var tmp0 = this.r4v_1;
179
- var tmp2 = this.v4v_1;
180
- this.w4v_1 = tmp0;
178
+ var tmp0 = this.s4v_1;
179
+ var tmp2 = this.w4v_1;
180
+ this.x4v_1 = tmp0;
181
181
  this.s8_1 = 1;
182
- suspendResult = tmp2.v4u(this.s4v_1, this.t4v_1, this.u4v_1, this);
182
+ suspendResult = tmp2.w4u(this.t4v_1, this.u4v_1, this.v4v_1, this);
183
183
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
184
184
  return suspendResult;
185
185
  }
@@ -188,7 +188,7 @@
188
188
  case 1:
189
189
  var ARGUMENT = suspendResult;
190
190
  this.s8_1 = 2;
191
- suspendResult = this.w4v_1.n28(ARGUMENT, this);
191
+ suspendResult = this.x4v_1.o28(ARGUMENT, this);
192
192
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
193
193
  return suspendResult;
194
194
  }
@@ -210,23 +210,23 @@
210
210
  }
211
211
  while (true);
212
212
  };
213
- protoOf(deserialize$o$collect$slambda).x2h = function (value, completion) {
214
- var i = new deserialize$o$collect$slambda(this.r4v_1, this.s4v_1, this.t4v_1, this.u4v_1, completion);
215
- i.v4v_1 = value;
213
+ protoOf(deserialize$o$collect$slambda).y2h = function (value, completion) {
214
+ var i = new deserialize$o$collect$slambda(this.s4v_1, this.t4v_1, this.u4v_1, this.v4v_1, completion);
215
+ i.w4v_1 = value;
216
216
  return i;
217
217
  };
218
218
  function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
219
219
  var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
220
220
  var l = function (value, $completion) {
221
- return i.w2h(value, $completion);
221
+ return i.x2h(value, $completion);
222
222
  };
223
223
  l.$arity = 1;
224
224
  return l;
225
225
  }
226
226
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
227
227
  CoroutineImpl.call(this, resultContinuation);
228
- this.f4w_1 = _this__u8e3s4;
229
- this.g4w_1 = collector;
228
+ this.g4w_1 = _this__u8e3s4;
229
+ this.h4w_1 = collector;
230
230
  }
231
231
  protoOf($collectCOROUTINE$).a9 = function () {
232
232
  var suspendResult = this.u8_1;
@@ -236,10 +236,10 @@
236
236
  switch (tmp) {
237
237
  case 0:
238
238
  this.t8_1 = 2;
239
- var $this$unsafeFlow = this.g4w_1;
239
+ var $this$unsafeFlow = this.h4w_1;
240
240
  this.s8_1 = 1;
241
- var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.f4w_1.i4w_1, this.f4w_1.j4w_1, this.f4w_1.k4w_1, null);
242
- suspendResult = this.f4w_1.h4w_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
241
+ var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.g4w_1.j4w_1, this.g4w_1.k4w_1, this.g4w_1.l4w_1, null);
242
+ suspendResult = this.g4w_1.i4w_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
243
243
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
244
244
  return suspendResult;
245
245
  }
@@ -262,32 +262,32 @@
262
262
  while (true);
263
263
  };
264
264
  function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
265
- this.h4w_1 = $this;
266
- this.i4w_1 = $charset;
267
- this.j4w_1 = $typeInfo;
268
- this.k4w_1 = $body;
265
+ this.i4w_1 = $this;
266
+ this.j4w_1 = $charset;
267
+ this.k4w_1 = $typeInfo;
268
+ this.l4w_1 = $body;
269
269
  }
270
- protoOf(deserialize$$inlined$map$1).o28 = function (collector, $completion) {
270
+ protoOf(deserialize$$inlined$map$1).p28 = function (collector, $completion) {
271
271
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
272
272
  tmp.u8_1 = Unit_instance;
273
273
  tmp.v8_1 = null;
274
274
  return tmp.a9();
275
275
  };
276
- protoOf(deserialize$$inlined$map$1).n27 = function (collector, $completion) {
277
- return this.o28(collector, $completion);
276
+ protoOf(deserialize$$inlined$map$1).o27 = function (collector, $completion) {
277
+ return this.p28(collector, $completion);
278
278
  };
279
279
  function deserialize$slambda($body, resultContinuation) {
280
- this.t4w_1 = $body;
280
+ this.u4w_1 = $body;
281
281
  CoroutineImpl.call(this, resultContinuation);
282
282
  }
283
- protoOf(deserialize$slambda).v4w = function (it, $completion) {
284
- var tmp = this.x2h(it, $completion);
283
+ protoOf(deserialize$slambda).w4w = function (it, $completion) {
284
+ var tmp = this.y2h(it, $completion);
285
285
  tmp.u8_1 = Unit_instance;
286
286
  tmp.v8_1 = null;
287
287
  return tmp.a9();
288
288
  };
289
289
  protoOf(deserialize$slambda).i9 = function (p1, $completion) {
290
- return this.v4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
290
+ return this.w4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
291
291
  };
292
292
  protoOf(deserialize$slambda).a9 = function () {
293
293
  var suspendResult = this.u8_1;
@@ -296,7 +296,7 @@
296
296
  var tmp = this.s8_1;
297
297
  if (tmp === 0) {
298
298
  this.t8_1 = 1;
299
- return !(this.u4w_1 == null) || this.t4w_1.s2r();
299
+ return !(this.v4w_1 == null) || this.u4w_1.t2r();
300
300
  } else if (tmp === 1) {
301
301
  throw this.v8_1;
302
302
  }
@@ -306,25 +306,25 @@
306
306
  }
307
307
  while (true);
308
308
  };
309
- protoOf(deserialize$slambda).x2h = function (it, completion) {
310
- var i = new deserialize$slambda(this.t4w_1, completion);
311
- i.u4w_1 = it;
309
+ protoOf(deserialize$slambda).y2h = function (it, completion) {
310
+ var i = new deserialize$slambda(this.u4w_1, completion);
311
+ i.v4w_1 = it;
312
312
  return i;
313
313
  };
314
314
  function deserialize$slambda_0($body, resultContinuation) {
315
315
  var i = new deserialize$slambda($body, resultContinuation);
316
316
  var l = function (it, $completion) {
317
- return i.v4w(it, $completion);
317
+ return i.w4w(it, $completion);
318
318
  };
319
319
  l.$arity = 1;
320
320
  return l;
321
321
  }
322
322
  function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
323
323
  CoroutineImpl.call(this, resultContinuation);
324
- this.e4v_1 = _this__u8e3s4;
325
- this.f4v_1 = body;
326
- this.g4v_1 = typeInfo;
327
- this.h4v_1 = charset;
324
+ this.f4v_1 = _this__u8e3s4;
325
+ this.g4v_1 = body;
326
+ this.h4v_1 = typeInfo;
327
+ this.i4v_1 = charset;
328
328
  }
329
329
  protoOf($deserializeCOROUTINE$).a9 = function () {
330
330
  var suspendResult = this.u8_1;
@@ -335,9 +335,9 @@
335
335
  case 0:
336
336
  this.t8_1 = 2;
337
337
  this.s8_1 = 1;
338
- var this_0 = asFlow(this.e4v_1);
339
- var tmp_0 = new deserialize$$inlined$map$1(this_0, this.h4v_1, this.g4v_1, this.f4v_1);
340
- suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.f4v_1, null), this);
338
+ var this_0 = asFlow(this.f4v_1);
339
+ var tmp_0 = new deserialize$$inlined$map$1(this_0, this.i4v_1, this.h4v_1, this.g4v_1);
340
+ suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.g4v_1, null), this);
341
341
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
342
342
  return suspendResult;
343
343
  }
@@ -349,14 +349,14 @@
349
349
  if (!(result == null)) {
350
350
  tmp_1 = result;
351
351
  } else {
352
- if (!this.f4v_1.s2r()) {
353
- tmp_1 = this.f4v_1;
352
+ if (!this.g4v_1.t2r()) {
353
+ tmp_1 = this.g4v_1;
354
354
  } else {
355
- var tmp0_safe_receiver = this.g4v_1.h3d_1;
355
+ var tmp0_safe_receiver = this.h4v_1.i3d_1;
356
356
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ta()) === true) {
357
357
  tmp_1 = NullBody_instance;
358
358
  } else {
359
- throw new ContentConvertException('No suitable converter found for ' + this.g4v_1.toString());
359
+ throw new ContentConvertException('No suitable converter found for ' + this.h4v_1.toString());
360
360
  }
361
361
  }
362
362
  }