@solibo/solibo-sdk 1.6.36 → 1.7.0

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 (48) hide show
  1. package/KmLogging-logging.mjs +98 -98
  2. package/KotlinBigInteger-bignum.mjs +1127 -1127
  3. package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
  4. package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
  5. package/Stately-stately-concurrency.mjs +3 -3
  6. package/bitops-library-bits.mjs +200 -0
  7. package/bitops-library-bits.mjs.map +1 -0
  8. package/bitops-library-endian.mjs +109 -0
  9. package/bitops-library-endian.mjs.map +1 -0
  10. package/core-library-core.mjs +4 -0
  11. package/core-library-core.mjs.map +1 -0
  12. package/core-library-digest.mjs +223 -0
  13. package/core-library-digest.mjs.map +1 -0
  14. package/cryptography-kotlin-cryptography-bigint.mjs +28 -28
  15. package/cryptography-kotlin-cryptography-core.mjs +47 -47
  16. package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
  17. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +136 -136
  18. package/cryptography-kotlin-cryptography-random.mjs +15 -15
  19. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +118 -118
  20. package/cryptography-kotlin-cryptography-serialization-asn1.mjs +250 -250
  21. package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
  22. package/error-library-error.mjs +91 -0
  23. package/error-library-error.mjs.map +1 -0
  24. package/hash-library-md.mjs +179 -0
  25. package/hash-library-md.mjs.map +1 -0
  26. package/kotlin-kotlin-stdlib.mjs +104 -17
  27. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  28. package/kotlinx-coroutines-core.mjs +1 -1
  29. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1072 -1072
  30. package/ktor-ktor-client-auth.mjs +245 -245
  31. package/ktor-ktor-client-content-negotiation.mjs +124 -124
  32. package/ktor-ktor-client-core.mjs +2663 -2613
  33. package/ktor-ktor-client-core.mjs.map +1 -1
  34. package/ktor-ktor-client-encoding.mjs +120 -120
  35. package/ktor-ktor-client-logging.mjs +600 -600
  36. package/ktor-ktor-client-mock.mjs +48 -48
  37. package/ktor-ktor-http-cio.mjs +299 -299
  38. package/ktor-ktor-http.mjs +835 -808
  39. package/ktor-ktor-http.mjs.map +1 -1
  40. package/ktor-ktor-serialization-kotlinx-json.mjs +6 -6
  41. package/ktor-ktor-serialization-kotlinx.mjs +110 -110
  42. package/ktor-ktor-serialization.mjs +50 -50
  43. package/ktor-ktor-websockets.mjs +321 -321
  44. package/package.json +1 -1
  45. package/solibo-sdk-sdk-home-api.mjs +26397 -26393
  46. package/solibo-sdk-sdk.d.mts +81 -1
  47. package/solibo-sdk-sdk.mjs +5473 -3914
  48. package/solibo-sdk-sdk.mjs.map +1 -1
