raspberry_games_server_game_logic 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 +171 -171
- 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 +385 -385
- package/Logic_Debertz-engine.js +13842 -13243
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +5 -3
- package/Logic_Debertz-game_server.js +1451 -1451
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +2065 -2004
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +9 -9
- package/kotlinx-coroutines-core.js +696 -696
- 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 +97 -97
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +12 -12
- package/raspberry-cardgame-lib-random.js +237 -237
- package/uuid.js +15 -15
- package/uuid.js.map +1 -1
|
@@ -50,68 +50,68 @@
|
|
|
50
50
|
//region block: imports
|
|
51
51
|
var imul = Math.imul;
|
|
52
52
|
var clz32 = Math.clz32;
|
|
53
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
54
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
55
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
53
|
+
var protoOf = kotlin_kotlin.$_$.kd;
|
|
54
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.lc;
|
|
55
|
+
var RuntimeException = kotlin_kotlin.$_$.mh;
|
|
56
56
|
var VOID = kotlin_kotlin.$_$.b;
|
|
57
57
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.z1;
|
|
58
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
59
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
60
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
61
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
62
|
-
var toString = kotlin_kotlin.$_$.
|
|
63
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
64
|
-
var equals = kotlin_kotlin.$_$.
|
|
58
|
+
var captureStack = kotlin_kotlin.$_$.ub;
|
|
59
|
+
var initMetadataForClass = kotlin_kotlin.$_$.kc;
|
|
60
|
+
var getStringHashCode = kotlin_kotlin.$_$.ic;
|
|
61
|
+
var THROW_CCE = kotlin_kotlin.$_$.nh;
|
|
62
|
+
var toString = kotlin_kotlin.$_$.nd;
|
|
63
|
+
var hashCode = kotlin_kotlin.$_$.jc;
|
|
64
|
+
var equals = kotlin_kotlin.$_$.dc;
|
|
65
65
|
var listOf = kotlin_kotlin.$_$.f8;
|
|
66
66
|
var plus = kotlin_kotlin.$_$.r8;
|
|
67
67
|
var emptyList = kotlin_kotlin.$_$.d7;
|
|
68
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
69
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
68
|
+
var defineProp = kotlin_kotlin.$_$.cc;
|
|
69
|
+
var fromInt = kotlin_kotlin.$_$.fb;
|
|
70
70
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
71
71
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
72
72
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
73
73
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
74
74
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
75
75
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
76
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
76
|
+
var initMetadataForObject = kotlin_kotlin.$_$.pc;
|
|
77
77
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
78
78
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
79
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
80
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
79
|
+
var objectCreate = kotlin_kotlin.$_$.jd;
|
|
80
|
+
var toString_0 = kotlin_kotlin.$_$.ri;
|
|
81
81
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
82
82
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
83
83
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
|
|
84
84
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.e;
|
|
85
|
-
var lazy = kotlin_kotlin.$_$.
|
|
85
|
+
var lazy = kotlin_kotlin.$_$.ji;
|
|
86
86
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
87
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
88
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
87
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.fc;
|
|
88
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.nc;
|
|
89
89
|
var getValue = kotlin_kotlin.$_$.q7;
|
|
90
90
|
var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
|
|
91
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.qa;
|
|
92
92
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.l;
|
|
93
|
-
var url = kotlin_io_ktor_ktor_client_core.$_$.
|
|
93
|
+
var url = kotlin_io_ktor_ktor_client_core.$_$.p;
|
|
94
94
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
95
95
|
var JsType_instance = kotlin_io_ktor_ktor_utils.$_$.b;
|
|
96
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
97
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
98
|
-
var createKType = kotlin_kotlin.$_$.
|
|
99
|
-
var createInvariantKTypeProjection = kotlin_kotlin.$_$.
|
|
96
|
+
var getKClass = kotlin_kotlin.$_$.fe;
|
|
97
|
+
var arrayOf = kotlin_kotlin.$_$.bi;
|
|
98
|
+
var createKType = kotlin_kotlin.$_$.de;
|
|
99
|
+
var createInvariantKTypeProjection = kotlin_kotlin.$_$.ce;
|
|
100
100
|
var typeInfoImpl = kotlin_io_ktor_ktor_utils.$_$.l;
|
|
101
101
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
102
102
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
103
103
|
var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.f;
|
|
104
|
-
var HttpStatement = kotlin_io_ktor_ktor_client_core.$_$.
|
|
105
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
104
|
+
var HttpStatement = kotlin_io_ktor_ktor_client_core.$_$.s;
|
|
105
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ba;
|
|
106
106
|
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
107
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
107
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.mc;
|
|
108
108
|
var KtMap = kotlin_kotlin.$_$.q5;
|
|
109
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
109
|
+
var isInterface = kotlin_kotlin.$_$.yc;
|
|
110
110
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.v4;
|
|
111
|
-
var Long = kotlin_kotlin.$_$.
|
|
111
|
+
var Long = kotlin_kotlin.$_$.ih;
|
|
112
112
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
113
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
114
|
-
var Duration = kotlin_kotlin.$_$.
|
|
113
|
+
var toDuration = kotlin_kotlin.$_$.ug;
|
|
114
|
+
var Duration = kotlin_kotlin.$_$.rg;
|
|
115
115
|
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.k2;
|
|
116
116
|
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.f2;
|
|
117
117
|
var System_instance = kotlin_kotlin.$_$.u4;
|
|
@@ -119,43 +119,43 @@
|
|
|
119
119
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
120
120
|
var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
121
121
|
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
122
|
-
var Result = kotlin_kotlin.$_$.
|
|
122
|
+
var Result = kotlin_kotlin.$_$.lh;
|
|
123
123
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
124
124
|
var Companion_instance = kotlin_kotlin.$_$.a5;
|
|
125
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
125
|
+
var createFailure = kotlin_kotlin.$_$.di;
|
|
126
126
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.t2;
|
|
127
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
127
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.oc;
|
|
128
128
|
var Duration__compareTo_impl_pchp0f = kotlin_kotlin.$_$.e2;
|
|
129
129
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
130
130
|
var firstOrNull = kotlin_kotlin.$_$.i7;
|
|
131
131
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
132
132
|
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
133
|
-
var toMutableMap = kotlin_kotlin.$_$.
|
|
134
|
-
var toMap = kotlin_kotlin.$_$.
|
|
133
|
+
var toMutableMap = kotlin_kotlin.$_$.r9;
|
|
134
|
+
var toMap = kotlin_kotlin.$_$.o9;
|
|
135
135
|
var emptyMap = kotlin_kotlin.$_$.e7;
|
|
136
136
|
var get_lastIndex = kotlin_kotlin.$_$.y7;
|
|
137
|
-
var header = kotlin_io_ktor_ktor_client_core.$_$.
|
|
138
|
-
var Companion_instance_0 = kotlin_io_ktor_ktor_client_logging.$_$.
|
|
139
|
-
var get_DEFAULT = kotlin_io_ktor_ktor_client_logging.$_$.
|
|
137
|
+
var header = kotlin_io_ktor_ktor_client_core.$_$.o;
|
|
138
|
+
var Companion_instance_0 = kotlin_io_ktor_ktor_client_logging.$_$.c;
|
|
139
|
+
var get_DEFAULT = kotlin_io_ktor_ktor_client_logging.$_$.e;
|
|
140
140
|
var json = kotlin_io_ktor_ktor_serialization_kotlinx_json.$_$.a;
|
|
141
141
|
var defaultRequest = kotlin_io_ktor_ktor_client_core.$_$.k;
|
|
142
|
-
var Companion_getInstance_1 = kotlin_io_ktor_ktor_client_logging.$_$.
|
|
142
|
+
var Companion_getInstance_1 = kotlin_io_ktor_ktor_client_logging.$_$.d;
|
|
143
143
|
var Plugin_getInstance = kotlin_io_ktor_ktor_client_content_negotiation.$_$.a;
|
|
144
144
|
var LogLevel_ALL_getInstance = kotlin_io_ktor_ktor_client_logging.$_$.a;
|
|
145
145
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
146
|
-
var equalsLong = kotlin_kotlin.$_$.
|
|
146
|
+
var equalsLong = kotlin_kotlin.$_$.eb;
|
|
147
147
|
var SecRandomCopyException = kotlin_org_kotlincrypto_secure_random.$_$.a;
|
|
148
148
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
149
149
|
var SecureRandom = kotlin_org_kotlincrypto_secure_random.$_$.b;
|
|
150
150
|
var Default_getInstance = kotlin_kotlin.$_$.r4;
|
|
151
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
151
|
+
var toMutableList = kotlin_kotlin.$_$.q9;
|
|
152
152
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h;
|
|
153
|
-
var take = kotlin_kotlin.$_$.
|
|
153
|
+
var take = kotlin_kotlin.$_$.i9;
|
|
154
154
|
var drop = kotlin_kotlin.$_$.c7;
|
|
155
|
-
var reverse = kotlin_kotlin.$_$.
|
|
155
|
+
var reverse = kotlin_kotlin.$_$.y8;
|
|
156
156
|
var Plugin_getInstance_0 = kotlin_io_ktor_ktor_client_core.$_$.c;
|
|
157
157
|
var Js_instance = kotlin_io_ktor_ktor_client_core.$_$.a;
|
|
158
|
-
var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.
|
|
158
|
+
var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.t;
|
|
159
159
|
//endregion
|
|
160
160
|
//region block: pre-declaration
|
|
161
161
|
initMetadataForCompanion(Companion);
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
var i = inductionVariable;
|
|
230
230
|
inductionVariable = inductionVariable + -1 | 0;
|
|
231
231
|
var j = this.og(0, i + 1 | 0);
|
|
232
|
-
list.
|
|
232
|
+
list.m2(j, list.m2(i, list.p(j)));
|
|
233
233
|
}
|
|
234
234
|
while (1 <= inductionVariable);
|
|
235
235
|
return list;
|
|
@@ -262,10 +262,10 @@
|
|
|
262
262
|
protoOf(CardDecksRequestUserData).z53 = function () {
|
|
263
263
|
return this.count;
|
|
264
264
|
};
|
|
265
|
-
protoOf(CardDecksRequestUserData).
|
|
265
|
+
protoOf(CardDecksRequestUserData).oe = function () {
|
|
266
266
|
return this.id;
|
|
267
267
|
};
|
|
268
|
-
protoOf(CardDecksRequestUserData).
|
|
268
|
+
protoOf(CardDecksRequestUserData).pe = function () {
|
|
269
269
|
return this.count;
|
|
270
270
|
};
|
|
271
271
|
protoOf(CardDecksRequestUserData).a54 = function (id, count) {
|
|
@@ -306,10 +306,10 @@
|
|
|
306
306
|
protoOf(CardDeckRequestUserData).c54 = function () {
|
|
307
307
|
return this.gameId;
|
|
308
308
|
};
|
|
309
|
-
protoOf(CardDeckRequestUserData).
|
|
309
|
+
protoOf(CardDeckRequestUserData).oe = function () {
|
|
310
310
|
return this.players;
|
|
311
311
|
};
|
|
312
|
-
protoOf(CardDeckRequestUserData).
|
|
312
|
+
protoOf(CardDeckRequestUserData).pe = function () {
|
|
313
313
|
return this.gameId;
|
|
314
314
|
};
|
|
315
315
|
protoOf(CardDeckRequestUserData).d54 = function (players, gameId) {
|
|
@@ -347,13 +347,13 @@
|
|
|
347
347
|
protoOf(UserInfoData).y53 = function () {
|
|
348
348
|
return this.id;
|
|
349
349
|
};
|
|
350
|
-
protoOf(UserInfoData).
|
|
350
|
+
protoOf(UserInfoData).r2 = function () {
|
|
351
351
|
return this.name;
|
|
352
352
|
};
|
|
353
|
-
protoOf(UserInfoData).
|
|
353
|
+
protoOf(UserInfoData).oe = function () {
|
|
354
354
|
return this.id;
|
|
355
355
|
};
|
|
356
|
-
protoOf(UserInfoData).
|
|
356
|
+
protoOf(UserInfoData).pe = function () {
|
|
357
357
|
return this.name;
|
|
358
358
|
};
|
|
359
359
|
protoOf(UserInfoData).e54 = function (id, name) {
|
|
@@ -447,10 +447,10 @@
|
|
|
447
447
|
protoOf(GameCardDecksRecord).m54 = function () {
|
|
448
448
|
return this.rounds;
|
|
449
449
|
};
|
|
450
|
-
protoOf(GameCardDecksRecord).
|
|
450
|
+
protoOf(GameCardDecksRecord).oe = function () {
|
|
451
451
|
return this.poolId;
|
|
452
452
|
};
|
|
453
|
-
protoOf(GameCardDecksRecord).
|
|
453
|
+
protoOf(GameCardDecksRecord).pe = function () {
|
|
454
454
|
return this.signature;
|
|
455
455
|
};
|
|
456
456
|
protoOf(GameCardDecksRecord).xl = function () {
|
|
@@ -505,10 +505,10 @@
|
|
|
505
505
|
protoOf(GameCardDeckData).q54 = function () {
|
|
506
506
|
return this.cards;
|
|
507
507
|
};
|
|
508
|
-
protoOf(GameCardDeckData).
|
|
508
|
+
protoOf(GameCardDeckData).oe = function () {
|
|
509
509
|
return this.cardDeckIndex;
|
|
510
510
|
};
|
|
511
|
-
protoOf(GameCardDeckData).
|
|
511
|
+
protoOf(GameCardDeckData).pe = function () {
|
|
512
512
|
return this.cards;
|
|
513
513
|
};
|
|
514
514
|
protoOf(GameCardDeckData).r54 = function (cardDeckIndex, cards) {
|
|
@@ -550,10 +550,10 @@
|
|
|
550
550
|
protoOf(HttpConfig).t54 = function () {
|
|
551
551
|
return this.timeoutMillis;
|
|
552
552
|
};
|
|
553
|
-
protoOf(HttpConfig).
|
|
553
|
+
protoOf(HttpConfig).oe = function () {
|
|
554
554
|
return this.baseUrl;
|
|
555
555
|
};
|
|
556
|
-
protoOf(HttpConfig).
|
|
556
|
+
protoOf(HttpConfig).pe = function () {
|
|
557
557
|
return this.timeoutMillis;
|
|
558
558
|
};
|
|
559
559
|
protoOf(HttpConfig).a54 = function (baseUrl, timeoutMillis) {
|
|
@@ -609,10 +609,10 @@
|
|
|
609
609
|
protoOf(RandomOrgConfig).x54 = function () {
|
|
610
610
|
return this.httpConfig;
|
|
611
611
|
};
|
|
612
|
-
protoOf(RandomOrgConfig).
|
|
612
|
+
protoOf(RandomOrgConfig).oe = function () {
|
|
613
613
|
return this.apiKey;
|
|
614
614
|
};
|
|
615
|
-
protoOf(RandomOrgConfig).
|
|
615
|
+
protoOf(RandomOrgConfig).pe = function () {
|
|
616
616
|
return this.poolSize;
|
|
617
617
|
};
|
|
618
618
|
protoOf(RandomOrgConfig).xl = function () {
|
|
@@ -1061,7 +1061,7 @@
|
|
|
1061
1061
|
var tmp2_cached = Companion_getInstance_6().q55_1;
|
|
1062
1062
|
tmp1_output.dt(tmp0_desc, 0, value.t55_1);
|
|
1063
1063
|
tmp1_output.ys(tmp0_desc, 1, value.u55_1);
|
|
1064
|
-
tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].
|
|
1064
|
+
tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].x(), value.v55_1);
|
|
1065
1065
|
tmp1_output.ys(tmp0_desc, 3, value.w55_1);
|
|
1066
1066
|
tmp1_output.ys(tmp0_desc, 4, value.x55_1);
|
|
1067
1067
|
tmp1_output.vs(tmp0_desc, 5, value.y55_1);
|
|
@@ -1092,7 +1092,7 @@
|
|
|
1092
1092
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1093
1093
|
tmp5_local1 = tmp12_input.tr(tmp0_desc, 1);
|
|
1094
1094
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1095
|
-
tmp6_local2 = tmp12_input.as(tmp0_desc, 2, tmp13_cached[2].
|
|
1095
|
+
tmp6_local2 = tmp12_input.as(tmp0_desc, 2, tmp13_cached[2].x(), tmp6_local2);
|
|
1096
1096
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1097
1097
|
tmp7_local3 = tmp12_input.tr(tmp0_desc, 3);
|
|
1098
1098
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
@@ -1120,7 +1120,7 @@
|
|
|
1120
1120
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1121
1121
|
break;
|
|
1122
1122
|
case 2:
|
|
1123
|
-
tmp6_local2 = tmp12_input.as(tmp0_desc, 2, tmp13_cached[2].
|
|
1123
|
+
tmp6_local2 = tmp12_input.as(tmp0_desc, 2, tmp13_cached[2].x(), tmp6_local2);
|
|
1124
1124
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1125
1125
|
break;
|
|
1126
1126
|
case 3:
|
|
@@ -1158,7 +1158,7 @@
|
|
|
1158
1158
|
// Inline function 'kotlin.arrayOf' call
|
|
1159
1159
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1160
1160
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1161
|
-
return [StringSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[2].
|
|
1161
|
+
return [StringSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[2].x(), IntSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_2())];
|
|
1162
1162
|
};
|
|
1163
1163
|
var $serializer_instance_1;
|
|
1164
1164
|
function $serializer_getInstance_1() {
|
|
@@ -1678,7 +1678,7 @@
|
|
|
1678
1678
|
var tmp0_desc = this.v56_1;
|
|
1679
1679
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
1680
1680
|
var tmp2_cached = Companion_getInstance_10().u56_1;
|
|
1681
|
-
tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].
|
|
1681
|
+
tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].x(), value.x56_1);
|
|
1682
1682
|
tmp1_output.dt(tmp0_desc, 1, value.y56_1);
|
|
1683
1683
|
tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.z56_1);
|
|
1684
1684
|
tmp1_output.pr(tmp0_desc);
|
|
@@ -1697,7 +1697,7 @@
|
|
|
1697
1697
|
var tmp7_input = decoder.or(tmp0_desc);
|
|
1698
1698
|
var tmp8_cached = Companion_getInstance_10().u56_1;
|
|
1699
1699
|
if (tmp7_input.es()) {
|
|
1700
|
-
tmp4_local0 = tmp7_input.as(tmp0_desc, 0, tmp8_cached[0].
|
|
1700
|
+
tmp4_local0 = tmp7_input.as(tmp0_desc, 0, tmp8_cached[0].x(), tmp4_local0);
|
|
1701
1701
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1702
1702
|
tmp5_local1 = tmp7_input.yr(tmp0_desc, 1);
|
|
1703
1703
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
@@ -1711,7 +1711,7 @@
|
|
|
1711
1711
|
tmp1_flag = false;
|
|
1712
1712
|
break;
|
|
1713
1713
|
case 0:
|
|
1714
|
-
tmp4_local0 = tmp7_input.as(tmp0_desc, 0, tmp8_cached[0].
|
|
1714
|
+
tmp4_local0 = tmp7_input.as(tmp0_desc, 0, tmp8_cached[0].x(), tmp4_local0);
|
|
1715
1715
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1716
1716
|
break;
|
|
1717
1717
|
case 1:
|
|
@@ -1736,7 +1736,7 @@
|
|
|
1736
1736
|
// Inline function 'kotlin.arrayOf' call
|
|
1737
1737
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1738
1738
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1739
|
-
return [Companion_getInstance_10().u56_1[0].
|
|
1739
|
+
return [Companion_getInstance_10().u56_1[0].x(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
1740
1740
|
};
|
|
1741
1741
|
var $serializer_instance_4;
|
|
1742
1742
|
function $serializer_getInstance_4() {
|
|
@@ -1788,9 +1788,9 @@
|
|
|
1788
1788
|
}
|
|
1789
1789
|
function throwIfError($this, bodyAsJson, response, $completion) {
|
|
1790
1790
|
var tmp = new $throwIfErrorCOROUTINE$($this, bodyAsJson, response, $completion);
|
|
1791
|
-
tmp.
|
|
1792
|
-
tmp.
|
|
1793
|
-
return tmp.
|
|
1791
|
+
tmp.u8_1 = Unit_instance;
|
|
1792
|
+
tmp.v8_1 = null;
|
|
1793
|
+
return tmp.a9();
|
|
1794
1794
|
}
|
|
1795
1795
|
function extractRandomResult($this, bodyAsJson) {
|
|
1796
1796
|
return toString(getValue(get_jsonObject(getValue(bodyAsJson, 'result')), 'random'));
|
|
@@ -1812,15 +1812,15 @@
|
|
|
1812
1812
|
this.a58_1 = userData;
|
|
1813
1813
|
this.b58_1 = signed;
|
|
1814
1814
|
}
|
|
1815
|
-
protoOf($getRandomCardDecksCOROUTINE$).
|
|
1816
|
-
var suspendResult = this.
|
|
1815
|
+
protoOf($getRandomCardDecksCOROUTINE$).a9 = function () {
|
|
1816
|
+
var suspendResult = this.u8_1;
|
|
1817
1817
|
$sm: do
|
|
1818
1818
|
try {
|
|
1819
|
-
var tmp = this.
|
|
1819
|
+
var tmp = this.s8_1;
|
|
1820
1820
|
switch (tmp) {
|
|
1821
1821
|
case 0:
|
|
1822
|
-
this.
|
|
1823
|
-
this.
|
|
1822
|
+
this.t8_1 = 6;
|
|
1823
|
+
this.t8_1 = 5;
|
|
1824
1824
|
var tmp0 = this.v57_1.e58_1;
|
|
1825
1825
|
var this_0 = new HttpRequestBuilder();
|
|
1826
1826
|
url(this_0, '/json-rpc/4/invoke');
|
|
@@ -1884,7 +1884,7 @@
|
|
|
1884
1884
|
}
|
|
1885
1885
|
|
|
1886
1886
|
this_0.m3s_1 = Companion_getInstance().o3j_1;
|
|
1887
|
-
this.
|
|
1887
|
+
this.s8_1 = 1;
|
|
1888
1888
|
suspendResult = (new HttpStatement(this_0, tmp0)).b4j(this);
|
|
1889
1889
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1890
1890
|
return suspendResult;
|
|
@@ -1894,7 +1894,7 @@
|
|
|
1894
1894
|
case 1:
|
|
1895
1895
|
this.d58_1 = suspendResult;
|
|
1896
1896
|
var this_1 = this.d58_1;
|
|
1897
|
-
this.
|
|
1897
|
+
this.s8_1 = 2;
|
|
1898
1898
|
var tmp_8 = this_1.p3v();
|
|
1899
1899
|
var tmp_9 = JsType_instance;
|
|
1900
1900
|
var tmp_10 = getKClass(JsonObject);
|
|
@@ -1921,7 +1921,7 @@
|
|
|
1921
1921
|
case 2:
|
|
1922
1922
|
var tmp_13 = this;
|
|
1923
1923
|
tmp_13.c58_1 = suspendResult instanceof JsonObject ? suspendResult : THROW_CCE();
|
|
1924
|
-
this.
|
|
1924
|
+
this.s8_1 = 3;
|
|
1925
1925
|
suspendResult = throwIfError(this.v57_1, this.c58_1, this.d58_1, this);
|
|
1926
1926
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1927
1927
|
return suspendResult;
|
|
@@ -1930,7 +1930,7 @@
|
|
|
1930
1930
|
continue $sm;
|
|
1931
1931
|
case 3:
|
|
1932
1932
|
var this_2 = this.d58_1;
|
|
1933
|
-
this.
|
|
1933
|
+
this.s8_1 = 4;
|
|
1934
1934
|
var tmp_14 = this_2.p3v();
|
|
1935
1935
|
var tmp_15 = JsType_instance;
|
|
1936
1936
|
var tmp_16 = getKClass(RandomResponseDto);
|
|
@@ -1962,29 +1962,29 @@
|
|
|
1962
1962
|
var tmp2_id = responseDto.l56_1;
|
|
1963
1963
|
return new CardDeckResult(tmp0_cardDecks, randomJson, tmp2_id, tmp1_signature);
|
|
1964
1964
|
case 5:
|
|
1965
|
-
this.
|
|
1966
|
-
var tmp_19 = this.
|
|
1965
|
+
this.t8_1 = 6;
|
|
1966
|
+
var tmp_19 = this.v8_1;
|
|
1967
1967
|
if (tmp_19 instanceof Error) {
|
|
1968
|
-
var error = this.
|
|
1968
|
+
var error = this.v8_1;
|
|
1969
1969
|
if (error instanceof RandomException)
|
|
1970
1970
|
throw error;
|
|
1971
1971
|
else {
|
|
1972
1972
|
throw new RandomException(100001, '[getRandomCardDeck] error, message = ' + error.message, error);
|
|
1973
1973
|
}
|
|
1974
1974
|
} else {
|
|
1975
|
-
throw this.
|
|
1975
|
+
throw this.v8_1;
|
|
1976
1976
|
}
|
|
1977
1977
|
|
|
1978
1978
|
case 6:
|
|
1979
|
-
throw this.
|
|
1979
|
+
throw this.v8_1;
|
|
1980
1980
|
}
|
|
1981
1981
|
} catch ($p) {
|
|
1982
1982
|
var e = $p;
|
|
1983
|
-
if (this.
|
|
1983
|
+
if (this.t8_1 === 6) {
|
|
1984
1984
|
throw e;
|
|
1985
1985
|
} else {
|
|
1986
|
-
this.
|
|
1987
|
-
this.
|
|
1986
|
+
this.s8_1 = this.t8_1;
|
|
1987
|
+
this.v8_1 = e;
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
1990
1990
|
while (true);
|
|
@@ -1995,18 +1995,18 @@
|
|
|
1995
1995
|
this.k57_1 = bodyAsJson;
|
|
1996
1996
|
this.l57_1 = response;
|
|
1997
1997
|
}
|
|
1998
|
-
protoOf($throwIfErrorCOROUTINE$).
|
|
1999
|
-
var suspendResult = this.
|
|
1998
|
+
protoOf($throwIfErrorCOROUTINE$).a9 = function () {
|
|
1999
|
+
var suspendResult = this.u8_1;
|
|
2000
2000
|
$sm: do
|
|
2001
2001
|
try {
|
|
2002
|
-
var tmp = this.
|
|
2002
|
+
var tmp = this.s8_1;
|
|
2003
2003
|
switch (tmp) {
|
|
2004
2004
|
case 0:
|
|
2005
|
-
this.
|
|
2005
|
+
this.t8_1 = 3;
|
|
2006
2006
|
var this_0 = this.k57_1;
|
|
2007
|
-
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
2007
|
+
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).a2('error')) {
|
|
2008
2008
|
var this_1 = this.l57_1;
|
|
2009
|
-
this.
|
|
2009
|
+
this.s8_1 = 2;
|
|
2010
2010
|
var tmp_0 = this_1.p3v();
|
|
2011
2011
|
var tmp_1 = JsType_instance;
|
|
2012
2012
|
var tmp_2 = getKClass(ErrorResponseDto);
|
|
@@ -2029,7 +2029,7 @@
|
|
|
2029
2029
|
}
|
|
2030
2030
|
continue $sm;
|
|
2031
2031
|
} else {
|
|
2032
|
-
this.
|
|
2032
|
+
this.s8_1 = 1;
|
|
2033
2033
|
continue $sm;
|
|
2034
2034
|
}
|
|
2035
2035
|
|
|
@@ -2042,15 +2042,15 @@
|
|
|
2042
2042
|
var tmp1_safe_receiver = errorResponseDto.c55_1;
|
|
2043
2043
|
throw new RandomException(tmp_5, tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g55_1);
|
|
2044
2044
|
case 3:
|
|
2045
|
-
throw this.
|
|
2045
|
+
throw this.v8_1;
|
|
2046
2046
|
}
|
|
2047
2047
|
} catch ($p) {
|
|
2048
2048
|
var e = $p;
|
|
2049
|
-
if (this.
|
|
2049
|
+
if (this.t8_1 === 3) {
|
|
2050
2050
|
throw e;
|
|
2051
2051
|
} else {
|
|
2052
|
-
this.
|
|
2053
|
-
this.
|
|
2052
|
+
this.s8_1 = this.t8_1;
|
|
2053
|
+
this.v8_1 = e;
|
|
2054
2054
|
}
|
|
2055
2055
|
}
|
|
2056
2056
|
while (true);
|
|
@@ -2061,9 +2061,9 @@
|
|
|
2061
2061
|
}
|
|
2062
2062
|
protoOf(RandomOrgApiServiceImpl).a57 = function (min, max, decksCount, cardsCount, userData, signed, $completion) {
|
|
2063
2063
|
var tmp = new $getRandomCardDecksCOROUTINE$(this, min, max, decksCount, cardsCount, userData, signed, $completion);
|
|
2064
|
-
tmp.
|
|
2065
|
-
tmp.
|
|
2066
|
-
return tmp.
|
|
2064
|
+
tmp.u8_1 = Unit_instance;
|
|
2065
|
+
tmp.v8_1 = null;
|
|
2066
|
+
return tmp.a9();
|
|
2067
2067
|
};
|
|
2068
2068
|
function PoolParams(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) {
|
|
2069
2069
|
poolSize = poolSize === VOID ? 100 : poolSize;
|
|
@@ -2096,10 +2096,10 @@
|
|
|
2096
2096
|
protoOf(PoolParams).h58 = function () {
|
|
2097
2097
|
return this.failedAttemptCooldown;
|
|
2098
2098
|
};
|
|
2099
|
-
protoOf(PoolParams).
|
|
2099
|
+
protoOf(PoolParams).oe = function () {
|
|
2100
2100
|
return this.poolSize;
|
|
2101
2101
|
};
|
|
2102
|
-
protoOf(PoolParams).
|
|
2102
|
+
protoOf(PoolParams).pe = function () {
|
|
2103
2103
|
return this.thresholdForUsedPool;
|
|
2104
2104
|
};
|
|
2105
2105
|
protoOf(PoolParams).xl = function () {
|
|
@@ -2197,12 +2197,12 @@
|
|
|
2197
2197
|
}
|
|
2198
2198
|
function getOrLoadGameCardDeckData($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2199
2199
|
var tmp = new $getOrLoadGameCardDeckDataCOROUTINE$($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
2200
|
-
tmp.
|
|
2201
|
-
tmp.
|
|
2202
|
-
return tmp.
|
|
2200
|
+
tmp.u8_1 = Unit_instance;
|
|
2201
|
+
tmp.v8_1 = null;
|
|
2202
|
+
return tmp.a9();
|
|
2203
2203
|
}
|
|
2204
2204
|
function getPreparedGameCardDecksRecord($this, poolId, signature, cardDeckData, userData) {
|
|
2205
|
-
var existingCardDeck = $this.v58_1.
|
|
2205
|
+
var existingCardDeck = $this.v58_1.c2(userData.gameId);
|
|
2206
2206
|
var tmp;
|
|
2207
2207
|
if (!(existingCardDeck == null)) {
|
|
2208
2208
|
tmp = Companion_instance_2.nextRound(existingCardDeck, cardDeckData);
|
|
@@ -2213,9 +2213,9 @@
|
|
|
2213
2213
|
}
|
|
2214
2214
|
function getPreparedOrRequestPool($this, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2215
2215
|
var tmp = new $getPreparedOrRequestPoolCOROUTINE$($this, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
2216
|
-
tmp.
|
|
2217
|
-
tmp.
|
|
2218
|
-
return tmp.
|
|
2216
|
+
tmp.u8_1 = Unit_instance;
|
|
2217
|
+
tmp.v8_1 = null;
|
|
2218
|
+
return tmp.a9();
|
|
2219
2219
|
}
|
|
2220
2220
|
function requestNewPool($this, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2221
2221
|
return withContext($this.r58_1, RandomPoolProviderImpl$requestNewPool$slambda_0($this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
@@ -2246,28 +2246,28 @@
|
|
|
2246
2246
|
}
|
|
2247
2247
|
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).d5b = function ($this$withContext, $completion) {
|
|
2248
2248
|
var tmp = this.c2d($this$withContext, $completion);
|
|
2249
|
-
tmp.
|
|
2250
|
-
tmp.
|
|
2251
|
-
var tmp_0 = tmp.
|
|
2249
|
+
tmp.u8_1 = Unit_instance;
|
|
2250
|
+
tmp.v8_1 = null;
|
|
2251
|
+
var tmp_0 = tmp.a9();
|
|
2252
2252
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
2253
2253
|
return tmp_0;
|
|
2254
2254
|
return tmp_0;
|
|
2255
2255
|
};
|
|
2256
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2256
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).i9 = function (p1, $completion) {
|
|
2257
2257
|
return this.d5b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2258
2258
|
};
|
|
2259
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2260
|
-
var suspendResult = this.
|
|
2259
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).a9 = function () {
|
|
2260
|
+
var suspendResult = this.u8_1;
|
|
2261
2261
|
$sm: do
|
|
2262
2262
|
try {
|
|
2263
|
-
var tmp = this.
|
|
2263
|
+
var tmp = this.s8_1;
|
|
2264
2264
|
switch (tmp) {
|
|
2265
2265
|
case 0:
|
|
2266
|
-
this.
|
|
2266
|
+
this.t8_1 = 10;
|
|
2267
2267
|
this.a5b_1 = this.q5a_1.t58_1;
|
|
2268
2268
|
var tmp_0 = this;
|
|
2269
2269
|
tmp_0.z5a_1 = null;
|
|
2270
|
-
this.
|
|
2270
|
+
this.s8_1 = 1;
|
|
2271
2271
|
suspendResult = this.a5b_1.d2m(this.z5a_1, this);
|
|
2272
2272
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2273
2273
|
return suspendResult;
|
|
@@ -2276,28 +2276,28 @@
|
|
|
2276
2276
|
continue $sm;
|
|
2277
2277
|
case 1:
|
|
2278
2278
|
this.b5b_1 = Unit_instance;
|
|
2279
|
-
this.
|
|
2279
|
+
this.s8_1 = 2;
|
|
2280
2280
|
continue $sm;
|
|
2281
2281
|
case 2:
|
|
2282
|
-
this.
|
|
2282
|
+
this.t8_1 = 9;
|
|
2283
2283
|
this.c5b_1 = Unit_instance;
|
|
2284
|
-
this.
|
|
2284
|
+
this.s8_1 = 3;
|
|
2285
2285
|
continue $sm;
|
|
2286
2286
|
case 3:
|
|
2287
2287
|
var randomException = getExceptionIfCooldown(this.q5a_1);
|
|
2288
2288
|
if (!(randomException == null)) {
|
|
2289
2289
|
var tmp_1 = this;
|
|
2290
2290
|
tmp_1.c5b_1 = new Result(_Result___init__impl__xyqfz8(createFailure(randomException)));
|
|
2291
|
-
this.
|
|
2291
|
+
this.s8_1 = 7;
|
|
2292
2292
|
continue $sm;
|
|
2293
2293
|
} else {
|
|
2294
|
-
this.
|
|
2294
|
+
this.s8_1 = 4;
|
|
2295
2295
|
continue $sm;
|
|
2296
2296
|
}
|
|
2297
2297
|
|
|
2298
2298
|
case 4:
|
|
2299
|
-
this.
|
|
2300
|
-
this.
|
|
2299
|
+
this.t8_1 = 6;
|
|
2300
|
+
this.s8_1 = 5;
|
|
2301
2301
|
suspendResult = getOrLoadGameCardDeckData(this.q5a_1, this.r5a_1, this.s5a_1, this.t5a_1, this.u5a_1, this.v5a_1, this.w5a_1, this.x5a_1, this);
|
|
2302
2302
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2303
2303
|
return suspendResult;
|
|
@@ -2308,47 +2308,47 @@
|
|
|
2308
2308
|
var cardDeckData = suspendResult;
|
|
2309
2309
|
var tmp_2 = this;
|
|
2310
2310
|
tmp_2.c5b_1 = new Result(_Result___init__impl__xyqfz8(cardDeckData));
|
|
2311
|
-
this.
|
|
2311
|
+
this.s8_1 = 7;
|
|
2312
2312
|
continue $sm;
|
|
2313
2313
|
case 6:
|
|
2314
|
-
this.
|
|
2315
|
-
var tmp_3 = this.
|
|
2314
|
+
this.t8_1 = 9;
|
|
2315
|
+
var tmp_3 = this.v8_1;
|
|
2316
2316
|
if (tmp_3 instanceof Error) {
|
|
2317
|
-
var error = this.
|
|
2317
|
+
var error = this.v8_1;
|
|
2318
2318
|
var tmp_4 = this;
|
|
2319
2319
|
var exception = mapToRandomExceptionIfError(this.q5a_1, error);
|
|
2320
2320
|
tmp_4.c5b_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2321
|
-
this.
|
|
2321
|
+
this.s8_1 = 7;
|
|
2322
2322
|
continue $sm;
|
|
2323
2323
|
} else {
|
|
2324
|
-
throw this.
|
|
2324
|
+
throw this.v8_1;
|
|
2325
2325
|
}
|
|
2326
2326
|
|
|
2327
2327
|
case 7:
|
|
2328
2328
|
this.b5b_1 = this.c5b_1;
|
|
2329
|
-
this.
|
|
2330
|
-
this.
|
|
2329
|
+
this.t8_1 = 10;
|
|
2330
|
+
this.s8_1 = 8;
|
|
2331
2331
|
continue $sm;
|
|
2332
2332
|
case 8:
|
|
2333
2333
|
var tmp_5 = this.b5b_1;
|
|
2334
|
-
this.
|
|
2334
|
+
this.t8_1 = 10;
|
|
2335
2335
|
this.a5b_1.o2l(this.z5a_1);
|
|
2336
2336
|
return tmp_5;
|
|
2337
2337
|
case 9:
|
|
2338
|
-
this.
|
|
2339
|
-
var t = this.
|
|
2338
|
+
this.t8_1 = 10;
|
|
2339
|
+
var t = this.v8_1;
|
|
2340
2340
|
this.a5b_1.o2l(this.z5a_1);
|
|
2341
2341
|
throw t;
|
|
2342
2342
|
case 10:
|
|
2343
|
-
throw this.
|
|
2343
|
+
throw this.v8_1;
|
|
2344
2344
|
}
|
|
2345
2345
|
} catch ($p) {
|
|
2346
2346
|
var e = $p;
|
|
2347
|
-
if (this.
|
|
2347
|
+
if (this.t8_1 === 10) {
|
|
2348
2348
|
throw e;
|
|
2349
2349
|
} else {
|
|
2350
|
-
this.
|
|
2351
|
-
this.
|
|
2350
|
+
this.s8_1 = this.t8_1;
|
|
2351
|
+
this.v8_1 = e;
|
|
2352
2352
|
}
|
|
2353
2353
|
}
|
|
2354
2354
|
while (true);
|
|
@@ -2377,28 +2377,28 @@
|
|
|
2377
2377
|
}
|
|
2378
2378
|
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).x5b = function ($this$withContext, $completion) {
|
|
2379
2379
|
var tmp = this.c2d($this$withContext, $completion);
|
|
2380
|
-
tmp.
|
|
2381
|
-
tmp.
|
|
2382
|
-
var tmp_0 = tmp.
|
|
2380
|
+
tmp.u8_1 = Unit_instance;
|
|
2381
|
+
tmp.v8_1 = null;
|
|
2382
|
+
var tmp_0 = tmp.a9();
|
|
2383
2383
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
2384
2384
|
return tmp_0;
|
|
2385
2385
|
return tmp_0;
|
|
2386
2386
|
};
|
|
2387
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2387
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).i9 = function (p1, $completion) {
|
|
2388
2388
|
return this.x5b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2389
2389
|
};
|
|
2390
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2391
|
-
var suspendResult = this.
|
|
2390
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).a9 = function () {
|
|
2391
|
+
var suspendResult = this.u8_1;
|
|
2392
2392
|
$sm: do
|
|
2393
2393
|
try {
|
|
2394
|
-
var tmp = this.
|
|
2394
|
+
var tmp = this.s8_1;
|
|
2395
2395
|
switch (tmp) {
|
|
2396
2396
|
case 0:
|
|
2397
|
-
this.
|
|
2397
|
+
this.t8_1 = 10;
|
|
2398
2398
|
this.u5b_1 = this.m5b_1.t58_1;
|
|
2399
2399
|
var tmp_0 = this;
|
|
2400
2400
|
tmp_0.t5b_1 = null;
|
|
2401
|
-
this.
|
|
2401
|
+
this.s8_1 = 1;
|
|
2402
2402
|
suspendResult = this.u5b_1.d2m(this.t5b_1, this);
|
|
2403
2403
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2404
2404
|
return suspendResult;
|
|
@@ -2407,28 +2407,28 @@
|
|
|
2407
2407
|
continue $sm;
|
|
2408
2408
|
case 1:
|
|
2409
2409
|
this.v5b_1 = Unit_instance;
|
|
2410
|
-
this.
|
|
2410
|
+
this.s8_1 = 2;
|
|
2411
2411
|
continue $sm;
|
|
2412
2412
|
case 2:
|
|
2413
|
-
this.
|
|
2413
|
+
this.t8_1 = 9;
|
|
2414
2414
|
this.w5b_1 = Unit_instance;
|
|
2415
|
-
this.
|
|
2415
|
+
this.s8_1 = 3;
|
|
2416
2416
|
continue $sm;
|
|
2417
2417
|
case 3:
|
|
2418
2418
|
var randomException = getExceptionIfCooldown(this.m5b_1);
|
|
2419
2419
|
if (!(randomException == null)) {
|
|
2420
2420
|
var tmp_1 = this;
|
|
2421
2421
|
tmp_1.w5b_1 = new Result(_Result___init__impl__xyqfz8(createFailure(randomException)));
|
|
2422
|
-
this.
|
|
2422
|
+
this.s8_1 = 7;
|
|
2423
2423
|
continue $sm;
|
|
2424
2424
|
} else {
|
|
2425
|
-
this.
|
|
2425
|
+
this.s8_1 = 4;
|
|
2426
2426
|
continue $sm;
|
|
2427
2427
|
}
|
|
2428
2428
|
|
|
2429
2429
|
case 4:
|
|
2430
|
-
this.
|
|
2431
|
-
this.
|
|
2430
|
+
this.t8_1 = 6;
|
|
2431
|
+
this.s8_1 = 5;
|
|
2432
2432
|
suspendResult = requestNewPool(this.m5b_1, this.n5b_1, this.o5b_1, this.p5b_1, this.q5b_1, this.r5b_1, this);
|
|
2433
2433
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2434
2434
|
return suspendResult;
|
|
@@ -2439,52 +2439,52 @@
|
|
|
2439
2439
|
var randomPoolValue = suspendResult;
|
|
2440
2440
|
var tmp0 = this.m5b_1.u58_1;
|
|
2441
2441
|
var key = randomPoolValue.y5b_1.h54_1;
|
|
2442
|
-
tmp0.
|
|
2442
|
+
tmp0.f2(key, randomPoolValue);
|
|
2443
2443
|
this.m5b_1.x58_1 = 0;
|
|
2444
2444
|
this.m5b_1.w58_1 = null;
|
|
2445
2445
|
var tmp_2 = this;
|
|
2446
2446
|
tmp_2.w5b_1 = new Result(_Result___init__impl__xyqfz8(Unit_instance));
|
|
2447
|
-
this.
|
|
2447
|
+
this.s8_1 = 7;
|
|
2448
2448
|
continue $sm;
|
|
2449
2449
|
case 6:
|
|
2450
|
-
this.
|
|
2451
|
-
var tmp_3 = this.
|
|
2450
|
+
this.t8_1 = 9;
|
|
2451
|
+
var tmp_3 = this.v8_1;
|
|
2452
2452
|
if (tmp_3 instanceof Error) {
|
|
2453
|
-
var error = this.
|
|
2453
|
+
var error = this.v8_1;
|
|
2454
2454
|
var tmp_4 = this;
|
|
2455
2455
|
var exception = mapToRandomExceptionIfError(this.m5b_1, error);
|
|
2456
2456
|
tmp_4.w5b_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2457
|
-
this.
|
|
2457
|
+
this.s8_1 = 7;
|
|
2458
2458
|
continue $sm;
|
|
2459
2459
|
} else {
|
|
2460
|
-
throw this.
|
|
2460
|
+
throw this.v8_1;
|
|
2461
2461
|
}
|
|
2462
2462
|
|
|
2463
2463
|
case 7:
|
|
2464
2464
|
this.v5b_1 = this.w5b_1;
|
|
2465
|
-
this.
|
|
2466
|
-
this.
|
|
2465
|
+
this.t8_1 = 10;
|
|
2466
|
+
this.s8_1 = 8;
|
|
2467
2467
|
continue $sm;
|
|
2468
2468
|
case 8:
|
|
2469
2469
|
var tmp_5 = this.v5b_1;
|
|
2470
|
-
this.
|
|
2470
|
+
this.t8_1 = 10;
|
|
2471
2471
|
this.u5b_1.o2l(this.t5b_1);
|
|
2472
2472
|
return tmp_5;
|
|
2473
2473
|
case 9:
|
|
2474
|
-
this.
|
|
2475
|
-
var t = this.
|
|
2474
|
+
this.t8_1 = 10;
|
|
2475
|
+
var t = this.v8_1;
|
|
2476
2476
|
this.u5b_1.o2l(this.t5b_1);
|
|
2477
2477
|
throw t;
|
|
2478
2478
|
case 10:
|
|
2479
|
-
throw this.
|
|
2479
|
+
throw this.v8_1;
|
|
2480
2480
|
}
|
|
2481
2481
|
} catch ($p) {
|
|
2482
2482
|
var e = $p;
|
|
2483
|
-
if (this.
|
|
2483
|
+
if (this.t8_1 === 10) {
|
|
2484
2484
|
throw e;
|
|
2485
2485
|
} else {
|
|
2486
|
-
this.
|
|
2487
|
-
this.
|
|
2486
|
+
this.s8_1 = this.t8_1;
|
|
2487
|
+
this.v8_1 = e;
|
|
2488
2488
|
}
|
|
2489
2489
|
}
|
|
2490
2490
|
while (true);
|
|
@@ -2513,23 +2513,23 @@
|
|
|
2513
2513
|
}
|
|
2514
2514
|
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).s5c = function ($this$withContext, $completion) {
|
|
2515
2515
|
var tmp = this.c2d($this$withContext, $completion);
|
|
2516
|
-
tmp.
|
|
2517
|
-
tmp.
|
|
2518
|
-
return tmp.
|
|
2516
|
+
tmp.u8_1 = Unit_instance;
|
|
2517
|
+
tmp.v8_1 = null;
|
|
2518
|
+
return tmp.a9();
|
|
2519
2519
|
};
|
|
2520
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2520
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).i9 = function (p1, $completion) {
|
|
2521
2521
|
return this.s5c((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2522
2522
|
};
|
|
2523
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2524
|
-
var suspendResult = this.
|
|
2523
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).a9 = function () {
|
|
2524
|
+
var suspendResult = this.u8_1;
|
|
2525
2525
|
$sm: do
|
|
2526
2526
|
try {
|
|
2527
|
-
var tmp = this.
|
|
2527
|
+
var tmp = this.s8_1;
|
|
2528
2528
|
switch (tmp) {
|
|
2529
2529
|
case 0:
|
|
2530
|
-
this.
|
|
2530
|
+
this.t8_1 = 2;
|
|
2531
2531
|
this.r5c_1 = System_instance.ck();
|
|
2532
|
-
this.
|
|
2532
|
+
this.s8_1 = 1;
|
|
2533
2533
|
suspendResult = this.k5c_1.p58_1.a57(this.l5c_1, this.m5c_1, this.k5c_1.o58_1.poolSize, this.n5c_1, new CardDecksRequestUserData(this.k5c_1.s58_1(), this.k5c_1.o58_1.poolSize), this.o5c_1, this);
|
|
2534
2534
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2535
2535
|
return suspendResult;
|
|
@@ -2551,15 +2551,15 @@
|
|
|
2551
2551
|
|
|
2552
2552
|
return new RandomPoolValue(result);
|
|
2553
2553
|
case 2:
|
|
2554
|
-
throw this.
|
|
2554
|
+
throw this.v8_1;
|
|
2555
2555
|
}
|
|
2556
2556
|
} catch ($p) {
|
|
2557
2557
|
var e = $p;
|
|
2558
|
-
if (this.
|
|
2558
|
+
if (this.t8_1 === 2) {
|
|
2559
2559
|
throw e;
|
|
2560
2560
|
} else {
|
|
2561
|
-
this.
|
|
2562
|
-
this.
|
|
2561
|
+
this.s8_1 = this.t8_1;
|
|
2562
|
+
this.v8_1 = e;
|
|
2563
2563
|
}
|
|
2564
2564
|
}
|
|
2565
2565
|
while (true);
|
|
@@ -2588,16 +2588,16 @@
|
|
|
2588
2588
|
this.m59_1 = signed;
|
|
2589
2589
|
this.n59_1 = requestDurationWarnMillis;
|
|
2590
2590
|
}
|
|
2591
|
-
protoOf($getOrLoadGameCardDeckDataCOROUTINE$).
|
|
2592
|
-
var suspendResult = this.
|
|
2591
|
+
protoOf($getOrLoadGameCardDeckDataCOROUTINE$).a9 = function () {
|
|
2592
|
+
var suspendResult = this.u8_1;
|
|
2593
2593
|
$sm: do
|
|
2594
2594
|
try {
|
|
2595
|
-
var tmp = this.
|
|
2595
|
+
var tmp = this.s8_1;
|
|
2596
2596
|
switch (tmp) {
|
|
2597
2597
|
case 0:
|
|
2598
|
-
this.
|
|
2598
|
+
this.t8_1 = 2;
|
|
2599
2599
|
var tmp0_gameId = this.i59_1.gameId;
|
|
2600
|
-
this.
|
|
2600
|
+
this.s8_1 = 1;
|
|
2601
2601
|
suspendResult = getPreparedOrRequestPool(this.g59_1, tmp0_gameId, this.j59_1, this.k59_1, this.h59_1, this.l59_1, this.m59_1, this.n59_1, this);
|
|
2602
2602
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2603
2603
|
return suspendResult;
|
|
@@ -2608,25 +2608,25 @@
|
|
|
2608
2608
|
var randomPoolValue = suspendResult;
|
|
2609
2609
|
var tmp0 = this.g59_1.u58_1;
|
|
2610
2610
|
var key = randomPoolValue.y5b_1.h54_1;
|
|
2611
|
-
tmp0.
|
|
2611
|
+
tmp0.f2(key, randomPoolValue);
|
|
2612
2612
|
var cardDeckData = randomPoolValue.t5c(this.i59_1.gameId);
|
|
2613
2613
|
var tmp1_poolId = randomPoolValue.y5b_1.h54_1;
|
|
2614
2614
|
var tmp2_signature = randomPoolValue.y5b_1.i54_1;
|
|
2615
2615
|
var cardDecksRecord = getPreparedGameCardDecksRecord(this.g59_1, tmp1_poolId, tmp2_signature, cardDeckData, this.i59_1);
|
|
2616
2616
|
var tmp0_0 = this.g59_1.v58_1;
|
|
2617
2617
|
var key_0 = this.i59_1.gameId;
|
|
2618
|
-
tmp0_0.
|
|
2618
|
+
tmp0_0.f2(key_0, cardDecksRecord);
|
|
2619
2619
|
return cardDeckData;
|
|
2620
2620
|
case 2:
|
|
2621
|
-
throw this.
|
|
2621
|
+
throw this.v8_1;
|
|
2622
2622
|
}
|
|
2623
2623
|
} catch ($p) {
|
|
2624
2624
|
var e = $p;
|
|
2625
|
-
if (this.
|
|
2625
|
+
if (this.t8_1 === 2) {
|
|
2626
2626
|
throw e;
|
|
2627
2627
|
} else {
|
|
2628
|
-
this.
|
|
2629
|
-
this.
|
|
2628
|
+
this.s8_1 = this.t8_1;
|
|
2629
|
+
this.v8_1 = e;
|
|
2630
2630
|
}
|
|
2631
2631
|
}
|
|
2632
2632
|
while (true);
|
|
@@ -2642,47 +2642,47 @@
|
|
|
2642
2642
|
this.c5a_1 = signed;
|
|
2643
2643
|
this.d5a_1 = requestDurationWarnMillis;
|
|
2644
2644
|
}
|
|
2645
|
-
protoOf($getPreparedOrRequestPoolCOROUTINE$).
|
|
2646
|
-
var suspendResult = this.
|
|
2645
|
+
protoOf($getPreparedOrRequestPoolCOROUTINE$).a9 = function () {
|
|
2646
|
+
var suspendResult = this.u8_1;
|
|
2647
2647
|
$sm: do
|
|
2648
2648
|
try {
|
|
2649
|
-
var tmp = this.
|
|
2649
|
+
var tmp = this.s8_1;
|
|
2650
2650
|
switch (tmp) {
|
|
2651
2651
|
case 0:
|
|
2652
|
-
this.
|
|
2652
|
+
this.t8_1 = 2;
|
|
2653
2653
|
var tmp0 = this.w59_1.u58_1;
|
|
2654
2654
|
var destination = LinkedHashMap_init_$Create$();
|
|
2655
|
-
var _iterator__ex2g4s = tmp0.
|
|
2655
|
+
var _iterator__ex2g4s = tmp0.v().l();
|
|
2656
2656
|
while (_iterator__ex2g4s.m()) {
|
|
2657
2657
|
var element = _iterator__ex2g4s.n();
|
|
2658
|
-
var tmp0_0 = element.
|
|
2658
|
+
var tmp0_0 = element.x().z5b_1;
|
|
2659
2659
|
var key = this.x59_1;
|
|
2660
|
-
if ((isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).
|
|
2661
|
-
destination.
|
|
2660
|
+
if ((isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).a2(key)) {
|
|
2661
|
+
destination.f2(element.w(), element.x());
|
|
2662
2662
|
}
|
|
2663
2663
|
}
|
|
2664
2664
|
|
|
2665
|
-
var usedResultEntry = firstOrNull(destination.
|
|
2665
|
+
var usedResultEntry = firstOrNull(destination.v());
|
|
2666
2666
|
if (!(usedResultEntry == null)) {
|
|
2667
|
-
return usedResultEntry.
|
|
2667
|
+
return usedResultEntry.x().u5c(this.x59_1);
|
|
2668
2668
|
}
|
|
2669
2669
|
|
|
2670
2670
|
var tmp0_1 = this.w59_1.u58_1;
|
|
2671
2671
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
2672
|
-
var _iterator__ex2g4s_0 = tmp0_1.
|
|
2672
|
+
var _iterator__ex2g4s_0 = tmp0_1.v().l();
|
|
2673
2673
|
while (_iterator__ex2g4s_0.m()) {
|
|
2674
2674
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
2675
|
-
if (element_0.
|
|
2676
|
-
destination_0.
|
|
2675
|
+
if (element_0.x().v5c(this.a5a_1)) {
|
|
2676
|
+
destination_0.f2(element_0.w(), element_0.x());
|
|
2677
2677
|
}
|
|
2678
2678
|
}
|
|
2679
2679
|
|
|
2680
|
-
var availableResultEntry = firstOrNull(destination_0.
|
|
2680
|
+
var availableResultEntry = firstOrNull(destination_0.v());
|
|
2681
2681
|
if (!(availableResultEntry == null)) {
|
|
2682
|
-
return availableResultEntry.
|
|
2682
|
+
return availableResultEntry.x().w5c(this.x59_1, this.a5a_1, this.w59_1.o58_1.thresholdForUsedPool);
|
|
2683
2683
|
}
|
|
2684
2684
|
|
|
2685
|
-
this.
|
|
2685
|
+
this.s8_1 = 1;
|
|
2686
2686
|
suspendResult = requestNewPool(this.w59_1, this.y59_1, this.z59_1, this.b5a_1, this.c5a_1, this.d5a_1, this);
|
|
2687
2687
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2688
2688
|
return suspendResult;
|
|
@@ -2693,15 +2693,15 @@
|
|
|
2693
2693
|
var cardDecks = suspendResult;
|
|
2694
2694
|
return cardDecks.w5c(this.x59_1, this.a5a_1, this.w59_1.o58_1.thresholdForUsedPool);
|
|
2695
2695
|
case 2:
|
|
2696
|
-
throw this.
|
|
2696
|
+
throw this.v8_1;
|
|
2697
2697
|
}
|
|
2698
2698
|
} catch ($p) {
|
|
2699
2699
|
var e = $p;
|
|
2700
|
-
if (this.
|
|
2700
|
+
if (this.t8_1 === 2) {
|
|
2701
2701
|
throw e;
|
|
2702
2702
|
} else {
|
|
2703
|
-
this.
|
|
2704
|
-
this.
|
|
2703
|
+
this.s8_1 = this.t8_1;
|
|
2704
|
+
this.v8_1 = e;
|
|
2705
2705
|
}
|
|
2706
2706
|
}
|
|
2707
2707
|
while (true);
|
|
@@ -2743,13 +2743,13 @@
|
|
|
2743
2743
|
return tmp;
|
|
2744
2744
|
};
|
|
2745
2745
|
protoOf(RandomPoolProviderImpl).x5c = function (gameId) {
|
|
2746
|
-
return this.v58_1.
|
|
2746
|
+
return this.v58_1.c2(gameId);
|
|
2747
2747
|
};
|
|
2748
2748
|
protoOf(RandomPoolProviderImpl).getGame = function (gameId) {
|
|
2749
2749
|
return this.x5c(gameId);
|
|
2750
2750
|
};
|
|
2751
2751
|
protoOf(RandomPoolProviderImpl).y5c = function (id) {
|
|
2752
|
-
return this.u58_1.
|
|
2752
|
+
return this.u58_1.c2(id);
|
|
2753
2753
|
};
|
|
2754
2754
|
protoOf(RandomPoolProviderImpl).getRandomPool = function (id) {
|
|
2755
2755
|
return this.y5c(id);
|
|
@@ -2761,25 +2761,25 @@
|
|
|
2761
2761
|
return this.z5c();
|
|
2762
2762
|
};
|
|
2763
2763
|
protoOf(RandomPoolProviderImpl).n58 = function (gameId) {
|
|
2764
|
-
var gameCardDecksRecord = this.v58_1.
|
|
2764
|
+
var gameCardDecksRecord = this.v58_1.c2(gameId);
|
|
2765
2765
|
if (!(gameCardDecksRecord == null)) {
|
|
2766
|
-
var randomPoolValue = this.u58_1.
|
|
2766
|
+
var randomPoolValue = this.u58_1.c2(gameCardDecksRecord.poolId);
|
|
2767
2767
|
if (!(randomPoolValue == null)) {
|
|
2768
2768
|
// Inline function 'kotlin.apply' call
|
|
2769
2769
|
var this_0 = toMutableMap(randomPoolValue.z5b_1);
|
|
2770
|
-
this_0.
|
|
2770
|
+
this_0.g2(gameId);
|
|
2771
2771
|
var newPoolValue = randomPoolValue.a5d(VOID, toMap(this_0));
|
|
2772
2772
|
if (newPoolValue.z5b_1.r()) {
|
|
2773
|
-
this.u58_1.
|
|
2773
|
+
this.u58_1.g2(gameCardDecksRecord.poolId);
|
|
2774
2774
|
} else {
|
|
2775
2775
|
var tmp0 = this.u58_1;
|
|
2776
2776
|
// Inline function 'kotlin.collections.set' call
|
|
2777
2777
|
var key = gameCardDecksRecord.poolId;
|
|
2778
|
-
tmp0.
|
|
2778
|
+
tmp0.f2(key, newPoolValue);
|
|
2779
2779
|
}
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
|
2782
|
-
this.v58_1.
|
|
2782
|
+
this.v58_1.g2(gameId);
|
|
2783
2783
|
};
|
|
2784
2784
|
function _get_cardDecksCount__ihvb5i($this) {
|
|
2785
2785
|
return $this.y5b_1.f54_1.o();
|
|
@@ -2804,7 +2804,7 @@
|
|
|
2804
2804
|
var previousReservedCardDeckIndex = this.a5c_1;
|
|
2805
2805
|
// Inline function 'kotlin.apply' call
|
|
2806
2806
|
var this_0 = toMutableMap(this.z5b_1);
|
|
2807
|
-
this_0.
|
|
2807
|
+
this_0.f2(gameId, previousReservedCardDeckIndex);
|
|
2808
2808
|
var newNewUsedBy = toMap(this_0);
|
|
2809
2809
|
var newReservedCardDecks = previousReservedCardDeckIndex + requestedCardDecks | 0;
|
|
2810
2810
|
return this.a5d(VOID, newNewUsedBy, newReservedCardDecks, (newReservedCardDecks + thresholdForUsedPool | 0) > _get_cardDecksCount__ihvb5i(this));
|
|
@@ -2820,7 +2820,7 @@
|
|
|
2820
2820
|
var newCardDeckIndex = tmp;
|
|
2821
2821
|
// Inline function 'kotlin.apply' call
|
|
2822
2822
|
var this_0 = toMutableMap(this.z5b_1);
|
|
2823
|
-
this_0.
|
|
2823
|
+
this_0.f2(gameId, newCardDeckIndex);
|
|
2824
2824
|
var newNewUsedBy = toMap(this_0);
|
|
2825
2825
|
return this.a5d(VOID, newNewUsedBy);
|
|
2826
2826
|
};
|
|
@@ -3065,19 +3065,19 @@
|
|
|
3065
3065
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3066
3066
|
var b = 1 + random.o5d(VOID, twentypc) | 0;
|
|
3067
3067
|
var cards = Math.min(tmp0, b);
|
|
3068
|
-
pile2.
|
|
3068
|
+
pile2.k2(0, take(pile, cards));
|
|
3069
3069
|
// Inline function 'kotlin.repeat' call
|
|
3070
3070
|
var inductionVariable_0 = 0;
|
|
3071
3071
|
if (inductionVariable_0 < cards)
|
|
3072
3072
|
do {
|
|
3073
3073
|
var index_0 = inductionVariable_0;
|
|
3074
3074
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
3075
|
-
pile.
|
|
3075
|
+
pile.o2(0);
|
|
3076
3076
|
}
|
|
3077
3077
|
while (inductionVariable_0 < cards);
|
|
3078
3078
|
}
|
|
3079
3079
|
pile.q(pile2);
|
|
3080
|
-
pile2.
|
|
3080
|
+
pile2.i2();
|
|
3081
3081
|
}
|
|
3082
3082
|
while (inductionVariable < iterations);
|
|
3083
3083
|
return pile;
|
|
@@ -3097,15 +3097,15 @@
|
|
|
3097
3097
|
var cut = (mid - tenpc | 0) + random.o5d(VOID, imul(2, tenpc) + 1 | 0) | 0;
|
|
3098
3098
|
var deck1 = toMutableList(take(pile, cut));
|
|
3099
3099
|
var deck2 = toMutableList(drop(pile, cut));
|
|
3100
|
-
pile.
|
|
3100
|
+
pile.i2();
|
|
3101
3101
|
var fromTop = random.p5d();
|
|
3102
3102
|
while (deck1.o() > 0 && deck2.o() > 0) {
|
|
3103
3103
|
if (fromTop) {
|
|
3104
|
-
pile.j(deck1.
|
|
3105
|
-
pile.j(deck2.
|
|
3104
|
+
pile.j(deck1.o2(0));
|
|
3105
|
+
pile.j(deck2.o2(0));
|
|
3106
3106
|
} else {
|
|
3107
|
-
pile.j(deck1.
|
|
3108
|
-
pile.j(deck2.
|
|
3107
|
+
pile.j(deck1.o2(get_lastIndex(deck1)));
|
|
3108
|
+
pile.j(deck2.o2(get_lastIndex(deck2)));
|
|
3109
3109
|
}
|
|
3110
3110
|
}
|
|
3111
3111
|
if (deck1.o() > 0) {
|