client_plugin_logic_deb 1.8.450 → 1.8.453
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 +94 -94
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +828 -788
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1927 -1927
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-ai_module.js +684 -688
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +784 -698
- package/Logic_Debertz-client_plugin.js +5091 -5091
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2256 -2270
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +21274 -21284
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +13527 -13574
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +2260 -2273
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +7 -7
- package/kotlin-kotlin-stdlib.js +5716 -4843
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-coroutines-core.js +3652 -3603
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +204 -5
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +1699 -438
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2256 -2255
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-io.js +15 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +1630 -1630
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +457 -395
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +6643 -3939
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +2627 -893
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +14 -14
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http-cio.js +2278 -0
- package/ktor-ktor-http-cio.js.map +1 -0
- package/ktor-ktor-http.js +1268 -1128
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +2624 -5540
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js +333 -339
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +143 -153
- package/ktor-ktor-serialization.js.map +1 -1
- package/{ktor-ktor-client-js.js → ktor-ktor-sse.js} +2 -2
- package/ktor-ktor-sse.js.map +1 -0
- package/ktor-ktor-utils.js +1711 -1144
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +123 -136
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +2 -4
- package/random-library-crypto-rand.js +15 -15
- package/random-library-crypto-rand.js.map +1 -1
- package/random-library-secure-random.js +10 -10
- package/random-library-secure-random.js.map +1 -1
- package/raspberry-cardgame-lib-core.js +376 -377
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +120 -121
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +1181 -1207
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +38 -38
- package/uuid.js.map +1 -1
- /package/{ktor-ktor-client-js.js.map → kotlinx-serialization-kotlinx-serialization-json-io.js.map} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './kotlinx-serialization-kotlinx-serialization-json.js', './ktor-ktor-client-core.js', './ktor-ktor-
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './kotlinx-serialization-kotlinx-serialization-json.js', './ktor-ktor-client-core.js', './ktor-ktor-http.js', './ktor-ktor-utils.js', './kotlinx-coroutines-core.js', './uuid.js', './ktor-ktor-client-logging.js', './ktor-ktor-serialization-kotlinx-json.js', './ktor-ktor-client-content-negotiation.js', './random-library-secure-random.js', './raspberry-cardgame-lib-logger.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlinx-serialization-kotlinx-serialization-json.js'), require('./ktor-ktor-client-core.js'), require('./ktor-ktor-
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlinx-serialization-kotlinx-serialization-json.js'), require('./ktor-ktor-client-core.js'), require('./ktor-ktor-http.js'), require('./ktor-ktor-utils.js'), require('./kotlinx-coroutines-core.js'), require('./uuid.js'), require('./ktor-ktor-client-logging.js'), require('./ktor-ktor-serialization-kotlinx-json.js'), require('./ktor-ktor-client-content-negotiation.js'), require('./random-library-secure-random.js'), require('./raspberry-cardgame-lib-logger.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
if (typeof globalThis['ktor-ktor-client-core'] === 'undefined') {
|
|
17
17
|
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'ktor-ktor-client-core' was not found. Please, check whether 'ktor-ktor-client-core' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
18
18
|
}
|
|
19
|
-
if (typeof globalThis['ktor-ktor-utils'] === 'undefined') {
|
|
20
|
-
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'ktor-ktor-utils' was not found. Please, check whether 'ktor-ktor-utils' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
21
|
-
}
|
|
22
19
|
if (typeof globalThis['ktor-ktor-http'] === 'undefined') {
|
|
23
20
|
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'ktor-ktor-http' was not found. Please, check whether 'ktor-ktor-http' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
24
21
|
}
|
|
22
|
+
if (typeof globalThis['ktor-ktor-utils'] === 'undefined') {
|
|
23
|
+
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'ktor-ktor-utils' was not found. Please, check whether 'ktor-ktor-utils' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
24
|
+
}
|
|
25
25
|
if (typeof globalThis['kotlinx-coroutines-core'] === 'undefined') {
|
|
26
26
|
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'kotlinx-coroutines-core' was not found. Please, check whether 'kotlinx-coroutines-core' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
27
27
|
}
|
|
@@ -43,119 +43,118 @@
|
|
|
43
43
|
if (typeof globalThis['raspberry-cardgame-lib-logger'] === 'undefined') {
|
|
44
44
|
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'raspberry-cardgame-lib-logger' was not found. Please, check whether 'raspberry-cardgame-lib-logger' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
45
45
|
}
|
|
46
|
-
globalThis['raspberry-cardgame-lib-random'] = factory(typeof globalThis['raspberry-cardgame-lib-random'] === 'undefined' ? {} : globalThis['raspberry-cardgame-lib-random'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['kotlinx-serialization-kotlinx-serialization-json'], globalThis['ktor-ktor-client-core'], globalThis['ktor-ktor-
|
|
46
|
+
globalThis['raspberry-cardgame-lib-random'] = factory(typeof globalThis['raspberry-cardgame-lib-random'] === 'undefined' ? {} : globalThis['raspberry-cardgame-lib-random'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['kotlinx-serialization-kotlinx-serialization-json'], globalThis['ktor-ktor-client-core'], globalThis['ktor-ktor-http'], globalThis['ktor-ktor-utils'], globalThis['kotlinx-coroutines-core'], uuid, globalThis['ktor-ktor-client-logging'], globalThis['ktor-ktor-serialization-kotlinx-json'], globalThis['ktor-ktor-client-content-negotiation'], globalThis['random-library-secure-random'], globalThis['raspberry-cardgame-lib-logger']);
|
|
47
47
|
}
|
|
48
|
-
}(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json, kotlin_io_ktor_ktor_client_core,
|
|
48
|
+
}(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_utils, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_com_benasher44_uuid, kotlin_io_ktor_ktor_client_logging, kotlin_io_ktor_ktor_serialization_kotlinx_json, kotlin_io_ktor_ktor_client_content_negotiation, kotlin_org_kotlincrypto_secure_random, kotlin_io_raspberryapps_cardgame_logger) {
|
|
49
49
|
'use strict';
|
|
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.$_$.be;
|
|
54
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.bd;
|
|
55
|
+
var RuntimeException = kotlin_kotlin.$_$.mi;
|
|
56
56
|
var VOID = kotlin_kotlin.$_$.b;
|
|
57
|
-
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.
|
|
58
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
59
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
60
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
61
|
-
var
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var
|
|
65
|
-
var
|
|
66
|
-
var
|
|
67
|
-
var
|
|
68
|
-
var
|
|
69
|
-
var fromInt = kotlin_kotlin.$_$.lb;
|
|
57
|
+
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.c2;
|
|
58
|
+
var captureStack = kotlin_kotlin.$_$.kc;
|
|
59
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ad;
|
|
60
|
+
var getStringHashCode = kotlin_kotlin.$_$.yc;
|
|
61
|
+
var toString = kotlin_kotlin.$_$.ee;
|
|
62
|
+
var hashCode = kotlin_kotlin.$_$.zc;
|
|
63
|
+
var equals = kotlin_kotlin.$_$.tc;
|
|
64
|
+
var listOf = kotlin_kotlin.$_$.m8;
|
|
65
|
+
var plus = kotlin_kotlin.$_$.a9;
|
|
66
|
+
var emptyList = kotlin_kotlin.$_$.i7;
|
|
67
|
+
var defineProp = kotlin_kotlin.$_$.sc;
|
|
68
|
+
var fromInt = kotlin_kotlin.$_$.tb;
|
|
70
69
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
70
|
+
var THROW_CCE = kotlin_kotlin.$_$.ni;
|
|
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.$_$.w;
|
|
73
73
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
74
74
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
75
75
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
76
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
76
|
+
var initMetadataForObject = kotlin_kotlin.$_$.gd;
|
|
77
77
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
78
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
79
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
80
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
78
|
+
var Unit_instance = kotlin_kotlin.$_$.i5;
|
|
79
|
+
var objectCreate = kotlin_kotlin.$_$.ae;
|
|
80
|
+
var toString_0 = kotlin_kotlin.$_$.rj;
|
|
81
81
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
82
82
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
83
83
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
84
84
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.e;
|
|
85
|
-
var lazy = kotlin_kotlin.$_$.
|
|
85
|
+
var lazy = kotlin_kotlin.$_$.kj;
|
|
86
86
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
87
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
88
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
89
|
-
var getValue = kotlin_kotlin.$_$.
|
|
87
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.vc;
|
|
88
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.ed;
|
|
89
|
+
var getValue = kotlin_kotlin.$_$.x7;
|
|
90
90
|
var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.f;
|
|
91
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
92
|
-
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.
|
|
93
|
-
var
|
|
94
|
-
var
|
|
95
|
-
var
|
|
96
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
97
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
98
|
-
var createKType = kotlin_kotlin.$_$.
|
|
99
|
-
var createInvariantKTypeProjection = kotlin_kotlin.$_$.
|
|
100
|
-
var
|
|
101
|
-
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.db;
|
|
92
|
+
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.q;
|
|
93
|
+
var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.h;
|
|
94
|
+
var url = kotlin_io_ktor_ktor_client_core.$_$.u;
|
|
95
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
96
|
+
var getKClass = kotlin_kotlin.$_$.ve;
|
|
97
|
+
var arrayOf = kotlin_kotlin.$_$.bj;
|
|
98
|
+
var createKType = kotlin_kotlin.$_$.te;
|
|
99
|
+
var createInvariantKTypeProjection = kotlin_kotlin.$_$.re;
|
|
100
|
+
var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.k;
|
|
101
|
+
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
102
102
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
103
|
-
var
|
|
104
|
-
var
|
|
105
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ha;
|
|
103
|
+
var HttpStatement = kotlin_io_ktor_ktor_client_core.$_$.x;
|
|
104
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.na;
|
|
106
105
|
var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
|
|
107
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
108
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
109
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
110
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
111
|
-
var Long = kotlin_kotlin.$_$.
|
|
106
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.cd;
|
|
107
|
+
var KtMap = kotlin_kotlin.$_$.u5;
|
|
108
|
+
var isInterface = kotlin_kotlin.$_$.pd;
|
|
109
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.y4;
|
|
110
|
+
var Long = kotlin_kotlin.$_$.hi;
|
|
112
111
|
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.c;
|
|
113
|
-
var toDuration = kotlin_kotlin.$_$.
|
|
114
|
-
var Duration = kotlin_kotlin.$_$.
|
|
115
|
-
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.
|
|
116
|
-
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.
|
|
117
|
-
var System_instance = kotlin_kotlin.$_$.
|
|
118
|
-
var Duration__times_impl_sfuzvp = kotlin_kotlin.$_$.
|
|
119
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
120
|
-
var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
112
|
+
var toDuration = kotlin_kotlin.$_$.rh;
|
|
113
|
+
var Duration = kotlin_kotlin.$_$.oh;
|
|
114
|
+
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.n2;
|
|
115
|
+
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.i2;
|
|
116
|
+
var System_instance = kotlin_kotlin.$_$.x4;
|
|
117
|
+
var Duration__times_impl_sfuzvp = kotlin_kotlin.$_$.l2;
|
|
118
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
119
|
+
var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
|
|
121
120
|
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
122
|
-
var Result = kotlin_kotlin.$_$.
|
|
123
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
124
|
-
var Companion_instance = kotlin_kotlin.$_$.
|
|
125
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
126
|
-
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.
|
|
127
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
128
|
-
var Duration__compareTo_impl_pchp0f = kotlin_kotlin.$_$.
|
|
129
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
130
|
-
var firstOrNull = kotlin_kotlin.$_$.
|
|
131
|
-
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
132
|
-
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
133
|
-
var toMutableMap = kotlin_kotlin.$_$.
|
|
134
|
-
var toMap = kotlin_kotlin.$_$.
|
|
135
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
136
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
137
|
-
var header = kotlin_io_ktor_ktor_client_core.$_$.
|
|
121
|
+
var Result = kotlin_kotlin.$_$.li;
|
|
122
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s1;
|
|
123
|
+
var Companion_instance = kotlin_kotlin.$_$.d5;
|
|
124
|
+
var createFailure = kotlin_kotlin.$_$.ej;
|
|
125
|
+
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.w2;
|
|
126
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.fd;
|
|
127
|
+
var Duration__compareTo_impl_pchp0f = kotlin_kotlin.$_$.h2;
|
|
128
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
129
|
+
var firstOrNull = kotlin_kotlin.$_$.p7;
|
|
130
|
+
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
131
|
+
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k1;
|
|
132
|
+
var toMutableMap = kotlin_kotlin.$_$.da;
|
|
133
|
+
var toMap = kotlin_kotlin.$_$.z9;
|
|
134
|
+
var emptyMap = kotlin_kotlin.$_$.j7;
|
|
135
|
+
var get_lastIndex = kotlin_kotlin.$_$.f8;
|
|
136
|
+
var header = kotlin_io_ktor_ktor_client_core.$_$.t;
|
|
138
137
|
var Companion_instance_0 = kotlin_io_ktor_ktor_client_logging.$_$.d;
|
|
139
|
-
var get_DEFAULT = kotlin_io_ktor_ktor_client_logging.$_$.
|
|
138
|
+
var get_DEFAULT = kotlin_io_ktor_ktor_client_logging.$_$.e;
|
|
140
139
|
var json = kotlin_io_ktor_ktor_serialization_kotlinx_json.$_$.a;
|
|
141
|
-
var defaultRequest = kotlin_io_ktor_ktor_client_core.$_$.
|
|
142
|
-
var
|
|
143
|
-
var
|
|
140
|
+
var defaultRequest = kotlin_io_ktor_ktor_client_core.$_$.o;
|
|
141
|
+
var get_Logging = kotlin_io_ktor_ktor_client_logging.$_$.f;
|
|
142
|
+
var get_ContentNegotiation = kotlin_io_ktor_ktor_client_content_negotiation.$_$.a;
|
|
144
143
|
var LogLevel_ALL_getInstance = kotlin_io_ktor_ktor_client_logging.$_$.a;
|
|
145
144
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
|
|
146
|
-
var equalsLong = kotlin_kotlin.$_$.
|
|
145
|
+
var equalsLong = kotlin_kotlin.$_$.sb;
|
|
147
146
|
var SecRandomCopyException = kotlin_org_kotlincrypto_secure_random.$_$.a;
|
|
148
147
|
var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
|
|
149
148
|
var SecureRandom = kotlin_org_kotlincrypto_secure_random.$_$.b;
|
|
150
|
-
var Default_getInstance = kotlin_kotlin.$_$.
|
|
151
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
152
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
153
|
-
var take = kotlin_kotlin.$_$.
|
|
154
|
-
var drop = kotlin_kotlin.$_$.
|
|
155
|
-
var reverse = kotlin_kotlin.$_$.
|
|
156
|
-
var
|
|
149
|
+
var Default_getInstance = kotlin_kotlin.$_$.u4;
|
|
150
|
+
var toMutableList = kotlin_kotlin.$_$.ca;
|
|
151
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
|
|
152
|
+
var take = kotlin_kotlin.$_$.r9;
|
|
153
|
+
var drop = kotlin_kotlin.$_$.h7;
|
|
154
|
+
var reverse = kotlin_kotlin.$_$.h9;
|
|
155
|
+
var get_HttpTimeout = kotlin_io_ktor_ktor_client_core.$_$.n;
|
|
157
156
|
var Js_instance = kotlin_io_ktor_ktor_client_core.$_$.a;
|
|
158
|
-
var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.
|
|
157
|
+
var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.a1;
|
|
159
158
|
//endregion
|
|
160
159
|
//region block: pre-declaration
|
|
161
160
|
initMetadataForCompanion(Companion);
|
|
@@ -176,7 +175,7 @@
|
|
|
176
175
|
initMetadataForClass(ErrorDto, 'ErrorDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
|
|
177
176
|
initMetadataForCompanion(Companion_2, VOID, [SerializerFactory]);
|
|
178
177
|
initMetadataForClass($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
179
|
-
initMetadataForClass(RandomRequestDto, 'RandomRequestDto', VOID, VOID, VOID, VOID, VOID, {0:
|
|
178
|
+
initMetadataForClass(RandomRequestDto, 'RandomRequestDto', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_4});
|
|
180
179
|
initMetadataForCompanion(Companion_3);
|
|
181
180
|
initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
182
181
|
initMetadataForClass(RandomIntegerSequencesParamsDto, 'RandomIntegerSequencesParamsDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
|
|
@@ -185,7 +184,7 @@
|
|
|
185
184
|
initMetadataForClass(CardDecksUserDataDto, 'CardDecksUserDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
|
|
186
185
|
initMetadataForCompanion(Companion_5, VOID, [SerializerFactory]);
|
|
187
186
|
initMetadataForClass($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
188
|
-
initMetadataForClass(RandomResponseDto, 'RandomResponseDto', VOID, VOID, VOID, VOID, VOID, {0:
|
|
187
|
+
initMetadataForClass(RandomResponseDto, 'RandomResponseDto', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_7});
|
|
189
188
|
initMetadataForCompanion(Companion_6);
|
|
190
189
|
initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
191
190
|
initMetadataForClass(IntegerSequencesResultDto, 'IntegerSequencesResultDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_3});
|
|
@@ -204,7 +203,7 @@
|
|
|
204
203
|
cardsCount = cardsCount === VOID ? 52 : cardsCount;
|
|
205
204
|
signed = signed === VOID ? false : signed;
|
|
206
205
|
requestDurationWarnMillis = requestDurationWarnMillis === VOID ? new Long(3000, 0) : requestDurationWarnMillis;
|
|
207
|
-
return $super === VOID ? this.
|
|
206
|
+
return $super === VOID ? this.j6f(minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) : $super.j6f.call(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
208
207
|
}
|
|
209
208
|
initMetadataForInterface(RandomPoolProvider, 'RandomPoolProvider', VOID, VOID, VOID, [7, 5]);
|
|
210
209
|
initMetadataForCompanion(Companion_9);
|
|
@@ -220,7 +219,7 @@
|
|
|
220
219
|
initMetadataForClass(HttpParams, 'HttpParams');
|
|
221
220
|
function nextInt$default(from, until, $super) {
|
|
222
221
|
from = from === VOID ? 0 : from;
|
|
223
|
-
return $super === VOID ? this.
|
|
222
|
+
return $super === VOID ? this.rh(from, until) : $super.rh.call(this, from, until);
|
|
224
223
|
}
|
|
225
224
|
function shuffle(list) {
|
|
226
225
|
var inductionVariable = get_lastIndex(list);
|
|
@@ -228,8 +227,8 @@
|
|
|
228
227
|
do {
|
|
229
228
|
var i = inductionVariable;
|
|
230
229
|
inductionVariable = inductionVariable + -1 | 0;
|
|
231
|
-
var j = this.
|
|
232
|
-
list.
|
|
230
|
+
var j = this.rh(0, i + 1 | 0);
|
|
231
|
+
list.c3(j, list.c3(i, list.h1(j)));
|
|
233
232
|
}
|
|
234
233
|
while (1 <= inductionVariable);
|
|
235
234
|
return list;
|
|
@@ -239,10 +238,10 @@
|
|
|
239
238
|
initMetadataForObject(HttpFactory, 'HttpFactory');
|
|
240
239
|
//endregion
|
|
241
240
|
function Companion() {
|
|
242
|
-
this.
|
|
241
|
+
this.v6a_1 = 100001;
|
|
243
242
|
}
|
|
244
243
|
var Companion_instance_1;
|
|
245
|
-
function
|
|
244
|
+
function Companion_getInstance_1() {
|
|
246
245
|
return Companion_instance_1;
|
|
247
246
|
}
|
|
248
247
|
function RandomException(code, message, cause) {
|
|
@@ -250,31 +249,31 @@
|
|
|
250
249
|
cause = cause === VOID ? null : cause;
|
|
251
250
|
RuntimeException_init_$Init$(message, cause, this);
|
|
252
251
|
captureStack(this, RandomException);
|
|
253
|
-
this.
|
|
252
|
+
this.w6a_1 = code;
|
|
254
253
|
}
|
|
255
254
|
function CardDecksRequestUserData(id, count) {
|
|
256
255
|
this.id = id;
|
|
257
256
|
this.count = count;
|
|
258
257
|
}
|
|
259
|
-
protoOf(CardDecksRequestUserData).
|
|
258
|
+
protoOf(CardDecksRequestUserData).x6a = function () {
|
|
260
259
|
return this.id;
|
|
261
260
|
};
|
|
262
|
-
protoOf(CardDecksRequestUserData).
|
|
261
|
+
protoOf(CardDecksRequestUserData).y6a = function () {
|
|
263
262
|
return this.count;
|
|
264
263
|
};
|
|
265
|
-
protoOf(CardDecksRequestUserData).
|
|
264
|
+
protoOf(CardDecksRequestUserData).kf = function () {
|
|
266
265
|
return this.id;
|
|
267
266
|
};
|
|
268
|
-
protoOf(CardDecksRequestUserData).
|
|
267
|
+
protoOf(CardDecksRequestUserData).lf = function () {
|
|
269
268
|
return this.count;
|
|
270
269
|
};
|
|
271
|
-
protoOf(CardDecksRequestUserData).
|
|
270
|
+
protoOf(CardDecksRequestUserData).z6a = function (id, count) {
|
|
272
271
|
return new CardDecksRequestUserData(id, count);
|
|
273
272
|
};
|
|
274
273
|
protoOf(CardDecksRequestUserData).copy = function (id, count, $super) {
|
|
275
274
|
id = id === VOID ? this.id : id;
|
|
276
275
|
count = count === VOID ? this.count : count;
|
|
277
|
-
return $super === VOID ? this.
|
|
276
|
+
return $super === VOID ? this.z6a(id, count) : $super.z6a.call(this, id, count);
|
|
278
277
|
};
|
|
279
278
|
protoOf(CardDecksRequestUserData).toString = function () {
|
|
280
279
|
return 'CardDecksRequestUserData(id=' + this.id + ', count=' + this.count + ')';
|
|
@@ -289,10 +288,9 @@
|
|
|
289
288
|
return true;
|
|
290
289
|
if (!(other instanceof CardDecksRequestUserData))
|
|
291
290
|
return false;
|
|
292
|
-
|
|
293
|
-
if (!(this.id === tmp0_other_with_cast.id))
|
|
291
|
+
if (!(this.id === other.id))
|
|
294
292
|
return false;
|
|
295
|
-
if (!(this.count ===
|
|
293
|
+
if (!(this.count === other.count))
|
|
296
294
|
return false;
|
|
297
295
|
return true;
|
|
298
296
|
};
|
|
@@ -300,25 +298,25 @@
|
|
|
300
298
|
this.players = players;
|
|
301
299
|
this.gameId = gameId;
|
|
302
300
|
}
|
|
303
|
-
protoOf(CardDeckRequestUserData).
|
|
301
|
+
protoOf(CardDeckRequestUserData).a6b = function () {
|
|
304
302
|
return this.players;
|
|
305
303
|
};
|
|
306
|
-
protoOf(CardDeckRequestUserData).
|
|
304
|
+
protoOf(CardDeckRequestUserData).b6b = function () {
|
|
307
305
|
return this.gameId;
|
|
308
306
|
};
|
|
309
|
-
protoOf(CardDeckRequestUserData).
|
|
307
|
+
protoOf(CardDeckRequestUserData).kf = function () {
|
|
310
308
|
return this.players;
|
|
311
309
|
};
|
|
312
|
-
protoOf(CardDeckRequestUserData).
|
|
310
|
+
protoOf(CardDeckRequestUserData).lf = function () {
|
|
313
311
|
return this.gameId;
|
|
314
312
|
};
|
|
315
|
-
protoOf(CardDeckRequestUserData).
|
|
313
|
+
protoOf(CardDeckRequestUserData).c6b = function (players, gameId) {
|
|
316
314
|
return new CardDeckRequestUserData(players, gameId);
|
|
317
315
|
};
|
|
318
316
|
protoOf(CardDeckRequestUserData).copy = function (players, gameId, $super) {
|
|
319
317
|
players = players === VOID ? this.players : players;
|
|
320
318
|
gameId = gameId === VOID ? this.gameId : gameId;
|
|
321
|
-
return $super === VOID ? this.
|
|
319
|
+
return $super === VOID ? this.c6b(players, gameId) : $super.c6b.call(this, players, gameId);
|
|
322
320
|
};
|
|
323
321
|
protoOf(CardDeckRequestUserData).toString = function () {
|
|
324
322
|
return 'CardDeckRequestUserData(players=' + toString(this.players) + ', gameId=' + this.gameId + ')';
|
|
@@ -333,10 +331,9 @@
|
|
|
333
331
|
return true;
|
|
334
332
|
if (!(other instanceof CardDeckRequestUserData))
|
|
335
333
|
return false;
|
|
336
|
-
|
|
337
|
-
if (!equals(this.players, tmp0_other_with_cast.players))
|
|
334
|
+
if (!equals(this.players, other.players))
|
|
338
335
|
return false;
|
|
339
|
-
if (!(this.gameId ===
|
|
336
|
+
if (!(this.gameId === other.gameId))
|
|
340
337
|
return false;
|
|
341
338
|
return true;
|
|
342
339
|
};
|
|
@@ -344,25 +341,25 @@
|
|
|
344
341
|
this.id = id;
|
|
345
342
|
this.name = name;
|
|
346
343
|
}
|
|
347
|
-
protoOf(UserInfoData).
|
|
344
|
+
protoOf(UserInfoData).x6a = function () {
|
|
348
345
|
return this.id;
|
|
349
346
|
};
|
|
350
|
-
protoOf(UserInfoData).
|
|
347
|
+
protoOf(UserInfoData).m = function () {
|
|
351
348
|
return this.name;
|
|
352
349
|
};
|
|
353
|
-
protoOf(UserInfoData).
|
|
350
|
+
protoOf(UserInfoData).kf = function () {
|
|
354
351
|
return this.id;
|
|
355
352
|
};
|
|
356
|
-
protoOf(UserInfoData).
|
|
353
|
+
protoOf(UserInfoData).lf = function () {
|
|
357
354
|
return this.name;
|
|
358
355
|
};
|
|
359
|
-
protoOf(UserInfoData).
|
|
356
|
+
protoOf(UserInfoData).d6b = function (id, name) {
|
|
360
357
|
return new UserInfoData(id, name);
|
|
361
358
|
};
|
|
362
359
|
protoOf(UserInfoData).copy = function (id, name, $super) {
|
|
363
360
|
id = id === VOID ? this.id : id;
|
|
364
361
|
name = name === VOID ? this.name : name;
|
|
365
|
-
return $super === VOID ? this.
|
|
362
|
+
return $super === VOID ? this.d6b(id, name) : $super.d6b.call(this, id, name);
|
|
366
363
|
};
|
|
367
364
|
protoOf(UserInfoData).toString = function () {
|
|
368
365
|
return 'UserInfoData(id=' + this.id + ', name=' + this.name + ')';
|
|
@@ -377,27 +374,26 @@
|
|
|
377
374
|
return true;
|
|
378
375
|
if (!(other instanceof UserInfoData))
|
|
379
376
|
return false;
|
|
380
|
-
|
|
381
|
-
if (!(this.id === tmp0_other_with_cast.id))
|
|
377
|
+
if (!(this.id === other.id))
|
|
382
378
|
return false;
|
|
383
|
-
if (!(this.name ===
|
|
379
|
+
if (!(this.name === other.name))
|
|
384
380
|
return false;
|
|
385
381
|
return true;
|
|
386
382
|
};
|
|
387
383
|
function CardDeckResult(cardDecks, responseText, id, signature) {
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
384
|
+
this.e6b_1 = cardDecks;
|
|
385
|
+
this.f6b_1 = responseText;
|
|
386
|
+
this.g6b_1 = id;
|
|
387
|
+
this.h6b_1 = signature;
|
|
392
388
|
}
|
|
393
389
|
protoOf(CardDeckResult).toString = function () {
|
|
394
|
-
return 'CardDeckResult(cardDecks=' + toString(this.
|
|
390
|
+
return 'CardDeckResult(cardDecks=' + toString(this.e6b_1) + ', responseText=' + this.f6b_1 + ', id=' + this.g6b_1 + ', signature=' + this.h6b_1 + ')';
|
|
395
391
|
};
|
|
396
392
|
protoOf(CardDeckResult).hashCode = function () {
|
|
397
|
-
var result = hashCode(this.
|
|
398
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
399
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
400
|
-
result = imul(result, 31) + (this.
|
|
393
|
+
var result = hashCode(this.e6b_1);
|
|
394
|
+
result = imul(result, 31) + getStringHashCode(this.f6b_1) | 0;
|
|
395
|
+
result = imul(result, 31) + getStringHashCode(this.g6b_1) | 0;
|
|
396
|
+
result = imul(result, 31) + (this.h6b_1 == null ? 0 : getStringHashCode(this.h6b_1)) | 0;
|
|
401
397
|
return result;
|
|
402
398
|
};
|
|
403
399
|
protoOf(CardDeckResult).equals = function (other) {
|
|
@@ -405,14 +401,13 @@
|
|
|
405
401
|
return true;
|
|
406
402
|
if (!(other instanceof CardDeckResult))
|
|
407
403
|
return false;
|
|
408
|
-
|
|
409
|
-
if (!equals(this.b5k_1, tmp0_other_with_cast.b5k_1))
|
|
404
|
+
if (!equals(this.e6b_1, other.e6b_1))
|
|
410
405
|
return false;
|
|
411
|
-
if (!(this.
|
|
406
|
+
if (!(this.f6b_1 === other.f6b_1))
|
|
412
407
|
return false;
|
|
413
|
-
if (!(this.
|
|
408
|
+
if (!(this.g6b_1 === other.g6b_1))
|
|
414
409
|
return false;
|
|
415
|
-
if (!(this.
|
|
410
|
+
if (!(this.h6b_1 == other.h6b_1))
|
|
416
411
|
return false;
|
|
417
412
|
return true;
|
|
418
413
|
};
|
|
@@ -425,7 +420,7 @@
|
|
|
425
420
|
return gameCardDecksRecord.copy(VOID, VOID, VOID, plus(gameCardDecksRecord.rounds, newCardDeckData));
|
|
426
421
|
};
|
|
427
422
|
var Companion_instance_2;
|
|
428
|
-
function
|
|
423
|
+
function Companion_getInstance_2() {
|
|
429
424
|
return Companion_instance_2;
|
|
430
425
|
}
|
|
431
426
|
function GameCardDecksRecord(poolId, signature, userData, rounds) {
|
|
@@ -435,31 +430,31 @@
|
|
|
435
430
|
this.userData = userData;
|
|
436
431
|
this.rounds = rounds;
|
|
437
432
|
}
|
|
438
|
-
protoOf(GameCardDecksRecord).
|
|
433
|
+
protoOf(GameCardDecksRecord).i6b = function () {
|
|
439
434
|
return this.poolId;
|
|
440
435
|
};
|
|
441
|
-
protoOf(GameCardDecksRecord).
|
|
436
|
+
protoOf(GameCardDecksRecord).j6b = function () {
|
|
442
437
|
return this.signature;
|
|
443
438
|
};
|
|
444
|
-
protoOf(GameCardDecksRecord).
|
|
439
|
+
protoOf(GameCardDecksRecord).k6b = function () {
|
|
445
440
|
return this.userData;
|
|
446
441
|
};
|
|
447
|
-
protoOf(GameCardDecksRecord).
|
|
442
|
+
protoOf(GameCardDecksRecord).l6b = function () {
|
|
448
443
|
return this.rounds;
|
|
449
444
|
};
|
|
450
|
-
protoOf(GameCardDecksRecord).
|
|
445
|
+
protoOf(GameCardDecksRecord).kf = function () {
|
|
451
446
|
return this.poolId;
|
|
452
447
|
};
|
|
453
|
-
protoOf(GameCardDecksRecord).
|
|
448
|
+
protoOf(GameCardDecksRecord).lf = function () {
|
|
454
449
|
return this.signature;
|
|
455
450
|
};
|
|
456
|
-
protoOf(GameCardDecksRecord).
|
|
451
|
+
protoOf(GameCardDecksRecord).om = function () {
|
|
457
452
|
return this.userData;
|
|
458
453
|
};
|
|
459
|
-
protoOf(GameCardDecksRecord).
|
|
454
|
+
protoOf(GameCardDecksRecord).m6b = function () {
|
|
460
455
|
return this.rounds;
|
|
461
456
|
};
|
|
462
|
-
protoOf(GameCardDecksRecord).
|
|
457
|
+
protoOf(GameCardDecksRecord).n6b = function (poolId, signature, userData, rounds) {
|
|
463
458
|
return new GameCardDecksRecord(poolId, signature, userData, rounds);
|
|
464
459
|
};
|
|
465
460
|
protoOf(GameCardDecksRecord).copy = function (poolId, signature, userData, rounds, $super) {
|
|
@@ -467,7 +462,7 @@
|
|
|
467
462
|
signature = signature === VOID ? this.signature : signature;
|
|
468
463
|
userData = userData === VOID ? this.userData : userData;
|
|
469
464
|
rounds = rounds === VOID ? this.rounds : rounds;
|
|
470
|
-
return $super === VOID ? this.
|
|
465
|
+
return $super === VOID ? this.n6b(poolId, signature, userData, rounds) : $super.n6b.call(this, poolId, signature, userData, rounds);
|
|
471
466
|
};
|
|
472
467
|
protoOf(GameCardDecksRecord).toString = function () {
|
|
473
468
|
return 'GameCardDecksRecord(poolId=' + this.poolId + ', signature=' + this.signature + ', userData=' + this.userData.toString() + ', rounds=' + toString(this.rounds) + ')';
|
|
@@ -484,14 +479,13 @@
|
|
|
484
479
|
return true;
|
|
485
480
|
if (!(other instanceof GameCardDecksRecord))
|
|
486
481
|
return false;
|
|
487
|
-
|
|
488
|
-
if (!(this.poolId === tmp0_other_with_cast.poolId))
|
|
482
|
+
if (!(this.poolId === other.poolId))
|
|
489
483
|
return false;
|
|
490
|
-
if (!(this.signature ==
|
|
484
|
+
if (!(this.signature == other.signature))
|
|
491
485
|
return false;
|
|
492
|
-
if (!this.userData.equals(
|
|
486
|
+
if (!this.userData.equals(other.userData))
|
|
493
487
|
return false;
|
|
494
|
-
if (!equals(this.rounds,
|
|
488
|
+
if (!equals(this.rounds, other.rounds))
|
|
495
489
|
return false;
|
|
496
490
|
return true;
|
|
497
491
|
};
|
|
@@ -499,25 +493,25 @@
|
|
|
499
493
|
this.cardDeckIndex = cardDeckIndex;
|
|
500
494
|
this.cards = cards;
|
|
501
495
|
}
|
|
502
|
-
protoOf(GameCardDeckData).
|
|
496
|
+
protoOf(GameCardDeckData).o6b = function () {
|
|
503
497
|
return this.cardDeckIndex;
|
|
504
498
|
};
|
|
505
|
-
protoOf(GameCardDeckData).
|
|
499
|
+
protoOf(GameCardDeckData).p6b = function () {
|
|
506
500
|
return this.cards;
|
|
507
501
|
};
|
|
508
|
-
protoOf(GameCardDeckData).
|
|
502
|
+
protoOf(GameCardDeckData).kf = function () {
|
|
509
503
|
return this.cardDeckIndex;
|
|
510
504
|
};
|
|
511
|
-
protoOf(GameCardDeckData).
|
|
505
|
+
protoOf(GameCardDeckData).lf = function () {
|
|
512
506
|
return this.cards;
|
|
513
507
|
};
|
|
514
|
-
protoOf(GameCardDeckData).
|
|
508
|
+
protoOf(GameCardDeckData).q6b = function (cardDeckIndex, cards) {
|
|
515
509
|
return new GameCardDeckData(cardDeckIndex, cards);
|
|
516
510
|
};
|
|
517
511
|
protoOf(GameCardDeckData).copy = function (cardDeckIndex, cards, $super) {
|
|
518
512
|
cardDeckIndex = cardDeckIndex === VOID ? this.cardDeckIndex : cardDeckIndex;
|
|
519
513
|
cards = cards === VOID ? this.cards : cards;
|
|
520
|
-
return $super === VOID ? this.
|
|
514
|
+
return $super === VOID ? this.q6b(cardDeckIndex, cards) : $super.q6b.call(this, cardDeckIndex, cards);
|
|
521
515
|
};
|
|
522
516
|
protoOf(GameCardDeckData).toString = function () {
|
|
523
517
|
return 'GameCardDeckData(cardDeckIndex=' + this.cardDeckIndex + ', cards=' + toString(this.cards) + ')';
|
|
@@ -532,10 +526,9 @@
|
|
|
532
526
|
return true;
|
|
533
527
|
if (!(other instanceof GameCardDeckData))
|
|
534
528
|
return false;
|
|
535
|
-
|
|
536
|
-
if (!(this.cardDeckIndex === tmp0_other_with_cast.cardDeckIndex))
|
|
529
|
+
if (!(this.cardDeckIndex === other.cardDeckIndex))
|
|
537
530
|
return false;
|
|
538
|
-
if (!equals(this.cards,
|
|
531
|
+
if (!equals(this.cards, other.cards))
|
|
539
532
|
return false;
|
|
540
533
|
return true;
|
|
541
534
|
};
|
|
@@ -544,25 +537,25 @@
|
|
|
544
537
|
this.baseUrl = baseUrl;
|
|
545
538
|
this.timeoutMillis = timeoutMillis;
|
|
546
539
|
}
|
|
547
|
-
protoOf(HttpConfig).
|
|
540
|
+
protoOf(HttpConfig).r6b = function () {
|
|
548
541
|
return this.baseUrl;
|
|
549
542
|
};
|
|
550
|
-
protoOf(HttpConfig).
|
|
543
|
+
protoOf(HttpConfig).s6b = function () {
|
|
551
544
|
return this.timeoutMillis;
|
|
552
545
|
};
|
|
553
|
-
protoOf(HttpConfig).
|
|
546
|
+
protoOf(HttpConfig).kf = function () {
|
|
554
547
|
return this.baseUrl;
|
|
555
548
|
};
|
|
556
|
-
protoOf(HttpConfig).
|
|
549
|
+
protoOf(HttpConfig).lf = function () {
|
|
557
550
|
return this.timeoutMillis;
|
|
558
551
|
};
|
|
559
|
-
protoOf(HttpConfig).
|
|
552
|
+
protoOf(HttpConfig).z6a = function (baseUrl, timeoutMillis) {
|
|
560
553
|
return new HttpConfig(baseUrl, timeoutMillis);
|
|
561
554
|
};
|
|
562
555
|
protoOf(HttpConfig).copy = function (baseUrl, timeoutMillis, $super) {
|
|
563
556
|
baseUrl = baseUrl === VOID ? this.baseUrl : baseUrl;
|
|
564
557
|
timeoutMillis = timeoutMillis === VOID ? this.timeoutMillis : timeoutMillis;
|
|
565
|
-
return $super === VOID ? this.
|
|
558
|
+
return $super === VOID ? this.z6a(baseUrl, timeoutMillis) : $super.z6a.call(this, baseUrl, timeoutMillis);
|
|
566
559
|
};
|
|
567
560
|
protoOf(HttpConfig).toString = function () {
|
|
568
561
|
return 'HttpConfig(baseUrl=' + this.baseUrl + ', timeoutMillis=' + this.timeoutMillis + ')';
|
|
@@ -577,10 +570,9 @@
|
|
|
577
570
|
return true;
|
|
578
571
|
if (!(other instanceof HttpConfig))
|
|
579
572
|
return false;
|
|
580
|
-
|
|
581
|
-
if (!(this.baseUrl === tmp0_other_with_cast.baseUrl))
|
|
573
|
+
if (!(this.baseUrl === other.baseUrl))
|
|
582
574
|
return false;
|
|
583
|
-
if (!(this.timeoutMillis ===
|
|
575
|
+
if (!(this.timeoutMillis === other.timeoutMillis))
|
|
584
576
|
return false;
|
|
585
577
|
return true;
|
|
586
578
|
};
|
|
@@ -597,31 +589,31 @@
|
|
|
597
589
|
this.thresholdForUsedPool = thresholdForUsedPool;
|
|
598
590
|
this.httpConfig = httpConfig;
|
|
599
591
|
}
|
|
600
|
-
protoOf(RandomOrgConfig).
|
|
592
|
+
protoOf(RandomOrgConfig).t6b = function () {
|
|
601
593
|
return this.apiKey;
|
|
602
594
|
};
|
|
603
|
-
protoOf(RandomOrgConfig).
|
|
595
|
+
protoOf(RandomOrgConfig).u6b = function () {
|
|
604
596
|
return this.poolSize;
|
|
605
597
|
};
|
|
606
|
-
protoOf(RandomOrgConfig).
|
|
598
|
+
protoOf(RandomOrgConfig).v6b = function () {
|
|
607
599
|
return this.thresholdForUsedPool;
|
|
608
600
|
};
|
|
609
|
-
protoOf(RandomOrgConfig).
|
|
601
|
+
protoOf(RandomOrgConfig).w6b = function () {
|
|
610
602
|
return this.httpConfig;
|
|
611
603
|
};
|
|
612
|
-
protoOf(RandomOrgConfig).
|
|
604
|
+
protoOf(RandomOrgConfig).kf = function () {
|
|
613
605
|
return this.apiKey;
|
|
614
606
|
};
|
|
615
|
-
protoOf(RandomOrgConfig).
|
|
607
|
+
protoOf(RandomOrgConfig).lf = function () {
|
|
616
608
|
return this.poolSize;
|
|
617
609
|
};
|
|
618
|
-
protoOf(RandomOrgConfig).
|
|
610
|
+
protoOf(RandomOrgConfig).om = function () {
|
|
619
611
|
return this.thresholdForUsedPool;
|
|
620
612
|
};
|
|
621
|
-
protoOf(RandomOrgConfig).
|
|
613
|
+
protoOf(RandomOrgConfig).m6b = function () {
|
|
622
614
|
return this.httpConfig;
|
|
623
615
|
};
|
|
624
|
-
protoOf(RandomOrgConfig).
|
|
616
|
+
protoOf(RandomOrgConfig).x6b = function (apiKey, poolSize, thresholdForUsedPool, httpConfig) {
|
|
625
617
|
return new RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
626
618
|
};
|
|
627
619
|
protoOf(RandomOrgConfig).copy = function (apiKey, poolSize, thresholdForUsedPool, httpConfig, $super) {
|
|
@@ -629,7 +621,7 @@
|
|
|
629
621
|
poolSize = poolSize === VOID ? this.poolSize : poolSize;
|
|
630
622
|
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
631
623
|
httpConfig = httpConfig === VOID ? this.httpConfig : httpConfig;
|
|
632
|
-
return $super === VOID ? this.
|
|
624
|
+
return $super === VOID ? this.x6b(apiKey, poolSize, thresholdForUsedPool, httpConfig) : $super.x6b.call(this, apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
633
625
|
};
|
|
634
626
|
protoOf(RandomOrgConfig).toString = function () {
|
|
635
627
|
return 'RandomOrgConfig(apiKey=' + this.apiKey + ', poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', httpConfig=' + this.httpConfig.toString() + ')';
|
|
@@ -646,79 +638,78 @@
|
|
|
646
638
|
return true;
|
|
647
639
|
if (!(other instanceof RandomOrgConfig))
|
|
648
640
|
return false;
|
|
649
|
-
|
|
650
|
-
if (!(this.apiKey === tmp0_other_with_cast.apiKey))
|
|
641
|
+
if (!(this.apiKey === other.apiKey))
|
|
651
642
|
return false;
|
|
652
|
-
if (!(this.poolSize ===
|
|
643
|
+
if (!(this.poolSize === other.poolSize))
|
|
653
644
|
return false;
|
|
654
|
-
if (!(this.thresholdForUsedPool ===
|
|
645
|
+
if (!(this.thresholdForUsedPool === other.thresholdForUsedPool))
|
|
655
646
|
return false;
|
|
656
|
-
if (!this.httpConfig.equals(
|
|
647
|
+
if (!this.httpConfig.equals(other.httpConfig))
|
|
657
648
|
return false;
|
|
658
649
|
return true;
|
|
659
650
|
};
|
|
660
651
|
function Companion_1() {
|
|
661
652
|
}
|
|
662
653
|
var Companion_instance_3;
|
|
663
|
-
function
|
|
654
|
+
function Companion_getInstance_3() {
|
|
664
655
|
return Companion_instance_3;
|
|
665
656
|
}
|
|
666
657
|
function $serializer() {
|
|
667
658
|
$serializer_instance = this;
|
|
668
659
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.ErrorResponseDto', this, 2);
|
|
669
|
-
tmp0_serialDesc.
|
|
670
|
-
tmp0_serialDesc.
|
|
671
|
-
this.
|
|
672
|
-
}
|
|
673
|
-
protoOf($serializer).
|
|
674
|
-
var tmp0_desc = this.
|
|
675
|
-
var tmp1_output = encoder.
|
|
676
|
-
tmp1_output.
|
|
677
|
-
tmp1_output.
|
|
678
|
-
tmp1_output.
|
|
679
|
-
};
|
|
680
|
-
protoOf($serializer).
|
|
681
|
-
return this.
|
|
682
|
-
};
|
|
683
|
-
protoOf($serializer).
|
|
684
|
-
var tmp0_desc = this.
|
|
660
|
+
tmp0_serialDesc.xz('jsonrpc', false);
|
|
661
|
+
tmp0_serialDesc.xz('error', false);
|
|
662
|
+
this.y6b_1 = tmp0_serialDesc;
|
|
663
|
+
}
|
|
664
|
+
protoOf($serializer).z6b = function (encoder, value) {
|
|
665
|
+
var tmp0_desc = this.y6b_1;
|
|
666
|
+
var tmp1_output = encoder.fs(tmp0_desc);
|
|
667
|
+
tmp1_output.ut(tmp0_desc, 0, value.a6c_1);
|
|
668
|
+
tmp1_output.yt(tmp0_desc, 1, $serializer_getInstance_0(), value.b6c_1);
|
|
669
|
+
tmp1_output.gs(tmp0_desc);
|
|
670
|
+
};
|
|
671
|
+
protoOf($serializer).to = function (encoder, value) {
|
|
672
|
+
return this.z6b(encoder, value instanceof ErrorResponseDto ? value : THROW_CCE());
|
|
673
|
+
};
|
|
674
|
+
protoOf($serializer).uo = function (decoder) {
|
|
675
|
+
var tmp0_desc = this.y6b_1;
|
|
685
676
|
var tmp1_flag = true;
|
|
686
677
|
var tmp2_index = 0;
|
|
687
678
|
var tmp3_bitMask0 = 0;
|
|
688
679
|
var tmp4_local0 = null;
|
|
689
680
|
var tmp5_local1 = null;
|
|
690
|
-
var tmp6_input = decoder.
|
|
691
|
-
if (tmp6_input.
|
|
692
|
-
tmp4_local0 = tmp6_input.
|
|
681
|
+
var tmp6_input = decoder.fs(tmp0_desc);
|
|
682
|
+
if (tmp6_input.vs()) {
|
|
683
|
+
tmp4_local0 = tmp6_input.ps(tmp0_desc, 0);
|
|
693
684
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
694
|
-
tmp5_local1 = tmp6_input.
|
|
685
|
+
tmp5_local1 = tmp6_input.ts(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
695
686
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
696
687
|
} else
|
|
697
688
|
while (tmp1_flag) {
|
|
698
|
-
tmp2_index = tmp6_input.
|
|
689
|
+
tmp2_index = tmp6_input.ws(tmp0_desc);
|
|
699
690
|
switch (tmp2_index) {
|
|
700
691
|
case -1:
|
|
701
692
|
tmp1_flag = false;
|
|
702
693
|
break;
|
|
703
694
|
case 0:
|
|
704
|
-
tmp4_local0 = tmp6_input.
|
|
695
|
+
tmp4_local0 = tmp6_input.ps(tmp0_desc, 0);
|
|
705
696
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
706
697
|
break;
|
|
707
698
|
case 1:
|
|
708
|
-
tmp5_local1 = tmp6_input.
|
|
699
|
+
tmp5_local1 = tmp6_input.ts(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
709
700
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
710
701
|
break;
|
|
711
702
|
default:
|
|
712
703
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
713
704
|
}
|
|
714
705
|
}
|
|
715
|
-
tmp6_input.
|
|
706
|
+
tmp6_input.gs(tmp0_desc);
|
|
716
707
|
return ErrorResponseDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
717
708
|
};
|
|
718
|
-
protoOf($serializer).
|
|
719
|
-
return this.
|
|
709
|
+
protoOf($serializer).so = function () {
|
|
710
|
+
return this.y6b_1;
|
|
720
711
|
};
|
|
721
|
-
protoOf($serializer).
|
|
712
|
+
protoOf($serializer).m10 = function () {
|
|
722
713
|
// Inline function 'kotlin.arrayOf' call
|
|
723
714
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
724
715
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -732,25 +723,25 @@
|
|
|
732
723
|
}
|
|
733
724
|
function ErrorResponseDto_init_$Init$(seen0, jsonrpc, error, serializationConstructorMarker, $this) {
|
|
734
725
|
if (!(3 === (3 & seen0))) {
|
|
735
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
726
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().y6b_1);
|
|
736
727
|
}
|
|
737
|
-
$this.
|
|
738
|
-
$this.
|
|
728
|
+
$this.a6c_1 = jsonrpc;
|
|
729
|
+
$this.b6c_1 = error;
|
|
739
730
|
return $this;
|
|
740
731
|
}
|
|
741
732
|
function ErrorResponseDto_init_$Create$(seen0, jsonrpc, error, serializationConstructorMarker) {
|
|
742
733
|
return ErrorResponseDto_init_$Init$(seen0, jsonrpc, error, serializationConstructorMarker, objectCreate(protoOf(ErrorResponseDto)));
|
|
743
734
|
}
|
|
744
735
|
function ErrorResponseDto(jsonrpc, error) {
|
|
745
|
-
this.
|
|
746
|
-
this.
|
|
736
|
+
this.a6c_1 = jsonrpc;
|
|
737
|
+
this.b6c_1 = error;
|
|
747
738
|
}
|
|
748
739
|
protoOf(ErrorResponseDto).toString = function () {
|
|
749
|
-
return 'ErrorResponseDto(jsonrpc=' + this.
|
|
740
|
+
return 'ErrorResponseDto(jsonrpc=' + this.a6c_1 + ', error=' + toString_0(this.b6c_1) + ')';
|
|
750
741
|
};
|
|
751
742
|
protoOf(ErrorResponseDto).hashCode = function () {
|
|
752
|
-
var result = getStringHashCode(this.
|
|
753
|
-
result = imul(result, 31) + (this.
|
|
743
|
+
var result = getStringHashCode(this.a6c_1);
|
|
744
|
+
result = imul(result, 31) + (this.b6c_1 == null ? 0 : this.b6c_1.hashCode()) | 0;
|
|
754
745
|
return result;
|
|
755
746
|
};
|
|
756
747
|
protoOf(ErrorResponseDto).equals = function (other) {
|
|
@@ -758,69 +749,68 @@
|
|
|
758
749
|
return true;
|
|
759
750
|
if (!(other instanceof ErrorResponseDto))
|
|
760
751
|
return false;
|
|
761
|
-
|
|
762
|
-
if (!(this.x5k_1 === tmp0_other_with_cast.x5k_1))
|
|
752
|
+
if (!(this.a6c_1 === other.a6c_1))
|
|
763
753
|
return false;
|
|
764
|
-
if (!equals(this.
|
|
754
|
+
if (!equals(this.b6c_1, other.b6c_1))
|
|
765
755
|
return false;
|
|
766
756
|
return true;
|
|
767
757
|
};
|
|
768
758
|
function $serializer_0() {
|
|
769
759
|
$serializer_instance_0 = this;
|
|
770
760
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.ErrorDto', this, 2);
|
|
771
|
-
tmp0_serialDesc.
|
|
772
|
-
tmp0_serialDesc.
|
|
773
|
-
this.
|
|
774
|
-
}
|
|
775
|
-
protoOf($serializer_0).
|
|
776
|
-
var tmp0_desc = this.
|
|
777
|
-
var tmp1_output = encoder.
|
|
778
|
-
tmp1_output.
|
|
779
|
-
tmp1_output.
|
|
780
|
-
tmp1_output.
|
|
781
|
-
};
|
|
782
|
-
protoOf($serializer_0).
|
|
783
|
-
return this.
|
|
784
|
-
};
|
|
785
|
-
protoOf($serializer_0).
|
|
786
|
-
var tmp0_desc = this.
|
|
761
|
+
tmp0_serialDesc.xz('code', false);
|
|
762
|
+
tmp0_serialDesc.xz('message', false);
|
|
763
|
+
this.c6c_1 = tmp0_serialDesc;
|
|
764
|
+
}
|
|
765
|
+
protoOf($serializer_0).d6c = function (encoder, value) {
|
|
766
|
+
var tmp0_desc = this.c6c_1;
|
|
767
|
+
var tmp1_output = encoder.fs(tmp0_desc);
|
|
768
|
+
tmp1_output.yt(tmp0_desc, 0, IntSerializer_getInstance(), value.e6c_1);
|
|
769
|
+
tmp1_output.yt(tmp0_desc, 1, StringSerializer_getInstance(), value.f6c_1);
|
|
770
|
+
tmp1_output.gs(tmp0_desc);
|
|
771
|
+
};
|
|
772
|
+
protoOf($serializer_0).to = function (encoder, value) {
|
|
773
|
+
return this.d6c(encoder, value instanceof ErrorDto ? value : THROW_CCE());
|
|
774
|
+
};
|
|
775
|
+
protoOf($serializer_0).uo = function (decoder) {
|
|
776
|
+
var tmp0_desc = this.c6c_1;
|
|
787
777
|
var tmp1_flag = true;
|
|
788
778
|
var tmp2_index = 0;
|
|
789
779
|
var tmp3_bitMask0 = 0;
|
|
790
780
|
var tmp4_local0 = null;
|
|
791
781
|
var tmp5_local1 = null;
|
|
792
|
-
var tmp6_input = decoder.
|
|
793
|
-
if (tmp6_input.
|
|
794
|
-
tmp4_local0 = tmp6_input.
|
|
782
|
+
var tmp6_input = decoder.fs(tmp0_desc);
|
|
783
|
+
if (tmp6_input.vs()) {
|
|
784
|
+
tmp4_local0 = tmp6_input.ts(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
795
785
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
796
|
-
tmp5_local1 = tmp6_input.
|
|
786
|
+
tmp5_local1 = tmp6_input.ts(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
797
787
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
798
788
|
} else
|
|
799
789
|
while (tmp1_flag) {
|
|
800
|
-
tmp2_index = tmp6_input.
|
|
790
|
+
tmp2_index = tmp6_input.ws(tmp0_desc);
|
|
801
791
|
switch (tmp2_index) {
|
|
802
792
|
case -1:
|
|
803
793
|
tmp1_flag = false;
|
|
804
794
|
break;
|
|
805
795
|
case 0:
|
|
806
|
-
tmp4_local0 = tmp6_input.
|
|
796
|
+
tmp4_local0 = tmp6_input.ts(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
807
797
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
808
798
|
break;
|
|
809
799
|
case 1:
|
|
810
|
-
tmp5_local1 = tmp6_input.
|
|
800
|
+
tmp5_local1 = tmp6_input.ts(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
811
801
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
812
802
|
break;
|
|
813
803
|
default:
|
|
814
804
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
815
805
|
}
|
|
816
806
|
}
|
|
817
|
-
tmp6_input.
|
|
807
|
+
tmp6_input.gs(tmp0_desc);
|
|
818
808
|
return ErrorDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
819
809
|
};
|
|
820
|
-
protoOf($serializer_0).
|
|
821
|
-
return this.
|
|
810
|
+
protoOf($serializer_0).so = function () {
|
|
811
|
+
return this.c6c_1;
|
|
822
812
|
};
|
|
823
|
-
protoOf($serializer_0).
|
|
813
|
+
protoOf($serializer_0).m10 = function () {
|
|
824
814
|
// Inline function 'kotlin.arrayOf' call
|
|
825
815
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
826
816
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -834,10 +824,10 @@
|
|
|
834
824
|
}
|
|
835
825
|
function ErrorDto_init_$Init$(seen0, code, message, serializationConstructorMarker, $this) {
|
|
836
826
|
if (!(3 === (3 & seen0))) {
|
|
837
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
827
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().c6c_1);
|
|
838
828
|
}
|
|
839
|
-
$this.
|
|
840
|
-
$this.
|
|
829
|
+
$this.e6c_1 = code;
|
|
830
|
+
$this.f6c_1 = message;
|
|
841
831
|
return $this;
|
|
842
832
|
}
|
|
843
833
|
function ErrorDto_init_$Create$(seen0, code, message, serializationConstructorMarker) {
|
|
@@ -846,11 +836,11 @@
|
|
|
846
836
|
function ErrorDto() {
|
|
847
837
|
}
|
|
848
838
|
protoOf(ErrorDto).toString = function () {
|
|
849
|
-
return 'ErrorDto(code=' + this.
|
|
839
|
+
return 'ErrorDto(code=' + this.e6c_1 + ', message=' + this.f6c_1 + ')';
|
|
850
840
|
};
|
|
851
841
|
protoOf(ErrorDto).hashCode = function () {
|
|
852
|
-
var result = this.
|
|
853
|
-
result = imul(result, 31) + (this.
|
|
842
|
+
var result = this.e6c_1 == null ? 0 : this.e6c_1;
|
|
843
|
+
result = imul(result, 31) + (this.f6c_1 == null ? 0 : getStringHashCode(this.f6c_1)) | 0;
|
|
854
844
|
return result;
|
|
855
845
|
};
|
|
856
846
|
protoOf(ErrorDto).equals = function (other) {
|
|
@@ -858,16 +848,15 @@
|
|
|
858
848
|
return true;
|
|
859
849
|
if (!(other instanceof ErrorDto))
|
|
860
850
|
return false;
|
|
861
|
-
|
|
862
|
-
if (!(this.b5l_1 == tmp0_other_with_cast.b5l_1))
|
|
851
|
+
if (!(this.e6c_1 == other.e6c_1))
|
|
863
852
|
return false;
|
|
864
|
-
if (!(this.
|
|
853
|
+
if (!(this.f6c_1 == other.f6c_1))
|
|
865
854
|
return false;
|
|
866
855
|
return true;
|
|
867
856
|
};
|
|
868
857
|
function $serializer_init_$Init$(typeSerial0, $this) {
|
|
869
858
|
$serializer_1.call($this);
|
|
870
|
-
$this.
|
|
859
|
+
$this.h6c_1 = typeSerial0;
|
|
871
860
|
return $this;
|
|
872
861
|
}
|
|
873
862
|
function $serializer_init_$Create$(typeSerial0) {
|
|
@@ -876,46 +865,46 @@
|
|
|
876
865
|
function Companion_2() {
|
|
877
866
|
Companion_instance_4 = this;
|
|
878
867
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomRequestDto', null, 4);
|
|
879
|
-
tmp0_serialDesc.
|
|
880
|
-
tmp0_serialDesc.
|
|
881
|
-
tmp0_serialDesc.
|
|
882
|
-
tmp0_serialDesc.
|
|
883
|
-
this.
|
|
868
|
+
tmp0_serialDesc.xz('jsonrpc', false);
|
|
869
|
+
tmp0_serialDesc.xz('method', false);
|
|
870
|
+
tmp0_serialDesc.xz('params', false);
|
|
871
|
+
tmp0_serialDesc.xz('id', false);
|
|
872
|
+
this.i6c_1 = tmp0_serialDesc;
|
|
884
873
|
}
|
|
885
|
-
protoOf(Companion_2).
|
|
874
|
+
protoOf(Companion_2).j6c = function (typeSerial0) {
|
|
886
875
|
return $serializer_init_$Create$(typeSerial0);
|
|
887
876
|
};
|
|
888
|
-
protoOf(Companion_2).
|
|
889
|
-
return this.
|
|
877
|
+
protoOf(Companion_2).x10 = function (typeParamsSerializers) {
|
|
878
|
+
return this.j6c(typeParamsSerializers[0]);
|
|
890
879
|
};
|
|
891
880
|
var Companion_instance_4;
|
|
892
|
-
function
|
|
881
|
+
function Companion_getInstance_4() {
|
|
893
882
|
if (Companion_instance_4 == null)
|
|
894
883
|
new Companion_2();
|
|
895
884
|
return Companion_instance_4;
|
|
896
885
|
}
|
|
897
886
|
function $serializer_1() {
|
|
898
887
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomRequestDto', this, 4);
|
|
899
|
-
tmp0_serialDesc.
|
|
900
|
-
tmp0_serialDesc.
|
|
901
|
-
tmp0_serialDesc.
|
|
902
|
-
tmp0_serialDesc.
|
|
903
|
-
this.
|
|
904
|
-
}
|
|
905
|
-
protoOf($serializer_1).
|
|
906
|
-
var tmp0_desc = this.
|
|
907
|
-
var tmp1_output = encoder.
|
|
908
|
-
tmp1_output.
|
|
909
|
-
tmp1_output.
|
|
910
|
-
tmp1_output.
|
|
911
|
-
tmp1_output.
|
|
912
|
-
tmp1_output.
|
|
913
|
-
};
|
|
914
|
-
protoOf($serializer_1).
|
|
915
|
-
return this.
|
|
916
|
-
};
|
|
917
|
-
protoOf($serializer_1).
|
|
918
|
-
var tmp0_desc = this.
|
|
888
|
+
tmp0_serialDesc.xz('jsonrpc', false);
|
|
889
|
+
tmp0_serialDesc.xz('method', false);
|
|
890
|
+
tmp0_serialDesc.xz('params', false);
|
|
891
|
+
tmp0_serialDesc.xz('id', false);
|
|
892
|
+
this.g6c_1 = tmp0_serialDesc;
|
|
893
|
+
}
|
|
894
|
+
protoOf($serializer_1).k6c = function (encoder, value) {
|
|
895
|
+
var tmp0_desc = this.g6c_1;
|
|
896
|
+
var tmp1_output = encoder.fs(tmp0_desc);
|
|
897
|
+
tmp1_output.ut(tmp0_desc, 0, value.l6c_1);
|
|
898
|
+
tmp1_output.ut(tmp0_desc, 1, value.m6c_1);
|
|
899
|
+
tmp1_output.wt(tmp0_desc, 2, this.h6c_1, value.n6c_1);
|
|
900
|
+
tmp1_output.ut(tmp0_desc, 3, value.o6c_1);
|
|
901
|
+
tmp1_output.gs(tmp0_desc);
|
|
902
|
+
};
|
|
903
|
+
protoOf($serializer_1).to = function (encoder, value) {
|
|
904
|
+
return this.k6c(encoder, value instanceof RandomRequestDto ? value : THROW_CCE());
|
|
905
|
+
};
|
|
906
|
+
protoOf($serializer_1).uo = function (decoder) {
|
|
907
|
+
var tmp0_desc = this.g6c_1;
|
|
919
908
|
var tmp1_flag = true;
|
|
920
909
|
var tmp2_index = 0;
|
|
921
910
|
var tmp3_bitMask0 = 0;
|
|
@@ -923,89 +912,89 @@
|
|
|
923
912
|
var tmp5_local1 = null;
|
|
924
913
|
var tmp6_local2 = null;
|
|
925
914
|
var tmp7_local3 = null;
|
|
926
|
-
var tmp8_input = decoder.
|
|
927
|
-
if (tmp8_input.
|
|
928
|
-
tmp4_local0 = tmp8_input.
|
|
915
|
+
var tmp8_input = decoder.fs(tmp0_desc);
|
|
916
|
+
if (tmp8_input.vs()) {
|
|
917
|
+
tmp4_local0 = tmp8_input.ps(tmp0_desc, 0);
|
|
929
918
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
930
|
-
tmp5_local1 = tmp8_input.
|
|
919
|
+
tmp5_local1 = tmp8_input.ps(tmp0_desc, 1);
|
|
931
920
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
932
|
-
tmp6_local2 = tmp8_input.
|
|
921
|
+
tmp6_local2 = tmp8_input.rs(tmp0_desc, 2, this.h6c_1, tmp6_local2);
|
|
933
922
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
934
|
-
tmp7_local3 = tmp8_input.
|
|
923
|
+
tmp7_local3 = tmp8_input.ps(tmp0_desc, 3);
|
|
935
924
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
936
925
|
} else
|
|
937
926
|
while (tmp1_flag) {
|
|
938
|
-
tmp2_index = tmp8_input.
|
|
927
|
+
tmp2_index = tmp8_input.ws(tmp0_desc);
|
|
939
928
|
switch (tmp2_index) {
|
|
940
929
|
case -1:
|
|
941
930
|
tmp1_flag = false;
|
|
942
931
|
break;
|
|
943
932
|
case 0:
|
|
944
|
-
tmp4_local0 = tmp8_input.
|
|
933
|
+
tmp4_local0 = tmp8_input.ps(tmp0_desc, 0);
|
|
945
934
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
946
935
|
break;
|
|
947
936
|
case 1:
|
|
948
|
-
tmp5_local1 = tmp8_input.
|
|
937
|
+
tmp5_local1 = tmp8_input.ps(tmp0_desc, 1);
|
|
949
938
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
950
939
|
break;
|
|
951
940
|
case 2:
|
|
952
|
-
tmp6_local2 = tmp8_input.
|
|
941
|
+
tmp6_local2 = tmp8_input.rs(tmp0_desc, 2, this.h6c_1, tmp6_local2);
|
|
953
942
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
954
943
|
break;
|
|
955
944
|
case 3:
|
|
956
|
-
tmp7_local3 = tmp8_input.
|
|
945
|
+
tmp7_local3 = tmp8_input.ps(tmp0_desc, 3);
|
|
957
946
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
958
947
|
break;
|
|
959
948
|
default:
|
|
960
949
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
961
950
|
}
|
|
962
951
|
}
|
|
963
|
-
tmp8_input.
|
|
952
|
+
tmp8_input.gs(tmp0_desc);
|
|
964
953
|
return RandomRequestDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
965
954
|
};
|
|
966
|
-
protoOf($serializer_1).
|
|
967
|
-
return this.
|
|
955
|
+
protoOf($serializer_1).so = function () {
|
|
956
|
+
return this.g6c_1;
|
|
968
957
|
};
|
|
969
|
-
protoOf($serializer_1).
|
|
958
|
+
protoOf($serializer_1).m10 = function () {
|
|
970
959
|
// Inline function 'kotlin.arrayOf' call
|
|
971
960
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
972
961
|
// Inline function 'kotlin.js.asDynamic' call
|
|
973
|
-
return [StringSerializer_getInstance(), StringSerializer_getInstance(), this.
|
|
962
|
+
return [StringSerializer_getInstance(), StringSerializer_getInstance(), this.h6c_1, StringSerializer_getInstance()];
|
|
974
963
|
};
|
|
975
|
-
protoOf($serializer_1).
|
|
964
|
+
protoOf($serializer_1).n10 = function () {
|
|
976
965
|
// Inline function 'kotlin.arrayOf' call
|
|
977
966
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
978
967
|
// Inline function 'kotlin.js.asDynamic' call
|
|
979
|
-
return [this.
|
|
968
|
+
return [this.h6c_1];
|
|
980
969
|
};
|
|
981
970
|
function RandomRequestDto_init_$Init$(seen0, jsonrpc, method, params, id, serializationConstructorMarker, $this) {
|
|
982
971
|
if (!(15 === (15 & seen0))) {
|
|
983
|
-
throwMissingFieldException(seen0, 15,
|
|
972
|
+
throwMissingFieldException(seen0, 15, Companion_getInstance_4().i6c_1);
|
|
984
973
|
}
|
|
985
|
-
$this.
|
|
986
|
-
$this.
|
|
987
|
-
$this.
|
|
988
|
-
$this.
|
|
974
|
+
$this.l6c_1 = jsonrpc;
|
|
975
|
+
$this.m6c_1 = method;
|
|
976
|
+
$this.n6c_1 = params;
|
|
977
|
+
$this.o6c_1 = id;
|
|
989
978
|
return $this;
|
|
990
979
|
}
|
|
991
980
|
function RandomRequestDto_init_$Create$(seen0, jsonrpc, method, params, id, serializationConstructorMarker) {
|
|
992
981
|
return RandomRequestDto_init_$Init$(seen0, jsonrpc, method, params, id, serializationConstructorMarker, objectCreate(protoOf(RandomRequestDto)));
|
|
993
982
|
}
|
|
994
983
|
function RandomRequestDto(jsonrpc, method, params, id) {
|
|
995
|
-
|
|
996
|
-
this.
|
|
997
|
-
this.
|
|
998
|
-
this.
|
|
999
|
-
this.
|
|
984
|
+
Companion_getInstance_4();
|
|
985
|
+
this.l6c_1 = jsonrpc;
|
|
986
|
+
this.m6c_1 = method;
|
|
987
|
+
this.n6c_1 = params;
|
|
988
|
+
this.o6c_1 = id;
|
|
1000
989
|
}
|
|
1001
990
|
protoOf(RandomRequestDto).toString = function () {
|
|
1002
|
-
return 'RandomRequestDto(jsonrpc=' + this.
|
|
991
|
+
return 'RandomRequestDto(jsonrpc=' + this.l6c_1 + ', method=' + this.m6c_1 + ', params=' + toString(this.n6c_1) + ', id=' + this.o6c_1 + ')';
|
|
1003
992
|
};
|
|
1004
993
|
protoOf(RandomRequestDto).hashCode = function () {
|
|
1005
|
-
var result = getStringHashCode(this.
|
|
1006
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1007
|
-
result = imul(result, 31) + hashCode(this.
|
|
1008
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
994
|
+
var result = getStringHashCode(this.l6c_1);
|
|
995
|
+
result = imul(result, 31) + getStringHashCode(this.m6c_1) | 0;
|
|
996
|
+
result = imul(result, 31) + hashCode(this.n6c_1) | 0;
|
|
997
|
+
result = imul(result, 31) + getStringHashCode(this.o6c_1) | 0;
|
|
1009
998
|
return result;
|
|
1010
999
|
};
|
|
1011
1000
|
protoOf(RandomRequestDto).equals = function (other) {
|
|
@@ -1013,14 +1002,13 @@
|
|
|
1013
1002
|
return true;
|
|
1014
1003
|
if (!(other instanceof RandomRequestDto))
|
|
1015
1004
|
return false;
|
|
1016
|
-
|
|
1017
|
-
if (!(this.i5l_1 === tmp0_other_with_cast.i5l_1))
|
|
1005
|
+
if (!(this.l6c_1 === other.l6c_1))
|
|
1018
1006
|
return false;
|
|
1019
|
-
if (!(this.
|
|
1007
|
+
if (!(this.m6c_1 === other.m6c_1))
|
|
1020
1008
|
return false;
|
|
1021
|
-
if (!equals(this.
|
|
1009
|
+
if (!equals(this.n6c_1, other.n6c_1))
|
|
1022
1010
|
return false;
|
|
1023
|
-
if (!(this.
|
|
1011
|
+
if (!(this.o6c_1 === other.o6c_1))
|
|
1024
1012
|
return false;
|
|
1025
1013
|
return true;
|
|
1026
1014
|
};
|
|
@@ -1034,10 +1022,10 @@
|
|
|
1034
1022
|
// Inline function 'kotlin.arrayOf' call
|
|
1035
1023
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1036
1024
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1037
|
-
tmp.
|
|
1025
|
+
tmp.p6c_1 = [null, null, lazy(tmp_0, RandomParamsDto$RandomIntegerSequencesParamsDto$Companion$$childSerializers$_anonymous__1scx7a), null, null, null, null, null];
|
|
1038
1026
|
}
|
|
1039
1027
|
var Companion_instance_5;
|
|
1040
|
-
function
|
|
1028
|
+
function Companion_getInstance_5() {
|
|
1041
1029
|
if (Companion_instance_5 == null)
|
|
1042
1030
|
new Companion_3();
|
|
1043
1031
|
return Companion_instance_5;
|
|
@@ -1045,35 +1033,35 @@
|
|
|
1045
1033
|
function $serializer_2() {
|
|
1046
1034
|
$serializer_instance_1 = this;
|
|
1047
1035
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomParamsDto.RandomIntegerSequencesParamsDto', this, 8);
|
|
1048
|
-
tmp0_serialDesc.
|
|
1049
|
-
tmp0_serialDesc.
|
|
1050
|
-
tmp0_serialDesc.
|
|
1051
|
-
tmp0_serialDesc.
|
|
1052
|
-
tmp0_serialDesc.
|
|
1053
|
-
tmp0_serialDesc.
|
|
1054
|
-
tmp0_serialDesc.
|
|
1055
|
-
tmp0_serialDesc.
|
|
1056
|
-
this.
|
|
1057
|
-
}
|
|
1058
|
-
protoOf($serializer_2).
|
|
1059
|
-
var tmp0_desc = this.
|
|
1060
|
-
var tmp1_output = encoder.
|
|
1061
|
-
var tmp2_cached =
|
|
1062
|
-
tmp1_output.
|
|
1063
|
-
tmp1_output.
|
|
1064
|
-
tmp1_output.
|
|
1065
|
-
tmp1_output.
|
|
1066
|
-
tmp1_output.
|
|
1067
|
-
tmp1_output.
|
|
1068
|
-
tmp1_output.
|
|
1069
|
-
tmp1_output.
|
|
1070
|
-
tmp1_output.
|
|
1071
|
-
};
|
|
1072
|
-
protoOf($serializer_2).
|
|
1073
|
-
return this.
|
|
1074
|
-
};
|
|
1075
|
-
protoOf($serializer_2).
|
|
1076
|
-
var tmp0_desc = this.
|
|
1036
|
+
tmp0_serialDesc.xz('apiKey', false);
|
|
1037
|
+
tmp0_serialDesc.xz('n', false);
|
|
1038
|
+
tmp0_serialDesc.xz('length', false);
|
|
1039
|
+
tmp0_serialDesc.xz('min', false);
|
|
1040
|
+
tmp0_serialDesc.xz('max', false);
|
|
1041
|
+
tmp0_serialDesc.xz('replacement', false);
|
|
1042
|
+
tmp0_serialDesc.xz('ticketId', false);
|
|
1043
|
+
tmp0_serialDesc.xz('userData', false);
|
|
1044
|
+
this.q6c_1 = tmp0_serialDesc;
|
|
1045
|
+
}
|
|
1046
|
+
protoOf($serializer_2).r6c = function (encoder, value) {
|
|
1047
|
+
var tmp0_desc = this.q6c_1;
|
|
1048
|
+
var tmp1_output = encoder.fs(tmp0_desc);
|
|
1049
|
+
var tmp2_cached = Companion_getInstance_5().p6c_1;
|
|
1050
|
+
tmp1_output.ut(tmp0_desc, 0, value.s6c_1);
|
|
1051
|
+
tmp1_output.pt(tmp0_desc, 1, value.t6c_1);
|
|
1052
|
+
tmp1_output.wt(tmp0_desc, 2, tmp2_cached[2].o1(), value.u6c_1);
|
|
1053
|
+
tmp1_output.pt(tmp0_desc, 3, value.v6c_1);
|
|
1054
|
+
tmp1_output.pt(tmp0_desc, 4, value.w6c_1);
|
|
1055
|
+
tmp1_output.mt(tmp0_desc, 5, value.x6c_1);
|
|
1056
|
+
tmp1_output.yt(tmp0_desc, 6, StringSerializer_getInstance(), value.y6c_1);
|
|
1057
|
+
tmp1_output.yt(tmp0_desc, 7, $serializer_getInstance_2(), value.z6c_1);
|
|
1058
|
+
tmp1_output.gs(tmp0_desc);
|
|
1059
|
+
};
|
|
1060
|
+
protoOf($serializer_2).to = function (encoder, value) {
|
|
1061
|
+
return this.r6c(encoder, value instanceof RandomIntegerSequencesParamsDto ? value : THROW_CCE());
|
|
1062
|
+
};
|
|
1063
|
+
protoOf($serializer_2).uo = function (decoder) {
|
|
1064
|
+
var tmp0_desc = this.q6c_1;
|
|
1077
1065
|
var tmp1_flag = true;
|
|
1078
1066
|
var tmp2_index = 0;
|
|
1079
1067
|
var tmp3_bitMask0 = 0;
|
|
@@ -1085,80 +1073,80 @@
|
|
|
1085
1073
|
var tmp9_local5 = false;
|
|
1086
1074
|
var tmp10_local6 = null;
|
|
1087
1075
|
var tmp11_local7 = null;
|
|
1088
|
-
var tmp12_input = decoder.
|
|
1089
|
-
var tmp13_cached =
|
|
1090
|
-
if (tmp12_input.
|
|
1091
|
-
tmp4_local0 = tmp12_input.
|
|
1076
|
+
var tmp12_input = decoder.fs(tmp0_desc);
|
|
1077
|
+
var tmp13_cached = Companion_getInstance_5().p6c_1;
|
|
1078
|
+
if (tmp12_input.vs()) {
|
|
1079
|
+
tmp4_local0 = tmp12_input.ps(tmp0_desc, 0);
|
|
1092
1080
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1093
|
-
tmp5_local1 = tmp12_input.
|
|
1081
|
+
tmp5_local1 = tmp12_input.ks(tmp0_desc, 1);
|
|
1094
1082
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1095
|
-
tmp6_local2 = tmp12_input.
|
|
1083
|
+
tmp6_local2 = tmp12_input.rs(tmp0_desc, 2, tmp13_cached[2].o1(), tmp6_local2);
|
|
1096
1084
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1097
|
-
tmp7_local3 = tmp12_input.
|
|
1085
|
+
tmp7_local3 = tmp12_input.ks(tmp0_desc, 3);
|
|
1098
1086
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1099
|
-
tmp8_local4 = tmp12_input.
|
|
1087
|
+
tmp8_local4 = tmp12_input.ks(tmp0_desc, 4);
|
|
1100
1088
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1101
|
-
tmp9_local5 = tmp12_input.
|
|
1089
|
+
tmp9_local5 = tmp12_input.hs(tmp0_desc, 5);
|
|
1102
1090
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1103
|
-
tmp10_local6 = tmp12_input.
|
|
1091
|
+
tmp10_local6 = tmp12_input.ts(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1104
1092
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1105
|
-
tmp11_local7 = tmp12_input.
|
|
1093
|
+
tmp11_local7 = tmp12_input.ts(tmp0_desc, 7, $serializer_getInstance_2(), tmp11_local7);
|
|
1106
1094
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1107
1095
|
} else
|
|
1108
1096
|
while (tmp1_flag) {
|
|
1109
|
-
tmp2_index = tmp12_input.
|
|
1097
|
+
tmp2_index = tmp12_input.ws(tmp0_desc);
|
|
1110
1098
|
switch (tmp2_index) {
|
|
1111
1099
|
case -1:
|
|
1112
1100
|
tmp1_flag = false;
|
|
1113
1101
|
break;
|
|
1114
1102
|
case 0:
|
|
1115
|
-
tmp4_local0 = tmp12_input.
|
|
1103
|
+
tmp4_local0 = tmp12_input.ps(tmp0_desc, 0);
|
|
1116
1104
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1117
1105
|
break;
|
|
1118
1106
|
case 1:
|
|
1119
|
-
tmp5_local1 = tmp12_input.
|
|
1107
|
+
tmp5_local1 = tmp12_input.ks(tmp0_desc, 1);
|
|
1120
1108
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1121
1109
|
break;
|
|
1122
1110
|
case 2:
|
|
1123
|
-
tmp6_local2 = tmp12_input.
|
|
1111
|
+
tmp6_local2 = tmp12_input.rs(tmp0_desc, 2, tmp13_cached[2].o1(), tmp6_local2);
|
|
1124
1112
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1125
1113
|
break;
|
|
1126
1114
|
case 3:
|
|
1127
|
-
tmp7_local3 = tmp12_input.
|
|
1115
|
+
tmp7_local3 = tmp12_input.ks(tmp0_desc, 3);
|
|
1128
1116
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1129
1117
|
break;
|
|
1130
1118
|
case 4:
|
|
1131
|
-
tmp8_local4 = tmp12_input.
|
|
1119
|
+
tmp8_local4 = tmp12_input.ks(tmp0_desc, 4);
|
|
1132
1120
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1133
1121
|
break;
|
|
1134
1122
|
case 5:
|
|
1135
|
-
tmp9_local5 = tmp12_input.
|
|
1123
|
+
tmp9_local5 = tmp12_input.hs(tmp0_desc, 5);
|
|
1136
1124
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1137
1125
|
break;
|
|
1138
1126
|
case 6:
|
|
1139
|
-
tmp10_local6 = tmp12_input.
|
|
1127
|
+
tmp10_local6 = tmp12_input.ts(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1140
1128
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1141
1129
|
break;
|
|
1142
1130
|
case 7:
|
|
1143
|
-
tmp11_local7 = tmp12_input.
|
|
1131
|
+
tmp11_local7 = tmp12_input.ts(tmp0_desc, 7, $serializer_getInstance_2(), tmp11_local7);
|
|
1144
1132
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1145
1133
|
break;
|
|
1146
1134
|
default:
|
|
1147
1135
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1148
1136
|
}
|
|
1149
1137
|
}
|
|
1150
|
-
tmp12_input.
|
|
1138
|
+
tmp12_input.gs(tmp0_desc);
|
|
1151
1139
|
return RandomIntegerSequencesParamsDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
1152
1140
|
};
|
|
1153
|
-
protoOf($serializer_2).
|
|
1154
|
-
return this.
|
|
1141
|
+
protoOf($serializer_2).so = function () {
|
|
1142
|
+
return this.q6c_1;
|
|
1155
1143
|
};
|
|
1156
|
-
protoOf($serializer_2).
|
|
1157
|
-
var tmp0_cached =
|
|
1144
|
+
protoOf($serializer_2).m10 = function () {
|
|
1145
|
+
var tmp0_cached = Companion_getInstance_5().p6c_1;
|
|
1158
1146
|
// Inline function 'kotlin.arrayOf' call
|
|
1159
1147
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1160
1148
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1161
|
-
return [StringSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[2].
|
|
1149
|
+
return [StringSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[2].o1(), IntSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_2())];
|
|
1162
1150
|
};
|
|
1163
1151
|
var $serializer_instance_1;
|
|
1164
1152
|
function $serializer_getInstance_1() {
|
|
@@ -1168,44 +1156,44 @@
|
|
|
1168
1156
|
}
|
|
1169
1157
|
function RandomIntegerSequencesParamsDto_init_$Init$(seen0, apiKey, n, length, min, max, replacement, ticketId, userData, serializationConstructorMarker, $this) {
|
|
1170
1158
|
if (!(255 === (255 & seen0))) {
|
|
1171
|
-
throwMissingFieldException(seen0, 255, $serializer_getInstance_1().
|
|
1159
|
+
throwMissingFieldException(seen0, 255, $serializer_getInstance_1().q6c_1);
|
|
1172
1160
|
}
|
|
1173
|
-
$this.
|
|
1174
|
-
$this.
|
|
1175
|
-
$this.
|
|
1176
|
-
$this.
|
|
1177
|
-
$this.
|
|
1178
|
-
$this.
|
|
1179
|
-
$this.
|
|
1180
|
-
$this.
|
|
1161
|
+
$this.s6c_1 = apiKey;
|
|
1162
|
+
$this.t6c_1 = n;
|
|
1163
|
+
$this.u6c_1 = length;
|
|
1164
|
+
$this.v6c_1 = min;
|
|
1165
|
+
$this.w6c_1 = max;
|
|
1166
|
+
$this.x6c_1 = replacement;
|
|
1167
|
+
$this.y6c_1 = ticketId;
|
|
1168
|
+
$this.z6c_1 = userData;
|
|
1181
1169
|
return $this;
|
|
1182
1170
|
}
|
|
1183
1171
|
function RandomIntegerSequencesParamsDto_init_$Create$(seen0, apiKey, n, length, min, max, replacement, ticketId, userData, serializationConstructorMarker) {
|
|
1184
1172
|
return RandomIntegerSequencesParamsDto_init_$Init$(seen0, apiKey, n, length, min, max, replacement, ticketId, userData, serializationConstructorMarker, objectCreate(protoOf(RandomIntegerSequencesParamsDto)));
|
|
1185
1173
|
}
|
|
1186
1174
|
function RandomIntegerSequencesParamsDto(apiKey, n, length, min, max, replacement, ticketId, userData) {
|
|
1187
|
-
|
|
1188
|
-
this.
|
|
1189
|
-
this.
|
|
1190
|
-
this.
|
|
1191
|
-
this.
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1194
|
-
this.
|
|
1195
|
-
this.
|
|
1175
|
+
Companion_getInstance_5();
|
|
1176
|
+
this.s6c_1 = apiKey;
|
|
1177
|
+
this.t6c_1 = n;
|
|
1178
|
+
this.u6c_1 = length;
|
|
1179
|
+
this.v6c_1 = min;
|
|
1180
|
+
this.w6c_1 = max;
|
|
1181
|
+
this.x6c_1 = replacement;
|
|
1182
|
+
this.y6c_1 = ticketId;
|
|
1183
|
+
this.z6c_1 = userData;
|
|
1196
1184
|
}
|
|
1197
1185
|
protoOf(RandomIntegerSequencesParamsDto).toString = function () {
|
|
1198
|
-
return 'RandomIntegerSequencesParamsDto(apiKey=' + this.
|
|
1186
|
+
return 'RandomIntegerSequencesParamsDto(apiKey=' + this.s6c_1 + ', n=' + this.t6c_1 + ', length=' + toString(this.u6c_1) + ', min=' + this.v6c_1 + ', max=' + this.w6c_1 + ', replacement=' + this.x6c_1 + ', ticketId=' + this.y6c_1 + ', userData=' + toString_0(this.z6c_1) + ')';
|
|
1199
1187
|
};
|
|
1200
1188
|
protoOf(RandomIntegerSequencesParamsDto).hashCode = function () {
|
|
1201
|
-
var result = getStringHashCode(this.
|
|
1202
|
-
result = imul(result, 31) + this.
|
|
1203
|
-
result = imul(result, 31) + hashCode(this.
|
|
1204
|
-
result = imul(result, 31) + this.
|
|
1205
|
-
result = imul(result, 31) + this.
|
|
1206
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1207
|
-
result = imul(result, 31) + (this.
|
|
1208
|
-
result = imul(result, 31) + (this.
|
|
1189
|
+
var result = getStringHashCode(this.s6c_1);
|
|
1190
|
+
result = imul(result, 31) + this.t6c_1 | 0;
|
|
1191
|
+
result = imul(result, 31) + hashCode(this.u6c_1) | 0;
|
|
1192
|
+
result = imul(result, 31) + this.v6c_1 | 0;
|
|
1193
|
+
result = imul(result, 31) + this.w6c_1 | 0;
|
|
1194
|
+
result = imul(result, 31) + getBooleanHashCode(this.x6c_1) | 0;
|
|
1195
|
+
result = imul(result, 31) + (this.y6c_1 == null ? 0 : getStringHashCode(this.y6c_1)) | 0;
|
|
1196
|
+
result = imul(result, 31) + (this.z6c_1 == null ? 0 : this.z6c_1.hashCode()) | 0;
|
|
1209
1197
|
return result;
|
|
1210
1198
|
};
|
|
1211
1199
|
protoOf(RandomIntegerSequencesParamsDto).equals = function (other) {
|
|
@@ -1213,87 +1201,86 @@
|
|
|
1213
1201
|
return true;
|
|
1214
1202
|
if (!(other instanceof RandomIntegerSequencesParamsDto))
|
|
1215
1203
|
return false;
|
|
1216
|
-
|
|
1217
|
-
if (!(this.p5l_1 === tmp0_other_with_cast.p5l_1))
|
|
1204
|
+
if (!(this.s6c_1 === other.s6c_1))
|
|
1218
1205
|
return false;
|
|
1219
|
-
if (!(this.
|
|
1206
|
+
if (!(this.t6c_1 === other.t6c_1))
|
|
1220
1207
|
return false;
|
|
1221
|
-
if (!equals(this.
|
|
1208
|
+
if (!equals(this.u6c_1, other.u6c_1))
|
|
1222
1209
|
return false;
|
|
1223
|
-
if (!(this.
|
|
1210
|
+
if (!(this.v6c_1 === other.v6c_1))
|
|
1224
1211
|
return false;
|
|
1225
|
-
if (!(this.
|
|
1212
|
+
if (!(this.w6c_1 === other.w6c_1))
|
|
1226
1213
|
return false;
|
|
1227
|
-
if (!(this.
|
|
1214
|
+
if (!(this.x6c_1 === other.x6c_1))
|
|
1228
1215
|
return false;
|
|
1229
|
-
if (!(this.
|
|
1216
|
+
if (!(this.y6c_1 == other.y6c_1))
|
|
1230
1217
|
return false;
|
|
1231
|
-
if (!equals(this.
|
|
1218
|
+
if (!equals(this.z6c_1, other.z6c_1))
|
|
1232
1219
|
return false;
|
|
1233
1220
|
return true;
|
|
1234
1221
|
};
|
|
1235
1222
|
function Companion_4() {
|
|
1236
1223
|
}
|
|
1237
1224
|
var Companion_instance_6;
|
|
1238
|
-
function
|
|
1225
|
+
function Companion_getInstance_6() {
|
|
1239
1226
|
return Companion_instance_6;
|
|
1240
1227
|
}
|
|
1241
1228
|
function $serializer_3() {
|
|
1242
1229
|
$serializer_instance_2 = this;
|
|
1243
1230
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.CardDecksUserDataDto', this, 2);
|
|
1244
|
-
tmp0_serialDesc.
|
|
1245
|
-
tmp0_serialDesc.
|
|
1246
|
-
this.
|
|
1247
|
-
}
|
|
1248
|
-
protoOf($serializer_3).
|
|
1249
|
-
var tmp0_desc = this.
|
|
1250
|
-
var tmp1_output = encoder.
|
|
1251
|
-
tmp1_output.
|
|
1252
|
-
tmp1_output.
|
|
1253
|
-
tmp1_output.
|
|
1254
|
-
};
|
|
1255
|
-
protoOf($serializer_3).
|
|
1256
|
-
return this.
|
|
1257
|
-
};
|
|
1258
|
-
protoOf($serializer_3).
|
|
1259
|
-
var tmp0_desc = this.
|
|
1231
|
+
tmp0_serialDesc.xz('id', false);
|
|
1232
|
+
tmp0_serialDesc.xz('count', false);
|
|
1233
|
+
this.a6d_1 = tmp0_serialDesc;
|
|
1234
|
+
}
|
|
1235
|
+
protoOf($serializer_3).b6d = function (encoder, value) {
|
|
1236
|
+
var tmp0_desc = this.a6d_1;
|
|
1237
|
+
var tmp1_output = encoder.fs(tmp0_desc);
|
|
1238
|
+
tmp1_output.ut(tmp0_desc, 0, value.c6d_1);
|
|
1239
|
+
tmp1_output.pt(tmp0_desc, 1, value.d6d_1);
|
|
1240
|
+
tmp1_output.gs(tmp0_desc);
|
|
1241
|
+
};
|
|
1242
|
+
protoOf($serializer_3).to = function (encoder, value) {
|
|
1243
|
+
return this.b6d(encoder, value instanceof CardDecksUserDataDto ? value : THROW_CCE());
|
|
1244
|
+
};
|
|
1245
|
+
protoOf($serializer_3).uo = function (decoder) {
|
|
1246
|
+
var tmp0_desc = this.a6d_1;
|
|
1260
1247
|
var tmp1_flag = true;
|
|
1261
1248
|
var tmp2_index = 0;
|
|
1262
1249
|
var tmp3_bitMask0 = 0;
|
|
1263
1250
|
var tmp4_local0 = null;
|
|
1264
1251
|
var tmp5_local1 = 0;
|
|
1265
|
-
var tmp6_input = decoder.
|
|
1266
|
-
if (tmp6_input.
|
|
1267
|
-
tmp4_local0 = tmp6_input.
|
|
1252
|
+
var tmp6_input = decoder.fs(tmp0_desc);
|
|
1253
|
+
if (tmp6_input.vs()) {
|
|
1254
|
+
tmp4_local0 = tmp6_input.ps(tmp0_desc, 0);
|
|
1268
1255
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1269
|
-
tmp5_local1 = tmp6_input.
|
|
1256
|
+
tmp5_local1 = tmp6_input.ks(tmp0_desc, 1);
|
|
1270
1257
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1271
1258
|
} else
|
|
1272
1259
|
while (tmp1_flag) {
|
|
1273
|
-
tmp2_index = tmp6_input.
|
|
1260
|
+
tmp2_index = tmp6_input.ws(tmp0_desc);
|
|
1274
1261
|
switch (tmp2_index) {
|
|
1275
1262
|
case -1:
|
|
1276
1263
|
tmp1_flag = false;
|
|
1277
1264
|
break;
|
|
1278
1265
|
case 0:
|
|
1279
|
-
tmp4_local0 = tmp6_input.
|
|
1266
|
+
tmp4_local0 = tmp6_input.ps(tmp0_desc, 0);
|
|
1280
1267
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1281
1268
|
break;
|
|
1282
1269
|
case 1:
|
|
1283
|
-
tmp5_local1 = tmp6_input.
|
|
1270
|
+
tmp5_local1 = tmp6_input.ks(tmp0_desc, 1);
|
|
1284
1271
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1285
1272
|
break;
|
|
1286
1273
|
default:
|
|
1287
1274
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1288
1275
|
}
|
|
1289
1276
|
}
|
|
1290
|
-
tmp6_input.
|
|
1277
|
+
tmp6_input.gs(tmp0_desc);
|
|
1291
1278
|
return CardDecksUserDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1292
1279
|
};
|
|
1293
|
-
protoOf($serializer_3).
|
|
1294
|
-
return this.
|
|
1280
|
+
protoOf($serializer_3).so = function () {
|
|
1281
|
+
return this.a6d_1;
|
|
1295
1282
|
};
|
|
1296
|
-
protoOf($serializer_3).
|
|
1283
|
+
protoOf($serializer_3).m10 = function () {
|
|
1297
1284
|
// Inline function 'kotlin.arrayOf' call
|
|
1298
1285
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1299
1286
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1307,25 +1294,25 @@
|
|
|
1307
1294
|
}
|
|
1308
1295
|
function CardDecksUserDataDto_init_$Init$(seen0, id, count, serializationConstructorMarker, $this) {
|
|
1309
1296
|
if (!(3 === (3 & seen0))) {
|
|
1310
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().
|
|
1297
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_2().a6d_1);
|
|
1311
1298
|
}
|
|
1312
|
-
$this.
|
|
1313
|
-
$this.
|
|
1299
|
+
$this.c6d_1 = id;
|
|
1300
|
+
$this.d6d_1 = count;
|
|
1314
1301
|
return $this;
|
|
1315
1302
|
}
|
|
1316
1303
|
function CardDecksUserDataDto_init_$Create$(seen0, id, count, serializationConstructorMarker) {
|
|
1317
1304
|
return CardDecksUserDataDto_init_$Init$(seen0, id, count, serializationConstructorMarker, objectCreate(protoOf(CardDecksUserDataDto)));
|
|
1318
1305
|
}
|
|
1319
1306
|
function CardDecksUserDataDto(id, count) {
|
|
1320
|
-
this.
|
|
1321
|
-
this.
|
|
1307
|
+
this.c6d_1 = id;
|
|
1308
|
+
this.d6d_1 = count;
|
|
1322
1309
|
}
|
|
1323
1310
|
protoOf(CardDecksUserDataDto).toString = function () {
|
|
1324
|
-
return 'CardDecksUserDataDto(id=' + this.
|
|
1311
|
+
return 'CardDecksUserDataDto(id=' + this.c6d_1 + ', count=' + this.d6d_1 + ')';
|
|
1325
1312
|
};
|
|
1326
1313
|
protoOf(CardDecksUserDataDto).hashCode = function () {
|
|
1327
|
-
var result = getStringHashCode(this.
|
|
1328
|
-
result = imul(result, 31) + this.
|
|
1314
|
+
var result = getStringHashCode(this.c6d_1);
|
|
1315
|
+
result = imul(result, 31) + this.d6d_1 | 0;
|
|
1329
1316
|
return result;
|
|
1330
1317
|
};
|
|
1331
1318
|
protoOf(CardDecksUserDataDto).equals = function (other) {
|
|
@@ -1333,16 +1320,15 @@
|
|
|
1333
1320
|
return true;
|
|
1334
1321
|
if (!(other instanceof CardDecksUserDataDto))
|
|
1335
1322
|
return false;
|
|
1336
|
-
|
|
1337
|
-
if (!(this.z5l_1 === tmp0_other_with_cast.z5l_1))
|
|
1323
|
+
if (!(this.c6d_1 === other.c6d_1))
|
|
1338
1324
|
return false;
|
|
1339
|
-
if (!(this.
|
|
1325
|
+
if (!(this.d6d_1 === other.d6d_1))
|
|
1340
1326
|
return false;
|
|
1341
1327
|
return true;
|
|
1342
1328
|
};
|
|
1343
1329
|
function $serializer_init_$Init$_0(typeSerial0, $this) {
|
|
1344
1330
|
$serializer_4.call($this);
|
|
1345
|
-
$this.
|
|
1331
|
+
$this.f6d_1 = typeSerial0;
|
|
1346
1332
|
return $this;
|
|
1347
1333
|
}
|
|
1348
1334
|
function $serializer_init_$Create$_0(typeSerial0) {
|
|
@@ -1351,123 +1337,123 @@
|
|
|
1351
1337
|
function Companion_5() {
|
|
1352
1338
|
Companion_instance_7 = this;
|
|
1353
1339
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResponseDto', null, 3);
|
|
1354
|
-
tmp0_serialDesc.
|
|
1355
|
-
tmp0_serialDesc.
|
|
1356
|
-
tmp0_serialDesc.
|
|
1357
|
-
this.
|
|
1340
|
+
tmp0_serialDesc.xz('jsonrpc', false);
|
|
1341
|
+
tmp0_serialDesc.xz('result', false);
|
|
1342
|
+
tmp0_serialDesc.xz('id', false);
|
|
1343
|
+
this.g6d_1 = tmp0_serialDesc;
|
|
1358
1344
|
}
|
|
1359
|
-
protoOf(Companion_5).
|
|
1345
|
+
protoOf(Companion_5).j6c = function (typeSerial0) {
|
|
1360
1346
|
return $serializer_init_$Create$_0(typeSerial0);
|
|
1361
1347
|
};
|
|
1362
|
-
protoOf(Companion_5).
|
|
1363
|
-
return this.
|
|
1348
|
+
protoOf(Companion_5).x10 = function (typeParamsSerializers) {
|
|
1349
|
+
return this.j6c(typeParamsSerializers[0]);
|
|
1364
1350
|
};
|
|
1365
1351
|
var Companion_instance_7;
|
|
1366
|
-
function
|
|
1352
|
+
function Companion_getInstance_7() {
|
|
1367
1353
|
if (Companion_instance_7 == null)
|
|
1368
1354
|
new Companion_5();
|
|
1369
1355
|
return Companion_instance_7;
|
|
1370
1356
|
}
|
|
1371
1357
|
function $serializer_4() {
|
|
1372
1358
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResponseDto', this, 3);
|
|
1373
|
-
tmp0_serialDesc.
|
|
1374
|
-
tmp0_serialDesc.
|
|
1375
|
-
tmp0_serialDesc.
|
|
1376
|
-
this.
|
|
1377
|
-
}
|
|
1378
|
-
protoOf($serializer_4).
|
|
1379
|
-
var tmp0_desc = this.
|
|
1380
|
-
var tmp1_output = encoder.
|
|
1381
|
-
tmp1_output.
|
|
1382
|
-
tmp1_output.
|
|
1383
|
-
tmp1_output.
|
|
1384
|
-
tmp1_output.
|
|
1385
|
-
};
|
|
1386
|
-
protoOf($serializer_4).
|
|
1387
|
-
return this.
|
|
1388
|
-
};
|
|
1389
|
-
protoOf($serializer_4).
|
|
1390
|
-
var tmp0_desc = this.
|
|
1359
|
+
tmp0_serialDesc.xz('jsonrpc', false);
|
|
1360
|
+
tmp0_serialDesc.xz('result', false);
|
|
1361
|
+
tmp0_serialDesc.xz('id', false);
|
|
1362
|
+
this.e6d_1 = tmp0_serialDesc;
|
|
1363
|
+
}
|
|
1364
|
+
protoOf($serializer_4).h6d = function (encoder, value) {
|
|
1365
|
+
var tmp0_desc = this.e6d_1;
|
|
1366
|
+
var tmp1_output = encoder.fs(tmp0_desc);
|
|
1367
|
+
tmp1_output.ut(tmp0_desc, 0, value.i6d_1);
|
|
1368
|
+
tmp1_output.wt(tmp0_desc, 1, this.f6d_1, value.j6d_1);
|
|
1369
|
+
tmp1_output.ut(tmp0_desc, 2, value.k6d_1);
|
|
1370
|
+
tmp1_output.gs(tmp0_desc);
|
|
1371
|
+
};
|
|
1372
|
+
protoOf($serializer_4).to = function (encoder, value) {
|
|
1373
|
+
return this.h6d(encoder, value instanceof RandomResponseDto ? value : THROW_CCE());
|
|
1374
|
+
};
|
|
1375
|
+
protoOf($serializer_4).uo = function (decoder) {
|
|
1376
|
+
var tmp0_desc = this.e6d_1;
|
|
1391
1377
|
var tmp1_flag = true;
|
|
1392
1378
|
var tmp2_index = 0;
|
|
1393
1379
|
var tmp3_bitMask0 = 0;
|
|
1394
1380
|
var tmp4_local0 = null;
|
|
1395
1381
|
var tmp5_local1 = null;
|
|
1396
1382
|
var tmp6_local2 = null;
|
|
1397
|
-
var tmp7_input = decoder.
|
|
1398
|
-
if (tmp7_input.
|
|
1399
|
-
tmp4_local0 = tmp7_input.
|
|
1383
|
+
var tmp7_input = decoder.fs(tmp0_desc);
|
|
1384
|
+
if (tmp7_input.vs()) {
|
|
1385
|
+
tmp4_local0 = tmp7_input.ps(tmp0_desc, 0);
|
|
1400
1386
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1401
|
-
tmp5_local1 = tmp7_input.
|
|
1387
|
+
tmp5_local1 = tmp7_input.rs(tmp0_desc, 1, this.f6d_1, tmp5_local1);
|
|
1402
1388
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1403
|
-
tmp6_local2 = tmp7_input.
|
|
1389
|
+
tmp6_local2 = tmp7_input.ps(tmp0_desc, 2);
|
|
1404
1390
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1405
1391
|
} else
|
|
1406
1392
|
while (tmp1_flag) {
|
|
1407
|
-
tmp2_index = tmp7_input.
|
|
1393
|
+
tmp2_index = tmp7_input.ws(tmp0_desc);
|
|
1408
1394
|
switch (tmp2_index) {
|
|
1409
1395
|
case -1:
|
|
1410
1396
|
tmp1_flag = false;
|
|
1411
1397
|
break;
|
|
1412
1398
|
case 0:
|
|
1413
|
-
tmp4_local0 = tmp7_input.
|
|
1399
|
+
tmp4_local0 = tmp7_input.ps(tmp0_desc, 0);
|
|
1414
1400
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1415
1401
|
break;
|
|
1416
1402
|
case 1:
|
|
1417
|
-
tmp5_local1 = tmp7_input.
|
|
1403
|
+
tmp5_local1 = tmp7_input.rs(tmp0_desc, 1, this.f6d_1, tmp5_local1);
|
|
1418
1404
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1419
1405
|
break;
|
|
1420
1406
|
case 2:
|
|
1421
|
-
tmp6_local2 = tmp7_input.
|
|
1407
|
+
tmp6_local2 = tmp7_input.ps(tmp0_desc, 2);
|
|
1422
1408
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1423
1409
|
break;
|
|
1424
1410
|
default:
|
|
1425
1411
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1426
1412
|
}
|
|
1427
1413
|
}
|
|
1428
|
-
tmp7_input.
|
|
1414
|
+
tmp7_input.gs(tmp0_desc);
|
|
1429
1415
|
return RandomResponseDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1430
1416
|
};
|
|
1431
|
-
protoOf($serializer_4).
|
|
1432
|
-
return this.
|
|
1417
|
+
protoOf($serializer_4).so = function () {
|
|
1418
|
+
return this.e6d_1;
|
|
1433
1419
|
};
|
|
1434
|
-
protoOf($serializer_4).
|
|
1420
|
+
protoOf($serializer_4).m10 = function () {
|
|
1435
1421
|
// Inline function 'kotlin.arrayOf' call
|
|
1436
1422
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1437
1423
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1438
|
-
return [StringSerializer_getInstance(), this.
|
|
1424
|
+
return [StringSerializer_getInstance(), this.f6d_1, StringSerializer_getInstance()];
|
|
1439
1425
|
};
|
|
1440
|
-
protoOf($serializer_4).
|
|
1426
|
+
protoOf($serializer_4).n10 = function () {
|
|
1441
1427
|
// Inline function 'kotlin.arrayOf' call
|
|
1442
1428
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1443
1429
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1444
|
-
return [this.
|
|
1430
|
+
return [this.f6d_1];
|
|
1445
1431
|
};
|
|
1446
1432
|
function RandomResponseDto_init_$Init$(seen0, jsonrpc, result, id, serializationConstructorMarker, $this) {
|
|
1447
1433
|
if (!(7 === (7 & seen0))) {
|
|
1448
|
-
throwMissingFieldException(seen0, 7,
|
|
1434
|
+
throwMissingFieldException(seen0, 7, Companion_getInstance_7().g6d_1);
|
|
1449
1435
|
}
|
|
1450
|
-
$this.
|
|
1451
|
-
$this.
|
|
1452
|
-
$this.
|
|
1436
|
+
$this.i6d_1 = jsonrpc;
|
|
1437
|
+
$this.j6d_1 = result;
|
|
1438
|
+
$this.k6d_1 = id;
|
|
1453
1439
|
return $this;
|
|
1454
1440
|
}
|
|
1455
1441
|
function RandomResponseDto_init_$Create$(seen0, jsonrpc, result, id, serializationConstructorMarker) {
|
|
1456
1442
|
return RandomResponseDto_init_$Init$(seen0, jsonrpc, result, id, serializationConstructorMarker, objectCreate(protoOf(RandomResponseDto)));
|
|
1457
1443
|
}
|
|
1458
1444
|
function RandomResponseDto(jsonrpc, result, id) {
|
|
1459
|
-
|
|
1460
|
-
this.
|
|
1461
|
-
this.
|
|
1462
|
-
this.
|
|
1445
|
+
Companion_getInstance_7();
|
|
1446
|
+
this.i6d_1 = jsonrpc;
|
|
1447
|
+
this.j6d_1 = result;
|
|
1448
|
+
this.k6d_1 = id;
|
|
1463
1449
|
}
|
|
1464
1450
|
protoOf(RandomResponseDto).toString = function () {
|
|
1465
|
-
return 'RandomResponseDto(jsonrpc=' + this.
|
|
1451
|
+
return 'RandomResponseDto(jsonrpc=' + this.i6d_1 + ', result=' + toString(this.j6d_1) + ', id=' + this.k6d_1 + ')';
|
|
1466
1452
|
};
|
|
1467
1453
|
protoOf(RandomResponseDto).hashCode = function () {
|
|
1468
|
-
var result = getStringHashCode(this.
|
|
1469
|
-
result = imul(result, 31) + hashCode(this.
|
|
1470
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1454
|
+
var result = getStringHashCode(this.i6d_1);
|
|
1455
|
+
result = imul(result, 31) + hashCode(this.j6d_1) | 0;
|
|
1456
|
+
result = imul(result, 31) + getStringHashCode(this.k6d_1) | 0;
|
|
1471
1457
|
return result;
|
|
1472
1458
|
};
|
|
1473
1459
|
protoOf(RandomResponseDto).equals = function (other) {
|
|
@@ -1475,48 +1461,47 @@
|
|
|
1475
1461
|
return true;
|
|
1476
1462
|
if (!(other instanceof RandomResponseDto))
|
|
1477
1463
|
return false;
|
|
1478
|
-
|
|
1479
|
-
if (!(this.f5m_1 === tmp0_other_with_cast.f5m_1))
|
|
1464
|
+
if (!(this.i6d_1 === other.i6d_1))
|
|
1480
1465
|
return false;
|
|
1481
|
-
if (!equals(this.
|
|
1466
|
+
if (!equals(this.j6d_1, other.j6d_1))
|
|
1482
1467
|
return false;
|
|
1483
|
-
if (!(this.
|
|
1468
|
+
if (!(this.k6d_1 === other.k6d_1))
|
|
1484
1469
|
return false;
|
|
1485
1470
|
return true;
|
|
1486
1471
|
};
|
|
1487
1472
|
function Companion_6() {
|
|
1488
1473
|
}
|
|
1489
1474
|
var Companion_instance_8;
|
|
1490
|
-
function
|
|
1475
|
+
function Companion_getInstance_8() {
|
|
1491
1476
|
return Companion_instance_8;
|
|
1492
1477
|
}
|
|
1493
1478
|
function $serializer_5() {
|
|
1494
1479
|
$serializer_instance_3 = this;
|
|
1495
1480
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomResultDto.IntegerSequencesResultDto', this, 6);
|
|
1496
|
-
tmp0_serialDesc.
|
|
1497
|
-
tmp0_serialDesc.
|
|
1498
|
-
tmp0_serialDesc.
|
|
1499
|
-
tmp0_serialDesc.
|
|
1500
|
-
tmp0_serialDesc.
|
|
1501
|
-
tmp0_serialDesc.
|
|
1502
|
-
this.
|
|
1503
|
-
}
|
|
1504
|
-
protoOf($serializer_5).
|
|
1505
|
-
var tmp0_desc = this.
|
|
1506
|
-
var tmp1_output = encoder.
|
|
1507
|
-
tmp1_output.
|
|
1508
|
-
tmp1_output.
|
|
1509
|
-
tmp1_output.
|
|
1510
|
-
tmp1_output.
|
|
1511
|
-
tmp1_output.
|
|
1512
|
-
tmp1_output.
|
|
1513
|
-
tmp1_output.
|
|
1514
|
-
};
|
|
1515
|
-
protoOf($serializer_5).
|
|
1516
|
-
return this.
|
|
1517
|
-
};
|
|
1518
|
-
protoOf($serializer_5).
|
|
1519
|
-
var tmp0_desc = this.
|
|
1481
|
+
tmp0_serialDesc.xz('random', false);
|
|
1482
|
+
tmp0_serialDesc.xz('signature', false);
|
|
1483
|
+
tmp0_serialDesc.xz('bitsUsed', false);
|
|
1484
|
+
tmp0_serialDesc.xz('bitsLeft', false);
|
|
1485
|
+
tmp0_serialDesc.xz('requestsLeft', false);
|
|
1486
|
+
tmp0_serialDesc.xz('advisoryDelay', false);
|
|
1487
|
+
this.l6d_1 = tmp0_serialDesc;
|
|
1488
|
+
}
|
|
1489
|
+
protoOf($serializer_5).m6d = function (encoder, value) {
|
|
1490
|
+
var tmp0_desc = this.l6d_1;
|
|
1491
|
+
var tmp1_output = encoder.fs(tmp0_desc);
|
|
1492
|
+
tmp1_output.wt(tmp0_desc, 0, $serializer_getInstance_4(), value.n6d_1);
|
|
1493
|
+
tmp1_output.yt(tmp0_desc, 1, StringSerializer_getInstance(), value.o6d_1);
|
|
1494
|
+
tmp1_output.yt(tmp0_desc, 2, IntSerializer_getInstance(), value.p6d_1);
|
|
1495
|
+
tmp1_output.yt(tmp0_desc, 3, IntSerializer_getInstance(), value.q6d_1);
|
|
1496
|
+
tmp1_output.yt(tmp0_desc, 4, IntSerializer_getInstance(), value.r6d_1);
|
|
1497
|
+
tmp1_output.yt(tmp0_desc, 5, IntSerializer_getInstance(), value.s6d_1);
|
|
1498
|
+
tmp1_output.gs(tmp0_desc);
|
|
1499
|
+
};
|
|
1500
|
+
protoOf($serializer_5).to = function (encoder, value) {
|
|
1501
|
+
return this.m6d(encoder, value instanceof IntegerSequencesResultDto ? value : THROW_CCE());
|
|
1502
|
+
};
|
|
1503
|
+
protoOf($serializer_5).uo = function (decoder) {
|
|
1504
|
+
var tmp0_desc = this.l6d_1;
|
|
1520
1505
|
var tmp1_flag = true;
|
|
1521
1506
|
var tmp2_index = 0;
|
|
1522
1507
|
var tmp3_bitMask0 = 0;
|
|
@@ -1526,62 +1511,62 @@
|
|
|
1526
1511
|
var tmp7_local3 = null;
|
|
1527
1512
|
var tmp8_local4 = null;
|
|
1528
1513
|
var tmp9_local5 = null;
|
|
1529
|
-
var tmp10_input = decoder.
|
|
1530
|
-
if (tmp10_input.
|
|
1531
|
-
tmp4_local0 = tmp10_input.
|
|
1514
|
+
var tmp10_input = decoder.fs(tmp0_desc);
|
|
1515
|
+
if (tmp10_input.vs()) {
|
|
1516
|
+
tmp4_local0 = tmp10_input.rs(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
1532
1517
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1533
|
-
tmp5_local1 = tmp10_input.
|
|
1518
|
+
tmp5_local1 = tmp10_input.ts(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1534
1519
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1535
|
-
tmp6_local2 = tmp10_input.
|
|
1520
|
+
tmp6_local2 = tmp10_input.ts(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1536
1521
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1537
|
-
tmp7_local3 = tmp10_input.
|
|
1522
|
+
tmp7_local3 = tmp10_input.ts(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1538
1523
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1539
|
-
tmp8_local4 = tmp10_input.
|
|
1524
|
+
tmp8_local4 = tmp10_input.ts(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
1540
1525
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1541
|
-
tmp9_local5 = tmp10_input.
|
|
1526
|
+
tmp9_local5 = tmp10_input.ts(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
1542
1527
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1543
1528
|
} else
|
|
1544
1529
|
while (tmp1_flag) {
|
|
1545
|
-
tmp2_index = tmp10_input.
|
|
1530
|
+
tmp2_index = tmp10_input.ws(tmp0_desc);
|
|
1546
1531
|
switch (tmp2_index) {
|
|
1547
1532
|
case -1:
|
|
1548
1533
|
tmp1_flag = false;
|
|
1549
1534
|
break;
|
|
1550
1535
|
case 0:
|
|
1551
|
-
tmp4_local0 = tmp10_input.
|
|
1536
|
+
tmp4_local0 = tmp10_input.rs(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
1552
1537
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1553
1538
|
break;
|
|
1554
1539
|
case 1:
|
|
1555
|
-
tmp5_local1 = tmp10_input.
|
|
1540
|
+
tmp5_local1 = tmp10_input.ts(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1556
1541
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1557
1542
|
break;
|
|
1558
1543
|
case 2:
|
|
1559
|
-
tmp6_local2 = tmp10_input.
|
|
1544
|
+
tmp6_local2 = tmp10_input.ts(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
1560
1545
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1561
1546
|
break;
|
|
1562
1547
|
case 3:
|
|
1563
|
-
tmp7_local3 = tmp10_input.
|
|
1548
|
+
tmp7_local3 = tmp10_input.ts(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
|
|
1564
1549
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1565
1550
|
break;
|
|
1566
1551
|
case 4:
|
|
1567
|
-
tmp8_local4 = tmp10_input.
|
|
1552
|
+
tmp8_local4 = tmp10_input.ts(tmp0_desc, 4, IntSerializer_getInstance(), tmp8_local4);
|
|
1568
1553
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1569
1554
|
break;
|
|
1570
1555
|
case 5:
|
|
1571
|
-
tmp9_local5 = tmp10_input.
|
|
1556
|
+
tmp9_local5 = tmp10_input.ts(tmp0_desc, 5, IntSerializer_getInstance(), tmp9_local5);
|
|
1572
1557
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1573
1558
|
break;
|
|
1574
1559
|
default:
|
|
1575
1560
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1576
1561
|
}
|
|
1577
1562
|
}
|
|
1578
|
-
tmp10_input.
|
|
1563
|
+
tmp10_input.gs(tmp0_desc);
|
|
1579
1564
|
return IntegerSequencesResultDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
1580
1565
|
};
|
|
1581
|
-
protoOf($serializer_5).
|
|
1582
|
-
return this.
|
|
1566
|
+
protoOf($serializer_5).so = function () {
|
|
1567
|
+
return this.l6d_1;
|
|
1583
1568
|
};
|
|
1584
|
-
protoOf($serializer_5).
|
|
1569
|
+
protoOf($serializer_5).m10 = function () {
|
|
1585
1570
|
// Inline function 'kotlin.arrayOf' call
|
|
1586
1571
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1587
1572
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1595,37 +1580,37 @@
|
|
|
1595
1580
|
}
|
|
1596
1581
|
function IntegerSequencesResultDto_init_$Init$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker, $this) {
|
|
1597
1582
|
if (!(63 === (63 & seen0))) {
|
|
1598
|
-
throwMissingFieldException(seen0, 63, $serializer_getInstance_3().
|
|
1583
|
+
throwMissingFieldException(seen0, 63, $serializer_getInstance_3().l6d_1);
|
|
1599
1584
|
}
|
|
1600
|
-
$this.
|
|
1601
|
-
$this.
|
|
1602
|
-
$this.
|
|
1603
|
-
$this.
|
|
1604
|
-
$this.
|
|
1605
|
-
$this.
|
|
1585
|
+
$this.n6d_1 = random;
|
|
1586
|
+
$this.o6d_1 = signature;
|
|
1587
|
+
$this.p6d_1 = bitsUsed;
|
|
1588
|
+
$this.q6d_1 = bitsLeft;
|
|
1589
|
+
$this.r6d_1 = requestsLeft;
|
|
1590
|
+
$this.s6d_1 = advisoryDelay;
|
|
1606
1591
|
return $this;
|
|
1607
1592
|
}
|
|
1608
1593
|
function IntegerSequencesResultDto_init_$Create$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker) {
|
|
1609
1594
|
return IntegerSequencesResultDto_init_$Init$(seen0, random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay, serializationConstructorMarker, objectCreate(protoOf(IntegerSequencesResultDto)));
|
|
1610
1595
|
}
|
|
1611
1596
|
function IntegerSequencesResultDto(random, signature, bitsUsed, bitsLeft, requestsLeft, advisoryDelay) {
|
|
1612
|
-
this.
|
|
1613
|
-
this.
|
|
1614
|
-
this.
|
|
1615
|
-
this.
|
|
1616
|
-
this.
|
|
1617
|
-
this.
|
|
1597
|
+
this.n6d_1 = random;
|
|
1598
|
+
this.o6d_1 = signature;
|
|
1599
|
+
this.p6d_1 = bitsUsed;
|
|
1600
|
+
this.q6d_1 = bitsLeft;
|
|
1601
|
+
this.r6d_1 = requestsLeft;
|
|
1602
|
+
this.s6d_1 = advisoryDelay;
|
|
1618
1603
|
}
|
|
1619
1604
|
protoOf(IntegerSequencesResultDto).toString = function () {
|
|
1620
|
-
return 'IntegerSequencesResultDto(random=' + this.
|
|
1605
|
+
return 'IntegerSequencesResultDto(random=' + this.n6d_1.toString() + ', signature=' + this.o6d_1 + ', bitsUsed=' + this.p6d_1 + ', bitsLeft=' + this.q6d_1 + ', requestsLeft=' + this.r6d_1 + ', advisoryDelay=' + this.s6d_1 + ')';
|
|
1621
1606
|
};
|
|
1622
1607
|
protoOf(IntegerSequencesResultDto).hashCode = function () {
|
|
1623
|
-
var result = this.
|
|
1624
|
-
result = imul(result, 31) + (this.
|
|
1625
|
-
result = imul(result, 31) + (this.
|
|
1626
|
-
result = imul(result, 31) + (this.
|
|
1627
|
-
result = imul(result, 31) + (this.
|
|
1628
|
-
result = imul(result, 31) + (this.
|
|
1608
|
+
var result = this.n6d_1.hashCode();
|
|
1609
|
+
result = imul(result, 31) + (this.o6d_1 == null ? 0 : getStringHashCode(this.o6d_1)) | 0;
|
|
1610
|
+
result = imul(result, 31) + (this.p6d_1 == null ? 0 : this.p6d_1) | 0;
|
|
1611
|
+
result = imul(result, 31) + (this.q6d_1 == null ? 0 : this.q6d_1) | 0;
|
|
1612
|
+
result = imul(result, 31) + (this.r6d_1 == null ? 0 : this.r6d_1) | 0;
|
|
1613
|
+
result = imul(result, 31) + (this.s6d_1 == null ? 0 : this.s6d_1) | 0;
|
|
1629
1614
|
return result;
|
|
1630
1615
|
};
|
|
1631
1616
|
protoOf(IntegerSequencesResultDto).equals = function (other) {
|
|
@@ -1633,18 +1618,17 @@
|
|
|
1633
1618
|
return true;
|
|
1634
1619
|
if (!(other instanceof IntegerSequencesResultDto))
|
|
1635
1620
|
return false;
|
|
1636
|
-
|
|
1637
|
-
if (!this.k5m_1.equals(tmp0_other_with_cast.k5m_1))
|
|
1621
|
+
if (!this.n6d_1.equals(other.n6d_1))
|
|
1638
1622
|
return false;
|
|
1639
|
-
if (!(this.
|
|
1623
|
+
if (!(this.o6d_1 == other.o6d_1))
|
|
1640
1624
|
return false;
|
|
1641
|
-
if (!(this.
|
|
1625
|
+
if (!(this.p6d_1 == other.p6d_1))
|
|
1642
1626
|
return false;
|
|
1643
|
-
if (!(this.
|
|
1627
|
+
if (!(this.q6d_1 == other.q6d_1))
|
|
1644
1628
|
return false;
|
|
1645
|
-
if (!(this.
|
|
1629
|
+
if (!(this.r6d_1 == other.r6d_1))
|
|
1646
1630
|
return false;
|
|
1647
|
-
if (!(this.
|
|
1631
|
+
if (!(this.s6d_1 == other.s6d_1))
|
|
1648
1632
|
return false;
|
|
1649
1633
|
return true;
|
|
1650
1634
|
};
|
|
@@ -1658,10 +1642,10 @@
|
|
|
1658
1642
|
// Inline function 'kotlin.arrayOf' call
|
|
1659
1643
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1660
1644
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1661
|
-
tmp.
|
|
1645
|
+
tmp.t6d_1 = [lazy(tmp_0, RandomDataDto$IntegerSequencesDataDto$Companion$$childSerializers$_anonymous__ummwez), null, null];
|
|
1662
1646
|
}
|
|
1663
1647
|
var Companion_instance_9;
|
|
1664
|
-
function
|
|
1648
|
+
function Companion_getInstance_9() {
|
|
1665
1649
|
if (Companion_instance_9 == null)
|
|
1666
1650
|
new Companion_7();
|
|
1667
1651
|
return Companion_instance_9;
|
|
@@ -1669,74 +1653,74 @@
|
|
|
1669
1653
|
function $serializer_6() {
|
|
1670
1654
|
$serializer_instance_4 = this;
|
|
1671
1655
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.raspberry.card_game.random.data.models.serializable.RandomDataDto.IntegerSequencesDataDto', this, 3);
|
|
1672
|
-
tmp0_serialDesc.
|
|
1673
|
-
tmp0_serialDesc.
|
|
1674
|
-
tmp0_serialDesc.
|
|
1675
|
-
this.
|
|
1676
|
-
}
|
|
1677
|
-
protoOf($serializer_6).
|
|
1678
|
-
var tmp0_desc = this.
|
|
1679
|
-
var tmp1_output = encoder.
|
|
1680
|
-
var tmp2_cached =
|
|
1681
|
-
tmp1_output.
|
|
1682
|
-
tmp1_output.
|
|
1683
|
-
tmp1_output.
|
|
1684
|
-
tmp1_output.
|
|
1685
|
-
};
|
|
1686
|
-
protoOf($serializer_6).
|
|
1687
|
-
return this.
|
|
1688
|
-
};
|
|
1689
|
-
protoOf($serializer_6).
|
|
1690
|
-
var tmp0_desc = this.
|
|
1656
|
+
tmp0_serialDesc.xz('data', false);
|
|
1657
|
+
tmp0_serialDesc.xz('completionTime', false);
|
|
1658
|
+
tmp0_serialDesc.xz('ticketId', false);
|
|
1659
|
+
this.u6d_1 = tmp0_serialDesc;
|
|
1660
|
+
}
|
|
1661
|
+
protoOf($serializer_6).v6d = function (encoder, value) {
|
|
1662
|
+
var tmp0_desc = this.u6d_1;
|
|
1663
|
+
var tmp1_output = encoder.fs(tmp0_desc);
|
|
1664
|
+
var tmp2_cached = Companion_getInstance_9().t6d_1;
|
|
1665
|
+
tmp1_output.wt(tmp0_desc, 0, tmp2_cached[0].o1(), value.w6d_1);
|
|
1666
|
+
tmp1_output.ut(tmp0_desc, 1, value.x6d_1);
|
|
1667
|
+
tmp1_output.yt(tmp0_desc, 2, StringSerializer_getInstance(), value.y6d_1);
|
|
1668
|
+
tmp1_output.gs(tmp0_desc);
|
|
1669
|
+
};
|
|
1670
|
+
protoOf($serializer_6).to = function (encoder, value) {
|
|
1671
|
+
return this.v6d(encoder, value instanceof IntegerSequencesDataDto ? value : THROW_CCE());
|
|
1672
|
+
};
|
|
1673
|
+
protoOf($serializer_6).uo = function (decoder) {
|
|
1674
|
+
var tmp0_desc = this.u6d_1;
|
|
1691
1675
|
var tmp1_flag = true;
|
|
1692
1676
|
var tmp2_index = 0;
|
|
1693
1677
|
var tmp3_bitMask0 = 0;
|
|
1694
1678
|
var tmp4_local0 = null;
|
|
1695
1679
|
var tmp5_local1 = null;
|
|
1696
1680
|
var tmp6_local2 = null;
|
|
1697
|
-
var tmp7_input = decoder.
|
|
1698
|
-
var tmp8_cached =
|
|
1699
|
-
if (tmp7_input.
|
|
1700
|
-
tmp4_local0 = tmp7_input.
|
|
1681
|
+
var tmp7_input = decoder.fs(tmp0_desc);
|
|
1682
|
+
var tmp8_cached = Companion_getInstance_9().t6d_1;
|
|
1683
|
+
if (tmp7_input.vs()) {
|
|
1684
|
+
tmp4_local0 = tmp7_input.rs(tmp0_desc, 0, tmp8_cached[0].o1(), tmp4_local0);
|
|
1701
1685
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1702
|
-
tmp5_local1 = tmp7_input.
|
|
1686
|
+
tmp5_local1 = tmp7_input.ps(tmp0_desc, 1);
|
|
1703
1687
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1704
|
-
tmp6_local2 = tmp7_input.
|
|
1688
|
+
tmp6_local2 = tmp7_input.ts(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1705
1689
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1706
1690
|
} else
|
|
1707
1691
|
while (tmp1_flag) {
|
|
1708
|
-
tmp2_index = tmp7_input.
|
|
1692
|
+
tmp2_index = tmp7_input.ws(tmp0_desc);
|
|
1709
1693
|
switch (tmp2_index) {
|
|
1710
1694
|
case -1:
|
|
1711
1695
|
tmp1_flag = false;
|
|
1712
1696
|
break;
|
|
1713
1697
|
case 0:
|
|
1714
|
-
tmp4_local0 = tmp7_input.
|
|
1698
|
+
tmp4_local0 = tmp7_input.rs(tmp0_desc, 0, tmp8_cached[0].o1(), tmp4_local0);
|
|
1715
1699
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1716
1700
|
break;
|
|
1717
1701
|
case 1:
|
|
1718
|
-
tmp5_local1 = tmp7_input.
|
|
1702
|
+
tmp5_local1 = tmp7_input.ps(tmp0_desc, 1);
|
|
1719
1703
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1720
1704
|
break;
|
|
1721
1705
|
case 2:
|
|
1722
|
-
tmp6_local2 = tmp7_input.
|
|
1706
|
+
tmp6_local2 = tmp7_input.ts(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1723
1707
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1724
1708
|
break;
|
|
1725
1709
|
default:
|
|
1726
1710
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1727
1711
|
}
|
|
1728
1712
|
}
|
|
1729
|
-
tmp7_input.
|
|
1713
|
+
tmp7_input.gs(tmp0_desc);
|
|
1730
1714
|
return IntegerSequencesDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1731
1715
|
};
|
|
1732
|
-
protoOf($serializer_6).
|
|
1733
|
-
return this.
|
|
1716
|
+
protoOf($serializer_6).so = function () {
|
|
1717
|
+
return this.u6d_1;
|
|
1734
1718
|
};
|
|
1735
|
-
protoOf($serializer_6).
|
|
1719
|
+
protoOf($serializer_6).m10 = function () {
|
|
1736
1720
|
// Inline function 'kotlin.arrayOf' call
|
|
1737
1721
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1738
1722
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1739
|
-
return [
|
|
1723
|
+
return [Companion_getInstance_9().t6d_1[0].o1(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
1740
1724
|
};
|
|
1741
1725
|
var $serializer_instance_4;
|
|
1742
1726
|
function $serializer_getInstance_4() {
|
|
@@ -1746,11 +1730,11 @@
|
|
|
1746
1730
|
}
|
|
1747
1731
|
function IntegerSequencesDataDto_init_$Init$(seen0, data, completionTime, ticketId, serializationConstructorMarker, $this) {
|
|
1748
1732
|
if (!(7 === (7 & seen0))) {
|
|
1749
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_4().
|
|
1733
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_4().u6d_1);
|
|
1750
1734
|
}
|
|
1751
|
-
$this.
|
|
1752
|
-
$this.
|
|
1753
|
-
$this.
|
|
1735
|
+
$this.w6d_1 = data;
|
|
1736
|
+
$this.x6d_1 = completionTime;
|
|
1737
|
+
$this.y6d_1 = ticketId;
|
|
1754
1738
|
return $this;
|
|
1755
1739
|
}
|
|
1756
1740
|
function IntegerSequencesDataDto_init_$Create$(seen0, data, completionTime, ticketId, serializationConstructorMarker) {
|
|
@@ -1759,12 +1743,12 @@
|
|
|
1759
1743
|
function IntegerSequencesDataDto() {
|
|
1760
1744
|
}
|
|
1761
1745
|
protoOf(IntegerSequencesDataDto).toString = function () {
|
|
1762
|
-
return 'IntegerSequencesDataDto(data=' + toString(this.
|
|
1746
|
+
return 'IntegerSequencesDataDto(data=' + toString(this.w6d_1) + ', completionTime=' + this.x6d_1 + ', ticketId=' + this.y6d_1 + ')';
|
|
1763
1747
|
};
|
|
1764
1748
|
protoOf(IntegerSequencesDataDto).hashCode = function () {
|
|
1765
|
-
var result = hashCode(this.
|
|
1766
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1767
|
-
result = imul(result, 31) + (this.
|
|
1749
|
+
var result = hashCode(this.w6d_1);
|
|
1750
|
+
result = imul(result, 31) + getStringHashCode(this.x6d_1) | 0;
|
|
1751
|
+
result = imul(result, 31) + (this.y6d_1 == null ? 0 : getStringHashCode(this.y6d_1)) | 0;
|
|
1768
1752
|
return result;
|
|
1769
1753
|
};
|
|
1770
1754
|
protoOf(IntegerSequencesDataDto).equals = function (other) {
|
|
@@ -1772,12 +1756,11 @@
|
|
|
1772
1756
|
return true;
|
|
1773
1757
|
if (!(other instanceof IntegerSequencesDataDto))
|
|
1774
1758
|
return false;
|
|
1775
|
-
|
|
1776
|
-
if (!equals(this.t5m_1, tmp0_other_with_cast.t5m_1))
|
|
1759
|
+
if (!equals(this.w6d_1, other.w6d_1))
|
|
1777
1760
|
return false;
|
|
1778
|
-
if (!(this.
|
|
1761
|
+
if (!(this.x6d_1 === other.x6d_1))
|
|
1779
1762
|
return false;
|
|
1780
|
-
if (!(this.
|
|
1763
|
+
if (!(this.y6d_1 == other.y6d_1))
|
|
1781
1764
|
return false;
|
|
1782
1765
|
return true;
|
|
1783
1766
|
};
|
|
@@ -1788,167 +1771,164 @@
|
|
|
1788
1771
|
}
|
|
1789
1772
|
function throwIfError($this, bodyAsJson, response, $completion) {
|
|
1790
1773
|
var tmp = new $throwIfErrorCOROUTINE$($this, bodyAsJson, response, $completion);
|
|
1791
|
-
tmp.
|
|
1792
|
-
tmp.
|
|
1793
|
-
return tmp.
|
|
1774
|
+
tmp.g9_1 = Unit_instance;
|
|
1775
|
+
tmp.h9_1 = null;
|
|
1776
|
+
return tmp.m9();
|
|
1794
1777
|
}
|
|
1795
1778
|
function extractRandomResult($this, bodyAsJson) {
|
|
1796
1779
|
return toString(getValue(get_jsonObject(getValue(bodyAsJson, 'result')), 'random'));
|
|
1797
1780
|
}
|
|
1798
1781
|
function Companion_8() {
|
|
1799
|
-
this.
|
|
1782
|
+
this.l6e_1 = 52;
|
|
1800
1783
|
}
|
|
1801
1784
|
var Companion_instance_10;
|
|
1802
|
-
function
|
|
1785
|
+
function Companion_getInstance_10() {
|
|
1803
1786
|
return Companion_instance_10;
|
|
1804
1787
|
}
|
|
1805
1788
|
function $getRandomCardDecksCOROUTINE$(_this__u8e3s4, min, max, decksCount, cardsCount, userData, signed, resultContinuation) {
|
|
1806
1789
|
CoroutineImpl.call(this, resultContinuation);
|
|
1807
|
-
this.
|
|
1808
|
-
this.
|
|
1809
|
-
this.
|
|
1810
|
-
this.
|
|
1811
|
-
this.
|
|
1812
|
-
this.
|
|
1813
|
-
this.
|
|
1814
|
-
}
|
|
1815
|
-
protoOf($getRandomCardDecksCOROUTINE$).
|
|
1816
|
-
var suspendResult = this.
|
|
1790
|
+
this.u6e_1 = _this__u8e3s4;
|
|
1791
|
+
this.v6e_1 = min;
|
|
1792
|
+
this.w6e_1 = max;
|
|
1793
|
+
this.x6e_1 = decksCount;
|
|
1794
|
+
this.y6e_1 = cardsCount;
|
|
1795
|
+
this.z6e_1 = userData;
|
|
1796
|
+
this.a6f_1 = signed;
|
|
1797
|
+
}
|
|
1798
|
+
protoOf($getRandomCardDecksCOROUTINE$).m9 = function () {
|
|
1799
|
+
var suspendResult = this.g9_1;
|
|
1817
1800
|
$sm: do
|
|
1818
1801
|
try {
|
|
1819
|
-
var tmp = this.
|
|
1802
|
+
var tmp = this.e9_1;
|
|
1820
1803
|
switch (tmp) {
|
|
1821
1804
|
case 0:
|
|
1822
|
-
this.
|
|
1823
|
-
this.
|
|
1824
|
-
var
|
|
1825
|
-
var
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
var
|
|
1829
|
-
var
|
|
1830
|
-
var
|
|
1805
|
+
this.f9_1 = 6;
|
|
1806
|
+
this.f9_1 = 5;
|
|
1807
|
+
var this_0 = this.u6e_1.d6f_1;
|
|
1808
|
+
var builder = new HttpRequestBuilder();
|
|
1809
|
+
builder.j44_1 = Companion_getInstance().a3n_1;
|
|
1810
|
+
url(builder, '/json-rpc/4/invoke');
|
|
1811
|
+
var tmp3_id = this.z6e_1.id;
|
|
1812
|
+
var tmp4_method = this.a6f_1 ? 'generateSignedIntegerSequences' : 'generateIntegerSequences';
|
|
1813
|
+
var tmp0_apiKey = this.u6e_1.e6f_1;
|
|
1814
|
+
var size = this.x6e_1;
|
|
1831
1815
|
var list = ArrayList_init_$Create$(size);
|
|
1832
1816
|
var inductionVariable = 0;
|
|
1833
1817
|
if (inductionVariable < size)
|
|
1834
1818
|
do {
|
|
1835
1819
|
var index = inductionVariable;
|
|
1836
1820
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1837
|
-
list.
|
|
1821
|
+
list.e1(this.y6e_1);
|
|
1838
1822
|
}
|
|
1839
1823
|
while (inductionVariable < size);
|
|
1840
|
-
var tmp2_userData = this.
|
|
1841
|
-
var tmp5_params = new RandomIntegerSequencesParamsDto(tmp0_apiKey, this.
|
|
1824
|
+
var tmp2_userData = this.a6f_1 ? mapToDto(this.z6e_1) : null;
|
|
1825
|
+
var tmp5_params = new RandomIntegerSequencesParamsDto(tmp0_apiKey, this.x6e_1, list, this.v6e_1, this.w6e_1, false, null, tmp2_userData);
|
|
1842
1826
|
var body = new RandomRequestDto('2.0', tmp4_method, tmp5_params, tmp3_id);
|
|
1843
1827
|
if (body == null) {
|
|
1844
|
-
|
|
1845
|
-
var tmp_0 =
|
|
1846
|
-
var tmp_1
|
|
1847
|
-
var tmp_2;
|
|
1828
|
+
builder.l44_1 = NullBody_instance;
|
|
1829
|
+
var tmp_0 = getKClass(RandomRequestDto);
|
|
1830
|
+
var tmp_1;
|
|
1848
1831
|
try {
|
|
1849
|
-
|
|
1832
|
+
tmp_1 = createKType(getKClass(RandomRequestDto), arrayOf([createInvariantKTypeProjection(createKType(getKClass(RandomIntegerSequencesParamsDto), arrayOf([]), false))]), false);
|
|
1850
1833
|
} catch ($p) {
|
|
1851
|
-
var
|
|
1834
|
+
var tmp_2;
|
|
1852
1835
|
if ($p instanceof Error) {
|
|
1853
|
-
var
|
|
1854
|
-
|
|
1836
|
+
var _unused_var__etf5q3 = $p;
|
|
1837
|
+
tmp_2 = null;
|
|
1855
1838
|
} else {
|
|
1856
1839
|
throw $p;
|
|
1857
1840
|
}
|
|
1858
|
-
|
|
1841
|
+
tmp_1 = tmp_2;
|
|
1859
1842
|
}
|
|
1860
|
-
|
|
1843
|
+
builder.b4a(new TypeInfo(tmp_0, tmp_1));
|
|
1861
1844
|
} else {
|
|
1862
1845
|
if (body instanceof OutgoingContent) {
|
|
1863
|
-
|
|
1864
|
-
|
|
1846
|
+
builder.l44_1 = body;
|
|
1847
|
+
builder.b4a(null);
|
|
1865
1848
|
} else {
|
|
1866
|
-
|
|
1867
|
-
var
|
|
1868
|
-
var
|
|
1869
|
-
var tmp_6;
|
|
1849
|
+
builder.l44_1 = body;
|
|
1850
|
+
var tmp_3 = getKClass(RandomRequestDto);
|
|
1851
|
+
var tmp_4;
|
|
1870
1852
|
try {
|
|
1871
|
-
|
|
1853
|
+
tmp_4 = createKType(getKClass(RandomRequestDto), arrayOf([createInvariantKTypeProjection(createKType(getKClass(RandomIntegerSequencesParamsDto), arrayOf([]), false))]), false);
|
|
1872
1854
|
} catch ($p) {
|
|
1873
|
-
var
|
|
1855
|
+
var tmp_5;
|
|
1874
1856
|
if ($p instanceof Error) {
|
|
1875
|
-
var
|
|
1876
|
-
|
|
1857
|
+
var _unused_var__etf5q3_0 = $p;
|
|
1858
|
+
tmp_5 = null;
|
|
1877
1859
|
} else {
|
|
1878
1860
|
throw $p;
|
|
1879
1861
|
}
|
|
1880
|
-
|
|
1862
|
+
tmp_4 = tmp_5;
|
|
1881
1863
|
}
|
|
1882
|
-
|
|
1864
|
+
builder.b4a(new TypeInfo(tmp_3, tmp_4));
|
|
1883
1865
|
}
|
|
1884
1866
|
}
|
|
1885
1867
|
|
|
1886
|
-
|
|
1887
|
-
this.
|
|
1888
|
-
suspendResult = (new HttpStatement(
|
|
1868
|
+
builder.j44_1 = Companion_getInstance().a3n_1;
|
|
1869
|
+
this.e9_1 = 1;
|
|
1870
|
+
suspendResult = (new HttpStatement(builder, this_0)).u55(this);
|
|
1889
1871
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1890
1872
|
return suspendResult;
|
|
1891
1873
|
}
|
|
1892
1874
|
|
|
1893
1875
|
continue $sm;
|
|
1894
1876
|
case 1:
|
|
1895
|
-
this.
|
|
1896
|
-
var this_1 = this.
|
|
1897
|
-
this.
|
|
1898
|
-
var
|
|
1899
|
-
var
|
|
1900
|
-
var
|
|
1901
|
-
var tmp_11;
|
|
1877
|
+
this.c6f_1 = suspendResult;
|
|
1878
|
+
var this_1 = this.c6f_1;
|
|
1879
|
+
this.e9_1 = 2;
|
|
1880
|
+
var tmp_6 = this_1.x45();
|
|
1881
|
+
var tmp_7 = getKClass(JsonObject);
|
|
1882
|
+
var tmp_8;
|
|
1902
1883
|
try {
|
|
1903
|
-
|
|
1884
|
+
tmp_8 = createKType(getKClass(JsonObject), arrayOf([]), false);
|
|
1904
1885
|
} catch ($p) {
|
|
1905
|
-
var
|
|
1886
|
+
var tmp_9;
|
|
1906
1887
|
if ($p instanceof Error) {
|
|
1907
|
-
var
|
|
1908
|
-
|
|
1888
|
+
var _unused_var__etf5q3_1 = $p;
|
|
1889
|
+
tmp_9 = null;
|
|
1909
1890
|
} else {
|
|
1910
1891
|
throw $p;
|
|
1911
1892
|
}
|
|
1912
|
-
|
|
1893
|
+
tmp_8 = tmp_9;
|
|
1913
1894
|
}
|
|
1914
1895
|
|
|
1915
|
-
suspendResult =
|
|
1896
|
+
suspendResult = tmp_6.u45(new TypeInfo(tmp_7, tmp_8), this);
|
|
1916
1897
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1917
1898
|
return suspendResult;
|
|
1918
1899
|
}
|
|
1919
1900
|
|
|
1920
1901
|
continue $sm;
|
|
1921
1902
|
case 2:
|
|
1922
|
-
var
|
|
1923
|
-
|
|
1924
|
-
this.
|
|
1925
|
-
suspendResult = throwIfError(this.
|
|
1903
|
+
var tmp_10 = this;
|
|
1904
|
+
tmp_10.b6f_1 = suspendResult instanceof JsonObject ? suspendResult : THROW_CCE();
|
|
1905
|
+
this.e9_1 = 3;
|
|
1906
|
+
suspendResult = throwIfError(this.u6e_1, this.b6f_1, this.c6f_1, this);
|
|
1926
1907
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1927
1908
|
return suspendResult;
|
|
1928
1909
|
}
|
|
1929
1910
|
|
|
1930
1911
|
continue $sm;
|
|
1931
1912
|
case 3:
|
|
1932
|
-
var this_2 = this.
|
|
1933
|
-
this.
|
|
1934
|
-
var
|
|
1935
|
-
var
|
|
1936
|
-
var
|
|
1937
|
-
var tmp_17;
|
|
1913
|
+
var this_2 = this.c6f_1;
|
|
1914
|
+
this.e9_1 = 4;
|
|
1915
|
+
var tmp_11 = this_2.x45();
|
|
1916
|
+
var tmp_12 = getKClass(RandomResponseDto);
|
|
1917
|
+
var tmp_13;
|
|
1938
1918
|
try {
|
|
1939
|
-
|
|
1919
|
+
tmp_13 = createKType(getKClass(RandomResponseDto), arrayOf([createInvariantKTypeProjection(createKType(getKClass(IntegerSequencesResultDto), arrayOf([]), false))]), false);
|
|
1940
1920
|
} catch ($p) {
|
|
1941
|
-
var
|
|
1921
|
+
var tmp_14;
|
|
1942
1922
|
if ($p instanceof Error) {
|
|
1943
|
-
var
|
|
1944
|
-
|
|
1923
|
+
var _unused_var__etf5q3_2 = $p;
|
|
1924
|
+
tmp_14 = null;
|
|
1945
1925
|
} else {
|
|
1946
1926
|
throw $p;
|
|
1947
1927
|
}
|
|
1948
|
-
|
|
1928
|
+
tmp_13 = tmp_14;
|
|
1949
1929
|
}
|
|
1950
1930
|
|
|
1951
|
-
suspendResult =
|
|
1931
|
+
suspendResult = tmp_11.u45(new TypeInfo(tmp_12, tmp_13), this);
|
|
1952
1932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1953
1933
|
return suspendResult;
|
|
1954
1934
|
}
|
|
@@ -1956,80 +1936,79 @@
|
|
|
1956
1936
|
continue $sm;
|
|
1957
1937
|
case 4:
|
|
1958
1938
|
var responseDto = suspendResult instanceof RandomResponseDto ? suspendResult : THROW_CCE();
|
|
1959
|
-
var randomJson = extractRandomResult(this.
|
|
1960
|
-
var tmp0_cardDecks = responseDto.
|
|
1961
|
-
var tmp1_signature = responseDto.
|
|
1962
|
-
var tmp2_id = responseDto.
|
|
1939
|
+
var randomJson = extractRandomResult(this.u6e_1, this.b6f_1);
|
|
1940
|
+
var tmp0_cardDecks = responseDto.j6d_1.n6d_1.w6d_1;
|
|
1941
|
+
var tmp1_signature = responseDto.j6d_1.o6d_1;
|
|
1942
|
+
var tmp2_id = responseDto.k6d_1;
|
|
1963
1943
|
return new CardDeckResult(tmp0_cardDecks, randomJson, tmp2_id, tmp1_signature);
|
|
1964
1944
|
case 5:
|
|
1965
|
-
this.
|
|
1966
|
-
var
|
|
1967
|
-
if (
|
|
1968
|
-
var error = this.
|
|
1945
|
+
this.f9_1 = 6;
|
|
1946
|
+
var tmp_15 = this.h9_1;
|
|
1947
|
+
if (tmp_15 instanceof Error) {
|
|
1948
|
+
var error = this.h9_1;
|
|
1969
1949
|
if (error instanceof RandomException)
|
|
1970
1950
|
throw error;
|
|
1971
1951
|
else {
|
|
1972
1952
|
throw new RandomException(100001, '[getRandomCardDeck] error, message = ' + error.message, error);
|
|
1973
1953
|
}
|
|
1974
1954
|
} else {
|
|
1975
|
-
throw this.
|
|
1955
|
+
throw this.h9_1;
|
|
1976
1956
|
}
|
|
1977
1957
|
|
|
1978
1958
|
case 6:
|
|
1979
|
-
throw this.
|
|
1959
|
+
throw this.h9_1;
|
|
1980
1960
|
}
|
|
1981
1961
|
} catch ($p) {
|
|
1982
1962
|
var e = $p;
|
|
1983
|
-
if (this.
|
|
1963
|
+
if (this.f9_1 === 6) {
|
|
1984
1964
|
throw e;
|
|
1985
1965
|
} else {
|
|
1986
|
-
this.
|
|
1987
|
-
this.
|
|
1966
|
+
this.e9_1 = this.f9_1;
|
|
1967
|
+
this.h9_1 = e;
|
|
1988
1968
|
}
|
|
1989
1969
|
}
|
|
1990
1970
|
while (true);
|
|
1991
1971
|
};
|
|
1992
1972
|
function $throwIfErrorCOROUTINE$(_this__u8e3s4, bodyAsJson, response, resultContinuation) {
|
|
1993
1973
|
CoroutineImpl.call(this, resultContinuation);
|
|
1994
|
-
this.
|
|
1995
|
-
this.
|
|
1996
|
-
this.
|
|
1974
|
+
this.i6e_1 = _this__u8e3s4;
|
|
1975
|
+
this.j6e_1 = bodyAsJson;
|
|
1976
|
+
this.k6e_1 = response;
|
|
1997
1977
|
}
|
|
1998
|
-
protoOf($throwIfErrorCOROUTINE$).
|
|
1999
|
-
var suspendResult = this.
|
|
1978
|
+
protoOf($throwIfErrorCOROUTINE$).m9 = function () {
|
|
1979
|
+
var suspendResult = this.g9_1;
|
|
2000
1980
|
$sm: do
|
|
2001
1981
|
try {
|
|
2002
|
-
var tmp = this.
|
|
1982
|
+
var tmp = this.e9_1;
|
|
2003
1983
|
switch (tmp) {
|
|
2004
1984
|
case 0:
|
|
2005
|
-
this.
|
|
2006
|
-
var this_0 = this.
|
|
2007
|
-
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
2008
|
-
var this_1 = this.
|
|
2009
|
-
this.
|
|
2010
|
-
var tmp_0 = this_1.
|
|
2011
|
-
var tmp_1 =
|
|
2012
|
-
var tmp_2
|
|
2013
|
-
var tmp_3;
|
|
1985
|
+
this.f9_1 = 3;
|
|
1986
|
+
var this_0 = this.j6e_1;
|
|
1987
|
+
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).t2('error')) {
|
|
1988
|
+
var this_1 = this.k6e_1;
|
|
1989
|
+
this.e9_1 = 2;
|
|
1990
|
+
var tmp_0 = this_1.x45();
|
|
1991
|
+
var tmp_1 = getKClass(ErrorResponseDto);
|
|
1992
|
+
var tmp_2;
|
|
2014
1993
|
try {
|
|
2015
|
-
|
|
1994
|
+
tmp_2 = createKType(getKClass(ErrorResponseDto), arrayOf([]), false);
|
|
2016
1995
|
} catch ($p) {
|
|
2017
|
-
var
|
|
1996
|
+
var tmp_3;
|
|
2018
1997
|
if ($p instanceof Error) {
|
|
2019
|
-
var
|
|
2020
|
-
|
|
1998
|
+
var _unused_var__etf5q3 = $p;
|
|
1999
|
+
tmp_3 = null;
|
|
2021
2000
|
} else {
|
|
2022
2001
|
throw $p;
|
|
2023
2002
|
}
|
|
2024
|
-
|
|
2003
|
+
tmp_2 = tmp_3;
|
|
2025
2004
|
}
|
|
2026
|
-
suspendResult = tmp_0.
|
|
2005
|
+
suspendResult = tmp_0.u45(new TypeInfo(tmp_1, tmp_2), this);
|
|
2027
2006
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2028
2007
|
return suspendResult;
|
|
2029
2008
|
}
|
|
2030
2009
|
continue $sm;
|
|
2031
2010
|
} else {
|
|
2032
|
-
this.
|
|
2011
|
+
this.e9_1 = 1;
|
|
2033
2012
|
continue $sm;
|
|
2034
2013
|
}
|
|
2035
2014
|
|
|
@@ -2037,33 +2016,33 @@
|
|
|
2037
2016
|
return Unit_instance;
|
|
2038
2017
|
case 2:
|
|
2039
2018
|
var errorResponseDto = suspendResult instanceof ErrorResponseDto ? suspendResult : THROW_CCE();
|
|
2040
|
-
var tmp0_safe_receiver = errorResponseDto.
|
|
2041
|
-
var
|
|
2042
|
-
var tmp1_safe_receiver = errorResponseDto.
|
|
2043
|
-
throw new RandomException(
|
|
2019
|
+
var tmp0_safe_receiver = errorResponseDto.b6c_1;
|
|
2020
|
+
var tmp_4 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e6c_1;
|
|
2021
|
+
var tmp1_safe_receiver = errorResponseDto.b6c_1;
|
|
2022
|
+
throw new RandomException(tmp_4, tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f6c_1);
|
|
2044
2023
|
case 3:
|
|
2045
|
-
throw this.
|
|
2024
|
+
throw this.h9_1;
|
|
2046
2025
|
}
|
|
2047
2026
|
} catch ($p) {
|
|
2048
2027
|
var e = $p;
|
|
2049
|
-
if (this.
|
|
2028
|
+
if (this.f9_1 === 3) {
|
|
2050
2029
|
throw e;
|
|
2051
2030
|
} else {
|
|
2052
|
-
this.
|
|
2053
|
-
this.
|
|
2031
|
+
this.e9_1 = this.f9_1;
|
|
2032
|
+
this.h9_1 = e;
|
|
2054
2033
|
}
|
|
2055
2034
|
}
|
|
2056
2035
|
while (true);
|
|
2057
2036
|
};
|
|
2058
2037
|
function RandomOrgApiServiceImpl(client, apiKey) {
|
|
2059
|
-
this.
|
|
2060
|
-
this.
|
|
2038
|
+
this.d6f_1 = client;
|
|
2039
|
+
this.e6f_1 = apiKey;
|
|
2061
2040
|
}
|
|
2062
|
-
protoOf(RandomOrgApiServiceImpl).
|
|
2041
|
+
protoOf(RandomOrgApiServiceImpl).z6d = function (min, max, decksCount, cardsCount, userData, signed, $completion) {
|
|
2063
2042
|
var tmp = new $getRandomCardDecksCOROUTINE$(this, min, max, decksCount, cardsCount, userData, signed, $completion);
|
|
2064
|
-
tmp.
|
|
2065
|
-
tmp.
|
|
2066
|
-
return tmp.
|
|
2043
|
+
tmp.g9_1 = Unit_instance;
|
|
2044
|
+
tmp.h9_1 = null;
|
|
2045
|
+
return tmp.m9();
|
|
2067
2046
|
};
|
|
2068
2047
|
function PoolParams(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) {
|
|
2069
2048
|
poolSize = poolSize === VOID ? 100 : poolSize;
|
|
@@ -2084,31 +2063,31 @@
|
|
|
2084
2063
|
this.failedRequestAttempts = failedRequestAttempts;
|
|
2085
2064
|
this.failedAttemptCooldown = failedAttemptCooldown;
|
|
2086
2065
|
}
|
|
2087
|
-
protoOf(PoolParams).
|
|
2066
|
+
protoOf(PoolParams).u6b = function () {
|
|
2088
2067
|
return this.poolSize;
|
|
2089
2068
|
};
|
|
2090
|
-
protoOf(PoolParams).
|
|
2069
|
+
protoOf(PoolParams).v6b = function () {
|
|
2091
2070
|
return this.thresholdForUsedPool;
|
|
2092
2071
|
};
|
|
2093
|
-
protoOf(PoolParams).
|
|
2072
|
+
protoOf(PoolParams).f6f = function () {
|
|
2094
2073
|
return this.failedRequestAttempts;
|
|
2095
2074
|
};
|
|
2096
|
-
protoOf(PoolParams).
|
|
2075
|
+
protoOf(PoolParams).g6f = function () {
|
|
2097
2076
|
return this.failedAttemptCooldown;
|
|
2098
2077
|
};
|
|
2099
|
-
protoOf(PoolParams).
|
|
2078
|
+
protoOf(PoolParams).kf = function () {
|
|
2100
2079
|
return this.poolSize;
|
|
2101
2080
|
};
|
|
2102
|
-
protoOf(PoolParams).
|
|
2081
|
+
protoOf(PoolParams).lf = function () {
|
|
2103
2082
|
return this.thresholdForUsedPool;
|
|
2104
2083
|
};
|
|
2105
|
-
protoOf(PoolParams).
|
|
2084
|
+
protoOf(PoolParams).om = function () {
|
|
2106
2085
|
return this.failedRequestAttempts;
|
|
2107
2086
|
};
|
|
2108
|
-
protoOf(PoolParams).
|
|
2087
|
+
protoOf(PoolParams).h6f = function () {
|
|
2109
2088
|
return this.failedAttemptCooldown;
|
|
2110
2089
|
};
|
|
2111
|
-
protoOf(PoolParams).
|
|
2090
|
+
protoOf(PoolParams).i6f = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) {
|
|
2112
2091
|
return new PoolParams(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown);
|
|
2113
2092
|
};
|
|
2114
2093
|
protoOf(PoolParams).copy = function (poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown, $super) {
|
|
@@ -2116,7 +2095,7 @@
|
|
|
2116
2095
|
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
2117
2096
|
failedRequestAttempts = failedRequestAttempts === VOID ? this.failedRequestAttempts : failedRequestAttempts;
|
|
2118
2097
|
failedAttemptCooldown = failedAttemptCooldown === VOID ? this.failedAttemptCooldown : failedAttemptCooldown;
|
|
2119
|
-
return $super === VOID ? this.
|
|
2098
|
+
return $super === VOID ? this.i6f(poolSize, thresholdForUsedPool, failedRequestAttempts, failedAttemptCooldown) : $super.i6f.call(this, poolSize, thresholdForUsedPool, failedRequestAttempts, new Duration(failedAttemptCooldown));
|
|
2120
2099
|
};
|
|
2121
2100
|
protoOf(PoolParams).toString = function () {
|
|
2122
2101
|
return 'PoolParams(poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', failedRequestAttempts=' + this.failedRequestAttempts + ', failedAttemptCooldown=' + Duration__toString_impl_8d916b(this.failedAttemptCooldown) + ')';
|
|
@@ -2133,25 +2112,24 @@
|
|
|
2133
2112
|
return true;
|
|
2134
2113
|
if (!(other instanceof PoolParams))
|
|
2135
2114
|
return false;
|
|
2136
|
-
|
|
2137
|
-
if (!(this.poolSize === tmp0_other_with_cast.poolSize))
|
|
2115
|
+
if (!(this.poolSize === other.poolSize))
|
|
2138
2116
|
return false;
|
|
2139
|
-
if (!(this.thresholdForUsedPool ===
|
|
2117
|
+
if (!(this.thresholdForUsedPool === other.thresholdForUsedPool))
|
|
2140
2118
|
return false;
|
|
2141
|
-
if (!(this.failedRequestAttempts ===
|
|
2119
|
+
if (!(this.failedRequestAttempts === other.failedRequestAttempts))
|
|
2142
2120
|
return false;
|
|
2143
|
-
if (!equals(this.failedAttemptCooldown,
|
|
2121
|
+
if (!equals(this.failedAttemptCooldown, other.failedAttemptCooldown))
|
|
2144
2122
|
return false;
|
|
2145
2123
|
return true;
|
|
2146
2124
|
};
|
|
2147
2125
|
function RandomPoolProvider() {
|
|
2148
2126
|
}
|
|
2149
2127
|
function getExceptionIfCooldown($this) {
|
|
2150
|
-
var currentTime = System_instance.
|
|
2151
|
-
if (!($this.
|
|
2152
|
-
var timeToWait = Duration__times_impl_sfuzvp($this.
|
|
2128
|
+
var currentTime = System_instance.ik();
|
|
2129
|
+
if (!($this.v6f_1 == null) && $this.w6f_1 >= $this.n6f_1.failedRequestAttempts) {
|
|
2130
|
+
var timeToWait = Duration__times_impl_sfuzvp($this.n6f_1.failedAttemptCooldown, $this.w6f_1);
|
|
2153
2131
|
// Inline function 'kotlin.requireNotNull' call
|
|
2154
|
-
var tmp0 = $this.
|
|
2132
|
+
var tmp0 = $this.v6f_1;
|
|
2155
2133
|
var tmp$ret$1;
|
|
2156
2134
|
$l$block: {
|
|
2157
2135
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -2163,22 +2141,22 @@
|
|
|
2163
2141
|
break $l$block;
|
|
2164
2142
|
}
|
|
2165
2143
|
}
|
|
2166
|
-
var allowedRequestTime = tmp$ret$1.
|
|
2167
|
-
if (allowedRequestTime.
|
|
2168
|
-
var exception = new RandomException(VOID, 'getExceptionIfCooldown: ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.
|
|
2144
|
+
var allowedRequestTime = tmp$ret$1.gl(timeToWait);
|
|
2145
|
+
if (allowedRequestTime.jl(currentTime) > 0) {
|
|
2146
|
+
var exception = new RandomException(VOID, 'getExceptionIfCooldown: ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.v6f_1) + ', ') + ('currentTime = ' + currentTime.toString() + ', ') + ('failedRequestCount = ' + $this.w6f_1));
|
|
2169
2147
|
return exception;
|
|
2170
2148
|
} else {
|
|
2171
|
-
$this.
|
|
2149
|
+
$this.v6f_1 = null;
|
|
2172
2150
|
}
|
|
2173
2151
|
}
|
|
2174
2152
|
return null;
|
|
2175
2153
|
}
|
|
2176
2154
|
function mapToRandomExceptionIfError($this, error) {
|
|
2177
|
-
$this.
|
|
2178
|
-
$this.
|
|
2179
|
-
var timeToWait = Duration__times_impl_sfuzvp($this.
|
|
2155
|
+
$this.v6f_1 = System_instance.ik();
|
|
2156
|
+
$this.w6f_1 = $this.w6f_1 + 1 | 0;
|
|
2157
|
+
var timeToWait = Duration__times_impl_sfuzvp($this.n6f_1.failedAttemptCooldown, $this.w6f_1);
|
|
2180
2158
|
// Inline function 'kotlin.requireNotNull' call
|
|
2181
|
-
var tmp0 = $this.
|
|
2159
|
+
var tmp0 = $this.v6f_1;
|
|
2182
2160
|
var tmp$ret$1;
|
|
2183
2161
|
$l$block: {
|
|
2184
2162
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -2190,19 +2168,19 @@
|
|
|
2190
2168
|
break $l$block;
|
|
2191
2169
|
}
|
|
2192
2170
|
}
|
|
2193
|
-
var allowedRequestTime = tmp$ret$1.
|
|
2194
|
-
var randomException = new RandomException(VOID, 'mapToRandomExceptionIfError: error message = ' + error.message + ', ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.
|
|
2195
|
-
$this.
|
|
2171
|
+
var allowedRequestTime = tmp$ret$1.gl(timeToWait);
|
|
2172
|
+
var randomException = new RandomException(VOID, 'mapToRandomExceptionIfError: error message = ' + error.message + ', ' + ('cooldown ends in ' + allowedRequestTime.toString() + ', ') + ('latestFailedAttemptTime = ' + toString_0($this.v6f_1) + ', ') + ('currentTime = ' + System_instance.ik().toString() + ', ') + ('failedRequestCount = ' + $this.w6f_1), error);
|
|
2173
|
+
$this.p6f_1.w('RandomPoolProvider', VOID, randomException);
|
|
2196
2174
|
return randomException;
|
|
2197
2175
|
}
|
|
2198
2176
|
function getOrLoadGameCardDeckData($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2199
2177
|
var tmp = new $getOrLoadGameCardDeckDataCOROUTINE$($this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
2200
|
-
tmp.
|
|
2201
|
-
tmp.
|
|
2202
|
-
return tmp.
|
|
2178
|
+
tmp.g9_1 = Unit_instance;
|
|
2179
|
+
tmp.h9_1 = null;
|
|
2180
|
+
return tmp.m9();
|
|
2203
2181
|
}
|
|
2204
2182
|
function getPreparedGameCardDecksRecord($this, poolId, signature, cardDeckData, userData) {
|
|
2205
|
-
var existingCardDeck = $this.
|
|
2183
|
+
var existingCardDeck = $this.u6f_1.v2(userData.gameId);
|
|
2206
2184
|
var tmp;
|
|
2207
2185
|
if (!(existingCardDeck == null)) {
|
|
2208
2186
|
tmp = Companion_instance_2.nextRound(existingCardDeck, cardDeckData);
|
|
@@ -2213,92 +2191,91 @@
|
|
|
2213
2191
|
}
|
|
2214
2192
|
function getPreparedOrRequestPool($this, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2215
2193
|
var tmp = new $getPreparedOrRequestPoolCOROUTINE$($this, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, $completion);
|
|
2216
|
-
tmp.
|
|
2217
|
-
tmp.
|
|
2218
|
-
return tmp.
|
|
2194
|
+
tmp.g9_1 = Unit_instance;
|
|
2195
|
+
tmp.h9_1 = null;
|
|
2196
|
+
return tmp.m9();
|
|
2219
2197
|
}
|
|
2220
2198
|
function requestNewPool($this, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2221
|
-
return withContext($this.
|
|
2199
|
+
return withContext($this.q6f_1, RandomPoolProviderImpl$requestNewPool$slambda_0($this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2222
2200
|
}
|
|
2223
2201
|
function Companion_9() {
|
|
2224
|
-
this.
|
|
2225
|
-
this.
|
|
2226
|
-
this.
|
|
2227
|
-
this.
|
|
2202
|
+
this.d6h_1 = 100;
|
|
2203
|
+
this.e6h_1 = 3;
|
|
2204
|
+
this.f6h_1 = 3000;
|
|
2205
|
+
this.g6h_1 = 10000;
|
|
2228
2206
|
}
|
|
2229
2207
|
var Companion_instance_11;
|
|
2230
|
-
function
|
|
2208
|
+
function Companion_getInstance_11() {
|
|
2231
2209
|
return Companion_instance_11;
|
|
2232
2210
|
}
|
|
2233
2211
|
function RandomPoolProviderImpl$_init_$lambda_f6qzy3() {
|
|
2234
2212
|
return uuid4().toString();
|
|
2235
2213
|
}
|
|
2236
2214
|
function RandomPoolProviderImpl$getCardDeck$slambda(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2237
|
-
this.
|
|
2238
|
-
this.
|
|
2239
|
-
this.
|
|
2240
|
-
this.
|
|
2241
|
-
this.
|
|
2242
|
-
this.
|
|
2243
|
-
this.
|
|
2244
|
-
this.
|
|
2215
|
+
this.p6h_1 = this$0;
|
|
2216
|
+
this.q6h_1 = $minRoundsCountInPool;
|
|
2217
|
+
this.r6h_1 = $userData;
|
|
2218
|
+
this.s6h_1 = $min;
|
|
2219
|
+
this.t6h_1 = $max;
|
|
2220
|
+
this.u6h_1 = $cardsCount;
|
|
2221
|
+
this.v6h_1 = $signed;
|
|
2222
|
+
this.w6h_1 = $requestDurationWarnMillis;
|
|
2245
2223
|
CoroutineImpl.call(this, resultContinuation);
|
|
2246
2224
|
}
|
|
2247
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2248
|
-
var tmp = this.
|
|
2249
|
-
tmp.
|
|
2250
|
-
tmp.
|
|
2251
|
-
var tmp_0 = tmp.
|
|
2225
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).c6i = function ($this$withContext, $completion) {
|
|
2226
|
+
var tmp = this.u2b($this$withContext, $completion);
|
|
2227
|
+
tmp.g9_1 = Unit_instance;
|
|
2228
|
+
tmp.h9_1 = null;
|
|
2229
|
+
var tmp_0 = tmp.m9();
|
|
2252
2230
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
2253
2231
|
return tmp_0;
|
|
2254
2232
|
return tmp_0;
|
|
2255
2233
|
};
|
|
2256
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2257
|
-
return this.
|
|
2234
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).y9 = function (p1, $completion) {
|
|
2235
|
+
return this.c6i((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2258
2236
|
};
|
|
2259
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2260
|
-
var suspendResult = this.
|
|
2237
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).m9 = function () {
|
|
2238
|
+
var suspendResult = this.g9_1;
|
|
2261
2239
|
$sm: do
|
|
2262
2240
|
try {
|
|
2263
|
-
var tmp = this.
|
|
2241
|
+
var tmp = this.e9_1;
|
|
2264
2242
|
switch (tmp) {
|
|
2265
2243
|
case 0:
|
|
2266
|
-
this.
|
|
2267
|
-
this.
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
this.
|
|
2271
|
-
suspendResult = this.w5q_1.j2p(this.v5q_1, this);
|
|
2244
|
+
this.f9_1 = 10;
|
|
2245
|
+
this.z6h_1 = this.p6h_1.s6f_1;
|
|
2246
|
+
this.y6h_1 = null;
|
|
2247
|
+
this.e9_1 = 1;
|
|
2248
|
+
suspendResult = this.z6h_1.r2r(this.y6h_1, this);
|
|
2272
2249
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2273
2250
|
return suspendResult;
|
|
2274
2251
|
}
|
|
2275
2252
|
|
|
2276
2253
|
continue $sm;
|
|
2277
2254
|
case 1:
|
|
2278
|
-
this.
|
|
2279
|
-
this.
|
|
2255
|
+
this.a6i_1 = Unit_instance;
|
|
2256
|
+
this.e9_1 = 2;
|
|
2280
2257
|
continue $sm;
|
|
2281
2258
|
case 2:
|
|
2282
|
-
this.
|
|
2283
|
-
this.
|
|
2284
|
-
this.
|
|
2259
|
+
this.f9_1 = 9;
|
|
2260
|
+
this.b6i_1 = Unit_instance;
|
|
2261
|
+
this.e9_1 = 3;
|
|
2285
2262
|
continue $sm;
|
|
2286
2263
|
case 3:
|
|
2287
|
-
var randomException = getExceptionIfCooldown(this.
|
|
2264
|
+
var randomException = getExceptionIfCooldown(this.p6h_1);
|
|
2288
2265
|
if (!(randomException == null)) {
|
|
2289
|
-
var
|
|
2290
|
-
|
|
2291
|
-
this.
|
|
2266
|
+
var tmp_0 = this;
|
|
2267
|
+
tmp_0.b6i_1 = new Result(_Result___init__impl__xyqfz8(createFailure(randomException)));
|
|
2268
|
+
this.e9_1 = 7;
|
|
2292
2269
|
continue $sm;
|
|
2293
2270
|
} else {
|
|
2294
|
-
this.
|
|
2271
|
+
this.e9_1 = 4;
|
|
2295
2272
|
continue $sm;
|
|
2296
2273
|
}
|
|
2297
2274
|
|
|
2298
2275
|
case 4:
|
|
2299
|
-
this.
|
|
2300
|
-
this.
|
|
2301
|
-
suspendResult = getOrLoadGameCardDeckData(this.
|
|
2276
|
+
this.f9_1 = 6;
|
|
2277
|
+
this.e9_1 = 5;
|
|
2278
|
+
suspendResult = getOrLoadGameCardDeckData(this.p6h_1, this.q6h_1, this.r6h_1, this.s6h_1, this.t6h_1, this.u6h_1, this.v6h_1, this.w6h_1, this);
|
|
2302
2279
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2303
2280
|
return suspendResult;
|
|
2304
2281
|
}
|
|
@@ -2306,130 +2283,129 @@
|
|
|
2306
2283
|
continue $sm;
|
|
2307
2284
|
case 5:
|
|
2308
2285
|
var cardDeckData = suspendResult;
|
|
2309
|
-
var
|
|
2310
|
-
|
|
2311
|
-
this.
|
|
2286
|
+
var tmp_1 = this;
|
|
2287
|
+
tmp_1.b6i_1 = new Result(_Result___init__impl__xyqfz8(cardDeckData));
|
|
2288
|
+
this.e9_1 = 7;
|
|
2312
2289
|
continue $sm;
|
|
2313
2290
|
case 6:
|
|
2314
|
-
this.
|
|
2315
|
-
var
|
|
2316
|
-
if (
|
|
2317
|
-
var error = this.
|
|
2318
|
-
var
|
|
2319
|
-
var exception = mapToRandomExceptionIfError(this.
|
|
2320
|
-
|
|
2321
|
-
this.
|
|
2291
|
+
this.f9_1 = 9;
|
|
2292
|
+
var tmp_2 = this.h9_1;
|
|
2293
|
+
if (tmp_2 instanceof Error) {
|
|
2294
|
+
var error = this.h9_1;
|
|
2295
|
+
var tmp_3 = this;
|
|
2296
|
+
var exception = mapToRandomExceptionIfError(this.p6h_1, error);
|
|
2297
|
+
tmp_3.b6i_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2298
|
+
this.e9_1 = 7;
|
|
2322
2299
|
continue $sm;
|
|
2323
2300
|
} else {
|
|
2324
|
-
throw this.
|
|
2301
|
+
throw this.h9_1;
|
|
2325
2302
|
}
|
|
2326
2303
|
|
|
2327
2304
|
case 7:
|
|
2328
|
-
this.
|
|
2329
|
-
this.
|
|
2330
|
-
this.
|
|
2305
|
+
this.a6i_1 = this.b6i_1;
|
|
2306
|
+
this.f9_1 = 10;
|
|
2307
|
+
this.e9_1 = 8;
|
|
2331
2308
|
continue $sm;
|
|
2332
2309
|
case 8:
|
|
2333
|
-
var
|
|
2334
|
-
this.
|
|
2335
|
-
this.
|
|
2336
|
-
return
|
|
2310
|
+
var tmp_4 = this.a6i_1;
|
|
2311
|
+
this.f9_1 = 10;
|
|
2312
|
+
this.z6h_1.d2r(this.y6h_1);
|
|
2313
|
+
return tmp_4;
|
|
2337
2314
|
case 9:
|
|
2338
|
-
this.
|
|
2339
|
-
var t = this.
|
|
2340
|
-
this.
|
|
2315
|
+
this.f9_1 = 10;
|
|
2316
|
+
var t = this.h9_1;
|
|
2317
|
+
this.z6h_1.d2r(this.y6h_1);
|
|
2341
2318
|
throw t;
|
|
2342
2319
|
case 10:
|
|
2343
|
-
throw this.
|
|
2320
|
+
throw this.h9_1;
|
|
2344
2321
|
}
|
|
2345
2322
|
} catch ($p) {
|
|
2346
2323
|
var e = $p;
|
|
2347
|
-
if (this.
|
|
2324
|
+
if (this.f9_1 === 10) {
|
|
2348
2325
|
throw e;
|
|
2349
2326
|
} else {
|
|
2350
|
-
this.
|
|
2351
|
-
this.
|
|
2327
|
+
this.e9_1 = this.f9_1;
|
|
2328
|
+
this.h9_1 = e;
|
|
2352
2329
|
}
|
|
2353
2330
|
}
|
|
2354
2331
|
while (true);
|
|
2355
2332
|
};
|
|
2356
|
-
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).
|
|
2357
|
-
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this.
|
|
2358
|
-
i.
|
|
2333
|
+
protoOf(RandomPoolProviderImpl$getCardDeck$slambda).u2b = function ($this$withContext, completion) {
|
|
2334
|
+
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this.p6h_1, this.q6h_1, this.r6h_1, this.s6h_1, this.t6h_1, this.u6h_1, this.v6h_1, this.w6h_1, completion);
|
|
2335
|
+
i.x6h_1 = $this$withContext;
|
|
2359
2336
|
return i;
|
|
2360
2337
|
};
|
|
2361
2338
|
function RandomPoolProviderImpl$getCardDeck$slambda_0(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2362
2339
|
var i = new RandomPoolProviderImpl$getCardDeck$slambda(this$0, $minRoundsCountInPool, $userData, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2363
2340
|
var l = function ($this$withContext, $completion) {
|
|
2364
|
-
return i.
|
|
2341
|
+
return i.c6i($this$withContext, $completion);
|
|
2365
2342
|
};
|
|
2366
2343
|
l.$arity = 1;
|
|
2367
2344
|
return l;
|
|
2368
2345
|
}
|
|
2369
2346
|
function RandomPoolProviderImpl$prefetchCardDecks$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2370
|
-
this.
|
|
2371
|
-
this.
|
|
2372
|
-
this.
|
|
2373
|
-
this.
|
|
2374
|
-
this.
|
|
2375
|
-
this.
|
|
2347
|
+
this.l6i_1 = this$0;
|
|
2348
|
+
this.m6i_1 = $min;
|
|
2349
|
+
this.n6i_1 = $max;
|
|
2350
|
+
this.o6i_1 = $cardsCount;
|
|
2351
|
+
this.p6i_1 = $signed;
|
|
2352
|
+
this.q6i_1 = $requestDurationWarnMillis;
|
|
2376
2353
|
CoroutineImpl.call(this, resultContinuation);
|
|
2377
2354
|
}
|
|
2378
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2379
|
-
var tmp = this.
|
|
2380
|
-
tmp.
|
|
2381
|
-
tmp.
|
|
2382
|
-
var tmp_0 = tmp.
|
|
2355
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).c51 = function ($this$withContext, $completion) {
|
|
2356
|
+
var tmp = this.u2b($this$withContext, $completion);
|
|
2357
|
+
tmp.g9_1 = Unit_instance;
|
|
2358
|
+
tmp.h9_1 = null;
|
|
2359
|
+
var tmp_0 = tmp.m9();
|
|
2383
2360
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
2384
2361
|
return tmp_0;
|
|
2385
2362
|
return tmp_0;
|
|
2386
2363
|
};
|
|
2387
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2388
|
-
return this.
|
|
2364
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).y9 = function (p1, $completion) {
|
|
2365
|
+
return this.c51((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2389
2366
|
};
|
|
2390
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2391
|
-
var suspendResult = this.
|
|
2367
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).m9 = function () {
|
|
2368
|
+
var suspendResult = this.g9_1;
|
|
2392
2369
|
$sm: do
|
|
2393
2370
|
try {
|
|
2394
|
-
var tmp = this.
|
|
2371
|
+
var tmp = this.e9_1;
|
|
2395
2372
|
switch (tmp) {
|
|
2396
2373
|
case 0:
|
|
2397
|
-
this.
|
|
2398
|
-
this.
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
this.
|
|
2402
|
-
suspendResult = this.q5r_1.j2p(this.p5r_1, this);
|
|
2374
|
+
this.f9_1 = 10;
|
|
2375
|
+
this.t6i_1 = this.l6i_1.s6f_1;
|
|
2376
|
+
this.s6i_1 = null;
|
|
2377
|
+
this.e9_1 = 1;
|
|
2378
|
+
suspendResult = this.t6i_1.r2r(this.s6i_1, this);
|
|
2403
2379
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2404
2380
|
return suspendResult;
|
|
2405
2381
|
}
|
|
2406
2382
|
|
|
2407
2383
|
continue $sm;
|
|
2408
2384
|
case 1:
|
|
2409
|
-
this.
|
|
2410
|
-
this.
|
|
2385
|
+
this.u6i_1 = Unit_instance;
|
|
2386
|
+
this.e9_1 = 2;
|
|
2411
2387
|
continue $sm;
|
|
2412
2388
|
case 2:
|
|
2413
|
-
this.
|
|
2414
|
-
this.
|
|
2415
|
-
this.
|
|
2389
|
+
this.f9_1 = 9;
|
|
2390
|
+
this.v6i_1 = Unit_instance;
|
|
2391
|
+
this.e9_1 = 3;
|
|
2416
2392
|
continue $sm;
|
|
2417
2393
|
case 3:
|
|
2418
|
-
var randomException = getExceptionIfCooldown(this.
|
|
2394
|
+
var randomException = getExceptionIfCooldown(this.l6i_1);
|
|
2419
2395
|
if (!(randomException == null)) {
|
|
2420
|
-
var
|
|
2421
|
-
|
|
2422
|
-
this.
|
|
2396
|
+
var tmp_0 = this;
|
|
2397
|
+
tmp_0.v6i_1 = new Result(_Result___init__impl__xyqfz8(createFailure(randomException)));
|
|
2398
|
+
this.e9_1 = 7;
|
|
2423
2399
|
continue $sm;
|
|
2424
2400
|
} else {
|
|
2425
|
-
this.
|
|
2401
|
+
this.e9_1 = 4;
|
|
2426
2402
|
continue $sm;
|
|
2427
2403
|
}
|
|
2428
2404
|
|
|
2429
2405
|
case 4:
|
|
2430
|
-
this.
|
|
2431
|
-
this.
|
|
2432
|
-
suspendResult = requestNewPool(this.
|
|
2406
|
+
this.f9_1 = 6;
|
|
2407
|
+
this.e9_1 = 5;
|
|
2408
|
+
suspendResult = requestNewPool(this.l6i_1, this.m6i_1, this.n6i_1, this.o6i_1, this.p6i_1, this.q6i_1, this);
|
|
2433
2409
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2434
2410
|
return suspendResult;
|
|
2435
2411
|
}
|
|
@@ -2437,100 +2413,100 @@
|
|
|
2437
2413
|
continue $sm;
|
|
2438
2414
|
case 5:
|
|
2439
2415
|
var randomPoolValue = suspendResult;
|
|
2440
|
-
var tmp0 = this.
|
|
2441
|
-
var key = randomPoolValue.
|
|
2442
|
-
tmp0.
|
|
2443
|
-
this.
|
|
2444
|
-
this.
|
|
2445
|
-
var
|
|
2446
|
-
|
|
2447
|
-
this.
|
|
2416
|
+
var tmp0 = this.l6i_1.t6f_1;
|
|
2417
|
+
var key = randomPoolValue.w6i_1.g6b_1;
|
|
2418
|
+
tmp0.g3(key, randomPoolValue);
|
|
2419
|
+
this.l6i_1.w6f_1 = 0;
|
|
2420
|
+
this.l6i_1.v6f_1 = null;
|
|
2421
|
+
var tmp_1 = this;
|
|
2422
|
+
tmp_1.v6i_1 = new Result(_Result___init__impl__xyqfz8(Unit_instance));
|
|
2423
|
+
this.e9_1 = 7;
|
|
2448
2424
|
continue $sm;
|
|
2449
2425
|
case 6:
|
|
2450
|
-
this.
|
|
2451
|
-
var
|
|
2452
|
-
if (
|
|
2453
|
-
var error = this.
|
|
2454
|
-
var
|
|
2455
|
-
var exception = mapToRandomExceptionIfError(this.
|
|
2456
|
-
|
|
2457
|
-
this.
|
|
2426
|
+
this.f9_1 = 9;
|
|
2427
|
+
var tmp_2 = this.h9_1;
|
|
2428
|
+
if (tmp_2 instanceof Error) {
|
|
2429
|
+
var error = this.h9_1;
|
|
2430
|
+
var tmp_3 = this;
|
|
2431
|
+
var exception = mapToRandomExceptionIfError(this.l6i_1, error);
|
|
2432
|
+
tmp_3.v6i_1 = new Result(_Result___init__impl__xyqfz8(createFailure(exception)));
|
|
2433
|
+
this.e9_1 = 7;
|
|
2458
2434
|
continue $sm;
|
|
2459
2435
|
} else {
|
|
2460
|
-
throw this.
|
|
2436
|
+
throw this.h9_1;
|
|
2461
2437
|
}
|
|
2462
2438
|
|
|
2463
2439
|
case 7:
|
|
2464
|
-
this.
|
|
2465
|
-
this.
|
|
2466
|
-
this.
|
|
2440
|
+
this.u6i_1 = this.v6i_1;
|
|
2441
|
+
this.f9_1 = 10;
|
|
2442
|
+
this.e9_1 = 8;
|
|
2467
2443
|
continue $sm;
|
|
2468
2444
|
case 8:
|
|
2469
|
-
var
|
|
2470
|
-
this.
|
|
2471
|
-
this.
|
|
2472
|
-
return
|
|
2445
|
+
var tmp_4 = this.u6i_1;
|
|
2446
|
+
this.f9_1 = 10;
|
|
2447
|
+
this.t6i_1.d2r(this.s6i_1);
|
|
2448
|
+
return tmp_4;
|
|
2473
2449
|
case 9:
|
|
2474
|
-
this.
|
|
2475
|
-
var t = this.
|
|
2476
|
-
this.
|
|
2450
|
+
this.f9_1 = 10;
|
|
2451
|
+
var t = this.h9_1;
|
|
2452
|
+
this.t6i_1.d2r(this.s6i_1);
|
|
2477
2453
|
throw t;
|
|
2478
2454
|
case 10:
|
|
2479
|
-
throw this.
|
|
2455
|
+
throw this.h9_1;
|
|
2480
2456
|
}
|
|
2481
2457
|
} catch ($p) {
|
|
2482
2458
|
var e = $p;
|
|
2483
|
-
if (this.
|
|
2459
|
+
if (this.f9_1 === 10) {
|
|
2484
2460
|
throw e;
|
|
2485
2461
|
} else {
|
|
2486
|
-
this.
|
|
2487
|
-
this.
|
|
2462
|
+
this.e9_1 = this.f9_1;
|
|
2463
|
+
this.h9_1 = e;
|
|
2488
2464
|
}
|
|
2489
2465
|
}
|
|
2490
2466
|
while (true);
|
|
2491
2467
|
};
|
|
2492
|
-
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).
|
|
2493
|
-
var i = new RandomPoolProviderImpl$prefetchCardDecks$slambda(this.
|
|
2494
|
-
i.
|
|
2468
|
+
protoOf(RandomPoolProviderImpl$prefetchCardDecks$slambda).u2b = function ($this$withContext, completion) {
|
|
2469
|
+
var i = new RandomPoolProviderImpl$prefetchCardDecks$slambda(this.l6i_1, this.m6i_1, this.n6i_1, this.o6i_1, this.p6i_1, this.q6i_1, completion);
|
|
2470
|
+
i.r6i_1 = $this$withContext;
|
|
2495
2471
|
return i;
|
|
2496
2472
|
};
|
|
2497
2473
|
function RandomPoolProviderImpl$prefetchCardDecks$slambda_0(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2498
2474
|
var i = new RandomPoolProviderImpl$prefetchCardDecks$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2499
2475
|
var l = function ($this$withContext, $completion) {
|
|
2500
|
-
return i.
|
|
2476
|
+
return i.c51($this$withContext, $completion);
|
|
2501
2477
|
};
|
|
2502
2478
|
l.$arity = 1;
|
|
2503
2479
|
return l;
|
|
2504
2480
|
}
|
|
2505
2481
|
function RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2506
|
-
this.
|
|
2507
|
-
this.
|
|
2508
|
-
this.
|
|
2509
|
-
this.
|
|
2510
|
-
this.
|
|
2511
|
-
this.
|
|
2482
|
+
this.i6j_1 = this$0;
|
|
2483
|
+
this.j6j_1 = $min;
|
|
2484
|
+
this.k6j_1 = $max;
|
|
2485
|
+
this.l6j_1 = $cardsCount;
|
|
2486
|
+
this.m6j_1 = $signed;
|
|
2487
|
+
this.n6j_1 = $requestDurationWarnMillis;
|
|
2512
2488
|
CoroutineImpl.call(this, resultContinuation);
|
|
2513
2489
|
}
|
|
2514
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2515
|
-
var tmp = this.
|
|
2516
|
-
tmp.
|
|
2517
|
-
tmp.
|
|
2518
|
-
return tmp.
|
|
2490
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).q6j = function ($this$withContext, $completion) {
|
|
2491
|
+
var tmp = this.u2b($this$withContext, $completion);
|
|
2492
|
+
tmp.g9_1 = Unit_instance;
|
|
2493
|
+
tmp.h9_1 = null;
|
|
2494
|
+
return tmp.m9();
|
|
2519
2495
|
};
|
|
2520
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2521
|
-
return this.
|
|
2496
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).y9 = function (p1, $completion) {
|
|
2497
|
+
return this.q6j((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2522
2498
|
};
|
|
2523
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2524
|
-
var suspendResult = this.
|
|
2499
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).m9 = function () {
|
|
2500
|
+
var suspendResult = this.g9_1;
|
|
2525
2501
|
$sm: do
|
|
2526
2502
|
try {
|
|
2527
|
-
var tmp = this.
|
|
2503
|
+
var tmp = this.e9_1;
|
|
2528
2504
|
switch (tmp) {
|
|
2529
2505
|
case 0:
|
|
2530
|
-
this.
|
|
2531
|
-
this.
|
|
2532
|
-
this.
|
|
2533
|
-
suspendResult = this.
|
|
2506
|
+
this.f9_1 = 2;
|
|
2507
|
+
this.p6j_1 = System_instance.ik();
|
|
2508
|
+
this.e9_1 = 1;
|
|
2509
|
+
suspendResult = this.i6j_1.o6f_1.z6d(this.j6j_1, this.k6j_1, this.i6j_1.n6f_1.poolSize, this.l6j_1, new CardDecksRequestUserData(this.i6j_1.r6f_1(), this.i6j_1.n6f_1.poolSize), this.m6j_1, this);
|
|
2534
2510
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2535
2511
|
return suspendResult;
|
|
2536
2512
|
}
|
|
@@ -2538,67 +2514,67 @@
|
|
|
2538
2514
|
continue $sm;
|
|
2539
2515
|
case 1:
|
|
2540
2516
|
var result = suspendResult;
|
|
2541
|
-
var requestEndTime = System_instance.
|
|
2542
|
-
var requestDuration = requestEndTime.
|
|
2517
|
+
var requestEndTime = System_instance.ik();
|
|
2518
|
+
var requestDuration = requestEndTime.il(this.p6j_1);
|
|
2543
2519
|
Companion_getInstance_0();
|
|
2544
|
-
var this_0 = this.
|
|
2520
|
+
var this_0 = this.n6j_1;
|
|
2545
2521
|
if (Duration__compareTo_impl_pchp0f(requestDuration, toDuration(this_0, DurationUnit_MILLISECONDS_getInstance())) > 0) {
|
|
2546
2522
|
var tmp_0 = 'actual = ' + Duration__toString_impl_8d916b(requestDuration) + ', ';
|
|
2547
2523
|
Companion_getInstance_0();
|
|
2548
|
-
var this_1 = this.
|
|
2549
|
-
this.
|
|
2524
|
+
var this_1 = this.n6j_1;
|
|
2525
|
+
this.i6j_1.p6f_1.w('RandomPoolProvider', 'Card deck request took longer then expected: ' + tmp_0 + ('expected = ' + Duration__toString_impl_8d916b(toDuration(this_1, DurationUnit_MILLISECONDS_getInstance()))));
|
|
2550
2526
|
}
|
|
2551
2527
|
|
|
2552
2528
|
return new RandomPoolValue(result);
|
|
2553
2529
|
case 2:
|
|
2554
|
-
throw this.
|
|
2530
|
+
throw this.h9_1;
|
|
2555
2531
|
}
|
|
2556
2532
|
} catch ($p) {
|
|
2557
2533
|
var e = $p;
|
|
2558
|
-
if (this.
|
|
2534
|
+
if (this.f9_1 === 2) {
|
|
2559
2535
|
throw e;
|
|
2560
2536
|
} else {
|
|
2561
|
-
this.
|
|
2562
|
-
this.
|
|
2537
|
+
this.e9_1 = this.f9_1;
|
|
2538
|
+
this.h9_1 = e;
|
|
2563
2539
|
}
|
|
2564
2540
|
}
|
|
2565
2541
|
while (true);
|
|
2566
2542
|
};
|
|
2567
|
-
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).
|
|
2568
|
-
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.
|
|
2569
|
-
i.
|
|
2543
|
+
protoOf(RandomPoolProviderImpl$requestNewPool$slambda).u2b = function ($this$withContext, completion) {
|
|
2544
|
+
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this.i6j_1, this.j6j_1, this.k6j_1, this.l6j_1, this.m6j_1, this.n6j_1, completion);
|
|
2545
|
+
i.o6j_1 = $this$withContext;
|
|
2570
2546
|
return i;
|
|
2571
2547
|
};
|
|
2572
2548
|
function RandomPoolProviderImpl$requestNewPool$slambda_0(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation) {
|
|
2573
2549
|
var i = new RandomPoolProviderImpl$requestNewPool$slambda(this$0, $min, $max, $cardsCount, $signed, $requestDurationWarnMillis, resultContinuation);
|
|
2574
2550
|
var l = function ($this$withContext, $completion) {
|
|
2575
|
-
return i.
|
|
2551
|
+
return i.q6j($this$withContext, $completion);
|
|
2576
2552
|
};
|
|
2577
2553
|
l.$arity = 1;
|
|
2578
2554
|
return l;
|
|
2579
2555
|
}
|
|
2580
2556
|
function $getOrLoadGameCardDeckDataCOROUTINE$(_this__u8e3s4, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
|
|
2581
2557
|
CoroutineImpl.call(this, resultContinuation);
|
|
2582
|
-
this.
|
|
2583
|
-
this.
|
|
2584
|
-
this.
|
|
2585
|
-
this.
|
|
2586
|
-
this.
|
|
2587
|
-
this.
|
|
2588
|
-
this.
|
|
2589
|
-
this.
|
|
2590
|
-
}
|
|
2591
|
-
protoOf($getOrLoadGameCardDeckDataCOROUTINE$).
|
|
2592
|
-
var suspendResult = this.
|
|
2558
|
+
this.f6g_1 = _this__u8e3s4;
|
|
2559
|
+
this.g6g_1 = minRoundsCountInPool;
|
|
2560
|
+
this.h6g_1 = userData;
|
|
2561
|
+
this.i6g_1 = min;
|
|
2562
|
+
this.j6g_1 = max;
|
|
2563
|
+
this.k6g_1 = cardsCount;
|
|
2564
|
+
this.l6g_1 = signed;
|
|
2565
|
+
this.m6g_1 = requestDurationWarnMillis;
|
|
2566
|
+
}
|
|
2567
|
+
protoOf($getOrLoadGameCardDeckDataCOROUTINE$).m9 = function () {
|
|
2568
|
+
var suspendResult = this.g9_1;
|
|
2593
2569
|
$sm: do
|
|
2594
2570
|
try {
|
|
2595
|
-
var tmp = this.
|
|
2571
|
+
var tmp = this.e9_1;
|
|
2596
2572
|
switch (tmp) {
|
|
2597
2573
|
case 0:
|
|
2598
|
-
this.
|
|
2599
|
-
var tmp0_gameId = this.
|
|
2600
|
-
this.
|
|
2601
|
-
suspendResult = getPreparedOrRequestPool(this.
|
|
2574
|
+
this.f9_1 = 2;
|
|
2575
|
+
var tmp0_gameId = this.h6g_1.gameId;
|
|
2576
|
+
this.e9_1 = 1;
|
|
2577
|
+
suspendResult = getPreparedOrRequestPool(this.f6g_1, tmp0_gameId, this.i6g_1, this.j6g_1, this.g6g_1, this.k6g_1, this.l6g_1, this.m6g_1, this);
|
|
2602
2578
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2603
2579
|
return suspendResult;
|
|
2604
2580
|
}
|
|
@@ -2606,84 +2582,84 @@
|
|
|
2606
2582
|
continue $sm;
|
|
2607
2583
|
case 1:
|
|
2608
2584
|
var randomPoolValue = suspendResult;
|
|
2609
|
-
var tmp0 = this.
|
|
2610
|
-
var key = randomPoolValue.
|
|
2611
|
-
tmp0.
|
|
2612
|
-
var cardDeckData = randomPoolValue.
|
|
2613
|
-
var tmp1_poolId = randomPoolValue.
|
|
2614
|
-
var tmp2_signature = randomPoolValue.
|
|
2615
|
-
var cardDecksRecord = getPreparedGameCardDecksRecord(this.
|
|
2616
|
-
var tmp0_0 = this.
|
|
2617
|
-
var key_0 = this.
|
|
2618
|
-
tmp0_0.
|
|
2585
|
+
var tmp0 = this.f6g_1.t6f_1;
|
|
2586
|
+
var key = randomPoolValue.w6i_1.g6b_1;
|
|
2587
|
+
tmp0.g3(key, randomPoolValue);
|
|
2588
|
+
var cardDeckData = randomPoolValue.r6j(this.h6g_1.gameId);
|
|
2589
|
+
var tmp1_poolId = randomPoolValue.w6i_1.g6b_1;
|
|
2590
|
+
var tmp2_signature = randomPoolValue.w6i_1.h6b_1;
|
|
2591
|
+
var cardDecksRecord = getPreparedGameCardDecksRecord(this.f6g_1, tmp1_poolId, tmp2_signature, cardDeckData, this.h6g_1);
|
|
2592
|
+
var tmp0_0 = this.f6g_1.u6f_1;
|
|
2593
|
+
var key_0 = this.h6g_1.gameId;
|
|
2594
|
+
tmp0_0.g3(key_0, cardDecksRecord);
|
|
2619
2595
|
return cardDeckData;
|
|
2620
2596
|
case 2:
|
|
2621
|
-
throw this.
|
|
2597
|
+
throw this.h9_1;
|
|
2622
2598
|
}
|
|
2623
2599
|
} catch ($p) {
|
|
2624
2600
|
var e = $p;
|
|
2625
|
-
if (this.
|
|
2601
|
+
if (this.f9_1 === 2) {
|
|
2626
2602
|
throw e;
|
|
2627
2603
|
} else {
|
|
2628
|
-
this.
|
|
2629
|
-
this.
|
|
2604
|
+
this.e9_1 = this.f9_1;
|
|
2605
|
+
this.h9_1 = e;
|
|
2630
2606
|
}
|
|
2631
2607
|
}
|
|
2632
2608
|
while (true);
|
|
2633
2609
|
};
|
|
2634
2610
|
function $getPreparedOrRequestPoolCOROUTINE$(_this__u8e3s4, gameId, min, max, minRoundsCount, cardsCount, signed, requestDurationWarnMillis, resultContinuation) {
|
|
2635
2611
|
CoroutineImpl.call(this, resultContinuation);
|
|
2636
|
-
this.
|
|
2637
|
-
this.
|
|
2638
|
-
this.
|
|
2639
|
-
this.
|
|
2640
|
-
this.
|
|
2641
|
-
this.
|
|
2642
|
-
this.
|
|
2643
|
-
this.
|
|
2644
|
-
}
|
|
2645
|
-
protoOf($getPreparedOrRequestPoolCOROUTINE$).
|
|
2646
|
-
var suspendResult = this.
|
|
2612
|
+
this.v6g_1 = _this__u8e3s4;
|
|
2613
|
+
this.w6g_1 = gameId;
|
|
2614
|
+
this.x6g_1 = min;
|
|
2615
|
+
this.y6g_1 = max;
|
|
2616
|
+
this.z6g_1 = minRoundsCount;
|
|
2617
|
+
this.a6h_1 = cardsCount;
|
|
2618
|
+
this.b6h_1 = signed;
|
|
2619
|
+
this.c6h_1 = requestDurationWarnMillis;
|
|
2620
|
+
}
|
|
2621
|
+
protoOf($getPreparedOrRequestPoolCOROUTINE$).m9 = function () {
|
|
2622
|
+
var suspendResult = this.g9_1;
|
|
2647
2623
|
$sm: do
|
|
2648
2624
|
try {
|
|
2649
|
-
var tmp = this.
|
|
2625
|
+
var tmp = this.e9_1;
|
|
2650
2626
|
switch (tmp) {
|
|
2651
2627
|
case 0:
|
|
2652
|
-
this.
|
|
2653
|
-
var tmp0 = this.
|
|
2628
|
+
this.f9_1 = 2;
|
|
2629
|
+
var tmp0 = this.v6g_1.t6f_1;
|
|
2654
2630
|
var destination = LinkedHashMap_init_$Create$();
|
|
2655
|
-
var _iterator__ex2g4s = tmp0.
|
|
2656
|
-
while (_iterator__ex2g4s.
|
|
2657
|
-
var element = _iterator__ex2g4s.
|
|
2658
|
-
var tmp0_0 = element.
|
|
2659
|
-
var key = this.
|
|
2660
|
-
if ((isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).
|
|
2661
|
-
destination.
|
|
2631
|
+
var _iterator__ex2g4s = tmp0.m1().t();
|
|
2632
|
+
while (_iterator__ex2g4s.u()) {
|
|
2633
|
+
var element = _iterator__ex2g4s.v();
|
|
2634
|
+
var tmp0_0 = element.o1().x6i_1;
|
|
2635
|
+
var key = this.w6g_1;
|
|
2636
|
+
if ((isInterface(tmp0_0, KtMap) ? tmp0_0 : THROW_CCE()).t2(key)) {
|
|
2637
|
+
destination.g3(element.n1(), element.o1());
|
|
2662
2638
|
}
|
|
2663
2639
|
}
|
|
2664
2640
|
|
|
2665
|
-
var usedResultEntry = firstOrNull(destination.
|
|
2641
|
+
var usedResultEntry = firstOrNull(destination.m1());
|
|
2666
2642
|
if (!(usedResultEntry == null)) {
|
|
2667
|
-
return usedResultEntry.
|
|
2643
|
+
return usedResultEntry.o1().s6j(this.w6g_1);
|
|
2668
2644
|
}
|
|
2669
2645
|
|
|
2670
|
-
var tmp0_1 = this.
|
|
2646
|
+
var tmp0_1 = this.v6g_1.t6f_1;
|
|
2671
2647
|
var destination_0 = LinkedHashMap_init_$Create$();
|
|
2672
|
-
var _iterator__ex2g4s_0 = tmp0_1.
|
|
2673
|
-
while (_iterator__ex2g4s_0.
|
|
2674
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
2675
|
-
if (element_0.
|
|
2676
|
-
destination_0.
|
|
2648
|
+
var _iterator__ex2g4s_0 = tmp0_1.m1().t();
|
|
2649
|
+
while (_iterator__ex2g4s_0.u()) {
|
|
2650
|
+
var element_0 = _iterator__ex2g4s_0.v();
|
|
2651
|
+
if (element_0.o1().t6j(this.z6g_1)) {
|
|
2652
|
+
destination_0.g3(element_0.n1(), element_0.o1());
|
|
2677
2653
|
}
|
|
2678
2654
|
}
|
|
2679
2655
|
|
|
2680
|
-
var availableResultEntry = firstOrNull(destination_0.
|
|
2656
|
+
var availableResultEntry = firstOrNull(destination_0.m1());
|
|
2681
2657
|
if (!(availableResultEntry == null)) {
|
|
2682
|
-
return availableResultEntry.
|
|
2658
|
+
return availableResultEntry.o1().u6j(this.w6g_1, this.z6g_1, this.v6g_1.n6f_1.thresholdForUsedPool);
|
|
2683
2659
|
}
|
|
2684
2660
|
|
|
2685
|
-
this.
|
|
2686
|
-
suspendResult = requestNewPool(this.
|
|
2661
|
+
this.e9_1 = 1;
|
|
2662
|
+
suspendResult = requestNewPool(this.v6g_1, this.x6g_1, this.y6g_1, this.a6h_1, this.b6h_1, this.c6h_1, this);
|
|
2687
2663
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2688
2664
|
return suspendResult;
|
|
2689
2665
|
}
|
|
@@ -2691,23 +2667,23 @@
|
|
|
2691
2667
|
continue $sm;
|
|
2692
2668
|
case 1:
|
|
2693
2669
|
var cardDecks = suspendResult;
|
|
2694
|
-
return cardDecks.
|
|
2670
|
+
return cardDecks.u6j(this.w6g_1, this.z6g_1, this.v6g_1.n6f_1.thresholdForUsedPool);
|
|
2695
2671
|
case 2:
|
|
2696
|
-
throw this.
|
|
2672
|
+
throw this.h9_1;
|
|
2697
2673
|
}
|
|
2698
2674
|
} catch ($p) {
|
|
2699
2675
|
var e = $p;
|
|
2700
|
-
if (this.
|
|
2676
|
+
if (this.f9_1 === 2) {
|
|
2701
2677
|
throw e;
|
|
2702
2678
|
} else {
|
|
2703
|
-
this.
|
|
2704
|
-
this.
|
|
2679
|
+
this.e9_1 = this.f9_1;
|
|
2680
|
+
this.h9_1 = e;
|
|
2705
2681
|
}
|
|
2706
2682
|
}
|
|
2707
2683
|
while (true);
|
|
2708
2684
|
};
|
|
2709
2685
|
function RandomPoolProviderImpl(params, randomOrgApiService, logger, dispatcher, idsProvider) {
|
|
2710
|
-
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().
|
|
2686
|
+
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().h1y_1 : dispatcher;
|
|
2711
2687
|
var tmp;
|
|
2712
2688
|
if (idsProvider === VOID) {
|
|
2713
2689
|
tmp = RandomPoolProviderImpl$_init_$lambda_f6qzy3;
|
|
@@ -2715,137 +2691,137 @@
|
|
|
2715
2691
|
tmp = idsProvider;
|
|
2716
2692
|
}
|
|
2717
2693
|
idsProvider = tmp;
|
|
2718
|
-
this.
|
|
2719
|
-
this.
|
|
2720
|
-
this.
|
|
2721
|
-
this.
|
|
2722
|
-
this.
|
|
2723
|
-
this.
|
|
2694
|
+
this.n6f_1 = params;
|
|
2695
|
+
this.o6f_1 = randomOrgApiService;
|
|
2696
|
+
this.p6f_1 = logger;
|
|
2697
|
+
this.q6f_1 = dispatcher;
|
|
2698
|
+
this.r6f_1 = idsProvider;
|
|
2699
|
+
this.s6f_1 = Mutex();
|
|
2724
2700
|
var tmp_0 = this;
|
|
2725
2701
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2726
|
-
tmp_0.
|
|
2702
|
+
tmp_0.t6f_1 = LinkedHashMap_init_$Create$();
|
|
2727
2703
|
var tmp_1 = this;
|
|
2728
2704
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2729
|
-
tmp_1.
|
|
2730
|
-
this.
|
|
2731
|
-
this.
|
|
2705
|
+
tmp_1.u6f_1 = LinkedHashMap_init_$Create$();
|
|
2706
|
+
this.v6f_1 = null;
|
|
2707
|
+
this.w6f_1 = 0;
|
|
2732
2708
|
}
|
|
2733
|
-
protoOf(RandomPoolProviderImpl).
|
|
2734
|
-
var tmp = withContext(this.
|
|
2709
|
+
protoOf(RandomPoolProviderImpl).j6f = function (minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2710
|
+
var tmp = withContext(this.q6f_1, RandomPoolProviderImpl$getCardDeck$slambda_0(this, minRoundsCountInPool, userData, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2735
2711
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
2736
2712
|
return tmp;
|
|
2737
2713
|
return tmp;
|
|
2738
2714
|
};
|
|
2739
|
-
protoOf(RandomPoolProviderImpl).
|
|
2740
|
-
var tmp = withContext(this.
|
|
2715
|
+
protoOf(RandomPoolProviderImpl).l6f = function (min, max, cardsCount, signed, requestDurationWarnMillis, $completion) {
|
|
2716
|
+
var tmp = withContext(this.q6f_1, RandomPoolProviderImpl$prefetchCardDecks$slambda_0(this, min, max, cardsCount, signed, requestDurationWarnMillis, null), $completion);
|
|
2741
2717
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
2742
2718
|
return tmp;
|
|
2743
2719
|
return tmp;
|
|
2744
2720
|
};
|
|
2745
|
-
protoOf(RandomPoolProviderImpl).
|
|
2746
|
-
return this.
|
|
2721
|
+
protoOf(RandomPoolProviderImpl).v6j = function (gameId) {
|
|
2722
|
+
return this.u6f_1.v2(gameId);
|
|
2747
2723
|
};
|
|
2748
2724
|
protoOf(RandomPoolProviderImpl).getGame = function (gameId) {
|
|
2749
|
-
return this.
|
|
2725
|
+
return this.v6j(gameId);
|
|
2750
2726
|
};
|
|
2751
|
-
protoOf(RandomPoolProviderImpl).
|
|
2752
|
-
return this.
|
|
2727
|
+
protoOf(RandomPoolProviderImpl).w6j = function (id) {
|
|
2728
|
+
return this.t6f_1.v2(id);
|
|
2753
2729
|
};
|
|
2754
2730
|
protoOf(RandomPoolProviderImpl).getRandomPool = function (id) {
|
|
2755
|
-
return this.
|
|
2731
|
+
return this.w6j(id);
|
|
2756
2732
|
};
|
|
2757
|
-
protoOf(RandomPoolProviderImpl).
|
|
2758
|
-
return this.
|
|
2733
|
+
protoOf(RandomPoolProviderImpl).x6j = function () {
|
|
2734
|
+
return this.t6f_1.g1();
|
|
2759
2735
|
};
|
|
2760
2736
|
protoOf(RandomPoolProviderImpl).getRandomPoolsCount = function () {
|
|
2761
|
-
return this.
|
|
2737
|
+
return this.x6j();
|
|
2762
2738
|
};
|
|
2763
|
-
protoOf(RandomPoolProviderImpl).
|
|
2764
|
-
var gameCardDecksRecord = this.
|
|
2739
|
+
protoOf(RandomPoolProviderImpl).m6f = function (gameId) {
|
|
2740
|
+
var gameCardDecksRecord = this.u6f_1.v2(gameId);
|
|
2765
2741
|
if (!(gameCardDecksRecord == null)) {
|
|
2766
|
-
var randomPoolValue = this.
|
|
2742
|
+
var randomPoolValue = this.t6f_1.v2(gameCardDecksRecord.poolId);
|
|
2767
2743
|
if (!(randomPoolValue == null)) {
|
|
2768
2744
|
// Inline function 'kotlin.apply' call
|
|
2769
|
-
var this_0 = toMutableMap(randomPoolValue.
|
|
2770
|
-
this_0.
|
|
2771
|
-
var newPoolValue = randomPoolValue.
|
|
2772
|
-
if (newPoolValue.
|
|
2773
|
-
this.
|
|
2745
|
+
var this_0 = toMutableMap(randomPoolValue.x6i_1);
|
|
2746
|
+
this_0.h3(gameId);
|
|
2747
|
+
var newPoolValue = randomPoolValue.y6j(VOID, toMap(this_0));
|
|
2748
|
+
if (newPoolValue.x6i_1.r()) {
|
|
2749
|
+
this.t6f_1.h3(gameCardDecksRecord.poolId);
|
|
2774
2750
|
} else {
|
|
2775
|
-
var tmp0 = this.
|
|
2751
|
+
var tmp0 = this.t6f_1;
|
|
2776
2752
|
// Inline function 'kotlin.collections.set' call
|
|
2777
2753
|
var key = gameCardDecksRecord.poolId;
|
|
2778
|
-
tmp0.
|
|
2754
|
+
tmp0.g3(key, newPoolValue);
|
|
2779
2755
|
}
|
|
2780
2756
|
}
|
|
2781
2757
|
}
|
|
2782
|
-
this.
|
|
2758
|
+
this.u6f_1.h3(gameId);
|
|
2783
2759
|
};
|
|
2784
2760
|
function _get_cardDecksCount__ihvb5i($this) {
|
|
2785
|
-
return $this.
|
|
2761
|
+
return $this.w6i_1.e6b_1.g1();
|
|
2786
2762
|
}
|
|
2787
2763
|
function RandomPoolValue(randomResult, usedByGames, reservedCardDecks, isUsed) {
|
|
2788
2764
|
usedByGames = usedByGames === VOID ? emptyMap() : usedByGames;
|
|
2789
2765
|
reservedCardDecks = reservedCardDecks === VOID ? 0 : reservedCardDecks;
|
|
2790
2766
|
isUsed = isUsed === VOID ? false : isUsed;
|
|
2791
|
-
this.
|
|
2792
|
-
this.
|
|
2793
|
-
this.
|
|
2794
|
-
this.
|
|
2767
|
+
this.w6i_1 = randomResult;
|
|
2768
|
+
this.x6i_1 = usedByGames;
|
|
2769
|
+
this.y6i_1 = reservedCardDecks;
|
|
2770
|
+
this.z6i_1 = isUsed;
|
|
2795
2771
|
}
|
|
2796
|
-
protoOf(RandomPoolValue).
|
|
2797
|
-
if (this.
|
|
2772
|
+
protoOf(RandomPoolValue).t6j = function (minRoundsCount) {
|
|
2773
|
+
if (this.z6i_1) {
|
|
2798
2774
|
return false;
|
|
2799
2775
|
}
|
|
2800
|
-
var availableCount = _get_cardDecksCount__ihvb5i(this) - this.
|
|
2776
|
+
var availableCount = _get_cardDecksCount__ihvb5i(this) - this.y6i_1 | 0;
|
|
2801
2777
|
return availableCount >= minRoundsCount;
|
|
2802
2778
|
};
|
|
2803
|
-
protoOf(RandomPoolValue).
|
|
2804
|
-
var previousReservedCardDeckIndex = this.
|
|
2779
|
+
protoOf(RandomPoolValue).u6j = function (gameId, requestedCardDecks, thresholdForUsedPool) {
|
|
2780
|
+
var previousReservedCardDeckIndex = this.y6i_1;
|
|
2805
2781
|
// Inline function 'kotlin.apply' call
|
|
2806
|
-
var this_0 = toMutableMap(this.
|
|
2807
|
-
this_0.
|
|
2782
|
+
var this_0 = toMutableMap(this.x6i_1);
|
|
2783
|
+
this_0.g3(gameId, previousReservedCardDeckIndex);
|
|
2808
2784
|
var newNewUsedBy = toMap(this_0);
|
|
2809
2785
|
var newReservedCardDecks = previousReservedCardDeckIndex + requestedCardDecks | 0;
|
|
2810
|
-
return this.
|
|
2786
|
+
return this.y6j(VOID, newNewUsedBy, newReservedCardDecks, (newReservedCardDecks + thresholdForUsedPool | 0) > _get_cardDecksCount__ihvb5i(this));
|
|
2811
2787
|
};
|
|
2812
|
-
protoOf(RandomPoolValue).
|
|
2813
|
-
var currentCardDeckIndex = getValue(this.
|
|
2788
|
+
protoOf(RandomPoolValue).s6j = function (gameId) {
|
|
2789
|
+
var currentCardDeckIndex = getValue(this.x6i_1, gameId);
|
|
2814
2790
|
var tmp;
|
|
2815
|
-
if (currentCardDeckIndex === get_lastIndex(this.
|
|
2791
|
+
if (currentCardDeckIndex === get_lastIndex(this.w6i_1.e6b_1)) {
|
|
2816
2792
|
tmp = 0;
|
|
2817
2793
|
} else {
|
|
2818
2794
|
tmp = currentCardDeckIndex + 1 | 0;
|
|
2819
2795
|
}
|
|
2820
2796
|
var newCardDeckIndex = tmp;
|
|
2821
2797
|
// Inline function 'kotlin.apply' call
|
|
2822
|
-
var this_0 = toMutableMap(this.
|
|
2823
|
-
this_0.
|
|
2798
|
+
var this_0 = toMutableMap(this.x6i_1);
|
|
2799
|
+
this_0.g3(gameId, newCardDeckIndex);
|
|
2824
2800
|
var newNewUsedBy = toMap(this_0);
|
|
2825
|
-
return this.
|
|
2801
|
+
return this.y6j(VOID, newNewUsedBy);
|
|
2826
2802
|
};
|
|
2827
|
-
protoOf(RandomPoolValue).
|
|
2828
|
-
var index = getValue(this.
|
|
2829
|
-
return new GameCardDeckData(index, this.
|
|
2803
|
+
protoOf(RandomPoolValue).r6j = function (gameId) {
|
|
2804
|
+
var index = getValue(this.x6i_1, gameId);
|
|
2805
|
+
return new GameCardDeckData(index, this.w6i_1.e6b_1.h1(index));
|
|
2830
2806
|
};
|
|
2831
|
-
protoOf(RandomPoolValue).
|
|
2807
|
+
protoOf(RandomPoolValue).z6j = function (randomResult, usedByGames, reservedCardDecks, isUsed) {
|
|
2832
2808
|
return new RandomPoolValue(randomResult, usedByGames, reservedCardDecks, isUsed);
|
|
2833
2809
|
};
|
|
2834
|
-
protoOf(RandomPoolValue).
|
|
2835
|
-
randomResult = randomResult === VOID ? this.
|
|
2836
|
-
usedByGames = usedByGames === VOID ? this.
|
|
2837
|
-
reservedCardDecks = reservedCardDecks === VOID ? this.
|
|
2838
|
-
isUsed = isUsed === VOID ? this.
|
|
2839
|
-
return $super === VOID ? this.
|
|
2810
|
+
protoOf(RandomPoolValue).y6j = function (randomResult, usedByGames, reservedCardDecks, isUsed, $super) {
|
|
2811
|
+
randomResult = randomResult === VOID ? this.w6i_1 : randomResult;
|
|
2812
|
+
usedByGames = usedByGames === VOID ? this.x6i_1 : usedByGames;
|
|
2813
|
+
reservedCardDecks = reservedCardDecks === VOID ? this.y6i_1 : reservedCardDecks;
|
|
2814
|
+
isUsed = isUsed === VOID ? this.z6i_1 : isUsed;
|
|
2815
|
+
return $super === VOID ? this.z6j(randomResult, usedByGames, reservedCardDecks, isUsed) : $super.z6j.call(this, randomResult, usedByGames, reservedCardDecks, isUsed);
|
|
2840
2816
|
};
|
|
2841
2817
|
protoOf(RandomPoolValue).toString = function () {
|
|
2842
|
-
return 'RandomPoolValue(randomResult=' + this.
|
|
2818
|
+
return 'RandomPoolValue(randomResult=' + this.w6i_1.toString() + ', usedByGames=' + toString(this.x6i_1) + ', reservedCardDecks=' + this.y6i_1 + ', isUsed=' + this.z6i_1 + ')';
|
|
2843
2819
|
};
|
|
2844
2820
|
protoOf(RandomPoolValue).hashCode = function () {
|
|
2845
|
-
var result = this.
|
|
2846
|
-
result = imul(result, 31) + hashCode(this.
|
|
2847
|
-
result = imul(result, 31) + this.
|
|
2848
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2821
|
+
var result = this.w6i_1.hashCode();
|
|
2822
|
+
result = imul(result, 31) + hashCode(this.x6i_1) | 0;
|
|
2823
|
+
result = imul(result, 31) + this.y6i_1 | 0;
|
|
2824
|
+
result = imul(result, 31) + getBooleanHashCode(this.z6i_1) | 0;
|
|
2849
2825
|
return result;
|
|
2850
2826
|
};
|
|
2851
2827
|
protoOf(RandomPoolValue).equals = function (other) {
|
|
@@ -2853,35 +2829,34 @@
|
|
|
2853
2829
|
return true;
|
|
2854
2830
|
if (!(other instanceof RandomPoolValue))
|
|
2855
2831
|
return false;
|
|
2856
|
-
|
|
2857
|
-
if (!this.u5r_1.equals(tmp0_other_with_cast.u5r_1))
|
|
2832
|
+
if (!this.w6i_1.equals(other.w6i_1))
|
|
2858
2833
|
return false;
|
|
2859
|
-
if (!equals(this.
|
|
2834
|
+
if (!equals(this.x6i_1, other.x6i_1))
|
|
2860
2835
|
return false;
|
|
2861
|
-
if (!(this.
|
|
2836
|
+
if (!(this.y6i_1 === other.y6i_1))
|
|
2862
2837
|
return false;
|
|
2863
|
-
if (!(this.
|
|
2838
|
+
if (!(this.z6i_1 === other.z6i_1))
|
|
2864
2839
|
return false;
|
|
2865
2840
|
return true;
|
|
2866
2841
|
};
|
|
2867
2842
|
function ApiCommonConfigs$setupJsonDefaultRequest$lambda($url) {
|
|
2868
2843
|
return function ($this$defaultRequest) {
|
|
2869
2844
|
header($this$defaultRequest, 'Content-Type', 'application/json');
|
|
2870
|
-
$this$defaultRequest.
|
|
2845
|
+
$this$defaultRequest.e4e($url);
|
|
2871
2846
|
return Unit_instance;
|
|
2872
2847
|
};
|
|
2873
2848
|
}
|
|
2874
2849
|
function ApiCommonConfigs$setupLogging$2$1($externalLogger) {
|
|
2875
|
-
this.
|
|
2850
|
+
this.a6k_1 = $externalLogger;
|
|
2876
2851
|
}
|
|
2877
|
-
protoOf(ApiCommonConfigs$setupLogging$2$1).
|
|
2878
|
-
this.
|
|
2852
|
+
protoOf(ApiCommonConfigs$setupLogging$2$1).x5o = function (message) {
|
|
2853
|
+
this.a6k_1(message);
|
|
2879
2854
|
};
|
|
2880
2855
|
function ApiCommonConfigs$setupLogging$lambda($config, $externalLogger) {
|
|
2881
2856
|
return function ($this$install) {
|
|
2882
|
-
$this$install.
|
|
2883
|
-
$this$install.
|
|
2884
|
-
$this$install.
|
|
2857
|
+
$this$install.o5q(get_DEFAULT(Companion_instance_0));
|
|
2858
|
+
$this$install.n5q_1 = $config.d6k_1;
|
|
2859
|
+
$this$install.o5q(new ApiCommonConfigs$setupLogging$2$1($externalLogger));
|
|
2885
2860
|
return Unit_instance;
|
|
2886
2861
|
};
|
|
2887
2862
|
}
|
|
@@ -2893,32 +2868,32 @@
|
|
|
2893
2868
|
}
|
|
2894
2869
|
function ApiCommonConfigs() {
|
|
2895
2870
|
}
|
|
2896
|
-
protoOf(ApiCommonConfigs).
|
|
2897
|
-
_this__u8e3s4.
|
|
2898
|
-
this.
|
|
2899
|
-
this.
|
|
2900
|
-
this.
|
|
2871
|
+
protoOf(ApiCommonConfigs).f6k = function (_this__u8e3s4, config, externalLogger) {
|
|
2872
|
+
_this__u8e3s4.b45_1 = true;
|
|
2873
|
+
this.g6k(_this__u8e3s4, config.b6k_1);
|
|
2874
|
+
this.h6k(_this__u8e3s4, config.e6k_1);
|
|
2875
|
+
this.i6k(_this__u8e3s4, config, externalLogger);
|
|
2901
2876
|
};
|
|
2902
|
-
protoOf(ApiCommonConfigs).
|
|
2877
|
+
protoOf(ApiCommonConfigs).g6k = function (_this__u8e3s4, url) {
|
|
2903
2878
|
defaultRequest(_this__u8e3s4, ApiCommonConfigs$setupJsonDefaultRequest$lambda(url));
|
|
2904
2879
|
};
|
|
2905
|
-
protoOf(ApiCommonConfigs).
|
|
2906
|
-
var tmp =
|
|
2907
|
-
_this__u8e3s4.
|
|
2880
|
+
protoOf(ApiCommonConfigs).i6k = function (_this__u8e3s4, config, externalLogger) {
|
|
2881
|
+
var tmp = get_Logging();
|
|
2882
|
+
_this__u8e3s4.p45(tmp, ApiCommonConfigs$setupLogging$lambda(config, externalLogger));
|
|
2908
2883
|
};
|
|
2909
|
-
protoOf(ApiCommonConfigs).
|
|
2910
|
-
var tmp =
|
|
2911
|
-
_this__u8e3s4.
|
|
2884
|
+
protoOf(ApiCommonConfigs).h6k = function (_this__u8e3s4, json) {
|
|
2885
|
+
var tmp = get_ContentNegotiation();
|
|
2886
|
+
_this__u8e3s4.p45(tmp, ApiCommonConfigs$setupContentNegotiation$lambda(json));
|
|
2912
2887
|
};
|
|
2913
2888
|
var ApiCommonConfigs_instance;
|
|
2914
2889
|
function ApiCommonConfigs_getInstance() {
|
|
2915
2890
|
return ApiCommonConfigs_instance;
|
|
2916
2891
|
}
|
|
2917
2892
|
function HttpParams$_init_$lambda_l7stpf($this$Json) {
|
|
2918
|
-
$this$Json.
|
|
2919
|
-
$this$Json.
|
|
2920
|
-
$this$Json.
|
|
2921
|
-
$this$Json.
|
|
2893
|
+
$this$Json.n5c_1 = true;
|
|
2894
|
+
$this$Json.m5c_1 = true;
|
|
2895
|
+
$this$Json.l5c_1 = true;
|
|
2896
|
+
$this$Json.k5c_1 = false;
|
|
2922
2897
|
return Unit_instance;
|
|
2923
2898
|
}
|
|
2924
2899
|
function HttpParams(baseUrl, timeoutMillis, loggingLevel, json) {
|
|
@@ -2931,19 +2906,19 @@
|
|
|
2931
2906
|
tmp = json;
|
|
2932
2907
|
}
|
|
2933
2908
|
json = tmp;
|
|
2934
|
-
this.
|
|
2935
|
-
this.
|
|
2936
|
-
this.
|
|
2937
|
-
this.
|
|
2909
|
+
this.b6k_1 = baseUrl;
|
|
2910
|
+
this.c6k_1 = timeoutMillis;
|
|
2911
|
+
this.d6k_1 = loggingLevel;
|
|
2912
|
+
this.e6k_1 = json;
|
|
2938
2913
|
}
|
|
2939
2914
|
protoOf(HttpParams).toString = function () {
|
|
2940
|
-
return 'HttpParams(baseUrl=' + this.
|
|
2915
|
+
return 'HttpParams(baseUrl=' + this.b6k_1 + ', timeoutMillis=' + this.c6k_1.toString() + ', loggingLevel=' + this.d6k_1.toString() + ', json=' + toString(this.e6k_1) + ')';
|
|
2941
2916
|
};
|
|
2942
2917
|
protoOf(HttpParams).hashCode = function () {
|
|
2943
|
-
var result = getStringHashCode(this.
|
|
2944
|
-
result = imul(result, 31) + this.
|
|
2945
|
-
result = imul(result, 31) + this.
|
|
2946
|
-
result = imul(result, 31) + hashCode(this.
|
|
2918
|
+
var result = getStringHashCode(this.b6k_1);
|
|
2919
|
+
result = imul(result, 31) + this.c6k_1.hashCode() | 0;
|
|
2920
|
+
result = imul(result, 31) + this.d6k_1.hashCode() | 0;
|
|
2921
|
+
result = imul(result, 31) + hashCode(this.e6k_1) | 0;
|
|
2947
2922
|
return result;
|
|
2948
2923
|
};
|
|
2949
2924
|
protoOf(HttpParams).equals = function (other) {
|
|
@@ -2951,14 +2926,13 @@
|
|
|
2951
2926
|
return true;
|
|
2952
2927
|
if (!(other instanceof HttpParams))
|
|
2953
2928
|
return false;
|
|
2954
|
-
|
|
2955
|
-
if (!(this.z5s_1 === tmp0_other_with_cast.z5s_1))
|
|
2929
|
+
if (!(this.b6k_1 === other.b6k_1))
|
|
2956
2930
|
return false;
|
|
2957
|
-
if (!equalsLong(this.
|
|
2931
|
+
if (!equalsLong(this.c6k_1, other.c6k_1))
|
|
2958
2932
|
return false;
|
|
2959
|
-
if (!this.
|
|
2933
|
+
if (!this.d6k_1.equals(other.d6k_1))
|
|
2960
2934
|
return false;
|
|
2961
|
-
if (!equals(this.
|
|
2935
|
+
if (!equals(this.e6k_1, other.e6k_1))
|
|
2962
2936
|
return false;
|
|
2963
2937
|
return true;
|
|
2964
2938
|
};
|
|
@@ -2982,12 +2956,12 @@
|
|
|
2982
2956
|
}
|
|
2983
2957
|
function nextBytesCopyTo($this, bytes) {
|
|
2984
2958
|
try {
|
|
2985
|
-
$this.
|
|
2959
|
+
$this.k6k_1.o63(bytes);
|
|
2986
2960
|
} catch ($p) {
|
|
2987
2961
|
if ($p instanceof SecRandomCopyException) {
|
|
2988
2962
|
var error = $p;
|
|
2989
|
-
$this.
|
|
2990
|
-
$this.
|
|
2963
|
+
$this.j6k_1.e('SecureGameRandom', 'nextBytesCopyTo error ' + error.toString());
|
|
2964
|
+
$this.l6k_1.vh(bytes);
|
|
2991
2965
|
return Unit_instance;
|
|
2992
2966
|
} else {
|
|
2993
2967
|
throw $p;
|
|
@@ -3011,11 +2985,11 @@
|
|
|
3011
2985
|
}
|
|
3012
2986
|
function SecureRandom_0(logger) {
|
|
3013
2987
|
logger = logger === VOID ? new PlatformRaspberryLogger() : logger;
|
|
3014
|
-
this.
|
|
3015
|
-
this.
|
|
3016
|
-
this.
|
|
2988
|
+
this.j6k_1 = logger;
|
|
2989
|
+
this.k6k_1 = new SecureRandom();
|
|
2990
|
+
this.l6k_1 = Default_getInstance();
|
|
3017
2991
|
}
|
|
3018
|
-
protoOf(SecureRandom_0).
|
|
2992
|
+
protoOf(SecureRandom_0).rh = function (from, until) {
|
|
3019
2993
|
checkRangeBounds(this, from, until);
|
|
3020
2994
|
var n = until - from | 0;
|
|
3021
2995
|
if (n > 0 || n === -2147483648) {
|
|
@@ -3042,7 +3016,7 @@
|
|
|
3042
3016
|
}
|
|
3043
3017
|
}
|
|
3044
3018
|
};
|
|
3045
|
-
protoOf(SecureRandom_0).
|
|
3019
|
+
protoOf(SecureRandom_0).uh = function () {
|
|
3046
3020
|
return !(nextBits(this, 1) === 0);
|
|
3047
3021
|
};
|
|
3048
3022
|
function CustomRandom() {
|
|
@@ -3053,31 +3027,31 @@
|
|
|
3053
3027
|
var pile = toMutableList(deck);
|
|
3054
3028
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3055
3029
|
var pile2 = ArrayList_init_$Create$_0();
|
|
3056
|
-
var twentypc = deck.
|
|
3030
|
+
var twentypc = deck.g1() / 5 | 0;
|
|
3057
3031
|
// Inline function 'kotlin.repeat' call
|
|
3058
3032
|
var inductionVariable = 0;
|
|
3059
3033
|
if (inductionVariable < iterations)
|
|
3060
3034
|
do {
|
|
3061
3035
|
var index = inductionVariable;
|
|
3062
3036
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3063
|
-
while (pile.
|
|
3064
|
-
var tmp0 = pile.
|
|
3037
|
+
while (pile.g1() > 0) {
|
|
3038
|
+
var tmp0 = pile.g1();
|
|
3065
3039
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3066
|
-
var b = 1 + random.
|
|
3040
|
+
var b = 1 + random.m6k(VOID, twentypc) | 0;
|
|
3067
3041
|
var cards = Math.min(tmp0, b);
|
|
3068
|
-
pile2.
|
|
3042
|
+
pile2.z2(0, take(pile, cards));
|
|
3069
3043
|
// Inline function 'kotlin.repeat' call
|
|
3070
3044
|
var inductionVariable_0 = 0;
|
|
3071
3045
|
if (inductionVariable_0 < cards)
|
|
3072
3046
|
do {
|
|
3073
3047
|
var index_0 = inductionVariable_0;
|
|
3074
3048
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
3075
|
-
pile.
|
|
3049
|
+
pile.e3(0);
|
|
3076
3050
|
}
|
|
3077
3051
|
while (inductionVariable_0 < cards);
|
|
3078
3052
|
}
|
|
3079
|
-
pile.
|
|
3080
|
-
pile2.
|
|
3053
|
+
pile.i1(pile2);
|
|
3054
|
+
pile2.b3();
|
|
3081
3055
|
}
|
|
3082
3056
|
while (inductionVariable < iterations);
|
|
3083
3057
|
return pile;
|
|
@@ -3092,26 +3066,26 @@
|
|
|
3092
3066
|
do {
|
|
3093
3067
|
var index = inductionVariable;
|
|
3094
3068
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3095
|
-
var mid = deck.
|
|
3069
|
+
var mid = deck.g1() / 2 | 0;
|
|
3096
3070
|
var tenpc = mid / 10 | 0;
|
|
3097
|
-
var cut = (mid - tenpc | 0) + random.
|
|
3071
|
+
var cut = (mid - tenpc | 0) + random.m6k(VOID, imul(2, tenpc) + 1 | 0) | 0;
|
|
3098
3072
|
var deck1 = toMutableList(take(pile, cut));
|
|
3099
3073
|
var deck2 = toMutableList(drop(pile, cut));
|
|
3100
|
-
pile.
|
|
3101
|
-
var fromTop = random.
|
|
3102
|
-
while (deck1.
|
|
3074
|
+
pile.b3();
|
|
3075
|
+
var fromTop = random.uh();
|
|
3076
|
+
while (deck1.g1() > 0 && deck2.g1() > 0) {
|
|
3103
3077
|
if (fromTop) {
|
|
3104
|
-
pile.
|
|
3105
|
-
pile.
|
|
3078
|
+
pile.e1(deck1.e3(0));
|
|
3079
|
+
pile.e1(deck2.e3(0));
|
|
3106
3080
|
} else {
|
|
3107
|
-
pile.
|
|
3108
|
-
pile.
|
|
3081
|
+
pile.e1(deck1.e3(get_lastIndex(deck1)));
|
|
3082
|
+
pile.e1(deck2.e3(get_lastIndex(deck2)));
|
|
3109
3083
|
}
|
|
3110
3084
|
}
|
|
3111
|
-
if (deck1.
|
|
3112
|
-
pile.
|
|
3113
|
-
} else if (deck2.
|
|
3114
|
-
pile.
|
|
3085
|
+
if (deck1.g1() > 0) {
|
|
3086
|
+
pile.i1(deck1);
|
|
3087
|
+
} else if (deck2.g1() > 0) {
|
|
3088
|
+
pile.i1(deck2);
|
|
3115
3089
|
}
|
|
3116
3090
|
reverse(pile);
|
|
3117
3091
|
}
|
|
@@ -3120,22 +3094,22 @@
|
|
|
3120
3094
|
}
|
|
3121
3095
|
function HttpFactory$provideHttpClient$lambda$lambda($config) {
|
|
3122
3096
|
return function ($this$install) {
|
|
3123
|
-
$this$install.
|
|
3124
|
-
$this$install.
|
|
3097
|
+
$this$install.s4u($config.c6k_1);
|
|
3098
|
+
$this$install.q4u($config.c6k_1);
|
|
3125
3099
|
return Unit_instance;
|
|
3126
3100
|
};
|
|
3127
3101
|
}
|
|
3128
3102
|
function HttpFactory$provideHttpClient$lambda($config, $externalLogger) {
|
|
3129
3103
|
return function ($this$HttpClient) {
|
|
3130
|
-
var tmp =
|
|
3131
|
-
$this$HttpClient.
|
|
3132
|
-
ApiCommonConfigs_instance.
|
|
3104
|
+
var tmp = get_HttpTimeout();
|
|
3105
|
+
$this$HttpClient.p45(tmp, HttpFactory$provideHttpClient$lambda$lambda($config));
|
|
3106
|
+
ApiCommonConfigs_instance.f6k($this$HttpClient, $config, $externalLogger);
|
|
3133
3107
|
return Unit_instance;
|
|
3134
3108
|
};
|
|
3135
3109
|
}
|
|
3136
3110
|
function HttpFactory() {
|
|
3137
3111
|
}
|
|
3138
|
-
protoOf(HttpFactory).
|
|
3112
|
+
protoOf(HttpFactory).o6k = function (config, externalLogger) {
|
|
3139
3113
|
var tmp = Js_instance;
|
|
3140
3114
|
return HttpClient(tmp, HttpFactory$provideHttpClient$lambda(config, externalLogger));
|
|
3141
3115
|
};
|
|
@@ -3144,15 +3118,15 @@
|
|
|
3144
3118
|
return HttpFactory_instance;
|
|
3145
3119
|
}
|
|
3146
3120
|
//region block: post-declaration
|
|
3147
|
-
protoOf($serializer).
|
|
3148
|
-
protoOf($serializer_0).
|
|
3149
|
-
protoOf($serializer_2).
|
|
3150
|
-
protoOf($serializer_3).
|
|
3151
|
-
protoOf($serializer_5).
|
|
3152
|
-
protoOf($serializer_6).
|
|
3153
|
-
protoOf(RandomPoolProviderImpl).
|
|
3154
|
-
protoOf(SecureRandom_0).
|
|
3155
|
-
protoOf(SecureRandom_0).
|
|
3121
|
+
protoOf($serializer).n10 = typeParametersSerializers;
|
|
3122
|
+
protoOf($serializer_0).n10 = typeParametersSerializers;
|
|
3123
|
+
protoOf($serializer_2).n10 = typeParametersSerializers;
|
|
3124
|
+
protoOf($serializer_3).n10 = typeParametersSerializers;
|
|
3125
|
+
protoOf($serializer_5).n10 = typeParametersSerializers;
|
|
3126
|
+
protoOf($serializer_6).n10 = typeParametersSerializers;
|
|
3127
|
+
protoOf(RandomPoolProviderImpl).k6f = getCardDeck$default;
|
|
3128
|
+
protoOf(SecureRandom_0).m6k = nextInt$default;
|
|
3129
|
+
protoOf(SecureRandom_0).n6k = shuffle;
|
|
3156
3130
|
//endregion
|
|
3157
3131
|
//region block: init
|
|
3158
3132
|
Companion_instance_1 = new Companion();
|
|
@@ -3183,7 +3157,7 @@
|
|
|
3183
3157
|
var $games$raspberry$card_game$random$data = $games$raspberry$card_game$random.data || ($games$raspberry$card_game$random.data = {});
|
|
3184
3158
|
var $games$raspberry$card_game$random$data$models = $games$raspberry$card_game$random$data.models || ($games$raspberry$card_game$random$data.models = {});
|
|
3185
3159
|
$games$raspberry$card_game$random$data$models.GameCardDecksRecord = GameCardDecksRecord;
|
|
3186
|
-
defineProp($games$raspberry$card_game$random$data$models.GameCardDecksRecord, 'Companion',
|
|
3160
|
+
defineProp($games$raspberry$card_game$random$data$models.GameCardDecksRecord, 'Companion', Companion_getInstance_2, VOID, true);
|
|
3187
3161
|
$games$raspberry$card_game$random$data$models.GameCardDeckData = GameCardDeckData;
|
|
3188
3162
|
var $games = _.games || (_.games = {});
|
|
3189
3163
|
var $games$raspberry = $games.raspberry || ($games.raspberry = {});
|