game_client_logic_deb 1.8.397 → 1.8.398
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 +23 -23
- package/Kosi-Kodein-kodein-di.js +161 -161
- package/Kotlin-DateTime-library-kotlinx-datetime.js +170 -170
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-ai_module.js +1944 -0
- package/Logic_Debertz-ai_module.js.map +1 -0
- package/Logic_Debertz-core.js +282 -282
- package/Logic_Debertz-engine.js +12024 -11446
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +4 -2
- package/Logic_Debertz-game_client.js +3830 -3830
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +2066 -2005
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +9 -9
- package/kotlinx-coroutines-core.js +675 -675
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +41 -41
- package/kotlinx-serialization-kotlinx-serialization-core.js +196 -196
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +253 -253
- package/ktor-ktor-client-content-negotiation.js +89 -89
- package/ktor-ktor-client-core.js +1054 -1029
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +293 -288
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +164 -160
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +372 -372
- package/ktor-ktor-serialization-kotlinx.js +127 -127
- package/ktor-ktor-serialization.js +68 -68
- package/ktor-ktor-utils.js +278 -278
- package/ktor-ktor-websockets.js +15 -15
- package/package.json +1 -1
- package/random-library-crypto-rand.js +13 -13
- package/random-library-secure-random.js +5 -5
- package/raspberry-cardgame-lib-core.js +99 -99
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +12 -12
- package/raspberry-cardgame-lib-random.js +205 -205
- package/uuid.js +15 -15
- package/uuid.js.map +1 -1
|
@@ -21,29 +21,29 @@
|
|
|
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.$_$.fh;
|
|
25
25
|
var VOID = kotlin_kotlin.$_$.b;
|
|
26
26
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.g1;
|
|
27
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
28
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
29
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
27
|
+
var captureStack = kotlin_kotlin.$_$.ub;
|
|
28
|
+
var protoOf = kotlin_kotlin.$_$.kd;
|
|
29
|
+
var initMetadataForClass = kotlin_kotlin.$_$.kc;
|
|
30
30
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
31
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
32
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
31
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.nc;
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.fi;
|
|
33
33
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.g;
|
|
34
34
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
|
|
35
|
-
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.
|
|
35
|
+
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.i1;
|
|
36
36
|
var Companion_instance = kotlin_io_ktor_ktor_io.$_$.f;
|
|
37
|
-
var equals = kotlin_kotlin.$_$.
|
|
38
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
39
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
37
|
+
var equals = kotlin_kotlin.$_$.dc;
|
|
38
|
+
var FunctionAdapter = kotlin_kotlin.$_$.qb;
|
|
39
|
+
var isInterface = kotlin_kotlin.$_$.yc;
|
|
40
40
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
41
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
42
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
44
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
45
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
46
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
41
|
+
var hashCode = kotlin_kotlin.$_$.jc;
|
|
42
|
+
var CoroutineImpl = kotlin_kotlin.$_$.qa;
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.oh;
|
|
44
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ba;
|
|
45
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.oc;
|
|
46
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.mc;
|
|
47
47
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
48
48
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
49
49
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
@@ -102,9 +102,9 @@
|
|
|
102
102
|
}
|
|
103
103
|
function deserialize(_this__u8e3s4, body, typeInfo, charset, $completion) {
|
|
104
104
|
var tmp = new $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, $completion);
|
|
105
|
-
tmp.
|
|
106
|
-
tmp.
|
|
107
|
-
return tmp.
|
|
105
|
+
tmp.u8_1 = Unit_instance;
|
|
106
|
+
tmp.v8_1 = null;
|
|
107
|
+
return tmp.a9();
|
|
108
108
|
}
|
|
109
109
|
function suitableCharset(_this__u8e3s4, defaultCharset) {
|
|
110
110
|
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().r30_1 : defaultCharset;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().r30_1 : defaultCharset;
|
|
116
116
|
var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.t1b(HttpHeaders_getInstance().g3e_1)).l();
|
|
117
117
|
while (tmp0_iterator.m()) {
|
|
118
|
-
var charset = tmp0_iterator.n().
|
|
118
|
+
var charset = tmp0_iterator.n().oe();
|
|
119
119
|
if (charset === '*')
|
|
120
120
|
return defaultCharset;
|
|
121
121
|
else if (Companion_instance.s33(charset))
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).z27 = function (value, $completion) {
|
|
130
130
|
return this.f4u_1(value, $completion);
|
|
131
131
|
};
|
|
132
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
132
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
133
133
|
return this.f4u_1;
|
|
134
134
|
};
|
|
135
135
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
138
138
|
var tmp_0;
|
|
139
139
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
140
|
-
tmp_0 = equals(this.
|
|
140
|
+
tmp_0 = equals(this.b3(), other.b3());
|
|
141
141
|
} else {
|
|
142
142
|
tmp_0 = false;
|
|
143
143
|
}
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
return tmp;
|
|
149
149
|
};
|
|
150
150
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
151
|
-
return hashCode(this.
|
|
151
|
+
return hashCode(this.b3());
|
|
152
152
|
};
|
|
153
153
|
function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
154
154
|
this.o4u_1 = $$this$unsafeFlow;
|
|
@@ -159,25 +159,25 @@
|
|
|
159
159
|
}
|
|
160
160
|
protoOf(deserialize$o$collect$slambda).u4u = function (value, $completion) {
|
|
161
161
|
var tmp = this.v4u(value, $completion);
|
|
162
|
-
tmp.
|
|
163
|
-
tmp.
|
|
164
|
-
return tmp.
|
|
162
|
+
tmp.u8_1 = Unit_instance;
|
|
163
|
+
tmp.v8_1 = null;
|
|
164
|
+
return tmp.a9();
|
|
165
165
|
};
|
|
166
|
-
protoOf(deserialize$o$collect$slambda).
|
|
166
|
+
protoOf(deserialize$o$collect$slambda).i9 = function (p1, $completion) {
|
|
167
167
|
return this.u4u((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
168
168
|
};
|
|
169
|
-
protoOf(deserialize$o$collect$slambda).
|
|
170
|
-
var suspendResult = this.
|
|
169
|
+
protoOf(deserialize$o$collect$slambda).a9 = function () {
|
|
170
|
+
var suspendResult = this.u8_1;
|
|
171
171
|
$sm: do
|
|
172
172
|
try {
|
|
173
|
-
var tmp = this.
|
|
173
|
+
var tmp = this.s8_1;
|
|
174
174
|
switch (tmp) {
|
|
175
175
|
case 0:
|
|
176
|
-
this.
|
|
176
|
+
this.t8_1 = 3;
|
|
177
177
|
var tmp0 = this.o4u_1;
|
|
178
178
|
var tmp2 = this.s4u_1;
|
|
179
179
|
this.t4u_1 = tmp0;
|
|
180
|
-
this.
|
|
180
|
+
this.s8_1 = 1;
|
|
181
181
|
suspendResult = tmp2.s4t(this.p4u_1, this.q4u_1, this.r4u_1, this);
|
|
182
182
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
183
183
|
return suspendResult;
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
continue $sm;
|
|
187
187
|
case 1:
|
|
188
188
|
var ARGUMENT = suspendResult;
|
|
189
|
-
this.
|
|
189
|
+
this.s8_1 = 2;
|
|
190
190
|
suspendResult = this.t4u_1.z27(ARGUMENT, this);
|
|
191
191
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
192
192
|
return suspendResult;
|
|
@@ -196,15 +196,15 @@
|
|
|
196
196
|
case 2:
|
|
197
197
|
return Unit_instance;
|
|
198
198
|
case 3:
|
|
199
|
-
throw this.
|
|
199
|
+
throw this.v8_1;
|
|
200
200
|
}
|
|
201
201
|
} catch ($p) {
|
|
202
202
|
var e = $p;
|
|
203
|
-
if (this.
|
|
203
|
+
if (this.t8_1 === 3) {
|
|
204
204
|
throw e;
|
|
205
205
|
} else {
|
|
206
|
-
this.
|
|
207
|
-
this.
|
|
206
|
+
this.s8_1 = this.t8_1;
|
|
207
|
+
this.v8_1 = e;
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
while (true);
|
|
@@ -227,16 +227,16 @@
|
|
|
227
227
|
this.e4v_1 = _this__u8e3s4;
|
|
228
228
|
this.f4v_1 = collector;
|
|
229
229
|
}
|
|
230
|
-
protoOf($collectCOROUTINE$).
|
|
231
|
-
var suspendResult = this.
|
|
230
|
+
protoOf($collectCOROUTINE$).a9 = function () {
|
|
231
|
+
var suspendResult = this.u8_1;
|
|
232
232
|
$sm: do
|
|
233
233
|
try {
|
|
234
|
-
var tmp = this.
|
|
234
|
+
var tmp = this.s8_1;
|
|
235
235
|
switch (tmp) {
|
|
236
236
|
case 0:
|
|
237
|
-
this.
|
|
237
|
+
this.t8_1 = 2;
|
|
238
238
|
var $this$unsafeFlow = this.f4v_1;
|
|
239
|
-
this.
|
|
239
|
+
this.s8_1 = 1;
|
|
240
240
|
var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.e4v_1.h4v_1, this.e4v_1.i4v_1, this.e4v_1.j4v_1, null);
|
|
241
241
|
suspendResult = this.e4v_1.g4v_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
242
242
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -247,15 +247,15 @@
|
|
|
247
247
|
case 1:
|
|
248
248
|
return Unit_instance;
|
|
249
249
|
case 2:
|
|
250
|
-
throw this.
|
|
250
|
+
throw this.v8_1;
|
|
251
251
|
}
|
|
252
252
|
} catch ($p) {
|
|
253
253
|
var e = $p;
|
|
254
|
-
if (this.
|
|
254
|
+
if (this.t8_1 === 2) {
|
|
255
255
|
throw e;
|
|
256
256
|
} else {
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
257
|
+
this.s8_1 = this.t8_1;
|
|
258
|
+
this.v8_1 = e;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
while (true);
|
|
@@ -268,9 +268,9 @@
|
|
|
268
268
|
}
|
|
269
269
|
protoOf(deserialize$$inlined$map$1).a28 = function (collector, $completion) {
|
|
270
270
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
271
|
-
tmp.
|
|
272
|
-
tmp.
|
|
273
|
-
return tmp.
|
|
271
|
+
tmp.u8_1 = Unit_instance;
|
|
272
|
+
tmp.v8_1 = null;
|
|
273
|
+
return tmp.a9();
|
|
274
274
|
};
|
|
275
275
|
protoOf(deserialize$$inlined$map$1).l27 = function (collector, $completion) {
|
|
276
276
|
return this.a28(collector, $completion);
|
|
@@ -281,23 +281,23 @@
|
|
|
281
281
|
}
|
|
282
282
|
protoOf(deserialize$slambda).u4v = function (it, $completion) {
|
|
283
283
|
var tmp = this.v4u(it, $completion);
|
|
284
|
-
tmp.
|
|
285
|
-
tmp.
|
|
286
|
-
return tmp.
|
|
284
|
+
tmp.u8_1 = Unit_instance;
|
|
285
|
+
tmp.v8_1 = null;
|
|
286
|
+
return tmp.a9();
|
|
287
287
|
};
|
|
288
|
-
protoOf(deserialize$slambda).
|
|
288
|
+
protoOf(deserialize$slambda).i9 = function (p1, $completion) {
|
|
289
289
|
return this.u4v((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
290
290
|
};
|
|
291
|
-
protoOf(deserialize$slambda).
|
|
292
|
-
var suspendResult = this.
|
|
291
|
+
protoOf(deserialize$slambda).a9 = function () {
|
|
292
|
+
var suspendResult = this.u8_1;
|
|
293
293
|
$sm: do
|
|
294
294
|
try {
|
|
295
|
-
var tmp = this.
|
|
295
|
+
var tmp = this.s8_1;
|
|
296
296
|
if (tmp === 0) {
|
|
297
|
-
this.
|
|
297
|
+
this.t8_1 = 1;
|
|
298
298
|
return !(this.t4v_1 == null) || this.s4v_1.o2q();
|
|
299
299
|
} else if (tmp === 1) {
|
|
300
|
-
throw this.
|
|
300
|
+
throw this.v8_1;
|
|
301
301
|
}
|
|
302
302
|
} catch ($p) {
|
|
303
303
|
var e = $p;
|
|
@@ -325,15 +325,15 @@
|
|
|
325
325
|
this.d4u_1 = typeInfo;
|
|
326
326
|
this.e4u_1 = charset;
|
|
327
327
|
}
|
|
328
|
-
protoOf($deserializeCOROUTINE$).
|
|
329
|
-
var suspendResult = this.
|
|
328
|
+
protoOf($deserializeCOROUTINE$).a9 = function () {
|
|
329
|
+
var suspendResult = this.u8_1;
|
|
330
330
|
$sm: do
|
|
331
331
|
try {
|
|
332
|
-
var tmp = this.
|
|
332
|
+
var tmp = this.s8_1;
|
|
333
333
|
switch (tmp) {
|
|
334
334
|
case 0:
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
335
|
+
this.t8_1 = 2;
|
|
336
|
+
this.s8_1 = 1;
|
|
337
337
|
var this_0 = asFlow(this.b4u_1);
|
|
338
338
|
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.e4u_1, this.d4u_1, this.c4u_1);
|
|
339
339
|
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.c4u_1, null), this);
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
tmp_1 = this.c4u_1;
|
|
353
353
|
} else {
|
|
354
354
|
var tmp0_safe_receiver = this.d4u_1.d3c_1;
|
|
355
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
355
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ta()) === true) {
|
|
356
356
|
tmp_1 = NullBody_instance;
|
|
357
357
|
} else {
|
|
358
358
|
throw new ContentConvertException('No suitable converter found for ' + this.d4u_1.toString());
|
|
@@ -362,15 +362,15 @@
|
|
|
362
362
|
|
|
363
363
|
return tmp_1;
|
|
364
364
|
case 2:
|
|
365
|
-
throw this.
|
|
365
|
+
throw this.v8_1;
|
|
366
366
|
}
|
|
367
367
|
} catch ($p) {
|
|
368
368
|
var e = $p;
|
|
369
|
-
if (this.
|
|
369
|
+
if (this.t8_1 === 2) {
|
|
370
370
|
throw e;
|
|
371
371
|
} else {
|
|
372
|
-
this.
|
|
373
|
-
this.
|
|
372
|
+
this.s8_1 = this.t8_1;
|
|
373
|
+
this.v8_1 = e;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
while (true);
|