@@ -0,0 +1,223 @@
1
+ import {
2
+ hashCodeq5arwsb9dgti as hashCode,
3
+ isBlank1dvkhjjvox3p0 as isBlank,
4
+ Unit_instancev9v8hjid95df as Unit_instance,
5
+ toString1pkumu07cwy4m as toString,
6
+ protoOf180f3jzyo7rfj as protoOf,
7
+ IndexOutOfBoundsException_init_$Create$3tkfni2s7f1n7 as IndexOutOfBoundsException_init_$Create$,
8
+ fill3lmv1pckd4inv as fill,
9
+ arrayCopytctsywo3h7gj as arrayCopy,
10
+ equals2au1ep9vhcato as equals,
11
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
12
+ } from './kotlin-kotlin-stdlib.mjs';
13
+ import {
14
+ InvalidParameterException_init_$Create$18flunphjok68 as InvalidParameterException_init_$Create$,
15
+ ShortBufferException_init_$Create$qplfonlm4712 as ShortBufferException_init_$Create$,
16
+ } from './error-library-error.mjs';
17
+ //region block: imports
18
+ //endregion
19
+ //region block: pre-declaration
20
+ initMetadataForClass(Digest, 'Digest');
21
+ //endregion
22
+ function _Buffer___init__impl__mrnqm7(value) {
23
+ return value;
24
+ }
25
+ function _Buffer___get_value__impl__xxr8tn($this) {
26
+ return $this;
27
+ }
28
+ function Buffer__hashCode_impl_3ylui6($this) {
29
+ return hashCode($this);
30
+ }
31
+ function Digest_init_$Init$(algorithm, blockSize, digestLength, $this) {
32
+ Digest.call($this);
33
+ var tmp = $this;
34
+ // Inline function 'org.kotlincrypto.core.digest.internal.initializeBuffer' call
35
+ // Inline function 'kotlin.text.isNotBlank' call
36
+ var tmp0 = !isBlank(algorithm);
37
+ $l$block: {
38
+ // Inline function 'org.kotlincrypto.error.requireParam' call
39
+ // Inline function 'kotlin.contracts.contract' call
40
+ if (tmp0) {
41
+ break $l$block;
42
+ }
43
+ var message = 'algorithm cannot be blank';
44
+ throw InvalidParameterException_init_$Create$(toString(message));
45
+ }
46
+ var tmp0_0 = blockSize > 0;
47
+ $l$block_0: {
48
+ // Inline function 'org.kotlincrypto.error.requireParam' call
49
+ // Inline function 'kotlin.contracts.contract' call
50
+ if (tmp0_0) {
51
+ break $l$block_0;
52
+ }
53
+ var message_0 = 'blockSize must be greater than 0';
54
+ throw InvalidParameterException_init_$Create$(toString(message_0));
55
+ }
56
+ var tmp0_1 = (blockSize % 8 | 0) === 0;
57
+ $l$block_1: {
58
+ // Inline function 'org.kotlincrypto.error.requireParam' call
59
+ // Inline function 'kotlin.contracts.contract' call
60
+ if (tmp0_1) {
61
+ break $l$block_1;
62
+ }
63
+ var message_1 = 'blockSize must be a factor of 8';
64
+ throw InvalidParameterException_init_$Create$(toString(message_1));
65
+ }
66
+ var tmp0_2 = digestLength >= 0;
67
+ $l$block_2: {
68
+ // Inline function 'org.kotlincrypto.error.requireParam' call
69
+ // Inline function 'kotlin.contracts.contract' call
70
+ if (tmp0_2) {
71
+ break $l$block_2;
72
+ }
73
+ var message_2 = 'digestLength cannot be negative';
74
+ throw InvalidParameterException_init_$Create$(toString(message_2));
75
+ }
76
+ tmp.et1_1 = _Buffer___init__impl__mrnqm7(new Int8Array(blockSize));
77
+ $this.ct1_1 = algorithm;
78
+ $this.dt1_1 = digestLength;
79
+ $this.ft1_1 = 0;
80
+ return $this;
81
+ }
82
+ protoOf(Digest).gt1 = function () {
83
+ return this.dt1_1;
84
+ };
85
+ protoOf(Digest).ht1 = function () {
86
+ return this.ct1_1;
87
+ };
88
+ protoOf(Digest).it1 = function (input) {
89
+ this.jt1(input, 0, input.length);
90
+ };
91
+ protoOf(Digest).kt1 = function (dest, destOffset) {
92
+ var tmp0 = this.et1_1;
93
+ var tmp2 = this.ft1_1;
94
+ // Inline function 'org.kotlincrypto.core.digest.internal.commonDigestInto' call
95
+ var digestLength = this.dt1_1;
96
+ // Inline function 'kotlin.contracts.contract' call
97
+ // Inline function 'org.kotlincrypto.core.digest.internal.commonCheckArgs' call
98
+ // Inline function 'kotlin.contracts.contract' call
99
+ if ((dest.length - destOffset | 0) < digestLength) {
100
+ var p0 = 'Too Short. size[' + dest.length + '] - offset[' + destOffset + '] < len[' + digestLength + ']';
101
+ throw ShortBufferException_init_$Create$(p0);
102
+ }
103
+ if (destOffset < 0) {
104
+ var p0_0 = 'offset[' + destOffset + '] < 0';
105
+ throw IndexOutOfBoundsException_init_$Create$(p0_0);
106
+ }
107
+ if (digestLength < 0) {
108
+ var p0_1 = 'len[' + digestLength + '] < 0';
109
+ throw IndexOutOfBoundsException_init_$Create$(p0_1);
110
+ }
111
+ if (destOffset > (dest.length - digestLength | 0)) {
112
+ var p0_2 = 'offset[' + destOffset + '] > size[' + dest.length + '] - len[' + digestLength + ']';
113
+ throw IndexOutOfBoundsException_init_$Create$(p0_2);
114
+ }
115
+ fill(_Buffer___get_value__impl__xxr8tn(tmp0), 0, tmp2);
116
+ var p2 = _Buffer___get_value__impl__xxr8tn(tmp0);
117
+ this.lt1(dest, destOffset, p2, tmp2);
118
+ // Inline function 'org.kotlincrypto.core.digest.internal.commonReset' call
119
+ // Inline function 'kotlin.contracts.contract' call
120
+ fill(_Buffer___get_value__impl__xxr8tn(tmp0), 0);
121
+ this.ft1_1 = 0;
122
+ this.mt1();
123
+ return digestLength;
124
+ };
125
+ protoOf(Digest).lt1 = function (dest, destOffset, buf, bufPos) {
126
+ var result = this.ot1(buf, bufPos);
127
+ // Inline function 'kotlin.collections.copyInto' call
128
+ var endIndex = result.length;
129
+ // Inline function 'kotlin.js.unsafeCast' call
130
+ // Inline function 'kotlin.js.asDynamic' call
131
+ var tmp = result;
132
+ // Inline function 'kotlin.js.unsafeCast' call
133
+ // Inline function 'kotlin.js.asDynamic' call
134
+ arrayCopy(tmp, dest, destOffset, 0, endIndex);
135
+ fill(result, 0);
136
+ };
137
+ protoOf(Digest).jt1 = function (input, offset, len) {
138
+ var tmp0 = this.et1_1;
139
+ var tmp8 = this.ft1_1;
140
+ $l$block: {
141
+ // Inline function 'org.kotlincrypto.core.digest.internal.commonUpdate' call
142
+ // Inline function 'kotlin.contracts.contract' call
143
+ var buf = _Buffer___get_value__impl__xxr8tn(tmp0);
144
+ var blockSize = buf.length;
145
+ var limitInput = offset + len | 0;
146
+ var posInput = offset;
147
+ var posBuf = tmp8;
148
+ if (posBuf > 0) {
149
+ if ((posBuf + len | 0) < blockSize) {
150
+ var tmp4 = posBuf;
151
+ // Inline function 'kotlin.collections.copyInto' call
152
+ var startIndex = posInput;
153
+ // Inline function 'kotlin.js.unsafeCast' call
154
+ // Inline function 'kotlin.js.asDynamic' call
155
+ var tmp = input;
156
+ // Inline function 'kotlin.js.unsafeCast' call
157
+ // Inline function 'kotlin.js.asDynamic' call
158
+ arrayCopy(tmp, buf, tmp4, startIndex, limitInput);
159
+ this.ft1_1 = posBuf + len | 0;
160
+ break $l$block;
161
+ }
162
+ var needed = blockSize - posBuf | 0;
163
+ var tmp4_0 = posBuf;
164
+ var tmp6 = posInput;
165
+ // Inline function 'kotlin.collections.copyInto' call
166
+ var endIndex = posInput + needed | 0;
167
+ // Inline function 'kotlin.js.unsafeCast' call
168
+ // Inline function 'kotlin.js.asDynamic' call
169
+ var tmp_0 = input;
170
+ // Inline function 'kotlin.js.unsafeCast' call
171
+ // Inline function 'kotlin.js.asDynamic' call
172
+ arrayCopy(tmp_0, buf, tmp4_0, tmp6, endIndex);
173
+ this.nt1(buf, 0);
174
+ posBuf = 0;
175
+ posInput = posInput + needed | 0;
176
+ }
177
+ $l$loop: while (posInput < limitInput) {
178
+ var posNext = posInput + blockSize | 0;
179
+ if (posNext > limitInput) {
180
+ // Inline function 'kotlin.collections.copyInto' call
181
+ var startIndex_0 = posInput;
182
+ // Inline function 'kotlin.js.unsafeCast' call
183
+ // Inline function 'kotlin.js.asDynamic' call
184
+ var tmp_1 = input;
185
+ // Inline function 'kotlin.js.unsafeCast' call
186
+ // Inline function 'kotlin.js.asDynamic' call
187
+ arrayCopy(tmp_1, buf, 0, startIndex_0, limitInput);
188
+ posBuf = limitInput - posInput | 0;
189
+ break $l$loop;
190
+ }
191
+ var p1 = posInput;
192
+ this.nt1(input, p1);
193
+ posInput = posNext;
194
+ }
195
+ this.ft1_1 = posBuf;
196
+ }
197
+ };
198
+ protoOf(Digest).equals = function (other) {
199
+ var tmp;
200
+ if (other instanceof Digest) {
201
+ tmp = equals(other.et1_1, this.et1_1);
202
+ } else {
203
+ tmp = false;
204
+ }
205
+ return tmp;
206
+ };
207
+ protoOf(Digest).hashCode = function () {
208
+ return Buffer__hashCode_impl_3ylui6(this.et1_1);
209
+ };
210
+ protoOf(Digest).toString = function () {
211
+ // Inline function 'org.kotlincrypto.core.digest.internal.commonToString' call
212
+ return 'Digest[' + this.ht1() + ']@' + this.hashCode();
213
+ };
214
+ function Digest() {
215
+ }
216
+ //region block: exports
217
+ export {
218
+ Digest_init_$Init$ as Digest_init_$Init$25tc466u3ms6y,
219
+ Digest as Digest1vc95ftpmqvn1,
220
+ };
221
+ //endregion
222
+
223
+ //# sourceMappingURL=core-library-digest.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["-Buffer.kt","Digest.kt","Strings.kt","Preconditions.kt","-CommonPlatform.kt","_ArraysJs.kt"],"sourcesContent":["// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/core/library/digest/src/commonMain/kotlin/org/kotlincrypto/core/digest/internal/-Buffer.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/core/library/digest/src/nonJvmMain/kotlin/org/kotlincrypto/core/digest/Digest.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: src/kotlin/text/Strings.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/error/library/error/src/commonMain/kotlin/org/kotlincrypto/error/Preconditions.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/core/library/digest/src/commonMain/kotlin/org/kotlincrypto/core/digest/internal/-CommonPlatform.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: js/src/generated/_ArraysJs.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact."],"ignoreList":[],"x_google_ignoreList":[],"names":["<Buffer__<init>-impl>","value","<Buffer__<get-value>-impl>","Buffer__hashCode-impl","Digest_init_$Init$","algorithm","blockSize","digestLength","message","update","input","digestInto","dest","destOffset","digestIntoProtected","buf","bufPos","result","updateProtected","offset","len","limitInput","posInput","posBuf","needed","posNext","equals","other","hashCode","toString"],"mappings":";;;;;;;;;;;;;;;;;;;;;qCA6BqCA,CAAYC,KAAZD,E;EAAA,Y;C;0CAAqBE,CAAA,KAAAA,E;EAAA,Y;C;qCA7B1DC,CAAA,KAAAA,E;EAAA,sB;C;2BCuDqBC,CAAYC,S,EAAmBC,S,EAAgBC,Y,OAA/CH,E;EADjB,kB;YAEI,K;;;aCqQ+C,CAAC,QDrQpB,SCqQoB,C;;;;ICpRpD,S;;;QACAI,UHJuC,2B;IGKvC,MAA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,sBAAY,MAAZ,I;IACJ,C;oBAGO,WAAW,U,EAAY;A,UAC1BC,UAAc,WAAW,SAAzBA,I;MAEA,IAAI,UAAU,UAAd,C,CAA0B;A;2BAEC,Q;;;oBC8Hf,K;;;QI6ZhB,iBL3hBuB,GK2hBvB,EL3hB4B,CK2hB5B,EAAoG,YAApG,EL3hByC,UK2hBzC,C;QL1hBQ,SAAS,aAAa,QAAtB,I;QACA,a;MACJ,C;eAEyB,Q;MC8HD,SALZ,KAKY,K;MD7HxB,WAAW,O;IACf,C;IC2HsB,aDxHZ,M;;AC2HV,C;kCAK6BC,CAAWC,KAAXD,EAAmC;A;EAAA,4B;UAAmB,aAAM,KAAN,EAAa,IAAb,CAAa,KAAb,C;;UAAA,K;;EAAgB,U;AAAD,C;oCAErEE,CAAAA,EAAsB;A,EAAc,OAAV,6BAAJ,IAAI,CAAJ,KAAI,C;AAAS,C;oCAEnCC,CAAAA,EAAyB;A;EAAgB,OGrO9D,SHqO8D,GAAhB,IGrOrC,MHqOqD,GGrOzC,IHqOyC,GAAhB,IGrOrB,W;AHqOoC,C;kBA3NzE;AAAA,C;;;;;"}
@@ -36,16 +36,16 @@ initMetadataForClass(BigInt_0, 'BigInt', VOID, Number_0, [Comparable], VOID, VOI
36
36
  //endregion
37
37
  function BigIntAsStringSerializer() {
38
38
  BigIntAsStringSerializer_instance = this;
39
- this.rsq_1 = PrimitiveSerialDescriptor('BigInt', STRING_getInstance());
39
+ this.psr_1 = PrimitiveSerialDescriptor('BigInt', STRING_getInstance());
40
40
  }
41
41
  protoOf(BigIntAsStringSerializer).bt = function () {
42
- return this.rsq_1;
42
+ return this.psr_1;
43
43
  };
44
- protoOf(BigIntAsStringSerializer).ssq = function (encoder, value) {
44
+ protoOf(BigIntAsStringSerializer).qsr = function (encoder, value) {
45
45
  encoder.ux(value.toString());
46
46
  };
47
47
  protoOf(BigIntAsStringSerializer).ot = function (encoder, value) {
48
- return this.ssq(encoder, value instanceof BigInt_0 ? value : THROW_CCE());
48
+ return this.qsr(encoder, value instanceof BigInt_0 ? value : THROW_CCE());
49
49
  };
50
50
  protoOf(BigIntAsStringSerializer).pt = function (decoder) {
51
51
  return toBigInt_3(decoder.mw());
@@ -57,8 +57,8 @@ function BigIntAsStringSerializer_getInstance() {
57
57
  return BigIntAsStringSerializer_instance;
58
58
  }
59
59
  function encodeToByteArray(_this__u8e3s4) {
60
- var positive = _this__u8e3s4.usq(0) >= 0;
61
- var bytes = positive ? encodeToByteArray$decodeFromHex(_this__u8e3s4.tsq_1.toString(16)) : invertTwoComplement(encodeToByteArray$decodeFromHex(jsBigIntNegate(_this__u8e3s4.tsq_1).toString(16)));
60
+ var positive = _this__u8e3s4.ssr(0) >= 0;
61
+ var bytes = positive ? encodeToByteArray$decodeFromHex(_this__u8e3s4.rsr_1.toString(16)) : invertTwoComplement(encodeToByteArray$decodeFromHex(jsBigIntNegate(_this__u8e3s4.rsr_1).toString(16)));
62
62
  var firstBytePositive = bytes[0] >= 0;
63
63
  if (positive === firstBytePositive)
64
64
  return bytes;
@@ -77,9 +77,9 @@ function encodeToByteArray(_this__u8e3s4) {
77
77
  }
78
78
  function Companion() {
79
79
  Companion_instance = this;
80
- this.vsq_1 = new BigInt_0(BigInt(0));
80
+ this.tsr_1 = new BigInt_0(BigInt(0));
81
81
  }
82
- protoOf(Companion).s6g = function () {
82
+ protoOf(Companion).q6h = function () {
83
83
  return BigIntAsStringSerializer_getInstance();
84
84
  };
85
85
  var Companion_instance;
@@ -91,39 +91,39 @@ function Companion_getInstance() {
91
91
  function BigInt_0(jsBigInt) {
92
92
  Companion_getInstance();
93
93
  Number_0.call(this);
94
- this.tsq_1 = jsBigInt;
94
+ this.rsr_1 = jsBigInt;
95
95
  }
96
- protoOf(BigInt_0).usq = function (other) {
97
- return this.wsq(toBigInt(other));
96
+ protoOf(BigInt_0).ssr = function (other) {
97
+ return this.usr(toBigInt(other));
98
98
  };
99
- protoOf(BigInt_0).wsq = function (other) {
100
- return jsBigIntCompareTo(this.tsq_1, other.tsq_1);
99
+ protoOf(BigInt_0).usr = function (other) {
100
+ return jsBigIntCompareTo(this.rsr_1, other.rsr_1);
101
101
  };
102
102
  protoOf(BigInt_0).d = function (other) {
103
- return this.wsq(other instanceof BigInt_0 ? other : THROW_CCE());
103
+ return this.usr(other instanceof BigInt_0 ? other : THROW_CCE());
104
104
  };
105
- protoOf(BigInt_0).xsq = function () {
106
- return toByte(jsBigIntAsInt(this.tsq_1, 8).toString());
105
+ protoOf(BigInt_0).vsr = function () {
106
+ return toByte(jsBigIntAsInt(this.rsr_1, 8).toString());
107
107
  };
108
- protoOf(BigInt_0).ysq = function () {
109
- return toShort(jsBigIntAsInt(this.tsq_1, 16).toString());
108
+ protoOf(BigInt_0).wsr = function () {
109
+ return toShort(jsBigIntAsInt(this.rsr_1, 16).toString());
110
110
  };
111
- protoOf(BigInt_0).zsq = function () {
112
- return toInt(jsBigIntAsInt(this.tsq_1, 32).toString());
111
+ protoOf(BigInt_0).xsr = function () {
112
+ return toInt(jsBigIntAsInt(this.rsr_1, 32).toString());
113
113
  };
114
- protoOf(BigInt_0).asr = function () {
115
- return toLong(jsBigIntAsInt(this.tsq_1, 64).toString());
114
+ protoOf(BigInt_0).ysr = function () {
115
+ return toLong(jsBigIntAsInt(this.rsr_1, 64).toString());
116
116
  };
117
117
  protoOf(BigInt_0).toString = function () {
118
- return this.tsq_1.toString();
118
+ return this.rsr_1.toString();
119
119
  };
120
120
  protoOf(BigInt_0).hashCode = function () {
121
- return getStringHashCode(this.tsq_1.toString(36));
121
+ return getStringHashCode(this.rsr_1.toString(36));
122
122
  };
123
123
  protoOf(BigInt_0).equals = function (other) {
124
124
  if (!(other instanceof BigInt_0))
125
125
  return false;
126
- return jsBigIntEquals(this.tsq_1, other.tsq_1);
126
+ return jsBigIntEquals(this.rsr_1, other.rsr_1);
127
127
  };
128
128
  function decodeToBigInt(_this__u8e3s4) {
129
129
  // Inline function 'kotlin.collections.isNotEmpty' call
@@ -134,7 +134,7 @@ function decodeToBigInt(_this__u8e3s4) {
134
134
  throw IllegalArgumentException_init_$Create$(toString(message));
135
135
  }
136
136
  if (_this__u8e3s4.length === 1 && _this__u8e3s4[0] === 0)
137
- return Companion_getInstance().vsq_1;
137
+ return Companion_getInstance().tsr_1;
138
138
  var positive = _this__u8e3s4[0] >= 0;
139
139
  var tmp;
140
140
  if (positive) {
@@ -149,7 +149,7 @@ function decodeToBigInt(_this__u8e3s4) {
149
149
  return new BigInt_0(jsBigInt);
150
150
  }
151
151
  function toBigInt(_this__u8e3s4) {
152
- return _this__u8e3s4 === 0 ? Companion_getInstance().vsq_1 : new BigInt_0(BigInt(_this__u8e3s4));
152
+ return _this__u8e3s4 === 0 ? Companion_getInstance().tsr_1 : new BigInt_0(BigInt(_this__u8e3s4));
153
153
  }
154
154
  function toBigInt_0(_this__u8e3s4) {
155
155
  return toBigInt(_this__u8e3s4);
@@ -158,7 +158,7 @@ function toBigInt_1(_this__u8e3s4) {
158
158
  return toBigInt(_this__u8e3s4);
159
159
  }
160
160
  function toBigInt_2(_this__u8e3s4) {
161
- return _this__u8e3s4 === 0n ? Companion_getInstance().vsq_1 : new BigInt_0(BigInt(_this__u8e3s4.toString()));
161
+ return _this__u8e3s4 === 0n ? Companion_getInstance().tsr_1 : new BigInt_0(BigInt(_this__u8e3s4.toString()));
162
162
  }
163
163
  function toBigInt_3(_this__u8e3s4) {
164
164
  // Inline function 'kotlin.text.isNotBlank' call
@@ -90,21 +90,21 @@ initMetadataForCompanion(Companion_9, CryptographyAlgorithmId);
90
90
  initMetadataForCompanion(Companion_10, CryptographyAlgorithmId);
91
91
  initMetadataForCompanion(Companion_11, CryptographyAlgorithmId);
92
92
  function decodeFromByteArray(format, bytes, $completion) {
93
- return this.usr(format, bytes);
93
+ return this.sss(format, bytes);
94
94
  }
95
95
  initMetadataForInterface(KeyDecoder, 'KeyDecoder', VOID, VOID, VOID, [2]);
96
96
  function hash(data, $completion) {
97
- return this.xsr(data);
97
+ return this.vss(data);
98
98
  }
99
99
  function hashBlocking(data) {
100
- var tmp0 = this.vsr();
100
+ var tmp0 = this.tss();
101
101
  var tmp$ret$0;
102
102
  $l$block: {
103
103
  // Inline function 'kotlin.use' call
104
104
  var exception = null;
105
105
  try {
106
- tmp0.ysr(data);
107
- tmp$ret$0 = tmp0.zsr();
106
+ tmp0.wss(data);
107
+ tmp$ret$0 = tmp0.xss();
108
108
  break $l$block;
109
109
  } catch ($p) {
110
110
  if ($p instanceof Error) {
@@ -123,17 +123,17 @@ function hashBlocking(data) {
123
123
  }
124
124
  initMetadataForInterface(Hasher, 'Hasher', VOID, VOID, VOID, [1]);
125
125
  function generateSignature(data, $completion) {
126
- return this.css(data);
126
+ return this.ast(data);
127
127
  }
128
128
  function generateSignatureBlocking(data) {
129
- var tmp0 = this.ass();
129
+ var tmp0 = this.yss();
130
130
  var tmp$ret$0;
131
131
  $l$block: {
132
132
  // Inline function 'kotlin.use' call
133
133
  var exception = null;
134
134
  try {
135
- tmp0.ysr(data);
136
- tmp$ret$0 = tmp0.dss();
135
+ tmp0.wss(data);
136
+ tmp$ret$0 = tmp0.bst();
137
137
  break $l$block;
138
138
  } catch ($p) {
139
139
  if ($p instanceof Error) {
@@ -156,10 +156,10 @@ function update$default(source, startIndex, endIndex, $super) {
156
156
  endIndex = endIndex === VOID ? source.length : endIndex;
157
157
  var tmp;
158
158
  if ($super === VOID) {
159
- this.ess(source, startIndex, endIndex);
159
+ this.cst(source, startIndex, endIndex);
160
160
  tmp = Unit_instance;
161
161
  } else {
162
- tmp = $super.ess.call(this, source, startIndex, endIndex);
162
+ tmp = $super.cst.call(this, source, startIndex, endIndex);
163
163
  }
164
164
  return tmp;
165
165
  }
@@ -168,12 +168,12 @@ initMetadataForInterface(UpdateFunction, 'UpdateFunction', VOID, VOID, [AutoClos
168
168
  function CryptographyAlgorithm() {
169
169
  }
170
170
  function CryptographyAlgorithmId(name) {
171
- this.bsr_1 = name;
171
+ this.zsr_1 = name;
172
172
  }
173
173
  function Companion() {
174
174
  }
175
- protoOf(Companion).csr = function () {
176
- return CryptographySystem_getInstance().esr();
175
+ protoOf(Companion).ass = function () {
176
+ return CryptographySystem_getInstance().css();
177
177
  };
178
178
  var Companion_instance;
179
179
  function Companion_getInstance() {
@@ -181,8 +181,8 @@ function Companion_getInstance() {
181
181
  }
182
182
  function CryptographyProvider() {
183
183
  }
184
- protoOf(CryptographyProvider).gsr = function (identifier) {
185
- var tmp0_elvis_lhs = this.fsr(identifier);
184
+ protoOf(CryptographyProvider).ess = function (identifier) {
185
+ var tmp0_elvis_lhs = this.dss(identifier);
186
186
  var tmp;
187
187
  if (tmp0_elvis_lhs == null) {
188
188
  throw IllegalStateException_init_$Create$('Algorithm not found: ' + toString(identifier));
@@ -193,14 +193,14 @@ protoOf(CryptographyProvider).gsr = function (identifier) {
193
193
  };
194
194
  function CryptographySystem() {
195
195
  CryptographySystem_instance = this;
196
- this.dsr_1 = new CryptographySystemImpl();
196
+ this.bss_1 = new CryptographySystemImpl();
197
197
  loadProviders(this);
198
198
  }
199
- protoOf(CryptographySystem).esr = function () {
200
- return this.dsr_1.esr();
199
+ protoOf(CryptographySystem).css = function () {
200
+ return this.bss_1.css();
201
201
  };
202
- protoOf(CryptographySystem).nsr = function (provider, priority) {
203
- return this.dsr_1.nsr(provider, priority);
202
+ protoOf(CryptographySystem).lss = function (provider, priority) {
203
+ return this.bss_1.lss(provider, priority);
204
204
  };
205
205
  var CryptographySystem_instance;
206
206
  function CryptographySystem_getInstance() {
@@ -210,17 +210,17 @@ function CryptographySystem_getInstance() {
210
210
  }
211
211
  function CompositeProvider(providers) {
212
212
  CryptographyProvider.call(this);
213
- this.osr_1 = providers;
213
+ this.mss_1 = providers;
214
214
  }
215
- protoOf(CompositeProvider).fsr = function (identifier) {
216
- var tmp0 = this.osr_1;
215
+ protoOf(CompositeProvider).dss = function (identifier) {
216
+ var tmp0 = this.mss_1;
217
217
  var tmp$ret$0;
218
218
  $l$block: {
219
219
  // Inline function 'kotlin.collections.firstNotNullOfOrNull' call
220
220
  var _iterator__ex2g4s = tmp0.t();
221
221
  while (_iterator__ex2g4s.u()) {
222
222
  var element = _iterator__ex2g4s.v();
223
- var result = element.fsr(identifier);
223
+ var result = element.dss(identifier);
224
224
  if (!(result == null)) {
225
225
  tmp$ret$0 = result;
226
226
  break $l$block;
@@ -231,16 +231,16 @@ protoOf(CompositeProvider).fsr = function (identifier) {
231
231
  return tmp$ret$0;
232
232
  };
233
233
  function sam$kotlin_Comparator$0(function_0) {
234
- this.psr_1 = function_0;
234
+ this.nss_1 = function_0;
235
235
  }
236
236
  protoOf(sam$kotlin_Comparator$0).ue = function (a, b) {
237
- return this.psr_1(a, b);
237
+ return this.nss_1(a, b);
238
238
  };
239
239
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
240
240
  return this.ue(a, b);
241
241
  };
242
242
  protoOf(sam$kotlin_Comparator$0).u3 = function () {
243
- return this.psr_1;
243
+ return this.nss_1;
244
244
  };
245
245
  protoOf(sam$kotlin_Comparator$0).equals = function (other) {
246
246
  var tmp;
@@ -269,7 +269,7 @@ function CryptographySystemImpl$lazyRegisteredProviders$lambda$lambda(a, b) {
269
269
  function CryptographySystemImpl$lazyRegisteredProviders$lambda(this$0) {
270
270
  return function () {
271
271
  // Inline function 'kotlin.collections.sortedBy' call
272
- var this_0 = this$0.hsr_1.l1();
272
+ var this_0 = this$0.fss_1.l1();
273
273
  // Inline function 'kotlin.comparisons.compareBy' call
274
274
  var tmp = CryptographySystemImpl$lazyRegisteredProviders$lambda$lambda;
275
275
  var tmp$ret$1 = new sam$kotlin_Comparator$0(tmp);
@@ -288,11 +288,11 @@ function CryptographySystemImpl$lazyRegisteredProviders$lambda(this$0) {
288
288
  }
289
289
  function CryptographySystemImpl$lazyDefaultProvider$lambda(this$0) {
290
290
  return function () {
291
- var tmp0_elvis_lhs = this$0.jsr_1;
291
+ var tmp0_elvis_lhs = this$0.hss_1;
292
292
  var tmp;
293
293
  if (tmp0_elvis_lhs == null) {
294
294
  // Inline function 'kotlin.let' call
295
- var it = this$0.isr_1.n1();
295
+ var it = this$0.gss_1.n1();
296
296
  var tmp_0;
297
297
  switch (it.g1()) {
298
298
  case 0:
@@ -316,27 +316,27 @@ function CryptographySystemImpl$lazyDefaultProvider$lambda(this$0) {
316
316
  }
317
317
  function CryptographySystemImpl$lazyDefaultRandom$lambda(this$0) {
318
318
  return function () {
319
- var tmp0_elvis_lhs = this$0.lsr_1;
319
+ var tmp0_elvis_lhs = this$0.jss_1;
320
320
  return tmp0_elvis_lhs == null ? Default_getInstance() : tmp0_elvis_lhs;
321
321
  };
322
322
  }
323
323
  function CryptographySystemImpl() {
324
324
  var tmp = this;
325
325
  // Inline function 'kotlin.collections.mutableMapOf' call
326
- tmp.hsr_1 = LinkedHashMap_init_$Create$();
326
+ tmp.fss_1 = LinkedHashMap_init_$Create$();
327
327
  var tmp_0 = this;
328
- tmp_0.isr_1 = lazy(CryptographySystemImpl$lazyRegisteredProviders$lambda(this));
329
- this.jsr_1 = null;
328
+ tmp_0.gss_1 = lazy(CryptographySystemImpl$lazyRegisteredProviders$lambda(this));
329
+ this.hss_1 = null;
330
330
  var tmp_1 = this;
331
- tmp_1.ksr_1 = lazy(CryptographySystemImpl$lazyDefaultProvider$lambda(this));
332
- this.lsr_1 = null;
331
+ tmp_1.iss_1 = lazy(CryptographySystemImpl$lazyDefaultProvider$lambda(this));
332
+ this.jss_1 = null;
333
333
  var tmp_2 = this;
334
- tmp_2.msr_1 = lazy(CryptographySystemImpl$lazyDefaultRandom$lambda(this));
334
+ tmp_2.kss_1 = lazy(CryptographySystemImpl$lazyDefaultRandom$lambda(this));
335
335
  }
336
- protoOf(CryptographySystemImpl).esr = function () {
337
- return this.ksr_1.n1();
336
+ protoOf(CryptographySystemImpl).css = function () {
337
+ return this.iss_1.n1();
338
338
  };
339
- protoOf(CryptographySystemImpl).nsr = function (provider, priority) {
339
+ protoOf(CryptographySystemImpl).lss = function (provider, priority) {
340
340
  // Inline function 'kotlin.require' call
341
341
  if (!(priority >= 0)) {
342
342
  var message = 'Priority must be greater or equal to 0';
@@ -344,19 +344,19 @@ protoOf(CryptographySystemImpl).nsr = function (provider, priority) {
344
344
  }
345
345
  // Inline function 'kotlin.collections.contains' call
346
346
  // Inline function 'kotlin.collections.containsKey' call
347
- var this_0 = this.hsr_1;
347
+ var this_0 = this.fss_1;
348
348
  // Inline function 'kotlin.require' call
349
349
  if (!!(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).y2(priority)) {
350
350
  var message_0 = 'Provider with priority ' + priority + ' already registered. Every registered provider should have unique priority.';
351
351
  throw IllegalArgumentException_init_$Create$(toString(message_0));
352
352
  }
353
353
  // Inline function 'kotlin.check' call
354
- if (!!this.isr_1.mq()) {
354
+ if (!!this.gss_1.mq()) {
355
355
  var message_1 = 'Cannot register provider after `getRegisteredProviders` was called';
356
356
  throw IllegalStateException_init_$Create$(toString(message_1));
357
357
  }
358
358
  // Inline function 'kotlin.collections.set' call
359
- this.hsr_1.d3(priority, provider);
359
+ this.fss_1.d3(priority, provider);
360
360
  };
361
361
  function Format() {
362
362
  }
@@ -438,13 +438,13 @@ function _Curve___get_name__impl__klrusc($this) {
438
438
  }
439
439
  function Companion_3() {
440
440
  }
441
- protoOf(Companion_3).qsr = function () {
441
+ protoOf(Companion_3).oss = function () {
442
442
  return _Curve___init__impl__ygix12('P-256');
443
443
  };
444
- protoOf(Companion_3).rsr = function () {
444
+ protoOf(Companion_3).pss = function () {
445
445
  return _Curve___init__impl__ygix12('P-384');
446
446
  };
447
- protoOf(Companion_3).ssr = function () {
447
+ protoOf(Companion_3).qss = function () {
448
448
  return _Curve___init__impl__ygix12('P-521');
449
449
  };
450
450
  var Companion_instance_3;
@@ -25,8 +25,8 @@ import {
25
25
  //region block: pre-declaration
26
26
  //endregion
27
27
  function convertEcPrivateKeyFromSec1ToPkcs8(input) {
28
- var ecPrivateKey = Default_getInstance().lu(Companion_instance.s6g(), input);
29
- var tmp = ecPrivateKey.tsu_1;
28
+ var ecPrivateKey = Default_getInstance().lu(Companion_instance.q6h(), input);
29
+ var tmp = ecPrivateKey.rsv_1;
30
30
  var tmp0 = tmp == null ? null : new EcParameters(tmp);
31
31
  $l$block: {
32
32
  // Inline function 'kotlin.checkNotNull' call
@@ -34,21 +34,21 @@ function convertEcPrivateKeyFromSec1ToPkcs8(input) {
34
34
  var message = 'EC Parameters are not present in the key';
35
35
  throw IllegalStateException_init_$Create$(toString(message));
36
36
  } else {
37
- tmp0.nsu_1;
37
+ tmp0.lsv_1;
38
38
  break $l$block;
39
39
  }
40
40
  }
41
- var privateKeyInfo = new PrivateKeyInfo(0, new EcKeyAlgorithmIdentifier(ecPrivateKey.tsu_1), input);
42
- return Default_getInstance().ku(Companion_getInstance().s6g(), privateKeyInfo);
41
+ var privateKeyInfo = new PrivateKeyInfo(0, new EcKeyAlgorithmIdentifier(ecPrivateKey.rsv_1), input);
42
+ return Default_getInstance().ku(Companion_getInstance().q6h(), privateKeyInfo);
43
43
  }
44
44
  function unwrapPem(label, key) {
45
- return ensurePemLabel(Pem_instance.nsv(key), label).qsv_1;
45
+ return ensurePemLabel(Pem_instance.lsw(key), label).osw_1;
46
46
  }
47
47
  function wrapPrivateKeyInfo(version, identifier, key) {
48
- return Default_getInstance().ku(Companion_getInstance().s6g(), new PrivateKeyInfo(version, identifier, key));
48
+ return Default_getInstance().ku(Companion_getInstance().q6h(), new PrivateKeyInfo(version, identifier, key));
49
49
  }
50
50
  function wrapSubjectPublicKeyInfo(identifier, key) {
51
- return Default_getInstance().ku(Companion_getInstance_0().s6g(), new SubjectPublicKeyInfo(identifier, new BitArray(0, key)));
51
+ return Default_getInstance().ku(Companion_getInstance_0().q6h(), new SubjectPublicKeyInfo(identifier, new BitArray(0, key)));
52
52
  }
53
53
  //region block: exports
54
54
  export {