UNPKG

@cpaassdk/cpaas-sdk

Version:
1,323 lines (1,321 loc) 1.04 MB
(function (root, factory) { if (typeof define === 'function' && define.amd) define(['exports'], factory); else if (typeof exports === 'object') factory(module.exports); else root.kotlin_kotlin = factory(typeof kotlin_kotlin === 'undefined' ? {} : kotlin_kotlin); }(this, function (_) { //region block: imports var imul = Math.imul; //endregion 'use strict'; //region block: pre-declaration Exception.prototype = Object.create(Error.prototype); Exception.prototype.constructor = Exception; RuntimeException.prototype = Object.create(Exception.prototype); RuntimeException.prototype.constructor = RuntimeException; KotlinNothingValueException.prototype = Object.create(RuntimeException.prototype); KotlinNothingValueException.prototype.constructor = KotlinNothingValueException; Level.prototype = Object.create(Enum.prototype); Level.prototype.constructor = Level; Level_0.prototype = Object.create(Enum.prototype); Level_0.prototype.constructor = Level_0; AbstractList.prototype = Object.create(AbstractCollection.prototype); AbstractList.prototype.constructor = AbstractList; SubList.prototype = Object.create(AbstractList.prototype); SubList.prototype.constructor = SubList; ListIteratorImpl.prototype = Object.create(IteratorImpl.prototype); ListIteratorImpl.prototype.constructor = ListIteratorImpl; AbstractSet.prototype = Object.create(AbstractCollection.prototype); AbstractSet.prototype.constructor = AbstractSet; AbstractMap$keys$1.prototype = Object.create(AbstractSet.prototype); AbstractMap$keys$1.prototype.constructor = AbstractMap$keys$1; AbstractMap$values$1.prototype = Object.create(AbstractCollection.prototype); AbstractMap$values$1.prototype.constructor = AbstractMap$values$1; AbstractMutableCollection.prototype = Object.create(AbstractCollection.prototype); AbstractMutableCollection.prototype.constructor = AbstractMutableCollection; AbstractMutableList.prototype = Object.create(AbstractMutableCollection.prototype); AbstractMutableList.prototype.constructor = AbstractMutableList; ArrayDeque.prototype = Object.create(AbstractMutableList.prototype); ArrayDeque.prototype.constructor = ArrayDeque; ReversedListReadOnly.prototype = Object.create(AbstractList.prototype); ReversedListReadOnly.prototype.constructor = ReversedListReadOnly; SequenceBuilderIterator.prototype = Object.create(SequenceScope.prototype); SequenceBuilderIterator.prototype.constructor = SequenceBuilderIterator; function callsInPlace$default(lambda, kind, $mask0, $handler) { if (!(($mask0 & 2) === 0)) kind = InvocationKind_UNKNOWN_getInstance(); return $handler == null ? this.callsInPlace_jmp6z0_k$(lambda, kind) : $handler(lambda, kind); } InvocationKind.prototype = Object.create(Enum.prototype); InvocationKind.prototype.constructor = InvocationKind; function plus(context) { var tmp; if (context === EmptyCoroutineContext_getInstance()) { tmp = this; } else { tmp = context.fold_6dbyow_k$(this, CoroutineContext$plus$lambda()); } return tmp; } function get(key) { var tmp; if (equals_1(this._get_key__857139730_e6bh8y_k$(), key)) { tmp = isInterface(this, Element) ? this : THROW_CCE(); } else { tmp = null; } return tmp; } function fold(initial, operation) { return operation(initial, this); } function minusKey(key) { return equals_1(this._get_key__857139730_e6bh8y_k$(), key) ? EmptyCoroutineContext_getInstance() : this; } function releaseInterceptedContinuation(continuation) { } function get_0(key) { if (key instanceof AbstractCoroutineContextKey) { var tmp; if (key.isSubKey_5an70z_k$(this._get_key__857139730_e6bh8y_k$())) { var tmp_0 = key.tryCast_hqzvw1_k$(this); tmp = (!(tmp_0 == null) ? isInterface(tmp_0, Element) : false) ? tmp_0 : null; } else { tmp = null; } return tmp; } else { } var tmp_1; if (Key_getInstance() === key) { tmp_1 = isInterface(this, Element) ? this : THROW_CCE(); } else { tmp_1 = null; } return tmp_1; } function minusKey_0(key) { if (key instanceof AbstractCoroutineContextKey) { return (key.isSubKey_5an70z_k$(this._get_key__857139730_e6bh8y_k$()) ? !(key.tryCast_hqzvw1_k$(this) == null) : false) ? EmptyCoroutineContext_getInstance() : this; } else { } return Key_getInstance() === key ? EmptyCoroutineContext_getInstance() : this; } CoroutineSingletons.prototype = Object.create(Enum.prototype); CoroutineSingletons.prototype.constructor = CoroutineSingletons; RequireKotlinVersionKind.prototype = Object.create(Enum.prototype); RequireKotlinVersionKind.prototype.constructor = RequireKotlinVersionKind; Default.prototype = Object.create(Random.prototype); Default.prototype.constructor = Default; XorWowRandom.prototype = Object.create(Random.prototype); XorWowRandom.prototype.constructor = XorWowRandom; function contains(value) { return compareTo_0(value, this._get_start__3614751663_b8zdqp_k$()) >= 0 ? compareTo_0(value, this._get_endInclusive__731268122_c3dm3e_k$()) <= 0 : false; } function isEmpty() { return compareTo_0(this._get_start__3614751663_b8zdqp_k$(), this._get_endInclusive__731268122_c3dm3e_k$()) > 0; } function contains_0(value) { return this.lessThanOrEquals_fm7qp2_k$(this._get_start__3614751663_b8zdqp_k$(), value) ? this.lessThanOrEquals_fm7qp2_k$(value, this._get_endInclusive__731268122_c3dm3e_k$()) : false; } function isEmpty_0() { return !this.lessThanOrEquals_fm7qp2_k$(this._get_start__3614751663_b8zdqp_k$(), this._get_endInclusive__731268122_c3dm3e_k$()); } KVariance.prototype = Object.create(Enum.prototype); KVariance.prototype.constructor = KVariance; iterator$1.prototype = Object.create(CharIterator.prototype); iterator$1.prototype.constructor = iterator$1; function _get_destructured__2060116729() { return new Destructured(this); } DeepRecursiveScopeImpl.prototype = Object.create(DeepRecursiveScope.prototype); DeepRecursiveScopeImpl.prototype.constructor = DeepRecursiveScopeImpl; LazyThreadSafetyMode.prototype = Object.create(Enum.prototype); LazyThreadSafetyMode.prototype.constructor = LazyThreadSafetyMode; Error_0.prototype = Object.create(Error.prototype); Error_0.prototype.constructor = Error_0; NotImplementedError.prototype = Object.create(Error_0.prototype); NotImplementedError.prototype.constructor = NotImplementedError; Iterator.prototype = Object.create(UByteIterator.prototype); Iterator.prototype.constructor = Iterator; Iterator_0.prototype = Object.create(UIntIterator.prototype); Iterator_0.prototype.constructor = Iterator_0; UIntRange.prototype = Object.create(UIntProgression.prototype); UIntRange.prototype.constructor = UIntRange; UIntProgressionIterator.prototype = Object.create(UIntIterator.prototype); UIntProgressionIterator.prototype.constructor = UIntProgressionIterator; Iterator_1.prototype = Object.create(ULongIterator.prototype); Iterator_1.prototype.constructor = Iterator_1; ULongRange.prototype = Object.create(ULongProgression.prototype); ULongRange.prototype.constructor = ULongRange; ULongProgressionIterator.prototype = Object.create(ULongIterator.prototype); ULongProgressionIterator.prototype.constructor = ULongProgressionIterator; Iterator_2.prototype = Object.create(UShortIterator.prototype); Iterator_2.prototype.constructor = Iterator_2; DeprecationLevel.prototype = Object.create(Enum.prototype); DeprecationLevel.prototype.constructor = DeprecationLevel; IntProgressionIterator.prototype = Object.create(IntIterator.prototype); IntProgressionIterator.prototype.constructor = IntProgressionIterator; CharProgressionIterator.prototype = Object.create(CharIterator.prototype); CharProgressionIterator.prototype.constructor = CharProgressionIterator; LongProgressionIterator.prototype = Object.create(LongIterator.prototype); LongProgressionIterator.prototype.constructor = LongProgressionIterator; IntRange.prototype = Object.create(IntProgression.prototype); IntRange.prototype.constructor = IntRange; CharRange.prototype = Object.create(CharProgression.prototype); CharRange.prototype.constructor = CharRange; LongRange.prototype = Object.create(LongProgression.prototype); LongRange.prototype.constructor = LongRange; AnnotationTarget.prototype = Object.create(Enum.prototype); AnnotationTarget.prototype.constructor = AnnotationTarget; AnnotationRetention.prototype = Object.create(Enum.prototype); AnnotationRetention.prototype.constructor = AnnotationRetention; ListIteratorImpl_0.prototype = Object.create(IteratorImpl_0.prototype); ListIteratorImpl_0.prototype.constructor = ListIteratorImpl_0; SubList_0.prototype = Object.create(AbstractMutableList.prototype); SubList_0.prototype.constructor = SubList_0; AbstractMutableSet.prototype = Object.create(AbstractMutableCollection.prototype); AbstractMutableSet.prototype.constructor = AbstractMutableSet; AbstractEntrySet.prototype = Object.create(AbstractMutableSet.prototype); AbstractEntrySet.prototype.constructor = AbstractEntrySet; AbstractMutableMap$keys$1.prototype = Object.create(AbstractMutableSet.prototype); AbstractMutableMap$keys$1.prototype.constructor = AbstractMutableMap$keys$1; AbstractMutableMap$values$1.prototype = Object.create(AbstractMutableCollection.prototype); AbstractMutableMap$values$1.prototype.constructor = AbstractMutableMap$values$1; AbstractMutableMap.prototype = Object.create(AbstractMap.prototype); AbstractMutableMap.prototype.constructor = AbstractMutableMap; ArrayList.prototype = Object.create(AbstractMutableList.prototype); ArrayList.prototype.constructor = ArrayList; EntrySet.prototype = Object.create(AbstractEntrySet.prototype); EntrySet.prototype.constructor = EntrySet; HashMap.prototype = Object.create(AbstractMutableMap.prototype); HashMap.prototype.constructor = HashMap; HashSet.prototype = Object.create(AbstractMutableSet.prototype); HashSet.prototype.constructor = HashSet; function createJsMap() { var result = Object.create(null); result['foo'] = 1; jsDeleteProperty(result, 'foo'); return result; } ChainEntry.prototype = Object.create(SimpleEntry.prototype); ChainEntry.prototype.constructor = ChainEntry; EntrySet_0.prototype = Object.create(AbstractEntrySet.prototype); EntrySet_0.prototype.constructor = EntrySet_0; LinkedHashMap.prototype = Object.create(HashMap.prototype); LinkedHashMap.prototype.constructor = LinkedHashMap; LinkedHashSet.prototype = Object.create(HashSet.prototype); LinkedHashSet.prototype.constructor = LinkedHashSet; NodeJsOutput.prototype = Object.create(BaseOutput.prototype); NodeJsOutput.prototype.constructor = NodeJsOutput; BufferedOutput.prototype = Object.create(BaseOutput.prototype); BufferedOutput.prototype.constructor = BufferedOutput; BufferedOutputToConsoleLog.prototype = Object.create(BufferedOutput.prototype); BufferedOutputToConsoleLog.prototype.constructor = BufferedOutputToConsoleLog; IllegalStateException.prototype = Object.create(RuntimeException.prototype); IllegalStateException.prototype.constructor = IllegalStateException; CancellationException.prototype = Object.create(IllegalStateException.prototype); CancellationException.prototype.constructor = CancellationException; PrimitiveKClassImpl.prototype = Object.create(KClassImpl.prototype); PrimitiveKClassImpl.prototype.constructor = PrimitiveKClassImpl; NothingKClassImpl.prototype = Object.create(KClassImpl.prototype); NothingKClassImpl.prototype.constructor = NothingKClassImpl; SimpleKClassImpl.prototype = Object.create(KClassImpl.prototype); SimpleKClassImpl.prototype.constructor = SimpleKClassImpl; CharacterCodingException.prototype = Object.create(Exception.prototype); CharacterCodingException.prototype.constructor = CharacterCodingException; Regex$splitToSequence$slambda.prototype = Object.create(CoroutineImpl.prototype); Regex$splitToSequence$slambda.prototype.constructor = Regex$splitToSequence$slambda; RegexOption.prototype = Object.create(Enum.prototype); RegexOption.prototype.constructor = RegexOption; findNext$1$groups$1.prototype = Object.create(AbstractCollection.prototype); findNext$1$groups$1.prototype.constructor = findNext$1$groups$1; findNext$1$groupValues$1.prototype = Object.create(AbstractList.prototype); findNext$1$groupValues$1.prototype.constructor = findNext$1$groupValues$1; booleanArrayIterator$1.prototype = Object.create(BooleanIterator.prototype); booleanArrayIterator$1.prototype.constructor = booleanArrayIterator$1; charArrayIterator$1.prototype = Object.create(CharIterator.prototype); charArrayIterator$1.prototype.constructor = charArrayIterator$1; byteArrayIterator$1.prototype = Object.create(ByteIterator.prototype); byteArrayIterator$1.prototype.constructor = byteArrayIterator$1; shortArrayIterator$1.prototype = Object.create(ShortIterator.prototype); shortArrayIterator$1.prototype.constructor = shortArrayIterator$1; intArrayIterator$1.prototype = Object.create(IntIterator.prototype); intArrayIterator$1.prototype.constructor = intArrayIterator$1; floatArrayIterator$1.prototype = Object.create(FloatIterator.prototype); floatArrayIterator$1.prototype.constructor = floatArrayIterator$1; longArrayIterator$1.prototype = Object.create(LongIterator.prototype); longArrayIterator$1.prototype.constructor = longArrayIterator$1; doubleArrayIterator$1.prototype = Object.create(DoubleIterator.prototype); doubleArrayIterator$1.prototype.constructor = doubleArrayIterator$1; Long.prototype = Object.create(Number_0.prototype); Long.prototype.constructor = Long; LinkageError.prototype = Object.create(Error_0.prototype); LinkageError.prototype.constructor = LinkageError; _no_name_provided__1_2832250971_4.prototype = Object.create(CoroutineImpl.prototype); _no_name_provided__1_2832250971_4.prototype.constructor = _no_name_provided__1_2832250971_4; _no_name_provided__1_2832250971_5.prototype = Object.create(CoroutineImpl.prototype); _no_name_provided__1_2832250971_5.prototype.constructor = _no_name_provided__1_2832250971_5; _no_name_provided__2671100649_3.prototype = Object.create(CoroutineImpl.prototype); _no_name_provided__2671100649_3.prototype.constructor = _no_name_provided__2671100649_3; IllegalArgumentException.prototype = Object.create(RuntimeException.prototype); IllegalArgumentException.prototype.constructor = IllegalArgumentException; NoSuchElementException.prototype = Object.create(RuntimeException.prototype); NoSuchElementException.prototype.constructor = NoSuchElementException; UnsupportedOperationException.prototype = Object.create(RuntimeException.prototype); UnsupportedOperationException.prototype.constructor = UnsupportedOperationException; IndexOutOfBoundsException.prototype = Object.create(RuntimeException.prototype); IndexOutOfBoundsException.prototype.constructor = IndexOutOfBoundsException; ArithmeticException.prototype = Object.create(RuntimeException.prototype); ArithmeticException.prototype.constructor = ArithmeticException; NumberFormatException.prototype = Object.create(IllegalArgumentException.prototype); NumberFormatException.prototype.constructor = NumberFormatException; NullPointerException.prototype = Object.create(RuntimeException.prototype); NullPointerException.prototype.constructor = NullPointerException; NoWhenBranchMatchedException.prototype = Object.create(RuntimeException.prototype); NoWhenBranchMatchedException.prototype.constructor = NoWhenBranchMatchedException; ClassCastException.prototype = Object.create(RuntimeException.prototype); ClassCastException.prototype.constructor = ClassCastException; UninitializedPropertyAccessException.prototype = Object.create(RuntimeException.prototype); UninitializedPropertyAccessException.prototype.constructor = UninitializedPropertyAccessException; //endregion function fold_0(_this__1828080292, initial, operation) { var accumulator = initial; var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; accumulator = operation(accumulator, element); } return accumulator; } function toList(_this__1828080292) { var tmp0_subject = _this__1828080292.length; switch (tmp0_subject) { case 0: return emptyList(); case 1: return listOf_1(_this__1828080292[0]); default: return toMutableList(_this__1828080292); } } function withIndex(_this__1828080292) { return new IndexingIterable(withIndex$lambda(_this__1828080292)); } function _get_indices__2241594442(_this__1828080292) { return new IntRange(0, _get_lastIndex__339712501(_this__1828080292)); } function _get_indices__2241594442_0(_this__1828080292) { return new IntRange(0, _get_lastIndex__339712501_0(_this__1828080292)); } function firstOrNull(_this__1828080292) { var tmp; var tmp$ret$0; $l$block: { tmp$ret$0 = _this__1828080292.length === 0; break $l$block; } if (tmp$ret$0) { tmp = null; } else { { tmp = _this__1828080292[0]; } } return tmp; } function joinToString(_this__1828080292, separator, prefix, postfix, limit, truncated, transform) { return joinTo(_this__1828080292, StringBuilder_init_$Create$_1(), separator, prefix, postfix, limit, truncated, transform).toString(); } function joinToString$default(_this__1828080292, separator, prefix, postfix, limit, truncated, transform, $mask0, $handler) { if (!(($mask0 & 1) === 0)) separator = ', '; if (!(($mask0 & 2) === 0)) prefix = ''; if (!(($mask0 & 4) === 0)) postfix = ''; if (!(($mask0 & 8) === 0)) limit = -1; if (!(($mask0 & 16) === 0)) truncated = '...'; if (!(($mask0 & 32) === 0)) transform = null; return joinToString(_this__1828080292, separator, prefix, postfix, limit, truncated, transform); } function map(_this__1828080292, transform) { var tmp$ret$0; $l$block: { var tmp0_mapTo_0 = ArrayList_init_$Create$_0(_this__1828080292.length); var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var item_2 = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; tmp0_mapTo_0.add_1j60pz_k$(transform(item_2)); Unit_getInstance(); } tmp$ret$0 = tmp0_mapTo_0; break $l$block; } return tmp$ret$0; } function forEach(_this__1828080292, action) { var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; action(element); } } function isNotEmpty(_this__1828080292) { var tmp$ret$0; $l$block: { tmp$ret$0 = _this__1828080292.length === 0; break $l$block; } return !tmp$ret$0; } function onEach(_this__1828080292, action) { var tmp$ret$0; $l$block: { { } { var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element_4 = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; action(element_4); } } tmp$ret$0 = _this__1828080292; break $l$block; } return tmp$ret$0; } function find(_this__1828080292, predicate) { var tmp$ret$0; $l$block_0: { var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element_2 = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; if (predicate(element_2)) { tmp$ret$0 = element_2; break $l$block_0; } } tmp$ret$0 = null; break $l$block_0; } return tmp$ret$0; } function isEmpty_1(_this__1828080292) { return _this__1828080292.length === 0; } function indexOf(_this__1828080292, element) { if (element == null) { var inductionVariable = 0; var last = _this__1828080292.length - 1 | 0; if (inductionVariable <= last) do { var index = inductionVariable; inductionVariable = inductionVariable + 1 | 0; if (_this__1828080292[index] == null) { return index; } } while (inductionVariable <= last); } else { var inductionVariable_0 = 0; var last_0 = _this__1828080292.length - 1 | 0; if (inductionVariable_0 <= last_0) do { var index_0 = inductionVariable_0; inductionVariable_0 = inductionVariable_0 + 1 | 0; if (equals_1(element, _this__1828080292[index_0])) { return index_0; } } while (inductionVariable_0 <= last_0); } return -1; } function lastIndexOf(_this__1828080292, element) { if (element == null) { var inductionVariable = _this__1828080292.length - 1 | 0; if (0 <= inductionVariable) do { var index = inductionVariable; inductionVariable = inductionVariable + -1 | 0; if (_this__1828080292[index] == null) { return index; } } while (0 <= inductionVariable); } else { var inductionVariable_0 = _this__1828080292.length - 1 | 0; if (0 <= inductionVariable_0) do { var index_0 = inductionVariable_0; inductionVariable_0 = inductionVariable_0 + -1 | 0; if (equals_1(element, _this__1828080292[index_0])) { return index_0; } } while (0 <= inductionVariable_0); } return -1; } function toSet(_this__1828080292) { var tmp0_subject = _this__1828080292.length; switch (tmp0_subject) { case 0: return emptySet(); case 1: return setOf_0(_this__1828080292[0]); default: return toCollection(_this__1828080292, LinkedHashSet_init_$Create$_3(mapCapacity(_this__1828080292.length))); } } function single(_this__1828080292) { var tmp0_subject = _this__1828080292.length; var tmp; switch (tmp0_subject) { case 0: throw NoSuchElementException_init_$Create$_0('Array is empty.'); case 1: tmp = _this__1828080292[0]; break; default: throw IllegalArgumentException_init_$Create$_0('Array has more than one element.'); } return tmp; } function any(_this__1828080292, predicate) { var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; if (predicate(new Char_0(element))) return true; } return false; } function contains_1(_this__1828080292, element) { return indexOf(_this__1828080292, element) >= 0; } function toMutableList(_this__1828080292) { return ArrayList_init_$Create$_1(asCollection(_this__1828080292)); } function _get_lastIndex__339712501(_this__1828080292) { return _this__1828080292.length - 1 | 0; } function _get_lastIndex__339712501_0(_this__1828080292) { return _this__1828080292.length - 1 | 0; } function joinTo(_this__1828080292, buffer, separator, prefix, postfix, limit, truncated, transform) { buffer.append_oz4qxs_k$(prefix); Unit_getInstance(); var count = 0; var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; $l$loop: while (inductionVariable < last) { var element = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; count = count + 1 | 0; if (count > 1) { buffer.append_oz4qxs_k$(separator); Unit_getInstance(); } else { } if (limit < 0 ? true : count <= limit) { appendElement(buffer, element, transform); } else break $l$loop; } if (limit >= 0 ? count > limit : false) { buffer.append_oz4qxs_k$(truncated); Unit_getInstance(); } buffer.append_oz4qxs_k$(postfix); Unit_getInstance(); return buffer; } function joinTo$default(_this__1828080292, buffer, separator, prefix, postfix, limit, truncated, transform, $mask0, $handler) { if (!(($mask0 & 2) === 0)) separator = ', '; if (!(($mask0 & 4) === 0)) prefix = ''; if (!(($mask0 & 8) === 0)) postfix = ''; if (!(($mask0 & 16) === 0)) limit = -1; if (!(($mask0 & 32) === 0)) truncated = '...'; if (!(($mask0 & 64) === 0)) transform = null; return joinTo(_this__1828080292, buffer, separator, prefix, postfix, limit, truncated, transform); } function mapTo(_this__1828080292, destination, transform) { var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var item = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; destination.add_1j60pz_k$(transform(item)); Unit_getInstance(); } return destination; } function firstOrNull_0(_this__1828080292, predicate) { var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; if (predicate(element)) return element; } return null; } function toCollection(_this__1828080292, destination) { var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var item = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; destination.add_1j60pz_k$(item); Unit_getInstance(); } return destination; } function any_0(_this__1828080292, predicate) { var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; if (predicate(element)) return true; } return false; } function contains_2(_this__1828080292, element) { return indexOf_0(_this__1828080292, element) >= 0; } function indexOf_0(_this__1828080292, element) { var inductionVariable = 0; var last = _this__1828080292.length - 1 | 0; if (inductionVariable <= last) do { var index = inductionVariable; inductionVariable = inductionVariable + 1 | 0; if (equals_1(new Char_0(element), new Char_0(_this__1828080292[index]))) { return index; } } while (inductionVariable <= last); return -1; } function _get_indices__2241594442_1(_this__1828080292) { return new IntRange(0, _get_lastIndex__339712501_1(_this__1828080292)); } function _get_lastIndex__339712501_1(_this__1828080292) { return _this__1828080292.length - 1 | 0; } function isEmpty_2(_this__1828080292) { return _this__1828080292.length === 0; } function maxByOrNull(_this__1828080292, selector) { var tmp$ret$0; $l$block: { tmp$ret$0 = _this__1828080292.length === 0; break $l$block; } if (tmp$ret$0) return null; else { } var maxElem = _this__1828080292[0]; var lastIndex = _get_lastIndex__339712501(_this__1828080292); if (lastIndex === 0) return maxElem; var maxValue = selector(maxElem); var inductionVariable = 1; if (inductionVariable <= lastIndex) do { var i = inductionVariable; inductionVariable = inductionVariable + 1 | 0; var e = _this__1828080292[i]; var v = selector(e); if (compareTo_0(maxValue, v) < 0) { maxElem = e; maxValue = v; } } while (!(i === lastIndex)); return maxElem; } function singleOrNull(_this__1828080292, predicate) { var single = null; var found = false; var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; if (predicate(element)) { if (found) return null; single = element; found = true; } } if (!found) return null; return single; } function associateBy(_this__1828080292, keySelector) { var capacity = coerceAtLeast(mapCapacity(_this__1828080292.length), 16); var tmp$ret$0; $l$block: { var tmp0_associateByTo_0 = LinkedHashMap_init_$Create$_2(capacity); var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element_2 = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; tmp0_associateByTo_0.put_3mhbri_k$(keySelector(element_2), element_2); Unit_getInstance(); } tmp$ret$0 = tmp0_associateByTo_0; break $l$block; } return tmp$ret$0; } function zip(_this__1828080292, other) { var tmp$ret$2; $l$block_1: { var tmp$ret$0; $l$block: { var tmp0_minOf_0 = _this__1828080292.length; var tmp1_minOf_0 = other.length; tmp$ret$0 = Math.min(tmp0_minOf_0, tmp1_minOf_0); break $l$block; } var size_1 = tmp$ret$0; var list_2 = ArrayList_init_$Create$_0(size_1); var inductionVariable = 0; if (inductionVariable < size_1) do { var i_4 = inductionVariable; inductionVariable = inductionVariable + 1 | 0; var tmp$ret$1; $l$block_0: { var tmp2__anonymous__5_1215738847 = _this__1828080292[i_4]; var tmp3__anonymous__5_2723290656 = other[i_4]; tmp$ret$1 = to(tmp2__anonymous__5_1215738847, tmp3__anonymous__5_2723290656); break $l$block_0; } list_2.add_1j60pz_k$(tmp$ret$1); Unit_getInstance(); } while (inductionVariable < size_1); tmp$ret$2 = list_2; break $l$block_1; } return tmp$ret$2; } function associateByTo(_this__1828080292, destination, keySelector) { var indexedObject = _this__1828080292; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; destination.put_3mhbri_k$(keySelector(element), element); Unit_getInstance(); } return destination; } function zip_0(_this__1828080292, other, transform) { var tmp$ret$0; $l$block: { var tmp0_minOf_0 = _this__1828080292.length; var tmp1_minOf_0 = other.length; tmp$ret$0 = Math.min(tmp0_minOf_0, tmp1_minOf_0); break $l$block; } var size = tmp$ret$0; var list = ArrayList_init_$Create$_0(size); var inductionVariable = 0; if (inductionVariable < size) do { var i = inductionVariable; inductionVariable = inductionVariable + 1 | 0; list.add_1j60pz_k$(transform(_this__1828080292[i], other[i])); Unit_getInstance(); } while (inductionVariable < size); return list; } function _get_lastIndex__339712501_2(_this__1828080292) { return _this__1828080292.length - 1 | 0; } function _get_indices__2241594442_2(_this__1828080292) { return new IntRange(0, _get_lastIndex__339712501_2(_this__1828080292)); } function _get_indices__2241594442_3(_this__1828080292) { return new IntRange(0, _get_lastIndex__339712501_3(_this__1828080292)); } function _get_lastIndex__339712501_3(_this__1828080292) { return _this__1828080292.length - 1 | 0; } function contains_3(_this__1828080292, element) { return indexOf_1(_this__1828080292, element) >= 0; } function indexOf_1(_this__1828080292, element) { var inductionVariable = 0; var last = _this__1828080292.length - 1 | 0; if (inductionVariable <= last) do { var index = inductionVariable; inductionVariable = inductionVariable + 1 | 0; if (element === _this__1828080292[index]) { return index; } } while (inductionVariable <= last); return -1; } function _get_indices__2241594442_4(_this__1828080292) { return new IntRange(0, _get_lastIndex__339712501_4(_this__1828080292)); } function _get_lastIndex__339712501_4(_this__1828080292) { return _this__1828080292.length - 1 | 0; } function contains_4(_this__1828080292, element) { return indexOf_2(_this__1828080292, element) >= 0; } function indexOf_2(_this__1828080292, element) { var inductionVariable = 0; var last = _this__1828080292.length - 1 | 0; if (inductionVariable <= last) do { var index = inductionVariable; inductionVariable = inductionVariable + 1 | 0; if (element === _this__1828080292[index]) { return index; } } while (inductionVariable <= last); return -1; } function _get_indices__2241594442_5(_this__1828080292) { return new IntRange(0, _get_lastIndex__339712501_5(_this__1828080292)); } function _get_lastIndex__339712501_5(_this__1828080292) { return _this__1828080292.length - 1 | 0; } function contains_5(_this__1828080292, element) { return indexOf_3(_this__1828080292, element) >= 0; } function indexOf_3(_this__1828080292, element) { var inductionVariable = 0; var last = _this__1828080292.length - 1 | 0; if (inductionVariable <= last) do { var index = inductionVariable; inductionVariable = inductionVariable + 1 | 0; if (element === _this__1828080292[index]) { return index; } } while (inductionVariable <= last); return -1; } function contains_6(_this__1828080292, element) { return indexOf_4(_this__1828080292, element) >= 0; } function indexOf_4(_this__1828080292, element) { var inductionVariable = 0; var last = _this__1828080292.length - 1 | 0; if (inductionVariable <= last) do { var index = inductionVariable; inductionVariable = inductionVariable + 1 | 0; if (element.equals(_this__1828080292[index])) { return index; } } while (inductionVariable <= last); return -1; } function withIndex$lambda($this_withIndex) { return function () { return arrayIterator($this_withIndex); }; } function firstOrNull_1(_this__1828080292, predicate) { var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var element = tmp0_iterator.next_20eer_k$(); if (predicate(element)) return element; } return null; } function map_0(_this__1828080292, transform) { var tmp$ret$0; $l$block: { var tmp0_mapTo_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(_this__1828080292, 10)); var tmp0_iterator_1 = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator_1.hasNext_bitz1p_k$()) { var item_2 = tmp0_iterator_1.next_20eer_k$(); tmp0_mapTo_0.add_1j60pz_k$(transform(item_2)); Unit_getInstance(); } tmp$ret$0 = tmp0_mapTo_0; break $l$block; } return tmp$ret$0; } function plus_0(_this__1828080292, elements) { if (isInterface(elements, Collection)) { var result = ArrayList_init_$Create$_0(_this__1828080292._get_size__809037418_ddoh9m_k$() + elements._get_size__809037418_ddoh9m_k$() | 0); result.addAll_oxxjjk_k$(_this__1828080292); Unit_getInstance(); result.addAll_oxxjjk_k$(elements); Unit_getInstance(); return result; } else { { var result_0 = ArrayList_init_$Create$_1(_this__1828080292); addAll(result_0, elements); Unit_getInstance(); return result_0; } } } function plus_1(_this__1828080292, elements) { if (isInterface(_this__1828080292, Collection)) return plus_0(_this__1828080292, elements); else { } var result = ArrayList_init_$Create$(); addAll(result, _this__1828080292); Unit_getInstance(); addAll(result, elements); Unit_getInstance(); return result; } function toSet_0(_this__1828080292) { if (isInterface(_this__1828080292, Collection)) { var tmp0_subject = _this__1828080292._get_size__809037418_ddoh9m_k$(); var tmp; switch (tmp0_subject) { case 0: tmp = emptySet(); break; case 1: var tmp_0; if (isInterface(_this__1828080292, List)) { tmp_0 = _this__1828080292.get_fkrdnv_k$(0); } else { { tmp_0 = _this__1828080292.iterator_jk1svi_k$().next_20eer_k$(); } } tmp = setOf_0(tmp_0); break; default: tmp = toCollection_0(_this__1828080292, LinkedHashSet_init_$Create$_3(mapCapacity(_this__1828080292._get_size__809037418_ddoh9m_k$()))); break; } return tmp; } else { } return optimizeReadOnlySet(toCollection_0(_this__1828080292, LinkedHashSet_init_$Create$_0())); } function asSequence(_this__1828080292) { var tmp$ret$0; $l$block: { tmp$ret$0 = new _no_name_provided__1_2832250971(_this__1828080292); break $l$block; } return tmp$ret$0; } function firstOrNull_2(_this__1828080292) { return _this__1828080292.isEmpty_y1axqb_k$() ? null : _this__1828080292.get_fkrdnv_k$(0); } function forEach_0(_this__1828080292, action) { var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var element = tmp0_iterator.next_20eer_k$(); action(element); } } function forEachIndexed(_this__1828080292, action) { var index = 0; var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var item = tmp0_iterator.next_20eer_k$(); var tmp1 = index; index = tmp1 + 1 | 0; action(checkIndexOverflow(tmp1), item); } } function plus_2(_this__1828080292, element) { var result = ArrayList_init_$Create$_0(_this__1828080292._get_size__809037418_ddoh9m_k$() + 1 | 0); result.addAll_oxxjjk_k$(_this__1828080292); Unit_getInstance(); result.add_1j60pz_k$(element); Unit_getInstance(); return result; } function any_1(_this__1828080292, predicate) { var tmp; if (isInterface(_this__1828080292, Collection)) { tmp = _this__1828080292.isEmpty_y1axqb_k$(); } else { { tmp = false; } } if (tmp) return false; else { } var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var element = tmp0_iterator.next_20eer_k$(); if (predicate(element)) return true; } return false; } function joinToString_0(_this__1828080292, separator, prefix, postfix, limit, truncated, transform) { return joinTo_0(_this__1828080292, StringBuilder_init_$Create$_1(), separator, prefix, postfix, limit, truncated, transform).toString(); } function joinToString$default_0(_this__1828080292, separator, prefix, postfix, limit, truncated, transform, $mask0, $handler) { if (!(($mask0 & 1) === 0)) separator = ', '; if (!(($mask0 & 2) === 0)) prefix = ''; if (!(($mask0 & 4) === 0)) postfix = ''; if (!(($mask0 & 8) === 0)) limit = -1; if (!(($mask0 & 16) === 0)) truncated = '...'; if (!(($mask0 & 32) === 0)) transform = null; return joinToString_0(_this__1828080292, separator, prefix, postfix, limit, truncated, transform); } function sumBy(_this__1828080292, selector) { var sum = 0; var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var element = tmp0_iterator.next_20eer_k$(); sum = sum + selector(element) | 0; } return sum; } function single_0(_this__1828080292) { var tmp0_subject = _this__1828080292._get_size__809037418_ddoh9m_k$(); var tmp; switch (tmp0_subject) { case 0: throw NoSuchElementException_init_$Create$_0('List is empty.'); case 1: tmp = _this__1828080292.get_fkrdnv_k$(0); break; default: throw IllegalArgumentException_init_$Create$_0('List has more than one element.'); } return tmp; } function singleOrNull_0(_this__1828080292, predicate) { var single = null; var found = false; var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var element = tmp0_iterator.next_20eer_k$(); if (predicate(element)) { if (found) return null; single = element; found = true; } } if (!found) return null; return single; } function maxByOrNull_0(_this__1828080292, selector) { var iterator = _this__1828080292.iterator_jk1svi_k$(); if (!iterator.hasNext_bitz1p_k$()) return null; var maxElem = iterator.next_20eer_k$(); if (!iterator.hasNext_bitz1p_k$()) return maxElem; var maxValue = selector(maxElem); do { var e = iterator.next_20eer_k$(); var v = selector(e); if (compareTo_0(maxValue, v) < 0) { maxElem = e; maxValue = v; } } while (iterator.hasNext_bitz1p_k$()); return maxElem; } function filter(_this__1828080292, predicate) { var tmp$ret$0; $l$block: { var tmp0_filterTo_0 = ArrayList_init_$Create$(); var tmp0_iterator_1 = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator_1.hasNext_bitz1p_k$()) { var element_2 = tmp0_iterator_1.next_20eer_k$(); if (predicate(element_2)) { tmp0_filterTo_0.add_1j60pz_k$(element_2); Unit_getInstance(); } } tmp$ret$0 = tmp0_filterTo_0; break $l$block; } return tmp$ret$0; } function groupBy(_this__1828080292, keySelector) { var tmp$ret$2; $l$block_1: { var tmp0_groupByTo_0 = LinkedHashMap_init_$Create$(); var tmp0_iterator_1 = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator_1.hasNext_bitz1p_k$()) { var element_2 = tmp0_iterator_1.next_20eer_k$(); var key_3 = keySelector(element_2); var tmp$ret$1; $l$block_0: { var value_1 = tmp0_groupByTo_0.get_1mhr4y_k$(key_3); var tmp; if (value_1 == null) { var tmp$ret$0; $l$block: { tmp$ret$0 = ArrayList_init_$Create$(); break $l$block; } var answer_2 = tmp$ret$0; tmp0_groupByTo_0.put_3mhbri_k$(key_3, answer_2); Unit_getInstance(); tmp = answer_2; } else { tmp = value_1; } tmp$ret$1 = tmp; break $l$block_0; } var list_4 = tmp$ret$1; list_4.add_1j60pz_k$(element_2); Unit_getInstance(); } tmp$ret$2 = tmp0_groupByTo_0; break $l$block_1; } return tmp$ret$2; } function toLongArray(_this__1828080292) { var result = longArray(_this__1828080292._get_size__809037418_ddoh9m_k$()); var index = 0; var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var element = tmp0_iterator.next_20eer_k$(); var tmp1 = index; index = tmp1 + 1 | 0; result[tmp1] = element; } return result; } function toByteArray(_this__1828080292) { var result = new Int8Array(_this__1828080292._get_size__809037418_ddoh9m_k$()); var index = 0; var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var element = tmp0_iterator.next_20eer_k$(); var tmp1 = index; index = tmp1 + 1 | 0; result[tmp1] = element; } return result; } function sortedByDescending(_this__1828080292, selector) { var tmp$ret$0; $l$block: { var tmp = sortedByDescending$lambda(selector); tmp$ret$0 = new sam$kotlin_Comparator$0(tmp); break $l$block; } return sortedWith(_this__1828080292, tmp$ret$0); } function sortedBy(_this__1828080292, selector) { var tmp$ret$0; $l$block: { var tmp = sortedBy$lambda(selector); tmp$ret$0 = new sam$kotlin_Comparator$0_0(tmp); break $l$block; } return sortedWith(_this__1828080292, tmp$ret$0); } function reversed(_this__1828080292) { var tmp; if (isInterface(_this__1828080292, Collection)) { tmp = _this__1828080292._get_size__809037418_ddoh9m_k$() <= 1; } else { { tmp = false; } } if (tmp) return toList_0(_this__1828080292); else { } var list = toMutableList_0(_this__1828080292); reverse(list); return list; } function toHashSet(_this__1828080292) { return toCollection_0(_this__1828080292, HashSet_init_$Create$_2(mapCapacity(collectionSizeOrDefault(_this__1828080292, 12)))); } function toBooleanArray(_this__1828080292) { var result = booleanArray(_this__1828080292._get_size__809037418_ddoh9m_k$()); var index = 0; var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var element = tmp0_iterator.next_20eer_k$(); var tmp1 = index; index = tmp1 + 1 | 0; result[tmp1] = element; } return result; } function fold_1(_this__1828080292, initial, operation) { var accumulator = initial; var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var element = tmp0_iterator.next_20eer_k$(); accumulator = operation(accumulator, element); } return accumulator; } function distinctBy(_this__1828080292, selector) { var set = HashSet_init_$Create$(); var list = ArrayList_init_$Create$(); var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var e = tmp0_iterator.next_20eer_k$(); var key = selector(e); if (set.add_1j60pz_k$(key)) { list.add_1j60pz_k$(e); Unit_getInstance(); } } return list; } function filterNotNull(_this__1828080292) { return filterNotNullTo(_this__1828080292, ArrayList_init_$Create$()); } function singleOrNull_1(_this__1828080292) { return _this__1828080292._get_size__809037418_ddoh9m_k$() === 1 ? _this__1828080292.get_fkrdnv_k$(0) : null; } function onEach_0(_this__1828080292, action) { var tmp$ret$0; $l$block: { { } { var tmp0_iterator_3 = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator_3.hasNext_bitz1p_k$()) { var element_4 = tmp0_iterator_3.next_20eer_k$(); action(element_4); } } tmp$ret$0 = _this__1828080292; break $l$block; } return tmp$ret$0; } function find_0(_this__1828080292, predicate) { var tmp$ret$0; $l$block_0: { var tmp0_iterator_1 = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator_1.hasNext_bitz1p_k$()) { var element_2 = tmp0_iterator_1.next_20eer_k$(); if (predicate(element_2)) { tmp$ret$0 = element_2; break $l$block_0; } } tmp$ret$0 = null; break $l$block_0; } return tmp$ret$0; } function lastOrNull(_this__1828080292) { return _this__1828080292.isEmpty_y1axqb_k$() ? null : _this__1828080292.get_fkrdnv_k$(_this__1828080292._get_size__809037418_ddoh9m_k$() - 1 | 0); } function toList_0(_this__1828080292) { if (isInterface(_this__1828080292, Collection)) { var tmp0_subject = _this__1828080292._get_size__809037418_ddoh9m_k$(); var tmp; switch (tmp0_subject) { case 0: tmp = emptyList(); break; case 1: var tmp_0; if (isInterface(_this__1828080292, List)) { tmp_0 = _this__1828080292.get_fkrdnv_k$(0); } else { { tmp_0 = _this__1828080292.iterator_jk1svi_k$().next_20eer_k$(); } } tmp = listOf_1(tmp_0); break; default: tmp = toMutableList_1(_this__1828080292); break; } return tmp; } else { } return optimizeReadOnlyList(toMutableList_0(_this__1828080292)); } function mapTo_0(_this__1828080292, destination, transform) { var tmp0_iterator = _this__1828080292.iterator_jk1svi_k$(); while (tmp0_iterator.hasNext_bitz1p_k$()) { var item = tmp0_iterator.next_20eer_k$(); destination.add_1j60pz_k$(transform(item