game_client_logic_deb 1.4.9 → 1.4.11
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/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +32 -32
- package/Logic_Debertz-core.js +761 -723
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6192 -6171
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2352 -2305
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +8 -8
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +11 -11
package/package.json
CHANGED
package/uuid-js-ir.js
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
function Companion() {
|
|
72
72
|
Companion_instance = this;
|
|
73
|
-
this.
|
|
73
|
+
this.n2b_1 = listOf([until(0, 4), until(4, 6), until(6, 8), until(8, 10), until(10, 16)]);
|
|
74
74
|
}
|
|
75
75
|
var Companion_instance;
|
|
76
76
|
function Companion_getInstance() {
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
}
|
|
81
81
|
function Uuid(uuidBytes) {
|
|
82
82
|
Companion_getInstance();
|
|
83
|
-
this.
|
|
83
|
+
this.o2b_1 = uuidBytes;
|
|
84
84
|
// Inline function 'kotlin.require' call
|
|
85
85
|
var tmp$ret$0;
|
|
86
86
|
// Inline function 'kotlin.collections.count' call
|
|
87
|
-
var tmp0_count = this.
|
|
87
|
+
var tmp0_count = this.o2b_1;
|
|
88
88
|
tmp$ret$0 = tmp0_count.length;
|
|
89
89
|
var tmp1_require = tmp$ret$0 === get_UUID_BYTES();
|
|
90
90
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
var tmp = get_UUID_BYTES();
|
|
95
95
|
var tmp$ret$1;
|
|
96
96
|
// Inline function 'kotlin.collections.count' call
|
|
97
|
-
var tmp0_count_0 = this.
|
|
97
|
+
var tmp0_count_0 = this.o2b_1;
|
|
98
98
|
tmp$ret$1 = tmp0_count_0.length;
|
|
99
99
|
tmp$ret$2 = 'Invalid UUID bytes. Expected ' + tmp + ' bytes; found ' + tmp$ret$1;
|
|
100
100
|
var message = tmp$ret$2;
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
Uuid.prototype.toString = function () {
|
|
106
106
|
var characters = charArray(get_UUID_STRING_LENGTH());
|
|
107
107
|
var charIndex = 0;
|
|
108
|
-
var tmp0_iterator = Companion_getInstance().
|
|
108
|
+
var tmp0_iterator = Companion_getInstance().n2b_1.g();
|
|
109
109
|
while (tmp0_iterator.h()) {
|
|
110
110
|
var range = tmp0_iterator.i();
|
|
111
111
|
var inductionVariable = range.t_1;
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
do {
|
|
115
115
|
var i = inductionVariable;
|
|
116
116
|
inductionVariable = inductionVariable + 1 | 0;
|
|
117
|
-
var octetPair = this.
|
|
117
|
+
var octetPair = this.o2b_1[i];
|
|
118
118
|
var left = octetPair >> 4 & 15;
|
|
119
119
|
var right = octetPair & 15;
|
|
120
120
|
var tmp2 = charIndex;
|
|
@@ -136,23 +136,23 @@
|
|
|
136
136
|
Uuid.prototype.equals = function (other) {
|
|
137
137
|
var tmp;
|
|
138
138
|
if (other instanceof Uuid) {
|
|
139
|
-
tmp = contentEquals(this.
|
|
139
|
+
tmp = contentEquals(this.o2b_1, other.o2b_1);
|
|
140
140
|
} else {
|
|
141
141
|
tmp = false;
|
|
142
142
|
}
|
|
143
143
|
return tmp;
|
|
144
144
|
};
|
|
145
145
|
Uuid.prototype.hashCode = function () {
|
|
146
|
-
return contentHashCode(this.
|
|
146
|
+
return contentHashCode(this.o2b_1);
|
|
147
147
|
};
|
|
148
|
-
Uuid.prototype.
|
|
148
|
+
Uuid.prototype.p2b = function (other) {
|
|
149
149
|
var inductionVariable = 0;
|
|
150
150
|
var last = get_UUID_BYTES();
|
|
151
151
|
if (inductionVariable < last)
|
|
152
152
|
do {
|
|
153
153
|
var i = inductionVariable;
|
|
154
154
|
inductionVariable = inductionVariable + 1 | 0;
|
|
155
|
-
var compareResult = compareTo(this.
|
|
155
|
+
var compareResult = compareTo(this.o2b_1[i], other.o2b_1[i]);
|
|
156
156
|
if (!(compareResult === 0))
|
|
157
157
|
return compareResult;
|
|
158
158
|
}
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
return 0;
|
|
161
161
|
};
|
|
162
162
|
Uuid.prototype.l7 = function (other) {
|
|
163
|
-
return this.
|
|
163
|
+
return this.p2b(other instanceof Uuid ? other : THROW_CCE());
|
|
164
164
|
};
|
|
165
165
|
function uuid4() {
|
|
166
166
|
var tmp$ret$1;
|