raspberry_games_engine_helpers 1.8.248
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 +339 -0
- package/Kosi-Kaverit-kaverit.js.map +1 -0
- package/Kosi-Kodein-kodein-di.js +2294 -0
- package/Kosi-Kodein-kodein-di.js.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js +6215 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
- package/Logic_Debertz-core.js +3907 -0
- package/Logic_Debertz-core.js.map +1 -0
- package/Logic_Debertz-engine.d.ts +1844 -0
- package/Logic_Debertz-engine.js +31732 -0
- package/Logic_Debertz-engine.js.map +1 -0
- package/kotlin-kotlin-stdlib.js +12753 -0
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin-kotlinx-atomicfu-runtime.js +15 -0
- package/kotlin-kotlinx-atomicfu-runtime.js.map +1 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
- package/kotlinx-atomicfu.js +15 -0
- package/kotlinx-atomicfu.js.map +1 -0
- package/kotlinx-coroutines-core.js +15 -0
- package/kotlinx-coroutines-core.js.map +1 -0
- package/kotlinx-io-kotlinx-io-bytestring.js +15 -0
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -0
- package/kotlinx-io-kotlinx-io-core.js +275 -0
- package/kotlinx-io-kotlinx-io-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js +6287 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +5078 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/ktor-ktor-client-content-negotiation.js +15 -0
- package/ktor-ktor-client-content-negotiation.js.map +1 -0
- package/ktor-ktor-client-core.js +15 -0
- package/ktor-ktor-client-core.js.map +1 -0
- package/ktor-ktor-client-js.js +15 -0
- package/ktor-ktor-client-js.js.map +1 -0
- package/ktor-ktor-client-logging.js +15 -0
- package/ktor-ktor-client-logging.js.map +1 -0
- package/ktor-ktor-events.js +15 -0
- package/ktor-ktor-events.js.map +1 -0
- package/ktor-ktor-http.js +15 -0
- package/ktor-ktor-http.js.map +1 -0
- package/ktor-ktor-io.js +19 -0
- package/ktor-ktor-io.js.map +1 -0
- package/ktor-ktor-serialization-kotlinx-json.js +15 -0
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -0
- package/ktor-ktor-serialization-kotlinx.js +15 -0
- package/ktor-ktor-serialization-kotlinx.js.map +1 -0
- package/ktor-ktor-serialization.js +15 -0
- package/ktor-ktor-serialization.js.map +1 -0
- package/ktor-ktor-utils.js +19 -0
- package/ktor-ktor-utils.js.map +1 -0
- package/ktor-ktor-websocket-serialization.js +15 -0
- package/ktor-ktor-websocket-serialization.js.map +1 -0
- package/ktor-ktor-websockets.js +15 -0
- package/ktor-ktor-websockets.js.map +1 -0
- package/package.json +13 -0
- package/raspberry-cardgame-lib-core.js +529 -0
- package/raspberry-cardgame-lib-core.js.map +1 -0
- package/raspberry-cardgame-lib-logger.js +197 -0
- package/raspberry-cardgame-lib-logger.js.map +1 -0
- package/raspberry-cardgame-lib-random.js +560 -0
- package/raspberry-cardgame-lib-random.js.map +1 -0
- package/secure-random-secure-random.js +15 -0
- package/secure-random-secure-random.js.map +1 -0
- package/uuid.js +15 -0
- package/uuid.js.map +1 -0
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof define === 'function' && define.amd)
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
|
+
else if (typeof exports === 'object')
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
|
|
6
|
+
else {
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
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'.");
|
|
9
|
+
}
|
|
10
|
+
globalThis['raspberry-cardgame-lib-random'] = factory(typeof globalThis['raspberry-cardgame-lib-random'] === 'undefined' ? {} : globalThis['raspberry-cardgame-lib-random'], globalThis['kotlin-kotlin-stdlib']);
|
|
11
|
+
}
|
|
12
|
+
}(function (_, kotlin_kotlin) {
|
|
13
|
+
'use strict';
|
|
14
|
+
//region block: imports
|
|
15
|
+
var imul = Math.imul;
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.o9;
|
|
17
|
+
var VOID = kotlin_kotlin.$_$.f;
|
|
18
|
+
var getStringHashCode = kotlin_kotlin.$_$.p8;
|
|
19
|
+
var THROW_CCE = kotlin_kotlin.$_$.hc;
|
|
20
|
+
var initMetadataForClass = kotlin_kotlin.$_$.r8;
|
|
21
|
+
var toString = kotlin_kotlin.$_$.s9;
|
|
22
|
+
var hashCode = kotlin_kotlin.$_$.q8;
|
|
23
|
+
var equals = kotlin_kotlin.$_$.k8;
|
|
24
|
+
var listOf = kotlin_kotlin.$_$.u6;
|
|
25
|
+
var plus = kotlin_kotlin.$_$.c7;
|
|
26
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.s8;
|
|
27
|
+
var emptyList = kotlin_kotlin.$_$.v5;
|
|
28
|
+
var defineProp = kotlin_kotlin.$_$.j8;
|
|
29
|
+
var Companion_getInstance = kotlin_kotlin.$_$.a4;
|
|
30
|
+
var Long = kotlin_kotlin.$_$.dc;
|
|
31
|
+
var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
|
|
32
|
+
var toDuration = kotlin_kotlin.$_$.rb;
|
|
33
|
+
var Unit_instance = kotlin_kotlin.$_$.j4;
|
|
34
|
+
var Duration__toString_impl_8d916b = kotlin_kotlin.$_$.y1;
|
|
35
|
+
var Duration__hashCode_impl_u4exz6 = kotlin_kotlin.$_$.r1;
|
|
36
|
+
//endregion
|
|
37
|
+
//region block: pre-declaration
|
|
38
|
+
initMetadataForClass(CardDecksRequestUserData, 'CardDecksRequestUserData');
|
|
39
|
+
initMetadataForClass(CardDeckRequestUserData, 'CardDeckRequestUserData');
|
|
40
|
+
initMetadataForClass(UserInfoData, 'UserInfoData');
|
|
41
|
+
initMetadataForCompanion(Companion);
|
|
42
|
+
initMetadataForClass(GameCardDecksRecord, 'GameCardDecksRecord');
|
|
43
|
+
initMetadataForClass(GameCardDeckData, 'GameCardDeckData');
|
|
44
|
+
initMetadataForClass(HttpConfig, 'HttpConfig');
|
|
45
|
+
initMetadataForClass(RandomOrgConfig, 'RandomOrgConfig', RandomOrgConfig);
|
|
46
|
+
initMetadataForClass(PoolParams, 'PoolParams', PoolParams);
|
|
47
|
+
//endregion
|
|
48
|
+
function CardDecksRequestUserData(id, count) {
|
|
49
|
+
this.id = id;
|
|
50
|
+
this.count = count;
|
|
51
|
+
}
|
|
52
|
+
protoOf(CardDecksRequestUserData).k1v = function () {
|
|
53
|
+
return this.id;
|
|
54
|
+
};
|
|
55
|
+
protoOf(CardDecksRequestUserData).j1w = function () {
|
|
56
|
+
return this.count;
|
|
57
|
+
};
|
|
58
|
+
protoOf(CardDecksRequestUserData).zc = function () {
|
|
59
|
+
return this.id;
|
|
60
|
+
};
|
|
61
|
+
protoOf(CardDecksRequestUserData).ad = function () {
|
|
62
|
+
return this.count;
|
|
63
|
+
};
|
|
64
|
+
protoOf(CardDecksRequestUserData).k1w = function (id, count) {
|
|
65
|
+
return new CardDecksRequestUserData(id, count);
|
|
66
|
+
};
|
|
67
|
+
protoOf(CardDecksRequestUserData).copy = function (id, count, $super) {
|
|
68
|
+
id = id === VOID ? this.id : id;
|
|
69
|
+
count = count === VOID ? this.count : count;
|
|
70
|
+
return this.k1w(id, count);
|
|
71
|
+
};
|
|
72
|
+
protoOf(CardDecksRequestUserData).toString = function () {
|
|
73
|
+
return 'CardDecksRequestUserData(id=' + this.id + ', count=' + this.count + ')';
|
|
74
|
+
};
|
|
75
|
+
protoOf(CardDecksRequestUserData).hashCode = function () {
|
|
76
|
+
var result = getStringHashCode(this.id);
|
|
77
|
+
result = imul(result, 31) + this.count | 0;
|
|
78
|
+
return result;
|
|
79
|
+
};
|
|
80
|
+
protoOf(CardDecksRequestUserData).equals = function (other) {
|
|
81
|
+
if (this === other)
|
|
82
|
+
return true;
|
|
83
|
+
if (!(other instanceof CardDecksRequestUserData))
|
|
84
|
+
return false;
|
|
85
|
+
var tmp0_other_with_cast = other instanceof CardDecksRequestUserData ? other : THROW_CCE();
|
|
86
|
+
if (!(this.id === tmp0_other_with_cast.id))
|
|
87
|
+
return false;
|
|
88
|
+
if (!(this.count === tmp0_other_with_cast.count))
|
|
89
|
+
return false;
|
|
90
|
+
return true;
|
|
91
|
+
};
|
|
92
|
+
function CardDeckRequestUserData(players, gameId) {
|
|
93
|
+
this.players = players;
|
|
94
|
+
this.gameId = gameId;
|
|
95
|
+
}
|
|
96
|
+
protoOf(CardDeckRequestUserData).l1w = function () {
|
|
97
|
+
return this.players;
|
|
98
|
+
};
|
|
99
|
+
protoOf(CardDeckRequestUserData).m1w = function () {
|
|
100
|
+
return this.gameId;
|
|
101
|
+
};
|
|
102
|
+
protoOf(CardDeckRequestUserData).zc = function () {
|
|
103
|
+
return this.players;
|
|
104
|
+
};
|
|
105
|
+
protoOf(CardDeckRequestUserData).ad = function () {
|
|
106
|
+
return this.gameId;
|
|
107
|
+
};
|
|
108
|
+
protoOf(CardDeckRequestUserData).n1w = function (players, gameId) {
|
|
109
|
+
return new CardDeckRequestUserData(players, gameId);
|
|
110
|
+
};
|
|
111
|
+
protoOf(CardDeckRequestUserData).copy = function (players, gameId, $super) {
|
|
112
|
+
players = players === VOID ? this.players : players;
|
|
113
|
+
gameId = gameId === VOID ? this.gameId : gameId;
|
|
114
|
+
return this.n1w(players, gameId);
|
|
115
|
+
};
|
|
116
|
+
protoOf(CardDeckRequestUserData).toString = function () {
|
|
117
|
+
return 'CardDeckRequestUserData(players=' + toString(this.players) + ', gameId=' + this.gameId + ')';
|
|
118
|
+
};
|
|
119
|
+
protoOf(CardDeckRequestUserData).hashCode = function () {
|
|
120
|
+
var result = hashCode(this.players);
|
|
121
|
+
result = imul(result, 31) + getStringHashCode(this.gameId) | 0;
|
|
122
|
+
return result;
|
|
123
|
+
};
|
|
124
|
+
protoOf(CardDeckRequestUserData).equals = function (other) {
|
|
125
|
+
if (this === other)
|
|
126
|
+
return true;
|
|
127
|
+
if (!(other instanceof CardDeckRequestUserData))
|
|
128
|
+
return false;
|
|
129
|
+
var tmp0_other_with_cast = other instanceof CardDeckRequestUserData ? other : THROW_CCE();
|
|
130
|
+
if (!equals(this.players, tmp0_other_with_cast.players))
|
|
131
|
+
return false;
|
|
132
|
+
if (!(this.gameId === tmp0_other_with_cast.gameId))
|
|
133
|
+
return false;
|
|
134
|
+
return true;
|
|
135
|
+
};
|
|
136
|
+
function UserInfoData(id, name) {
|
|
137
|
+
this.id = id;
|
|
138
|
+
this.name = name;
|
|
139
|
+
}
|
|
140
|
+
protoOf(UserInfoData).k1v = function () {
|
|
141
|
+
return this.id;
|
|
142
|
+
};
|
|
143
|
+
protoOf(UserInfoData).k2 = function () {
|
|
144
|
+
return this.name;
|
|
145
|
+
};
|
|
146
|
+
protoOf(UserInfoData).zc = function () {
|
|
147
|
+
return this.id;
|
|
148
|
+
};
|
|
149
|
+
protoOf(UserInfoData).ad = function () {
|
|
150
|
+
return this.name;
|
|
151
|
+
};
|
|
152
|
+
protoOf(UserInfoData).o1w = function (id, name) {
|
|
153
|
+
return new UserInfoData(id, name);
|
|
154
|
+
};
|
|
155
|
+
protoOf(UserInfoData).copy = function (id, name, $super) {
|
|
156
|
+
id = id === VOID ? this.id : id;
|
|
157
|
+
name = name === VOID ? this.name : name;
|
|
158
|
+
return this.o1w(id, name);
|
|
159
|
+
};
|
|
160
|
+
protoOf(UserInfoData).toString = function () {
|
|
161
|
+
return 'UserInfoData(id=' + this.id + ', name=' + this.name + ')';
|
|
162
|
+
};
|
|
163
|
+
protoOf(UserInfoData).hashCode = function () {
|
|
164
|
+
var result = getStringHashCode(this.id);
|
|
165
|
+
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
166
|
+
return result;
|
|
167
|
+
};
|
|
168
|
+
protoOf(UserInfoData).equals = function (other) {
|
|
169
|
+
if (this === other)
|
|
170
|
+
return true;
|
|
171
|
+
if (!(other instanceof UserInfoData))
|
|
172
|
+
return false;
|
|
173
|
+
var tmp0_other_with_cast = other instanceof UserInfoData ? other : THROW_CCE();
|
|
174
|
+
if (!(this.id === tmp0_other_with_cast.id))
|
|
175
|
+
return false;
|
|
176
|
+
if (!(this.name === tmp0_other_with_cast.name))
|
|
177
|
+
return false;
|
|
178
|
+
return true;
|
|
179
|
+
};
|
|
180
|
+
function Companion() {
|
|
181
|
+
}
|
|
182
|
+
protoOf(Companion).firstRound = function (poolId, signature, newCardDeckData, userData) {
|
|
183
|
+
return new GameCardDecksRecord(poolId, signature, userData, listOf(newCardDeckData));
|
|
184
|
+
};
|
|
185
|
+
protoOf(Companion).newRound = function (gameCardDecksRecord, newCardDeckData) {
|
|
186
|
+
return gameCardDecksRecord.copy(VOID, VOID, VOID, plus(gameCardDecksRecord.rounds, newCardDeckData));
|
|
187
|
+
};
|
|
188
|
+
var Companion_instance;
|
|
189
|
+
function Companion_getInstance_0() {
|
|
190
|
+
return Companion_instance;
|
|
191
|
+
}
|
|
192
|
+
function GameCardDecksRecord(poolId, signature, userData, rounds) {
|
|
193
|
+
rounds = rounds === VOID ? emptyList() : rounds;
|
|
194
|
+
this.poolId = poolId;
|
|
195
|
+
this.signature = signature;
|
|
196
|
+
this.userData = userData;
|
|
197
|
+
this.rounds = rounds;
|
|
198
|
+
}
|
|
199
|
+
protoOf(GameCardDecksRecord).p1w = function () {
|
|
200
|
+
return this.poolId;
|
|
201
|
+
};
|
|
202
|
+
protoOf(GameCardDecksRecord).q1w = function () {
|
|
203
|
+
return this.signature;
|
|
204
|
+
};
|
|
205
|
+
protoOf(GameCardDecksRecord).r1w = function () {
|
|
206
|
+
return this.userData;
|
|
207
|
+
};
|
|
208
|
+
protoOf(GameCardDecksRecord).s1w = function () {
|
|
209
|
+
return this.rounds;
|
|
210
|
+
};
|
|
211
|
+
protoOf(GameCardDecksRecord).zc = function () {
|
|
212
|
+
return this.poolId;
|
|
213
|
+
};
|
|
214
|
+
protoOf(GameCardDecksRecord).ad = function () {
|
|
215
|
+
return this.signature;
|
|
216
|
+
};
|
|
217
|
+
protoOf(GameCardDecksRecord).sg = function () {
|
|
218
|
+
return this.userData;
|
|
219
|
+
};
|
|
220
|
+
protoOf(GameCardDecksRecord).t1w = function () {
|
|
221
|
+
return this.rounds;
|
|
222
|
+
};
|
|
223
|
+
protoOf(GameCardDecksRecord).u1w = function (poolId, signature, userData, rounds) {
|
|
224
|
+
return new GameCardDecksRecord(poolId, signature, userData, rounds);
|
|
225
|
+
};
|
|
226
|
+
protoOf(GameCardDecksRecord).copy = function (poolId, signature, userData, rounds, $super) {
|
|
227
|
+
poolId = poolId === VOID ? this.poolId : poolId;
|
|
228
|
+
signature = signature === VOID ? this.signature : signature;
|
|
229
|
+
userData = userData === VOID ? this.userData : userData;
|
|
230
|
+
rounds = rounds === VOID ? this.rounds : rounds;
|
|
231
|
+
return this.u1w(poolId, signature, userData, rounds);
|
|
232
|
+
};
|
|
233
|
+
protoOf(GameCardDecksRecord).toString = function () {
|
|
234
|
+
return 'GameCardDecksRecord(poolId=' + this.poolId + ', signature=' + this.signature + ', userData=' + this.userData.toString() + ', rounds=' + toString(this.rounds) + ')';
|
|
235
|
+
};
|
|
236
|
+
protoOf(GameCardDecksRecord).hashCode = function () {
|
|
237
|
+
var result = getStringHashCode(this.poolId);
|
|
238
|
+
result = imul(result, 31) + (this.signature == null ? 0 : getStringHashCode(this.signature)) | 0;
|
|
239
|
+
result = imul(result, 31) + this.userData.hashCode() | 0;
|
|
240
|
+
result = imul(result, 31) + hashCode(this.rounds) | 0;
|
|
241
|
+
return result;
|
|
242
|
+
};
|
|
243
|
+
protoOf(GameCardDecksRecord).equals = function (other) {
|
|
244
|
+
if (this === other)
|
|
245
|
+
return true;
|
|
246
|
+
if (!(other instanceof GameCardDecksRecord))
|
|
247
|
+
return false;
|
|
248
|
+
var tmp0_other_with_cast = other instanceof GameCardDecksRecord ? other : THROW_CCE();
|
|
249
|
+
if (!(this.poolId === tmp0_other_with_cast.poolId))
|
|
250
|
+
return false;
|
|
251
|
+
if (!(this.signature == tmp0_other_with_cast.signature))
|
|
252
|
+
return false;
|
|
253
|
+
if (!this.userData.equals(tmp0_other_with_cast.userData))
|
|
254
|
+
return false;
|
|
255
|
+
if (!equals(this.rounds, tmp0_other_with_cast.rounds))
|
|
256
|
+
return false;
|
|
257
|
+
return true;
|
|
258
|
+
};
|
|
259
|
+
function GameCardDeckData(cardDeckIndex, cards) {
|
|
260
|
+
this.cardDeckIndex = cardDeckIndex;
|
|
261
|
+
this.cards = cards;
|
|
262
|
+
}
|
|
263
|
+
protoOf(GameCardDeckData).v1w = function () {
|
|
264
|
+
return this.cardDeckIndex;
|
|
265
|
+
};
|
|
266
|
+
protoOf(GameCardDeckData).w1w = function () {
|
|
267
|
+
return this.cards;
|
|
268
|
+
};
|
|
269
|
+
protoOf(GameCardDeckData).zc = function () {
|
|
270
|
+
return this.cardDeckIndex;
|
|
271
|
+
};
|
|
272
|
+
protoOf(GameCardDeckData).ad = function () {
|
|
273
|
+
return this.cards;
|
|
274
|
+
};
|
|
275
|
+
protoOf(GameCardDeckData).x1w = function (cardDeckIndex, cards) {
|
|
276
|
+
return new GameCardDeckData(cardDeckIndex, cards);
|
|
277
|
+
};
|
|
278
|
+
protoOf(GameCardDeckData).copy = function (cardDeckIndex, cards, $super) {
|
|
279
|
+
cardDeckIndex = cardDeckIndex === VOID ? this.cardDeckIndex : cardDeckIndex;
|
|
280
|
+
cards = cards === VOID ? this.cards : cards;
|
|
281
|
+
return this.x1w(cardDeckIndex, cards);
|
|
282
|
+
};
|
|
283
|
+
protoOf(GameCardDeckData).toString = function () {
|
|
284
|
+
return 'GameCardDeckData(cardDeckIndex=' + this.cardDeckIndex + ', cards=' + toString(this.cards) + ')';
|
|
285
|
+
};
|
|
286
|
+
protoOf(GameCardDeckData).hashCode = function () {
|
|
287
|
+
var result = this.cardDeckIndex;
|
|
288
|
+
result = imul(result, 31) + hashCode(this.cards) | 0;
|
|
289
|
+
return result;
|
|
290
|
+
};
|
|
291
|
+
protoOf(GameCardDeckData).equals = function (other) {
|
|
292
|
+
if (this === other)
|
|
293
|
+
return true;
|
|
294
|
+
if (!(other instanceof GameCardDeckData))
|
|
295
|
+
return false;
|
|
296
|
+
var tmp0_other_with_cast = other instanceof GameCardDeckData ? other : THROW_CCE();
|
|
297
|
+
if (!(this.cardDeckIndex === tmp0_other_with_cast.cardDeckIndex))
|
|
298
|
+
return false;
|
|
299
|
+
if (!equals(this.cards, tmp0_other_with_cast.cards))
|
|
300
|
+
return false;
|
|
301
|
+
return true;
|
|
302
|
+
};
|
|
303
|
+
function HttpConfig(baseUrl, timeoutMillis) {
|
|
304
|
+
timeoutMillis = timeoutMillis === VOID ? 30000 : timeoutMillis;
|
|
305
|
+
this.baseUrl = baseUrl;
|
|
306
|
+
this.timeoutMillis = timeoutMillis;
|
|
307
|
+
}
|
|
308
|
+
protoOf(HttpConfig).y1w = function () {
|
|
309
|
+
return this.baseUrl;
|
|
310
|
+
};
|
|
311
|
+
protoOf(HttpConfig).z1w = function () {
|
|
312
|
+
return this.timeoutMillis;
|
|
313
|
+
};
|
|
314
|
+
protoOf(HttpConfig).zc = function () {
|
|
315
|
+
return this.baseUrl;
|
|
316
|
+
};
|
|
317
|
+
protoOf(HttpConfig).ad = function () {
|
|
318
|
+
return this.timeoutMillis;
|
|
319
|
+
};
|
|
320
|
+
protoOf(HttpConfig).k1w = function (baseUrl, timeoutMillis) {
|
|
321
|
+
return new HttpConfig(baseUrl, timeoutMillis);
|
|
322
|
+
};
|
|
323
|
+
protoOf(HttpConfig).copy = function (baseUrl, timeoutMillis, $super) {
|
|
324
|
+
baseUrl = baseUrl === VOID ? this.baseUrl : baseUrl;
|
|
325
|
+
timeoutMillis = timeoutMillis === VOID ? this.timeoutMillis : timeoutMillis;
|
|
326
|
+
return this.k1w(baseUrl, timeoutMillis);
|
|
327
|
+
};
|
|
328
|
+
protoOf(HttpConfig).toString = function () {
|
|
329
|
+
return 'HttpConfig(baseUrl=' + this.baseUrl + ', timeoutMillis=' + this.timeoutMillis + ')';
|
|
330
|
+
};
|
|
331
|
+
protoOf(HttpConfig).hashCode = function () {
|
|
332
|
+
var result = getStringHashCode(this.baseUrl);
|
|
333
|
+
result = imul(result, 31) + this.timeoutMillis | 0;
|
|
334
|
+
return result;
|
|
335
|
+
};
|
|
336
|
+
protoOf(HttpConfig).equals = function (other) {
|
|
337
|
+
if (this === other)
|
|
338
|
+
return true;
|
|
339
|
+
if (!(other instanceof HttpConfig))
|
|
340
|
+
return false;
|
|
341
|
+
var tmp0_other_with_cast = other instanceof HttpConfig ? other : THROW_CCE();
|
|
342
|
+
if (!(this.baseUrl === tmp0_other_with_cast.baseUrl))
|
|
343
|
+
return false;
|
|
344
|
+
if (!(this.timeoutMillis === tmp0_other_with_cast.timeoutMillis))
|
|
345
|
+
return false;
|
|
346
|
+
return true;
|
|
347
|
+
};
|
|
348
|
+
function RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig) {
|
|
349
|
+
apiKey = apiKey === VOID ? '68b344df-e962-4bf7-b77e-eea466b7f90a' : apiKey;
|
|
350
|
+
poolSize = poolSize === VOID ? 100 : poolSize;
|
|
351
|
+
thresholdForUsedPool = thresholdForUsedPool === VOID ? 3 : thresholdForUsedPool;
|
|
352
|
+
httpConfig = httpConfig === VOID ? new HttpConfig('https://api.random.org') : httpConfig;
|
|
353
|
+
this.apiKey = apiKey;
|
|
354
|
+
this.poolSize = poolSize;
|
|
355
|
+
this.thresholdForUsedPool = thresholdForUsedPool;
|
|
356
|
+
this.httpConfig = httpConfig;
|
|
357
|
+
}
|
|
358
|
+
protoOf(RandomOrgConfig).a1x = function () {
|
|
359
|
+
return this.apiKey;
|
|
360
|
+
};
|
|
361
|
+
protoOf(RandomOrgConfig).b1x = function () {
|
|
362
|
+
return this.poolSize;
|
|
363
|
+
};
|
|
364
|
+
protoOf(RandomOrgConfig).c1x = function () {
|
|
365
|
+
return this.thresholdForUsedPool;
|
|
366
|
+
};
|
|
367
|
+
protoOf(RandomOrgConfig).d1x = function () {
|
|
368
|
+
return this.httpConfig;
|
|
369
|
+
};
|
|
370
|
+
protoOf(RandomOrgConfig).zc = function () {
|
|
371
|
+
return this.apiKey;
|
|
372
|
+
};
|
|
373
|
+
protoOf(RandomOrgConfig).ad = function () {
|
|
374
|
+
return this.poolSize;
|
|
375
|
+
};
|
|
376
|
+
protoOf(RandomOrgConfig).sg = function () {
|
|
377
|
+
return this.thresholdForUsedPool;
|
|
378
|
+
};
|
|
379
|
+
protoOf(RandomOrgConfig).t1w = function () {
|
|
380
|
+
return this.httpConfig;
|
|
381
|
+
};
|
|
382
|
+
protoOf(RandomOrgConfig).e1x = function (apiKey, poolSize, thresholdForUsedPool, httpConfig) {
|
|
383
|
+
return new RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
384
|
+
};
|
|
385
|
+
protoOf(RandomOrgConfig).copy = function (apiKey, poolSize, thresholdForUsedPool, httpConfig, $super) {
|
|
386
|
+
apiKey = apiKey === VOID ? this.apiKey : apiKey;
|
|
387
|
+
poolSize = poolSize === VOID ? this.poolSize : poolSize;
|
|
388
|
+
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
389
|
+
httpConfig = httpConfig === VOID ? this.httpConfig : httpConfig;
|
|
390
|
+
return this.e1x(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
391
|
+
};
|
|
392
|
+
protoOf(RandomOrgConfig).toString = function () {
|
|
393
|
+
return 'RandomOrgConfig(apiKey=' + this.apiKey + ', poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', httpConfig=' + this.httpConfig.toString() + ')';
|
|
394
|
+
};
|
|
395
|
+
protoOf(RandomOrgConfig).hashCode = function () {
|
|
396
|
+
var result = getStringHashCode(this.apiKey);
|
|
397
|
+
result = imul(result, 31) + this.poolSize | 0;
|
|
398
|
+
result = imul(result, 31) + this.thresholdForUsedPool | 0;
|
|
399
|
+
result = imul(result, 31) + this.httpConfig.hashCode() | 0;
|
|
400
|
+
return result;
|
|
401
|
+
};
|
|
402
|
+
protoOf(RandomOrgConfig).equals = function (other) {
|
|
403
|
+
if (this === other)
|
|
404
|
+
return true;
|
|
405
|
+
if (!(other instanceof RandomOrgConfig))
|
|
406
|
+
return false;
|
|
407
|
+
var tmp0_other_with_cast = other instanceof RandomOrgConfig ? other : THROW_CCE();
|
|
408
|
+
if (!(this.apiKey === tmp0_other_with_cast.apiKey))
|
|
409
|
+
return false;
|
|
410
|
+
if (!(this.poolSize === tmp0_other_with_cast.poolSize))
|
|
411
|
+
return false;
|
|
412
|
+
if (!(this.thresholdForUsedPool === tmp0_other_with_cast.thresholdForUsedPool))
|
|
413
|
+
return false;
|
|
414
|
+
if (!this.httpConfig.equals(tmp0_other_with_cast.httpConfig))
|
|
415
|
+
return false;
|
|
416
|
+
return true;
|
|
417
|
+
};
|
|
418
|
+
function PoolParams(poolSize, thresholdForUsedPool, requestDurationWarn, failedRequestAttempts, failedAttemptCooldown) {
|
|
419
|
+
poolSize = poolSize === VOID ? 100 : poolSize;
|
|
420
|
+
thresholdForUsedPool = thresholdForUsedPool === VOID ? 3 : thresholdForUsedPool;
|
|
421
|
+
requestDurationWarn = requestDurationWarn === VOID ? 3000 : requestDurationWarn;
|
|
422
|
+
failedRequestAttempts = failedRequestAttempts === VOID ? 3 : failedRequestAttempts;
|
|
423
|
+
var tmp;
|
|
424
|
+
if (failedAttemptCooldown === VOID) {
|
|
425
|
+
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
426
|
+
Companion_getInstance();
|
|
427
|
+
var this_0 = new Long(120000, 0);
|
|
428
|
+
tmp = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
429
|
+
} else {
|
|
430
|
+
tmp = failedAttemptCooldown;
|
|
431
|
+
}
|
|
432
|
+
failedAttemptCooldown = tmp;
|
|
433
|
+
this.poolSize = poolSize;
|
|
434
|
+
this.thresholdForUsedPool = thresholdForUsedPool;
|
|
435
|
+
this.requestDurationWarn = requestDurationWarn;
|
|
436
|
+
this.failedRequestAttempts = failedRequestAttempts;
|
|
437
|
+
this.failedAttemptCooldown = failedAttemptCooldown;
|
|
438
|
+
}
|
|
439
|
+
protoOf(PoolParams).b1x = function () {
|
|
440
|
+
return this.poolSize;
|
|
441
|
+
};
|
|
442
|
+
protoOf(PoolParams).c1x = function () {
|
|
443
|
+
return this.thresholdForUsedPool;
|
|
444
|
+
};
|
|
445
|
+
protoOf(PoolParams).f1x = function () {
|
|
446
|
+
return this.requestDurationWarn;
|
|
447
|
+
};
|
|
448
|
+
protoOf(PoolParams).g1x = function () {
|
|
449
|
+
return this.failedRequestAttempts;
|
|
450
|
+
};
|
|
451
|
+
protoOf(PoolParams).h1x = function () {
|
|
452
|
+
return this.failedAttemptCooldown;
|
|
453
|
+
};
|
|
454
|
+
protoOf(PoolParams).zc = function () {
|
|
455
|
+
return this.poolSize;
|
|
456
|
+
};
|
|
457
|
+
protoOf(PoolParams).ad = function () {
|
|
458
|
+
return this.thresholdForUsedPool;
|
|
459
|
+
};
|
|
460
|
+
protoOf(PoolParams).sg = function () {
|
|
461
|
+
return this.requestDurationWarn;
|
|
462
|
+
};
|
|
463
|
+
protoOf(PoolParams).t1w = function () {
|
|
464
|
+
return this.failedRequestAttempts;
|
|
465
|
+
};
|
|
466
|
+
protoOf(PoolParams).i1x = function () {
|
|
467
|
+
return this.failedAttemptCooldown;
|
|
468
|
+
};
|
|
469
|
+
protoOf(PoolParams).j1x = function (poolSize, thresholdForUsedPool, requestDurationWarn, failedRequestAttempts, failedAttemptCooldown) {
|
|
470
|
+
return new PoolParams(poolSize, thresholdForUsedPool, requestDurationWarn, failedRequestAttempts, failedAttemptCooldown);
|
|
471
|
+
};
|
|
472
|
+
protoOf(PoolParams).copy = function (poolSize, thresholdForUsedPool, requestDurationWarn, failedRequestAttempts, failedAttemptCooldown, $super) {
|
|
473
|
+
poolSize = poolSize === VOID ? this.poolSize : poolSize;
|
|
474
|
+
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
475
|
+
requestDurationWarn = requestDurationWarn === VOID ? this.requestDurationWarn : requestDurationWarn;
|
|
476
|
+
failedRequestAttempts = failedRequestAttempts === VOID ? this.failedRequestAttempts : failedRequestAttempts;
|
|
477
|
+
failedAttemptCooldown = failedAttemptCooldown === VOID ? this.failedAttemptCooldown : failedAttemptCooldown;
|
|
478
|
+
return this.j1x(poolSize, thresholdForUsedPool, requestDurationWarn, failedRequestAttempts, failedAttemptCooldown);
|
|
479
|
+
};
|
|
480
|
+
protoOf(PoolParams).toString = function () {
|
|
481
|
+
return 'PoolParams(poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', requestDurationWarn=' + this.requestDurationWarn + ', failedRequestAttempts=' + this.failedRequestAttempts + ', failedAttemptCooldown=' + Duration__toString_impl_8d916b(this.failedAttemptCooldown) + ')';
|
|
482
|
+
};
|
|
483
|
+
protoOf(PoolParams).hashCode = function () {
|
|
484
|
+
var result = this.poolSize;
|
|
485
|
+
result = imul(result, 31) + this.thresholdForUsedPool | 0;
|
|
486
|
+
result = imul(result, 31) + this.requestDurationWarn | 0;
|
|
487
|
+
result = imul(result, 31) + this.failedRequestAttempts | 0;
|
|
488
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.failedAttemptCooldown) | 0;
|
|
489
|
+
return result;
|
|
490
|
+
};
|
|
491
|
+
protoOf(PoolParams).equals = function (other) {
|
|
492
|
+
if (this === other)
|
|
493
|
+
return true;
|
|
494
|
+
if (!(other instanceof PoolParams))
|
|
495
|
+
return false;
|
|
496
|
+
var tmp0_other_with_cast = other instanceof PoolParams ? other : THROW_CCE();
|
|
497
|
+
if (!(this.poolSize === tmp0_other_with_cast.poolSize))
|
|
498
|
+
return false;
|
|
499
|
+
if (!(this.thresholdForUsedPool === tmp0_other_with_cast.thresholdForUsedPool))
|
|
500
|
+
return false;
|
|
501
|
+
if (!(this.requestDurationWarn === tmp0_other_with_cast.requestDurationWarn))
|
|
502
|
+
return false;
|
|
503
|
+
if (!(this.failedRequestAttempts === tmp0_other_with_cast.failedRequestAttempts))
|
|
504
|
+
return false;
|
|
505
|
+
if (!equals(this.failedAttemptCooldown, tmp0_other_with_cast.failedAttemptCooldown))
|
|
506
|
+
return false;
|
|
507
|
+
return true;
|
|
508
|
+
};
|
|
509
|
+
//region block: init
|
|
510
|
+
Companion_instance = new Companion();
|
|
511
|
+
//endregion
|
|
512
|
+
//region block: exports
|
|
513
|
+
function $jsExportAll$(_) {
|
|
514
|
+
var $games = _.games || (_.games = {});
|
|
515
|
+
var $games$raspberry = $games.raspberry || ($games.raspberry = {});
|
|
516
|
+
var $games$raspberry$card_game = $games$raspberry.card_game || ($games$raspberry.card_game = {});
|
|
517
|
+
var $games$raspberry$card_game$random = $games$raspberry$card_game.random || ($games$raspberry$card_game.random = {});
|
|
518
|
+
var $games$raspberry$card_game$random$data = $games$raspberry$card_game$random.data || ($games$raspberry$card_game$random.data = {});
|
|
519
|
+
var $games$raspberry$card_game$random$data$models = $games$raspberry$card_game$random$data.models || ($games$raspberry$card_game$random$data.models = {});
|
|
520
|
+
$games$raspberry$card_game$random$data$models.CardDecksRequestUserData = CardDecksRequestUserData;
|
|
521
|
+
$games$raspberry$card_game$random$data$models.CardDeckRequestUserData = CardDeckRequestUserData;
|
|
522
|
+
$games$raspberry$card_game$random$data$models.UserInfoData = UserInfoData;
|
|
523
|
+
var $games = _.games || (_.games = {});
|
|
524
|
+
var $games$raspberry = $games.raspberry || ($games.raspberry = {});
|
|
525
|
+
var $games$raspberry$card_game = $games$raspberry.card_game || ($games$raspberry.card_game = {});
|
|
526
|
+
var $games$raspberry$card_game$random = $games$raspberry$card_game.random || ($games$raspberry$card_game.random = {});
|
|
527
|
+
var $games$raspberry$card_game$random$data = $games$raspberry$card_game$random.data || ($games$raspberry$card_game$random.data = {});
|
|
528
|
+
var $games$raspberry$card_game$random$data$models = $games$raspberry$card_game$random$data.models || ($games$raspberry$card_game$random$data.models = {});
|
|
529
|
+
$games$raspberry$card_game$random$data$models.GameCardDecksRecord = GameCardDecksRecord;
|
|
530
|
+
defineProp($games$raspberry$card_game$random$data$models.GameCardDecksRecord, 'Companion', Companion_getInstance_0);
|
|
531
|
+
$games$raspberry$card_game$random$data$models.GameCardDeckData = GameCardDeckData;
|
|
532
|
+
var $games = _.games || (_.games = {});
|
|
533
|
+
var $games$raspberry = $games.raspberry || ($games.raspberry = {});
|
|
534
|
+
var $games$raspberry$card_game = $games$raspberry.card_game || ($games$raspberry.card_game = {});
|
|
535
|
+
var $games$raspberry$card_game$random = $games$raspberry$card_game.random || ($games$raspberry$card_game.random = {});
|
|
536
|
+
var $games$raspberry$card_game$random$data = $games$raspberry$card_game$random.data || ($games$raspberry$card_game$random.data = {});
|
|
537
|
+
var $games$raspberry$card_game$random$data$models = $games$raspberry$card_game$random$data.models || ($games$raspberry$card_game$random$data.models = {});
|
|
538
|
+
$games$raspberry$card_game$random$data$models.HttpConfig = HttpConfig;
|
|
539
|
+
var $games = _.games || (_.games = {});
|
|
540
|
+
var $games$raspberry = $games.raspberry || ($games.raspberry = {});
|
|
541
|
+
var $games$raspberry$card_game = $games$raspberry.card_game || ($games$raspberry.card_game = {});
|
|
542
|
+
var $games$raspberry$card_game$random = $games$raspberry$card_game.random || ($games$raspberry$card_game.random = {});
|
|
543
|
+
var $games$raspberry$card_game$random$data = $games$raspberry$card_game$random.data || ($games$raspberry$card_game$random.data = {});
|
|
544
|
+
var $games$raspberry$card_game$random$data$models = $games$raspberry$card_game$random$data.models || ($games$raspberry$card_game$random$data.models = {});
|
|
545
|
+
$games$raspberry$card_game$random$data$models.RandomOrgConfig = RandomOrgConfig;
|
|
546
|
+
var $games = _.games || (_.games = {});
|
|
547
|
+
var $games$raspberry = $games.raspberry || ($games.raspberry = {});
|
|
548
|
+
var $games$raspberry$card_game = $games$raspberry.card_game || ($games$raspberry.card_game = {});
|
|
549
|
+
var $games$raspberry$card_game$random = $games$raspberry$card_game.random || ($games$raspberry$card_game.random = {});
|
|
550
|
+
var $games$raspberry$card_game$random$data = $games$raspberry$card_game$random.data || ($games$raspberry$card_game$random.data = {});
|
|
551
|
+
var $games$raspberry$card_game$random$data$providers = $games$raspberry$card_game$random$data.providers || ($games$raspberry$card_game$random$data.providers = {});
|
|
552
|
+
$games$raspberry$card_game$random$data$providers.PoolParams = PoolParams;
|
|
553
|
+
}
|
|
554
|
+
$jsExportAll$(_);
|
|
555
|
+
_.$jsExportAll$ = $jsExportAll$;
|
|
556
|
+
//endregion
|
|
557
|
+
return _;
|
|
558
|
+
}));
|
|
559
|
+
|
|
560
|
+
//# sourceMappingURL=raspberry-cardgame-lib-random.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../raspberry-cardgame-core/random/src/commonMain/kotlin/games/raspberry/card_game/random/data/models/CardDeckRequestUserData.kt","../../../../../../../../raspberry-cardgame-core/random/src/commonMain/kotlin/games/raspberry/card_game/random/data/models/GameCardDecksRecord.kt","../../../../../../../../raspberry-cardgame-core/random/src/commonMain/kotlin/games/raspberry/card_game/random/data/models/HttpConfig.kt","../../../../../../../../raspberry-cardgame-core/random/src/commonMain/kotlin/games/raspberry/card_game/random/data/models/RandomOrgConfig.kt","../../../../../../../../raspberry-cardgame-core/random/src/commonMain/kotlin/games/raspberry/card_game/random/data/providers/RandomPoolProviderImpl.kt","src/kotlin/time/Duration.kt"],"sourcesContent":[null,null,null,null,null,null],"names":["<init>","id","count","<get-id>","<get-count>","result","players","gameId","<get-players>","<get-gameId>","name","<get-name>","firstRound","poolId","signature","newCardDeckData","userData","newRound","gameCardDecksRecord","rounds","<get-poolId>","<get-signature>","<get-userData>","<get-rounds>","cardDeckIndex","cards","<get-cardDeckIndex>","<get-cards>","baseUrl","timeoutMillis","<get-baseUrl>","<get-timeoutMillis>","apiKey","poolSize","thresholdForUsedPool","httpConfig","<get-apiKey>","<get-poolSize>","<get-thresholdForUsedPool>","<get-httpConfig>","requestDurationWarn","failedRequestAttempts","failedAttemptCooldown","<get-requestDurationWarn>","<get-failedRequestAttempts>","<get-failedAttemptCooldown>"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAKmCA,CAC/BC,E,EACAC,KAF+BF,EAAA;A,IAC/B,Y;IACA,kB;EAF+B,C;mDAC/BG,CAAAA,EAAA;A,IAAA,c;EAAa,C;mDACbC,CAAAA,EAAA;A,IAAA,iB;EAAa,C;qDAPjB;A,IAAA,c;EAAA,C;qDAAA;A,IAAA,iB;EAAA,C;+DAAA;A,IAAA,8C;EAAA,C;;uBAAA,I,CAAA,E;6BAAA,I,CAAA,K;;;2DAAA;A,IAAA,+E;EAAA,C;2DAAA;A,QAAAC,mC;IAAA,0C;IAAA,a;EAAA,C;8DAAA;A,IAAA,mB;MAAA,W;IAAA,iD;MAAA,Y;QAAA,sF;IAAA,2C;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,W;EAAA,C;kCAWkCL,CAC9BM,O,EACAC,MAF8BP,EAAA;A,IAC9B,sB;IACA,oB;EAF8B,C;kDAC9BQ,CAAAA,EAAA;A,IAAA,mB;EAA8B,C;kDAC9BC,CAAAA,EAAA;A,IAAA,kB;EAAiB,C;oDAbrB;A,IAAA,mB;EAAA,C;oDAAA;A,IAAA,kB;EAAA,C;oEAAA;A,IAAA,mD;EAAA,C;;iCAA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iB,C;qCACjBqC,CAAAA,EAAA;A,IAAA,oB;EACsC,C;qCACtCC,CAAAA,EAAA;A,IAAA,gC;EACsD,C;qCACtDK,CAAAA,EAAA;A,IAAA,+B;EAC0D,C;qCAC1DC,CAAAA,EAAA;A,IAAA,iC;EACiC,C;qCACjCC,CAAAA,EAAA;A,IAAA,iC;EACmE,C;uCA1DvE;A,IAAA,oB;EAAA,C;uCAAA;A,IAAA,gC;EAAA,C;uCAAA;A,IAAA,+B;EAAA,C;wCAAA;A,IAAA,iC;EAAA,C;wCAAA;A,IAAA,iC;EAAA,C;yIAAA;A,IAAA,wH;EAAA,C;;mCAAA,I,CAAA,Q;2DAAA,I,CAAA,oB;yDAAA,I,CAAA,mB;6DAAA,I,CAAA,qB;6DAAA,I,CAAA,qB;;;6CAAA;A,IAAA,qT;EAAA,C;6CAAA;A,QAAAxC,sB;IAAA,yD;IAAA,wD;IAAA,0D;IAAA,0F;IAAA,a;EAAA,C;gDAAA;A,IAAA,mB;MAAA,W;IAAA,mC;MAAA,Y;QAAA,wE;IAAA,uD;MAAA,Y;IAAA,+E;MAAA,Y;IAAA,6E;MAAA,Y;IAAA,iF;MAAA,Y;IAAA,oF;MAAA,Y;IAAA,W;EAAA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof define === 'function' && define.amd)
|
|
3
|
+
define(['exports'], factory);
|
|
4
|
+
else if (typeof exports === 'object')
|
|
5
|
+
factory(module.exports);
|
|
6
|
+
else
|
|
7
|
+
globalThis['secure-random-secure-random'] = factory(typeof globalThis['secure-random-secure-random'] === 'undefined' ? {} : globalThis['secure-random-secure-random']);
|
|
8
|
+
}(function (_) {
|
|
9
|
+
'use strict';
|
|
10
|
+
//region block: pre-declaration
|
|
11
|
+
//endregion
|
|
12
|
+
return _;
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=secure-random-secure-random.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
package/uuid.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof define === 'function' && define.amd)
|
|
3
|
+
define(['exports'], factory);
|
|
4
|
+
else if (typeof exports === 'object')
|
|
5
|
+
factory(module.exports);
|
|
6
|
+
else
|
|
7
|
+
globalThis.uuid = factory(typeof uuid === 'undefined' ? {} : uuid);
|
|
8
|
+
}(function (_) {
|
|
9
|
+
'use strict';
|
|
10
|
+
//region block: pre-declaration
|
|
11
|
+
//endregion
|
|
12
|
+
return _;
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=uuid.js.map
|
package/uuid.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|