@cruglobal/godtools-shared 0.8.3-PR373-SNAPSHOT.1098
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/88b0986a7186d029-atomicfu-js-ir.js +181 -0
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -0
- package/Napier-napier-js-ir.js +15 -0
- package/Napier-napier-js-ir.js.map +1 -0
- package/android-gto-support-gto-support-androidx-annotation.js +15 -0
- package/android-gto-support-gto-support-androidx-annotation.js.map +1 -0
- package/android-gto-support-gto-support-fluidsonic-locale.js +15 -0
- package/android-gto-support-gto-support-fluidsonic-locale.js.map +1 -0
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +19 -0
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js.map +1 -0
- package/colormath-root-colormath-js-ir.js +15 -0
- package/colormath-root-colormath-js-ir.js.map +1 -0
- package/fluid-locale-js-ir.js +15 -0
- package/fluid-locale-js-ir.js.map +1 -0
- package/kotlin-kotlin-stdlib-js-ir.js +4888 -0
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -0
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js +15 -0
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-common.js +15 -0
- package/kotlin-mpp-godtools-tool-parser-common.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-npm.d.ts +26 -0
- package/kotlin-mpp-godtools-tool-parser-npm.js +26 -0
- package/kotlin-mpp-godtools-tool-parser-npm.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +15 -0
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-parser.js +300 -0
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-state.js +654 -0
- package/kotlin-mpp-godtools-tool-parser-state.js.map +1 -0
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +8368 -0
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -0
- package/package.json +9 -0
- package/uuid-js-ir.js +15 -0
- package/uuid-js-ir.js.map +1 -0
|
@@ -0,0 +1,4888 @@
|
|
|
1
|
+
//region block: polyfills
|
|
2
|
+
if (typeof ArrayBuffer.isView === 'undefined') {
|
|
3
|
+
ArrayBuffer.isView = function (a) {
|
|
4
|
+
return a != null && a.__proto__ != null && a.__proto__.__proto__ === Int8Array.prototype.__proto__;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
if (typeof Array.prototype.fill === 'undefined') {
|
|
8
|
+
// Polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill#Polyfill
|
|
9
|
+
Object.defineProperty(Array.prototype, 'fill', {value: function (value) {
|
|
10
|
+
// Steps 1-2.
|
|
11
|
+
if (this == null) {
|
|
12
|
+
throw new TypeError('this is null or not defined');
|
|
13
|
+
}
|
|
14
|
+
var O = Object(this); // Steps 3-5.
|
|
15
|
+
var len = O.length >>> 0; // Steps 6-7.
|
|
16
|
+
var start = arguments[1];
|
|
17
|
+
var relativeStart = start >> 0; // Step 8.
|
|
18
|
+
var k = relativeStart < 0 ? Math.max(len + relativeStart, 0) : Math.min(relativeStart, len); // Steps 9-10.
|
|
19
|
+
var end = arguments[2];
|
|
20
|
+
var relativeEnd = end === undefined ? len : end >> 0; // Step 11.
|
|
21
|
+
var finalValue = relativeEnd < 0 ? Math.max(len + relativeEnd, 0) : Math.min(relativeEnd, len); // Step 12.
|
|
22
|
+
while (k < finalValue) {
|
|
23
|
+
O[k] = value;
|
|
24
|
+
k++;
|
|
25
|
+
}
|
|
26
|
+
; // Step 13.
|
|
27
|
+
return O;
|
|
28
|
+
}});
|
|
29
|
+
}
|
|
30
|
+
[Int8Array, Int16Array, Uint16Array, Int32Array, Float32Array, Float64Array].forEach(function (TypedArray) {
|
|
31
|
+
if (typeof TypedArray.prototype.fill === 'undefined') {
|
|
32
|
+
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
if (typeof Math.imul === 'undefined') {
|
|
36
|
+
Math.imul = function imul(a, b) {
|
|
37
|
+
return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//endregion
|
|
41
|
+
(function (root, factory) {
|
|
42
|
+
if (typeof define === 'function' && define.amd)
|
|
43
|
+
define(['exports'], factory);
|
|
44
|
+
else if (typeof exports === 'object')
|
|
45
|
+
factory(module.exports);
|
|
46
|
+
else
|
|
47
|
+
root['kotlin-kotlin-stdlib-js-ir'] = factory(typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined' ? {} : this['kotlin-kotlin-stdlib-js-ir']);
|
|
48
|
+
}(this, function (_) {
|
|
49
|
+
'use strict';
|
|
50
|
+
//region block: imports
|
|
51
|
+
var imul = Math.imul;
|
|
52
|
+
var isView = ArrayBuffer.isView;
|
|
53
|
+
//endregion
|
|
54
|
+
//region block: pre-declaration
|
|
55
|
+
setMetadataFor(Exception, 'Exception', classMeta, Error);
|
|
56
|
+
setMetadataFor(RuntimeException, 'RuntimeException', classMeta, Exception);
|
|
57
|
+
setMetadataFor(KotlinNothingValueException, 'KotlinNothingValueException', classMeta, RuntimeException);
|
|
58
|
+
setMetadataFor(Collection, 'Collection', interfaceMeta);
|
|
59
|
+
setMetadataFor(AbstractCollection, 'AbstractCollection', classMeta, VOID, [Collection]);
|
|
60
|
+
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
61
|
+
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
62
|
+
setMetadataFor(Map, 'Map', interfaceMeta);
|
|
63
|
+
setMetadataFor(AbstractMap, 'AbstractMap', classMeta, VOID, [Map]);
|
|
64
|
+
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
65
|
+
setMetadataFor(List, 'List', interfaceMeta, VOID, [Collection]);
|
|
66
|
+
setMetadataFor(EmptyList, 'EmptyList', objectMeta, VOID, [List]);
|
|
67
|
+
setMetadataFor(EmptyIterator, 'EmptyIterator', objectMeta);
|
|
68
|
+
setMetadataFor(ArrayAsCollection, 'ArrayAsCollection', classMeta, VOID, [Collection]);
|
|
69
|
+
setMetadataFor(IntIterator, 'IntIterator', classMeta);
|
|
70
|
+
setMetadataFor(Continuation, 'Continuation', interfaceMeta);
|
|
71
|
+
setMetadataFor(Key, 'Key', objectMeta);
|
|
72
|
+
function plus(context) {
|
|
73
|
+
var tmp;
|
|
74
|
+
if (context === EmptyCoroutineContext_getInstance()) {
|
|
75
|
+
tmp = this;
|
|
76
|
+
} else {
|
|
77
|
+
tmp = context.b2(this, CoroutineContext$plus$lambda);
|
|
78
|
+
}
|
|
79
|
+
return tmp;
|
|
80
|
+
}
|
|
81
|
+
setMetadataFor(CoroutineContext, 'CoroutineContext', interfaceMeta);
|
|
82
|
+
function get(key) {
|
|
83
|
+
var tmp;
|
|
84
|
+
if (equals(this.w(), key)) {
|
|
85
|
+
tmp = isInterface(this, Element) ? this : THROW_CCE();
|
|
86
|
+
} else {
|
|
87
|
+
tmp = null;
|
|
88
|
+
}
|
|
89
|
+
return tmp;
|
|
90
|
+
}
|
|
91
|
+
function fold(initial, operation) {
|
|
92
|
+
return operation(initial, this);
|
|
93
|
+
}
|
|
94
|
+
function minusKey(key) {
|
|
95
|
+
return equals(this.w(), key) ? EmptyCoroutineContext_getInstance() : this;
|
|
96
|
+
}
|
|
97
|
+
setMetadataFor(Element, 'Element', interfaceMeta, VOID, [CoroutineContext]);
|
|
98
|
+
function releaseInterceptedContinuation(continuation) {
|
|
99
|
+
}
|
|
100
|
+
function get_0(key) {
|
|
101
|
+
if (key instanceof AbstractCoroutineContextKey) {
|
|
102
|
+
var tmp;
|
|
103
|
+
if (key.z1(this.w())) {
|
|
104
|
+
var tmp_0 = key.y1(this);
|
|
105
|
+
tmp = (!(tmp_0 == null) ? isInterface(tmp_0, Element) : false) ? tmp_0 : null;
|
|
106
|
+
} else {
|
|
107
|
+
tmp = null;
|
|
108
|
+
}
|
|
109
|
+
return tmp;
|
|
110
|
+
}
|
|
111
|
+
var tmp_1;
|
|
112
|
+
if (Key_getInstance() === key) {
|
|
113
|
+
tmp_1 = isInterface(this, Element) ? this : THROW_CCE();
|
|
114
|
+
} else {
|
|
115
|
+
tmp_1 = null;
|
|
116
|
+
}
|
|
117
|
+
return tmp_1;
|
|
118
|
+
}
|
|
119
|
+
function minusKey_0(key) {
|
|
120
|
+
if (key instanceof AbstractCoroutineContextKey) {
|
|
121
|
+
return (key.z1(this.w()) ? !(key.y1(this) == null) : false) ? EmptyCoroutineContext_getInstance() : this;
|
|
122
|
+
}
|
|
123
|
+
return Key_getInstance() === key ? EmptyCoroutineContext_getInstance() : this;
|
|
124
|
+
}
|
|
125
|
+
setMetadataFor(ContinuationInterceptor, 'ContinuationInterceptor', interfaceMeta, VOID, [Element]);
|
|
126
|
+
setMetadataFor(EmptyCoroutineContext, 'EmptyCoroutineContext', objectMeta, VOID, [CoroutineContext]);
|
|
127
|
+
setMetadataFor(CombinedContext, 'CombinedContext', classMeta, VOID, [CoroutineContext]);
|
|
128
|
+
setMetadataFor(AbstractCoroutineContextKey, 'AbstractCoroutineContextKey', classMeta);
|
|
129
|
+
setMetadataFor(AbstractCoroutineContextElement, 'AbstractCoroutineContextElement', classMeta, VOID, [Element]);
|
|
130
|
+
setMetadataFor(Enum, 'Enum', classMeta);
|
|
131
|
+
setMetadataFor(CoroutineSingletons, 'CoroutineSingletons', classMeta, Enum);
|
|
132
|
+
setMetadataFor(Companion_2, 'Companion', objectMeta);
|
|
133
|
+
setMetadataFor(IntProgression, 'IntProgression', classMeta);
|
|
134
|
+
setMetadataFor(IntRange, 'IntRange', classMeta, IntProgression);
|
|
135
|
+
setMetadataFor(IntProgressionIterator, 'IntProgressionIterator', classMeta, IntIterator);
|
|
136
|
+
setMetadataFor(Companion_3, 'Companion', objectMeta);
|
|
137
|
+
setMetadataFor(Companion_4, 'Companion', objectMeta);
|
|
138
|
+
setMetadataFor(Failure, 'Failure', classMeta);
|
|
139
|
+
setMetadataFor(Error_0, 'Error', classMeta, Error);
|
|
140
|
+
setMetadataFor(NotImplementedError, 'NotImplementedError', classMeta, Error_0);
|
|
141
|
+
setMetadataFor(CharSequence, 'CharSequence', interfaceMeta);
|
|
142
|
+
setMetadataFor(Number_0, 'Number', classMeta);
|
|
143
|
+
setMetadataFor(Unit, 'Unit', objectMeta);
|
|
144
|
+
setMetadataFor(IntCompanionObject, 'IntCompanionObject', objectMeta);
|
|
145
|
+
setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, Collection]);
|
|
146
|
+
setMetadataFor(IteratorImpl, 'IteratorImpl', classMeta);
|
|
147
|
+
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, List, Collection]);
|
|
148
|
+
setMetadataFor(AbstractMutableMap$keys$1$iterator$1, VOID, classMeta);
|
|
149
|
+
setMetadataFor(Entry, 'Entry', interfaceMeta);
|
|
150
|
+
setMetadataFor(MutableEntry, 'MutableEntry', interfaceMeta, VOID, [Entry]);
|
|
151
|
+
setMetadataFor(SimpleEntry, 'SimpleEntry', classMeta, VOID, [MutableEntry]);
|
|
152
|
+
setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
|
|
153
|
+
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Set, Collection]);
|
|
154
|
+
setMetadataFor(AbstractEntrySet, 'AbstractEntrySet', classMeta, AbstractMutableSet);
|
|
155
|
+
setMetadataFor(AbstractMutableMap$keys$1, VOID, classMeta, AbstractMutableSet);
|
|
156
|
+
setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, Map]);
|
|
157
|
+
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, List, Collection]);
|
|
158
|
+
setMetadataFor(HashCode, 'HashCode', objectMeta);
|
|
159
|
+
setMetadataFor(EntrySet, 'EntrySet', classMeta, AbstractEntrySet);
|
|
160
|
+
setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, Map]);
|
|
161
|
+
setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet, Set, Collection]);
|
|
162
|
+
setMetadataFor(InternalHashCodeMap$iterator$1, VOID, classMeta);
|
|
163
|
+
function createJsMap() {
|
|
164
|
+
var result = Object.create(null);
|
|
165
|
+
result['foo'] = 1;
|
|
166
|
+
var tmp$ret$0;
|
|
167
|
+
// Inline function 'kotlin.js.jsDeleteProperty' call
|
|
168
|
+
delete result['foo'];
|
|
169
|
+
tmp$ret$0 = Unit_getInstance();
|
|
170
|
+
return result;
|
|
171
|
+
}
|
|
172
|
+
setMetadataFor(InternalMap, 'InternalMap', interfaceMeta);
|
|
173
|
+
setMetadataFor(InternalHashCodeMap, 'InternalHashCodeMap', classMeta, VOID, [InternalMap]);
|
|
174
|
+
setMetadataFor(EntryIterator, 'EntryIterator', classMeta);
|
|
175
|
+
setMetadataFor(ChainEntry, 'ChainEntry', classMeta, SimpleEntry);
|
|
176
|
+
setMetadataFor(EntrySet_0, 'EntrySet', classMeta, AbstractEntrySet);
|
|
177
|
+
setMetadataFor(LinkedHashMap, 'LinkedHashMap', classMeta, HashMap, [HashMap, Map]);
|
|
178
|
+
setMetadataFor(IllegalStateException, 'IllegalStateException', classMeta, RuntimeException);
|
|
179
|
+
setMetadataFor(CancellationException, 'CancellationException', classMeta, IllegalStateException);
|
|
180
|
+
setMetadataFor(KClass, 'KClass', interfaceMeta);
|
|
181
|
+
setMetadataFor(KClassImpl, 'KClassImpl', classMeta, VOID, [KClass]);
|
|
182
|
+
setMetadataFor(NothingKClassImpl, 'NothingKClassImpl', objectMeta, KClassImpl);
|
|
183
|
+
setMetadataFor(ErrorKClass, 'ErrorKClass', classMeta, VOID, [KClass]);
|
|
184
|
+
setMetadataFor(PrimitiveKClassImpl, 'PrimitiveKClassImpl', classMeta, KClassImpl);
|
|
185
|
+
setMetadataFor(SimpleKClassImpl, 'SimpleKClassImpl', classMeta, KClassImpl);
|
|
186
|
+
setMetadataFor(PrimitiveClasses, 'PrimitiveClasses', objectMeta);
|
|
187
|
+
setMetadataFor(StringBuilder, 'StringBuilder', classMeta, VOID, [CharSequence]);
|
|
188
|
+
setMetadataFor(Companion_5, 'Companion', objectMeta);
|
|
189
|
+
setMetadataFor(Char, 'Char', classMeta);
|
|
190
|
+
setMetadataFor(Companion_6, 'Companion', objectMeta);
|
|
191
|
+
setMetadataFor(BitMask, 'BitMask', classMeta);
|
|
192
|
+
setMetadataFor(arrayIterator$1, VOID, classMeta);
|
|
193
|
+
setMetadataFor(Companion_7, 'Companion', objectMeta);
|
|
194
|
+
setMetadataFor(Long, 'Long', classMeta, Number_0);
|
|
195
|
+
setMetadataFor(InterfaceIdService, 'InterfaceIdService', objectMeta);
|
|
196
|
+
setMetadataFor(Digit, 'Digit', objectMeta);
|
|
197
|
+
setMetadataFor(CoroutineImpl, 'CoroutineImpl', classMeta, VOID, [Continuation]);
|
|
198
|
+
setMetadataFor(CompletedContinuation, 'CompletedContinuation', objectMeta, VOID, [Continuation]);
|
|
199
|
+
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, CoroutineImpl);
|
|
200
|
+
setMetadataFor(IllegalArgumentException, 'IllegalArgumentException', classMeta, RuntimeException);
|
|
201
|
+
setMetadataFor(IndexOutOfBoundsException, 'IndexOutOfBoundsException', classMeta, RuntimeException);
|
|
202
|
+
setMetadataFor(NoSuchElementException, 'NoSuchElementException', classMeta, RuntimeException);
|
|
203
|
+
setMetadataFor(UnsupportedOperationException, 'UnsupportedOperationException', classMeta, RuntimeException);
|
|
204
|
+
setMetadataFor(NullPointerException, 'NullPointerException', classMeta, RuntimeException);
|
|
205
|
+
setMetadataFor(NoWhenBranchMatchedException, 'NoWhenBranchMatchedException', classMeta, RuntimeException);
|
|
206
|
+
setMetadataFor(ClassCastException, 'ClassCastException', classMeta, RuntimeException);
|
|
207
|
+
setMetadataFor(UninitializedPropertyAccessException, 'UninitializedPropertyAccessException', classMeta, RuntimeException);
|
|
208
|
+
//endregion
|
|
209
|
+
function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
210
|
+
separator = separator === VOID ? ', ' : separator;
|
|
211
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
212
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
213
|
+
limit = limit === VOID ? -1 : limit;
|
|
214
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
215
|
+
transform = transform === VOID ? null : transform;
|
|
216
|
+
return joinTo(_this__u8e3s4, StringBuilder_init_$Create$(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
217
|
+
}
|
|
218
|
+
function indexOf(_this__u8e3s4, element) {
|
|
219
|
+
if (element == null) {
|
|
220
|
+
var inductionVariable = 0;
|
|
221
|
+
var last = _this__u8e3s4.length - 1 | 0;
|
|
222
|
+
if (inductionVariable <= last)
|
|
223
|
+
do {
|
|
224
|
+
var index = inductionVariable;
|
|
225
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
226
|
+
if (_this__u8e3s4[index] == null) {
|
|
227
|
+
return index;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
while (inductionVariable <= last);
|
|
231
|
+
} else {
|
|
232
|
+
var inductionVariable_0 = 0;
|
|
233
|
+
var last_0 = _this__u8e3s4.length - 1 | 0;
|
|
234
|
+
if (inductionVariable_0 <= last_0)
|
|
235
|
+
do {
|
|
236
|
+
var index_0 = inductionVariable_0;
|
|
237
|
+
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
238
|
+
if (equals(element, _this__u8e3s4[index_0])) {
|
|
239
|
+
return index_0;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
while (inductionVariable_0 <= last_0);
|
|
243
|
+
}
|
|
244
|
+
return -1;
|
|
245
|
+
}
|
|
246
|
+
function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
247
|
+
separator = separator === VOID ? ', ' : separator;
|
|
248
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
249
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
250
|
+
limit = limit === VOID ? -1 : limit;
|
|
251
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
252
|
+
transform = transform === VOID ? null : transform;
|
|
253
|
+
buffer.a(prefix);
|
|
254
|
+
var count = 0;
|
|
255
|
+
var indexedObject = _this__u8e3s4;
|
|
256
|
+
var inductionVariable = 0;
|
|
257
|
+
var last = indexedObject.length;
|
|
258
|
+
$l$loop: while (inductionVariable < last) {
|
|
259
|
+
var element = indexedObject[inductionVariable];
|
|
260
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
261
|
+
count = count + 1 | 0;
|
|
262
|
+
if (count > 1) {
|
|
263
|
+
buffer.a(separator);
|
|
264
|
+
}
|
|
265
|
+
if (limit < 0 ? true : count <= limit) {
|
|
266
|
+
appendElement(buffer, element, transform);
|
|
267
|
+
} else
|
|
268
|
+
break $l$loop;
|
|
269
|
+
}
|
|
270
|
+
if (limit >= 0 ? count > limit : false) {
|
|
271
|
+
buffer.a(truncated);
|
|
272
|
+
}
|
|
273
|
+
buffer.a(postfix);
|
|
274
|
+
return buffer;
|
|
275
|
+
}
|
|
276
|
+
function contains(_this__u8e3s4, element) {
|
|
277
|
+
return indexOf(_this__u8e3s4, element) >= 0;
|
|
278
|
+
}
|
|
279
|
+
function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
280
|
+
separator = separator === VOID ? ', ' : separator;
|
|
281
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
282
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
283
|
+
limit = limit === VOID ? -1 : limit;
|
|
284
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
285
|
+
transform = transform === VOID ? null : transform;
|
|
286
|
+
return joinTo_0(_this__u8e3s4, StringBuilder_init_$Create$(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
287
|
+
}
|
|
288
|
+
function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
289
|
+
separator = separator === VOID ? ', ' : separator;
|
|
290
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
291
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
292
|
+
limit = limit === VOID ? -1 : limit;
|
|
293
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
294
|
+
transform = transform === VOID ? null : transform;
|
|
295
|
+
buffer.a(prefix);
|
|
296
|
+
var count = 0;
|
|
297
|
+
var tmp0_iterator = _this__u8e3s4.b();
|
|
298
|
+
$l$loop: while (tmp0_iterator.c()) {
|
|
299
|
+
var element = tmp0_iterator.d();
|
|
300
|
+
count = count + 1 | 0;
|
|
301
|
+
if (count > 1) {
|
|
302
|
+
buffer.a(separator);
|
|
303
|
+
}
|
|
304
|
+
if (limit < 0 ? true : count <= limit) {
|
|
305
|
+
appendElement(buffer, element, transform);
|
|
306
|
+
} else
|
|
307
|
+
break $l$loop;
|
|
308
|
+
}
|
|
309
|
+
if (limit >= 0 ? count > limit : false) {
|
|
310
|
+
buffer.a(truncated);
|
|
311
|
+
}
|
|
312
|
+
buffer.a(postfix);
|
|
313
|
+
return buffer;
|
|
314
|
+
}
|
|
315
|
+
function first(_this__u8e3s4) {
|
|
316
|
+
var tmp0_subject = _this__u8e3s4;
|
|
317
|
+
if (isInterface(tmp0_subject, List))
|
|
318
|
+
return first_0(_this__u8e3s4);
|
|
319
|
+
else {
|
|
320
|
+
var iterator = _this__u8e3s4.b();
|
|
321
|
+
if (!iterator.c())
|
|
322
|
+
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
|
|
323
|
+
return iterator.d();
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
function toList(_this__u8e3s4) {
|
|
327
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
328
|
+
var tmp0_subject = _this__u8e3s4.e();
|
|
329
|
+
var tmp;
|
|
330
|
+
switch (tmp0_subject) {
|
|
331
|
+
case 0:
|
|
332
|
+
tmp = emptyList();
|
|
333
|
+
break;
|
|
334
|
+
case 1:
|
|
335
|
+
var tmp_0;
|
|
336
|
+
if (isInterface(_this__u8e3s4, List)) {
|
|
337
|
+
tmp_0 = _this__u8e3s4.f(0);
|
|
338
|
+
} else {
|
|
339
|
+
tmp_0 = _this__u8e3s4.b().d();
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
tmp = listOf(tmp_0);
|
|
343
|
+
break;
|
|
344
|
+
default:
|
|
345
|
+
tmp = toMutableList(_this__u8e3s4);
|
|
346
|
+
break;
|
|
347
|
+
}
|
|
348
|
+
return tmp;
|
|
349
|
+
}
|
|
350
|
+
return optimizeReadOnlyList(toMutableList_0(_this__u8e3s4));
|
|
351
|
+
}
|
|
352
|
+
function plus_0(_this__u8e3s4, element) {
|
|
353
|
+
var result = ArrayList_init_$Create$_0(_this__u8e3s4.e() + 1 | 0);
|
|
354
|
+
result.j(_this__u8e3s4);
|
|
355
|
+
result.k(element);
|
|
356
|
+
return result;
|
|
357
|
+
}
|
|
358
|
+
function toMutableList(_this__u8e3s4) {
|
|
359
|
+
return ArrayList_init_$Create$_1(_this__u8e3s4);
|
|
360
|
+
}
|
|
361
|
+
function first_0(_this__u8e3s4) {
|
|
362
|
+
if (_this__u8e3s4.l())
|
|
363
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
364
|
+
return _this__u8e3s4.f(0);
|
|
365
|
+
}
|
|
366
|
+
function toMutableList_0(_this__u8e3s4) {
|
|
367
|
+
if (isInterface(_this__u8e3s4, Collection))
|
|
368
|
+
return toMutableList(_this__u8e3s4);
|
|
369
|
+
return toCollection(_this__u8e3s4, ArrayList_init_$Create$());
|
|
370
|
+
}
|
|
371
|
+
function toCollection(_this__u8e3s4, destination) {
|
|
372
|
+
var tmp0_iterator = _this__u8e3s4.b();
|
|
373
|
+
while (tmp0_iterator.c()) {
|
|
374
|
+
var item = tmp0_iterator.d();
|
|
375
|
+
destination.k(item);
|
|
376
|
+
}
|
|
377
|
+
return destination;
|
|
378
|
+
}
|
|
379
|
+
function coerceAtLeast(_this__u8e3s4, minimumValue) {
|
|
380
|
+
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
|
|
381
|
+
}
|
|
382
|
+
function KotlinNothingValueException_init_$Init$($this) {
|
|
383
|
+
RuntimeException_init_$Init$($this);
|
|
384
|
+
KotlinNothingValueException.call($this);
|
|
385
|
+
return $this;
|
|
386
|
+
}
|
|
387
|
+
function KotlinNothingValueException_init_$Create$() {
|
|
388
|
+
var tmp = KotlinNothingValueException_init_$Init$(objectCreate(protoOf(KotlinNothingValueException)));
|
|
389
|
+
captureStack(tmp, KotlinNothingValueException_init_$Create$);
|
|
390
|
+
return tmp;
|
|
391
|
+
}
|
|
392
|
+
function KotlinNothingValueException() {
|
|
393
|
+
captureStack(this, KotlinNothingValueException);
|
|
394
|
+
}
|
|
395
|
+
function AbstractCollection$toString$lambda(this$0) {
|
|
396
|
+
return function (it) {
|
|
397
|
+
return it === this$0 ? '(this Collection)' : toString_1(it);
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
function AbstractCollection() {
|
|
401
|
+
}
|
|
402
|
+
protoOf(AbstractCollection).o = function (element) {
|
|
403
|
+
var tmp$ret$0;
|
|
404
|
+
$l$block_0: {
|
|
405
|
+
// Inline function 'kotlin.collections.any' call
|
|
406
|
+
var tmp;
|
|
407
|
+
if (isInterface(this, Collection)) {
|
|
408
|
+
tmp = this.l();
|
|
409
|
+
} else {
|
|
410
|
+
tmp = false;
|
|
411
|
+
}
|
|
412
|
+
if (tmp) {
|
|
413
|
+
tmp$ret$0 = false;
|
|
414
|
+
break $l$block_0;
|
|
415
|
+
}
|
|
416
|
+
var tmp0_iterator = this.b();
|
|
417
|
+
while (tmp0_iterator.c()) {
|
|
418
|
+
var element_0 = tmp0_iterator.d();
|
|
419
|
+
var tmp$ret$1;
|
|
420
|
+
// Inline function 'kotlin.collections.AbstractCollection.contains.<anonymous>' call
|
|
421
|
+
tmp$ret$1 = equals(element_0, element);
|
|
422
|
+
if (tmp$ret$1) {
|
|
423
|
+
tmp$ret$0 = true;
|
|
424
|
+
break $l$block_0;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
tmp$ret$0 = false;
|
|
428
|
+
}
|
|
429
|
+
return tmp$ret$0;
|
|
430
|
+
};
|
|
431
|
+
protoOf(AbstractCollection).p = function (elements) {
|
|
432
|
+
var tmp$ret$0;
|
|
433
|
+
$l$block_0: {
|
|
434
|
+
// Inline function 'kotlin.collections.all' call
|
|
435
|
+
var tmp;
|
|
436
|
+
if (isInterface(elements, Collection)) {
|
|
437
|
+
tmp = elements.l();
|
|
438
|
+
} else {
|
|
439
|
+
tmp = false;
|
|
440
|
+
}
|
|
441
|
+
if (tmp) {
|
|
442
|
+
tmp$ret$0 = true;
|
|
443
|
+
break $l$block_0;
|
|
444
|
+
}
|
|
445
|
+
var tmp0_iterator = elements.b();
|
|
446
|
+
while (tmp0_iterator.c()) {
|
|
447
|
+
var element = tmp0_iterator.d();
|
|
448
|
+
var tmp$ret$1;
|
|
449
|
+
// Inline function 'kotlin.collections.AbstractCollection.containsAll.<anonymous>' call
|
|
450
|
+
tmp$ret$1 = this.o(element);
|
|
451
|
+
if (!tmp$ret$1) {
|
|
452
|
+
tmp$ret$0 = false;
|
|
453
|
+
break $l$block_0;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
tmp$ret$0 = true;
|
|
457
|
+
}
|
|
458
|
+
return tmp$ret$0;
|
|
459
|
+
};
|
|
460
|
+
protoOf(AbstractCollection).l = function () {
|
|
461
|
+
return this.e() === 0;
|
|
462
|
+
};
|
|
463
|
+
protoOf(AbstractCollection).toString = function () {
|
|
464
|
+
return joinToString_0(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
|
|
465
|
+
};
|
|
466
|
+
protoOf(AbstractCollection).toArray = function () {
|
|
467
|
+
return copyToArrayImpl(this);
|
|
468
|
+
};
|
|
469
|
+
function Companion() {
|
|
470
|
+
Companion_instance = this;
|
|
471
|
+
}
|
|
472
|
+
protoOf(Companion).q = function (index, size) {
|
|
473
|
+
if (index < 0 ? true : index >= size) {
|
|
474
|
+
throw IndexOutOfBoundsException_init_$Create$('index: ' + index + ', size: ' + size);
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
protoOf(Companion).r = function (index, size) {
|
|
478
|
+
if (index < 0 ? true : index > size) {
|
|
479
|
+
throw IndexOutOfBoundsException_init_$Create$('index: ' + index + ', size: ' + size);
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
protoOf(Companion).s = function (fromIndex, toIndex, size) {
|
|
483
|
+
if (fromIndex < 0 ? true : toIndex > size) {
|
|
484
|
+
throw IndexOutOfBoundsException_init_$Create$('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
|
|
485
|
+
}
|
|
486
|
+
if (fromIndex > toIndex) {
|
|
487
|
+
throw IllegalArgumentException_init_$Create$('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
|
|
488
|
+
}
|
|
489
|
+
};
|
|
490
|
+
protoOf(Companion).t = function (c) {
|
|
491
|
+
var hashCode_0 = 1;
|
|
492
|
+
var tmp0_iterator = c.b();
|
|
493
|
+
while (tmp0_iterator.c()) {
|
|
494
|
+
var e = tmp0_iterator.d();
|
|
495
|
+
var tmp = imul(31, hashCode_0);
|
|
496
|
+
var tmp1_safe_receiver = e;
|
|
497
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : hashCode(tmp1_safe_receiver);
|
|
498
|
+
hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
|
|
499
|
+
}
|
|
500
|
+
return hashCode_0;
|
|
501
|
+
};
|
|
502
|
+
protoOf(Companion).u = function (c, other) {
|
|
503
|
+
if (!(c.e() === other.e()))
|
|
504
|
+
return false;
|
|
505
|
+
var otherIterator = other.b();
|
|
506
|
+
var tmp0_iterator = c.b();
|
|
507
|
+
while (tmp0_iterator.c()) {
|
|
508
|
+
var elem = tmp0_iterator.d();
|
|
509
|
+
var elemOther = otherIterator.d();
|
|
510
|
+
if (!equals(elem, elemOther)) {
|
|
511
|
+
return false;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
return true;
|
|
515
|
+
};
|
|
516
|
+
var Companion_instance;
|
|
517
|
+
function Companion_getInstance() {
|
|
518
|
+
if (Companion_instance == null)
|
|
519
|
+
new Companion();
|
|
520
|
+
return Companion_instance;
|
|
521
|
+
}
|
|
522
|
+
function toString($this, o) {
|
|
523
|
+
return o === $this ? '(this Map)' : toString_1(o);
|
|
524
|
+
}
|
|
525
|
+
function implFindEntry($this, key) {
|
|
526
|
+
var tmp$ret$1;
|
|
527
|
+
$l$block: {
|
|
528
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
529
|
+
var tmp0_firstOrNull = $this.v();
|
|
530
|
+
var tmp0_iterator = tmp0_firstOrNull.b();
|
|
531
|
+
while (tmp0_iterator.c()) {
|
|
532
|
+
var element = tmp0_iterator.d();
|
|
533
|
+
var tmp$ret$0;
|
|
534
|
+
// Inline function 'kotlin.collections.AbstractMap.implFindEntry.<anonymous>' call
|
|
535
|
+
tmp$ret$0 = equals(element.w(), key);
|
|
536
|
+
if (tmp$ret$0) {
|
|
537
|
+
tmp$ret$1 = element;
|
|
538
|
+
break $l$block;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
tmp$ret$1 = null;
|
|
542
|
+
}
|
|
543
|
+
return tmp$ret$1;
|
|
544
|
+
}
|
|
545
|
+
function Companion_0() {
|
|
546
|
+
Companion_instance_0 = this;
|
|
547
|
+
}
|
|
548
|
+
protoOf(Companion_0).x = function (e) {
|
|
549
|
+
var tmp$ret$1;
|
|
550
|
+
// Inline function 'kotlin.with' call
|
|
551
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
552
|
+
var tmp$ret$0;
|
|
553
|
+
// Inline function 'kotlin.collections.Companion.entryHashCode.<anonymous>' call
|
|
554
|
+
var tmp2_safe_receiver = e.w();
|
|
555
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : hashCode(tmp2_safe_receiver);
|
|
556
|
+
var tmp = tmp3_elvis_lhs == null ? 0 : tmp3_elvis_lhs;
|
|
557
|
+
var tmp0_safe_receiver = e.y();
|
|
558
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
559
|
+
tmp$ret$0 = tmp ^ (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs);
|
|
560
|
+
tmp$ret$1 = tmp$ret$0;
|
|
561
|
+
return tmp$ret$1;
|
|
562
|
+
};
|
|
563
|
+
protoOf(Companion_0).z = function (e) {
|
|
564
|
+
var tmp$ret$1;
|
|
565
|
+
// Inline function 'kotlin.with' call
|
|
566
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
567
|
+
var tmp$ret$0;
|
|
568
|
+
// Inline function 'kotlin.collections.Companion.entryToString.<anonymous>' call
|
|
569
|
+
tmp$ret$0 = toString_1(e.w()) + '=' + toString_1(e.y());
|
|
570
|
+
tmp$ret$1 = tmp$ret$0;
|
|
571
|
+
return tmp$ret$1;
|
|
572
|
+
};
|
|
573
|
+
protoOf(Companion_0).a1 = function (e, other) {
|
|
574
|
+
if (!(!(other == null) ? isInterface(other, Entry) : false))
|
|
575
|
+
return false;
|
|
576
|
+
return equals(e.w(), other.w()) ? equals(e.y(), other.y()) : false;
|
|
577
|
+
};
|
|
578
|
+
var Companion_instance_0;
|
|
579
|
+
function Companion_getInstance_0() {
|
|
580
|
+
if (Companion_instance_0 == null)
|
|
581
|
+
new Companion_0();
|
|
582
|
+
return Companion_instance_0;
|
|
583
|
+
}
|
|
584
|
+
function AbstractMap$toString$lambda(this$0) {
|
|
585
|
+
return function (it) {
|
|
586
|
+
return this$0.d1(it);
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
function AbstractMap() {
|
|
590
|
+
Companion_getInstance_0();
|
|
591
|
+
this.b1_1 = null;
|
|
592
|
+
this.c1_1 = null;
|
|
593
|
+
}
|
|
594
|
+
protoOf(AbstractMap).e1 = function (key) {
|
|
595
|
+
return !(implFindEntry(this, key) == null);
|
|
596
|
+
};
|
|
597
|
+
protoOf(AbstractMap).f1 = function (entry) {
|
|
598
|
+
if (!(!(entry == null) ? isInterface(entry, Entry) : false))
|
|
599
|
+
return false;
|
|
600
|
+
var key = entry.w();
|
|
601
|
+
var value = entry.y();
|
|
602
|
+
var tmp$ret$0;
|
|
603
|
+
// Inline function 'kotlin.collections.get' call
|
|
604
|
+
tmp$ret$0 = (isInterface(this, Map) ? this : THROW_CCE()).g1(key);
|
|
605
|
+
var ourValue = tmp$ret$0;
|
|
606
|
+
if (!equals(value, ourValue)) {
|
|
607
|
+
return false;
|
|
608
|
+
}
|
|
609
|
+
var tmp;
|
|
610
|
+
if (ourValue == null) {
|
|
611
|
+
var tmp$ret$1;
|
|
612
|
+
// Inline function 'kotlin.collections.containsKey' call
|
|
613
|
+
tmp$ret$1 = (isInterface(this, Map) ? this : THROW_CCE()).e1(key);
|
|
614
|
+
tmp = !tmp$ret$1;
|
|
615
|
+
} else {
|
|
616
|
+
tmp = false;
|
|
617
|
+
}
|
|
618
|
+
if (tmp) {
|
|
619
|
+
return false;
|
|
620
|
+
}
|
|
621
|
+
return true;
|
|
622
|
+
};
|
|
623
|
+
protoOf(AbstractMap).equals = function (other) {
|
|
624
|
+
if (other === this)
|
|
625
|
+
return true;
|
|
626
|
+
if (!(!(other == null) ? isInterface(other, Map) : false))
|
|
627
|
+
return false;
|
|
628
|
+
if (!(this.e() === other.e()))
|
|
629
|
+
return false;
|
|
630
|
+
var tmp$ret$0;
|
|
631
|
+
$l$block_0: {
|
|
632
|
+
// Inline function 'kotlin.collections.all' call
|
|
633
|
+
var tmp0_all = other.v();
|
|
634
|
+
var tmp;
|
|
635
|
+
if (isInterface(tmp0_all, Collection)) {
|
|
636
|
+
tmp = tmp0_all.l();
|
|
637
|
+
} else {
|
|
638
|
+
tmp = false;
|
|
639
|
+
}
|
|
640
|
+
if (tmp) {
|
|
641
|
+
tmp$ret$0 = true;
|
|
642
|
+
break $l$block_0;
|
|
643
|
+
}
|
|
644
|
+
var tmp0_iterator = tmp0_all.b();
|
|
645
|
+
while (tmp0_iterator.c()) {
|
|
646
|
+
var element = tmp0_iterator.d();
|
|
647
|
+
var tmp$ret$1;
|
|
648
|
+
// Inline function 'kotlin.collections.AbstractMap.equals.<anonymous>' call
|
|
649
|
+
tmp$ret$1 = this.f1(element);
|
|
650
|
+
if (!tmp$ret$1) {
|
|
651
|
+
tmp$ret$0 = false;
|
|
652
|
+
break $l$block_0;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
tmp$ret$0 = true;
|
|
656
|
+
}
|
|
657
|
+
return tmp$ret$0;
|
|
658
|
+
};
|
|
659
|
+
protoOf(AbstractMap).g1 = function (key) {
|
|
660
|
+
var tmp0_safe_receiver = implFindEntry(this, key);
|
|
661
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y();
|
|
662
|
+
};
|
|
663
|
+
protoOf(AbstractMap).hashCode = function () {
|
|
664
|
+
return hashCode(this.v());
|
|
665
|
+
};
|
|
666
|
+
protoOf(AbstractMap).l = function () {
|
|
667
|
+
return this.e() === 0;
|
|
668
|
+
};
|
|
669
|
+
protoOf(AbstractMap).e = function () {
|
|
670
|
+
return this.v().e();
|
|
671
|
+
};
|
|
672
|
+
protoOf(AbstractMap).toString = function () {
|
|
673
|
+
var tmp = this.v();
|
|
674
|
+
return joinToString_0(tmp, ', ', '{', '}', VOID, VOID, AbstractMap$toString$lambda(this));
|
|
675
|
+
};
|
|
676
|
+
protoOf(AbstractMap).d1 = function (entry) {
|
|
677
|
+
return toString(this, entry.w()) + '=' + toString(this, entry.y());
|
|
678
|
+
};
|
|
679
|
+
function Companion_1() {
|
|
680
|
+
Companion_instance_1 = this;
|
|
681
|
+
}
|
|
682
|
+
protoOf(Companion_1).h1 = function (c) {
|
|
683
|
+
var hashCode_0 = 0;
|
|
684
|
+
var tmp0_iterator = c.b();
|
|
685
|
+
while (tmp0_iterator.c()) {
|
|
686
|
+
var element = tmp0_iterator.d();
|
|
687
|
+
var tmp = hashCode_0;
|
|
688
|
+
var tmp1_safe_receiver = element;
|
|
689
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : hashCode(tmp1_safe_receiver);
|
|
690
|
+
hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
|
|
691
|
+
}
|
|
692
|
+
return hashCode_0;
|
|
693
|
+
};
|
|
694
|
+
protoOf(Companion_1).i1 = function (c, other) {
|
|
695
|
+
if (!(c.e() === other.e()))
|
|
696
|
+
return false;
|
|
697
|
+
var tmp$ret$0;
|
|
698
|
+
// Inline function 'kotlin.collections.containsAll' call
|
|
699
|
+
tmp$ret$0 = c.p(other);
|
|
700
|
+
return tmp$ret$0;
|
|
701
|
+
};
|
|
702
|
+
var Companion_instance_1;
|
|
703
|
+
function Companion_getInstance_1() {
|
|
704
|
+
if (Companion_instance_1 == null)
|
|
705
|
+
new Companion_1();
|
|
706
|
+
return Companion_instance_1;
|
|
707
|
+
}
|
|
708
|
+
function emptyList() {
|
|
709
|
+
return EmptyList_getInstance();
|
|
710
|
+
}
|
|
711
|
+
function optimizeReadOnlyList(_this__u8e3s4) {
|
|
712
|
+
var tmp0_subject = _this__u8e3s4.e();
|
|
713
|
+
switch (tmp0_subject) {
|
|
714
|
+
case 0:
|
|
715
|
+
return emptyList();
|
|
716
|
+
case 1:
|
|
717
|
+
return listOf(_this__u8e3s4.f(0));
|
|
718
|
+
default:
|
|
719
|
+
return _this__u8e3s4;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
function get_lastIndex(_this__u8e3s4) {
|
|
723
|
+
return _this__u8e3s4.e() - 1 | 0;
|
|
724
|
+
}
|
|
725
|
+
function EmptyList() {
|
|
726
|
+
EmptyList_instance = this;
|
|
727
|
+
this.j1_1 = new Long(-1478467534, -1720727600);
|
|
728
|
+
}
|
|
729
|
+
protoOf(EmptyList).equals = function (other) {
|
|
730
|
+
var tmp;
|
|
731
|
+
if (!(other == null) ? isInterface(other, List) : false) {
|
|
732
|
+
tmp = other.l();
|
|
733
|
+
} else {
|
|
734
|
+
tmp = false;
|
|
735
|
+
}
|
|
736
|
+
return tmp;
|
|
737
|
+
};
|
|
738
|
+
protoOf(EmptyList).hashCode = function () {
|
|
739
|
+
return 1;
|
|
740
|
+
};
|
|
741
|
+
protoOf(EmptyList).toString = function () {
|
|
742
|
+
return '[]';
|
|
743
|
+
};
|
|
744
|
+
protoOf(EmptyList).e = function () {
|
|
745
|
+
return 0;
|
|
746
|
+
};
|
|
747
|
+
protoOf(EmptyList).l = function () {
|
|
748
|
+
return true;
|
|
749
|
+
};
|
|
750
|
+
protoOf(EmptyList).k1 = function (element) {
|
|
751
|
+
return false;
|
|
752
|
+
};
|
|
753
|
+
protoOf(EmptyList).o = function (element) {
|
|
754
|
+
if (!false)
|
|
755
|
+
return false;
|
|
756
|
+
var tmp;
|
|
757
|
+
if (false) {
|
|
758
|
+
tmp = element;
|
|
759
|
+
} else {
|
|
760
|
+
tmp = THROW_CCE();
|
|
761
|
+
}
|
|
762
|
+
return this.k1(tmp);
|
|
763
|
+
};
|
|
764
|
+
protoOf(EmptyList).l1 = function (elements) {
|
|
765
|
+
return elements.l();
|
|
766
|
+
};
|
|
767
|
+
protoOf(EmptyList).p = function (elements) {
|
|
768
|
+
return this.l1(elements);
|
|
769
|
+
};
|
|
770
|
+
protoOf(EmptyList).f = function (index) {
|
|
771
|
+
throw IndexOutOfBoundsException_init_$Create$("Empty list doesn't contain element at index " + index + '.');
|
|
772
|
+
};
|
|
773
|
+
protoOf(EmptyList).b = function () {
|
|
774
|
+
return EmptyIterator_getInstance();
|
|
775
|
+
};
|
|
776
|
+
var EmptyList_instance;
|
|
777
|
+
function EmptyList_getInstance() {
|
|
778
|
+
if (EmptyList_instance == null)
|
|
779
|
+
new EmptyList();
|
|
780
|
+
return EmptyList_instance;
|
|
781
|
+
}
|
|
782
|
+
function EmptyIterator() {
|
|
783
|
+
EmptyIterator_instance = this;
|
|
784
|
+
}
|
|
785
|
+
protoOf(EmptyIterator).c = function () {
|
|
786
|
+
return false;
|
|
787
|
+
};
|
|
788
|
+
protoOf(EmptyIterator).d = function () {
|
|
789
|
+
throw NoSuchElementException_init_$Create$();
|
|
790
|
+
};
|
|
791
|
+
var EmptyIterator_instance;
|
|
792
|
+
function EmptyIterator_getInstance() {
|
|
793
|
+
if (EmptyIterator_instance == null)
|
|
794
|
+
new EmptyIterator();
|
|
795
|
+
return EmptyIterator_instance;
|
|
796
|
+
}
|
|
797
|
+
function arrayListOf(elements) {
|
|
798
|
+
return elements.length === 0 ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, true));
|
|
799
|
+
}
|
|
800
|
+
function ArrayAsCollection(values, isVarargs) {
|
|
801
|
+
this.m1_1 = values;
|
|
802
|
+
this.n1_1 = isVarargs;
|
|
803
|
+
}
|
|
804
|
+
protoOf(ArrayAsCollection).e = function () {
|
|
805
|
+
return this.m1_1.length;
|
|
806
|
+
};
|
|
807
|
+
protoOf(ArrayAsCollection).l = function () {
|
|
808
|
+
var tmp$ret$0;
|
|
809
|
+
// Inline function 'kotlin.collections.isEmpty' call
|
|
810
|
+
var tmp0_isEmpty = this.m1_1;
|
|
811
|
+
tmp$ret$0 = tmp0_isEmpty.length === 0;
|
|
812
|
+
return tmp$ret$0;
|
|
813
|
+
};
|
|
814
|
+
protoOf(ArrayAsCollection).o1 = function (element) {
|
|
815
|
+
return contains(this.m1_1, element);
|
|
816
|
+
};
|
|
817
|
+
protoOf(ArrayAsCollection).o = function (element) {
|
|
818
|
+
if (!(element == null ? true : isObject(element)))
|
|
819
|
+
return false;
|
|
820
|
+
return this.o1((element == null ? true : isObject(element)) ? element : THROW_CCE());
|
|
821
|
+
};
|
|
822
|
+
protoOf(ArrayAsCollection).p1 = function (elements) {
|
|
823
|
+
var tmp$ret$0;
|
|
824
|
+
$l$block_0: {
|
|
825
|
+
// Inline function 'kotlin.collections.all' call
|
|
826
|
+
var tmp;
|
|
827
|
+
if (isInterface(elements, Collection)) {
|
|
828
|
+
tmp = elements.l();
|
|
829
|
+
} else {
|
|
830
|
+
tmp = false;
|
|
831
|
+
}
|
|
832
|
+
if (tmp) {
|
|
833
|
+
tmp$ret$0 = true;
|
|
834
|
+
break $l$block_0;
|
|
835
|
+
}
|
|
836
|
+
var tmp0_iterator = elements.b();
|
|
837
|
+
while (tmp0_iterator.c()) {
|
|
838
|
+
var element = tmp0_iterator.d();
|
|
839
|
+
var tmp$ret$1;
|
|
840
|
+
// Inline function 'kotlin.collections.ArrayAsCollection.containsAll.<anonymous>' call
|
|
841
|
+
tmp$ret$1 = this.o1(element);
|
|
842
|
+
if (!tmp$ret$1) {
|
|
843
|
+
tmp$ret$0 = false;
|
|
844
|
+
break $l$block_0;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
tmp$ret$0 = true;
|
|
848
|
+
}
|
|
849
|
+
return tmp$ret$0;
|
|
850
|
+
};
|
|
851
|
+
protoOf(ArrayAsCollection).p = function (elements) {
|
|
852
|
+
return this.p1(elements);
|
|
853
|
+
};
|
|
854
|
+
protoOf(ArrayAsCollection).b = function () {
|
|
855
|
+
return arrayIterator(this.m1_1);
|
|
856
|
+
};
|
|
857
|
+
function mutableListOf(elements) {
|
|
858
|
+
return elements.length === 0 ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, true));
|
|
859
|
+
}
|
|
860
|
+
function IntIterator() {
|
|
861
|
+
}
|
|
862
|
+
protoOf(IntIterator).d = function () {
|
|
863
|
+
return this.q1();
|
|
864
|
+
};
|
|
865
|
+
function Continuation() {
|
|
866
|
+
}
|
|
867
|
+
function startCoroutine(_this__u8e3s4, receiver, completion) {
|
|
868
|
+
var tmp$ret$1;
|
|
869
|
+
// Inline function 'kotlin.coroutines.resume' call
|
|
870
|
+
var tmp1_resume = intercepted(createCoroutineUnintercepted(_this__u8e3s4, receiver, completion));
|
|
871
|
+
var tmp$ret$0;
|
|
872
|
+
// Inline function 'kotlin.Companion.success' call
|
|
873
|
+
var tmp0_success = Companion_getInstance_4();
|
|
874
|
+
tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_getInstance());
|
|
875
|
+
tmp1_resume.s1(tmp$ret$0);
|
|
876
|
+
tmp$ret$1 = Unit_getInstance();
|
|
877
|
+
}
|
|
878
|
+
function Key() {
|
|
879
|
+
Key_instance = this;
|
|
880
|
+
}
|
|
881
|
+
var Key_instance;
|
|
882
|
+
function Key_getInstance() {
|
|
883
|
+
if (Key_instance == null)
|
|
884
|
+
new Key();
|
|
885
|
+
return Key_instance;
|
|
886
|
+
}
|
|
887
|
+
function ContinuationInterceptor() {
|
|
888
|
+
}
|
|
889
|
+
function Element() {
|
|
890
|
+
}
|
|
891
|
+
function CoroutineContext$plus$lambda(acc, element) {
|
|
892
|
+
var removed = acc.a2(element.w());
|
|
893
|
+
var tmp;
|
|
894
|
+
if (removed === EmptyCoroutineContext_getInstance()) {
|
|
895
|
+
tmp = element;
|
|
896
|
+
} else {
|
|
897
|
+
var interceptor = removed.v1(Key_getInstance());
|
|
898
|
+
var tmp_0;
|
|
899
|
+
if (interceptor == null) {
|
|
900
|
+
tmp_0 = new CombinedContext(removed, element);
|
|
901
|
+
} else {
|
|
902
|
+
var left = removed.a2(Key_getInstance());
|
|
903
|
+
tmp_0 = left === EmptyCoroutineContext_getInstance() ? new CombinedContext(element, interceptor) : new CombinedContext(new CombinedContext(left, element), interceptor);
|
|
904
|
+
}
|
|
905
|
+
tmp = tmp_0;
|
|
906
|
+
}
|
|
907
|
+
return tmp;
|
|
908
|
+
}
|
|
909
|
+
function CoroutineContext() {
|
|
910
|
+
}
|
|
911
|
+
function EmptyCoroutineContext() {
|
|
912
|
+
EmptyCoroutineContext_instance = this;
|
|
913
|
+
this.d2_1 = new Long(0, 0);
|
|
914
|
+
}
|
|
915
|
+
protoOf(EmptyCoroutineContext).v1 = function (key) {
|
|
916
|
+
return null;
|
|
917
|
+
};
|
|
918
|
+
protoOf(EmptyCoroutineContext).b2 = function (initial, operation) {
|
|
919
|
+
return initial;
|
|
920
|
+
};
|
|
921
|
+
protoOf(EmptyCoroutineContext).c2 = function (context) {
|
|
922
|
+
return context;
|
|
923
|
+
};
|
|
924
|
+
protoOf(EmptyCoroutineContext).a2 = function (key) {
|
|
925
|
+
return this;
|
|
926
|
+
};
|
|
927
|
+
protoOf(EmptyCoroutineContext).hashCode = function () {
|
|
928
|
+
return 0;
|
|
929
|
+
};
|
|
930
|
+
protoOf(EmptyCoroutineContext).toString = function () {
|
|
931
|
+
return 'EmptyCoroutineContext';
|
|
932
|
+
};
|
|
933
|
+
var EmptyCoroutineContext_instance;
|
|
934
|
+
function EmptyCoroutineContext_getInstance() {
|
|
935
|
+
if (EmptyCoroutineContext_instance == null)
|
|
936
|
+
new EmptyCoroutineContext();
|
|
937
|
+
return EmptyCoroutineContext_instance;
|
|
938
|
+
}
|
|
939
|
+
function size($this) {
|
|
940
|
+
var cur = $this;
|
|
941
|
+
var size = 2;
|
|
942
|
+
while (true) {
|
|
943
|
+
var tmp = cur.e2_1;
|
|
944
|
+
var tmp0_elvis_lhs = tmp instanceof CombinedContext ? tmp : null;
|
|
945
|
+
var tmp_0;
|
|
946
|
+
if (tmp0_elvis_lhs == null) {
|
|
947
|
+
return size;
|
|
948
|
+
} else {
|
|
949
|
+
tmp_0 = tmp0_elvis_lhs;
|
|
950
|
+
}
|
|
951
|
+
cur = tmp_0;
|
|
952
|
+
var tmp1 = size;
|
|
953
|
+
size = tmp1 + 1 | 0;
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
function contains_0($this, element) {
|
|
957
|
+
return equals($this.v1(element.w()), element);
|
|
958
|
+
}
|
|
959
|
+
function containsAll($this, context) {
|
|
960
|
+
var cur = context;
|
|
961
|
+
while (true) {
|
|
962
|
+
if (!contains_0($this, cur.f2_1))
|
|
963
|
+
return false;
|
|
964
|
+
var next = cur.e2_1;
|
|
965
|
+
if (next instanceof CombinedContext) {
|
|
966
|
+
cur = next;
|
|
967
|
+
} else {
|
|
968
|
+
return contains_0($this, isInterface(next, Element) ? next : THROW_CCE());
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
function CombinedContext$toString$lambda(acc, element) {
|
|
973
|
+
var tmp;
|
|
974
|
+
var tmp$ret$0;
|
|
975
|
+
// Inline function 'kotlin.text.isEmpty' call
|
|
976
|
+
tmp$ret$0 = charSequenceLength(acc) === 0;
|
|
977
|
+
if (tmp$ret$0) {
|
|
978
|
+
tmp = toString_2(element);
|
|
979
|
+
} else {
|
|
980
|
+
tmp = acc + ', ' + element;
|
|
981
|
+
}
|
|
982
|
+
return tmp;
|
|
983
|
+
}
|
|
984
|
+
function CombinedContext(left, element) {
|
|
985
|
+
this.e2_1 = left;
|
|
986
|
+
this.f2_1 = element;
|
|
987
|
+
}
|
|
988
|
+
protoOf(CombinedContext).v1 = function (key) {
|
|
989
|
+
var cur = this;
|
|
990
|
+
while (true) {
|
|
991
|
+
var tmp0_safe_receiver = cur.f2_1.v1(key);
|
|
992
|
+
if (tmp0_safe_receiver == null)
|
|
993
|
+
null;
|
|
994
|
+
else {
|
|
995
|
+
var tmp$ret$0;
|
|
996
|
+
// Inline function 'kotlin.let' call
|
|
997
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
998
|
+
return tmp0_safe_receiver;
|
|
999
|
+
}
|
|
1000
|
+
var next = cur.e2_1;
|
|
1001
|
+
if (next instanceof CombinedContext) {
|
|
1002
|
+
cur = next;
|
|
1003
|
+
} else {
|
|
1004
|
+
return next.v1(key);
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
};
|
|
1008
|
+
protoOf(CombinedContext).b2 = function (initial, operation) {
|
|
1009
|
+
return operation(this.e2_1.b2(initial, operation), this.f2_1);
|
|
1010
|
+
};
|
|
1011
|
+
protoOf(CombinedContext).a2 = function (key) {
|
|
1012
|
+
var tmp0_safe_receiver = this.f2_1.v1(key);
|
|
1013
|
+
if (tmp0_safe_receiver == null)
|
|
1014
|
+
null;
|
|
1015
|
+
else {
|
|
1016
|
+
var tmp$ret$0;
|
|
1017
|
+
// Inline function 'kotlin.let' call
|
|
1018
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1019
|
+
return this.e2_1;
|
|
1020
|
+
}
|
|
1021
|
+
var newLeft = this.e2_1.a2(key);
|
|
1022
|
+
return newLeft === this.e2_1 ? this : newLeft === EmptyCoroutineContext_getInstance() ? this.f2_1 : new CombinedContext(newLeft, this.f2_1);
|
|
1023
|
+
};
|
|
1024
|
+
protoOf(CombinedContext).equals = function (other) {
|
|
1025
|
+
var tmp;
|
|
1026
|
+
if (this === other) {
|
|
1027
|
+
tmp = true;
|
|
1028
|
+
} else {
|
|
1029
|
+
var tmp_0;
|
|
1030
|
+
var tmp_1;
|
|
1031
|
+
if (other instanceof CombinedContext) {
|
|
1032
|
+
tmp_1 = size(other) === size(this);
|
|
1033
|
+
} else {
|
|
1034
|
+
tmp_1 = false;
|
|
1035
|
+
}
|
|
1036
|
+
if (tmp_1) {
|
|
1037
|
+
tmp_0 = containsAll(other, this);
|
|
1038
|
+
} else {
|
|
1039
|
+
tmp_0 = false;
|
|
1040
|
+
}
|
|
1041
|
+
tmp = tmp_0;
|
|
1042
|
+
}
|
|
1043
|
+
return tmp;
|
|
1044
|
+
};
|
|
1045
|
+
protoOf(CombinedContext).hashCode = function () {
|
|
1046
|
+
return hashCode(this.e2_1) + hashCode(this.f2_1) | 0;
|
|
1047
|
+
};
|
|
1048
|
+
protoOf(CombinedContext).toString = function () {
|
|
1049
|
+
return '[' + this.b2('', CombinedContext$toString$lambda) + ']';
|
|
1050
|
+
};
|
|
1051
|
+
function AbstractCoroutineContextKey(baseKey, safeCast) {
|
|
1052
|
+
this.w1_1 = safeCast;
|
|
1053
|
+
var tmp = this;
|
|
1054
|
+
var tmp_0;
|
|
1055
|
+
if (baseKey instanceof AbstractCoroutineContextKey) {
|
|
1056
|
+
tmp_0 = baseKey.x1_1;
|
|
1057
|
+
} else {
|
|
1058
|
+
tmp_0 = baseKey;
|
|
1059
|
+
}
|
|
1060
|
+
tmp.x1_1 = tmp_0;
|
|
1061
|
+
}
|
|
1062
|
+
protoOf(AbstractCoroutineContextKey).y1 = function (element) {
|
|
1063
|
+
return this.w1_1(element);
|
|
1064
|
+
};
|
|
1065
|
+
protoOf(AbstractCoroutineContextKey).z1 = function (key) {
|
|
1066
|
+
return key === this ? true : this.x1_1 === key;
|
|
1067
|
+
};
|
|
1068
|
+
function AbstractCoroutineContextElement(key) {
|
|
1069
|
+
this.g2_1 = key;
|
|
1070
|
+
}
|
|
1071
|
+
protoOf(AbstractCoroutineContextElement).w = function () {
|
|
1072
|
+
return this.g2_1;
|
|
1073
|
+
};
|
|
1074
|
+
function get_COROUTINE_SUSPENDED() {
|
|
1075
|
+
return CoroutineSingletons_COROUTINE_SUSPENDED_getInstance();
|
|
1076
|
+
}
|
|
1077
|
+
var CoroutineSingletons_COROUTINE_SUSPENDED_instance;
|
|
1078
|
+
var CoroutineSingletons_UNDECIDED_instance;
|
|
1079
|
+
var CoroutineSingletons_RESUMED_instance;
|
|
1080
|
+
var CoroutineSingletons_entriesInitialized;
|
|
1081
|
+
function CoroutineSingletons_initEntries() {
|
|
1082
|
+
if (CoroutineSingletons_entriesInitialized)
|
|
1083
|
+
return Unit_getInstance();
|
|
1084
|
+
CoroutineSingletons_entriesInitialized = true;
|
|
1085
|
+
CoroutineSingletons_COROUTINE_SUSPENDED_instance = new CoroutineSingletons('COROUTINE_SUSPENDED', 0);
|
|
1086
|
+
CoroutineSingletons_UNDECIDED_instance = new CoroutineSingletons('UNDECIDED', 1);
|
|
1087
|
+
CoroutineSingletons_RESUMED_instance = new CoroutineSingletons('RESUMED', 2);
|
|
1088
|
+
}
|
|
1089
|
+
function CoroutineSingletons(name, ordinal) {
|
|
1090
|
+
Enum.call(this, name, ordinal);
|
|
1091
|
+
}
|
|
1092
|
+
function CoroutineSingletons_COROUTINE_SUSPENDED_getInstance() {
|
|
1093
|
+
CoroutineSingletons_initEntries();
|
|
1094
|
+
return CoroutineSingletons_COROUTINE_SUSPENDED_instance;
|
|
1095
|
+
}
|
|
1096
|
+
function getProgressionLastElement(start, end, step) {
|
|
1097
|
+
var tmp;
|
|
1098
|
+
if (step > 0) {
|
|
1099
|
+
tmp = start >= end ? end : end - differenceModulo(end, start, step) | 0;
|
|
1100
|
+
} else if (step < 0) {
|
|
1101
|
+
tmp = start <= end ? end : end + differenceModulo(start, end, -step | 0) | 0;
|
|
1102
|
+
} else {
|
|
1103
|
+
throw IllegalArgumentException_init_$Create$('Step is zero.');
|
|
1104
|
+
}
|
|
1105
|
+
return tmp;
|
|
1106
|
+
}
|
|
1107
|
+
function differenceModulo(a, b, c) {
|
|
1108
|
+
return mod(mod(a, c) - mod(b, c) | 0, c);
|
|
1109
|
+
}
|
|
1110
|
+
function mod(a, b) {
|
|
1111
|
+
var mod = a % b | 0;
|
|
1112
|
+
return mod >= 0 ? mod : mod + b | 0;
|
|
1113
|
+
}
|
|
1114
|
+
function Companion_2() {
|
|
1115
|
+
Companion_instance_2 = this;
|
|
1116
|
+
this.h2_1 = new IntRange(1, 0);
|
|
1117
|
+
}
|
|
1118
|
+
var Companion_instance_2;
|
|
1119
|
+
function Companion_getInstance_2() {
|
|
1120
|
+
if (Companion_instance_2 == null)
|
|
1121
|
+
new Companion_2();
|
|
1122
|
+
return Companion_instance_2;
|
|
1123
|
+
}
|
|
1124
|
+
function IntRange(start, endInclusive) {
|
|
1125
|
+
Companion_getInstance_2();
|
|
1126
|
+
IntProgression.call(this, start, endInclusive, 1);
|
|
1127
|
+
}
|
|
1128
|
+
protoOf(IntRange).l = function () {
|
|
1129
|
+
return this.l2_1 > this.m2_1;
|
|
1130
|
+
};
|
|
1131
|
+
protoOf(IntRange).equals = function (other) {
|
|
1132
|
+
var tmp;
|
|
1133
|
+
if (other instanceof IntRange) {
|
|
1134
|
+
tmp = (this.l() ? other.l() : false) ? true : this.l2_1 === other.l2_1 ? this.m2_1 === other.m2_1 : false;
|
|
1135
|
+
} else {
|
|
1136
|
+
tmp = false;
|
|
1137
|
+
}
|
|
1138
|
+
return tmp;
|
|
1139
|
+
};
|
|
1140
|
+
protoOf(IntRange).hashCode = function () {
|
|
1141
|
+
return this.l() ? -1 : imul(31, this.l2_1) + this.m2_1 | 0;
|
|
1142
|
+
};
|
|
1143
|
+
protoOf(IntRange).toString = function () {
|
|
1144
|
+
return '' + this.l2_1 + '..' + this.m2_1;
|
|
1145
|
+
};
|
|
1146
|
+
function IntProgressionIterator(first, last, step) {
|
|
1147
|
+
IntIterator.call(this);
|
|
1148
|
+
this.o2_1 = step;
|
|
1149
|
+
this.p2_1 = last;
|
|
1150
|
+
this.q2_1 = this.o2_1 > 0 ? first <= last : first >= last;
|
|
1151
|
+
this.r2_1 = this.q2_1 ? first : this.p2_1;
|
|
1152
|
+
}
|
|
1153
|
+
protoOf(IntProgressionIterator).c = function () {
|
|
1154
|
+
return this.q2_1;
|
|
1155
|
+
};
|
|
1156
|
+
protoOf(IntProgressionIterator).q1 = function () {
|
|
1157
|
+
var value = this.r2_1;
|
|
1158
|
+
if (value === this.p2_1) {
|
|
1159
|
+
if (!this.q2_1)
|
|
1160
|
+
throw NoSuchElementException_init_$Create$();
|
|
1161
|
+
this.q2_1 = false;
|
|
1162
|
+
} else {
|
|
1163
|
+
var tmp0_this = this;
|
|
1164
|
+
tmp0_this.r2_1 = tmp0_this.r2_1 + this.o2_1 | 0;
|
|
1165
|
+
}
|
|
1166
|
+
return value;
|
|
1167
|
+
};
|
|
1168
|
+
function Companion_3() {
|
|
1169
|
+
Companion_instance_3 = this;
|
|
1170
|
+
}
|
|
1171
|
+
var Companion_instance_3;
|
|
1172
|
+
function Companion_getInstance_3() {
|
|
1173
|
+
if (Companion_instance_3 == null)
|
|
1174
|
+
new Companion_3();
|
|
1175
|
+
return Companion_instance_3;
|
|
1176
|
+
}
|
|
1177
|
+
function IntProgression(start, endInclusive, step) {
|
|
1178
|
+
Companion_getInstance_3();
|
|
1179
|
+
if (step === 0)
|
|
1180
|
+
throw IllegalArgumentException_init_$Create$('Step must be non-zero.');
|
|
1181
|
+
if (step === IntCompanionObject_getInstance().MIN_VALUE)
|
|
1182
|
+
throw IllegalArgumentException_init_$Create$('Step must be greater than Int.MIN_VALUE to avoid overflow on negation.');
|
|
1183
|
+
this.l2_1 = start;
|
|
1184
|
+
this.m2_1 = getProgressionLastElement(start, endInclusive, step);
|
|
1185
|
+
this.n2_1 = step;
|
|
1186
|
+
}
|
|
1187
|
+
protoOf(IntProgression).b = function () {
|
|
1188
|
+
return new IntProgressionIterator(this.l2_1, this.m2_1, this.n2_1);
|
|
1189
|
+
};
|
|
1190
|
+
protoOf(IntProgression).l = function () {
|
|
1191
|
+
return this.n2_1 > 0 ? this.l2_1 > this.m2_1 : this.l2_1 < this.m2_1;
|
|
1192
|
+
};
|
|
1193
|
+
protoOf(IntProgression).equals = function (other) {
|
|
1194
|
+
var tmp;
|
|
1195
|
+
if (other instanceof IntProgression) {
|
|
1196
|
+
tmp = (this.l() ? other.l() : false) ? true : (this.l2_1 === other.l2_1 ? this.m2_1 === other.m2_1 : false) ? this.n2_1 === other.n2_1 : false;
|
|
1197
|
+
} else {
|
|
1198
|
+
tmp = false;
|
|
1199
|
+
}
|
|
1200
|
+
return tmp;
|
|
1201
|
+
};
|
|
1202
|
+
protoOf(IntProgression).hashCode = function () {
|
|
1203
|
+
return this.l() ? -1 : imul(31, imul(31, this.l2_1) + this.m2_1 | 0) + this.n2_1 | 0;
|
|
1204
|
+
};
|
|
1205
|
+
protoOf(IntProgression).toString = function () {
|
|
1206
|
+
return this.n2_1 > 0 ? '' + this.l2_1 + '..' + this.m2_1 + ' step ' + this.n2_1 : '' + this.l2_1 + ' downTo ' + this.m2_1 + ' step ' + (-this.n2_1 | 0);
|
|
1207
|
+
};
|
|
1208
|
+
function appendElement(_this__u8e3s4, element, transform) {
|
|
1209
|
+
if (!(transform == null)) {
|
|
1210
|
+
_this__u8e3s4.a(transform(element));
|
|
1211
|
+
} else {
|
|
1212
|
+
if (element == null ? true : isCharSequence(element)) {
|
|
1213
|
+
_this__u8e3s4.a(element);
|
|
1214
|
+
} else {
|
|
1215
|
+
if (element instanceof Char) {
|
|
1216
|
+
_this__u8e3s4.t2(element.s2_1);
|
|
1217
|
+
} else {
|
|
1218
|
+
_this__u8e3s4.a(toString_1(element));
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
function toLongOrNull(_this__u8e3s4) {
|
|
1224
|
+
return toLongOrNull_0(_this__u8e3s4, 10);
|
|
1225
|
+
}
|
|
1226
|
+
function toLongOrNull_0(_this__u8e3s4, radix) {
|
|
1227
|
+
checkRadix(radix);
|
|
1228
|
+
var length = _this__u8e3s4.length;
|
|
1229
|
+
if (length === 0)
|
|
1230
|
+
return null;
|
|
1231
|
+
var start;
|
|
1232
|
+
var isNegative;
|
|
1233
|
+
var limit;
|
|
1234
|
+
var firstChar = charSequenceGet(_this__u8e3s4, 0);
|
|
1235
|
+
if (Char__compareTo_impl_ypi4mb(firstChar, _Char___init__impl__6a9atx(48)) < 0) {
|
|
1236
|
+
if (length === 1)
|
|
1237
|
+
return null;
|
|
1238
|
+
start = 1;
|
|
1239
|
+
if (equals(new Char(firstChar), new Char(_Char___init__impl__6a9atx(45)))) {
|
|
1240
|
+
isNegative = true;
|
|
1241
|
+
Companion_getInstance_7();
|
|
1242
|
+
limit = new Long(0, -2147483648);
|
|
1243
|
+
} else if (equals(new Char(firstChar), new Char(_Char___init__impl__6a9atx(43)))) {
|
|
1244
|
+
isNegative = false;
|
|
1245
|
+
Companion_getInstance_7();
|
|
1246
|
+
limit = (new Long(-1, 2147483647)).w2();
|
|
1247
|
+
} else
|
|
1248
|
+
return null;
|
|
1249
|
+
} else {
|
|
1250
|
+
start = 0;
|
|
1251
|
+
isNegative = false;
|
|
1252
|
+
Companion_getInstance_7();
|
|
1253
|
+
limit = (new Long(-1, 2147483647)).w2();
|
|
1254
|
+
}
|
|
1255
|
+
var tmp$ret$0;
|
|
1256
|
+
// Inline function 'kotlin.Long.div' call
|
|
1257
|
+
Companion_getInstance_7();
|
|
1258
|
+
var tmp0_div = (new Long(-1, 2147483647)).w2();
|
|
1259
|
+
tmp$ret$0 = tmp0_div.x2(new Long(36, 0));
|
|
1260
|
+
var limitForMaxRadix = tmp$ret$0;
|
|
1261
|
+
var limitBeforeMul = limitForMaxRadix;
|
|
1262
|
+
var result = new Long(0, 0);
|
|
1263
|
+
var inductionVariable = start;
|
|
1264
|
+
if (inductionVariable < length)
|
|
1265
|
+
do {
|
|
1266
|
+
var i = inductionVariable;
|
|
1267
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1268
|
+
var digit = digitOf(charSequenceGet(_this__u8e3s4, i), radix);
|
|
1269
|
+
if (digit < 0)
|
|
1270
|
+
return null;
|
|
1271
|
+
if (result.y2(limitBeforeMul) < 0) {
|
|
1272
|
+
if (limitBeforeMul.equals(limitForMaxRadix)) {
|
|
1273
|
+
var tmp$ret$1;
|
|
1274
|
+
// Inline function 'kotlin.Long.div' call
|
|
1275
|
+
tmp$ret$1 = limit.x2(toLong(radix));
|
|
1276
|
+
limitBeforeMul = tmp$ret$1;
|
|
1277
|
+
if (result.y2(limitBeforeMul) < 0) {
|
|
1278
|
+
return null;
|
|
1279
|
+
}
|
|
1280
|
+
} else {
|
|
1281
|
+
return null;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
var tmp$ret$2;
|
|
1285
|
+
// Inline function 'kotlin.Long.times' call
|
|
1286
|
+
var tmp1_times = result;
|
|
1287
|
+
tmp$ret$2 = tmp1_times.z2(toLong(radix));
|
|
1288
|
+
result = tmp$ret$2;
|
|
1289
|
+
var tmp = result;
|
|
1290
|
+
var tmp$ret$3;
|
|
1291
|
+
// Inline function 'kotlin.Long.plus' call
|
|
1292
|
+
tmp$ret$3 = limit.a3(toLong(digit));
|
|
1293
|
+
if (tmp.y2(tmp$ret$3) < 0)
|
|
1294
|
+
return null;
|
|
1295
|
+
var tmp$ret$4;
|
|
1296
|
+
// Inline function 'kotlin.Long.minus' call
|
|
1297
|
+
var tmp2_minus = result;
|
|
1298
|
+
tmp$ret$4 = tmp2_minus.b3(toLong(digit));
|
|
1299
|
+
result = tmp$ret$4;
|
|
1300
|
+
}
|
|
1301
|
+
while (inductionVariable < length);
|
|
1302
|
+
return isNegative ? result : result.w2();
|
|
1303
|
+
}
|
|
1304
|
+
function get_lastIndex_0(_this__u8e3s4) {
|
|
1305
|
+
return charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
1306
|
+
}
|
|
1307
|
+
function get_indices(_this__u8e3s4) {
|
|
1308
|
+
return numberRangeToNumber(0, charSequenceLength(_this__u8e3s4) - 1 | 0);
|
|
1309
|
+
}
|
|
1310
|
+
function _Result___init__impl__xyqfz8(value) {
|
|
1311
|
+
return value;
|
|
1312
|
+
}
|
|
1313
|
+
function _Result___get_value__impl__bjfvqg($this) {
|
|
1314
|
+
return $this;
|
|
1315
|
+
}
|
|
1316
|
+
function _Result___get_isFailure__impl__jpiriv($this) {
|
|
1317
|
+
var tmp = _Result___get_value__impl__bjfvqg($this);
|
|
1318
|
+
return tmp instanceof Failure;
|
|
1319
|
+
}
|
|
1320
|
+
function Result__exceptionOrNull_impl_p6xea9($this) {
|
|
1321
|
+
var tmp0_subject = _Result___get_value__impl__bjfvqg($this);
|
|
1322
|
+
var tmp;
|
|
1323
|
+
if (tmp0_subject instanceof Failure) {
|
|
1324
|
+
tmp = _Result___get_value__impl__bjfvqg($this).c3_1;
|
|
1325
|
+
} else {
|
|
1326
|
+
tmp = null;
|
|
1327
|
+
}
|
|
1328
|
+
return tmp;
|
|
1329
|
+
}
|
|
1330
|
+
function Companion_4() {
|
|
1331
|
+
Companion_instance_4 = this;
|
|
1332
|
+
}
|
|
1333
|
+
var Companion_instance_4;
|
|
1334
|
+
function Companion_getInstance_4() {
|
|
1335
|
+
if (Companion_instance_4 == null)
|
|
1336
|
+
new Companion_4();
|
|
1337
|
+
return Companion_instance_4;
|
|
1338
|
+
}
|
|
1339
|
+
function Failure(exception) {
|
|
1340
|
+
this.c3_1 = exception;
|
|
1341
|
+
}
|
|
1342
|
+
protoOf(Failure).equals = function (other) {
|
|
1343
|
+
var tmp;
|
|
1344
|
+
if (other instanceof Failure) {
|
|
1345
|
+
tmp = equals(this.c3_1, other.c3_1);
|
|
1346
|
+
} else {
|
|
1347
|
+
tmp = false;
|
|
1348
|
+
}
|
|
1349
|
+
return tmp;
|
|
1350
|
+
};
|
|
1351
|
+
protoOf(Failure).hashCode = function () {
|
|
1352
|
+
return hashCode(this.c3_1);
|
|
1353
|
+
};
|
|
1354
|
+
protoOf(Failure).toString = function () {
|
|
1355
|
+
return 'Failure(' + this.c3_1 + ')';
|
|
1356
|
+
};
|
|
1357
|
+
function createFailure(exception) {
|
|
1358
|
+
return new Failure(exception);
|
|
1359
|
+
}
|
|
1360
|
+
function NotImplementedError(message) {
|
|
1361
|
+
message = message === VOID ? 'An operation is not implemented.' : message;
|
|
1362
|
+
Error_init_$Init$(message, this);
|
|
1363
|
+
captureStack(this, NotImplementedError);
|
|
1364
|
+
}
|
|
1365
|
+
function _UShort___init__impl__jigrne(data) {
|
|
1366
|
+
return data;
|
|
1367
|
+
}
|
|
1368
|
+
function _UShort___get_data__impl__g0245($this) {
|
|
1369
|
+
return $this;
|
|
1370
|
+
}
|
|
1371
|
+
function CharSequence() {
|
|
1372
|
+
}
|
|
1373
|
+
function Number_0() {
|
|
1374
|
+
}
|
|
1375
|
+
function Unit() {
|
|
1376
|
+
Unit_instance = this;
|
|
1377
|
+
}
|
|
1378
|
+
protoOf(Unit).toString = function () {
|
|
1379
|
+
return 'kotlin.Unit';
|
|
1380
|
+
};
|
|
1381
|
+
var Unit_instance;
|
|
1382
|
+
function Unit_getInstance() {
|
|
1383
|
+
if (Unit_instance == null)
|
|
1384
|
+
new Unit();
|
|
1385
|
+
return Unit_instance;
|
|
1386
|
+
}
|
|
1387
|
+
function IntCompanionObject() {
|
|
1388
|
+
IntCompanionObject_instance = this;
|
|
1389
|
+
this.MIN_VALUE = -2147483648;
|
|
1390
|
+
this.MAX_VALUE = 2147483647;
|
|
1391
|
+
this.SIZE_BYTES = 4;
|
|
1392
|
+
this.SIZE_BITS = 32;
|
|
1393
|
+
}
|
|
1394
|
+
protoOf(IntCompanionObject).f3 = function () {
|
|
1395
|
+
return this.MIN_VALUE;
|
|
1396
|
+
};
|
|
1397
|
+
protoOf(IntCompanionObject).g3 = function () {
|
|
1398
|
+
return this.MAX_VALUE;
|
|
1399
|
+
};
|
|
1400
|
+
protoOf(IntCompanionObject).h3 = function () {
|
|
1401
|
+
return this.SIZE_BYTES;
|
|
1402
|
+
};
|
|
1403
|
+
protoOf(IntCompanionObject).i3 = function () {
|
|
1404
|
+
return this.SIZE_BITS;
|
|
1405
|
+
};
|
|
1406
|
+
var IntCompanionObject_instance;
|
|
1407
|
+
function IntCompanionObject_getInstance() {
|
|
1408
|
+
if (IntCompanionObject_instance == null)
|
|
1409
|
+
new IntCompanionObject();
|
|
1410
|
+
return IntCompanionObject_instance;
|
|
1411
|
+
}
|
|
1412
|
+
function copyToArrayImpl(collection) {
|
|
1413
|
+
var tmp$ret$0;
|
|
1414
|
+
// Inline function 'kotlin.emptyArray' call
|
|
1415
|
+
tmp$ret$0 = [];
|
|
1416
|
+
var array = tmp$ret$0;
|
|
1417
|
+
var iterator = collection.b();
|
|
1418
|
+
while (iterator.c()) {
|
|
1419
|
+
var tmp$ret$1;
|
|
1420
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1421
|
+
tmp$ret$1 = array;
|
|
1422
|
+
tmp$ret$1.push(iterator.d());
|
|
1423
|
+
}
|
|
1424
|
+
return array;
|
|
1425
|
+
}
|
|
1426
|
+
function listOf(element) {
|
|
1427
|
+
return arrayListOf([element]);
|
|
1428
|
+
}
|
|
1429
|
+
function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
|
|
1430
|
+
Companion_getInstance().s(startIndex, endIndex, source.length);
|
|
1431
|
+
var rangeSize = endIndex - startIndex | 0;
|
|
1432
|
+
Companion_getInstance().s(destinationOffset, destinationOffset + rangeSize | 0, destination.length);
|
|
1433
|
+
if (isView(destination) ? isView(source) : false) {
|
|
1434
|
+
var tmp$ret$0;
|
|
1435
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1436
|
+
tmp$ret$0 = source;
|
|
1437
|
+
var subrange = tmp$ret$0.subarray(startIndex, endIndex);
|
|
1438
|
+
var tmp$ret$1;
|
|
1439
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1440
|
+
tmp$ret$1 = destination;
|
|
1441
|
+
tmp$ret$1.set(subrange, destinationOffset);
|
|
1442
|
+
} else {
|
|
1443
|
+
if (!(source === destination) ? true : destinationOffset <= startIndex) {
|
|
1444
|
+
var inductionVariable = 0;
|
|
1445
|
+
if (inductionVariable < rangeSize)
|
|
1446
|
+
do {
|
|
1447
|
+
var index = inductionVariable;
|
|
1448
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1449
|
+
destination[destinationOffset + index | 0] = source[startIndex + index | 0];
|
|
1450
|
+
}
|
|
1451
|
+
while (inductionVariable < rangeSize);
|
|
1452
|
+
} else {
|
|
1453
|
+
var inductionVariable_0 = rangeSize - 1 | 0;
|
|
1454
|
+
if (0 <= inductionVariable_0)
|
|
1455
|
+
do {
|
|
1456
|
+
var index_0 = inductionVariable_0;
|
|
1457
|
+
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
1458
|
+
destination[destinationOffset + index_0 | 0] = source[startIndex + index_0 | 0];
|
|
1459
|
+
}
|
|
1460
|
+
while (0 <= inductionVariable_0);
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
function mapCapacity(expectedSize) {
|
|
1465
|
+
return expectedSize;
|
|
1466
|
+
}
|
|
1467
|
+
function copyToArray(collection) {
|
|
1468
|
+
var tmp;
|
|
1469
|
+
var tmp$ret$0;
|
|
1470
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1471
|
+
tmp$ret$0 = collection;
|
|
1472
|
+
if (tmp$ret$0.toArray !== undefined) {
|
|
1473
|
+
var tmp$ret$2;
|
|
1474
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1475
|
+
var tmp$ret$1;
|
|
1476
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1477
|
+
tmp$ret$1 = collection;
|
|
1478
|
+
var tmp0_unsafeCast = tmp$ret$1.toArray();
|
|
1479
|
+
tmp$ret$2 = tmp0_unsafeCast;
|
|
1480
|
+
tmp = tmp$ret$2;
|
|
1481
|
+
} else {
|
|
1482
|
+
var tmp$ret$4;
|
|
1483
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1484
|
+
var tmp1_unsafeCast = copyToArrayImpl(collection);
|
|
1485
|
+
var tmp$ret$3;
|
|
1486
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1487
|
+
tmp$ret$3 = tmp1_unsafeCast;
|
|
1488
|
+
tmp$ret$4 = tmp$ret$3;
|
|
1489
|
+
tmp = tmp$ret$4;
|
|
1490
|
+
}
|
|
1491
|
+
return tmp;
|
|
1492
|
+
}
|
|
1493
|
+
function AbstractMutableCollection() {
|
|
1494
|
+
AbstractCollection.call(this);
|
|
1495
|
+
}
|
|
1496
|
+
protoOf(AbstractMutableCollection).toJSON = function () {
|
|
1497
|
+
return this.toArray();
|
|
1498
|
+
};
|
|
1499
|
+
protoOf(AbstractMutableCollection).j3 = function () {
|
|
1500
|
+
};
|
|
1501
|
+
function IteratorImpl($outer) {
|
|
1502
|
+
this.m3_1 = $outer;
|
|
1503
|
+
this.k3_1 = 0;
|
|
1504
|
+
this.l3_1 = -1;
|
|
1505
|
+
}
|
|
1506
|
+
protoOf(IteratorImpl).c = function () {
|
|
1507
|
+
return this.k3_1 < this.m3_1.e();
|
|
1508
|
+
};
|
|
1509
|
+
protoOf(IteratorImpl).d = function () {
|
|
1510
|
+
if (!this.c())
|
|
1511
|
+
throw NoSuchElementException_init_$Create$();
|
|
1512
|
+
var tmp = this;
|
|
1513
|
+
var tmp0_this = this;
|
|
1514
|
+
var tmp1 = tmp0_this.k3_1;
|
|
1515
|
+
tmp0_this.k3_1 = tmp1 + 1 | 0;
|
|
1516
|
+
tmp.l3_1 = tmp1;
|
|
1517
|
+
return this.m3_1.f(this.l3_1);
|
|
1518
|
+
};
|
|
1519
|
+
function AbstractMutableList() {
|
|
1520
|
+
AbstractMutableCollection.call(this);
|
|
1521
|
+
this.n3_1 = 0;
|
|
1522
|
+
}
|
|
1523
|
+
protoOf(AbstractMutableList).k = function (element) {
|
|
1524
|
+
this.j3();
|
|
1525
|
+
this.o3(this.e(), element);
|
|
1526
|
+
return true;
|
|
1527
|
+
};
|
|
1528
|
+
protoOf(AbstractMutableList).b = function () {
|
|
1529
|
+
return new IteratorImpl(this);
|
|
1530
|
+
};
|
|
1531
|
+
protoOf(AbstractMutableList).o = function (element) {
|
|
1532
|
+
return this.p3(element) >= 0;
|
|
1533
|
+
};
|
|
1534
|
+
protoOf(AbstractMutableList).p3 = function (element) {
|
|
1535
|
+
var inductionVariable = 0;
|
|
1536
|
+
var last = get_lastIndex(this);
|
|
1537
|
+
if (inductionVariable <= last)
|
|
1538
|
+
do {
|
|
1539
|
+
var index = inductionVariable;
|
|
1540
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1541
|
+
if (equals(this.f(index), element)) {
|
|
1542
|
+
return index;
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
while (!(index === last));
|
|
1546
|
+
return -1;
|
|
1547
|
+
};
|
|
1548
|
+
protoOf(AbstractMutableList).equals = function (other) {
|
|
1549
|
+
if (other === this)
|
|
1550
|
+
return true;
|
|
1551
|
+
if (!(!(other == null) ? isInterface(other, List) : false))
|
|
1552
|
+
return false;
|
|
1553
|
+
return Companion_getInstance().u(this, other);
|
|
1554
|
+
};
|
|
1555
|
+
protoOf(AbstractMutableList).hashCode = function () {
|
|
1556
|
+
return Companion_getInstance().t(this);
|
|
1557
|
+
};
|
|
1558
|
+
function AbstractMutableMap$keys$1$iterator$1($entryIterator) {
|
|
1559
|
+
this.q3_1 = $entryIterator;
|
|
1560
|
+
}
|
|
1561
|
+
protoOf(AbstractMutableMap$keys$1$iterator$1).c = function () {
|
|
1562
|
+
return this.q3_1.c();
|
|
1563
|
+
};
|
|
1564
|
+
protoOf(AbstractMutableMap$keys$1$iterator$1).d = function () {
|
|
1565
|
+
return this.q3_1.d().w();
|
|
1566
|
+
};
|
|
1567
|
+
function SimpleEntry(key, value) {
|
|
1568
|
+
this.r3_1 = key;
|
|
1569
|
+
this.s3_1 = value;
|
|
1570
|
+
}
|
|
1571
|
+
protoOf(SimpleEntry).w = function () {
|
|
1572
|
+
return this.r3_1;
|
|
1573
|
+
};
|
|
1574
|
+
protoOf(SimpleEntry).y = function () {
|
|
1575
|
+
return this.s3_1;
|
|
1576
|
+
};
|
|
1577
|
+
protoOf(SimpleEntry).t3 = function (newValue) {
|
|
1578
|
+
var oldValue = this.s3_1;
|
|
1579
|
+
this.s3_1 = newValue;
|
|
1580
|
+
return oldValue;
|
|
1581
|
+
};
|
|
1582
|
+
protoOf(SimpleEntry).hashCode = function () {
|
|
1583
|
+
return Companion_getInstance_0().x(this);
|
|
1584
|
+
};
|
|
1585
|
+
protoOf(SimpleEntry).toString = function () {
|
|
1586
|
+
return Companion_getInstance_0().z(this);
|
|
1587
|
+
};
|
|
1588
|
+
protoOf(SimpleEntry).equals = function (other) {
|
|
1589
|
+
return Companion_getInstance_0().a1(this, other);
|
|
1590
|
+
};
|
|
1591
|
+
function AbstractEntrySet() {
|
|
1592
|
+
AbstractMutableSet.call(this);
|
|
1593
|
+
}
|
|
1594
|
+
protoOf(AbstractEntrySet).o = function (element) {
|
|
1595
|
+
return this.u3(element);
|
|
1596
|
+
};
|
|
1597
|
+
function AbstractMutableMap$keys$1(this$0) {
|
|
1598
|
+
this.v3_1 = this$0;
|
|
1599
|
+
AbstractMutableSet.call(this);
|
|
1600
|
+
}
|
|
1601
|
+
protoOf(AbstractMutableMap$keys$1).w3 = function (element) {
|
|
1602
|
+
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on keys');
|
|
1603
|
+
};
|
|
1604
|
+
protoOf(AbstractMutableMap$keys$1).k = function (element) {
|
|
1605
|
+
return this.w3((element == null ? true : isObject(element)) ? element : THROW_CCE());
|
|
1606
|
+
};
|
|
1607
|
+
protoOf(AbstractMutableMap$keys$1).x3 = function (element) {
|
|
1608
|
+
return this.v3_1.e1(element);
|
|
1609
|
+
};
|
|
1610
|
+
protoOf(AbstractMutableMap$keys$1).o = function (element) {
|
|
1611
|
+
if (!(element == null ? true : isObject(element)))
|
|
1612
|
+
return false;
|
|
1613
|
+
return this.x3((element == null ? true : isObject(element)) ? element : THROW_CCE());
|
|
1614
|
+
};
|
|
1615
|
+
protoOf(AbstractMutableMap$keys$1).b = function () {
|
|
1616
|
+
var entryIterator = this.v3_1.v().b();
|
|
1617
|
+
return new AbstractMutableMap$keys$1$iterator$1(entryIterator);
|
|
1618
|
+
};
|
|
1619
|
+
protoOf(AbstractMutableMap$keys$1).e = function () {
|
|
1620
|
+
return this.v3_1.e();
|
|
1621
|
+
};
|
|
1622
|
+
function AbstractMutableMap() {
|
|
1623
|
+
AbstractMap.call(this);
|
|
1624
|
+
this.a4_1 = null;
|
|
1625
|
+
this.b4_1 = null;
|
|
1626
|
+
}
|
|
1627
|
+
protoOf(AbstractMutableMap).c4 = function () {
|
|
1628
|
+
if (this.a4_1 == null) {
|
|
1629
|
+
var tmp = this;
|
|
1630
|
+
tmp.a4_1 = new AbstractMutableMap$keys$1(this);
|
|
1631
|
+
}
|
|
1632
|
+
return ensureNotNull(this.a4_1);
|
|
1633
|
+
};
|
|
1634
|
+
function AbstractMutableSet() {
|
|
1635
|
+
AbstractMutableCollection.call(this);
|
|
1636
|
+
}
|
|
1637
|
+
protoOf(AbstractMutableSet).equals = function (other) {
|
|
1638
|
+
if (other === this)
|
|
1639
|
+
return true;
|
|
1640
|
+
if (!(!(other == null) ? isInterface(other, Set) : false))
|
|
1641
|
+
return false;
|
|
1642
|
+
return Companion_getInstance_1().i1(this, other);
|
|
1643
|
+
};
|
|
1644
|
+
protoOf(AbstractMutableSet).hashCode = function () {
|
|
1645
|
+
return Companion_getInstance_1().h1(this);
|
|
1646
|
+
};
|
|
1647
|
+
function ArrayList_init_$Init$($this) {
|
|
1648
|
+
var tmp$ret$0;
|
|
1649
|
+
// Inline function 'kotlin.emptyArray' call
|
|
1650
|
+
tmp$ret$0 = [];
|
|
1651
|
+
ArrayList.call($this, tmp$ret$0);
|
|
1652
|
+
return $this;
|
|
1653
|
+
}
|
|
1654
|
+
function ArrayList_init_$Create$() {
|
|
1655
|
+
return ArrayList_init_$Init$(objectCreate(protoOf(ArrayList)));
|
|
1656
|
+
}
|
|
1657
|
+
function ArrayList_init_$Init$_0(initialCapacity, $this) {
|
|
1658
|
+
var tmp$ret$0;
|
|
1659
|
+
// Inline function 'kotlin.emptyArray' call
|
|
1660
|
+
tmp$ret$0 = [];
|
|
1661
|
+
ArrayList.call($this, tmp$ret$0);
|
|
1662
|
+
return $this;
|
|
1663
|
+
}
|
|
1664
|
+
function ArrayList_init_$Create$_0(initialCapacity) {
|
|
1665
|
+
return ArrayList_init_$Init$_0(initialCapacity, objectCreate(protoOf(ArrayList)));
|
|
1666
|
+
}
|
|
1667
|
+
function ArrayList_init_$Init$_1(elements, $this) {
|
|
1668
|
+
var tmp$ret$0;
|
|
1669
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1670
|
+
tmp$ret$0 = copyToArray(elements);
|
|
1671
|
+
ArrayList.call($this, tmp$ret$0);
|
|
1672
|
+
return $this;
|
|
1673
|
+
}
|
|
1674
|
+
function ArrayList_init_$Create$_1(elements) {
|
|
1675
|
+
return ArrayList_init_$Init$_1(elements, objectCreate(protoOf(ArrayList)));
|
|
1676
|
+
}
|
|
1677
|
+
function rangeCheck($this, index) {
|
|
1678
|
+
var tmp$ret$0;
|
|
1679
|
+
// Inline function 'kotlin.apply' call
|
|
1680
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1681
|
+
// Inline function 'kotlin.collections.ArrayList.rangeCheck.<anonymous>' call
|
|
1682
|
+
Companion_getInstance().q(index, $this.e());
|
|
1683
|
+
tmp$ret$0 = index;
|
|
1684
|
+
return tmp$ret$0;
|
|
1685
|
+
}
|
|
1686
|
+
function insertionRangeCheck($this, index) {
|
|
1687
|
+
var tmp$ret$0;
|
|
1688
|
+
// Inline function 'kotlin.apply' call
|
|
1689
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1690
|
+
// Inline function 'kotlin.collections.ArrayList.insertionRangeCheck.<anonymous>' call
|
|
1691
|
+
Companion_getInstance().r(index, $this.e());
|
|
1692
|
+
tmp$ret$0 = index;
|
|
1693
|
+
return tmp$ret$0;
|
|
1694
|
+
}
|
|
1695
|
+
function ArrayList(array) {
|
|
1696
|
+
AbstractMutableList.call(this);
|
|
1697
|
+
this.h_1 = array;
|
|
1698
|
+
this.i_1 = false;
|
|
1699
|
+
}
|
|
1700
|
+
protoOf(ArrayList).e = function () {
|
|
1701
|
+
return this.h_1.length;
|
|
1702
|
+
};
|
|
1703
|
+
protoOf(ArrayList).f = function (index) {
|
|
1704
|
+
var tmp = this.h_1[rangeCheck(this, index)];
|
|
1705
|
+
return (tmp == null ? true : isObject(tmp)) ? tmp : THROW_CCE();
|
|
1706
|
+
};
|
|
1707
|
+
protoOf(ArrayList).k = function (element) {
|
|
1708
|
+
this.j3();
|
|
1709
|
+
var tmp$ret$0;
|
|
1710
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1711
|
+
var tmp0_asDynamic = this.h_1;
|
|
1712
|
+
tmp$ret$0 = tmp0_asDynamic;
|
|
1713
|
+
tmp$ret$0.push(element);
|
|
1714
|
+
var tmp0_this = this;
|
|
1715
|
+
var tmp1 = tmp0_this.n3_1;
|
|
1716
|
+
tmp0_this.n3_1 = tmp1 + 1 | 0;
|
|
1717
|
+
return true;
|
|
1718
|
+
};
|
|
1719
|
+
protoOf(ArrayList).o3 = function (index, element) {
|
|
1720
|
+
this.j3();
|
|
1721
|
+
var tmp$ret$0;
|
|
1722
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1723
|
+
var tmp0_asDynamic = this.h_1;
|
|
1724
|
+
tmp$ret$0 = tmp0_asDynamic;
|
|
1725
|
+
tmp$ret$0.splice(insertionRangeCheck(this, index), 0, element);
|
|
1726
|
+
var tmp0_this = this;
|
|
1727
|
+
var tmp1 = tmp0_this.n3_1;
|
|
1728
|
+
tmp0_this.n3_1 = tmp1 + 1 | 0;
|
|
1729
|
+
};
|
|
1730
|
+
protoOf(ArrayList).j = function (elements) {
|
|
1731
|
+
this.j3();
|
|
1732
|
+
if (elements.l())
|
|
1733
|
+
return false;
|
|
1734
|
+
var tmp0_this = this;
|
|
1735
|
+
var tmp = tmp0_this;
|
|
1736
|
+
var tmp$ret$2;
|
|
1737
|
+
// Inline function 'kotlin.collections.plus' call
|
|
1738
|
+
var tmp0_plus = tmp0_this.h_1;
|
|
1739
|
+
var tmp$ret$0;
|
|
1740
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1741
|
+
tmp$ret$0 = copyToArray(elements);
|
|
1742
|
+
var tmp1_plus = tmp$ret$0;
|
|
1743
|
+
var tmp$ret$1;
|
|
1744
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1745
|
+
tmp$ret$1 = tmp0_plus;
|
|
1746
|
+
tmp$ret$2 = tmp$ret$1.concat(tmp1_plus);
|
|
1747
|
+
tmp.h_1 = tmp$ret$2;
|
|
1748
|
+
var tmp1_this = this;
|
|
1749
|
+
var tmp2 = tmp1_this.n3_1;
|
|
1750
|
+
tmp1_this.n3_1 = tmp2 + 1 | 0;
|
|
1751
|
+
return true;
|
|
1752
|
+
};
|
|
1753
|
+
protoOf(ArrayList).p3 = function (element) {
|
|
1754
|
+
return indexOf(this.h_1, element);
|
|
1755
|
+
};
|
|
1756
|
+
protoOf(ArrayList).toString = function () {
|
|
1757
|
+
return arrayToString(this.h_1);
|
|
1758
|
+
};
|
|
1759
|
+
protoOf(ArrayList).e4 = function () {
|
|
1760
|
+
return [].slice.call(this.h_1);
|
|
1761
|
+
};
|
|
1762
|
+
protoOf(ArrayList).toArray = function () {
|
|
1763
|
+
return this.e4();
|
|
1764
|
+
};
|
|
1765
|
+
protoOf(ArrayList).j3 = function () {
|
|
1766
|
+
if (this.i_1)
|
|
1767
|
+
throw UnsupportedOperationException_init_$Create$();
|
|
1768
|
+
};
|
|
1769
|
+
function HashCode() {
|
|
1770
|
+
HashCode_instance = this;
|
|
1771
|
+
}
|
|
1772
|
+
protoOf(HashCode).f4 = function (value1, value2) {
|
|
1773
|
+
return equals(value1, value2);
|
|
1774
|
+
};
|
|
1775
|
+
protoOf(HashCode).g4 = function (value) {
|
|
1776
|
+
var tmp0_safe_receiver = value;
|
|
1777
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
1778
|
+
return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
1779
|
+
};
|
|
1780
|
+
var HashCode_instance;
|
|
1781
|
+
function HashCode_getInstance() {
|
|
1782
|
+
if (HashCode_instance == null)
|
|
1783
|
+
new HashCode();
|
|
1784
|
+
return HashCode_instance;
|
|
1785
|
+
}
|
|
1786
|
+
function EntrySet($outer) {
|
|
1787
|
+
this.h4_1 = $outer;
|
|
1788
|
+
AbstractEntrySet.call(this);
|
|
1789
|
+
}
|
|
1790
|
+
protoOf(EntrySet).i4 = function (element) {
|
|
1791
|
+
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on entries');
|
|
1792
|
+
};
|
|
1793
|
+
protoOf(EntrySet).k = function (element) {
|
|
1794
|
+
return this.i4((!(element == null) ? isInterface(element, MutableEntry) : false) ? element : THROW_CCE());
|
|
1795
|
+
};
|
|
1796
|
+
protoOf(EntrySet).u3 = function (element) {
|
|
1797
|
+
return this.h4_1.f1(element);
|
|
1798
|
+
};
|
|
1799
|
+
protoOf(EntrySet).b = function () {
|
|
1800
|
+
return this.h4_1.n4_1.b();
|
|
1801
|
+
};
|
|
1802
|
+
protoOf(EntrySet).e = function () {
|
|
1803
|
+
return this.h4_1.e();
|
|
1804
|
+
};
|
|
1805
|
+
function HashMap_init_$Init$(internalMap, $this) {
|
|
1806
|
+
AbstractMutableMap.call($this);
|
|
1807
|
+
HashMap.call($this);
|
|
1808
|
+
$this.n4_1 = internalMap;
|
|
1809
|
+
$this.o4_1 = internalMap.q4();
|
|
1810
|
+
return $this;
|
|
1811
|
+
}
|
|
1812
|
+
function HashMap_init_$Init$_0($this) {
|
|
1813
|
+
HashMap_init_$Init$(new InternalHashCodeMap(HashCode_getInstance()), $this);
|
|
1814
|
+
return $this;
|
|
1815
|
+
}
|
|
1816
|
+
function HashMap_init_$Create$() {
|
|
1817
|
+
return HashMap_init_$Init$_0(objectCreate(protoOf(HashMap)));
|
|
1818
|
+
}
|
|
1819
|
+
function HashMap_init_$Init$_1(initialCapacity, loadFactor, $this) {
|
|
1820
|
+
HashMap_init_$Init$_0($this);
|
|
1821
|
+
// Inline function 'kotlin.require' call
|
|
1822
|
+
var tmp0_require = initialCapacity >= 0;
|
|
1823
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1824
|
+
if (!tmp0_require) {
|
|
1825
|
+
var tmp$ret$0;
|
|
1826
|
+
// Inline function 'kotlin.collections.HashMap.<init>.<anonymous>' call
|
|
1827
|
+
tmp$ret$0 = 'Negative initial capacity: ' + initialCapacity;
|
|
1828
|
+
var message = tmp$ret$0;
|
|
1829
|
+
throw IllegalArgumentException_init_$Create$(toString_2(message));
|
|
1830
|
+
}
|
|
1831
|
+
// Inline function 'kotlin.require' call
|
|
1832
|
+
var tmp1_require = loadFactor >= 0;
|
|
1833
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1834
|
+
if (!tmp1_require) {
|
|
1835
|
+
var tmp$ret$1;
|
|
1836
|
+
// Inline function 'kotlin.collections.HashMap.<init>.<anonymous>' call
|
|
1837
|
+
tmp$ret$1 = 'Non-positive load factor: ' + loadFactor;
|
|
1838
|
+
var message_0 = tmp$ret$1;
|
|
1839
|
+
throw IllegalArgumentException_init_$Create$(toString_2(message_0));
|
|
1840
|
+
}
|
|
1841
|
+
return $this;
|
|
1842
|
+
}
|
|
1843
|
+
function HashMap_init_$Create$_0(initialCapacity, loadFactor) {
|
|
1844
|
+
return HashMap_init_$Init$_1(initialCapacity, loadFactor, objectCreate(protoOf(HashMap)));
|
|
1845
|
+
}
|
|
1846
|
+
protoOf(HashMap).e1 = function (key) {
|
|
1847
|
+
return this.n4_1.x3(key);
|
|
1848
|
+
};
|
|
1849
|
+
protoOf(HashMap).v = function () {
|
|
1850
|
+
if (this.p4_1 == null) {
|
|
1851
|
+
this.p4_1 = this.r4();
|
|
1852
|
+
}
|
|
1853
|
+
return ensureNotNull(this.p4_1);
|
|
1854
|
+
};
|
|
1855
|
+
protoOf(HashMap).r4 = function () {
|
|
1856
|
+
return new EntrySet(this);
|
|
1857
|
+
};
|
|
1858
|
+
protoOf(HashMap).g1 = function (key) {
|
|
1859
|
+
return this.n4_1.g1(key);
|
|
1860
|
+
};
|
|
1861
|
+
protoOf(HashMap).d4 = function (key, value) {
|
|
1862
|
+
return this.n4_1.d4(key, value);
|
|
1863
|
+
};
|
|
1864
|
+
protoOf(HashMap).e = function () {
|
|
1865
|
+
return this.n4_1.e();
|
|
1866
|
+
};
|
|
1867
|
+
function HashMap() {
|
|
1868
|
+
this.p4_1 = null;
|
|
1869
|
+
}
|
|
1870
|
+
function HashSet_init_$Init$(initialCapacity, loadFactor, $this) {
|
|
1871
|
+
AbstractMutableSet.call($this);
|
|
1872
|
+
HashSet.call($this);
|
|
1873
|
+
$this.s4_1 = HashMap_init_$Create$_0(initialCapacity, loadFactor);
|
|
1874
|
+
return $this;
|
|
1875
|
+
}
|
|
1876
|
+
function HashSet_init_$Init$_0(initialCapacity, $this) {
|
|
1877
|
+
HashSet_init_$Init$(initialCapacity, 0.0, $this);
|
|
1878
|
+
return $this;
|
|
1879
|
+
}
|
|
1880
|
+
function HashSet_init_$Create$(initialCapacity) {
|
|
1881
|
+
return HashSet_init_$Init$_0(initialCapacity, objectCreate(protoOf(HashSet)));
|
|
1882
|
+
}
|
|
1883
|
+
protoOf(HashSet).k = function (element) {
|
|
1884
|
+
var old = this.s4_1.d4(element, this);
|
|
1885
|
+
return old == null;
|
|
1886
|
+
};
|
|
1887
|
+
protoOf(HashSet).o = function (element) {
|
|
1888
|
+
return this.s4_1.e1(element);
|
|
1889
|
+
};
|
|
1890
|
+
protoOf(HashSet).l = function () {
|
|
1891
|
+
return this.s4_1.l();
|
|
1892
|
+
};
|
|
1893
|
+
protoOf(HashSet).b = function () {
|
|
1894
|
+
return this.s4_1.c4().b();
|
|
1895
|
+
};
|
|
1896
|
+
protoOf(HashSet).e = function () {
|
|
1897
|
+
return this.s4_1.e();
|
|
1898
|
+
};
|
|
1899
|
+
function HashSet() {
|
|
1900
|
+
}
|
|
1901
|
+
function computeNext($this) {
|
|
1902
|
+
if ($this.w4_1 != null ? $this.x4_1 : false) {
|
|
1903
|
+
var tmp$ret$0;
|
|
1904
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1905
|
+
var tmp0_unsafeCast = $this.w4_1;
|
|
1906
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
1907
|
+
var chainSize = tmp$ret$0.length;
|
|
1908
|
+
var tmp0_this = $this;
|
|
1909
|
+
tmp0_this.y4_1 = tmp0_this.y4_1 + 1 | 0;
|
|
1910
|
+
if (tmp0_this.y4_1 < chainSize)
|
|
1911
|
+
return 0;
|
|
1912
|
+
}
|
|
1913
|
+
var tmp1_this = $this;
|
|
1914
|
+
tmp1_this.v4_1 = tmp1_this.v4_1 + 1 | 0;
|
|
1915
|
+
if (tmp1_this.v4_1 < $this.u4_1.length) {
|
|
1916
|
+
$this.w4_1 = $this.a5_1.c5_1[$this.u4_1[$this.v4_1]];
|
|
1917
|
+
var tmp = $this;
|
|
1918
|
+
var tmp_0 = $this.w4_1;
|
|
1919
|
+
tmp.x4_1 = !(tmp_0 == null) ? isArray(tmp_0) : false;
|
|
1920
|
+
$this.y4_1 = 0;
|
|
1921
|
+
return 0;
|
|
1922
|
+
} else {
|
|
1923
|
+
$this.w4_1 = null;
|
|
1924
|
+
return 1;
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
function getEntry($this, key) {
|
|
1928
|
+
var tmp0_elvis_lhs = getChainOrEntryOrNull($this, $this.b5_1.g4(key));
|
|
1929
|
+
var tmp;
|
|
1930
|
+
if (tmp0_elvis_lhs == null) {
|
|
1931
|
+
return null;
|
|
1932
|
+
} else {
|
|
1933
|
+
tmp = tmp0_elvis_lhs;
|
|
1934
|
+
}
|
|
1935
|
+
var chainOrEntry = tmp;
|
|
1936
|
+
if (!(!(chainOrEntry == null) ? isArray(chainOrEntry) : false)) {
|
|
1937
|
+
var entry = chainOrEntry;
|
|
1938
|
+
if ($this.b5_1.f4(entry.w(), key)) {
|
|
1939
|
+
return entry;
|
|
1940
|
+
} else {
|
|
1941
|
+
return null;
|
|
1942
|
+
}
|
|
1943
|
+
} else {
|
|
1944
|
+
var chain = chainOrEntry;
|
|
1945
|
+
return findEntryInChain(chain, $this, key);
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
function findEntryInChain(_this__u8e3s4, $this, key) {
|
|
1949
|
+
var tmp$ret$1;
|
|
1950
|
+
$l$block: {
|
|
1951
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1952
|
+
var indexedObject = _this__u8e3s4;
|
|
1953
|
+
var inductionVariable = 0;
|
|
1954
|
+
var last = indexedObject.length;
|
|
1955
|
+
while (inductionVariable < last) {
|
|
1956
|
+
var element = indexedObject[inductionVariable];
|
|
1957
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1958
|
+
var tmp$ret$0;
|
|
1959
|
+
// Inline function 'kotlin.collections.InternalHashCodeMap.findEntryInChain.<anonymous>' call
|
|
1960
|
+
tmp$ret$0 = $this.b5_1.f4(element.w(), key);
|
|
1961
|
+
if (tmp$ret$0) {
|
|
1962
|
+
tmp$ret$1 = element;
|
|
1963
|
+
break $l$block;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
tmp$ret$1 = null;
|
|
1967
|
+
}
|
|
1968
|
+
return tmp$ret$1;
|
|
1969
|
+
}
|
|
1970
|
+
function getChainOrEntryOrNull($this, hashCode) {
|
|
1971
|
+
var chainOrEntry = $this.c5_1[hashCode];
|
|
1972
|
+
return chainOrEntry === undefined ? null : chainOrEntry;
|
|
1973
|
+
}
|
|
1974
|
+
function InternalHashCodeMap$iterator$1(this$0) {
|
|
1975
|
+
this.a5_1 = this$0;
|
|
1976
|
+
this.t4_1 = -1;
|
|
1977
|
+
this.u4_1 = Object.keys(this$0.c5_1);
|
|
1978
|
+
this.v4_1 = -1;
|
|
1979
|
+
this.w4_1 = null;
|
|
1980
|
+
this.x4_1 = false;
|
|
1981
|
+
this.y4_1 = -1;
|
|
1982
|
+
this.z4_1 = null;
|
|
1983
|
+
}
|
|
1984
|
+
protoOf(InternalHashCodeMap$iterator$1).c = function () {
|
|
1985
|
+
if (this.t4_1 === -1)
|
|
1986
|
+
this.t4_1 = computeNext(this);
|
|
1987
|
+
return this.t4_1 === 0;
|
|
1988
|
+
};
|
|
1989
|
+
protoOf(InternalHashCodeMap$iterator$1).d = function () {
|
|
1990
|
+
if (!this.c())
|
|
1991
|
+
throw NoSuchElementException_init_$Create$();
|
|
1992
|
+
var tmp;
|
|
1993
|
+
if (this.x4_1) {
|
|
1994
|
+
var tmp$ret$0;
|
|
1995
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1996
|
+
var tmp0_unsafeCast = this.w4_1;
|
|
1997
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
1998
|
+
tmp = tmp$ret$0[this.y4_1];
|
|
1999
|
+
} else {
|
|
2000
|
+
var tmp$ret$1;
|
|
2001
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2002
|
+
var tmp1_unsafeCast = this.w4_1;
|
|
2003
|
+
tmp$ret$1 = tmp1_unsafeCast;
|
|
2004
|
+
tmp = tmp$ret$1;
|
|
2005
|
+
}
|
|
2006
|
+
var lastEntry = tmp;
|
|
2007
|
+
this.z4_1 = lastEntry;
|
|
2008
|
+
this.t4_1 = -1;
|
|
2009
|
+
return lastEntry;
|
|
2010
|
+
};
|
|
2011
|
+
function InternalHashCodeMap(equality) {
|
|
2012
|
+
this.b5_1 = equality;
|
|
2013
|
+
this.c5_1 = this.e5();
|
|
2014
|
+
this.d5_1 = 0;
|
|
2015
|
+
}
|
|
2016
|
+
protoOf(InternalHashCodeMap).q4 = function () {
|
|
2017
|
+
return this.b5_1;
|
|
2018
|
+
};
|
|
2019
|
+
protoOf(InternalHashCodeMap).e = function () {
|
|
2020
|
+
return this.d5_1;
|
|
2021
|
+
};
|
|
2022
|
+
protoOf(InternalHashCodeMap).d4 = function (key, value) {
|
|
2023
|
+
var hashCode = this.b5_1.g4(key);
|
|
2024
|
+
var chainOrEntry = getChainOrEntryOrNull(this, hashCode);
|
|
2025
|
+
if (chainOrEntry == null) {
|
|
2026
|
+
this.c5_1[hashCode] = new SimpleEntry(key, value);
|
|
2027
|
+
} else {
|
|
2028
|
+
if (!(!(chainOrEntry == null) ? isArray(chainOrEntry) : false)) {
|
|
2029
|
+
var entry = chainOrEntry;
|
|
2030
|
+
if (this.b5_1.f4(entry.w(), key)) {
|
|
2031
|
+
return entry.t3(value);
|
|
2032
|
+
} else {
|
|
2033
|
+
var tmp$ret$2;
|
|
2034
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2035
|
+
var tmp0_arrayOf = [entry, new SimpleEntry(key, value)];
|
|
2036
|
+
var tmp$ret$1;
|
|
2037
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2038
|
+
var tmp$ret$0;
|
|
2039
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2040
|
+
tmp$ret$0 = tmp0_arrayOf;
|
|
2041
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2042
|
+
tmp$ret$2 = tmp$ret$1;
|
|
2043
|
+
this.c5_1[hashCode] = tmp$ret$2;
|
|
2044
|
+
var tmp0_this = this;
|
|
2045
|
+
var tmp1 = tmp0_this.d5_1;
|
|
2046
|
+
tmp0_this.d5_1 = tmp1 + 1 | 0;
|
|
2047
|
+
return null;
|
|
2048
|
+
}
|
|
2049
|
+
} else {
|
|
2050
|
+
var chain = chainOrEntry;
|
|
2051
|
+
var entry_0 = findEntryInChain(chain, this, key);
|
|
2052
|
+
if (!(entry_0 == null)) {
|
|
2053
|
+
return entry_0.t3(value);
|
|
2054
|
+
}
|
|
2055
|
+
var tmp$ret$3;
|
|
2056
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2057
|
+
tmp$ret$3 = chain;
|
|
2058
|
+
tmp$ret$3.push(new SimpleEntry(key, value));
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
var tmp2_this = this;
|
|
2062
|
+
var tmp3 = tmp2_this.d5_1;
|
|
2063
|
+
tmp2_this.d5_1 = tmp3 + 1 | 0;
|
|
2064
|
+
return null;
|
|
2065
|
+
};
|
|
2066
|
+
protoOf(InternalHashCodeMap).x3 = function (key) {
|
|
2067
|
+
return !(getEntry(this, key) == null);
|
|
2068
|
+
};
|
|
2069
|
+
protoOf(InternalHashCodeMap).g1 = function (key) {
|
|
2070
|
+
var tmp0_safe_receiver = getEntry(this, key);
|
|
2071
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y();
|
|
2072
|
+
};
|
|
2073
|
+
protoOf(InternalHashCodeMap).b = function () {
|
|
2074
|
+
return new InternalHashCodeMap$iterator$1(this);
|
|
2075
|
+
};
|
|
2076
|
+
function InternalMap() {
|
|
2077
|
+
}
|
|
2078
|
+
function EntryIterator($outer) {
|
|
2079
|
+
this.h5_1 = $outer;
|
|
2080
|
+
this.f5_1 = null;
|
|
2081
|
+
this.g5_1 = null;
|
|
2082
|
+
this.g5_1 = this.h5_1.s5_1.p5_1;
|
|
2083
|
+
}
|
|
2084
|
+
protoOf(EntryIterator).c = function () {
|
|
2085
|
+
return !(this.g5_1 === null);
|
|
2086
|
+
};
|
|
2087
|
+
protoOf(EntryIterator).d = function () {
|
|
2088
|
+
if (!this.c())
|
|
2089
|
+
throw NoSuchElementException_init_$Create$();
|
|
2090
|
+
var current = ensureNotNull(this.g5_1);
|
|
2091
|
+
this.f5_1 = current;
|
|
2092
|
+
var tmp = this;
|
|
2093
|
+
var tmp$ret$1;
|
|
2094
|
+
// Inline function 'kotlin.takeIf' call
|
|
2095
|
+
var tmp0_takeIf = current.v5_1;
|
|
2096
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2097
|
+
var tmp_0;
|
|
2098
|
+
var tmp$ret$0;
|
|
2099
|
+
// Inline function 'kotlin.collections.EntryIterator.next.<anonymous>' call
|
|
2100
|
+
tmp$ret$0 = !(tmp0_takeIf === this.h5_1.s5_1.p5_1);
|
|
2101
|
+
if (tmp$ret$0) {
|
|
2102
|
+
tmp_0 = tmp0_takeIf;
|
|
2103
|
+
} else {
|
|
2104
|
+
tmp_0 = null;
|
|
2105
|
+
}
|
|
2106
|
+
tmp$ret$1 = tmp_0;
|
|
2107
|
+
tmp.g5_1 = tmp$ret$1;
|
|
2108
|
+
return current;
|
|
2109
|
+
};
|
|
2110
|
+
function ChainEntry($outer, key, value) {
|
|
2111
|
+
this.x5_1 = $outer;
|
|
2112
|
+
SimpleEntry.call(this, key, value);
|
|
2113
|
+
this.v5_1 = null;
|
|
2114
|
+
this.w5_1 = null;
|
|
2115
|
+
}
|
|
2116
|
+
protoOf(ChainEntry).t3 = function (newValue) {
|
|
2117
|
+
this.x5_1.j3();
|
|
2118
|
+
return protoOf(SimpleEntry).t3.call(this, newValue);
|
|
2119
|
+
};
|
|
2120
|
+
function EntrySet_0($outer) {
|
|
2121
|
+
this.s5_1 = $outer;
|
|
2122
|
+
AbstractEntrySet.call(this);
|
|
2123
|
+
}
|
|
2124
|
+
protoOf(EntrySet_0).i4 = function (element) {
|
|
2125
|
+
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on entries');
|
|
2126
|
+
};
|
|
2127
|
+
protoOf(EntrySet_0).k = function (element) {
|
|
2128
|
+
return this.i4((!(element == null) ? isInterface(element, MutableEntry) : false) ? element : THROW_CCE());
|
|
2129
|
+
};
|
|
2130
|
+
protoOf(EntrySet_0).u3 = function (element) {
|
|
2131
|
+
return this.s5_1.f1(element);
|
|
2132
|
+
};
|
|
2133
|
+
protoOf(EntrySet_0).b = function () {
|
|
2134
|
+
return new EntryIterator(this);
|
|
2135
|
+
};
|
|
2136
|
+
protoOf(EntrySet_0).e = function () {
|
|
2137
|
+
return this.s5_1.e();
|
|
2138
|
+
};
|
|
2139
|
+
function addToEnd(_this__u8e3s4, $this) {
|
|
2140
|
+
// Inline function 'kotlin.check' call
|
|
2141
|
+
var tmp0_check = _this__u8e3s4.v5_1 == null ? _this__u8e3s4.w5_1 == null : false;
|
|
2142
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2143
|
+
// Inline function 'kotlin.check' call
|
|
2144
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2145
|
+
if (!tmp0_check) {
|
|
2146
|
+
var tmp$ret$0;
|
|
2147
|
+
// Inline function 'kotlin.check.<anonymous>' call
|
|
2148
|
+
tmp$ret$0 = 'Check failed.';
|
|
2149
|
+
var message = tmp$ret$0;
|
|
2150
|
+
throw IllegalStateException_init_$Create$(toString_2(message));
|
|
2151
|
+
}
|
|
2152
|
+
var _head = $this.p5_1;
|
|
2153
|
+
if (_head == null) {
|
|
2154
|
+
$this.p5_1 = _this__u8e3s4;
|
|
2155
|
+
_this__u8e3s4.v5_1 = _this__u8e3s4;
|
|
2156
|
+
_this__u8e3s4.w5_1 = _this__u8e3s4;
|
|
2157
|
+
} else {
|
|
2158
|
+
var tmp$ret$3;
|
|
2159
|
+
// Inline function 'kotlin.checkNotNull' call
|
|
2160
|
+
var tmp1_checkNotNull = _head.w5_1;
|
|
2161
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2162
|
+
var tmp$ret$2;
|
|
2163
|
+
$l$block: {
|
|
2164
|
+
// Inline function 'kotlin.checkNotNull' call
|
|
2165
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2166
|
+
if (tmp1_checkNotNull == null) {
|
|
2167
|
+
var tmp$ret$1;
|
|
2168
|
+
// Inline function 'kotlin.checkNotNull.<anonymous>' call
|
|
2169
|
+
tmp$ret$1 = 'Required value was null.';
|
|
2170
|
+
var message_0 = tmp$ret$1;
|
|
2171
|
+
throw IllegalStateException_init_$Create$(toString_2(message_0));
|
|
2172
|
+
} else {
|
|
2173
|
+
tmp$ret$2 = tmp1_checkNotNull;
|
|
2174
|
+
break $l$block;
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
tmp$ret$3 = tmp$ret$2;
|
|
2178
|
+
var _tail = tmp$ret$3;
|
|
2179
|
+
_this__u8e3s4.w5_1 = _tail;
|
|
2180
|
+
_this__u8e3s4.v5_1 = _head;
|
|
2181
|
+
_head.w5_1 = _this__u8e3s4;
|
|
2182
|
+
_tail.v5_1 = _this__u8e3s4;
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
function LinkedHashMap_init_$Init$($this) {
|
|
2186
|
+
HashMap_init_$Init$_0($this);
|
|
2187
|
+
LinkedHashMap.call($this);
|
|
2188
|
+
$this.q5_1 = HashMap_init_$Create$();
|
|
2189
|
+
return $this;
|
|
2190
|
+
}
|
|
2191
|
+
function LinkedHashMap_init_$Create$() {
|
|
2192
|
+
return LinkedHashMap_init_$Init$(objectCreate(protoOf(LinkedHashMap)));
|
|
2193
|
+
}
|
|
2194
|
+
function LinkedHashMap_init_$Init$_0(initialCapacity, loadFactor, $this) {
|
|
2195
|
+
HashMap_init_$Init$_1(initialCapacity, loadFactor, $this);
|
|
2196
|
+
LinkedHashMap.call($this);
|
|
2197
|
+
$this.q5_1 = HashMap_init_$Create$();
|
|
2198
|
+
return $this;
|
|
2199
|
+
}
|
|
2200
|
+
function LinkedHashMap_init_$Init$_1(initialCapacity, $this) {
|
|
2201
|
+
LinkedHashMap_init_$Init$_0(initialCapacity, 0.0, $this);
|
|
2202
|
+
return $this;
|
|
2203
|
+
}
|
|
2204
|
+
function LinkedHashMap_init_$Create$_0(initialCapacity) {
|
|
2205
|
+
return LinkedHashMap_init_$Init$_1(initialCapacity, objectCreate(protoOf(LinkedHashMap)));
|
|
2206
|
+
}
|
|
2207
|
+
protoOf(LinkedHashMap).e1 = function (key) {
|
|
2208
|
+
return this.q5_1.e1(key);
|
|
2209
|
+
};
|
|
2210
|
+
protoOf(LinkedHashMap).r4 = function () {
|
|
2211
|
+
return new EntrySet_0(this);
|
|
2212
|
+
};
|
|
2213
|
+
protoOf(LinkedHashMap).g1 = function (key) {
|
|
2214
|
+
var tmp0_safe_receiver = this.q5_1.g1(key);
|
|
2215
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y();
|
|
2216
|
+
};
|
|
2217
|
+
protoOf(LinkedHashMap).d4 = function (key, value) {
|
|
2218
|
+
this.j3();
|
|
2219
|
+
var old = this.q5_1.g1(key);
|
|
2220
|
+
if (old == null) {
|
|
2221
|
+
var newEntry = new ChainEntry(this, key, value);
|
|
2222
|
+
this.q5_1.d4(key, newEntry);
|
|
2223
|
+
addToEnd(newEntry, this);
|
|
2224
|
+
return null;
|
|
2225
|
+
} else {
|
|
2226
|
+
return old.t3(value);
|
|
2227
|
+
}
|
|
2228
|
+
};
|
|
2229
|
+
protoOf(LinkedHashMap).e = function () {
|
|
2230
|
+
return this.q5_1.e();
|
|
2231
|
+
};
|
|
2232
|
+
protoOf(LinkedHashMap).j3 = function () {
|
|
2233
|
+
if (this.r5_1)
|
|
2234
|
+
throw UnsupportedOperationException_init_$Create$();
|
|
2235
|
+
};
|
|
2236
|
+
function LinkedHashMap() {
|
|
2237
|
+
this.p5_1 = null;
|
|
2238
|
+
this.r5_1 = false;
|
|
2239
|
+
}
|
|
2240
|
+
function CancellationException_init_$Init$(message, $this) {
|
|
2241
|
+
IllegalStateException_init_$Init$(message, $this);
|
|
2242
|
+
CancellationException.call($this);
|
|
2243
|
+
return $this;
|
|
2244
|
+
}
|
|
2245
|
+
function CancellationException_init_$Create$(message) {
|
|
2246
|
+
var tmp = CancellationException_init_$Init$(message, objectCreate(protoOf(CancellationException)));
|
|
2247
|
+
captureStack(tmp, CancellationException_init_$Create$);
|
|
2248
|
+
return tmp;
|
|
2249
|
+
}
|
|
2250
|
+
function CancellationException_init_$Init$_0(message, cause, $this) {
|
|
2251
|
+
IllegalStateException_init_$Init$_0(message, cause, $this);
|
|
2252
|
+
CancellationException.call($this);
|
|
2253
|
+
return $this;
|
|
2254
|
+
}
|
|
2255
|
+
function CancellationException_init_$Create$_0(message, cause) {
|
|
2256
|
+
var tmp = CancellationException_init_$Init$_0(message, cause, objectCreate(protoOf(CancellationException)));
|
|
2257
|
+
captureStack(tmp, CancellationException_init_$Create$_0);
|
|
2258
|
+
return tmp;
|
|
2259
|
+
}
|
|
2260
|
+
function CancellationException() {
|
|
2261
|
+
captureStack(this, CancellationException);
|
|
2262
|
+
}
|
|
2263
|
+
function isNaN_0(_this__u8e3s4) {
|
|
2264
|
+
return !(_this__u8e3s4 === _this__u8e3s4);
|
|
2265
|
+
}
|
|
2266
|
+
function KClass() {
|
|
2267
|
+
}
|
|
2268
|
+
function KClassImpl(jClass) {
|
|
2269
|
+
this.z5_1 = jClass;
|
|
2270
|
+
}
|
|
2271
|
+
protoOf(KClassImpl).a6 = function () {
|
|
2272
|
+
return this.z5_1;
|
|
2273
|
+
};
|
|
2274
|
+
protoOf(KClassImpl).equals = function (other) {
|
|
2275
|
+
var tmp;
|
|
2276
|
+
if (other instanceof KClassImpl) {
|
|
2277
|
+
tmp = equals(this.a6(), other.a6());
|
|
2278
|
+
} else {
|
|
2279
|
+
tmp = false;
|
|
2280
|
+
}
|
|
2281
|
+
return tmp;
|
|
2282
|
+
};
|
|
2283
|
+
protoOf(KClassImpl).hashCode = function () {
|
|
2284
|
+
var tmp0_safe_receiver = this.y5();
|
|
2285
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
2286
|
+
return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
2287
|
+
};
|
|
2288
|
+
protoOf(KClassImpl).toString = function () {
|
|
2289
|
+
return 'class ' + this.y5();
|
|
2290
|
+
};
|
|
2291
|
+
function NothingKClassImpl() {
|
|
2292
|
+
NothingKClassImpl_instance = this;
|
|
2293
|
+
KClassImpl.call(this, Object);
|
|
2294
|
+
this.c6_1 = 'Nothing';
|
|
2295
|
+
}
|
|
2296
|
+
protoOf(NothingKClassImpl).y5 = function () {
|
|
2297
|
+
return this.c6_1;
|
|
2298
|
+
};
|
|
2299
|
+
protoOf(NothingKClassImpl).a6 = function () {
|
|
2300
|
+
throw UnsupportedOperationException_init_$Create$_0("There's no native JS class for Nothing type");
|
|
2301
|
+
};
|
|
2302
|
+
protoOf(NothingKClassImpl).equals = function (other) {
|
|
2303
|
+
return other === this;
|
|
2304
|
+
};
|
|
2305
|
+
protoOf(NothingKClassImpl).hashCode = function () {
|
|
2306
|
+
return 0;
|
|
2307
|
+
};
|
|
2308
|
+
var NothingKClassImpl_instance;
|
|
2309
|
+
function NothingKClassImpl_getInstance() {
|
|
2310
|
+
if (NothingKClassImpl_instance == null)
|
|
2311
|
+
new NothingKClassImpl();
|
|
2312
|
+
return NothingKClassImpl_instance;
|
|
2313
|
+
}
|
|
2314
|
+
function ErrorKClass() {
|
|
2315
|
+
}
|
|
2316
|
+
protoOf(ErrorKClass).y5 = function () {
|
|
2317
|
+
throw IllegalStateException_init_$Create$('Unknown simpleName for ErrorKClass');
|
|
2318
|
+
};
|
|
2319
|
+
protoOf(ErrorKClass).equals = function (other) {
|
|
2320
|
+
return other === this;
|
|
2321
|
+
};
|
|
2322
|
+
protoOf(ErrorKClass).hashCode = function () {
|
|
2323
|
+
return 0;
|
|
2324
|
+
};
|
|
2325
|
+
function PrimitiveKClassImpl(jClass, givenSimpleName, isInstanceFunction) {
|
|
2326
|
+
KClassImpl.call(this, jClass);
|
|
2327
|
+
this.e6_1 = givenSimpleName;
|
|
2328
|
+
this.f6_1 = isInstanceFunction;
|
|
2329
|
+
}
|
|
2330
|
+
protoOf(PrimitiveKClassImpl).equals = function (other) {
|
|
2331
|
+
if (!(other instanceof PrimitiveKClassImpl))
|
|
2332
|
+
return false;
|
|
2333
|
+
return protoOf(KClassImpl).equals.call(this, other) ? this.e6_1 === other.e6_1 : false;
|
|
2334
|
+
};
|
|
2335
|
+
protoOf(PrimitiveKClassImpl).y5 = function () {
|
|
2336
|
+
return this.e6_1;
|
|
2337
|
+
};
|
|
2338
|
+
function SimpleKClassImpl(jClass) {
|
|
2339
|
+
KClassImpl.call(this, jClass);
|
|
2340
|
+
var tmp = this;
|
|
2341
|
+
var tmp$ret$1;
|
|
2342
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2343
|
+
var tmp$ret$0;
|
|
2344
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2345
|
+
tmp$ret$0 = jClass;
|
|
2346
|
+
var tmp0_safe_receiver = tmp$ret$0.$metadata$;
|
|
2347
|
+
var tmp0_unsafeCast = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.simpleName;
|
|
2348
|
+
tmp$ret$1 = tmp0_unsafeCast;
|
|
2349
|
+
tmp.h6_1 = tmp$ret$1;
|
|
2350
|
+
}
|
|
2351
|
+
protoOf(SimpleKClassImpl).y5 = function () {
|
|
2352
|
+
return this.h6_1;
|
|
2353
|
+
};
|
|
2354
|
+
function get_functionClasses() {
|
|
2355
|
+
_init_properties_primitives_kt__3fums4();
|
|
2356
|
+
return functionClasses;
|
|
2357
|
+
}
|
|
2358
|
+
var functionClasses;
|
|
2359
|
+
function PrimitiveClasses$anyClass$lambda(it) {
|
|
2360
|
+
return isObject(it);
|
|
2361
|
+
}
|
|
2362
|
+
function PrimitiveClasses$numberClass$lambda(it) {
|
|
2363
|
+
return isNumber(it);
|
|
2364
|
+
}
|
|
2365
|
+
function PrimitiveClasses$booleanClass$lambda(it) {
|
|
2366
|
+
return !(it == null) ? typeof it === 'boolean' : false;
|
|
2367
|
+
}
|
|
2368
|
+
function PrimitiveClasses$byteClass$lambda(it) {
|
|
2369
|
+
return !(it == null) ? typeof it === 'number' : false;
|
|
2370
|
+
}
|
|
2371
|
+
function PrimitiveClasses$shortClass$lambda(it) {
|
|
2372
|
+
return !(it == null) ? typeof it === 'number' : false;
|
|
2373
|
+
}
|
|
2374
|
+
function PrimitiveClasses$intClass$lambda(it) {
|
|
2375
|
+
return !(it == null) ? typeof it === 'number' : false;
|
|
2376
|
+
}
|
|
2377
|
+
function PrimitiveClasses$floatClass$lambda(it) {
|
|
2378
|
+
return !(it == null) ? typeof it === 'number' : false;
|
|
2379
|
+
}
|
|
2380
|
+
function PrimitiveClasses$doubleClass$lambda(it) {
|
|
2381
|
+
return !(it == null) ? typeof it === 'number' : false;
|
|
2382
|
+
}
|
|
2383
|
+
function PrimitiveClasses$arrayClass$lambda(it) {
|
|
2384
|
+
return !(it == null) ? isArray(it) : false;
|
|
2385
|
+
}
|
|
2386
|
+
function PrimitiveClasses$stringClass$lambda(it) {
|
|
2387
|
+
return !(it == null) ? typeof it === 'string' : false;
|
|
2388
|
+
}
|
|
2389
|
+
function PrimitiveClasses$throwableClass$lambda(it) {
|
|
2390
|
+
return it instanceof Error;
|
|
2391
|
+
}
|
|
2392
|
+
function PrimitiveClasses$booleanArrayClass$lambda(it) {
|
|
2393
|
+
return !(it == null) ? isBooleanArray(it) : false;
|
|
2394
|
+
}
|
|
2395
|
+
function PrimitiveClasses$charArrayClass$lambda(it) {
|
|
2396
|
+
return !(it == null) ? isCharArray(it) : false;
|
|
2397
|
+
}
|
|
2398
|
+
function PrimitiveClasses$byteArrayClass$lambda(it) {
|
|
2399
|
+
return !(it == null) ? isByteArray(it) : false;
|
|
2400
|
+
}
|
|
2401
|
+
function PrimitiveClasses$shortArrayClass$lambda(it) {
|
|
2402
|
+
return !(it == null) ? isShortArray(it) : false;
|
|
2403
|
+
}
|
|
2404
|
+
function PrimitiveClasses$intArrayClass$lambda(it) {
|
|
2405
|
+
return !(it == null) ? isIntArray(it) : false;
|
|
2406
|
+
}
|
|
2407
|
+
function PrimitiveClasses$longArrayClass$lambda(it) {
|
|
2408
|
+
return !(it == null) ? isLongArray(it) : false;
|
|
2409
|
+
}
|
|
2410
|
+
function PrimitiveClasses$floatArrayClass$lambda(it) {
|
|
2411
|
+
return !(it == null) ? isFloatArray(it) : false;
|
|
2412
|
+
}
|
|
2413
|
+
function PrimitiveClasses$doubleArrayClass$lambda(it) {
|
|
2414
|
+
return !(it == null) ? isDoubleArray(it) : false;
|
|
2415
|
+
}
|
|
2416
|
+
function PrimitiveClasses$functionClass$lambda($arity) {
|
|
2417
|
+
return function (it) {
|
|
2418
|
+
var tmp;
|
|
2419
|
+
if (typeof it === 'function') {
|
|
2420
|
+
var tmp$ret$0;
|
|
2421
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2422
|
+
tmp$ret$0 = it;
|
|
2423
|
+
tmp = tmp$ret$0.length === $arity;
|
|
2424
|
+
} else {
|
|
2425
|
+
tmp = false;
|
|
2426
|
+
}
|
|
2427
|
+
return tmp;
|
|
2428
|
+
};
|
|
2429
|
+
}
|
|
2430
|
+
function PrimitiveClasses() {
|
|
2431
|
+
PrimitiveClasses_instance = this;
|
|
2432
|
+
var tmp = this;
|
|
2433
|
+
var tmp$ret$0;
|
|
2434
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2435
|
+
var tmp0_unsafeCast = Object;
|
|
2436
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
2437
|
+
var tmp_0 = tmp$ret$0;
|
|
2438
|
+
tmp.anyClass = new PrimitiveKClassImpl(tmp_0, 'Any', PrimitiveClasses$anyClass$lambda);
|
|
2439
|
+
var tmp_1 = this;
|
|
2440
|
+
var tmp$ret$1;
|
|
2441
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2442
|
+
var tmp0_unsafeCast_0 = Number;
|
|
2443
|
+
tmp$ret$1 = tmp0_unsafeCast_0;
|
|
2444
|
+
var tmp_2 = tmp$ret$1;
|
|
2445
|
+
tmp_1.numberClass = new PrimitiveKClassImpl(tmp_2, 'Number', PrimitiveClasses$numberClass$lambda);
|
|
2446
|
+
this.nothingClass = NothingKClassImpl_getInstance();
|
|
2447
|
+
var tmp_3 = this;
|
|
2448
|
+
var tmp$ret$2;
|
|
2449
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2450
|
+
var tmp0_unsafeCast_1 = Boolean;
|
|
2451
|
+
tmp$ret$2 = tmp0_unsafeCast_1;
|
|
2452
|
+
var tmp_4 = tmp$ret$2;
|
|
2453
|
+
tmp_3.booleanClass = new PrimitiveKClassImpl(tmp_4, 'Boolean', PrimitiveClasses$booleanClass$lambda);
|
|
2454
|
+
var tmp_5 = this;
|
|
2455
|
+
var tmp$ret$3;
|
|
2456
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2457
|
+
var tmp0_unsafeCast_2 = Number;
|
|
2458
|
+
tmp$ret$3 = tmp0_unsafeCast_2;
|
|
2459
|
+
var tmp_6 = tmp$ret$3;
|
|
2460
|
+
tmp_5.byteClass = new PrimitiveKClassImpl(tmp_6, 'Byte', PrimitiveClasses$byteClass$lambda);
|
|
2461
|
+
var tmp_7 = this;
|
|
2462
|
+
var tmp$ret$4;
|
|
2463
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2464
|
+
var tmp0_unsafeCast_3 = Number;
|
|
2465
|
+
tmp$ret$4 = tmp0_unsafeCast_3;
|
|
2466
|
+
var tmp_8 = tmp$ret$4;
|
|
2467
|
+
tmp_7.shortClass = new PrimitiveKClassImpl(tmp_8, 'Short', PrimitiveClasses$shortClass$lambda);
|
|
2468
|
+
var tmp_9 = this;
|
|
2469
|
+
var tmp$ret$5;
|
|
2470
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2471
|
+
var tmp0_unsafeCast_4 = Number;
|
|
2472
|
+
tmp$ret$5 = tmp0_unsafeCast_4;
|
|
2473
|
+
var tmp_10 = tmp$ret$5;
|
|
2474
|
+
tmp_9.intClass = new PrimitiveKClassImpl(tmp_10, 'Int', PrimitiveClasses$intClass$lambda);
|
|
2475
|
+
var tmp_11 = this;
|
|
2476
|
+
var tmp$ret$6;
|
|
2477
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2478
|
+
var tmp0_unsafeCast_5 = Number;
|
|
2479
|
+
tmp$ret$6 = tmp0_unsafeCast_5;
|
|
2480
|
+
var tmp_12 = tmp$ret$6;
|
|
2481
|
+
tmp_11.floatClass = new PrimitiveKClassImpl(tmp_12, 'Float', PrimitiveClasses$floatClass$lambda);
|
|
2482
|
+
var tmp_13 = this;
|
|
2483
|
+
var tmp$ret$7;
|
|
2484
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2485
|
+
var tmp0_unsafeCast_6 = Number;
|
|
2486
|
+
tmp$ret$7 = tmp0_unsafeCast_6;
|
|
2487
|
+
var tmp_14 = tmp$ret$7;
|
|
2488
|
+
tmp_13.doubleClass = new PrimitiveKClassImpl(tmp_14, 'Double', PrimitiveClasses$doubleClass$lambda);
|
|
2489
|
+
var tmp_15 = this;
|
|
2490
|
+
var tmp$ret$8;
|
|
2491
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2492
|
+
var tmp0_unsafeCast_7 = Array;
|
|
2493
|
+
tmp$ret$8 = tmp0_unsafeCast_7;
|
|
2494
|
+
var tmp_16 = tmp$ret$8;
|
|
2495
|
+
tmp_15.arrayClass = new PrimitiveKClassImpl(tmp_16, 'Array', PrimitiveClasses$arrayClass$lambda);
|
|
2496
|
+
var tmp_17 = this;
|
|
2497
|
+
var tmp$ret$9;
|
|
2498
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2499
|
+
var tmp0_unsafeCast_8 = String;
|
|
2500
|
+
tmp$ret$9 = tmp0_unsafeCast_8;
|
|
2501
|
+
var tmp_18 = tmp$ret$9;
|
|
2502
|
+
tmp_17.stringClass = new PrimitiveKClassImpl(tmp_18, 'String', PrimitiveClasses$stringClass$lambda);
|
|
2503
|
+
var tmp_19 = this;
|
|
2504
|
+
var tmp$ret$10;
|
|
2505
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2506
|
+
var tmp0_unsafeCast_9 = Error;
|
|
2507
|
+
tmp$ret$10 = tmp0_unsafeCast_9;
|
|
2508
|
+
var tmp_20 = tmp$ret$10;
|
|
2509
|
+
tmp_19.throwableClass = new PrimitiveKClassImpl(tmp_20, 'Throwable', PrimitiveClasses$throwableClass$lambda);
|
|
2510
|
+
var tmp_21 = this;
|
|
2511
|
+
var tmp$ret$11;
|
|
2512
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2513
|
+
var tmp0_unsafeCast_10 = Array;
|
|
2514
|
+
tmp$ret$11 = tmp0_unsafeCast_10;
|
|
2515
|
+
var tmp_22 = tmp$ret$11;
|
|
2516
|
+
tmp_21.booleanArrayClass = new PrimitiveKClassImpl(tmp_22, 'BooleanArray', PrimitiveClasses$booleanArrayClass$lambda);
|
|
2517
|
+
var tmp_23 = this;
|
|
2518
|
+
var tmp$ret$12;
|
|
2519
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2520
|
+
var tmp0_unsafeCast_11 = Uint16Array;
|
|
2521
|
+
tmp$ret$12 = tmp0_unsafeCast_11;
|
|
2522
|
+
var tmp_24 = tmp$ret$12;
|
|
2523
|
+
tmp_23.charArrayClass = new PrimitiveKClassImpl(tmp_24, 'CharArray', PrimitiveClasses$charArrayClass$lambda);
|
|
2524
|
+
var tmp_25 = this;
|
|
2525
|
+
var tmp$ret$13;
|
|
2526
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2527
|
+
var tmp0_unsafeCast_12 = Int8Array;
|
|
2528
|
+
tmp$ret$13 = tmp0_unsafeCast_12;
|
|
2529
|
+
var tmp_26 = tmp$ret$13;
|
|
2530
|
+
tmp_25.byteArrayClass = new PrimitiveKClassImpl(tmp_26, 'ByteArray', PrimitiveClasses$byteArrayClass$lambda);
|
|
2531
|
+
var tmp_27 = this;
|
|
2532
|
+
var tmp$ret$14;
|
|
2533
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2534
|
+
var tmp0_unsafeCast_13 = Int16Array;
|
|
2535
|
+
tmp$ret$14 = tmp0_unsafeCast_13;
|
|
2536
|
+
var tmp_28 = tmp$ret$14;
|
|
2537
|
+
tmp_27.shortArrayClass = new PrimitiveKClassImpl(tmp_28, 'ShortArray', PrimitiveClasses$shortArrayClass$lambda);
|
|
2538
|
+
var tmp_29 = this;
|
|
2539
|
+
var tmp$ret$15;
|
|
2540
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2541
|
+
var tmp0_unsafeCast_14 = Int32Array;
|
|
2542
|
+
tmp$ret$15 = tmp0_unsafeCast_14;
|
|
2543
|
+
var tmp_30 = tmp$ret$15;
|
|
2544
|
+
tmp_29.intArrayClass = new PrimitiveKClassImpl(tmp_30, 'IntArray', PrimitiveClasses$intArrayClass$lambda);
|
|
2545
|
+
var tmp_31 = this;
|
|
2546
|
+
var tmp$ret$16;
|
|
2547
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2548
|
+
var tmp0_unsafeCast_15 = Array;
|
|
2549
|
+
tmp$ret$16 = tmp0_unsafeCast_15;
|
|
2550
|
+
var tmp_32 = tmp$ret$16;
|
|
2551
|
+
tmp_31.longArrayClass = new PrimitiveKClassImpl(tmp_32, 'LongArray', PrimitiveClasses$longArrayClass$lambda);
|
|
2552
|
+
var tmp_33 = this;
|
|
2553
|
+
var tmp$ret$17;
|
|
2554
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2555
|
+
var tmp0_unsafeCast_16 = Float32Array;
|
|
2556
|
+
tmp$ret$17 = tmp0_unsafeCast_16;
|
|
2557
|
+
var tmp_34 = tmp$ret$17;
|
|
2558
|
+
tmp_33.floatArrayClass = new PrimitiveKClassImpl(tmp_34, 'FloatArray', PrimitiveClasses$floatArrayClass$lambda);
|
|
2559
|
+
var tmp_35 = this;
|
|
2560
|
+
var tmp$ret$18;
|
|
2561
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2562
|
+
var tmp0_unsafeCast_17 = Float64Array;
|
|
2563
|
+
tmp$ret$18 = tmp0_unsafeCast_17;
|
|
2564
|
+
var tmp_36 = tmp$ret$18;
|
|
2565
|
+
tmp_35.doubleArrayClass = new PrimitiveKClassImpl(tmp_36, 'DoubleArray', PrimitiveClasses$doubleArrayClass$lambda);
|
|
2566
|
+
}
|
|
2567
|
+
protoOf(PrimitiveClasses).i6 = function () {
|
|
2568
|
+
return this.anyClass;
|
|
2569
|
+
};
|
|
2570
|
+
protoOf(PrimitiveClasses).j6 = function () {
|
|
2571
|
+
return this.numberClass;
|
|
2572
|
+
};
|
|
2573
|
+
protoOf(PrimitiveClasses).k6 = function () {
|
|
2574
|
+
return this.nothingClass;
|
|
2575
|
+
};
|
|
2576
|
+
protoOf(PrimitiveClasses).l6 = function () {
|
|
2577
|
+
return this.booleanClass;
|
|
2578
|
+
};
|
|
2579
|
+
protoOf(PrimitiveClasses).m6 = function () {
|
|
2580
|
+
return this.byteClass;
|
|
2581
|
+
};
|
|
2582
|
+
protoOf(PrimitiveClasses).n6 = function () {
|
|
2583
|
+
return this.shortClass;
|
|
2584
|
+
};
|
|
2585
|
+
protoOf(PrimitiveClasses).o6 = function () {
|
|
2586
|
+
return this.intClass;
|
|
2587
|
+
};
|
|
2588
|
+
protoOf(PrimitiveClasses).p6 = function () {
|
|
2589
|
+
return this.floatClass;
|
|
2590
|
+
};
|
|
2591
|
+
protoOf(PrimitiveClasses).q6 = function () {
|
|
2592
|
+
return this.doubleClass;
|
|
2593
|
+
};
|
|
2594
|
+
protoOf(PrimitiveClasses).r6 = function () {
|
|
2595
|
+
return this.arrayClass;
|
|
2596
|
+
};
|
|
2597
|
+
protoOf(PrimitiveClasses).s6 = function () {
|
|
2598
|
+
return this.stringClass;
|
|
2599
|
+
};
|
|
2600
|
+
protoOf(PrimitiveClasses).t6 = function () {
|
|
2601
|
+
return this.throwableClass;
|
|
2602
|
+
};
|
|
2603
|
+
protoOf(PrimitiveClasses).u6 = function () {
|
|
2604
|
+
return this.booleanArrayClass;
|
|
2605
|
+
};
|
|
2606
|
+
protoOf(PrimitiveClasses).v6 = function () {
|
|
2607
|
+
return this.charArrayClass;
|
|
2608
|
+
};
|
|
2609
|
+
protoOf(PrimitiveClasses).w6 = function () {
|
|
2610
|
+
return this.byteArrayClass;
|
|
2611
|
+
};
|
|
2612
|
+
protoOf(PrimitiveClasses).x6 = function () {
|
|
2613
|
+
return this.shortArrayClass;
|
|
2614
|
+
};
|
|
2615
|
+
protoOf(PrimitiveClasses).y6 = function () {
|
|
2616
|
+
return this.intArrayClass;
|
|
2617
|
+
};
|
|
2618
|
+
protoOf(PrimitiveClasses).z6 = function () {
|
|
2619
|
+
return this.longArrayClass;
|
|
2620
|
+
};
|
|
2621
|
+
protoOf(PrimitiveClasses).a7 = function () {
|
|
2622
|
+
return this.floatArrayClass;
|
|
2623
|
+
};
|
|
2624
|
+
protoOf(PrimitiveClasses).b7 = function () {
|
|
2625
|
+
return this.doubleArrayClass;
|
|
2626
|
+
};
|
|
2627
|
+
protoOf(PrimitiveClasses).functionClass = function (arity) {
|
|
2628
|
+
var tmp0_elvis_lhs = get_functionClasses()[arity];
|
|
2629
|
+
var tmp;
|
|
2630
|
+
if (tmp0_elvis_lhs == null) {
|
|
2631
|
+
var tmp$ret$3;
|
|
2632
|
+
// Inline function 'kotlin.run' call
|
|
2633
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2634
|
+
var tmp$ret$2;
|
|
2635
|
+
// Inline function 'kotlin.reflect.js.internal.PrimitiveClasses.functionClass.<anonymous>' call
|
|
2636
|
+
var tmp$ret$0;
|
|
2637
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2638
|
+
var tmp0_unsafeCast = Function;
|
|
2639
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
2640
|
+
var tmp_0 = tmp$ret$0;
|
|
2641
|
+
var tmp_1 = 'Function' + arity;
|
|
2642
|
+
var result = new PrimitiveKClassImpl(tmp_0, tmp_1, PrimitiveClasses$functionClass$lambda(arity));
|
|
2643
|
+
var tmp$ret$1;
|
|
2644
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2645
|
+
var tmp1_asDynamic = get_functionClasses();
|
|
2646
|
+
tmp$ret$1 = tmp1_asDynamic;
|
|
2647
|
+
tmp$ret$1[arity] = result;
|
|
2648
|
+
tmp$ret$2 = result;
|
|
2649
|
+
tmp$ret$3 = tmp$ret$2;
|
|
2650
|
+
tmp = tmp$ret$3;
|
|
2651
|
+
} else {
|
|
2652
|
+
tmp = tmp0_elvis_lhs;
|
|
2653
|
+
}
|
|
2654
|
+
return tmp;
|
|
2655
|
+
};
|
|
2656
|
+
var PrimitiveClasses_instance;
|
|
2657
|
+
function PrimitiveClasses_getInstance() {
|
|
2658
|
+
if (PrimitiveClasses_instance == null)
|
|
2659
|
+
new PrimitiveClasses();
|
|
2660
|
+
return PrimitiveClasses_instance;
|
|
2661
|
+
}
|
|
2662
|
+
var properties_initialized_primitives_kt_jle18u;
|
|
2663
|
+
function _init_properties_primitives_kt__3fums4() {
|
|
2664
|
+
if (properties_initialized_primitives_kt_jle18u) {
|
|
2665
|
+
} else {
|
|
2666
|
+
properties_initialized_primitives_kt_jle18u = true;
|
|
2667
|
+
var tmp$ret$0;
|
|
2668
|
+
// Inline function 'kotlin.arrayOfNulls' call
|
|
2669
|
+
tmp$ret$0 = fillArrayVal(Array(0), null);
|
|
2670
|
+
functionClasses = tmp$ret$0;
|
|
2671
|
+
}
|
|
2672
|
+
}
|
|
2673
|
+
function getKClass(jClass) {
|
|
2674
|
+
var tmp;
|
|
2675
|
+
if (Array.isArray(jClass)) {
|
|
2676
|
+
var tmp$ret$1;
|
|
2677
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2678
|
+
var tmp$ret$0;
|
|
2679
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2680
|
+
tmp$ret$0 = jClass;
|
|
2681
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2682
|
+
tmp = getKClassM(tmp$ret$1);
|
|
2683
|
+
} else {
|
|
2684
|
+
var tmp$ret$3;
|
|
2685
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2686
|
+
var tmp$ret$2;
|
|
2687
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2688
|
+
tmp$ret$2 = jClass;
|
|
2689
|
+
tmp$ret$3 = tmp$ret$2;
|
|
2690
|
+
tmp = getKClass1(tmp$ret$3);
|
|
2691
|
+
}
|
|
2692
|
+
return tmp;
|
|
2693
|
+
}
|
|
2694
|
+
function getKClassM(jClasses) {
|
|
2695
|
+
var tmp0_subject = jClasses.length;
|
|
2696
|
+
var tmp;
|
|
2697
|
+
switch (tmp0_subject) {
|
|
2698
|
+
case 1:
|
|
2699
|
+
tmp = getKClass1(jClasses[0]);
|
|
2700
|
+
break;
|
|
2701
|
+
case 0:
|
|
2702
|
+
var tmp$ret$1;
|
|
2703
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2704
|
+
var tmp0_unsafeCast = NothingKClassImpl_getInstance();
|
|
2705
|
+
var tmp$ret$0;
|
|
2706
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2707
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
2708
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2709
|
+
|
|
2710
|
+
tmp = tmp$ret$1;
|
|
2711
|
+
break;
|
|
2712
|
+
default:
|
|
2713
|
+
var tmp$ret$3;
|
|
2714
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2715
|
+
var tmp1_unsafeCast = new ErrorKClass();
|
|
2716
|
+
var tmp$ret$2;
|
|
2717
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2718
|
+
tmp$ret$2 = tmp1_unsafeCast;
|
|
2719
|
+
tmp$ret$3 = tmp$ret$2;
|
|
2720
|
+
|
|
2721
|
+
tmp = tmp$ret$3;
|
|
2722
|
+
break;
|
|
2723
|
+
}
|
|
2724
|
+
return tmp;
|
|
2725
|
+
}
|
|
2726
|
+
function getKClass1(jClass) {
|
|
2727
|
+
if (jClass === String) {
|
|
2728
|
+
var tmp$ret$1;
|
|
2729
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2730
|
+
var tmp0_unsafeCast = PrimitiveClasses_getInstance().stringClass;
|
|
2731
|
+
var tmp$ret$0;
|
|
2732
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2733
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
2734
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2735
|
+
return tmp$ret$1;
|
|
2736
|
+
}
|
|
2737
|
+
var tmp$ret$2;
|
|
2738
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2739
|
+
tmp$ret$2 = jClass;
|
|
2740
|
+
var metadata = tmp$ret$2.$metadata$;
|
|
2741
|
+
var tmp;
|
|
2742
|
+
if (metadata != null) {
|
|
2743
|
+
var tmp_0;
|
|
2744
|
+
if (metadata.$kClass$ == null) {
|
|
2745
|
+
var kClass = new SimpleKClassImpl(jClass);
|
|
2746
|
+
metadata.$kClass$ = kClass;
|
|
2747
|
+
tmp_0 = kClass;
|
|
2748
|
+
} else {
|
|
2749
|
+
tmp_0 = metadata.$kClass$;
|
|
2750
|
+
}
|
|
2751
|
+
tmp = tmp_0;
|
|
2752
|
+
} else {
|
|
2753
|
+
tmp = new SimpleKClassImpl(jClass);
|
|
2754
|
+
}
|
|
2755
|
+
return tmp;
|
|
2756
|
+
}
|
|
2757
|
+
function getKClassFromExpression(e) {
|
|
2758
|
+
var tmp$ret$4;
|
|
2759
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2760
|
+
var tmp0_subject = typeof e;
|
|
2761
|
+
var tmp;
|
|
2762
|
+
switch (tmp0_subject) {
|
|
2763
|
+
case 'string':
|
|
2764
|
+
tmp = PrimitiveClasses_getInstance().stringClass;
|
|
2765
|
+
break;
|
|
2766
|
+
case 'number':
|
|
2767
|
+
var tmp_0;
|
|
2768
|
+
var tmp$ret$1;
|
|
2769
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2770
|
+
var tmp$ret$0;
|
|
2771
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
2772
|
+
tmp$ret$0 = e | 0;
|
|
2773
|
+
var tmp0_asDynamic = tmp$ret$0;
|
|
2774
|
+
tmp$ret$1 = tmp0_asDynamic;
|
|
2775
|
+
|
|
2776
|
+
if (tmp$ret$1 === e) {
|
|
2777
|
+
tmp_0 = PrimitiveClasses_getInstance().intClass;
|
|
2778
|
+
} else {
|
|
2779
|
+
tmp_0 = PrimitiveClasses_getInstance().doubleClass;
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
tmp = tmp_0;
|
|
2783
|
+
break;
|
|
2784
|
+
case 'boolean':
|
|
2785
|
+
tmp = PrimitiveClasses_getInstance().booleanClass;
|
|
2786
|
+
break;
|
|
2787
|
+
case 'function':
|
|
2788
|
+
var tmp_1 = PrimitiveClasses_getInstance();
|
|
2789
|
+
var tmp$ret$2;
|
|
2790
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2791
|
+
tmp$ret$2 = e;
|
|
2792
|
+
|
|
2793
|
+
tmp = tmp_1.functionClass(tmp$ret$2.length);
|
|
2794
|
+
break;
|
|
2795
|
+
default:
|
|
2796
|
+
var tmp_2;
|
|
2797
|
+
if (isBooleanArray(e)) {
|
|
2798
|
+
tmp_2 = PrimitiveClasses_getInstance().booleanArrayClass;
|
|
2799
|
+
} else {
|
|
2800
|
+
if (isCharArray(e)) {
|
|
2801
|
+
tmp_2 = PrimitiveClasses_getInstance().charArrayClass;
|
|
2802
|
+
} else {
|
|
2803
|
+
if (isByteArray(e)) {
|
|
2804
|
+
tmp_2 = PrimitiveClasses_getInstance().byteArrayClass;
|
|
2805
|
+
} else {
|
|
2806
|
+
if (isShortArray(e)) {
|
|
2807
|
+
tmp_2 = PrimitiveClasses_getInstance().shortArrayClass;
|
|
2808
|
+
} else {
|
|
2809
|
+
if (isIntArray(e)) {
|
|
2810
|
+
tmp_2 = PrimitiveClasses_getInstance().intArrayClass;
|
|
2811
|
+
} else {
|
|
2812
|
+
if (isLongArray(e)) {
|
|
2813
|
+
tmp_2 = PrimitiveClasses_getInstance().longArrayClass;
|
|
2814
|
+
} else {
|
|
2815
|
+
if (isFloatArray(e)) {
|
|
2816
|
+
tmp_2 = PrimitiveClasses_getInstance().floatArrayClass;
|
|
2817
|
+
} else {
|
|
2818
|
+
if (isDoubleArray(e)) {
|
|
2819
|
+
tmp_2 = PrimitiveClasses_getInstance().doubleArrayClass;
|
|
2820
|
+
} else {
|
|
2821
|
+
if (isInterface(e, KClass)) {
|
|
2822
|
+
tmp_2 = getKClass(KClass);
|
|
2823
|
+
} else {
|
|
2824
|
+
if (isArray(e)) {
|
|
2825
|
+
tmp_2 = PrimitiveClasses_getInstance().arrayClass;
|
|
2826
|
+
} else {
|
|
2827
|
+
var constructor = Object.getPrototypeOf(e).constructor;
|
|
2828
|
+
var tmp_3;
|
|
2829
|
+
if (constructor === Object) {
|
|
2830
|
+
tmp_3 = PrimitiveClasses_getInstance().anyClass;
|
|
2831
|
+
} else if (constructor === Error) {
|
|
2832
|
+
tmp_3 = PrimitiveClasses_getInstance().throwableClass;
|
|
2833
|
+
} else {
|
|
2834
|
+
var jsClass = constructor;
|
|
2835
|
+
tmp_3 = getKClass1(jsClass);
|
|
2836
|
+
}
|
|
2837
|
+
tmp_2 = tmp_3;
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
}
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
tmp = tmp_2;
|
|
2850
|
+
break;
|
|
2851
|
+
}
|
|
2852
|
+
var tmp1_unsafeCast = tmp;
|
|
2853
|
+
var tmp$ret$3;
|
|
2854
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2855
|
+
tmp$ret$3 = tmp1_unsafeCast;
|
|
2856
|
+
tmp$ret$4 = tmp$ret$3;
|
|
2857
|
+
return tmp$ret$4;
|
|
2858
|
+
}
|
|
2859
|
+
function StringBuilder_init_$Init$($this) {
|
|
2860
|
+
StringBuilder.call($this, '');
|
|
2861
|
+
return $this;
|
|
2862
|
+
}
|
|
2863
|
+
function StringBuilder_init_$Create$() {
|
|
2864
|
+
return StringBuilder_init_$Init$(objectCreate(protoOf(StringBuilder)));
|
|
2865
|
+
}
|
|
2866
|
+
function StringBuilder(content) {
|
|
2867
|
+
this.c7_1 = !(content === undefined) ? content : '';
|
|
2868
|
+
}
|
|
2869
|
+
protoOf(StringBuilder).d3 = function () {
|
|
2870
|
+
var tmp$ret$0;
|
|
2871
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2872
|
+
var tmp0_asDynamic = this.c7_1;
|
|
2873
|
+
tmp$ret$0 = tmp0_asDynamic;
|
|
2874
|
+
return tmp$ret$0.length;
|
|
2875
|
+
};
|
|
2876
|
+
protoOf(StringBuilder).e3 = function (index) {
|
|
2877
|
+
var tmp$ret$0;
|
|
2878
|
+
// Inline function 'kotlin.text.getOrElse' call
|
|
2879
|
+
var tmp0_getOrElse = this.c7_1;
|
|
2880
|
+
var tmp;
|
|
2881
|
+
if (index >= 0 ? index <= get_lastIndex_0(tmp0_getOrElse) : false) {
|
|
2882
|
+
tmp = charSequenceGet(tmp0_getOrElse, index);
|
|
2883
|
+
} else {
|
|
2884
|
+
throw IndexOutOfBoundsException_init_$Create$('index: ' + index + ', length: ' + this.d3() + '}');
|
|
2885
|
+
}
|
|
2886
|
+
tmp$ret$0 = tmp;
|
|
2887
|
+
return tmp$ret$0;
|
|
2888
|
+
};
|
|
2889
|
+
protoOf(StringBuilder).t2 = function (value) {
|
|
2890
|
+
var tmp0_this = this;
|
|
2891
|
+
tmp0_this.c7_1 = tmp0_this.c7_1 + new Char(value);
|
|
2892
|
+
return this;
|
|
2893
|
+
};
|
|
2894
|
+
protoOf(StringBuilder).a = function (value) {
|
|
2895
|
+
var tmp0_this = this;
|
|
2896
|
+
tmp0_this.c7_1 = tmp0_this.c7_1 + toString_1(value);
|
|
2897
|
+
return this;
|
|
2898
|
+
};
|
|
2899
|
+
protoOf(StringBuilder).d7 = function (value) {
|
|
2900
|
+
var tmp0_this = this;
|
|
2901
|
+
tmp0_this.c7_1 = tmp0_this.c7_1 + toString_1(value);
|
|
2902
|
+
return this;
|
|
2903
|
+
};
|
|
2904
|
+
protoOf(StringBuilder).e7 = function (value) {
|
|
2905
|
+
var tmp0_this = this;
|
|
2906
|
+
var tmp = tmp0_this;
|
|
2907
|
+
var tmp_0 = tmp0_this.c7_1;
|
|
2908
|
+
var tmp1_elvis_lhs = value;
|
|
2909
|
+
tmp.c7_1 = tmp_0 + (tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs);
|
|
2910
|
+
return this;
|
|
2911
|
+
};
|
|
2912
|
+
protoOf(StringBuilder).toString = function () {
|
|
2913
|
+
return this.c7_1;
|
|
2914
|
+
};
|
|
2915
|
+
protoOf(StringBuilder).f7 = function () {
|
|
2916
|
+
this.c7_1 = '';
|
|
2917
|
+
return this;
|
|
2918
|
+
};
|
|
2919
|
+
function isWhitespace(_this__u8e3s4) {
|
|
2920
|
+
return isWhitespaceImpl(_this__u8e3s4);
|
|
2921
|
+
}
|
|
2922
|
+
function checkRadix(radix) {
|
|
2923
|
+
if (!(2 <= radix ? radix <= 36 : false)) {
|
|
2924
|
+
throw IllegalArgumentException_init_$Create$('radix ' + radix + ' was not in valid range 2..36');
|
|
2925
|
+
}
|
|
2926
|
+
return radix;
|
|
2927
|
+
}
|
|
2928
|
+
function digitOf(char, radix) {
|
|
2929
|
+
var tmp$ret$1;
|
|
2930
|
+
// Inline function 'kotlin.let' call
|
|
2931
|
+
var tmp0_let = (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(48)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(57)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(48)) : (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(90)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65)) + 10 | 0 : (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(97)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(122)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(97)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(128)) < 0 ? -1 : (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65313)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65338)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65313)) + 10 | 0 : (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65345)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65370)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65345)) + 10 | 0 : digitToIntImpl(char);
|
|
2932
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2933
|
+
var tmp$ret$0;
|
|
2934
|
+
// Inline function 'kotlin.text.digitOf.<anonymous>' call
|
|
2935
|
+
tmp$ret$0 = tmp0_let >= radix ? -1 : tmp0_let;
|
|
2936
|
+
tmp$ret$1 = tmp$ret$0;
|
|
2937
|
+
return tmp$ret$1;
|
|
2938
|
+
}
|
|
2939
|
+
function isBlank(_this__u8e3s4) {
|
|
2940
|
+
var tmp;
|
|
2941
|
+
if (charSequenceLength(_this__u8e3s4) === 0) {
|
|
2942
|
+
tmp = true;
|
|
2943
|
+
} else {
|
|
2944
|
+
var tmp$ret$0;
|
|
2945
|
+
$l$block_0: {
|
|
2946
|
+
// Inline function 'kotlin.collections.all' call
|
|
2947
|
+
var tmp0_all = get_indices(_this__u8e3s4);
|
|
2948
|
+
var tmp_0;
|
|
2949
|
+
if (isInterface(tmp0_all, Collection)) {
|
|
2950
|
+
tmp_0 = tmp0_all.l();
|
|
2951
|
+
} else {
|
|
2952
|
+
tmp_0 = false;
|
|
2953
|
+
}
|
|
2954
|
+
if (tmp_0) {
|
|
2955
|
+
tmp$ret$0 = true;
|
|
2956
|
+
break $l$block_0;
|
|
2957
|
+
}
|
|
2958
|
+
var inductionVariable = tmp0_all.l2_1;
|
|
2959
|
+
var last = tmp0_all.m2_1;
|
|
2960
|
+
if (inductionVariable <= last)
|
|
2961
|
+
do {
|
|
2962
|
+
var element = inductionVariable;
|
|
2963
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
2964
|
+
var tmp$ret$1;
|
|
2965
|
+
// Inline function 'kotlin.text.isBlank.<anonymous>' call
|
|
2966
|
+
tmp$ret$1 = isWhitespace(charSequenceGet(_this__u8e3s4, element));
|
|
2967
|
+
if (!tmp$ret$1) {
|
|
2968
|
+
tmp$ret$0 = false;
|
|
2969
|
+
break $l$block_0;
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2972
|
+
while (!(element === last));
|
|
2973
|
+
tmp$ret$0 = true;
|
|
2974
|
+
}
|
|
2975
|
+
tmp = tmp$ret$0;
|
|
2976
|
+
}
|
|
2977
|
+
return tmp;
|
|
2978
|
+
}
|
|
2979
|
+
function addSuppressed(_this__u8e3s4, exception) {
|
|
2980
|
+
if (!(_this__u8e3s4 === exception)) {
|
|
2981
|
+
var tmp$ret$1;
|
|
2982
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2983
|
+
var tmp$ret$0;
|
|
2984
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2985
|
+
tmp$ret$0 = _this__u8e3s4;
|
|
2986
|
+
var tmp0_unsafeCast = tmp$ret$0._suppressed;
|
|
2987
|
+
tmp$ret$1 = tmp0_unsafeCast;
|
|
2988
|
+
var suppressed = tmp$ret$1;
|
|
2989
|
+
if (suppressed == null) {
|
|
2990
|
+
var tmp$ret$2;
|
|
2991
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2992
|
+
tmp$ret$2 = _this__u8e3s4;
|
|
2993
|
+
tmp$ret$2._suppressed = mutableListOf([exception]);
|
|
2994
|
+
} else {
|
|
2995
|
+
suppressed.k(exception);
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
function _Char___init__impl__6a9atx(value) {
|
|
3000
|
+
return value;
|
|
3001
|
+
}
|
|
3002
|
+
function _get_value__a43j40($this) {
|
|
3003
|
+
return $this;
|
|
3004
|
+
}
|
|
3005
|
+
function _Char___init__impl__6a9atx_0(code) {
|
|
3006
|
+
var tmp$ret$0;
|
|
3007
|
+
// Inline function 'kotlin.UShort.toInt' call
|
|
3008
|
+
tmp$ret$0 = _UShort___get_data__impl__g0245(code) & 65535;
|
|
3009
|
+
var tmp = _Char___init__impl__6a9atx(tmp$ret$0);
|
|
3010
|
+
return tmp;
|
|
3011
|
+
}
|
|
3012
|
+
function Char__compareTo_impl_ypi4mb($this, other) {
|
|
3013
|
+
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
3014
|
+
}
|
|
3015
|
+
function Char__minus_impl_a2frrh($this, other) {
|
|
3016
|
+
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
3017
|
+
}
|
|
3018
|
+
function Char__toInt_impl_vasixd($this) {
|
|
3019
|
+
return _get_value__a43j40($this);
|
|
3020
|
+
}
|
|
3021
|
+
function Char__equals_impl_x6719k($this, other) {
|
|
3022
|
+
if (!(other instanceof Char))
|
|
3023
|
+
return false;
|
|
3024
|
+
return _get_value__a43j40($this) === _get_value__a43j40(other.s2_1);
|
|
3025
|
+
}
|
|
3026
|
+
function Char__hashCode_impl_otmys($this) {
|
|
3027
|
+
return _get_value__a43j40($this);
|
|
3028
|
+
}
|
|
3029
|
+
function toString_0($this) {
|
|
3030
|
+
var tmp$ret$0;
|
|
3031
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3032
|
+
var tmp0_unsafeCast = String.fromCharCode(_get_value__a43j40($this));
|
|
3033
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
3034
|
+
return tmp$ret$0;
|
|
3035
|
+
}
|
|
3036
|
+
function Companion_5() {
|
|
3037
|
+
Companion_instance_5 = this;
|
|
3038
|
+
this.g7_1 = _Char___init__impl__6a9atx(0);
|
|
3039
|
+
this.h7_1 = _Char___init__impl__6a9atx(65535);
|
|
3040
|
+
this.i7_1 = _Char___init__impl__6a9atx(55296);
|
|
3041
|
+
this.j7_1 = _Char___init__impl__6a9atx(56319);
|
|
3042
|
+
this.k7_1 = _Char___init__impl__6a9atx(56320);
|
|
3043
|
+
this.l7_1 = _Char___init__impl__6a9atx(57343);
|
|
3044
|
+
this.m7_1 = _Char___init__impl__6a9atx(55296);
|
|
3045
|
+
this.n7_1 = _Char___init__impl__6a9atx(57343);
|
|
3046
|
+
this.o7_1 = 2;
|
|
3047
|
+
this.p7_1 = 16;
|
|
3048
|
+
}
|
|
3049
|
+
var Companion_instance_5;
|
|
3050
|
+
function Companion_getInstance_5() {
|
|
3051
|
+
if (Companion_instance_5 == null)
|
|
3052
|
+
new Companion_5();
|
|
3053
|
+
return Companion_instance_5;
|
|
3054
|
+
}
|
|
3055
|
+
function Char(value) {
|
|
3056
|
+
Companion_getInstance_5();
|
|
3057
|
+
this.s2_1 = value;
|
|
3058
|
+
}
|
|
3059
|
+
protoOf(Char).equals = function (other) {
|
|
3060
|
+
return Char__equals_impl_x6719k(this.s2_1, other);
|
|
3061
|
+
};
|
|
3062
|
+
protoOf(Char).hashCode = function () {
|
|
3063
|
+
return Char__hashCode_impl_otmys(this.s2_1);
|
|
3064
|
+
};
|
|
3065
|
+
protoOf(Char).toString = function () {
|
|
3066
|
+
return toString_0(this.s2_1);
|
|
3067
|
+
};
|
|
3068
|
+
function List() {
|
|
3069
|
+
}
|
|
3070
|
+
function Collection() {
|
|
3071
|
+
}
|
|
3072
|
+
function MutableEntry() {
|
|
3073
|
+
}
|
|
3074
|
+
function Entry() {
|
|
3075
|
+
}
|
|
3076
|
+
function Map() {
|
|
3077
|
+
}
|
|
3078
|
+
function Set() {
|
|
3079
|
+
}
|
|
3080
|
+
function Companion_6() {
|
|
3081
|
+
Companion_instance_6 = this;
|
|
3082
|
+
}
|
|
3083
|
+
var Companion_instance_6;
|
|
3084
|
+
function Companion_getInstance_6() {
|
|
3085
|
+
if (Companion_instance_6 == null)
|
|
3086
|
+
new Companion_6();
|
|
3087
|
+
return Companion_instance_6;
|
|
3088
|
+
}
|
|
3089
|
+
function Enum(name, ordinal) {
|
|
3090
|
+
Companion_getInstance_6();
|
|
3091
|
+
this.q7_1 = name;
|
|
3092
|
+
this.r7_1 = ordinal;
|
|
3093
|
+
}
|
|
3094
|
+
protoOf(Enum).equals = function (other) {
|
|
3095
|
+
return this === other;
|
|
3096
|
+
};
|
|
3097
|
+
protoOf(Enum).hashCode = function () {
|
|
3098
|
+
return identityHashCode(this);
|
|
3099
|
+
};
|
|
3100
|
+
protoOf(Enum).toString = function () {
|
|
3101
|
+
return this.q7_1;
|
|
3102
|
+
};
|
|
3103
|
+
function toString_1(_this__u8e3s4) {
|
|
3104
|
+
var tmp0_safe_receiver = _this__u8e3s4;
|
|
3105
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toString_2(tmp0_safe_receiver);
|
|
3106
|
+
return tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
3107
|
+
}
|
|
3108
|
+
function BitMask(activeBits) {
|
|
3109
|
+
var tmp = this;
|
|
3110
|
+
var tmp$ret$2;
|
|
3111
|
+
// Inline function 'kotlin.run' call
|
|
3112
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
3113
|
+
var tmp$ret$1;
|
|
3114
|
+
// Inline function 'kotlin.js.BitMask.intArray.<anonymous>' call
|
|
3115
|
+
var tmp_0;
|
|
3116
|
+
if (activeBits.length === 0) {
|
|
3117
|
+
tmp_0 = new Int32Array(0);
|
|
3118
|
+
} else {
|
|
3119
|
+
var tmp$ret$0;
|
|
3120
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3121
|
+
var tmp0_asDynamic = Math;
|
|
3122
|
+
tmp$ret$0 = tmp0_asDynamic;
|
|
3123
|
+
var max = tmp$ret$0.max.apply(null, activeBits);
|
|
3124
|
+
var intArray = new Int32Array((max >> 5) + 1 | 0);
|
|
3125
|
+
var indexedObject = activeBits;
|
|
3126
|
+
var inductionVariable = 0;
|
|
3127
|
+
var last = indexedObject.length;
|
|
3128
|
+
while (inductionVariable < last) {
|
|
3129
|
+
var activeBit = indexedObject[inductionVariable];
|
|
3130
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3131
|
+
var numberIndex = activeBit >> 5;
|
|
3132
|
+
var positionInNumber = activeBit & 31;
|
|
3133
|
+
var numberWithSettledBit = 1 << positionInNumber;
|
|
3134
|
+
intArray[numberIndex] = intArray[numberIndex] | numberWithSettledBit;
|
|
3135
|
+
}
|
|
3136
|
+
tmp_0 = intArray;
|
|
3137
|
+
}
|
|
3138
|
+
tmp$ret$1 = tmp_0;
|
|
3139
|
+
tmp$ret$2 = tmp$ret$1;
|
|
3140
|
+
tmp.s7_1 = tmp$ret$2;
|
|
3141
|
+
}
|
|
3142
|
+
protoOf(BitMask).t7 = function (possibleActiveBit) {
|
|
3143
|
+
var numberIndex = possibleActiveBit >> 5;
|
|
3144
|
+
if (numberIndex > this.s7_1.length)
|
|
3145
|
+
return false;
|
|
3146
|
+
var positionInNumber = possibleActiveBit & 31;
|
|
3147
|
+
var numberWithSettledBit = 1 << positionInNumber;
|
|
3148
|
+
return !((this.s7_1[numberIndex] & numberWithSettledBit) === 0);
|
|
3149
|
+
};
|
|
3150
|
+
function implement(interfaces) {
|
|
3151
|
+
var maxSize = 1;
|
|
3152
|
+
var masks = [];
|
|
3153
|
+
var indexedObject = interfaces;
|
|
3154
|
+
var inductionVariable = 0;
|
|
3155
|
+
var last = indexedObject.length;
|
|
3156
|
+
while (inductionVariable < last) {
|
|
3157
|
+
var i = indexedObject[inductionVariable];
|
|
3158
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3159
|
+
var currentSize = maxSize;
|
|
3160
|
+
var tmp1_elvis_lhs = i.prototype.$imask$;
|
|
3161
|
+
var imask = tmp1_elvis_lhs == null ? i.$imask$ : tmp1_elvis_lhs;
|
|
3162
|
+
if (!(imask == null)) {
|
|
3163
|
+
masks.push(imask);
|
|
3164
|
+
currentSize = imask.s7_1.length;
|
|
3165
|
+
}
|
|
3166
|
+
var iid = i.$metadata$.iid;
|
|
3167
|
+
var tmp2_safe_receiver = iid;
|
|
3168
|
+
var tmp;
|
|
3169
|
+
if (tmp2_safe_receiver == null) {
|
|
3170
|
+
tmp = null;
|
|
3171
|
+
} else {
|
|
3172
|
+
var tmp$ret$4;
|
|
3173
|
+
// Inline function 'kotlin.let' call
|
|
3174
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
3175
|
+
var tmp$ret$3;
|
|
3176
|
+
// Inline function 'kotlin.js.implement.<anonymous>' call
|
|
3177
|
+
var tmp$ret$2;
|
|
3178
|
+
// Inline function 'kotlin.arrayOf' call
|
|
3179
|
+
var tmp$ret$1;
|
|
3180
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3181
|
+
var tmp$ret$0;
|
|
3182
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3183
|
+
tmp$ret$0 = [tmp2_safe_receiver];
|
|
3184
|
+
tmp$ret$1 = tmp$ret$0;
|
|
3185
|
+
tmp$ret$2 = tmp$ret$1;
|
|
3186
|
+
tmp$ret$3 = new BitMask(tmp$ret$2);
|
|
3187
|
+
tmp$ret$4 = tmp$ret$3;
|
|
3188
|
+
tmp = tmp$ret$4;
|
|
3189
|
+
}
|
|
3190
|
+
var iidImask = tmp;
|
|
3191
|
+
if (!(iidImask == null)) {
|
|
3192
|
+
masks.push(iidImask);
|
|
3193
|
+
currentSize = Math.max(currentSize, iidImask.s7_1.length);
|
|
3194
|
+
}
|
|
3195
|
+
if (currentSize > maxSize) {
|
|
3196
|
+
maxSize = currentSize;
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
var tmp_0 = 0;
|
|
3200
|
+
var tmp_1 = maxSize;
|
|
3201
|
+
var tmp_2 = new Int32Array(tmp_1);
|
|
3202
|
+
while (tmp_0 < tmp_1) {
|
|
3203
|
+
var tmp_3 = tmp_0;
|
|
3204
|
+
var tmp$ret$5;
|
|
3205
|
+
// Inline function 'kotlin.js.implement.<anonymous>' call
|
|
3206
|
+
tmp$ret$5 = masks.reduce(implement$lambda(tmp_3), 0);
|
|
3207
|
+
tmp_2[tmp_3] = tmp$ret$5;
|
|
3208
|
+
tmp_0 = tmp_0 + 1 | 0;
|
|
3209
|
+
}
|
|
3210
|
+
var resultIntArray = tmp_2;
|
|
3211
|
+
var tmp$ret$6;
|
|
3212
|
+
// Inline function 'kotlin.emptyArray' call
|
|
3213
|
+
tmp$ret$6 = [];
|
|
3214
|
+
var result = new BitMask(tmp$ret$6);
|
|
3215
|
+
result.s7_1 = resultIntArray;
|
|
3216
|
+
return result;
|
|
3217
|
+
}
|
|
3218
|
+
function implement$lambda($tmp) {
|
|
3219
|
+
return function (acc, it) {
|
|
3220
|
+
return $tmp >= it.s7_1.length ? acc : acc | it.s7_1[$tmp];
|
|
3221
|
+
};
|
|
3222
|
+
}
|
|
3223
|
+
function fillArrayVal(array, initValue) {
|
|
3224
|
+
var inductionVariable = 0;
|
|
3225
|
+
var last = array.length - 1 | 0;
|
|
3226
|
+
if (inductionVariable <= last)
|
|
3227
|
+
do {
|
|
3228
|
+
var i = inductionVariable;
|
|
3229
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3230
|
+
array[i] = initValue;
|
|
3231
|
+
}
|
|
3232
|
+
while (!(i === last));
|
|
3233
|
+
return array;
|
|
3234
|
+
}
|
|
3235
|
+
function arrayIterator(array) {
|
|
3236
|
+
return new arrayIterator$1(array);
|
|
3237
|
+
}
|
|
3238
|
+
function arrayIterator$1($array) {
|
|
3239
|
+
this.v7_1 = $array;
|
|
3240
|
+
this.u7_1 = 0;
|
|
3241
|
+
}
|
|
3242
|
+
protoOf(arrayIterator$1).c = function () {
|
|
3243
|
+
return !(this.u7_1 === this.v7_1.length);
|
|
3244
|
+
};
|
|
3245
|
+
protoOf(arrayIterator$1).d = function () {
|
|
3246
|
+
var tmp;
|
|
3247
|
+
if (!(this.u7_1 === this.v7_1.length)) {
|
|
3248
|
+
var tmp0_this = this;
|
|
3249
|
+
var tmp1 = tmp0_this.u7_1;
|
|
3250
|
+
tmp0_this.u7_1 = tmp1 + 1 | 0;
|
|
3251
|
+
tmp = this.v7_1[tmp1];
|
|
3252
|
+
} else {
|
|
3253
|
+
throw NoSuchElementException_init_$Create$_0('' + this.u7_1);
|
|
3254
|
+
}
|
|
3255
|
+
return tmp;
|
|
3256
|
+
};
|
|
3257
|
+
function get_buf() {
|
|
3258
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3259
|
+
return buf;
|
|
3260
|
+
}
|
|
3261
|
+
var buf;
|
|
3262
|
+
function get_bufFloat64() {
|
|
3263
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3264
|
+
return bufFloat64;
|
|
3265
|
+
}
|
|
3266
|
+
var bufFloat64;
|
|
3267
|
+
var bufFloat32;
|
|
3268
|
+
function get_bufInt32() {
|
|
3269
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3270
|
+
return bufInt32;
|
|
3271
|
+
}
|
|
3272
|
+
var bufInt32;
|
|
3273
|
+
function get_lowIndex() {
|
|
3274
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3275
|
+
return lowIndex;
|
|
3276
|
+
}
|
|
3277
|
+
var lowIndex;
|
|
3278
|
+
function get_highIndex() {
|
|
3279
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3280
|
+
return highIndex;
|
|
3281
|
+
}
|
|
3282
|
+
var highIndex;
|
|
3283
|
+
function getNumberHashCode(obj) {
|
|
3284
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3285
|
+
var tmp$ret$2;
|
|
3286
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3287
|
+
var tmp$ret$0;
|
|
3288
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
3289
|
+
tmp$ret$0 = obj | 0;
|
|
3290
|
+
var tmp0_unsafeCast = tmp$ret$0;
|
|
3291
|
+
var tmp$ret$1;
|
|
3292
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3293
|
+
tmp$ret$1 = tmp0_unsafeCast;
|
|
3294
|
+
tmp$ret$2 = tmp$ret$1;
|
|
3295
|
+
if (tmp$ret$2 === obj) {
|
|
3296
|
+
return numberToInt(obj);
|
|
3297
|
+
}
|
|
3298
|
+
get_bufFloat64()[0] = obj;
|
|
3299
|
+
return imul(get_bufInt32()[get_highIndex()], 31) + get_bufInt32()[get_lowIndex()] | 0;
|
|
3300
|
+
}
|
|
3301
|
+
var properties_initialized_bitUtils_kt_i2bo3e;
|
|
3302
|
+
function _init_properties_bitUtils_kt__nfcg4k() {
|
|
3303
|
+
if (properties_initialized_bitUtils_kt_i2bo3e) {
|
|
3304
|
+
} else {
|
|
3305
|
+
properties_initialized_bitUtils_kt_i2bo3e = true;
|
|
3306
|
+
buf = new ArrayBuffer(8);
|
|
3307
|
+
var tmp$ret$1;
|
|
3308
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3309
|
+
var tmp0_unsafeCast = new Float64Array(get_buf());
|
|
3310
|
+
var tmp$ret$0;
|
|
3311
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3312
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
3313
|
+
tmp$ret$1 = tmp$ret$0;
|
|
3314
|
+
bufFloat64 = tmp$ret$1;
|
|
3315
|
+
var tmp$ret$1_0;
|
|
3316
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3317
|
+
var tmp0_unsafeCast_0 = new Float32Array(get_buf());
|
|
3318
|
+
var tmp$ret$0_0;
|
|
3319
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3320
|
+
tmp$ret$0_0 = tmp0_unsafeCast_0;
|
|
3321
|
+
tmp$ret$1_0 = tmp$ret$0_0;
|
|
3322
|
+
bufFloat32 = tmp$ret$1_0;
|
|
3323
|
+
var tmp$ret$1_1;
|
|
3324
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3325
|
+
var tmp0_unsafeCast_1 = new Int32Array(get_buf());
|
|
3326
|
+
var tmp$ret$0_1;
|
|
3327
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3328
|
+
tmp$ret$0_1 = tmp0_unsafeCast_1;
|
|
3329
|
+
tmp$ret$1_1 = tmp$ret$0_1;
|
|
3330
|
+
bufInt32 = tmp$ret$1_1;
|
|
3331
|
+
var tmp$ret$1_2;
|
|
3332
|
+
// Inline function 'kotlin.run' call
|
|
3333
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
3334
|
+
var tmp$ret$0_2;
|
|
3335
|
+
// Inline function 'kotlin.js.lowIndex.<anonymous>' call
|
|
3336
|
+
get_bufFloat64()[0] = -1.0;
|
|
3337
|
+
tmp$ret$0_2 = !(get_bufInt32()[0] === 0) ? 1 : 0;
|
|
3338
|
+
tmp$ret$1_2 = tmp$ret$0_2;
|
|
3339
|
+
lowIndex = tmp$ret$1_2;
|
|
3340
|
+
highIndex = 1 - get_lowIndex() | 0;
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
function charSequenceGet(a, index) {
|
|
3344
|
+
var tmp;
|
|
3345
|
+
if (isString(a)) {
|
|
3346
|
+
var tmp$ret$4;
|
|
3347
|
+
// Inline function 'kotlin.Char' call
|
|
3348
|
+
var tmp$ret$1;
|
|
3349
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3350
|
+
var tmp$ret$0;
|
|
3351
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3352
|
+
tmp$ret$0 = a;
|
|
3353
|
+
var tmp0_unsafeCast = tmp$ret$0.charCodeAt(index);
|
|
3354
|
+
tmp$ret$1 = tmp0_unsafeCast;
|
|
3355
|
+
var tmp3_Char = tmp$ret$1;
|
|
3356
|
+
var tmp_0;
|
|
3357
|
+
var tmp$ret$2;
|
|
3358
|
+
// Inline function 'kotlin.code' call
|
|
3359
|
+
Companion_getInstance_5();
|
|
3360
|
+
var tmp1__get_code__adl84j = _Char___init__impl__6a9atx(0);
|
|
3361
|
+
tmp$ret$2 = Char__toInt_impl_vasixd(tmp1__get_code__adl84j);
|
|
3362
|
+
if (tmp3_Char < tmp$ret$2) {
|
|
3363
|
+
tmp_0 = true;
|
|
3364
|
+
} else {
|
|
3365
|
+
var tmp$ret$3;
|
|
3366
|
+
// Inline function 'kotlin.code' call
|
|
3367
|
+
Companion_getInstance_5();
|
|
3368
|
+
var tmp2__get_code__cifwzm = _Char___init__impl__6a9atx(65535);
|
|
3369
|
+
tmp$ret$3 = Char__toInt_impl_vasixd(tmp2__get_code__cifwzm);
|
|
3370
|
+
tmp_0 = tmp3_Char > tmp$ret$3;
|
|
3371
|
+
}
|
|
3372
|
+
if (tmp_0) {
|
|
3373
|
+
throw IllegalArgumentException_init_$Create$('Invalid Char code: ' + tmp3_Char);
|
|
3374
|
+
}
|
|
3375
|
+
tmp$ret$4 = numberToChar(tmp3_Char);
|
|
3376
|
+
tmp = tmp$ret$4;
|
|
3377
|
+
} else {
|
|
3378
|
+
tmp = a.e3(index);
|
|
3379
|
+
}
|
|
3380
|
+
return tmp;
|
|
3381
|
+
}
|
|
3382
|
+
function isString(a) {
|
|
3383
|
+
return typeof a === 'string';
|
|
3384
|
+
}
|
|
3385
|
+
function charSequenceLength(a) {
|
|
3386
|
+
var tmp;
|
|
3387
|
+
if (isString(a)) {
|
|
3388
|
+
var tmp$ret$1;
|
|
3389
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3390
|
+
var tmp$ret$0;
|
|
3391
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3392
|
+
tmp$ret$0 = a;
|
|
3393
|
+
var tmp0_unsafeCast = tmp$ret$0.length;
|
|
3394
|
+
tmp$ret$1 = tmp0_unsafeCast;
|
|
3395
|
+
tmp = tmp$ret$1;
|
|
3396
|
+
} else {
|
|
3397
|
+
tmp = a.d3();
|
|
3398
|
+
}
|
|
3399
|
+
return tmp;
|
|
3400
|
+
}
|
|
3401
|
+
function arrayToString(array) {
|
|
3402
|
+
return joinToString(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
|
|
3403
|
+
}
|
|
3404
|
+
function arrayToString$lambda(it) {
|
|
3405
|
+
return toString_2(it);
|
|
3406
|
+
}
|
|
3407
|
+
function identityHashCode(obj) {
|
|
3408
|
+
return getObjectHashCode(obj);
|
|
3409
|
+
}
|
|
3410
|
+
function getObjectHashCode(obj) {
|
|
3411
|
+
var tmp$ret$0;
|
|
3412
|
+
// Inline function 'kotlin.js.jsIn' call
|
|
3413
|
+
var tmp0_jsIn = 'kotlinHashCodeValue$';
|
|
3414
|
+
var tmp1_jsIn = obj;
|
|
3415
|
+
tmp$ret$0 = tmp0_jsIn in tmp1_jsIn;
|
|
3416
|
+
if (!tmp$ret$0) {
|
|
3417
|
+
var tmp$ret$1;
|
|
3418
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
3419
|
+
var tmp2_jsBitwiseOr = Math.random() * 4.294967296E9;
|
|
3420
|
+
tmp$ret$1 = tmp2_jsBitwiseOr | 0;
|
|
3421
|
+
var hash = tmp$ret$1;
|
|
3422
|
+
var descriptor = new Object();
|
|
3423
|
+
descriptor.value = hash;
|
|
3424
|
+
descriptor.enumerable = false;
|
|
3425
|
+
Object.defineProperty(obj, 'kotlinHashCodeValue$', descriptor);
|
|
3426
|
+
}
|
|
3427
|
+
var tmp$ret$2;
|
|
3428
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3429
|
+
var tmp3_unsafeCast = obj['kotlinHashCodeValue$'];
|
|
3430
|
+
tmp$ret$2 = tmp3_unsafeCast;
|
|
3431
|
+
return tmp$ret$2;
|
|
3432
|
+
}
|
|
3433
|
+
function toString_2(o) {
|
|
3434
|
+
var tmp;
|
|
3435
|
+
if (o == null) {
|
|
3436
|
+
tmp = 'null';
|
|
3437
|
+
} else if (isArrayish(o)) {
|
|
3438
|
+
tmp = '[...]';
|
|
3439
|
+
} else {
|
|
3440
|
+
var tmp$ret$0;
|
|
3441
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3442
|
+
var tmp0_unsafeCast = o.toString();
|
|
3443
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
3444
|
+
tmp = tmp$ret$0;
|
|
3445
|
+
}
|
|
3446
|
+
return tmp;
|
|
3447
|
+
}
|
|
3448
|
+
function equals(obj1, obj2) {
|
|
3449
|
+
if (obj1 == null) {
|
|
3450
|
+
return obj2 == null;
|
|
3451
|
+
}
|
|
3452
|
+
if (obj2 == null) {
|
|
3453
|
+
return false;
|
|
3454
|
+
}
|
|
3455
|
+
if (typeof obj1 === 'object' ? typeof obj1.equals === 'function' : false) {
|
|
3456
|
+
return obj1.equals(obj2);
|
|
3457
|
+
}
|
|
3458
|
+
if (obj1 !== obj1) {
|
|
3459
|
+
return obj2 !== obj2;
|
|
3460
|
+
}
|
|
3461
|
+
if (typeof obj1 === 'number' ? typeof obj2 === 'number' : false) {
|
|
3462
|
+
var tmp;
|
|
3463
|
+
if (obj1 === obj2) {
|
|
3464
|
+
var tmp_0;
|
|
3465
|
+
if (obj1 !== 0) {
|
|
3466
|
+
tmp_0 = true;
|
|
3467
|
+
} else {
|
|
3468
|
+
var tmp$ret$0;
|
|
3469
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3470
|
+
tmp$ret$0 = 1;
|
|
3471
|
+
var tmp_1 = tmp$ret$0 / obj1;
|
|
3472
|
+
var tmp$ret$1;
|
|
3473
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3474
|
+
tmp$ret$1 = 1;
|
|
3475
|
+
tmp_0 = tmp_1 === tmp$ret$1 / obj2;
|
|
3476
|
+
}
|
|
3477
|
+
tmp = tmp_0;
|
|
3478
|
+
} else {
|
|
3479
|
+
tmp = false;
|
|
3480
|
+
}
|
|
3481
|
+
return tmp;
|
|
3482
|
+
}
|
|
3483
|
+
return obj1 === obj2;
|
|
3484
|
+
}
|
|
3485
|
+
function hashCode(obj) {
|
|
3486
|
+
if (obj == null)
|
|
3487
|
+
return 0;
|
|
3488
|
+
var tmp0_subject = typeof obj;
|
|
3489
|
+
var tmp;
|
|
3490
|
+
switch (tmp0_subject) {
|
|
3491
|
+
case 'object':
|
|
3492
|
+
tmp = 'function' === typeof obj.hashCode ? obj.hashCode() : getObjectHashCode(obj);
|
|
3493
|
+
break;
|
|
3494
|
+
case 'function':
|
|
3495
|
+
tmp = getObjectHashCode(obj);
|
|
3496
|
+
break;
|
|
3497
|
+
case 'number':
|
|
3498
|
+
tmp = getNumberHashCode(obj);
|
|
3499
|
+
break;
|
|
3500
|
+
case 'boolean':
|
|
3501
|
+
var tmp_0;
|
|
3502
|
+
var tmp$ret$0;
|
|
3503
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3504
|
+
tmp$ret$0 = obj;
|
|
3505
|
+
|
|
3506
|
+
if (tmp$ret$0) {
|
|
3507
|
+
tmp_0 = 1;
|
|
3508
|
+
} else {
|
|
3509
|
+
tmp_0 = 0;
|
|
3510
|
+
}
|
|
3511
|
+
|
|
3512
|
+
tmp = tmp_0;
|
|
3513
|
+
break;
|
|
3514
|
+
default:
|
|
3515
|
+
tmp = getStringHashCode(String(obj));
|
|
3516
|
+
break;
|
|
3517
|
+
}
|
|
3518
|
+
return tmp;
|
|
3519
|
+
}
|
|
3520
|
+
function getStringHashCode(str) {
|
|
3521
|
+
var hash = 0;
|
|
3522
|
+
var length = str.length;
|
|
3523
|
+
var inductionVariable = 0;
|
|
3524
|
+
var last = length - 1 | 0;
|
|
3525
|
+
if (inductionVariable <= last)
|
|
3526
|
+
do {
|
|
3527
|
+
var i = inductionVariable;
|
|
3528
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3529
|
+
var tmp$ret$0;
|
|
3530
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3531
|
+
tmp$ret$0 = str;
|
|
3532
|
+
var code = tmp$ret$0.charCodeAt(i);
|
|
3533
|
+
hash = imul(hash, 31) + code | 0;
|
|
3534
|
+
}
|
|
3535
|
+
while (!(i === last));
|
|
3536
|
+
return hash;
|
|
3537
|
+
}
|
|
3538
|
+
function anyToString(o) {
|
|
3539
|
+
return Object.prototype.toString.call(o);
|
|
3540
|
+
}
|
|
3541
|
+
function boxIntrinsic(x) {
|
|
3542
|
+
throw IllegalStateException_init_$Create$('Should be lowered');
|
|
3543
|
+
}
|
|
3544
|
+
function unboxIntrinsic(x) {
|
|
3545
|
+
throw IllegalStateException_init_$Create$('Should be lowered');
|
|
3546
|
+
}
|
|
3547
|
+
function captureStack(instance, constructorFunction) {
|
|
3548
|
+
if (Error.captureStackTrace != null) {
|
|
3549
|
+
Error.captureStackTrace(instance, constructorFunction);
|
|
3550
|
+
} else {
|
|
3551
|
+
var tmp$ret$0;
|
|
3552
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3553
|
+
tmp$ret$0 = instance;
|
|
3554
|
+
tmp$ret$0.stack = (new Error()).stack;
|
|
3555
|
+
}
|
|
3556
|
+
}
|
|
3557
|
+
function protoOf(constructor) {
|
|
3558
|
+
return constructor.prototype;
|
|
3559
|
+
}
|
|
3560
|
+
function defineProp(obj, name, getter, setter) {
|
|
3561
|
+
return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter});
|
|
3562
|
+
}
|
|
3563
|
+
function objectCreate(proto) {
|
|
3564
|
+
return Object.create(proto);
|
|
3565
|
+
}
|
|
3566
|
+
function extendThrowable(this_, message, cause) {
|
|
3567
|
+
Error.call(this_);
|
|
3568
|
+
setPropertiesToThrowableInstance(this_, message, cause);
|
|
3569
|
+
}
|
|
3570
|
+
function setPropertiesToThrowableInstance(this_, message, cause) {
|
|
3571
|
+
if (!hasOwnPrototypeProperty(this_, 'message')) {
|
|
3572
|
+
var tmp;
|
|
3573
|
+
if (message == null) {
|
|
3574
|
+
var tmp_0;
|
|
3575
|
+
if (!(message === null)) {
|
|
3576
|
+
var tmp0_safe_receiver = cause;
|
|
3577
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString();
|
|
3578
|
+
tmp_0 = tmp1_elvis_lhs == null ? VOID : tmp1_elvis_lhs;
|
|
3579
|
+
} else {
|
|
3580
|
+
tmp_0 = VOID;
|
|
3581
|
+
}
|
|
3582
|
+
tmp = tmp_0;
|
|
3583
|
+
} else {
|
|
3584
|
+
tmp = message;
|
|
3585
|
+
}
|
|
3586
|
+
this_.message = tmp;
|
|
3587
|
+
}
|
|
3588
|
+
if (!hasOwnPrototypeProperty(this_, 'cause')) {
|
|
3589
|
+
this_.cause = cause;
|
|
3590
|
+
}
|
|
3591
|
+
this_.name = Object.getPrototypeOf(this_).constructor.name;
|
|
3592
|
+
}
|
|
3593
|
+
function hasOwnPrototypeProperty(o, name) {
|
|
3594
|
+
var tmp$ret$0;
|
|
3595
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3596
|
+
var tmp0_unsafeCast = Object.getPrototypeOf(o).hasOwnProperty(name);
|
|
3597
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
3598
|
+
return tmp$ret$0;
|
|
3599
|
+
}
|
|
3600
|
+
function ensureNotNull(v) {
|
|
3601
|
+
var tmp;
|
|
3602
|
+
if (v == null) {
|
|
3603
|
+
THROW_NPE();
|
|
3604
|
+
} else {
|
|
3605
|
+
tmp = v;
|
|
3606
|
+
}
|
|
3607
|
+
return tmp;
|
|
3608
|
+
}
|
|
3609
|
+
function THROW_NPE() {
|
|
3610
|
+
throw NullPointerException_init_$Create$();
|
|
3611
|
+
}
|
|
3612
|
+
function noWhenBranchMatchedException() {
|
|
3613
|
+
throw NoWhenBranchMatchedException_init_$Create$();
|
|
3614
|
+
}
|
|
3615
|
+
function THROW_CCE() {
|
|
3616
|
+
throw ClassCastException_init_$Create$();
|
|
3617
|
+
}
|
|
3618
|
+
function throwUninitializedPropertyAccessException(name) {
|
|
3619
|
+
throw UninitializedPropertyAccessException_init_$Create$('lateinit property ' + name + ' has not been initialized');
|
|
3620
|
+
}
|
|
3621
|
+
function throwKotlinNothingValueException() {
|
|
3622
|
+
throw KotlinNothingValueException_init_$Create$();
|
|
3623
|
+
}
|
|
3624
|
+
function arrayCopyResize(source, newSize, defaultValue) {
|
|
3625
|
+
var tmp$ret$0;
|
|
3626
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3627
|
+
var tmp0_unsafeCast = source.slice(0, newSize);
|
|
3628
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
3629
|
+
var result = tmp$ret$0;
|
|
3630
|
+
// Inline function 'kotlin.copyArrayType' call
|
|
3631
|
+
if (source.$type$ !== undefined) {
|
|
3632
|
+
result.$type$ = source.$type$;
|
|
3633
|
+
}
|
|
3634
|
+
var index = source.length;
|
|
3635
|
+
if (newSize > index) {
|
|
3636
|
+
var tmp$ret$1;
|
|
3637
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3638
|
+
tmp$ret$1 = result;
|
|
3639
|
+
tmp$ret$1.length = newSize;
|
|
3640
|
+
while (index < newSize) {
|
|
3641
|
+
var tmp0 = index;
|
|
3642
|
+
index = tmp0 + 1 | 0;
|
|
3643
|
+
result[tmp0] = defaultValue;
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
return result;
|
|
3647
|
+
}
|
|
3648
|
+
function Companion_7() {
|
|
3649
|
+
Companion_instance_7 = this;
|
|
3650
|
+
this.w7_1 = new Long(0, -2147483648);
|
|
3651
|
+
this.x7_1 = new Long(-1, 2147483647);
|
|
3652
|
+
this.y7_1 = 8;
|
|
3653
|
+
this.z7_1 = 64;
|
|
3654
|
+
}
|
|
3655
|
+
var Companion_instance_7;
|
|
3656
|
+
function Companion_getInstance_7() {
|
|
3657
|
+
if (Companion_instance_7 == null)
|
|
3658
|
+
new Companion_7();
|
|
3659
|
+
return Companion_instance_7;
|
|
3660
|
+
}
|
|
3661
|
+
function Long(low, high) {
|
|
3662
|
+
Companion_getInstance_7();
|
|
3663
|
+
Number_0.call(this);
|
|
3664
|
+
this.u2_1 = low;
|
|
3665
|
+
this.v2_1 = high;
|
|
3666
|
+
}
|
|
3667
|
+
protoOf(Long).y2 = function (other) {
|
|
3668
|
+
return compare(this, other);
|
|
3669
|
+
};
|
|
3670
|
+
protoOf(Long).a3 = function (other) {
|
|
3671
|
+
return add(this, other);
|
|
3672
|
+
};
|
|
3673
|
+
protoOf(Long).b3 = function (other) {
|
|
3674
|
+
return subtract(this, other);
|
|
3675
|
+
};
|
|
3676
|
+
protoOf(Long).z2 = function (other) {
|
|
3677
|
+
return multiply(this, other);
|
|
3678
|
+
};
|
|
3679
|
+
protoOf(Long).x2 = function (other) {
|
|
3680
|
+
return divide(this, other);
|
|
3681
|
+
};
|
|
3682
|
+
protoOf(Long).a8 = function () {
|
|
3683
|
+
return this.a3(new Long(1, 0));
|
|
3684
|
+
};
|
|
3685
|
+
protoOf(Long).w2 = function () {
|
|
3686
|
+
return this.b8().a3(new Long(1, 0));
|
|
3687
|
+
};
|
|
3688
|
+
protoOf(Long).b8 = function () {
|
|
3689
|
+
return new Long(~this.u2_1, ~this.v2_1);
|
|
3690
|
+
};
|
|
3691
|
+
protoOf(Long).c8 = function () {
|
|
3692
|
+
return this.u2_1;
|
|
3693
|
+
};
|
|
3694
|
+
protoOf(Long).d8 = function () {
|
|
3695
|
+
return toNumber(this);
|
|
3696
|
+
};
|
|
3697
|
+
protoOf(Long).valueOf = function () {
|
|
3698
|
+
return this.d8();
|
|
3699
|
+
};
|
|
3700
|
+
protoOf(Long).equals = function (other) {
|
|
3701
|
+
var tmp;
|
|
3702
|
+
if (other instanceof Long) {
|
|
3703
|
+
tmp = equalsLong(this, other);
|
|
3704
|
+
} else {
|
|
3705
|
+
tmp = false;
|
|
3706
|
+
}
|
|
3707
|
+
return tmp;
|
|
3708
|
+
};
|
|
3709
|
+
protoOf(Long).hashCode = function () {
|
|
3710
|
+
return hashCode_0(this);
|
|
3711
|
+
};
|
|
3712
|
+
protoOf(Long).toString = function () {
|
|
3713
|
+
return toStringImpl(this, 10);
|
|
3714
|
+
};
|
|
3715
|
+
function get_ZERO() {
|
|
3716
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3717
|
+
return ZERO;
|
|
3718
|
+
}
|
|
3719
|
+
var ZERO;
|
|
3720
|
+
function get_ONE() {
|
|
3721
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3722
|
+
return ONE;
|
|
3723
|
+
}
|
|
3724
|
+
var ONE;
|
|
3725
|
+
function get_NEG_ONE() {
|
|
3726
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3727
|
+
return NEG_ONE;
|
|
3728
|
+
}
|
|
3729
|
+
var NEG_ONE;
|
|
3730
|
+
function get_MAX_VALUE() {
|
|
3731
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3732
|
+
return MAX_VALUE;
|
|
3733
|
+
}
|
|
3734
|
+
var MAX_VALUE;
|
|
3735
|
+
function get_MIN_VALUE() {
|
|
3736
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3737
|
+
return MIN_VALUE;
|
|
3738
|
+
}
|
|
3739
|
+
var MIN_VALUE;
|
|
3740
|
+
function get_TWO_PWR_24_() {
|
|
3741
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3742
|
+
return TWO_PWR_24_;
|
|
3743
|
+
}
|
|
3744
|
+
var TWO_PWR_24_;
|
|
3745
|
+
function compare(_this__u8e3s4, other) {
|
|
3746
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3747
|
+
if (equalsLong(_this__u8e3s4, other)) {
|
|
3748
|
+
return 0;
|
|
3749
|
+
}
|
|
3750
|
+
var thisNeg = isNegative(_this__u8e3s4);
|
|
3751
|
+
var otherNeg = isNegative(other);
|
|
3752
|
+
return (thisNeg ? !otherNeg : false) ? -1 : (!thisNeg ? otherNeg : false) ? 1 : isNegative(subtract(_this__u8e3s4, other)) ? -1 : 1;
|
|
3753
|
+
}
|
|
3754
|
+
function add(_this__u8e3s4, other) {
|
|
3755
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3756
|
+
var a48 = _this__u8e3s4.v2_1 >>> 16 | 0;
|
|
3757
|
+
var a32 = _this__u8e3s4.v2_1 & 65535;
|
|
3758
|
+
var a16 = _this__u8e3s4.u2_1 >>> 16 | 0;
|
|
3759
|
+
var a00 = _this__u8e3s4.u2_1 & 65535;
|
|
3760
|
+
var b48 = other.v2_1 >>> 16 | 0;
|
|
3761
|
+
var b32 = other.v2_1 & 65535;
|
|
3762
|
+
var b16 = other.u2_1 >>> 16 | 0;
|
|
3763
|
+
var b00 = other.u2_1 & 65535;
|
|
3764
|
+
var c48 = 0;
|
|
3765
|
+
var c32 = 0;
|
|
3766
|
+
var c16 = 0;
|
|
3767
|
+
var c00 = 0;
|
|
3768
|
+
c00 = c00 + (a00 + b00 | 0) | 0;
|
|
3769
|
+
c16 = c16 + (c00 >>> 16 | 0) | 0;
|
|
3770
|
+
c00 = c00 & 65535;
|
|
3771
|
+
c16 = c16 + (a16 + b16 | 0) | 0;
|
|
3772
|
+
c32 = c32 + (c16 >>> 16 | 0) | 0;
|
|
3773
|
+
c16 = c16 & 65535;
|
|
3774
|
+
c32 = c32 + (a32 + b32 | 0) | 0;
|
|
3775
|
+
c48 = c48 + (c32 >>> 16 | 0) | 0;
|
|
3776
|
+
c32 = c32 & 65535;
|
|
3777
|
+
c48 = c48 + (a48 + b48 | 0) | 0;
|
|
3778
|
+
c48 = c48 & 65535;
|
|
3779
|
+
return new Long(c16 << 16 | c00, c48 << 16 | c32);
|
|
3780
|
+
}
|
|
3781
|
+
function subtract(_this__u8e3s4, other) {
|
|
3782
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3783
|
+
return add(_this__u8e3s4, other.w2());
|
|
3784
|
+
}
|
|
3785
|
+
function multiply(_this__u8e3s4, other) {
|
|
3786
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3787
|
+
if (isZero(_this__u8e3s4)) {
|
|
3788
|
+
return get_ZERO();
|
|
3789
|
+
} else if (isZero(other)) {
|
|
3790
|
+
return get_ZERO();
|
|
3791
|
+
}
|
|
3792
|
+
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
|
|
3793
|
+
return isOdd(other) ? get_MIN_VALUE() : get_ZERO();
|
|
3794
|
+
} else if (equalsLong(other, get_MIN_VALUE())) {
|
|
3795
|
+
return isOdd(_this__u8e3s4) ? get_MIN_VALUE() : get_ZERO();
|
|
3796
|
+
}
|
|
3797
|
+
if (isNegative(_this__u8e3s4)) {
|
|
3798
|
+
var tmp;
|
|
3799
|
+
if (isNegative(other)) {
|
|
3800
|
+
tmp = multiply(negate(_this__u8e3s4), negate(other));
|
|
3801
|
+
} else {
|
|
3802
|
+
tmp = negate(multiply(negate(_this__u8e3s4), other));
|
|
3803
|
+
}
|
|
3804
|
+
return tmp;
|
|
3805
|
+
} else if (isNegative(other)) {
|
|
3806
|
+
return negate(multiply(_this__u8e3s4, negate(other)));
|
|
3807
|
+
}
|
|
3808
|
+
if (lessThan(_this__u8e3s4, get_TWO_PWR_24_()) ? lessThan(other, get_TWO_PWR_24_()) : false) {
|
|
3809
|
+
return fromNumber(toNumber(_this__u8e3s4) * toNumber(other));
|
|
3810
|
+
}
|
|
3811
|
+
var a48 = _this__u8e3s4.v2_1 >>> 16 | 0;
|
|
3812
|
+
var a32 = _this__u8e3s4.v2_1 & 65535;
|
|
3813
|
+
var a16 = _this__u8e3s4.u2_1 >>> 16 | 0;
|
|
3814
|
+
var a00 = _this__u8e3s4.u2_1 & 65535;
|
|
3815
|
+
var b48 = other.v2_1 >>> 16 | 0;
|
|
3816
|
+
var b32 = other.v2_1 & 65535;
|
|
3817
|
+
var b16 = other.u2_1 >>> 16 | 0;
|
|
3818
|
+
var b00 = other.u2_1 & 65535;
|
|
3819
|
+
var c48 = 0;
|
|
3820
|
+
var c32 = 0;
|
|
3821
|
+
var c16 = 0;
|
|
3822
|
+
var c00 = 0;
|
|
3823
|
+
c00 = c00 + imul(a00, b00) | 0;
|
|
3824
|
+
c16 = c16 + (c00 >>> 16 | 0) | 0;
|
|
3825
|
+
c00 = c00 & 65535;
|
|
3826
|
+
c16 = c16 + imul(a16, b00) | 0;
|
|
3827
|
+
c32 = c32 + (c16 >>> 16 | 0) | 0;
|
|
3828
|
+
c16 = c16 & 65535;
|
|
3829
|
+
c16 = c16 + imul(a00, b16) | 0;
|
|
3830
|
+
c32 = c32 + (c16 >>> 16 | 0) | 0;
|
|
3831
|
+
c16 = c16 & 65535;
|
|
3832
|
+
c32 = c32 + imul(a32, b00) | 0;
|
|
3833
|
+
c48 = c48 + (c32 >>> 16 | 0) | 0;
|
|
3834
|
+
c32 = c32 & 65535;
|
|
3835
|
+
c32 = c32 + imul(a16, b16) | 0;
|
|
3836
|
+
c48 = c48 + (c32 >>> 16 | 0) | 0;
|
|
3837
|
+
c32 = c32 & 65535;
|
|
3838
|
+
c32 = c32 + imul(a00, b32) | 0;
|
|
3839
|
+
c48 = c48 + (c32 >>> 16 | 0) | 0;
|
|
3840
|
+
c32 = c32 & 65535;
|
|
3841
|
+
c48 = c48 + (((imul(a48, b00) + imul(a32, b16) | 0) + imul(a16, b32) | 0) + imul(a00, b48) | 0) | 0;
|
|
3842
|
+
c48 = c48 & 65535;
|
|
3843
|
+
return new Long(c16 << 16 | c00, c48 << 16 | c32);
|
|
3844
|
+
}
|
|
3845
|
+
function divide(_this__u8e3s4, other) {
|
|
3846
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3847
|
+
if (isZero(other)) {
|
|
3848
|
+
throw Exception_init_$Create$('division by zero');
|
|
3849
|
+
} else if (isZero(_this__u8e3s4)) {
|
|
3850
|
+
return get_ZERO();
|
|
3851
|
+
}
|
|
3852
|
+
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
|
|
3853
|
+
if (equalsLong(other, get_ONE()) ? true : equalsLong(other, get_NEG_ONE())) {
|
|
3854
|
+
return get_MIN_VALUE();
|
|
3855
|
+
} else if (equalsLong(other, get_MIN_VALUE())) {
|
|
3856
|
+
return get_ONE();
|
|
3857
|
+
} else {
|
|
3858
|
+
var halfThis = shiftRight(_this__u8e3s4, 1);
|
|
3859
|
+
var approx = shiftLeft(halfThis.x2(other), 1);
|
|
3860
|
+
if (equalsLong(approx, get_ZERO())) {
|
|
3861
|
+
return isNegative(other) ? get_ONE() : get_NEG_ONE();
|
|
3862
|
+
} else {
|
|
3863
|
+
var rem = subtract(_this__u8e3s4, multiply(other, approx));
|
|
3864
|
+
return add(approx, rem.x2(other));
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3867
|
+
} else if (equalsLong(other, get_MIN_VALUE())) {
|
|
3868
|
+
return get_ZERO();
|
|
3869
|
+
}
|
|
3870
|
+
if (isNegative(_this__u8e3s4)) {
|
|
3871
|
+
var tmp;
|
|
3872
|
+
if (isNegative(other)) {
|
|
3873
|
+
tmp = negate(_this__u8e3s4).x2(negate(other));
|
|
3874
|
+
} else {
|
|
3875
|
+
tmp = negate(negate(_this__u8e3s4).x2(other));
|
|
3876
|
+
}
|
|
3877
|
+
return tmp;
|
|
3878
|
+
} else if (isNegative(other)) {
|
|
3879
|
+
return negate(_this__u8e3s4.x2(negate(other)));
|
|
3880
|
+
}
|
|
3881
|
+
var res = get_ZERO();
|
|
3882
|
+
var rem_0 = _this__u8e3s4;
|
|
3883
|
+
while (greaterThanOrEqual(rem_0, other)) {
|
|
3884
|
+
var approxDouble = toNumber(rem_0) / toNumber(other);
|
|
3885
|
+
var approx2 = Math.max(1.0, Math.floor(approxDouble));
|
|
3886
|
+
var log2 = Math.ceil(Math.log(approx2) / Math.LN2);
|
|
3887
|
+
var delta = log2 <= 48.0 ? 1.0 : Math.pow(2.0, log2 - 48);
|
|
3888
|
+
var approxRes = fromNumber(approx2);
|
|
3889
|
+
var approxRem = multiply(approxRes, other);
|
|
3890
|
+
while (isNegative(approxRem) ? true : greaterThan(approxRem, rem_0)) {
|
|
3891
|
+
approx2 = approx2 - delta;
|
|
3892
|
+
approxRes = fromNumber(approx2);
|
|
3893
|
+
approxRem = multiply(approxRes, other);
|
|
3894
|
+
}
|
|
3895
|
+
if (isZero(approxRes)) {
|
|
3896
|
+
approxRes = get_ONE();
|
|
3897
|
+
}
|
|
3898
|
+
res = add(res, approxRes);
|
|
3899
|
+
rem_0 = subtract(rem_0, approxRem);
|
|
3900
|
+
}
|
|
3901
|
+
return res;
|
|
3902
|
+
}
|
|
3903
|
+
function shiftLeft(_this__u8e3s4, numBits) {
|
|
3904
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3905
|
+
var numBits_0 = numBits & 63;
|
|
3906
|
+
if (numBits_0 === 0) {
|
|
3907
|
+
return _this__u8e3s4;
|
|
3908
|
+
} else {
|
|
3909
|
+
if (numBits_0 < 32) {
|
|
3910
|
+
return new Long(_this__u8e3s4.u2_1 << numBits_0, _this__u8e3s4.v2_1 << numBits_0 | (_this__u8e3s4.u2_1 >>> (32 - numBits_0 | 0) | 0));
|
|
3911
|
+
} else {
|
|
3912
|
+
return new Long(0, _this__u8e3s4.u2_1 << (numBits_0 - 32 | 0));
|
|
3913
|
+
}
|
|
3914
|
+
}
|
|
3915
|
+
}
|
|
3916
|
+
function shiftRight(_this__u8e3s4, numBits) {
|
|
3917
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3918
|
+
var numBits_0 = numBits & 63;
|
|
3919
|
+
if (numBits_0 === 0) {
|
|
3920
|
+
return _this__u8e3s4;
|
|
3921
|
+
} else {
|
|
3922
|
+
if (numBits_0 < 32) {
|
|
3923
|
+
return new Long(_this__u8e3s4.u2_1 >>> numBits_0 | 0 | _this__u8e3s4.v2_1 << (32 - numBits_0 | 0), _this__u8e3s4.v2_1 >> numBits_0);
|
|
3924
|
+
} else {
|
|
3925
|
+
return new Long(_this__u8e3s4.v2_1 >> (numBits_0 - 32 | 0), _this__u8e3s4.v2_1 >= 0 ? 0 : -1);
|
|
3926
|
+
}
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
function toNumber(_this__u8e3s4) {
|
|
3930
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3931
|
+
return _this__u8e3s4.v2_1 * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
|
|
3932
|
+
}
|
|
3933
|
+
function equalsLong(_this__u8e3s4, other) {
|
|
3934
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3935
|
+
return _this__u8e3s4.v2_1 === other.v2_1 ? _this__u8e3s4.u2_1 === other.u2_1 : false;
|
|
3936
|
+
}
|
|
3937
|
+
function hashCode_0(l) {
|
|
3938
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3939
|
+
return l.u2_1 ^ l.v2_1;
|
|
3940
|
+
}
|
|
3941
|
+
function toStringImpl(_this__u8e3s4, radix) {
|
|
3942
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3943
|
+
if (radix < 2 ? true : 36 < radix) {
|
|
3944
|
+
throw Exception_init_$Create$('radix out of range: ' + radix);
|
|
3945
|
+
}
|
|
3946
|
+
if (isZero(_this__u8e3s4)) {
|
|
3947
|
+
return '0';
|
|
3948
|
+
}
|
|
3949
|
+
if (isNegative(_this__u8e3s4)) {
|
|
3950
|
+
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
|
|
3951
|
+
var radixLong = fromInt(radix);
|
|
3952
|
+
var div = _this__u8e3s4.x2(radixLong);
|
|
3953
|
+
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).c8();
|
|
3954
|
+
var tmp = toStringImpl(div, radix);
|
|
3955
|
+
var tmp$ret$1;
|
|
3956
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3957
|
+
var tmp$ret$0;
|
|
3958
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3959
|
+
tmp$ret$0 = rem;
|
|
3960
|
+
var tmp0_unsafeCast = tmp$ret$0.toString(radix);
|
|
3961
|
+
tmp$ret$1 = tmp0_unsafeCast;
|
|
3962
|
+
return tmp + tmp$ret$1;
|
|
3963
|
+
} else {
|
|
3964
|
+
return '-' + toStringImpl(negate(_this__u8e3s4), radix);
|
|
3965
|
+
}
|
|
3966
|
+
}
|
|
3967
|
+
var digitsPerTime = radix === 2 ? 31 : radix <= 10 ? 9 : radix <= 21 ? 7 : radix <= 35 ? 6 : 5;
|
|
3968
|
+
var radixToPower = fromNumber(Math.pow(radix, digitsPerTime));
|
|
3969
|
+
var rem_0 = _this__u8e3s4;
|
|
3970
|
+
var result = '';
|
|
3971
|
+
while (true) {
|
|
3972
|
+
var remDiv = rem_0.x2(radixToPower);
|
|
3973
|
+
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).c8();
|
|
3974
|
+
var tmp$ret$3;
|
|
3975
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3976
|
+
var tmp$ret$2;
|
|
3977
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3978
|
+
tmp$ret$2 = intval;
|
|
3979
|
+
var tmp1_unsafeCast = tmp$ret$2.toString(radix);
|
|
3980
|
+
tmp$ret$3 = tmp1_unsafeCast;
|
|
3981
|
+
var digits = tmp$ret$3;
|
|
3982
|
+
rem_0 = remDiv;
|
|
3983
|
+
if (isZero(rem_0)) {
|
|
3984
|
+
return digits + result;
|
|
3985
|
+
} else {
|
|
3986
|
+
while (digits.length < digitsPerTime) {
|
|
3987
|
+
digits = '0' + digits;
|
|
3988
|
+
}
|
|
3989
|
+
result = digits + result;
|
|
3990
|
+
}
|
|
3991
|
+
}
|
|
3992
|
+
}
|
|
3993
|
+
function fromInt(value) {
|
|
3994
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3995
|
+
return new Long(value, value < 0 ? -1 : 0);
|
|
3996
|
+
}
|
|
3997
|
+
function isNegative(_this__u8e3s4) {
|
|
3998
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3999
|
+
return _this__u8e3s4.v2_1 < 0;
|
|
4000
|
+
}
|
|
4001
|
+
function isZero(_this__u8e3s4) {
|
|
4002
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4003
|
+
return _this__u8e3s4.v2_1 === 0 ? _this__u8e3s4.u2_1 === 0 : false;
|
|
4004
|
+
}
|
|
4005
|
+
function isOdd(_this__u8e3s4) {
|
|
4006
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4007
|
+
return (_this__u8e3s4.u2_1 & 1) === 1;
|
|
4008
|
+
}
|
|
4009
|
+
function negate(_this__u8e3s4) {
|
|
4010
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4011
|
+
return _this__u8e3s4.w2();
|
|
4012
|
+
}
|
|
4013
|
+
function lessThan(_this__u8e3s4, other) {
|
|
4014
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4015
|
+
return compare(_this__u8e3s4, other) < 0;
|
|
4016
|
+
}
|
|
4017
|
+
function fromNumber(value) {
|
|
4018
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4019
|
+
if (isNaN_0(value)) {
|
|
4020
|
+
return get_ZERO();
|
|
4021
|
+
} else if (value <= -9.223372036854776E18) {
|
|
4022
|
+
return get_MIN_VALUE();
|
|
4023
|
+
} else if (value + 1 >= 9.223372036854776E18) {
|
|
4024
|
+
return get_MAX_VALUE();
|
|
4025
|
+
} else if (value < 0.0) {
|
|
4026
|
+
return negate(fromNumber(-value));
|
|
4027
|
+
} else {
|
|
4028
|
+
var twoPwr32 = 4.294967296E9;
|
|
4029
|
+
var tmp$ret$0;
|
|
4030
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4031
|
+
var tmp0_jsBitwiseOr = value % twoPwr32;
|
|
4032
|
+
tmp$ret$0 = tmp0_jsBitwiseOr | 0;
|
|
4033
|
+
var tmp = tmp$ret$0;
|
|
4034
|
+
var tmp$ret$1;
|
|
4035
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4036
|
+
var tmp1_jsBitwiseOr = value / twoPwr32;
|
|
4037
|
+
tmp$ret$1 = tmp1_jsBitwiseOr | 0;
|
|
4038
|
+
return new Long(tmp, tmp$ret$1);
|
|
4039
|
+
}
|
|
4040
|
+
}
|
|
4041
|
+
function greaterThan(_this__u8e3s4, other) {
|
|
4042
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4043
|
+
return compare(_this__u8e3s4, other) > 0;
|
|
4044
|
+
}
|
|
4045
|
+
function greaterThanOrEqual(_this__u8e3s4, other) {
|
|
4046
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4047
|
+
return compare(_this__u8e3s4, other) >= 0;
|
|
4048
|
+
}
|
|
4049
|
+
function getLowBitsUnsigned(_this__u8e3s4) {
|
|
4050
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4051
|
+
return _this__u8e3s4.u2_1 >= 0 ? _this__u8e3s4.u2_1 : 4.294967296E9 + _this__u8e3s4.u2_1;
|
|
4052
|
+
}
|
|
4053
|
+
var properties_initialized_longjs_kt_5aju7t;
|
|
4054
|
+
function _init_properties_longjs_kt__tqrzid() {
|
|
4055
|
+
if (properties_initialized_longjs_kt_5aju7t) {
|
|
4056
|
+
} else {
|
|
4057
|
+
properties_initialized_longjs_kt_5aju7t = true;
|
|
4058
|
+
ZERO = fromInt(0);
|
|
4059
|
+
ONE = fromInt(1);
|
|
4060
|
+
NEG_ONE = fromInt(-1);
|
|
4061
|
+
MAX_VALUE = new Long(-1, 2147483647);
|
|
4062
|
+
MIN_VALUE = new Long(0, -2147483648);
|
|
4063
|
+
TWO_PWR_24_ = fromInt(16777216);
|
|
4064
|
+
}
|
|
4065
|
+
}
|
|
4066
|
+
function numberToInt(a) {
|
|
4067
|
+
var tmp;
|
|
4068
|
+
if (a instanceof Long) {
|
|
4069
|
+
tmp = a.c8();
|
|
4070
|
+
} else {
|
|
4071
|
+
tmp = doubleToInt(a);
|
|
4072
|
+
}
|
|
4073
|
+
return tmp;
|
|
4074
|
+
}
|
|
4075
|
+
function doubleToInt(a) {
|
|
4076
|
+
var tmp;
|
|
4077
|
+
if (a > 2.147483647E9) {
|
|
4078
|
+
tmp = 2147483647;
|
|
4079
|
+
} else if (a < -2.147483648E9) {
|
|
4080
|
+
tmp = -2147483648;
|
|
4081
|
+
} else {
|
|
4082
|
+
var tmp$ret$0;
|
|
4083
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4084
|
+
tmp$ret$0 = a | 0;
|
|
4085
|
+
tmp = tmp$ret$0;
|
|
4086
|
+
}
|
|
4087
|
+
return tmp;
|
|
4088
|
+
}
|
|
4089
|
+
function toShort(a) {
|
|
4090
|
+
var tmp$ret$0;
|
|
4091
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4092
|
+
var tmp0_unsafeCast = a << 16 >> 16;
|
|
4093
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
4094
|
+
return tmp$ret$0;
|
|
4095
|
+
}
|
|
4096
|
+
function numberToChar(a) {
|
|
4097
|
+
var tmp$ret$0;
|
|
4098
|
+
// Inline function 'kotlin.toUShort' call
|
|
4099
|
+
var tmp0_toUShort = numberToInt(a);
|
|
4100
|
+
tmp$ret$0 = _UShort___init__impl__jigrne(toShort(tmp0_toUShort));
|
|
4101
|
+
return _Char___init__impl__6a9atx_0(tmp$ret$0);
|
|
4102
|
+
}
|
|
4103
|
+
function toLong(a) {
|
|
4104
|
+
return fromInt(a);
|
|
4105
|
+
}
|
|
4106
|
+
function numberRangeToNumber(start, endInclusive) {
|
|
4107
|
+
return new IntRange(start, endInclusive);
|
|
4108
|
+
}
|
|
4109
|
+
function classMeta(name, associatedObjectKey, associatedObjects, suspendArity) {
|
|
4110
|
+
return createMetadata('class', name, associatedObjectKey, associatedObjects, suspendArity, null);
|
|
4111
|
+
}
|
|
4112
|
+
function createMetadata(kind, name, associatedObjectKey, associatedObjects, suspendArity, iid) {
|
|
4113
|
+
var undef = VOID;
|
|
4114
|
+
return {kind: kind, simpleName: name, associatedObjectKey: associatedObjectKey, associatedObjects: associatedObjects, suspendArity: suspendArity, $kClass$: undef, iid: iid};
|
|
4115
|
+
}
|
|
4116
|
+
function isArrayish(o) {
|
|
4117
|
+
return isJsArray(o) ? true : isView(o);
|
|
4118
|
+
}
|
|
4119
|
+
function isJsArray(obj) {
|
|
4120
|
+
var tmp$ret$0;
|
|
4121
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4122
|
+
var tmp0_unsafeCast = Array.isArray(obj);
|
|
4123
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
4124
|
+
return tmp$ret$0;
|
|
4125
|
+
}
|
|
4126
|
+
function isObject(obj) {
|
|
4127
|
+
var objTypeOf = typeof obj;
|
|
4128
|
+
var tmp0_subject = objTypeOf;
|
|
4129
|
+
var tmp;
|
|
4130
|
+
switch (tmp0_subject) {
|
|
4131
|
+
case 'string':
|
|
4132
|
+
tmp = true;
|
|
4133
|
+
break;
|
|
4134
|
+
case 'number':
|
|
4135
|
+
tmp = true;
|
|
4136
|
+
break;
|
|
4137
|
+
case 'boolean':
|
|
4138
|
+
tmp = true;
|
|
4139
|
+
break;
|
|
4140
|
+
case 'function':
|
|
4141
|
+
tmp = true;
|
|
4142
|
+
break;
|
|
4143
|
+
default:
|
|
4144
|
+
var tmp$ret$0;
|
|
4145
|
+
// Inline function 'kotlin.js.jsInstanceOf' call
|
|
4146
|
+
var tmp0_jsInstanceOf = Object;
|
|
4147
|
+
tmp$ret$0 = obj instanceof tmp0_jsInstanceOf;
|
|
4148
|
+
|
|
4149
|
+
tmp = tmp$ret$0;
|
|
4150
|
+
break;
|
|
4151
|
+
}
|
|
4152
|
+
return tmp;
|
|
4153
|
+
}
|
|
4154
|
+
function isInterfaceImpl(obj, iface) {
|
|
4155
|
+
var tmp$ret$0;
|
|
4156
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4157
|
+
var tmp0_unsafeCast = obj.$imask$;
|
|
4158
|
+
tmp$ret$0 = tmp0_unsafeCast;
|
|
4159
|
+
var tmp0_elvis_lhs = tmp$ret$0;
|
|
4160
|
+
var tmp;
|
|
4161
|
+
if (tmp0_elvis_lhs == null) {
|
|
4162
|
+
return false;
|
|
4163
|
+
} else {
|
|
4164
|
+
tmp = tmp0_elvis_lhs;
|
|
4165
|
+
}
|
|
4166
|
+
var mask = tmp;
|
|
4167
|
+
return mask.t7(iface);
|
|
4168
|
+
}
|
|
4169
|
+
function setMetadataFor(ctor, name, metadataConstructor, parent, interfaces, associatedObjectKey, associatedObjects, suspendArity) {
|
|
4170
|
+
if (!(parent == null)) {
|
|
4171
|
+
ctor.prototype = Object.create(parent.prototype);
|
|
4172
|
+
ctor.prototype.constructor = ctor;
|
|
4173
|
+
}
|
|
4174
|
+
var tmp0_elvis_lhs = suspendArity;
|
|
4175
|
+
var metadata = metadataConstructor(name, associatedObjectKey, associatedObjects, tmp0_elvis_lhs == null ? [] : tmp0_elvis_lhs);
|
|
4176
|
+
ctor.$metadata$ = metadata;
|
|
4177
|
+
if (!(interfaces == null)) {
|
|
4178
|
+
var receiver = !(metadata.iid == null) ? ctor : ctor.prototype;
|
|
4179
|
+
receiver.$imask$ = implement(interfaces.slice());
|
|
4180
|
+
}
|
|
4181
|
+
}
|
|
4182
|
+
function isInterface(obj, iface) {
|
|
4183
|
+
return isInterfaceImpl(obj, iface.$metadata$.iid);
|
|
4184
|
+
}
|
|
4185
|
+
function isArray(obj) {
|
|
4186
|
+
var tmp;
|
|
4187
|
+
if (isJsArray(obj)) {
|
|
4188
|
+
var tmp$ret$0;
|
|
4189
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4190
|
+
tmp$ret$0 = obj;
|
|
4191
|
+
tmp = !tmp$ret$0.$type$;
|
|
4192
|
+
} else {
|
|
4193
|
+
tmp = false;
|
|
4194
|
+
}
|
|
4195
|
+
return tmp;
|
|
4196
|
+
}
|
|
4197
|
+
function isNumber(a) {
|
|
4198
|
+
var tmp;
|
|
4199
|
+
if (typeof a === 'number') {
|
|
4200
|
+
tmp = true;
|
|
4201
|
+
} else {
|
|
4202
|
+
tmp = a instanceof Long;
|
|
4203
|
+
}
|
|
4204
|
+
return tmp;
|
|
4205
|
+
}
|
|
4206
|
+
function isCharSequence(value) {
|
|
4207
|
+
return typeof value === 'string' ? true : isInterface(value, CharSequence);
|
|
4208
|
+
}
|
|
4209
|
+
function isBooleanArray(a) {
|
|
4210
|
+
return isJsArray(a) ? a.$type$ === 'BooleanArray' : false;
|
|
4211
|
+
}
|
|
4212
|
+
function isByteArray(a) {
|
|
4213
|
+
var tmp$ret$0;
|
|
4214
|
+
// Inline function 'kotlin.js.jsInstanceOf' call
|
|
4215
|
+
var tmp0_jsInstanceOf = Int8Array;
|
|
4216
|
+
tmp$ret$0 = a instanceof tmp0_jsInstanceOf;
|
|
4217
|
+
return tmp$ret$0;
|
|
4218
|
+
}
|
|
4219
|
+
function isShortArray(a) {
|
|
4220
|
+
var tmp$ret$0;
|
|
4221
|
+
// Inline function 'kotlin.js.jsInstanceOf' call
|
|
4222
|
+
var tmp0_jsInstanceOf = Int16Array;
|
|
4223
|
+
tmp$ret$0 = a instanceof tmp0_jsInstanceOf;
|
|
4224
|
+
return tmp$ret$0;
|
|
4225
|
+
}
|
|
4226
|
+
function isCharArray(a) {
|
|
4227
|
+
var tmp;
|
|
4228
|
+
var tmp$ret$0;
|
|
4229
|
+
// Inline function 'kotlin.js.jsInstanceOf' call
|
|
4230
|
+
var tmp0_jsInstanceOf = Uint16Array;
|
|
4231
|
+
tmp$ret$0 = a instanceof tmp0_jsInstanceOf;
|
|
4232
|
+
if (tmp$ret$0) {
|
|
4233
|
+
tmp = a.$type$ === 'CharArray';
|
|
4234
|
+
} else {
|
|
4235
|
+
tmp = false;
|
|
4236
|
+
}
|
|
4237
|
+
return tmp;
|
|
4238
|
+
}
|
|
4239
|
+
function isIntArray(a) {
|
|
4240
|
+
var tmp$ret$0;
|
|
4241
|
+
// Inline function 'kotlin.js.jsInstanceOf' call
|
|
4242
|
+
var tmp0_jsInstanceOf = Int32Array;
|
|
4243
|
+
tmp$ret$0 = a instanceof tmp0_jsInstanceOf;
|
|
4244
|
+
return tmp$ret$0;
|
|
4245
|
+
}
|
|
4246
|
+
function isFloatArray(a) {
|
|
4247
|
+
var tmp$ret$0;
|
|
4248
|
+
// Inline function 'kotlin.js.jsInstanceOf' call
|
|
4249
|
+
var tmp0_jsInstanceOf = Float32Array;
|
|
4250
|
+
tmp$ret$0 = a instanceof tmp0_jsInstanceOf;
|
|
4251
|
+
return tmp$ret$0;
|
|
4252
|
+
}
|
|
4253
|
+
function isLongArray(a) {
|
|
4254
|
+
return isJsArray(a) ? a.$type$ === 'LongArray' : false;
|
|
4255
|
+
}
|
|
4256
|
+
function isDoubleArray(a) {
|
|
4257
|
+
var tmp$ret$0;
|
|
4258
|
+
// Inline function 'kotlin.js.jsInstanceOf' call
|
|
4259
|
+
var tmp0_jsInstanceOf = Float64Array;
|
|
4260
|
+
tmp$ret$0 = a instanceof tmp0_jsInstanceOf;
|
|
4261
|
+
return tmp$ret$0;
|
|
4262
|
+
}
|
|
4263
|
+
function interfaceMeta(name, associatedObjectKey, associatedObjects, suspendArity) {
|
|
4264
|
+
return createMetadata('interface', name, associatedObjectKey, associatedObjects, suspendArity, generateInterfaceId(InterfaceIdService_getInstance()));
|
|
4265
|
+
}
|
|
4266
|
+
function generateInterfaceId(_this__u8e3s4) {
|
|
4267
|
+
var tmp0_this = _this__u8e3s4;
|
|
4268
|
+
tmp0_this.e8_1 = tmp0_this.e8_1 + 1 | 0;
|
|
4269
|
+
return _this__u8e3s4.e8_1;
|
|
4270
|
+
}
|
|
4271
|
+
function InterfaceIdService() {
|
|
4272
|
+
InterfaceIdService_instance = this;
|
|
4273
|
+
this.e8_1 = 0;
|
|
4274
|
+
}
|
|
4275
|
+
var InterfaceIdService_instance;
|
|
4276
|
+
function InterfaceIdService_getInstance() {
|
|
4277
|
+
if (InterfaceIdService_instance == null)
|
|
4278
|
+
new InterfaceIdService();
|
|
4279
|
+
return InterfaceIdService_instance;
|
|
4280
|
+
}
|
|
4281
|
+
function objectMeta(name, associatedObjectKey, associatedObjects, suspendArity) {
|
|
4282
|
+
return createMetadata('object', name, associatedObjectKey, associatedObjects, suspendArity, null);
|
|
4283
|
+
}
|
|
4284
|
+
function get_VOID() {
|
|
4285
|
+
_init_properties_void_kt__3zg9as();
|
|
4286
|
+
return VOID;
|
|
4287
|
+
}
|
|
4288
|
+
var VOID;
|
|
4289
|
+
var properties_initialized_void_kt_e4ret2;
|
|
4290
|
+
function _init_properties_void_kt__3zg9as() {
|
|
4291
|
+
if (properties_initialized_void_kt_e4ret2) {
|
|
4292
|
+
} else {
|
|
4293
|
+
properties_initialized_void_kt_e4ret2 = true;
|
|
4294
|
+
VOID = void 0;
|
|
4295
|
+
}
|
|
4296
|
+
}
|
|
4297
|
+
function copyOf(_this__u8e3s4, newSize) {
|
|
4298
|
+
// Inline function 'kotlin.require' call
|
|
4299
|
+
var tmp0_require = newSize >= 0;
|
|
4300
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
4301
|
+
if (!tmp0_require) {
|
|
4302
|
+
var tmp$ret$0;
|
|
4303
|
+
// Inline function 'kotlin.collections.copyOf.<anonymous>' call
|
|
4304
|
+
tmp$ret$0 = 'Invalid new array size: ' + newSize + '.';
|
|
4305
|
+
var message = tmp$ret$0;
|
|
4306
|
+
throw IllegalArgumentException_init_$Create$(toString_2(message));
|
|
4307
|
+
}
|
|
4308
|
+
return arrayCopyResize(_this__u8e3s4, newSize, null);
|
|
4309
|
+
}
|
|
4310
|
+
function fill(_this__u8e3s4, element, fromIndex, toIndex) {
|
|
4311
|
+
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
4312
|
+
toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
|
|
4313
|
+
Companion_getInstance().s(fromIndex, toIndex, _this__u8e3s4.length);
|
|
4314
|
+
// Inline function 'kotlin.js.nativeFill' call
|
|
4315
|
+
var tmp$ret$0;
|
|
4316
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4317
|
+
tmp$ret$0 = _this__u8e3s4;
|
|
4318
|
+
tmp$ret$0.fill(element, fromIndex, toIndex);
|
|
4319
|
+
}
|
|
4320
|
+
function digitToIntImpl(_this__u8e3s4) {
|
|
4321
|
+
var tmp$ret$0;
|
|
4322
|
+
// Inline function 'kotlin.code' call
|
|
4323
|
+
tmp$ret$0 = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
4324
|
+
var ch = tmp$ret$0;
|
|
4325
|
+
var index = binarySearchRange(Digit_getInstance().f8_1, ch);
|
|
4326
|
+
var diff = ch - Digit_getInstance().f8_1[index] | 0;
|
|
4327
|
+
return diff < 10 ? diff : -1;
|
|
4328
|
+
}
|
|
4329
|
+
function binarySearchRange(array, needle) {
|
|
4330
|
+
var bottom = 0;
|
|
4331
|
+
var top = array.length - 1 | 0;
|
|
4332
|
+
var middle = -1;
|
|
4333
|
+
var value = 0;
|
|
4334
|
+
while (bottom <= top) {
|
|
4335
|
+
middle = (bottom + top | 0) / 2 | 0;
|
|
4336
|
+
value = array[middle];
|
|
4337
|
+
if (needle > value)
|
|
4338
|
+
bottom = middle + 1 | 0;
|
|
4339
|
+
else if (needle === value)
|
|
4340
|
+
return middle;
|
|
4341
|
+
else
|
|
4342
|
+
top = middle - 1 | 0;
|
|
4343
|
+
}
|
|
4344
|
+
return middle - (needle < value ? 1 : 0) | 0;
|
|
4345
|
+
}
|
|
4346
|
+
function Digit() {
|
|
4347
|
+
Digit_instance = this;
|
|
4348
|
+
var tmp = this;
|
|
4349
|
+
var tmp$ret$0;
|
|
4350
|
+
// Inline function 'kotlin.intArrayOf' call
|
|
4351
|
+
tmp$ret$0 = new Int32Array([48, 1632, 1776, 1984, 2406, 2534, 2662, 2790, 2918, 3046, 3174, 3302, 3430, 3558, 3664, 3792, 3872, 4160, 4240, 6112, 6160, 6470, 6608, 6784, 6800, 6992, 7088, 7232, 7248, 42528, 43216, 43264, 43472, 43504, 43600, 44016, 65296]);
|
|
4352
|
+
tmp.f8_1 = tmp$ret$0;
|
|
4353
|
+
}
|
|
4354
|
+
var Digit_instance;
|
|
4355
|
+
function Digit_getInstance() {
|
|
4356
|
+
if (Digit_instance == null)
|
|
4357
|
+
new Digit();
|
|
4358
|
+
return Digit_instance;
|
|
4359
|
+
}
|
|
4360
|
+
function isWhitespaceImpl(_this__u8e3s4) {
|
|
4361
|
+
var tmp$ret$0;
|
|
4362
|
+
// Inline function 'kotlin.code' call
|
|
4363
|
+
tmp$ret$0 = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
4364
|
+
var ch = tmp$ret$0;
|
|
4365
|
+
return (((9 <= ch ? ch <= 13 : false) ? true : 28 <= ch ? ch <= 32 : false) ? true : ch === 160) ? true : ch > 4096 ? (((((ch === 5760 ? true : 8192 <= ch ? ch <= 8202 : false) ? true : ch === 8232) ? true : ch === 8233) ? true : ch === 8239) ? true : ch === 8287) ? true : ch === 12288 : false;
|
|
4366
|
+
}
|
|
4367
|
+
function releaseIntercepted($this) {
|
|
4368
|
+
var intercepted = $this.n8_1;
|
|
4369
|
+
if (!(intercepted == null) ? !(intercepted === $this) : false) {
|
|
4370
|
+
ensureNotNull($this.r1().v1(Key_getInstance())).u1(intercepted);
|
|
4371
|
+
}
|
|
4372
|
+
$this.n8_1 = CompletedContinuation_getInstance();
|
|
4373
|
+
}
|
|
4374
|
+
function CoroutineImpl(resultContinuation) {
|
|
4375
|
+
this.g8_1 = resultContinuation;
|
|
4376
|
+
this.h8_1 = 0;
|
|
4377
|
+
this.i8_1 = 0;
|
|
4378
|
+
this.j8_1 = null;
|
|
4379
|
+
this.k8_1 = null;
|
|
4380
|
+
this.l8_1 = null;
|
|
4381
|
+
var tmp = this;
|
|
4382
|
+
var tmp0_safe_receiver = this.g8_1;
|
|
4383
|
+
tmp.m8_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r1();
|
|
4384
|
+
this.n8_1 = null;
|
|
4385
|
+
}
|
|
4386
|
+
protoOf(CoroutineImpl).o8 = function (_set____db54di) {
|
|
4387
|
+
this.h8_1 = _set____db54di;
|
|
4388
|
+
};
|
|
4389
|
+
protoOf(CoroutineImpl).p8 = function () {
|
|
4390
|
+
return this.h8_1;
|
|
4391
|
+
};
|
|
4392
|
+
protoOf(CoroutineImpl).q8 = function (_set____db54di) {
|
|
4393
|
+
this.i8_1 = _set____db54di;
|
|
4394
|
+
};
|
|
4395
|
+
protoOf(CoroutineImpl).r8 = function () {
|
|
4396
|
+
return this.i8_1;
|
|
4397
|
+
};
|
|
4398
|
+
protoOf(CoroutineImpl).s8 = function (_set____db54di) {
|
|
4399
|
+
this.j8_1 = _set____db54di;
|
|
4400
|
+
};
|
|
4401
|
+
protoOf(CoroutineImpl).t8 = function () {
|
|
4402
|
+
return this.j8_1;
|
|
4403
|
+
};
|
|
4404
|
+
protoOf(CoroutineImpl).u8 = function (_set____db54di) {
|
|
4405
|
+
this.k8_1 = _set____db54di;
|
|
4406
|
+
};
|
|
4407
|
+
protoOf(CoroutineImpl).v8 = function () {
|
|
4408
|
+
return this.k8_1;
|
|
4409
|
+
};
|
|
4410
|
+
protoOf(CoroutineImpl).w8 = function (_set____db54di) {
|
|
4411
|
+
this.l8_1 = _set____db54di;
|
|
4412
|
+
};
|
|
4413
|
+
protoOf(CoroutineImpl).x8 = function () {
|
|
4414
|
+
return this.l8_1;
|
|
4415
|
+
};
|
|
4416
|
+
protoOf(CoroutineImpl).r1 = function () {
|
|
4417
|
+
return ensureNotNull(this.m8_1);
|
|
4418
|
+
};
|
|
4419
|
+
protoOf(CoroutineImpl).y8 = function () {
|
|
4420
|
+
var tmp2_elvis_lhs = this.n8_1;
|
|
4421
|
+
var tmp;
|
|
4422
|
+
if (tmp2_elvis_lhs == null) {
|
|
4423
|
+
var tmp$ret$0;
|
|
4424
|
+
// Inline function 'kotlin.also' call
|
|
4425
|
+
var tmp0_safe_receiver = this.r1().v1(Key_getInstance());
|
|
4426
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t1(this);
|
|
4427
|
+
var tmp0_also = tmp1_elvis_lhs == null ? this : tmp1_elvis_lhs;
|
|
4428
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
4429
|
+
// Inline function 'kotlin.coroutines.CoroutineImpl.intercepted.<anonymous>' call
|
|
4430
|
+
this.n8_1 = tmp0_also;
|
|
4431
|
+
tmp$ret$0 = tmp0_also;
|
|
4432
|
+
tmp = tmp$ret$0;
|
|
4433
|
+
} else {
|
|
4434
|
+
tmp = tmp2_elvis_lhs;
|
|
4435
|
+
}
|
|
4436
|
+
return tmp;
|
|
4437
|
+
};
|
|
4438
|
+
protoOf(CoroutineImpl).z8 = function (result) {
|
|
4439
|
+
var current = this;
|
|
4440
|
+
var tmp$ret$0;
|
|
4441
|
+
// Inline function 'kotlin.Result.getOrNull' call
|
|
4442
|
+
var tmp;
|
|
4443
|
+
if (_Result___get_isFailure__impl__jpiriv(result)) {
|
|
4444
|
+
tmp = null;
|
|
4445
|
+
} else {
|
|
4446
|
+
var tmp_0 = _Result___get_value__impl__bjfvqg(result);
|
|
4447
|
+
tmp = (tmp_0 == null ? true : isObject(tmp_0)) ? tmp_0 : THROW_CCE();
|
|
4448
|
+
}
|
|
4449
|
+
tmp$ret$0 = tmp;
|
|
4450
|
+
var currentResult = tmp$ret$0;
|
|
4451
|
+
var currentException = Result__exceptionOrNull_impl_p6xea9(result);
|
|
4452
|
+
while (true) {
|
|
4453
|
+
var tmp$ret$6;
|
|
4454
|
+
// Inline function 'kotlin.with' call
|
|
4455
|
+
var tmp0_with = current;
|
|
4456
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
4457
|
+
if (currentException == null) {
|
|
4458
|
+
tmp0_with.j8_1 = currentResult;
|
|
4459
|
+
} else {
|
|
4460
|
+
tmp0_with.h8_1 = tmp0_with.i8_1;
|
|
4461
|
+
tmp0_with.k8_1 = currentException;
|
|
4462
|
+
}
|
|
4463
|
+
try {
|
|
4464
|
+
var outcome = tmp0_with.a9();
|
|
4465
|
+
if (outcome === get_COROUTINE_SUSPENDED())
|
|
4466
|
+
return Unit_getInstance();
|
|
4467
|
+
currentResult = outcome;
|
|
4468
|
+
currentException = null;
|
|
4469
|
+
} catch ($p) {
|
|
4470
|
+
var exception = $p;
|
|
4471
|
+
currentResult = null;
|
|
4472
|
+
var tmp$ret$1;
|
|
4473
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4474
|
+
tmp$ret$1 = exception;
|
|
4475
|
+
currentException = tmp$ret$1;
|
|
4476
|
+
}
|
|
4477
|
+
releaseIntercepted(tmp0_with);
|
|
4478
|
+
var completion = ensureNotNull(tmp0_with.g8_1);
|
|
4479
|
+
var tmp_1;
|
|
4480
|
+
if (completion instanceof CoroutineImpl) {
|
|
4481
|
+
current = completion;
|
|
4482
|
+
tmp_1 = Unit_getInstance();
|
|
4483
|
+
} else {
|
|
4484
|
+
if (!(currentException == null)) {
|
|
4485
|
+
var tmp$ret$3;
|
|
4486
|
+
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
4487
|
+
var tmp1_resumeWithException = ensureNotNull(currentException);
|
|
4488
|
+
var tmp$ret$2;
|
|
4489
|
+
// Inline function 'kotlin.Companion.failure' call
|
|
4490
|
+
var tmp0_failure = Companion_getInstance_4();
|
|
4491
|
+
tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(tmp1_resumeWithException));
|
|
4492
|
+
completion.s1(tmp$ret$2);
|
|
4493
|
+
tmp$ret$3 = Unit_getInstance();
|
|
4494
|
+
} else {
|
|
4495
|
+
var tmp$ret$5;
|
|
4496
|
+
// Inline function 'kotlin.coroutines.resume' call
|
|
4497
|
+
var tmp3_resume = currentResult;
|
|
4498
|
+
var tmp$ret$4;
|
|
4499
|
+
// Inline function 'kotlin.Companion.success' call
|
|
4500
|
+
var tmp2_success = Companion_getInstance_4();
|
|
4501
|
+
tmp$ret$4 = _Result___init__impl__xyqfz8(tmp3_resume);
|
|
4502
|
+
completion.s1(tmp$ret$4);
|
|
4503
|
+
tmp$ret$5 = Unit_getInstance();
|
|
4504
|
+
}
|
|
4505
|
+
return Unit_getInstance();
|
|
4506
|
+
}
|
|
4507
|
+
tmp$ret$6 = tmp_1;
|
|
4508
|
+
}
|
|
4509
|
+
};
|
|
4510
|
+
protoOf(CoroutineImpl).s1 = function (result) {
|
|
4511
|
+
return this.z8(result);
|
|
4512
|
+
};
|
|
4513
|
+
protoOf(CoroutineImpl).b9 = function (completion) {
|
|
4514
|
+
throw UnsupportedOperationException_init_$Create$_0('create(Continuation) has not been overridden');
|
|
4515
|
+
};
|
|
4516
|
+
protoOf(CoroutineImpl).c9 = function (value, completion) {
|
|
4517
|
+
throw UnsupportedOperationException_init_$Create$_0('create(Any?;Continuation) has not been overridden');
|
|
4518
|
+
};
|
|
4519
|
+
function CompletedContinuation() {
|
|
4520
|
+
CompletedContinuation_instance = this;
|
|
4521
|
+
}
|
|
4522
|
+
protoOf(CompletedContinuation).r1 = function () {
|
|
4523
|
+
throw IllegalStateException_init_$Create$('This continuation is already complete');
|
|
4524
|
+
};
|
|
4525
|
+
protoOf(CompletedContinuation).z8 = function (result) {
|
|
4526
|
+
// Inline function 'kotlin.error' call
|
|
4527
|
+
throw IllegalStateException_init_$Create$('This continuation is already complete');
|
|
4528
|
+
};
|
|
4529
|
+
protoOf(CompletedContinuation).s1 = function (result) {
|
|
4530
|
+
return this.z8(result);
|
|
4531
|
+
};
|
|
4532
|
+
protoOf(CompletedContinuation).toString = function () {
|
|
4533
|
+
return 'This continuation is already complete';
|
|
4534
|
+
};
|
|
4535
|
+
var CompletedContinuation_instance;
|
|
4536
|
+
function CompletedContinuation_getInstance() {
|
|
4537
|
+
if (CompletedContinuation_instance == null)
|
|
4538
|
+
new CompletedContinuation();
|
|
4539
|
+
return CompletedContinuation_instance;
|
|
4540
|
+
}
|
|
4541
|
+
function intercepted(_this__u8e3s4) {
|
|
4542
|
+
var tmp0_safe_receiver = _this__u8e3s4 instanceof CoroutineImpl ? _this__u8e3s4 : null;
|
|
4543
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y8();
|
|
4544
|
+
return tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
4545
|
+
}
|
|
4546
|
+
function createCoroutineUnintercepted(_this__u8e3s4, receiver, completion) {
|
|
4547
|
+
var tmp$ret$0;
|
|
4548
|
+
// Inline function 'kotlin.coroutines.intrinsics.createCoroutineFromSuspendFunction' call
|
|
4549
|
+
tmp$ret$0 = new _no_name_provided__qut3iv(completion, _this__u8e3s4, receiver);
|
|
4550
|
+
return tmp$ret$0;
|
|
4551
|
+
}
|
|
4552
|
+
function invokeSuspendSuperTypeWithReceiver(_this__u8e3s4, receiver, completion) {
|
|
4553
|
+
throw new NotImplementedError('It is intrinsic method');
|
|
4554
|
+
}
|
|
4555
|
+
function _no_name_provided__qut3iv($completion, $this_createCoroutineUnintercepted, $receiver) {
|
|
4556
|
+
this.l9_1 = $completion;
|
|
4557
|
+
this.m9_1 = $this_createCoroutineUnintercepted;
|
|
4558
|
+
this.n9_1 = $receiver;
|
|
4559
|
+
CoroutineImpl.call(this, isInterface($completion, Continuation) ? $completion : THROW_CCE());
|
|
4560
|
+
}
|
|
4561
|
+
protoOf(_no_name_provided__qut3iv).a9 = function () {
|
|
4562
|
+
if (this.k8_1 != null)
|
|
4563
|
+
throw this.k8_1;
|
|
4564
|
+
var tmp$ret$1;
|
|
4565
|
+
// Inline function 'kotlin.coroutines.intrinsics.createCoroutineUnintercepted.<anonymous>' call
|
|
4566
|
+
var tmp$ret$0;
|
|
4567
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4568
|
+
tmp$ret$0 = this.m9_1;
|
|
4569
|
+
var a = tmp$ret$0;
|
|
4570
|
+
tmp$ret$1 = typeof a === 'function' ? a(this.n9_1, this.l9_1) : this.m9_1.o9(this.n9_1, this.l9_1);
|
|
4571
|
+
return tmp$ret$1;
|
|
4572
|
+
};
|
|
4573
|
+
function IllegalArgumentException_init_$Init$(message, $this) {
|
|
4574
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4575
|
+
IllegalArgumentException.call($this);
|
|
4576
|
+
return $this;
|
|
4577
|
+
}
|
|
4578
|
+
function IllegalArgumentException_init_$Create$(message) {
|
|
4579
|
+
var tmp = IllegalArgumentException_init_$Init$(message, objectCreate(protoOf(IllegalArgumentException)));
|
|
4580
|
+
captureStack(tmp, IllegalArgumentException_init_$Create$);
|
|
4581
|
+
return tmp;
|
|
4582
|
+
}
|
|
4583
|
+
function IllegalArgumentException() {
|
|
4584
|
+
captureStack(this, IllegalArgumentException);
|
|
4585
|
+
}
|
|
4586
|
+
function IndexOutOfBoundsException_init_$Init$(message, $this) {
|
|
4587
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4588
|
+
IndexOutOfBoundsException.call($this);
|
|
4589
|
+
return $this;
|
|
4590
|
+
}
|
|
4591
|
+
function IndexOutOfBoundsException_init_$Create$(message) {
|
|
4592
|
+
var tmp = IndexOutOfBoundsException_init_$Init$(message, objectCreate(protoOf(IndexOutOfBoundsException)));
|
|
4593
|
+
captureStack(tmp, IndexOutOfBoundsException_init_$Create$);
|
|
4594
|
+
return tmp;
|
|
4595
|
+
}
|
|
4596
|
+
function IndexOutOfBoundsException() {
|
|
4597
|
+
captureStack(this, IndexOutOfBoundsException);
|
|
4598
|
+
}
|
|
4599
|
+
function IllegalStateException_init_$Init$(message, $this) {
|
|
4600
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4601
|
+
IllegalStateException.call($this);
|
|
4602
|
+
return $this;
|
|
4603
|
+
}
|
|
4604
|
+
function IllegalStateException_init_$Create$(message) {
|
|
4605
|
+
var tmp = IllegalStateException_init_$Init$(message, objectCreate(protoOf(IllegalStateException)));
|
|
4606
|
+
captureStack(tmp, IllegalStateException_init_$Create$);
|
|
4607
|
+
return tmp;
|
|
4608
|
+
}
|
|
4609
|
+
function IllegalStateException_init_$Init$_0(message, cause, $this) {
|
|
4610
|
+
RuntimeException_init_$Init$_1(message, cause, $this);
|
|
4611
|
+
IllegalStateException.call($this);
|
|
4612
|
+
return $this;
|
|
4613
|
+
}
|
|
4614
|
+
function IllegalStateException_init_$Create$_0(message, cause) {
|
|
4615
|
+
var tmp = IllegalStateException_init_$Init$_0(message, cause, objectCreate(protoOf(IllegalStateException)));
|
|
4616
|
+
captureStack(tmp, IllegalStateException_init_$Create$_0);
|
|
4617
|
+
return tmp;
|
|
4618
|
+
}
|
|
4619
|
+
function IllegalStateException() {
|
|
4620
|
+
captureStack(this, IllegalStateException);
|
|
4621
|
+
}
|
|
4622
|
+
function Exception_init_$Init$($this) {
|
|
4623
|
+
extendThrowable($this);
|
|
4624
|
+
Exception.call($this);
|
|
4625
|
+
return $this;
|
|
4626
|
+
}
|
|
4627
|
+
function Exception_init_$Init$_0(message, $this) {
|
|
4628
|
+
extendThrowable($this, message);
|
|
4629
|
+
Exception.call($this);
|
|
4630
|
+
return $this;
|
|
4631
|
+
}
|
|
4632
|
+
function Exception_init_$Create$(message) {
|
|
4633
|
+
var tmp = Exception_init_$Init$_0(message, objectCreate(protoOf(Exception)));
|
|
4634
|
+
captureStack(tmp, Exception_init_$Create$);
|
|
4635
|
+
return tmp;
|
|
4636
|
+
}
|
|
4637
|
+
function Exception_init_$Init$_1(message, cause, $this) {
|
|
4638
|
+
extendThrowable($this, message, cause);
|
|
4639
|
+
Exception.call($this);
|
|
4640
|
+
return $this;
|
|
4641
|
+
}
|
|
4642
|
+
function Exception() {
|
|
4643
|
+
captureStack(this, Exception);
|
|
4644
|
+
}
|
|
4645
|
+
function RuntimeException_init_$Init$($this) {
|
|
4646
|
+
Exception_init_$Init$($this);
|
|
4647
|
+
RuntimeException.call($this);
|
|
4648
|
+
return $this;
|
|
4649
|
+
}
|
|
4650
|
+
function RuntimeException_init_$Init$_0(message, $this) {
|
|
4651
|
+
Exception_init_$Init$_0(message, $this);
|
|
4652
|
+
RuntimeException.call($this);
|
|
4653
|
+
return $this;
|
|
4654
|
+
}
|
|
4655
|
+
function RuntimeException_init_$Init$_1(message, cause, $this) {
|
|
4656
|
+
Exception_init_$Init$_1(message, cause, $this);
|
|
4657
|
+
RuntimeException.call($this);
|
|
4658
|
+
return $this;
|
|
4659
|
+
}
|
|
4660
|
+
function RuntimeException_init_$Create$(message, cause) {
|
|
4661
|
+
var tmp = RuntimeException_init_$Init$_1(message, cause, objectCreate(protoOf(RuntimeException)));
|
|
4662
|
+
captureStack(tmp, RuntimeException_init_$Create$);
|
|
4663
|
+
return tmp;
|
|
4664
|
+
}
|
|
4665
|
+
function RuntimeException() {
|
|
4666
|
+
captureStack(this, RuntimeException);
|
|
4667
|
+
}
|
|
4668
|
+
function NoSuchElementException_init_$Init$($this) {
|
|
4669
|
+
RuntimeException_init_$Init$($this);
|
|
4670
|
+
NoSuchElementException.call($this);
|
|
4671
|
+
return $this;
|
|
4672
|
+
}
|
|
4673
|
+
function NoSuchElementException_init_$Create$() {
|
|
4674
|
+
var tmp = NoSuchElementException_init_$Init$(objectCreate(protoOf(NoSuchElementException)));
|
|
4675
|
+
captureStack(tmp, NoSuchElementException_init_$Create$);
|
|
4676
|
+
return tmp;
|
|
4677
|
+
}
|
|
4678
|
+
function NoSuchElementException_init_$Init$_0(message, $this) {
|
|
4679
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4680
|
+
NoSuchElementException.call($this);
|
|
4681
|
+
return $this;
|
|
4682
|
+
}
|
|
4683
|
+
function NoSuchElementException_init_$Create$_0(message) {
|
|
4684
|
+
var tmp = NoSuchElementException_init_$Init$_0(message, objectCreate(protoOf(NoSuchElementException)));
|
|
4685
|
+
captureStack(tmp, NoSuchElementException_init_$Create$_0);
|
|
4686
|
+
return tmp;
|
|
4687
|
+
}
|
|
4688
|
+
function NoSuchElementException() {
|
|
4689
|
+
captureStack(this, NoSuchElementException);
|
|
4690
|
+
}
|
|
4691
|
+
function Error_init_$Init$(message, $this) {
|
|
4692
|
+
extendThrowable($this, message);
|
|
4693
|
+
Error_0.call($this);
|
|
4694
|
+
return $this;
|
|
4695
|
+
}
|
|
4696
|
+
function Error_init_$Init$_0(message, cause, $this) {
|
|
4697
|
+
extendThrowable($this, message, cause);
|
|
4698
|
+
Error_0.call($this);
|
|
4699
|
+
return $this;
|
|
4700
|
+
}
|
|
4701
|
+
function Error_0() {
|
|
4702
|
+
captureStack(this, Error_0);
|
|
4703
|
+
}
|
|
4704
|
+
function UnsupportedOperationException_init_$Init$($this) {
|
|
4705
|
+
RuntimeException_init_$Init$($this);
|
|
4706
|
+
UnsupportedOperationException.call($this);
|
|
4707
|
+
return $this;
|
|
4708
|
+
}
|
|
4709
|
+
function UnsupportedOperationException_init_$Create$() {
|
|
4710
|
+
var tmp = UnsupportedOperationException_init_$Init$(objectCreate(protoOf(UnsupportedOperationException)));
|
|
4711
|
+
captureStack(tmp, UnsupportedOperationException_init_$Create$);
|
|
4712
|
+
return tmp;
|
|
4713
|
+
}
|
|
4714
|
+
function UnsupportedOperationException_init_$Init$_0(message, $this) {
|
|
4715
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4716
|
+
UnsupportedOperationException.call($this);
|
|
4717
|
+
return $this;
|
|
4718
|
+
}
|
|
4719
|
+
function UnsupportedOperationException_init_$Create$_0(message) {
|
|
4720
|
+
var tmp = UnsupportedOperationException_init_$Init$_0(message, objectCreate(protoOf(UnsupportedOperationException)));
|
|
4721
|
+
captureStack(tmp, UnsupportedOperationException_init_$Create$_0);
|
|
4722
|
+
return tmp;
|
|
4723
|
+
}
|
|
4724
|
+
function UnsupportedOperationException() {
|
|
4725
|
+
captureStack(this, UnsupportedOperationException);
|
|
4726
|
+
}
|
|
4727
|
+
function NullPointerException_init_$Init$($this) {
|
|
4728
|
+
RuntimeException_init_$Init$($this);
|
|
4729
|
+
NullPointerException.call($this);
|
|
4730
|
+
return $this;
|
|
4731
|
+
}
|
|
4732
|
+
function NullPointerException_init_$Create$() {
|
|
4733
|
+
var tmp = NullPointerException_init_$Init$(objectCreate(protoOf(NullPointerException)));
|
|
4734
|
+
captureStack(tmp, NullPointerException_init_$Create$);
|
|
4735
|
+
return tmp;
|
|
4736
|
+
}
|
|
4737
|
+
function NullPointerException() {
|
|
4738
|
+
captureStack(this, NullPointerException);
|
|
4739
|
+
}
|
|
4740
|
+
function NoWhenBranchMatchedException_init_$Init$($this) {
|
|
4741
|
+
RuntimeException_init_$Init$($this);
|
|
4742
|
+
NoWhenBranchMatchedException.call($this);
|
|
4743
|
+
return $this;
|
|
4744
|
+
}
|
|
4745
|
+
function NoWhenBranchMatchedException_init_$Create$() {
|
|
4746
|
+
var tmp = NoWhenBranchMatchedException_init_$Init$(objectCreate(protoOf(NoWhenBranchMatchedException)));
|
|
4747
|
+
captureStack(tmp, NoWhenBranchMatchedException_init_$Create$);
|
|
4748
|
+
return tmp;
|
|
4749
|
+
}
|
|
4750
|
+
function NoWhenBranchMatchedException() {
|
|
4751
|
+
captureStack(this, NoWhenBranchMatchedException);
|
|
4752
|
+
}
|
|
4753
|
+
function ClassCastException_init_$Init$($this) {
|
|
4754
|
+
RuntimeException_init_$Init$($this);
|
|
4755
|
+
ClassCastException.call($this);
|
|
4756
|
+
return $this;
|
|
4757
|
+
}
|
|
4758
|
+
function ClassCastException_init_$Create$() {
|
|
4759
|
+
var tmp = ClassCastException_init_$Init$(objectCreate(protoOf(ClassCastException)));
|
|
4760
|
+
captureStack(tmp, ClassCastException_init_$Create$);
|
|
4761
|
+
return tmp;
|
|
4762
|
+
}
|
|
4763
|
+
function ClassCastException() {
|
|
4764
|
+
captureStack(this, ClassCastException);
|
|
4765
|
+
}
|
|
4766
|
+
function UninitializedPropertyAccessException_init_$Init$(message, $this) {
|
|
4767
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4768
|
+
UninitializedPropertyAccessException.call($this);
|
|
4769
|
+
return $this;
|
|
4770
|
+
}
|
|
4771
|
+
function UninitializedPropertyAccessException_init_$Create$(message) {
|
|
4772
|
+
var tmp = UninitializedPropertyAccessException_init_$Init$(message, objectCreate(protoOf(UninitializedPropertyAccessException)));
|
|
4773
|
+
captureStack(tmp, UninitializedPropertyAccessException_init_$Create$);
|
|
4774
|
+
return tmp;
|
|
4775
|
+
}
|
|
4776
|
+
function UninitializedPropertyAccessException() {
|
|
4777
|
+
captureStack(this, UninitializedPropertyAccessException);
|
|
4778
|
+
}
|
|
4779
|
+
//region block: post-declaration
|
|
4780
|
+
protoOf(CombinedContext).c2 = plus;
|
|
4781
|
+
protoOf(AbstractCoroutineContextElement).v1 = get;
|
|
4782
|
+
protoOf(AbstractCoroutineContextElement).b2 = fold;
|
|
4783
|
+
protoOf(AbstractCoroutineContextElement).a2 = minusKey;
|
|
4784
|
+
protoOf(AbstractCoroutineContextElement).c2 = plus;
|
|
4785
|
+
protoOf(InternalHashCodeMap).e5 = createJsMap;
|
|
4786
|
+
//endregion
|
|
4787
|
+
//region block: exports
|
|
4788
|
+
_.$_$ = _.$_$ || {};
|
|
4789
|
+
_.$_$.a = getKClassFromExpression;
|
|
4790
|
+
_.$_$.b = ArrayList_init_$Create$_0;
|
|
4791
|
+
_.$_$.c = ArrayList_init_$Create$;
|
|
4792
|
+
_.$_$.d = HashSet_init_$Create$;
|
|
4793
|
+
_.$_$.e = LinkedHashMap_init_$Create$_0;
|
|
4794
|
+
_.$_$.f = LinkedHashMap_init_$Create$;
|
|
4795
|
+
_.$_$.g = CancellationException_init_$Create$;
|
|
4796
|
+
_.$_$.h = CancellationException_init_$Init$_0;
|
|
4797
|
+
_.$_$.i = CancellationException_init_$Create$_0;
|
|
4798
|
+
_.$_$.j = StringBuilder_init_$Create$;
|
|
4799
|
+
_.$_$.k = Error_init_$Init$_0;
|
|
4800
|
+
_.$_$.l = IllegalArgumentException_init_$Create$;
|
|
4801
|
+
_.$_$.m = IllegalStateException_init_$Init$;
|
|
4802
|
+
_.$_$.n = IllegalStateException_init_$Create$;
|
|
4803
|
+
_.$_$.o = IllegalStateException_init_$Create$_0;
|
|
4804
|
+
_.$_$.p = NoSuchElementException_init_$Init$_0;
|
|
4805
|
+
_.$_$.q = RuntimeException_init_$Init$_1;
|
|
4806
|
+
_.$_$.r = RuntimeException_init_$Create$;
|
|
4807
|
+
_.$_$.s = UnsupportedOperationException_init_$Create$;
|
|
4808
|
+
_.$_$.t = UnsupportedOperationException_init_$Create$_0;
|
|
4809
|
+
_.$_$.u = _Result___init__impl__xyqfz8;
|
|
4810
|
+
_.$_$.v = Result__exceptionOrNull_impl_p6xea9;
|
|
4811
|
+
_.$_$.w = _Result___get_value__impl__bjfvqg;
|
|
4812
|
+
_.$_$.x = Key_getInstance;
|
|
4813
|
+
_.$_$.y = EmptyCoroutineContext_getInstance;
|
|
4814
|
+
_.$_$.z = IntCompanionObject_getInstance;
|
|
4815
|
+
_.$_$.a1 = Companion_getInstance_7;
|
|
4816
|
+
_.$_$.b1 = Companion_getInstance_4;
|
|
4817
|
+
_.$_$.c1 = Unit_getInstance;
|
|
4818
|
+
_.$_$.d1 = ArrayList;
|
|
4819
|
+
_.$_$.e1 = arrayCopy;
|
|
4820
|
+
_.$_$.f1 = copyOf;
|
|
4821
|
+
_.$_$.g1 = emptyList;
|
|
4822
|
+
_.$_$.h1 = fill;
|
|
4823
|
+
_.$_$.i1 = first;
|
|
4824
|
+
_.$_$.j1 = joinToString_0;
|
|
4825
|
+
_.$_$.k1 = mapCapacity;
|
|
4826
|
+
_.$_$.l1 = plus_0;
|
|
4827
|
+
_.$_$.m1 = toList;
|
|
4828
|
+
_.$_$.n1 = CancellationException;
|
|
4829
|
+
_.$_$.o1 = get_COROUTINE_SUSPENDED;
|
|
4830
|
+
_.$_$.p1 = createCoroutineUnintercepted;
|
|
4831
|
+
_.$_$.q1 = intercepted;
|
|
4832
|
+
_.$_$.r1 = AbstractCoroutineContextElement;
|
|
4833
|
+
_.$_$.s1 = AbstractCoroutineContextKey;
|
|
4834
|
+
_.$_$.t1 = get_0;
|
|
4835
|
+
_.$_$.u1 = minusKey_0;
|
|
4836
|
+
_.$_$.v1 = ContinuationInterceptor;
|
|
4837
|
+
_.$_$.w1 = Continuation;
|
|
4838
|
+
_.$_$.x1 = fold;
|
|
4839
|
+
_.$_$.y1 = get;
|
|
4840
|
+
_.$_$.z1 = minusKey;
|
|
4841
|
+
_.$_$.a2 = Element;
|
|
4842
|
+
_.$_$.b2 = plus;
|
|
4843
|
+
_.$_$.c2 = CoroutineImpl;
|
|
4844
|
+
_.$_$.d2 = startCoroutine;
|
|
4845
|
+
_.$_$.e2 = anyToString;
|
|
4846
|
+
_.$_$.f2 = arrayIterator;
|
|
4847
|
+
_.$_$.g2 = captureStack;
|
|
4848
|
+
_.$_$.h2 = charSequenceLength;
|
|
4849
|
+
_.$_$.i2 = classMeta;
|
|
4850
|
+
_.$_$.j2 = defineProp;
|
|
4851
|
+
_.$_$.k2 = equals;
|
|
4852
|
+
_.$_$.l2 = fillArrayVal;
|
|
4853
|
+
_.$_$.m2 = getStringHashCode;
|
|
4854
|
+
_.$_$.n2 = hashCode;
|
|
4855
|
+
_.$_$.o2 = interfaceMeta;
|
|
4856
|
+
_.$_$.p2 = isInterface;
|
|
4857
|
+
_.$_$.q2 = isObject;
|
|
4858
|
+
_.$_$.r2 = objectCreate;
|
|
4859
|
+
_.$_$.s2 = objectMeta;
|
|
4860
|
+
_.$_$.t2 = protoOf;
|
|
4861
|
+
_.$_$.u2 = setMetadataFor;
|
|
4862
|
+
_.$_$.v2 = toLong;
|
|
4863
|
+
_.$_$.w2 = toString_2;
|
|
4864
|
+
_.$_$.x2 = coerceAtLeast;
|
|
4865
|
+
_.$_$.y2 = isBlank;
|
|
4866
|
+
_.$_$.z2 = toLongOrNull;
|
|
4867
|
+
_.$_$.a3 = Enum;
|
|
4868
|
+
_.$_$.b3 = Error_0;
|
|
4869
|
+
_.$_$.c3 = IllegalStateException;
|
|
4870
|
+
_.$_$.d3 = Long;
|
|
4871
|
+
_.$_$.e3 = NoSuchElementException;
|
|
4872
|
+
_.$_$.f3 = RuntimeException;
|
|
4873
|
+
_.$_$.g3 = THROW_CCE;
|
|
4874
|
+
_.$_$.h3 = Unit;
|
|
4875
|
+
_.$_$.i3 = UnsupportedOperationException;
|
|
4876
|
+
_.$_$.j3 = addSuppressed;
|
|
4877
|
+
_.$_$.k3 = createFailure;
|
|
4878
|
+
_.$_$.l3 = ensureNotNull;
|
|
4879
|
+
_.$_$.m3 = noWhenBranchMatchedException;
|
|
4880
|
+
_.$_$.n3 = throwKotlinNothingValueException;
|
|
4881
|
+
_.$_$.o3 = throwUninitializedPropertyAccessException;
|
|
4882
|
+
_.$_$.p3 = toString_1;
|
|
4883
|
+
_.$_$.q3 = VOID;
|
|
4884
|
+
//endregion
|
|
4885
|
+
return _;
|
|
4886
|
+
}));
|
|
4887
|
+
|
|
4888
|
+
//# sourceMappingURL=kotlin-kotlin-stdlib-js-ir.js.map
|