client_plugin_logic_deb 1.8.451 → 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.
Files changed (74) hide show
  1. package/Kosi-Kaverit-kaverit.js +94 -94
  2. package/Kosi-Kaverit-kaverit.js.map +1 -1
  3. package/Kosi-Kodein-kodein-di.js +828 -788
  4. package/Kosi-Kodein-kodein-di.js.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +1928 -1928
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  7. package/Logic_Debertz-ai_module.js +684 -688
  8. package/Logic_Debertz-ai_module.js.map +1 -1
  9. package/Logic_Debertz-client_plugin.d.ts +784 -698
  10. package/Logic_Debertz-client_plugin.js +5091 -5091
  11. package/Logic_Debertz-client_plugin.js.map +1 -1
  12. package/Logic_Debertz-core.js +2256 -2270
  13. package/Logic_Debertz-core.js.map +1 -1
  14. package/Logic_Debertz-engine.js +21274 -21284
  15. package/Logic_Debertz-engine.js.map +1 -1
  16. package/Logic_Debertz-game_client.js +13526 -13573
  17. package/Logic_Debertz-game_client.js.map +1 -1
  18. package/Logic_Debertz-game_server.js +2260 -2273
  19. package/Logic_Debertz-game_server.js.map +1 -1
  20. package/error-library-error.js +7 -7
  21. package/kotlin-kotlin-stdlib.js +5719 -4846
  22. package/kotlin-kotlin-stdlib.js.map +1 -1
  23. package/kotlinx-atomicfu.js +22 -22
  24. package/kotlinx-coroutines-core.js +3652 -3603
  25. package/kotlinx-coroutines-core.js.map +1 -1
  26. package/kotlinx-io-kotlinx-io-bytestring.js +204 -5
  27. package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
  28. package/kotlinx-io-kotlinx-io-core.js +1699 -438
  29. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  30. package/kotlinx-serialization-kotlinx-serialization-core.js +2256 -2255
  31. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  32. package/kotlinx-serialization-kotlinx-serialization-json-io.js +15 -0
  33. package/kotlinx-serialization-kotlinx-serialization-json.js +1630 -1630
  34. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  35. package/ktor-ktor-client-content-negotiation.js +457 -395
  36. package/ktor-ktor-client-content-negotiation.js.map +1 -1
  37. package/ktor-ktor-client-core.js +6643 -3939
  38. package/ktor-ktor-client-core.js.map +1 -1
  39. package/ktor-ktor-client-logging.js +2627 -893
  40. package/ktor-ktor-client-logging.js.map +1 -1
  41. package/ktor-ktor-events.js +14 -14
  42. package/ktor-ktor-events.js.map +1 -1
  43. package/ktor-ktor-http-cio.js +2278 -0
  44. package/ktor-ktor-http-cio.js.map +1 -0
  45. package/ktor-ktor-http.js +1268 -1128
  46. package/ktor-ktor-http.js.map +1 -1
  47. package/ktor-ktor-io.js +2624 -5540
  48. package/ktor-ktor-io.js.map +1 -1
  49. package/ktor-ktor-serialization-kotlinx-json.js +8 -8
  50. package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
  51. package/ktor-ktor-serialization-kotlinx.js +333 -339
  52. package/ktor-ktor-serialization-kotlinx.js.map +1 -1
  53. package/ktor-ktor-serialization.js +143 -153
  54. package/ktor-ktor-serialization.js.map +1 -1
  55. package/{ktor-ktor-client-js.js → ktor-ktor-sse.js} +2 -2
  56. package/ktor-ktor-sse.js.map +1 -0
  57. package/ktor-ktor-utils.js +1711 -1144
  58. package/ktor-ktor-utils.js.map +1 -1
  59. package/ktor-ktor-websockets.js +123 -136
  60. package/ktor-ktor-websockets.js.map +1 -1
  61. package/package.json +2 -4
  62. package/random-library-crypto-rand.js +15 -15
  63. package/random-library-crypto-rand.js.map +1 -1
  64. package/random-library-secure-random.js +10 -10
  65. package/random-library-secure-random.js.map +1 -1
  66. package/raspberry-cardgame-lib-core.js +376 -377
  67. package/raspberry-cardgame-lib-core.js.map +1 -1
  68. package/raspberry-cardgame-lib-logger.js +120 -121
  69. package/raspberry-cardgame-lib-logger.js.map +1 -1
  70. package/raspberry-cardgame-lib-random.js +1181 -1207
  71. package/raspberry-cardgame-lib-random.js.map +1 -1
  72. package/uuid.js +38 -38
  73. package/uuid.js.map +1 -1
  74. /package/{ktor-ktor-client-js.js.map → kotlinx-serialization-kotlinx-serialization-json-io.js.map} +0 -0
