game_client_logic_deb 1.3.85 → 1.3.101
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/Kodein-kodein-di-js-ir.js +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +32 -32
- package/Logic_Debertz-core.js +1275 -1085
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +7832 -7704
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +8 -5
- package/Logic_Debertz-game_client.js +2669 -2800
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +403 -403
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +36 -36
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +12 -12
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
while (tmp0_iterator_0.g()) {
|
|
585
585
|
var e = tmp0_iterator_0.h();
|
|
586
586
|
var key = tmp1_aggregate.y(e);
|
|
587
|
-
var accumulator = tmp2_aggregateTo.
|
|
587
|
+
var accumulator = tmp2_aggregateTo.s(key);
|
|
588
588
|
// Inline function 'kotlin.collections.set' call
|
|
589
589
|
var tmp$ret$3;
|
|
590
590
|
// Inline function 'kotlinx.serialization.SealedClassSerializer.<anonymous>' call
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
}
|
|
597
597
|
tmp$ret$3 = e;
|
|
598
598
|
var tmp1_set = tmp$ret$3;
|
|
599
|
-
tmp2_aggregateTo.
|
|
599
|
+
tmp2_aggregateTo.p(key, tmp1_set);
|
|
600
600
|
}
|
|
601
601
|
tmp$ret$4 = tmp2_aggregateTo;
|
|
602
602
|
tmp$ret$5 = tmp$ret$4;
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
var tmp$ret$7;
|
|
618
618
|
// Inline function 'kotlinx.serialization.SealedClassSerializer.<anonymous>' call
|
|
619
619
|
tmp$ret$7 = element.c2().c2();
|
|
620
|
-
tmp1_mapValuesTo.
|
|
620
|
+
tmp1_mapValuesTo.p(tmp_2, tmp$ret$7);
|
|
621
621
|
}
|
|
622
622
|
tmp$ret$8 = tmp1_mapValuesTo;
|
|
623
623
|
tmp$ret$9 = tmp$ret$8;
|
|
@@ -638,12 +638,12 @@
|
|
|
638
638
|
var tmp$ret$0;
|
|
639
639
|
// Inline function 'kotlin.collections.get' call
|
|
640
640
|
var tmp0_get = this.e1j_1;
|
|
641
|
-
tmp$ret$0 = (isInterface(tmp0_get, Map) ? tmp0_get : THROW_CCE()).
|
|
641
|
+
tmp$ret$0 = (isInterface(tmp0_get, Map) ? tmp0_get : THROW_CCE()).s(klassName);
|
|
642
642
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
643
643
|
return tmp0_elvis_lhs == null ? AbstractPolymorphicSerializer.prototype.y1i.call(this, decoder, klassName) : tmp0_elvis_lhs;
|
|
644
644
|
};
|
|
645
645
|
SealedClassSerializer.prototype.z1i = function (encoder, value) {
|
|
646
|
-
var tmp0_elvis_lhs = this.d1j_1.
|
|
646
|
+
var tmp0_elvis_lhs = this.d1j_1.s(getKClassFromExpression(value));
|
|
647
647
|
var tmp1_safe_receiver = tmp0_elvis_lhs == null ? AbstractPolymorphicSerializer.prototype.z1i.call(this, encoder, value) : tmp0_elvis_lhs;
|
|
648
648
|
var tmp;
|
|
649
649
|
if (tmp1_safe_receiver == null) {
|
|
@@ -1489,7 +1489,7 @@
|
|
|
1489
1489
|
return getChecked(this.s1k_1, index);
|
|
1490
1490
|
};
|
|
1491
1491
|
SerialDescriptorImpl.prototype.a1k = function (name) {
|
|
1492
|
-
var tmp0_elvis_lhs = this.w1k_1.
|
|
1492
|
+
var tmp0_elvis_lhs = this.w1k_1.s(name);
|
|
1493
1493
|
var tmp;
|
|
1494
1494
|
if (tmp0_elvis_lhs == null) {
|
|
1495
1495
|
Companion_getInstance_7();
|
|
@@ -2799,7 +2799,7 @@
|
|
|
2799
2799
|
}
|
|
2800
2800
|
var value = tmp_1;
|
|
2801
2801
|
// Inline function 'kotlin.collections.set' call
|
|
2802
|
-
builder.
|
|
2802
|
+
builder.p(key, value);
|
|
2803
2803
|
};
|
|
2804
2804
|
MapLikeSerializer.prototype.d1p = function (encoder, value) {
|
|
2805
2805
|
var size = this.z1p(value);
|
|
@@ -3736,7 +3736,7 @@
|
|
|
3736
3736
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3737
3737
|
// Inline function 'kotlin.collections.set' call
|
|
3738
3738
|
var tmp0_set = $this.x1r_1[i];
|
|
3739
|
-
indices.
|
|
3739
|
+
indices.p(tmp0_set, i);
|
|
3740
3740
|
}
|
|
3741
3741
|
while (inductionVariable <= last);
|
|
3742
3742
|
return indices;
|
|
@@ -3878,7 +3878,7 @@
|
|
|
3878
3878
|
return getChecked(this.x1r_1, index);
|
|
3879
3879
|
};
|
|
3880
3880
|
PluginGeneratedSerialDescriptor.prototype.a1k = function (name) {
|
|
3881
|
-
var tmp0_elvis_lhs = this.b1s_1.
|
|
3881
|
+
var tmp0_elvis_lhs = this.b1s_1.s(name);
|
|
3882
3882
|
var tmp;
|
|
3883
3883
|
if (tmp0_elvis_lhs == null) {
|
|
3884
3884
|
Companion_getInstance_7();
|
|
@@ -5005,7 +5005,7 @@
|
|
|
5005
5005
|
var BUILTIN_SERIALIZERS;
|
|
5006
5006
|
function builtinSerializerOrNull(_this__u8e3s4) {
|
|
5007
5007
|
init_properties_Primitives_kt_u7dn2q();
|
|
5008
|
-
var tmp = get_BUILTIN_SERIALIZERS().
|
|
5008
|
+
var tmp = get_BUILTIN_SERIALIZERS().s(_this__u8e3s4);
|
|
5009
5009
|
return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : THROW_CCE();
|
|
5010
5010
|
}
|
|
5011
5011
|
function StringSerializer() {
|
|
@@ -5637,13 +5637,13 @@
|
|
|
5637
5637
|
return this.r20_1;
|
|
5638
5638
|
};
|
|
5639
5639
|
PairSerializer_0.prototype.s20 = function (_this__u8e3s4) {
|
|
5640
|
-
return _this__u8e3s4.
|
|
5640
|
+
return _this__u8e3s4.q_1;
|
|
5641
5641
|
};
|
|
5642
5642
|
PairSerializer_0.prototype.i20 = function (_this__u8e3s4) {
|
|
5643
5643
|
return this.s20(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
|
|
5644
5644
|
};
|
|
5645
5645
|
PairSerializer_0.prototype.t20 = function (_this__u8e3s4) {
|
|
5646
|
-
return _this__u8e3s4.
|
|
5646
|
+
return _this__u8e3s4.r_1;
|
|
5647
5647
|
};
|
|
5648
5648
|
PairSerializer_0.prototype.k20 = function (_this__u8e3s4) {
|
|
5649
5649
|
return this.t20(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
|
|
@@ -6000,36 +6000,36 @@
|
|
|
6000
6000
|
SerialModuleImpl.prototype.r1n = function (baseClass, value) {
|
|
6001
6001
|
if (!isInstanceOf(value, baseClass))
|
|
6002
6002
|
return null;
|
|
6003
|
-
var tmp0_safe_receiver = this.c22_1.
|
|
6004
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
6003
|
+
var tmp0_safe_receiver = this.c22_1.s(baseClass);
|
|
6004
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s(getKClassFromExpression(value));
|
|
6005
6005
|
var registered = (!(tmp == null) ? isInterface(tmp, SerializationStrategy) : false) ? tmp : null;
|
|
6006
6006
|
if (!(registered == null))
|
|
6007
6007
|
return registered;
|
|
6008
|
-
var tmp_0 = this.d22_1.
|
|
6008
|
+
var tmp_0 = this.d22_1.s(baseClass);
|
|
6009
6009
|
var tmp1_safe_receiver = (!(tmp_0 == null) ? typeof tmp_0 === 'function' : false) ? tmp_0 : null;
|
|
6010
6010
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver(value);
|
|
6011
6011
|
};
|
|
6012
6012
|
SerialModuleImpl.prototype.q1n = function (baseClass, serializedClassName) {
|
|
6013
|
-
var tmp0_safe_receiver = this.e22_1.
|
|
6013
|
+
var tmp0_safe_receiver = this.e22_1.s(baseClass);
|
|
6014
6014
|
var tmp;
|
|
6015
6015
|
if (tmp0_safe_receiver == null) {
|
|
6016
6016
|
tmp = null;
|
|
6017
6017
|
} else {
|
|
6018
6018
|
var tmp$ret$0;
|
|
6019
6019
|
// Inline function 'kotlin.collections.get' call
|
|
6020
|
-
tmp$ret$0 = ((!(tmp0_safe_receiver == null) ? isInterface(tmp0_safe_receiver, Map) : false) ? tmp0_safe_receiver : THROW_CCE()).
|
|
6020
|
+
tmp$ret$0 = ((!(tmp0_safe_receiver == null) ? isInterface(tmp0_safe_receiver, Map) : false) ? tmp0_safe_receiver : THROW_CCE()).s(serializedClassName);
|
|
6021
6021
|
tmp = tmp$ret$0;
|
|
6022
6022
|
}
|
|
6023
6023
|
var tmp_0 = tmp;
|
|
6024
6024
|
var registered = (!(tmp_0 == null) ? isInterface(tmp_0, KSerializer) : false) ? tmp_0 : null;
|
|
6025
6025
|
if (!(registered == null))
|
|
6026
6026
|
return registered;
|
|
6027
|
-
var tmp_1 = this.f22_1.
|
|
6027
|
+
var tmp_1 = this.f22_1.s(baseClass);
|
|
6028
6028
|
var tmp1_safe_receiver = (!(tmp_1 == null) ? typeof tmp_1 === 'function' : false) ? tmp_1 : null;
|
|
6029
6029
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver(serializedClassName);
|
|
6030
6030
|
};
|
|
6031
6031
|
SerialModuleImpl.prototype.m1j = function (kClass, typeArgumentsSerializers) {
|
|
6032
|
-
var tmp0_safe_receiver = this.b22_1.
|
|
6032
|
+
var tmp0_safe_receiver = this.b22_1.s(kClass);
|
|
6033
6033
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g22(typeArgumentsSerializers);
|
|
6034
6034
|
return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : null;
|
|
6035
6035
|
};
|
|
@@ -6244,14 +6244,14 @@
|
|
|
6244
6244
|
};
|
|
6245
6245
|
SerializersModuleBuilder.prototype.r22 = function (forClass, provider, allowOverwrite) {
|
|
6246
6246
|
if (!allowOverwrite) {
|
|
6247
|
-
var previous = this.s21_1.
|
|
6247
|
+
var previous = this.s21_1.s(forClass);
|
|
6248
6248
|
if (!(previous == null) ? !equals(previous, provider) : false) {
|
|
6249
6249
|
throw new SerializerAlreadyRegisteredException('Contextual serializer or serializer provider for ' + forClass + ' already registered in this module');
|
|
6250
6250
|
}
|
|
6251
6251
|
}
|
|
6252
6252
|
// Inline function 'kotlin.collections.set' call
|
|
6253
6253
|
var tmp0_set = this.s21_1;
|
|
6254
|
-
tmp0_set.
|
|
6254
|
+
tmp0_set.p(forClass, provider);
|
|
6255
6255
|
};
|
|
6256
6256
|
SerializersModuleBuilder.prototype.q22 = function (forClass, provider, allowOverwrite, $mask0, $handler) {
|
|
6257
6257
|
if (!(($mask0 & 4) === 0))
|
|
@@ -6259,54 +6259,54 @@
|
|
|
6259
6259
|
return this.r22(forClass, provider, allowOverwrite);
|
|
6260
6260
|
};
|
|
6261
6261
|
SerializersModuleBuilder.prototype.y21 = function (baseClass, defaultSerializerProvider, allowOverwrite) {
|
|
6262
|
-
var previous = this.u21_1.
|
|
6262
|
+
var previous = this.u21_1.s(baseClass);
|
|
6263
6263
|
if ((!(previous == null) ? !equals(previous, defaultSerializerProvider) : false) ? !allowOverwrite : false) {
|
|
6264
6264
|
throw IllegalArgumentException_init_$Create$('Default serializers provider for ' + baseClass + ' is already registered: ' + previous);
|
|
6265
6265
|
}
|
|
6266
6266
|
// Inline function 'kotlin.collections.set' call
|
|
6267
6267
|
var tmp0_set = this.u21_1;
|
|
6268
|
-
tmp0_set.
|
|
6268
|
+
tmp0_set.p(baseClass, defaultSerializerProvider);
|
|
6269
6269
|
};
|
|
6270
6270
|
SerializersModuleBuilder.prototype.z21 = function (baseClass, defaultDeserializerProvider, allowOverwrite) {
|
|
6271
|
-
var previous = this.w21_1.
|
|
6271
|
+
var previous = this.w21_1.s(baseClass);
|
|
6272
6272
|
if ((!(previous == null) ? !equals(previous, defaultDeserializerProvider) : false) ? !allowOverwrite : false) {
|
|
6273
6273
|
throw IllegalArgumentException_init_$Create$('Default deserializers provider for ' + baseClass + ' is already registered: ' + previous);
|
|
6274
6274
|
}
|
|
6275
6275
|
// Inline function 'kotlin.collections.set' call
|
|
6276
6276
|
var tmp0_set = this.w21_1;
|
|
6277
|
-
tmp0_set.
|
|
6277
|
+
tmp0_set.p(baseClass, defaultDeserializerProvider);
|
|
6278
6278
|
};
|
|
6279
6279
|
SerializersModuleBuilder.prototype.s22 = function (baseClass, concreteClass, concreteSerializer, allowOverwrite) {
|
|
6280
6280
|
var name = concreteSerializer.i1i().f1j();
|
|
6281
6281
|
var tmp$ret$1;
|
|
6282
6282
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
6283
6283
|
var tmp0_getOrPut = this.t21_1;
|
|
6284
|
-
var value = tmp0_getOrPut.
|
|
6284
|
+
var value = tmp0_getOrPut.s(baseClass);
|
|
6285
6285
|
var tmp;
|
|
6286
6286
|
if (value == null) {
|
|
6287
6287
|
var tmp$ret$0;
|
|
6288
6288
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
6289
6289
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
6290
6290
|
var answer = tmp$ret$0;
|
|
6291
|
-
tmp0_getOrPut.
|
|
6291
|
+
tmp0_getOrPut.p(baseClass, answer);
|
|
6292
6292
|
tmp = answer;
|
|
6293
6293
|
} else {
|
|
6294
6294
|
tmp = value;
|
|
6295
6295
|
}
|
|
6296
6296
|
tmp$ret$1 = tmp;
|
|
6297
6297
|
var baseClassSerializers = tmp$ret$1;
|
|
6298
|
-
var previousSerializer = baseClassSerializers.
|
|
6298
|
+
var previousSerializer = baseClassSerializers.s(concreteClass);
|
|
6299
6299
|
var tmp$ret$3;
|
|
6300
6300
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
6301
6301
|
var tmp1_getOrPut = this.v21_1;
|
|
6302
|
-
var value_0 = tmp1_getOrPut.
|
|
6302
|
+
var value_0 = tmp1_getOrPut.s(baseClass);
|
|
6303
6303
|
var tmp_0;
|
|
6304
6304
|
if (value_0 == null) {
|
|
6305
6305
|
var tmp$ret$2;
|
|
6306
6306
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
6307
6307
|
tmp$ret$2 = HashMap_init_$Create$();
|
|
6308
6308
|
var answer_0 = tmp$ret$2;
|
|
6309
|
-
tmp1_getOrPut.
|
|
6309
|
+
tmp1_getOrPut.p(baseClass, answer_0);
|
|
6310
6310
|
tmp_0 = answer_0;
|
|
6311
6311
|
} else {
|
|
6312
6312
|
tmp_0 = value_0;
|
|
@@ -6318,9 +6318,9 @@
|
|
|
6318
6318
|
names.od(previousSerializer.i1i().f1j());
|
|
6319
6319
|
}
|
|
6320
6320
|
// Inline function 'kotlin.collections.set' call
|
|
6321
|
-
baseClassSerializers.
|
|
6321
|
+
baseClassSerializers.p(concreteClass, concreteSerializer);
|
|
6322
6322
|
// Inline function 'kotlin.collections.set' call
|
|
6323
|
-
names.
|
|
6323
|
+
names.p(name, concreteSerializer);
|
|
6324
6324
|
return Unit_getInstance();
|
|
6325
6325
|
}
|
|
6326
6326
|
if (!(previousSerializer == null)) {
|
|
@@ -6330,11 +6330,11 @@
|
|
|
6330
6330
|
names.od(previousSerializer.i1i().f1j());
|
|
6331
6331
|
}
|
|
6332
6332
|
}
|
|
6333
|
-
var previousByName = names.
|
|
6333
|
+
var previousByName = names.s(name);
|
|
6334
6334
|
if (!(previousByName == null)) {
|
|
6335
6335
|
var tmp$ret$6;
|
|
6336
6336
|
// Inline function 'kotlin.sequences.find' call
|
|
6337
|
-
var tmp2_find = asSequence(ensureNotNull(this.t21_1.
|
|
6337
|
+
var tmp2_find = asSequence(ensureNotNull(this.t21_1.s(baseClass)));
|
|
6338
6338
|
var tmp$ret$5;
|
|
6339
6339
|
$l$block: {
|
|
6340
6340
|
// Inline function 'kotlin.sequences.firstOrNull' call
|
|
@@ -6356,9 +6356,9 @@
|
|
|
6356
6356
|
throw IllegalArgumentException_init_$Create$("Multiple polymorphic serializers for base class '" + baseClass + "' " + ("have the same serial name '" + name + "': '" + concreteClass + "' and '" + conflictingClass + "'"));
|
|
6357
6357
|
}
|
|
6358
6358
|
// Inline function 'kotlin.collections.set' call
|
|
6359
|
-
baseClassSerializers.
|
|
6359
|
+
baseClassSerializers.p(concreteClass, concreteSerializer);
|
|
6360
6360
|
// Inline function 'kotlin.collections.set' call
|
|
6361
|
-
names.
|
|
6361
|
+
names.p(name, concreteSerializer);
|
|
6362
6362
|
};
|
|
6363
6363
|
SerializersModuleBuilder.prototype.x21 = function (baseClass, concreteClass, concreteSerializer, allowOverwrite, $mask0, $handler) {
|
|
6364
6364
|
if (!(($mask0 & 8) === 0))
|
|
@@ -566,9 +566,9 @@
|
|
|
566
566
|
return this.w24((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
567
567
|
};
|
|
568
568
|
JsonObject.prototype.x24 = function (key) {
|
|
569
|
-
return this.v24_1.
|
|
569
|
+
return this.v24_1.s(key);
|
|
570
570
|
};
|
|
571
|
-
JsonObject.prototype.
|
|
571
|
+
JsonObject.prototype.s = function (key) {
|
|
572
572
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
573
573
|
return null;
|
|
574
574
|
return this.x24((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
@@ -1435,7 +1435,7 @@
|
|
|
1435
1435
|
var tmp = get_schemaCache(json);
|
|
1436
1436
|
var tmp_0 = get_JsonAlternativeNamesKey();
|
|
1437
1437
|
var alternativeNamesMap = tmp.a27(_this__u8e3s4, tmp_0, buildAlternativeNamesMap$ref(_this__u8e3s4));
|
|
1438
|
-
var tmp0_elvis_lhs = alternativeNamesMap.
|
|
1438
|
+
var tmp0_elvis_lhs = alternativeNamesMap.s(name);
|
|
1439
1439
|
var tmp_1;
|
|
1440
1440
|
if (tmp0_elvis_lhs == null) {
|
|
1441
1441
|
Companion_getInstance_0();
|
|
@@ -1513,7 +1513,7 @@
|
|
|
1513
1513
|
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildAlternativeNamesMap.b1k(index) + ' is already one of the names for property ' + ($this_buildAlternativeNamesMap.b1k(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildAlternativeNamesMap));
|
|
1514
1514
|
}
|
|
1515
1515
|
// Inline function 'kotlin.collections.set' call
|
|
1516
|
-
_this__u8e3s4.
|
|
1516
|
+
_this__u8e3s4.p(name, index);
|
|
1517
1517
|
}
|
|
1518
1518
|
function buildAlternativeNamesMap$ref($boundThis) {
|
|
1519
1519
|
var l = function () {
|
|
@@ -1696,7 +1696,7 @@
|
|
|
1696
1696
|
tmp$ret$1 = $this.b28();
|
|
1697
1697
|
var element = tmp$ret$1;
|
|
1698
1698
|
// Inline function 'kotlin.collections.set' call
|
|
1699
|
-
result.
|
|
1699
|
+
result.p(key, element);
|
|
1700
1700
|
lastToken = $this.t27_1.c28();
|
|
1701
1701
|
var tmp0_subject = lastToken;
|
|
1702
1702
|
if (tmp0_subject === get_TC_COMMA())
|
|
@@ -1898,7 +1898,7 @@
|
|
|
1898
1898
|
continue $sm;
|
|
1899
1899
|
case 2:
|
|
1900
1900
|
var element = suspendResult;
|
|
1901
|
-
this.o28_1.
|
|
1901
|
+
this.o28_1.p(this.p28_1, element);
|
|
1902
1902
|
;
|
|
1903
1903
|
this.n28_1 = this.l28_1.t27_1.c28();
|
|
1904
1904
|
var tmp0_subject = this.n28_1;
|
|
@@ -2140,14 +2140,14 @@
|
|
|
2140
2140
|
var tmp$ret$1;
|
|
2141
2141
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2142
2142
|
var tmp0_getOrPut = this.z26_1;
|
|
2143
|
-
var value_0 = tmp0_getOrPut.
|
|
2143
|
+
var value_0 = tmp0_getOrPut.s(descriptor);
|
|
2144
2144
|
var tmp;
|
|
2145
2145
|
if (value_0 == null) {
|
|
2146
2146
|
var tmp$ret$0;
|
|
2147
2147
|
// Inline function 'kotlinx.serialization.json.internal.DescriptorSchemaCache.set.<anonymous>' call
|
|
2148
2148
|
tmp$ret$0 = createMapForCache(1);
|
|
2149
2149
|
var answer = tmp$ret$0;
|
|
2150
|
-
tmp0_getOrPut.
|
|
2150
|
+
tmp0_getOrPut.p(descriptor, answer);
|
|
2151
2151
|
tmp = answer;
|
|
2152
2152
|
} else {
|
|
2153
2153
|
tmp = value_0;
|
|
@@ -2156,7 +2156,7 @@
|
|
|
2156
2156
|
var tmp1_set = tmp$ret$1;
|
|
2157
2157
|
var tmp2_set = key instanceof Key ? key : THROW_CCE();
|
|
2158
2158
|
var tmp3_set = isObject(value) ? value : THROW_CCE();
|
|
2159
|
-
tmp1_set.
|
|
2159
|
+
tmp1_set.p(tmp2_set, tmp3_set);
|
|
2160
2160
|
};
|
|
2161
2161
|
DescriptorSchemaCache.prototype.a27 = function (descriptor, key, defaultValue) {
|
|
2162
2162
|
var tmp0_safe_receiver = this.j29(descriptor, key);
|
|
@@ -2173,12 +2173,12 @@
|
|
|
2173
2173
|
return value;
|
|
2174
2174
|
};
|
|
2175
2175
|
DescriptorSchemaCache.prototype.j29 = function (descriptor, key) {
|
|
2176
|
-
var tmp0_safe_receiver = this.z26_1.
|
|
2176
|
+
var tmp0_safe_receiver = this.z26_1.s(descriptor);
|
|
2177
2177
|
var tmp;
|
|
2178
2178
|
if (tmp0_safe_receiver == null) {
|
|
2179
2179
|
tmp = null;
|
|
2180
2180
|
} else {
|
|
2181
|
-
tmp = tmp0_safe_receiver.
|
|
2181
|
+
tmp = tmp0_safe_receiver.s(key instanceof Key ? key : THROW_CCE());
|
|
2182
2182
|
}
|
|
2183
2183
|
var tmp_0 = tmp;
|
|
2184
2184
|
return isObject(tmp_0) ? tmp_0 : null;
|
|
@@ -3817,7 +3817,7 @@
|
|
|
3817
3817
|
var element = tmp0_iterator.h();
|
|
3818
3818
|
var tmp$ret$0;
|
|
3819
3819
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.elementName.<anonymous>' call
|
|
3820
|
-
tmp$ret$0 = alternativeNamesMap.
|
|
3820
|
+
tmp$ret$0 = alternativeNamesMap.s(element) === index;
|
|
3821
3821
|
if (tmp$ret$0) {
|
|
3822
3822
|
tmp$ret$1 = element;
|
|
3823
3823
|
break $l$block;
|
package/package.json
CHANGED
package/uuid-js-ir.js
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
function Companion() {
|
|
69
69
|
Companion_instance = this;
|
|
70
|
-
this.
|
|
70
|
+
this.e2v_1 = listOf([until(0, 4), until(4, 6), until(6, 8), until(8, 10), until(10, 16)]);
|
|
71
71
|
}
|
|
72
72
|
Companion.$metadata$ = objectMeta('Companion');
|
|
73
73
|
var Companion_instance;
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
}
|
|
79
79
|
function Uuid(uuidBytes) {
|
|
80
80
|
Companion_getInstance();
|
|
81
|
-
this.
|
|
81
|
+
this.f2v_1 = uuidBytes;
|
|
82
82
|
// Inline function 'kotlin.require' call
|
|
83
83
|
var tmp$ret$0;
|
|
84
84
|
// Inline function 'kotlin.collections.count' call
|
|
85
|
-
var tmp0_count = this.
|
|
85
|
+
var tmp0_count = this.f2v_1;
|
|
86
86
|
tmp$ret$0 = tmp0_count.length;
|
|
87
87
|
var tmp1_require = tmp$ret$0 === get_UUID_BYTES();
|
|
88
88
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
var tmp = get_UUID_BYTES();
|
|
93
93
|
var tmp$ret$1;
|
|
94
94
|
// Inline function 'kotlin.collections.count' call
|
|
95
|
-
var tmp0_count_0 = this.
|
|
95
|
+
var tmp0_count_0 = this.f2v_1;
|
|
96
96
|
tmp$ret$1 = tmp0_count_0.length;
|
|
97
97
|
tmp$ret$2 = 'Invalid UUID bytes. Expected ' + tmp + ' bytes; found ' + tmp$ret$1;
|
|
98
98
|
var message = tmp$ret$2;
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
}
|
|
101
101
|
freeze(this);
|
|
102
102
|
}
|
|
103
|
-
Uuid.prototype.
|
|
104
|
-
return this.
|
|
103
|
+
Uuid.prototype.g2v = function () {
|
|
104
|
+
return this.f2v_1;
|
|
105
105
|
};
|
|
106
106
|
Uuid.prototype.toString = function () {
|
|
107
107
|
var characters = charArray(get_UUID_STRING_LENGTH());
|
|
108
108
|
var charIndex = 0;
|
|
109
|
-
var tmp0_iterator = Companion_getInstance().
|
|
109
|
+
var tmp0_iterator = Companion_getInstance().e2v_1.f();
|
|
110
110
|
while (tmp0_iterator.g()) {
|
|
111
111
|
var range = tmp0_iterator.h();
|
|
112
112
|
var inductionVariable = range.j1_1;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
do {
|
|
116
116
|
var i = inductionVariable;
|
|
117
117
|
inductionVariable = inductionVariable + 1 | 0;
|
|
118
|
-
var octetPair = this.
|
|
118
|
+
var octetPair = this.f2v_1[i];
|
|
119
119
|
var left = octetPair >> 4 & 15;
|
|
120
120
|
var right = octetPair & 15;
|
|
121
121
|
var tmp2 = charIndex;
|
|
@@ -137,23 +137,23 @@
|
|
|
137
137
|
Uuid.prototype.equals = function (other) {
|
|
138
138
|
var tmp;
|
|
139
139
|
if (other instanceof Uuid) {
|
|
140
|
-
tmp = contentEquals(this.
|
|
140
|
+
tmp = contentEquals(this.f2v_1, other.f2v_1);
|
|
141
141
|
} else {
|
|
142
142
|
tmp = false;
|
|
143
143
|
}
|
|
144
144
|
return tmp;
|
|
145
145
|
};
|
|
146
146
|
Uuid.prototype.hashCode = function () {
|
|
147
|
-
return contentHashCode(this.
|
|
147
|
+
return contentHashCode(this.f2v_1);
|
|
148
148
|
};
|
|
149
|
-
Uuid.prototype.
|
|
149
|
+
Uuid.prototype.h2v = function (other) {
|
|
150
150
|
var inductionVariable = 0;
|
|
151
151
|
var last = get_UUID_BYTES();
|
|
152
152
|
if (inductionVariable < last)
|
|
153
153
|
do {
|
|
154
154
|
var i = inductionVariable;
|
|
155
155
|
inductionVariable = inductionVariable + 1 | 0;
|
|
156
|
-
var compareResult = compareTo(this.
|
|
156
|
+
var compareResult = compareTo(this.f2v_1[i], other.f2v_1[i]);
|
|
157
157
|
if (!(compareResult === 0))
|
|
158
158
|
return compareResult;
|
|
159
159
|
}
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
return 0;
|
|
162
162
|
};
|
|
163
163
|
Uuid.prototype.g8 = function (other) {
|
|
164
|
-
return this.
|
|
164
|
+
return this.h2v(other instanceof Uuid ? other : THROW_CCE());
|
|
165
165
|
};
|
|
166
166
|
Uuid.$metadata$ = classMeta('Uuid', [Comparable]);
|
|
167
167
|
function uuid4() {
|