@@ -1,13 +1,212 @@
1
1
  (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports'], factory);
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports);
6
- else
7
- globalThis['kotlinx-io-kotlinx-io-bytestring'] = factory(typeof globalThis['kotlinx-io-kotlinx-io-bytestring'] === 'undefined' ? {} : globalThis['kotlinx-io-kotlinx-io-bytestring']);
8
- }(function (_) {
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 'kotlinx-io-kotlinx-io-bytestring'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlinx-io-kotlinx-io-bytestring'.");
9
+ }
10
+ globalThis['kotlinx-io-kotlinx-io-bytestring'] = factory(typeof globalThis['kotlinx-io-kotlinx-io-bytestring'] === 'undefined' ? {} : globalThis['kotlinx-io-kotlinx-io-bytestring'], globalThis['kotlin-kotlin-stdlib']);
11
+ }
12
+ }(function (_, kotlin_kotlin) {
9
13
  'use strict';
14
+ //region block: imports
15
+ var imul = Math.imul;
16
+ var VOID = kotlin_kotlin.$_$.b;
17
+ var copyOfRange = kotlin_kotlin.$_$.t6;
18
+ var protoOf = kotlin_kotlin.$_$.be;
19
+ var objectCreate = kotlin_kotlin.$_$.ae;
20
+ var toCharArray = kotlin_kotlin.$_$.yg;
21
+ var initMetadataForCompanion = kotlin_kotlin.$_$.bd;
22
+ var getKClassFromExpression = kotlin_kotlin.$_$.ue;
23
+ var THROW_CCE = kotlin_kotlin.$_$.ni;
24
+ var Unit_instance = kotlin_kotlin.$_$.i5;
25
+ var contentEquals = kotlin_kotlin.$_$.p6;
26
+ var contentHashCode = kotlin_kotlin.$_$.q6;
27
+ var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.u1;
28
+ var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.b3;
29
+ var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.c3;
30
+ var compareTo = kotlin_kotlin.$_$.rc;
31
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.a1;
32
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.o2;
33
+ var Comparable = kotlin_kotlin.$_$.yh;
34
+ var initMetadataForClass = kotlin_kotlin.$_$.ad;
35
+ var decodeToString = kotlin_kotlin.$_$.of;
36
+ var initMetadataForObject = kotlin_kotlin.$_$.gd;
37
+ //endregion
10
38
  //region block: pre-declaration
39
+ initMetadataForCompanion(Companion);
40
+ initMetadataForClass(ByteString, 'ByteString', VOID, VOID, [Comparable]);
41
+ initMetadataForObject(UnsafeByteStringOperations, 'UnsafeByteStringOperations');
42
+ //endregion
43
+ function ByteString_init_$Init$(data, startIndex, endIndex, $this) {
44
+ startIndex = startIndex === VOID ? 0 : startIndex;
45
+ endIndex = endIndex === VOID ? data.length : endIndex;
46
+ ByteString.call($this, copyOfRange(data, startIndex, endIndex), null);
47
+ return $this;
48
+ }
49
+ function ByteString_init_$Create$(data, startIndex, endIndex) {
50
+ return ByteString_init_$Init$(data, startIndex, endIndex, objectCreate(protoOf(ByteString)));
51
+ }
52
+ function Companion() {
53
+ Companion_instance = this;
54
+ this.a1i_1 = new ByteString(new Int8Array(0), null);
55
+ this.b1i_1 = toCharArray('0123456789abcdef');
56
+ }
57
+ protoOf(Companion).c1i = function (byteArray) {
58
+ return new ByteString(byteArray, null);
59
+ };
60
+ var Companion_instance;
61
+ function Companion_getInstance() {
62
+ if (Companion_instance == null)
63
+ new Companion();
64
+ return Companion_instance;
65
+ }
66
+ function ByteString(data, dummy) {
67
+ Companion_getInstance();
68
+ this.d1i_1 = data;
69
+ this.e1i_1 = 0;
70
+ }
71
+ protoOf(ByteString).g1 = function () {
72
+ return this.d1i_1.length;
73
+ };
74
+ protoOf(ByteString).equals = function (other) {
75
+ if (this === other)
76
+ return true;
77
+ if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
78
+ return false;
79
+ if (!(other instanceof ByteString))
80
+ THROW_CCE();
81
+ if (!(other.d1i_1.length === this.d1i_1.length))
82
+ return false;
83
+ if (!(other.e1i_1 === 0) && !(this.e1i_1 === 0) && !(other.e1i_1 === this.e1i_1))
84
+ return false;
85
+ return contentEquals(this.d1i_1, other.d1i_1);
86
+ };
87
+ protoOf(ByteString).hashCode = function () {
88
+ var hc = this.e1i_1;
89
+ if (hc === 0) {
90
+ hc = contentHashCode(this.d1i_1);
91
+ this.e1i_1 = hc;
92
+ }
93
+ return hc;
94
+ };
95
+ protoOf(ByteString).h1 = function (index) {
96
+ if (index < 0 || index >= this.g1())
97
+ throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.g1() + ')');
98
+ return this.d1i_1[index];
99
+ };
100
+ protoOf(ByteString).f1i = function (startIndex, endIndex) {
101
+ var tmp;
102
+ if (startIndex === endIndex) {
103
+ tmp = Companion_getInstance().a1i_1;
104
+ } else {
105
+ tmp = ByteString_init_$Create$(this.d1i_1, startIndex, endIndex);
106
+ }
107
+ return tmp;
108
+ };
109
+ protoOf(ByteString).g1i = function (startIndex, endIndex, $super) {
110
+ endIndex = endIndex === VOID ? this.g1() : endIndex;
111
+ return $super === VOID ? this.f1i(startIndex, endIndex) : $super.f1i.call(this, startIndex, endIndex);
112
+ };
113
+ protoOf(ByteString).h1i = function (other) {
114
+ if (other === this)
115
+ return 0;
116
+ var localData = this.d1i_1;
117
+ var otherData = other.d1i_1;
118
+ var inductionVariable = 0;
119
+ var tmp0 = this.g1();
120
+ // Inline function 'kotlin.math.min' call
121
+ var b = other.g1();
122
+ var last = Math.min(tmp0, b);
123
+ if (inductionVariable < last)
124
+ do {
125
+ var i = inductionVariable;
126
+ inductionVariable = inductionVariable + 1 | 0;
127
+ // Inline function 'kotlin.toUByte' call
128
+ var this_0 = localData[i];
129
+ var tmp0_0 = _UByte___init__impl__g9hnc4(this_0);
130
+ // Inline function 'kotlin.toUByte' call
131
+ var this_1 = otherData[i];
132
+ // Inline function 'kotlin.UByte.compareTo' call
133
+ var other_0 = _UByte___init__impl__g9hnc4(this_1);
134
+ // Inline function 'kotlin.UByte.toInt' call
135
+ var tmp = _UByte___get_data__impl__jof9qr(tmp0_0) & 255;
136
+ // Inline function 'kotlin.UByte.toInt' call
137
+ var tmp$ret$4 = _UByte___get_data__impl__jof9qr(other_0) & 255;
138
+ var cmp = compareTo(tmp, tmp$ret$4);
139
+ if (!(cmp === 0))
140
+ return cmp;
141
+ }
142
+ while (inductionVariable < last);
143
+ return compareTo(this.g1(), other.g1());
144
+ };
145
+ protoOf(ByteString).d = function (other) {
146
+ return this.h1i(other instanceof ByteString ? other : THROW_CCE());
147
+ };
148
+ protoOf(ByteString).toString = function () {
149
+ if (isEmpty(this)) {
150
+ return 'ByteString(size=0)';
151
+ }
152
+ var sizeStr = this.g1().toString();
153
+ var len = (22 + sizeStr.length | 0) + imul(this.g1(), 2) | 0;
154
+ // Inline function 'kotlin.with' call
155
+ var $this$with = StringBuilder_init_$Create$(len);
156
+ $this$with.q('ByteString(size=');
157
+ $this$with.q(sizeStr);
158
+ $this$with.q(' hex=');
159
+ var localData = this.d1i_1;
160
+ var inductionVariable = 0;
161
+ var last = this.g1();
162
+ if (inductionVariable < last)
163
+ do {
164
+ var i = inductionVariable;
165
+ inductionVariable = inductionVariable + 1 | 0;
166
+ var b = localData[i];
167
+ $this$with.s(Companion_getInstance().b1i_1[(b >>> 4 | 0) & 15]);
168
+ $this$with.s(Companion_getInstance().b1i_1[b & 15]);
169
+ }
170
+ while (inductionVariable < last);
171
+ return $this$with.s(_Char___init__impl__6a9atx(41)).toString();
172
+ };
173
+ protoOf(ByteString).i1i = function () {
174
+ return this.d1i_1;
175
+ };
176
+ function ByteString_0(bytes) {
177
+ var tmp;
178
+ // Inline function 'kotlin.collections.isEmpty' call
179
+ if (bytes.length === 0) {
180
+ tmp = Companion_getInstance().a1i_1;
181
+ } else {
182
+ tmp = Companion_getInstance().c1i(bytes);
183
+ }
184
+ return tmp;
185
+ }
186
+ function decodeToString_0(_this__u8e3s4) {
187
+ return decodeToString(_this__u8e3s4.i1i());
188
+ }
189
+ function isEmpty(_this__u8e3s4) {
190
+ return _this__u8e3s4.g1() === 0;
191
+ }
192
+ function UnsafeByteStringOperations() {
193
+ }
194
+ protoOf(UnsafeByteStringOperations).j1i = function (array) {
195
+ return Companion_getInstance().c1i(array);
196
+ };
197
+ var UnsafeByteStringOperations_instance;
198
+ function UnsafeByteStringOperations_getInstance() {
199
+ return UnsafeByteStringOperations_instance;
200
+ }
201
+ //region block: init
202
+ UnsafeByteStringOperations_instance = new UnsafeByteStringOperations();
203
+ //endregion
204
+ //region block: exports
205
+ _.$_$ = _.$_$ || {};
206
+ _.$_$.a = ByteString_init_$Create$;
207
+ _.$_$.b = UnsafeByteStringOperations_instance;
208
+ _.$_$.c = ByteString_0;
209
+ _.$_$.d = decodeToString_0;
11
210
  //endregion
12
211
  return _;
13
212
  }));
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/22e3a7db6b861ba7/bytestring/common/src/ByteString.kt","js/src/kotlin/math.kt","unsigned/src/kotlin/UByte.kt","common/src/generated/_Arrays.kt","../../../../../../../../../../../../mnt/agent/work/22e3a7db6b861ba7/bytestring/common/src/unsafe/UnsafeByteStringOperations.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["ByteString_init_$Init$","data","startIndex","endIndex","ByteString_init_$Create$","<init>","wrap","byteArray","dummy","<get-size>","equals","other","hashCode","hc","get","index","substring","substring$default","compareTo","localData","otherData","i","cmp","toString","sizeStr","len","b","getBackingArrayReference","ByteString","bytes","decodeToString","<this>","isEmpty","wrapUnsafe","array"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA8FIA,CAAmBC,I,EAAiBC,U,EAAqBC,Q,OAAzDH,E;uCAAsD,C;mCAAmB,I,CAAK,M;IACtE,uBAAU,YAAL,IAAK,EAAY,UAAZ,EAAwB,QAAxB,CAAV,EAA6C,IAA7C,C;;G;mCADRI,CAAmBH,I,EAAiBC,U,EAAqBC,QAAzDC,E;;G;oBAMAC,CAAAA,EAAA;A;IAIqC,4BAAW,cAAU,CAAV,CAAX,EAAyB,IAAzB,C;IAIW,yBAAnB,kBAAmB,C;EARhD,C;oCAMIC,CAAkBC,SAAlBD,EAAsD;A,IAA2B,OAA3B,eAAW,SAAX,EAAsB,IAAtB,C;EAA0B,C;;;;;;;qBA5BhED,CACpBJ,I,EACAO,KAFoBH,EAAA;A,IAAxB,uB;IACI,iB;IAmB4B,c;EApBR,C;oCAqChBI,CAAAA,EAAa;A,IAAS,OAAT,IAAS,CAAT,KAAS,CAAJ,M;EAAG,C;wCAOzBC,CAAoBC,KAApBD,EAA0C;A,IAClC,aAAS,KAAT,C;MAAgB,OAAO,I;IACvB,aAAS,IAAT,IAAiB,8DAAe,KAAf,EAAjB,C;MAA8C,OAAO,K;UAEzD,K;;IAEI,YAAM,KAAN,CAAW,MAAX,KAAmB,IAAnB,CAAmB,KAAnB,CAAwB,MAAxB,E;MAA8B,OAAO,K;IACrC,YAAM,KAAN,KAAkB,CAAlB,KAAuB,iBAAY,CAAZ,CAAvB,IAAwC,QAAM,KAAN,KAAkB,IAAlB,CAAkB,KAAlB,CAAxC,C;MAAoE,OAAO,K;IAC/E,OAAY,cAAL,IAAK,CAAL,KAAK,EAAc,KAAd,CAAoB,KAAp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