diff --git a/index.html b/index.html
deleted file mode 100644
index 84cb976..0000000
--- a/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
- TL-B -> FunC Generator (DEVELOPER PREVIEW)
-
-
-TL-B -> FunC Generator (DEVELOPER PREVIEW)
-
-
-
-
-
-
- TL-B Types Debug
-
-
-
-
-
-
-
-
-
-
-
diff --git a/js/kotlin-kotlin-stdlib.js b/js/kotlin-kotlin-stdlib.js
deleted file mode 100644
index 4a2d36d..0000000
--- a/js/kotlin-kotlin-stdlib.js
+++ /dev/null
@@ -1,21804 +0,0 @@
-//region block: polyfills
-(function () {
- if (typeof globalThis === 'object')
- return;
- Object.defineProperty(Object.prototype, '__magic__', {
- get: function () {
- return this;
- }, configurable: true
- });
- __magic__.globalThis = __magic__;
- delete Object.prototype.__magic__;
-}());
-if (typeof Math.imul === 'undefined') {
- Math.imul = function imul(a, b) {
- return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
- };
-}
-if (typeof ArrayBuffer.isView === 'undefined') {
- ArrayBuffer.isView = function (a) {
- return a != null && a.__proto__ != null && a.__proto__.__proto__ === Int8Array.prototype.__proto__;
- };
-}
-if (typeof Array.prototype.fill === 'undefined') {
- // Polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill#Polyfill
- Object.defineProperty(Array.prototype, 'fill', {
- value: function (value) {
- // Steps 1-2.
- if (this == null) {
- throw new TypeError('this is null or not defined');
- }
- var O = Object(this); // Steps 3-5.
- var len = O.length >>> 0; // Steps 6-7.
- var start = arguments[1];
- var relativeStart = start >> 0; // Step 8.
- var k = relativeStart < 0 ? Math.max(len + relativeStart, 0) : Math.min(relativeStart, len); // Steps 9-10.
- var end = arguments[2];
- var relativeEnd = end === undefined ? len : end >> 0; // Step 11.
- var finalValue = relativeEnd < 0 ? Math.max(len + relativeEnd, 0) : Math.min(relativeEnd, len); // Step 12.
- while (k < finalValue) {
- O[k] = value;
- k++;
- }
- ; // Step 13.
- return O;
- }
- });
-}
-[Int8Array, Int16Array, Uint16Array, Int32Array, Float32Array, Float64Array].forEach(function (TypedArray) {
- if (typeof TypedArray.prototype.fill === 'undefined') {
- Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
- }
-});
-if (typeof Math.clz32 === 'undefined') {
- Math.clz32 = function (log, LN2) {
- return function (x) {
- var asUint = x >>> 0;
- if (asUint === 0) {
- return 32;
- }
- return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
- };
- }(Math.log, Math.LN2);
-}
-if (typeof String.prototype.startsWith === 'undefined') {
- Object.defineProperty(String.prototype, 'startsWith', {
- value: function (searchString, position) {
- position = position || 0;
- return this.lastIndexOf(searchString, position) === position;
- }
- });
-}
-//endregion
-(function (root, factory) {
- if (typeof define === 'function' && define.amd)
- define(['exports'], factory);
- else if (typeof exports === 'object')
- factory(module.exports);
- else
- root['kotlin-kotlin-stdlib'] = factory(typeof this['kotlin-kotlin-stdlib'] === 'undefined' ? {} : this['kotlin-kotlin-stdlib']);
-}(this, function (_) {
- 'use strict';
- //region block: imports
- var imul = Math.imul;
- var isView = ArrayBuffer.isView;
- var clz32 = Math.clz32;
- //endregion
- //region block: pre-declaration
- setMetadataFor(Comparator, 'Comparator', interfaceMeta);
- setMetadataFor(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', classMeta, VOID, [Comparator]);
- setMetadataFor(Sequence, 'Sequence', interfaceMeta);
- setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, VOID, [Sequence]);
- setMetadataFor(Exception, 'Exception', classMeta, Error, VOID, Exception_init_$Create$);
- setMetadataFor(RuntimeException, 'RuntimeException', classMeta, Exception, VOID, RuntimeException_init_$Create$);
- setMetadataFor(KotlinNothingValueException, 'KotlinNothingValueException', classMeta, RuntimeException, VOID, KotlinNothingValueException_init_$Create$);
- setMetadataFor(Annotation, 'Annotation', interfaceMeta);
- setMetadataFor(ExperimentalJsFileName, 'ExperimentalJsFileName', classMeta, VOID, [Annotation]);
- setMetadataFor(IntrinsicConstEvaluation, 'IntrinsicConstEvaluation', classMeta, VOID, [Annotation]);
- setMetadataFor(Companion, 'Companion', objectMeta);
- setMetadataFor(Comparable, 'Comparable', interfaceMeta);
- setMetadataFor(Char, 'Char', classMeta, VOID, [Comparable]);
- setMetadataFor(Iterable, 'Iterable', interfaceMeta);
- setMetadataFor(Collection, 'Collection', interfaceMeta, VOID, [Iterable]);
- setMetadataFor(List, 'List', interfaceMeta, VOID, [Collection]);
- setMetadataFor(MutableIterable, 'MutableIterable', interfaceMeta, VOID, [Iterable]);
- setMetadataFor(MutableCollection, 'MutableCollection', interfaceMeta, VOID, [Collection, MutableIterable]);
- setMetadataFor(MutableList, 'MutableList', interfaceMeta, VOID, [List, MutableCollection]);
- setMetadataFor(Entry, 'Entry', interfaceMeta);
- setMetadataFor(MutableEntry, 'MutableEntry', interfaceMeta, VOID, [Entry]);
- setMetadataFor(Map_0, 'Map', interfaceMeta);
- setMetadataFor(MutableMap, 'MutableMap', interfaceMeta, VOID, [Map_0]);
- setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
- setMetadataFor(MutableSet, 'MutableSet', interfaceMeta, VOID, [Set, MutableCollection]);
- setMetadataFor(Companion_0, 'Companion', objectMeta);
- setMetadataFor(Enum, 'Enum', classMeta, VOID, [Comparable]);
- setMetadataFor(DefaultConstructorMarker, 'DefaultConstructorMarker', objectMeta);
- setMetadataFor(Iterator, 'Iterator', interfaceMeta);
- setMetadataFor(arrayIterator$1, VOID, classMeta, VOID, [Iterator]);
- setMetadataFor(BooleanIterator, 'BooleanIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(booleanArrayIterator$1, VOID, classMeta, BooleanIterator);
- setMetadataFor(CharIterator, 'CharIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(charArrayIterator$1, VOID, classMeta, CharIterator);
- setMetadataFor(ByteIterator, 'ByteIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(byteArrayIterator$1, VOID, classMeta, ByteIterator);
- setMetadataFor(ShortIterator, 'ShortIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(shortArrayIterator$1, VOID, classMeta, ShortIterator);
- setMetadataFor(IntIterator, 'IntIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(intArrayIterator$1, VOID, classMeta, IntIterator);
- setMetadataFor(FloatIterator, 'FloatIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(floatArrayIterator$1, VOID, classMeta, FloatIterator);
- setMetadataFor(LongIterator, 'LongIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(longArrayIterator$1, VOID, classMeta, LongIterator);
- setMetadataFor(DoubleIterator, 'DoubleIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(doubleArrayIterator$1, VOID, classMeta, DoubleIterator);
- setMetadataFor(DoNotIntrinsify, 'DoNotIntrinsify', classMeta, VOID, [Annotation]);
- setMetadataFor(JsIntrinsic, 'JsIntrinsic', classMeta, VOID, [Annotation]);
- setMetadataFor(JsFun, 'JsFun', classMeta, VOID, [Annotation]);
- setMetadataFor(JsImplicitExport, 'JsImplicitExport', classMeta, VOID, [Annotation]);
- setMetadataFor(Companion_1, 'Companion', objectMeta);
- setMetadataFor(Number_0, 'Number', classMeta);
- setMetadataFor(Long, 'Long', classMeta, Number_0, [Number_0, Comparable]);
- setMetadataFor(Error_0, 'Error', classMeta, Error, VOID, Error_init_$Create$);
- setMetadataFor(IrLinkageError, 'IrLinkageError', classMeta, Error_0);
- setMetadataFor(SuspendFunction1, 'SuspendFunction1', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [1]);
- setMetadataFor(SuspendFunction0, 'SuspendFunction0', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(SuspendFunction2, 'SuspendFunction2', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [2]);
- setMetadataFor(Function1, 'Function1', interfaceMeta);
- setMetadataFor(Function0, 'Function0', interfaceMeta);
- setMetadataFor(Function2, 'Function2', interfaceMeta);
- setMetadataFor(Function5, 'Function5', interfaceMeta);
- setMetadataFor(KCallable, 'KCallable', interfaceMeta);
- setMetadataFor(KFunction, 'KFunction', interfaceMeta, VOID, [KCallable]);
- setMetadataFor(KFunction2, 'KFunction2', interfaceMeta);
- setMetadataFor(KFunction1, 'KFunction1', interfaceMeta);
- setMetadataFor(Digit, 'Digit', objectMeta);
- setMetadataFor(Letter, 'Letter', objectMeta);
- setMetadataFor(OtherLowercase, 'OtherLowercase', objectMeta);
- setMetadataFor(Continuation, 'Continuation', interfaceMeta);
- setMetadataFor(CoroutineImpl, 'CoroutineImpl', classMeta, VOID, [Continuation]);
- setMetadataFor(CompletedContinuation, 'CompletedContinuation', objectMeta, VOID, [Continuation]);
- setMetadataFor(_no_name_provided__qut3iv_0, VOID, classMeta, CoroutineImpl);
- setMetadataFor(_no_name_provided__qut3iv_1, VOID, classMeta, CoroutineImpl);
- setMetadataFor(IllegalArgumentException, 'IllegalArgumentException', classMeta, RuntimeException, VOID, IllegalArgumentException_init_$Create$);
- setMetadataFor(IndexOutOfBoundsException, 'IndexOutOfBoundsException', classMeta, RuntimeException, VOID, IndexOutOfBoundsException_init_$Create$);
- setMetadataFor(IllegalStateException, 'IllegalStateException', classMeta, RuntimeException, VOID, IllegalStateException_init_$Create$);
- setMetadataFor(UnsupportedOperationException, 'UnsupportedOperationException', classMeta, RuntimeException, VOID, UnsupportedOperationException_init_$Create$);
- setMetadataFor(NoSuchElementException, 'NoSuchElementException', classMeta, RuntimeException, VOID, NoSuchElementException_init_$Create$);
- setMetadataFor(ArithmeticException, 'ArithmeticException', classMeta, RuntimeException, VOID, ArithmeticException_init_$Create$);
- setMetadataFor(ConcurrentModificationException, 'ConcurrentModificationException', classMeta, RuntimeException, VOID, ConcurrentModificationException_init_$Create$);
- setMetadataFor(NumberFormatException, 'NumberFormatException', classMeta, IllegalArgumentException, VOID, NumberFormatException_init_$Create$);
- setMetadataFor(NullPointerException, 'NullPointerException', classMeta, RuntimeException, VOID, NullPointerException_init_$Create$);
- setMetadataFor(NoWhenBranchMatchedException, 'NoWhenBranchMatchedException', classMeta, RuntimeException, VOID, NoWhenBranchMatchedException_init_$Create$);
- setMetadataFor(ClassCastException, 'ClassCastException', classMeta, RuntimeException, VOID, ClassCastException_init_$Create$);
- setMetadataFor(UninitializedPropertyAccessException, 'UninitializedPropertyAccessException', classMeta, RuntimeException, VOID, UninitializedPropertyAccessException_init_$Create$);
- setMetadataFor(CharSequence, 'CharSequence', interfaceMeta);
- setMetadataFor(ListIterator, 'ListIterator', interfaceMeta, VOID, [Iterator]);
- setMetadataFor(MutableIterator, 'MutableIterator', interfaceMeta, VOID, [Iterator]);
- setMetadataFor(MutableListIterator, 'MutableListIterator', interfaceMeta, VOID, [ListIterator, MutableIterator]);
- setMetadataFor(ReplaceWith, 'ReplaceWith', classMeta, VOID, [Annotation]);
- setMetadataFor(Suppress, 'Suppress', classMeta, VOID, [Annotation]);
- setMetadataFor(Deprecated, 'Deprecated', classMeta, VOID, [Annotation]);
- setMetadataFor(SinceKotlin, 'SinceKotlin', classMeta, VOID, [Annotation]);
- setMetadataFor(DeprecationLevel, 'DeprecationLevel', classMeta, Enum);
- setMetadataFor(ParameterName, 'ParameterName', classMeta, VOID, [Annotation]);
- setMetadataFor(UnsafeVariance, 'UnsafeVariance', classMeta, VOID, [Annotation]);
- setMetadataFor(DslMarker, 'DslMarker', classMeta, VOID, [Annotation]);
- setMetadataFor(DeprecatedSinceKotlin, 'DeprecatedSinceKotlin', classMeta, VOID, [Annotation]);
- setMetadataFor(ExtensionFunctionType, 'ExtensionFunctionType', classMeta, VOID, [Annotation]);
- setMetadataFor(PublishedApi, 'PublishedApi', classMeta, VOID, [Annotation]);
- setMetadataFor(Unit, 'Unit', objectMeta);
- setMetadataFor(Target, 'Target', classMeta, VOID, [Annotation]);
- setMetadataFor(AnnotationTarget, 'AnnotationTarget', classMeta, Enum);
- setMetadataFor(Retention, 'Retention', classMeta, VOID, [Annotation]);
- setMetadataFor(AnnotationRetention, 'AnnotationRetention', classMeta, Enum);
- setMetadataFor(MustBeDocumented, 'MustBeDocumented', classMeta, VOID, [Annotation]);
- setMetadataFor(Repeatable, 'Repeatable', classMeta, VOID, [Annotation]);
- setMetadataFor(ByteCompanionObject, 'ByteCompanionObject', objectMeta);
- setMetadataFor(ShortCompanionObject, 'ShortCompanionObject', objectMeta);
- setMetadataFor(IntCompanionObject, 'IntCompanionObject', objectMeta);
- setMetadataFor(FloatCompanionObject, 'FloatCompanionObject', objectMeta);
- setMetadataFor(DoubleCompanionObject, 'DoubleCompanionObject', objectMeta);
- setMetadataFor(StringCompanionObject, 'StringCompanionObject', objectMeta);
- setMetadataFor(BooleanCompanionObject, 'BooleanCompanionObject', objectMeta);
- setMetadataFor(AutoCloseable, 'AutoCloseable', interfaceMeta);
- setMetadataFor(JsName, 'JsName', classMeta, VOID, [Annotation]);
- setMetadataFor(JsQualifier, 'JsQualifier', classMeta, VOID, [Annotation]);
- setMetadataFor(JsFileName, 'JsFileName', classMeta, VOID, [Annotation]);
- setMetadataFor(EagerInitialization, 'EagerInitialization', classMeta, VOID, [Annotation]);
- setMetadataFor(AbstractCollection, 'AbstractCollection', classMeta, VOID, [Collection]);
- setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, MutableCollection]);
- setMetadataFor(IteratorImpl, 'IteratorImpl', classMeta, VOID, [MutableIterator]);
- setMetadataFor(ListIteratorImpl, 'ListIteratorImpl', classMeta, IteratorImpl, [IteratorImpl, MutableListIterator]);
- setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableList]);
- setMetadataFor(RandomAccess, 'RandomAccess', interfaceMeta);
- setMetadataFor(SubList, 'SubList', classMeta, AbstractMutableList, [AbstractMutableList, RandomAccess]);
- setMetadataFor(AbstractMap, 'AbstractMap', classMeta, VOID, [Map_0]);
- setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, MutableMap]);
- setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableSet]);
- setMetadataFor(Companion_2, 'Companion', objectMeta);
- setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, MutableList, RandomAccess], ArrayList_init_$Create$);
- setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, MutableMap], HashMap_init_$Create$_0);
- setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [MutableSet, AbstractMutableSet]);
- setMetadataFor(HashMapValues, 'HashMapValues', classMeta, AbstractMutableCollection, [MutableCollection, AbstractMutableCollection]);
- setMetadataFor(HashMapEntrySetBase, 'HashMapEntrySetBase', classMeta, AbstractMutableSet, [MutableSet, AbstractMutableSet]);
- setMetadataFor(HashMapEntrySet, 'HashMapEntrySet', classMeta, HashMapEntrySetBase);
- setMetadataFor(HashMapKeysDefault$iterator$1, VOID, classMeta, VOID, [MutableIterator]);
- setMetadataFor(HashMapKeysDefault, 'HashMapKeysDefault', classMeta, AbstractMutableSet);
- setMetadataFor(HashMapValuesDefault$iterator$1, VOID, classMeta, VOID, [MutableIterator]);
- setMetadataFor(HashMapValuesDefault, 'HashMapValuesDefault', classMeta, AbstractMutableCollection);
- setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet, MutableSet], HashSet_init_$Create$_0);
- setMetadataFor(Companion_3, 'Companion', objectMeta);
- setMetadataFor(Itr, 'Itr', classMeta);
- setMetadataFor(KeysItr, 'KeysItr', classMeta, Itr, [Itr, MutableIterator]);
- setMetadataFor(ValuesItr, 'ValuesItr', classMeta, Itr, [Itr, MutableIterator]);
- setMetadataFor(EntriesItr, 'EntriesItr', classMeta, Itr, [Itr, MutableIterator]);
- setMetadataFor(EntryRef, 'EntryRef', classMeta, VOID, [MutableEntry]);
-
- function containsAllEntries(m) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.all' call
- var tmp;
- if (isInterface(m, Collection)) {
- tmp = m.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- var tmp0_iterator = m.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.InternalMap.containsAllEntries.' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var entry = element;
- var tmp_0;
- if (!(entry == null) ? isInterface(entry, Entry) : false) {
- tmp_0 = this.containsOtherEntry_yvdc55_k$(entry);
- } else {
- tmp_0 = false;
- }
- if (!tmp_0) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- }
- tmp$ret$0 = true;
- }
- return tmp$ret$0;
- }
-
- setMetadataFor(InternalMap, 'InternalMap', interfaceMeta);
- setMetadataFor(InternalHashMap, 'InternalHashMap', classMeta, VOID, [InternalMap], InternalHashMap_init_$Create$);
- setMetadataFor(EmptyHolder, 'EmptyHolder', objectMeta);
- setMetadataFor(LinkedHashMap, 'LinkedHashMap', classMeta, HashMap, [HashMap, MutableMap], LinkedHashMap_init_$Create$);
- setMetadataFor(EmptyHolder_0, 'EmptyHolder', objectMeta);
- setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet, MutableSet], LinkedHashSet_init_$Create$);
- setMetadataFor(BaseOutput, 'BaseOutput', classMeta);
- setMetadataFor(NodeJsOutput, 'NodeJsOutput', classMeta, BaseOutput);
- setMetadataFor(BufferedOutput, 'BufferedOutput', classMeta, BaseOutput, VOID, BufferedOutput);
- setMetadataFor(BufferedOutputToConsoleLog, 'BufferedOutputToConsoleLog', classMeta, BufferedOutput, VOID, BufferedOutputToConsoleLog);
- setMetadataFor(_no_name_provided__qut3iv_2, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(EnumEntriesSerializationProxy, 'EnumEntriesSerializationProxy', classMeta);
- setMetadataFor(JsPolyfill, 'JsPolyfill', classMeta, VOID, [Annotation]);
- setMetadataFor(Serializable, 'Serializable', interfaceMeta);
- setMetadataFor(KClassifier, 'KClassifier', interfaceMeta);
- setMetadataFor(KClass, 'KClass', interfaceMeta, VOID, [KClassifier]);
- setMetadataFor(KClassImpl, 'KClassImpl', classMeta, VOID, [KClass]);
- setMetadataFor(NothingKClassImpl, 'NothingKClassImpl', objectMeta, KClassImpl);
- setMetadataFor(ErrorKClass, 'ErrorKClass', classMeta, VOID, [KClass], ErrorKClass);
- setMetadataFor(PrimitiveKClassImpl, 'PrimitiveKClassImpl', classMeta, KClassImpl);
- setMetadataFor(SimpleKClassImpl, 'SimpleKClassImpl', classMeta, KClassImpl);
- setMetadataFor(KProperty, 'KProperty', interfaceMeta, VOID, [KCallable]);
- setMetadataFor(KProperty0, 'KProperty0', interfaceMeta, VOID, [KProperty]);
- setMetadataFor(KProperty1, 'KProperty1', interfaceMeta, VOID, [KProperty]);
- setMetadataFor(KProperty2, 'KProperty2', interfaceMeta, VOID, [KProperty]);
- setMetadataFor(KMutableProperty, 'KMutableProperty', interfaceMeta, VOID, [KProperty]);
- setMetadataFor(KMutableProperty0, 'KMutableProperty0', interfaceMeta, VOID, [KProperty0, KMutableProperty]);
- setMetadataFor(KMutableProperty1, 'KMutableProperty1', interfaceMeta, VOID, [KProperty1, KMutableProperty]);
- setMetadataFor(KMutableProperty2, 'KMutableProperty2', interfaceMeta, VOID, [KProperty2, KMutableProperty]);
- setMetadataFor(KType, 'KType', interfaceMeta);
- setMetadataFor(KTypeImpl, 'KTypeImpl', classMeta, VOID, [KType]);
- setMetadataFor(DynamicKType, 'DynamicKType', objectMeta, VOID, [KType]);
- setMetadataFor(KTypeParameter, 'KTypeParameter', interfaceMeta, VOID, [KClassifier]);
- setMetadataFor(KTypeParameterImpl, 'KTypeParameterImpl', classMeta, VOID, [KTypeParameter]);
- setMetadataFor(PrimitiveClasses, 'PrimitiveClasses', objectMeta);
- setMetadataFor(Appendable, 'Appendable', interfaceMeta);
- setMetadataFor(CharacterCodingException, 'CharacterCodingException', classMeta, Exception, VOID, CharacterCodingException_init_$Create$);
- setMetadataFor(StringBuilder, 'StringBuilder', classMeta, VOID, [Appendable, CharSequence], StringBuilder_init_$Create$_1);
- setMetadataFor(Companion_4, 'Companion', objectMeta);
- setMetadataFor(Regex$splitToSequence$slambda, 'Regex$splitToSequence$slambda', classMeta, CoroutineImpl, [CoroutineImpl], VOID, VOID, VOID, [1]);
- setMetadataFor(Regex, 'Regex', classMeta);
- setMetadataFor(RegexOption, 'RegexOption', classMeta, Enum);
- setMetadataFor(MatchGroup, 'MatchGroup', classMeta);
- setMetadataFor(MatchGroupCollection, 'MatchGroupCollection', interfaceMeta, VOID, [Collection]);
- setMetadataFor(MatchNamedGroupCollection, 'MatchNamedGroupCollection', interfaceMeta, VOID, [MatchGroupCollection]);
- setMetadataFor(findNext$1$groups$1, VOID, classMeta, AbstractCollection, [MatchNamedGroupCollection, AbstractCollection]);
- setMetadataFor(AbstractList, 'AbstractList', classMeta, AbstractCollection, [AbstractCollection, List]);
- setMetadataFor(findNext$1$groupValues$1, VOID, classMeta, AbstractList);
-
- function get_destructured() {
- return new Destructured(this);
- }
-
- setMetadataFor(MatchResult, 'MatchResult', interfaceMeta);
- setMetadataFor(findNext$1, VOID, classMeta, VOID, [MatchResult]);
- setMetadataFor(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', classMeta, VOID, [Comparator]);
- setMetadataFor(ExceptionTraceBuilder, 'ExceptionTraceBuilder', classMeta, VOID, VOID, ExceptionTraceBuilder);
- setMetadataFor(ExperimentalStdlibApi, 'ExperimentalStdlibApi', classMeta, VOID, [Annotation]);
- setMetadataFor(BuilderInference, 'BuilderInference', classMeta, VOID, [Annotation]);
- setMetadataFor(OptionalExpectation, 'OptionalExpectation', classMeta, VOID, [Annotation]);
- setMetadataFor(ExperimentalMultiplatform, 'ExperimentalMultiplatform', classMeta, VOID, [Annotation]);
- setMetadataFor(OptIn, 'OptIn', classMeta, VOID, [Annotation]);
- setMetadataFor(Level, 'Level', classMeta, Enum);
- setMetadataFor(RequiresOptIn, 'RequiresOptIn', classMeta, VOID, [Annotation]);
- setMetadataFor(WasExperimental, 'WasExperimental', classMeta, VOID, [Annotation]);
- setMetadataFor(SubList_0, 'SubList', classMeta, AbstractList, [AbstractList, RandomAccess]);
- setMetadataFor(IteratorImpl_0, 'IteratorImpl', classMeta, VOID, [Iterator]);
- setMetadataFor(ListIteratorImpl_0, 'ListIteratorImpl', classMeta, IteratorImpl_0, [IteratorImpl_0, ListIterator]);
- setMetadataFor(Companion_5, 'Companion', objectMeta);
- setMetadataFor(AbstractMap$keys$1$iterator$1, VOID, classMeta, VOID, [Iterator]);
- setMetadataFor(AbstractMap$values$1$iterator$1, VOID, classMeta, VOID, [Iterator]);
- setMetadataFor(Companion_6, 'Companion', objectMeta);
- setMetadataFor(AbstractSet, 'AbstractSet', classMeta, AbstractCollection, [AbstractCollection, Set]);
- setMetadataFor(AbstractMap$keys$1, VOID, classMeta, AbstractSet);
- setMetadataFor(AbstractMap$values$1, VOID, classMeta, AbstractCollection);
- setMetadataFor(Companion_7, 'Companion', objectMeta);
- setMetadataFor(EmptyIterator, 'EmptyIterator', objectMeta, VOID, [ListIterator]);
- setMetadataFor(EmptyList, 'EmptyList', objectMeta, VOID, [List, Serializable, RandomAccess]);
- setMetadataFor(ArrayAsCollection, 'ArrayAsCollection', classMeta, VOID, [Collection]);
- setMetadataFor(EmptyMap, 'EmptyMap', objectMeta, VOID, [Map_0, Serializable]);
- setMetadataFor(ReversedList$listIterator$1, VOID, classMeta, VOID, [MutableListIterator]);
- setMetadataFor(ReversedList, 'ReversedList', classMeta, AbstractMutableList);
- setMetadataFor(SequenceScope, 'SequenceScope', classMeta, VOID, VOID, VOID, VOID, VOID, [1]);
- setMetadataFor(SequenceBuilderIterator, 'SequenceBuilderIterator', classMeta, SequenceScope, [SequenceScope, Iterator, Continuation], SequenceBuilderIterator, VOID, VOID, [1]);
- setMetadataFor(_no_name_provided__qut3iv_3, VOID, classMeta, VOID, [Sequence]);
- setMetadataFor(TransformingSequence$iterator$1, VOID, classMeta, VOID, [Iterator]);
- setMetadataFor(TransformingSequence, 'TransformingSequence', classMeta, VOID, [Sequence]);
- setMetadataFor(FlatteningSequence$iterator$1, VOID, classMeta, VOID, [Iterator]);
- setMetadataFor(FlatteningSequence, 'FlatteningSequence', classMeta, VOID, [Sequence]);
- setMetadataFor(GeneratorSequence$iterator$1, VOID, classMeta, VOID, [Iterator]);
- setMetadataFor(GeneratorSequence, 'GeneratorSequence', classMeta, VOID, [Sequence]);
- setMetadataFor(DropTakeSequence, 'DropTakeSequence', interfaceMeta, VOID, [Sequence]);
- setMetadataFor(TakeSequence$iterator$1, VOID, classMeta, VOID, [Iterator]);
- setMetadataFor(TakeSequence, 'TakeSequence', classMeta, VOID, [Sequence, DropTakeSequence]);
- setMetadataFor(EmptySequence, 'EmptySequence', objectMeta, VOID, [Sequence, DropTakeSequence]);
- setMetadataFor(SubSequence$iterator$1, VOID, classMeta, VOID, [Iterator]);
- setMetadataFor(SubSequence, 'SubSequence', classMeta, VOID, [Sequence, DropTakeSequence]);
- setMetadataFor(_no_name_provided__qut3iv_4, VOID, classMeta, VOID, [Sequence]);
- setMetadataFor(EmptySet, 'EmptySet', objectMeta, VOID, [Set, Serializable]);
- setMetadataFor(sam$kotlin_Comparator$0_1, 'sam$kotlin_Comparator$0', classMeta, VOID, [Comparator]);
-
- function callsInPlace$default(lambda, kind, $super) {
- kind = kind === VOID ? InvocationKind_UNKNOWN_getInstance() : kind;
- return $super === VOID ? this.callsInPlace_bst7z0_k$(lambda, kind) : $super.callsInPlace_bst7z0_k$.call(this, lambda, kind);
- }
-
- setMetadataFor(ContractBuilder, 'ContractBuilder', interfaceMeta);
- setMetadataFor(InvocationKind, 'InvocationKind', classMeta, Enum);
- setMetadataFor(ExperimentalContracts, 'ExperimentalContracts', classMeta, VOID, [Annotation]);
- setMetadataFor(Effect, 'Effect', interfaceMeta);
- setMetadataFor(ConditionalEffect, 'ConditionalEffect', interfaceMeta, VOID, [Effect]);
- setMetadataFor(SimpleEffect, 'SimpleEffect', interfaceMeta, VOID, [Effect]);
- setMetadataFor(Returns, 'Returns', interfaceMeta, VOID, [SimpleEffect]);
- setMetadataFor(CallsInPlace, 'CallsInPlace', interfaceMeta, VOID, [Effect]);
- setMetadataFor(ReturnsNotNull, 'ReturnsNotNull', interfaceMeta, VOID, [SimpleEffect]);
- setMetadataFor(RestrictsSuspension, 'RestrictsSuspension', classMeta, VOID, [Annotation]);
- setMetadataFor(_no_name_provided__qut3iv_5, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(Key_0, 'Key', interfaceMeta);
- setMetadataFor(Key, 'Key', objectMeta, VOID, [Key_0]);
-
- function plus(context) {
- var tmp;
- if (context === EmptyCoroutineContext_getInstance()) {
- tmp = this;
- } else {
- tmp = context.fold_j2vaxd_k$(this, CoroutineContext$plus$lambda);
- }
- return tmp;
- }
-
- setMetadataFor(CoroutineContext, 'CoroutineContext', interfaceMeta);
-
- function get(key) {
- var tmp;
- if (equals(this.get_key_18j28a_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(this.get_key_18j28a_k$(), key) ? EmptyCoroutineContext_getInstance() : this;
- }
-
- setMetadataFor(Element, 'Element', interfaceMeta, VOID, [CoroutineContext]);
-
- function releaseInterceptedContinuation(continuation) {
- }
-
- function get_0(key) {
- if (key instanceof AbstractCoroutineContextKey) {
- var tmp;
- if (key.isSubKey_4za1qh_k$(this.get_key_18j28a_k$())) {
- var tmp_0 = key.tryCast_mbga6n_k$(this);
- tmp = (!(tmp_0 == null) ? isInterface(tmp_0, Element) : false) ? tmp_0 : null;
- } else {
- tmp = null;
- }
- return tmp;
- }
- 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_4za1qh_k$(this.get_key_18j28a_k$()) ? !(key.tryCast_mbga6n_k$(this) == null) : false) ? EmptyCoroutineContext_getInstance() : this;
- }
- return Key_getInstance() === key ? EmptyCoroutineContext_getInstance() : this;
- }
-
- setMetadataFor(ContinuationInterceptor, 'ContinuationInterceptor', interfaceMeta, VOID, [Element]);
- setMetadataFor(EmptyCoroutineContext, 'EmptyCoroutineContext', objectMeta, VOID, [CoroutineContext, Serializable]);
- setMetadataFor(Companion_8, 'Companion', objectMeta);
- setMetadataFor(Serialized, 'Serialized', classMeta, VOID, [Serializable]);
- setMetadataFor(CombinedContext, 'CombinedContext', classMeta, VOID, [CoroutineContext, Serializable]);
- setMetadataFor(AbstractCoroutineContextKey, 'AbstractCoroutineContextKey', classMeta, VOID, [Key_0]);
- setMetadataFor(CoroutineSingletons, 'CoroutineSingletons', classMeta, Enum);
- setMetadataFor(EnumEntries, 'EnumEntries', interfaceMeta, VOID, [List]);
- setMetadataFor(EnumEntriesList, 'EnumEntriesList', classMeta, AbstractList, [EnumEntries, AbstractList, Serializable]);
- setMetadataFor(ExperimentalTypeInference, 'ExperimentalTypeInference', classMeta, VOID, [Annotation]);
- setMetadataFor(InlineOnly, 'InlineOnly', classMeta, VOID, [Annotation]);
- setMetadataFor(LowPriorityInOverloadResolution, 'LowPriorityInOverloadResolution', classMeta, VOID, [Annotation]);
- setMetadataFor(NoInfer, 'NoInfer', classMeta, VOID, [Annotation]);
- setMetadataFor(DynamicExtension, 'DynamicExtension', classMeta, VOID, [Annotation]);
- setMetadataFor(ContractsDsl, 'ContractsDsl', classMeta, VOID, [Annotation]);
- setMetadataFor(HidesMembers, 'HidesMembers', classMeta, VOID, [Annotation]);
- setMetadataFor(OnlyInputTypes, 'OnlyInputTypes', classMeta, VOID, [Annotation]);
- setMetadataFor(RequireKotlin, 'RequireKotlin', classMeta, VOID, [Annotation]);
- setMetadataFor(RequireKotlinVersionKind, 'RequireKotlinVersionKind', classMeta, Enum);
- setMetadataFor(Base64, 'Base64', classMeta);
- setMetadataFor(Default, 'Default', objectMeta, Base64);
- setMetadataFor(ExperimentalEncodingApi, 'ExperimentalEncodingApi', classMeta, VOID, [Annotation]);
- setMetadataFor(Companion_9, 'Companion', objectMeta);
- setMetadataFor(IntProgression, 'IntProgression', classMeta, VOID, [Iterable]);
-
- function contains(value) {
- return compareTo(value, this.get_start_iypx6h_k$()) >= 0 ? compareTo(value, this.get_endInclusive_r07xpi_k$()) <= 0 : false;
- }
-
- function isEmpty() {
- return compareTo(this.get_start_iypx6h_k$(), this.get_endInclusive_r07xpi_k$()) > 0;
- }
-
- setMetadataFor(ClosedRange, 'ClosedRange', interfaceMeta);
-
- function contains_0(value) {
- return compareTo(value, this.get_start_iypx6h_k$()) >= 0 ? compareTo(value, this.get_endExclusive_pmwm6k_k$()) < 0 : false;
- }
-
- function isEmpty_0() {
- return compareTo(this.get_start_iypx6h_k$(), this.get_endExclusive_pmwm6k_k$()) >= 0;
- }
-
- setMetadataFor(OpenEndRange, 'OpenEndRange', interfaceMeta);
- setMetadataFor(IntRange, 'IntRange', classMeta, IntProgression, [IntProgression, ClosedRange, OpenEndRange]);
- setMetadataFor(Companion_10, 'Companion', objectMeta);
- setMetadataFor(CharProgression, 'CharProgression', classMeta, VOID, [Iterable]);
- setMetadataFor(CharRange, 'CharRange', classMeta, CharProgression, [CharProgression, ClosedRange, OpenEndRange]);
- setMetadataFor(Companion_11, 'Companion', objectMeta);
- setMetadataFor(LongProgression, 'LongProgression', classMeta, VOID, [Iterable]);
- setMetadataFor(LongRange, 'LongRange', classMeta, LongProgression, [LongProgression, ClosedRange, OpenEndRange]);
- setMetadataFor(IntProgressionIterator, 'IntProgressionIterator', classMeta, IntIterator);
- setMetadataFor(CharProgressionIterator, 'CharProgressionIterator', classMeta, CharIterator);
- setMetadataFor(LongProgressionIterator, 'LongProgressionIterator', classMeta, LongIterator);
- setMetadataFor(Companion_12, 'Companion', objectMeta);
- setMetadataFor(Companion_13, 'Companion', objectMeta);
- setMetadataFor(Companion_14, 'Companion', objectMeta);
- setMetadataFor(Companion_15, 'Companion', objectMeta);
- setMetadataFor(KTypeProjection, 'KTypeProjection', classMeta);
- setMetadataFor(KVariance, 'KVariance', classMeta, Enum);
- setMetadataFor(DelimitedRangesSequence$iterator$1, VOID, classMeta, VOID, [Iterator]);
- setMetadataFor(DelimitedRangesSequence, 'DelimitedRangesSequence', classMeta, VOID, [Sequence]);
- setMetadataFor(iterator$1, VOID, classMeta, CharIterator);
- setMetadataFor(Destructured, 'Destructured', classMeta);
- setMetadataFor(Lazy, 'Lazy', interfaceMeta);
- setMetadataFor(LazyThreadSafetyMode, 'LazyThreadSafetyMode', classMeta, Enum);
- setMetadataFor(UnsafeLazyImpl, 'UnsafeLazyImpl', classMeta, VOID, [Lazy, Serializable]);
- setMetadataFor(UNINITIALIZED_VALUE, 'UNINITIALIZED_VALUE', objectMeta);
- setMetadataFor(InitializedLazyImpl, 'InitializedLazyImpl', classMeta, VOID, [Lazy, Serializable]);
- setMetadataFor(Companion_16, 'Companion', objectMeta);
- setMetadataFor(Failure, 'Failure', classMeta, VOID, [Serializable]);
- setMetadataFor(Result, 'Result', classMeta, VOID, [Serializable]);
- setMetadataFor(NotImplementedError, 'NotImplementedError', classMeta, Error_0, VOID, NotImplementedError);
- setMetadataFor(Pair, 'Pair', classMeta, VOID, [Serializable]);
- setMetadataFor(Companion_17, 'Companion', objectMeta);
- setMetadataFor(UByte, 'UByte', classMeta, VOID, [Comparable]);
- setMetadataFor(Iterator_0, 'Iterator', classMeta, VOID, [Iterator]);
- setMetadataFor(UByteArray, 'UByteArray', classMeta, VOID, [Collection]);
- setMetadataFor(Companion_18, 'Companion', objectMeta);
- setMetadataFor(UInt, 'UInt', classMeta, VOID, [Comparable]);
- setMetadataFor(Iterator_1, 'Iterator', classMeta, VOID, [Iterator]);
- setMetadataFor(UIntArray, 'UIntArray', classMeta, VOID, [Collection]);
- setMetadataFor(Companion_19, 'Companion', objectMeta);
- setMetadataFor(UIntProgression, 'UIntProgression', classMeta, VOID, [Iterable]);
- setMetadataFor(UIntRange, 'UIntRange', classMeta, UIntProgression, [UIntProgression, ClosedRange, OpenEndRange]);
- setMetadataFor(Companion_20, 'Companion', objectMeta);
- setMetadataFor(UIntProgressionIterator, 'UIntProgressionIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(Companion_21, 'Companion', objectMeta);
- setMetadataFor(ULong, 'ULong', classMeta, VOID, [Comparable]);
- setMetadataFor(Iterator_2, 'Iterator', classMeta, VOID, [Iterator]);
- setMetadataFor(ULongArray, 'ULongArray', classMeta, VOID, [Collection]);
- setMetadataFor(Companion_22, 'Companion', objectMeta);
- setMetadataFor(ULongProgression, 'ULongProgression', classMeta, VOID, [Iterable]);
- setMetadataFor(ULongRange, 'ULongRange', classMeta, ULongProgression, [ULongProgression, ClosedRange, OpenEndRange]);
- setMetadataFor(Companion_23, 'Companion', objectMeta);
- setMetadataFor(ULongProgressionIterator, 'ULongProgressionIterator', classMeta, VOID, [Iterator]);
- setMetadataFor(Companion_24, 'Companion', objectMeta);
- setMetadataFor(UShort, 'UShort', classMeta, VOID, [Comparable]);
- setMetadataFor(Iterator_3, 'Iterator', classMeta, VOID, [Iterator]);
- setMetadataFor(UShortArray, 'UShortArray', classMeta, VOID, [Collection]);
- setMetadataFor(ExperimentalUnsignedTypes, 'ExperimentalUnsignedTypes', classMeta, VOID, [Annotation]);
-
- //endregion
- function single(_this__u8e3s4) {
- var tmp;
- switch (_this__u8e3s4.length) {
- case 0:
- throw NoSuchElementException_init_$Create$_0('Array is empty.');
- case 1:
- tmp = _this__u8e3s4[0];
- break;
- default:
- throw IllegalArgumentException_init_$Create$_0('Array has more than one element.');
- }
- return tmp;
- }
-
- function indexOf(_this__u8e3s4, element) {
- if (element == null) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (_this__u8e3s4[index] == null) {
- return index;
- }
- }
- while (inductionVariable <= last);
- } else {
- var inductionVariable_0 = 0;
- var last_0 = _this__u8e3s4.length - 1 | 0;
- if (inductionVariable_0 <= last_0)
- do {
- var index_0 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- if (equals(element, _this__u8e3s4[index_0])) {
- return index_0;
- }
- }
- while (inductionVariable_0 <= last_0);
- }
- return -1;
- }
-
- function contains_1(_this__u8e3s4, element) {
- return indexOf_0(_this__u8e3s4, element) >= 0;
- }
-
- function fold_0(_this__u8e3s4, initial, operation) {
- var accumulator = initial;
- var inductionVariable = 0;
- var last = _this__u8e3s4.length;
- while (inductionVariable < last) {
- var element = _this__u8e3s4[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- accumulator = operation(accumulator, element);
- }
- return accumulator;
- }
-
- function getOrNull(_this__u8e3s4, index) {
- return (index >= 0 ? index <= get_lastIndex(_this__u8e3s4) : false) ? _this__u8e3s4[index] : null;
- }
-
- function get_indices(_this__u8e3s4) {
- return new IntRange(0, get_lastIndex_0(_this__u8e3s4));
- }
-
- function toCollection(_this__u8e3s4, destination) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length;
- while (inductionVariable < last) {
- var item = _this__u8e3s4[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- destination.add_utx5q5_k$(item);
- }
- return destination;
- }
-
- function associateBy(_this__u8e3s4, keySelector) {
- var capacity = coerceAtLeast(mapCapacity(_this__u8e3s4.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination = LinkedHashMap_init_$Create$_0(capacity);
- var inductionVariable = 0;
- var last = _this__u8e3s4.length;
- while (inductionVariable < last) {
- var element = _this__u8e3s4[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- destination.put_4fpzoq_k$(keySelector(element), element);
- }
- return destination;
- }
-
- function contains_2(_this__u8e3s4, element) {
- return indexOf_1(_this__u8e3s4, element) >= 0;
- }
-
- function lastIndexOf(_this__u8e3s4, element) {
- if (element == null) {
- var inductionVariable = _this__u8e3s4.length - 1 | 0;
- if (0 <= inductionVariable)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + -1 | 0;
- if (_this__u8e3s4[index] == null) {
- return index;
- }
- }
- while (0 <= inductionVariable);
- } else {
- var inductionVariable_0 = _this__u8e3s4.length - 1 | 0;
- if (0 <= inductionVariable_0)
- do {
- var index_0 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + -1 | 0;
- if (equals(element, _this__u8e3s4[index_0])) {
- return index_0;
- }
- }
- while (0 <= inductionVariable_0);
- }
- return -1;
- }
-
- function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
- separator = separator === VOID ? ', ' : separator;
- prefix = prefix === VOID ? '' : prefix;
- postfix = postfix === VOID ? '' : postfix;
- limit = limit === VOID ? -1 : limit;
- truncated = truncated === VOID ? '...' : truncated;
- transform = transform === VOID ? null : transform;
- return joinTo(_this__u8e3s4, StringBuilder_init_$Create$_1(), separator, prefix, postfix, limit, truncated, transform).toString();
- }
-
- function toList(_this__u8e3s4) {
- switch (_this__u8e3s4.length) {
- case 0:
- return emptyList();
- case 1:
- return listOf(_this__u8e3s4[0]);
- default:
- return toMutableList(_this__u8e3s4);
- }
- }
-
- function forEachIndexed(_this__u8e3s4, action) {
- var index = 0;
- var inductionVariable = 0;
- var last = _this__u8e3s4.length;
- while (inductionVariable < last) {
- var item = _this__u8e3s4[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- action(tmp1, item);
- }
- }
-
- function contains_3(_this__u8e3s4, element) {
- return indexOf_2(_this__u8e3s4, element) >= 0;
- }
-
- function contains_4(_this__u8e3s4, element) {
- return indexOf_3(_this__u8e3s4, element) >= 0;
- }
-
- function isEmpty_1(_this__u8e3s4) {
- return _this__u8e3s4.length === 0;
- }
-
- function any(_this__u8e3s4, predicate) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length;
- while (inductionVariable < last) {
- var element = _this__u8e3s4[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- if (predicate(new Char(element)))
- return true;
- }
- return false;
- }
-
- function get_lastIndex(_this__u8e3s4) {
- return _this__u8e3s4.length - 1 | 0;
- }
-
- function contains_5(_this__u8e3s4, element) {
- return indexOf(_this__u8e3s4, element) >= 0;
- }
-
- function contains_6(_this__u8e3s4, element) {
- return indexOf_4(_this__u8e3s4, element) >= 0;
- }
-
- function get_indices_0(_this__u8e3s4) {
- return new IntRange(0, get_lastIndex(_this__u8e3s4));
- }
-
- function any_0(_this__u8e3s4, predicate) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length;
- while (inductionVariable < last) {
- var element = _this__u8e3s4[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- if (predicate(element))
- return true;
- }
- return false;
- }
-
- function indexOf_0(_this__u8e3s4, element) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (element === _this__u8e3s4[index]) {
- return index;
- }
- }
- while (inductionVariable <= last);
- return -1;
- }
-
- function get_lastIndex_0(_this__u8e3s4) {
- return _this__u8e3s4.length - 1 | 0;
- }
-
- function associateByTo(_this__u8e3s4, destination, keySelector) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length;
- while (inductionVariable < last) {
- var element = _this__u8e3s4[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- destination.put_4fpzoq_k$(keySelector(element), element);
- }
- return destination;
- }
-
- function indexOf_1(_this__u8e3s4, element) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (element === _this__u8e3s4[index]) {
- return index;
- }
- }
- while (inductionVariable <= last);
- return -1;
- }
-
- function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
- separator = separator === VOID ? ', ' : separator;
- prefix = prefix === VOID ? '' : prefix;
- postfix = postfix === VOID ? '' : postfix;
- limit = limit === VOID ? -1 : limit;
- truncated = truncated === VOID ? '...' : truncated;
- transform = transform === VOID ? null : transform;
- buffer.append_jgojdo_k$(prefix);
- var count = 0;
- var inductionVariable = 0;
- var last = _this__u8e3s4.length;
- $l$loop: while (inductionVariable < last) {
- var element = _this__u8e3s4[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- count = count + 1 | 0;
- if (count > 1) {
- buffer.append_jgojdo_k$(separator);
- }
- if (limit < 0 ? true : count <= limit) {
- appendElement(buffer, element, transform);
- } else
- break $l$loop;
- }
- if (limit >= 0 ? count > limit : false) {
- buffer.append_jgojdo_k$(truncated);
- }
- buffer.append_jgojdo_k$(postfix);
- return buffer;
- }
-
- function toMutableList(_this__u8e3s4) {
- return ArrayList_init_$Create$_1(asCollection(_this__u8e3s4));
- }
-
- function indexOf_2(_this__u8e3s4, element) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (element === _this__u8e3s4[index]) {
- return index;
- }
- }
- while (inductionVariable <= last);
- return -1;
- }
-
- function indexOf_3(_this__u8e3s4, element) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (element === _this__u8e3s4[index]) {
- return index;
- }
- }
- while (inductionVariable <= last);
- return -1;
- }
-
- function indexOf_4(_this__u8e3s4, element) {
- var inductionVariable = 0;
- var last = _this__u8e3s4.length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (element.equals(_this__u8e3s4[index])) {
- return index;
- }
- }
- while (inductionVariable <= last);
- return -1;
- }
-
- function get_indices_1(_this__u8e3s4) {
- return new IntRange(0, get_lastIndex_1(_this__u8e3s4));
- }
-
- function get_indices_2(_this__u8e3s4) {
- return new IntRange(0, get_lastIndex_2(_this__u8e3s4));
- }
-
- function get_indices_3(_this__u8e3s4) {
- return new IntRange(0, get_lastIndex_3(_this__u8e3s4));
- }
-
- function get_indices_4(_this__u8e3s4) {
- return new IntRange(0, get_lastIndex_4(_this__u8e3s4));
- }
-
- function get_lastIndex_1(_this__u8e3s4) {
- return _this__u8e3s4.length - 1 | 0;
- }
-
- function get_lastIndex_2(_this__u8e3s4) {
- return _this__u8e3s4.length - 1 | 0;
- }
-
- function get_lastIndex_3(_this__u8e3s4) {
- return _this__u8e3s4.length - 1 | 0;
- }
-
- function get_lastIndex_4(_this__u8e3s4) {
- return _this__u8e3s4.length - 1 | 0;
- }
-
- function plus_0(_this__u8e3s4, element) {
- var result = ArrayList_init_$Create$_0(_this__u8e3s4.get_size_woubt6_k$() + 1 | 0);
- result.addAll_4lagoh_k$(_this__u8e3s4);
- result.add_utx5q5_k$(element);
- return result;
- }
-
- function indexOfFirst(_this__u8e3s4, predicate) {
- var index = 0;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- if (predicate(item))
- return index;
- index = index + 1 | 0;
- }
- return -1;
- }
-
- function filter(_this__u8e3s4, predicate) {
- // Inline function 'kotlin.collections.filterTo' call
- var destination = ArrayList_init_$Create$();
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (predicate(element)) {
- destination.add_utx5q5_k$(element);
- }
- }
- return destination;
- }
-
- function sortedBy(_this__u8e3s4, selector) {
- // Inline function 'kotlin.comparisons.compareBy' call
- var tmp = sortedBy$lambda(selector);
- var tmp$ret$0 = new sam$kotlin_Comparator$0(tmp);
- return sortedWith(_this__u8e3s4, tmp$ret$0);
- }
-
- function asSequence(_this__u8e3s4) {
- // Inline function 'kotlin.sequences.Sequence' call
- return new _no_name_provided__qut3iv(_this__u8e3s4);
- }
-
- function component2(_this__u8e3s4) {
- return _this__u8e3s4.get_c1px32_k$(1);
- }
-
- function indexOfLast(_this__u8e3s4, predicate) {
- var iterator = _this__u8e3s4.listIterator_70e65o_k$(_this__u8e3s4.get_size_woubt6_k$());
- while (iterator.hasPrevious_qh0629_k$()) {
- if (predicate(iterator.previous_l2dfd5_k$())) {
- return iterator.nextIndex_jshxun_k$();
- }
- }
- return -1;
- }
-
- function associateWith(_this__u8e3s4, valueSelector) {
- var result = LinkedHashMap_init_$Create$_0(coerceAtLeast(mapCapacity(collectionSizeOrDefault(_this__u8e3s4, 10)), 16));
- // Inline function 'kotlin.collections.associateWithTo' call
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- result.put_4fpzoq_k$(element, valueSelector(element));
- }
- return result;
- }
-
- function single_0(_this__u8e3s4) {
- if (isInterface(_this__u8e3s4, List))
- return single_1(_this__u8e3s4);
- else {
- var iterator = _this__u8e3s4.iterator_jk1svi_k$();
- if (!iterator.hasNext_bitz1p_k$())
- throw NoSuchElementException_init_$Create$_0('Collection is empty.');
- var single = iterator.next_20eer_k$();
- if (iterator.hasNext_bitz1p_k$())
- throw IllegalArgumentException_init_$Create$_0('Collection has more than one element.');
- return single;
- }
- }
-
- function firstOrNull(_this__u8e3s4, predicate) {
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (predicate(element))
- return element;
- }
- return null;
- }
-
- function any_1(_this__u8e3s4, predicate) {
- var tmp;
- if (isInterface(_this__u8e3s4, Collection)) {
- tmp = _this__u8e3s4.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp)
- return false;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (predicate(element))
- return true;
- }
- return false;
- }
-
- function component1(_this__u8e3s4) {
- return _this__u8e3s4.get_c1px32_k$(0);
- }
-
- function mapIndexedNotNull(_this__u8e3s4, transform) {
- // Inline function 'kotlin.collections.mapIndexedNotNullTo' call
- var destination = ArrayList_init_$Create$();
- // Inline function 'kotlin.collections.forEachIndexed' call
- var index = 0;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.mapIndexedNotNullTo.' call
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- var tmp0_safe_receiver = transform(checkIndexOverflow(tmp1), item);
- if (tmp0_safe_receiver == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- destination.add_utx5q5_k$(tmp0_safe_receiver);
- }
- }
- return destination;
- }
-
- function firstOrNull_0(_this__u8e3s4) {
- return _this__u8e3s4.isEmpty_y1axqb_k$() ? null : _this__u8e3s4.get_c1px32_k$(0);
- }
-
- function forEach(_this__u8e3s4, action) {
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- action(element);
- }
- }
-
- function flatMap(_this__u8e3s4, transform) {
- // Inline function 'kotlin.collections.flatMapTo' call
- var destination = ArrayList_init_$Create$();
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- var list = transform(element);
- addAll_0(destination, list);
- }
- return destination;
- }
-
- function last(_this__u8e3s4) {
- if (_this__u8e3s4.isEmpty_y1axqb_k$())
- throw NoSuchElementException_init_$Create$_0('List is empty.');
- return _this__u8e3s4.get_c1px32_k$(get_lastIndex_5(_this__u8e3s4));
- }
-
- function first(_this__u8e3s4) {
- if (_this__u8e3s4.isEmpty_y1axqb_k$())
- throw NoSuchElementException_init_$Create$_0('List is empty.');
- return _this__u8e3s4.get_c1px32_k$(0);
- }
-
- function count(_this__u8e3s4, predicate) {
- var tmp;
- if (isInterface(_this__u8e3s4, Collection)) {
- tmp = _this__u8e3s4.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp)
- return 0;
- var count = 0;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (predicate(element)) {
- count = count + 1 | 0;
- checkCountOverflow(count);
- }
- }
- return count;
- }
-
- function forEachIndexed_0(_this__u8e3s4, action) {
- var index = 0;
- var tmp0_iterator = _this__u8e3s4.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 toMutableList_0(_this__u8e3s4) {
- return ArrayList_init_$Create$_1(_this__u8e3s4);
- }
-
- function mapNotNull(_this__u8e3s4, transform) {
- // Inline function 'kotlin.collections.mapNotNullTo' call
- var destination = ArrayList_init_$Create$();
- // Inline function 'kotlin.collections.forEach' call
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.mapNotNullTo.' call
- var tmp0_safe_receiver = transform(element);
- if (tmp0_safe_receiver == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- destination.add_utx5q5_k$(tmp0_safe_receiver);
- }
- }
- return destination;
- }
-
- function map(_this__u8e3s4, transform) {
- // Inline function 'kotlin.collections.mapTo' call
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(_this__u8e3s4, 10));
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- destination.add_utx5q5_k$(transform(item));
- }
- return destination;
- }
-
- function toSet(_this__u8e3s4) {
- if (isInterface(_this__u8e3s4, Collection)) {
- var tmp;
- switch (_this__u8e3s4.get_size_woubt6_k$()) {
- case 0:
- tmp = emptySet();
- break;
- case 1:
- var tmp_0;
- if (isInterface(_this__u8e3s4, List)) {
- tmp_0 = _this__u8e3s4.get_c1px32_k$(0);
- } else {
- tmp_0 = _this__u8e3s4.iterator_jk1svi_k$().next_20eer_k$();
- }
-
- tmp = setOf(tmp_0);
- break;
- default:
- tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_2(mapCapacity(_this__u8e3s4.get_size_woubt6_k$())));
- break;
- }
- return tmp;
- }
- return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
- }
-
- function all(_this__u8e3s4, predicate) {
- var tmp;
- if (isInterface(_this__u8e3s4, Collection)) {
- tmp = _this__u8e3s4.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp)
- return true;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (!predicate(element))
- return false;
- }
- return true;
- }
-
- function plus_1(_this__u8e3s4, elements) {
- if (isInterface(elements, Collection)) {
- var result = ArrayList_init_$Create$_0(_this__u8e3s4.get_size_woubt6_k$() + elements.get_size_woubt6_k$() | 0);
- result.addAll_4lagoh_k$(_this__u8e3s4);
- result.addAll_4lagoh_k$(elements);
- return result;
- } else {
- var result_0 = ArrayList_init_$Create$_1(_this__u8e3s4);
- addAll_0(result_0, elements);
- return result_0;
- }
- }
-
- function firstOrNull_1(_this__u8e3s4) {
- if (isInterface(_this__u8e3s4, List)) {
- if (_this__u8e3s4.isEmpty_y1axqb_k$())
- return null;
- else
- return _this__u8e3s4.get_c1px32_k$(0);
- } else {
- var iterator = _this__u8e3s4.iterator_jk1svi_k$();
- if (!iterator.hasNext_bitz1p_k$())
- return null;
- return iterator.next_20eer_k$();
- }
- }
-
- function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
- separator = separator === VOID ? ', ' : separator;
- prefix = prefix === VOID ? '' : prefix;
- postfix = postfix === VOID ? '' : postfix;
- limit = limit === VOID ? -1 : limit;
- truncated = truncated === VOID ? '...' : truncated;
- transform = transform === VOID ? null : transform;
- buffer.append_jgojdo_k$(prefix);
- var count = 0;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- $l$loop: while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- count = count + 1 | 0;
- if (count > 1) {
- buffer.append_jgojdo_k$(separator);
- }
- if (limit < 0 ? true : count <= limit) {
- appendElement(buffer, element, transform);
- } else
- break $l$loop;
- }
- if (limit >= 0 ? count > limit : false) {
- buffer.append_jgojdo_k$(truncated);
- }
- buffer.append_jgojdo_k$(postfix);
- return buffer;
- }
-
- function minOrNull(_this__u8e3s4) {
- var iterator = _this__u8e3s4.iterator_jk1svi_k$();
- if (!iterator.hasNext_bitz1p_k$())
- return null;
- var min = iterator.next_20eer_k$();
- while (iterator.hasNext_bitz1p_k$()) {
- var e = iterator.next_20eer_k$();
- if (compareTo(min, e) > 0)
- min = e;
- }
- return min;
- }
-
- function maxOrNull(_this__u8e3s4) {
- var iterator = _this__u8e3s4.iterator_jk1svi_k$();
- if (!iterator.hasNext_bitz1p_k$())
- return null;
- var max = iterator.next_20eer_k$();
- while (iterator.hasNext_bitz1p_k$()) {
- var e = iterator.next_20eer_k$();
- if (compareTo(max, e) < 0)
- max = e;
- }
- return max;
- }
-
- function getOrNull_0(_this__u8e3s4, index) {
- return (index >= 0 ? index <= get_lastIndex_5(_this__u8e3s4) : false) ? _this__u8e3s4.get_c1px32_k$(index) : null;
- }
-
- function mapIndexed(_this__u8e3s4, transform) {
- // Inline function 'kotlin.collections.mapIndexedTo' call
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(_this__u8e3s4, 10));
- var index = 0;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- destination.add_utx5q5_k$(transform(checkIndexOverflow(tmp1), item));
- }
- return destination;
- }
-
- function plus_2(_this__u8e3s4, elements) {
- var result = ArrayList_init_$Create$_0(_this__u8e3s4.get_size_woubt6_k$() + elements.length | 0);
- result.addAll_4lagoh_k$(_this__u8e3s4);
- addAll(result, elements);
- return result;
- }
-
- function filterNot(_this__u8e3s4, predicate) {
- // Inline function 'kotlin.collections.filterNotTo' call
- var destination = ArrayList_init_$Create$();
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (!predicate(element)) {
- destination.add_utx5q5_k$(element);
- }
- }
- return destination;
- }
-
- function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
- separator = separator === VOID ? ', ' : separator;
- prefix = prefix === VOID ? '' : prefix;
- postfix = postfix === VOID ? '' : postfix;
- limit = limit === VOID ? -1 : limit;
- truncated = truncated === VOID ? '...' : truncated;
- transform = transform === VOID ? null : transform;
- return joinTo_0(_this__u8e3s4, StringBuilder_init_$Create$_1(), separator, prefix, postfix, limit, truncated, transform).toString();
- }
-
- function find(_this__u8e3s4, predicate) {
- var tmp$ret$0;
- $l$block: {
- // Inline function 'kotlin.collections.firstOrNull' call
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (predicate(element)) {
- tmp$ret$0 = element;
- break $l$block;
- }
- }
- tmp$ret$0 = null;
- }
- return tmp$ret$0;
- }
-
- function filterTo(_this__u8e3s4, destination, predicate) {
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (predicate(element)) {
- destination.add_utx5q5_k$(element);
- }
- }
- return destination;
- }
-
- function sortedWith(_this__u8e3s4, comparator) {
- if (isInterface(_this__u8e3s4, Collection)) {
- if (_this__u8e3s4.get_size_woubt6_k$() <= 1)
- return toList_0(_this__u8e3s4);
- // Inline function 'kotlin.apply' call
- // Inline function 'kotlin.collections.toTypedArray' call
- var tmp = copyToArray(_this__u8e3s4);
- var this_0 = isArray(tmp) ? tmp : THROW_CCE();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.sortedWith.' call
- sortWith(this_0, comparator);
- return asList(this_0);
- }
- // Inline function 'kotlin.apply' call
- var this_1 = toMutableList_1(_this__u8e3s4);
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.sortedWith.' call
- sortWith_0(this_1, comparator);
- return this_1;
- }
-
- function associateWithTo(_this__u8e3s4, destination, valueSelector) {
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- destination.put_4fpzoq_k$(element, valueSelector(element));
- }
- return destination;
- }
-
- function single_1(_this__u8e3s4) {
- var tmp;
- switch (_this__u8e3s4.get_size_woubt6_k$()) {
- case 0:
- throw NoSuchElementException_init_$Create$_0('List is empty.');
- case 1:
- tmp = _this__u8e3s4.get_c1px32_k$(0);
- break;
- default:
- throw IllegalArgumentException_init_$Create$_0('List has more than one element.');
- }
- return tmp;
- }
-
- function mapIndexedNotNullTo(_this__u8e3s4, destination, transform) {
- // Inline function 'kotlin.collections.forEachIndexed' call
- var index = 0;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.mapIndexedNotNullTo.' call
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- var tmp0_safe_receiver = transform(checkIndexOverflow(tmp1), item);
- if (tmp0_safe_receiver == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- destination.add_utx5q5_k$(tmp0_safe_receiver);
- }
- }
- return destination;
- }
-
- function flatMapTo(_this__u8e3s4, destination, transform) {
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- var list = transform(element);
- addAll_0(destination, list);
- }
- return destination;
- }
-
- function mapNotNullTo(_this__u8e3s4, destination, transform) {
- // Inline function 'kotlin.collections.forEach' call
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.mapNotNullTo.' call
- var tmp0_safe_receiver = transform(element);
- if (tmp0_safe_receiver == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- destination.add_utx5q5_k$(tmp0_safe_receiver);
- }
- }
- return destination;
- }
-
- function mapTo(_this__u8e3s4, destination, transform) {
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- destination.add_utx5q5_k$(transform(item));
- }
- return destination;
- }
-
- function toCollection_0(_this__u8e3s4, destination) {
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- destination.add_utx5q5_k$(item);
- }
- return destination;
- }
-
- function mapIndexedTo(_this__u8e3s4, destination, transform) {
- var index = 0;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- destination.add_utx5q5_k$(transform(checkIndexOverflow(tmp1), item));
- }
- return destination;
- }
-
- function filterNotTo(_this__u8e3s4, destination, predicate) {
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (!predicate(element)) {
- destination.add_utx5q5_k$(element);
- }
- }
- return destination;
- }
-
- function toList_0(_this__u8e3s4) {
- if (isInterface(_this__u8e3s4, Collection)) {
- var tmp;
- switch (_this__u8e3s4.get_size_woubt6_k$()) {
- case 0:
- tmp = emptyList();
- break;
- case 1:
- var tmp_0;
- if (isInterface(_this__u8e3s4, List)) {
- tmp_0 = _this__u8e3s4.get_c1px32_k$(0);
- } else {
- tmp_0 = _this__u8e3s4.iterator_jk1svi_k$().next_20eer_k$();
- }
-
- tmp = listOf(tmp_0);
- break;
- default:
- tmp = toMutableList_0(_this__u8e3s4);
- break;
- }
- return tmp;
- }
- return optimizeReadOnlyList(toMutableList_1(_this__u8e3s4));
- }
-
- function toMutableList_1(_this__u8e3s4) {
- if (isInterface(_this__u8e3s4, Collection))
- return toMutableList_0(_this__u8e3s4);
- return toCollection_0(_this__u8e3s4, ArrayList_init_$Create$());
- }
-
- function sam$kotlin_Comparator$0(function_0) {
- this.function_1 = function_0;
- }
-
- protoOf(sam$kotlin_Comparator$0).compare_bczr_k$ = function (a, b) {
- return this.function_1(a, b);
- };
- protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
- return this.compare_bczr_k$(a, b);
- };
-
- function sortedBy$lambda($selector) {
- return function (a, b) {
- // Inline function 'kotlin.comparisons.compareValuesBy' call
- return compareValues($selector(a), $selector(b));
- };
- }
-
- function _no_name_provided__qut3iv($this_asSequence) {
- this.$this_asSequence_1 = $this_asSequence;
- }
-
- protoOf(_no_name_provided__qut3iv).iterator_jk1svi_k$ = function () {
- // Inline function 'kotlin.collections.asSequence.' call
- return this.$this_asSequence_1.iterator_jk1svi_k$();
- };
-
- function until(_this__u8e3s4, to) {
- if (to <= IntCompanionObject_getInstance().get_MIN_VALUE_7nmmor_k$())
- return Companion_getInstance_9().get_EMPTY_i8q41w_k$();
- return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
- }
-
- function until_0(_this__u8e3s4, to) {
- if (Char__compareTo_impl_ypi4mb(to, _Char___init__impl__6a9atx(0)) <= 0)
- return Companion_getInstance_10().get_EMPTY_i8q41w_k$();
- return Char__rangeTo_impl_tkncvp(_this__u8e3s4, Char__toChar_impl_3h7tei(Char__minus_impl_a2frrh_0(to, 1)));
- }
-
- function until_1(_this__u8e3s4, to) {
- return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
- }
-
- function until_2(_this__u8e3s4, to) {
- return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
- }
-
- function until_3(_this__u8e3s4, to) {
- if (to.compareTo_9jj042_k$(Companion_getInstance_1().get_MIN_VALUE_7nmmor_k$()) <= 0)
- return Companion_getInstance_11().get_EMPTY_i8q41w_k$();
- var tmp = toLong(_this__u8e3s4);
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = to.minus_mfbszm_k$(toLong(1));
- return tmp.rangeTo_dxc9t6_k$(tmp$ret$0.toLong_edfucp_k$());
- }
-
- function until_4(_this__u8e3s4, to) {
- return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
- }
-
- function until_5(_this__u8e3s4, to) {
- return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
- }
-
- function until_6(_this__u8e3s4, to) {
- if (to <= IntCompanionObject_getInstance().get_MIN_VALUE_7nmmor_k$())
- return Companion_getInstance_9().get_EMPTY_i8q41w_k$();
- return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
- }
-
- function until_7(_this__u8e3s4, to) {
- if (to.compareTo_9jj042_k$(Companion_getInstance_1().get_MIN_VALUE_7nmmor_k$()) <= 0)
- return Companion_getInstance_11().get_EMPTY_i8q41w_k$();
- var tmp = toLong(_this__u8e3s4);
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = to.minus_mfbszm_k$(toLong(1));
- return tmp.rangeTo_dxc9t6_k$(tmp$ret$0.toLong_edfucp_k$());
- }
-
- function until_8(_this__u8e3s4, to) {
- return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
- }
-
- function until_9(_this__u8e3s4, to) {
- return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
- }
-
- function until_10(_this__u8e3s4, to) {
- if (to <= IntCompanionObject_getInstance().get_MIN_VALUE_7nmmor_k$())
- return Companion_getInstance_9().get_EMPTY_i8q41w_k$();
- return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
- }
-
- function until_11(_this__u8e3s4, to) {
- if (to.compareTo_9jj042_k$(Companion_getInstance_1().get_MIN_VALUE_7nmmor_k$()) <= 0)
- return Companion_getInstance_11().get_EMPTY_i8q41w_k$();
- var tmp = toLong(_this__u8e3s4);
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = to.minus_mfbszm_k$(toLong(1));
- return tmp.rangeTo_dxc9t6_k$(tmp$ret$0.toLong_edfucp_k$());
- }
-
- function until_12(_this__u8e3s4, to) {
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = toLong(to).minus_mfbszm_k$(toLong(1));
- return _this__u8e3s4.rangeTo_dxc9t6_k$(tmp$ret$0.toLong_edfucp_k$());
- }
-
- function until_13(_this__u8e3s4, to) {
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = toLong(to).minus_mfbszm_k$(toLong(1));
- return _this__u8e3s4.rangeTo_dxc9t6_k$(tmp$ret$0.toLong_edfucp_k$());
- }
-
- function until_14(_this__u8e3s4, to) {
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = toLong(to).minus_mfbszm_k$(toLong(1));
- return _this__u8e3s4.rangeTo_dxc9t6_k$(tmp$ret$0.toLong_edfucp_k$());
- }
-
- function until_15(_this__u8e3s4, to) {
- if (to.compareTo_9jj042_k$(Companion_getInstance_1().get_MIN_VALUE_7nmmor_k$()) <= 0)
- return Companion_getInstance_11().get_EMPTY_i8q41w_k$();
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = to.minus_mfbszm_k$(toLong(1));
- return _this__u8e3s4.rangeTo_dxc9t6_k$(tmp$ret$0.toLong_edfucp_k$());
- }
-
- function downTo(_this__u8e3s4, to) {
- return Companion_getInstance_12().fromClosedRange_y6bqsv_k$(_this__u8e3s4, to, -1);
- }
-
- function coerceAtLeast(_this__u8e3s4, minimumValue) {
- return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
- }
-
- function coerceIn(_this__u8e3s4, minimumValue, maximumValue) {
- if (minimumValue > maximumValue)
- throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
- if (_this__u8e3s4 < minimumValue)
- return minimumValue;
- if (_this__u8e3s4 > maximumValue)
- return maximumValue;
- return _this__u8e3s4;
- }
-
- function coerceAtMost(_this__u8e3s4, maximumValue) {
- return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
- }
-
- function reversed(_this__u8e3s4) {
- return Companion_getInstance_12().fromClosedRange_y6bqsv_k$(_this__u8e3s4.get_last_wopotb_k$(), _this__u8e3s4.get_first_irdx8n_k$(), -_this__u8e3s4.get_step_woujh1_k$() | 0);
- }
-
- function toList_1(_this__u8e3s4) {
- var it = _this__u8e3s4.iterator_jk1svi_k$();
- if (!it.hasNext_bitz1p_k$())
- return emptyList();
- var element = it.next_20eer_k$();
- if (!it.hasNext_bitz1p_k$())
- return listOf(element);
- var dst = ArrayList_init_$Create$();
- dst.add_utx5q5_k$(element);
- while (it.hasNext_bitz1p_k$()) {
- dst.add_utx5q5_k$(it.next_20eer_k$());
- }
- return dst;
- }
-
- function take(_this__u8e3s4, n) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(n >= 0)) {
- // Inline function 'kotlin.sequences.take.' call
- var message = 'Requested element count ' + n + ' is less than zero.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- var tmp;
- if (n === 0) {
- tmp = emptySequence();
- } else {
- if (isInterface(_this__u8e3s4, DropTakeSequence)) {
- tmp = _this__u8e3s4.take_6gva4v_k$(n);
- } else {
- tmp = new TakeSequence(_this__u8e3s4, n);
- }
- }
- return tmp;
- }
-
- function map_0(_this__u8e3s4, transform) {
- return new TransformingSequence(_this__u8e3s4, transform);
- }
-
- function forEachIndexed_1(_this__u8e3s4, action) {
- var index = 0;
- var tmp0_iterator = _this__u8e3s4.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_3(_this__u8e3s4, element) {
- var result = LinkedHashSet_init_$Create$_2(mapCapacity(_this__u8e3s4.get_size_woubt6_k$() + 1 | 0));
- result.addAll_4lagoh_k$(_this__u8e3s4);
- result.add_utx5q5_k$(element);
- return result;
- }
-
- function indexOfFirst_0(_this__u8e3s4, predicate) {
- var inductionVariable = 0;
- var last = charSequenceLength(_this__u8e3s4) - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (predicate(new Char(charSequenceGet(_this__u8e3s4, index)))) {
- return index;
- }
- }
- while (inductionVariable <= last);
- return -1;
- }
-
- function map_1(_this__u8e3s4, transform) {
- // Inline function 'kotlin.text.mapTo' call
- var destination = ArrayList_init_$Create$_0(charSequenceLength(_this__u8e3s4));
- var inductionVariable = 0;
- while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
- var item = charSequenceGet(_this__u8e3s4, inductionVariable);
- inductionVariable = inductionVariable + 1 | 0;
- destination.add_utx5q5_k$(transform(new Char(item)));
- }
- return destination;
- }
-
- function dropLast(_this__u8e3s4, n) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(n >= 0)) {
- // Inline function 'kotlin.text.dropLast.' call
- var message = 'Requested character count ' + n + ' is less than zero.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- return take_0(_this__u8e3s4, coerceAtLeast(_this__u8e3s4.length - n | 0, 0));
- }
-
- function getOrElse(_this__u8e3s4, index, defaultValue) {
- return (index >= 0 ? index <= get_lastIndex_6(_this__u8e3s4) : false) ? charSequenceGet(_this__u8e3s4, index) : defaultValue(index).value_1;
- }
-
- function forEachIndexed_2(_this__u8e3s4, action) {
- var index = 0;
- var inductionVariable = 0;
- while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
- var item = charSequenceGet(_this__u8e3s4, inductionVariable);
- inductionVariable = inductionVariable + 1 | 0;
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- action(tmp1, new Char(item));
- }
- }
-
- function count_0(_this__u8e3s4, predicate) {
- var count = 0;
- var inductionVariable = 0;
- while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
- var element = charSequenceGet(_this__u8e3s4, inductionVariable);
- inductionVariable = inductionVariable + 1 | 0;
- if (predicate(new Char(element))) {
- count = count + 1 | 0;
- }
- }
- return count;
- }
-
- function drop(_this__u8e3s4, n) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(n >= 0)) {
- // Inline function 'kotlin.text.drop.' call
- var message = 'Requested character count ' + n + ' is less than zero.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- // Inline function 'kotlin.text.substring' call
- var startIndex = coerceAtMost(n, _this__u8e3s4.length);
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.substring(startIndex);
- }
-
- function mapTo_0(_this__u8e3s4, destination, transform) {
- var inductionVariable = 0;
- while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
- var item = charSequenceGet(_this__u8e3s4, inductionVariable);
- inductionVariable = inductionVariable + 1 | 0;
- destination.add_utx5q5_k$(transform(new Char(item)));
- }
- return destination;
- }
-
- function take_0(_this__u8e3s4, n) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(n >= 0)) {
- // Inline function 'kotlin.text.take.' call
- var message = 'Requested character count ' + n + ' is less than zero.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- // Inline function 'kotlin.text.substring' call
- var endIndex = coerceAtMost(n, _this__u8e3s4.length);
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.substring(0, endIndex);
- }
-
- function get_indices_5(_this__u8e3s4) {
- return get_indices(_UIntArray___get_storage__impl__92a0v0(_this__u8e3s4));
- }
-
- function contentEquals(_this__u8e3s4, other) {
- var tmp;
- var tmp_0 = _this__u8e3s4;
- if ((tmp_0 == null ? null : new UByteArray(tmp_0)) == null) {
- tmp = null;
- } else {
- tmp = _UByteArray___get_storage__impl__d4kctt(_this__u8e3s4);
- }
- var tmp_1 = tmp;
- var tmp_2;
- var tmp_3 = other;
- if ((tmp_3 == null ? null : new UByteArray(tmp_3)) == null) {
- tmp_2 = null;
- } else {
- tmp_2 = _UByteArray___get_storage__impl__d4kctt(other);
- }
- return contentEquals_3(tmp_1, tmp_2);
- }
-
- function contentEquals_0(_this__u8e3s4, other) {
- var tmp;
- var tmp_0 = _this__u8e3s4;
- if ((tmp_0 == null ? null : new UIntArray(tmp_0)) == null) {
- tmp = null;
- } else {
- tmp = _UIntArray___get_storage__impl__92a0v0(_this__u8e3s4);
- }
- var tmp_1 = tmp;
- var tmp_2;
- var tmp_3 = other;
- if ((tmp_3 == null ? null : new UIntArray(tmp_3)) == null) {
- tmp_2 = null;
- } else {
- tmp_2 = _UIntArray___get_storage__impl__92a0v0(other);
- }
- return contentEquals_4(tmp_1, tmp_2);
- }
-
- function contentEquals_1(_this__u8e3s4, other) {
- var tmp;
- var tmp_0 = _this__u8e3s4;
- if ((tmp_0 == null ? null : new ULongArray(tmp_0)) == null) {
- tmp = null;
- } else {
- tmp = _ULongArray___get_storage__impl__28e64j(_this__u8e3s4);
- }
- var tmp_1 = tmp;
- var tmp_2;
- var tmp_3 = other;
- if ((tmp_3 == null ? null : new ULongArray(tmp_3)) == null) {
- tmp_2 = null;
- } else {
- tmp_2 = _ULongArray___get_storage__impl__28e64j(other);
- }
- return contentEquals_5(tmp_1, tmp_2);
- }
-
- function contentEquals_2(_this__u8e3s4, other) {
- var tmp;
- var tmp_0 = _this__u8e3s4;
- if ((tmp_0 == null ? null : new UShortArray(tmp_0)) == null) {
- tmp = null;
- } else {
- tmp = _UShortArray___get_storage__impl__t2jpv5(_this__u8e3s4);
- }
- var tmp_1 = tmp;
- var tmp_2;
- var tmp_3 = other;
- if ((tmp_3 == null ? null : new UShortArray(tmp_3)) == null) {
- tmp_2 = null;
- } else {
- tmp_2 = _UShortArray___get_storage__impl__t2jpv5(other);
- }
- return contentEquals_6(tmp_1, tmp_2);
- }
-
- function until_16(_this__u8e3s4, to) {
- // Inline function 'kotlin.UInt.compareTo' call
- var other = Companion_getInstance_18().get_MIN_VALUE_9zjqdd_k$();
- if (uintCompare(_UInt___get_data__impl__f0vqqw(to), _UInt___get_data__impl__f0vqqw(other)) <= 0)
- return Companion_getInstance_19().get_EMPTY_i8q41w_k$();
- // Inline function 'kotlin.UInt.rangeTo' call
- // Inline function 'kotlin.UInt.toUInt' call
- // Inline function 'kotlin.UInt.minus' call
- var other_0 = _UInt___init__impl__l7qpdl(1);
- var other_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(to) - _UInt___get_data__impl__f0vqqw(other_0) | 0);
- return new UIntRange(_this__u8e3s4, other_1);
- }
-
- function until_17(_this__u8e3s4, to) {
- // Inline function 'kotlin.ULong.compareTo' call
- var other = Companion_getInstance_21().get_MIN_VALUE_phlf8q_k$();
- if (ulongCompare(_ULong___get_data__impl__fggpzb(to), _ULong___get_data__impl__fggpzb(other)) <= 0)
- return Companion_getInstance_22().get_EMPTY_i8q41w_k$();
- // Inline function 'kotlin.ULong.rangeTo' call
- // Inline function 'kotlin.ULong.toULong' call
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_0 = _UInt___init__impl__l7qpdl(1);
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(this_0)).and_4spn93_k$(new Long(-1, 0)));
- var other_1 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(to).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other_0)));
- return new ULongRange(_this__u8e3s4, other_1);
- }
-
- function until_18(_this__u8e3s4, to) {
- // Inline function 'kotlin.UByte.compareTo' call
- var other = Companion_getInstance_17().get_MIN_VALUE_phf8xi_k$();
- // Inline function 'kotlin.UByte.toInt' call
- var tmp = _UByte___get_data__impl__jof9qr(to) & 255;
- // Inline function 'kotlin.UByte.toInt' call
- var tmp$ret$1 = _UByte___get_data__impl__jof9qr(other) & 255;
- if (compareTo(tmp, tmp$ret$1) <= 0)
- return Companion_getInstance_19().get_EMPTY_i8q41w_k$();
- // Inline function 'kotlin.UInt.rangeTo' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(_this__u8e3s4) & 255);
- // Inline function 'kotlin.UInt.toUInt' call
- // Inline function 'kotlin.UByte.minus' call
- var other_0 = _UInt___init__impl__l7qpdl(1);
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_1 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(to) & 255);
- var other_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_1) - _UInt___get_data__impl__f0vqqw(other_0) | 0);
- return new UIntRange(this_0, other_1);
- }
-
- function until_19(_this__u8e3s4, to) {
- // Inline function 'kotlin.UShort.compareTo' call
- var other = Companion_getInstance_24().get_MIN_VALUE_8wxn4e_k$();
- // Inline function 'kotlin.UShort.toInt' call
- var tmp = _UShort___get_data__impl__g0245(to) & 65535;
- // Inline function 'kotlin.UShort.toInt' call
- var tmp$ret$1 = _UShort___get_data__impl__g0245(other) & 65535;
- if (compareTo(tmp, tmp$ret$1) <= 0)
- return Companion_getInstance_19().get_EMPTY_i8q41w_k$();
- // Inline function 'kotlin.UInt.rangeTo' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(_this__u8e3s4) & 65535);
- // Inline function 'kotlin.UInt.toUInt' call
- // Inline function 'kotlin.UShort.minus' call
- var other_0 = _UInt___init__impl__l7qpdl(1);
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_1 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(to) & 65535);
- var other_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_1) - _UInt___get_data__impl__f0vqqw(other_0) | 0);
- return new UIntRange(this_0, other_1);
- }
-
- function KotlinNothingValueException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- KotlinNothingValueException.call($this);
- return $this;
- }
-
- function KotlinNothingValueException_init_$Create$() {
- var tmp = KotlinNothingValueException_init_$Init$(objectCreate(protoOf(KotlinNothingValueException)));
- captureStack(tmp, KotlinNothingValueException_init_$Create$);
- return tmp;
- }
-
- function KotlinNothingValueException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- KotlinNothingValueException.call($this);
- return $this;
- }
-
- function KotlinNothingValueException_init_$Create$_0(message) {
- var tmp = KotlinNothingValueException_init_$Init$_0(message, objectCreate(protoOf(KotlinNothingValueException)));
- captureStack(tmp, KotlinNothingValueException_init_$Create$_0);
- return tmp;
- }
-
- function KotlinNothingValueException_init_$Init$_1(message, cause, $this) {
- RuntimeException_init_$Init$_1(message, cause, $this);
- KotlinNothingValueException.call($this);
- return $this;
- }
-
- function KotlinNothingValueException_init_$Create$_1(message, cause) {
- var tmp = KotlinNothingValueException_init_$Init$_1(message, cause, objectCreate(protoOf(KotlinNothingValueException)));
- captureStack(tmp, KotlinNothingValueException_init_$Create$_1);
- return tmp;
- }
-
- function KotlinNothingValueException_init_$Init$_2(cause, $this) {
- RuntimeException_init_$Init$_2(cause, $this);
- KotlinNothingValueException.call($this);
- return $this;
- }
-
- function KotlinNothingValueException_init_$Create$_2(cause) {
- var tmp = KotlinNothingValueException_init_$Init$_2(cause, objectCreate(protoOf(KotlinNothingValueException)));
- captureStack(tmp, KotlinNothingValueException_init_$Create$_2);
- return tmp;
- }
-
- function KotlinNothingValueException() {
- captureStack(this, KotlinNothingValueException);
- }
-
- function ExperimentalJsFileName() {
- }
-
- protoOf(ExperimentalJsFileName).equals = function (other) {
- if (!(other instanceof ExperimentalJsFileName))
- return false;
- other instanceof ExperimentalJsFileName || THROW_CCE();
- return true;
- };
- protoOf(ExperimentalJsFileName).hashCode = function () {
- return 0;
- };
- protoOf(ExperimentalJsFileName).toString = function () {
- return '@kotlin.js.ExperimentalJsFileName()';
- };
-
- function IntrinsicConstEvaluation() {
- }
-
- protoOf(IntrinsicConstEvaluation).equals = function (other) {
- if (!(other instanceof IntrinsicConstEvaluation))
- return false;
- other instanceof IntrinsicConstEvaluation || THROW_CCE();
- return true;
- };
- protoOf(IntrinsicConstEvaluation).hashCode = function () {
- return 0;
- };
- protoOf(IntrinsicConstEvaluation).toString = function () {
- return '@kotlin.internal.IntrinsicConstEvaluation()';
- };
-
- function _Char___init__impl__6a9atx(value) {
- return value;
- }
-
- function _get_value__a43j40($this) {
- return $this;
- }
-
- function _Char___init__impl__6a9atx_0(code) {
- // Inline function 'kotlin.UShort.toInt' call
- var tmp$ret$0 = _UShort___get_data__impl__g0245(code) & 65535;
- return _Char___init__impl__6a9atx(tmp$ret$0);
- }
-
- function Char__compareTo_impl_ypi4mb($this, other) {
- return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
- }
-
- function Char__compareTo_impl_ypi4mb_0($this, other) {
- return Char__compareTo_impl_ypi4mb($this.value_1, other instanceof Char ? other.value_1 : THROW_CCE());
- }
-
- function Char__plus_impl_qi7pgj($this, other) {
- return numberToChar(_get_value__a43j40($this) + other | 0);
- }
-
- function Char__minus_impl_a2frrh($this, other) {
- return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
- }
-
- function Char__minus_impl_a2frrh_0($this, other) {
- return numberToChar(_get_value__a43j40($this) - other | 0);
- }
-
- function Char__inc_impl_6e1wmz($this) {
- return numberToChar(_get_value__a43j40($this) + 1 | 0);
- }
-
- function Char__dec_impl_1ipdy9($this) {
- return numberToChar(_get_value__a43j40($this) - 1 | 0);
- }
-
- function Char__rangeTo_impl_tkncvp($this, other) {
- return new CharRange($this, other);
- }
-
- function Char__rangeUntil_impl_igwnre($this, other) {
- return until_0($this, other);
- }
-
- function Char__toByte_impl_7s7yt0($this) {
- return toByte(_get_value__a43j40($this));
- }
-
- function Char__toChar_impl_3h7tei($this) {
- return $this;
- }
-
- function Char__toShort_impl_7qagse($this) {
- return toShort(_get_value__a43j40($this));
- }
-
- function Char__toInt_impl_vasixd($this) {
- return _get_value__a43j40($this);
- }
-
- function Char__toLong_impl_r7eygw($this) {
- return toLong(_get_value__a43j40($this));
- }
-
- function Char__toFloat_impl_kl2gf6($this) {
- return _get_value__a43j40($this);
- }
-
- function Char__toDouble_impl_jaecy3($this) {
- return _get_value__a43j40($this);
- }
-
- function Char__equals_impl_x6719k($this, other) {
- if (!(other instanceof Char))
- return false;
- return _get_value__a43j40($this) === _get_value__a43j40(other.value_1);
- }
-
- function Char__hashCode_impl_otmys($this) {
- return _get_value__a43j40($this);
- }
-
- function toString($this) {
- // Inline function 'kotlin.js.unsafeCast' call
- return String.fromCharCode(_get_value__a43j40($this));
- }
-
- function Companion() {
- Companion_instance = this;
- this.MIN_VALUE_1 = _Char___init__impl__6a9atx(0);
- this.MAX_VALUE_1 = _Char___init__impl__6a9atx(65535);
- this.MIN_HIGH_SURROGATE_1 = _Char___init__impl__6a9atx(55296);
- this.MAX_HIGH_SURROGATE_1 = _Char___init__impl__6a9atx(56319);
- this.MIN_LOW_SURROGATE_1 = _Char___init__impl__6a9atx(56320);
- this.MAX_LOW_SURROGATE_1 = _Char___init__impl__6a9atx(57343);
- this.MIN_SURROGATE_1 = _Char___init__impl__6a9atx(55296);
- this.MAX_SURROGATE_1 = _Char___init__impl__6a9atx(57343);
- this.SIZE_BYTES_1 = 2;
- this.SIZE_BITS_1 = 16;
- }
-
- protoOf(Companion).get_MIN_VALUE_9z8va5_k$ = function () {
- return this.MIN_VALUE_1;
- };
- protoOf(Companion).get_MAX_VALUE_bm2fhr_k$ = function () {
- return this.MAX_VALUE_1;
- };
- protoOf(Companion).get_MIN_HIGH_SURROGATE_t8674j_k$ = function () {
- return this.MIN_HIGH_SURROGATE_1;
- };
- protoOf(Companion).get_MAX_HIGH_SURROGATE_eamm67_k$ = function () {
- return this.MAX_HIGH_SURROGATE_1;
- };
- protoOf(Companion).get_MIN_LOW_SURROGATE_mwv6vb_k$ = function () {
- return this.MIN_LOW_SURROGATE_1;
- };
- protoOf(Companion).get_MAX_LOW_SURROGATE_gxd79n_k$ = function () {
- return this.MAX_LOW_SURROGATE_1;
- };
- protoOf(Companion).get_MIN_SURROGATE_6v5u0s_k$ = function () {
- return this.MIN_SURROGATE_1;
- };
- protoOf(Companion).get_MAX_SURROGATE_r7zmwa_k$ = function () {
- return this.MAX_SURROGATE_1;
- };
- protoOf(Companion).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES_1;
- };
- protoOf(Companion).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS_1;
- };
- var Companion_instance;
-
- function Companion_getInstance() {
- if (Companion_instance == null)
- new Companion();
- return Companion_instance;
- }
-
- function Char(value) {
- Companion_getInstance();
- this.value_1 = value;
- }
-
- protoOf(Char).compareTo_gstm7h_k$ = function (other) {
- return Char__compareTo_impl_ypi4mb(this.value_1, other);
- };
- protoOf(Char).compareTo_hpufkf_k$ = function (other) {
- return Char__compareTo_impl_ypi4mb_0(this, other);
- };
- protoOf(Char).equals = function (other) {
- return Char__equals_impl_x6719k(this.value_1, other);
- };
- protoOf(Char).hashCode = function () {
- return Char__hashCode_impl_otmys(this.value_1);
- };
- protoOf(Char).toString = function () {
- return toString(this.value_1);
- };
-
- function List() {
- }
-
- function Iterable() {
- }
-
- function Collection() {
- }
-
- function MutableList() {
- }
-
- function MutableEntry() {
- }
-
- function MutableMap() {
- }
-
- function Entry() {
- }
-
- function Map_0() {
- }
-
- function MutableSet() {
- }
-
- function MutableCollection() {
- }
-
- function Set() {
- }
-
- function MutableIterable() {
- }
-
- function Companion_0() {
- Companion_instance_0 = this;
- }
-
- var Companion_instance_0;
-
- function Companion_getInstance_0() {
- if (Companion_instance_0 == null)
- new Companion_0();
- return Companion_instance_0;
- }
-
- function Enum(name, ordinal) {
- Companion_getInstance_0();
- this.name_1 = name;
- this.ordinal_1 = ordinal;
- }
-
- protoOf(Enum).get_name_woqyms_k$ = function () {
- return this.name_1;
- };
- protoOf(Enum).get_ordinal_ip24qg_k$ = function () {
- return this.ordinal_1;
- };
- protoOf(Enum).compareTo_30rs7w_k$ = function (other) {
- return compareTo(this.ordinal_1, other.ordinal_1);
- };
- protoOf(Enum).compareTo_hpufkf_k$ = function (other) {
- return this.compareTo_30rs7w_k$(other instanceof Enum ? other : THROW_CCE());
- };
- protoOf(Enum).equals = function (other) {
- return this === other;
- };
- protoOf(Enum).hashCode = function () {
- return identityHashCode(this);
- };
- protoOf(Enum).toString = function () {
- return this.name_1;
- };
-
- function arrayOfNulls(size) {
- return fillArrayVal(Array(size), null);
- }
-
- function byteArrayOf(elements) {
- return elements;
- }
-
- function arrayOf(elements) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- return elements;
- }
-
- function toString_0(_this__u8e3s4) {
- var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : toString_1(_this__u8e3s4);
- return tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
- }
-
- function charArrayOf(elements) {
- return elements;
- }
-
- function intArrayOf(elements) {
- return elements;
- }
-
- function plus_4(_this__u8e3s4, other) {
- var tmp3_elvis_lhs = _this__u8e3s4 == null ? null : toString_1(_this__u8e3s4);
- var tmp = tmp3_elvis_lhs == null ? 'null' : tmp3_elvis_lhs;
- var tmp1_elvis_lhs = other == null ? null : toString_1(other);
- return tmp + (tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs);
- }
-
- function implement(interfaces) {
- var maxSize = 1;
- var masks = [];
- var inductionVariable = 0;
- var last = interfaces.length;
- while (inductionVariable < last) {
- var i = interfaces[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- var currentSize = maxSize;
- var tmp1_elvis_lhs = i.prototype.$imask$;
- var imask = tmp1_elvis_lhs == null ? i.$imask$ : tmp1_elvis_lhs;
- if (!(imask == null)) {
- masks.push(imask);
- currentSize = imask.length;
- }
- var iid = i.$metadata$.iid;
- var tmp;
- if (iid == null) {
- tmp = null;
- } else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.js.implement.' call
- tmp = bitMaskWith(iid);
- }
- var iidImask = tmp;
- if (!(iidImask == null)) {
- masks.push(iidImask);
- currentSize = Math.max(currentSize, iidImask.length);
- }
- if (currentSize > maxSize) {
- maxSize = currentSize;
- }
- }
- return compositeBitMask(maxSize, masks);
- }
-
- function bitMaskWith(activeBit) {
- var numberIndex = activeBit >> 5;
- var intArray = new Int32Array(numberIndex + 1 | 0);
- var positionInNumber = activeBit & 31;
- var numberWithSettledBit = 1 << positionInNumber;
- intArray[numberIndex] = intArray[numberIndex] | numberWithSettledBit;
- return intArray;
- }
-
- function compositeBitMask(capacity, masks) {
- var tmp = 0;
- var tmp_0 = new Int32Array(capacity);
- while (tmp < capacity) {
- var tmp_1 = tmp;
- var result = 0;
- var inductionVariable = 0;
- var last = masks.length;
- while (inductionVariable < last) {
- var mask = masks[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- if (tmp_1 < mask.length) {
- result = result | mask[tmp_1];
- }
- }
- tmp_0[tmp_1] = result;
- tmp = tmp + 1 | 0;
- }
- return tmp_0;
- }
-
- function isBitSet(_this__u8e3s4, possibleActiveBit) {
- var numberIndex = possibleActiveBit >> 5;
- if (numberIndex > _this__u8e3s4.length)
- return false;
- var positionInNumber = possibleActiveBit & 31;
- var numberWithSettledBit = 1 << positionInNumber;
- return !((_this__u8e3s4[numberIndex] & numberWithSettledBit) === 0);
- }
-
- function DefaultConstructorMarker() {
- DefaultConstructorMarker_instance = this;
- }
-
- var DefaultConstructorMarker_instance;
-
- function DefaultConstructorMarker_getInstance() {
- if (DefaultConstructorMarker_instance == null)
- new DefaultConstructorMarker();
- return DefaultConstructorMarker_instance;
- }
-
- function fillArrayVal(array, initValue) {
- var inductionVariable = 0;
- var last = array.length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- array[i] = initValue;
- }
- while (!(i === last));
- return array;
- }
-
- function arrayWithFun(size, init) {
- // Inline function 'kotlin.js.fillArrayFun' call
- // Inline function 'kotlin.js.unsafeCast' call
- var result = Array(size);
- var i = 0;
- while (!(i === result.length)) {
- result[i] = init(i);
- i = i + 1 | 0;
- }
- return result;
- }
-
- function fillArrayFun(array, init) {
- // Inline function 'kotlin.js.unsafeCast' call
- var result = array;
- var i = 0;
- while (!(i === result.length)) {
- result[i] = init(i);
- i = i + 1 | 0;
- }
- return result;
- }
-
- function arrayIterator(array) {
- return new arrayIterator$1(array);
- }
-
- function booleanArrayIterator(array) {
- return new booleanArrayIterator$1(array);
- }
-
- function charArrayIterator(array) {
- return new charArrayIterator$1(array);
- }
-
- function byteArrayIterator(array) {
- return new byteArrayIterator$1(array);
- }
-
- function shortArrayIterator(array) {
- return new shortArrayIterator$1(array);
- }
-
- function intArrayIterator(array) {
- return new intArrayIterator$1(array);
- }
-
- function floatArrayIterator(array) {
- return new floatArrayIterator$1(array);
- }
-
- function longArrayIterator(array) {
- return new longArrayIterator$1(array);
- }
-
- function doubleArrayIterator(array) {
- return new doubleArrayIterator$1(array);
- }
-
- function booleanArray(size) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'withType' call
- var type = 'BooleanArray';
- var array = fillArrayVal(Array(size), false);
- array.$type$ = type;
- return array;
- }
-
- function charArray(size) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'withType' call
- var type = 'CharArray';
- var array = new Uint16Array(size);
- array.$type$ = type;
- return array;
- }
-
- function longArray(size) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'withType' call
- var type = 'LongArray';
- var array = fillArrayVal(Array(size), new Long(0, 0));
- array.$type$ = type;
- return array;
- }
-
- function booleanArrayOf(arr) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'withType' call
- var type = 'BooleanArray';
- // Inline function 'kotlin.js.asDynamic' call
- var array = arr.slice();
- array.$type$ = type;
- return array;
- }
-
- function charArrayOf_0(arr) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'withType' call
- var type = 'CharArray';
- var array = new Uint16Array(arr);
- array.$type$ = type;
- return array;
- }
-
- function longArrayOf(arr) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'withType' call
- var type = 'LongArray';
- // Inline function 'kotlin.js.asDynamic' call
- var array = arr.slice();
- array.$type$ = type;
- return array;
- }
-
- function arrayIterator$1($array) {
- this.$array_1 = $array;
- this.index_1 = 0;
- }
-
- protoOf(arrayIterator$1).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(arrayIterator$1).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(arrayIterator$1).hasNext_bitz1p_k$ = function () {
- return !(this.index_1 === this.$array_1.length);
- };
- protoOf(arrayIterator$1).next_20eer_k$ = function () {
- var tmp;
- if (!(this.index_1 === this.$array_1.length)) {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp = this.$array_1[tmp1];
- } else {
- throw NoSuchElementException_init_$Create$_0('' + this.index_1);
- }
- return tmp;
- };
-
- function booleanArrayIterator$1($array) {
- this.$array_1 = $array;
- BooleanIterator.call(this);
- this.index_1 = 0;
- }
-
- protoOf(booleanArrayIterator$1).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(booleanArrayIterator$1).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(booleanArrayIterator$1).hasNext_bitz1p_k$ = function () {
- return !(this.index_1 === this.$array_1.length);
- };
- protoOf(booleanArrayIterator$1).nextBoolean_nfdk1h_k$ = function () {
- var tmp;
- if (!(this.index_1 === this.$array_1.length)) {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp = this.$array_1[tmp1];
- } else {
- throw NoSuchElementException_init_$Create$_0('' + this.index_1);
- }
- return tmp;
- };
-
- function charArrayIterator$1($array) {
- this.$array_1 = $array;
- CharIterator.call(this);
- this.index_1 = 0;
- }
-
- protoOf(charArrayIterator$1).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(charArrayIterator$1).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(charArrayIterator$1).hasNext_bitz1p_k$ = function () {
- return !(this.index_1 === this.$array_1.length);
- };
- protoOf(charArrayIterator$1).nextChar_yvnk6j_k$ = function () {
- var tmp;
- if (!(this.index_1 === this.$array_1.length)) {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp = this.$array_1[tmp1];
- } else {
- throw NoSuchElementException_init_$Create$_0('' + this.index_1);
- }
- return tmp;
- };
-
- function byteArrayIterator$1($array) {
- this.$array_1 = $array;
- ByteIterator.call(this);
- this.index_1 = 0;
- }
-
- protoOf(byteArrayIterator$1).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(byteArrayIterator$1).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(byteArrayIterator$1).hasNext_bitz1p_k$ = function () {
- return !(this.index_1 === this.$array_1.length);
- };
- protoOf(byteArrayIterator$1).nextByte_njqopn_k$ = function () {
- var tmp;
- if (!(this.index_1 === this.$array_1.length)) {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp = this.$array_1[tmp1];
- } else {
- throw NoSuchElementException_init_$Create$_0('' + this.index_1);
- }
- return tmp;
- };
-
- function shortArrayIterator$1($array) {
- this.$array_1 = $array;
- ShortIterator.call(this);
- this.index_1 = 0;
- }
-
- protoOf(shortArrayIterator$1).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(shortArrayIterator$1).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(shortArrayIterator$1).hasNext_bitz1p_k$ = function () {
- return !(this.index_1 === this.$array_1.length);
- };
- protoOf(shortArrayIterator$1).nextShort_jxwabt_k$ = function () {
- var tmp;
- if (!(this.index_1 === this.$array_1.length)) {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp = this.$array_1[tmp1];
- } else {
- throw NoSuchElementException_init_$Create$_0('' + this.index_1);
- }
- return tmp;
- };
-
- function intArrayIterator$1($array) {
- this.$array_1 = $array;
- IntIterator.call(this);
- this.index_1 = 0;
- }
-
- protoOf(intArrayIterator$1).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(intArrayIterator$1).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(intArrayIterator$1).hasNext_bitz1p_k$ = function () {
- return !(this.index_1 === this.$array_1.length);
- };
- protoOf(intArrayIterator$1).nextInt_ujorgc_k$ = function () {
- var tmp;
- if (!(this.index_1 === this.$array_1.length)) {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp = this.$array_1[tmp1];
- } else {
- throw NoSuchElementException_init_$Create$_0('' + this.index_1);
- }
- return tmp;
- };
-
- function floatArrayIterator$1($array) {
- this.$array_1 = $array;
- FloatIterator.call(this);
- this.index_1 = 0;
- }
-
- protoOf(floatArrayIterator$1).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(floatArrayIterator$1).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(floatArrayIterator$1).hasNext_bitz1p_k$ = function () {
- return !(this.index_1 === this.$array_1.length);
- };
- protoOf(floatArrayIterator$1).nextFloat_jqti5l_k$ = function () {
- var tmp;
- if (!(this.index_1 === this.$array_1.length)) {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp = this.$array_1[tmp1];
- } else {
- throw NoSuchElementException_init_$Create$_0('' + this.index_1);
- }
- return tmp;
- };
-
- function longArrayIterator$1($array) {
- this.$array_1 = $array;
- LongIterator.call(this);
- this.index_1 = 0;
- }
-
- protoOf(longArrayIterator$1).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(longArrayIterator$1).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(longArrayIterator$1).hasNext_bitz1p_k$ = function () {
- return !(this.index_1 === this.$array_1.length);
- };
- protoOf(longArrayIterator$1).nextLong_njwv0v_k$ = function () {
- var tmp;
- if (!(this.index_1 === this.$array_1.length)) {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp = this.$array_1[tmp1];
- } else {
- throw NoSuchElementException_init_$Create$_0('' + this.index_1);
- }
- return tmp;
- };
-
- function doubleArrayIterator$1($array) {
- this.$array_1 = $array;
- DoubleIterator.call(this);
- this.index_1 = 0;
- }
-
- protoOf(doubleArrayIterator$1).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(doubleArrayIterator$1).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(doubleArrayIterator$1).hasNext_bitz1p_k$ = function () {
- return !(this.index_1 === this.$array_1.length);
- };
- protoOf(doubleArrayIterator$1).nextDouble_s2xvfg_k$ = function () {
- var tmp;
- if (!(this.index_1 === this.$array_1.length)) {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp = this.$array_1[tmp1];
- } else {
- throw NoSuchElementException_init_$Create$_0('' + this.index_1);
- }
- return tmp;
- };
-
- function get_buf() {
- _init_properties_bitUtils_kt__nfcg4k();
- return buf;
- }
-
- var buf;
-
- function get_bufFloat64() {
- _init_properties_bitUtils_kt__nfcg4k();
- return bufFloat64;
- }
-
- var bufFloat64;
-
- function get_bufFloat32() {
- _init_properties_bitUtils_kt__nfcg4k();
- return bufFloat32;
- }
-
- var bufFloat32;
-
- function get_bufInt32() {
- _init_properties_bitUtils_kt__nfcg4k();
- return bufInt32;
- }
-
- var bufInt32;
-
- function get_lowIndex() {
- _init_properties_bitUtils_kt__nfcg4k();
- return lowIndex;
- }
-
- var lowIndex;
-
- function get_highIndex() {
- _init_properties_bitUtils_kt__nfcg4k();
- return highIndex;
- }
-
- var highIndex;
-
- function getNumberHashCode(obj) {
- _init_properties_bitUtils_kt__nfcg4k();
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.jsBitwiseOr' call
- // Inline function 'kotlin.js.asDynamic' call
- if ((obj | 0) === obj) {
- return numberToInt(obj);
- }
- get_bufFloat64()[0] = obj;
- return imul(get_bufInt32()[get_highIndex()], 31) + get_bufInt32()[get_lowIndex()] | 0;
- }
-
- var properties_initialized_bitUtils_kt_i2bo3e;
-
- function _init_properties_bitUtils_kt__nfcg4k() {
- if (!properties_initialized_bitUtils_kt_i2bo3e) {
- properties_initialized_bitUtils_kt_i2bo3e = true;
- buf = new ArrayBuffer(8);
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- bufFloat64 = new Float64Array(get_buf());
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- bufFloat32 = new Float32Array(get_buf());
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- bufInt32 = new Int32Array(get_buf());
- // Inline function 'kotlin.run' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.js.lowIndex.' call
- get_bufFloat64()[0] = -1.0;
- lowIndex = !(get_bufInt32()[0] === 0) ? 1 : 0;
- highIndex = 1 - get_lowIndex() | 0;
- }
- }
-
- function booleanInExternalLog(name, obj) {
- if (!(typeof obj === 'boolean')) {
- // Inline function 'kotlin.js.asDynamic' call
- console.error("Boolean expected for '" + name + "', but actual:", obj);
- }
- }
-
- function booleanInExternalException(name, obj) {
- if (!(typeof obj === 'boolean')) {
- throw new Error("Boolean expected for '" + name + "', but actual: " + obj);
- }
- }
-
- function DoNotIntrinsify() {
- }
-
- protoOf(DoNotIntrinsify).equals = function (other) {
- if (!(other instanceof DoNotIntrinsify))
- return false;
- other instanceof DoNotIntrinsify || THROW_CCE();
- return true;
- };
- protoOf(DoNotIntrinsify).hashCode = function () {
- return 0;
- };
- protoOf(DoNotIntrinsify).toString = function () {
- return '@kotlin.js.DoNotIntrinsify()';
- };
-
- function charSequenceGet(a, index) {
- var tmp;
- if (isString(a)) {
- // Inline function 'kotlin.Char' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var code = a.charCodeAt(index);
- var tmp_0;
- // Inline function 'kotlin.code' call
- var this_0 = Companion_getInstance().get_MIN_VALUE_9z8va5_k$();
- if (code < Char__toInt_impl_vasixd(this_0)) {
- tmp_0 = true;
- } else {
- // Inline function 'kotlin.code' call
- var this_1 = Companion_getInstance().get_MAX_VALUE_bm2fhr_k$();
- tmp_0 = code > Char__toInt_impl_vasixd(this_1);
- }
- if (tmp_0) {
- throw IllegalArgumentException_init_$Create$_0('Invalid Char code: ' + code);
- }
- tmp = numberToChar(code);
- } else {
- tmp = a.get_kdzpvg_k$(index);
- }
- return tmp;
- }
-
- function isString(a) {
- return typeof a === 'string';
- }
-
- function charSequenceLength(a) {
- var tmp;
- if (isString(a)) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = a.length;
- } else {
- tmp = a.get_length_g42xv3_k$();
- }
- return tmp;
- }
-
- function charSequenceSubSequence(a, startIndex, endIndex) {
- var tmp;
- if (isString(a)) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = a.substring(startIndex, endIndex);
- } else {
- tmp = a.subSequence_hm5hnj_k$(startIndex, endIndex);
- }
- return tmp;
- }
-
- function arrayToString(array) {
- return joinToString(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
- }
-
- function contentEqualsInternal(_this__u8e3s4, other) {
- // Inline function 'kotlin.js.asDynamic' call
- var a = _this__u8e3s4;
- // Inline function 'kotlin.js.asDynamic' call
- var b = other;
- if (a === b)
- return true;
- if (((a == null ? true : b == null) ? true : !isArrayish(b)) ? true : a.length != b.length)
- return false;
- var inductionVariable = 0;
- var last = a.length;
- if (inductionVariable < last)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (!equals(a[i], b[i])) {
- return false;
- }
- }
- while (inductionVariable < last);
- return true;
- }
-
- function arrayToString$lambda(it) {
- return toString_1(it);
- }
-
- function compareTo(a, b) {
- var tmp;
- switch (typeof a) {
- case 'number':
- var tmp_0;
- if (typeof b === 'number') {
- tmp_0 = doubleCompareTo(a, b);
- } else {
- if (b instanceof Long) {
- tmp_0 = doubleCompareTo(a, b.toDouble_ygsx0s_k$());
- } else {
- tmp_0 = primitiveCompareTo(a, b);
- }
- }
-
- tmp = tmp_0;
- break;
- case 'string':
- case 'boolean':
- tmp = primitiveCompareTo(a, b);
- break;
- default:
- tmp = compareToDoNotIntrinsicify(a, b);
- break;
- }
- return tmp;
- }
-
- function doubleCompareTo(a, b) {
- var tmp;
- if (a < b) {
- tmp = -1;
- } else if (a > b) {
- tmp = 1;
- } else if (a === b) {
- var tmp_0;
- if (a !== 0) {
- tmp_0 = 0;
- } else {
- // Inline function 'kotlin.js.asDynamic' call
- var ia = 1 / a;
- var tmp_1;
- // Inline function 'kotlin.js.asDynamic' call
- if (ia === 1 / b) {
- tmp_1 = 0;
- } else {
- if (ia < 0) {
- tmp_1 = -1;
- } else {
- tmp_1 = 1;
- }
- }
- tmp_0 = tmp_1;
- }
- tmp = tmp_0;
- } else if (a !== a) {
- tmp = b !== b ? 0 : 1;
- } else {
- tmp = -1;
- }
- return tmp;
- }
-
- function primitiveCompareTo(a, b) {
- return a < b ? -1 : a > b ? 1 : 0;
- }
-
- function compareToDoNotIntrinsicify(a, b) {
- return a.compareTo_hpufkf_k$(b);
- }
-
- function identityHashCode(obj) {
- return getObjectHashCode(obj);
- }
-
- function getObjectHashCode(obj) {
- // Inline function 'kotlin.js.jsIn' call
- if (!('kotlinHashCodeValue$' in obj)) {
- var hash = calculateRandomHash();
- var descriptor = new Object();
- descriptor.value = hash;
- descriptor.enumerable = false;
- Object.defineProperty(obj, 'kotlinHashCodeValue$', descriptor);
- }
- // Inline function 'kotlin.js.unsafeCast' call
- return obj['kotlinHashCodeValue$'];
- }
-
- function get_OBJECT_HASH_CODE_PROPERTY_NAME() {
- return OBJECT_HASH_CODE_PROPERTY_NAME;
- }
-
- var OBJECT_HASH_CODE_PROPERTY_NAME;
-
- function calculateRandomHash() {
- // Inline function 'kotlin.js.jsBitwiseOr' call
- return Math.random() * 4.294967296E9 | 0;
- }
-
- function get_POW_2_32() {
- return POW_2_32;
- }
-
- var POW_2_32;
-
- function toString_1(o) {
- var tmp;
- if (o == null) {
- tmp = 'null';
- } else if (isArrayish(o)) {
- tmp = '[...]';
- } else if (!(typeof o.toString === 'function')) {
- tmp = anyToString(o);
- } else {
- // Inline function 'kotlin.js.unsafeCast' call
- tmp = o.toString();
- }
- return tmp;
- }
-
- function anyToString(o) {
- return Object.prototype.toString.call(o);
- }
-
- function hashCode(obj) {
- if (obj == null)
- return 0;
- var typeOf = typeof obj;
- var tmp;
- switch (typeOf) {
- case 'object':
- tmp = 'function' === typeof obj.hashCode ? obj.hashCode() : getObjectHashCode(obj);
- break;
- case 'function':
- tmp = getObjectHashCode(obj);
- break;
- case 'number':
- tmp = getNumberHashCode(obj);
- break;
- case 'boolean':
- // Inline function 'kotlin.js.unsafeCast' call
-
- tmp = getBooleanHashCode(obj);
- break;
- case 'string':
- tmp = getStringHashCode(String(obj));
- break;
- case 'bigint':
- tmp = getBigIntHashCode(obj);
- break;
- case 'symbol':
- tmp = getSymbolHashCode(obj);
- break;
- default:
- tmp = function () {
- throw new Error('Unexpected typeof `' + typeOf + '`');
- }();
- break;
- }
- return tmp;
- }
-
- function getBooleanHashCode(value) {
- return value ? 1231 : 1237;
- }
-
- function getStringHashCode(str) {
- var hash = 0;
- var length = str.length;
- var inductionVariable = 0;
- var last = length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.js.asDynamic' call
- var code = str.charCodeAt(i);
- hash = imul(hash, 31) + code | 0;
- }
- while (!(i === last));
- return hash;
- }
-
- function getBigIntHashCode(value) {
- var shiftNumber = BigInt(32);
- var MASK = BigInt(4.294967295E9);
- var bigNumber = value < 0 ? -value : value;
- var hashCode = 0;
- var signum = value < 0 ? -1 : 1;
- while (bigNumber != 0) {
- // Inline function 'kotlin.js.unsafeCast' call
- var chunk = Number(bigNumber & MASK);
- hashCode = imul(31, hashCode) + chunk | 0;
- bigNumber = bigNumber >> shiftNumber;
- }
- return imul(hashCode, signum);
- }
-
- function getSymbolHashCode(value) {
- var hashCodeMap = symbolIsSharable(value) ? getSymbolMap() : getSymbolWeakMap();
- var cachedHashCode = hashCodeMap.get(value);
- if (cachedHashCode !== VOID)
- return cachedHashCode;
- var hash = calculateRandomHash();
- hashCodeMap.set(value, hash);
- return hash;
- }
-
- function symbolIsSharable(symbol) {
- return Symbol.keyFor(symbol) != VOID;
- }
-
- function getSymbolMap() {
- if (symbolMap === VOID) {
- symbolMap = new Map();
- }
- return symbolMap;
- }
-
- function getSymbolWeakMap() {
- if (symbolWeakMap === VOID) {
- symbolWeakMap = new WeakMap();
- }
- return symbolWeakMap;
- }
-
- function set_symbolMap(_set____db54di) {
- symbolMap = _set____db54di;
- }
-
- function get_symbolMap() {
- return symbolMap;
- }
-
- var symbolMap;
-
- function set_symbolWeakMap(_set____db54di) {
- symbolWeakMap = _set____db54di;
- }
-
- function get_symbolWeakMap() {
- return symbolWeakMap;
- }
-
- var symbolWeakMap;
-
- function equals(obj1, obj2) {
- if (obj1 == null) {
- return obj2 == null;
- }
- if (obj2 == null) {
- return false;
- }
- if (typeof obj1 === 'object' ? typeof obj1.equals === 'function' : false) {
- return obj1.equals(obj2);
- }
- if (obj1 !== obj1) {
- return obj2 !== obj2;
- }
- if (typeof obj1 === 'number' ? typeof obj2 === 'number' : false) {
- var tmp;
- if (obj1 === obj2) {
- var tmp_0;
- if (obj1 !== 0) {
- tmp_0 = true;
- } else {
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_1 = 1 / obj1;
- // Inline function 'kotlin.js.asDynamic' call
- tmp_0 = tmp_1 === 1 / obj2;
- }
- tmp = tmp_0;
- } else {
- tmp = false;
- }
- return tmp;
- }
- return obj1 === obj2;
- }
-
- function boxIntrinsic(x) {
- var message = 'Should be lowered';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
-
- function unboxIntrinsic(x) {
- var message = 'Should be lowered';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
-
- function captureStack(instance, constructorFunction) {
- if (Error.captureStackTrace != null) {
- Error.captureStackTrace(instance, constructorFunction);
- } else {
- // Inline function 'kotlin.js.asDynamic' call
- instance.stack = (new Error()).stack;
- }
- }
-
- function protoOf(constructor) {
- return constructor.prototype;
- }
-
- function defineProp(obj, name, getter, setter) {
- return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter});
- }
-
- function objectCreate(proto) {
- return Object.create(proto);
- }
-
- function createThis(ctor, box) {
- var self_0 = Object.create(ctor.prototype);
- boxApply(self_0, box);
- return self_0;
- }
-
- function boxApply(self_0, box) {
- if (box !== VOID)
- Object.assign(self_0, box);
- }
-
- function createExternalThis(ctor, superExternalCtor, parameters, box) {
- var tmp;
- if (box === VOID) {
- tmp = ctor;
- } else {
- var newCtor = class extends ctor {
- }
- Object.assign(newCtor.prototype, box);
- newCtor.constructor = ctor;
- tmp = newCtor;
- }
- var selfCtor = tmp;
- return Reflect.construct(superExternalCtor, parameters, selfCtor);
- }
-
- function newThrowable(message, cause) {
- var throwable = new Error();
- var tmp;
- if (isUndefined(message)) {
- var tmp_0;
- if (isUndefined(cause)) {
- tmp_0 = message;
- } else {
- var tmp1_elvis_lhs = cause == null ? null : cause.toString();
- tmp_0 = tmp1_elvis_lhs == null ? VOID : tmp1_elvis_lhs;
- }
- tmp = tmp_0;
- } else {
- tmp = message == null ? VOID : message;
- }
- throwable.message = tmp;
- throwable.cause = cause;
- throwable.name = 'Throwable';
- // Inline function 'kotlin.js.unsafeCast' call
- return throwable;
- }
-
- function isUndefined(value) {
- return value === VOID;
- }
-
- function extendThrowable(this_, message, cause) {
- Error.call(this_);
- setPropertiesToThrowableInstance(this_, message, cause);
- }
-
- function setPropertiesToThrowableInstance(this_, message, cause) {
- var errorInfo = calculateErrorInfo(Object.getPrototypeOf(this_));
- if ((errorInfo & 1) === 0) {
- var tmp;
- if (message == null) {
- var tmp_0;
- if (!(message === null)) {
- var tmp1_elvis_lhs = cause == null ? null : cause.toString();
- tmp_0 = tmp1_elvis_lhs == null ? VOID : tmp1_elvis_lhs;
- } else {
- tmp_0 = VOID;
- }
- tmp = tmp_0;
- } else {
- tmp = message;
- }
- this_.message = tmp;
- }
- if ((errorInfo & 2) === 0) {
- this_.cause = cause;
- }
- this_.name = Object.getPrototypeOf(this_).constructor.name;
- }
-
- function getContinuation() {
- throw Exception_init_$Create$_0('Implemented as intrinsic');
- }
-
- function returnIfSuspended(argument, $completion) {
- return (argument == null ? true : !(argument == null)) ? argument : THROW_CCE();
- }
-
- function suspendCoroutineUninterceptedOrReturnJS(block, $completion) {
- return block($completion);
- }
-
- function getCoroutineContext($completion) {
- return $completion.get_context_h02k06_k$();
- }
-
- function unreachableDeclarationLog() {
- // Inline function 'kotlin.js.asDynamic' call
- console.trace('Unreachable declaration');
- }
-
- function unreachableDeclarationException() {
- throw new Error('Unreachable declaration');
- }
-
- function ensureNotNull(v) {
- var tmp;
- if (v == null) {
- THROW_NPE();
- } else {
- tmp = v;
- }
- return tmp;
- }
-
- function THROW_NPE() {
- throw NullPointerException_init_$Create$();
- }
-
- function noWhenBranchMatchedException() {
- throw NoWhenBranchMatchedException_init_$Create$();
- }
-
- function THROW_CCE() {
- throw ClassCastException_init_$Create$();
- }
-
- function throwUninitializedPropertyAccessException(name) {
- throw UninitializedPropertyAccessException_init_$Create$_0('lateinit property ' + name + ' has not been initialized');
- }
-
- function throwKotlinNothingValueException() {
- throw KotlinNothingValueException_init_$Create$();
- }
-
- function THROW_ISE() {
- throw IllegalStateException_init_$Create$();
- }
-
- function THROW_IAE(msg) {
- throw IllegalArgumentException_init_$Create$_0(msg);
- }
-
- function JsIntrinsic() {
- }
-
- protoOf(JsIntrinsic).equals = function (other) {
- if (!(other instanceof JsIntrinsic))
- return false;
- other instanceof JsIntrinsic || THROW_CCE();
- return true;
- };
- protoOf(JsIntrinsic).hashCode = function () {
- return 0;
- };
- protoOf(JsIntrinsic).toString = function () {
- return '@kotlin.js.JsIntrinsic()';
- };
-
- function emptyArray() {
- return [];
- }
-
- function lazy(initializer) {
- return new UnsafeLazyImpl(initializer);
- }
-
- function lazy_0(mode, initializer) {
- return new UnsafeLazyImpl(initializer);
- }
-
- function fillFrom(src, dst) {
- var srcLen = src.length;
- var dstLen = dst.length;
- var index = 0;
- // Inline function 'kotlin.js.unsafeCast' call
- var arr = dst;
- while (index < srcLen ? index < dstLen : false) {
- var tmp = index;
- var tmp0 = index;
- index = tmp0 + 1 | 0;
- arr[tmp] = src[tmp0];
- }
- return dst;
- }
-
- function arrayCopyResize(source, newSize, defaultValue) {
- // Inline function 'kotlin.js.unsafeCast' call
- var result = source.slice(0, newSize);
- // Inline function 'kotlin.copyArrayType' call
- if (source.$type$ !== undefined) {
- result.$type$ = source.$type$;
- }
- var index = source.length;
- if (newSize > index) {
- // Inline function 'kotlin.js.asDynamic' call
- result.length = newSize;
- while (index < newSize) {
- var tmp0 = index;
- index = tmp0 + 1 | 0;
- result[tmp0] = defaultValue;
- }
- }
- return result;
- }
-
- function copyArrayType(from, to) {
- if (from.$type$ !== undefined) {
- to.$type$ = from.$type$;
- }
- }
-
- function JsFun(code) {
- this.code_1 = code;
- }
-
- protoOf(JsFun).get_code_wok7xy_k$ = function () {
- return this.code_1;
- };
- protoOf(JsFun).equals = function (other) {
- if (!(other instanceof JsFun))
- return false;
- var tmp0_other_with_cast = other instanceof JsFun ? other : THROW_CCE();
- if (!(this.code_1 === tmp0_other_with_cast.code_1))
- return false;
- return true;
- };
- protoOf(JsFun).hashCode = function () {
- return imul(getStringHashCode('code'), 127) ^ getStringHashCode(this.code_1);
- };
- protoOf(JsFun).toString = function () {
- return '@kotlin.js.JsFun(code=' + this.code_1 + ')';
- };
-
- function JsImplicitExport() {
- }
-
- protoOf(JsImplicitExport).equals = function (other) {
- if (!(other instanceof JsImplicitExport))
- return false;
- other instanceof JsImplicitExport || THROW_CCE();
- return true;
- };
- protoOf(JsImplicitExport).hashCode = function () {
- return 0;
- };
- protoOf(JsImplicitExport).toString = function () {
- return '@kotlin.js.JsImplicitExport()';
- };
-
- function enumValueOfIntrinsic(name) {
- throw IllegalStateException_init_$Create$_0('Should be replaced by compiler');
- }
-
- function enumValuesIntrinsic() {
- throw IllegalStateException_init_$Create$_0('Should be replaced by compiler');
- }
-
- function Companion_1() {
- Companion_instance_1 = this;
- this.MIN_VALUE_1 = new Long(0, -2147483648);
- this.MAX_VALUE_1 = new Long(-1, 2147483647);
- this.SIZE_BYTES_1 = 8;
- this.SIZE_BITS_1 = 64;
- }
-
- protoOf(Companion_1).get_MIN_VALUE_7nmmor_k$ = function () {
- return this.MIN_VALUE_1;
- };
- protoOf(Companion_1).get_MAX_VALUE_54a9lf_k$ = function () {
- return this.MAX_VALUE_1;
- };
- protoOf(Companion_1).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES_1;
- };
- protoOf(Companion_1).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS_1;
- };
- var Companion_instance_1;
-
- function Companion_getInstance_1() {
- if (Companion_instance_1 == null)
- new Companion_1();
- return Companion_instance_1;
- }
-
- function Long(low, high) {
- Companion_getInstance_1();
- Number_0.call(this);
- this.low_1 = low;
- this.high_1 = high;
- }
-
- protoOf(Long).get_low_18j191_k$ = function () {
- return this.low_1;
- };
- protoOf(Long).get_high_wonai3_k$ = function () {
- return this.high_1;
- };
- protoOf(Long).compareTo_z0c5i0_k$ = function (other) {
- return this.compareTo_9jj042_k$(toLong(other));
- };
- protoOf(Long).compareTo_ka11ag_k$ = function (other) {
- return this.compareTo_9jj042_k$(toLong(other));
- };
- protoOf(Long).compareTo_7hwzko_k$ = function (other) {
- return this.compareTo_9jj042_k$(toLong(other));
- };
- protoOf(Long).compareTo_9jj042_k$ = function (other) {
- return compare(this, other);
- };
- protoOf(Long).compareTo_hpufkf_k$ = function (other) {
- return this.compareTo_9jj042_k$(other instanceof Long ? other : THROW_CCE());
- };
- protoOf(Long).compareTo_9qeqt4_k$ = function (other) {
- return compareTo(this.toFloat_jhbgwv_k$(), other);
- };
- protoOf(Long).compareTo_t5h9ae_k$ = function (other) {
- return compareTo(this.toDouble_ygsx0s_k$(), other);
- };
- protoOf(Long).plus_hard1a_k$ = function (other) {
- return this.plus_r93sks_k$(toLong(other));
- };
- protoOf(Long).plus_7d0ae6_k$ = function (other) {
- return this.plus_r93sks_k$(toLong(other));
- };
- protoOf(Long).plus_gv6ohq_k$ = function (other) {
- return this.plus_r93sks_k$(toLong(other));
- };
- protoOf(Long).plus_r93sks_k$ = function (other) {
- return add(this, other);
- };
- protoOf(Long).plus_xnnzhe_k$ = function (other) {
- return this.toFloat_jhbgwv_k$() + other;
- };
- protoOf(Long).plus_pjpmi4_k$ = function (other) {
- return this.toDouble_ygsx0s_k$() + other;
- };
- protoOf(Long).minus_m4jcmg_k$ = function (other) {
- return this.minus_mfbszm_k$(toLong(other));
- };
- protoOf(Long).minus_t8tq14_k$ = function (other) {
- return this.minus_mfbszm_k$(toLong(other));
- };
- protoOf(Long).minus_vfk7ag_k$ = function (other) {
- return this.minus_mfbszm_k$(toLong(other));
- };
- protoOf(Long).minus_mfbszm_k$ = function (other) {
- return subtract(this, other);
- };
- protoOf(Long).minus_brujug_k$ = function (other) {
- return this.toFloat_jhbgwv_k$() - other;
- };
- protoOf(Long).minus_ur3tau_k$ = function (other) {
- return this.toDouble_ygsx0s_k$() - other;
- };
- protoOf(Long).times_l3vm36_k$ = function (other) {
- return this.times_nfzjiw_k$(toLong(other));
- };
- protoOf(Long).times_pycwwe_k$ = function (other) {
- return this.times_nfzjiw_k$(toLong(other));
- };
- protoOf(Long).times_kr2a3y_k$ = function (other) {
- return this.times_nfzjiw_k$(toLong(other));
- };
- protoOf(Long).times_nfzjiw_k$ = function (other) {
- return multiply(this, other);
- };
- protoOf(Long).times_422v76_k$ = function (other) {
- return this.toFloat_jhbgwv_k$() * other;
- };
- protoOf(Long).times_qz1dds_k$ = function (other) {
- return this.toDouble_ygsx0s_k$() * other;
- };
- protoOf(Long).div_op7y5j_k$ = function (other) {
- return this.div_jun7gj_k$(toLong(other));
- };
- protoOf(Long).div_haijbb_k$ = function (other) {
- return this.div_jun7gj_k$(toLong(other));
- };
- protoOf(Long).div_fxyyjd_k$ = function (other) {
- return this.div_jun7gj_k$(toLong(other));
- };
- protoOf(Long).div_jun7gj_k$ = function (other) {
- return divide(this, other);
- };
- protoOf(Long).div_nq5qk9_k$ = function (other) {
- return this.toFloat_jhbgwv_k$() / other;
- };
- protoOf(Long).div_k6dnjf_k$ = function (other) {
- return this.toDouble_ygsx0s_k$() / other;
- };
- protoOf(Long).rem_wr7kce_k$ = function (other) {
- return this.rem_bsnl9o_k$(toLong(other));
- };
- protoOf(Long).rem_g0zx5q_k$ = function (other) {
- return this.rem_bsnl9o_k$(toLong(other));
- };
- protoOf(Long).rem_agrhqa_k$ = function (other) {
- return this.rem_bsnl9o_k$(toLong(other));
- };
- protoOf(Long).rem_bsnl9o_k$ = function (other) {
- return modulo(this, other);
- };
- protoOf(Long).rem_ozocpu_k$ = function (other) {
- return this.toFloat_jhbgwv_k$() % other;
- };
- protoOf(Long).rem_rpe504_k$ = function (other) {
- return this.toDouble_ygsx0s_k$() % other;
- };
- protoOf(Long).inc_28ke_k$ = function () {
- return this.plus_r93sks_k$(new Long(1, 0));
- };
- protoOf(Long).dec_24n6_k$ = function () {
- return this.minus_mfbszm_k$(new Long(1, 0));
- };
- protoOf(Long).unaryPlus_g9fn1l_k$ = function () {
- return this;
- };
- protoOf(Long).unaryMinus_6uz0qp_k$ = function () {
- return this.inv_28kx_k$().plus_r93sks_k$(new Long(1, 0));
- };
- protoOf(Long).rangeTo_umivsw_k$ = function (other) {
- return this.rangeTo_dxc9t6_k$(toLong(other));
- };
- protoOf(Long).rangeTo_suedwg_k$ = function (other) {
- return this.rangeTo_dxc9t6_k$(toLong(other));
- };
- protoOf(Long).rangeTo_d1bgzk_k$ = function (other) {
- return this.rangeTo_dxc9t6_k$(toLong(other));
- };
- protoOf(Long).rangeTo_dxc9t6_k$ = function (other) {
- return new LongRange(this, other);
- };
- protoOf(Long).rangeUntil_3oumv_k$ = function (other) {
- return until_12(this, other);
- };
- protoOf(Long).rangeUntil_vu7vsn_k$ = function (other) {
- return until_13(this, other);
- };
- protoOf(Long).rangeUntil_621v6f_k$ = function (other) {
- return until_14(this, other);
- };
- protoOf(Long).rangeUntil_qkxqzx_k$ = function (other) {
- return until_15(this, other);
- };
- protoOf(Long).shl_bg8if3_k$ = function (bitCount) {
- return shiftLeft(this, bitCount);
- };
- protoOf(Long).shr_9fl3wl_k$ = function (bitCount) {
- return shiftRight(this, bitCount);
- };
- protoOf(Long).ushr_z7nmq8_k$ = function (bitCount) {
- return shiftRightUnsigned(this, bitCount);
- };
- protoOf(Long).and_4spn93_k$ = function (other) {
- return new Long(this.low_1 & other.low_1, this.high_1 & other.high_1);
- };
- protoOf(Long).or_v7fvkl_k$ = function (other) {
- return new Long(this.low_1 | other.low_1, this.high_1 | other.high_1);
- };
- protoOf(Long).xor_qzz94j_k$ = function (other) {
- return new Long(this.low_1 ^ other.low_1, this.high_1 ^ other.high_1);
- };
- protoOf(Long).inv_28kx_k$ = function () {
- return new Long(~this.low_1, ~this.high_1);
- };
- protoOf(Long).toByte_edm0nx_k$ = function () {
- return toByte(this.low_1);
- };
- protoOf(Long).toChar_tavt71_k$ = function () {
- return numberToChar(this.low_1);
- };
- protoOf(Long).toShort_ja8oqn_k$ = function () {
- return toShort(this.low_1);
- };
- protoOf(Long).toInt_1tsl84_k$ = function () {
- return this.low_1;
- };
- protoOf(Long).toLong_edfucp_k$ = function () {
- return this;
- };
- protoOf(Long).toFloat_jhbgwv_k$ = function () {
- return this.toDouble_ygsx0s_k$();
- };
- protoOf(Long).toDouble_ygsx0s_k$ = function () {
- return toNumber(this);
- };
- protoOf(Long).valueOf = function () {
- return this.toDouble_ygsx0s_k$();
- };
- protoOf(Long).equals = function (other) {
- var tmp;
- if (other instanceof Long) {
- tmp = equalsLong(this, other);
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(Long).hashCode = function () {
- return hashCode_0(this);
- };
- protoOf(Long).toString = function () {
- return toStringImpl(this, 10);
- };
-
- function get_ZERO() {
- _init_properties_longjs_kt__tqrzid();
- return ZERO;
- }
-
- var ZERO;
-
- function get_ONE() {
- _init_properties_longjs_kt__tqrzid();
- return ONE;
- }
-
- var ONE;
-
- function get_NEG_ONE() {
- _init_properties_longjs_kt__tqrzid();
- return NEG_ONE;
- }
-
- var NEG_ONE;
-
- function get_MAX_VALUE() {
- _init_properties_longjs_kt__tqrzid();
- return MAX_VALUE;
- }
-
- var MAX_VALUE;
-
- function get_MIN_VALUE() {
- _init_properties_longjs_kt__tqrzid();
- return MIN_VALUE;
- }
-
- var MIN_VALUE;
-
- function get_TWO_PWR_24_() {
- _init_properties_longjs_kt__tqrzid();
- return TWO_PWR_24_;
- }
-
- var TWO_PWR_24_;
-
- function compare(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- if (equalsLong(_this__u8e3s4, other)) {
- return 0;
- }
- var thisNeg = isNegative(_this__u8e3s4);
- var otherNeg = isNegative(other);
- return (thisNeg ? !otherNeg : false) ? -1 : (!thisNeg ? otherNeg : false) ? 1 : isNegative(subtract(_this__u8e3s4, other)) ? -1 : 1;
- }
-
- function add(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- var a48 = _this__u8e3s4.get_high_wonai3_k$() >>> 16 | 0;
- var a32 = _this__u8e3s4.get_high_wonai3_k$() & 65535;
- var a16 = _this__u8e3s4.get_low_18j191_k$() >>> 16 | 0;
- var a00 = _this__u8e3s4.get_low_18j191_k$() & 65535;
- var b48 = other.get_high_wonai3_k$() >>> 16 | 0;
- var b32 = other.get_high_wonai3_k$() & 65535;
- var b16 = other.get_low_18j191_k$() >>> 16 | 0;
- var b00 = other.get_low_18j191_k$() & 65535;
- var c48 = 0;
- var c32 = 0;
- var c16 = 0;
- var c00 = 0;
- c00 = c00 + (a00 + b00 | 0) | 0;
- c16 = c16 + (c00 >>> 16 | 0) | 0;
- c00 = c00 & 65535;
- c16 = c16 + (a16 + b16 | 0) | 0;
- c32 = c32 + (c16 >>> 16 | 0) | 0;
- c16 = c16 & 65535;
- c32 = c32 + (a32 + b32 | 0) | 0;
- c48 = c48 + (c32 >>> 16 | 0) | 0;
- c32 = c32 & 65535;
- c48 = c48 + (a48 + b48 | 0) | 0;
- c48 = c48 & 65535;
- return new Long(c16 << 16 | c00, c48 << 16 | c32);
- }
-
- function subtract(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- return add(_this__u8e3s4, other.unaryMinus_6uz0qp_k$());
- }
-
- function multiply(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- if (isZero(_this__u8e3s4)) {
- return get_ZERO();
- } else if (isZero(other)) {
- return get_ZERO();
- }
- if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
- return isOdd(other) ? get_MIN_VALUE() : get_ZERO();
- } else if (equalsLong(other, get_MIN_VALUE())) {
- return isOdd(_this__u8e3s4) ? get_MIN_VALUE() : get_ZERO();
- }
- if (isNegative(_this__u8e3s4)) {
- var tmp;
- if (isNegative(other)) {
- tmp = multiply(negate(_this__u8e3s4), negate(other));
- } else {
- tmp = negate(multiply(negate(_this__u8e3s4), other));
- }
- return tmp;
- } else if (isNegative(other)) {
- return negate(multiply(_this__u8e3s4, negate(other)));
- }
- if (lessThan(_this__u8e3s4, get_TWO_PWR_24_()) ? lessThan(other, get_TWO_PWR_24_()) : false) {
- return fromNumber(toNumber(_this__u8e3s4) * toNumber(other));
- }
- var a48 = _this__u8e3s4.get_high_wonai3_k$() >>> 16 | 0;
- var a32 = _this__u8e3s4.get_high_wonai3_k$() & 65535;
- var a16 = _this__u8e3s4.get_low_18j191_k$() >>> 16 | 0;
- var a00 = _this__u8e3s4.get_low_18j191_k$() & 65535;
- var b48 = other.get_high_wonai3_k$() >>> 16 | 0;
- var b32 = other.get_high_wonai3_k$() & 65535;
- var b16 = other.get_low_18j191_k$() >>> 16 | 0;
- var b00 = other.get_low_18j191_k$() & 65535;
- var c48 = 0;
- var c32 = 0;
- var c16 = 0;
- var c00 = 0;
- c00 = c00 + imul(a00, b00) | 0;
- c16 = c16 + (c00 >>> 16 | 0) | 0;
- c00 = c00 & 65535;
- c16 = c16 + imul(a16, b00) | 0;
- c32 = c32 + (c16 >>> 16 | 0) | 0;
- c16 = c16 & 65535;
- c16 = c16 + imul(a00, b16) | 0;
- c32 = c32 + (c16 >>> 16 | 0) | 0;
- c16 = c16 & 65535;
- c32 = c32 + imul(a32, b00) | 0;
- c48 = c48 + (c32 >>> 16 | 0) | 0;
- c32 = c32 & 65535;
- c32 = c32 + imul(a16, b16) | 0;
- c48 = c48 + (c32 >>> 16 | 0) | 0;
- c32 = c32 & 65535;
- c32 = c32 + imul(a00, b32) | 0;
- c48 = c48 + (c32 >>> 16 | 0) | 0;
- c32 = c32 & 65535;
- c48 = c48 + (((imul(a48, b00) + imul(a32, b16) | 0) + imul(a16, b32) | 0) + imul(a00, b48) | 0) | 0;
- c48 = c48 & 65535;
- return new Long(c16 << 16 | c00, c48 << 16 | c32);
- }
-
- function divide(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- if (isZero(other)) {
- throw Exception_init_$Create$_0('division by zero');
- } else if (isZero(_this__u8e3s4)) {
- return get_ZERO();
- }
- if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
- if (equalsLong(other, get_ONE()) ? true : equalsLong(other, get_NEG_ONE())) {
- return get_MIN_VALUE();
- } else if (equalsLong(other, get_MIN_VALUE())) {
- return get_ONE();
- } else {
- var halfThis = shiftRight(_this__u8e3s4, 1);
- var approx = shiftLeft(halfThis.div_jun7gj_k$(other), 1);
- if (equalsLong(approx, get_ZERO())) {
- return isNegative(other) ? get_ONE() : get_NEG_ONE();
- } else {
- var rem = subtract(_this__u8e3s4, multiply(other, approx));
- return add(approx, rem.div_jun7gj_k$(other));
- }
- }
- } else if (equalsLong(other, get_MIN_VALUE())) {
- return get_ZERO();
- }
- if (isNegative(_this__u8e3s4)) {
- var tmp;
- if (isNegative(other)) {
- tmp = negate(_this__u8e3s4).div_jun7gj_k$(negate(other));
- } else {
- tmp = negate(negate(_this__u8e3s4).div_jun7gj_k$(other));
- }
- return tmp;
- } else if (isNegative(other)) {
- return negate(_this__u8e3s4.div_jun7gj_k$(negate(other)));
- }
- var res = get_ZERO();
- var rem_0 = _this__u8e3s4;
- while (greaterThanOrEqual(rem_0, other)) {
- var approxDouble = toNumber(rem_0) / toNumber(other);
- var approx2 = Math.max(1.0, Math.floor(approxDouble));
- var log2 = Math.ceil(Math.log(approx2) / Math.LN2);
- var delta = log2 <= 48.0 ? 1.0 : Math.pow(2.0, log2 - 48);
- var approxRes = fromNumber(approx2);
- var approxRem = multiply(approxRes, other);
- while (isNegative(approxRem) ? true : greaterThan(approxRem, rem_0)) {
- approx2 = approx2 - delta;
- approxRes = fromNumber(approx2);
- approxRem = multiply(approxRes, other);
- }
- if (isZero(approxRes)) {
- approxRes = get_ONE();
- }
- res = add(res, approxRes);
- rem_0 = subtract(rem_0, approxRem);
- }
- return res;
- }
-
- function modulo(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- return subtract(_this__u8e3s4, multiply(_this__u8e3s4.div_jun7gj_k$(other), other));
- }
-
- function shiftLeft(_this__u8e3s4, numBits) {
- _init_properties_longjs_kt__tqrzid();
- var numBits_0 = numBits & 63;
- if (numBits_0 === 0) {
- return _this__u8e3s4;
- } else {
- if (numBits_0 < 32) {
- return new Long(_this__u8e3s4.get_low_18j191_k$() << numBits_0, _this__u8e3s4.get_high_wonai3_k$() << numBits_0 | (_this__u8e3s4.get_low_18j191_k$() >>> (32 - numBits_0 | 0) | 0));
- } else {
- return new Long(0, _this__u8e3s4.get_low_18j191_k$() << (numBits_0 - 32 | 0));
- }
- }
- }
-
- function shiftRight(_this__u8e3s4, numBits) {
- _init_properties_longjs_kt__tqrzid();
- var numBits_0 = numBits & 63;
- if (numBits_0 === 0) {
- return _this__u8e3s4;
- } else {
- if (numBits_0 < 32) {
- return new Long(_this__u8e3s4.get_low_18j191_k$() >>> numBits_0 | 0 | _this__u8e3s4.get_high_wonai3_k$() << (32 - numBits_0 | 0), _this__u8e3s4.get_high_wonai3_k$() >> numBits_0);
- } else {
- return new Long(_this__u8e3s4.get_high_wonai3_k$() >> (numBits_0 - 32 | 0), _this__u8e3s4.get_high_wonai3_k$() >= 0 ? 0 : -1);
- }
- }
- }
-
- function shiftRightUnsigned(_this__u8e3s4, numBits) {
- _init_properties_longjs_kt__tqrzid();
- var numBits_0 = numBits & 63;
- if (numBits_0 === 0) {
- return _this__u8e3s4;
- } else {
- if (numBits_0 < 32) {
- return new Long(_this__u8e3s4.get_low_18j191_k$() >>> numBits_0 | 0 | _this__u8e3s4.get_high_wonai3_k$() << (32 - numBits_0 | 0), _this__u8e3s4.get_high_wonai3_k$() >>> numBits_0 | 0);
- } else {
- var tmp;
- if (numBits_0 === 32) {
- tmp = new Long(_this__u8e3s4.get_high_wonai3_k$(), 0);
- } else {
- tmp = new Long(_this__u8e3s4.get_high_wonai3_k$() >>> (numBits_0 - 32 | 0) | 0, 0);
- }
- return tmp;
- }
- }
- }
-
- function toNumber(_this__u8e3s4) {
- _init_properties_longjs_kt__tqrzid();
- return _this__u8e3s4.get_high_wonai3_k$() * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
- }
-
- function equalsLong(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- return _this__u8e3s4.get_high_wonai3_k$() === other.get_high_wonai3_k$() ? _this__u8e3s4.get_low_18j191_k$() === other.get_low_18j191_k$() : false;
- }
-
- function hashCode_0(l) {
- _init_properties_longjs_kt__tqrzid();
- return l.get_low_18j191_k$() ^ l.get_high_wonai3_k$();
- }
-
- function toStringImpl(_this__u8e3s4, radix) {
- _init_properties_longjs_kt__tqrzid();
- if (radix < 2 ? true : 36 < radix) {
- throw Exception_init_$Create$_0('radix out of range: ' + radix);
- }
- if (isZero(_this__u8e3s4)) {
- return '0';
- }
- if (isNegative(_this__u8e3s4)) {
- if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
- var radixLong = fromInt(radix);
- var div = _this__u8e3s4.div_jun7gj_k$(radixLong);
- var rem = subtract(multiply(div, radixLong), _this__u8e3s4).toInt_1tsl84_k$();
- var tmp = toStringImpl(div, radix);
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- return tmp + rem.toString(radix);
- } else {
- return '-' + toStringImpl(negate(_this__u8e3s4), radix);
- }
- }
- var digitsPerTime = radix === 2 ? 31 : radix <= 10 ? 9 : radix <= 21 ? 7 : radix <= 35 ? 6 : 5;
- var radixToPower = fromNumber(Math.pow(radix, digitsPerTime));
- var rem_0 = _this__u8e3s4;
- var result = '';
- while (true) {
- var remDiv = rem_0.div_jun7gj_k$(radixToPower);
- var intval = subtract(rem_0, multiply(remDiv, radixToPower)).toInt_1tsl84_k$();
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var digits = intval.toString(radix);
- rem_0 = remDiv;
- if (isZero(rem_0)) {
- return digits + result;
- } else {
- while (digits.length < digitsPerTime) {
- digits = '0' + digits;
- }
- result = digits + result;
- }
- }
- }
-
- function fromInt(value) {
- _init_properties_longjs_kt__tqrzid();
- return new Long(value, value < 0 ? -1 : 0);
- }
-
- function isNegative(_this__u8e3s4) {
- _init_properties_longjs_kt__tqrzid();
- return _this__u8e3s4.get_high_wonai3_k$() < 0;
- }
-
- function isZero(_this__u8e3s4) {
- _init_properties_longjs_kt__tqrzid();
- return _this__u8e3s4.get_high_wonai3_k$() === 0 ? _this__u8e3s4.get_low_18j191_k$() === 0 : false;
- }
-
- function isOdd(_this__u8e3s4) {
- _init_properties_longjs_kt__tqrzid();
- return (_this__u8e3s4.get_low_18j191_k$() & 1) === 1;
- }
-
- function negate(_this__u8e3s4) {
- _init_properties_longjs_kt__tqrzid();
- return _this__u8e3s4.unaryMinus_6uz0qp_k$();
- }
-
- function lessThan(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- return compare(_this__u8e3s4, other) < 0;
- }
-
- function fromNumber(value) {
- _init_properties_longjs_kt__tqrzid();
- if (isNaN_0(value)) {
- return get_ZERO();
- } else if (value <= -9.223372036854776E18) {
- return get_MIN_VALUE();
- } else if (value + 1 >= 9.223372036854776E18) {
- return get_MAX_VALUE();
- } else if (value < 0.0) {
- return negate(fromNumber(-value));
- } else {
- var twoPwr32 = 4.294967296E9;
- // Inline function 'kotlin.js.jsBitwiseOr' call
- var tmp = value % twoPwr32 | 0;
- // Inline function 'kotlin.js.jsBitwiseOr' call
- var tmp$ret$1 = value / twoPwr32 | 0;
- return new Long(tmp, tmp$ret$1);
- }
- }
-
- function greaterThan(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- return compare(_this__u8e3s4, other) > 0;
- }
-
- function greaterThanOrEqual(_this__u8e3s4, other) {
- _init_properties_longjs_kt__tqrzid();
- return compare(_this__u8e3s4, other) >= 0;
- }
-
- function getLowBitsUnsigned(_this__u8e3s4) {
- _init_properties_longjs_kt__tqrzid();
- return _this__u8e3s4.get_low_18j191_k$() >= 0 ? _this__u8e3s4.get_low_18j191_k$() : 4.294967296E9 + _this__u8e3s4.get_low_18j191_k$();
- }
-
- function get_TWO_PWR_32_DBL_() {
- return TWO_PWR_32_DBL_;
- }
-
- var TWO_PWR_32_DBL_;
-
- function get_TWO_PWR_63_DBL_() {
- return TWO_PWR_63_DBL_;
- }
-
- var TWO_PWR_63_DBL_;
- var properties_initialized_longjs_kt_5aju7t;
-
- function _init_properties_longjs_kt__tqrzid() {
- if (!properties_initialized_longjs_kt_5aju7t) {
- properties_initialized_longjs_kt_5aju7t = true;
- ZERO = fromInt(0);
- ONE = fromInt(1);
- NEG_ONE = fromInt(-1);
- MAX_VALUE = new Long(-1, 2147483647);
- MIN_VALUE = new Long(0, -2147483648);
- TWO_PWR_24_ = fromInt(16777216);
- }
- }
-
- function classMeta(name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity) {
- return createMetadata('class', name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity, null);
- }
-
- function createMetadata(kind, name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity, iid) {
- var undef = VOID;
- return {
- kind: kind,
- simpleName: name,
- associatedObjectKey: associatedObjectKey,
- associatedObjects: associatedObjects,
- suspendArity: suspendArity,
- $kClass$: undef,
- defaultConstructor: defaultConstructor,
- iid: iid
- };
- }
-
- function setMetadataFor(ctor, name, metadataConstructor, parent, interfaces, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity) {
- if (!(parent == null)) {
- ctor.prototype = Object.create(parent.prototype);
- ctor.prototype.constructor = ctor;
- }
- var metadata = metadataConstructor(name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity == null ? [] : suspendArity);
- ctor.$metadata$ = metadata;
- if (!(interfaces == null)) {
- var receiver = !(metadata.iid == null) ? ctor : ctor.prototype;
- receiver.$imask$ = implement(interfaces);
- }
- }
-
- function interfaceMeta(name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity) {
- return createMetadata('interface', name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity, generateInterfaceId());
- }
-
- function generateInterfaceId() {
- if (iid === VOID) {
- iid = 0;
- }
- // Inline function 'kotlin.js.unsafeCast' call
- iid = iid + 1 | 0;
- // Inline function 'kotlin.js.unsafeCast' call
- return iid;
- }
-
- function set_iid(_set____db54di) {
- iid = _set____db54di;
- }
-
- function get_iid() {
- return iid;
- }
-
- var iid;
-
- function objectMeta(name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity) {
- return createMetadata('object', name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity, null);
- }
-
- function withType(type, array) {
- array.$type$ = type;
- return array;
- }
-
- function arrayConcat(args) {
- var len = args.length;
- // Inline function 'kotlin.js.unsafeCast' call
- var typed = Array(len);
- var inductionVariable = 0;
- var last = len - 1 | 0;
- if (inductionVariable <= last)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var arr = args[i];
- if (!(!(arr == null) ? isArray(arr) : false)) {
- typed[i] = [].slice.call(arr);
- } else {
- typed[i] = arr;
- }
- }
- while (!(i === last));
- return [].concat.apply([], typed);
- }
-
- function primitiveArrayConcat(args) {
- var size_local = 0;
- var inductionVariable = 0;
- var last = args.length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var tmp = size_local;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- size_local = tmp + args[i].length | 0;
- }
- while (!(i === last));
- var a = args[0];
- // Inline function 'kotlin.js.unsafeCast' call
- var result = new a.constructor(size_local);
- // Inline function 'kotlin.js.asDynamic' call
- if (a.$type$ != null) {
- // Inline function 'withType' call
- // Inline function 'kotlin.js.asDynamic' call
- result.$type$ = a.$type$;
- }
- size_local = 0;
- var inductionVariable_0 = 0;
- var last_0 = args.length - 1 | 0;
- if (inductionVariable_0 <= last_0)
- do {
- var i_0 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var arr = args[i_0];
- var inductionVariable_1 = 0;
- var last_1 = arr.length - 1 | 0;
- if (inductionVariable_1 <= last_1)
- do {
- var j = inductionVariable_1;
- inductionVariable_1 = inductionVariable_1 + 1 | 0;
- var tmp3 = size_local;
- size_local = tmp3 + 1 | 0;
- result[tmp3] = arr[j];
- }
- while (!(j === last_1));
- }
- while (!(i_0 === last_0));
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- return result;
- }
-
- function taggedArrayCopy(array) {
- var res = array.slice();
- res.$type$ = array.$type$;
- // Inline function 'kotlin.js.unsafeCast' call
- return res;
- }
-
- function numberToByte(a) {
- return toByte(numberToInt(a));
- }
-
- function toByte(a) {
- // Inline function 'kotlin.js.unsafeCast' call
- return a << 24 >> 24;
- }
-
- function numberToInt(a) {
- var tmp;
- if (a instanceof Long) {
- tmp = a.toInt_1tsl84_k$();
- } else {
- tmp = doubleToInt(a);
- }
- return tmp;
- }
-
- function doubleToInt(a) {
- var tmp;
- if (a > 2.147483647E9) {
- tmp = 2147483647;
- } else if (a < -2.147483648E9) {
- tmp = -2147483648;
- } else {
- // Inline function 'kotlin.js.jsBitwiseOr' call
- tmp = a | 0;
- }
- return tmp;
- }
-
- function numberToDouble(a) {
- // Inline function 'kotlin.js.unsafeCast' call
- return +a;
- }
-
- function numberToShort(a) {
- return toShort(numberToInt(a));
- }
-
- function toShort(a) {
- // Inline function 'kotlin.js.unsafeCast' call
- return a << 16 >> 16;
- }
-
- function numberToLong(a) {
- var tmp;
- if (a instanceof Long) {
- tmp = a;
- } else {
- tmp = fromNumber(a);
- }
- return tmp;
- }
-
- function numberToChar(a) {
- // Inline function 'kotlin.toUShort' call
- var this_0 = numberToInt(a);
- var tmp$ret$0 = _UShort___init__impl__jigrne(toShort(this_0));
- return _Char___init__impl__6a9atx_0(tmp$ret$0);
- }
-
- function toLong(a) {
- return fromInt(a);
- }
-
- function numberRangeToNumber(start, endInclusive) {
- return new IntRange(start, endInclusive);
- }
-
- function numberRangeToLong(start, endInclusive) {
- return new LongRange(numberToLong(start), endInclusive);
- }
-
- function get_propertyRefClassMetadataCache() {
- _init_properties_reflectRuntime_kt__5r4uu3();
- return propertyRefClassMetadataCache;
- }
-
- var propertyRefClassMetadataCache;
-
- function metadataObject() {
- _init_properties_reflectRuntime_kt__5r4uu3();
- return classMeta(VOID, VOID, VOID, VOID, VOID);
- }
-
- function getPropertyCallableRef(name, paramCount, superType, getter, setter) {
- _init_properties_reflectRuntime_kt__5r4uu3();
- getter.get = getter;
- getter.set = setter;
- getter.callableName = name;
- // Inline function 'kotlin.js.unsafeCast' call
- return getPropertyRefClass(getter, getKPropMetadata(paramCount, setter), getInterfaceMaskFor(getter, superType));
- }
-
- function getPropertyRefClass(obj, metadata, imask) {
- _init_properties_reflectRuntime_kt__5r4uu3();
- obj.$metadata$ = metadata;
- obj.constructor = obj;
- obj.$imask$ = imask;
- return obj;
- }
-
- function getKPropMetadata(paramCount, setter) {
- _init_properties_reflectRuntime_kt__5r4uu3();
- return get_propertyRefClassMetadataCache()[paramCount][setter == null ? 0 : 1];
- }
-
- function getInterfaceMaskFor(obj, superType) {
- _init_properties_reflectRuntime_kt__5r4uu3();
- var tmp0_elvis_lhs = obj.$imask$;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- // Inline function 'kotlin.arrayOf' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp$ret$2 = [superType];
- tmp = implement(tmp$ret$2);
- } else {
- tmp = tmp0_elvis_lhs;
- }
- return tmp;
- }
-
- function getLocalDelegateReference(name, superType, mutable, lambda) {
- _init_properties_reflectRuntime_kt__5r4uu3();
- return getPropertyCallableRef(name, 0, superType, lambda, mutable ? lambda : null);
- }
-
- var properties_initialized_reflectRuntime_kt_inkhwd;
-
- function _init_properties_reflectRuntime_kt__5r4uu3() {
- if (!properties_initialized_reflectRuntime_kt_inkhwd) {
- properties_initialized_reflectRuntime_kt_inkhwd = true;
- // Inline function 'kotlin.arrayOf' call
- // Inline function 'kotlin.arrayOf' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp = [metadataObject(), metadataObject()];
- // Inline function 'kotlin.arrayOf' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = [metadataObject(), metadataObject()];
- // Inline function 'kotlin.arrayOf' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- propertyRefClassMetadataCache = [tmp, tmp_0, [metadataObject(), metadataObject()]];
- }
- }
-
- function jsIn(lhs, rhs) {
- return lhs in rhs;
- }
-
- function jsBitwiseOr(lhs, rhs) {
- return lhs | rhs;
- }
-
- function jsInstanceOf(obj, jsClass) {
- return obj instanceof jsClass;
- }
-
- function isArrayish(o) {
- return isJsArray(o) ? true : isView(o);
- }
-
- function isJsArray(obj) {
- // Inline function 'kotlin.js.unsafeCast' call
- return Array.isArray(obj);
- }
-
- function isExternalObject(value, ktExternalObject) {
- var tmp;
- if (value === ktExternalObject) {
- tmp = true;
- } else {
- var tmp_0;
- if (typeof ktExternalObject === 'function') {
- // Inline function 'kotlin.js.jsInstanceOf' call
- tmp_0 = value instanceof ktExternalObject;
- } else {
- tmp_0 = false;
- }
- tmp = tmp_0;
- }
- return tmp;
- }
-
- function isInterface(obj, iface) {
- return isInterfaceImpl(obj, iface.$metadata$.iid);
- }
-
- function isInterfaceImpl(obj, iface) {
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp0_elvis_lhs = obj.$imask$;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- return false;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var mask = tmp;
- return isBitSet(mask, iface);
- }
-
- function isArray(obj) {
- var tmp;
- if (isJsArray(obj)) {
- // Inline function 'kotlin.js.asDynamic' call
- tmp = !obj.$type$;
- } else {
- tmp = false;
- }
- return tmp;
- }
-
- function isSuspendFunction(obj, arity) {
- var objTypeOf = typeof obj;
- if (objTypeOf === 'function') {
- // Inline function 'kotlin.js.unsafeCast' call
- return obj.$arity === arity;
- }
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp1_safe_receiver = obj == null ? null : obj.constructor;
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.$metadata$;
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.suspendArity;
- var tmp;
- if (tmp3_elvis_lhs == null) {
- return false;
- } else {
- tmp = tmp3_elvis_lhs;
- }
- var suspendArity = tmp;
- var result = false;
- var inductionVariable = 0;
- var last = suspendArity.length;
- $l$loop: while (inductionVariable < last) {
- var item = suspendArity[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- if (arity === item) {
- result = true;
- break $l$loop;
- }
- }
- return result;
- }
-
- function isNumber(a) {
- var tmp;
- if (typeof a === 'number') {
- tmp = true;
- } else {
- tmp = a instanceof Long;
- }
- return tmp;
- }
-
- function isComparable(value) {
- var type = typeof value;
- return ((type === 'string' ? true : type === 'boolean') ? true : isNumber(value)) ? true : isInterface(value, Comparable);
- }
-
- function isCharSequence(value) {
- return typeof value === 'string' ? true : isInterface(value, CharSequence);
- }
-
- function isBooleanArray(a) {
- return isJsArray(a) ? a.$type$ === 'BooleanArray' : false;
- }
-
- function isByteArray(a) {
- // Inline function 'kotlin.js.jsInstanceOf' call
- return a instanceof Int8Array;
- }
-
- function isShortArray(a) {
- // Inline function 'kotlin.js.jsInstanceOf' call
- return a instanceof Int16Array;
- }
-
- function isCharArray(a) {
- var tmp;
- // Inline function 'kotlin.js.jsInstanceOf' call
- if (a instanceof Uint16Array) {
- tmp = a.$type$ === 'CharArray';
- } else {
- tmp = false;
- }
- return tmp;
- }
-
- function isIntArray(a) {
- // Inline function 'kotlin.js.jsInstanceOf' call
- return a instanceof Int32Array;
- }
-
- function isFloatArray(a) {
- // Inline function 'kotlin.js.jsInstanceOf' call
- return a instanceof Float32Array;
- }
-
- function isLongArray(a) {
- return isJsArray(a) ? a.$type$ === 'LongArray' : false;
- }
-
- function isDoubleArray(a) {
- // Inline function 'kotlin.js.jsInstanceOf' call
- return a instanceof Float64Array;
- }
-
- function jsIsType(obj, jsClass) {
- if (jsClass === Object) {
- return obj != null;
- }
- var objType = typeof obj;
- var jsClassType = typeof jsClass;
- if ((obj == null ? true : jsClass == null) ? true : !(objType === 'object') ? !(objType === 'function') : false) {
- return false;
- }
- var constructor = jsClassType === 'object' ? jsGetPrototypeOf(jsClass) : jsClass;
- var klassMetadata = constructor.$metadata$;
- if ((klassMetadata == null ? null : klassMetadata.kind) === 'interface') {
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp1_elvis_lhs = klassMetadata.iid;
- var tmp;
- if (tmp1_elvis_lhs == null) {
- return false;
- } else {
- tmp = tmp1_elvis_lhs;
- }
- var iid = tmp;
- return isInterfaceImpl(obj, iid);
- }
- // Inline function 'kotlin.js.jsInstanceOf' call
- return obj instanceof constructor;
- }
-
- function jsGetPrototypeOf(jsClass) {
- return Object.getPrototypeOf(jsClass);
- }
-
- function calculateErrorInfo(proto) {
- var tmp0_safe_receiver = proto.constructor;
- var metadata = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.$metadata$;
- var tmp2_safe_receiver = metadata == null ? null : metadata.errorInfo;
- if (tmp2_safe_receiver == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- return tmp2_safe_receiver;
- }
- var result = 0;
- if (hasProp(proto, 'message'))
- result = result | 1;
- if (hasProp(proto, 'cause'))
- result = result | 2;
- if (!(result === 3)) {
- var parentProto = getPrototypeOf(proto);
- if (parentProto != Error.prototype) {
- result = result | calculateErrorInfo(parentProto);
- }
- }
- if (!(metadata == null)) {
- metadata.errorInfo = result;
- }
- return result;
- }
-
- function hasProp(proto, propName) {
- return proto.hasOwnProperty(propName);
- }
-
- function getPrototypeOf(obj) {
- return Object.getPrototypeOf(obj);
- }
-
- function throwLinkageError(message) {
- throw new IrLinkageError(message);
- }
-
- function IrLinkageError(message) {
- Error_init_$Init$_0(message, this);
- captureStack(this, IrLinkageError);
- }
-
- function get_VOID() {
- _init_properties_void_kt__3zg9as();
- return VOID;
- }
-
- var VOID;
- var properties_initialized_void_kt_e4ret2;
-
- function _init_properties_void_kt__3zg9as() {
- if (!properties_initialized_void_kt_e4ret2) {
- properties_initialized_void_kt_e4ret2 = true;
- VOID = void 0;
- }
- }
-
- function SuspendFunction1() {
- }
-
- function SuspendFunction0() {
- }
-
- function SuspendFunction2() {
- }
-
- function Function1() {
- }
-
- function Function0() {
- }
-
- function Function2() {
- }
-
- function Function5() {
- }
-
- function KFunction2() {
- }
-
- function KFunction1() {
- }
-
- function fill(_this__u8e3s4, element, fromIndex, toIndex) {
- fromIndex = fromIndex === VOID ? 0 : fromIndex;
- toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
- Companion_getInstance_5().checkRangeIndexes_a38xj7_k$(fromIndex, toIndex, _this__u8e3s4.length);
- // Inline function 'kotlin.js.nativeFill' call
- // Inline function 'kotlin.js.asDynamic' call
- _this__u8e3s4.fill(element, fromIndex, toIndex);
- }
-
- function copyOf(_this__u8e3s4, newSize) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(newSize >= 0)) {
- // Inline function 'kotlin.collections.copyOf.' call
- var message = 'Invalid new array size: ' + newSize + '.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- return fillFrom(_this__u8e3s4, new Int8Array(newSize));
- }
-
- function copyInto(_this__u8e3s4, destination, destinationOffset, startIndex, endIndex) {
- destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp = _this__u8e3s4;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- arrayCopy(tmp, destination, destinationOffset, startIndex, endIndex);
- return destination;
- }
-
- function copyOf_0(_this__u8e3s4) {
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.slice();
- }
-
- function copyInto_0(_this__u8e3s4, destination, destinationOffset, startIndex, endIndex) {
- destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
- arrayCopy(_this__u8e3s4, destination, destinationOffset, startIndex, endIndex);
- return destination;
- }
-
- function asList(_this__u8e3s4) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- return new ArrayList(_this__u8e3s4);
- }
-
- function sortWith(_this__u8e3s4, comparator) {
- if (_this__u8e3s4.length > 1) {
- sortArrayWith(_this__u8e3s4, comparator);
- }
- }
-
- function copyOf_1(_this__u8e3s4) {
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.slice();
- }
-
- function copyOf_2(_this__u8e3s4, newSize) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(newSize >= 0)) {
- // Inline function 'kotlin.collections.copyOf.' call
- var message = 'Invalid new array size: ' + newSize + '.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- return fillFrom(_this__u8e3s4, new Int32Array(newSize));
- }
-
- function copyOf_3(_this__u8e3s4, newSize) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(newSize >= 0)) {
- // Inline function 'kotlin.collections.copyOf.' call
- var message = 'Invalid new array size: ' + newSize + '.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- return arrayCopyResize(_this__u8e3s4, newSize, null);
- }
-
- function contentEquals_3(_this__u8e3s4, other) {
- return contentEqualsInternal(_this__u8e3s4, other);
- }
-
- function contentEquals_4(_this__u8e3s4, other) {
- return contentEqualsInternal(_this__u8e3s4, other);
- }
-
- function contentEquals_5(_this__u8e3s4, other) {
- return contentEqualsInternal(_this__u8e3s4, other);
- }
-
- function contentEquals_6(_this__u8e3s4, other) {
- return contentEqualsInternal(_this__u8e3s4, other);
- }
-
- function contentEquals_7(_this__u8e3s4, other) {
- return contentEqualsInternal(_this__u8e3s4, other);
- }
-
- function contentEquals_8(_this__u8e3s4, other) {
- return contentEqualsInternal(_this__u8e3s4, other);
- }
-
- function contentEquals_9(_this__u8e3s4, other) {
- return contentEqualsInternal(_this__u8e3s4, other);
- }
-
- function contentEquals_10(_this__u8e3s4, other) {
- return contentEqualsInternal(_this__u8e3s4, other);
- }
-
- function contentEquals_11(_this__u8e3s4, other) {
- return contentEqualsInternal(_this__u8e3s4, other);
- }
-
- function decodeVarLenBase64(base64, fromBase64, resultLength) {
- var result = new Int32Array(resultLength);
- var index = 0;
- var int = 0;
- var shift = 0;
- var inductionVariable = 0;
- var last = base64.length;
- while (inductionVariable < last) {
- var char = charSequenceGet(base64, inductionVariable);
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.code' call
- var sixBit = fromBase64[Char__toInt_impl_vasixd(char)];
- int = int | (sixBit & 31) << shift;
- if (sixBit < 32) {
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- result[tmp1] = int;
- int = 0;
- shift = 0;
- } else {
- shift = shift + 5 | 0;
- }
- }
- return result;
- }
-
- function minOf(a, b) {
- return Math.min(a, b);
- }
-
- function minOf_0(a, b) {
- return a.compareTo_9jj042_k$(b) <= 0 ? a : b;
- }
-
- function binarySearchRange(array, needle) {
- var bottom = 0;
- var top = array.length - 1 | 0;
- var middle = -1;
- var value = 0;
- while (bottom <= top) {
- middle = (bottom + top | 0) / 2 | 0;
- value = array[middle];
- if (needle > value)
- bottom = middle + 1 | 0;
- else if (needle === value)
- return middle;
- else
- top = middle - 1 | 0;
- }
- return middle - (needle < value ? 1 : 0) | 0;
- }
-
- function digitToIntImpl(_this__u8e3s4) {
- // Inline function 'kotlin.code' call
- var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
- var index = binarySearchRange(Digit_getInstance().rangeStart_1, ch);
- var diff = ch - Digit_getInstance().rangeStart_1[index] | 0;
- return diff < 10 ? diff : -1;
- }
-
- function Digit() {
- Digit_instance = this;
- var tmp = this;
- // Inline function 'kotlin.intArrayOf' call
- tmp.rangeStart_1 = 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]);
- }
-
- protoOf(Digit).get_rangeStart_knlt4e_k$ = function () {
- return this.rangeStart_1;
- };
- var Digit_instance;
-
- function Digit_getInstance() {
- if (Digit_instance == null)
- new Digit();
- return Digit_instance;
- }
-
- function isLowerCaseImpl(_this__u8e3s4) {
- var tmp;
- if (getLetterType(_this__u8e3s4) === 1) {
- tmp = true;
- } else {
- // Inline function 'kotlin.code' call
- var tmp$ret$0 = Char__toInt_impl_vasixd(_this__u8e3s4);
- tmp = isOtherLowercase(tmp$ret$0);
- }
- return tmp;
- }
-
- function getLetterType(_this__u8e3s4) {
- // Inline function 'kotlin.code' call
- var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
- var index = binarySearchRange(Letter_getInstance().decodedRangeStart_1, ch);
- var rangeStart = Letter_getInstance().decodedRangeStart_1[index];
- var rangeEnd = (rangeStart + Letter_getInstance().decodedRangeLength_1[index] | 0) - 1 | 0;
- var code = Letter_getInstance().decodedRangeCategory_1[index];
- if (ch > rangeEnd) {
- return 0;
- }
- var lastTwoBits = code & 3;
- if (lastTwoBits === 0) {
- var shift = 2;
- var threshold = rangeStart;
- var inductionVariable = 0;
- if (inductionVariable <= 1)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- threshold = threshold + (code >> shift & 127) | 0;
- if (threshold > ch) {
- return 3;
- }
- shift = shift + 7 | 0;
- threshold = threshold + (code >> shift & 127) | 0;
- if (threshold > ch) {
- return 0;
- }
- shift = shift + 7 | 0;
- }
- while (inductionVariable <= 1);
- return 3;
- }
- if (code <= 7) {
- return lastTwoBits;
- }
- var distance = ch - rangeStart | 0;
- var shift_0 = code <= 31 ? distance % 2 | 0 : distance;
- return code >> imul(2, shift_0) & 3;
- }
-
- function Letter() {
- Letter_instance = this;
- var toBase64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
- var fromBase64 = new Int32Array(128);
- var inductionVariable = 0;
- var last = charSequenceLength(toBase64) - 1 | 0;
- if (inductionVariable <= last)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.code' call
- var this_0 = charSequenceGet(toBase64, i);
- fromBase64[Char__toInt_impl_vasixd(this_0)] = i;
- }
- while (inductionVariable <= last);
- var rangeStartDiff = 'hCgBpCQGYHZH5BRpBPPPPPPRMP5BPPlCPP6BkEPPPPcPXPzBvBrB3BOiDoBHwD+E3DauCnFmBmB2D6E1BlBTiBmBlBP5BhBiBrBvBjBqBnBPRtBiCmCtBlB0BmB5BiB7BmBgEmChBZgCoEoGVpBSfRhBPqKQ2BwBYoFgB4CJuTiEvBuCuDrF5DgEgFlJ1DgFmBQtBsBRGsB+BPiBlD1EIjDPRPPPQPPPPPGQSQS/DxENVNU+B9zCwBwBPPCkDPNnBPqDYY1R8B7FkFgTgwGgwUwmBgKwBuBScmEP/BPPPPPPrBP8B7F1B/ErBqC6B7BiBmBfQsBUwCw/KwqIwLwETPcPjQgJxFgBlBsD';
- var diff = decodeVarLenBase64(rangeStartDiff, fromBase64, 222);
- var start = new Int32Array(diff.length);
- var inductionVariable_0 = 0;
- var last_0 = diff.length - 1 | 0;
- if (inductionVariable_0 <= last_0)
- do {
- var i_0 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- if (i_0 === 0) {
- start[i_0] = diff[i_0];
- } else {
- start[i_0] = start[i_0 - 1 | 0] + diff[i_0] | 0;
- }
- }
- while (inductionVariable_0 <= last_0);
- this.decodedRangeStart_1 = start;
- var rangeLength = 'aaMBXHYH5BRpBPPPPPPRMP5BPPlCPPzBDOOPPcPXPzBvBjB3BOhDmBBpB7DoDYxB+EiBP1DoExBkBQhBekBPmBgBhBctBiBMWOOXhCsBpBkBUV3Ba4BkB0DlCgBXgBtD4FSdBfPhBPpKP0BvBXjEQ2CGsT8DhBtCqDpFvD1D3E0IrD2EkBJrBDOBsB+BPiBlB1EIjDPPPPPPPPPPPGPPMNLsBNPNPKCvBvBPPCkDPBmBPhDXXgD4B6FzEgDguG9vUtkB9JcuBSckEP/BPPPPPPBPf4FrBjEhBpC3B5BKaWPrBOwCk/KsCuLqDHPbPxPsFtEaaqDL';
- this.decodedRangeLength_1 = decodeVarLenBase64(rangeLength, fromBase64, 222);
- var rangeCategory = 'GFjgggUHGGFFZZZmzpz5qB6s6020B60ptltB6smt2sB60mz22B1+vv+8BZZ5s2850BW5q1ymtB506smzBF3q1q1qB1q1q1+Bgii4wDTm74g3KiggxqM60q1q1Bq1o1q1BF1qlrqrBZ2q5wprBGFZWWZGHFsjiooLowgmOowjkwCkgoiIk7ligGogiioBkwkiYkzj2oNoi+sbkwj04DghhkQ8wgiYkgoioDsgnkwC4gikQ//v+85BkwvoIsgoyI4yguI0whiwEowri4CoghsJowgqYowgm4DkwgsY/nwnzPowhmYkg6wI8yggZswikwHgxgmIoxgqYkwgk4DkxgmIkgoioBsgssoBgzgyI8g9gL8g9kI0wgwJoxgkoC0wgioFkw/wI0w53iF4gioYowjmgBHGq1qkgwBF1q1q8qBHwghuIwghyKk0goQkwgoQk3goQHGFHkyg0pBgxj6IoinkxDswno7Ikwhz9Bo0gioB8z48Rwli0xN0mpjoX8w78pDwltoqKHFGGwwgsIHFH3q1q16BFHWFZ1q10q1B2qlwq1B1q10q1B2q1yq1B6q1gq1Biq1qhxBir1qp1Bqt1q1qB1g1q1+B//3q16B///q1qBH/qlqq9Bholqq9B1i00a1q10qD1op1HkwmigEigiy6Cptogq1Bixo1kDq7/j00B2qgoBWGFm1lz50B6s5q1+BGWhggzhwBFFhgk4//Bo2jigE8wguI8wguI8wgugUog1qoB4qjmIwwi2KgkYHHH4lBgiFWkgIWoghssMmz5smrBZ3q1y50B5sm7gzBtz1smzB5smz50BqzqtmzB5sgzqzBF2/9//5BowgoIwmnkzPkwgk4C8ys65BkgoqI0wgy6FghquZo2giY0ghiIsgh24B4ghsQ8QF/v1q1OFs0O8iCHHF1qggz/B8wg6Iznv+//B08QgohsjK0QGFk7hsQ4gB';
- this.decodedRangeCategory_1 = decodeVarLenBase64(rangeCategory, fromBase64, 222);
- }
-
- protoOf(Letter).get_decodedRangeStart_d3raky_k$ = function () {
- return this.decodedRangeStart_1;
- };
- protoOf(Letter).get_decodedRangeLength_nhieq2_k$ = function () {
- return this.decodedRangeLength_1;
- };
- protoOf(Letter).get_decodedRangeCategory_dtepki_k$ = function () {
- return this.decodedRangeCategory_1;
- };
- var Letter_instance;
-
- function Letter_getInstance() {
- if (Letter_instance == null)
- new Letter();
- return Letter_instance;
- }
-
- function isOtherLowercase(_this__u8e3s4) {
- var index = binarySearchRange(OtherLowercase_getInstance().otherLowerStart_1, _this__u8e3s4);
- return index >= 0 ? _this__u8e3s4 < (OtherLowercase_getInstance().otherLowerStart_1[index] + OtherLowercase_getInstance().otherLowerLength_1[index] | 0) : false;
- }
-
- function OtherLowercase() {
- OtherLowercase_instance = this;
- var tmp = this;
- // Inline function 'kotlin.intArrayOf' call
- tmp.otherLowerStart_1 = new Int32Array([170, 186, 688, 704, 736, 837, 890, 7468, 7544, 7579, 8305, 8319, 8336, 8560, 9424, 11388, 42652, 42864, 43000, 43868]);
- var tmp_0 = this;
- // Inline function 'kotlin.intArrayOf' call
- tmp_0.otherLowerLength_1 = new Int32Array([1, 1, 9, 2, 5, 1, 1, 63, 1, 37, 1, 1, 13, 16, 26, 2, 2, 1, 2, 4]);
- }
-
- protoOf(OtherLowercase).get_otherLowerStart_aqlxaw_k$ = function () {
- return this.otherLowerStart_1;
- };
- protoOf(OtherLowercase).get_otherLowerLength_ipcelc_k$ = function () {
- return this.otherLowerLength_1;
- };
- var OtherLowercase_instance;
-
- function OtherLowercase_getInstance() {
- if (OtherLowercase_instance == null)
- new OtherLowercase();
- return OtherLowercase_instance;
- }
-
- function isWhitespaceImpl(_this__u8e3s4) {
- // Inline function 'kotlin.code' call
- var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
- 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;
- }
-
- function _get_resultContinuation__9wf8ix($this) {
- return $this.resultContinuation_1;
- }
-
- function _get__context__gmdhsr($this) {
- return $this._context_1;
- }
-
- function _set_intercepted___wojxxj($this, _set____db54di) {
- $this.intercepted__1 = _set____db54di;
- }
-
- function _get_intercepted___h4t7df($this) {
- return $this.intercepted__1;
- }
-
- function releaseIntercepted($this) {
- var intercepted = $this.intercepted__1;
- if (!(intercepted == null) ? !(intercepted === $this) : false) {
- ensureNotNull($this.get_context_h02k06_k$().get_y2st91_k$(Key_getInstance())).releaseInterceptedContinuation_rgafzi_k$(intercepted);
- }
- $this.intercepted__1 = CompletedContinuation_getInstance();
- }
-
- function CoroutineImpl(resultContinuation) {
- this.resultContinuation_1 = resultContinuation;
- this.state_1 = 0;
- this.exceptionState_1 = 0;
- this.result_1 = null;
- this.exception_1 = null;
- this.finallyPath_1 = null;
- var tmp = this;
- var tmp0_safe_receiver = this.resultContinuation_1;
- tmp._context_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.get_context_h02k06_k$();
- this.intercepted__1 = null;
- }
-
- protoOf(CoroutineImpl).set_state_rjd8d0_k$ = function (_set____db54di) {
- this.state_1 = _set____db54di;
- };
- protoOf(CoroutineImpl).get_state_iypx7s_k$ = function () {
- return this.state_1;
- };
- protoOf(CoroutineImpl).set_exceptionState_fex74n_k$ = function (_set____db54di) {
- this.exceptionState_1 = _set____db54di;
- };
- protoOf(CoroutineImpl).get_exceptionState_wflpxn_k$ = function () {
- return this.exceptionState_1;
- };
- protoOf(CoroutineImpl).set_result_xj64lm_k$ = function (_set____db54di) {
- this.result_1 = _set____db54di;
- };
- protoOf(CoroutineImpl).get_result_iyg5d2_k$ = function () {
- return this.result_1;
- };
- protoOf(CoroutineImpl).set_exception_px07aa_k$ = function (_set____db54di) {
- this.exception_1 = _set____db54di;
- };
- protoOf(CoroutineImpl).get_exception_x0n6w6_k$ = function () {
- return this.exception_1;
- };
- protoOf(CoroutineImpl).set_finallyPath_ohgcno_k$ = function (_set____db54di) {
- this.finallyPath_1 = _set____db54di;
- };
- protoOf(CoroutineImpl).get_finallyPath_aqs201_k$ = function () {
- return this.finallyPath_1;
- };
- protoOf(CoroutineImpl).get_context_h02k06_k$ = function () {
- return ensureNotNull(this._context_1);
- };
- protoOf(CoroutineImpl).intercepted_vh228x_k$ = function () {
- var tmp2_elvis_lhs = this.intercepted__1;
- var tmp;
- if (tmp2_elvis_lhs == null) {
- // Inline function 'kotlin.also' call
- var tmp0_safe_receiver = this.get_context_h02k06_k$().get_y2st91_k$(Key_getInstance());
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.interceptContinuation_3dnmlu_k$(this);
- var this_0 = tmp1_elvis_lhs == null ? this : tmp1_elvis_lhs;
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.coroutines.CoroutineImpl.intercepted.' call
- this.intercepted__1 = this_0;
- tmp = this_0;
- } else {
- tmp = tmp2_elvis_lhs;
- }
- return tmp;
- };
- protoOf(CoroutineImpl).resumeWith_b9cu3x_k$ = function (result) {
- var current = this;
- // Inline function 'kotlin.Result.getOrNull' call
- var tmp;
- if (_Result___get_isFailure__impl__jpiriv(result)) {
- tmp = null;
- } else {
- var tmp_0 = _Result___get_value__impl__bjfvqg(result);
- tmp = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
- }
- var currentResult = tmp;
- var currentException = Result__exceptionOrNull_impl_p6xea9(result);
- while (true) {
- // Inline function 'kotlin.with' call
- // Inline function 'kotlin.contracts.contract' call
- var $this$with = current;
- if (currentException == null) {
- $this$with.result_1 = currentResult;
- } else {
- $this$with.state_1 = $this$with.exceptionState_1;
- $this$with.exception_1 = currentException;
- }
- try {
- var outcome = $this$with.doResume_5yljmg_k$();
- if (outcome === get_COROUTINE_SUSPENDED())
- return Unit_getInstance();
- currentResult = outcome;
- currentException = null;
- } catch ($p) {
- var exception = $p;
- currentResult = null;
- // Inline function 'kotlin.js.unsafeCast' call
- currentException = exception;
- }
- releaseIntercepted($this$with);
- var completion = ensureNotNull($this$with.resultContinuation_1);
- var tmp_1;
- if (completion instanceof CoroutineImpl) {
- current = completion;
- tmp_1 = Unit_getInstance();
- } else {
- if (!(currentException == null)) {
- // Inline function 'kotlin.coroutines.resumeWithException' call
- var exception_0 = ensureNotNull(currentException);
- // Inline function 'kotlin.Companion.failure' call
- Companion_getInstance_16();
- var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception_0));
- completion.resumeWith_dtxwbr_k$(tmp$ret$2);
- } else {
- // Inline function 'kotlin.coroutines.resume' call
- var value = currentResult;
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance_16();
- var tmp$ret$4 = _Result___init__impl__xyqfz8(value);
- completion.resumeWith_dtxwbr_k$(tmp$ret$4);
- }
- return Unit_getInstance();
- }
- }
- };
- protoOf(CoroutineImpl).resumeWith_dtxwbr_k$ = function (result) {
- return this.resumeWith_b9cu3x_k$(result);
- };
- protoOf(CoroutineImpl).create_d196fn_k$ = function (completion) {
- throw UnsupportedOperationException_init_$Create$_0('create(Continuation) has not been overridden');
- };
- protoOf(CoroutineImpl).create_wyq9v6_k$ = function (value, completion) {
- throw UnsupportedOperationException_init_$Create$_0('create(Any?;Continuation) has not been overridden');
- };
-
- function CompletedContinuation() {
- CompletedContinuation_instance = this;
- }
-
- protoOf(CompletedContinuation).get_context_h02k06_k$ = function () {
- var message = 'This continuation is already complete';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- };
- protoOf(CompletedContinuation).resumeWith_b9cu3x_k$ = function (result) {
- // Inline function 'kotlin.error' call
- var message = 'This continuation is already complete';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- };
- protoOf(CompletedContinuation).resumeWith_dtxwbr_k$ = function (result) {
- return this.resumeWith_b9cu3x_k$(result);
- };
- protoOf(CompletedContinuation).toString = function () {
- return 'This continuation is already complete';
- };
- var CompletedContinuation_instance;
-
- function CompletedContinuation_getInstance() {
- if (CompletedContinuation_instance == null)
- new CompletedContinuation();
- return CompletedContinuation_instance;
- }
-
- function createCoroutineUnintercepted(_this__u8e3s4, receiver, completion) {
- // Inline function 'kotlin.coroutines.intrinsics.createCoroutineFromSuspendFunction' call
- return new _no_name_provided__qut3iv_0(completion, _this__u8e3s4, receiver, completion);
- }
-
- function createCoroutineFromSuspendFunction(completion, block) {
- return new _no_name_provided__qut3iv_1(completion, block);
- }
-
- function invokeSuspendSuperTypeWithReceiver(_this__u8e3s4, receiver, completion) {
- throw new NotImplementedError('It is intrinsic method');
- }
-
- function invokeSuspendSuperType(_this__u8e3s4, completion) {
- throw new NotImplementedError('It is intrinsic method');
- }
-
- function invokeSuspendSuperTypeWithReceiverAndParam(_this__u8e3s4, receiver, param, completion) {
- throw new NotImplementedError('It is intrinsic method');
- }
-
- function _no_name_provided__qut3iv_0($completion, $this_createCoroutineUnintercepted, $receiver, $completion$1) {
- this.$this_createCoroutineUnintercepted_1 = $this_createCoroutineUnintercepted;
- this.$receiver_1 = $receiver;
- this.$completion_1 = $completion$1;
- CoroutineImpl.call(this, isInterface($completion, Continuation) ? $completion : THROW_CCE());
- }
-
- protoOf(_no_name_provided__qut3iv_0).doResume_5yljmg_k$ = function () {
- if (this.get_exception_x0n6w6_k$() != null)
- throw this.get_exception_x0n6w6_k$();
- // Inline function 'kotlin.coroutines.intrinsics.createCoroutineUnintercepted.' call
- // Inline function 'kotlin.js.asDynamic' call
- var a = this.$this_createCoroutineUnintercepted_1;
- return typeof a === 'function' ? a(this.$receiver_1, this.$completion_1) : this.$this_createCoroutineUnintercepted_1.invoke_qns8j1_k$(this.$receiver_1, this.$completion_1);
- };
-
- function _no_name_provided__qut3iv_1($completion, $block) {
- this.$block_1 = $block;
- CoroutineImpl.call(this, isInterface($completion, Continuation) ? $completion : THROW_CCE());
- }
-
- protoOf(_no_name_provided__qut3iv_1).doResume_5yljmg_k$ = function () {
- if (this.get_exception_x0n6w6_k$() != null)
- throw this.get_exception_x0n6w6_k$();
- return this.$block_1();
- };
-
- function Exception_init_$Init$($this) {
- extendThrowable($this);
- Exception.call($this);
- return $this;
- }
-
- function Exception_init_$Create$() {
- var tmp = Exception_init_$Init$(objectCreate(protoOf(Exception)));
- captureStack(tmp, Exception_init_$Create$);
- return tmp;
- }
-
- function Exception_init_$Init$_0(message, $this) {
- extendThrowable($this, message);
- Exception.call($this);
- return $this;
- }
-
- function Exception_init_$Create$_0(message) {
- var tmp = Exception_init_$Init$_0(message, objectCreate(protoOf(Exception)));
- captureStack(tmp, Exception_init_$Create$_0);
- return tmp;
- }
-
- function Exception_init_$Init$_1(message, cause, $this) {
- extendThrowable($this, message, cause);
- Exception.call($this);
- return $this;
- }
-
- function Exception_init_$Create$_1(message, cause) {
- var tmp = Exception_init_$Init$_1(message, cause, objectCreate(protoOf(Exception)));
- captureStack(tmp, Exception_init_$Create$_1);
- return tmp;
- }
-
- function Exception_init_$Init$_2(cause, $this) {
- extendThrowable($this, VOID, cause);
- Exception.call($this);
- return $this;
- }
-
- function Exception_init_$Create$_2(cause) {
- var tmp = Exception_init_$Init$_2(cause, objectCreate(protoOf(Exception)));
- captureStack(tmp, Exception_init_$Create$_2);
- return tmp;
- }
-
- function Exception() {
- captureStack(this, Exception);
- }
-
- function IllegalArgumentException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- IllegalArgumentException.call($this);
- return $this;
- }
-
- function IllegalArgumentException_init_$Create$() {
- var tmp = IllegalArgumentException_init_$Init$(objectCreate(protoOf(IllegalArgumentException)));
- captureStack(tmp, IllegalArgumentException_init_$Create$);
- return tmp;
- }
-
- function IllegalArgumentException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- IllegalArgumentException.call($this);
- return $this;
- }
-
- function IllegalArgumentException_init_$Create$_0(message) {
- var tmp = IllegalArgumentException_init_$Init$_0(message, objectCreate(protoOf(IllegalArgumentException)));
- captureStack(tmp, IllegalArgumentException_init_$Create$_0);
- return tmp;
- }
-
- function IllegalArgumentException_init_$Init$_1(message, cause, $this) {
- RuntimeException_init_$Init$_1(message, cause, $this);
- IllegalArgumentException.call($this);
- return $this;
- }
-
- function IllegalArgumentException_init_$Create$_1(message, cause) {
- var tmp = IllegalArgumentException_init_$Init$_1(message, cause, objectCreate(protoOf(IllegalArgumentException)));
- captureStack(tmp, IllegalArgumentException_init_$Create$_1);
- return tmp;
- }
-
- function IllegalArgumentException_init_$Init$_2(cause, $this) {
- RuntimeException_init_$Init$_2(cause, $this);
- IllegalArgumentException.call($this);
- return $this;
- }
-
- function IllegalArgumentException_init_$Create$_2(cause) {
- var tmp = IllegalArgumentException_init_$Init$_2(cause, objectCreate(protoOf(IllegalArgumentException)));
- captureStack(tmp, IllegalArgumentException_init_$Create$_2);
- return tmp;
- }
-
- function IllegalArgumentException() {
- captureStack(this, IllegalArgumentException);
- }
-
- function IndexOutOfBoundsException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- IndexOutOfBoundsException.call($this);
- return $this;
- }
-
- function IndexOutOfBoundsException_init_$Create$() {
- var tmp = IndexOutOfBoundsException_init_$Init$(objectCreate(protoOf(IndexOutOfBoundsException)));
- captureStack(tmp, IndexOutOfBoundsException_init_$Create$);
- return tmp;
- }
-
- function IndexOutOfBoundsException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- IndexOutOfBoundsException.call($this);
- return $this;
- }
-
- function IndexOutOfBoundsException_init_$Create$_0(message) {
- var tmp = IndexOutOfBoundsException_init_$Init$_0(message, objectCreate(protoOf(IndexOutOfBoundsException)));
- captureStack(tmp, IndexOutOfBoundsException_init_$Create$_0);
- return tmp;
- }
-
- function IndexOutOfBoundsException() {
- captureStack(this, IndexOutOfBoundsException);
- }
-
- function IllegalStateException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- IllegalStateException.call($this);
- return $this;
- }
-
- function IllegalStateException_init_$Create$() {
- var tmp = IllegalStateException_init_$Init$(objectCreate(protoOf(IllegalStateException)));
- captureStack(tmp, IllegalStateException_init_$Create$);
- return tmp;
- }
-
- function IllegalStateException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- IllegalStateException.call($this);
- return $this;
- }
-
- function IllegalStateException_init_$Create$_0(message) {
- var tmp = IllegalStateException_init_$Init$_0(message, objectCreate(protoOf(IllegalStateException)));
- captureStack(tmp, IllegalStateException_init_$Create$_0);
- return tmp;
- }
-
- function IllegalStateException_init_$Init$_1(message, cause, $this) {
- RuntimeException_init_$Init$_1(message, cause, $this);
- IllegalStateException.call($this);
- return $this;
- }
-
- function IllegalStateException_init_$Create$_1(message, cause) {
- var tmp = IllegalStateException_init_$Init$_1(message, cause, objectCreate(protoOf(IllegalStateException)));
- captureStack(tmp, IllegalStateException_init_$Create$_1);
- return tmp;
- }
-
- function IllegalStateException_init_$Init$_2(cause, $this) {
- RuntimeException_init_$Init$_2(cause, $this);
- IllegalStateException.call($this);
- return $this;
- }
-
- function IllegalStateException_init_$Create$_2(cause) {
- var tmp = IllegalStateException_init_$Init$_2(cause, objectCreate(protoOf(IllegalStateException)));
- captureStack(tmp, IllegalStateException_init_$Create$_2);
- return tmp;
- }
-
- function IllegalStateException() {
- captureStack(this, IllegalStateException);
- }
-
- function UnsupportedOperationException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- UnsupportedOperationException.call($this);
- return $this;
- }
-
- function UnsupportedOperationException_init_$Create$() {
- var tmp = UnsupportedOperationException_init_$Init$(objectCreate(protoOf(UnsupportedOperationException)));
- captureStack(tmp, UnsupportedOperationException_init_$Create$);
- return tmp;
- }
-
- function UnsupportedOperationException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- UnsupportedOperationException.call($this);
- return $this;
- }
-
- function UnsupportedOperationException_init_$Create$_0(message) {
- var tmp = UnsupportedOperationException_init_$Init$_0(message, objectCreate(protoOf(UnsupportedOperationException)));
- captureStack(tmp, UnsupportedOperationException_init_$Create$_0);
- return tmp;
- }
-
- function UnsupportedOperationException_init_$Init$_1(message, cause, $this) {
- RuntimeException_init_$Init$_1(message, cause, $this);
- UnsupportedOperationException.call($this);
- return $this;
- }
-
- function UnsupportedOperationException_init_$Create$_1(message, cause) {
- var tmp = UnsupportedOperationException_init_$Init$_1(message, cause, objectCreate(protoOf(UnsupportedOperationException)));
- captureStack(tmp, UnsupportedOperationException_init_$Create$_1);
- return tmp;
- }
-
- function UnsupportedOperationException_init_$Init$_2(cause, $this) {
- RuntimeException_init_$Init$_2(cause, $this);
- UnsupportedOperationException.call($this);
- return $this;
- }
-
- function UnsupportedOperationException_init_$Create$_2(cause) {
- var tmp = UnsupportedOperationException_init_$Init$_2(cause, objectCreate(protoOf(UnsupportedOperationException)));
- captureStack(tmp, UnsupportedOperationException_init_$Create$_2);
- return tmp;
- }
-
- function UnsupportedOperationException() {
- captureStack(this, UnsupportedOperationException);
- }
-
- function RuntimeException_init_$Init$($this) {
- Exception_init_$Init$($this);
- RuntimeException.call($this);
- return $this;
- }
-
- function RuntimeException_init_$Create$() {
- var tmp = RuntimeException_init_$Init$(objectCreate(protoOf(RuntimeException)));
- captureStack(tmp, RuntimeException_init_$Create$);
- return tmp;
- }
-
- function RuntimeException_init_$Init$_0(message, $this) {
- Exception_init_$Init$_0(message, $this);
- RuntimeException.call($this);
- return $this;
- }
-
- function RuntimeException_init_$Create$_0(message) {
- var tmp = RuntimeException_init_$Init$_0(message, objectCreate(protoOf(RuntimeException)));
- captureStack(tmp, RuntimeException_init_$Create$_0);
- return tmp;
- }
-
- function RuntimeException_init_$Init$_1(message, cause, $this) {
- Exception_init_$Init$_1(message, cause, $this);
- RuntimeException.call($this);
- return $this;
- }
-
- function RuntimeException_init_$Create$_1(message, cause) {
- var tmp = RuntimeException_init_$Init$_1(message, cause, objectCreate(protoOf(RuntimeException)));
- captureStack(tmp, RuntimeException_init_$Create$_1);
- return tmp;
- }
-
- function RuntimeException_init_$Init$_2(cause, $this) {
- Exception_init_$Init$_2(cause, $this);
- RuntimeException.call($this);
- return $this;
- }
-
- function RuntimeException_init_$Create$_2(cause) {
- var tmp = RuntimeException_init_$Init$_2(cause, objectCreate(protoOf(RuntimeException)));
- captureStack(tmp, RuntimeException_init_$Create$_2);
- return tmp;
- }
-
- function RuntimeException() {
- captureStack(this, RuntimeException);
- }
-
- function NoSuchElementException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- NoSuchElementException.call($this);
- return $this;
- }
-
- function NoSuchElementException_init_$Create$() {
- var tmp = NoSuchElementException_init_$Init$(objectCreate(protoOf(NoSuchElementException)));
- captureStack(tmp, NoSuchElementException_init_$Create$);
- return tmp;
- }
-
- function NoSuchElementException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- NoSuchElementException.call($this);
- return $this;
- }
-
- function NoSuchElementException_init_$Create$_0(message) {
- var tmp = NoSuchElementException_init_$Init$_0(message, objectCreate(protoOf(NoSuchElementException)));
- captureStack(tmp, NoSuchElementException_init_$Create$_0);
- return tmp;
- }
-
- function NoSuchElementException() {
- captureStack(this, NoSuchElementException);
- }
-
- function Error_init_$Init$($this) {
- extendThrowable($this);
- Error_0.call($this);
- return $this;
- }
-
- function Error_init_$Create$() {
- var tmp = Error_init_$Init$(objectCreate(protoOf(Error_0)));
- captureStack(tmp, Error_init_$Create$);
- return tmp;
- }
-
- function Error_init_$Init$_0(message, $this) {
- extendThrowable($this, message);
- Error_0.call($this);
- return $this;
- }
-
- function Error_init_$Create$_0(message) {
- var tmp = Error_init_$Init$_0(message, objectCreate(protoOf(Error_0)));
- captureStack(tmp, Error_init_$Create$_0);
- return tmp;
- }
-
- function Error_init_$Init$_1(message, cause, $this) {
- extendThrowable($this, message, cause);
- Error_0.call($this);
- return $this;
- }
-
- function Error_init_$Create$_1(message, cause) {
- var tmp = Error_init_$Init$_1(message, cause, objectCreate(protoOf(Error_0)));
- captureStack(tmp, Error_init_$Create$_1);
- return tmp;
- }
-
- function Error_init_$Init$_2(cause, $this) {
- extendThrowable($this, VOID, cause);
- Error_0.call($this);
- return $this;
- }
-
- function Error_init_$Create$_2(cause) {
- var tmp = Error_init_$Init$_2(cause, objectCreate(protoOf(Error_0)));
- captureStack(tmp, Error_init_$Create$_2);
- return tmp;
- }
-
- function Error_0() {
- captureStack(this, Error_0);
- }
-
- function ArithmeticException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- ArithmeticException.call($this);
- return $this;
- }
-
- function ArithmeticException_init_$Create$() {
- var tmp = ArithmeticException_init_$Init$(objectCreate(protoOf(ArithmeticException)));
- captureStack(tmp, ArithmeticException_init_$Create$);
- return tmp;
- }
-
- function ArithmeticException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- ArithmeticException.call($this);
- return $this;
- }
-
- function ArithmeticException_init_$Create$_0(message) {
- var tmp = ArithmeticException_init_$Init$_0(message, objectCreate(protoOf(ArithmeticException)));
- captureStack(tmp, ArithmeticException_init_$Create$_0);
- return tmp;
- }
-
- function ArithmeticException() {
- captureStack(this, ArithmeticException);
- }
-
- function ConcurrentModificationException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- ConcurrentModificationException.call($this);
- return $this;
- }
-
- function ConcurrentModificationException_init_$Create$() {
- var tmp = ConcurrentModificationException_init_$Init$(objectCreate(protoOf(ConcurrentModificationException)));
- captureStack(tmp, ConcurrentModificationException_init_$Create$);
- return tmp;
- }
-
- function ConcurrentModificationException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- ConcurrentModificationException.call($this);
- return $this;
- }
-
- function ConcurrentModificationException_init_$Create$_0(message) {
- var tmp = ConcurrentModificationException_init_$Init$_0(message, objectCreate(protoOf(ConcurrentModificationException)));
- captureStack(tmp, ConcurrentModificationException_init_$Create$_0);
- return tmp;
- }
-
- function ConcurrentModificationException_init_$Init$_1(message, cause, $this) {
- RuntimeException_init_$Init$_1(message, cause, $this);
- ConcurrentModificationException.call($this);
- return $this;
- }
-
- function ConcurrentModificationException_init_$Create$_1(message, cause) {
- var tmp = ConcurrentModificationException_init_$Init$_1(message, cause, objectCreate(protoOf(ConcurrentModificationException)));
- captureStack(tmp, ConcurrentModificationException_init_$Create$_1);
- return tmp;
- }
-
- function ConcurrentModificationException_init_$Init$_2(cause, $this) {
- RuntimeException_init_$Init$_2(cause, $this);
- ConcurrentModificationException.call($this);
- return $this;
- }
-
- function ConcurrentModificationException_init_$Create$_2(cause) {
- var tmp = ConcurrentModificationException_init_$Init$_2(cause, objectCreate(protoOf(ConcurrentModificationException)));
- captureStack(tmp, ConcurrentModificationException_init_$Create$_2);
- return tmp;
- }
-
- function ConcurrentModificationException() {
- captureStack(this, ConcurrentModificationException);
- }
-
- function NumberFormatException_init_$Init$($this) {
- IllegalArgumentException_init_$Init$($this);
- NumberFormatException.call($this);
- return $this;
- }
-
- function NumberFormatException_init_$Create$() {
- var tmp = NumberFormatException_init_$Init$(objectCreate(protoOf(NumberFormatException)));
- captureStack(tmp, NumberFormatException_init_$Create$);
- return tmp;
- }
-
- function NumberFormatException_init_$Init$_0(message, $this) {
- IllegalArgumentException_init_$Init$_0(message, $this);
- NumberFormatException.call($this);
- return $this;
- }
-
- function NumberFormatException_init_$Create$_0(message) {
- var tmp = NumberFormatException_init_$Init$_0(message, objectCreate(protoOf(NumberFormatException)));
- captureStack(tmp, NumberFormatException_init_$Create$_0);
- return tmp;
- }
-
- function NumberFormatException() {
- captureStack(this, NumberFormatException);
- }
-
- function NullPointerException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- NullPointerException.call($this);
- return $this;
- }
-
- function NullPointerException_init_$Create$() {
- var tmp = NullPointerException_init_$Init$(objectCreate(protoOf(NullPointerException)));
- captureStack(tmp, NullPointerException_init_$Create$);
- return tmp;
- }
-
- function NullPointerException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- NullPointerException.call($this);
- return $this;
- }
-
- function NullPointerException_init_$Create$_0(message) {
- var tmp = NullPointerException_init_$Init$_0(message, objectCreate(protoOf(NullPointerException)));
- captureStack(tmp, NullPointerException_init_$Create$_0);
- return tmp;
- }
-
- function NullPointerException() {
- captureStack(this, NullPointerException);
- }
-
- function NoWhenBranchMatchedException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- NoWhenBranchMatchedException.call($this);
- return $this;
- }
-
- function NoWhenBranchMatchedException_init_$Create$() {
- var tmp = NoWhenBranchMatchedException_init_$Init$(objectCreate(protoOf(NoWhenBranchMatchedException)));
- captureStack(tmp, NoWhenBranchMatchedException_init_$Create$);
- return tmp;
- }
-
- function NoWhenBranchMatchedException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- NoWhenBranchMatchedException.call($this);
- return $this;
- }
-
- function NoWhenBranchMatchedException_init_$Create$_0(message) {
- var tmp = NoWhenBranchMatchedException_init_$Init$_0(message, objectCreate(protoOf(NoWhenBranchMatchedException)));
- captureStack(tmp, NoWhenBranchMatchedException_init_$Create$_0);
- return tmp;
- }
-
- function NoWhenBranchMatchedException_init_$Init$_1(message, cause, $this) {
- RuntimeException_init_$Init$_1(message, cause, $this);
- NoWhenBranchMatchedException.call($this);
- return $this;
- }
-
- function NoWhenBranchMatchedException_init_$Create$_1(message, cause) {
- var tmp = NoWhenBranchMatchedException_init_$Init$_1(message, cause, objectCreate(protoOf(NoWhenBranchMatchedException)));
- captureStack(tmp, NoWhenBranchMatchedException_init_$Create$_1);
- return tmp;
- }
-
- function NoWhenBranchMatchedException_init_$Init$_2(cause, $this) {
- RuntimeException_init_$Init$_2(cause, $this);
- NoWhenBranchMatchedException.call($this);
- return $this;
- }
-
- function NoWhenBranchMatchedException_init_$Create$_2(cause) {
- var tmp = NoWhenBranchMatchedException_init_$Init$_2(cause, objectCreate(protoOf(NoWhenBranchMatchedException)));
- captureStack(tmp, NoWhenBranchMatchedException_init_$Create$_2);
- return tmp;
- }
-
- function NoWhenBranchMatchedException() {
- captureStack(this, NoWhenBranchMatchedException);
- }
-
- function ClassCastException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- ClassCastException.call($this);
- return $this;
- }
-
- function ClassCastException_init_$Create$() {
- var tmp = ClassCastException_init_$Init$(objectCreate(protoOf(ClassCastException)));
- captureStack(tmp, ClassCastException_init_$Create$);
- return tmp;
- }
-
- function ClassCastException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- ClassCastException.call($this);
- return $this;
- }
-
- function ClassCastException_init_$Create$_0(message) {
- var tmp = ClassCastException_init_$Init$_0(message, objectCreate(protoOf(ClassCastException)));
- captureStack(tmp, ClassCastException_init_$Create$_0);
- return tmp;
- }
-
- function ClassCastException() {
- captureStack(this, ClassCastException);
- }
-
- function UninitializedPropertyAccessException_init_$Init$($this) {
- RuntimeException_init_$Init$($this);
- UninitializedPropertyAccessException.call($this);
- return $this;
- }
-
- function UninitializedPropertyAccessException_init_$Create$() {
- var tmp = UninitializedPropertyAccessException_init_$Init$(objectCreate(protoOf(UninitializedPropertyAccessException)));
- captureStack(tmp, UninitializedPropertyAccessException_init_$Create$);
- return tmp;
- }
-
- function UninitializedPropertyAccessException_init_$Init$_0(message, $this) {
- RuntimeException_init_$Init$_0(message, $this);
- UninitializedPropertyAccessException.call($this);
- return $this;
- }
-
- function UninitializedPropertyAccessException_init_$Create$_0(message) {
- var tmp = UninitializedPropertyAccessException_init_$Init$_0(message, objectCreate(protoOf(UninitializedPropertyAccessException)));
- captureStack(tmp, UninitializedPropertyAccessException_init_$Create$_0);
- return tmp;
- }
-
- function UninitializedPropertyAccessException_init_$Init$_1(message, cause, $this) {
- RuntimeException_init_$Init$_1(message, cause, $this);
- UninitializedPropertyAccessException.call($this);
- return $this;
- }
-
- function UninitializedPropertyAccessException_init_$Create$_1(message, cause) {
- var tmp = UninitializedPropertyAccessException_init_$Init$_1(message, cause, objectCreate(protoOf(UninitializedPropertyAccessException)));
- captureStack(tmp, UninitializedPropertyAccessException_init_$Create$_1);
- return tmp;
- }
-
- function UninitializedPropertyAccessException_init_$Init$_2(cause, $this) {
- RuntimeException_init_$Init$_2(cause, $this);
- UninitializedPropertyAccessException.call($this);
- return $this;
- }
-
- function UninitializedPropertyAccessException_init_$Create$_2(cause) {
- var tmp = UninitializedPropertyAccessException_init_$Init$_2(cause, objectCreate(protoOf(UninitializedPropertyAccessException)));
- captureStack(tmp, UninitializedPropertyAccessException_init_$Create$_2);
- return tmp;
- }
-
- function UninitializedPropertyAccessException() {
- captureStack(this, UninitializedPropertyAccessException);
- }
-
- function toString_2(_this__u8e3s4, radix) {
- return toStringImpl(_this__u8e3s4, checkRadix(radix));
- }
-
- function Annotation() {
- }
-
- function CharSequence() {
- }
-
- function Comparable() {
- }
-
- function Iterator() {
- }
-
- function ListIterator() {
- }
-
- function MutableIterator() {
- }
-
- function MutableListIterator() {
- }
-
- function Number_0() {
- }
-
- protoOf(Number_0).toChar_tavt71_k$ = function () {
- return numberToChar(numberToInt(this));
- };
-
- function ReplaceWith(expression, imports) {
- this.expression_1 = expression;
- this.imports_1 = imports;
- }
-
- protoOf(ReplaceWith).get_expression_l5w7j5_k$ = function () {
- return this.expression_1;
- };
- protoOf(ReplaceWith).get_imports_x49mdh_k$ = function () {
- return this.imports_1;
- };
- protoOf(ReplaceWith).equals = function (other) {
- if (!(other instanceof ReplaceWith))
- return false;
- var tmp0_other_with_cast = other instanceof ReplaceWith ? other : THROW_CCE();
- if (!(this.expression_1 === tmp0_other_with_cast.expression_1))
- return false;
- if (!contentEquals_7(this.imports_1, tmp0_other_with_cast.imports_1))
- return false;
- return true;
- };
- protoOf(ReplaceWith).hashCode = function () {
- var result = imul(getStringHashCode('expression'), 127) ^ getStringHashCode(this.expression_1);
- result = result + (imul(getStringHashCode('imports'), 127) ^ hashCode(this.imports_1)) | 0;
- return result;
- };
- protoOf(ReplaceWith).toString = function () {
- return '@kotlin.ReplaceWith(expression=' + this.expression_1 + ', imports=' + toString_1(this.imports_1) + ')';
- };
-
- function Suppress(names) {
- this.names_1 = names;
- }
-
- protoOf(Suppress).get_names_ivn21r_k$ = function () {
- return this.names_1;
- };
- protoOf(Suppress).equals = function (other) {
- if (!(other instanceof Suppress))
- return false;
- var tmp0_other_with_cast = other instanceof Suppress ? other : THROW_CCE();
- if (!contentEquals_7(this.names_1, tmp0_other_with_cast.names_1))
- return false;
- return true;
- };
- protoOf(Suppress).hashCode = function () {
- return imul(getStringHashCode('names'), 127) ^ hashCode(this.names_1);
- };
- protoOf(Suppress).toString = function () {
- return '@kotlin.Suppress(names=' + toString_1(this.names_1) + ')';
- };
-
- function Deprecated(message, replaceWith, level) {
- replaceWith = replaceWith === VOID ? new ReplaceWith('', []) : replaceWith;
- level = level === VOID ? DeprecationLevel_WARNING_getInstance() : level;
- this.message_1 = message;
- this.replaceWith_1 = replaceWith;
- this.level_1 = level;
- }
-
- protoOf(Deprecated).get_message_h23axq_k$ = function () {
- return this.message_1;
- };
- protoOf(Deprecated).get_replaceWith_l0ddm9_k$ = function () {
- return this.replaceWith_1;
- };
- protoOf(Deprecated).get_level_ium7h7_k$ = function () {
- return this.level_1;
- };
- protoOf(Deprecated).equals = function (other) {
- if (!(other instanceof Deprecated))
- return false;
- var tmp0_other_with_cast = other instanceof Deprecated ? other : THROW_CCE();
- if (!(this.message_1 === tmp0_other_with_cast.message_1))
- return false;
- if (!this.replaceWith_1.equals(tmp0_other_with_cast.replaceWith_1))
- return false;
- if (!this.level_1.equals(tmp0_other_with_cast.level_1))
- return false;
- return true;
- };
- protoOf(Deprecated).hashCode = function () {
- var result = imul(getStringHashCode('message'), 127) ^ getStringHashCode(this.message_1);
- result = result + (imul(getStringHashCode('replaceWith'), 127) ^ hashCode(this.replaceWith_1)) | 0;
- result = result + (imul(getStringHashCode('level'), 127) ^ this.level_1.hashCode()) | 0;
- return result;
- };
- protoOf(Deprecated).toString = function () {
- return '@kotlin.Deprecated(message=' + this.message_1 + ', replaceWith=' + this.replaceWith_1 + ', level=' + this.level_1 + ')';
- };
-
- function SinceKotlin(version) {
- this.version_1 = version;
- }
-
- protoOf(SinceKotlin).get_version_72w4j3_k$ = function () {
- return this.version_1;
- };
- protoOf(SinceKotlin).equals = function (other) {
- if (!(other instanceof SinceKotlin))
- return false;
- var tmp0_other_with_cast = other instanceof SinceKotlin ? other : THROW_CCE();
- if (!(this.version_1 === tmp0_other_with_cast.version_1))
- return false;
- return true;
- };
- protoOf(SinceKotlin).hashCode = function () {
- return imul(getStringHashCode('version'), 127) ^ getStringHashCode(this.version_1);
- };
- protoOf(SinceKotlin).toString = function () {
- return '@kotlin.SinceKotlin(version=' + this.version_1 + ')';
- };
- var DeprecationLevel_WARNING_instance;
- var DeprecationLevel_ERROR_instance;
- var DeprecationLevel_HIDDEN_instance;
-
- function values() {
- return [DeprecationLevel_WARNING_getInstance(), DeprecationLevel_ERROR_getInstance(), DeprecationLevel_HIDDEN_getInstance()];
- }
-
- function valueOf(value) {
- switch (value) {
- case 'WARNING':
- return DeprecationLevel_WARNING_getInstance();
- case 'ERROR':
- return DeprecationLevel_ERROR_getInstance();
- case 'HIDDEN':
- return DeprecationLevel_HIDDEN_getInstance();
- default:
- DeprecationLevel_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries() {
- if ($ENTRIES == null)
- $ENTRIES = enumEntries(values());
- return $ENTRIES;
- }
-
- var DeprecationLevel_entriesInitialized;
-
- function DeprecationLevel_initEntries() {
- if (DeprecationLevel_entriesInitialized)
- return Unit_getInstance();
- DeprecationLevel_entriesInitialized = true;
- DeprecationLevel_WARNING_instance = new DeprecationLevel('WARNING', 0);
- DeprecationLevel_ERROR_instance = new DeprecationLevel('ERROR', 1);
- DeprecationLevel_HIDDEN_instance = new DeprecationLevel('HIDDEN', 2);
- }
-
- var $ENTRIES;
-
- function DeprecationLevel(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- function ParameterName(name) {
- this.name_1 = name;
- }
-
- protoOf(ParameterName).get_name_woqyms_k$ = function () {
- return this.name_1;
- };
- protoOf(ParameterName).equals = function (other) {
- if (!(other instanceof ParameterName))
- return false;
- var tmp0_other_with_cast = other instanceof ParameterName ? other : THROW_CCE();
- if (!(this.name_1 === tmp0_other_with_cast.name_1))
- return false;
- return true;
- };
- protoOf(ParameterName).hashCode = function () {
- return imul(getStringHashCode('name'), 127) ^ getStringHashCode(this.name_1);
- };
- protoOf(ParameterName).toString = function () {
- return '@kotlin.ParameterName(name=' + this.name_1 + ')';
- };
-
- function UnsafeVariance() {
- }
-
- protoOf(UnsafeVariance).equals = function (other) {
- if (!(other instanceof UnsafeVariance))
- return false;
- other instanceof UnsafeVariance || THROW_CCE();
- return true;
- };
- protoOf(UnsafeVariance).hashCode = function () {
- return 0;
- };
- protoOf(UnsafeVariance).toString = function () {
- return '@kotlin.UnsafeVariance()';
- };
-
- function DslMarker() {
- }
-
- protoOf(DslMarker).equals = function (other) {
- if (!(other instanceof DslMarker))
- return false;
- other instanceof DslMarker || THROW_CCE();
- return true;
- };
- protoOf(DslMarker).hashCode = function () {
- return 0;
- };
- protoOf(DslMarker).toString = function () {
- return '@kotlin.DslMarker()';
- };
-
- function DeprecatedSinceKotlin(warningSince, errorSince, hiddenSince) {
- warningSince = warningSince === VOID ? '' : warningSince;
- errorSince = errorSince === VOID ? '' : errorSince;
- hiddenSince = hiddenSince === VOID ? '' : hiddenSince;
- this.warningSince_1 = warningSince;
- this.errorSince_1 = errorSince;
- this.hiddenSince_1 = hiddenSince;
- }
-
- protoOf(DeprecatedSinceKotlin).get_warningSince_szk795_k$ = function () {
- return this.warningSince_1;
- };
- protoOf(DeprecatedSinceKotlin).get_errorSince_6p3nh7_k$ = function () {
- return this.errorSince_1;
- };
- protoOf(DeprecatedSinceKotlin).get_hiddenSince_8z3cp_k$ = function () {
- return this.hiddenSince_1;
- };
- protoOf(DeprecatedSinceKotlin).equals = function (other) {
- if (!(other instanceof DeprecatedSinceKotlin))
- return false;
- var tmp0_other_with_cast = other instanceof DeprecatedSinceKotlin ? other : THROW_CCE();
- if (!(this.warningSince_1 === tmp0_other_with_cast.warningSince_1))
- return false;
- if (!(this.errorSince_1 === tmp0_other_with_cast.errorSince_1))
- return false;
- if (!(this.hiddenSince_1 === tmp0_other_with_cast.hiddenSince_1))
- return false;
- return true;
- };
- protoOf(DeprecatedSinceKotlin).hashCode = function () {
- var result = imul(getStringHashCode('warningSince'), 127) ^ getStringHashCode(this.warningSince_1);
- result = result + (imul(getStringHashCode('errorSince'), 127) ^ getStringHashCode(this.errorSince_1)) | 0;
- result = result + (imul(getStringHashCode('hiddenSince'), 127) ^ getStringHashCode(this.hiddenSince_1)) | 0;
- return result;
- };
- protoOf(DeprecatedSinceKotlin).toString = function () {
- return '@kotlin.DeprecatedSinceKotlin(warningSince=' + this.warningSince_1 + ', errorSince=' + this.errorSince_1 + ', hiddenSince=' + this.hiddenSince_1 + ')';
- };
-
- function ExtensionFunctionType() {
- }
-
- protoOf(ExtensionFunctionType).equals = function (other) {
- if (!(other instanceof ExtensionFunctionType))
- return false;
- other instanceof ExtensionFunctionType || THROW_CCE();
- return true;
- };
- protoOf(ExtensionFunctionType).hashCode = function () {
- return 0;
- };
- protoOf(ExtensionFunctionType).toString = function () {
- return '@kotlin.ExtensionFunctionType()';
- };
-
- function PublishedApi() {
- }
-
- protoOf(PublishedApi).equals = function (other) {
- if (!(other instanceof PublishedApi))
- return false;
- other instanceof PublishedApi || THROW_CCE();
- return true;
- };
- protoOf(PublishedApi).hashCode = function () {
- return 0;
- };
- protoOf(PublishedApi).toString = function () {
- return '@kotlin.PublishedApi()';
- };
-
- function DeprecationLevel_WARNING_getInstance() {
- DeprecationLevel_initEntries();
- return DeprecationLevel_WARNING_instance;
- }
-
- function DeprecationLevel_ERROR_getInstance() {
- DeprecationLevel_initEntries();
- return DeprecationLevel_ERROR_instance;
- }
-
- function DeprecationLevel_HIDDEN_getInstance() {
- DeprecationLevel_initEntries();
- return DeprecationLevel_HIDDEN_instance;
- }
-
- function Unit() {
- Unit_instance = this;
- }
-
- protoOf(Unit).toString = function () {
- return 'kotlin.Unit';
- };
- var Unit_instance;
-
- function Unit_getInstance() {
- if (Unit_instance == null)
- new Unit();
- return Unit_instance;
- }
-
- function Target(allowedTargets) {
- this.allowedTargets_1 = allowedTargets;
- }
-
- protoOf(Target).get_allowedTargets_9sf77n_k$ = function () {
- return this.allowedTargets_1;
- };
- protoOf(Target).equals = function (other) {
- if (!(other instanceof Target))
- return false;
- var tmp0_other_with_cast = other instanceof Target ? other : THROW_CCE();
- if (!contentEquals_7(this.allowedTargets_1, tmp0_other_with_cast.allowedTargets_1))
- return false;
- return true;
- };
- protoOf(Target).hashCode = function () {
- return imul(getStringHashCode('allowedTargets'), 127) ^ hashCode(this.allowedTargets_1);
- };
- protoOf(Target).toString = function () {
- return '@kotlin.annotation.Target(allowedTargets=' + toString_1(this.allowedTargets_1) + ')';
- };
- var AnnotationTarget_CLASS_instance;
- var AnnotationTarget_ANNOTATION_CLASS_instance;
- var AnnotationTarget_TYPE_PARAMETER_instance;
- var AnnotationTarget_PROPERTY_instance;
- var AnnotationTarget_FIELD_instance;
- var AnnotationTarget_LOCAL_VARIABLE_instance;
- var AnnotationTarget_VALUE_PARAMETER_instance;
- var AnnotationTarget_CONSTRUCTOR_instance;
- var AnnotationTarget_FUNCTION_instance;
- var AnnotationTarget_PROPERTY_GETTER_instance;
- var AnnotationTarget_PROPERTY_SETTER_instance;
- var AnnotationTarget_TYPE_instance;
- var AnnotationTarget_EXPRESSION_instance;
- var AnnotationTarget_FILE_instance;
- var AnnotationTarget_TYPEALIAS_instance;
-
- function values_0() {
- return [AnnotationTarget_CLASS_getInstance(), AnnotationTarget_ANNOTATION_CLASS_getInstance(), AnnotationTarget_TYPE_PARAMETER_getInstance(), AnnotationTarget_PROPERTY_getInstance(), AnnotationTarget_FIELD_getInstance(), AnnotationTarget_LOCAL_VARIABLE_getInstance(), AnnotationTarget_VALUE_PARAMETER_getInstance(), AnnotationTarget_CONSTRUCTOR_getInstance(), AnnotationTarget_FUNCTION_getInstance(), AnnotationTarget_PROPERTY_GETTER_getInstance(), AnnotationTarget_PROPERTY_SETTER_getInstance(), AnnotationTarget_TYPE_getInstance(), AnnotationTarget_EXPRESSION_getInstance(), AnnotationTarget_FILE_getInstance(), AnnotationTarget_TYPEALIAS_getInstance()];
- }
-
- function valueOf_0(value) {
- switch (value) {
- case 'CLASS':
- return AnnotationTarget_CLASS_getInstance();
- case 'ANNOTATION_CLASS':
- return AnnotationTarget_ANNOTATION_CLASS_getInstance();
- case 'TYPE_PARAMETER':
- return AnnotationTarget_TYPE_PARAMETER_getInstance();
- case 'PROPERTY':
- return AnnotationTarget_PROPERTY_getInstance();
- case 'FIELD':
- return AnnotationTarget_FIELD_getInstance();
- case 'LOCAL_VARIABLE':
- return AnnotationTarget_LOCAL_VARIABLE_getInstance();
- case 'VALUE_PARAMETER':
- return AnnotationTarget_VALUE_PARAMETER_getInstance();
- case 'CONSTRUCTOR':
- return AnnotationTarget_CONSTRUCTOR_getInstance();
- case 'FUNCTION':
- return AnnotationTarget_FUNCTION_getInstance();
- case 'PROPERTY_GETTER':
- return AnnotationTarget_PROPERTY_GETTER_getInstance();
- case 'PROPERTY_SETTER':
- return AnnotationTarget_PROPERTY_SETTER_getInstance();
- case 'TYPE':
- return AnnotationTarget_TYPE_getInstance();
- case 'EXPRESSION':
- return AnnotationTarget_EXPRESSION_getInstance();
- case 'FILE':
- return AnnotationTarget_FILE_getInstance();
- case 'TYPEALIAS':
- return AnnotationTarget_TYPEALIAS_getInstance();
- default:
- AnnotationTarget_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries_0() {
- if ($ENTRIES_0 == null)
- $ENTRIES_0 = enumEntries(values_0());
- return $ENTRIES_0;
- }
-
- var AnnotationTarget_entriesInitialized;
-
- function AnnotationTarget_initEntries() {
- if (AnnotationTarget_entriesInitialized)
- return Unit_getInstance();
- AnnotationTarget_entriesInitialized = true;
- AnnotationTarget_CLASS_instance = new AnnotationTarget('CLASS', 0);
- AnnotationTarget_ANNOTATION_CLASS_instance = new AnnotationTarget('ANNOTATION_CLASS', 1);
- AnnotationTarget_TYPE_PARAMETER_instance = new AnnotationTarget('TYPE_PARAMETER', 2);
- AnnotationTarget_PROPERTY_instance = new AnnotationTarget('PROPERTY', 3);
- AnnotationTarget_FIELD_instance = new AnnotationTarget('FIELD', 4);
- AnnotationTarget_LOCAL_VARIABLE_instance = new AnnotationTarget('LOCAL_VARIABLE', 5);
- AnnotationTarget_VALUE_PARAMETER_instance = new AnnotationTarget('VALUE_PARAMETER', 6);
- AnnotationTarget_CONSTRUCTOR_instance = new AnnotationTarget('CONSTRUCTOR', 7);
- AnnotationTarget_FUNCTION_instance = new AnnotationTarget('FUNCTION', 8);
- AnnotationTarget_PROPERTY_GETTER_instance = new AnnotationTarget('PROPERTY_GETTER', 9);
- AnnotationTarget_PROPERTY_SETTER_instance = new AnnotationTarget('PROPERTY_SETTER', 10);
- AnnotationTarget_TYPE_instance = new AnnotationTarget('TYPE', 11);
- AnnotationTarget_EXPRESSION_instance = new AnnotationTarget('EXPRESSION', 12);
- AnnotationTarget_FILE_instance = new AnnotationTarget('FILE', 13);
- AnnotationTarget_TYPEALIAS_instance = new AnnotationTarget('TYPEALIAS', 14);
- }
-
- var $ENTRIES_0;
-
- function AnnotationTarget(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- function Retention(value) {
- value = value === VOID ? AnnotationRetention_RUNTIME_getInstance() : value;
- this.value_1 = value;
- }
-
- protoOf(Retention).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- protoOf(Retention).equals = function (other) {
- if (!(other instanceof Retention))
- return false;
- var tmp0_other_with_cast = other instanceof Retention ? other : THROW_CCE();
- if (!this.value_1.equals(tmp0_other_with_cast.value_1))
- return false;
- return true;
- };
- protoOf(Retention).hashCode = function () {
- return imul(getStringHashCode('value'), 127) ^ this.value_1.hashCode();
- };
- protoOf(Retention).toString = function () {
- return '@kotlin.annotation.Retention(value=' + this.value_1 + ')';
- };
- var AnnotationRetention_SOURCE_instance;
- var AnnotationRetention_BINARY_instance;
- var AnnotationRetention_RUNTIME_instance;
-
- function values_1() {
- return [AnnotationRetention_SOURCE_getInstance(), AnnotationRetention_BINARY_getInstance(), AnnotationRetention_RUNTIME_getInstance()];
- }
-
- function valueOf_1(value) {
- switch (value) {
- case 'SOURCE':
- return AnnotationRetention_SOURCE_getInstance();
- case 'BINARY':
- return AnnotationRetention_BINARY_getInstance();
- case 'RUNTIME':
- return AnnotationRetention_RUNTIME_getInstance();
- default:
- AnnotationRetention_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries_1() {
- if ($ENTRIES_1 == null)
- $ENTRIES_1 = enumEntries(values_1());
- return $ENTRIES_1;
- }
-
- var AnnotationRetention_entriesInitialized;
-
- function AnnotationRetention_initEntries() {
- if (AnnotationRetention_entriesInitialized)
- return Unit_getInstance();
- AnnotationRetention_entriesInitialized = true;
- AnnotationRetention_SOURCE_instance = new AnnotationRetention('SOURCE', 0);
- AnnotationRetention_BINARY_instance = new AnnotationRetention('BINARY', 1);
- AnnotationRetention_RUNTIME_instance = new AnnotationRetention('RUNTIME', 2);
- }
-
- var $ENTRIES_1;
-
- function AnnotationRetention(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- function MustBeDocumented() {
- }
-
- protoOf(MustBeDocumented).equals = function (other) {
- if (!(other instanceof MustBeDocumented))
- return false;
- other instanceof MustBeDocumented || THROW_CCE();
- return true;
- };
- protoOf(MustBeDocumented).hashCode = function () {
- return 0;
- };
- protoOf(MustBeDocumented).toString = function () {
- return '@kotlin.annotation.MustBeDocumented()';
- };
-
- function Repeatable() {
- }
-
- protoOf(Repeatable).equals = function (other) {
- if (!(other instanceof Repeatable))
- return false;
- other instanceof Repeatable || THROW_CCE();
- return true;
- };
- protoOf(Repeatable).hashCode = function () {
- return 0;
- };
- protoOf(Repeatable).toString = function () {
- return '@kotlin.annotation.Repeatable()';
- };
-
- function AnnotationTarget_CLASS_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_CLASS_instance;
- }
-
- function AnnotationTarget_ANNOTATION_CLASS_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_ANNOTATION_CLASS_instance;
- }
-
- function AnnotationTarget_TYPE_PARAMETER_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_TYPE_PARAMETER_instance;
- }
-
- function AnnotationTarget_PROPERTY_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_PROPERTY_instance;
- }
-
- function AnnotationTarget_FIELD_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_FIELD_instance;
- }
-
- function AnnotationTarget_LOCAL_VARIABLE_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_LOCAL_VARIABLE_instance;
- }
-
- function AnnotationTarget_VALUE_PARAMETER_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_VALUE_PARAMETER_instance;
- }
-
- function AnnotationTarget_CONSTRUCTOR_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_CONSTRUCTOR_instance;
- }
-
- function AnnotationTarget_FUNCTION_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_FUNCTION_instance;
- }
-
- function AnnotationTarget_PROPERTY_GETTER_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_PROPERTY_GETTER_instance;
- }
-
- function AnnotationTarget_PROPERTY_SETTER_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_PROPERTY_SETTER_instance;
- }
-
- function AnnotationTarget_TYPE_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_TYPE_instance;
- }
-
- function AnnotationTarget_EXPRESSION_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_EXPRESSION_instance;
- }
-
- function AnnotationTarget_FILE_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_FILE_instance;
- }
-
- function AnnotationTarget_TYPEALIAS_getInstance() {
- AnnotationTarget_initEntries();
- return AnnotationTarget_TYPEALIAS_instance;
- }
-
- function AnnotationRetention_SOURCE_getInstance() {
- AnnotationRetention_initEntries();
- return AnnotationRetention_SOURCE_instance;
- }
-
- function AnnotationRetention_BINARY_getInstance() {
- AnnotationRetention_initEntries();
- return AnnotationRetention_BINARY_instance;
- }
-
- function AnnotationRetention_RUNTIME_getInstance() {
- AnnotationRetention_initEntries();
- return AnnotationRetention_RUNTIME_instance;
- }
-
- function ByteCompanionObject() {
- ByteCompanionObject_instance = this;
- this.MIN_VALUE = -128;
- this.MAX_VALUE = 127;
- this.SIZE_BYTES = 1;
- this.SIZE_BITS = 8;
- }
-
- protoOf(ByteCompanionObject).get_MIN_VALUE_7nmmor_k$ = function () {
- return this.MIN_VALUE;
- };
- protoOf(ByteCompanionObject).get_MAX_VALUE_54a9lf_k$ = function () {
- return this.MAX_VALUE;
- };
- protoOf(ByteCompanionObject).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES;
- };
- protoOf(ByteCompanionObject).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS;
- };
- var ByteCompanionObject_instance;
-
- function ByteCompanionObject_getInstance() {
- if (ByteCompanionObject_instance == null)
- new ByteCompanionObject();
- return ByteCompanionObject_instance;
- }
-
- function ShortCompanionObject() {
- ShortCompanionObject_instance = this;
- this.MIN_VALUE = -32768;
- this.MAX_VALUE = 32767;
- this.SIZE_BYTES = 2;
- this.SIZE_BITS = 16;
- }
-
- protoOf(ShortCompanionObject).get_MIN_VALUE_7nmmor_k$ = function () {
- return this.MIN_VALUE;
- };
- protoOf(ShortCompanionObject).get_MAX_VALUE_54a9lf_k$ = function () {
- return this.MAX_VALUE;
- };
- protoOf(ShortCompanionObject).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES;
- };
- protoOf(ShortCompanionObject).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS;
- };
- var ShortCompanionObject_instance;
-
- function ShortCompanionObject_getInstance() {
- if (ShortCompanionObject_instance == null)
- new ShortCompanionObject();
- return ShortCompanionObject_instance;
- }
-
- function IntCompanionObject() {
- IntCompanionObject_instance = this;
- this.MIN_VALUE = -2147483648;
- this.MAX_VALUE = 2147483647;
- this.SIZE_BYTES = 4;
- this.SIZE_BITS = 32;
- }
-
- protoOf(IntCompanionObject).get_MIN_VALUE_7nmmor_k$ = function () {
- return this.MIN_VALUE;
- };
- protoOf(IntCompanionObject).get_MAX_VALUE_54a9lf_k$ = function () {
- return this.MAX_VALUE;
- };
- protoOf(IntCompanionObject).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES;
- };
- protoOf(IntCompanionObject).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS;
- };
- var IntCompanionObject_instance;
-
- function IntCompanionObject_getInstance() {
- if (IntCompanionObject_instance == null)
- new IntCompanionObject();
- return IntCompanionObject_instance;
- }
-
- function FloatCompanionObject() {
- FloatCompanionObject_instance = this;
- this.MIN_VALUE = 1.4E-45;
- this.MAX_VALUE = 3.4028235E38;
- this.POSITIVE_INFINITY = Infinity;
- this.NEGATIVE_INFINITY = -Infinity;
- this.NaN = NaN;
- this.SIZE_BYTES = 4;
- this.SIZE_BITS = 32;
- }
-
- protoOf(FloatCompanionObject).get_MIN_VALUE_7nmmor_k$ = function () {
- return this.MIN_VALUE;
- };
- protoOf(FloatCompanionObject).get_MAX_VALUE_54a9lf_k$ = function () {
- return this.MAX_VALUE;
- };
- protoOf(FloatCompanionObject).get_POSITIVE_INFINITY_yq30fv_k$ = function () {
- return this.POSITIVE_INFINITY;
- };
- protoOf(FloatCompanionObject).get_NEGATIVE_INFINITY_e9bp9z_k$ = function () {
- return this.NEGATIVE_INFINITY;
- };
- protoOf(FloatCompanionObject).get_NaN_18jnv2_k$ = function () {
- return this.NaN;
- };
- protoOf(FloatCompanionObject).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES;
- };
- protoOf(FloatCompanionObject).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS;
- };
- var FloatCompanionObject_instance;
-
- function FloatCompanionObject_getInstance() {
- if (FloatCompanionObject_instance == null)
- new FloatCompanionObject();
- return FloatCompanionObject_instance;
- }
-
- function DoubleCompanionObject() {
- DoubleCompanionObject_instance = this;
- this.MIN_VALUE = 4.9E-324;
- this.MAX_VALUE = 1.7976931348623157E308;
- this.POSITIVE_INFINITY = Infinity;
- this.NEGATIVE_INFINITY = -Infinity;
- this.NaN = NaN;
- this.SIZE_BYTES = 8;
- this.SIZE_BITS = 64;
- }
-
- protoOf(DoubleCompanionObject).get_MIN_VALUE_7nmmor_k$ = function () {
- return this.MIN_VALUE;
- };
- protoOf(DoubleCompanionObject).get_MAX_VALUE_54a9lf_k$ = function () {
- return this.MAX_VALUE;
- };
- protoOf(DoubleCompanionObject).get_POSITIVE_INFINITY_yq30fv_k$ = function () {
- return this.POSITIVE_INFINITY;
- };
- protoOf(DoubleCompanionObject).get_NEGATIVE_INFINITY_e9bp9z_k$ = function () {
- return this.NEGATIVE_INFINITY;
- };
- protoOf(DoubleCompanionObject).get_NaN_18jnv2_k$ = function () {
- return this.NaN;
- };
- protoOf(DoubleCompanionObject).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES;
- };
- protoOf(DoubleCompanionObject).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS;
- };
- var DoubleCompanionObject_instance;
-
- function DoubleCompanionObject_getInstance() {
- if (DoubleCompanionObject_instance == null)
- new DoubleCompanionObject();
- return DoubleCompanionObject_instance;
- }
-
- function StringCompanionObject() {
- StringCompanionObject_instance = this;
- }
-
- var StringCompanionObject_instance;
-
- function StringCompanionObject_getInstance() {
- if (StringCompanionObject_instance == null)
- new StringCompanionObject();
- return StringCompanionObject_instance;
- }
-
- function BooleanCompanionObject() {
- BooleanCompanionObject_instance = this;
- }
-
- var BooleanCompanionObject_instance;
-
- function BooleanCompanionObject_getInstance() {
- if (BooleanCompanionObject_instance == null)
- new BooleanCompanionObject();
- return BooleanCompanionObject_instance;
- }
-
- function AutoCloseable() {
- }
-
- function Comparator() {
- }
-
- function isNaN_0(_this__u8e3s4) {
- return !(_this__u8e3s4 === _this__u8e3s4);
- }
-
- function countTrailingZeroBits(_this__u8e3s4) {
- var low = _this__u8e3s4.get_low_18j191_k$();
- return low === 0 ? IntCompanionObject_getInstance().get_SIZE_BITS_7qhjj9_k$() + countTrailingZeroBits_0(_this__u8e3s4.get_high_wonai3_k$()) | 0 : countTrailingZeroBits_0(low);
- }
-
- function countLeadingZeroBits(_this__u8e3s4) {
- return clz32(_this__u8e3s4);
- }
-
- function countTrailingZeroBits_0(_this__u8e3s4) {
- var tmp = IntCompanionObject_getInstance().get_SIZE_BITS_7qhjj9_k$();
- // Inline function 'kotlin.countLeadingZeroBits' call
- var this_0 = ~(_this__u8e3s4 | (-_this__u8e3s4 | 0));
- return tmp - clz32(this_0) | 0;
- }
-
- function takeHighestOneBit(_this__u8e3s4) {
- var tmp;
- if (_this__u8e3s4 === 0) {
- tmp = 0;
- } else {
- var tmp_0 = IntCompanionObject_getInstance().get_SIZE_BITS_7qhjj9_k$() - 1 | 0;
- // Inline function 'kotlin.countLeadingZeroBits' call
- tmp = 1 << (tmp_0 - clz32(_this__u8e3s4) | 0);
- }
- return tmp;
- }
-
- function JsName(name) {
- this.name_1 = name;
- }
-
- protoOf(JsName).get_name_woqyms_k$ = function () {
- return this.name_1;
- };
- protoOf(JsName).equals = function (other) {
- if (!(other instanceof JsName))
- return false;
- var tmp0_other_with_cast = other instanceof JsName ? other : THROW_CCE();
- if (!(this.name_1 === tmp0_other_with_cast.name_1))
- return false;
- return true;
- };
- protoOf(JsName).hashCode = function () {
- return imul(getStringHashCode('name'), 127) ^ getStringHashCode(this.name_1);
- };
- protoOf(JsName).toString = function () {
- return '@kotlin.js.JsName(name=' + this.name_1 + ')';
- };
-
- function JsQualifier(value) {
- this.value_1 = value;
- }
-
- protoOf(JsQualifier).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- protoOf(JsQualifier).equals = function (other) {
- if (!(other instanceof JsQualifier))
- return false;
- var tmp0_other_with_cast = other instanceof JsQualifier ? other : THROW_CCE();
- if (!(this.value_1 === tmp0_other_with_cast.value_1))
- return false;
- return true;
- };
- protoOf(JsQualifier).hashCode = function () {
- return imul(getStringHashCode('value'), 127) ^ getStringHashCode(this.value_1);
- };
- protoOf(JsQualifier).toString = function () {
- return '@kotlin.js.JsQualifier(value=' + this.value_1 + ')';
- };
-
- function JsFileName(name) {
- this.name_1 = name;
- }
-
- protoOf(JsFileName).get_name_woqyms_k$ = function () {
- return this.name_1;
- };
- protoOf(JsFileName).equals = function (other) {
- if (!(other instanceof JsFileName))
- return false;
- var tmp0_other_with_cast = other instanceof JsFileName ? other : THROW_CCE();
- if (!(this.name_1 === tmp0_other_with_cast.name_1))
- return false;
- return true;
- };
- protoOf(JsFileName).hashCode = function () {
- return imul(getStringHashCode('name'), 127) ^ getStringHashCode(this.name_1);
- };
- protoOf(JsFileName).toString = function () {
- return '@kotlin.js.JsFileName(name=' + this.name_1 + ')';
- };
-
- function EagerInitialization() {
- }
-
- protoOf(EagerInitialization).equals = function (other) {
- if (!(other instanceof EagerInitialization))
- return false;
- other instanceof EagerInitialization || THROW_CCE();
- return true;
- };
- protoOf(EagerInitialization).hashCode = function () {
- return 0;
- };
- protoOf(EagerInitialization).toString = function () {
- return '@kotlin.js.EagerInitialization()';
- };
-
- function collectionToArray(collection) {
- return collectionToArrayCommonImpl(collection);
- }
-
- function collectionToArray_0(collection, array) {
- return collectionToArrayCommonImpl_0(collection, array);
- }
-
- function terminateCollectionToArray(collectionSize, array) {
- return array;
- }
-
- function arrayOfNulls_0(reference, size) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.arrayOfNulls' call
- // Inline function 'kotlin.js.asDynamic' call
- return fillArrayVal(Array(size), null);
- }
-
- function listOf(element) {
- return arrayListOf([element]);
- }
-
- function toTypedArray(_this__u8e3s4) {
- return copyToArray(_this__u8e3s4);
- }
-
- function buildListInternal(builderAction) {
- // Inline function 'kotlin.apply' call
- var this_0 = ArrayList_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- builderAction(this_0);
- return this_0.build_1k0s4u_k$();
- }
-
- function mapCapacity(expectedSize) {
- return expectedSize;
- }
-
- function checkIndexOverflow(index) {
- if (index < 0) {
- throwIndexOverflow();
- }
- return index;
- }
-
- function sortWith_0(_this__u8e3s4, comparator) {
- collectionsSort(_this__u8e3s4, comparator);
- }
-
- function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
- Companion_getInstance_5().checkRangeIndexes_a38xj7_k$(startIndex, endIndex, source.length);
- var rangeSize = endIndex - startIndex | 0;
- Companion_getInstance_5().checkRangeIndexes_a38xj7_k$(destinationOffset, destinationOffset + rangeSize | 0, destination.length);
- if (isView(destination) ? isView(source) : false) {
- // Inline function 'kotlin.js.asDynamic' call
- var subrange = source.subarray(startIndex, endIndex);
- // Inline function 'kotlin.js.asDynamic' call
- destination.set(subrange, destinationOffset);
- } else {
- if (!(source === destination) ? true : destinationOffset <= startIndex) {
- var inductionVariable = 0;
- if (inductionVariable < rangeSize)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- destination[destinationOffset + index | 0] = source[startIndex + index | 0];
- }
- while (inductionVariable < rangeSize);
- } else {
- var inductionVariable_0 = rangeSize - 1 | 0;
- if (0 <= inductionVariable_0)
- do {
- var index_0 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + -1 | 0;
- destination[destinationOffset + index_0 | 0] = source[startIndex + index_0 | 0];
- }
- while (0 <= inductionVariable_0);
- }
- }
- }
-
- function mapOf(pair) {
- return hashMapOf([pair]);
- }
-
- function toSingletonMapOrSelf(_this__u8e3s4) {
- return _this__u8e3s4;
- }
-
- function copyToArray(collection) {
- var tmp;
- // Inline function 'kotlin.js.asDynamic' call
- if (collection.toArray !== undefined) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = collection.toArray();
- } else {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = collectionToArray(collection);
- }
- return tmp;
- }
-
- function collectionsSort(list, comparator) {
- if (list.get_size_woubt6_k$() <= 1)
- return Unit_getInstance();
- var array = copyToArray(list);
- sortArrayWith(array, comparator);
- var inductionVariable = 0;
- var last = array.length;
- if (inductionVariable < last)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- list.set_82063s_k$(i, array[i]);
- }
- while (inductionVariable < last);
- }
-
- function copyToArrayOfAny(_this__u8e3s4, isVarargs) {
- var tmp;
- if (isVarargs) {
- tmp = _this__u8e3s4;
- } else {
- // Inline function 'kotlin.collections.copyOf' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = _this__u8e3s4.slice();
- }
- return tmp;
- }
-
- function setOf(element) {
- return hashSetOf([element]);
- }
-
- function checkCountOverflow(count) {
- if (count < 0) {
- throwCountOverflow();
- }
- return count;
- }
-
- function AbstractMutableCollection$removeAll$lambda($elements) {
- return function (it) {
- return $elements.contains_aljjnj_k$(it);
- };
- }
-
- function AbstractMutableCollection$retainAll$lambda($elements) {
- return function (it) {
- return !$elements.contains_aljjnj_k$(it);
- };
- }
-
- function AbstractMutableCollection() {
- AbstractCollection.call(this);
- }
-
- protoOf(AbstractMutableCollection).remove_cedx0m_k$ = function (element) {
- this.checkIsMutable_h5js84_k$();
- var iterator = this.iterator_jk1svi_k$();
- while (iterator.hasNext_bitz1p_k$()) {
- if (equals(iterator.next_20eer_k$(), element)) {
- iterator.remove_ldkf9o_k$();
- return true;
- }
- }
- return false;
- };
- protoOf(AbstractMutableCollection).addAll_4lagoh_k$ = function (elements) {
- this.checkIsMutable_h5js84_k$();
- var modified = false;
- var tmp0_iterator = elements.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- if (this.add_utx5q5_k$(element))
- modified = true;
- }
- return modified;
- };
- protoOf(AbstractMutableCollection).removeAll_y0z8pe_k$ = function (elements) {
- this.checkIsMutable_h5js84_k$();
- var tmp = isInterface(this, MutableIterable) ? this : THROW_CCE();
- return removeAll_0(tmp, AbstractMutableCollection$removeAll$lambda(elements));
- };
- protoOf(AbstractMutableCollection).retainAll_9fhiib_k$ = function (elements) {
- this.checkIsMutable_h5js84_k$();
- var tmp = isInterface(this, MutableIterable) ? this : THROW_CCE();
- return removeAll_0(tmp, AbstractMutableCollection$retainAll$lambda(elements));
- };
- protoOf(AbstractMutableCollection).clear_j9egeb_k$ = function () {
- this.checkIsMutable_h5js84_k$();
- var iterator = this.iterator_jk1svi_k$();
- while (iterator.hasNext_bitz1p_k$()) {
- iterator.next_20eer_k$();
- iterator.remove_ldkf9o_k$();
- }
- };
- protoOf(AbstractMutableCollection).toJSON = function () {
- return this.toArray();
- };
- protoOf(AbstractMutableCollection).checkIsMutable_h5js84_k$ = function () {
- };
-
- function _get_list__d9tsa5($this) {
- return $this.list_1;
- }
-
- function _get_fromIndex__987b49($this) {
- return $this.fromIndex_1;
- }
-
- function _set__size__bau3qd($this, _set____db54di) {
- $this._size_1 = _set____db54di;
- }
-
- function _get__size__kqacr3($this) {
- return $this._size_1;
- }
-
- function IteratorImpl($outer) {
- this.$this_1 = $outer;
- this.index_1 = 0;
- this.last_1 = -1;
- }
-
- protoOf(IteratorImpl).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(IteratorImpl).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(IteratorImpl).set_last_hgfygb_k$ = function (_set____db54di) {
- this.last_1 = _set____db54di;
- };
- protoOf(IteratorImpl).get_last_wopotb_k$ = function () {
- return this.last_1;
- };
- protoOf(IteratorImpl).hasNext_bitz1p_k$ = function () {
- return this.index_1 < this.$this_1.get_size_woubt6_k$();
- };
- protoOf(IteratorImpl).next_20eer_k$ = function () {
- if (!this.hasNext_bitz1p_k$())
- throw NoSuchElementException_init_$Create$();
- var tmp = this;
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp.last_1 = tmp1;
- return this.$this_1.get_c1px32_k$(this.last_1);
- };
- protoOf(IteratorImpl).remove_ldkf9o_k$ = function () {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!(this.last_1 === -1)) {
- // Inline function 'kotlin.collections.IteratorImpl.remove.' call
- var message = 'Call next() or previous() before removing element from the iterator.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- this.$this_1.removeAt_6niowx_k$(this.last_1);
- this.index_1 = this.last_1;
- this.last_1 = -1;
- };
-
- function ListIteratorImpl($outer, index) {
- this.$this_2 = $outer;
- IteratorImpl.call(this, $outer);
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.$this_2.get_size_woubt6_k$());
- this.index_1 = index;
- }
-
- protoOf(ListIteratorImpl).hasPrevious_qh0629_k$ = function () {
- return this.index_1 > 0;
- };
- protoOf(ListIteratorImpl).nextIndex_jshxun_k$ = function () {
- return this.index_1;
- };
- protoOf(ListIteratorImpl).previous_l2dfd5_k$ = function () {
- if (!this.hasPrevious_qh0629_k$())
- throw NoSuchElementException_init_$Create$();
- var tmp = this;
- this.index_1 = this.index_1 - 1 | 0;
- tmp.last_1 = this.index_1;
- return this.$this_2.get_c1px32_k$(this.last_1);
- };
- protoOf(ListIteratorImpl).previousIndex_4qtyw5_k$ = function () {
- return this.index_1 - 1 | 0;
- };
- protoOf(ListIteratorImpl).add_lsk6ib_k$ = function (element) {
- this.$this_2.add_dl6gt3_k$(this.index_1, element);
- this.index_1 = this.index_1 + 1 | 0;
- this.last_1 = -1;
- };
- protoOf(ListIteratorImpl).add_jcyd1a_k$ = function (element) {
- return this.add_lsk6ib_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(ListIteratorImpl).set_fh2j0_k$ = function (element) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!(this.last_1 === -1)) {
- // Inline function 'kotlin.collections.ListIteratorImpl.set.' call
- var message = 'Call next() or previous() before updating element value with the iterator.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- this.$this_2.set_82063s_k$(this.last_1, element);
- };
- protoOf(ListIteratorImpl).set_tg4fwj_k$ = function (element) {
- return this.set_fh2j0_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
-
- function SubList(list, fromIndex, toIndex) {
- AbstractMutableList.call(this);
- this.list_1 = list;
- this.fromIndex_1 = fromIndex;
- this._size_1 = 0;
- Companion_getInstance_5().checkRangeIndexes_a38xj7_k$(this.fromIndex_1, toIndex, this.list_1.get_size_woubt6_k$());
- this._size_1 = toIndex - this.fromIndex_1 | 0;
- }
-
- protoOf(SubList).add_dl6gt3_k$ = function (index, element) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this._size_1);
- this.list_1.add_dl6gt3_k$(this.fromIndex_1 + index | 0, element);
- this._size_1 = this._size_1 + 1 | 0;
- };
- protoOf(SubList).get_c1px32_k$ = function (index) {
- Companion_getInstance_5().checkElementIndex_r3t1bm_k$(index, this._size_1);
- return this.list_1.get_c1px32_k$(this.fromIndex_1 + index | 0);
- };
- protoOf(SubList).removeAt_6niowx_k$ = function (index) {
- Companion_getInstance_5().checkElementIndex_r3t1bm_k$(index, this._size_1);
- var result = this.list_1.removeAt_6niowx_k$(this.fromIndex_1 + index | 0);
- this._size_1 = this._size_1 - 1 | 0;
- return result;
- };
- protoOf(SubList).set_82063s_k$ = function (index, element) {
- Companion_getInstance_5().checkElementIndex_r3t1bm_k$(index, this._size_1);
- return this.list_1.set_82063s_k$(this.fromIndex_1 + index | 0, element);
- };
- protoOf(SubList).get_size_woubt6_k$ = function () {
- return this._size_1;
- };
- protoOf(SubList).checkIsMutable_h5js84_k$ = function () {
- return this.list_1.checkIsMutable_h5js84_k$();
- };
-
- function AbstractMutableList$removeAll$lambda($elements) {
- return function (it) {
- return $elements.contains_aljjnj_k$(it);
- };
- }
-
- function AbstractMutableList$retainAll$lambda($elements) {
- return function (it) {
- return !$elements.contains_aljjnj_k$(it);
- };
- }
-
- function AbstractMutableList() {
- AbstractMutableCollection.call(this);
- this.modCount_1 = 0;
- }
-
- protoOf(AbstractMutableList).set_modCount_dsd9nm_k$ = function (_set____db54di) {
- this.modCount_1 = _set____db54di;
- };
- protoOf(AbstractMutableList).get_modCount_sgzjli_k$ = function () {
- return this.modCount_1;
- };
- protoOf(AbstractMutableList).add_utx5q5_k$ = function (element) {
- this.checkIsMutable_h5js84_k$();
- this.add_dl6gt3_k$(this.get_size_woubt6_k$(), element);
- return true;
- };
- protoOf(AbstractMutableList).addAll_lxodh3_k$ = function (index, elements) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.get_size_woubt6_k$());
- this.checkIsMutable_h5js84_k$();
- var _index = index;
- var changed = false;
- var tmp0_iterator = elements.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var e = tmp0_iterator.next_20eer_k$();
- var tmp1 = _index;
- _index = tmp1 + 1 | 0;
- this.add_dl6gt3_k$(tmp1, e);
- changed = true;
- }
- return changed;
- };
- protoOf(AbstractMutableList).clear_j9egeb_k$ = function () {
- this.checkIsMutable_h5js84_k$();
- this.removeRange_sm1kzt_k$(0, this.get_size_woubt6_k$());
- };
- protoOf(AbstractMutableList).removeAll_y0z8pe_k$ = function (elements) {
- this.checkIsMutable_h5js84_k$();
- return removeAll(this, AbstractMutableList$removeAll$lambda(elements));
- };
- protoOf(AbstractMutableList).retainAll_9fhiib_k$ = function (elements) {
- this.checkIsMutable_h5js84_k$();
- return removeAll(this, AbstractMutableList$retainAll$lambda(elements));
- };
- protoOf(AbstractMutableList).iterator_jk1svi_k$ = function () {
- return new IteratorImpl(this);
- };
- protoOf(AbstractMutableList).contains_aljjnj_k$ = function (element) {
- return this.indexOf_si1fv9_k$(element) >= 0;
- };
- protoOf(AbstractMutableList).indexOf_si1fv9_k$ = function (element) {
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.collections.indexOfFirst' call
- var index = 0;
- var tmp0_iterator = this.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.AbstractMutableList.indexOf.' call
- if (equals(item, element)) {
- tmp$ret$1 = index;
- break $l$block;
- }
- index = index + 1 | 0;
- }
- tmp$ret$1 = -1;
- }
- return tmp$ret$1;
- };
- protoOf(AbstractMutableList).lastIndexOf_v2p1fv_k$ = function (element) {
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.collections.indexOfLast' call
- var iterator = this.listIterator_70e65o_k$(this.get_size_woubt6_k$());
- while (iterator.hasPrevious_qh0629_k$()) {
- // Inline function 'kotlin.collections.AbstractMutableList.lastIndexOf.' call
- var it = iterator.previous_l2dfd5_k$();
- if (equals(it, element)) {
- tmp$ret$1 = iterator.nextIndex_jshxun_k$();
- break $l$block;
- }
- }
- tmp$ret$1 = -1;
- }
- return tmp$ret$1;
- };
- protoOf(AbstractMutableList).listIterator_xjshxw_k$ = function () {
- return this.listIterator_70e65o_k$(0);
- };
- protoOf(AbstractMutableList).listIterator_70e65o_k$ = function (index) {
- return new ListIteratorImpl(this, index);
- };
- protoOf(AbstractMutableList).subList_xle3r2_k$ = function (fromIndex, toIndex) {
- return new SubList(this, fromIndex, toIndex);
- };
- protoOf(AbstractMutableList).removeRange_sm1kzt_k$ = function (fromIndex, toIndex) {
- var iterator = this.listIterator_70e65o_k$(fromIndex);
- // Inline function 'kotlin.repeat' call
- var times = toIndex - fromIndex | 0;
- // Inline function 'kotlin.contracts.contract' call
- var inductionVariable = 0;
- if (inductionVariable < times)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.collections.AbstractMutableList.removeRange.' call
- iterator.next_20eer_k$();
- iterator.remove_ldkf9o_k$();
- }
- while (inductionVariable < times);
- };
- protoOf(AbstractMutableList).equals = function (other) {
- if (other === this)
- return true;
- if (!(!(other == null) ? isInterface(other, List) : false))
- return false;
- return Companion_getInstance_5().orderedEquals_mgd3rc_k$(this, other);
- };
- protoOf(AbstractMutableList).hashCode = function () {
- return Companion_getInstance_5().orderedHashCode_s560y_k$(this);
- };
-
- function _set_keysView__j45w72($this, _set____db54di) {
- $this.keysView_1 = _set____db54di;
- }
-
- function _get_keysView__6b9kqa($this) {
- return $this.keysView_1;
- }
-
- function _set_valuesView__p07d68($this, _set____db54di) {
- $this.valuesView_1 = _set____db54di;
- }
-
- function _get_valuesView__uyo3no($this) {
- return $this.valuesView_1;
- }
-
- function AbstractMutableMap() {
- AbstractMap.call(this);
- this.keysView_1 = null;
- this.valuesView_1 = null;
- }
-
- protoOf(AbstractMutableMap).createKeysView_nu3fmd_k$ = function () {
- return new HashMapKeysDefault(this);
- };
- protoOf(AbstractMutableMap).createValuesView_6r85x9_k$ = function () {
- return new HashMapValuesDefault(this);
- };
- protoOf(AbstractMutableMap).get_keys_wop4xp_k$ = function () {
- var tmp0_elvis_lhs = this.keysView_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- // Inline function 'kotlin.also' call
- var this_0 = this.createKeysView_nu3fmd_k$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.AbstractMutableMap..' call
- this.keysView_1 = this_0;
- tmp = this_0;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- return tmp;
- };
- protoOf(AbstractMutableMap).get_values_ksazhn_k$ = function () {
- var tmp0_elvis_lhs = this.valuesView_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- // Inline function 'kotlin.also' call
- var this_0 = this.createValuesView_6r85x9_k$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.AbstractMutableMap..' call
- this.valuesView_1 = this_0;
- tmp = this_0;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- return tmp;
- };
- protoOf(AbstractMutableMap).clear_j9egeb_k$ = function () {
- this.get_entries_p20ztl_k$().clear_j9egeb_k$();
- };
- protoOf(AbstractMutableMap).putAll_wgg6cj_k$ = function (from) {
- this.checkIsMutable_h5js84_k$();
- // Inline function 'kotlin.collections.iterator' call
- var tmp0_iterator = from.get_entries_p20ztl_k$().iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var tmp1_loop_parameter = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.component1' call
- var key = tmp1_loop_parameter.get_key_18j28a_k$();
- // Inline function 'kotlin.collections.component2' call
- var value = tmp1_loop_parameter.get_value_j01efc_k$();
- this.put_4fpzoq_k$(key, value);
- }
- };
- protoOf(AbstractMutableMap).remove_gppy8k_k$ = function (key) {
- this.checkIsMutable_h5js84_k$();
- var iter = this.get_entries_p20ztl_k$().iterator_jk1svi_k$();
- while (iter.hasNext_bitz1p_k$()) {
- var entry = iter.next_20eer_k$();
- var k = entry.get_key_18j28a_k$();
- if (equals(key, k)) {
- var value = entry.get_value_j01efc_k$();
- iter.remove_ldkf9o_k$();
- return value;
- }
- }
- return null;
- };
- protoOf(AbstractMutableMap).checkIsMutable_h5js84_k$ = function () {
- };
-
- function AbstractMutableSet() {
- AbstractMutableCollection.call(this);
- }
-
- protoOf(AbstractMutableSet).equals = function (other) {
- if (other === this)
- return true;
- if (!(!(other == null) ? isInterface(other, Set) : false))
- return false;
- return Companion_getInstance_7().setEquals_3t788x_k$(this, other);
- };
- protoOf(AbstractMutableSet).hashCode = function () {
- return Companion_getInstance_7().unorderedHashCode_3jmy63_k$(this);
- };
-
- function arrayOfUninitializedElements(capacity) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(capacity >= 0)) {
- // Inline function 'kotlin.collections.arrayOfUninitializedElements.' call
- var message = 'capacity must be non-negative.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.arrayOfNulls' call
- // Inline function 'kotlin.js.asDynamic' call
- return fillArrayVal(Array(capacity), null);
- }
-
- function resetAt(_this__u8e3s4, index) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- _this__u8e3s4[index] = null;
- }
-
- function resetRange(_this__u8e3s4, fromIndex, toIndex) {
- // Inline function 'kotlin.js.nativeFill' call
- // Inline function 'kotlin.js.asDynamic' call
- _this__u8e3s4.fill(null, fromIndex, toIndex);
- }
-
- function copyOfUninitializedElements(_this__u8e3s4, newSize) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- return copyOf_3(_this__u8e3s4, newSize);
- }
-
- function _get_Empty__x4mxmk($this) {
- return $this.Empty_1;
- }
-
- function _set_array__c8isr0($this, _set____db54di) {
- $this.array_1 = _set____db54di;
- }
-
- function _get_array__jslnqg($this) {
- return $this.array_1;
- }
-
- function Companion_2() {
- Companion_instance_2 = this;
- var tmp = this;
- // Inline function 'kotlin.also' call
- var this_0 = ArrayList_init_$Create$_0(0);
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.Companion.Empty.' call
- this_0.isReadOnly_1 = true;
- tmp.Empty_1 = this_0;
- }
-
- var Companion_instance_2;
-
- function Companion_getInstance_2() {
- if (Companion_instance_2 == null)
- new Companion_2();
- return Companion_instance_2;
- }
-
- function _set_isReadOnly__fb15ed($this, _set____db54di) {
- $this.isReadOnly_1 = _set____db54di;
- }
-
- function _get_isReadOnly__ud9qjl($this) {
- return $this.isReadOnly_1;
- }
-
- function ArrayList_init_$Init$($this) {
- // Inline function 'kotlin.emptyArray' call
- var tmp$ret$0 = [];
- ArrayList.call($this, tmp$ret$0);
- return $this;
- }
-
- function ArrayList_init_$Create$() {
- return ArrayList_init_$Init$(objectCreate(protoOf(ArrayList)));
- }
-
- function ArrayList_init_$Init$_0(initialCapacity, $this) {
- // Inline function 'kotlin.emptyArray' call
- var tmp$ret$0 = [];
- ArrayList.call($this, tmp$ret$0);
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(initialCapacity >= 0)) {
- // Inline function 'kotlin.collections.ArrayList..' call
- var message = 'Negative initial capacity: ' + initialCapacity;
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- return $this;
- }
-
- function ArrayList_init_$Create$_0(initialCapacity) {
- return ArrayList_init_$Init$_0(initialCapacity, objectCreate(protoOf(ArrayList)));
- }
-
- function ArrayList_init_$Init$_1(elements, $this) {
- // Inline function 'kotlin.collections.toTypedArray' call
- var tmp$ret$0 = copyToArray(elements);
- ArrayList.call($this, tmp$ret$0);
- return $this;
- }
-
- function ArrayList_init_$Create$_1(elements) {
- return ArrayList_init_$Init$_1(elements, objectCreate(protoOf(ArrayList)));
- }
-
- function increaseLength($this, amount) {
- var previous = $this.get_size_woubt6_k$();
- // Inline function 'kotlin.js.asDynamic' call
- $this.array_1.length = $this.get_size_woubt6_k$() + amount | 0;
- return previous;
- }
-
- function rangeCheck($this, index) {
- // Inline function 'kotlin.apply' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.ArrayList.rangeCheck.' call
- Companion_getInstance_5().checkElementIndex_r3t1bm_k$(index, $this.get_size_woubt6_k$());
- return index;
- }
-
- function insertionRangeCheck($this, index) {
- // Inline function 'kotlin.apply' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.ArrayList.insertionRangeCheck.' call
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, $this.get_size_woubt6_k$());
- return index;
- }
-
- function ArrayList(array) {
- Companion_getInstance_2();
- AbstractMutableList.call(this);
- this.array_1 = array;
- this.isReadOnly_1 = false;
- }
-
- protoOf(ArrayList).build_1k0s4u_k$ = function () {
- this.checkIsMutable_h5js84_k$();
- this.isReadOnly_1 = true;
- return this.get_size_woubt6_k$() > 0 ? this : Companion_getInstance_2().Empty_1;
- };
- protoOf(ArrayList).trimToSize_dmxq0i_k$ = function () {
- };
- protoOf(ArrayList).ensureCapacity_wr7980_k$ = function (minCapacity) {
- };
- protoOf(ArrayList).get_size_woubt6_k$ = function () {
- return this.array_1.length;
- };
- protoOf(ArrayList).get_c1px32_k$ = function (index) {
- var tmp = this.array_1[rangeCheck(this, index)];
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
- };
- protoOf(ArrayList).set_82063s_k$ = function (index, element) {
- this.checkIsMutable_h5js84_k$();
- rangeCheck(this, index);
- // Inline function 'kotlin.apply' call
- var this_0 = this.array_1[index];
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.ArrayList.set.' call
- this.array_1[index] = element;
- var tmp = this_0;
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
- };
- protoOf(ArrayList).add_utx5q5_k$ = function (element) {
- this.checkIsMutable_h5js84_k$();
- // Inline function 'kotlin.js.asDynamic' call
- this.array_1.push(element);
- var tmp1 = this.get_modCount_sgzjli_k$();
- this.set_modCount_dsd9nm_k$(tmp1 + 1 | 0);
- return true;
- };
- protoOf(ArrayList).add_dl6gt3_k$ = function (index, element) {
- this.checkIsMutable_h5js84_k$();
- // Inline function 'kotlin.js.asDynamic' call
- this.array_1.splice(insertionRangeCheck(this, index), 0, element);
- var tmp1 = this.get_modCount_sgzjli_k$();
- this.set_modCount_dsd9nm_k$(tmp1 + 1 | 0);
- };
- protoOf(ArrayList).addAll_4lagoh_k$ = function (elements) {
- this.checkIsMutable_h5js84_k$();
- if (elements.isEmpty_y1axqb_k$())
- return false;
- var offset = increaseLength(this, elements.get_size_woubt6_k$());
- // Inline function 'kotlin.collections.forEachIndexed' call
- var index = 0;
- var tmp0_iterator = elements.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.ArrayList.addAll.' call
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- var index_0 = checkIndexOverflow(tmp1);
- this.array_1[offset + index_0 | 0] = item;
- }
- var tmp1_0 = this.get_modCount_sgzjli_k$();
- this.set_modCount_dsd9nm_k$(tmp1_0 + 1 | 0);
- return true;
- };
- protoOf(ArrayList).addAll_lxodh3_k$ = function (index, elements) {
- this.checkIsMutable_h5js84_k$();
- insertionRangeCheck(this, index);
- if (index === this.get_size_woubt6_k$())
- return this.addAll_4lagoh_k$(elements);
- if (elements.isEmpty_y1axqb_k$())
- return false;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tail = this.array_1.splice(index);
- this.addAll_4lagoh_k$(elements);
- var offset = increaseLength(this, tail.length);
- // Inline function 'kotlin.repeat' call
- var times = tail.length;
- // Inline function 'kotlin.contracts.contract' call
- var inductionVariable = 0;
- if (inductionVariable < times)
- do {
- var index_0 = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.collections.ArrayList.addAll.' call
- this.array_1[offset + index_0 | 0] = tail[index_0];
- }
- while (inductionVariable < times);
- var tmp1 = this.get_modCount_sgzjli_k$();
- this.set_modCount_dsd9nm_k$(tmp1 + 1 | 0);
- return true;
- };
- protoOf(ArrayList).removeAt_6niowx_k$ = function (index) {
- this.checkIsMutable_h5js84_k$();
- rangeCheck(this, index);
- var tmp1 = this.get_modCount_sgzjli_k$();
- this.set_modCount_dsd9nm_k$(tmp1 + 1 | 0);
- var tmp;
- if (index === get_lastIndex_5(this)) {
- // Inline function 'kotlin.js.asDynamic' call
- tmp = this.array_1.pop();
- } else {
- // Inline function 'kotlin.js.asDynamic' call
- tmp = this.array_1.splice(index, 1)[0];
- }
- return tmp;
- };
- protoOf(ArrayList).remove_cedx0m_k$ = function (element) {
- this.checkIsMutable_h5js84_k$();
- var inductionVariable = 0;
- var last = this.array_1.length - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (equals(this.array_1[index], element)) {
- // Inline function 'kotlin.js.asDynamic' call
- this.array_1.splice(index, 1);
- var tmp2 = this.get_modCount_sgzjli_k$();
- this.set_modCount_dsd9nm_k$(tmp2 + 1 | 0);
- return true;
- }
- }
- while (inductionVariable <= last);
- return false;
- };
- protoOf(ArrayList).removeRange_sm1kzt_k$ = function (fromIndex, toIndex) {
- this.checkIsMutable_h5js84_k$();
- var tmp1 = this.get_modCount_sgzjli_k$();
- this.set_modCount_dsd9nm_k$(tmp1 + 1 | 0);
- // Inline function 'kotlin.js.asDynamic' call
- this.array_1.splice(fromIndex, toIndex - fromIndex | 0);
- };
- protoOf(ArrayList).clear_j9egeb_k$ = function () {
- this.checkIsMutable_h5js84_k$();
- var tmp = this;
- // Inline function 'kotlin.emptyArray' call
- tmp.array_1 = [];
- var tmp1 = this.get_modCount_sgzjli_k$();
- this.set_modCount_dsd9nm_k$(tmp1 + 1 | 0);
- };
- protoOf(ArrayList).indexOf_si1fv9_k$ = function (element) {
- return indexOf(this.array_1, element);
- };
- protoOf(ArrayList).lastIndexOf_v2p1fv_k$ = function (element) {
- return lastIndexOf(this.array_1, element);
- };
- protoOf(ArrayList).toString = function () {
- return arrayToString(this.array_1);
- };
- protoOf(ArrayList).toArray_6cwqme_k$ = function (array) {
- if (array.length < this.get_size_woubt6_k$()) {
- var tmp = this.toArray_jjyjqa_k$();
- return isArray(tmp) ? tmp : THROW_CCE();
- }
- // Inline function 'kotlin.collections.copyInto' call
- var tmp_0 = this.array_1;
- var this_0 = isArray(tmp_0) ? tmp_0 : THROW_CCE();
- var endIndex = this_0.length;
- arrayCopy(this_0, array, 0, 0, endIndex);
- return terminateCollectionToArray(this.get_size_woubt6_k$(), array);
- };
- protoOf(ArrayList).toArray_jjyjqa_k$ = function () {
- return [].slice.call(this.array_1);
- };
- protoOf(ArrayList).toArray = function () {
- return this.toArray_jjyjqa_k$();
- };
- protoOf(ArrayList).checkIsMutable_h5js84_k$ = function () {
- if (this.isReadOnly_1)
- throw UnsupportedOperationException_init_$Create$();
- };
-
- function set__stableSortingIsSupported(_set____db54di) {
- _stableSortingIsSupported = _set____db54di;
- }
-
- function get__stableSortingIsSupported() {
- return _stableSortingIsSupported;
- }
-
- var _stableSortingIsSupported;
-
- function sortArrayWith(array, comparator) {
- if (getStableSortingIsSupported()) {
- var comparison = sortArrayWith$lambda(comparator);
- // Inline function 'kotlin.js.asDynamic' call
- array.sort(comparison);
- } else {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- mergeSort(array, 0, get_lastIndex(array), comparator);
- }
- }
-
- function getStableSortingIsSupported() {
- var tmp0_safe_receiver = _stableSortingIsSupported;
- if (tmp0_safe_receiver == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- return tmp0_safe_receiver;
- }
- _stableSortingIsSupported = false;
- // Inline function 'kotlin.js.unsafeCast' call
- var array = [];
- var inductionVariable = 0;
- if (inductionVariable < 600)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.js.asDynamic' call
- array.push(index);
- }
- while (inductionVariable < 600);
- var comparison = getStableSortingIsSupported$lambda;
- // Inline function 'kotlin.js.asDynamic' call
- array.sort(comparison);
- var inductionVariable_0 = 1;
- var last = array.length;
- if (inductionVariable_0 < last)
- do {
- var index_0 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- var a = array[index_0 - 1 | 0];
- var b = array[index_0];
- if ((a & 3) === (b & 3) ? a >= b : false)
- return false;
- }
- while (inductionVariable_0 < last);
- _stableSortingIsSupported = true;
- return true;
- }
-
- function mergeSort(array, start, endInclusive, comparator) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.arrayOfNulls' call
- var size = array.length;
- // Inline function 'kotlin.js.asDynamic' call
- var buffer = fillArrayVal(Array(size), null);
- var result = mergeSort_0(array, buffer, start, endInclusive, comparator);
- if (!(result === array)) {
- var inductionVariable = start;
- if (inductionVariable <= endInclusive)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- array[i] = result[i];
- }
- while (!(i === endInclusive));
- }
- }
-
- function mergeSort_0(array, buffer, start, end, comparator) {
- if (start === end) {
- return array;
- }
- var median = (start + end | 0) / 2 | 0;
- var left = mergeSort_0(array, buffer, start, median, comparator);
- var right = mergeSort_0(array, buffer, median + 1 | 0, end, comparator);
- var target = left === buffer ? array : buffer;
- var leftIndex = start;
- var rightIndex = median + 1 | 0;
- var inductionVariable = start;
- if (inductionVariable <= end)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (leftIndex <= median ? rightIndex <= end : false) {
- var leftValue = left[leftIndex];
- var rightValue = right[rightIndex];
- if (comparator.compare(leftValue, rightValue) <= 0) {
- target[i] = leftValue;
- leftIndex = leftIndex + 1 | 0;
- } else {
- target[i] = rightValue;
- rightIndex = rightIndex + 1 | 0;
- }
- } else if (leftIndex <= median) {
- target[i] = left[leftIndex];
- leftIndex = leftIndex + 1 | 0;
- } else {
- target[i] = right[rightIndex];
- rightIndex = rightIndex + 1 | 0;
- }
- }
- while (!(i === end));
- return target;
- }
-
- function sortArrayWith$lambda($comparator) {
- return function (a, b) {
- return $comparator.compare(a, b);
- };
- }
-
- function getStableSortingIsSupported$lambda(a, b) {
- return (a & 3) - (b & 3) | 0;
- }
-
- function HashMap_init_$Init$(internalMap, $this) {
- AbstractMutableMap.call($this);
- HashMap.call($this);
- $this.internalMap_1 = internalMap;
- return $this;
- }
-
- function HashMap_init_$Create$(internalMap) {
- return HashMap_init_$Init$(internalMap, objectCreate(protoOf(HashMap)));
- }
-
- function HashMap_init_$Init$_0($this) {
- HashMap_init_$Init$(InternalHashMap_init_$Create$(), $this);
- return $this;
- }
-
- function HashMap_init_$Create$_0() {
- return HashMap_init_$Init$_0(objectCreate(protoOf(HashMap)));
- }
-
- function HashMap_init_$Init$_1(initialCapacity, loadFactor, $this) {
- HashMap_init_$Init$(InternalHashMap_init_$Create$_2(initialCapacity, loadFactor), $this);
- return $this;
- }
-
- function HashMap_init_$Create$_1(initialCapacity, loadFactor) {
- return HashMap_init_$Init$_1(initialCapacity, loadFactor, objectCreate(protoOf(HashMap)));
- }
-
- function HashMap_init_$Init$_2(initialCapacity, $this) {
- HashMap_init_$Init$_1(initialCapacity, 1.0, $this);
- return $this;
- }
-
- function HashMap_init_$Create$_2(initialCapacity) {
- return HashMap_init_$Init$_2(initialCapacity, objectCreate(protoOf(HashMap)));
- }
-
- function HashMap_init_$Init$_3(original, $this) {
- HashMap_init_$Init$(InternalHashMap_init_$Create$_1(original), $this);
- return $this;
- }
-
- function HashMap_init_$Create$_3(original) {
- return HashMap_init_$Init$_3(original, objectCreate(protoOf(HashMap)));
- }
-
- function _set_entriesView__3cvh68($this, _set____db54di) {
- $this.entriesView_1 = _set____db54di;
- }
-
- function _get_entriesView__qxip5o($this) {
- return $this.entriesView_1;
- }
-
- protoOf(HashMap).get_internalMap_kinfuy_k$ = function () {
- return this.internalMap_1;
- };
- protoOf(HashMap).clear_j9egeb_k$ = function () {
- this.internalMap_1.clear_j9egeb_k$();
- };
- protoOf(HashMap).containsKey_aw81wo_k$ = function (key) {
- return this.internalMap_1.contains_vbgn2f_k$(key);
- };
- protoOf(HashMap).containsValue_yf2ykl_k$ = function (value) {
- return this.internalMap_1.containsValue_yf2ykl_k$(value);
- };
- protoOf(HashMap).createKeysView_nu3fmd_k$ = function () {
- return new HashMapKeys(this.internalMap_1);
- };
- protoOf(HashMap).createValuesView_6r85x9_k$ = function () {
- return new HashMapValues(this.internalMap_1);
- };
- protoOf(HashMap).get_entries_p20ztl_k$ = function () {
- var tmp0_elvis_lhs = this.entriesView_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- // Inline function 'kotlin.also' call
- var this_0 = new HashMapEntrySet(this.internalMap_1);
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.HashMap..' call
- this.entriesView_1 = this_0;
- tmp = this_0;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- return tmp;
- };
- protoOf(HashMap).get_wei43m_k$ = function (key) {
- return this.internalMap_1.get_wei43m_k$(key);
- };
- protoOf(HashMap).put_4fpzoq_k$ = function (key, value) {
- return this.internalMap_1.put_4fpzoq_k$(key, value);
- };
- protoOf(HashMap).remove_gppy8k_k$ = function (key) {
- return this.internalMap_1.remove_gppy8k_k$(key);
- };
- protoOf(HashMap).get_size_woubt6_k$ = function () {
- return this.internalMap_1.get_size_woubt6_k$();
- };
- protoOf(HashMap).putAll_wgg6cj_k$ = function (from) {
- return this.internalMap_1.putAll_wgg6cj_k$(from);
- };
-
- function HashMap() {
- this.entriesView_1 = null;
- }
-
- function _get_backing__s7m0a($this) {
- return $this.backing_1;
- }
-
- function HashMapKeys(backing) {
- AbstractMutableSet.call(this);
- this.backing_1 = backing;
- }
-
- protoOf(HashMapKeys).get_size_woubt6_k$ = function () {
- return this.backing_1.get_size_woubt6_k$();
- };
- protoOf(HashMapKeys).isEmpty_y1axqb_k$ = function () {
- return this.backing_1.get_size_woubt6_k$() === 0;
- };
- protoOf(HashMapKeys).contains_aljjnj_k$ = function (element) {
- return this.backing_1.contains_vbgn2f_k$(element);
- };
- protoOf(HashMapKeys).clear_j9egeb_k$ = function () {
- return this.backing_1.clear_j9egeb_k$();
- };
- protoOf(HashMapKeys).add_utx5q5_k$ = function (element) {
- throw UnsupportedOperationException_init_$Create$();
- };
- protoOf(HashMapKeys).addAll_4lagoh_k$ = function (elements) {
- throw UnsupportedOperationException_init_$Create$();
- };
- protoOf(HashMapKeys).remove_cedx0m_k$ = function (element) {
- return !(this.backing_1.remove_gppy8k_k$(element) == null);
- };
- protoOf(HashMapKeys).iterator_jk1svi_k$ = function () {
- return this.backing_1.keysIterator_mjslfm_k$();
- };
- protoOf(HashMapKeys).checkIsMutable_h5js84_k$ = function () {
- return this.backing_1.checkIsMutable_h5js84_k$();
- };
-
- function _get_backing__s7m0a_0($this) {
- return $this.backing_1;
- }
-
- function HashMapValues(backing) {
- AbstractMutableCollection.call(this);
- this.backing_1 = backing;
- }
-
- protoOf(HashMapValues).get_size_woubt6_k$ = function () {
- return this.backing_1.get_size_woubt6_k$();
- };
- protoOf(HashMapValues).isEmpty_y1axqb_k$ = function () {
- return this.backing_1.get_size_woubt6_k$() === 0;
- };
- protoOf(HashMapValues).contains_m22g8e_k$ = function (element) {
- return this.backing_1.containsValue_yf2ykl_k$(element);
- };
- protoOf(HashMapValues).contains_aljjnj_k$ = function (element) {
- if (!(element == null ? true : !(element == null)))
- return false;
- return this.contains_m22g8e_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(HashMapValues).add_sqnzo4_k$ = function (element) {
- throw UnsupportedOperationException_init_$Create$();
- };
- protoOf(HashMapValues).add_utx5q5_k$ = function (element) {
- return this.add_sqnzo4_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(HashMapValues).addAll_txis5e_k$ = function (elements) {
- throw UnsupportedOperationException_init_$Create$();
- };
- protoOf(HashMapValues).addAll_4lagoh_k$ = function (elements) {
- return this.addAll_txis5e_k$(elements);
- };
- protoOf(HashMapValues).clear_j9egeb_k$ = function () {
- return this.backing_1.clear_j9egeb_k$();
- };
- protoOf(HashMapValues).iterator_jk1svi_k$ = function () {
- return this.backing_1.valuesIterator_3ptos0_k$();
- };
- protoOf(HashMapValues).remove_xv0fr_k$ = function (element) {
- return this.backing_1.removeValue_ccp5hc_k$(element);
- };
- protoOf(HashMapValues).remove_cedx0m_k$ = function (element) {
- if (!(element == null ? true : !(element == null)))
- return false;
- return this.remove_xv0fr_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(HashMapValues).checkIsMutable_h5js84_k$ = function () {
- return this.backing_1.checkIsMutable_h5js84_k$();
- };
-
- function HashMapEntrySet(backing) {
- HashMapEntrySetBase.call(this, backing);
- }
-
- protoOf(HashMapEntrySet).iterator_jk1svi_k$ = function () {
- return this.backing_1.entriesIterator_or017i_k$();
- };
-
- function HashMapEntrySetBase(backing) {
- AbstractMutableSet.call(this);
- this.backing_1 = backing;
- }
-
- protoOf(HashMapEntrySetBase).get_backing_4h5ufi_k$ = function () {
- return this.backing_1;
- };
- protoOf(HashMapEntrySetBase).get_size_woubt6_k$ = function () {
- return this.backing_1.get_size_woubt6_k$();
- };
- protoOf(HashMapEntrySetBase).isEmpty_y1axqb_k$ = function () {
- return this.backing_1.get_size_woubt6_k$() === 0;
- };
- protoOf(HashMapEntrySetBase).contains_pftbw2_k$ = function (element) {
- return this.backing_1.containsEntry_jg6xfi_k$(element);
- };
- protoOf(HashMapEntrySetBase).contains_aljjnj_k$ = function (element) {
- if (!(!(element == null) ? isInterface(element, Entry) : false))
- return false;
- return this.contains_pftbw2_k$((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
- };
- protoOf(HashMapEntrySetBase).clear_j9egeb_k$ = function () {
- return this.backing_1.clear_j9egeb_k$();
- };
- protoOf(HashMapEntrySetBase).add_k8z7xs_k$ = function (element) {
- throw UnsupportedOperationException_init_$Create$();
- };
- protoOf(HashMapEntrySetBase).add_utx5q5_k$ = function (element) {
- return this.add_k8z7xs_k$((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
- };
- protoOf(HashMapEntrySetBase).addAll_4lagoh_k$ = function (elements) {
- throw UnsupportedOperationException_init_$Create$();
- };
- protoOf(HashMapEntrySetBase).remove_z40ynn_k$ = function (element) {
- return this.backing_1.removeEntry_dxtz15_k$(element);
- };
- protoOf(HashMapEntrySetBase).remove_cedx0m_k$ = function (element) {
- if (!(!(element == null) ? isInterface(element, Entry) : false))
- return false;
- return this.remove_z40ynn_k$((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
- };
- protoOf(HashMapEntrySetBase).containsAll_xk45sd_k$ = function (elements) {
- return this.backing_1.containsAllEntries_5fw0no_k$(elements);
- };
- protoOf(HashMapEntrySetBase).checkIsMutable_h5js84_k$ = function () {
- return this.backing_1.checkIsMutable_h5js84_k$();
- };
-
- function _get_backingMap__nfspgq($this) {
- return $this.backingMap_1;
- }
-
- function HashMapKeysDefault$iterator$1($entryIterator) {
- this.$entryIterator_1 = $entryIterator;
- }
-
- protoOf(HashMapKeysDefault$iterator$1).hasNext_bitz1p_k$ = function () {
- return this.$entryIterator_1.hasNext_bitz1p_k$();
- };
- protoOf(HashMapKeysDefault$iterator$1).next_20eer_k$ = function () {
- return this.$entryIterator_1.next_20eer_k$().get_key_18j28a_k$();
- };
- protoOf(HashMapKeysDefault$iterator$1).remove_ldkf9o_k$ = function () {
- return this.$entryIterator_1.remove_ldkf9o_k$();
- };
-
- function HashMapKeysDefault(backingMap) {
- AbstractMutableSet.call(this);
- this.backingMap_1 = backingMap;
- }
-
- protoOf(HashMapKeysDefault).add_b330zt_k$ = function (element) {
- throw UnsupportedOperationException_init_$Create$_0('Add is not supported on keys');
- };
- protoOf(HashMapKeysDefault).add_utx5q5_k$ = function (element) {
- return this.add_b330zt_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(HashMapKeysDefault).clear_j9egeb_k$ = function () {
- return this.backingMap_1.clear_j9egeb_k$();
- };
- protoOf(HashMapKeysDefault).contains_vbgn2f_k$ = function (element) {
- return this.backingMap_1.containsKey_aw81wo_k$(element);
- };
- protoOf(HashMapKeysDefault).contains_aljjnj_k$ = function (element) {
- if (!(element == null ? true : !(element == null)))
- return false;
- return this.contains_vbgn2f_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(HashMapKeysDefault).iterator_jk1svi_k$ = function () {
- var entryIterator = this.backingMap_1.get_entries_p20ztl_k$().iterator_jk1svi_k$();
- return new HashMapKeysDefault$iterator$1(entryIterator);
- };
- protoOf(HashMapKeysDefault).remove_gppy8k_k$ = function (element) {
- this.checkIsMutable_h5js84_k$();
- if (this.backingMap_1.containsKey_aw81wo_k$(element)) {
- this.backingMap_1.remove_gppy8k_k$(element);
- return true;
- }
- return false;
- };
- protoOf(HashMapKeysDefault).remove_cedx0m_k$ = function (element) {
- if (!(element == null ? true : !(element == null)))
- return false;
- return this.remove_gppy8k_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(HashMapKeysDefault).get_size_woubt6_k$ = function () {
- return this.backingMap_1.get_size_woubt6_k$();
- };
- protoOf(HashMapKeysDefault).checkIsMutable_h5js84_k$ = function () {
- return this.backingMap_1.checkIsMutable_h5js84_k$();
- };
-
- function _get_backingMap__nfspgq_0($this) {
- return $this.backingMap_1;
- }
-
- function HashMapValuesDefault$iterator$1($entryIterator) {
- this.$entryIterator_1 = $entryIterator;
- }
-
- protoOf(HashMapValuesDefault$iterator$1).hasNext_bitz1p_k$ = function () {
- return this.$entryIterator_1.hasNext_bitz1p_k$();
- };
- protoOf(HashMapValuesDefault$iterator$1).next_20eer_k$ = function () {
- return this.$entryIterator_1.next_20eer_k$().get_value_j01efc_k$();
- };
- protoOf(HashMapValuesDefault$iterator$1).remove_ldkf9o_k$ = function () {
- return this.$entryIterator_1.remove_ldkf9o_k$();
- };
-
- function HashMapValuesDefault(backingMap) {
- AbstractMutableCollection.call(this);
- this.backingMap_1 = backingMap;
- }
-
- protoOf(HashMapValuesDefault).add_sqnzo4_k$ = function (element) {
- throw UnsupportedOperationException_init_$Create$_0('Add is not supported on values');
- };
- protoOf(HashMapValuesDefault).add_utx5q5_k$ = function (element) {
- return this.add_sqnzo4_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(HashMapValuesDefault).clear_j9egeb_k$ = function () {
- return this.backingMap_1.clear_j9egeb_k$();
- };
- protoOf(HashMapValuesDefault).contains_m22g8e_k$ = function (element) {
- return this.backingMap_1.containsValue_yf2ykl_k$(element);
- };
- protoOf(HashMapValuesDefault).contains_aljjnj_k$ = function (element) {
- if (!(element == null ? true : !(element == null)))
- return false;
- return this.contains_m22g8e_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(HashMapValuesDefault).iterator_jk1svi_k$ = function () {
- var entryIterator = this.backingMap_1.get_entries_p20ztl_k$().iterator_jk1svi_k$();
- return new HashMapValuesDefault$iterator$1(entryIterator);
- };
- protoOf(HashMapValuesDefault).get_size_woubt6_k$ = function () {
- return this.backingMap_1.get_size_woubt6_k$();
- };
- protoOf(HashMapValuesDefault).checkIsMutable_h5js84_k$ = function () {
- return this.backingMap_1.checkIsMutable_h5js84_k$();
- };
-
- function HashSet_init_$Init$(map, $this) {
- AbstractMutableSet.call($this);
- HashSet.call($this);
- $this.internalMap_1 = map;
- return $this;
- }
-
- function HashSet_init_$Create$(map) {
- return HashSet_init_$Init$(map, objectCreate(protoOf(HashSet)));
- }
-
- function HashSet_init_$Init$_0($this) {
- HashSet_init_$Init$(InternalHashMap_init_$Create$(), $this);
- return $this;
- }
-
- function HashSet_init_$Create$_0() {
- return HashSet_init_$Init$_0(objectCreate(protoOf(HashSet)));
- }
-
- function HashSet_init_$Init$_1(elements, $this) {
- HashSet_init_$Init$(InternalHashMap_init_$Create$_0(elements.get_size_woubt6_k$()), $this);
- var tmp0_iterator = elements.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- $this.internalMap_1.put_4fpzoq_k$(element, true);
- }
- return $this;
- }
-
- function HashSet_init_$Create$_1(elements) {
- return HashSet_init_$Init$_1(elements, objectCreate(protoOf(HashSet)));
- }
-
- function HashSet_init_$Init$_2(initialCapacity, loadFactor, $this) {
- HashSet_init_$Init$(InternalHashMap_init_$Create$_2(initialCapacity, loadFactor), $this);
- return $this;
- }
-
- function HashSet_init_$Create$_2(initialCapacity, loadFactor) {
- return HashSet_init_$Init$_2(initialCapacity, loadFactor, objectCreate(protoOf(HashSet)));
- }
-
- function HashSet_init_$Init$_3(initialCapacity, $this) {
- HashSet_init_$Init$_2(initialCapacity, 1.0, $this);
- return $this;
- }
-
- function HashSet_init_$Create$_3(initialCapacity) {
- return HashSet_init_$Init$_3(initialCapacity, objectCreate(protoOf(HashSet)));
- }
-
- protoOf(HashSet).get_internalMap_kinfuy_k$ = function () {
- return this.internalMap_1;
- };
- protoOf(HashSet).add_utx5q5_k$ = function (element) {
- return this.internalMap_1.put_4fpzoq_k$(element, true) == null;
- };
- protoOf(HashSet).clear_j9egeb_k$ = function () {
- this.internalMap_1.clear_j9egeb_k$();
- };
- protoOf(HashSet).contains_aljjnj_k$ = function (element) {
- return this.internalMap_1.contains_vbgn2f_k$(element);
- };
- protoOf(HashSet).isEmpty_y1axqb_k$ = function () {
- return this.internalMap_1.get_size_woubt6_k$() === 0;
- };
- protoOf(HashSet).iterator_jk1svi_k$ = function () {
- return this.internalMap_1.keysIterator_mjslfm_k$();
- };
- protoOf(HashSet).remove_cedx0m_k$ = function (element) {
- return !(this.internalMap_1.remove_gppy8k_k$(element) == null);
- };
- protoOf(HashSet).get_size_woubt6_k$ = function () {
- return this.internalMap_1.get_size_woubt6_k$();
- };
-
- function HashSet() {
- }
-
- function _get_MAGIC__u1807w($this) {
- return $this.MAGIC_1;
- }
-
- function _get_INITIAL_CAPACITY__cjfwmu($this) {
- return $this.INITIAL_CAPACITY_1;
- }
-
- function _get_INITIAL_MAX_PROBE_DISTANCE__m8imof($this) {
- return $this.INITIAL_MAX_PROBE_DISTANCE_1;
- }
-
- function _get_TOMBSTONE__4dd6nw($this) {
- return $this.TOMBSTONE_1;
- }
-
- function computeHashSize($this, capacity) {
- return takeHighestOneBit(imul(coerceAtLeast(capacity, 1), 3));
- }
-
- function computeShift($this, hashSize) {
- // Inline function 'kotlin.countLeadingZeroBits' call
- return clz32(hashSize) + 1 | 0;
- }
-
- function _set_expectedModCount__2cl3f2($this, _set____db54di) {
- $this.expectedModCount_1 = _set____db54di;
- }
-
- function _get_expectedModCount__qqj5nq($this) {
- return $this.expectedModCount_1;
- }
-
- function _get_map__e6co1h($this) {
- return $this.map_1;
- }
-
- function _get_index__g2optt($this) {
- return $this.index_1;
- }
-
- function _set_keysArray__eje9b4($this, _set____db54di) {
- $this.keysArray_1 = _set____db54di;
- }
-
- function _get_keysArray__r6vc9g($this) {
- return $this.keysArray_1;
- }
-
- function _set_valuesArray__3mvrle($this, _set____db54di) {
- $this.valuesArray_1 = _set____db54di;
- }
-
- function _get_valuesArray__qnieqi($this) {
- return $this.valuesArray_1;
- }
-
- function _set_presenceArray__8v6hax($this, _set____db54di) {
- $this.presenceArray_1 = _set____db54di;
- }
-
- function _get_presenceArray__o2xzt9($this) {
- return $this.presenceArray_1;
- }
-
- function _set_hashArray__mk2fy2($this, _set____db54di) {
- $this.hashArray_1 = _set____db54di;
- }
-
- function _get_hashArray__j675mi($this) {
- return $this.hashArray_1;
- }
-
- function _set_maxProbeDistance__m5lu0m($this, _set____db54di) {
- $this.maxProbeDistance_1 = _set____db54di;
- }
-
- function _get_maxProbeDistance__jsdyvq($this) {
- return $this.maxProbeDistance_1;
- }
-
- function _set_length__xo12bz($this, _set____db54di) {
- $this.length_1 = _set____db54di;
- }
-
- function _get_length__w7ahp7($this) {
- return $this.length_1;
- }
-
- function _set_hashShift__ux81td($this, _set____db54di) {
- $this.hashShift_1 = _set____db54di;
- }
-
- function _get_hashShift__at1jr7($this) {
- return $this.hashShift_1;
- }
-
- function _set_modCount__bz8h4m($this, _set____db54di) {
- $this.modCount_1 = _set____db54di;
- }
-
- function _get_modCount__os4sle($this) {
- return $this.modCount_1;
- }
-
- function _set__size__bau3qd_0($this, _set____db54di) {
- $this._size_1 = _set____db54di;
- }
-
- function _get__size__kqacr3_0($this) {
- return $this._size_1;
- }
-
- function _set_isReadOnly__fb15ed_0($this, _set____db54di) {
- $this.isReadOnly_1 = _set____db54di;
- }
-
- function _get_isReadOnly__ud9qjl_0($this) {
- return $this.isReadOnly_1;
- }
-
- function InternalHashMap_init_$Init$($this) {
- InternalHashMap_init_$Init$_0(8, $this);
- return $this;
- }
-
- function InternalHashMap_init_$Create$() {
- return InternalHashMap_init_$Init$(objectCreate(protoOf(InternalHashMap)));
- }
-
- function InternalHashMap_init_$Init$_0(initialCapacity, $this) {
- InternalHashMap.call($this, arrayOfUninitializedElements(initialCapacity), null, new Int32Array(initialCapacity), new Int32Array(computeHashSize(Companion_getInstance_3(), initialCapacity)), 2, 0);
- return $this;
- }
-
- function InternalHashMap_init_$Create$_0(initialCapacity) {
- return InternalHashMap_init_$Init$_0(initialCapacity, objectCreate(protoOf(InternalHashMap)));
- }
-
- function InternalHashMap_init_$Init$_1(original, $this) {
- InternalHashMap_init_$Init$_0(original.get_size_woubt6_k$(), $this);
- $this.putAll_wgg6cj_k$(original);
- return $this;
- }
-
- function InternalHashMap_init_$Create$_1(original) {
- return InternalHashMap_init_$Init$_1(original, objectCreate(protoOf(InternalHashMap)));
- }
-
- function InternalHashMap_init_$Init$_2(initialCapacity, loadFactor, $this) {
- InternalHashMap_init_$Init$_0(initialCapacity, $this);
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(loadFactor > 0.0)) {
- // Inline function 'kotlin.collections.InternalHashMap..' call
- var message = 'Non-positive load factor: ' + loadFactor;
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- return $this;
- }
-
- function InternalHashMap_init_$Create$_2(initialCapacity, loadFactor) {
- return InternalHashMap_init_$Init$_2(initialCapacity, loadFactor, objectCreate(protoOf(InternalHashMap)));
- }
-
- function _get_capacity__a9k9f3($this) {
- return $this.keysArray_1.length;
- }
-
- function _get_hashSize__tftcho($this) {
- return $this.hashArray_1.length;
- }
-
- function registerModification($this) {
- $this.modCount_1 = $this.modCount_1 + 1 | 0;
- }
-
- function ensureExtraCapacity($this, n) {
- if (shouldCompact($this, n)) {
- rehash($this, _get_hashSize__tftcho($this));
- } else {
- ensureCapacity($this, $this.length_1 + n | 0);
- }
- }
-
- function shouldCompact($this, extraCapacity) {
- var spareCapacity = _get_capacity__a9k9f3($this) - $this.length_1 | 0;
- var gaps = $this.length_1 - $this.get_size_woubt6_k$() | 0;
- return (spareCapacity < extraCapacity ? (gaps + spareCapacity | 0) >= extraCapacity : false) ? gaps >= (_get_capacity__a9k9f3($this) / 4 | 0) : false;
- }
-
- function ensureCapacity($this, minCapacity) {
- if (minCapacity < 0)
- throw RuntimeException_init_$Create$_0('too many elements');
- if (minCapacity > _get_capacity__a9k9f3($this)) {
- var newSize = Companion_getInstance_5().newCapacity_jl318a_k$(_get_capacity__a9k9f3($this), minCapacity);
- $this.keysArray_1 = copyOfUninitializedElements($this.keysArray_1, newSize);
- var tmp = $this;
- var tmp0_safe_receiver = $this.valuesArray_1;
- tmp.valuesArray_1 = tmp0_safe_receiver == null ? null : copyOfUninitializedElements(tmp0_safe_receiver, newSize);
- $this.presenceArray_1 = copyOf_2($this.presenceArray_1, newSize);
- var newHashSize = computeHashSize(Companion_getInstance_3(), newSize);
- if (newHashSize > _get_hashSize__tftcho($this)) {
- rehash($this, newHashSize);
- }
- }
- }
-
- function allocateValuesArray($this) {
- var curValuesArray = $this.valuesArray_1;
- if (!(curValuesArray == null))
- return curValuesArray;
- var newValuesArray = arrayOfUninitializedElements(_get_capacity__a9k9f3($this));
- $this.valuesArray_1 = newValuesArray;
- return newValuesArray;
- }
-
- function hash($this, key) {
- return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.hashShift_1 | 0;
- }
-
- function compact($this) {
- var i = 0;
- var j = 0;
- var valuesArray = $this.valuesArray_1;
- while (i < $this.length_1) {
- if ($this.presenceArray_1[i] >= 0) {
- $this.keysArray_1[j] = $this.keysArray_1[i];
- if (!(valuesArray == null)) {
- valuesArray[j] = valuesArray[i];
- }
- j = j + 1 | 0;
- }
- i = i + 1 | 0;
- }
- resetRange($this.keysArray_1, j, $this.length_1);
- if (valuesArray == null)
- null;
- else {
- resetRange(valuesArray, j, $this.length_1);
- }
- $this.length_1 = j;
- }
-
- function rehash($this, newHashSize) {
- registerModification($this);
- if ($this.length_1 > $this._size_1) {
- compact($this);
- }
- if (!(newHashSize === _get_hashSize__tftcho($this))) {
- $this.hashArray_1 = new Int32Array(newHashSize);
- $this.hashShift_1 = computeShift(Companion_getInstance_3(), newHashSize);
- } else {
- fill($this.hashArray_1, 0, 0, _get_hashSize__tftcho($this));
- }
- var i = 0;
- while (i < $this.length_1) {
- var tmp0 = i;
- i = tmp0 + 1 | 0;
- if (!putRehash($this, tmp0)) {
- throw IllegalStateException_init_$Create$_0('This cannot happen with fixed magic multiplier and grow-only hash array. Have object hashCodes changed?');
- }
- }
- }
-
- function putRehash($this, i) {
- var hash_0 = hash($this, $this.keysArray_1[i]);
- var probesLeft = $this.maxProbeDistance_1;
- while (true) {
- var index = $this.hashArray_1[hash_0];
- if (index === 0) {
- $this.hashArray_1[hash_0] = i + 1 | 0;
- $this.presenceArray_1[i] = hash_0;
- return true;
- }
- probesLeft = probesLeft - 1 | 0;
- if (probesLeft < 0)
- return false;
- var tmp0 = hash_0;
- hash_0 = tmp0 - 1 | 0;
- if (tmp0 === 0)
- hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
- }
- }
-
- function findKey($this, key) {
- var hash_0 = hash($this, key);
- var probesLeft = $this.maxProbeDistance_1;
- while (true) {
- var index = $this.hashArray_1[hash_0];
- if (index === 0)
- return -1;
- if (index > 0 ? equals($this.keysArray_1[index - 1 | 0], key) : false)
- return index - 1 | 0;
- probesLeft = probesLeft - 1 | 0;
- if (probesLeft < 0)
- return -1;
- var tmp0 = hash_0;
- hash_0 = tmp0 - 1 | 0;
- if (tmp0 === 0)
- hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
- }
- }
-
- function findValue($this, value) {
- var i = $this.length_1;
- $l$loop: while (true) {
- i = i - 1 | 0;
- if (!(i >= 0)) {
- break $l$loop;
- }
- if ($this.presenceArray_1[i] >= 0 ? equals(ensureNotNull($this.valuesArray_1)[i], value) : false)
- return i;
- }
- return -1;
- }
-
- function addKey($this, key) {
- $this.checkIsMutable_h5js84_k$();
- retry: while (true) {
- var hash_0 = hash($this, key);
- var tentativeMaxProbeDistance = coerceAtMost(imul($this.maxProbeDistance_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
- var probeDistance = 0;
- while (true) {
- var index = $this.hashArray_1[hash_0];
- if (index <= 0) {
- if ($this.length_1 >= _get_capacity__a9k9f3($this)) {
- ensureExtraCapacity($this, 1);
- continue retry;
- }
- var tmp1 = $this.length_1;
- $this.length_1 = tmp1 + 1 | 0;
- var putIndex = tmp1;
- $this.keysArray_1[putIndex] = key;
- $this.presenceArray_1[putIndex] = hash_0;
- $this.hashArray_1[hash_0] = putIndex + 1 | 0;
- $this._size_1 = $this._size_1 + 1 | 0;
- registerModification($this);
- if (probeDistance > $this.maxProbeDistance_1)
- $this.maxProbeDistance_1 = probeDistance;
- return putIndex;
- }
- if (equals($this.keysArray_1[index - 1 | 0], key)) {
- return -index | 0;
- }
- probeDistance = probeDistance + 1 | 0;
- if (probeDistance > tentativeMaxProbeDistance) {
- rehash($this, imul(_get_hashSize__tftcho($this), 2));
- continue retry;
- }
- var tmp4 = hash_0;
- hash_0 = tmp4 - 1 | 0;
- if (tmp4 === 0)
- hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
- }
- }
- }
-
- function removeKey($this, key) {
- $this.checkIsMutable_h5js84_k$();
- var index = findKey($this, key);
- if (index < 0)
- return -1;
- removeKeyAt($this, index);
- return index;
- }
-
- function removeKeyAt($this, index) {
- resetAt($this.keysArray_1, index);
- removeHashAt($this, $this.presenceArray_1[index]);
- $this.presenceArray_1[index] = -1;
- $this._size_1 = $this._size_1 - 1 | 0;
- registerModification($this);
- }
-
- function removeHashAt($this, removedHash) {
- var hash_0 = removedHash;
- var hole = removedHash;
- var probeDistance = 0;
- var patchAttemptsLeft = coerceAtMost(imul($this.maxProbeDistance_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
- while (true) {
- var tmp0 = hash_0;
- hash_0 = tmp0 - 1 | 0;
- if (tmp0 === 0)
- hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
- probeDistance = probeDistance + 1 | 0;
- if (probeDistance > $this.maxProbeDistance_1) {
- $this.hashArray_1[hole] = 0;
- return Unit_getInstance();
- }
- var index = $this.hashArray_1[hash_0];
- if (index === 0) {
- $this.hashArray_1[hole] = 0;
- return Unit_getInstance();
- }
- if (index < 0) {
- $this.hashArray_1[hole] = -1;
- hole = hash_0;
- probeDistance = 0;
- } else {
- var otherHash = hash($this, $this.keysArray_1[index - 1 | 0]);
- if (((otherHash - hash_0 | 0) & (_get_hashSize__tftcho($this) - 1 | 0)) >= probeDistance) {
- $this.hashArray_1[hole] = index;
- $this.presenceArray_1[index - 1 | 0] = hole;
- hole = hash_0;
- probeDistance = 0;
- }
- }
- patchAttemptsLeft = patchAttemptsLeft - 1 | 0;
- if (patchAttemptsLeft < 0) {
- $this.hashArray_1[hole] = -1;
- return Unit_getInstance();
- }
- }
- }
-
- function contentEquals_12($this, other) {
- return $this._size_1 === other.get_size_woubt6_k$() ? $this.containsAllEntries_5fw0no_k$(other.get_entries_p20ztl_k$()) : false;
- }
-
- function putEntry($this, entry) {
- var index = addKey($this, entry.get_key_18j28a_k$());
- var valuesArray = allocateValuesArray($this);
- if (index >= 0) {
- valuesArray[index] = entry.get_value_j01efc_k$();
- return true;
- }
- var oldValue = valuesArray[(-index | 0) - 1 | 0];
- if (!equals(entry.get_value_j01efc_k$(), oldValue)) {
- valuesArray[(-index | 0) - 1 | 0] = entry.get_value_j01efc_k$();
- return true;
- }
- return false;
- }
-
- function putAllEntries($this, from) {
- if (from.isEmpty_y1axqb_k$())
- return false;
- ensureExtraCapacity($this, from.get_size_woubt6_k$());
- var it = from.iterator_jk1svi_k$();
- var updated = false;
- while (it.hasNext_bitz1p_k$()) {
- if (putEntry($this, it.next_20eer_k$()))
- updated = true;
- }
- return updated;
- }
-
- function Companion_3() {
- Companion_instance_3 = this;
- this.MAGIC_1 = -1640531527;
- this.INITIAL_CAPACITY_1 = 8;
- this.INITIAL_MAX_PROBE_DISTANCE_1 = 2;
- this.TOMBSTONE_1 = -1;
- }
-
- var Companion_instance_3;
-
- function Companion_getInstance_3() {
- if (Companion_instance_3 == null)
- new Companion_3();
- return Companion_instance_3;
- }
-
- function Itr(map) {
- this.map_1 = map;
- this.index_1 = 0;
- this.lastIndex_1 = -1;
- this.expectedModCount_1 = this.map_1.modCount_1;
- this.initNext_95pjyr_k$();
- }
-
- protoOf(Itr).get_map_18j0ul_k$ = function () {
- return this.map_1;
- };
- protoOf(Itr).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(Itr).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(Itr).set_lastIndex_mit0mh_k$ = function (_set____db54di) {
- this.lastIndex_1 = _set____db54di;
- };
- protoOf(Itr).get_lastIndex_tk4gr1_k$ = function () {
- return this.lastIndex_1;
- };
- protoOf(Itr).initNext_95pjyr_k$ = function () {
- while (this.index_1 < this.map_1.length_1 ? this.map_1.presenceArray_1[this.index_1] < 0 : false) {
- this.index_1 = this.index_1 + 1 | 0;
- }
- };
- protoOf(Itr).hasNext_bitz1p_k$ = function () {
- return this.index_1 < this.map_1.length_1;
- };
- protoOf(Itr).remove_ldkf9o_k$ = function () {
- this.checkForComodification_ue3neh_k$();
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!(this.lastIndex_1 === -1)) {
- // Inline function 'kotlin.collections.Itr.remove.' call
- var message = 'Call next() before removing element from the iterator.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- this.map_1.checkIsMutable_h5js84_k$();
- removeKeyAt(this.map_1, this.lastIndex_1);
- this.lastIndex_1 = -1;
- this.expectedModCount_1 = this.map_1.modCount_1;
- };
- protoOf(Itr).checkForComodification_ue3neh_k$ = function () {
- if (!(this.map_1.modCount_1 === this.expectedModCount_1))
- throw ConcurrentModificationException_init_$Create$();
- };
-
- function KeysItr(map) {
- Itr.call(this, map);
- }
-
- protoOf(KeysItr).next_20eer_k$ = function () {
- this.checkForComodification_ue3neh_k$();
- if (this.index_1 >= this.map_1.length_1)
- throw NoSuchElementException_init_$Create$();
- var tmp = this;
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp.lastIndex_1 = tmp1;
- var result = this.map_1.keysArray_1[this.lastIndex_1];
- this.initNext_95pjyr_k$();
- return result;
- };
-
- function ValuesItr(map) {
- Itr.call(this, map);
- }
-
- protoOf(ValuesItr).next_20eer_k$ = function () {
- this.checkForComodification_ue3neh_k$();
- if (this.index_1 >= this.map_1.length_1)
- throw NoSuchElementException_init_$Create$();
- var tmp = this;
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp.lastIndex_1 = tmp1;
- var result = ensureNotNull(this.map_1.valuesArray_1)[this.lastIndex_1];
- this.initNext_95pjyr_k$();
- return result;
- };
-
- function EntriesItr(map) {
- Itr.call(this, map);
- }
-
- protoOf(EntriesItr).next_20eer_k$ = function () {
- this.checkForComodification_ue3neh_k$();
- if (this.index_1 >= this.map_1.length_1)
- throw NoSuchElementException_init_$Create$();
- var tmp = this;
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp.lastIndex_1 = tmp1;
- var result = new EntryRef(this.map_1, this.lastIndex_1);
- this.initNext_95pjyr_k$();
- return result;
- };
- protoOf(EntriesItr).nextHashCode_esvjde_k$ = function () {
- if (this.index_1 >= this.map_1.length_1)
- throw NoSuchElementException_init_$Create$();
- var tmp = this;
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp.lastIndex_1 = tmp1;
- // Inline function 'kotlin.hashCode' call
- var tmp0_safe_receiver = this.map_1.keysArray_1[this.lastIndex_1];
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
- var tmp_0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
- // Inline function 'kotlin.hashCode' call
- var tmp0_safe_receiver_0 = ensureNotNull(this.map_1.valuesArray_1)[this.lastIndex_1];
- var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
- var result = tmp_0 ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
- this.initNext_95pjyr_k$();
- return result;
- };
- protoOf(EntriesItr).nextAppendString_c748pk_k$ = function (sb) {
- if (this.index_1 >= this.map_1.length_1)
- throw NoSuchElementException_init_$Create$();
- var tmp = this;
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- tmp.lastIndex_1 = tmp1;
- var key = this.map_1.keysArray_1[this.lastIndex_1];
- if (equals(key, this.map_1)) {
- sb.append_22ad7x_k$('(this Map)');
- } else {
- sb.append_t8pm91_k$(key);
- }
- sb.append_am5a4z_k$(_Char___init__impl__6a9atx(61));
- var value = ensureNotNull(this.map_1.valuesArray_1)[this.lastIndex_1];
- if (equals(value, this.map_1)) {
- sb.append_22ad7x_k$('(this Map)');
- } else {
- sb.append_t8pm91_k$(value);
- }
- this.initNext_95pjyr_k$();
- };
-
- function EntryRef(map, index) {
- this.map_1 = map;
- this.index_1 = index;
- }
-
- protoOf(EntryRef).get_key_18j28a_k$ = function () {
- return this.map_1.keysArray_1[this.index_1];
- };
- protoOf(EntryRef).get_value_j01efc_k$ = function () {
- return ensureNotNull(this.map_1.valuesArray_1)[this.index_1];
- };
- protoOf(EntryRef).setValue_9cjski_k$ = function (newValue) {
- this.map_1.checkIsMutable_h5js84_k$();
- var valuesArray = allocateValuesArray(this.map_1);
- var oldValue = valuesArray[this.index_1];
- valuesArray[this.index_1] = newValue;
- return oldValue;
- };
- protoOf(EntryRef).equals = function (other) {
- var tmp;
- var tmp_0;
- if (!(other == null) ? isInterface(other, Entry) : false) {
- tmp_0 = equals(other.get_key_18j28a_k$(), this.get_key_18j28a_k$());
- } else {
- tmp_0 = false;
- }
- if (tmp_0) {
- tmp = equals(other.get_value_j01efc_k$(), this.get_value_j01efc_k$());
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(EntryRef).hashCode = function () {
- // Inline function 'kotlin.hashCode' call
- var tmp0_safe_receiver = this.get_key_18j28a_k$();
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
- var tmp = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
- // Inline function 'kotlin.hashCode' call
- var tmp0_safe_receiver_0 = this.get_value_j01efc_k$();
- var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
- return tmp ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
- };
- protoOf(EntryRef).toString = function () {
- return '' + this.get_key_18j28a_k$() + '=' + this.get_value_j01efc_k$();
- };
-
- function InternalHashMap(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) {
- Companion_getInstance_3();
- this.keysArray_1 = keysArray;
- this.valuesArray_1 = valuesArray;
- this.presenceArray_1 = presenceArray;
- this.hashArray_1 = hashArray;
- this.maxProbeDistance_1 = maxProbeDistance;
- this.length_1 = length;
- this.hashShift_1 = computeShift(Companion_getInstance_3(), _get_hashSize__tftcho(this));
- this.modCount_1 = 0;
- this._size_1 = 0;
- this.isReadOnly_1 = false;
- }
-
- protoOf(InternalHashMap).get_size_woubt6_k$ = function () {
- return this._size_1;
- };
- protoOf(InternalHashMap).build_52xuhq_k$ = function () {
- this.checkIsMutable_h5js84_k$();
- this.isReadOnly_1 = true;
- };
- protoOf(InternalHashMap).isEmpty_y1axqb_k$ = function () {
- return this._size_1 === 0;
- };
- protoOf(InternalHashMap).containsValue_yf2ykl_k$ = function (value) {
- return findValue(this, value) >= 0;
- };
- protoOf(InternalHashMap).get_wei43m_k$ = function (key) {
- var index = findKey(this, key);
- if (index < 0)
- return null;
- return ensureNotNull(this.valuesArray_1)[index];
- };
- protoOf(InternalHashMap).contains_vbgn2f_k$ = function (key) {
- return findKey(this, key) >= 0;
- };
- protoOf(InternalHashMap).put_4fpzoq_k$ = function (key, value) {
- var index = addKey(this, key);
- var valuesArray = allocateValuesArray(this);
- if (index < 0) {
- var oldValue = valuesArray[(-index | 0) - 1 | 0];
- valuesArray[(-index | 0) - 1 | 0] = value;
- return oldValue;
- } else {
- valuesArray[index] = value;
- return null;
- }
- };
- protoOf(InternalHashMap).putAll_wgg6cj_k$ = function (from) {
- this.checkIsMutable_h5js84_k$();
- putAllEntries(this, from.get_entries_p20ztl_k$());
- };
- protoOf(InternalHashMap).remove_gppy8k_k$ = function (key) {
- var index = removeKey(this, key);
- if (index < 0)
- return null;
- var valuesArray = ensureNotNull(this.valuesArray_1);
- var oldValue = valuesArray[index];
- resetAt(valuesArray, index);
- return oldValue;
- };
- protoOf(InternalHashMap).clear_j9egeb_k$ = function () {
- this.checkIsMutable_h5js84_k$();
- var inductionVariable = 0;
- var last = this.length_1 - 1 | 0;
- if (inductionVariable <= last)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var hash = this.presenceArray_1[i];
- if (hash >= 0) {
- this.hashArray_1[hash] = 0;
- this.presenceArray_1[i] = -1;
- }
- }
- while (!(i === last));
- resetRange(this.keysArray_1, 0, this.length_1);
- var tmp1_safe_receiver = this.valuesArray_1;
- if (tmp1_safe_receiver == null)
- null;
- else {
- resetRange(tmp1_safe_receiver, 0, this.length_1);
- }
- this._size_1 = 0;
- this.length_1 = 0;
- registerModification(this);
- };
- protoOf(InternalHashMap).equals = function (other) {
- var tmp;
- if (other === this) {
- tmp = true;
- } else {
- var tmp_0;
- if (!(other == null) ? isInterface(other, Map_0) : false) {
- tmp_0 = contentEquals_12(this, other);
- } else {
- tmp_0 = false;
- }
- tmp = tmp_0;
- }
- return tmp;
- };
- protoOf(InternalHashMap).hashCode = function () {
- var result = 0;
- var it = this.entriesIterator_or017i_k$();
- while (it.hasNext_bitz1p_k$()) {
- result = result + it.nextHashCode_esvjde_k$() | 0;
- }
- return result;
- };
- protoOf(InternalHashMap).toString = function () {
- var sb = StringBuilder_init_$Create$(2 + imul(this._size_1, 3) | 0);
- sb.append_22ad7x_k$('{');
- var i = 0;
- var it = this.entriesIterator_or017i_k$();
- while (it.hasNext_bitz1p_k$()) {
- if (i > 0) {
- sb.append_22ad7x_k$(', ');
- }
- it.nextAppendString_c748pk_k$(sb);
- i = i + 1 | 0;
- }
- sb.append_22ad7x_k$('}');
- return sb.toString();
- };
- protoOf(InternalHashMap).checkIsMutable_h5js84_k$ = function () {
- if (this.isReadOnly_1)
- throw UnsupportedOperationException_init_$Create$();
- };
- protoOf(InternalHashMap).containsEntry_jg6xfi_k$ = function (entry) {
- var index = findKey(this, entry.get_key_18j28a_k$());
- if (index < 0)
- return false;
- return equals(ensureNotNull(this.valuesArray_1)[index], entry.get_value_j01efc_k$());
- };
- protoOf(InternalHashMap).containsOtherEntry_yvdc55_k$ = function (entry) {
- return this.containsEntry_jg6xfi_k$(isInterface(entry, Entry) ? entry : THROW_CCE());
- };
- protoOf(InternalHashMap).removeEntry_dxtz15_k$ = function (entry) {
- this.checkIsMutable_h5js84_k$();
- var index = findKey(this, entry.get_key_18j28a_k$());
- if (index < 0)
- return false;
- if (!equals(ensureNotNull(this.valuesArray_1)[index], entry.get_value_j01efc_k$()))
- return false;
- removeKeyAt(this, index);
- return true;
- };
- protoOf(InternalHashMap).removeValue_ccp5hc_k$ = function (value) {
- this.checkIsMutable_h5js84_k$();
- var index = findValue(this, value);
- if (index < 0)
- return false;
- removeKeyAt(this, index);
- return true;
- };
- protoOf(InternalHashMap).keysIterator_mjslfm_k$ = function () {
- return new KeysItr(this);
- };
- protoOf(InternalHashMap).valuesIterator_3ptos0_k$ = function () {
- return new ValuesItr(this);
- };
- protoOf(InternalHashMap).entriesIterator_or017i_k$ = function () {
- return new EntriesItr(this);
- };
-
- function InternalMap() {
- }
-
- function LinkedHashMap_init_$Init$($this) {
- HashMap_init_$Init$_0($this);
- LinkedHashMap.call($this);
- return $this;
- }
-
- function LinkedHashMap_init_$Create$() {
- return LinkedHashMap_init_$Init$(objectCreate(protoOf(LinkedHashMap)));
- }
-
- function LinkedHashMap_init_$Init$_0(initialCapacity, $this) {
- HashMap_init_$Init$_2(initialCapacity, $this);
- LinkedHashMap.call($this);
- return $this;
- }
-
- function LinkedHashMap_init_$Create$_0(initialCapacity) {
- return LinkedHashMap_init_$Init$_0(initialCapacity, objectCreate(protoOf(LinkedHashMap)));
- }
-
- function LinkedHashMap_init_$Init$_1(initialCapacity, loadFactor, $this) {
- HashMap_init_$Init$_1(initialCapacity, loadFactor, $this);
- LinkedHashMap.call($this);
- return $this;
- }
-
- function LinkedHashMap_init_$Create$_1(initialCapacity, loadFactor) {
- return LinkedHashMap_init_$Init$_1(initialCapacity, loadFactor, objectCreate(protoOf(LinkedHashMap)));
- }
-
- function LinkedHashMap_init_$Init$_2(original, $this) {
- HashMap_init_$Init$_3(original, $this);
- LinkedHashMap.call($this);
- return $this;
- }
-
- function LinkedHashMap_init_$Create$_2(original) {
- return LinkedHashMap_init_$Init$_2(original, objectCreate(protoOf(LinkedHashMap)));
- }
-
- function LinkedHashMap_init_$Init$_3(internalMap, $this) {
- HashMap_init_$Init$(internalMap, $this);
- LinkedHashMap.call($this);
- return $this;
- }
-
- function LinkedHashMap_init_$Create$_3(internalMap) {
- return LinkedHashMap_init_$Init$_3(internalMap, objectCreate(protoOf(LinkedHashMap)));
- }
-
- function EmptyHolder() {
- EmptyHolder_instance = this;
- var tmp = this;
- // Inline function 'kotlin.also' call
- var this_0 = InternalHashMap_init_$Create$_0(0);
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.EmptyHolder.value.' call
- this_0.build_52xuhq_k$();
- tmp.value_1 = LinkedHashMap_init_$Create$_3(this_0);
- }
-
- protoOf(EmptyHolder).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- var EmptyHolder_instance;
-
- function EmptyHolder_getInstance() {
- if (EmptyHolder_instance == null)
- new EmptyHolder();
- return EmptyHolder_instance;
- }
-
- protoOf(LinkedHashMap).build_1k0s4u_k$ = function () {
- this.get_internalMap_kinfuy_k$().build_52xuhq_k$();
- var tmp;
- if (this.get_size_woubt6_k$() > 0) {
- tmp = this;
- } else {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = EmptyHolder_getInstance().value_1;
- }
- return tmp;
- };
- protoOf(LinkedHashMap).checkIsMutable_h5js84_k$ = function () {
- return this.get_internalMap_kinfuy_k$().checkIsMutable_h5js84_k$();
- };
-
- function LinkedHashMap() {
- }
-
- function LinkedHashSet_init_$Init$($this) {
- HashSet_init_$Init$_0($this);
- LinkedHashSet.call($this);
- return $this;
- }
-
- function LinkedHashSet_init_$Create$() {
- return LinkedHashSet_init_$Init$(objectCreate(protoOf(LinkedHashSet)));
- }
-
- function LinkedHashSet_init_$Init$_0(elements, $this) {
- HashSet_init_$Init$_1(elements, $this);
- LinkedHashSet.call($this);
- return $this;
- }
-
- function LinkedHashSet_init_$Create$_0(elements) {
- return LinkedHashSet_init_$Init$_0(elements, objectCreate(protoOf(LinkedHashSet)));
- }
-
- function LinkedHashSet_init_$Init$_1(initialCapacity, loadFactor, $this) {
- HashSet_init_$Init$_2(initialCapacity, loadFactor, $this);
- LinkedHashSet.call($this);
- return $this;
- }
-
- function LinkedHashSet_init_$Create$_1(initialCapacity, loadFactor) {
- return LinkedHashSet_init_$Init$_1(initialCapacity, loadFactor, objectCreate(protoOf(LinkedHashSet)));
- }
-
- function LinkedHashSet_init_$Init$_2(initialCapacity, $this) {
- LinkedHashSet_init_$Init$_1(initialCapacity, 1.0, $this);
- return $this;
- }
-
- function LinkedHashSet_init_$Create$_2(initialCapacity) {
- return LinkedHashSet_init_$Init$_2(initialCapacity, objectCreate(protoOf(LinkedHashSet)));
- }
-
- function LinkedHashSet_init_$Init$_3(internalMap, $this) {
- HashSet_init_$Init$(internalMap, $this);
- LinkedHashSet.call($this);
- return $this;
- }
-
- function LinkedHashSet_init_$Create$_3(internalMap) {
- return LinkedHashSet_init_$Init$_3(internalMap, objectCreate(protoOf(LinkedHashSet)));
- }
-
- function EmptyHolder_0() {
- EmptyHolder_instance_0 = this;
- var tmp = this;
- // Inline function 'kotlin.also' call
- var this_0 = InternalHashMap_init_$Create$_0(0);
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.EmptyHolder.value.' call
- this_0.build_52xuhq_k$();
- tmp.value_1 = LinkedHashSet_init_$Create$_3(this_0);
- }
-
- protoOf(EmptyHolder_0).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- var EmptyHolder_instance_0;
-
- function EmptyHolder_getInstance_0() {
- if (EmptyHolder_instance_0 == null)
- new EmptyHolder_0();
- return EmptyHolder_instance_0;
- }
-
- protoOf(LinkedHashSet).build_1k0s4u_k$ = function () {
- this.get_internalMap_kinfuy_k$().build_52xuhq_k$();
- return this.get_size_woubt6_k$() > 0 ? this : EmptyHolder_getInstance_0().value_1;
- };
- protoOf(LinkedHashSet).checkIsMutable_h5js84_k$ = function () {
- return this.get_internalMap_kinfuy_k$().checkIsMutable_h5js84_k$();
- };
-
- function LinkedHashSet() {
- }
-
- function RandomAccess() {
- }
-
- function set_output(_set____db54di) {
- _init_properties_console_kt__rfg7jv();
- output = _set____db54di;
- }
-
- function get_output() {
- _init_properties_console_kt__rfg7jv();
- return output;
- }
-
- var output;
-
- function BaseOutput() {
- }
-
- protoOf(BaseOutput).println_uvj9r3_k$ = function () {
- this.print_o1pwgy_k$('\n');
- };
- protoOf(BaseOutput).println_ghnc0w_k$ = function (message) {
- this.print_o1pwgy_k$(message);
- this.println_uvj9r3_k$();
- };
- protoOf(BaseOutput).flush_shahbo_k$ = function () {
- };
-
- function NodeJsOutput(outputStream) {
- BaseOutput.call(this);
- this.outputStream_1 = outputStream;
- }
-
- protoOf(NodeJsOutput).get_outputStream_2dy5nu_k$ = function () {
- return this.outputStream_1;
- };
- protoOf(NodeJsOutput).print_o1pwgy_k$ = function (message) {
- // Inline function 'kotlin.io.String' call
- var messageString = String(message);
- this.outputStream_1.write(messageString);
- };
-
- function BufferedOutputToConsoleLog() {
- BufferedOutput.call(this);
- }
-
- protoOf(BufferedOutputToConsoleLog).print_o1pwgy_k$ = function (message) {
- // Inline function 'kotlin.io.String' call
- var s = String(message);
- // Inline function 'kotlin.text.nativeLastIndexOf' call
- // Inline function 'kotlin.js.asDynamic' call
- var i = s.lastIndexOf('\n', 0);
- if (i >= 0) {
- var tmp = this;
- var tmp_0 = this.buffer_1;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.buffer_1 = tmp_0 + s.substring(0, i);
- this.flush_shahbo_k$();
- // Inline function 'kotlin.text.substring' call
- var this_0 = s;
- var startIndex = i + 1 | 0;
- // Inline function 'kotlin.js.asDynamic' call
- s = this_0.substring(startIndex);
- }
- this.buffer_1 = this.buffer_1 + s;
- };
- protoOf(BufferedOutputToConsoleLog).flush_shahbo_k$ = function () {
- console.log(this.buffer_1);
- this.buffer_1 = '';
- };
-
- function String_0(value) {
- _init_properties_console_kt__rfg7jv();
- return String(value);
- }
-
- function BufferedOutput() {
- BaseOutput.call(this);
- this.buffer_1 = '';
- }
-
- protoOf(BufferedOutput).set_buffer_25ukzx_k$ = function (_set____db54di) {
- this.buffer_1 = _set____db54di;
- };
- protoOf(BufferedOutput).get_buffer_bmaafd_k$ = function () {
- return this.buffer_1;
- };
- protoOf(BufferedOutput).print_o1pwgy_k$ = function (message) {
- var tmp = this;
- var tmp_0 = this.buffer_1;
- // Inline function 'kotlin.io.String' call
- tmp.buffer_1 = tmp_0 + String(message);
- };
- protoOf(BufferedOutput).flush_shahbo_k$ = function () {
- this.buffer_1 = '';
- };
- var properties_initialized_console_kt_gll9dl;
-
- function _init_properties_console_kt__rfg7jv() {
- if (!properties_initialized_console_kt_gll9dl) {
- properties_initialized_console_kt_gll9dl = true;
- // Inline function 'kotlin.run' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.io.output.' call
- var isNode = typeof process !== 'undefined' && process.versions && !!process.versions.node;
- output = isNode ? new NodeJsOutput(process.stdout) : new BufferedOutputToConsoleLog();
- }
- }
-
- function get_EmptyContinuation() {
- _init_properties_EmptyContinuation_kt__o181ce();
- return EmptyContinuation;
- }
-
- var EmptyContinuation;
-
- function _no_name_provided__qut3iv_2($context) {
- this.$context_1 = $context;
- }
-
- protoOf(_no_name_provided__qut3iv_2).get_context_h02k06_k$ = function () {
- return this.$context_1;
- };
- protoOf(_no_name_provided__qut3iv_2).resumeWith_b9cu3x_k$ = function (result) {
- // Inline function 'kotlin.getOrThrow' call
- throwOnFailure(result);
- var tmp = _Result___get_value__impl__bjfvqg(result);
- (tmp == null ? true : !(tmp == null)) || THROW_CCE();
- return Unit_getInstance();
- };
- protoOf(_no_name_provided__qut3iv_2).resumeWith_dtxwbr_k$ = function (result) {
- return this.resumeWith_b9cu3x_k$(result);
- };
- var properties_initialized_EmptyContinuation_kt_4jdb9w;
-
- function _init_properties_EmptyContinuation_kt__o181ce() {
- if (!properties_initialized_EmptyContinuation_kt_4jdb9w) {
- properties_initialized_EmptyContinuation_kt_4jdb9w = true;
- // Inline function 'kotlin.coroutines.Continuation' call
- var context = EmptyCoroutineContext_getInstance();
- EmptyContinuation = new _no_name_provided__qut3iv_2(context);
- }
- }
-
- function asDynamic(_this__u8e3s4) {
- return _this__u8e3s4;
- }
-
- function unsafeCastDynamic(_this__u8e3s4) {
- return _this__u8e3s4;
- }
-
- function unsafeCast(_this__u8e3s4) {
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4;
- }
-
- function EnumEntriesSerializationProxy(entries) {
- }
-
- function JsPolyfill(implementation) {
- this.implementation_1 = implementation;
- }
-
- protoOf(JsPolyfill).get_implementation_9txf7p_k$ = function () {
- return this.implementation_1;
- };
- protoOf(JsPolyfill).equals = function (other) {
- if (!(other instanceof JsPolyfill))
- return false;
- var tmp0_other_with_cast = other instanceof JsPolyfill ? other : THROW_CCE();
- if (!(this.implementation_1 === tmp0_other_with_cast.implementation_1))
- return false;
- return true;
- };
- protoOf(JsPolyfill).hashCode = function () {
- return imul(getStringHashCode('implementation'), 127) ^ getStringHashCode(this.implementation_1);
- };
- protoOf(JsPolyfill).toString = function () {
- return '@kotlin.js.JsPolyfill(implementation=' + this.implementation_1 + ')';
- };
-
- function Serializable() {
- }
-
- function platformEncodeToByteArray(_this__u8e3s4, source, startIndex, endIndex) {
- return _this__u8e3s4.encodeToByteArrayImpl_ebqasg_k$(source, startIndex, endIndex);
- }
-
- function platformEncodeIntoByteArray(_this__u8e3s4, source, destination, destinationOffset, startIndex, endIndex) {
- return _this__u8e3s4.encodeIntoByteArrayImpl_lkr6v7_k$(source, destination, destinationOffset, startIndex, endIndex);
- }
-
- function platformEncodeToString(_this__u8e3s4, source, startIndex, endIndex) {
- var byteResult = _this__u8e3s4.encodeToByteArrayImpl_ebqasg_k$(source, startIndex, endIndex);
- return _this__u8e3s4.bytesToStringImpl_fo2bjd_k$(byteResult);
- }
-
- function platformCharsToBytes(_this__u8e3s4, source, startIndex, endIndex) {
- return _this__u8e3s4.charsToBytesImpl_xmdp06_k$(source, startIndex, endIndex);
- }
-
- function nativeFill(_this__u8e3s4, element, fromIndex, toIndex) {
- // Inline function 'kotlin.js.asDynamic' call
- _this__u8e3s4.fill(element, fromIndex, toIndex);
- }
-
- function pow(_this__u8e3s4, n) {
- return Math.pow(_this__u8e3s4, n);
- }
-
- function max(a, b) {
- return Math.max(a, b);
- }
-
- function min(a, b) {
- return Math.min(a, b);
- }
-
- function get_INV_2_26() {
- _init_properties_PlatformRandom_kt__6kjv62();
- return INV_2_26;
- }
-
- var INV_2_26;
-
- function get_INV_2_53() {
- _init_properties_PlatformRandom_kt__6kjv62();
- return INV_2_53;
- }
-
- var INV_2_53;
- var properties_initialized_PlatformRandom_kt_uibhw8;
-
- function _init_properties_PlatformRandom_kt__6kjv62() {
- if (!properties_initialized_PlatformRandom_kt_uibhw8) {
- properties_initialized_PlatformRandom_kt_uibhw8 = true;
- // Inline function 'kotlin.math.pow' call
- INV_2_26 = Math.pow(2.0, -26);
- // Inline function 'kotlin.math.pow' call
- INV_2_53 = Math.pow(2.0, -53);
- }
- }
-
- function KCallable() {
- }
-
- function KClass() {
- }
-
- function KClassImpl(jClass) {
- this.jClass_1 = jClass;
- }
-
- protoOf(KClassImpl).get_jClass_en9agn_k$ = function () {
- return this.jClass_1;
- };
- protoOf(KClassImpl).get_qualifiedName_aokcf6_k$ = function () {
- throw new NotImplementedError();
- };
- protoOf(KClassImpl).equals = function (other) {
- var tmp;
- if (other instanceof NothingKClassImpl) {
- tmp = false;
- } else {
- if (other instanceof ErrorKClass) {
- tmp = false;
- } else {
- if (other instanceof KClassImpl) {
- tmp = equals(this.get_jClass_en9agn_k$(), other.get_jClass_en9agn_k$());
- } else {
- tmp = false;
- }
- }
- }
- return tmp;
- };
- protoOf(KClassImpl).hashCode = function () {
- var tmp0_safe_receiver = this.get_simpleName_r6f8py_k$();
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
- return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
- };
- protoOf(KClassImpl).toString = function () {
- return 'class ' + this.get_simpleName_r6f8py_k$();
- };
-
- function NothingKClassImpl() {
- NothingKClassImpl_instance = this;
- KClassImpl.call(this, Object);
- this.simpleName_1 = 'Nothing';
- }
-
- protoOf(NothingKClassImpl).get_simpleName_r6f8py_k$ = function () {
- return this.simpleName_1;
- };
- protoOf(NothingKClassImpl).isInstance_6tn68w_k$ = function (value) {
- return false;
- };
- protoOf(NothingKClassImpl).get_jClass_en9agn_k$ = function () {
- throw UnsupportedOperationException_init_$Create$_0("There's no native JS class for Nothing type");
- };
- protoOf(NothingKClassImpl).equals = function (other) {
- return other === this;
- };
- protoOf(NothingKClassImpl).hashCode = function () {
- return 0;
- };
- var NothingKClassImpl_instance;
-
- function NothingKClassImpl_getInstance() {
- if (NothingKClassImpl_instance == null)
- new NothingKClassImpl();
- return NothingKClassImpl_instance;
- }
-
- function ErrorKClass() {
- }
-
- protoOf(ErrorKClass).get_simpleName_r6f8py_k$ = function () {
- var message = 'Unknown simpleName for ErrorKClass';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- };
- protoOf(ErrorKClass).get_qualifiedName_aokcf6_k$ = function () {
- var message = 'Unknown qualifiedName for ErrorKClass';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- };
- protoOf(ErrorKClass).isInstance_6tn68w_k$ = function (value) {
- var message = "Can's check isInstance on ErrorKClass";
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- };
- protoOf(ErrorKClass).equals = function (other) {
- return other === this;
- };
- protoOf(ErrorKClass).hashCode = function () {
- return 0;
- };
-
- function _get_givenSimpleName__jpleuh($this) {
- return $this.givenSimpleName_1;
- }
-
- function _get_isInstanceFunction__fkefl8($this) {
- return $this.isInstanceFunction_1;
- }
-
- function PrimitiveKClassImpl(jClass, givenSimpleName, isInstanceFunction) {
- KClassImpl.call(this, jClass);
- this.givenSimpleName_1 = givenSimpleName;
- this.isInstanceFunction_1 = isInstanceFunction;
- }
-
- protoOf(PrimitiveKClassImpl).equals = function (other) {
- if (!(other instanceof PrimitiveKClassImpl))
- return false;
- return protoOf(KClassImpl).equals.call(this, other) ? this.givenSimpleName_1 === other.givenSimpleName_1 : false;
- };
- protoOf(PrimitiveKClassImpl).get_simpleName_r6f8py_k$ = function () {
- return this.givenSimpleName_1;
- };
- protoOf(PrimitiveKClassImpl).isInstance_6tn68w_k$ = function (value) {
- return this.isInstanceFunction_1(value);
- };
-
- function SimpleKClassImpl(jClass) {
- KClassImpl.call(this, jClass);
- var tmp = this;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp0_safe_receiver = jClass.$metadata$;
- tmp.simpleName_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.simpleName;
- }
-
- protoOf(SimpleKClassImpl).get_simpleName_r6f8py_k$ = function () {
- return this.simpleName_1;
- };
- protoOf(SimpleKClassImpl).isInstance_6tn68w_k$ = function (value) {
- return jsIsType(value, this.get_jClass_en9agn_k$());
- };
-
- function KFunction() {
- }
-
- function KProperty0() {
- }
-
- function KProperty1() {
- }
-
- function KProperty() {
- }
-
- function KProperty2() {
- }
-
- function KMutableProperty0() {
- }
-
- function KMutableProperty() {
- }
-
- function KMutableProperty1() {
- }
-
- function KMutableProperty2() {
- }
-
- function KType() {
- }
-
- function createKType(classifier, arguments_0, isMarkedNullable) {
- return new KTypeImpl(classifier, asList(arguments_0), isMarkedNullable);
- }
-
- function createDynamicKType() {
- return DynamicKType_getInstance();
- }
-
- function createKTypeParameter(name, upperBounds, variance) {
- var kVariance;
- switch (variance) {
- case 'in':
- kVariance = KVariance_IN_getInstance();
- break;
- case 'out':
- kVariance = KVariance_OUT_getInstance();
- break;
- default:
- kVariance = KVariance_INVARIANT_getInstance();
- break;
- }
- return new KTypeParameterImpl(name, asList(upperBounds), kVariance, false);
- }
-
- function getStarKTypeProjection() {
- return Companion_getInstance_15().get_STAR_wo9fa3_k$();
- }
-
- function createCovariantKTypeProjection(type) {
- return Companion_getInstance_15().covariant_daguew_k$(type);
- }
-
- function createInvariantKTypeProjection(type) {
- return Companion_getInstance_15().invariant_a4yrrz_k$(type);
- }
-
- function createContravariantKTypeProjection(type) {
- return Companion_getInstance_15().contravariant_bkjggt_k$(type);
- }
-
- function KTypeImpl(classifier, arguments_0, isMarkedNullable) {
- this.classifier_1 = classifier;
- this.arguments_1 = arguments_0;
- this.isMarkedNullable_1 = isMarkedNullable;
- }
-
- protoOf(KTypeImpl).get_classifier_ottyl2_k$ = function () {
- return this.classifier_1;
- };
- protoOf(KTypeImpl).get_arguments_p5ddub_k$ = function () {
- return this.arguments_1;
- };
- protoOf(KTypeImpl).get_isMarkedNullable_4el8ow_k$ = function () {
- return this.isMarkedNullable_1;
- };
- protoOf(KTypeImpl).equals = function (other) {
- var tmp;
- var tmp_0;
- var tmp_1;
- if (other instanceof KTypeImpl) {
- tmp_1 = equals(this.classifier_1, other.classifier_1);
- } else {
- tmp_1 = false;
- }
- if (tmp_1) {
- tmp_0 = equals(this.arguments_1, other.arguments_1);
- } else {
- tmp_0 = false;
- }
- if (tmp_0) {
- tmp = this.isMarkedNullable_1 === other.isMarkedNullable_1;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(KTypeImpl).hashCode = function () {
- return imul(imul(hashCode(this.classifier_1), 31) + hashCode(this.arguments_1) | 0, 31) + getBooleanHashCode(this.isMarkedNullable_1) | 0;
- };
- protoOf(KTypeImpl).toString = function () {
- var tmp = this.classifier_1;
- var kClass = isInterface(tmp, KClass) ? tmp : null;
- var classifierName = kClass == null ? toString_1(this.classifier_1) : !(kClass.get_simpleName_r6f8py_k$() == null) ? kClass.get_simpleName_r6f8py_k$() : '(non-denotable type)';
- var args = this.arguments_1.isEmpty_y1axqb_k$() ? '' : joinToString_0(this.arguments_1, ', ', '<', '>');
- var nullable = this.isMarkedNullable_1 ? '?' : '';
- return plus_4(classifierName, args) + nullable;
- };
-
- function DynamicKType() {
- DynamicKType_instance = this;
- this.classifier_1 = null;
- this.arguments_1 = emptyList();
- this.isMarkedNullable_1 = false;
- }
-
- protoOf(DynamicKType).get_classifier_ottyl2_k$ = function () {
- return this.classifier_1;
- };
- protoOf(DynamicKType).get_arguments_p5ddub_k$ = function () {
- return this.arguments_1;
- };
- protoOf(DynamicKType).get_isMarkedNullable_4el8ow_k$ = function () {
- return this.isMarkedNullable_1;
- };
- protoOf(DynamicKType).toString = function () {
- return 'dynamic';
- };
- var DynamicKType_instance;
-
- function DynamicKType_getInstance() {
- if (DynamicKType_instance == null)
- new DynamicKType();
- return DynamicKType_instance;
- }
-
- function KTypeParameterImpl(name, upperBounds, variance, isReified) {
- this.name_1 = name;
- this.upperBounds_1 = upperBounds;
- this.variance_1 = variance;
- this.isReified_1 = isReified;
- }
-
- protoOf(KTypeParameterImpl).get_name_woqyms_k$ = function () {
- return this.name_1;
- };
- protoOf(KTypeParameterImpl).get_upperBounds_k5qia_k$ = function () {
- return this.upperBounds_1;
- };
- protoOf(KTypeParameterImpl).get_variance_ik7ku2_k$ = function () {
- return this.variance_1;
- };
- protoOf(KTypeParameterImpl).get_isReified_gx0s91_k$ = function () {
- return this.isReified_1;
- };
- protoOf(KTypeParameterImpl).toString = function () {
- return this.name_1;
- };
- protoOf(KTypeParameterImpl).component1_7eebsc_k$ = function () {
- return this.name_1;
- };
- protoOf(KTypeParameterImpl).component2_7eebsb_k$ = function () {
- return this.upperBounds_1;
- };
- protoOf(KTypeParameterImpl).component3_7eebsa_k$ = function () {
- return this.variance_1;
- };
- protoOf(KTypeParameterImpl).component4_7eebs9_k$ = function () {
- return this.isReified_1;
- };
- protoOf(KTypeParameterImpl).copy_hiuxq5_k$ = function (name, upperBounds, variance, isReified) {
- return new KTypeParameterImpl(name, upperBounds, variance, isReified);
- };
- protoOf(KTypeParameterImpl).copy$default_puwfie_k$ = function (name, upperBounds, variance, isReified, $super) {
- name = name === VOID ? this.name_1 : name;
- upperBounds = upperBounds === VOID ? this.upperBounds_1 : upperBounds;
- variance = variance === VOID ? this.variance_1 : variance;
- isReified = isReified === VOID ? this.isReified_1 : isReified;
- return $super === VOID ? this.copy_hiuxq5_k$(name, upperBounds, variance, isReified) : $super.copy_hiuxq5_k$.call(this, name, upperBounds, variance, isReified);
- };
- protoOf(KTypeParameterImpl).hashCode = function () {
- var result = getStringHashCode(this.name_1);
- result = imul(result, 31) + hashCode(this.upperBounds_1) | 0;
- result = imul(result, 31) + this.variance_1.hashCode() | 0;
- result = imul(result, 31) + getBooleanHashCode(this.isReified_1) | 0;
- return result;
- };
- protoOf(KTypeParameterImpl).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof KTypeParameterImpl))
- return false;
- var tmp0_other_with_cast = other instanceof KTypeParameterImpl ? other : THROW_CCE();
- if (!(this.name_1 === tmp0_other_with_cast.name_1))
- return false;
- if (!equals(this.upperBounds_1, tmp0_other_with_cast.upperBounds_1))
- return false;
- if (!this.variance_1.equals(tmp0_other_with_cast.variance_1))
- return false;
- if (!(this.isReified_1 === tmp0_other_with_cast.isReified_1))
- return false;
- return true;
- };
-
- function get_functionClasses() {
- _init_properties_primitives_kt__3fums4();
- return functionClasses;
- }
-
- var functionClasses;
-
- function PrimitiveClasses$anyClass$lambda(it) {
- return !(it == null);
- }
-
- function PrimitiveClasses$numberClass$lambda(it) {
- return isNumber(it);
- }
-
- function PrimitiveClasses$booleanClass$lambda(it) {
- return !(it == null) ? typeof it === 'boolean' : false;
- }
-
- function PrimitiveClasses$byteClass$lambda(it) {
- return !(it == null) ? typeof it === 'number' : false;
- }
-
- function PrimitiveClasses$shortClass$lambda(it) {
- return !(it == null) ? typeof it === 'number' : false;
- }
-
- function PrimitiveClasses$intClass$lambda(it) {
- return !(it == null) ? typeof it === 'number' : false;
- }
-
- function PrimitiveClasses$floatClass$lambda(it) {
- return !(it == null) ? typeof it === 'number' : false;
- }
-
- function PrimitiveClasses$doubleClass$lambda(it) {
- return !(it == null) ? typeof it === 'number' : false;
- }
-
- function PrimitiveClasses$arrayClass$lambda(it) {
- return !(it == null) ? isArray(it) : false;
- }
-
- function PrimitiveClasses$stringClass$lambda(it) {
- return !(it == null) ? typeof it === 'string' : false;
- }
-
- function PrimitiveClasses$throwableClass$lambda(it) {
- return it instanceof Error;
- }
-
- function PrimitiveClasses$booleanArrayClass$lambda(it) {
- return !(it == null) ? isBooleanArray(it) : false;
- }
-
- function PrimitiveClasses$charArrayClass$lambda(it) {
- return !(it == null) ? isCharArray(it) : false;
- }
-
- function PrimitiveClasses$byteArrayClass$lambda(it) {
- return !(it == null) ? isByteArray(it) : false;
- }
-
- function PrimitiveClasses$shortArrayClass$lambda(it) {
- return !(it == null) ? isShortArray(it) : false;
- }
-
- function PrimitiveClasses$intArrayClass$lambda(it) {
- return !(it == null) ? isIntArray(it) : false;
- }
-
- function PrimitiveClasses$longArrayClass$lambda(it) {
- return !(it == null) ? isLongArray(it) : false;
- }
-
- function PrimitiveClasses$floatArrayClass$lambda(it) {
- return !(it == null) ? isFloatArray(it) : false;
- }
-
- function PrimitiveClasses$doubleArrayClass$lambda(it) {
- return !(it == null) ? isDoubleArray(it) : false;
- }
-
- function PrimitiveClasses$functionClass$lambda($arity) {
- return function (it) {
- var tmp;
- if (typeof it === 'function') {
- // Inline function 'kotlin.js.asDynamic' call
- tmp = it.length === $arity;
- } else {
- tmp = false;
- }
- return tmp;
- };
- }
-
- function PrimitiveClasses() {
- PrimitiveClasses_instance = this;
- var tmp = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_0 = Object;
- tmp.anyClass = new PrimitiveKClassImpl(tmp_0, 'Any', PrimitiveClasses$anyClass$lambda);
- var tmp_1 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_2 = Number;
- tmp_1.numberClass = new PrimitiveKClassImpl(tmp_2, 'Number', PrimitiveClasses$numberClass$lambda);
- this.nothingClass = NothingKClassImpl_getInstance();
- var tmp_3 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_4 = Boolean;
- tmp_3.booleanClass = new PrimitiveKClassImpl(tmp_4, 'Boolean', PrimitiveClasses$booleanClass$lambda);
- var tmp_5 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_6 = Number;
- tmp_5.byteClass = new PrimitiveKClassImpl(tmp_6, 'Byte', PrimitiveClasses$byteClass$lambda);
- var tmp_7 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_8 = Number;
- tmp_7.shortClass = new PrimitiveKClassImpl(tmp_8, 'Short', PrimitiveClasses$shortClass$lambda);
- var tmp_9 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_10 = Number;
- tmp_9.intClass = new PrimitiveKClassImpl(tmp_10, 'Int', PrimitiveClasses$intClass$lambda);
- var tmp_11 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_12 = Number;
- tmp_11.floatClass = new PrimitiveKClassImpl(tmp_12, 'Float', PrimitiveClasses$floatClass$lambda);
- var tmp_13 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_14 = Number;
- tmp_13.doubleClass = new PrimitiveKClassImpl(tmp_14, 'Double', PrimitiveClasses$doubleClass$lambda);
- var tmp_15 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_16 = Array;
- tmp_15.arrayClass = new PrimitiveKClassImpl(tmp_16, 'Array', PrimitiveClasses$arrayClass$lambda);
- var tmp_17 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_18 = String;
- tmp_17.stringClass = new PrimitiveKClassImpl(tmp_18, 'String', PrimitiveClasses$stringClass$lambda);
- var tmp_19 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_20 = Error;
- tmp_19.throwableClass = new PrimitiveKClassImpl(tmp_20, 'Throwable', PrimitiveClasses$throwableClass$lambda);
- var tmp_21 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_22 = Array;
- tmp_21.booleanArrayClass = new PrimitiveKClassImpl(tmp_22, 'BooleanArray', PrimitiveClasses$booleanArrayClass$lambda);
- var tmp_23 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_24 = Uint16Array;
- tmp_23.charArrayClass = new PrimitiveKClassImpl(tmp_24, 'CharArray', PrimitiveClasses$charArrayClass$lambda);
- var tmp_25 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_26 = Int8Array;
- tmp_25.byteArrayClass = new PrimitiveKClassImpl(tmp_26, 'ByteArray', PrimitiveClasses$byteArrayClass$lambda);
- var tmp_27 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_28 = Int16Array;
- tmp_27.shortArrayClass = new PrimitiveKClassImpl(tmp_28, 'ShortArray', PrimitiveClasses$shortArrayClass$lambda);
- var tmp_29 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_30 = Int32Array;
- tmp_29.intArrayClass = new PrimitiveKClassImpl(tmp_30, 'IntArray', PrimitiveClasses$intArrayClass$lambda);
- var tmp_31 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_32 = Array;
- tmp_31.longArrayClass = new PrimitiveKClassImpl(tmp_32, 'LongArray', PrimitiveClasses$longArrayClass$lambda);
- var tmp_33 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_34 = Float32Array;
- tmp_33.floatArrayClass = new PrimitiveKClassImpl(tmp_34, 'FloatArray', PrimitiveClasses$floatArrayClass$lambda);
- var tmp_35 = this;
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_36 = Float64Array;
- tmp_35.doubleArrayClass = new PrimitiveKClassImpl(tmp_36, 'DoubleArray', PrimitiveClasses$doubleArrayClass$lambda);
- }
-
- protoOf(PrimitiveClasses).get_anyClass_x0jl4l_k$ = function () {
- return this.anyClass;
- };
- protoOf(PrimitiveClasses).get_numberClass_pnym9y_k$ = function () {
- return this.numberClass;
- };
- protoOf(PrimitiveClasses).get_nothingClass_7ivpcc_k$ = function () {
- return this.nothingClass;
- };
- protoOf(PrimitiveClasses).get_booleanClass_d285fr_k$ = function () {
- return this.booleanClass;
- };
- protoOf(PrimitiveClasses).get_byteClass_pu7s61_k$ = function () {
- return this.byteClass;
- };
- protoOf(PrimitiveClasses).get_shortClass_5ajsv9_k$ = function () {
- return this.shortClass;
- };
- protoOf(PrimitiveClasses).get_intClass_mw4y9a_k$ = function () {
- return this.intClass;
- };
- protoOf(PrimitiveClasses).get_floatClass_xlwq2t_k$ = function () {
- return this.floatClass;
- };
- protoOf(PrimitiveClasses).get_doubleClass_dahzcy_k$ = function () {
- return this.doubleClass;
- };
- protoOf(PrimitiveClasses).get_arrayClass_udg0fc_k$ = function () {
- return this.arrayClass;
- };
- protoOf(PrimitiveClasses).get_stringClass_bik2gy_k$ = function () {
- return this.stringClass;
- };
- protoOf(PrimitiveClasses).get_throwableClass_ee1a8x_k$ = function () {
- return this.throwableClass;
- };
- protoOf(PrimitiveClasses).get_booleanArrayClass_lnbwea_k$ = function () {
- return this.booleanArrayClass;
- };
- protoOf(PrimitiveClasses).get_charArrayClass_7lhfoe_k$ = function () {
- return this.charArrayClass;
- };
- protoOf(PrimitiveClasses).get_byteArrayClass_57my8g_k$ = function () {
- return this.byteArrayClass;
- };
- protoOf(PrimitiveClasses).get_shortArrayClass_c1p7wy_k$ = function () {
- return this.shortArrayClass;
- };
- protoOf(PrimitiveClasses).get_intArrayClass_h44pbv_k$ = function () {
- return this.intArrayClass;
- };
- protoOf(PrimitiveClasses).get_longArrayClass_v379a4_k$ = function () {
- return this.longArrayClass;
- };
- protoOf(PrimitiveClasses).get_floatArrayClass_qngmha_k$ = function () {
- return this.floatArrayClass;
- };
- protoOf(PrimitiveClasses).get_doubleArrayClass_84hee1_k$ = function () {
- return this.doubleArrayClass;
- };
- protoOf(PrimitiveClasses).functionClass = function (arity) {
- var tmp0_elvis_lhs = get_functionClasses()[arity];
- var tmp;
- if (tmp0_elvis_lhs == null) {
- // Inline function 'kotlin.run' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.reflect.js.internal.PrimitiveClasses.functionClass.' call
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp_0 = Function;
- var tmp_1 = 'Function' + arity;
- var result = new PrimitiveKClassImpl(tmp_0, tmp_1, PrimitiveClasses$functionClass$lambda(arity));
- // Inline function 'kotlin.js.asDynamic' call
- get_functionClasses()[arity] = result;
- tmp = result;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- return tmp;
- };
- var PrimitiveClasses_instance;
-
- function PrimitiveClasses_getInstance() {
- if (PrimitiveClasses_instance == null)
- new PrimitiveClasses();
- return PrimitiveClasses_instance;
- }
-
- var properties_initialized_primitives_kt_jle18u;
-
- function _init_properties_primitives_kt__3fums4() {
- if (!properties_initialized_primitives_kt_jle18u) {
- properties_initialized_primitives_kt_jle18u = true;
- // Inline function 'kotlin.arrayOfNulls' call
- functionClasses = fillArrayVal(Array(0), null);
- }
- }
-
- function getKClass(jClass) {
- var tmp;
- if (Array.isArray(jClass)) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = getKClassM(jClass);
- } else {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = getKClass1(jClass);
- }
- return tmp;
- }
-
- function getKClassM(jClasses) {
- var tmp;
- switch (jClasses.length) {
- case 1:
- tmp = getKClass1(jClasses[0]);
- break;
- case 0:
- // Inline function 'kotlin.js.unsafeCast' call
-
- // Inline function 'kotlin.js.asDynamic' call
-
- tmp = NothingKClassImpl_getInstance();
- break;
- default:
- // Inline function 'kotlin.js.unsafeCast' call
-
- // Inline function 'kotlin.js.asDynamic' call
-
- tmp = new ErrorKClass();
- break;
- }
- return tmp;
- }
-
- function getKClass1(jClass) {
- if (jClass === String) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- return PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$();
- }
- // Inline function 'kotlin.js.asDynamic' call
- var metadata = jClass.$metadata$;
- var tmp;
- if (metadata != null) {
- var tmp_0;
- if (metadata.$kClass$ == null) {
- var kClass = new SimpleKClassImpl(jClass);
- metadata.$kClass$ = kClass;
- tmp_0 = kClass;
- } else {
- tmp_0 = metadata.$kClass$;
- }
- tmp = tmp_0;
- } else {
- tmp = new SimpleKClassImpl(jClass);
- }
- return tmp;
- }
-
- function getKClassFromExpression(e) {
- // Inline function 'kotlin.js.unsafeCast' call
- var tmp;
- switch (typeof e) {
- case 'string':
- tmp = PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$();
- break;
- case 'number':
- var tmp_0;
- // Inline function 'kotlin.js.asDynamic' call
-
- // Inline function 'kotlin.js.jsBitwiseOr' call
-
- if ((e | 0) === e) {
- tmp_0 = PrimitiveClasses_getInstance().get_intClass_mw4y9a_k$();
- } else {
- tmp_0 = PrimitiveClasses_getInstance().get_doubleClass_dahzcy_k$();
- }
-
- tmp = tmp_0;
- break;
- case 'boolean':
- tmp = PrimitiveClasses_getInstance().get_booleanClass_d285fr_k$();
- break;
- case 'function':
- var tmp_1 = PrimitiveClasses_getInstance();
- // Inline function 'kotlin.js.asDynamic' call
-
- tmp = tmp_1.functionClass(e.length);
- break;
- default:
- var tmp_2;
- if (isBooleanArray(e)) {
- tmp_2 = PrimitiveClasses_getInstance().get_booleanArrayClass_lnbwea_k$();
- } else {
- if (isCharArray(e)) {
- tmp_2 = PrimitiveClasses_getInstance().get_charArrayClass_7lhfoe_k$();
- } else {
- if (isByteArray(e)) {
- tmp_2 = PrimitiveClasses_getInstance().get_byteArrayClass_57my8g_k$();
- } else {
- if (isShortArray(e)) {
- tmp_2 = PrimitiveClasses_getInstance().get_shortArrayClass_c1p7wy_k$();
- } else {
- if (isIntArray(e)) {
- tmp_2 = PrimitiveClasses_getInstance().get_intArrayClass_h44pbv_k$();
- } else {
- if (isLongArray(e)) {
- tmp_2 = PrimitiveClasses_getInstance().get_longArrayClass_v379a4_k$();
- } else {
- if (isFloatArray(e)) {
- tmp_2 = PrimitiveClasses_getInstance().get_floatArrayClass_qngmha_k$();
- } else {
- if (isDoubleArray(e)) {
- tmp_2 = PrimitiveClasses_getInstance().get_doubleArrayClass_84hee1_k$();
- } else {
- if (isInterface(e, KClass)) {
- tmp_2 = getKClass(KClass);
- } else {
- if (isArray(e)) {
- tmp_2 = PrimitiveClasses_getInstance().get_arrayClass_udg0fc_k$();
- } else {
- var constructor = Object.getPrototypeOf(e).constructor;
- var tmp_3;
- if (constructor === Object) {
- tmp_3 = PrimitiveClasses_getInstance().get_anyClass_x0jl4l_k$();
- } else if (constructor === Error) {
- tmp_3 = PrimitiveClasses_getInstance().get_throwableClass_ee1a8x_k$();
- } else {
- var jsClass = constructor;
- tmp_3 = getKClass1(jsClass);
- }
- tmp_2 = tmp_3;
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
-
- tmp = tmp_2;
- break;
- }
- // Inline function 'kotlin.js.asDynamic' call
- return tmp;
- }
-
- function reset(_this__u8e3s4) {
- _this__u8e3s4.lastIndex = 0;
- }
-
- function get_1(_this__u8e3s4, index) {
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4[index];
- }
-
- function Appendable() {
- }
-
- function CharacterCodingException_init_$Init$($this) {
- CharacterCodingException.call($this, null);
- return $this;
- }
-
- function CharacterCodingException_init_$Create$() {
- var tmp = CharacterCodingException_init_$Init$(objectCreate(protoOf(CharacterCodingException)));
- captureStack(tmp, CharacterCodingException_init_$Create$);
- return tmp;
- }
-
- function CharacterCodingException(message) {
- Exception_init_$Init$_0(message, this);
- captureStack(this, CharacterCodingException);
- }
-
- function StringBuilder_init_$Init$(capacity, $this) {
- StringBuilder_init_$Init$_1($this);
- return $this;
- }
-
- function StringBuilder_init_$Create$(capacity) {
- return StringBuilder_init_$Init$(capacity, objectCreate(protoOf(StringBuilder)));
- }
-
- function StringBuilder_init_$Init$_0(content, $this) {
- StringBuilder.call($this, toString_1(content));
- return $this;
- }
-
- function StringBuilder_init_$Create$_0(content) {
- return StringBuilder_init_$Init$_0(content, objectCreate(protoOf(StringBuilder)));
- }
-
- function StringBuilder_init_$Init$_1($this) {
- StringBuilder.call($this, '');
- return $this;
- }
-
- function StringBuilder_init_$Create$_1() {
- return StringBuilder_init_$Init$_1(objectCreate(protoOf(StringBuilder)));
- }
-
- function _set_string__57jj1i($this, _set____db54di) {
- $this.string_1 = _set____db54di;
- }
-
- function _get_string__6oa3oa($this) {
- return $this.string_1;
- }
-
- function checkReplaceRange($this, startIndex, endIndex, length) {
- if (startIndex < 0 ? true : startIndex > length) {
- throw IndexOutOfBoundsException_init_$Create$_0('startIndex: ' + startIndex + ', length: ' + length);
- }
- if (startIndex > endIndex) {
- throw IllegalArgumentException_init_$Create$_0('startIndex(' + startIndex + ') > endIndex(' + endIndex + ')');
- }
- }
-
- function StringBuilder(content) {
- this.string_1 = !(content === undefined) ? content : '';
- }
-
- protoOf(StringBuilder).get_length_g42xv3_k$ = function () {
- // Inline function 'kotlin.js.asDynamic' call
- return this.string_1.length;
- };
- protoOf(StringBuilder).get_kdzpvg_k$ = function (index) {
- // Inline function 'kotlin.text.getOrElse' call
- var this_0 = this.string_1;
- var tmp;
- if (index >= 0 ? index <= get_lastIndex_6(this_0) : false) {
- tmp = charSequenceGet(this_0, index);
- } else {
- throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', length: ' + this.get_length_g42xv3_k$() + '}');
- }
- return tmp;
- };
- protoOf(StringBuilder).subSequence_hm5hnj_k$ = function (startIndex, endIndex) {
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- return this.string_1.substring(startIndex, endIndex);
- };
- protoOf(StringBuilder).append_am5a4z_k$ = function (value) {
- this.string_1 = this.string_1 + toString(value);
- return this;
- };
- protoOf(StringBuilder).append_jgojdo_k$ = function (value) {
- this.string_1 = this.string_1 + toString_0(value);
- return this;
- };
- protoOf(StringBuilder).append_xdc1zw_k$ = function (value, startIndex, endIndex) {
- return this.appendRange_arc5oa_k$(value == null ? 'null' : value, startIndex, endIndex);
- };
- protoOf(StringBuilder).reverse_i6tiw2_k$ = function () {
- var reversed = '';
- var index = this.string_1.length - 1 | 0;
- while (index >= 0) {
- var tmp = this.string_1;
- var tmp0 = index;
- index = tmp0 - 1 | 0;
- var low = charSequenceGet(tmp, tmp0);
- if (isLowSurrogate(low) ? index >= 0 : false) {
- var tmp_0 = this.string_1;
- var tmp1 = index;
- index = tmp1 - 1 | 0;
- var high = charSequenceGet(tmp_0, tmp1);
- if (isHighSurrogate(high)) {
- reversed = reversed + new Char(high) + toString(low);
- } else {
- reversed = reversed + new Char(low) + toString(high);
- }
- } else {
- reversed = reversed + toString(low);
- }
- }
- this.string_1 = reversed;
- return this;
- };
- protoOf(StringBuilder).append_t8pm91_k$ = function (value) {
- this.string_1 = this.string_1 + toString_0(value);
- return this;
- };
- protoOf(StringBuilder).append_g4kq45_k$ = function (value) {
- this.string_1 = this.string_1 + value;
- return this;
- };
- protoOf(StringBuilder).append_yxu0ua_k$ = function (value) {
- return this.append_22ad7x_k$(value.toString());
- };
- protoOf(StringBuilder).append_osrnku_k$ = function (value) {
- return this.append_22ad7x_k$(value.toString());
- };
- protoOf(StringBuilder).append_uppzia_k$ = function (value) {
- return this.append_22ad7x_k$(value.toString());
- };
- protoOf(StringBuilder).append_8gl4h8_k$ = function (value) {
- return this.append_22ad7x_k$(value.toString());
- };
- protoOf(StringBuilder).append_g7wmaq_k$ = function (value) {
- return this.append_22ad7x_k$(value.toString());
- };
- protoOf(StringBuilder).append_jynnak_k$ = function (value) {
- return this.append_22ad7x_k$(value.toString());
- };
- protoOf(StringBuilder).append_eohvew_k$ = function (value) {
- this.string_1 = this.string_1 + concatToString(value);
- return this;
- };
- protoOf(StringBuilder).append_22ad7x_k$ = function (value) {
- var tmp = this;
- var tmp_0 = this.string_1;
- tmp.string_1 = tmp_0 + (value == null ? 'null' : value);
- return this;
- };
- protoOf(StringBuilder).capacity_14dpom_k$ = function () {
- return this.get_length_g42xv3_k$();
- };
- protoOf(StringBuilder).ensureCapacity_wr7980_k$ = function (minimumCapacity) {
- };
- protoOf(StringBuilder).indexOf_x62zdd_k$ = function (string) {
- // Inline function 'kotlin.js.asDynamic' call
- return this.string_1.indexOf(string);
- };
- protoOf(StringBuilder).indexOf_jar3b_k$ = function (string, startIndex) {
- // Inline function 'kotlin.js.asDynamic' call
- return this.string_1.indexOf(string, startIndex);
- };
- protoOf(StringBuilder).lastIndexOf_8r5hvr_k$ = function (string) {
- // Inline function 'kotlin.js.asDynamic' call
- return this.string_1.lastIndexOf(string);
- };
- protoOf(StringBuilder).lastIndexOf_dql50x_k$ = function (string, startIndex) {
- var tmp;
- // Inline function 'kotlin.text.isEmpty' call
- if (charSequenceLength(string) === 0) {
- tmp = startIndex < 0;
- } else {
- tmp = false;
- }
- if (tmp)
- return -1;
- // Inline function 'kotlin.js.asDynamic' call
- return this.string_1.lastIndexOf(string, startIndex);
- };
- protoOf(StringBuilder).insert_ktc7wm_k$ = function (index, value) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index) + value;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this.string_1.substring(index);
- return this;
- };
- protoOf(StringBuilder).insert_i0btdl_k$ = function (index, value) {
- return this.insert_xumlbs_k$(index, value.toString());
- };
- protoOf(StringBuilder).insert_kf40vb_k$ = function (index, value) {
- return this.insert_xumlbs_k$(index, value.toString());
- };
- protoOf(StringBuilder).insert_5z02kn_k$ = function (index, value) {
- return this.insert_xumlbs_k$(index, value.toString());
- };
- protoOf(StringBuilder).insert_qjjc8h_k$ = function (index, value) {
- return this.insert_xumlbs_k$(index, value.toString());
- };
- protoOf(StringBuilder).insert_9lbr89_k$ = function (index, value) {
- return this.insert_xumlbs_k$(index, value.toString());
- };
- protoOf(StringBuilder).insert_zi6gm1_k$ = function (index, value) {
- return this.insert_xumlbs_k$(index, value.toString());
- };
- protoOf(StringBuilder).insert_azl3w2_k$ = function (index, value) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index) + toString(value);
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this.string_1.substring(index);
- return this;
- };
- protoOf(StringBuilder).insert_117419_k$ = function (index, value) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index) + concatToString(value);
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this.string_1.substring(index);
- return this;
- };
- protoOf(StringBuilder).insert_nbdn49_k$ = function (index, value) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index) + toString_0(value);
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this.string_1.substring(index);
- return this;
- };
- protoOf(StringBuilder).insert_fjhmv4_k$ = function (index, value) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index) + toString_0(value);
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this.string_1.substring(index);
- return this;
- };
- protoOf(StringBuilder).insert_xumlbs_k$ = function (index, value) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.get_length_g42xv3_k$());
- var toInsert = value == null ? 'null' : value;
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index) + toInsert;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this.string_1.substring(index);
- return this;
- };
- protoOf(StringBuilder).setLength_oy0ork_k$ = function (newLength) {
- if (newLength < 0) {
- throw IllegalArgumentException_init_$Create$_0('Negative new length: ' + newLength + '.');
- }
- if (newLength <= this.get_length_g42xv3_k$()) {
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = this.string_1.substring(0, newLength);
- } else {
- var inductionVariable = this.get_length_g42xv3_k$();
- if (inductionVariable < newLength)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- this.string_1 = this.string_1 + toString(_Char___init__impl__6a9atx(0));
- }
- while (inductionVariable < newLength);
- }
- };
- protoOf(StringBuilder).substring_376r6h_k$ = function (startIndex) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(startIndex, this.get_length_g42xv3_k$());
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- return this.string_1.substring(startIndex);
- };
- protoOf(StringBuilder).substring_d7lab3_k$ = function (startIndex, endIndex) {
- Companion_getInstance_5().checkBoundsIndexes_fu3rwb_k$(startIndex, endIndex, this.get_length_g42xv3_k$());
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- return this.string_1.substring(startIndex, endIndex);
- };
- protoOf(StringBuilder).trimToSize_dmxq0i_k$ = function () {
- };
- protoOf(StringBuilder).toString = function () {
- return this.string_1;
- };
- protoOf(StringBuilder).clear_1keqml_k$ = function () {
- this.string_1 = '';
- return this;
- };
- protoOf(StringBuilder).set_l67naf_k$ = function (index, value) {
- Companion_getInstance_5().checkElementIndex_r3t1bm_k$(index, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index) + toString(value);
- // Inline function 'kotlin.text.substring' call
- var this_0 = this.string_1;
- var startIndex = index + 1 | 0;
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this_0.substring(startIndex);
- };
- protoOf(StringBuilder).setRange_ekuxun_k$ = function (startIndex, endIndex, value) {
- checkReplaceRange(this, startIndex, endIndex, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, startIndex) + value;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this.string_1.substring(endIndex);
- return this;
- };
- protoOf(StringBuilder).deleteAt_mq1vvq_k$ = function (index) {
- Companion_getInstance_5().checkElementIndex_r3t1bm_k$(index, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index);
- // Inline function 'kotlin.text.substring' call
- var this_0 = this.string_1;
- var startIndex = index + 1 | 0;
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this_0.substring(startIndex);
- return this;
- };
- protoOf(StringBuilder).deleteRange_2clgry_k$ = function (startIndex, endIndex) {
- checkReplaceRange(this, startIndex, endIndex, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, startIndex);
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this.string_1.substring(endIndex);
- return this;
- };
- protoOf(StringBuilder).toCharArray_bwugy6_k$ = function (destination, destinationOffset, startIndex, endIndex) {
- Companion_getInstance_5().checkBoundsIndexes_fu3rwb_k$(startIndex, endIndex, this.get_length_g42xv3_k$());
- Companion_getInstance_5().checkBoundsIndexes_fu3rwb_k$(destinationOffset, (destinationOffset + endIndex | 0) - startIndex | 0, destination.length);
- var dstIndex = destinationOffset;
- var inductionVariable = startIndex;
- if (inductionVariable < endIndex)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var tmp1 = dstIndex;
- dstIndex = tmp1 + 1 | 0;
- destination[tmp1] = charSequenceGet(this.string_1, index);
- }
- while (inductionVariable < endIndex);
- };
- protoOf(StringBuilder).toCharArray$default_lalpk3_k$ = function (destination, destinationOffset, startIndex, endIndex, $super) {
- destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? this.get_length_g42xv3_k$() : endIndex;
- var tmp;
- if ($super === VOID) {
- this.toCharArray_bwugy6_k$(destination, destinationOffset, startIndex, endIndex);
- tmp = Unit_getInstance();
- } else {
- tmp = $super.toCharArray_bwugy6_k$.call(this, destination, destinationOffset, startIndex, endIndex);
- }
- return tmp;
- };
- protoOf(StringBuilder).appendRange_1a5qnl_k$ = function (value, startIndex, endIndex) {
- this.string_1 = this.string_1 + concatToString_0(value, startIndex, endIndex);
- return this;
- };
- protoOf(StringBuilder).appendRange_arc5oa_k$ = function (value, startIndex, endIndex) {
- var stringCsq = toString_1(value);
- Companion_getInstance_5().checkBoundsIndexes_fu3rwb_k$(startIndex, endIndex, stringCsq.length);
- var tmp = this;
- var tmp_0 = this.string_1;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + stringCsq.substring(startIndex, endIndex);
- return this;
- };
- protoOf(StringBuilder).insertRange_qm6w02_k$ = function (index, value, startIndex, endIndex) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.get_length_g42xv3_k$());
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index) + concatToString_0(value, startIndex, endIndex);
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_0 + this.string_1.substring(index);
- return this;
- };
- protoOf(StringBuilder).insertRange_vx3juf_k$ = function (index, value, startIndex, endIndex) {
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.get_length_g42xv3_k$());
- var stringCsq = toString_1(value);
- Companion_getInstance_5().checkBoundsIndexes_fu3rwb_k$(startIndex, endIndex, stringCsq.length);
- var tmp = this;
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this.string_1.substring(0, index);
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_1 = tmp_0 + stringCsq.substring(startIndex, endIndex);
- // Inline function 'kotlin.text.substring' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.string_1 = tmp_1 + this.string_1.substring(index);
- return this;
- };
-
- function uppercaseChar(_this__u8e3s4) {
- // Inline function 'kotlin.text.uppercase' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var uppercase = toString(_this__u8e3s4).toUpperCase();
- return uppercase.length > 1 ? _this__u8e3s4 : charSequenceGet(uppercase, 0);
- }
-
- function lowercaseChar(_this__u8e3s4) {
- // Inline function 'kotlin.text.lowercase' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp$ret$2 = toString(_this__u8e3s4).toLowerCase();
- return charSequenceGet(tmp$ret$2, 0);
- }
-
- function uppercase(_this__u8e3s4) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- return toString(_this__u8e3s4).toUpperCase();
- }
-
- function lowercase(_this__u8e3s4) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- return toString(_this__u8e3s4).toLowerCase();
- }
-
- function isLowSurrogate(_this__u8e3s4) {
- var containsLower = Companion_getInstance().get_MIN_LOW_SURROGATE_mwv6vb_k$();
- return _this__u8e3s4 <= Companion_getInstance().get_MAX_LOW_SURROGATE_gxd79n_k$() ? containsLower <= _this__u8e3s4 : false;
- }
-
- function isHighSurrogate(_this__u8e3s4) {
- var containsLower = Companion_getInstance().get_MIN_HIGH_SURROGATE_t8674j_k$();
- return _this__u8e3s4 <= Companion_getInstance().get_MAX_HIGH_SURROGATE_eamm67_k$() ? containsLower <= _this__u8e3s4 : false;
- }
-
- function isLowerCase(_this__u8e3s4) {
- if (_Char___init__impl__6a9atx(97) <= _this__u8e3s4 ? _this__u8e3s4 <= _Char___init__impl__6a9atx(122) : false) {
- return true;
- }
- if (Char__compareTo_impl_ypi4mb(_this__u8e3s4, _Char___init__impl__6a9atx(128)) < 0) {
- return false;
- }
- return isLowerCaseImpl(_this__u8e3s4);
- }
-
- function isWhitespace(_this__u8e3s4) {
- return isWhitespaceImpl(_this__u8e3s4);
- }
-
- function toString_3(_this__u8e3s4, radix) {
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.toString(checkRadix(radix));
- }
-
- function checkRadix(radix) {
- if (!(2 <= radix ? radix <= 36 : false)) {
- throw IllegalArgumentException_init_$Create$_0('radix ' + radix + ' was not in valid range 2..36');
- }
- return radix;
- }
-
- function toInt(_this__u8e3s4) {
- var tmp0_elvis_lhs = toIntOrNull(_this__u8e3s4);
- var tmp;
- if (tmp0_elvis_lhs == null) {
- numberFormatError(_this__u8e3s4);
- } else {
- tmp = tmp0_elvis_lhs;
- }
- return tmp;
- }
-
- function digitOf(char, radix) {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.digitOf.' call
- var it = (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);
- return it >= radix ? -1 : it;
- }
-
- function _get_patternEscape__p1e94w($this) {
- return $this.patternEscape_1;
- }
-
- function _get_replacementEscape__99ita($this) {
- return $this.replacementEscape_1;
- }
-
- function _get_nativeReplacementEscape__xkf9e3($this) {
- return $this.nativeReplacementEscape_1;
- }
-
- function Regex_init_$Init$(pattern, option, $this) {
- Regex.call($this, pattern, setOf(option));
- return $this;
- }
-
- function Regex_init_$Create$(pattern, option) {
- return Regex_init_$Init$(pattern, option, objectCreate(protoOf(Regex)));
- }
-
- function Regex_init_$Init$_0(pattern, $this) {
- Regex.call($this, pattern, emptySet());
- return $this;
- }
-
- function Regex_init_$Create$_0(pattern) {
- return Regex_init_$Init$_0(pattern, objectCreate(protoOf(Regex)));
- }
-
- function _get_nativePattern__z3aydk($this) {
- return $this.nativePattern_1;
- }
-
- function _set_nativeStickyPattern__e0cz1x($this, _set____db54di) {
- $this.nativeStickyPattern_1 = _set____db54di;
- }
-
- function _get_nativeStickyPattern__rb37y9($this) {
- return $this.nativeStickyPattern_1;
- }
-
- function initStickyPattern($this) {
- var tmp0_elvis_lhs = $this.nativeStickyPattern_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- // Inline function 'kotlin.also' call
- var this_0 = new RegExp($this.pattern_1, toFlags($this.options_1, 'yu'));
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.Regex.initStickyPattern.' call
- $this.nativeStickyPattern_1 = this_0;
- tmp = this_0;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- return tmp;
- }
-
- function _set_nativeMatchesEntirePattern__7w81e4($this, _set____db54di) {
- $this.nativeMatchesEntirePattern_1 = _set____db54di;
- }
-
- function _get_nativeMatchesEntirePattern__6heazc($this) {
- return $this.nativeMatchesEntirePattern_1;
- }
-
- function initMatchesEntirePattern($this) {
- var tmp0_elvis_lhs = $this.nativeMatchesEntirePattern_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- // Inline function 'kotlin.also' call
- // Inline function 'kotlin.run' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.Regex.initMatchesEntirePattern.' call
- var tmp_0;
- if (startsWith_0($this.pattern_1, _Char___init__impl__6a9atx(94)) ? endsWith($this.pattern_1, _Char___init__impl__6a9atx(36)) : false) {
- tmp_0 = $this.nativePattern_1;
- } else {
- return new RegExp('^' + trimEnd(trimStart($this.pattern_1, charArrayOf_0([_Char___init__impl__6a9atx(94)])), charArrayOf_0([_Char___init__impl__6a9atx(36)])) + '$', toFlags($this.options_1, 'gu'));
- }
- var this_0 = tmp_0;
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.Regex.initMatchesEntirePattern.' call
- $this.nativeMatchesEntirePattern_1 = this_0;
- tmp = this_0;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- return tmp;
- }
-
- function Companion_4() {
- Companion_instance_4 = this;
- this.patternEscape_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
- this.replacementEscape_1 = new RegExp('[\\\\$]', 'g');
- this.nativeReplacementEscape_1 = new RegExp('\\$', 'g');
- }
-
- protoOf(Companion_4).fromLiteral_t6svp_k$ = function (literal) {
- return Regex_init_$Create$_0(this.escape_984trb_k$(literal));
- };
- protoOf(Companion_4).escape_984trb_k$ = function (literal) {
- // Inline function 'kotlin.text.nativeReplace' call
- var pattern = this.patternEscape_1;
- // Inline function 'kotlin.js.asDynamic' call
- return literal.replace(pattern, '\\$&');
- };
- protoOf(Companion_4).escapeReplacement_1j0fzr_k$ = function (literal) {
- // Inline function 'kotlin.text.nativeReplace' call
- var pattern = this.replacementEscape_1;
- // Inline function 'kotlin.js.asDynamic' call
- return literal.replace(pattern, '\\$&');
- };
- protoOf(Companion_4).nativeEscapeReplacement_92q0xs_k$ = function (literal) {
- // Inline function 'kotlin.text.nativeReplace' call
- var pattern = this.nativeReplacementEscape_1;
- // Inline function 'kotlin.js.asDynamic' call
- return literal.replace(pattern, '$$$$');
- };
- var Companion_instance_4;
-
- function Companion_getInstance_4() {
- if (Companion_instance_4 == null)
- new Companion_4();
- return Companion_instance_4;
- }
-
- function Regex$findAll$lambda(this$0, $input, $startIndex) {
- return function () {
- return this$0.find_jq9i5o_k$($input, $startIndex);
- };
- }
-
- function Regex$findAll$lambda_0(match) {
- return match.next_20eer_k$();
- }
-
- function Regex$replace$lambda($replacement) {
- return function (it) {
- return substituteGroupRefs(it, $replacement);
- };
- }
-
- function Regex$splitToSequence$slambda(this$0, $input, $limit, resultContinuation) {
- this.this$0__1 = this$0;
- this.$input_1 = $input;
- this.$limit_1 = $limit;
- CoroutineImpl.call(this, resultContinuation);
- }
-
- protoOf(Regex$splitToSequence$slambda).invoke_ulduo1_k$ = function ($this$sequence, $completion) {
- var tmp = this.create_w0dkqr_k$($this$sequence, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
- protoOf(Regex$splitToSequence$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
- return this.invoke_ulduo1_k$(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
- };
- protoOf(Regex$splitToSequence$slambda).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(7);
- this.match0__1 = this.this$0__1.find$default_xakyli_k$(this.$input_1);
- if (this.match0__1 == null ? true : this.$limit_1 === 1) {
- this.set_state_rjd8d0_k$(6);
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(toString_1(this.$input_1), this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
- continue $sm;
- } else {
- this.set_state_rjd8d0_k$(1);
- continue $sm;
- }
-
- case 1:
- this.nextStart1__1 = 0;
- this.splitCount2__1 = 0;
- this.set_state_rjd8d0_k$(2);
- continue $sm;
- case 2:
- this.foundMatch3__1 = ensureNotNull(this.match0__1);
- this.set_state_rjd8d0_k$(3);
- var this_0 = this.$input_1;
- var startIndex = this.nextStart1__1;
- var endIndex = this.foundMatch3__1.get_range_ixu978_k$().get_first_irdx8n_k$();
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(toString_1(charSequenceSubSequence(this_0, startIndex, endIndex)), this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 3:
- this.nextStart1__1 = this.foundMatch3__1.get_range_ixu978_k$().get_endInclusive_r07xpi_k$() + 1 | 0;
- this.match0__1 = this.foundMatch3__1.next_20eer_k$();
- var tmp_0;
- this.splitCount2__1 = this.splitCount2__1 + 1 | 0;
- if (!(this.splitCount2__1 === (this.$limit_1 - 1 | 0))) {
- tmp_0 = !(this.match0__1 == null);
- } else {
- tmp_0 = false;
- }
-
- if (tmp_0) {
- this.set_state_rjd8d0_k$(2);
- continue $sm;
- }
-
- this.set_state_rjd8d0_k$(4);
- continue $sm;
- case 4:
- this.set_state_rjd8d0_k$(5);
- var this_1 = this.$input_1;
- var startIndex_0 = this.nextStart1__1;
- var endIndex_0 = charSequenceLength(this.$input_1);
- suspendResult = this.$this$sequence_1.yield_3xhcex_k$(toString_1(charSequenceSubSequence(this_1, startIndex_0, endIndex_0)), this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 5:
- return Unit_getInstance();
- case 6:
- return Unit_getInstance();
- case 7:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 7) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
- protoOf(Regex$splitToSequence$slambda).create_w0dkqr_k$ = function ($this$sequence, completion) {
- var i = new Regex$splitToSequence$slambda(this.this$0__1, this.$input_1, this.$limit_1, completion);
- i.$this$sequence_1 = $this$sequence;
- return i;
- };
- protoOf(Regex$splitToSequence$slambda).create_wyq9v6_k$ = function (value, completion) {
- return this.create_w0dkqr_k$(value instanceof SequenceScope ? value : THROW_CCE(), completion);
- };
-
- function Regex$splitToSequence$slambda_0(this$0, $input, $limit, resultContinuation) {
- var i = new Regex$splitToSequence$slambda(this$0, $input, $limit, resultContinuation);
- var l = function ($this$sequence, $completion) {
- return i.invoke_ulduo1_k$($this$sequence, $completion);
- };
- l.$arity = 1;
- return l;
- }
-
- function Regex(pattern, options) {
- Companion_getInstance_4();
- this.pattern_1 = pattern;
- this.options_1 = toSet(options);
- this.nativePattern_1 = new RegExp(pattern, toFlags(options, 'gu'));
- this.nativeStickyPattern_1 = null;
- this.nativeMatchesEntirePattern_1 = null;
- }
-
- protoOf(Regex).get_pattern_btfv4p_k$ = function () {
- return this.pattern_1;
- };
- protoOf(Regex).get_options_jecmyz_k$ = function () {
- return this.options_1;
- };
- protoOf(Regex).matches_evli6i_k$ = function (input) {
- reset(this.nativePattern_1);
- var match = this.nativePattern_1.exec(toString_1(input));
- return (!(match == null) ? match.index === 0 : false) ? this.nativePattern_1.lastIndex === charSequenceLength(input) : false;
- };
- protoOf(Regex).containsMatchIn_gpzk5u_k$ = function (input) {
- reset(this.nativePattern_1);
- return this.nativePattern_1.test(toString_1(input));
- };
- protoOf(Regex).matchesAt_nxntb5_k$ = function (input, index) {
- if (index < 0 ? true : index > charSequenceLength(input)) {
- throw IndexOutOfBoundsException_init_$Create$_0('index out of bounds: ' + index + ', input length: ' + charSequenceLength(input));
- }
- var pattern = initStickyPattern(this);
- pattern.lastIndex = index;
- return pattern.test(toString_1(input));
- };
- protoOf(Regex).find_jq9i5o_k$ = function (input, startIndex) {
- if (startIndex < 0 ? true : startIndex > charSequenceLength(input)) {
- throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
- }
- return findNext(this.nativePattern_1, toString_1(input), startIndex, this.nativePattern_1);
- };
- protoOf(Regex).find$default_xakyli_k$ = function (input, startIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- return $super === VOID ? this.find_jq9i5o_k$(input, startIndex) : $super.find_jq9i5o_k$.call(this, input, startIndex);
- };
- protoOf(Regex).findAll_98v6rh_k$ = function (input, startIndex) {
- if (startIndex < 0 ? true : startIndex > charSequenceLength(input)) {
- throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
- }
- var tmp = Regex$findAll$lambda(this, input, startIndex);
- return generateSequence(tmp, Regex$findAll$lambda_0);
- };
- protoOf(Regex).findAll$default_xha0o9_k$ = function (input, startIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- return $super === VOID ? this.findAll_98v6rh_k$(input, startIndex) : $super.findAll_98v6rh_k$.call(this, input, startIndex);
- };
- protoOf(Regex).matchEntire_6100vb_k$ = function (input) {
- return findNext(initMatchesEntirePattern(this), toString_1(input), 0, this.nativePattern_1);
- };
- protoOf(Regex).matchAt_2l29wz_k$ = function (input, index) {
- if (index < 0 ? true : index > charSequenceLength(input)) {
- throw IndexOutOfBoundsException_init_$Create$_0('index out of bounds: ' + index + ', input length: ' + charSequenceLength(input));
- }
- return findNext(initStickyPattern(this), toString_1(input), index, this.nativePattern_1);
- };
- protoOf(Regex).replace_1ix0wf_k$ = function (input, replacement) {
- if (!contains_8(replacement, _Char___init__impl__6a9atx(92)) ? !contains_8(replacement, _Char___init__impl__6a9atx(36)) : false) {
- // Inline function 'kotlin.text.nativeReplace' call
- var this_0 = toString_1(input);
- var pattern = this.nativePattern_1;
- // Inline function 'kotlin.js.asDynamic' call
- return this_0.replace(pattern, replacement);
- }
- return this.replace_dbivij_k$(input, Regex$replace$lambda(replacement));
- };
- protoOf(Regex).replace_dbivij_k$ = function (input, transform) {
- var match = this.find$default_xakyli_k$(input);
- if (match == null)
- return toString_1(input);
- var lastStart = 0;
- var length = charSequenceLength(input);
- var sb = StringBuilder_init_$Create$(length);
- do {
- var foundMatch = ensureNotNull(match);
- sb.append_xdc1zw_k$(input, lastStart, foundMatch.get_range_ixu978_k$().get_start_iypx6h_k$());
- sb.append_jgojdo_k$(transform(foundMatch));
- lastStart = foundMatch.get_range_ixu978_k$().get_endInclusive_r07xpi_k$() + 1 | 0;
- match = foundMatch.next_20eer_k$();
- }
- while (lastStart < length ? !(match == null) : false);
- if (lastStart < length) {
- sb.append_xdc1zw_k$(input, lastStart, length);
- }
- return sb.toString();
- };
- protoOf(Regex).replaceFirst_5kvbqf_k$ = function (input, replacement) {
- if (!contains_8(replacement, _Char___init__impl__6a9atx(92)) ? !contains_8(replacement, _Char___init__impl__6a9atx(36)) : false) {
- var nonGlobalOptions = toFlags(this.options_1, 'u');
- // Inline function 'kotlin.text.nativeReplace' call
- var this_0 = toString_1(input);
- var pattern = new RegExp(this.pattern_1, nonGlobalOptions);
- // Inline function 'kotlin.js.asDynamic' call
- return this_0.replace(pattern, replacement);
- }
- var tmp0_elvis_lhs = this.find$default_xakyli_k$(input);
- var tmp;
- if (tmp0_elvis_lhs == null) {
- return toString_1(input);
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var match = tmp;
- // Inline function 'kotlin.text.buildString' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.apply' call
- var this_1 = StringBuilder_init_$Create$_1();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.Regex.replaceFirst.' call
- // Inline function 'kotlin.text.substring' call
- var endIndex = match.get_range_ixu978_k$().get_first_irdx8n_k$();
- var tmp$ret$2 = toString_1(charSequenceSubSequence(input, 0, endIndex));
- this_1.append_22ad7x_k$(tmp$ret$2);
- this_1.append_22ad7x_k$(substituteGroupRefs(match, replacement));
- // Inline function 'kotlin.text.substring' call
- var startIndex = match.get_range_ixu978_k$().get_last_wopotb_k$() + 1 | 0;
- var endIndex_0 = charSequenceLength(input);
- var tmp$ret$3 = toString_1(charSequenceSubSequence(input, startIndex, endIndex_0));
- this_1.append_22ad7x_k$(tmp$ret$3);
- return this_1.toString();
- };
- protoOf(Regex).split_p7ck23_k$ = function (input, limit) {
- requireNonNegativeLimit(limit);
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.Regex.split.' call
- var it = this.findAll$default_xha0o9_k$(input);
- var matches = limit === 0 ? it : take(it, limit - 1 | 0);
- // Inline function 'kotlin.collections.mutableListOf' call
- var result = ArrayList_init_$Create$();
- var lastStart = 0;
- var tmp0_iterator = matches.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var match = tmp0_iterator.next_20eer_k$();
- result.add_utx5q5_k$(toString_1(charSequenceSubSequence(input, lastStart, match.get_range_ixu978_k$().get_start_iypx6h_k$())));
- lastStart = match.get_range_ixu978_k$().get_endInclusive_r07xpi_k$() + 1 | 0;
- }
- result.add_utx5q5_k$(toString_1(charSequenceSubSequence(input, lastStart, charSequenceLength(input))));
- return result;
- };
- protoOf(Regex).split$default_op2g7v_k$ = function (input, limit, $super) {
- limit = limit === VOID ? 0 : limit;
- return $super === VOID ? this.split_p7ck23_k$(input, limit) : $super.split_p7ck23_k$.call(this, input, limit);
- };
- protoOf(Regex).splitToSequence_ub1q4v_k$ = function (input, limit) {
- requireNonNegativeLimit(limit);
- return sequence(Regex$splitToSequence$slambda_0(this, input, limit, null));
- };
- protoOf(Regex).splitToSequence$default_keib55_k$ = function (input, limit, $super) {
- limit = limit === VOID ? 0 : limit;
- return $super === VOID ? this.splitToSequence_ub1q4v_k$(input, limit) : $super.splitToSequence_ub1q4v_k$.call(this, input, limit);
- };
- protoOf(Regex).toString = function () {
- return this.nativePattern_1.toString();
- };
- var RegexOption_IGNORE_CASE_instance;
- var RegexOption_MULTILINE_instance;
-
- function values_2() {
- return [RegexOption_IGNORE_CASE_getInstance(), RegexOption_MULTILINE_getInstance()];
- }
-
- function valueOf_2(value) {
- switch (value) {
- case 'IGNORE_CASE':
- return RegexOption_IGNORE_CASE_getInstance();
- case 'MULTILINE':
- return RegexOption_MULTILINE_getInstance();
- default:
- RegexOption_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries_2() {
- if ($ENTRIES_2 == null)
- $ENTRIES_2 = enumEntries(values_2());
- return $ENTRIES_2;
- }
-
- var RegexOption_entriesInitialized;
-
- function RegexOption_initEntries() {
- if (RegexOption_entriesInitialized)
- return Unit_getInstance();
- RegexOption_entriesInitialized = true;
- RegexOption_IGNORE_CASE_instance = new RegexOption('IGNORE_CASE', 0, 'i');
- RegexOption_MULTILINE_instance = new RegexOption('MULTILINE', 1, 'm');
- }
-
- var $ENTRIES_2;
-
- function RegexOption(name, ordinal, value) {
- Enum.call(this, name, ordinal);
- this.value_1 = value;
- }
-
- protoOf(RegexOption).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
-
- function MatchGroup(value) {
- this.value_1 = value;
- }
-
- protoOf(MatchGroup).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- protoOf(MatchGroup).component1_7eebsc_k$ = function () {
- return this.value_1;
- };
- protoOf(MatchGroup).copy_a35qlh_k$ = function (value) {
- return new MatchGroup(value);
- };
- protoOf(MatchGroup).copy$default_p53u2i_k$ = function (value, $super) {
- value = value === VOID ? this.value_1 : value;
- return $super === VOID ? this.copy_a35qlh_k$(value) : $super.copy_a35qlh_k$.call(this, value);
- };
- protoOf(MatchGroup).toString = function () {
- return 'MatchGroup(value=' + this.value_1 + ')';
- };
- protoOf(MatchGroup).hashCode = function () {
- return getStringHashCode(this.value_1);
- };
- protoOf(MatchGroup).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof MatchGroup))
- return false;
- var tmp0_other_with_cast = other instanceof MatchGroup ? other : THROW_CCE();
- if (!(this.value_1 === tmp0_other_with_cast.value_1))
- return false;
- return true;
- };
-
- function toFlags(_this__u8e3s4, prepend) {
- return joinToString_0(_this__u8e3s4, '', prepend, VOID, VOID, VOID, toFlags$lambda);
- }
-
- function findNext(_this__u8e3s4, input, from, nextPattern) {
- _this__u8e3s4.lastIndex = from;
- var match = _this__u8e3s4.exec(input);
- if (match == null)
- return null;
- var range = numberRangeToNumber(match.index, _this__u8e3s4.lastIndex - 1 | 0);
- return new findNext$1(range, match, nextPattern, input);
- }
-
- function substituteGroupRefs(match, replacement) {
- var index = 0;
- var result = StringBuilder_init_$Create$_1();
- while (index < replacement.length) {
- var tmp0 = index;
- index = tmp0 + 1 | 0;
- var char = charSequenceGet(replacement, tmp0);
- if (char === _Char___init__impl__6a9atx(92)) {
- if (index === replacement.length)
- throw IllegalArgumentException_init_$Create$_0('The Char to be escaped is missing');
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- result.append_am5a4z_k$(charSequenceGet(replacement, tmp1));
- } else if (char === _Char___init__impl__6a9atx(36)) {
- if (index === replacement.length)
- throw IllegalArgumentException_init_$Create$_0('Capturing group index is missing');
- if (charSequenceGet(replacement, index) === _Char___init__impl__6a9atx(123)) {
- index = index + 1 | 0;
- var endIndex = readGroupName(replacement, index);
- if (index === endIndex)
- throw IllegalArgumentException_init_$Create$_0('Named capturing group reference should have a non-empty name');
- if (endIndex === replacement.length ? true : !(charSequenceGet(replacement, endIndex) === _Char___init__impl__6a9atx(125)))
- throw IllegalArgumentException_init_$Create$_0("Named capturing group reference is missing trailing '}'");
- // Inline function 'kotlin.text.substring' call
- var startIndex = index;
- // Inline function 'kotlin.js.asDynamic' call
- var groupName = replacement.substring(startIndex, endIndex);
- var tmp2_safe_receiver = get_2(match.get_groups_dy12vx_k$(), groupName);
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.value_1;
- result.append_22ad7x_k$(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
- index = endIndex + 1 | 0;
- } else {
- var containsArg = charSequenceGet(replacement, index);
- if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
- throw IllegalArgumentException_init_$Create$_0('Invalid capturing group reference');
- var groups = match.get_groups_dy12vx_k$();
- var endIndex_0 = readGroupIndex(replacement, index, groups.get_size_woubt6_k$());
- // Inline function 'kotlin.text.substring' call
- var startIndex_0 = index;
- // Inline function 'kotlin.js.asDynamic' call
- var tmp$ret$3 = replacement.substring(startIndex_0, endIndex_0);
- var groupIndex = toInt(tmp$ret$3);
- if (groupIndex >= groups.get_size_woubt6_k$())
- throw IndexOutOfBoundsException_init_$Create$_0('Group with index ' + groupIndex + ' does not exist');
- var tmp4_safe_receiver = groups.get_c1px32_k$(groupIndex);
- var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.value_1;
- result.append_22ad7x_k$(tmp5_elvis_lhs == null ? '' : tmp5_elvis_lhs);
- index = endIndex_0;
- }
- } else {
- result.append_am5a4z_k$(char);
- }
- }
- return result.toString();
- }
-
- function readGroupName(_this__u8e3s4, startIndex) {
- var index = startIndex;
- $l$loop: while (index < _this__u8e3s4.length) {
- if (charSequenceGet(_this__u8e3s4, index) === _Char___init__impl__6a9atx(125)) {
- break $l$loop;
- } else {
- index = index + 1 | 0;
- }
- }
- return index;
- }
-
- function get_2(_this__u8e3s4, name) {
- var tmp0_elvis_lhs = isInterface(_this__u8e3s4, MatchNamedGroupCollection) ? _this__u8e3s4 : null;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- throw UnsupportedOperationException_init_$Create$_0('Retrieving groups by name is not supported on this platform.');
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var namedGroups = tmp;
- return namedGroups.get_6bo4tg_k$(name);
- }
-
- function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
- var index = startIndex + 1 | 0;
- var groupIndex = Char__minus_impl_a2frrh(charSequenceGet(_this__u8e3s4, startIndex), _Char___init__impl__6a9atx(48));
- $l$loop_0: while (true) {
- var tmp;
- if (index < _this__u8e3s4.length) {
- var containsArg = charSequenceGet(_this__u8e3s4, index);
- tmp = _Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false;
- } else {
- tmp = false;
- }
- if (!tmp) {
- break $l$loop_0;
- }
- var newGroupIndex = imul(groupIndex, 10) + Char__minus_impl_a2frrh(charSequenceGet(_this__u8e3s4, index), _Char___init__impl__6a9atx(48)) | 0;
- if (0 <= newGroupIndex ? newGroupIndex < groupCount : false) {
- groupIndex = newGroupIndex;
- index = index + 1 | 0;
- } else {
- break $l$loop_0;
- }
- }
- return index;
- }
-
- function toFlags$lambda(it) {
- return it.value_1;
- }
-
- function findNext$o$groups$o$iterator$lambda(this$0) {
- return function (it) {
- return this$0.get_c1px32_k$(it);
- };
- }
-
- function hasOwnPrototypeProperty($this, o, name) {
- // Inline function 'kotlin.js.unsafeCast' call
- return Object.prototype.hasOwnProperty.call(o, name);
- }
-
- function _set_groupValues___98492f($this, _set____db54di) {
- $this.groupValues__1 = _set____db54di;
- }
-
- function _get_groupValues___6bmhhp($this) {
- return $this.groupValues__1;
- }
-
- function advanceToNextCharacter($this, index) {
- if (index < get_lastIndex_6($this.$input_1)) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var code1 = $this.$input_1.charCodeAt(index);
- if (55296 <= code1 ? code1 <= 56319 : false) {
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var code2 = $this.$input_1.charCodeAt(index + 1 | 0);
- if (56320 <= code2 ? code2 <= 57343 : false) {
- return index + 2 | 0;
- }
- }
- }
- return index + 1 | 0;
- }
-
- function findNext$1$groups$1($match, this$0) {
- this.$match_1 = $match;
- this.this$0__1 = this$0;
- AbstractCollection.call(this);
- }
-
- protoOf(findNext$1$groups$1).get_size_woubt6_k$ = function () {
- return this.$match_1.length;
- };
- protoOf(findNext$1$groups$1).iterator_jk1svi_k$ = function () {
- var tmp = asSequence(get_indices_6(this));
- return map_0(tmp, findNext$o$groups$o$iterator$lambda(this)).iterator_jk1svi_k$();
- };
- protoOf(findNext$1$groups$1).get_c1px32_k$ = function (index) {
- // Inline function 'kotlin.js.get' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp0_safe_receiver = this.$match_1[index];
- var tmp;
- if (tmp0_safe_receiver == null) {
- tmp = null;
- } else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text..get.' call
- tmp = new MatchGroup(tmp0_safe_receiver);
- }
- return tmp;
- };
- protoOf(findNext$1$groups$1).get_6bo4tg_k$ = function (name) {
- // Inline function 'kotlin.js.asDynamic' call
- var tmp0_elvis_lhs = this.$match_1.groups;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist. No named capturing group was defined in Regex');
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var groups = tmp;
- if (!hasOwnPrototypeProperty(this.this$0__1, groups, name))
- throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist');
- var value = groups[name];
- var tmp_0;
- if (value == undefined) {
- tmp_0 = null;
- } else {
- tmp_0 = new MatchGroup((!(value == null) ? typeof value === 'string' : false) ? value : THROW_CCE());
- }
- return tmp_0;
- };
-
- function findNext$1$groupValues$1($match) {
- this.$match_1 = $match;
- AbstractList.call(this);
- }
-
- protoOf(findNext$1$groupValues$1).get_size_woubt6_k$ = function () {
- return this.$match_1.length;
- };
- protoOf(findNext$1$groupValues$1).get_c1px32_k$ = function (index) {
- // Inline function 'kotlin.js.get' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp0_elvis_lhs = this.$match_1[index];
- return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
- };
-
- function findNext$1($range, $match, $nextPattern, $input) {
- this.$range_1 = $range;
- this.$match_1 = $match;
- this.$nextPattern_1 = $nextPattern;
- this.$input_1 = $input;
- this.range_1 = $range;
- var tmp = this;
- tmp.groups_1 = new findNext$1$groups$1($match, this);
- this.groupValues__1 = null;
- }
-
- protoOf(findNext$1).get_range_ixu978_k$ = function () {
- return this.range_1;
- };
- protoOf(findNext$1).get_value_j01efc_k$ = function () {
- // Inline function 'kotlin.js.get' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp$ret$1 = this.$match_1[0];
- return ensureNotNull(tmp$ret$1);
- };
- protoOf(findNext$1).get_groups_dy12vx_k$ = function () {
- return this.groups_1;
- };
- protoOf(findNext$1).get_groupValues_rkv314_k$ = function () {
- if (this.groupValues__1 == null) {
- var tmp = this;
- tmp.groupValues__1 = new findNext$1$groupValues$1(this.$match_1);
- }
- return ensureNotNull(this.groupValues__1);
- };
- protoOf(findNext$1).next_20eer_k$ = function () {
- return findNext(this.$nextPattern_1, this.$input_1, this.$range_1.isEmpty_y1axqb_k$() ? advanceToNextCharacter(this, this.$range_1.get_start_iypx6h_k$()) : this.$range_1.get_endInclusive_r07xpi_k$() + 1 | 0, this.$nextPattern_1);
- };
-
- function RegexOption_IGNORE_CASE_getInstance() {
- RegexOption_initEntries();
- return RegexOption_IGNORE_CASE_instance;
- }
-
- function RegexOption_MULTILINE_getInstance() {
- RegexOption_initEntries();
- return RegexOption_MULTILINE_instance;
- }
-
- function get_STRING_CASE_INSENSITIVE_ORDER() {
- _init_properties_stringJs_kt__bg7zye();
- return STRING_CASE_INSENSITIVE_ORDER;
- }
-
- var STRING_CASE_INSENSITIVE_ORDER;
-
- function nativeLastIndexOf(_this__u8e3s4, str, fromIndex) {
- _init_properties_stringJs_kt__bg7zye();
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.lastIndexOf(str, fromIndex);
- }
-
- function substring(_this__u8e3s4, startIndex, endIndex) {
- _init_properties_stringJs_kt__bg7zye();
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.substring(startIndex, endIndex);
- }
-
- function substring_0(_this__u8e3s4, startIndex) {
- _init_properties_stringJs_kt__bg7zye();
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.substring(startIndex);
- }
-
- function compareTo_0(_this__u8e3s4, other, ignoreCase) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- _init_properties_stringJs_kt__bg7zye();
- if (ignoreCase) {
- var n1 = _this__u8e3s4.length;
- var n2 = other.length;
- // Inline function 'kotlin.comparisons.minOf' call
- var min = Math.min(n1, n2);
- if (min === 0)
- return n1 - n2 | 0;
- var inductionVariable = 0;
- if (inductionVariable < min)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var thisChar = charSequenceGet(_this__u8e3s4, index);
- var otherChar = charSequenceGet(other, index);
- if (!(thisChar === otherChar)) {
- thisChar = uppercaseChar(thisChar);
- otherChar = uppercaseChar(otherChar);
- if (!(thisChar === otherChar)) {
- // Inline function 'kotlin.text.lowercaseChar' call
- // Inline function 'kotlin.text.lowercase' call
- var this_0 = thisChar;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp$ret$3 = toString(this_0).toLowerCase();
- thisChar = charSequenceGet(tmp$ret$3, 0);
- // Inline function 'kotlin.text.lowercaseChar' call
- // Inline function 'kotlin.text.lowercase' call
- var this_1 = otherChar;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp$ret$7 = toString(this_1).toLowerCase();
- otherChar = charSequenceGet(tmp$ret$7, 0);
- if (!(thisChar === otherChar)) {
- return Char__compareTo_impl_ypi4mb(thisChar, otherChar);
- }
- }
- }
- }
- while (inductionVariable < min);
- return n1 - n2 | 0;
- } else {
- return compareTo(_this__u8e3s4, other);
- }
- }
-
- function concatToString(_this__u8e3s4) {
- _init_properties_stringJs_kt__bg7zye();
- var result = '';
- var inductionVariable = 0;
- var last = _this__u8e3s4.length;
- while (inductionVariable < last) {
- var char = _this__u8e3s4[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- result = result + toString(char);
- }
- return result;
- }
-
- function concatToString_0(_this__u8e3s4, startIndex, endIndex) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
- _init_properties_stringJs_kt__bg7zye();
- Companion_getInstance_5().checkBoundsIndexes_fu3rwb_k$(startIndex, endIndex, _this__u8e3s4.length);
- var result = '';
- var inductionVariable = startIndex;
- if (inductionVariable < endIndex)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- result = result + toString(_this__u8e3s4[index]);
- }
- while (inductionVariable < endIndex);
- return result;
- }
-
- function encodeToByteArray(_this__u8e3s4) {
- _init_properties_stringJs_kt__bg7zye();
- return encodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
- }
-
- function nativeIndexOf(_this__u8e3s4, str, fromIndex) {
- _init_properties_stringJs_kt__bg7zye();
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.indexOf(str, fromIndex);
- }
-
- function nativeReplace(_this__u8e3s4, pattern, replacement) {
- _init_properties_stringJs_kt__bg7zye();
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.replace(pattern, replacement);
- }
-
- function nativeStartsWith(_this__u8e3s4, s, position) {
- _init_properties_stringJs_kt__bg7zye();
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.startsWith(s, position);
- }
-
- function sam$kotlin_Comparator$0_0(function_0) {
- this.function_1 = function_0;
- }
-
- protoOf(sam$kotlin_Comparator$0_0).compare_bczr_k$ = function (a, b) {
- return this.function_1(a, b);
- };
- protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
- return this.compare_bczr_k$(a, b);
- };
-
- function STRING_CASE_INSENSITIVE_ORDER$lambda(a, b) {
- _init_properties_stringJs_kt__bg7zye();
- return compareTo_0(a, b, true);
- }
-
- var properties_initialized_stringJs_kt_nta8o4;
-
- function _init_properties_stringJs_kt__bg7zye() {
- if (!properties_initialized_stringJs_kt_nta8o4) {
- properties_initialized_stringJs_kt_nta8o4 = true;
- var tmp = STRING_CASE_INSENSITIVE_ORDER$lambda;
- STRING_CASE_INSENSITIVE_ORDER = new sam$kotlin_Comparator$0_0(tmp);
- }
- }
-
- function isBlank(_this__u8e3s4) {
- var tmp;
- if (charSequenceLength(_this__u8e3s4) === 0) {
- tmp = true;
- } else {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.all' call
- var this_0 = get_indices_7(_this__u8e3s4);
- var tmp_0;
- if (isInterface(this_0, Collection)) {
- tmp_0 = this_0.isEmpty_y1axqb_k$();
- } else {
- tmp_0 = false;
- }
- if (tmp_0) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- var tmp0_iterator = this_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.text.isBlank.' call
- if (!isWhitespace(charSequenceGet(_this__u8e3s4, element))) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- }
- tmp$ret$0 = true;
- }
- tmp = tmp$ret$0;
- }
- return tmp;
- }
-
- function repeat(_this__u8e3s4, n) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(n >= 0)) {
- // Inline function 'kotlin.text.repeat.' call
- var message = "Count 'n' must be non-negative, but was " + n + '.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- var tmp;
- switch (n) {
- case 0:
- tmp = '';
- break;
- case 1:
- tmp = toString_1(_this__u8e3s4);
- break;
- default:
- var result = '';
- // Inline function 'kotlin.text.isEmpty' call
-
- if (!(charSequenceLength(_this__u8e3s4) === 0)) {
- var s = toString_1(_this__u8e3s4);
- var count = n;
- $l$loop: while (true) {
- if ((count & 1) === 1) {
- result = result + s;
- }
- count = count >>> 1 | 0;
- if (count === 0) {
- break $l$loop;
- }
- s = s + s;
- }
- }
-
- return result;
- }
- return tmp;
- }
-
- function nativeIndexOf_0(_this__u8e3s4, ch, fromIndex) {
- // Inline function 'kotlin.text.nativeIndexOf' call
- var str = toString(ch);
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.indexOf(str, fromIndex);
- }
-
- function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
- }
-
- function startsWith(_this__u8e3s4, prefix, startIndex, ignoreCase) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- if (!ignoreCase) {
- // Inline function 'kotlin.text.nativeStartsWith' call
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.startsWith(prefix, startIndex);
- } else
- return regionMatches(_this__u8e3s4, startIndex, prefix, 0, prefix.length, ignoreCase);
- }
-
- function get_REPLACEMENT_BYTE_SEQUENCE() {
- _init_properties_utf8Encoding_kt__9thjs4();
- return REPLACEMENT_BYTE_SEQUENCE;
- }
-
- var REPLACEMENT_BYTE_SEQUENCE;
-
- function encodeUtf8(string, startIndex, endIndex, throwOnMalformed) {
- _init_properties_utf8Encoding_kt__9thjs4();
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!((startIndex >= 0 ? endIndex <= string.length : false) ? startIndex <= endIndex : false)) {
- // Inline function 'kotlin.require.' call
- var message = 'Failed requirement.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- var bytes = new Int8Array(imul(endIndex - startIndex | 0, 3));
- var byteIndex = 0;
- var charIndex = startIndex;
- while (charIndex < endIndex) {
- // Inline function 'kotlin.code' call
- var tmp0 = charIndex;
- charIndex = tmp0 + 1 | 0;
- var this_0 = charSequenceGet(string, tmp0);
- var code = Char__toInt_impl_vasixd(this_0);
- if (code < 128) {
- var tmp1 = byteIndex;
- byteIndex = tmp1 + 1 | 0;
- bytes[tmp1] = toByte(code);
- } else if (code < 2048) {
- var tmp2 = byteIndex;
- byteIndex = tmp2 + 1 | 0;
- bytes[tmp2] = toByte(code >> 6 | 192);
- var tmp3 = byteIndex;
- byteIndex = tmp3 + 1 | 0;
- bytes[tmp3] = toByte(code & 63 | 128);
- } else if (code < 55296 ? true : code >= 57344) {
- var tmp4 = byteIndex;
- byteIndex = tmp4 + 1 | 0;
- bytes[tmp4] = toByte(code >> 12 | 224);
- var tmp5 = byteIndex;
- byteIndex = tmp5 + 1 | 0;
- bytes[tmp5] = toByte(code >> 6 & 63 | 128);
- var tmp6 = byteIndex;
- byteIndex = tmp6 + 1 | 0;
- bytes[tmp6] = toByte(code & 63 | 128);
- } else {
- var codePoint = codePointFromSurrogate(string, code, charIndex, endIndex, throwOnMalformed);
- if (codePoint <= 0) {
- var tmp7 = byteIndex;
- byteIndex = tmp7 + 1 | 0;
- bytes[tmp7] = get_REPLACEMENT_BYTE_SEQUENCE()[0];
- var tmp8 = byteIndex;
- byteIndex = tmp8 + 1 | 0;
- bytes[tmp8] = get_REPLACEMENT_BYTE_SEQUENCE()[1];
- var tmp9 = byteIndex;
- byteIndex = tmp9 + 1 | 0;
- bytes[tmp9] = get_REPLACEMENT_BYTE_SEQUENCE()[2];
- } else {
- var tmp10 = byteIndex;
- byteIndex = tmp10 + 1 | 0;
- bytes[tmp10] = toByte(codePoint >> 18 | 240);
- var tmp11 = byteIndex;
- byteIndex = tmp11 + 1 | 0;
- bytes[tmp11] = toByte(codePoint >> 12 & 63 | 128);
- var tmp12 = byteIndex;
- byteIndex = tmp12 + 1 | 0;
- bytes[tmp12] = toByte(codePoint >> 6 & 63 | 128);
- var tmp13 = byteIndex;
- byteIndex = tmp13 + 1 | 0;
- bytes[tmp13] = toByte(codePoint & 63 | 128);
- charIndex = charIndex + 1 | 0;
- }
- }
- }
- return bytes.length === byteIndex ? bytes : copyOf(bytes, byteIndex);
- }
-
- function get_MAX_BYTES_PER_CHAR() {
- return MAX_BYTES_PER_CHAR;
- }
-
- var MAX_BYTES_PER_CHAR;
-
- function codePointFromSurrogate(string, high, index, endIndex, throwOnMalformed) {
- _init_properties_utf8Encoding_kt__9thjs4();
- if (!(55296 <= high ? high <= 56319 : false) ? true : index >= endIndex) {
- return malformed(0, index, throwOnMalformed);
- }
- // Inline function 'kotlin.code' call
- var this_0 = charSequenceGet(string, index);
- var low = Char__toInt_impl_vasixd(this_0);
- if (!(56320 <= low ? low <= 57343 : false)) {
- return malformed(0, index, throwOnMalformed);
- }
- return 65536 + ((high & 1023) << 10) | 0 | low & 1023;
- }
-
- function malformed(size, index, throwOnMalformed) {
- _init_properties_utf8Encoding_kt__9thjs4();
- if (throwOnMalformed)
- throw new CharacterCodingException('Malformed sequence starting at ' + (index - 1 | 0));
- return -size | 0;
- }
-
- var properties_initialized_utf8Encoding_kt_eee1vq;
-
- function _init_properties_utf8Encoding_kt__9thjs4() {
- if (!properties_initialized_utf8Encoding_kt_eee1vq) {
- properties_initialized_utf8Encoding_kt_eee1vq = true;
- // Inline function 'kotlin.byteArrayOf' call
- REPLACEMENT_BYTE_SEQUENCE = new Int8Array([-17, -65, -67]);
- }
- }
-
- function stackTraceToString(_this__u8e3s4) {
- return (new ExceptionTraceBuilder()).buildFor_ptrct0_k$(_this__u8e3s4);
- }
-
- function _get_target__ccs42i($this) {
- return $this.target_1;
- }
-
- function _get_visited__9nv7ix($this) {
- return $this.visited_1;
- }
-
- function _set_topStack__xkyr5w($this, _set____db54di) {
- $this.topStack_1 = _set____db54di;
- }
-
- function _get_topStack__ks2fp4($this) {
- return $this.topStack_1;
- }
-
- function _set_topStackStart__xl2792($this, _set____db54di) {
- $this.topStackStart_1 = _set____db54di;
- }
-
- function _get_topStackStart__idaoqq($this) {
- return $this.topStackStart_1;
- }
-
- function hasSeen($this, exception) {
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.collections.any' call
- var indexedObject = $this.visited_1;
- var inductionVariable = 0;
- var last = indexedObject.length;
- while (inductionVariable < last) {
- var element = indexedObject[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.ExceptionTraceBuilder.hasSeen.' call
- if (element === exception) {
- tmp$ret$1 = true;
- break $l$block;
- }
- }
- tmp$ret$1 = false;
- }
- return tmp$ret$1;
- }
-
- function dumpFullTrace(_this__u8e3s4, $this, indent, qualifier) {
- if (dumpSelfTrace(_this__u8e3s4, $this, indent, qualifier))
- true;
- else
- return Unit_getInstance();
- var cause = _this__u8e3s4.cause;
- while (!(cause == null)) {
- if (dumpSelfTrace(cause, $this, indent, 'Caused by: '))
- true;
- else
- return Unit_getInstance();
- cause = cause.cause;
- }
- }
-
- function dumpSelfTrace(_this__u8e3s4, $this, indent, qualifier) {
- $this.target_1.append_22ad7x_k$(indent).append_22ad7x_k$(qualifier);
- var shortInfo = _this__u8e3s4.toString();
- if (hasSeen($this, _this__u8e3s4)) {
- $this.target_1.append_22ad7x_k$('[CIRCULAR REFERENCE, SEE ABOVE: ').append_22ad7x_k$(shortInfo).append_22ad7x_k$(']\n');
- return false;
- }
- // Inline function 'kotlin.js.asDynamic' call
- $this.visited_1.push(_this__u8e3s4);
- // Inline function 'kotlin.js.asDynamic' call
- var tmp = _this__u8e3s4.stack;
- var stack = (tmp == null ? true : typeof tmp === 'string') ? tmp : THROW_CCE();
- if (!(stack == null)) {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.ExceptionTraceBuilder.dumpSelfTrace.' call
- var it = indexOf_5(stack, shortInfo);
- var stackStart = it < 0 ? 0 : it + shortInfo.length | 0;
- if (stackStart === 0) {
- $this.target_1.append_22ad7x_k$(shortInfo).append_22ad7x_k$('\n');
- }
- // Inline function 'kotlin.text.isEmpty' call
- var this_0 = $this.topStack_1;
- if (charSequenceLength(this_0) === 0) {
- $this.topStack_1 = stack;
- $this.topStackStart_1 = stackStart;
- } else {
- stack = dropCommonFrames($this, stack, stackStart);
- }
- // Inline function 'kotlin.text.isNotEmpty' call
- if (charSequenceLength(indent) > 0) {
- var tmp_0;
- if (stackStart === 0) {
- tmp_0 = 0;
- } else {
- // Inline function 'kotlin.text.count' call
- var count = 0;
- var inductionVariable = 0;
- while (inductionVariable < charSequenceLength(shortInfo)) {
- var element = charSequenceGet(shortInfo, inductionVariable);
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.ExceptionTraceBuilder.dumpSelfTrace.' call
- if (element === _Char___init__impl__6a9atx(10)) {
- count = count + 1 | 0;
- }
- }
- tmp_0 = 1 + count | 0;
- }
- var messageLines = tmp_0;
- // Inline function 'kotlin.sequences.forEachIndexed' call
- var index = 0;
- var tmp0_iterator = lineSequence(stack).iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.ExceptionTraceBuilder.dumpSelfTrace.' call
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- if (checkIndexOverflow(tmp1) >= messageLines) {
- $this.target_1.append_22ad7x_k$(indent);
- }
- $this.target_1.append_22ad7x_k$(item).append_22ad7x_k$('\n');
- }
- } else {
- $this.target_1.append_22ad7x_k$(stack).append_22ad7x_k$('\n');
- }
- } else {
- $this.target_1.append_22ad7x_k$(shortInfo).append_22ad7x_k$('\n');
- }
- var suppressed = get_suppressedExceptions(_this__u8e3s4);
- // Inline function 'kotlin.collections.isNotEmpty' call
- if (!suppressed.isEmpty_y1axqb_k$()) {
- var suppressedIndent = indent + ' ';
- var tmp0_iterator_0 = suppressed.iterator_jk1svi_k$();
- while (tmp0_iterator_0.hasNext_bitz1p_k$()) {
- var s = tmp0_iterator_0.next_20eer_k$();
- dumpFullTrace(s, $this, suppressedIndent, 'Suppressed: ');
- }
- }
- return true;
- }
-
- function dropCommonFrames($this, stack, stackStart) {
- var commonFrames = 0;
- var lastBreak = 0;
- var preLastBreak = 0;
- var inductionVariable = 0;
- // Inline function 'kotlin.comparisons.minOf' call
- var a = $this.topStack_1.length - $this.topStackStart_1 | 0;
- var b = stack.length - stackStart | 0;
- var last = Math.min(a, b);
- if (inductionVariable < last)
- $l$loop: do {
- var pos = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var c = charSequenceGet(stack, get_lastIndex_6(stack) - pos | 0);
- if (!(c === charSequenceGet($this.topStack_1, get_lastIndex_6($this.topStack_1) - pos | 0)))
- break $l$loop;
- if (c === _Char___init__impl__6a9atx(10)) {
- commonFrames = commonFrames + 1 | 0;
- preLastBreak = lastBreak;
- lastBreak = pos;
- }
- }
- while (inductionVariable < last);
- if (commonFrames <= 1)
- return stack;
- while (preLastBreak > 0 ? charSequenceGet(stack, get_lastIndex_6(stack) - (preLastBreak - 1 | 0) | 0) === _Char___init__impl__6a9atx(32) : false)
- preLastBreak = preLastBreak - 1 | 0;
- return dropLast(stack, preLastBreak) + ('... and ' + (commonFrames - 1 | 0) + ' more common stack frames skipped');
- }
-
- function ExceptionTraceBuilder() {
- this.target_1 = StringBuilder_init_$Create$_1();
- var tmp = this;
- // Inline function 'kotlin.arrayOf' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp.visited_1 = [];
- this.topStack_1 = '';
- this.topStackStart_1 = 0;
- }
-
- protoOf(ExceptionTraceBuilder).buildFor_ptrct0_k$ = function (exception) {
- dumpFullTrace(exception, this, '', '');
- return this.target_1.toString();
- };
-
- function get_suppressedExceptions(_this__u8e3s4) {
- // Inline function 'kotlin.js.asDynamic' call
- var tmp0_safe_receiver = _this__u8e3s4._suppressed;
- var tmp;
- if (tmp0_safe_receiver == null) {
- tmp = null;
- } else {
- // Inline function 'kotlin.js.unsafeCast' call
- tmp = tmp0_safe_receiver;
- }
- var tmp1_elvis_lhs = tmp;
- return tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
- }
-
- function get_code(_this__u8e3s4) {
- return Char__toInt_impl_vasixd(_this__u8e3s4);
- }
-
- function Char_0(code) {
- var tmp;
- // Inline function 'kotlin.code' call
- var this_0 = Companion_getInstance().get_MIN_VALUE_9z8va5_k$();
- if (code < Char__toInt_impl_vasixd(this_0)) {
- tmp = true;
- } else {
- // Inline function 'kotlin.code' call
- var this_1 = Companion_getInstance().get_MAX_VALUE_bm2fhr_k$();
- tmp = code > Char__toInt_impl_vasixd(this_1);
- }
- if (tmp) {
- throw IllegalArgumentException_init_$Create$_0('Invalid Char code: ' + code);
- }
- return numberToChar(code);
- }
-
- function ExperimentalStdlibApi() {
- }
-
- protoOf(ExperimentalStdlibApi).equals = function (other) {
- if (!(other instanceof ExperimentalStdlibApi))
- return false;
- other instanceof ExperimentalStdlibApi || THROW_CCE();
- return true;
- };
- protoOf(ExperimentalStdlibApi).hashCode = function () {
- return 0;
- };
- protoOf(ExperimentalStdlibApi).toString = function () {
- return '@kotlin.ExperimentalStdlibApi()';
- };
-
- function BuilderInference() {
- }
-
- protoOf(BuilderInference).equals = function (other) {
- if (!(other instanceof BuilderInference))
- return false;
- other instanceof BuilderInference || THROW_CCE();
- return true;
- };
- protoOf(BuilderInference).hashCode = function () {
- return 0;
- };
- protoOf(BuilderInference).toString = function () {
- return '@kotlin.BuilderInference()';
- };
-
- function OptionalExpectation() {
- }
-
- protoOf(OptionalExpectation).equals = function (other) {
- if (!(other instanceof OptionalExpectation))
- return false;
- other instanceof OptionalExpectation || THROW_CCE();
- return true;
- };
- protoOf(OptionalExpectation).hashCode = function () {
- return 0;
- };
- protoOf(OptionalExpectation).toString = function () {
- return '@kotlin.OptionalExpectation()';
- };
-
- function ExperimentalMultiplatform() {
- }
-
- protoOf(ExperimentalMultiplatform).equals = function (other) {
- if (!(other instanceof ExperimentalMultiplatform))
- return false;
- other instanceof ExperimentalMultiplatform || THROW_CCE();
- return true;
- };
- protoOf(ExperimentalMultiplatform).hashCode = function () {
- return 0;
- };
- protoOf(ExperimentalMultiplatform).toString = function () {
- return '@kotlin.ExperimentalMultiplatform()';
- };
-
- function OptIn(markerClass) {
- this.markerClass_1 = markerClass;
- }
-
- protoOf(OptIn).get_markerClass_h8iub9_k$ = function () {
- return this.markerClass_1;
- };
- protoOf(OptIn).equals = function (other) {
- if (!(other instanceof OptIn))
- return false;
- var tmp0_other_with_cast = other instanceof OptIn ? other : THROW_CCE();
- if (!contentEquals_7(this.markerClass_1, tmp0_other_with_cast.markerClass_1))
- return false;
- return true;
- };
- protoOf(OptIn).hashCode = function () {
- return imul(getStringHashCode('markerClass'), 127) ^ hashCode(this.markerClass_1);
- };
- protoOf(OptIn).toString = function () {
- return '@kotlin.OptIn(markerClass=' + toString_1(this.markerClass_1) + ')';
- };
- var Level_WARNING_instance;
- var Level_ERROR_instance;
-
- function values_3() {
- return [Level_WARNING_getInstance(), Level_ERROR_getInstance()];
- }
-
- function valueOf_3(value) {
- switch (value) {
- case 'WARNING':
- return Level_WARNING_getInstance();
- case 'ERROR':
- return Level_ERROR_getInstance();
- default:
- Level_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries_3() {
- if ($ENTRIES_3 == null)
- $ENTRIES_3 = enumEntries(values_3());
- return $ENTRIES_3;
- }
-
- var Level_entriesInitialized;
-
- function Level_initEntries() {
- if (Level_entriesInitialized)
- return Unit_getInstance();
- Level_entriesInitialized = true;
- Level_WARNING_instance = new Level('WARNING', 0);
- Level_ERROR_instance = new Level('ERROR', 1);
- }
-
- var $ENTRIES_3;
-
- function Level(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- function Level_WARNING_getInstance() {
- Level_initEntries();
- return Level_WARNING_instance;
- }
-
- function Level_ERROR_getInstance() {
- Level_initEntries();
- return Level_ERROR_instance;
- }
-
- function RequiresOptIn(message, level) {
- message = message === VOID ? '' : message;
- level = level === VOID ? Level_ERROR_getInstance() : level;
- this.message_1 = message;
- this.level_1 = level;
- }
-
- protoOf(RequiresOptIn).get_message_h23axq_k$ = function () {
- return this.message_1;
- };
- protoOf(RequiresOptIn).get_level_ium7h7_k$ = function () {
- return this.level_1;
- };
- protoOf(RequiresOptIn).equals = function (other) {
- if (!(other instanceof RequiresOptIn))
- return false;
- var tmp0_other_with_cast = other instanceof RequiresOptIn ? other : THROW_CCE();
- if (!(this.message_1 === tmp0_other_with_cast.message_1))
- return false;
- if (!this.level_1.equals(tmp0_other_with_cast.level_1))
- return false;
- return true;
- };
- protoOf(RequiresOptIn).hashCode = function () {
- var result = imul(getStringHashCode('message'), 127) ^ getStringHashCode(this.message_1);
- result = result + (imul(getStringHashCode('level'), 127) ^ this.level_1.hashCode()) | 0;
- return result;
- };
- protoOf(RequiresOptIn).toString = function () {
- return '@kotlin.RequiresOptIn(message=' + this.message_1 + ', level=' + this.level_1 + ')';
- };
-
- function WasExperimental(markerClass) {
- this.markerClass_1 = markerClass;
- }
-
- protoOf(WasExperimental).get_markerClass_h8iub9_k$ = function () {
- return this.markerClass_1;
- };
- protoOf(WasExperimental).equals = function (other) {
- if (!(other instanceof WasExperimental))
- return false;
- var tmp0_other_with_cast = other instanceof WasExperimental ? other : THROW_CCE();
- if (!contentEquals_7(this.markerClass_1, tmp0_other_with_cast.markerClass_1))
- return false;
- return true;
- };
- protoOf(WasExperimental).hashCode = function () {
- return imul(getStringHashCode('markerClass'), 127) ^ hashCode(this.markerClass_1);
- };
- protoOf(WasExperimental).toString = function () {
- return '@kotlin.WasExperimental(markerClass=' + toString_1(this.markerClass_1) + ')';
- };
-
- function AbstractCollection$toString$lambda(this$0) {
- return function (it) {
- return it === this$0 ? '(this Collection)' : toString_0(it);
- };
- }
-
- function AbstractCollection() {
- }
-
- protoOf(AbstractCollection).contains_aljjnj_k$ = function (element) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.any' call
- var tmp;
- if (isInterface(this, Collection)) {
- tmp = this.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- var tmp0_iterator = this.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element_0 = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.AbstractCollection.contains.' call
- if (equals(element_0, element)) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- }
- tmp$ret$0 = false;
- }
- return tmp$ret$0;
- };
- protoOf(AbstractCollection).containsAll_xk45sd_k$ = function (elements) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.all' call
- var tmp;
- if (isInterface(elements, Collection)) {
- tmp = elements.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- var tmp0_iterator = elements.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.AbstractCollection.containsAll.' call
- if (!this.contains_aljjnj_k$(element)) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- }
- tmp$ret$0 = true;
- }
- return tmp$ret$0;
- };
- protoOf(AbstractCollection).isEmpty_y1axqb_k$ = function () {
- return this.get_size_woubt6_k$() === 0;
- };
- protoOf(AbstractCollection).toString = function () {
- return joinToString_0(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
- };
- protoOf(AbstractCollection).toArray = function () {
- return collectionToArray(this);
- };
- protoOf(AbstractCollection).toArray_6cwqme_k$ = function (array) {
- return collectionToArray_0(this, array);
- };
-
- function _get_list__d9tsa5_0($this) {
- return $this.list_1;
- }
-
- function _get_fromIndex__987b49_0($this) {
- return $this.fromIndex_1;
- }
-
- function _set__size__bau3qd_1($this, _set____db54di) {
- $this._size_1 = _set____db54di;
- }
-
- function _get__size__kqacr3_1($this) {
- return $this._size_1;
- }
-
- function _get_maxArraySize__r3kkd1($this) {
- return $this.maxArraySize_1;
- }
-
- function SubList_0(list, fromIndex, toIndex) {
- AbstractList.call(this);
- this.list_1 = list;
- this.fromIndex_1 = fromIndex;
- this._size_1 = 0;
- Companion_getInstance_5().checkRangeIndexes_a38xj7_k$(this.fromIndex_1, toIndex, this.list_1.get_size_woubt6_k$());
- this._size_1 = toIndex - this.fromIndex_1 | 0;
- }
-
- protoOf(SubList_0).get_c1px32_k$ = function (index) {
- Companion_getInstance_5().checkElementIndex_r3t1bm_k$(index, this._size_1);
- return this.list_1.get_c1px32_k$(this.fromIndex_1 + index | 0);
- };
- protoOf(SubList_0).get_size_woubt6_k$ = function () {
- return this._size_1;
- };
-
- function IteratorImpl_0($outer) {
- this.$this_1 = $outer;
- this.index_1 = 0;
- }
-
- protoOf(IteratorImpl_0).set_index_69f5xp_k$ = function (_set____db54di) {
- this.index_1 = _set____db54di;
- };
- protoOf(IteratorImpl_0).get_index_it478p_k$ = function () {
- return this.index_1;
- };
- protoOf(IteratorImpl_0).hasNext_bitz1p_k$ = function () {
- return this.index_1 < this.$this_1.get_size_woubt6_k$();
- };
- protoOf(IteratorImpl_0).next_20eer_k$ = function () {
- if (!this.hasNext_bitz1p_k$())
- throw NoSuchElementException_init_$Create$();
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- return this.$this_1.get_c1px32_k$(tmp1);
- };
-
- function ListIteratorImpl_0($outer, index) {
- this.$this_2 = $outer;
- IteratorImpl_0.call(this, $outer);
- Companion_getInstance_5().checkPositionIndex_xiph8v_k$(index, this.$this_2.get_size_woubt6_k$());
- this.index_1 = index;
- }
-
- protoOf(ListIteratorImpl_0).hasPrevious_qh0629_k$ = function () {
- return this.index_1 > 0;
- };
- protoOf(ListIteratorImpl_0).nextIndex_jshxun_k$ = function () {
- return this.index_1;
- };
- protoOf(ListIteratorImpl_0).previous_l2dfd5_k$ = function () {
- if (!this.hasPrevious_qh0629_k$())
- throw NoSuchElementException_init_$Create$();
- this.index_1 = this.index_1 - 1 | 0;
- return this.$this_2.get_c1px32_k$(this.index_1);
- };
- protoOf(ListIteratorImpl_0).previousIndex_4qtyw5_k$ = function () {
- return this.index_1 - 1 | 0;
- };
-
- function Companion_5() {
- Companion_instance_5 = this;
- this.maxArraySize_1 = 2147483639;
- }
-
- protoOf(Companion_5).checkElementIndex_r3t1bm_k$ = function (index, size) {
- if (index < 0 ? true : index >= size) {
- throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
- }
- };
- protoOf(Companion_5).checkPositionIndex_xiph8v_k$ = function (index, size) {
- if (index < 0 ? true : index > size) {
- throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
- }
- };
- protoOf(Companion_5).checkRangeIndexes_a38xj7_k$ = function (fromIndex, toIndex, size) {
- if (fromIndex < 0 ? true : toIndex > size) {
- throw IndexOutOfBoundsException_init_$Create$_0('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
- }
- if (fromIndex > toIndex) {
- throw IllegalArgumentException_init_$Create$_0('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
- }
- };
- protoOf(Companion_5).checkBoundsIndexes_fu3rwb_k$ = function (startIndex, endIndex, size) {
- if (startIndex < 0 ? true : endIndex > size) {
- throw IndexOutOfBoundsException_init_$Create$_0('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
- }
- if (startIndex > endIndex) {
- throw IllegalArgumentException_init_$Create$_0('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
- }
- };
- protoOf(Companion_5).newCapacity_jl318a_k$ = function (oldCapacity, minCapacity) {
- var newCapacity = oldCapacity + (oldCapacity >> 1) | 0;
- if ((newCapacity - minCapacity | 0) < 0)
- newCapacity = minCapacity;
- if ((newCapacity - 2147483639 | 0) > 0)
- newCapacity = minCapacity > 2147483639 ? IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$() : 2147483639;
- return newCapacity;
- };
- protoOf(Companion_5).orderedHashCode_s560y_k$ = function (c) {
- var hashCode_0 = 1;
- var tmp0_iterator = c.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var e = tmp0_iterator.next_20eer_k$();
- var tmp = imul(31, hashCode_0);
- var tmp2_elvis_lhs = e == null ? null : hashCode(e);
- hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
- }
- return hashCode_0;
- };
- protoOf(Companion_5).orderedEquals_mgd3rc_k$ = function (c, other) {
- if (!(c.get_size_woubt6_k$() === other.get_size_woubt6_k$()))
- return false;
- var otherIterator = other.iterator_jk1svi_k$();
- var tmp0_iterator = c.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var elem = tmp0_iterator.next_20eer_k$();
- var elemOther = otherIterator.next_20eer_k$();
- if (!equals(elem, elemOther)) {
- return false;
- }
- }
- return true;
- };
- var Companion_instance_5;
-
- function Companion_getInstance_5() {
- if (Companion_instance_5 == null)
- new Companion_5();
- return Companion_instance_5;
- }
-
- function AbstractList() {
- Companion_getInstance_5();
- AbstractCollection.call(this);
- }
-
- protoOf(AbstractList).iterator_jk1svi_k$ = function () {
- return new IteratorImpl_0(this);
- };
- protoOf(AbstractList).indexOf_si1fv9_k$ = function (element) {
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.collections.indexOfFirst' call
- var index = 0;
- var tmp0_iterator = this.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.AbstractList.indexOf.' call
- if (equals(item, element)) {
- tmp$ret$1 = index;
- break $l$block;
- }
- index = index + 1 | 0;
- }
- tmp$ret$1 = -1;
- }
- return tmp$ret$1;
- };
- protoOf(AbstractList).lastIndexOf_v2p1fv_k$ = function (element) {
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.collections.indexOfLast' call
- var iterator = this.listIterator_70e65o_k$(this.get_size_woubt6_k$());
- while (iterator.hasPrevious_qh0629_k$()) {
- // Inline function 'kotlin.collections.AbstractList.lastIndexOf.' call
- var it = iterator.previous_l2dfd5_k$();
- if (equals(it, element)) {
- tmp$ret$1 = iterator.nextIndex_jshxun_k$();
- break $l$block;
- }
- }
- tmp$ret$1 = -1;
- }
- return tmp$ret$1;
- };
- protoOf(AbstractList).listIterator_xjshxw_k$ = function () {
- return new ListIteratorImpl_0(this, 0);
- };
- protoOf(AbstractList).listIterator_70e65o_k$ = function (index) {
- return new ListIteratorImpl_0(this, index);
- };
- protoOf(AbstractList).subList_xle3r2_k$ = function (fromIndex, toIndex) {
- return new SubList_0(this, fromIndex, toIndex);
- };
- protoOf(AbstractList).equals = function (other) {
- if (other === this)
- return true;
- if (!(!(other == null) ? isInterface(other, List) : false))
- return false;
- return Companion_getInstance_5().orderedEquals_mgd3rc_k$(this, other);
- };
- protoOf(AbstractList).hashCode = function () {
- return Companion_getInstance_5().orderedHashCode_s560y_k$(this);
- };
-
- function AbstractMap$keys$1$iterator$1($entryIterator) {
- this.$entryIterator_1 = $entryIterator;
- }
-
- protoOf(AbstractMap$keys$1$iterator$1).hasNext_bitz1p_k$ = function () {
- return this.$entryIterator_1.hasNext_bitz1p_k$();
- };
- protoOf(AbstractMap$keys$1$iterator$1).next_20eer_k$ = function () {
- return this.$entryIterator_1.next_20eer_k$().get_key_18j28a_k$();
- };
-
- function AbstractMap$values$1$iterator$1($entryIterator) {
- this.$entryIterator_1 = $entryIterator;
- }
-
- protoOf(AbstractMap$values$1$iterator$1).hasNext_bitz1p_k$ = function () {
- return this.$entryIterator_1.hasNext_bitz1p_k$();
- };
- protoOf(AbstractMap$values$1$iterator$1).next_20eer_k$ = function () {
- return this.$entryIterator_1.next_20eer_k$().get_value_j01efc_k$();
- };
-
- function _set__keys__b6d6mq($this, _set____db54di) {
- $this._keys_1 = _set____db54di;
- }
-
- function _get__keys__kur9uq($this) {
- return $this._keys_1;
- }
-
- function toString_4($this, o) {
- return o === $this ? '(this Map)' : toString_0(o);
- }
-
- function implFindEntry($this, key) {
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.collections.firstOrNull' call
- var tmp0_iterator = $this.get_entries_p20ztl_k$().iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.AbstractMap.implFindEntry.' call
- if (equals(element.get_key_18j28a_k$(), key)) {
- tmp$ret$1 = element;
- break $l$block;
- }
- }
- tmp$ret$1 = null;
- }
- return tmp$ret$1;
- }
-
- function Companion_6() {
- Companion_instance_6 = this;
- }
-
- protoOf(Companion_6).entryHashCode_eee78l_k$ = function (e) {
- // Inline function 'kotlin.with' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.Companion.entryHashCode.' call
- var tmp2_safe_receiver = e.get_key_18j28a_k$();
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : hashCode(tmp2_safe_receiver);
- var tmp = tmp3_elvis_lhs == null ? 0 : tmp3_elvis_lhs;
- var tmp0_safe_receiver = e.get_value_j01efc_k$();
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
- return tmp ^ (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs);
- };
- protoOf(Companion_6).entryToString_szml2i_k$ = function (e) {
- // Inline function 'kotlin.with' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.Companion.entryToString.' call
- return toString_0(e.get_key_18j28a_k$()) + '=' + toString_0(e.get_value_j01efc_k$());
- };
- protoOf(Companion_6).entryEquals_pndsjc_k$ = function (e, other) {
- if (!(!(other == null) ? isInterface(other, Entry) : false))
- return false;
- return equals(e.get_key_18j28a_k$(), other.get_key_18j28a_k$()) ? equals(e.get_value_j01efc_k$(), other.get_value_j01efc_k$()) : false;
- };
- var Companion_instance_6;
-
- function Companion_getInstance_6() {
- if (Companion_instance_6 == null)
- new Companion_6();
- return Companion_instance_6;
- }
-
- function AbstractMap$keys$1(this$0) {
- this.this$0__1 = this$0;
- AbstractSet.call(this);
- }
-
- protoOf(AbstractMap$keys$1).contains_vbgn2f_k$ = function (element) {
- return this.this$0__1.containsKey_aw81wo_k$(element);
- };
- protoOf(AbstractMap$keys$1).contains_aljjnj_k$ = function (element) {
- if (!(element == null ? true : !(element == null)))
- return false;
- return this.contains_vbgn2f_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(AbstractMap$keys$1).iterator_jk1svi_k$ = function () {
- var entryIterator = this.this$0__1.get_entries_p20ztl_k$().iterator_jk1svi_k$();
- return new AbstractMap$keys$1$iterator$1(entryIterator);
- };
- protoOf(AbstractMap$keys$1).get_size_woubt6_k$ = function () {
- return this.this$0__1.get_size_woubt6_k$();
- };
-
- function AbstractMap$toString$lambda(this$0) {
- return function (it) {
- return this$0.toString_shrnxz_k$(it);
- };
- }
-
- function AbstractMap$values$1(this$0) {
- this.this$0__1 = this$0;
- AbstractCollection.call(this);
- }
-
- protoOf(AbstractMap$values$1).contains_m22g8e_k$ = function (element) {
- return this.this$0__1.containsValue_yf2ykl_k$(element);
- };
- protoOf(AbstractMap$values$1).contains_aljjnj_k$ = function (element) {
- if (!(element == null ? true : !(element == null)))
- return false;
- return this.contains_m22g8e_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(AbstractMap$values$1).iterator_jk1svi_k$ = function () {
- var entryIterator = this.this$0__1.get_entries_p20ztl_k$().iterator_jk1svi_k$();
- return new AbstractMap$values$1$iterator$1(entryIterator);
- };
- protoOf(AbstractMap$values$1).get_size_woubt6_k$ = function () {
- return this.this$0__1.get_size_woubt6_k$();
- };
-
- function AbstractMap() {
- Companion_getInstance_6();
- this._keys_1 = null;
- this._values_1 = null;
- }
-
- protoOf(AbstractMap).containsKey_aw81wo_k$ = function (key) {
- return !(implFindEntry(this, key) == null);
- };
- protoOf(AbstractMap).containsValue_yf2ykl_k$ = function (value) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.any' call
- var this_0 = this.get_entries_p20ztl_k$();
- var tmp;
- if (isInterface(this_0, Collection)) {
- tmp = this_0.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- var tmp0_iterator = this_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.AbstractMap.containsValue.' call
- if (equals(element.get_value_j01efc_k$(), value)) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- }
- tmp$ret$0 = false;
- }
- return tmp$ret$0;
- };
- protoOf(AbstractMap).containsEntry_x9fcvg_k$ = function (entry) {
- if (!(!(entry == null) ? isInterface(entry, Entry) : false))
- return false;
- var key = entry.get_key_18j28a_k$();
- var value = entry.get_value_j01efc_k$();
- // Inline function 'kotlin.collections.get' call
- var ourValue = (isInterface(this, Map_0) ? this : THROW_CCE()).get_wei43m_k$(key);
- if (!equals(value, ourValue)) {
- return false;
- }
- var tmp;
- if (ourValue == null) {
- // Inline function 'kotlin.collections.containsKey' call
- tmp = !(isInterface(this, Map_0) ? this : THROW_CCE()).containsKey_aw81wo_k$(key);
- } else {
- tmp = false;
- }
- if (tmp) {
- return false;
- }
- return true;
- };
- protoOf(AbstractMap).equals = function (other) {
- if (other === this)
- return true;
- if (!(!(other == null) ? isInterface(other, Map_0) : false))
- return false;
- if (!(this.get_size_woubt6_k$() === other.get_size_woubt6_k$()))
- return false;
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.all' call
- var this_0 = other.get_entries_p20ztl_k$();
- var tmp;
- if (isInterface(this_0, Collection)) {
- tmp = this_0.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- var tmp0_iterator = this_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.AbstractMap.equals.' call
- if (!this.containsEntry_x9fcvg_k$(element)) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- }
- tmp$ret$0 = true;
- }
- return tmp$ret$0;
- };
- protoOf(AbstractMap).get_wei43m_k$ = function (key) {
- var tmp0_safe_receiver = implFindEntry(this, key);
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.get_value_j01efc_k$();
- };
- protoOf(AbstractMap).hashCode = function () {
- return hashCode(this.get_entries_p20ztl_k$());
- };
- protoOf(AbstractMap).isEmpty_y1axqb_k$ = function () {
- return this.get_size_woubt6_k$() === 0;
- };
- protoOf(AbstractMap).get_size_woubt6_k$ = function () {
- return this.get_entries_p20ztl_k$().get_size_woubt6_k$();
- };
- protoOf(AbstractMap).get_keys_wop4xp_k$ = function () {
- if (this._keys_1 == null) {
- var tmp = this;
- tmp._keys_1 = new AbstractMap$keys$1(this);
- }
- return ensureNotNull(this._keys_1);
- };
- protoOf(AbstractMap).toString = function () {
- var tmp = this.get_entries_p20ztl_k$();
- return joinToString_0(tmp, ', ', '{', '}', VOID, VOID, AbstractMap$toString$lambda(this));
- };
- protoOf(AbstractMap).toString_shrnxz_k$ = function (entry) {
- return toString_4(this, entry.get_key_18j28a_k$()) + '=' + toString_4(this, entry.get_value_j01efc_k$());
- };
- protoOf(AbstractMap).get_values_ksazhn_k$ = function () {
- if (this._values_1 == null) {
- var tmp = this;
- tmp._values_1 = new AbstractMap$values$1(this);
- }
- return ensureNotNull(this._values_1);
- };
- protoOf(AbstractMap).set__values_jz9swx_k$ = function (_set____db54di) {
- this._values_1 = _set____db54di;
- };
- protoOf(AbstractMap).get__values_wfmpnc_k$ = function () {
- return this._values_1;
- };
-
- function Companion_7() {
- Companion_instance_7 = this;
- }
-
- protoOf(Companion_7).unorderedHashCode_3jmy63_k$ = function (c) {
- var hashCode_0 = 0;
- var tmp0_iterator = c.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- var tmp = hashCode_0;
- var tmp2_elvis_lhs = element == null ? null : hashCode(element);
- hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
- }
- return hashCode_0;
- };
- protoOf(Companion_7).setEquals_3t788x_k$ = function (c, other) {
- if (!(c.get_size_woubt6_k$() === other.get_size_woubt6_k$()))
- return false;
- // Inline function 'kotlin.collections.containsAll' call
- return c.containsAll_xk45sd_k$(other);
- };
- var Companion_instance_7;
-
- function Companion_getInstance_7() {
- if (Companion_instance_7 == null)
- new Companion_7();
- return Companion_instance_7;
- }
-
- function AbstractSet() {
- Companion_getInstance_7();
- AbstractCollection.call(this);
- }
-
- protoOf(AbstractSet).equals = function (other) {
- if (other === this)
- return true;
- if (!(!(other == null) ? isInterface(other, Set) : false))
- return false;
- return Companion_getInstance_7().setEquals_3t788x_k$(this, other);
- };
- protoOf(AbstractSet).hashCode = function () {
- return Companion_getInstance_7().unorderedHashCode_3jmy63_k$(this);
- };
-
- function collectionToArrayCommonImpl(collection) {
- if (collection.isEmpty_y1axqb_k$()) {
- // Inline function 'kotlin.emptyArray' call
- return [];
- }
- // Inline function 'kotlin.arrayOfNulls' call
- var size = collection.get_size_woubt6_k$();
- var destination = fillArrayVal(Array(size), null);
- var iterator = collection.iterator_jk1svi_k$();
- var index = 0;
- while (iterator.hasNext_bitz1p_k$()) {
- var tmp0 = index;
- index = tmp0 + 1 | 0;
- destination[tmp0] = iterator.next_20eer_k$();
- }
- return destination;
- }
-
- function optimizeReadOnlyList(_this__u8e3s4) {
- switch (_this__u8e3s4.get_size_woubt6_k$()) {
- case 0:
- return emptyList();
- case 1:
- return listOf(_this__u8e3s4.get_c1px32_k$(0));
- default:
- return _this__u8e3s4;
- }
- }
-
- function buildList(builderAction) {
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.buildListInternal' call
- // Inline function 'kotlin.apply' call
- var this_0 = ArrayList_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- builderAction(this_0);
- return this_0.build_1k0s4u_k$();
- }
-
- function mutableListOf() {
- return ArrayList_init_$Create$();
- }
-
- function arrayListOf(elements) {
- return elements.length === 0 ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, true));
- }
-
- function emptyList() {
- return EmptyList_getInstance();
- }
-
- function collectionToArrayCommonImpl_0(collection, array) {
- if (collection.isEmpty_y1axqb_k$())
- return terminateCollectionToArray(0, array);
- var tmp;
- if (array.length < collection.get_size_woubt6_k$()) {
- tmp = arrayOfNulls_0(array, collection.get_size_woubt6_k$());
- } else {
- tmp = array;
- }
- var destination = tmp;
- var iterator = collection.iterator_jk1svi_k$();
- var index = 0;
- while (iterator.hasNext_bitz1p_k$()) {
- var tmp0 = index;
- index = tmp0 + 1 | 0;
- var tmp_0 = iterator.next_20eer_k$();
- destination[tmp0] = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
- }
- return terminateCollectionToArray(collection.get_size_woubt6_k$(), destination);
- }
-
- function get_lastIndex_5(_this__u8e3s4) {
- return _this__u8e3s4.get_size_woubt6_k$() - 1 | 0;
- }
-
- function listOf_0(elements) {
- return elements.length > 0 ? asList(elements) : emptyList();
- }
-
- function get_indices_6(_this__u8e3s4) {
- return numberRangeToNumber(0, _this__u8e3s4.get_size_woubt6_k$() - 1 | 0);
- }
-
- function EmptyIterator() {
- EmptyIterator_instance = this;
- }
-
- protoOf(EmptyIterator).hasNext_bitz1p_k$ = function () {
- return false;
- };
- protoOf(EmptyIterator).hasPrevious_qh0629_k$ = function () {
- return false;
- };
- protoOf(EmptyIterator).nextIndex_jshxun_k$ = function () {
- return 0;
- };
- protoOf(EmptyIterator).previousIndex_4qtyw5_k$ = function () {
- return -1;
- };
- protoOf(EmptyIterator).next_20eer_k$ = function () {
- throw NoSuchElementException_init_$Create$();
- };
- protoOf(EmptyIterator).previous_l2dfd5_k$ = function () {
- throw NoSuchElementException_init_$Create$();
- };
- var EmptyIterator_instance;
-
- function EmptyIterator_getInstance() {
- if (EmptyIterator_instance == null)
- new EmptyIterator();
- return EmptyIterator_instance;
- }
-
- function arrayListOf_0() {
- return ArrayList_init_$Create$();
- }
-
- function asCollection(_this__u8e3s4) {
- return new ArrayAsCollection(_this__u8e3s4, false);
- }
-
- function throwIndexOverflow() {
- throw ArithmeticException_init_$Create$_0('Index overflow has happened.');
- }
-
- function containsAll(_this__u8e3s4, elements) {
- return _this__u8e3s4.containsAll_xk45sd_k$(elements);
- }
-
- function isNotEmpty(_this__u8e3s4) {
- return !_this__u8e3s4.isEmpty_y1axqb_k$();
- }
-
- function _get_serialVersionUID__fhggm9($this) {
- return $this.serialVersionUID_1;
- }
-
- function readResolve($this) {
- return EmptyList_getInstance();
- }
-
- function EmptyList() {
- EmptyList_instance = this;
- this.serialVersionUID_1 = new Long(-1478467534, -1720727600);
- }
-
- protoOf(EmptyList).equals = function (other) {
- var tmp;
- if (!(other == null) ? isInterface(other, List) : false) {
- tmp = other.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(EmptyList).hashCode = function () {
- return 1;
- };
- protoOf(EmptyList).toString = function () {
- return '[]';
- };
- protoOf(EmptyList).get_size_woubt6_k$ = function () {
- return 0;
- };
- protoOf(EmptyList).isEmpty_y1axqb_k$ = function () {
- return true;
- };
- protoOf(EmptyList).contains_a7ux40_k$ = function (element) {
- return false;
- };
- protoOf(EmptyList).contains_aljjnj_k$ = function (element) {
- if (!false)
- return false;
- var tmp;
- if (false) {
- tmp = element;
- } else {
- tmp = THROW_CCE();
- }
- return this.contains_a7ux40_k$(tmp);
- };
- protoOf(EmptyList).containsAll_g2avn8_k$ = function (elements) {
- return elements.isEmpty_y1axqb_k$();
- };
- protoOf(EmptyList).containsAll_xk45sd_k$ = function (elements) {
- return this.containsAll_g2avn8_k$(elements);
- };
- protoOf(EmptyList).get_c1px32_k$ = function (index) {
- throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
- };
- protoOf(EmptyList).indexOf_31ms1i_k$ = function (element) {
- return -1;
- };
- protoOf(EmptyList).indexOf_si1fv9_k$ = function (element) {
- if (!false)
- return -1;
- var tmp;
- if (false) {
- tmp = element;
- } else {
- tmp = THROW_CCE();
- }
- return this.indexOf_31ms1i_k$(tmp);
- };
- protoOf(EmptyList).lastIndexOf_5pkqqc_k$ = function (element) {
- return -1;
- };
- protoOf(EmptyList).lastIndexOf_v2p1fv_k$ = function (element) {
- if (!false)
- return -1;
- var tmp;
- if (false) {
- tmp = element;
- } else {
- tmp = THROW_CCE();
- }
- return this.lastIndexOf_5pkqqc_k$(tmp);
- };
- protoOf(EmptyList).iterator_jk1svi_k$ = function () {
- return EmptyIterator_getInstance();
- };
- protoOf(EmptyList).listIterator_xjshxw_k$ = function () {
- return EmptyIterator_getInstance();
- };
- protoOf(EmptyList).listIterator_70e65o_k$ = function (index) {
- if (!(index === 0))
- throw IndexOutOfBoundsException_init_$Create$_0('Index: ' + index);
- return EmptyIterator_getInstance();
- };
- protoOf(EmptyList).subList_xle3r2_k$ = function (fromIndex, toIndex) {
- if (fromIndex === 0 ? toIndex === 0 : false)
- return this;
- throw IndexOutOfBoundsException_init_$Create$_0('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex);
- };
- var EmptyList_instance;
-
- function EmptyList_getInstance() {
- if (EmptyList_instance == null)
- new EmptyList();
- return EmptyList_instance;
- }
-
- function throwCountOverflow() {
- throw ArithmeticException_init_$Create$_0('Count overflow has happened.');
- }
-
- function ArrayAsCollection(values, isVarargs) {
- this.values_1 = values;
- this.isVarargs_1 = isVarargs;
- }
-
- protoOf(ArrayAsCollection).get_values_ksazhn_k$ = function () {
- return this.values_1;
- };
- protoOf(ArrayAsCollection).get_isVarargs_2u6iq9_k$ = function () {
- return this.isVarargs_1;
- };
- protoOf(ArrayAsCollection).get_size_woubt6_k$ = function () {
- return this.values_1.length;
- };
- protoOf(ArrayAsCollection).isEmpty_y1axqb_k$ = function () {
- // Inline function 'kotlin.collections.isEmpty' call
- return this.values_1.length === 0;
- };
- protoOf(ArrayAsCollection).contains_ccp5tc_k$ = function (element) {
- return contains_5(this.values_1, element);
- };
- protoOf(ArrayAsCollection).contains_aljjnj_k$ = function (element) {
- if (!(element == null ? true : !(element == null)))
- return false;
- return this.contains_ccp5tc_k$((element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(ArrayAsCollection).containsAll_70schq_k$ = function (elements) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.all' call
- var tmp;
- if (isInterface(elements, Collection)) {
- tmp = elements.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- var tmp0_iterator = elements.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.ArrayAsCollection.containsAll.' call
- if (!this.contains_ccp5tc_k$(element)) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- }
- tmp$ret$0 = true;
- }
- return tmp$ret$0;
- };
- protoOf(ArrayAsCollection).containsAll_xk45sd_k$ = function (elements) {
- return this.containsAll_70schq_k$(elements);
- };
- protoOf(ArrayAsCollection).iterator_jk1svi_k$ = function () {
- return arrayIterator(this.values_1);
- };
- protoOf(ArrayAsCollection).toArray_jjyjqa_k$ = function () {
- // Inline function 'kotlin.collections.copyToArrayOfAny' call
- var this_0 = this.values_1;
- var tmp;
- if (this.isVarargs_1) {
- tmp = this_0;
- } else {
- // Inline function 'kotlin.collections.copyOf' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = this_0.slice();
- }
- return tmp;
- };
-
- function collectionSizeOrDefault(_this__u8e3s4, default_0) {
- var tmp;
- if (isInterface(_this__u8e3s4, Collection)) {
- tmp = _this__u8e3s4.get_size_woubt6_k$();
- } else {
- tmp = default_0;
- }
- return tmp;
- }
-
- function component1_0(_this__u8e3s4) {
- return _this__u8e3s4.get_key_18j28a_k$();
- }
-
- function get_3(_this__u8e3s4, key) {
- return (isInterface(_this__u8e3s4, Map_0) ? _this__u8e3s4 : THROW_CCE()).get_wei43m_k$(key);
- }
-
- function mapOf_0(pairs) {
- return pairs.length > 0 ? toMap_0(pairs, LinkedHashMap_init_$Create$_0(mapCapacity(pairs.length))) : emptyMap();
- }
-
- function component2_0(_this__u8e3s4) {
- return _this__u8e3s4.get_value_j01efc_k$();
- }
-
- function toMap(_this__u8e3s4) {
- if (isInterface(_this__u8e3s4, Collection)) {
- var tmp;
- switch (_this__u8e3s4.get_size_woubt6_k$()) {
- case 0:
- tmp = emptyMap();
- break;
- case 1:
- var tmp_0;
- if (isInterface(_this__u8e3s4, List)) {
- tmp_0 = _this__u8e3s4.get_c1px32_k$(0);
- } else {
- tmp_0 = _this__u8e3s4.iterator_jk1svi_k$().next_20eer_k$();
- }
-
- tmp = mapOf(tmp_0);
- break;
- default:
- tmp = toMap_1(_this__u8e3s4, LinkedHashMap_init_$Create$_0(mapCapacity(_this__u8e3s4.get_size_woubt6_k$())));
- break;
- }
- return tmp;
- }
- return optimizeReadOnlyMap(toMap_1(_this__u8e3s4, LinkedHashMap_init_$Create$()));
- }
-
- function set(_this__u8e3s4, key, value) {
- _this__u8e3s4.put_4fpzoq_k$(key, value);
- }
-
- function iterator(_this__u8e3s4) {
- return _this__u8e3s4.get_entries_p20ztl_k$().iterator_jk1svi_k$();
- }
-
- function containsKey(_this__u8e3s4, key) {
- return (isInterface(_this__u8e3s4, Map_0) ? _this__u8e3s4 : THROW_CCE()).containsKey_aw81wo_k$(key);
- }
-
- function emptyMap() {
- var tmp = EmptyMap_getInstance();
- return isInterface(tmp, Map_0) ? tmp : THROW_CCE();
- }
-
- function hashMapOf(pairs) {
- // Inline function 'kotlin.apply' call
- var this_0 = HashMap_init_$Create$_2(mapCapacity(pairs.length));
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.hashMapOf.' call
- putAll(this_0, pairs);
- return this_0;
- }
-
- function mutableMapOf() {
- return LinkedHashMap_init_$Create$();
- }
-
- function toMap_0(_this__u8e3s4, destination) {
- // Inline function 'kotlin.apply' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.toMap.' call
- putAll(destination, _this__u8e3s4);
- return destination;
- }
-
- function toMap_1(_this__u8e3s4, destination) {
- // Inline function 'kotlin.apply' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.collections.toMap.' call
- putAll_0(destination, _this__u8e3s4);
- return destination;
- }
-
- function optimizeReadOnlyMap(_this__u8e3s4) {
- var tmp;
- switch (_this__u8e3s4.get_size_woubt6_k$()) {
- case 0:
- tmp = emptyMap();
- break;
- case 1:
- // Inline function 'kotlin.collections.toSingletonMapOrSelf' call
-
- tmp = _this__u8e3s4;
- break;
- default:
- tmp = _this__u8e3s4;
- break;
- }
- return tmp;
- }
-
- function _get_serialVersionUID__fhggm9_0($this) {
- return $this.serialVersionUID_1;
- }
-
- function readResolve_0($this) {
- return EmptyMap_getInstance();
- }
-
- function EmptyMap() {
- EmptyMap_instance = this;
- this.serialVersionUID_1 = new Long(-888910638, 1920087921);
- }
-
- protoOf(EmptyMap).equals = function (other) {
- var tmp;
- if (!(other == null) ? isInterface(other, Map_0) : false) {
- tmp = other.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(EmptyMap).hashCode = function () {
- return 0;
- };
- protoOf(EmptyMap).toString = function () {
- return '{}';
- };
- protoOf(EmptyMap).get_size_woubt6_k$ = function () {
- return 0;
- };
- protoOf(EmptyMap).isEmpty_y1axqb_k$ = function () {
- return true;
- };
- protoOf(EmptyMap).containsKey_v2r3nj_k$ = function (key) {
- return false;
- };
- protoOf(EmptyMap).containsKey_aw81wo_k$ = function (key) {
- if (!(key == null ? true : !(key == null)))
- return false;
- return this.containsKey_v2r3nj_k$((key == null ? true : !(key == null)) ? key : THROW_CCE());
- };
- protoOf(EmptyMap).containsValue_z80jjn_k$ = function (value) {
- return false;
- };
- protoOf(EmptyMap).containsValue_yf2ykl_k$ = function (value) {
- if (!false)
- return false;
- var tmp;
- if (false) {
- tmp = value;
- } else {
- tmp = THROW_CCE();
- }
- return this.containsValue_z80jjn_k$(tmp);
- };
- protoOf(EmptyMap).get_eccq09_k$ = function (key) {
- return null;
- };
- protoOf(EmptyMap).get_wei43m_k$ = function (key) {
- if (!(key == null ? true : !(key == null)))
- return null;
- return this.get_eccq09_k$((key == null ? true : !(key == null)) ? key : THROW_CCE());
- };
- protoOf(EmptyMap).get_entries_p20ztl_k$ = function () {
- return EmptySet_getInstance();
- };
- protoOf(EmptyMap).get_keys_wop4xp_k$ = function () {
- return EmptySet_getInstance();
- };
- protoOf(EmptyMap).get_values_ksazhn_k$ = function () {
- return EmptyList_getInstance();
- };
- var EmptyMap_instance;
-
- function EmptyMap_getInstance() {
- if (EmptyMap_instance == null)
- new EmptyMap();
- return EmptyMap_instance;
- }
-
- function putAll(_this__u8e3s4, pairs) {
- var inductionVariable = 0;
- var last = pairs.length;
- while (inductionVariable < last) {
- var tmp1_loop_parameter = pairs[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- var key = tmp1_loop_parameter.component1_7eebsc_k$();
- var value = tmp1_loop_parameter.component2_7eebsb_k$();
- _this__u8e3s4.put_4fpzoq_k$(key, value);
- }
- }
-
- function putAll_0(_this__u8e3s4, pairs) {
- var tmp0_iterator = pairs.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var tmp1_loop_parameter = tmp0_iterator.next_20eer_k$();
- var key = tmp1_loop_parameter.component1_7eebsc_k$();
- var value = tmp1_loop_parameter.component2_7eebsb_k$();
- _this__u8e3s4.put_4fpzoq_k$(key, value);
- }
- }
-
- function removeLast(_this__u8e3s4) {
- var tmp;
- if (_this__u8e3s4.isEmpty_y1axqb_k$()) {
- throw NoSuchElementException_init_$Create$_0('List is empty.');
- } else {
- tmp = _this__u8e3s4.removeAt_6niowx_k$(get_lastIndex_5(_this__u8e3s4));
- }
- return tmp;
- }
-
- function plusAssign(_this__u8e3s4, element) {
- _this__u8e3s4.add_utx5q5_k$(element);
- }
-
- function addAll(_this__u8e3s4, elements) {
- return _this__u8e3s4.addAll_4lagoh_k$(asList(elements));
- }
-
- function removeAll(_this__u8e3s4, predicate) {
- return filterInPlace(_this__u8e3s4, predicate, true);
- }
-
- function removeAll_0(_this__u8e3s4, predicate) {
- return filterInPlace_0(_this__u8e3s4, predicate, true);
- }
-
- function filterInPlace(_this__u8e3s4, predicate, predicateResultToRemove) {
- if (!isInterface(_this__u8e3s4, RandomAccess)) {
- return filterInPlace_0(isInterface(_this__u8e3s4, MutableIterable) ? _this__u8e3s4 : THROW_CCE(), predicate, predicateResultToRemove);
- }
- var writeIndex = 0;
- var inductionVariable = 0;
- var last = get_lastIndex_5(_this__u8e3s4);
- if (inductionVariable <= last)
- $l$loop: do {
- var readIndex = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var element = _this__u8e3s4.get_c1px32_k$(readIndex);
- if (predicate(element) === predicateResultToRemove)
- continue $l$loop;
- if (!(writeIndex === readIndex)) {
- _this__u8e3s4.set_82063s_k$(writeIndex, element);
- }
- writeIndex = writeIndex + 1 | 0;
- }
- while (!(readIndex === last));
- if (writeIndex < _this__u8e3s4.get_size_woubt6_k$()) {
- var inductionVariable_0 = get_lastIndex_5(_this__u8e3s4);
- var last_0 = writeIndex;
- if (last_0 <= inductionVariable_0)
- do {
- var removeIndex = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + -1 | 0;
- _this__u8e3s4.removeAt_6niowx_k$(removeIndex);
- }
- while (!(removeIndex === last_0));
- return true;
- } else {
- return false;
- }
- }
-
- function filterInPlace_0(_this__u8e3s4, predicate, predicateResultToRemove) {
- var result = false;
- // Inline function 'kotlin.with' call
- // Inline function 'kotlin.contracts.contract' call
- var $this$with = _this__u8e3s4.iterator_jk1svi_k$();
- while ($this$with.hasNext_bitz1p_k$())
- if (predicate($this$with.next_20eer_k$()) === predicateResultToRemove) {
- $this$with.remove_ldkf9o_k$();
- result = true;
- }
- return result;
- }
-
- function addAll_0(_this__u8e3s4, elements) {
- if (isInterface(elements, Collection))
- return _this__u8e3s4.addAll_4lagoh_k$(elements);
- else {
- var result = false;
- var tmp1_iterator = elements.iterator_jk1svi_k$();
- while (tmp1_iterator.hasNext_bitz1p_k$()) {
- var item = tmp1_iterator.next_20eer_k$();
- if (_this__u8e3s4.add_utx5q5_k$(item))
- result = true;
- }
- return result;
- }
- }
-
- function IntIterator() {
- }
-
- protoOf(IntIterator).next_20eer_k$ = function () {
- return this.nextInt_ujorgc_k$();
- };
-
- function ByteIterator() {
- }
-
- protoOf(ByteIterator).next_20eer_k$ = function () {
- return this.nextByte_njqopn_k$();
- };
-
- function CharIterator() {
- }
-
- protoOf(CharIterator).next_30xa17_k$ = function () {
- return this.nextChar_yvnk6j_k$();
- };
- protoOf(CharIterator).next_20eer_k$ = function () {
- return new Char(this.next_30xa17_k$());
- };
-
- function LongIterator() {
- }
-
- protoOf(LongIterator).next_20eer_k$ = function () {
- return this.nextLong_njwv0v_k$();
- };
-
- function DoubleIterator() {
- }
-
- protoOf(DoubleIterator).next_20eer_k$ = function () {
- return this.nextDouble_s2xvfg_k$();
- };
-
- function FloatIterator() {
- }
-
- protoOf(FloatIterator).next_20eer_k$ = function () {
- return this.nextFloat_jqti5l_k$();
- };
-
- function ShortIterator() {
- }
-
- protoOf(ShortIterator).next_20eer_k$ = function () {
- return this.nextShort_jxwabt_k$();
- };
-
- function BooleanIterator() {
- }
-
- protoOf(BooleanIterator).next_20eer_k$ = function () {
- return this.nextBoolean_nfdk1h_k$();
- };
-
- function asReversed(_this__u8e3s4) {
- return new ReversedList(_this__u8e3s4);
- }
-
- function _get_delegate__idh0py($this) {
- return $this.delegate_1;
- }
-
- function ReversedList$listIterator$1(this$0, $index) {
- this.this$0__1 = this$0;
- this.delegateIterator_1 = this$0.delegate_1.listIterator_70e65o_k$(reversePositionIndex(this$0, $index));
- }
-
- protoOf(ReversedList$listIterator$1).get_delegateIterator_k9fnq4_k$ = function () {
- return this.delegateIterator_1;
- };
- protoOf(ReversedList$listIterator$1).hasNext_bitz1p_k$ = function () {
- return this.delegateIterator_1.hasPrevious_qh0629_k$();
- };
- protoOf(ReversedList$listIterator$1).hasPrevious_qh0629_k$ = function () {
- return this.delegateIterator_1.hasNext_bitz1p_k$();
- };
- protoOf(ReversedList$listIterator$1).next_20eer_k$ = function () {
- return this.delegateIterator_1.previous_l2dfd5_k$();
- };
- protoOf(ReversedList$listIterator$1).nextIndex_jshxun_k$ = function () {
- return reverseIteratorIndex(this.this$0__1, this.delegateIterator_1.previousIndex_4qtyw5_k$());
- };
- protoOf(ReversedList$listIterator$1).previous_l2dfd5_k$ = function () {
- return this.delegateIterator_1.next_20eer_k$();
- };
- protoOf(ReversedList$listIterator$1).previousIndex_4qtyw5_k$ = function () {
- return reverseIteratorIndex(this.this$0__1, this.delegateIterator_1.nextIndex_jshxun_k$());
- };
- protoOf(ReversedList$listIterator$1).add_jcyd1a_k$ = function (element) {
- this.delegateIterator_1.add_jcyd1a_k$(element);
- this.delegateIterator_1.previous_l2dfd5_k$();
- };
- protoOf(ReversedList$listIterator$1).remove_ldkf9o_k$ = function () {
- return this.delegateIterator_1.remove_ldkf9o_k$();
- };
- protoOf(ReversedList$listIterator$1).set_tg4fwj_k$ = function (element) {
- return this.delegateIterator_1.set_tg4fwj_k$(element);
- };
-
- function ReversedList(delegate) {
- AbstractMutableList.call(this);
- this.delegate_1 = delegate;
- }
-
- protoOf(ReversedList).get_size_woubt6_k$ = function () {
- return this.delegate_1.get_size_woubt6_k$();
- };
- protoOf(ReversedList).get_c1px32_k$ = function (index) {
- return this.delegate_1.get_c1px32_k$(reverseElementIndex(this, index));
- };
- protoOf(ReversedList).clear_j9egeb_k$ = function () {
- return this.delegate_1.clear_j9egeb_k$();
- };
- protoOf(ReversedList).removeAt_6niowx_k$ = function (index) {
- return this.delegate_1.removeAt_6niowx_k$(reverseElementIndex(this, index));
- };
- protoOf(ReversedList).set_9t5s9l_k$ = function (index, element) {
- return this.delegate_1.set_82063s_k$(reverseElementIndex(this, index), element);
- };
- protoOf(ReversedList).set_82063s_k$ = function (index, element) {
- return this.set_9t5s9l_k$(index, (element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(ReversedList).add_gaf1mg_k$ = function (index, element) {
- this.delegate_1.add_dl6gt3_k$(reversePositionIndex(this, index), element);
- };
- protoOf(ReversedList).add_dl6gt3_k$ = function (index, element) {
- return this.add_gaf1mg_k$(index, (element == null ? true : !(element == null)) ? element : THROW_CCE());
- };
- protoOf(ReversedList).iterator_jk1svi_k$ = function () {
- return this.listIterator_70e65o_k$(0);
- };
- protoOf(ReversedList).listIterator_xjshxw_k$ = function () {
- return this.listIterator_70e65o_k$(0);
- };
- protoOf(ReversedList).listIterator_70e65o_k$ = function (index) {
- return new ReversedList$listIterator$1(this, index);
- };
-
- function reverseElementIndex(_this__u8e3s4, index) {
- var tmp;
- if (0 <= index ? index <= get_lastIndex_5(_this__u8e3s4) : false) {
- tmp = get_lastIndex_5(_this__u8e3s4) - index | 0;
- } else {
- throw IndexOutOfBoundsException_init_$Create$_0('Element index ' + index + ' must be in range [' + numberRangeToNumber(0, get_lastIndex_5(_this__u8e3s4)) + '].');
- }
- return tmp;
- }
-
- function reversePositionIndex(_this__u8e3s4, index) {
- var tmp;
- if (0 <= index ? index <= _this__u8e3s4.get_size_woubt6_k$() : false) {
- tmp = _this__u8e3s4.get_size_woubt6_k$() - index | 0;
- } else {
- throw IndexOutOfBoundsException_init_$Create$_0('Position index ' + index + ' must be in range [' + numberRangeToNumber(0, _this__u8e3s4.get_size_woubt6_k$()) + '].');
- }
- return tmp;
- }
-
- function reverseIteratorIndex(_this__u8e3s4, index) {
- return get_lastIndex_5(_this__u8e3s4) - index | 0;
- }
-
- function Sequence() {
- }
-
- function sequence(block) {
- // Inline function 'kotlin.sequences.Sequence' call
- return new _no_name_provided__qut3iv_3(block);
- }
-
- function SequenceScope() {
- }
-
- protoOf(SequenceScope).yieldAll_nwjlo5_k$ = function (elements, $completion) {
- var tmp;
- if (isInterface(elements, Collection)) {
- tmp = elements.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp)
- return Unit_getInstance();
- return this.yieldAll_qmzpcf_k$(elements.iterator_jk1svi_k$(), $completion);
- };
- protoOf(SequenceScope).yieldAll_h63j2x_k$ = function (sequence, $completion) {
- return this.yieldAll_qmzpcf_k$(sequence.iterator_jk1svi_k$(), $completion);
- };
-
- function iterator_0(block) {
- var iterator = new SequenceBuilderIterator();
- iterator.nextStep_1 = createCoroutineUnintercepted(block, iterator, iterator);
- return iterator;
- }
-
- function _set_state__ks53v8($this, _set____db54di) {
- $this.state_1 = _set____db54di;
- }
-
- function _get_state__b8zcm8($this) {
- return $this.state_1;
- }
-
- function _set_nextValue__boapz($this, _set____db54di) {
- $this.nextValue_1 = _set____db54di;
- }
-
- function _get_nextValue__tmir4j($this) {
- return $this.nextValue_1;
- }
-
- function _set_nextIterator__j7bpxm($this, _set____db54di) {
- $this.nextIterator_1 = _set____db54di;
- }
-
- function _get_nextIterator__3nkzdi($this) {
- return $this.nextIterator_1;
- }
-
- function nextNotReady($this) {
- if (!$this.hasNext_bitz1p_k$())
- throw NoSuchElementException_init_$Create$();
- else
- return $this.next_20eer_k$();
- }
-
- function exceptionalState($this) {
- switch ($this.state_1) {
- case 4:
- return NoSuchElementException_init_$Create$();
- case 5:
- return IllegalStateException_init_$Create$_0('Iterator has failed.');
- default:
- return IllegalStateException_init_$Create$_0('Unexpected state of the iterator: ' + $this.state_1);
- }
- }
-
- function SequenceBuilderIterator() {
- SequenceScope.call(this);
- this.state_1 = 0;
- this.nextValue_1 = null;
- this.nextIterator_1 = null;
- this.nextStep_1 = null;
- }
-
- protoOf(SequenceBuilderIterator).set_nextStep_ro3sve_k$ = function (_set____db54di) {
- this.nextStep_1 = _set____db54di;
- };
- protoOf(SequenceBuilderIterator).get_nextStep_88wb88_k$ = function () {
- return this.nextStep_1;
- };
- protoOf(SequenceBuilderIterator).hasNext_bitz1p_k$ = function () {
- while (true) {
- switch (this.state_1) {
- case 0:
- break;
- case 1:
- if (ensureNotNull(this.nextIterator_1).hasNext_bitz1p_k$()) {
- this.state_1 = 2;
- return true;
- } else {
- this.nextIterator_1 = null;
- }
-
- break;
- case 4:
- return false;
- case 3:
- case 2:
- return true;
- default:
- throw exceptionalState(this);
- }
- this.state_1 = 5;
- var step = ensureNotNull(this.nextStep_1);
- this.nextStep_1 = null;
- // Inline function 'kotlin.coroutines.resume' call
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance_16();
- var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_getInstance());
- step.resumeWith_dtxwbr_k$(tmp$ret$0);
- }
- };
- protoOf(SequenceBuilderIterator).next_20eer_k$ = function () {
- switch (this.state_1) {
- case 0:
- case 1:
- return nextNotReady(this);
- case 2:
- this.state_1 = 1;
- return ensureNotNull(this.nextIterator_1).next_20eer_k$();
- case 3:
- this.state_1 = 0;
- var tmp = this.nextValue_1;
- var result = (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
- this.nextValue_1 = null;
- return result;
- default:
- throw exceptionalState(this);
- }
- };
- protoOf(SequenceBuilderIterator).yield_3xhcex_k$ = function (value, $completion) {
- this.nextValue_1 = value;
- this.state_1 = 3;
- // Inline function 'kotlin.sequences.SequenceBuilderIterator.yield.' call
- this.nextStep_1 = $completion;
- return get_COROUTINE_SUSPENDED();
- };
- protoOf(SequenceBuilderIterator).yieldAll_qmzpcf_k$ = function (iterator, $completion) {
- if (!iterator.hasNext_bitz1p_k$())
- return Unit_getInstance();
- this.nextIterator_1 = iterator;
- this.state_1 = 2;
- // Inline function 'kotlin.sequences.SequenceBuilderIterator.yieldAll.' call
- this.nextStep_1 = $completion;
- return get_COROUTINE_SUSPENDED();
- };
- protoOf(SequenceBuilderIterator).resumeWith_n4kc79_k$ = function (result) {
- // Inline function 'kotlin.getOrThrow' call
- throwOnFailure(result);
- var tmp = _Result___get_value__impl__bjfvqg(result);
- (tmp == null ? true : !(tmp == null)) || THROW_CCE();
- this.state_1 = 4;
- };
- protoOf(SequenceBuilderIterator).resumeWith_dtxwbr_k$ = function (result) {
- return this.resumeWith_n4kc79_k$(result);
- };
- protoOf(SequenceBuilderIterator).get_context_h02k06_k$ = function () {
- return EmptyCoroutineContext_getInstance();
- };
-
- function get_State_NotReady() {
- return State_NotReady;
- }
-
- var State_NotReady;
-
- function get_State_ManyNotReady() {
- return State_ManyNotReady;
- }
-
- var State_ManyNotReady;
-
- function get_State_ManyReady() {
- return State_ManyReady;
- }
-
- var State_ManyReady;
-
- function get_State_Done() {
- return State_Done;
- }
-
- var State_Done;
-
- function get_State_Ready() {
- return State_Ready;
- }
-
- var State_Ready;
-
- function get_State_Failed() {
- return State_Failed;
- }
-
- var State_Failed;
-
- function _no_name_provided__qut3iv_3($block) {
- this.$block_1 = $block;
- }
-
- protoOf(_no_name_provided__qut3iv_3).iterator_jk1svi_k$ = function () {
- // Inline function 'kotlin.sequences.sequence.' call
- return iterator_0(this.$block_1);
- };
-
- function _get_sequence__636p7u($this) {
- return $this.sequence_1;
- }
-
- function _get_transformer__3cg414($this) {
- return $this.transformer_1;
- }
-
- function TransformingSequence$iterator$1(this$0) {
- this.this$0__1 = this$0;
- this.iterator_1 = this$0.sequence_1.iterator_jk1svi_k$();
- }
-
- protoOf(TransformingSequence$iterator$1).get_iterator_c8vxs9_k$ = function () {
- return this.iterator_1;
- };
- protoOf(TransformingSequence$iterator$1).next_20eer_k$ = function () {
- return this.this$0__1.transformer_1(this.iterator_1.next_20eer_k$());
- };
- protoOf(TransformingSequence$iterator$1).hasNext_bitz1p_k$ = function () {
- return this.iterator_1.hasNext_bitz1p_k$();
- };
-
- function TransformingSequence(sequence, transformer) {
- this.sequence_1 = sequence;
- this.transformer_1 = transformer;
- }
-
- protoOf(TransformingSequence).iterator_jk1svi_k$ = function () {
- return new TransformingSequence$iterator$1(this);
- };
- protoOf(TransformingSequence).flatten_k9oolb_k$ = function (iterator) {
- return new FlatteningSequence(this.sequence_1, this.transformer_1, iterator);
- };
-
- function ensureItemIterator($this) {
- var tmp0_safe_receiver = $this.itemIterator_1;
- if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.hasNext_bitz1p_k$()) === false)
- $this.itemIterator_1 = null;
- while ($this.itemIterator_1 == null) {
- if (!$this.iterator_1.hasNext_bitz1p_k$()) {
- return false;
- } else {
- var element = $this.iterator_1.next_20eer_k$();
- var nextItemIterator = $this.this$0__1.iterator_1($this.this$0__1.transformer_1(element));
- if (nextItemIterator.hasNext_bitz1p_k$()) {
- $this.itemIterator_1 = nextItemIterator;
- return true;
- }
- }
- }
- return true;
- }
-
- function _get_sequence__636p7u_0($this) {
- return $this.sequence_1;
- }
-
- function _get_transformer__3cg414_0($this) {
- return $this.transformer_1;
- }
-
- function _get_iterator__8i7rvn($this) {
- return $this.iterator_1;
- }
-
- function FlatteningSequence$iterator$1(this$0) {
- this.this$0__1 = this$0;
- this.iterator_1 = this$0.sequence_1.iterator_jk1svi_k$();
- this.itemIterator_1 = null;
- }
-
- protoOf(FlatteningSequence$iterator$1).get_iterator_c8vxs9_k$ = function () {
- return this.iterator_1;
- };
- protoOf(FlatteningSequence$iterator$1).set_itemIterator_rejyxk_k$ = function (_set____db54di) {
- this.itemIterator_1 = _set____db54di;
- };
- protoOf(FlatteningSequence$iterator$1).get_itemIterator_yhrkru_k$ = function () {
- return this.itemIterator_1;
- };
- protoOf(FlatteningSequence$iterator$1).next_20eer_k$ = function () {
- if (!ensureItemIterator(this))
- throw NoSuchElementException_init_$Create$();
- return ensureNotNull(this.itemIterator_1).next_20eer_k$();
- };
- protoOf(FlatteningSequence$iterator$1).hasNext_bitz1p_k$ = function () {
- return ensureItemIterator(this);
- };
-
- function FlatteningSequence(sequence, transformer, iterator) {
- this.sequence_1 = sequence;
- this.transformer_1 = transformer;
- this.iterator_1 = iterator;
- }
-
- protoOf(FlatteningSequence).iterator_jk1svi_k$ = function () {
- return new FlatteningSequence$iterator$1(this);
- };
-
- function generateSequence(seedFunction, nextFunction) {
- return new GeneratorSequence(seedFunction, nextFunction);
- }
-
- function Sequence_0(iterator) {
- return new _no_name_provided__qut3iv_4(iterator);
- }
-
- function calcNext($this) {
- $this.nextItem_1 = $this.nextState_1 === -2 ? $this.this$0__1.getInitialValue_1() : $this.this$0__1.getNextValue_1(ensureNotNull($this.nextItem_1));
- $this.nextState_1 = $this.nextItem_1 == null ? 0 : 1;
- }
-
- function _get_getInitialValue__ig3asu($this) {
- return $this.getInitialValue_1;
- }
-
- function _get_getNextValue__t04u2l($this) {
- return $this.getNextValue_1;
- }
-
- function GeneratorSequence$iterator$1(this$0) {
- this.this$0__1 = this$0;
- this.nextItem_1 = null;
- this.nextState_1 = -2;
- }
-
- protoOf(GeneratorSequence$iterator$1).set_nextItem_40duk4_k$ = function (_set____db54di) {
- this.nextItem_1 = _set____db54di;
- };
- protoOf(GeneratorSequence$iterator$1).get_nextItem_892p3l_k$ = function () {
- return this.nextItem_1;
- };
- protoOf(GeneratorSequence$iterator$1).set_nextState_916f1j_k$ = function (_set____db54di) {
- this.nextState_1 = _set____db54di;
- };
- protoOf(GeneratorSequence$iterator$1).get_nextState_sgmh11_k$ = function () {
- return this.nextState_1;
- };
- protoOf(GeneratorSequence$iterator$1).next_20eer_k$ = function () {
- if (this.nextState_1 < 0) {
- calcNext(this);
- }
- if (this.nextState_1 === 0)
- throw NoSuchElementException_init_$Create$();
- var tmp = this.nextItem_1;
- var result = !(tmp == null) ? tmp : THROW_CCE();
- this.nextState_1 = -1;
- return result;
- };
- protoOf(GeneratorSequence$iterator$1).hasNext_bitz1p_k$ = function () {
- if (this.nextState_1 < 0) {
- calcNext(this);
- }
- return this.nextState_1 === 1;
- };
-
- function GeneratorSequence(getInitialValue, getNextValue) {
- this.getInitialValue_1 = getInitialValue;
- this.getNextValue_1 = getNextValue;
- }
-
- protoOf(GeneratorSequence).iterator_jk1svi_k$ = function () {
- return new GeneratorSequence$iterator$1(this);
- };
-
- function emptySequence() {
- return EmptySequence_getInstance();
- }
-
- function DropTakeSequence() {
- }
-
- function _get_sequence__636p7u_1($this) {
- return $this.sequence_1;
- }
-
- function _get_count__iw3m8u($this) {
- return $this.count_1;
- }
-
- function TakeSequence$iterator$1(this$0) {
- this.left_1 = this$0.count_1;
- this.iterator_1 = this$0.sequence_1.iterator_jk1svi_k$();
- }
-
- protoOf(TakeSequence$iterator$1).set_left_48a6v8_k$ = function (_set____db54di) {
- this.left_1 = _set____db54di;
- };
- protoOf(TakeSequence$iterator$1).get_left_woprgw_k$ = function () {
- return this.left_1;
- };
- protoOf(TakeSequence$iterator$1).get_iterator_c8vxs9_k$ = function () {
- return this.iterator_1;
- };
- protoOf(TakeSequence$iterator$1).next_20eer_k$ = function () {
- if (this.left_1 === 0)
- throw NoSuchElementException_init_$Create$();
- this.left_1 = this.left_1 - 1 | 0;
- return this.iterator_1.next_20eer_k$();
- };
- protoOf(TakeSequence$iterator$1).hasNext_bitz1p_k$ = function () {
- return this.left_1 > 0 ? this.iterator_1.hasNext_bitz1p_k$() : false;
- };
-
- function TakeSequence(sequence, count) {
- this.sequence_1 = sequence;
- this.count_1 = count;
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(this.count_1 >= 0)) {
- // Inline function 'kotlin.sequences.TakeSequence.' call
- var message = 'count must be non-negative, but was ' + this.count_1 + '.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- }
-
- protoOf(TakeSequence).drop_9sfyif_k$ = function (n) {
- return n >= this.count_1 ? emptySequence() : new SubSequence(this.sequence_1, n, this.count_1);
- };
- protoOf(TakeSequence).take_6gva4v_k$ = function (n) {
- return n >= this.count_1 ? this : new TakeSequence(this.sequence_1, n);
- };
- protoOf(TakeSequence).iterator_jk1svi_k$ = function () {
- return new TakeSequence$iterator$1(this);
- };
-
- function EmptySequence() {
- EmptySequence_instance = this;
- }
-
- protoOf(EmptySequence).iterator_jk1svi_k$ = function () {
- return EmptyIterator_getInstance();
- };
- protoOf(EmptySequence).drop_9sfyif_k$ = function (n) {
- return EmptySequence_getInstance();
- };
- protoOf(EmptySequence).take_6gva4v_k$ = function (n) {
- return EmptySequence_getInstance();
- };
- var EmptySequence_instance;
-
- function EmptySequence_getInstance() {
- if (EmptySequence_instance == null)
- new EmptySequence();
- return EmptySequence_instance;
- }
-
- function drop_0($this) {
- while ($this.position_1 < $this.this$0__1.startIndex_1 ? $this.iterator_1.hasNext_bitz1p_k$() : false) {
- $this.iterator_1.next_20eer_k$();
- $this.position_1 = $this.position_1 + 1 | 0;
- }
- }
-
- function _get_sequence__636p7u_2($this) {
- return $this.sequence_1;
- }
-
- function _get_startIndex__44zw1n($this) {
- return $this.startIndex_1;
- }
-
- function _get_endIndex__oqscuk($this) {
- return $this.endIndex_1;
- }
-
- function _get_count__iw3m8u_0($this) {
- return $this.endIndex_1 - $this.startIndex_1 | 0;
- }
-
- function SubSequence$iterator$1(this$0) {
- this.this$0__1 = this$0;
- this.iterator_1 = this$0.sequence_1.iterator_jk1svi_k$();
- this.position_1 = 0;
- }
-
- protoOf(SubSequence$iterator$1).get_iterator_c8vxs9_k$ = function () {
- return this.iterator_1;
- };
- protoOf(SubSequence$iterator$1).set_position_h4ktwi_k$ = function (_set____db54di) {
- this.position_1 = _set____db54di;
- };
- protoOf(SubSequence$iterator$1).get_position_jfponi_k$ = function () {
- return this.position_1;
- };
- protoOf(SubSequence$iterator$1).hasNext_bitz1p_k$ = function () {
- drop_0(this);
- return this.position_1 < this.this$0__1.endIndex_1 ? this.iterator_1.hasNext_bitz1p_k$() : false;
- };
- protoOf(SubSequence$iterator$1).next_20eer_k$ = function () {
- drop_0(this);
- if (this.position_1 >= this.this$0__1.endIndex_1)
- throw NoSuchElementException_init_$Create$();
- this.position_1 = this.position_1 + 1 | 0;
- return this.iterator_1.next_20eer_k$();
- };
-
- function SubSequence(sequence, startIndex, endIndex) {
- this.sequence_1 = sequence;
- this.startIndex_1 = startIndex;
- this.endIndex_1 = endIndex;
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(this.startIndex_1 >= 0)) {
- // Inline function 'kotlin.sequences.SubSequence.' call
- var message = 'startIndex should be non-negative, but is ' + this.startIndex_1;
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(this.endIndex_1 >= 0)) {
- // Inline function 'kotlin.sequences.SubSequence.' call
- var message_0 = 'endIndex should be non-negative, but is ' + this.endIndex_1;
- throw IllegalArgumentException_init_$Create$_0(toString_1(message_0));
- }
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(this.endIndex_1 >= this.startIndex_1)) {
- // Inline function 'kotlin.sequences.SubSequence.' call
- var message_1 = 'endIndex should be not less than startIndex, but was ' + this.endIndex_1 + ' < ' + this.startIndex_1;
- throw IllegalArgumentException_init_$Create$_0(toString_1(message_1));
- }
- }
-
- protoOf(SubSequence).drop_9sfyif_k$ = function (n) {
- return n >= _get_count__iw3m8u_0(this) ? emptySequence() : new SubSequence(this.sequence_1, this.startIndex_1 + n | 0, this.endIndex_1);
- };
- protoOf(SubSequence).take_6gva4v_k$ = function (n) {
- return n >= _get_count__iw3m8u_0(this) ? this : new SubSequence(this.sequence_1, this.startIndex_1, this.startIndex_1 + n | 0);
- };
- protoOf(SubSequence).iterator_jk1svi_k$ = function () {
- return new SubSequence$iterator$1(this);
- };
-
- function _no_name_provided__qut3iv_4($iterator) {
- this.$iterator_1 = $iterator;
- }
-
- protoOf(_no_name_provided__qut3iv_4).iterator_jk1svi_k$ = function () {
- return this.$iterator_1();
- };
-
- function _get_serialVersionUID__fhggm9_1($this) {
- return $this.serialVersionUID_1;
- }
-
- function readResolve_1($this) {
- return EmptySet_getInstance();
- }
-
- function EmptySet() {
- EmptySet_instance = this;
- this.serialVersionUID_1 = new Long(1993859828, 793161749);
- }
-
- protoOf(EmptySet).equals = function (other) {
- var tmp;
- if (!(other == null) ? isInterface(other, Set) : false) {
- tmp = other.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(EmptySet).hashCode = function () {
- return 0;
- };
- protoOf(EmptySet).toString = function () {
- return '[]';
- };
- protoOf(EmptySet).get_size_woubt6_k$ = function () {
- return 0;
- };
- protoOf(EmptySet).isEmpty_y1axqb_k$ = function () {
- return true;
- };
- protoOf(EmptySet).contains_a7ux40_k$ = function (element) {
- return false;
- };
- protoOf(EmptySet).contains_aljjnj_k$ = function (element) {
- if (!false)
- return false;
- var tmp;
- if (false) {
- tmp = element;
- } else {
- tmp = THROW_CCE();
- }
- return this.contains_a7ux40_k$(tmp);
- };
- protoOf(EmptySet).containsAll_g2avn8_k$ = function (elements) {
- return elements.isEmpty_y1axqb_k$();
- };
- protoOf(EmptySet).containsAll_xk45sd_k$ = function (elements) {
- return this.containsAll_g2avn8_k$(elements);
- };
- protoOf(EmptySet).iterator_jk1svi_k$ = function () {
- return EmptyIterator_getInstance();
- };
- var EmptySet_instance;
-
- function EmptySet_getInstance() {
- if (EmptySet_instance == null)
- new EmptySet();
- return EmptySet_instance;
- }
-
- function emptySet() {
- return EmptySet_getInstance();
- }
-
- function optimizeReadOnlySet(_this__u8e3s4) {
- switch (_this__u8e3s4.get_size_woubt6_k$()) {
- case 0:
- return emptySet();
- case 1:
- return setOf(_this__u8e3s4.iterator_jk1svi_k$().next_20eer_k$());
- default:
- return _this__u8e3s4;
- }
- }
-
- function hashSetOf(elements) {
- return toCollection(elements, HashSet_init_$Create$_3(mapCapacity(elements.length)));
- }
-
- function compareBy(selector) {
- var tmp = compareBy$lambda(selector);
- return new sam$kotlin_Comparator$0_1(tmp);
- }
-
- function compareValuesBy(a, b, selector) {
- return compareValues(selector(a), selector(b));
- }
-
- function compareValues(a, b) {
- if (a === b)
- return 0;
- if (a == null)
- return -1;
- if (b == null)
- return 1;
- return compareTo((!(a == null) ? isComparable(a) : false) ? a : THROW_CCE(), b);
- }
-
- function sam$kotlin_Comparator$0_1(function_0) {
- this.function_1 = function_0;
- }
-
- protoOf(sam$kotlin_Comparator$0_1).compare_bczr_k$ = function (a, b) {
- return this.function_1(a, b);
- };
- protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
- return this.compare_bczr_k$(a, b);
- };
-
- function compareBy$lambda($selector) {
- return function (a, b) {
- // Inline function 'kotlin.comparisons.compareValuesBy' call
- return compareValues($selector(a), $selector(b));
- };
- }
-
- function contract(builder) {
- }
-
- function ContractBuilder() {
- }
-
- var InvocationKind_AT_MOST_ONCE_instance;
- var InvocationKind_AT_LEAST_ONCE_instance;
- var InvocationKind_EXACTLY_ONCE_instance;
- var InvocationKind_UNKNOWN_instance;
-
- function values_4() {
- return [InvocationKind_AT_MOST_ONCE_getInstance(), InvocationKind_AT_LEAST_ONCE_getInstance(), InvocationKind_EXACTLY_ONCE_getInstance(), InvocationKind_UNKNOWN_getInstance()];
- }
-
- function valueOf_4(value) {
- switch (value) {
- case 'AT_MOST_ONCE':
- return InvocationKind_AT_MOST_ONCE_getInstance();
- case 'AT_LEAST_ONCE':
- return InvocationKind_AT_LEAST_ONCE_getInstance();
- case 'EXACTLY_ONCE':
- return InvocationKind_EXACTLY_ONCE_getInstance();
- case 'UNKNOWN':
- return InvocationKind_UNKNOWN_getInstance();
- default:
- InvocationKind_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries_4() {
- if ($ENTRIES_4 == null)
- $ENTRIES_4 = enumEntries(values_4());
- return $ENTRIES_4;
- }
-
- var InvocationKind_entriesInitialized;
-
- function InvocationKind_initEntries() {
- if (InvocationKind_entriesInitialized)
- return Unit_getInstance();
- InvocationKind_entriesInitialized = true;
- InvocationKind_AT_MOST_ONCE_instance = new InvocationKind('AT_MOST_ONCE', 0);
- InvocationKind_AT_LEAST_ONCE_instance = new InvocationKind('AT_LEAST_ONCE', 1);
- InvocationKind_EXACTLY_ONCE_instance = new InvocationKind('EXACTLY_ONCE', 2);
- InvocationKind_UNKNOWN_instance = new InvocationKind('UNKNOWN', 3);
- }
-
- var $ENTRIES_4;
-
- function InvocationKind(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- function ExperimentalContracts() {
- }
-
- protoOf(ExperimentalContracts).equals = function (other) {
- if (!(other instanceof ExperimentalContracts))
- return false;
- other instanceof ExperimentalContracts || THROW_CCE();
- return true;
- };
- protoOf(ExperimentalContracts).hashCode = function () {
- return 0;
- };
- protoOf(ExperimentalContracts).toString = function () {
- return '@kotlin.contracts.ExperimentalContracts()';
- };
-
- function InvocationKind_AT_MOST_ONCE_getInstance() {
- InvocationKind_initEntries();
- return InvocationKind_AT_MOST_ONCE_instance;
- }
-
- function InvocationKind_AT_LEAST_ONCE_getInstance() {
- InvocationKind_initEntries();
- return InvocationKind_AT_LEAST_ONCE_instance;
- }
-
- function InvocationKind_EXACTLY_ONCE_getInstance() {
- InvocationKind_initEntries();
- return InvocationKind_EXACTLY_ONCE_instance;
- }
-
- function InvocationKind_UNKNOWN_getInstance() {
- InvocationKind_initEntries();
- return InvocationKind_UNKNOWN_instance;
- }
-
- function ConditionalEffect() {
- }
-
- function Returns() {
- }
-
- function CallsInPlace() {
- }
-
- function ReturnsNotNull() {
- }
-
- function Effect() {
- }
-
- function SimpleEffect() {
- }
-
- function Continuation() {
- }
-
- function Continuation_0(context, resumeWith) {
- return new _no_name_provided__qut3iv_5(context, resumeWith);
- }
-
- function RestrictsSuspension() {
- }
-
- protoOf(RestrictsSuspension).equals = function (other) {
- if (!(other instanceof RestrictsSuspension))
- return false;
- other instanceof RestrictsSuspension || THROW_CCE();
- return true;
- };
- protoOf(RestrictsSuspension).hashCode = function () {
- return 0;
- };
- protoOf(RestrictsSuspension).toString = function () {
- return '@kotlin.coroutines.RestrictsSuspension()';
- };
-
- function resume(_this__u8e3s4, value) {
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance_16();
- var tmp$ret$0 = _Result___init__impl__xyqfz8(value);
- return _this__u8e3s4.resumeWith_dtxwbr_k$(tmp$ret$0);
- }
-
- function resumeWithException(_this__u8e3s4, exception) {
- // Inline function 'kotlin.Companion.failure' call
- Companion_getInstance_16();
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
- return _this__u8e3s4.resumeWith_dtxwbr_k$(tmp$ret$0);
- }
-
- function get_coroutineContext() {
- throw new NotImplementedError('Implemented as intrinsic');
- }
-
- function _no_name_provided__qut3iv_5($context, $resumeWith) {
- this.$context_1 = $context;
- this.$resumeWith_1 = $resumeWith;
- }
-
- protoOf(_no_name_provided__qut3iv_5).get_context_h02k06_k$ = function () {
- return this.$context_1;
- };
- protoOf(_no_name_provided__qut3iv_5).resumeWith_dtxwbr_k$ = function (result) {
- return this.$resumeWith_1(new Result(result));
- };
-
- function Key() {
- Key_instance = this;
- }
-
- var Key_instance;
-
- function Key_getInstance() {
- if (Key_instance == null)
- new Key();
- return Key_instance;
- }
-
- function ContinuationInterceptor() {
- }
-
- function Key_0() {
- }
-
- function Element() {
- }
-
- function CoroutineContext$plus$lambda(acc, element) {
- var removed = acc.minusKey_9i5ggf_k$(element.get_key_18j28a_k$());
- var tmp;
- if (removed === EmptyCoroutineContext_getInstance()) {
- tmp = element;
- } else {
- var interceptor = removed.get_y2st91_k$(Key_getInstance());
- var tmp_0;
- if (interceptor == null) {
- tmp_0 = new CombinedContext(removed, element);
- } else {
- var left = removed.minusKey_9i5ggf_k$(Key_getInstance());
- tmp_0 = left === EmptyCoroutineContext_getInstance() ? new CombinedContext(element, interceptor) : new CombinedContext(new CombinedContext(left, element), interceptor);
- }
- tmp = tmp_0;
- }
- return tmp;
- }
-
- function CoroutineContext() {
- }
-
- function _get_serialVersionUID__fhggm9_2($this) {
- return $this.serialVersionUID_1;
- }
-
- function readResolve_2($this) {
- return EmptyCoroutineContext_getInstance();
- }
-
- function EmptyCoroutineContext() {
- EmptyCoroutineContext_instance = this;
- this.serialVersionUID_1 = new Long(0, 0);
- }
-
- protoOf(EmptyCoroutineContext).get_y2st91_k$ = function (key) {
- return null;
- };
- protoOf(EmptyCoroutineContext).fold_j2vaxd_k$ = function (initial, operation) {
- return initial;
- };
- protoOf(EmptyCoroutineContext).plus_s13ygv_k$ = function (context) {
- return context;
- };
- protoOf(EmptyCoroutineContext).minusKey_9i5ggf_k$ = function (key) {
- return this;
- };
- protoOf(EmptyCoroutineContext).hashCode = function () {
- return 0;
- };
- protoOf(EmptyCoroutineContext).toString = function () {
- return 'EmptyCoroutineContext';
- };
- var EmptyCoroutineContext_instance;
-
- function EmptyCoroutineContext_getInstance() {
- if (EmptyCoroutineContext_instance == null)
- new EmptyCoroutineContext();
- return EmptyCoroutineContext_instance;
- }
-
- function _get_serialVersionUID__fhggm9_3($this) {
- return $this.serialVersionUID_1;
- }
-
- function Companion_8() {
- Companion_instance_8 = this;
- this.serialVersionUID_1 = new Long(0, 0);
- }
-
- var Companion_instance_8;
-
- function Companion_getInstance_8() {
- if (Companion_instance_8 == null)
- new Companion_8();
- return Companion_instance_8;
- }
-
- function readResolve_3($this) {
- // Inline function 'kotlin.collections.fold' call
- var this_0 = $this.elements_1;
- var accumulator = EmptyCoroutineContext_getInstance();
- var inductionVariable = 0;
- var last = this_0.length;
- while (inductionVariable < last) {
- var element = this_0[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- accumulator = accumulator.plus_s13ygv_k$(element);
- }
- return accumulator;
- }
-
- function _get_left__d9qyp0($this) {
- return $this.left_1;
- }
-
- function _get_element__z0t21h($this) {
- return $this.element_1;
- }
-
- function size($this) {
- var cur = $this;
- var size = 2;
- while (true) {
- var tmp = cur.left_1;
- var tmp0_elvis_lhs = tmp instanceof CombinedContext ? tmp : null;
- var tmp_0;
- if (tmp0_elvis_lhs == null) {
- return size;
- } else {
- tmp_0 = tmp0_elvis_lhs;
- }
- cur = tmp_0;
- size = size + 1 | 0;
- }
- }
-
- function contains_7($this, element) {
- return equals($this.get_y2st91_k$(element.get_key_18j28a_k$()), element);
- }
-
- function containsAll_0($this, context) {
- var cur = context;
- while (true) {
- if (!contains_7($this, cur.element_1))
- return false;
- var next = cur.left_1;
- if (next instanceof CombinedContext) {
- cur = next;
- } else {
- return contains_7($this, isInterface(next, Element) ? next : THROW_CCE());
- }
- }
- }
-
- function writeReplace($this) {
- var n = size($this);
- // Inline function 'kotlin.arrayOfNulls' call
- var elements = fillArrayVal(Array(n), null);
- var index = {_v: 0};
- $this.fold_j2vaxd_k$(Unit_getInstance(), CombinedContext$writeReplace$lambda(elements, index));
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(index._v === n)) {
- // Inline function 'kotlin.check.' call
- var message = 'Check failed.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- return new Serialized(isArray(elements) ? elements : THROW_CCE());
- }
-
- function Serialized(elements) {
- Companion_getInstance_8();
- this.elements_1 = elements;
- }
-
- protoOf(Serialized).get_elements_vxwh8g_k$ = function () {
- return this.elements_1;
- };
-
- function CombinedContext$toString$lambda(acc, element) {
- var tmp;
- // Inline function 'kotlin.text.isEmpty' call
- if (charSequenceLength(acc) === 0) {
- tmp = toString_1(element);
- } else {
- tmp = acc + ', ' + element;
- }
- return tmp;
- }
-
- function CombinedContext$writeReplace$lambda($elements, $index) {
- return function (_anonymous_parameter_0__qggqh8, element) {
- var tmp0 = $index._v;
- $index._v = tmp0 + 1 | 0;
- $elements[tmp0] = element;
- return Unit_getInstance();
- };
- }
-
- function CombinedContext(left, element) {
- this.left_1 = left;
- this.element_1 = element;
- }
-
- protoOf(CombinedContext).get_y2st91_k$ = function (key) {
- var cur = this;
- while (true) {
- var tmp0_safe_receiver = cur.element_1.get_y2st91_k$(key);
- if (tmp0_safe_receiver == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- return tmp0_safe_receiver;
- }
- var next = cur.left_1;
- if (next instanceof CombinedContext) {
- cur = next;
- } else {
- return next.get_y2st91_k$(key);
- }
- }
- };
- protoOf(CombinedContext).fold_j2vaxd_k$ = function (initial, operation) {
- return operation(this.left_1.fold_j2vaxd_k$(initial, operation), this.element_1);
- };
- protoOf(CombinedContext).minusKey_9i5ggf_k$ = function (key) {
- if (this.element_1.get_y2st91_k$(key) == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- return this.left_1;
- }
- var newLeft = this.left_1.minusKey_9i5ggf_k$(key);
- return newLeft === this.left_1 ? this : newLeft === EmptyCoroutineContext_getInstance() ? this.element_1 : new CombinedContext(newLeft, this.element_1);
- };
- protoOf(CombinedContext).equals = function (other) {
- var tmp;
- if (this === other) {
- tmp = true;
- } else {
- var tmp_0;
- var tmp_1;
- if (other instanceof CombinedContext) {
- tmp_1 = size(other) === size(this);
- } else {
- tmp_1 = false;
- }
- if (tmp_1) {
- tmp_0 = containsAll_0(other, this);
- } else {
- tmp_0 = false;
- }
- tmp = tmp_0;
- }
- return tmp;
- };
- protoOf(CombinedContext).hashCode = function () {
- return hashCode(this.left_1) + hashCode(this.element_1) | 0;
- };
- protoOf(CombinedContext).toString = function () {
- return '[' + this.fold_j2vaxd_k$('', CombinedContext$toString$lambda) + ']';
- };
-
- function _get_safeCast__5d4zbz($this) {
- return $this.safeCast_1;
- }
-
- function _get_topmostKey__fyvvjw($this) {
- return $this.topmostKey_1;
- }
-
- function AbstractCoroutineContextKey(baseKey, safeCast) {
- this.safeCast_1 = safeCast;
- var tmp = this;
- var tmp_0;
- if (baseKey instanceof AbstractCoroutineContextKey) {
- tmp_0 = baseKey.topmostKey_1;
- } else {
- tmp_0 = baseKey;
- }
- tmp.topmostKey_1 = tmp_0;
- }
-
- protoOf(AbstractCoroutineContextKey).tryCast_mbga6n_k$ = function (element) {
- return this.safeCast_1(element);
- };
- protoOf(AbstractCoroutineContextKey).isSubKey_4za1qh_k$ = function (key) {
- return key === this ? true : this.topmostKey_1 === key;
- };
-
- function get_COROUTINE_SUSPENDED() {
- return CoroutineSingletons_COROUTINE_SUSPENDED_getInstance();
- }
-
- var CoroutineSingletons_COROUTINE_SUSPENDED_instance;
- var CoroutineSingletons_UNDECIDED_instance;
- var CoroutineSingletons_RESUMED_instance;
-
- function values_5() {
- return [CoroutineSingletons_COROUTINE_SUSPENDED_getInstance(), CoroutineSingletons_UNDECIDED_getInstance(), CoroutineSingletons_RESUMED_getInstance()];
- }
-
- function valueOf_5(value) {
- switch (value) {
- case 'COROUTINE_SUSPENDED':
- return CoroutineSingletons_COROUTINE_SUSPENDED_getInstance();
- case 'UNDECIDED':
- return CoroutineSingletons_UNDECIDED_getInstance();
- case 'RESUMED':
- return CoroutineSingletons_RESUMED_getInstance();
- default:
- CoroutineSingletons_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries_5() {
- if ($ENTRIES_5 == null)
- $ENTRIES_5 = enumEntries(values_5());
- return $ENTRIES_5;
- }
-
- var CoroutineSingletons_entriesInitialized;
-
- function CoroutineSingletons_initEntries() {
- if (CoroutineSingletons_entriesInitialized)
- return Unit_getInstance();
- CoroutineSingletons_entriesInitialized = true;
- CoroutineSingletons_COROUTINE_SUSPENDED_instance = new CoroutineSingletons('COROUTINE_SUSPENDED', 0);
- CoroutineSingletons_UNDECIDED_instance = new CoroutineSingletons('UNDECIDED', 1);
- CoroutineSingletons_RESUMED_instance = new CoroutineSingletons('RESUMED', 2);
- }
-
- var $ENTRIES_5;
-
- function CoroutineSingletons(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- function suspendCoroutineUninterceptedOrReturn(block, $completion) {
- // Inline function 'kotlin.contracts.contract' call
- throw new NotImplementedError('Implementation of suspendCoroutineUninterceptedOrReturn is intrinsic');
- }
-
- function CoroutineSingletons_COROUTINE_SUSPENDED_getInstance() {
- CoroutineSingletons_initEntries();
- return CoroutineSingletons_COROUTINE_SUSPENDED_instance;
- }
-
- function CoroutineSingletons_UNDECIDED_getInstance() {
- CoroutineSingletons_initEntries();
- return CoroutineSingletons_UNDECIDED_instance;
- }
-
- function CoroutineSingletons_RESUMED_getInstance() {
- CoroutineSingletons_initEntries();
- return CoroutineSingletons_RESUMED_instance;
- }
-
- function EnumEntries() {
- }
-
- function enumEntries(entries) {
- return new EnumEntriesList(entries);
- }
-
- function _get_entries__iz8n5($this) {
- return $this.entries_1;
- }
-
- function writeReplace_0($this) {
- return new EnumEntriesSerializationProxy($this.entries_1);
- }
-
- function EnumEntriesList(entries) {
- AbstractList.call(this);
- this.entries_1 = entries;
- }
-
- protoOf(EnumEntriesList).get_size_woubt6_k$ = function () {
- return this.entries_1.length;
- };
- protoOf(EnumEntriesList).get_c1px32_k$ = function (index) {
- Companion_getInstance_5().checkElementIndex_r3t1bm_k$(index, this.entries_1.length);
- return this.entries_1[index];
- };
- protoOf(EnumEntriesList).contains_qvgeh3_k$ = function (element) {
- if (element === null)
- return false;
- var target = getOrNull(this.entries_1, element.get_ordinal_ip24qg_k$());
- return target === element;
- };
- protoOf(EnumEntriesList).contains_aljjnj_k$ = function (element) {
- if (!(element instanceof Enum))
- return false;
- return this.contains_qvgeh3_k$(element instanceof Enum ? element : THROW_CCE());
- };
- protoOf(EnumEntriesList).indexOf_cbd19f_k$ = function (element) {
- if (element === null)
- return -1;
- var ordinal = element.get_ordinal_ip24qg_k$();
- var target = getOrNull(this.entries_1, ordinal);
- return target === element ? ordinal : -1;
- };
- protoOf(EnumEntriesList).indexOf_si1fv9_k$ = function (element) {
- if (!(element instanceof Enum))
- return -1;
- return this.indexOf_cbd19f_k$(element instanceof Enum ? element : THROW_CCE());
- };
- protoOf(EnumEntriesList).lastIndexOf_q19csz_k$ = function (element) {
- return this.indexOf_cbd19f_k$(element);
- };
- protoOf(EnumEntriesList).lastIndexOf_v2p1fv_k$ = function (element) {
- if (!(element instanceof Enum))
- return -1;
- return this.lastIndexOf_q19csz_k$(element instanceof Enum ? element : THROW_CCE());
- };
-
- function and(_this__u8e3s4, other) {
- return toShort(_this__u8e3s4 & other);
- }
-
- function or(_this__u8e3s4, other) {
- return toShort(_this__u8e3s4 | other);
- }
-
- function xor(_this__u8e3s4, other) {
- return toShort(_this__u8e3s4 ^ other);
- }
-
- function inv(_this__u8e3s4) {
- return toShort(~_this__u8e3s4);
- }
-
- function and_0(_this__u8e3s4, other) {
- return toByte(_this__u8e3s4 & other);
- }
-
- function or_0(_this__u8e3s4, other) {
- return toByte(_this__u8e3s4 | other);
- }
-
- function xor_0(_this__u8e3s4, other) {
- return toByte(_this__u8e3s4 ^ other);
- }
-
- function inv_0(_this__u8e3s4) {
- return toByte(~_this__u8e3s4);
- }
-
- function ExperimentalTypeInference() {
- }
-
- protoOf(ExperimentalTypeInference).equals = function (other) {
- if (!(other instanceof ExperimentalTypeInference))
- return false;
- other instanceof ExperimentalTypeInference || THROW_CCE();
- return true;
- };
- protoOf(ExperimentalTypeInference).hashCode = function () {
- return 0;
- };
- protoOf(ExperimentalTypeInference).toString = function () {
- return '@kotlin.experimental.ExperimentalTypeInference()';
- };
-
- function InlineOnly() {
- }
-
- protoOf(InlineOnly).equals = function (other) {
- if (!(other instanceof InlineOnly))
- return false;
- other instanceof InlineOnly || THROW_CCE();
- return true;
- };
- protoOf(InlineOnly).hashCode = function () {
- return 0;
- };
- protoOf(InlineOnly).toString = function () {
- return '@kotlin.internal.InlineOnly()';
- };
-
- function LowPriorityInOverloadResolution() {
- }
-
- protoOf(LowPriorityInOverloadResolution).equals = function (other) {
- if (!(other instanceof LowPriorityInOverloadResolution))
- return false;
- other instanceof LowPriorityInOverloadResolution || THROW_CCE();
- return true;
- };
- protoOf(LowPriorityInOverloadResolution).hashCode = function () {
- return 0;
- };
- protoOf(LowPriorityInOverloadResolution).toString = function () {
- return '@kotlin.internal.LowPriorityInOverloadResolution()';
- };
-
- function NoInfer() {
- }
-
- protoOf(NoInfer).equals = function (other) {
- if (!(other instanceof NoInfer))
- return false;
- other instanceof NoInfer || THROW_CCE();
- return true;
- };
- protoOf(NoInfer).hashCode = function () {
- return 0;
- };
- protoOf(NoInfer).toString = function () {
- return '@kotlin.internal.NoInfer()';
- };
-
- function DynamicExtension() {
- }
-
- protoOf(DynamicExtension).equals = function (other) {
- if (!(other instanceof DynamicExtension))
- return false;
- other instanceof DynamicExtension || THROW_CCE();
- return true;
- };
- protoOf(DynamicExtension).hashCode = function () {
- return 0;
- };
- protoOf(DynamicExtension).toString = function () {
- return '@kotlin.internal.DynamicExtension()';
- };
-
- function ContractsDsl() {
- }
-
- protoOf(ContractsDsl).equals = function (other) {
- if (!(other instanceof ContractsDsl))
- return false;
- other instanceof ContractsDsl || THROW_CCE();
- return true;
- };
- protoOf(ContractsDsl).hashCode = function () {
- return 0;
- };
- protoOf(ContractsDsl).toString = function () {
- return '@kotlin.internal.ContractsDsl()';
- };
-
- function HidesMembers() {
- }
-
- protoOf(HidesMembers).equals = function (other) {
- if (!(other instanceof HidesMembers))
- return false;
- other instanceof HidesMembers || THROW_CCE();
- return true;
- };
- protoOf(HidesMembers).hashCode = function () {
- return 0;
- };
- protoOf(HidesMembers).toString = function () {
- return '@kotlin.internal.HidesMembers()';
- };
-
- function OnlyInputTypes() {
- }
-
- protoOf(OnlyInputTypes).equals = function (other) {
- if (!(other instanceof OnlyInputTypes))
- return false;
- other instanceof OnlyInputTypes || THROW_CCE();
- return true;
- };
- protoOf(OnlyInputTypes).hashCode = function () {
- return 0;
- };
- protoOf(OnlyInputTypes).toString = function () {
- return '@kotlin.internal.OnlyInputTypes()';
- };
-
- function RequireKotlin(version, message, level, versionKind, errorCode) {
- message = message === VOID ? '' : message;
- level = level === VOID ? DeprecationLevel_ERROR_getInstance() : level;
- versionKind = versionKind === VOID ? RequireKotlinVersionKind_LANGUAGE_VERSION_getInstance() : versionKind;
- errorCode = errorCode === VOID ? -1 : errorCode;
- this.version_1 = version;
- this.message_1 = message;
- this.level_1 = level;
- this.versionKind_1 = versionKind;
- this.errorCode_1 = errorCode;
- }
-
- protoOf(RequireKotlin).get_version_72w4j3_k$ = function () {
- return this.version_1;
- };
- protoOf(RequireKotlin).get_message_h23axq_k$ = function () {
- return this.message_1;
- };
- protoOf(RequireKotlin).get_level_ium7h7_k$ = function () {
- return this.level_1;
- };
- protoOf(RequireKotlin).get_versionKind_pab57n_k$ = function () {
- return this.versionKind_1;
- };
- protoOf(RequireKotlin).get_errorCode_dyf6uk_k$ = function () {
- return this.errorCode_1;
- };
- protoOf(RequireKotlin).equals = function (other) {
- if (!(other instanceof RequireKotlin))
- return false;
- var tmp0_other_with_cast = other instanceof RequireKotlin ? other : THROW_CCE();
- if (!(this.version_1 === tmp0_other_with_cast.version_1))
- return false;
- if (!(this.message_1 === tmp0_other_with_cast.message_1))
- return false;
- if (!this.level_1.equals(tmp0_other_with_cast.level_1))
- return false;
- if (!this.versionKind_1.equals(tmp0_other_with_cast.versionKind_1))
- return false;
- if (!(this.errorCode_1 === tmp0_other_with_cast.errorCode_1))
- return false;
- return true;
- };
- protoOf(RequireKotlin).hashCode = function () {
- var result = imul(getStringHashCode('version'), 127) ^ getStringHashCode(this.version_1);
- result = result + (imul(getStringHashCode('message'), 127) ^ getStringHashCode(this.message_1)) | 0;
- result = result + (imul(getStringHashCode('level'), 127) ^ this.level_1.hashCode()) | 0;
- result = result + (imul(getStringHashCode('versionKind'), 127) ^ this.versionKind_1.hashCode()) | 0;
- result = result + (imul(getStringHashCode('errorCode'), 127) ^ this.errorCode_1) | 0;
- return result;
- };
- protoOf(RequireKotlin).toString = function () {
- return '@kotlin.internal.RequireKotlin(version=' + this.version_1 + ', message=' + this.message_1 + ', level=' + this.level_1 + ', versionKind=' + this.versionKind_1 + ', errorCode=' + this.errorCode_1 + ')';
- };
- var RequireKotlinVersionKind_LANGUAGE_VERSION_instance;
- var RequireKotlinVersionKind_COMPILER_VERSION_instance;
- var RequireKotlinVersionKind_API_VERSION_instance;
-
- function values_6() {
- return [RequireKotlinVersionKind_LANGUAGE_VERSION_getInstance(), RequireKotlinVersionKind_COMPILER_VERSION_getInstance(), RequireKotlinVersionKind_API_VERSION_getInstance()];
- }
-
- function valueOf_6(value) {
- switch (value) {
- case 'LANGUAGE_VERSION':
- return RequireKotlinVersionKind_LANGUAGE_VERSION_getInstance();
- case 'COMPILER_VERSION':
- return RequireKotlinVersionKind_COMPILER_VERSION_getInstance();
- case 'API_VERSION':
- return RequireKotlinVersionKind_API_VERSION_getInstance();
- default:
- RequireKotlinVersionKind_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries_6() {
- if ($ENTRIES_6 == null)
- $ENTRIES_6 = enumEntries(values_6());
- return $ENTRIES_6;
- }
-
- var RequireKotlinVersionKind_entriesInitialized;
-
- function RequireKotlinVersionKind_initEntries() {
- if (RequireKotlinVersionKind_entriesInitialized)
- return Unit_getInstance();
- RequireKotlinVersionKind_entriesInitialized = true;
- RequireKotlinVersionKind_LANGUAGE_VERSION_instance = new RequireKotlinVersionKind('LANGUAGE_VERSION', 0);
- RequireKotlinVersionKind_COMPILER_VERSION_instance = new RequireKotlinVersionKind('COMPILER_VERSION', 1);
- RequireKotlinVersionKind_API_VERSION_instance = new RequireKotlinVersionKind('API_VERSION', 2);
- }
-
- var $ENTRIES_6;
-
- function RequireKotlinVersionKind(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- function RequireKotlinVersionKind_LANGUAGE_VERSION_getInstance() {
- RequireKotlinVersionKind_initEntries();
- return RequireKotlinVersionKind_LANGUAGE_VERSION_instance;
- }
-
- function RequireKotlinVersionKind_COMPILER_VERSION_getInstance() {
- RequireKotlinVersionKind_initEntries();
- return RequireKotlinVersionKind_COMPILER_VERSION_instance;
- }
-
- function RequireKotlinVersionKind_API_VERSION_getInstance() {
- RequireKotlinVersionKind_initEntries();
- return RequireKotlinVersionKind_API_VERSION_instance;
- }
-
- function getProgressionLastElement(start, end, step) {
- var tmp;
- if (step > 0) {
- tmp = start >= end ? end : end - differenceModulo(end, start, step) | 0;
- } else if (step < 0) {
- tmp = start <= end ? end : end + differenceModulo(start, end, -step | 0) | 0;
- } else {
- throw IllegalArgumentException_init_$Create$_0('Step is zero.');
- }
- return tmp;
- }
-
- function getProgressionLastElement_0(start, end, step) {
- var tmp;
- if (step.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- tmp = start.compareTo_9jj042_k$(end) >= 0 ? end : end.minus_mfbszm_k$(differenceModulo_0(end, start, step));
- } else if (step.compareTo_9jj042_k$(new Long(0, 0)) < 0) {
- tmp = start.compareTo_9jj042_k$(end) <= 0 ? end : end.plus_r93sks_k$(differenceModulo_0(start, end, step.unaryMinus_6uz0qp_k$()));
- } else {
- throw IllegalArgumentException_init_$Create$_0('Step is zero.');
- }
- return tmp;
- }
-
- function differenceModulo(a, b, c) {
- return mod(mod(a, c) - mod(b, c) | 0, c);
- }
-
- function differenceModulo_0(a, b, c) {
- return mod_0(mod_0(a, c).minus_mfbszm_k$(mod_0(b, c)), c);
- }
-
- function mod(a, b) {
- var mod = a % b | 0;
- return mod >= 0 ? mod : mod + b | 0;
- }
-
- function mod_0(a, b) {
- var mod = a.rem_bsnl9o_k$(b);
- return mod.compareTo_9jj042_k$(new Long(0, 0)) >= 0 ? mod : mod.plus_r93sks_k$(b);
- }
-
- function get_base64EncodeMap() {
- _init_properties_Base64_kt__ymmsz3();
- return base64EncodeMap;
- }
-
- var base64EncodeMap;
-
- function get_base64DecodeMap() {
- _init_properties_Base64_kt__ymmsz3();
- return base64DecodeMap;
- }
-
- var base64DecodeMap;
-
- function get_base64UrlEncodeMap() {
- _init_properties_Base64_kt__ymmsz3();
- return base64UrlEncodeMap;
- }
-
- var base64UrlEncodeMap;
-
- function get_base64UrlDecodeMap() {
- _init_properties_Base64_kt__ymmsz3();
- return base64UrlDecodeMap;
- }
-
- var base64UrlDecodeMap;
-
- function _get_bitsPerByte__dvba0e($this) {
- return $this.bitsPerByte_1;
- }
-
- function _get_bitsPerSymbol__9sgpa6($this) {
- return $this.bitsPerSymbol_1;
- }
-
- function _get_mimeGroupsPerLine__le1g54($this) {
- return $this.mimeGroupsPerLine_1;
- }
-
- function encodeSize($this, sourceSize) {
- var groups = ((sourceSize + 3 | 0) - 1 | 0) / 3 | 0;
- var lineSeparators = $this.isMimeScheme_1 ? (groups - 1 | 0) / 19 | 0 : 0;
- var size = imul(groups, 4) + imul(lineSeparators, 2) | 0;
- if (size < 0) {
- throw IllegalArgumentException_init_$Create$_0('Input is too big');
- }
- return size;
- }
-
- function decodeImpl($this, source, destination, destinationOffset, startIndex, endIndex) {
- var decodeMap = $this.isUrlSafe_1 ? get_base64UrlDecodeMap() : get_base64DecodeMap();
- var payload = 0;
- var byteStart = -8;
- var sourceIndex = startIndex;
- var destinationIndex = destinationOffset;
- $l$loop_1: while (sourceIndex < endIndex) {
- if (byteStart === -8 ? (sourceIndex + 3 | 0) < endIndex : false) {
- var tmp0 = sourceIndex;
- sourceIndex = tmp0 + 1 | 0;
- var symbol1 = decodeMap[source[tmp0] & 255];
- var tmp1 = sourceIndex;
- sourceIndex = tmp1 + 1 | 0;
- var symbol2 = decodeMap[source[tmp1] & 255];
- var tmp2 = sourceIndex;
- sourceIndex = tmp2 + 1 | 0;
- var symbol3 = decodeMap[source[tmp2] & 255];
- var tmp3 = sourceIndex;
- sourceIndex = tmp3 + 1 | 0;
- var symbol4 = decodeMap[source[tmp3] & 255];
- var bits = symbol1 << 18 | symbol2 << 12 | symbol3 << 6 | symbol4;
- if (bits >= 0) {
- var tmp4 = destinationIndex;
- destinationIndex = tmp4 + 1 | 0;
- destination[tmp4] = toByte(bits >> 16);
- var tmp5 = destinationIndex;
- destinationIndex = tmp5 + 1 | 0;
- destination[tmp5] = toByte(bits >> 8);
- var tmp6 = destinationIndex;
- destinationIndex = tmp6 + 1 | 0;
- destination[tmp6] = toByte(bits);
- continue $l$loop_1;
- }
- sourceIndex = sourceIndex - 4 | 0;
- }
- var symbol = source[sourceIndex] & 255;
- var symbolBits = decodeMap[symbol];
- if (symbolBits < 0) {
- if (symbolBits === -2) {
- sourceIndex = handlePaddingSymbol($this, source, sourceIndex, endIndex, byteStart);
- break $l$loop_1;
- } else if ($this.isMimeScheme_1) {
- sourceIndex = sourceIndex + 1 | 0;
- continue $l$loop_1;
- } else {
- throw IllegalArgumentException_init_$Create$_0("Invalid symbol '" + toString(numberToChar(symbol)) + "'(" + toString_3(symbol, 8) + ') at index ' + sourceIndex);
- }
- } else {
- sourceIndex = sourceIndex + 1 | 0;
- }
- payload = payload << 6 | symbolBits;
- byteStart = byteStart + 6 | 0;
- if (byteStart >= 0) {
- var tmp7 = destinationIndex;
- destinationIndex = tmp7 + 1 | 0;
- destination[tmp7] = toByte(payload >>> byteStart | 0);
- payload = payload & ((1 << byteStart) - 1 | 0);
- byteStart = byteStart - 8 | 0;
- }
- }
- if (byteStart === -2) {
- throw IllegalArgumentException_init_$Create$_0('The last unit of input does not have enough bits');
- }
- sourceIndex = skipIllegalSymbolsIfMime($this, source, sourceIndex, endIndex);
- if (sourceIndex < endIndex) {
- var symbol_0 = source[sourceIndex] & 255;
- throw IllegalArgumentException_init_$Create$_0("Symbol '" + toString(numberToChar(symbol_0)) + "'(" + toString_3(symbol_0, 8) + ') at index ' + (sourceIndex - 1 | 0) + ' is prohibited after the pad character');
- }
- return destinationIndex - destinationOffset | 0;
- }
-
- function decodeSize($this, source, startIndex, endIndex) {
- var symbols = endIndex - startIndex | 0;
- if (symbols === 0) {
- return 0;
- }
- if (symbols === 1) {
- throw IllegalArgumentException_init_$Create$_0('Input should have at list 2 symbols for Base64 decoding, startIndex: ' + startIndex + ', endIndex: ' + endIndex);
- }
- if ($this.isMimeScheme_1) {
- var inductionVariable = startIndex;
- if (inductionVariable < endIndex)
- $l$loop: do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var symbol = source[index] & 255;
- var symbolBits = get_base64DecodeMap()[symbol];
- if (symbolBits < 0) {
- if (symbolBits === -2) {
- symbols = symbols - (endIndex - index | 0) | 0;
- break $l$loop;
- }
- symbols = symbols - 1 | 0;
- }
- }
- while (inductionVariable < endIndex);
- } else if (source[endIndex - 1 | 0] === 61) {
- symbols = symbols - 1 | 0;
- if (source[endIndex - 2 | 0] === 61) {
- symbols = symbols - 1 | 0;
- }
- }
- // Inline function 'kotlin.Long.div' call
- // Inline function 'kotlin.Long.times' call
- return toLong(symbols).times_nfzjiw_k$(toLong(6)).div_jun7gj_k$(toLong(8)).toInt_1tsl84_k$();
- }
-
- function handlePaddingSymbol($this, source, padIndex, endIndex, byteStart) {
- var tmp;
- switch (byteStart) {
- case -8:
- throw IllegalArgumentException_init_$Create$_0('Redundant pad character at index ' + padIndex);
- case -2:
- tmp = padIndex + 1 | 0;
- break;
- case -4:
- var secondPadIndex = skipIllegalSymbolsIfMime($this, source, padIndex + 1 | 0, endIndex);
- if (secondPadIndex === endIndex ? true : !(source[secondPadIndex] === 61)) {
- throw IllegalArgumentException_init_$Create$_0('Missing one pad character at index ' + secondPadIndex);
- }
-
- tmp = secondPadIndex + 1 | 0;
- break;
- case -6:
- tmp = padIndex + 1 | 0;
- break;
- default:
- var message = 'Unreachable';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- return tmp;
- }
-
- function skipIllegalSymbolsIfMime($this, source, startIndex, endIndex) {
- if (!$this.isMimeScheme_1) {
- return startIndex;
- }
- var sourceIndex = startIndex;
- while (sourceIndex < endIndex) {
- var symbol = source[sourceIndex] & 255;
- if (!(get_base64DecodeMap()[symbol] === -1)) {
- return sourceIndex;
- }
- sourceIndex = sourceIndex + 1 | 0;
- }
- return sourceIndex;
- }
-
- function checkDestinationBounds($this, destinationSize, destinationOffset, capacityNeeded) {
- if (destinationOffset < 0 ? true : destinationOffset > destinationSize) {
- throw IndexOutOfBoundsException_init_$Create$_0('destination offset: ' + destinationOffset + ', destination size: ' + destinationSize);
- }
- var destinationEndIndex = destinationOffset + capacityNeeded | 0;
- if (destinationEndIndex < 0 ? true : destinationEndIndex > destinationSize) {
- throw IndexOutOfBoundsException_init_$Create$_0('The destination array does not have enough capacity, ' + ('destination offset: ' + destinationOffset + ', destination size: ' + destinationSize + ', capacity needed: ' + capacityNeeded));
- }
- }
-
- function Default() {
- Default_instance = this;
- Base64.call(this, false, false);
- this.bitsPerByte_1 = 8;
- this.bitsPerSymbol_1 = 6;
- this.bytesPerGroup_1 = 3;
- this.symbolsPerGroup_1 = 4;
- this.padSymbol_1 = 61;
- this.mimeLineLength_1 = 76;
- this.mimeGroupsPerLine_1 = 19;
- var tmp = this;
- // Inline function 'kotlin.byteArrayOf' call
- tmp.mimeLineSeparatorSymbols_1 = new Int8Array([13, 10]);
- this.UrlSafe_1 = new Base64(true, false);
- this.Mime_1 = new Base64(false, true);
- }
-
- protoOf(Default).get_bytesPerGroup_ye0ds4_k$ = function () {
- return this.bytesPerGroup_1;
- };
- protoOf(Default).get_symbolsPerGroup_yn8p70_k$ = function () {
- return this.symbolsPerGroup_1;
- };
- protoOf(Default).get_padSymbol_t12m5a_k$ = function () {
- return this.padSymbol_1;
- };
- protoOf(Default).get_mimeLineLength_a7r3c9_k$ = function () {
- return this.mimeLineLength_1;
- };
- protoOf(Default).get_mimeLineSeparatorSymbols_qujr15_k$ = function () {
- return this.mimeLineSeparatorSymbols_1;
- };
- protoOf(Default).get_UrlSafe_pzautv_k$ = function () {
- return this.UrlSafe_1;
- };
- protoOf(Default).get_Mime_wo61zx_k$ = function () {
- return this.Mime_1;
- };
- var Default_instance;
-
- function Default_getInstance() {
- if (Default_instance == null)
- new Default();
- return Default_instance;
- }
-
- function Base64(isUrlSafe, isMimeScheme) {
- Default_getInstance();
- this.isUrlSafe_1 = isUrlSafe;
- this.isMimeScheme_1 = isMimeScheme;
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(!this.isUrlSafe_1 ? true : !this.isMimeScheme_1)) {
- // Inline function 'kotlin.require.' call
- var message = 'Failed requirement.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- }
-
- protoOf(Base64).get_isUrlSafe_3w08t3_k$ = function () {
- return this.isUrlSafe_1;
- };
- protoOf(Base64).get_isMimeScheme_50xsek_k$ = function () {
- return this.isMimeScheme_1;
- };
- protoOf(Base64).encodeToByteArray_yar674_k$ = function (source, startIndex, endIndex) {
- // Inline function 'kotlin.io.encoding.platformEncodeToByteArray' call
- return this.encodeToByteArrayImpl_ebqasg_k$(source, startIndex, endIndex);
- };
- protoOf(Base64).encodeToByteArray$default_aer9q8_k$ = function (source, startIndex, endIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? source.length : endIndex;
- return $super === VOID ? this.encodeToByteArray_yar674_k$(source, startIndex, endIndex) : $super.encodeToByteArray_yar674_k$.call(this, source, startIndex, endIndex);
- };
- protoOf(Base64).encodeIntoByteArray_f2dbr7_k$ = function (source, destination, destinationOffset, startIndex, endIndex) {
- // Inline function 'kotlin.io.encoding.platformEncodeIntoByteArray' call
- return this.encodeIntoByteArrayImpl_lkr6v7_k$(source, destination, destinationOffset, startIndex, endIndex);
- };
- protoOf(Base64).encodeIntoByteArray$default_kjqqde_k$ = function (source, destination, destinationOffset, startIndex, endIndex, $super) {
- destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? source.length : endIndex;
- return $super === VOID ? this.encodeIntoByteArray_f2dbr7_k$(source, destination, destinationOffset, startIndex, endIndex) : $super.encodeIntoByteArray_f2dbr7_k$.call(this, source, destination, destinationOffset, startIndex, endIndex);
- };
- protoOf(Base64).encode_hqs3g6_k$ = function (source, startIndex, endIndex) {
- // Inline function 'kotlin.io.encoding.platformEncodeToString' call
- var byteResult = this.encodeToByteArrayImpl_ebqasg_k$(source, startIndex, endIndex);
- return this.bytesToStringImpl_fo2bjd_k$(byteResult);
- };
- protoOf(Base64).encode$default_h4nonq_k$ = function (source, startIndex, endIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? source.length : endIndex;
- return $super === VOID ? this.encode_hqs3g6_k$(source, startIndex, endIndex) : $super.encode_hqs3g6_k$.call(this, source, startIndex, endIndex);
- };
- protoOf(Base64).encodeToAppendable_lcyka2_k$ = function (source, destination, startIndex, endIndex) {
- // Inline function 'kotlin.io.encoding.platformEncodeToString' call
- var byteResult = this.encodeToByteArrayImpl_ebqasg_k$(source, startIndex, endIndex);
- var stringResult = this.bytesToStringImpl_fo2bjd_k$(byteResult);
- destination.append_jgojdo_k$(stringResult);
- return destination;
- };
- protoOf(Base64).encodeToAppendable$default_bxqfu8_k$ = function (source, destination, startIndex, endIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? source.length : endIndex;
- return $super === VOID ? this.encodeToAppendable_lcyka2_k$(source, destination, startIndex, endIndex) : $super.encodeToAppendable_lcyka2_k$.call(this, source, destination, startIndex, endIndex);
- };
- protoOf(Base64).decode_iptc9a_k$ = function (source, startIndex, endIndex) {
- this.checkSourceBounds_lu2b0w_k$(source.length, startIndex, endIndex);
- var decodeSize_0 = decodeSize(this, source, startIndex, endIndex);
- var destination = new Int8Array(decodeSize_0);
- var bytesWritten = decodeImpl(this, source, destination, 0, startIndex, endIndex);
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(bytesWritten === destination.length)) {
- // Inline function 'kotlin.check.' call
- var message = 'Check failed.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- return destination;
- };
- protoOf(Base64).decode$default_vlp1n6_k$ = function (source, startIndex, endIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? source.length : endIndex;
- return $super === VOID ? this.decode_iptc9a_k$(source, startIndex, endIndex) : $super.decode_iptc9a_k$.call(this, source, startIndex, endIndex);
- };
- protoOf(Base64).decodeIntoByteArray_aclq1h_k$ = function (source, destination, destinationOffset, startIndex, endIndex) {
- this.checkSourceBounds_lu2b0w_k$(source.length, startIndex, endIndex);
- checkDestinationBounds(this, destination.length, destinationOffset, decodeSize(this, source, startIndex, endIndex));
- return decodeImpl(this, source, destination, destinationOffset, startIndex, endIndex);
- };
- protoOf(Base64).decodeIntoByteArray$default_37hjje_k$ = function (source, destination, destinationOffset, startIndex, endIndex, $super) {
- destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? source.length : endIndex;
- return $super === VOID ? this.decodeIntoByteArray_aclq1h_k$(source, destination, destinationOffset, startIndex, endIndex) : $super.decodeIntoByteArray_aclq1h_k$.call(this, source, destination, destinationOffset, startIndex, endIndex);
- };
- protoOf(Base64).decode_lt35e9_k$ = function (source, startIndex, endIndex) {
- // Inline function 'kotlin.io.encoding.platformCharsToBytes' call
- var byteSource = this.charsToBytesImpl_xmdp06_k$(source, startIndex, endIndex);
- return this.decode$default_vlp1n6_k$(byteSource);
- };
- protoOf(Base64).decode$default_mne14l_k$ = function (source, startIndex, endIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? charSequenceLength(source) : endIndex;
- return $super === VOID ? this.decode_lt35e9_k$(source, startIndex, endIndex) : $super.decode_lt35e9_k$.call(this, source, startIndex, endIndex);
- };
- protoOf(Base64).decodeIntoByteArray_ad8mn2_k$ = function (source, destination, destinationOffset, startIndex, endIndex) {
- // Inline function 'kotlin.io.encoding.platformCharsToBytes' call
- var byteSource = this.charsToBytesImpl_xmdp06_k$(source, startIndex, endIndex);
- return this.decodeIntoByteArray$default_37hjje_k$(byteSource, destination, destinationOffset);
- };
- protoOf(Base64).decodeIntoByteArray$default_snnwgp_k$ = function (source, destination, destinationOffset, startIndex, endIndex, $super) {
- destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? charSequenceLength(source) : endIndex;
- return $super === VOID ? this.decodeIntoByteArray_ad8mn2_k$(source, destination, destinationOffset, startIndex, endIndex) : $super.decodeIntoByteArray_ad8mn2_k$.call(this, source, destination, destinationOffset, startIndex, endIndex);
- };
- protoOf(Base64).encodeToByteArrayImpl_ebqasg_k$ = function (source, startIndex, endIndex) {
- this.checkSourceBounds_lu2b0w_k$(source.length, startIndex, endIndex);
- var encodeSize_0 = encodeSize(this, endIndex - startIndex | 0);
- var destination = new Int8Array(encodeSize_0);
- this.encodeIntoByteArrayImpl_lkr6v7_k$(source, destination, 0, startIndex, endIndex);
- return destination;
- };
- protoOf(Base64).encodeIntoByteArrayImpl_lkr6v7_k$ = function (source, destination, destinationOffset, startIndex, endIndex) {
- this.checkSourceBounds_lu2b0w_k$(source.length, startIndex, endIndex);
- checkDestinationBounds(this, destination.length, destinationOffset, encodeSize(this, endIndex - startIndex | 0));
- var encodeMap = this.isUrlSafe_1 ? get_base64UrlEncodeMap() : get_base64EncodeMap();
- var sourceIndex = startIndex;
- var destinationIndex = destinationOffset;
- var groupsPerLine = this.isMimeScheme_1 ? 19 : IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$();
- while ((sourceIndex + 2 | 0) < endIndex) {
- // Inline function 'kotlin.comparisons.minOf' call
- var a = (endIndex - sourceIndex | 0) / 3 | 0;
- var groups = Math.min(a, groupsPerLine);
- var inductionVariable = 0;
- if (inductionVariable < groups)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var tmp1 = sourceIndex;
- sourceIndex = tmp1 + 1 | 0;
- var byte1 = source[tmp1] & 255;
- var tmp2 = sourceIndex;
- sourceIndex = tmp2 + 1 | 0;
- var byte2 = source[tmp2] & 255;
- var tmp3 = sourceIndex;
- sourceIndex = tmp3 + 1 | 0;
- var byte3 = source[tmp3] & 255;
- var bits = byte1 << 16 | byte2 << 8 | byte3;
- var tmp4 = destinationIndex;
- destinationIndex = tmp4 + 1 | 0;
- destination[tmp4] = encodeMap[bits >>> 18 | 0];
- var tmp5 = destinationIndex;
- destinationIndex = tmp5 + 1 | 0;
- destination[tmp5] = encodeMap[(bits >>> 12 | 0) & 63];
- var tmp6 = destinationIndex;
- destinationIndex = tmp6 + 1 | 0;
- destination[tmp6] = encodeMap[(bits >>> 6 | 0) & 63];
- var tmp7 = destinationIndex;
- destinationIndex = tmp7 + 1 | 0;
- destination[tmp7] = encodeMap[bits & 63];
- }
- while (inductionVariable < groups);
- if (groups === groupsPerLine ? !(sourceIndex === endIndex) : false) {
- var tmp8 = destinationIndex;
- destinationIndex = tmp8 + 1 | 0;
- destination[tmp8] = Default_getInstance().mimeLineSeparatorSymbols_1[0];
- var tmp9 = destinationIndex;
- destinationIndex = tmp9 + 1 | 0;
- destination[tmp9] = Default_getInstance().mimeLineSeparatorSymbols_1[1];
- }
- }
- var tmp10_subject = endIndex - sourceIndex | 0;
- if (tmp10_subject === 1) {
- var tmp11 = sourceIndex;
- sourceIndex = tmp11 + 1 | 0;
- var byte1_0 = source[tmp11] & 255;
- var bits_0 = byte1_0 << 4;
- var tmp12 = destinationIndex;
- destinationIndex = tmp12 + 1 | 0;
- destination[tmp12] = encodeMap[bits_0 >>> 6 | 0];
- var tmp13 = destinationIndex;
- destinationIndex = tmp13 + 1 | 0;
- destination[tmp13] = encodeMap[bits_0 & 63];
- var tmp14 = destinationIndex;
- destinationIndex = tmp14 + 1 | 0;
- destination[tmp14] = 61;
- var tmp15 = destinationIndex;
- destinationIndex = tmp15 + 1 | 0;
- destination[tmp15] = 61;
- } else if (tmp10_subject === 2) {
- var tmp16 = sourceIndex;
- sourceIndex = tmp16 + 1 | 0;
- var byte1_1 = source[tmp16] & 255;
- var tmp17 = sourceIndex;
- sourceIndex = tmp17 + 1 | 0;
- var byte2_0 = source[tmp17] & 255;
- var bits_1 = byte1_1 << 10 | byte2_0 << 2;
- var tmp18 = destinationIndex;
- destinationIndex = tmp18 + 1 | 0;
- destination[tmp18] = encodeMap[bits_1 >>> 12 | 0];
- var tmp19 = destinationIndex;
- destinationIndex = tmp19 + 1 | 0;
- destination[tmp19] = encodeMap[(bits_1 >>> 6 | 0) & 63];
- var tmp20 = destinationIndex;
- destinationIndex = tmp20 + 1 | 0;
- destination[tmp20] = encodeMap[bits_1 & 63];
- var tmp21 = destinationIndex;
- destinationIndex = tmp21 + 1 | 0;
- destination[tmp21] = 61;
- }
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(sourceIndex === endIndex)) {
- // Inline function 'kotlin.check.' call
- var message = 'Check failed.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- return destinationIndex - destinationOffset | 0;
- };
- protoOf(Base64).charsToBytesImpl_xmdp06_k$ = function (source, startIndex, endIndex) {
- this.checkSourceBounds_lu2b0w_k$(charSequenceLength(source), startIndex, endIndex);
- var byteArray = new Int8Array(endIndex - startIndex | 0);
- var length = 0;
- var inductionVariable = startIndex;
- if (inductionVariable < endIndex)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.code' call
- var this_0 = charSequenceGet(source, index);
- var symbol = Char__toInt_impl_vasixd(this_0);
- if (symbol <= 255) {
- var tmp1 = length;
- length = tmp1 + 1 | 0;
- byteArray[tmp1] = toByte(symbol);
- } else {
- var tmp2 = length;
- length = tmp2 + 1 | 0;
- byteArray[tmp2] = 63;
- }
- }
- while (inductionVariable < endIndex);
- return byteArray;
- };
- protoOf(Base64).bytesToStringImpl_fo2bjd_k$ = function (source) {
- var stringBuilder = StringBuilder_init_$Create$(source.length);
- var inductionVariable = 0;
- var last = source.length;
- while (inductionVariable < last) {
- var byte = source[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- stringBuilder.append_am5a4z_k$(numberToChar(byte));
- }
- return stringBuilder.toString();
- };
- protoOf(Base64).checkSourceBounds_lu2b0w_k$ = function (sourceSize, startIndex, endIndex) {
- Companion_getInstance_5().checkBoundsIndexes_fu3rwb_k$(startIndex, endIndex, sourceSize);
- };
- var properties_initialized_Base64_kt_5g824v;
-
- function _init_properties_Base64_kt__ymmsz3() {
- if (!properties_initialized_Base64_kt_5g824v) {
- properties_initialized_Base64_kt_5g824v = true;
- // Inline function 'kotlin.byteArrayOf' call
- base64EncodeMap = new Int8Array([65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47]);
- // Inline function 'kotlin.apply' call
- var this_0 = new Int32Array(256);
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.io.encoding.base64DecodeMap.' call
- fill(this_0, -1);
- this_0[61] = -2;
- // Inline function 'kotlin.collections.forEachIndexed' call
- var index = 0;
- var indexedObject = get_base64EncodeMap();
- var inductionVariable = 0;
- var last = indexedObject.length;
- while (inductionVariable < last) {
- var item = indexedObject[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.io.encoding.base64DecodeMap..' call
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- this_0[item] = tmp1;
- }
- base64DecodeMap = this_0;
- // Inline function 'kotlin.byteArrayOf' call
- base64UrlEncodeMap = new Int8Array([65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 45, 95]);
- // Inline function 'kotlin.apply' call
- var this_1 = new Int32Array(256);
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.io.encoding.base64UrlDecodeMap.' call
- fill(this_1, -1);
- this_1[61] = -2;
- // Inline function 'kotlin.collections.forEachIndexed' call
- var index_0 = 0;
- var indexedObject_0 = get_base64UrlEncodeMap();
- var inductionVariable_0 = 0;
- var last_0 = indexedObject_0.length;
- while (inductionVariable_0 < last_0) {
- var item_0 = indexedObject_0[inductionVariable_0];
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- // Inline function 'kotlin.io.encoding.base64UrlDecodeMap..' call
- var tmp1_0 = index_0;
- index_0 = tmp1_0 + 1 | 0;
- this_1[item_0] = tmp1_0;
- }
- base64UrlDecodeMap = this_1;
- }
- }
-
- function ExperimentalEncodingApi() {
- }
-
- protoOf(ExperimentalEncodingApi).equals = function (other) {
- if (!(other instanceof ExperimentalEncodingApi))
- return false;
- other instanceof ExperimentalEncodingApi || THROW_CCE();
- return true;
- };
- protoOf(ExperimentalEncodingApi).hashCode = function () {
- return 0;
- };
- protoOf(ExperimentalEncodingApi).toString = function () {
- return '@kotlin.io.encoding.ExperimentalEncodingApi()';
- };
-
- function Companion_9() {
- Companion_instance_9 = this;
- this.EMPTY_1 = new IntRange(1, 0);
- }
-
- protoOf(Companion_9).get_EMPTY_i8q41w_k$ = function () {
- return this.EMPTY_1;
- };
- var Companion_instance_9;
-
- function Companion_getInstance_9() {
- if (Companion_instance_9 == null)
- new Companion_9();
- return Companion_instance_9;
- }
-
- function IntRange(start, endInclusive) {
- Companion_getInstance_9();
- IntProgression.call(this, start, endInclusive, 1);
- }
-
- protoOf(IntRange).get_start_iypx6h_k$ = function () {
- return this.get_first_irdx8n_k$();
- };
- protoOf(IntRange).get_endInclusive_r07xpi_k$ = function () {
- return this.get_last_wopotb_k$();
- };
- protoOf(IntRange).get_endExclusive_pmwm6k_k$ = function () {
- if (this.get_last_wopotb_k$() === IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$()) {
- // Inline function 'kotlin.error' call
- var message = 'Cannot return the exclusive upper bound of a range that includes MAX_VALUE.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- return this.get_last_wopotb_k$() + 1 | 0;
- };
- protoOf(IntRange).contains_7q95ev_k$ = function (value) {
- return this.get_first_irdx8n_k$() <= value ? value <= this.get_last_wopotb_k$() : false;
- };
- protoOf(IntRange).contains_3tkdvy_k$ = function (value) {
- return this.contains_7q95ev_k$(typeof value === 'number' ? value : THROW_CCE());
- };
- protoOf(IntRange).isEmpty_y1axqb_k$ = function () {
- return this.get_first_irdx8n_k$() > this.get_last_wopotb_k$();
- };
- protoOf(IntRange).equals = function (other) {
- var tmp;
- if (other instanceof IntRange) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : this.get_first_irdx8n_k$() === other.get_first_irdx8n_k$() ? this.get_last_wopotb_k$() === other.get_last_wopotb_k$() : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(IntRange).hashCode = function () {
- return this.isEmpty_y1axqb_k$() ? -1 : imul(31, this.get_first_irdx8n_k$()) + this.get_last_wopotb_k$() | 0;
- };
- protoOf(IntRange).toString = function () {
- return '' + this.get_first_irdx8n_k$() + '..' + this.get_last_wopotb_k$();
- };
-
- function Companion_10() {
- Companion_instance_10 = this;
- this.EMPTY_1 = new CharRange(_Char___init__impl__6a9atx(1), _Char___init__impl__6a9atx(0));
- }
-
- protoOf(Companion_10).get_EMPTY_i8q41w_k$ = function () {
- return this.EMPTY_1;
- };
- var Companion_instance_10;
-
- function Companion_getInstance_10() {
- if (Companion_instance_10 == null)
- new Companion_10();
- return Companion_instance_10;
- }
-
- function CharRange(start, endInclusive) {
- Companion_getInstance_10();
- CharProgression.call(this, start, endInclusive, 1);
- }
-
- protoOf(CharRange).get_start_qjli63_k$ = function () {
- return this.get_first_enpj7t_k$();
- };
- protoOf(CharRange).get_start_iypx6h_k$ = function () {
- return new Char(this.get_start_qjli63_k$());
- };
- protoOf(CharRange).get_endInclusive_onwxgk_k$ = function () {
- return this.get_last_rplkv5_k$();
- };
- protoOf(CharRange).get_endInclusive_r07xpi_k$ = function () {
- return new Char(this.get_endInclusive_onwxgk_k$());
- };
- protoOf(CharRange).get_endExclusive_umwd3i_k$ = function () {
- if (this.get_last_rplkv5_k$() === Companion_getInstance().get_MAX_VALUE_bm2fhr_k$()) {
- // Inline function 'kotlin.error' call
- var message = 'Cannot return the exclusive upper bound of a range that includes MAX_VALUE.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- return Char__plus_impl_qi7pgj(this.get_last_rplkv5_k$(), 1);
- };
- protoOf(CharRange).get_endExclusive_pmwm6k_k$ = function () {
- return new Char(this.get_endExclusive_umwd3i_k$());
- };
- protoOf(CharRange).contains_q699wu_k$ = function (value) {
- return Char__compareTo_impl_ypi4mb(this.get_first_enpj7t_k$(), value) <= 0 ? Char__compareTo_impl_ypi4mb(value, this.get_last_rplkv5_k$()) <= 0 : false;
- };
- protoOf(CharRange).contains_3tkdvy_k$ = function (value) {
- return this.contains_q699wu_k$(value instanceof Char ? value.value_1 : THROW_CCE());
- };
- protoOf(CharRange).isEmpty_y1axqb_k$ = function () {
- return Char__compareTo_impl_ypi4mb(this.get_first_enpj7t_k$(), this.get_last_rplkv5_k$()) > 0;
- };
- protoOf(CharRange).equals = function (other) {
- var tmp;
- if (other instanceof CharRange) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : this.get_first_enpj7t_k$() === other.get_first_enpj7t_k$() ? this.get_last_rplkv5_k$() === other.get_last_rplkv5_k$() : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(CharRange).hashCode = function () {
- var tmp;
- if (this.isEmpty_y1axqb_k$()) {
- tmp = -1;
- } else {
- // Inline function 'kotlin.code' call
- var this_0 = this.get_first_enpj7t_k$();
- var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
- var tmp_0 = imul(31, tmp$ret$0);
- // Inline function 'kotlin.code' call
- var this_1 = this.get_last_rplkv5_k$();
- tmp = tmp_0 + Char__toInt_impl_vasixd(this_1) | 0;
- }
- return tmp;
- };
- protoOf(CharRange).toString = function () {
- return toString(this.get_first_enpj7t_k$()) + '..' + toString(this.get_last_rplkv5_k$());
- };
-
- function Companion_11() {
- Companion_instance_11 = this;
- this.EMPTY_1 = new LongRange(new Long(1, 0), new Long(0, 0));
- }
-
- protoOf(Companion_11).get_EMPTY_i8q41w_k$ = function () {
- return this.EMPTY_1;
- };
- var Companion_instance_11;
-
- function Companion_getInstance_11() {
- if (Companion_instance_11 == null)
- new Companion_11();
- return Companion_instance_11;
- }
-
- function LongRange(start, endInclusive) {
- Companion_getInstance_11();
- LongProgression.call(this, start, endInclusive, new Long(1, 0));
- }
-
- protoOf(LongRange).get_start_iypx6h_k$ = function () {
- return this.get_first_irdx8n_k$();
- };
- protoOf(LongRange).get_endInclusive_r07xpi_k$ = function () {
- return this.get_last_wopotb_k$();
- };
- protoOf(LongRange).get_endExclusive_pmwm6k_k$ = function () {
- if (this.get_last_wopotb_k$().equals(Companion_getInstance_1().get_MAX_VALUE_54a9lf_k$())) {
- // Inline function 'kotlin.error' call
- var message = 'Cannot return the exclusive upper bound of a range that includes MAX_VALUE.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- // Inline function 'kotlin.Long.plus' call
- return this.get_last_wopotb_k$().plus_r93sks_k$(toLong(1));
- };
- protoOf(LongRange).contains_aa6tld_k$ = function (value) {
- return this.get_first_irdx8n_k$().compareTo_9jj042_k$(value) <= 0 ? value.compareTo_9jj042_k$(this.get_last_wopotb_k$()) <= 0 : false;
- };
- protoOf(LongRange).contains_3tkdvy_k$ = function (value) {
- return this.contains_aa6tld_k$(value instanceof Long ? value : THROW_CCE());
- };
- protoOf(LongRange).isEmpty_y1axqb_k$ = function () {
- return this.get_first_irdx8n_k$().compareTo_9jj042_k$(this.get_last_wopotb_k$()) > 0;
- };
- protoOf(LongRange).equals = function (other) {
- var tmp;
- if (other instanceof LongRange) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : this.get_first_irdx8n_k$().equals(other.get_first_irdx8n_k$()) ? this.get_last_wopotb_k$().equals(other.get_last_wopotb_k$()) : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(LongRange).hashCode = function () {
- return this.isEmpty_y1axqb_k$() ? -1 : numberToLong(31).times_nfzjiw_k$(this.get_first_irdx8n_k$().xor_qzz94j_k$(this.get_first_irdx8n_k$().ushr_z7nmq8_k$(32))).plus_r93sks_k$(this.get_last_wopotb_k$().xor_qzz94j_k$(this.get_last_wopotb_k$().ushr_z7nmq8_k$(32))).toInt_1tsl84_k$();
- };
- protoOf(LongRange).toString = function () {
- return this.get_first_irdx8n_k$().toString() + '..' + this.get_last_wopotb_k$().toString();
- };
-
- function _get_finalElement__gc6m3p($this) {
- return $this.finalElement_1;
- }
-
- function _set_hasNext__86v2bs($this, _set____db54di) {
- $this.hasNext_1 = _set____db54di;
- }
-
- function _get_hasNext__xt3cos($this) {
- return $this.hasNext_1;
- }
-
- function _set_next__9r2xms($this, _set____db54di) {
- $this.next_1 = _set____db54di;
- }
-
- function _get_next__daux88($this) {
- return $this.next_1;
- }
-
- function IntProgressionIterator(first, last, step) {
- IntIterator.call(this);
- this.step_1 = step;
- this.finalElement_1 = last;
- this.hasNext_1 = this.step_1 > 0 ? first <= last : first >= last;
- this.next_1 = this.hasNext_1 ? first : this.finalElement_1;
- }
-
- protoOf(IntProgressionIterator).get_step_woujh1_k$ = function () {
- return this.step_1;
- };
- protoOf(IntProgressionIterator).hasNext_bitz1p_k$ = function () {
- return this.hasNext_1;
- };
- protoOf(IntProgressionIterator).nextInt_ujorgc_k$ = function () {
- var value = this.next_1;
- if (value === this.finalElement_1) {
- if (!this.hasNext_1)
- throw NoSuchElementException_init_$Create$();
- this.hasNext_1 = false;
- } else {
- this.next_1 = this.next_1 + this.step_1 | 0;
- }
- return value;
- };
-
- function _get_finalElement__gc6m3p_0($this) {
- return $this.finalElement_1;
- }
-
- function _set_hasNext__86v2bs_0($this, _set____db54di) {
- $this.hasNext_1 = _set____db54di;
- }
-
- function _get_hasNext__xt3cos_0($this) {
- return $this.hasNext_1;
- }
-
- function _set_next__9r2xms_0($this, _set____db54di) {
- $this.next_1 = _set____db54di;
- }
-
- function _get_next__daux88_0($this) {
- return $this.next_1;
- }
-
- function CharProgressionIterator(first, last, step) {
- CharIterator.call(this);
- this.step_1 = step;
- var tmp = this;
- // Inline function 'kotlin.code' call
- tmp.finalElement_1 = Char__toInt_impl_vasixd(last);
- this.hasNext_1 = this.step_1 > 0 ? Char__compareTo_impl_ypi4mb(first, last) <= 0 : Char__compareTo_impl_ypi4mb(first, last) >= 0;
- var tmp_0 = this;
- var tmp_1;
- if (this.hasNext_1) {
- // Inline function 'kotlin.code' call
- tmp_1 = Char__toInt_impl_vasixd(first);
- } else {
- tmp_1 = this.finalElement_1;
- }
- tmp_0.next_1 = tmp_1;
- }
-
- protoOf(CharProgressionIterator).get_step_woujh1_k$ = function () {
- return this.step_1;
- };
- protoOf(CharProgressionIterator).hasNext_bitz1p_k$ = function () {
- return this.hasNext_1;
- };
- protoOf(CharProgressionIterator).nextChar_yvnk6j_k$ = function () {
- var value = this.next_1;
- if (value === this.finalElement_1) {
- if (!this.hasNext_1)
- throw NoSuchElementException_init_$Create$();
- this.hasNext_1 = false;
- } else {
- this.next_1 = this.next_1 + this.step_1 | 0;
- }
- return numberToChar(value);
- };
-
- function _get_finalElement__gc6m3p_1($this) {
- return $this.finalElement_1;
- }
-
- function _set_hasNext__86v2bs_1($this, _set____db54di) {
- $this.hasNext_1 = _set____db54di;
- }
-
- function _get_hasNext__xt3cos_1($this) {
- return $this.hasNext_1;
- }
-
- function _set_next__9r2xms_1($this, _set____db54di) {
- $this.next_1 = _set____db54di;
- }
-
- function _get_next__daux88_1($this) {
- return $this.next_1;
- }
-
- function LongProgressionIterator(first, last, step) {
- LongIterator.call(this);
- this.step_1 = step;
- this.finalElement_1 = last;
- this.hasNext_1 = this.step_1.compareTo_9jj042_k$(new Long(0, 0)) > 0 ? first.compareTo_9jj042_k$(last) <= 0 : first.compareTo_9jj042_k$(last) >= 0;
- this.next_1 = this.hasNext_1 ? first : this.finalElement_1;
- }
-
- protoOf(LongProgressionIterator).get_step_woujh1_k$ = function () {
- return this.step_1;
- };
- protoOf(LongProgressionIterator).hasNext_bitz1p_k$ = function () {
- return this.hasNext_1;
- };
- protoOf(LongProgressionIterator).nextLong_njwv0v_k$ = function () {
- var value = this.next_1;
- if (value.equals(this.finalElement_1)) {
- if (!this.hasNext_1)
- throw NoSuchElementException_init_$Create$();
- this.hasNext_1 = false;
- } else {
- this.next_1 = this.next_1.plus_r93sks_k$(this.step_1);
- }
- return value;
- };
-
- function Companion_12() {
- Companion_instance_12 = this;
- }
-
- protoOf(Companion_12).fromClosedRange_y6bqsv_k$ = function (rangeStart, rangeEnd, step) {
- return new IntProgression(rangeStart, rangeEnd, step);
- };
- var Companion_instance_12;
-
- function Companion_getInstance_12() {
- if (Companion_instance_12 == null)
- new Companion_12();
- return Companion_instance_12;
- }
-
- function IntProgression(start, endInclusive, step) {
- Companion_getInstance_12();
- if (step === 0)
- throw IllegalArgumentException_init_$Create$_0('Step must be non-zero.');
- if (step === IntCompanionObject_getInstance().get_MIN_VALUE_7nmmor_k$())
- throw IllegalArgumentException_init_$Create$_0('Step must be greater than Int.MIN_VALUE to avoid overflow on negation.');
- this.first_1 = start;
- this.last_1 = getProgressionLastElement(start, endInclusive, step);
- this.step_1 = step;
- }
-
- protoOf(IntProgression).get_first_irdx8n_k$ = function () {
- return this.first_1;
- };
- protoOf(IntProgression).get_last_wopotb_k$ = function () {
- return this.last_1;
- };
- protoOf(IntProgression).get_step_woujh1_k$ = function () {
- return this.step_1;
- };
- protoOf(IntProgression).iterator_jk1svi_k$ = function () {
- return new IntProgressionIterator(this.first_1, this.last_1, this.step_1);
- };
- protoOf(IntProgression).isEmpty_y1axqb_k$ = function () {
- return this.step_1 > 0 ? this.first_1 > this.last_1 : this.first_1 < this.last_1;
- };
- protoOf(IntProgression).equals = function (other) {
- var tmp;
- if (other instanceof IntProgression) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : (this.first_1 === other.first_1 ? this.last_1 === other.last_1 : false) ? this.step_1 === other.step_1 : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(IntProgression).hashCode = function () {
- return this.isEmpty_y1axqb_k$() ? -1 : imul(31, imul(31, this.first_1) + this.last_1 | 0) + this.step_1 | 0;
- };
- protoOf(IntProgression).toString = function () {
- return this.step_1 > 0 ? '' + this.first_1 + '..' + this.last_1 + ' step ' + this.step_1 : '' + this.first_1 + ' downTo ' + this.last_1 + ' step ' + (-this.step_1 | 0);
- };
-
- function Companion_13() {
- Companion_instance_13 = this;
- }
-
- protoOf(Companion_13).fromClosedRange_iu4wj5_k$ = function (rangeStart, rangeEnd, step) {
- return new CharProgression(rangeStart, rangeEnd, step);
- };
- var Companion_instance_13;
-
- function Companion_getInstance_13() {
- if (Companion_instance_13 == null)
- new Companion_13();
- return Companion_instance_13;
- }
-
- function CharProgression(start, endInclusive, step) {
- Companion_getInstance_13();
- if (step === 0)
- throw IllegalArgumentException_init_$Create$_0('Step must be non-zero.');
- if (step === IntCompanionObject_getInstance().get_MIN_VALUE_7nmmor_k$())
- throw IllegalArgumentException_init_$Create$_0('Step must be greater than Int.MIN_VALUE to avoid overflow on negation.');
- this.first_1 = start;
- var tmp = this;
- // Inline function 'kotlin.code' call
- var tmp_0 = Char__toInt_impl_vasixd(start);
- // Inline function 'kotlin.code' call
- var tmp$ret$1 = Char__toInt_impl_vasixd(endInclusive);
- tmp.last_1 = numberToChar(getProgressionLastElement(tmp_0, tmp$ret$1, step));
- this.step_1 = step;
- }
-
- protoOf(CharProgression).get_first_enpj7t_k$ = function () {
- return this.first_1;
- };
- protoOf(CharProgression).get_last_rplkv5_k$ = function () {
- return this.last_1;
- };
- protoOf(CharProgression).get_step_woujh1_k$ = function () {
- return this.step_1;
- };
- protoOf(CharProgression).iterator_jk1svi_k$ = function () {
- return new CharProgressionIterator(this.first_1, this.last_1, this.step_1);
- };
- protoOf(CharProgression).isEmpty_y1axqb_k$ = function () {
- return this.step_1 > 0 ? Char__compareTo_impl_ypi4mb(this.first_1, this.last_1) > 0 : Char__compareTo_impl_ypi4mb(this.first_1, this.last_1) < 0;
- };
- protoOf(CharProgression).equals = function (other) {
- var tmp;
- if (other instanceof CharProgression) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : (this.first_1 === other.first_1 ? this.last_1 === other.last_1 : false) ? this.step_1 === other.step_1 : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(CharProgression).hashCode = function () {
- var tmp;
- if (this.isEmpty_y1axqb_k$()) {
- tmp = -1;
- } else {
- // Inline function 'kotlin.code' call
- var this_0 = this.first_1;
- var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
- var tmp_0 = imul(31, tmp$ret$0);
- // Inline function 'kotlin.code' call
- var this_1 = this.last_1;
- var tmp$ret$1 = Char__toInt_impl_vasixd(this_1);
- tmp = imul(31, tmp_0 + tmp$ret$1 | 0) + this.step_1 | 0;
- }
- return tmp;
- };
- protoOf(CharProgression).toString = function () {
- return this.step_1 > 0 ? toString(this.first_1) + '..' + toString(this.last_1) + ' step ' + this.step_1 : toString(this.first_1) + ' downTo ' + toString(this.last_1) + ' step ' + (-this.step_1 | 0);
- };
-
- function Companion_14() {
- Companion_instance_14 = this;
- }
-
- protoOf(Companion_14).fromClosedRange_brhbh5_k$ = function (rangeStart, rangeEnd, step) {
- return new LongProgression(rangeStart, rangeEnd, step);
- };
- var Companion_instance_14;
-
- function Companion_getInstance_14() {
- if (Companion_instance_14 == null)
- new Companion_14();
- return Companion_instance_14;
- }
-
- function LongProgression(start, endInclusive, step) {
- Companion_getInstance_14();
- if (step.equals(new Long(0, 0)))
- throw IllegalArgumentException_init_$Create$_0('Step must be non-zero.');
- if (step.equals(Companion_getInstance_1().get_MIN_VALUE_7nmmor_k$()))
- throw IllegalArgumentException_init_$Create$_0('Step must be greater than Long.MIN_VALUE to avoid overflow on negation.');
- this.first_1 = start;
- this.last_1 = getProgressionLastElement_0(start, endInclusive, step);
- this.step_1 = step;
- }
-
- protoOf(LongProgression).get_first_irdx8n_k$ = function () {
- return this.first_1;
- };
- protoOf(LongProgression).get_last_wopotb_k$ = function () {
- return this.last_1;
- };
- protoOf(LongProgression).get_step_woujh1_k$ = function () {
- return this.step_1;
- };
- protoOf(LongProgression).iterator_jk1svi_k$ = function () {
- return new LongProgressionIterator(this.first_1, this.last_1, this.step_1);
- };
- protoOf(LongProgression).isEmpty_y1axqb_k$ = function () {
- return this.step_1.compareTo_9jj042_k$(new Long(0, 0)) > 0 ? this.first_1.compareTo_9jj042_k$(this.last_1) > 0 : this.first_1.compareTo_9jj042_k$(this.last_1) < 0;
- };
- protoOf(LongProgression).equals = function (other) {
- var tmp;
- if (other instanceof LongProgression) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : (this.first_1.equals(other.first_1) ? this.last_1.equals(other.last_1) : false) ? this.step_1.equals(other.step_1) : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(LongProgression).hashCode = function () {
- return this.isEmpty_y1axqb_k$() ? -1 : numberToLong(31).times_nfzjiw_k$(numberToLong(31).times_nfzjiw_k$(this.first_1.xor_qzz94j_k$(this.first_1.ushr_z7nmq8_k$(32))).plus_r93sks_k$(this.last_1.xor_qzz94j_k$(this.last_1.ushr_z7nmq8_k$(32)))).plus_r93sks_k$(this.step_1.xor_qzz94j_k$(this.step_1.ushr_z7nmq8_k$(32))).toInt_1tsl84_k$();
- };
- protoOf(LongProgression).toString = function () {
- return this.step_1.compareTo_9jj042_k$(new Long(0, 0)) > 0 ? this.first_1.toString() + '..' + this.last_1.toString() + ' step ' + this.step_1.toString() : this.first_1.toString() + ' downTo ' + this.last_1.toString() + ' step ' + this.step_1.unaryMinus_6uz0qp_k$().toString();
- };
-
- function ClosedRange() {
- }
-
- function OpenEndRange() {
- }
-
- function KClassifier() {
- }
-
- function KTypeParameter() {
- }
-
- function Companion_15() {
- Companion_instance_15 = this;
- this.star_1 = new KTypeProjection(null, null);
- }
-
- protoOf(Companion_15).get_star_woujdn_k$ = function () {
- return this.star_1;
- };
- protoOf(Companion_15).get_STAR_wo9fa3_k$ = function () {
- return this.star_1;
- };
- protoOf(Companion_15).invariant_a4yrrz_k$ = function (type) {
- return new KTypeProjection(KVariance_INVARIANT_getInstance(), type);
- };
- protoOf(Companion_15).contravariant_bkjggt_k$ = function (type) {
- return new KTypeProjection(KVariance_IN_getInstance(), type);
- };
- protoOf(Companion_15).covariant_daguew_k$ = function (type) {
- return new KTypeProjection(KVariance_OUT_getInstance(), type);
- };
- var Companion_instance_15;
-
- function Companion_getInstance_15() {
- if (Companion_instance_15 == null)
- new Companion_15();
- return Companion_instance_15;
- }
-
- function KTypeProjection(variance, type) {
- Companion_getInstance_15();
- this.variance_1 = variance;
- this.type_1 = type;
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(this.variance_1 == null === (this.type_1 == null))) {
- // Inline function 'kotlin.reflect.KTypeProjection.' call
- var message = this.variance_1 == null ? 'Star projection must have no type specified.' : 'The projection variance ' + this.variance_1 + ' requires type to be specified.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- }
-
- protoOf(KTypeProjection).get_variance_ik7ku2_k$ = function () {
- return this.variance_1;
- };
- protoOf(KTypeProjection).get_type_wovaf7_k$ = function () {
- return this.type_1;
- };
- protoOf(KTypeProjection).toString = function () {
- var tmp0_subject = this.variance_1;
- var tmp;
- switch (tmp0_subject == null ? -1 : tmp0_subject.get_ordinal_ip24qg_k$()) {
- case -1:
- tmp = '*';
- break;
- case 0:
- tmp = toString_0(this.type_1);
- break;
- case 1:
- tmp = 'in ' + this.type_1;
- break;
- case 2:
- tmp = 'out ' + this.type_1;
- break;
- default:
- noWhenBranchMatchedException();
- break;
- }
- return tmp;
- };
- protoOf(KTypeProjection).component1_7eebsc_k$ = function () {
- return this.variance_1;
- };
- protoOf(KTypeProjection).component2_7eebsb_k$ = function () {
- return this.type_1;
- };
- protoOf(KTypeProjection).copy_3t4q9q_k$ = function (variance, type) {
- return new KTypeProjection(variance, type);
- };
- protoOf(KTypeProjection).copy$default_dyrb1k_k$ = function (variance, type, $super) {
- variance = variance === VOID ? this.variance_1 : variance;
- type = type === VOID ? this.type_1 : type;
- return $super === VOID ? this.copy_3t4q9q_k$(variance, type) : $super.copy_3t4q9q_k$.call(this, variance, type);
- };
- protoOf(KTypeProjection).hashCode = function () {
- var result = this.variance_1 == null ? 0 : this.variance_1.hashCode();
- result = imul(result, 31) + (this.type_1 == null ? 0 : hashCode(this.type_1)) | 0;
- return result;
- };
- protoOf(KTypeProjection).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof KTypeProjection))
- return false;
- var tmp0_other_with_cast = other instanceof KTypeProjection ? other : THROW_CCE();
- if (!equals(this.variance_1, tmp0_other_with_cast.variance_1))
- return false;
- if (!equals(this.type_1, tmp0_other_with_cast.type_1))
- return false;
- return true;
- };
- var KVariance_INVARIANT_instance;
- var KVariance_IN_instance;
- var KVariance_OUT_instance;
-
- function values_7() {
- return [KVariance_INVARIANT_getInstance(), KVariance_IN_getInstance(), KVariance_OUT_getInstance()];
- }
-
- function valueOf_7(value) {
- switch (value) {
- case 'INVARIANT':
- return KVariance_INVARIANT_getInstance();
- case 'IN':
- return KVariance_IN_getInstance();
- case 'OUT':
- return KVariance_OUT_getInstance();
- default:
- KVariance_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries_7() {
- if ($ENTRIES_7 == null)
- $ENTRIES_7 = enumEntries(values_7());
- return $ENTRIES_7;
- }
-
- var KVariance_entriesInitialized;
-
- function KVariance_initEntries() {
- if (KVariance_entriesInitialized)
- return Unit_getInstance();
- KVariance_entriesInitialized = true;
- KVariance_INVARIANT_instance = new KVariance('INVARIANT', 0);
- KVariance_IN_instance = new KVariance('IN', 1);
- KVariance_OUT_instance = new KVariance('OUT', 2);
- }
-
- var $ENTRIES_7;
-
- function KVariance(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- function KVariance_INVARIANT_getInstance() {
- KVariance_initEntries();
- return KVariance_INVARIANT_instance;
- }
-
- function KVariance_IN_getInstance() {
- KVariance_initEntries();
- return KVariance_IN_instance;
- }
-
- function KVariance_OUT_getInstance() {
- KVariance_initEntries();
- return KVariance_OUT_instance;
- }
-
- function appendElement(_this__u8e3s4, element, transform) {
- if (!(transform == null)) {
- _this__u8e3s4.append_jgojdo_k$(transform(element));
- } else {
- if (element == null ? true : isCharSequence(element)) {
- _this__u8e3s4.append_jgojdo_k$(element);
- } else {
- if (element instanceof Char) {
- _this__u8e3s4.append_am5a4z_k$(element.value_1);
- } else {
- _this__u8e3s4.append_jgojdo_k$(toString_0(element));
- }
- }
- }
- }
-
- function appendLine(_this__u8e3s4) {
- return _this__u8e3s4.append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- }
-
- function equals_0(_this__u8e3s4, other, ignoreCase) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- if (_this__u8e3s4 === other)
- return true;
- if (!ignoreCase)
- return false;
- var thisUpper = uppercaseChar(_this__u8e3s4);
- var otherUpper = uppercaseChar(other);
- var tmp;
- if (thisUpper === otherUpper) {
- tmp = true;
- } else {
- // Inline function 'kotlin.text.lowercaseChar' call
- // Inline function 'kotlin.text.lowercase' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp$ret$2 = toString(thisUpper).toLowerCase();
- var tmp_0 = charSequenceGet(tmp$ret$2, 0);
- // Inline function 'kotlin.text.lowercaseChar' call
- // Inline function 'kotlin.text.lowercase' call
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp$ret$6 = toString(otherUpper).toLowerCase();
- tmp = tmp_0 === charSequenceGet(tmp$ret$6, 0);
- }
- return tmp;
- }
-
- function get_HEX_DIGITS_TO_DECIMAL() {
- _init_properties_HexExtensions_kt__wu8rc3();
- return HEX_DIGITS_TO_DECIMAL;
- }
-
- var HEX_DIGITS_TO_DECIMAL;
-
- function get_LOWER_CASE_HEX_DIGITS() {
- return LOWER_CASE_HEX_DIGITS;
- }
-
- var LOWER_CASE_HEX_DIGITS;
-
- function get_UPPER_CASE_HEX_DIGITS() {
- return UPPER_CASE_HEX_DIGITS;
- }
-
- var UPPER_CASE_HEX_DIGITS;
- var properties_initialized_HexExtensions_kt_h16sbl;
-
- function _init_properties_HexExtensions_kt__wu8rc3() {
- if (!properties_initialized_HexExtensions_kt_h16sbl) {
- properties_initialized_HexExtensions_kt_h16sbl = true;
- // Inline function 'kotlin.apply' call
- var tmp = 0;
- var tmp_0 = new Int32Array(128);
- while (tmp < 128) {
- tmp_0[tmp] = -1;
- tmp = tmp + 1 | 0;
- }
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.HEX_DIGITS_TO_DECIMAL.' call
- // Inline function 'kotlin.text.forEachIndexed' call
- var index = 0;
- var indexedObject = '0123456789abcdef';
- var inductionVariable = 0;
- while (inductionVariable < charSequenceLength(indexedObject)) {
- var item = charSequenceGet(indexedObject, inductionVariable);
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.text.HEX_DIGITS_TO_DECIMAL..' call
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- // Inline function 'kotlin.code' call
- tmp_0[Char__toInt_impl_vasixd(item)] = tmp1;
- }
- // Inline function 'kotlin.text.forEachIndexed' call
- var index_0 = 0;
- var indexedObject_0 = '0123456789ABCDEF';
- var inductionVariable_0 = 0;
- while (inductionVariable_0 < charSequenceLength(indexedObject_0)) {
- var item_0 = charSequenceGet(indexedObject_0, inductionVariable_0);
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- // Inline function 'kotlin.text.HEX_DIGITS_TO_DECIMAL..' call
- var tmp1_0 = index_0;
- index_0 = tmp1_0 + 1 | 0;
- // Inline function 'kotlin.code' call
- tmp_0[Char__toInt_impl_vasixd(item_0)] = tmp1_0;
- }
- HEX_DIGITS_TO_DECIMAL = tmp_0;
- }
- }
-
- function trimIndent(_this__u8e3s4) {
- return replaceIndent(_this__u8e3s4, '');
- }
-
- function replaceIndent(_this__u8e3s4, newIndent) {
- newIndent = newIndent === VOID ? '' : newIndent;
- var lines_0 = lines(_this__u8e3s4);
- // Inline function 'kotlin.collections.map' call
- // Inline function 'kotlin.collections.filter' call
- // Inline function 'kotlin.collections.filterTo' call
- var destination = ArrayList_init_$Create$();
- var tmp0_iterator = lines_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.text.isNotBlank' call
- if (!isBlank(element)) {
- destination.add_utx5q5_k$(element);
- }
- }
- // Inline function 'kotlin.collections.mapTo' call
- var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
- var tmp0_iterator_0 = destination.iterator_jk1svi_k$();
- while (tmp0_iterator_0.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator_0.next_20eer_k$();
- var tmp$ret$3 = indentWidth(item);
- destination_0.add_utx5q5_k$(tmp$ret$3);
- }
- var tmp0_elvis_lhs = minOrNull(destination_0);
- var minCommonIndent = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
- // Inline function 'kotlin.text.reindent' call
- var resultSizeEstimate = _this__u8e3s4.length + imul(newIndent.length, lines_0.get_size_woubt6_k$()) | 0;
- var indentAddFunction = getIndentFunction(newIndent);
- var lastIndex = get_lastIndex_5(lines_0);
- // Inline function 'kotlin.collections.mapIndexedNotNull' call
- // Inline function 'kotlin.collections.mapIndexedNotNullTo' call
- var destination_1 = ArrayList_init_$Create$();
- // Inline function 'kotlin.collections.forEachIndexed' call
- var index = 0;
- var tmp0_iterator_1 = lines_0.iterator_jk1svi_k$();
- while (tmp0_iterator_1.hasNext_bitz1p_k$()) {
- var item_0 = tmp0_iterator_1.next_20eer_k$();
- // Inline function 'kotlin.collections.mapIndexedNotNullTo.' call
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- // Inline function 'kotlin.text.reindent.' call
- var index_0 = checkIndexOverflow(tmp1);
- var tmp;
- if ((index_0 === 0 ? true : index_0 === lastIndex) ? isBlank(item_0) : false) {
- tmp = null;
- } else {
- // Inline function 'kotlin.text.replaceIndent.' call
- var tmp0_safe_receiver = drop(item_0, minCommonIndent);
- var tmp_0;
- if (tmp0_safe_receiver == null) {
- tmp_0 = null;
- } else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- tmp_0 = indentAddFunction(tmp0_safe_receiver);
- }
- var tmp1_elvis_lhs = tmp_0;
- tmp = tmp1_elvis_lhs == null ? item_0 : tmp1_elvis_lhs;
- }
- var tmp0_safe_receiver_0 = tmp;
- if (tmp0_safe_receiver_0 == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- destination_1.add_utx5q5_k$(tmp0_safe_receiver_0);
- }
- }
- return joinTo_0(destination_1, StringBuilder_init_$Create$(resultSizeEstimate), '\n').toString();
- }
-
- function indentWidth(_this__u8e3s4) {
- // Inline function 'kotlin.let' call
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.text.indexOfFirst' call
- var inductionVariable = 0;
- var last = charSequenceLength(_this__u8e3s4) - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.text.indentWidth.' call
- var it = charSequenceGet(_this__u8e3s4, index);
- if (!isWhitespace(it)) {
- tmp$ret$1 = index;
- break $l$block;
- }
- }
- while (inductionVariable <= last);
- tmp$ret$1 = -1;
- }
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.indentWidth.' call
- var it_0 = tmp$ret$1;
- return it_0 === -1 ? _this__u8e3s4.length : it_0;
- }
-
- function reindent(_this__u8e3s4, resultSizeEstimate, indentAddFunction, indentCutFunction) {
- var lastIndex = get_lastIndex_5(_this__u8e3s4);
- // Inline function 'kotlin.collections.mapIndexedNotNull' call
- // Inline function 'kotlin.collections.mapIndexedNotNullTo' call
- var destination = ArrayList_init_$Create$();
- // Inline function 'kotlin.collections.forEachIndexed' call
- var index = 0;
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.collections.mapIndexedNotNullTo.' call
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- // Inline function 'kotlin.text.reindent.' call
- var index_0 = checkIndexOverflow(tmp1);
- var tmp;
- if ((index_0 === 0 ? true : index_0 === lastIndex) ? isBlank(item) : false) {
- tmp = null;
- } else {
- var tmp0_safe_receiver = indentCutFunction(item);
- var tmp_0;
- if (tmp0_safe_receiver == null) {
- tmp_0 = null;
- } else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- tmp_0 = indentAddFunction(tmp0_safe_receiver);
- }
- var tmp1_elvis_lhs = tmp_0;
- tmp = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
- }
- var tmp0_safe_receiver_0 = tmp;
- if (tmp0_safe_receiver_0 == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- destination.add_utx5q5_k$(tmp0_safe_receiver_0);
- }
- }
- return joinTo_0(destination, StringBuilder_init_$Create$(resultSizeEstimate), '\n').toString();
- }
-
- function getIndentFunction(indent) {
- var tmp;
- // Inline function 'kotlin.text.isEmpty' call
- if (charSequenceLength(indent) === 0) {
- tmp = getIndentFunction$lambda;
- } else {
- tmp = getIndentFunction$lambda_0(indent);
- }
- return tmp;
- }
-
- function getIndentFunction$lambda(line) {
- return line;
- }
-
- function getIndentFunction$lambda_0($indent) {
- return function (line) {
- return $indent + line;
- };
- }
-
- function buildString(builderAction) {
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.apply' call
- var this_0 = StringBuilder_init_$Create$_1();
- // Inline function 'kotlin.contracts.contract' call
- builderAction(this_0);
- return this_0.toString();
- }
-
- function appendLine_0(_this__u8e3s4) {
- return _this__u8e3s4.append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- }
-
- function appendLine_1(_this__u8e3s4, value) {
- // Inline function 'kotlin.text.appendLine' call
- return _this__u8e3s4.append_t8pm91_k$(value).append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- }
-
- function appendLine_2(_this__u8e3s4, value) {
- // Inline function 'kotlin.text.appendLine' call
- return _this__u8e3s4.append_22ad7x_k$(value).append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- }
-
- function toIntOrNull(_this__u8e3s4) {
- return toIntOrNull_0(_this__u8e3s4, 10);
- }
-
- function numberFormatError(input) {
- throw NumberFormatException_init_$Create$_0("Invalid number format: '" + input + "'");
- }
-
- function toIntOrNull_0(_this__u8e3s4, radix) {
- checkRadix(radix);
- var length = _this__u8e3s4.length;
- if (length === 0)
- return null;
- var start;
- var isNegative;
- var limit;
- var firstChar = charSequenceGet(_this__u8e3s4, 0);
- if (Char__compareTo_impl_ypi4mb(firstChar, _Char___init__impl__6a9atx(48)) < 0) {
- if (length === 1)
- return null;
- start = 1;
- if (firstChar === _Char___init__impl__6a9atx(45)) {
- isNegative = true;
- limit = IntCompanionObject_getInstance().get_MIN_VALUE_7nmmor_k$();
- } else if (firstChar === _Char___init__impl__6a9atx(43)) {
- isNegative = false;
- limit = -IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$() | 0;
- } else
- return null;
- } else {
- start = 0;
- isNegative = false;
- limit = -IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$() | 0;
- }
- var limitForMaxRadix = (-IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$() | 0) / 36 | 0;
- var limitBeforeMul = limitForMaxRadix;
- var result = 0;
- var inductionVariable = start;
- if (inductionVariable < length)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var digit = digitOf(charSequenceGet(_this__u8e3s4, i), radix);
- if (digit < 0)
- return null;
- if (result < limitBeforeMul) {
- if (limitBeforeMul === limitForMaxRadix) {
- limitBeforeMul = limit / radix | 0;
- if (result < limitBeforeMul) {
- return null;
- }
- } else {
- return null;
- }
- }
- result = imul(result, radix);
- if (result < (limit + digit | 0))
- return null;
- result = result - digit | 0;
- }
- while (inductionVariable < length);
- return isNegative ? result : -result | 0;
- }
-
- function isNotEmpty_0(_this__u8e3s4) {
- return charSequenceLength(_this__u8e3s4) > 0;
- }
-
- function contains_8(_this__u8e3s4, char, ignoreCase) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- return indexOf_6(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
- }
-
- function trimStart(_this__u8e3s4, chars) {
- // Inline function 'kotlin.text.trimStart' call
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.text.trimStart' call
- var this_0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
- var inductionVariable = 0;
- var last = charSequenceLength(this_0) - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.text.trimStart.' call
- var it = charSequenceGet(this_0, index);
- if (!contains_2(chars, it)) {
- tmp$ret$1 = charSequenceSubSequence(this_0, index, charSequenceLength(this_0));
- break $l$block;
- }
- }
- while (inductionVariable <= last);
- tmp$ret$1 = '';
- }
- return toString_1(tmp$ret$1);
- }
-
- function isEmpty_2(_this__u8e3s4) {
- return charSequenceLength(_this__u8e3s4) === 0;
- }
-
- function substring_1(_this__u8e3s4, startIndex, endIndex) {
- endIndex = endIndex === VOID ? charSequenceLength(_this__u8e3s4) : endIndex;
- return toString_1(charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex));
- }
-
- function isNullOrBlank(_this__u8e3s4) {
- // Inline function 'kotlin.contracts.contract' call
- return _this__u8e3s4 == null ? true : isBlank(_this__u8e3s4);
- }
-
- function split(_this__u8e3s4, regex, limit) {
- limit = limit === VOID ? 0 : limit;
- return regex.split_p7ck23_k$(_this__u8e3s4, limit);
- }
-
- function requireNonNegativeLimit(limit) {
- // Inline function 'kotlin.contracts.contract' call
- var tmp;
- if (!(limit >= 0)) {
- // Inline function 'kotlin.text.requireNonNegativeLimit.' call
- var message = 'Limit must be non-negative, but was ' + limit;
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- return tmp;
- }
-
- function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
- if (((otherOffset < 0 ? true : thisOffset < 0) ? true : thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0)) ? true : otherOffset > (charSequenceLength(other) - length | 0)) {
- return false;
- }
- var inductionVariable = 0;
- if (inductionVariable < length)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (!equals_0(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase))
- return false;
- }
- while (inductionVariable < length);
- return true;
- }
-
- function lines(_this__u8e3s4) {
- return toList_1(lineSequence(_this__u8e3s4));
- }
-
- function endsWith(_this__u8e3s4, char, ignoreCase) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- return charSequenceLength(_this__u8e3s4) > 0 ? equals_0(charSequenceGet(_this__u8e3s4, get_lastIndex_6(_this__u8e3s4)), char, ignoreCase) : false;
- }
-
- function isNotBlank(_this__u8e3s4) {
- return !isBlank(_this__u8e3s4);
- }
-
- function startsWith_0(_this__u8e3s4, char, ignoreCase) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- return charSequenceLength(_this__u8e3s4) > 0 ? equals_0(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase) : false;
- }
-
- function get_indices_7(_this__u8e3s4) {
- return numberRangeToNumber(0, charSequenceLength(_this__u8e3s4) - 1 | 0);
- }
-
- function iterator_1(_this__u8e3s4) {
- return new iterator$1(_this__u8e3s4);
- }
-
- function trimEnd(_this__u8e3s4, chars) {
- // Inline function 'kotlin.text.trimEnd' call
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.text.trimEnd' call
- var this_0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
- var inductionVariable = charSequenceLength(this_0) - 1 | 0;
- if (0 <= inductionVariable)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + -1 | 0;
- // Inline function 'kotlin.text.trimEnd.' call
- var it = charSequenceGet(this_0, index);
- if (!contains_2(chars, it)) {
- tmp$ret$1 = charSequenceSubSequence(this_0, 0, index + 1 | 0);
- break $l$block;
- }
- }
- while (0 <= inductionVariable);
- tmp$ret$1 = '';
- }
- return toString_1(tmp$ret$1);
- }
-
- function startsWith_1(_this__u8e3s4, prefix, startIndex, ignoreCase) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- var tmp;
- var tmp_0;
- if (!ignoreCase) {
- tmp_0 = typeof _this__u8e3s4 === 'string';
- } else {
- tmp_0 = false;
- }
- if (tmp_0) {
- tmp = typeof prefix === 'string';
- } else {
- tmp = false;
- }
- if (tmp)
- return startsWith(_this__u8e3s4, prefix, startIndex);
- else {
- return regionMatchesImpl(_this__u8e3s4, startIndex, prefix, 0, charSequenceLength(prefix), ignoreCase);
- }
- }
-
- function get_lastIndex_6(_this__u8e3s4) {
- return charSequenceLength(_this__u8e3s4) - 1 | 0;
- }
-
- function indexOf_5(_this__u8e3s4, string, startIndex, ignoreCase) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- var tmp;
- var tmp_0;
- if (ignoreCase) {
- tmp_0 = true;
- } else {
- tmp_0 = !(typeof _this__u8e3s4 === 'string');
- }
- if (tmp_0) {
- tmp = indexOf_7(_this__u8e3s4, string, startIndex, charSequenceLength(_this__u8e3s4), ignoreCase);
- } else {
- // Inline function 'kotlin.text.nativeIndexOf' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = _this__u8e3s4.indexOf(string, startIndex);
- }
- return tmp;
- }
-
- function lineSequence(_this__u8e3s4) {
- return splitToSequence(_this__u8e3s4, ['\r\n', '\n', '\r']);
- }
-
- function indexOf_6(_this__u8e3s4, char, startIndex, ignoreCase) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- var tmp;
- var tmp_0;
- if (ignoreCase) {
- tmp_0 = true;
- } else {
- tmp_0 = !(typeof _this__u8e3s4 === 'string');
- }
- if (tmp_0) {
- // Inline function 'kotlin.charArrayOf' call
- var tmp$ret$0 = charArrayOf_0([char]);
- tmp = indexOfAny(_this__u8e3s4, tmp$ret$0, startIndex, ignoreCase);
- } else {
- // Inline function 'kotlin.text.nativeIndexOf' call
- // Inline function 'kotlin.text.nativeIndexOf' call
- var str = toString(char);
- // Inline function 'kotlin.js.asDynamic' call
- tmp = _this__u8e3s4.indexOf(str, startIndex);
- }
- return tmp;
- }
-
- function trimStart_0(_this__u8e3s4, predicate) {
- var tmp$ret$0;
- $l$block: {
- // Inline function 'kotlin.text.trimStart' call
- var this_0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
- var inductionVariable = 0;
- var last = charSequenceLength(this_0) - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (!predicate(new Char(charSequenceGet(this_0, index)))) {
- tmp$ret$0 = charSequenceSubSequence(this_0, index, charSequenceLength(this_0));
- break $l$block;
- }
- }
- while (inductionVariable <= last);
- tmp$ret$0 = '';
- }
- return toString_1(tmp$ret$0);
- }
-
- function trimEnd_0(_this__u8e3s4, predicate) {
- var tmp$ret$0;
- $l$block: {
- // Inline function 'kotlin.text.trimEnd' call
- var this_0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
- var inductionVariable = charSequenceLength(this_0) - 1 | 0;
- if (0 <= inductionVariable)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + -1 | 0;
- if (!predicate(new Char(charSequenceGet(this_0, index)))) {
- tmp$ret$0 = charSequenceSubSequence(this_0, 0, index + 1 | 0);
- break $l$block;
- }
- }
- while (0 <= inductionVariable);
- tmp$ret$0 = '';
- }
- return toString_1(tmp$ret$0);
- }
-
- function indexOf_7(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) {
- last = last === VOID ? false : last;
- var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))) : downTo(coerceAtMost(startIndex, get_lastIndex_6(_this__u8e3s4)), coerceAtLeast(endIndex, 0));
- var tmp;
- if (typeof _this__u8e3s4 === 'string') {
- tmp = typeof other === 'string';
- } else {
- tmp = false;
- }
- if (tmp) {
- var inductionVariable = indices.get_first_irdx8n_k$();
- var last_0 = indices.get_last_wopotb_k$();
- var step = indices.get_step_woujh1_k$();
- if ((step > 0 ? inductionVariable <= last_0 : false) ? true : step < 0 ? last_0 <= inductionVariable : false)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + step | 0;
- if (regionMatches(other, 0, _this__u8e3s4, index, charSequenceLength(other), ignoreCase))
- return index;
- }
- while (!(index === last_0));
- } else {
- var inductionVariable_0 = indices.get_first_irdx8n_k$();
- var last_1 = indices.get_last_wopotb_k$();
- var step_0 = indices.get_step_woujh1_k$();
- if ((step_0 > 0 ? inductionVariable_0 <= last_1 : false) ? true : step_0 < 0 ? last_1 <= inductionVariable_0 : false)
- do {
- var index_0 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + step_0 | 0;
- if (regionMatchesImpl(other, 0, _this__u8e3s4, index_0, charSequenceLength(other), ignoreCase))
- return index_0;
- }
- while (!(index_0 === last_1));
- }
- return -1;
- }
-
- function splitToSequence(_this__u8e3s4, delimiters, ignoreCase, limit) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- limit = limit === VOID ? 0 : limit;
- var tmp = rangesDelimitedBy(_this__u8e3s4, delimiters, VOID, ignoreCase, limit);
- return map_0(tmp, splitToSequence$lambda(_this__u8e3s4));
- }
-
- function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- var tmp;
- if (!ignoreCase ? chars.length === 1 : false) {
- tmp = typeof _this__u8e3s4 === 'string';
- } else {
- tmp = false;
- }
- if (tmp) {
- var char = single(chars);
- // Inline function 'kotlin.text.nativeIndexOf' call
- // Inline function 'kotlin.text.nativeIndexOf' call
- var str = toString(char);
- // Inline function 'kotlin.js.asDynamic' call
- return _this__u8e3s4.indexOf(str, startIndex);
- }
- var inductionVariable = coerceAtLeast(startIndex, 0);
- var last = get_lastIndex_6(_this__u8e3s4);
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var charAtIndex = charSequenceGet(_this__u8e3s4, index);
- var tmp$ret$4;
- $l$block: {
- // Inline function 'kotlin.collections.any' call
- var inductionVariable_0 = 0;
- var last_0 = chars.length;
- while (inductionVariable_0 < last_0) {
- var element = chars[inductionVariable_0];
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- // Inline function 'kotlin.text.indexOfAny.' call
- if (equals_0(element, charAtIndex, ignoreCase)) {
- tmp$ret$4 = true;
- break $l$block;
- }
- }
- tmp$ret$4 = false;
- }
- if (tmp$ret$4)
- return index;
- }
- while (!(index === last));
- return -1;
- }
-
- function trimStart_1(_this__u8e3s4, predicate) {
- var inductionVariable = 0;
- var last = charSequenceLength(_this__u8e3s4) - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- if (!predicate(new Char(charSequenceGet(_this__u8e3s4, index))))
- return charSequenceSubSequence(_this__u8e3s4, index, charSequenceLength(_this__u8e3s4));
- }
- while (inductionVariable <= last);
- return '';
- }
-
- function trimEnd_1(_this__u8e3s4, predicate) {
- var inductionVariable = charSequenceLength(_this__u8e3s4) - 1 | 0;
- if (0 <= inductionVariable)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + -1 | 0;
- if (!predicate(new Char(charSequenceGet(_this__u8e3s4, index))))
- return charSequenceSubSequence(_this__u8e3s4, 0, index + 1 | 0);
- }
- while (0 <= inductionVariable);
- return '';
- }
-
- function substring_2(_this__u8e3s4, range) {
- return toString_1(charSequenceSubSequence(_this__u8e3s4, range.get_start_iypx6h_k$(), range.get_endInclusive_r07xpi_k$() + 1 | 0));
- }
-
- function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- limit = limit === VOID ? 0 : limit;
- requireNonNegativeLimit(limit);
- var delimitersList = asList(delimiters);
- return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
- }
-
- function calcNext_0($this) {
- if ($this.nextSearchIndex_1 < 0) {
- $this.nextState_1 = 0;
- $this.nextItem_1 = null;
- } else {
- var tmp;
- var tmp_0;
- if ($this.this$0__1.limit_1 > 0) {
- $this.counter_1 = $this.counter_1 + 1 | 0;
- tmp_0 = $this.counter_1 >= $this.this$0__1.limit_1;
- } else {
- tmp_0 = false;
- }
- if (tmp_0) {
- tmp = true;
- } else {
- tmp = $this.nextSearchIndex_1 > charSequenceLength($this.this$0__1.input_1);
- }
- if (tmp) {
- $this.nextItem_1 = numberRangeToNumber($this.currentStartIndex_1, get_lastIndex_6($this.this$0__1.input_1));
- $this.nextSearchIndex_1 = -1;
- } else {
- var match = $this.this$0__1.getNextMatch_1($this.this$0__1.input_1, $this.nextSearchIndex_1);
- if (match == null) {
- $this.nextItem_1 = numberRangeToNumber($this.currentStartIndex_1, get_lastIndex_6($this.this$0__1.input_1));
- $this.nextSearchIndex_1 = -1;
- } else {
- var index = match.component1_7eebsc_k$();
- var length = match.component2_7eebsb_k$();
- $this.nextItem_1 = until($this.currentStartIndex_1, index);
- $this.currentStartIndex_1 = index + length | 0;
- $this.nextSearchIndex_1 = $this.currentStartIndex_1 + (length === 0 ? 1 : 0) | 0;
- }
- }
- $this.nextState_1 = 1;
- }
- }
-
- function _get_input__g2gq7t($this) {
- return $this.input_1;
- }
-
- function _get_startIndex__44zw1n_0($this) {
- return $this.startIndex_1;
- }
-
- function _get_limit__eq4zuy($this) {
- return $this.limit_1;
- }
-
- function _get_getNextMatch__x9ep01($this) {
- return $this.getNextMatch_1;
- }
-
- function DelimitedRangesSequence$iterator$1(this$0) {
- this.this$0__1 = this$0;
- this.nextState_1 = -1;
- this.currentStartIndex_1 = coerceIn(this$0.startIndex_1, 0, charSequenceLength(this$0.input_1));
- this.nextSearchIndex_1 = this.currentStartIndex_1;
- this.nextItem_1 = null;
- this.counter_1 = 0;
- }
-
- protoOf(DelimitedRangesSequence$iterator$1).set_nextState_916f1j_k$ = function (_set____db54di) {
- this.nextState_1 = _set____db54di;
- };
- protoOf(DelimitedRangesSequence$iterator$1).get_nextState_sgmh11_k$ = function () {
- return this.nextState_1;
- };
- protoOf(DelimitedRangesSequence$iterator$1).set_currentStartIndex_nejvb8_k$ = function (_set____db54di) {
- this.currentStartIndex_1 = _set____db54di;
- };
- protoOf(DelimitedRangesSequence$iterator$1).get_currentStartIndex_vd7d4w_k$ = function () {
- return this.currentStartIndex_1;
- };
- protoOf(DelimitedRangesSequence$iterator$1).set_nextSearchIndex_hsfa4u_k$ = function (_set____db54di) {
- this.nextSearchIndex_1 = _set____db54di;
- };
- protoOf(DelimitedRangesSequence$iterator$1).get_nextSearchIndex_c7yeaa_k$ = function () {
- return this.nextSearchIndex_1;
- };
- protoOf(DelimitedRangesSequence$iterator$1).set_nextItem_21xw14_k$ = function (_set____db54di) {
- this.nextItem_1 = _set____db54di;
- };
- protoOf(DelimitedRangesSequence$iterator$1).get_nextItem_892p3l_k$ = function () {
- return this.nextItem_1;
- };
- protoOf(DelimitedRangesSequence$iterator$1).set_counter_gpekcp_k$ = function (_set____db54di) {
- this.counter_1 = _set____db54di;
- };
- protoOf(DelimitedRangesSequence$iterator$1).get_counter_h3tkwj_k$ = function () {
- return this.counter_1;
- };
- protoOf(DelimitedRangesSequence$iterator$1).next_20eer_k$ = function () {
- if (this.nextState_1 === -1) {
- calcNext_0(this);
- }
- if (this.nextState_1 === 0)
- throw NoSuchElementException_init_$Create$();
- var tmp = this.nextItem_1;
- var result = tmp instanceof IntRange ? tmp : THROW_CCE();
- this.nextItem_1 = null;
- this.nextState_1 = -1;
- return result;
- };
- protoOf(DelimitedRangesSequence$iterator$1).hasNext_bitz1p_k$ = function () {
- if (this.nextState_1 === -1) {
- calcNext_0(this);
- }
- return this.nextState_1 === 1;
- };
-
- function DelimitedRangesSequence(input, startIndex, limit, getNextMatch) {
- this.input_1 = input;
- this.startIndex_1 = startIndex;
- this.limit_1 = limit;
- this.getNextMatch_1 = getNextMatch;
- }
-
- protoOf(DelimitedRangesSequence).iterator_jk1svi_k$ = function () {
- return new DelimitedRangesSequence$iterator$1(this);
- };
-
- function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
- if (!ignoreCase ? strings.get_size_woubt6_k$() === 1 : false) {
- var string = single_0(strings);
- var index = !last ? indexOf_5(_this__u8e3s4, string, startIndex) : lastIndexOf_0(_this__u8e3s4, string, startIndex);
- return index < 0 ? null : to(index, string);
- }
- var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), charSequenceLength(_this__u8e3s4)) : downTo(coerceAtMost(startIndex, get_lastIndex_6(_this__u8e3s4)), 0);
- if (typeof _this__u8e3s4 === 'string') {
- var inductionVariable = indices.get_first_irdx8n_k$();
- var last_0 = indices.get_last_wopotb_k$();
- var step = indices.get_step_woujh1_k$();
- if ((step > 0 ? inductionVariable <= last_0 : false) ? true : step < 0 ? last_0 <= inductionVariable : false)
- do {
- var index_0 = inductionVariable;
- inductionVariable = inductionVariable + step | 0;
- var tmp$ret$1;
- $l$block: {
- // Inline function 'kotlin.collections.firstOrNull' call
- var tmp0_iterator = strings.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.text.findAnyOf.' call
- if (regionMatches(element, 0, _this__u8e3s4, index_0, element.length, ignoreCase)) {
- tmp$ret$1 = element;
- break $l$block;
- }
- }
- tmp$ret$1 = null;
- }
- var matchingString = tmp$ret$1;
- if (!(matchingString == null))
- return to(index_0, matchingString);
- }
- while (!(index_0 === last_0));
- } else {
- var inductionVariable_0 = indices.get_first_irdx8n_k$();
- var last_1 = indices.get_last_wopotb_k$();
- var step_0 = indices.get_step_woujh1_k$();
- if ((step_0 > 0 ? inductionVariable_0 <= last_1 : false) ? true : step_0 < 0 ? last_1 <= inductionVariable_0 : false)
- do {
- var index_1 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + step_0 | 0;
- var tmp$ret$3;
- $l$block_0: {
- // Inline function 'kotlin.collections.firstOrNull' call
- var tmp0_iterator_0 = strings.iterator_jk1svi_k$();
- while (tmp0_iterator_0.hasNext_bitz1p_k$()) {
- var element_0 = tmp0_iterator_0.next_20eer_k$();
- // Inline function 'kotlin.text.findAnyOf.' call
- if (regionMatchesImpl(element_0, 0, _this__u8e3s4, index_1, element_0.length, ignoreCase)) {
- tmp$ret$3 = element_0;
- break $l$block_0;
- }
- }
- tmp$ret$3 = null;
- }
- var matchingString_0 = tmp$ret$3;
- if (!(matchingString_0 == null))
- return to(index_1, matchingString_0);
- }
- while (!(index_1 === last_1));
- }
- return null;
- }
-
- function lastIndexOf_0(_this__u8e3s4, string, startIndex, ignoreCase) {
- startIndex = startIndex === VOID ? get_lastIndex_6(_this__u8e3s4) : startIndex;
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- var tmp;
- var tmp_0;
- if (ignoreCase) {
- tmp_0 = true;
- } else {
- tmp_0 = !(typeof _this__u8e3s4 === 'string');
- }
- if (tmp_0) {
- tmp = indexOf_7(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
- } else {
- // Inline function 'kotlin.text.nativeLastIndexOf' call
- // Inline function 'kotlin.js.asDynamic' call
- tmp = _this__u8e3s4.lastIndexOf(string, startIndex);
- }
- return tmp;
- }
-
- function _set_index__fyfqnn($this, _set____db54di) {
- $this.index_1 = _set____db54di;
- }
-
- function _get_index__g2optt_0($this) {
- return $this.index_1;
- }
-
- function iterator$1($this_iterator) {
- this.$this_iterator_1 = $this_iterator;
- CharIterator.call(this);
- this.index_1 = 0;
- }
-
- protoOf(iterator$1).nextChar_yvnk6j_k$ = function () {
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- return charSequenceGet(this.$this_iterator_1, tmp1);
- };
- protoOf(iterator$1).hasNext_bitz1p_k$ = function () {
- return this.index_1 < charSequenceLength(this.$this_iterator_1);
- };
-
- function splitToSequence$lambda($this_splitToSequence) {
- return function (it) {
- return substring_2($this_splitToSequence, it);
- };
- }
-
- function rangesDelimitedBy$lambda($delimitersList, $ignoreCase) {
- return function ($this$$receiver, currentIndex) {
- var tmp0_safe_receiver = findAnyOf($this$$receiver, $delimitersList, currentIndex, $ignoreCase, false);
- var tmp;
- if (tmp0_safe_receiver == null) {
- tmp = null;
- } else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.rangesDelimitedBy..' call
- tmp = to(tmp0_safe_receiver.get_first_irdx8n_k$(), tmp0_safe_receiver.get_second_jf7fjx_k$().length);
- }
- return tmp;
- };
- }
-
- function Destructured(match) {
- this.match_1 = match;
- }
-
- protoOf(Destructured).get_match_iv3el8_k$ = function () {
- return this.match_1;
- };
- protoOf(Destructured).component1_7eebsc_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(1);
- };
- protoOf(Destructured).component2_7eebsb_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(2);
- };
- protoOf(Destructured).component3_7eebsa_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(3);
- };
- protoOf(Destructured).component4_7eebs9_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(4);
- };
- protoOf(Destructured).component5_7eebs8_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(5);
- };
- protoOf(Destructured).component6_7eebs7_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(6);
- };
- protoOf(Destructured).component7_7eebs6_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(7);
- };
- protoOf(Destructured).component8_7eebs5_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(8);
- };
- protoOf(Destructured).component9_7eebs4_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(9);
- };
- protoOf(Destructured).component10_gazzfo_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().get_c1px32_k$(10);
- };
- protoOf(Destructured).toList_edfyo7_k$ = function () {
- return this.match_1.get_groupValues_rkv314_k$().subList_xle3r2_k$(1, this.match_1.get_groupValues_rkv314_k$().get_size_woubt6_k$());
- };
-
- function MatchResult() {
- }
-
- function MatchGroupCollection() {
- }
-
- function MatchNamedGroupCollection() {
- }
-
- function toRegex(_this__u8e3s4) {
- return Regex_init_$Create$_0(_this__u8e3s4);
- }
-
- function get_UNDEFINED_RESULT() {
- _init_properties_DeepRecursive_kt__zbwcac();
- return UNDEFINED_RESULT;
- }
-
- var UNDEFINED_RESULT;
- var properties_initialized_DeepRecursive_kt_5z0al2;
-
- function _init_properties_DeepRecursive_kt__zbwcac() {
- if (!properties_initialized_DeepRecursive_kt_5z0al2) {
- properties_initialized_DeepRecursive_kt_5z0al2 = true;
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance_16();
- var value = get_COROUTINE_SUSPENDED();
- UNDEFINED_RESULT = _Result___init__impl__xyqfz8(value);
- }
- }
-
- function hashCode_1(_this__u8e3s4) {
- var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : hashCode(_this__u8e3s4);
- return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
- }
-
- function getValue(_this__u8e3s4, thisRef, property) {
- return _this__u8e3s4.get_value_j01efc_k$();
- }
-
- function Lazy() {
- }
-
- var LazyThreadSafetyMode_SYNCHRONIZED_instance;
- var LazyThreadSafetyMode_PUBLICATION_instance;
- var LazyThreadSafetyMode_NONE_instance;
-
- function values_8() {
- return [LazyThreadSafetyMode_SYNCHRONIZED_getInstance(), LazyThreadSafetyMode_PUBLICATION_getInstance(), LazyThreadSafetyMode_NONE_getInstance()];
- }
-
- function valueOf_8(value) {
- switch (value) {
- case 'SYNCHRONIZED':
- return LazyThreadSafetyMode_SYNCHRONIZED_getInstance();
- case 'PUBLICATION':
- return LazyThreadSafetyMode_PUBLICATION_getInstance();
- case 'NONE':
- return LazyThreadSafetyMode_NONE_getInstance();
- default:
- LazyThreadSafetyMode_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- function get_entries_8() {
- if ($ENTRIES_8 == null)
- $ENTRIES_8 = enumEntries(values_8());
- return $ENTRIES_8;
- }
-
- var LazyThreadSafetyMode_entriesInitialized;
-
- function LazyThreadSafetyMode_initEntries() {
- if (LazyThreadSafetyMode_entriesInitialized)
- return Unit_getInstance();
- LazyThreadSafetyMode_entriesInitialized = true;
- LazyThreadSafetyMode_SYNCHRONIZED_instance = new LazyThreadSafetyMode('SYNCHRONIZED', 0);
- LazyThreadSafetyMode_PUBLICATION_instance = new LazyThreadSafetyMode('PUBLICATION', 1);
- LazyThreadSafetyMode_NONE_instance = new LazyThreadSafetyMode('NONE', 2);
- }
-
- var $ENTRIES_8;
-
- function LazyThreadSafetyMode(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- function _set__value__3j54pn($this, _set____db54di) {
- $this._value_1 = _set____db54di;
- }
-
- function _get__value__22ek2v($this) {
- return $this._value_1;
- }
-
- function writeReplace_1($this) {
- return new InitializedLazyImpl($this.get_value_j01efc_k$());
- }
-
- function UnsafeLazyImpl(initializer) {
- this.initializer_1 = initializer;
- this._value_1 = UNINITIALIZED_VALUE_getInstance();
- }
-
- protoOf(UnsafeLazyImpl).set_initializer_ttyhmc_k$ = function (_set____db54di) {
- this.initializer_1 = _set____db54di;
- };
- protoOf(UnsafeLazyImpl).get_initializer_yawku1_k$ = function () {
- return this.initializer_1;
- };
- protoOf(UnsafeLazyImpl).get_value_j01efc_k$ = function () {
- if (this._value_1 === UNINITIALIZED_VALUE_getInstance()) {
- this._value_1 = ensureNotNull(this.initializer_1)();
- this.initializer_1 = null;
- }
- var tmp = this._value_1;
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
- };
- protoOf(UnsafeLazyImpl).isInitialized_2wsk3a_k$ = function () {
- return !(this._value_1 === UNINITIALIZED_VALUE_getInstance());
- };
- protoOf(UnsafeLazyImpl).toString = function () {
- return this.isInitialized_2wsk3a_k$() ? toString_0(this.get_value_j01efc_k$()) : 'Lazy value not initialized yet.';
- };
-
- function UNINITIALIZED_VALUE() {
- UNINITIALIZED_VALUE_instance = this;
- }
-
- var UNINITIALIZED_VALUE_instance;
-
- function UNINITIALIZED_VALUE_getInstance() {
- if (UNINITIALIZED_VALUE_instance == null)
- new UNINITIALIZED_VALUE();
- return UNINITIALIZED_VALUE_instance;
- }
-
- function InitializedLazyImpl(value) {
- this.value_1 = value;
- }
-
- protoOf(InitializedLazyImpl).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- protoOf(InitializedLazyImpl).isInitialized_2wsk3a_k$ = function () {
- return true;
- };
- protoOf(InitializedLazyImpl).toString = function () {
- return toString_0(this.value_1);
- };
-
- function LazyThreadSafetyMode_SYNCHRONIZED_getInstance() {
- LazyThreadSafetyMode_initEntries();
- return LazyThreadSafetyMode_SYNCHRONIZED_instance;
- }
-
- function LazyThreadSafetyMode_PUBLICATION_getInstance() {
- LazyThreadSafetyMode_initEntries();
- return LazyThreadSafetyMode_PUBLICATION_instance;
- }
-
- function LazyThreadSafetyMode_NONE_getInstance() {
- LazyThreadSafetyMode_initEntries();
- return LazyThreadSafetyMode_NONE_instance;
- }
-
- function check(value) {
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!value) {
- // Inline function 'kotlin.check.' call
- var message = 'Check failed.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- }
-
- function require_0(value) {
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!value) {
- // Inline function 'kotlin.require.' call
- var message = 'Failed requirement.';
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- }
-
- function error(message) {
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
-
- function check_0(value, lazyMessage) {
- // Inline function 'kotlin.contracts.contract' call
- if (!value) {
- var message = lazyMessage();
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- }
-
- function require_1(value, lazyMessage) {
- // Inline function 'kotlin.contracts.contract' call
- if (!value) {
- var message = lazyMessage();
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
- }
- }
-
- function _Result___init__impl__xyqfz8(value) {
- return value;
- }
-
- function _Result___get_value__impl__bjfvqg($this) {
- return $this;
- }
-
- function _Result___get_isSuccess__impl__sndoy8($this) {
- var tmp = _Result___get_value__impl__bjfvqg($this);
- return !(tmp instanceof Failure);
- }
-
- function _Result___get_isFailure__impl__jpiriv($this) {
- var tmp = _Result___get_value__impl__bjfvqg($this);
- return tmp instanceof Failure;
- }
-
- function Result__getOrNull_impl_x6tyqe($this) {
- var tmp;
- if (_Result___get_isFailure__impl__jpiriv($this)) {
- tmp = null;
- } else {
- var tmp_0 = _Result___get_value__impl__bjfvqg($this);
- tmp = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
- }
- return tmp;
- }
-
- function Result__exceptionOrNull_impl_p6xea9($this) {
- var tmp;
- if (_Result___get_value__impl__bjfvqg($this) instanceof Failure) {
- tmp = _Result___get_value__impl__bjfvqg($this).exception_1;
- } else {
- tmp = null;
- }
- return tmp;
- }
-
- function Result__toString_impl_yu5r8k($this) {
- var tmp;
- if (_Result___get_value__impl__bjfvqg($this) instanceof Failure) {
- tmp = toString_1(_Result___get_value__impl__bjfvqg($this));
- } else {
- tmp = 'Success(' + toString_0(_Result___get_value__impl__bjfvqg($this)) + ')';
- }
- return tmp;
- }
-
- function Companion_16() {
- Companion_instance_16 = this;
- }
-
- protoOf(Companion_16).success_e7oken_k$ = function (value) {
- return _Result___init__impl__xyqfz8(value);
- };
- protoOf(Companion_16).failure_vz4kdm_k$ = function (exception) {
- return _Result___init__impl__xyqfz8(createFailure(exception));
- };
- var Companion_instance_16;
-
- function Companion_getInstance_16() {
- if (Companion_instance_16 == null)
- new Companion_16();
- return Companion_instance_16;
- }
-
- function Failure(exception) {
- this.exception_1 = exception;
- }
-
- protoOf(Failure).get_exception_x0n6w6_k$ = function () {
- return this.exception_1;
- };
- protoOf(Failure).equals = function (other) {
- var tmp;
- if (other instanceof Failure) {
- tmp = equals(this.exception_1, other.exception_1);
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(Failure).hashCode = function () {
- return hashCode(this.exception_1);
- };
- protoOf(Failure).toString = function () {
- return 'Failure(' + this.exception_1 + ')';
- };
-
- function Result__hashCode_impl_d2zufp($this) {
- return $this == null ? 0 : hashCode($this);
- }
-
- function Result__equals_impl_bxgmep($this, other) {
- if (!(other instanceof Result))
- return false;
- var tmp0_other_with_cast = other instanceof Result ? other.value_1 : THROW_CCE();
- if (!equals($this, tmp0_other_with_cast))
- return false;
- return true;
- }
-
- function Result(value) {
- Companion_getInstance_16();
- this.value_1 = value;
- }
-
- protoOf(Result).toString = function () {
- return Result__toString_impl_yu5r8k(this.value_1);
- };
- protoOf(Result).hashCode = function () {
- return Result__hashCode_impl_d2zufp(this.value_1);
- };
- protoOf(Result).equals = function (other) {
- return Result__equals_impl_bxgmep(this.value_1, other);
- };
-
- function getOrThrow(_this__u8e3s4) {
- throwOnFailure(_this__u8e3s4);
- var tmp = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
- }
-
- function createFailure(exception) {
- return new Failure(exception);
- }
-
- function throwOnFailure(_this__u8e3s4) {
- var tmp = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
- if (tmp instanceof Failure)
- throw _Result___get_value__impl__bjfvqg(_this__u8e3s4).exception_1;
- }
-
- function map_2(_this__u8e3s4, transform) {
- // Inline function 'kotlin.contracts.contract' call
- var tmp;
- if (_Result___get_isSuccess__impl__sndoy8(_this__u8e3s4)) {
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance_16();
- var tmp_0 = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
- var value = transform((tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE());
- tmp = _Result___init__impl__xyqfz8(value);
- } else {
- tmp = _Result___init__impl__xyqfz8(_Result___get_value__impl__bjfvqg(_this__u8e3s4));
- }
- return tmp;
- }
-
- function run(block) {
- // Inline function 'kotlin.contracts.contract' call
- return block();
- }
-
- function let_0(_this__u8e3s4, block) {
- // Inline function 'kotlin.contracts.contract' call
- return block(_this__u8e3s4);
- }
-
- function apply(_this__u8e3s4, block) {
- // Inline function 'kotlin.contracts.contract' call
- block(_this__u8e3s4);
- return _this__u8e3s4;
- }
-
- function TODO() {
- throw new NotImplementedError();
- }
-
- function NotImplementedError(message) {
- message = message === VOID ? 'An operation is not implemented.' : message;
- Error_init_$Init$_0(message, this);
- captureStack(this, NotImplementedError);
- }
-
- function run_0(_this__u8e3s4, block) {
- // Inline function 'kotlin.contracts.contract' call
- return block(_this__u8e3s4);
- }
-
- function with_0(receiver, block) {
- // Inline function 'kotlin.contracts.contract' call
- return block(receiver);
- }
-
- function repeat_0(times, action) {
- // Inline function 'kotlin.contracts.contract' call
- var inductionVariable = 0;
- if (inductionVariable < times)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- action(index);
- }
- while (inductionVariable < times);
- }
-
- function TODO_0(reason) {
- throw new NotImplementedError('An operation is not implemented: ' + reason);
- }
-
- function also(_this__u8e3s4, block) {
- // Inline function 'kotlin.contracts.contract' call
- block(_this__u8e3s4);
- return _this__u8e3s4;
- }
-
- function Pair(first, second) {
- this.first_1 = first;
- this.second_1 = second;
- }
-
- protoOf(Pair).get_first_irdx8n_k$ = function () {
- return this.first_1;
- };
- protoOf(Pair).get_second_jf7fjx_k$ = function () {
- return this.second_1;
- };
- protoOf(Pair).toString = function () {
- return '(' + this.first_1 + ', ' + this.second_1 + ')';
- };
- protoOf(Pair).component1_7eebsc_k$ = function () {
- return this.first_1;
- };
- protoOf(Pair).component2_7eebsb_k$ = function () {
- return this.second_1;
- };
- protoOf(Pair).copy_uni6vi_k$ = function (first, second) {
- return new Pair(first, second);
- };
- protoOf(Pair).copy$default_iufz9c_k$ = function (first, second, $super) {
- first = first === VOID ? this.first_1 : first;
- second = second === VOID ? this.second_1 : second;
- return $super === VOID ? this.copy_uni6vi_k$(first, second) : $super.copy_uni6vi_k$.call(this, first, second);
- };
- protoOf(Pair).hashCode = function () {
- var result = this.first_1 == null ? 0 : hashCode(this.first_1);
- result = imul(result, 31) + (this.second_1 == null ? 0 : hashCode(this.second_1)) | 0;
- return result;
- };
- protoOf(Pair).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof Pair))
- return false;
- var tmp0_other_with_cast = other instanceof Pair ? other : THROW_CCE();
- if (!equals(this.first_1, tmp0_other_with_cast.first_1))
- return false;
- if (!equals(this.second_1, tmp0_other_with_cast.second_1))
- return false;
- return true;
- };
-
- function to(_this__u8e3s4, that) {
- return new Pair(_this__u8e3s4, that);
- }
-
- function _UByte___init__impl__g9hnc4(data) {
- return data;
- }
-
- function _UByte___get_data__impl__jof9qr($this) {
- return $this;
- }
-
- function Companion_17() {
- Companion_instance_17 = this;
- this.MIN_VALUE_1 = _UByte___init__impl__g9hnc4(0);
- this.MAX_VALUE_1 = _UByte___init__impl__g9hnc4(-1);
- this.SIZE_BYTES_1 = 1;
- this.SIZE_BITS_1 = 8;
- }
-
- protoOf(Companion_17).get_MIN_VALUE_phf8xi_k$ = function () {
- return this.MIN_VALUE_1;
- };
- protoOf(Companion_17).get_MAX_VALUE_53rlic_k$ = function () {
- return this.MAX_VALUE_1;
- };
- protoOf(Companion_17).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES_1;
- };
- protoOf(Companion_17).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS_1;
- };
- var Companion_instance_17;
-
- function Companion_getInstance_17() {
- if (Companion_instance_17 == null)
- new Companion_17();
- return Companion_instance_17;
- }
-
- function UByte__compareTo_impl_5w5192($this, other) {
- // Inline function 'kotlin.UByte.toInt' call
- var tmp = _UByte___get_data__impl__jof9qr($this) & 255;
- // Inline function 'kotlin.UByte.toInt' call
- var tmp$ret$1 = _UByte___get_data__impl__jof9qr(other) & 255;
- return compareTo(tmp, tmp$ret$1);
- }
-
- function UByte__compareTo_impl_5w5192_0($this, other) {
- return UByte__compareTo_impl_5w5192($this.data_1, other instanceof UByte ? other.data_1 : THROW_CCE());
- }
-
- function UByte__compareTo_impl_5w5192_1($this, other) {
- // Inline function 'kotlin.UByte.toInt' call
- var tmp = _UByte___get_data__impl__jof9qr($this) & 255;
- // Inline function 'kotlin.UShort.toInt' call
- var tmp$ret$1 = _UShort___get_data__impl__g0245(other) & 65535;
- return compareTo(tmp, tmp$ret$1);
- }
-
- function UByte__compareTo_impl_5w5192_2($this, other) {
- // Inline function 'kotlin.UInt.compareTo' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- return uintCompare(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other));
- }
-
- function UByte__compareTo_impl_5w5192_3($this, other) {
- // Inline function 'kotlin.ULong.compareTo' call
- // Inline function 'kotlin.UByte.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0)));
- return ulongCompare(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(other));
- }
-
- function UByte__plus_impl_y9dsom($this, other) {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) + _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UByte__plus_impl_y9dsom_0($this, other) {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) + _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UByte__plus_impl_y9dsom_1($this, other) {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) + _UInt___get_data__impl__f0vqqw(other) | 0);
- }
-
- function UByte__plus_impl_y9dsom_2($this, other) {
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.UByte.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function UByte__minus_impl_qw5fay($this, other) {
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) - _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UByte__minus_impl_qw5fay_0($this, other) {
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) - _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UByte__minus_impl_qw5fay_1($this, other) {
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) - _UInt___get_data__impl__f0vqqw(other) | 0);
- }
-
- function UByte__minus_impl_qw5fay_2($this, other) {
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UByte.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function UByte__times_impl_olmv1g($this, other) {
- // Inline function 'kotlin.UInt.times' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other_0)));
- }
-
- function UByte__times_impl_olmv1g_0($this, other) {
- // Inline function 'kotlin.UInt.times' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other_0)));
- }
-
- function UByte__times_impl_olmv1g_1($this, other) {
- // Inline function 'kotlin.UInt.times' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- return _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other)));
- }
-
- function UByte__times_impl_olmv1g_2($this, other) {
- // Inline function 'kotlin.ULong.times' call
- // Inline function 'kotlin.UByte.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).times_nfzjiw_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function UByte__div_impl_fvt4lj($this, other) {
- // Inline function 'kotlin.UInt.div' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintDivide(this_0, other_0);
- }
-
- function UByte__div_impl_fvt4lj_0($this, other) {
- // Inline function 'kotlin.UInt.div' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintDivide(this_0, other_0);
- }
-
- function UByte__div_impl_fvt4lj_1($this, other) {
- // Inline function 'kotlin.UInt.div' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- return uintDivide(this_0, other);
- }
-
- function UByte__div_impl_fvt4lj_2($this, other) {
- // Inline function 'kotlin.ULong.div' call
- // Inline function 'kotlin.UByte.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0)));
- return ulongDivide(this_0, other);
- }
-
- function UByte__rem_impl_uhmi28($this, other) {
- // Inline function 'kotlin.UInt.rem' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintRemainder(this_0, other_0);
- }
-
- function UByte__rem_impl_uhmi28_0($this, other) {
- // Inline function 'kotlin.UInt.rem' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintRemainder(this_0, other_0);
- }
-
- function UByte__rem_impl_uhmi28_1($this, other) {
- // Inline function 'kotlin.UInt.rem' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- return uintRemainder(this_0, other);
- }
-
- function UByte__rem_impl_uhmi28_2($this, other) {
- // Inline function 'kotlin.ULong.rem' call
- // Inline function 'kotlin.UByte.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0)));
- return ulongRemainder(this_0, other);
- }
-
- function UByte__floorDiv_impl_twf9fv($this, other) {
- // Inline function 'kotlin.UInt.floorDiv' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UByte.toUInt' call
- // Inline function 'kotlin.UInt.div' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintDivide(this_0, other_0);
- }
-
- function UByte__floorDiv_impl_twf9fv_0($this, other) {
- // Inline function 'kotlin.UInt.floorDiv' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UShort.toUInt' call
- // Inline function 'kotlin.UInt.div' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintDivide(this_0, other_0);
- }
-
- function UByte__floorDiv_impl_twf9fv_1($this, other) {
- // Inline function 'kotlin.UInt.floorDiv' call
- // Inline function 'kotlin.UByte.toUInt' call
- // Inline function 'kotlin.UInt.div' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- return uintDivide(this_0, other);
- }
-
- function UByte__floorDiv_impl_twf9fv_2($this, other) {
- // Inline function 'kotlin.ULong.floorDiv' call
- // Inline function 'kotlin.UByte.toULong' call
- // Inline function 'kotlin.ULong.div' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0)));
- return ulongDivide(this_0, other);
- }
-
- function UByte__mod_impl_w36moo($this, other) {
- // Inline function 'kotlin.UInt.toUByte' call
- // Inline function 'kotlin.UInt.mod' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UByte.toUInt' call
- // Inline function 'kotlin.UInt.rem' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- var this_1 = uintRemainder(this_0, other_0);
- // Inline function 'kotlin.toUByte' call
- var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
- return _UByte___init__impl__g9hnc4(toByte(this_2));
- }
-
- function UByte__mod_impl_w36moo_0($this, other) {
- // Inline function 'kotlin.UInt.toUShort' call
- // Inline function 'kotlin.UInt.mod' call
- // Inline function 'kotlin.UByte.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UShort.toUInt' call
- // Inline function 'kotlin.UInt.rem' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- var this_1 = uintRemainder(this_0, other_0);
- // Inline function 'kotlin.toUShort' call
- var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
- return _UShort___init__impl__jigrne(toShort(this_2));
- }
-
- function UByte__mod_impl_w36moo_1($this, other) {
- // Inline function 'kotlin.UInt.mod' call
- // Inline function 'kotlin.UByte.toUInt' call
- // Inline function 'kotlin.UInt.rem' call
- var this_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- return uintRemainder(this_0, other);
- }
-
- function UByte__mod_impl_w36moo_2($this, other) {
- // Inline function 'kotlin.ULong.mod' call
- // Inline function 'kotlin.UByte.toULong' call
- // Inline function 'kotlin.ULong.rem' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0)));
- return ulongRemainder(this_0, other);
- }
-
- function UByte__inc_impl_kgwblg($this) {
- return _UByte___init__impl__g9hnc4(numberToByte(_UByte___get_data__impl__jof9qr($this) + 1));
- }
-
- function UByte__dec_impl_ck5108($this) {
- return _UByte___init__impl__g9hnc4(numberToByte(_UByte___get_data__impl__jof9qr($this) - 1));
- }
-
- function UByte__rangeTo_impl_pp550u($this, other) {
- // Inline function 'kotlin.UByte.toUInt' call
- var tmp = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UByte.toUInt' call
- var tmp$ret$1 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return new UIntRange(tmp, tmp$ret$1);
- }
-
- function UByte__rangeUntil_impl_1g69sf($this, other) {
- // Inline function 'kotlin.UByte.toUInt' call
- var tmp = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- // Inline function 'kotlin.UByte.toUInt' call
- var tmp$ret$1 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return until_16(tmp, tmp$ret$1);
- }
-
- function UByte__and_impl_xjlq7n($this, other) {
- // Inline function 'kotlin.experimental.and' call
- var this_0 = _UByte___get_data__impl__jof9qr($this);
- var other_0 = _UByte___get_data__impl__jof9qr(other);
- var tmp$ret$0 = toByte(this_0 & other_0);
- return _UByte___init__impl__g9hnc4(tmp$ret$0);
- }
-
- function UByte__or_impl_hh1w25($this, other) {
- // Inline function 'kotlin.experimental.or' call
- var this_0 = _UByte___get_data__impl__jof9qr($this);
- var other_0 = _UByte___get_data__impl__jof9qr(other);
- var tmp$ret$0 = toByte(this_0 | other_0);
- return _UByte___init__impl__g9hnc4(tmp$ret$0);
- }
-
- function UByte__xor_impl_7gv2lr($this, other) {
- // Inline function 'kotlin.experimental.xor' call
- var this_0 = _UByte___get_data__impl__jof9qr($this);
- var other_0 = _UByte___get_data__impl__jof9qr(other);
- var tmp$ret$0 = toByte(this_0 ^ other_0);
- return _UByte___init__impl__g9hnc4(tmp$ret$0);
- }
-
- function UByte__inv_impl_bh1i3r($this) {
- // Inline function 'kotlin.experimental.inv' call
- var this_0 = _UByte___get_data__impl__jof9qr($this);
- var tmp$ret$0 = toByte(~this_0);
- return _UByte___init__impl__g9hnc4(tmp$ret$0);
- }
-
- function UByte__toByte_impl_h2o6a5($this) {
- return _UByte___get_data__impl__jof9qr($this);
- }
-
- function UByte__toShort_impl_3us8xj($this) {
- // Inline function 'kotlin.experimental.and' call
- var this_0 = _UByte___get_data__impl__jof9qr($this);
- return toShort(this_0 & 255);
- }
-
- function UByte__toInt_impl_5nso52($this) {
- return _UByte___get_data__impl__jof9qr($this) & 255;
- }
-
- function UByte__toLong_impl_hwyqzr($this) {
- return toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0));
- }
-
- function UByte__toUByte_impl_fekj48($this) {
- return $this;
- }
-
- function UByte__toUShort_impl_ff6uy6($this) {
- // Inline function 'kotlin.experimental.and' call
- var this_0 = _UByte___get_data__impl__jof9qr($this);
- var tmp$ret$0 = toShort(this_0 & 255);
- return _UShort___init__impl__jigrne(tmp$ret$0);
- }
-
- function UByte__toUInt_impl_qgytr9($this) {
- return _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr($this) & 255);
- }
-
- function UByte__toULong_impl_jl2e5o($this) {
- return _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr($this)).and_4spn93_k$(new Long(255, 0)));
- }
-
- function UByte__toFloat_impl_ogkoa1($this) {
- // Inline function 'kotlin.UByte.toInt' call
- return _UByte___get_data__impl__jof9qr($this) & 255;
- }
-
- function UByte__toDouble_impl_2n4zfg($this) {
- // Inline function 'kotlin.UByte.toInt' call
- return _UByte___get_data__impl__jof9qr($this) & 255;
- }
-
- function UByte__toString_impl_v72jg($this) {
- // Inline function 'kotlin.UByte.toInt' call
- return (_UByte___get_data__impl__jof9qr($this) & 255).toString();
- }
-
- function UByte__hashCode_impl_mmczcb($this) {
- return $this;
- }
-
- function UByte__equals_impl_nvqtsf($this, other) {
- if (!(other instanceof UByte))
- return false;
- if (!($this === (other instanceof UByte ? other.data_1 : THROW_CCE())))
- return false;
- return true;
- }
-
- function UByte(data) {
- Companion_getInstance_17();
- this.data_1 = data;
- }
-
- protoOf(UByte).compareTo_ubn76t_k$ = function (other) {
- return UByte__compareTo_impl_5w5192(this.data_1, other);
- };
- protoOf(UByte).compareTo_hpufkf_k$ = function (other) {
- return UByte__compareTo_impl_5w5192_0(this, other);
- };
- protoOf(UByte).toString = function () {
- return UByte__toString_impl_v72jg(this.data_1);
- };
- protoOf(UByte).hashCode = function () {
- return UByte__hashCode_impl_mmczcb(this.data_1);
- };
- protoOf(UByte).equals = function (other) {
- return UByte__equals_impl_nvqtsf(this.data_1, other);
- };
-
- function toUByte(_this__u8e3s4) {
- return _UByte___init__impl__g9hnc4(toByte(_this__u8e3s4));
- }
-
- function toUByte_0(_this__u8e3s4) {
- return _UByte___init__impl__g9hnc4(toByte(_this__u8e3s4));
- }
-
- function toUByte_1(_this__u8e3s4) {
- return _UByte___init__impl__g9hnc4(_this__u8e3s4.toByte_edm0nx_k$());
- }
-
- function toUByte_2(_this__u8e3s4) {
- return _UByte___init__impl__g9hnc4(_this__u8e3s4);
- }
-
- function _get_array__jslnqg_0($this) {
- return $this.array_1;
- }
-
- function _set_index__fyfqnn_0($this, _set____db54di) {
- $this.index_1 = _set____db54di;
- }
-
- function _get_index__g2optt_1($this) {
- return $this.index_1;
- }
-
- function _UByteArray___init__impl__ip4y9n(storage) {
- return storage;
- }
-
- function _UByteArray___get_storage__impl__d4kctt($this) {
- return $this;
- }
-
- function _UByteArray___init__impl__ip4y9n_0(size) {
- return _UByteArray___init__impl__ip4y9n(new Int8Array(size));
- }
-
- function UByteArray__get_impl_t5f3hv($this, index) {
- // Inline function 'kotlin.toUByte' call
- var this_0 = _UByteArray___get_storage__impl__d4kctt($this)[index];
- return _UByte___init__impl__g9hnc4(this_0);
- }
-
- function UByteArray__set_impl_jvcicn($this, index, value) {
- var tmp = _UByteArray___get_storage__impl__d4kctt($this);
- // Inline function 'kotlin.UByte.toByte' call
- tmp[index] = _UByte___get_data__impl__jof9qr(value);
- }
-
- function _UByteArray___get_size__impl__h6pkdv($this) {
- return _UByteArray___get_storage__impl__d4kctt($this).length;
- }
-
- function UByteArray__iterator_impl_509y1p($this) {
- return new Iterator_0(_UByteArray___get_storage__impl__d4kctt($this));
- }
-
- function Iterator_0(array) {
- this.array_1 = array;
- this.index_1 = 0;
- }
-
- protoOf(Iterator_0).hasNext_bitz1p_k$ = function () {
- return this.index_1 < this.array_1.length;
- };
- protoOf(Iterator_0).next_mib1ya_k$ = function () {
- var tmp;
- if (this.index_1 < this.array_1.length) {
- // Inline function 'kotlin.toUByte' call
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- var this_0 = this.array_1[tmp1];
- tmp = _UByte___init__impl__g9hnc4(this_0);
- } else {
- throw NoSuchElementException_init_$Create$_0(this.index_1.toString());
- }
- return tmp;
- };
- protoOf(Iterator_0).next_20eer_k$ = function () {
- return new UByte(this.next_mib1ya_k$());
- };
-
- function UByteArray__contains_impl_njh19q($this, element) {
- var tmp = !(new UByte(element) == null) ? new UByte(element) : THROW_CCE();
- if (!(tmp instanceof UByte))
- return false;
- var tmp_0 = _UByteArray___get_storage__impl__d4kctt($this);
- // Inline function 'kotlin.UByte.toByte' call
- var tmp$ret$0 = _UByte___get_data__impl__jof9qr(element);
- return contains_3(tmp_0, tmp$ret$0);
- }
-
- function UByteArray__contains_impl_njh19q_0($this, element) {
- if (!(element instanceof UByte))
- return false;
- return UByteArray__contains_impl_njh19q($this.storage_1, element instanceof UByte ? element.data_1 : THROW_CCE());
- }
-
- function UByteArray__containsAll_impl_v9s6dj($this, elements) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.all' call
- var this_0 = isInterface(elements, Collection) ? elements : THROW_CCE();
- var tmp;
- if (isInterface(this_0, Collection)) {
- tmp = this_0.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- var tmp0_iterator = this_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.UByteArray.containsAll.' call
- var tmp_0;
- if (element instanceof UByte) {
- var tmp_1 = _UByteArray___get_storage__impl__d4kctt($this);
- // Inline function 'kotlin.UByte.toByte' call
- var this_1 = element.data_1;
- var tmp$ret$1 = _UByte___get_data__impl__jof9qr(this_1);
- tmp_0 = contains_3(tmp_1, tmp$ret$1);
- } else {
- tmp_0 = false;
- }
- if (!tmp_0) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- }
- tmp$ret$0 = true;
- }
- return tmp$ret$0;
- }
-
- function UByteArray__containsAll_impl_v9s6dj_0($this, elements) {
- return UByteArray__containsAll_impl_v9s6dj($this.storage_1, elements);
- }
-
- function UByteArray__isEmpty_impl_nbfqsa($this) {
- return _UByteArray___get_storage__impl__d4kctt($this).length === 0;
- }
-
- function UByteArray__toString_impl_ukpl97($this) {
- return 'UByteArray(storage=' + toString_1($this) + ')';
- }
-
- function UByteArray__hashCode_impl_ip8jx2($this) {
- return hashCode($this);
- }
-
- function UByteArray__equals_impl_roka4u($this, other) {
- if (!(other instanceof UByteArray))
- return false;
- var tmp0_other_with_cast = other instanceof UByteArray ? other.storage_1 : THROW_CCE();
- if (!equals($this, tmp0_other_with_cast))
- return false;
- return true;
- }
-
- function UByteArray(storage) {
- this.storage_1 = storage;
- }
-
- protoOf(UByteArray).get_size_woubt6_k$ = function () {
- return _UByteArray___get_size__impl__h6pkdv(this.storage_1);
- };
- protoOf(UByteArray).iterator_jk1svi_k$ = function () {
- return UByteArray__iterator_impl_509y1p(this.storage_1);
- };
- protoOf(UByteArray).contains_h1c0bq_k$ = function (element) {
- return UByteArray__contains_impl_njh19q(this.storage_1, element);
- };
- protoOf(UByteArray).contains_aljjnj_k$ = function (element) {
- return UByteArray__contains_impl_njh19q_0(this, element);
- };
- protoOf(UByteArray).containsAll_fivw2r_k$ = function (elements) {
- return UByteArray__containsAll_impl_v9s6dj(this.storage_1, elements);
- };
- protoOf(UByteArray).containsAll_xk45sd_k$ = function (elements) {
- return UByteArray__containsAll_impl_v9s6dj_0(this, elements);
- };
- protoOf(UByteArray).isEmpty_y1axqb_k$ = function () {
- return UByteArray__isEmpty_impl_nbfqsa(this.storage_1);
- };
- protoOf(UByteArray).toString = function () {
- return UByteArray__toString_impl_ukpl97(this.storage_1);
- };
- protoOf(UByteArray).hashCode = function () {
- return UByteArray__hashCode_impl_ip8jx2(this.storage_1);
- };
- protoOf(UByteArray).equals = function (other) {
- return UByteArray__equals_impl_roka4u(this.storage_1, other);
- };
-
- function _UInt___init__impl__l7qpdl(data) {
- return data;
- }
-
- function _UInt___get_data__impl__f0vqqw($this) {
- return $this;
- }
-
- function Companion_18() {
- Companion_instance_18 = this;
- this.MIN_VALUE_1 = _UInt___init__impl__l7qpdl(0);
- this.MAX_VALUE_1 = _UInt___init__impl__l7qpdl(-1);
- this.SIZE_BYTES_1 = 4;
- this.SIZE_BITS_1 = 32;
- }
-
- protoOf(Companion_18).get_MIN_VALUE_9zjqdd_k$ = function () {
- return this.MIN_VALUE_1;
- };
- protoOf(Companion_18).get_MAX_VALUE_bmdakz_k$ = function () {
- return this.MAX_VALUE_1;
- };
- protoOf(Companion_18).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES_1;
- };
- protoOf(Companion_18).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS_1;
- };
- var Companion_instance_18;
-
- function Companion_getInstance_18() {
- if (Companion_instance_18 == null)
- new Companion_18();
- return Companion_instance_18;
- }
-
- function UInt__compareTo_impl_yacclj($this, other) {
- // Inline function 'kotlin.UInt.compareTo' call
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintCompare(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other_0));
- }
-
- function UInt__compareTo_impl_yacclj_0($this, other) {
- // Inline function 'kotlin.UInt.compareTo' call
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintCompare(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other_0));
- }
-
- function UInt__compareTo_impl_yacclj_1($this, other) {
- return uintCompare(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other));
- }
-
- function UInt__compareTo_impl_yacclj_2($this, other) {
- return UInt__compareTo_impl_yacclj_1($this.data_1, other instanceof UInt ? other.data_1 : THROW_CCE());
- }
-
- function UInt__compareTo_impl_yacclj_3($this, other) {
- // Inline function 'kotlin.ULong.compareTo' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)));
- return ulongCompare(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(other));
- }
-
- function UInt__plus_impl_gmhu6f($this, other) {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) + _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UInt__plus_impl_gmhu6f_0($this, other) {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) + _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UInt__plus_impl_gmhu6f_1($this, other) {
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) + _UInt___get_data__impl__f0vqqw(other) | 0);
- }
-
- function UInt__plus_impl_gmhu6f_2($this, other) {
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function UInt__minus_impl_c4dy1j($this, other) {
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) - _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UInt__minus_impl_c4dy1j_0($this, other) {
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) - _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UInt__minus_impl_c4dy1j_1($this, other) {
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) - _UInt___get_data__impl__f0vqqw(other) | 0);
- }
-
- function UInt__minus_impl_c4dy1j_2($this, other) {
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function UInt__times_impl_9tvds1($this, other) {
- // Inline function 'kotlin.UInt.times' call
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other_0)));
- }
-
- function UInt__times_impl_9tvds1_0($this, other) {
- // Inline function 'kotlin.UInt.times' call
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other_0)));
- }
-
- function UInt__times_impl_9tvds1_1($this, other) {
- return _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other)));
- }
-
- function UInt__times_impl_9tvds1_2($this, other) {
- // Inline function 'kotlin.ULong.times' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).times_nfzjiw_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function UInt__div_impl_xkbbl6($this, other) {
- // Inline function 'kotlin.UInt.div' call
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintDivide($this, other_0);
- }
-
- function UInt__div_impl_xkbbl6_0($this, other) {
- // Inline function 'kotlin.UInt.div' call
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintDivide($this, other_0);
- }
-
- function UInt__div_impl_xkbbl6_1($this, other) {
- return uintDivide($this, other);
- }
-
- function UInt__div_impl_xkbbl6_2($this, other) {
- // Inline function 'kotlin.ULong.div' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)));
- return ulongDivide(this_0, other);
- }
-
- function UInt__rem_impl_muzcx9($this, other) {
- // Inline function 'kotlin.UInt.rem' call
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintRemainder($this, other_0);
- }
-
- function UInt__rem_impl_muzcx9_0($this, other) {
- // Inline function 'kotlin.UInt.rem' call
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintRemainder($this, other_0);
- }
-
- function UInt__rem_impl_muzcx9_1($this, other) {
- return uintRemainder($this, other);
- }
-
- function UInt__rem_impl_muzcx9_2($this, other) {
- // Inline function 'kotlin.ULong.rem' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)));
- return ulongRemainder(this_0, other);
- }
-
- function UInt__floorDiv_impl_hg5qxa($this, other) {
- // Inline function 'kotlin.UInt.floorDiv' call
- // Inline function 'kotlin.UByte.toUInt' call
- // Inline function 'kotlin.UInt.div' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintDivide($this, other_0);
- }
-
- function UInt__floorDiv_impl_hg5qxa_0($this, other) {
- // Inline function 'kotlin.UInt.floorDiv' call
- // Inline function 'kotlin.UShort.toUInt' call
- // Inline function 'kotlin.UInt.div' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintDivide($this, other_0);
- }
-
- function UInt__floorDiv_impl_hg5qxa_1($this, other) {
- // Inline function 'kotlin.UInt.div' call
- return uintDivide($this, other);
- }
-
- function UInt__floorDiv_impl_hg5qxa_2($this, other) {
- // Inline function 'kotlin.ULong.floorDiv' call
- // Inline function 'kotlin.UInt.toULong' call
- // Inline function 'kotlin.ULong.div' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)));
- return ulongDivide(this_0, other);
- }
-
- function UInt__mod_impl_l9f8at($this, other) {
- // Inline function 'kotlin.UInt.toUByte' call
- // Inline function 'kotlin.UInt.mod' call
- // Inline function 'kotlin.UByte.toUInt' call
- // Inline function 'kotlin.UInt.rem' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- var this_0 = uintRemainder($this, other_0);
- // Inline function 'kotlin.toUByte' call
- var this_1 = _UInt___get_data__impl__f0vqqw(this_0);
- return _UByte___init__impl__g9hnc4(toByte(this_1));
- }
-
- function UInt__mod_impl_l9f8at_0($this, other) {
- // Inline function 'kotlin.UInt.toUShort' call
- // Inline function 'kotlin.UInt.mod' call
- // Inline function 'kotlin.UShort.toUInt' call
- // Inline function 'kotlin.UInt.rem' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- var this_0 = uintRemainder($this, other_0);
- // Inline function 'kotlin.toUShort' call
- var this_1 = _UInt___get_data__impl__f0vqqw(this_0);
- return _UShort___init__impl__jigrne(toShort(this_1));
- }
-
- function UInt__mod_impl_l9f8at_1($this, other) {
- // Inline function 'kotlin.UInt.rem' call
- return uintRemainder($this, other);
- }
-
- function UInt__mod_impl_l9f8at_2($this, other) {
- // Inline function 'kotlin.ULong.mod' call
- // Inline function 'kotlin.UInt.toULong' call
- // Inline function 'kotlin.ULong.rem' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)));
- return ulongRemainder(this_0, other);
- }
-
- function UInt__inc_impl_wvpje1($this) {
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) + 1 | 0);
- }
-
- function UInt__dec_impl_u8n7zv($this) {
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) - 1 | 0);
- }
-
- function UInt__rangeTo_impl_en5yc1($this, other) {
- return new UIntRange($this, other);
- }
-
- function UInt__rangeUntil_impl_vivsfi($this, other) {
- return until_16($this, other);
- }
-
- function UInt__shl_impl_o7n0a8($this, bitCount) {
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) << bitCount);
- }
-
- function UInt__shr_impl_r1wqne($this, bitCount) {
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) >>> bitCount | 0);
- }
-
- function UInt__and_impl_fv3j80($this, other) {
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) & _UInt___get_data__impl__f0vqqw(other));
- }
-
- function UInt__or_impl_nrzdg0($this, other) {
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) | _UInt___get_data__impl__f0vqqw(other));
- }
-
- function UInt__xor_impl_a7n4dw($this, other) {
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw($this) ^ _UInt___get_data__impl__f0vqqw(other));
- }
-
- function UInt__inv_impl_t5jp3e($this) {
- return _UInt___init__impl__l7qpdl(~_UInt___get_data__impl__f0vqqw($this));
- }
-
- function UInt__toByte_impl_enbcz4($this) {
- return toByte(_UInt___get_data__impl__f0vqqw($this));
- }
-
- function UInt__toShort_impl_776xra($this) {
- return toShort(_UInt___get_data__impl__f0vqqw($this));
- }
-
- function UInt__toInt_impl_93yt4d($this) {
- return _UInt___get_data__impl__f0vqqw($this);
- }
-
- function UInt__toLong_impl_le5rq4($this) {
- return toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0));
- }
-
- function UInt__toUByte_impl_qgjpt1($this) {
- // Inline function 'kotlin.toUByte' call
- var this_0 = _UInt___get_data__impl__f0vqqw($this);
- return _UByte___init__impl__g9hnc4(toByte(this_0));
- }
-
- function UInt__toUShort_impl_2yxcfl($this) {
- // Inline function 'kotlin.toUShort' call
- var this_0 = _UInt___get_data__impl__f0vqqw($this);
- return _UShort___init__impl__jigrne(toShort(this_0));
- }
-
- function UInt__toUInt_impl_cu5oym($this) {
- return $this;
- }
-
- function UInt__toULong_impl_8j37gv($this) {
- return _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)));
- }
-
- function UInt__toFloat_impl_zijuyu($this) {
- // Inline function 'kotlin.UInt.toDouble' call
- return uintToDouble(_UInt___get_data__impl__f0vqqw($this));
- }
-
- function UInt__toDouble_impl_f3ehy1($this) {
- return uintToDouble(_UInt___get_data__impl__f0vqqw($this));
- }
-
- function UInt__toString_impl_dbgl21($this) {
- // Inline function 'kotlin.UInt.toLong' call
- return toLong(_UInt___get_data__impl__f0vqqw($this)).and_4spn93_k$(new Long(-1, 0)).toString();
- }
-
- function UInt__hashCode_impl_z2mhuw($this) {
- return $this;
- }
-
- function UInt__equals_impl_ffdoxg($this, other) {
- if (!(other instanceof UInt))
- return false;
- if (!($this === (other instanceof UInt ? other.data_1 : THROW_CCE())))
- return false;
- return true;
- }
-
- function UInt(data) {
- Companion_getInstance_18();
- this.data_1 = data;
- }
-
- protoOf(UInt).compareTo_xshxy3_k$ = function (other) {
- return UInt__compareTo_impl_yacclj_1(this.data_1, other);
- };
- protoOf(UInt).compareTo_hpufkf_k$ = function (other) {
- return UInt__compareTo_impl_yacclj_2(this, other);
- };
- protoOf(UInt).toString = function () {
- return UInt__toString_impl_dbgl21(this.data_1);
- };
- protoOf(UInt).hashCode = function () {
- return UInt__hashCode_impl_z2mhuw(this.data_1);
- };
- protoOf(UInt).equals = function (other) {
- return UInt__equals_impl_ffdoxg(this.data_1, other);
- };
-
- function toUInt(_this__u8e3s4) {
- return _UInt___init__impl__l7qpdl(_this__u8e3s4.toInt_1tsl84_k$());
- }
-
- function toUInt_0(_this__u8e3s4) {
- return _UInt___init__impl__l7qpdl(_this__u8e3s4);
- }
-
- function toUInt_1(_this__u8e3s4) {
- return _UInt___init__impl__l7qpdl(_this__u8e3s4);
- }
-
- function toUInt_2(_this__u8e3s4) {
- return doubleToUInt(_this__u8e3s4);
- }
-
- function toUInt_3(_this__u8e3s4) {
- return doubleToUInt(_this__u8e3s4);
- }
-
- function toUInt_4(_this__u8e3s4) {
- return _UInt___init__impl__l7qpdl(_this__u8e3s4);
- }
-
- function _get_array__jslnqg_1($this) {
- return $this.array_1;
- }
-
- function _set_index__fyfqnn_1($this, _set____db54di) {
- $this.index_1 = _set____db54di;
- }
-
- function _get_index__g2optt_2($this) {
- return $this.index_1;
- }
-
- function _UIntArray___init__impl__ghjpc6(storage) {
- return storage;
- }
-
- function _UIntArray___get_storage__impl__92a0v0($this) {
- return $this;
- }
-
- function _UIntArray___init__impl__ghjpc6_0(size) {
- return _UIntArray___init__impl__ghjpc6(new Int32Array(size));
- }
-
- function UIntArray__get_impl_gp5kza($this, index) {
- // Inline function 'kotlin.toUInt' call
- var this_0 = _UIntArray___get_storage__impl__92a0v0($this)[index];
- return _UInt___init__impl__l7qpdl(this_0);
- }
-
- function UIntArray__set_impl_7f2zu2($this, index, value) {
- var tmp = _UIntArray___get_storage__impl__92a0v0($this);
- // Inline function 'kotlin.UInt.toInt' call
- tmp[index] = _UInt___get_data__impl__f0vqqw(value);
- }
-
- function _UIntArray___get_size__impl__r6l8ci($this) {
- return _UIntArray___get_storage__impl__92a0v0($this).length;
- }
-
- function UIntArray__iterator_impl_tkdv7k($this) {
- return new Iterator_1(_UIntArray___get_storage__impl__92a0v0($this));
- }
-
- function Iterator_1(array) {
- this.array_1 = array;
- this.index_1 = 0;
- }
-
- protoOf(Iterator_1).hasNext_bitz1p_k$ = function () {
- return this.index_1 < this.array_1.length;
- };
- protoOf(Iterator_1).next_30mexz_k$ = function () {
- var tmp;
- if (this.index_1 < this.array_1.length) {
- // Inline function 'kotlin.toUInt' call
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- var this_0 = this.array_1[tmp1];
- tmp = _UInt___init__impl__l7qpdl(this_0);
- } else {
- throw NoSuchElementException_init_$Create$_0(this.index_1.toString());
- }
- return tmp;
- };
- protoOf(Iterator_1).next_20eer_k$ = function () {
- return new UInt(this.next_30mexz_k$());
- };
-
- function UIntArray__contains_impl_b16rzj($this, element) {
- var tmp = !(new UInt(element) == null) ? new UInt(element) : THROW_CCE();
- if (!(tmp instanceof UInt))
- return false;
- var tmp_0 = _UIntArray___get_storage__impl__92a0v0($this);
- // Inline function 'kotlin.UInt.toInt' call
- var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(element);
- return contains_1(tmp_0, tmp$ret$0);
- }
-
- function UIntArray__contains_impl_b16rzj_0($this, element) {
- if (!(element instanceof UInt))
- return false;
- return UIntArray__contains_impl_b16rzj($this.storage_1, element instanceof UInt ? element.data_1 : THROW_CCE());
- }
-
- function UIntArray__containsAll_impl_414g22($this, elements) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.all' call
- var this_0 = isInterface(elements, Collection) ? elements : THROW_CCE();
- var tmp;
- if (isInterface(this_0, Collection)) {
- tmp = this_0.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- var tmp0_iterator = this_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.UIntArray.containsAll.' call
- var tmp_0;
- if (element instanceof UInt) {
- var tmp_1 = _UIntArray___get_storage__impl__92a0v0($this);
- // Inline function 'kotlin.UInt.toInt' call
- var this_1 = element.data_1;
- var tmp$ret$1 = _UInt___get_data__impl__f0vqqw(this_1);
- tmp_0 = contains_1(tmp_1, tmp$ret$1);
- } else {
- tmp_0 = false;
- }
- if (!tmp_0) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- }
- tmp$ret$0 = true;
- }
- return tmp$ret$0;
- }
-
- function UIntArray__containsAll_impl_414g22_0($this, elements) {
- return UIntArray__containsAll_impl_414g22($this.storage_1, elements);
- }
-
- function UIntArray__isEmpty_impl_vd8j4n($this) {
- return _UIntArray___get_storage__impl__92a0v0($this).length === 0;
- }
-
- function UIntArray__toString_impl_3zy802($this) {
- return 'UIntArray(storage=' + toString_1($this) + ')';
- }
-
- function UIntArray__hashCode_impl_hr7ost($this) {
- return hashCode($this);
- }
-
- function UIntArray__equals_impl_flcmof($this, other) {
- if (!(other instanceof UIntArray))
- return false;
- var tmp0_other_with_cast = other instanceof UIntArray ? other.storage_1 : THROW_CCE();
- if (!equals($this, tmp0_other_with_cast))
- return false;
- return true;
- }
-
- function UIntArray(storage) {
- this.storage_1 = storage;
- }
-
- protoOf(UIntArray).get_size_woubt6_k$ = function () {
- return _UIntArray___get_size__impl__r6l8ci(this.storage_1);
- };
- protoOf(UIntArray).iterator_jk1svi_k$ = function () {
- return UIntArray__iterator_impl_tkdv7k(this.storage_1);
- };
- protoOf(UIntArray).contains_of2a8q_k$ = function (element) {
- return UIntArray__contains_impl_b16rzj(this.storage_1, element);
- };
- protoOf(UIntArray).contains_aljjnj_k$ = function (element) {
- return UIntArray__contains_impl_b16rzj_0(this, element);
- };
- protoOf(UIntArray).containsAll_tt2ity_k$ = function (elements) {
- return UIntArray__containsAll_impl_414g22(this.storage_1, elements);
- };
- protoOf(UIntArray).containsAll_xk45sd_k$ = function (elements) {
- return UIntArray__containsAll_impl_414g22_0(this, elements);
- };
- protoOf(UIntArray).isEmpty_y1axqb_k$ = function () {
- return UIntArray__isEmpty_impl_vd8j4n(this.storage_1);
- };
- protoOf(UIntArray).toString = function () {
- return UIntArray__toString_impl_3zy802(this.storage_1);
- };
- protoOf(UIntArray).hashCode = function () {
- return UIntArray__hashCode_impl_hr7ost(this.storage_1);
- };
- protoOf(UIntArray).equals = function (other) {
- return UIntArray__equals_impl_flcmof(this.storage_1, other);
- };
-
- function Companion_19() {
- Companion_instance_19 = this;
- this.EMPTY_1 = new UIntRange(Companion_getInstance_18().get_MAX_VALUE_bmdakz_k$(), Companion_getInstance_18().get_MIN_VALUE_9zjqdd_k$());
- }
-
- protoOf(Companion_19).get_EMPTY_i8q41w_k$ = function () {
- return this.EMPTY_1;
- };
- var Companion_instance_19;
-
- function Companion_getInstance_19() {
- if (Companion_instance_19 == null)
- new Companion_19();
- return Companion_instance_19;
- }
-
- function UIntRange(start, endInclusive) {
- Companion_getInstance_19();
- UIntProgression.call(this, start, endInclusive, 1);
- }
-
- protoOf(UIntRange).get_start_qjwd9b_k$ = function () {
- return this.first_1;
- };
- protoOf(UIntRange).get_start_iypx6h_k$ = function () {
- return new UInt(this.get_start_qjwd9b_k$());
- };
- protoOf(UIntRange).get_endInclusive_onm2dc_k$ = function () {
- return this.last_1;
- };
- protoOf(UIntRange).get_endInclusive_r07xpi_k$ = function () {
- return new UInt(this.get_endInclusive_onm2dc_k$());
- };
- protoOf(UIntRange).get_endExclusive_un786q_k$ = function () {
- if (this.last_1 === Companion_getInstance_18().get_MAX_VALUE_bmdakz_k$()) {
- // Inline function 'kotlin.error' call
- var message = 'Cannot return the exclusive upper bound of a range that includes MAX_VALUE.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- // Inline function 'kotlin.UInt.plus' call
- var this_0 = this.last_1;
- var other = _UInt___init__impl__l7qpdl(1);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) + _UInt___get_data__impl__f0vqqw(other) | 0);
- };
- protoOf(UIntRange).get_endExclusive_pmwm6k_k$ = function () {
- return new UInt(this.get_endExclusive_un786q_k$());
- };
- protoOf(UIntRange).contains_of2a8q_k$ = function (value) {
- var tmp;
- // Inline function 'kotlin.UInt.compareTo' call
- var this_0 = this.first_1;
- if (uintCompare(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(value)) <= 0) {
- // Inline function 'kotlin.UInt.compareTo' call
- var other = this.last_1;
- tmp = uintCompare(_UInt___get_data__impl__f0vqqw(value), _UInt___get_data__impl__f0vqqw(other)) <= 0;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(UIntRange).contains_3tkdvy_k$ = function (value) {
- return this.contains_of2a8q_k$(value instanceof UInt ? value.data_1 : THROW_CCE());
- };
- protoOf(UIntRange).isEmpty_y1axqb_k$ = function () {
- // Inline function 'kotlin.UInt.compareTo' call
- var this_0 = this.first_1;
- var other = this.last_1;
- return uintCompare(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other)) > 0;
- };
- protoOf(UIntRange).equals = function (other) {
- var tmp;
- if (other instanceof UIntRange) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : this.first_1 === other.first_1 ? this.last_1 === other.last_1 : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(UIntRange).hashCode = function () {
- var tmp;
- if (this.isEmpty_y1axqb_k$()) {
- tmp = -1;
- } else {
- // Inline function 'kotlin.UInt.toInt' call
- var this_0 = this.first_1;
- var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(this_0);
- var tmp_0 = imul(31, tmp$ret$0);
- // Inline function 'kotlin.UInt.toInt' call
- var this_1 = this.last_1;
- tmp = tmp_0 + _UInt___get_data__impl__f0vqqw(this_1) | 0;
- }
- return tmp;
- };
- protoOf(UIntRange).toString = function () {
- return '' + new UInt(this.first_1) + '..' + new UInt(this.last_1);
- };
-
- function Companion_20() {
- Companion_instance_20 = this;
- }
-
- protoOf(Companion_20).fromClosedRange_cp9k1d_k$ = function (rangeStart, rangeEnd, step) {
- return new UIntProgression(rangeStart, rangeEnd, step);
- };
- var Companion_instance_20;
-
- function Companion_getInstance_20() {
- if (Companion_instance_20 == null)
- new Companion_20();
- return Companion_instance_20;
- }
-
- function UIntProgression(start, endInclusive, step) {
- Companion_getInstance_20();
- if (step === 0)
- throw IllegalArgumentException_init_$Create$_0('Step must be non-zero.');
- if (step === IntCompanionObject_getInstance().get_MIN_VALUE_7nmmor_k$())
- throw IllegalArgumentException_init_$Create$_0('Step must be greater than Int.MIN_VALUE to avoid overflow on negation.');
- this.first_1 = start;
- this.last_1 = getProgressionLastElement_1(start, endInclusive, step);
- this.step_1 = step;
- }
-
- protoOf(UIntProgression).get_first_eo0eb1_k$ = function () {
- return this.first_1;
- };
- protoOf(UIntProgression).get_last_rpwfyd_k$ = function () {
- return this.last_1;
- };
- protoOf(UIntProgression).get_step_woujh1_k$ = function () {
- return this.step_1;
- };
- protoOf(UIntProgression).iterator_jk1svi_k$ = function () {
- return new UIntProgressionIterator(this.first_1, this.last_1, this.step_1);
- };
- protoOf(UIntProgression).isEmpty_y1axqb_k$ = function () {
- var tmp;
- if (this.step_1 > 0) {
- // Inline function 'kotlin.UInt.compareTo' call
- var this_0 = this.first_1;
- var other = this.last_1;
- tmp = uintCompare(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other)) > 0;
- } else {
- // Inline function 'kotlin.UInt.compareTo' call
- var this_1 = this.first_1;
- var other_0 = this.last_1;
- tmp = uintCompare(_UInt___get_data__impl__f0vqqw(this_1), _UInt___get_data__impl__f0vqqw(other_0)) < 0;
- }
- return tmp;
- };
- protoOf(UIntProgression).equals = function (other) {
- var tmp;
- if (other instanceof UIntProgression) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : (this.first_1 === other.first_1 ? this.last_1 === other.last_1 : false) ? this.step_1 === other.step_1 : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(UIntProgression).hashCode = function () {
- var tmp;
- if (this.isEmpty_y1axqb_k$()) {
- tmp = -1;
- } else {
- // Inline function 'kotlin.UInt.toInt' call
- var this_0 = this.first_1;
- var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(this_0);
- var tmp_0 = imul(31, tmp$ret$0);
- // Inline function 'kotlin.UInt.toInt' call
- var this_1 = this.last_1;
- var tmp$ret$1 = _UInt___get_data__impl__f0vqqw(this_1);
- tmp = imul(31, tmp_0 + tmp$ret$1 | 0) + this.step_1 | 0;
- }
- return tmp;
- };
- protoOf(UIntProgression).toString = function () {
- return this.step_1 > 0 ? '' + new UInt(this.first_1) + '..' + new UInt(this.last_1) + ' step ' + this.step_1 : '' + new UInt(this.first_1) + ' downTo ' + new UInt(this.last_1) + ' step ' + (-this.step_1 | 0);
- };
-
- function _get_finalElement__gc6m3p_2($this) {
- return $this.finalElement_1;
- }
-
- function _set_hasNext__86v2bs_2($this, _set____db54di) {
- $this.hasNext_1 = _set____db54di;
- }
-
- function _get_hasNext__xt3cos_2($this) {
- return $this.hasNext_1;
- }
-
- function _get_step__ddv2tb($this) {
- return $this.step_1;
- }
-
- function _set_next__9r2xms_2($this, _set____db54di) {
- $this.next_1 = _set____db54di;
- }
-
- function _get_next__daux88_2($this) {
- return $this.next_1;
- }
-
- function UIntProgressionIterator(first, last, step) {
- this.finalElement_1 = last;
- var tmp = this;
- var tmp_0;
- if (step > 0) {
- // Inline function 'kotlin.UInt.compareTo' call
- tmp_0 = uintCompare(_UInt___get_data__impl__f0vqqw(first), _UInt___get_data__impl__f0vqqw(last)) <= 0;
- } else {
- // Inline function 'kotlin.UInt.compareTo' call
- tmp_0 = uintCompare(_UInt___get_data__impl__f0vqqw(first), _UInt___get_data__impl__f0vqqw(last)) >= 0;
- }
- tmp.hasNext_1 = tmp_0;
- var tmp_1 = this;
- // Inline function 'kotlin.toUInt' call
- tmp_1.step_1 = _UInt___init__impl__l7qpdl(step);
- this.next_1 = this.hasNext_1 ? first : this.finalElement_1;
- }
-
- protoOf(UIntProgressionIterator).hasNext_bitz1p_k$ = function () {
- return this.hasNext_1;
- };
- protoOf(UIntProgressionIterator).next_30mexz_k$ = function () {
- var value = this.next_1;
- if (value === this.finalElement_1) {
- if (!this.hasNext_1)
- throw NoSuchElementException_init_$Create$();
- this.hasNext_1 = false;
- } else {
- var tmp = this;
- // Inline function 'kotlin.UInt.plus' call
- var this_0 = this.next_1;
- var other = this.step_1;
- tmp.next_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) + _UInt___get_data__impl__f0vqqw(other) | 0);
- }
- return value;
- };
- protoOf(UIntProgressionIterator).next_20eer_k$ = function () {
- return new UInt(this.next_30mexz_k$());
- };
-
- function _ULong___init__impl__c78o9k(data) {
- return data;
- }
-
- function _ULong___get_data__impl__fggpzb($this) {
- return $this;
- }
-
- function Companion_21() {
- Companion_instance_21 = this;
- this.MIN_VALUE_1 = _ULong___init__impl__c78o9k(new Long(0, 0));
- this.MAX_VALUE_1 = _ULong___init__impl__c78o9k(new Long(-1, -1));
- this.SIZE_BYTES_1 = 8;
- this.SIZE_BITS_1 = 64;
- }
-
- protoOf(Companion_21).get_MIN_VALUE_phlf8q_k$ = function () {
- return this.MIN_VALUE_1;
- };
- protoOf(Companion_21).get_MAX_VALUE_53xrtk_k$ = function () {
- return this.MAX_VALUE_1;
- };
- protoOf(Companion_21).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES_1;
- };
- protoOf(Companion_21).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS_1;
- };
- var Companion_instance_21;
-
- function Companion_getInstance_21() {
- if (Companion_instance_21 == null)
- new Companion_21();
- return Companion_instance_21;
- }
-
- function ULong__compareTo_impl_38i7tu($this, other) {
- // Inline function 'kotlin.ULong.compareTo' call
- // Inline function 'kotlin.UByte.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr(other)).and_4spn93_k$(new Long(255, 0)));
- return ulongCompare(_ULong___get_data__impl__fggpzb($this), _ULong___get_data__impl__fggpzb(other_0));
- }
-
- function ULong__compareTo_impl_38i7tu_0($this, other) {
- // Inline function 'kotlin.ULong.compareTo' call
- // Inline function 'kotlin.UShort.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245(other)).and_4spn93_k$(new Long(65535, 0)));
- return ulongCompare(_ULong___get_data__impl__fggpzb($this), _ULong___get_data__impl__fggpzb(other_0));
- }
-
- function ULong__compareTo_impl_38i7tu_1($this, other) {
- // Inline function 'kotlin.ULong.compareTo' call
- // Inline function 'kotlin.UInt.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(other)).and_4spn93_k$(new Long(-1, 0)));
- return ulongCompare(_ULong___get_data__impl__fggpzb($this), _ULong___get_data__impl__fggpzb(other_0));
- }
-
- function ULong__compareTo_impl_38i7tu_2($this, other) {
- return ulongCompare(_ULong___get_data__impl__fggpzb($this), _ULong___get_data__impl__fggpzb(other));
- }
-
- function ULong__compareTo_impl_38i7tu_3($this, other) {
- return ULong__compareTo_impl_38i7tu_2($this.data_1, other instanceof ULong ? other.data_1 : THROW_CCE());
- }
-
- function ULong__plus_impl_plxuny($this, other) {
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.UByte.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr(other)).and_4spn93_k$(new Long(255, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
-
- function ULong__plus_impl_plxuny_0($this, other) {
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.UShort.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245(other)).and_4spn93_k$(new Long(65535, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
-
- function ULong__plus_impl_plxuny_1($this, other) {
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.UInt.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(other)).and_4spn93_k$(new Long(-1, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
-
- function ULong__plus_impl_plxuny_2($this, other) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function ULong__minus_impl_hq1qum($this, other) {
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UByte.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr(other)).and_4spn93_k$(new Long(255, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
-
- function ULong__minus_impl_hq1qum_0($this, other) {
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UShort.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245(other)).and_4spn93_k$(new Long(65535, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
-
- function ULong__minus_impl_hq1qum_1($this, other) {
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UInt.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(other)).and_4spn93_k$(new Long(-1, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
-
- function ULong__minus_impl_hq1qum_2($this, other) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function ULong__times_impl_ffj6l4($this, other) {
- // Inline function 'kotlin.ULong.times' call
- // Inline function 'kotlin.UByte.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr(other)).and_4spn93_k$(new Long(255, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).times_nfzjiw_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
-
- function ULong__times_impl_ffj6l4_0($this, other) {
- // Inline function 'kotlin.ULong.times' call
- // Inline function 'kotlin.UShort.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245(other)).and_4spn93_k$(new Long(65535, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).times_nfzjiw_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
-
- function ULong__times_impl_ffj6l4_1($this, other) {
- // Inline function 'kotlin.ULong.times' call
- // Inline function 'kotlin.UInt.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(other)).and_4spn93_k$(new Long(-1, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).times_nfzjiw_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
-
- function ULong__times_impl_ffj6l4_2($this, other) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).times_nfzjiw_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function ULong__div_impl_iugpv1($this, other) {
- // Inline function 'kotlin.ULong.div' call
- // Inline function 'kotlin.UByte.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr(other)).and_4spn93_k$(new Long(255, 0)));
- return ulongDivide($this, other_0);
- }
-
- function ULong__div_impl_iugpv1_0($this, other) {
- // Inline function 'kotlin.ULong.div' call
- // Inline function 'kotlin.UShort.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245(other)).and_4spn93_k$(new Long(65535, 0)));
- return ulongDivide($this, other_0);
- }
-
- function ULong__div_impl_iugpv1_1($this, other) {
- // Inline function 'kotlin.ULong.div' call
- // Inline function 'kotlin.UInt.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(other)).and_4spn93_k$(new Long(-1, 0)));
- return ulongDivide($this, other_0);
- }
-
- function ULong__div_impl_iugpv1_2($this, other) {
- return ulongDivide($this, other);
- }
-
- function ULong__rem_impl_48ncec($this, other) {
- // Inline function 'kotlin.ULong.rem' call
- // Inline function 'kotlin.UByte.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr(other)).and_4spn93_k$(new Long(255, 0)));
- return ulongRemainder($this, other_0);
- }
-
- function ULong__rem_impl_48ncec_0($this, other) {
- // Inline function 'kotlin.ULong.rem' call
- // Inline function 'kotlin.UShort.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245(other)).and_4spn93_k$(new Long(65535, 0)));
- return ulongRemainder($this, other_0);
- }
-
- function ULong__rem_impl_48ncec_1($this, other) {
- // Inline function 'kotlin.ULong.rem' call
- // Inline function 'kotlin.UInt.toULong' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(other)).and_4spn93_k$(new Long(-1, 0)));
- return ulongRemainder($this, other_0);
- }
-
- function ULong__rem_impl_48ncec_2($this, other) {
- return ulongRemainder($this, other);
- }
-
- function ULong__floorDiv_impl_p06vs9($this, other) {
- // Inline function 'kotlin.ULong.floorDiv' call
- // Inline function 'kotlin.UByte.toULong' call
- // Inline function 'kotlin.ULong.div' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr(other)).and_4spn93_k$(new Long(255, 0)));
- return ulongDivide($this, other_0);
- }
-
- function ULong__floorDiv_impl_p06vs9_0($this, other) {
- // Inline function 'kotlin.ULong.floorDiv' call
- // Inline function 'kotlin.UShort.toULong' call
- // Inline function 'kotlin.ULong.div' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245(other)).and_4spn93_k$(new Long(65535, 0)));
- return ulongDivide($this, other_0);
- }
-
- function ULong__floorDiv_impl_p06vs9_1($this, other) {
- // Inline function 'kotlin.ULong.floorDiv' call
- // Inline function 'kotlin.UInt.toULong' call
- // Inline function 'kotlin.ULong.div' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(other)).and_4spn93_k$(new Long(-1, 0)));
- return ulongDivide($this, other_0);
- }
-
- function ULong__floorDiv_impl_p06vs9_2($this, other) {
- // Inline function 'kotlin.ULong.div' call
- return ulongDivide($this, other);
- }
-
- function ULong__mod_impl_2n37rw($this, other) {
- // Inline function 'kotlin.ULong.toUByte' call
- // Inline function 'kotlin.ULong.mod' call
- // Inline function 'kotlin.UByte.toULong' call
- // Inline function 'kotlin.ULong.rem' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UByte___get_data__impl__jof9qr(other)).and_4spn93_k$(new Long(255, 0)));
- var this_0 = ulongRemainder($this, other_0);
- // Inline function 'kotlin.toUByte' call
- var this_1 = _ULong___get_data__impl__fggpzb(this_0);
- return _UByte___init__impl__g9hnc4(this_1.toByte_edm0nx_k$());
- }
-
- function ULong__mod_impl_2n37rw_0($this, other) {
- // Inline function 'kotlin.ULong.toUShort' call
- // Inline function 'kotlin.ULong.mod' call
- // Inline function 'kotlin.UShort.toULong' call
- // Inline function 'kotlin.ULong.rem' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245(other)).and_4spn93_k$(new Long(65535, 0)));
- var this_0 = ulongRemainder($this, other_0);
- // Inline function 'kotlin.toUShort' call
- var this_1 = _ULong___get_data__impl__fggpzb(this_0);
- return _UShort___init__impl__jigrne(this_1.toShort_ja8oqn_k$());
- }
-
- function ULong__mod_impl_2n37rw_1($this, other) {
- // Inline function 'kotlin.ULong.toUInt' call
- // Inline function 'kotlin.ULong.mod' call
- // Inline function 'kotlin.UInt.toULong' call
- // Inline function 'kotlin.ULong.rem' call
- var other_0 = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(other)).and_4spn93_k$(new Long(-1, 0)));
- var this_0 = ulongRemainder($this, other_0);
- // Inline function 'kotlin.toUInt' call
- var this_1 = _ULong___get_data__impl__fggpzb(this_0);
- return _UInt___init__impl__l7qpdl(this_1.toInt_1tsl84_k$());
- }
-
- function ULong__mod_impl_2n37rw_2($this, other) {
- // Inline function 'kotlin.ULong.rem' call
- return ulongRemainder($this, other);
- }
-
- function ULong__inc_impl_e9div4($this) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).inc_28ke_k$());
- }
-
- function ULong__dec_impl_m64tgc($this) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).dec_24n6_k$());
- }
-
- function ULong__rangeTo_impl_tre43e($this, other) {
- return new ULongRange($this, other);
- }
-
- function ULong__rangeUntil_impl_crpjx7($this, other) {
- return until_17($this, other);
- }
-
- function ULong__shl_impl_5lazrb($this, bitCount) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).shl_bg8if3_k$(bitCount));
- }
-
- function ULong__shr_impl_8fkq4h($this, bitCount) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).ushr_z7nmq8_k$(bitCount));
- }
-
- function ULong__and_impl_2r8hax($this, other) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).and_4spn93_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function ULong__or_impl_mne2xz($this, other) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).or_v7fvkl_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function ULong__xor_impl_stz4wt($this, other) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).xor_qzz94j_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function ULong__inv_impl_n98cct($this) {
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb($this).inv_28kx_k$());
- }
-
- function ULong__toByte_impl_gxyc49($this) {
- return _ULong___get_data__impl__fggpzb($this).toByte_edm0nx_k$();
- }
-
- function ULong__toShort_impl_7x1803($this) {
- return _ULong___get_data__impl__fggpzb($this).toShort_ja8oqn_k$();
- }
-
- function ULong__toInt_impl_3ib0ba($this) {
- return _ULong___get_data__impl__fggpzb($this).toInt_1tsl84_k$();
- }
-
- function ULong__toLong_impl_i1ol5n($this) {
- return _ULong___get_data__impl__fggpzb($this);
- }
-
- function ULong__toUByte_impl_bcbk1o($this) {
- // Inline function 'kotlin.toUByte' call
- var this_0 = _ULong___get_data__impl__fggpzb($this);
- return _UByte___init__impl__g9hnc4(this_0.toByte_edm0nx_k$());
- }
-
- function ULong__toUShort_impl_vjorp6($this) {
- // Inline function 'kotlin.toUShort' call
- var this_0 = _ULong___get_data__impl__fggpzb($this);
- return _UShort___init__impl__jigrne(this_0.toShort_ja8oqn_k$());
- }
-
- function ULong__toUInt_impl_qlonx5($this) {
- // Inline function 'kotlin.toUInt' call
- var this_0 = _ULong___get_data__impl__fggpzb($this);
- return _UInt___init__impl__l7qpdl(this_0.toInt_1tsl84_k$());
- }
-
- function ULong__toULong_impl_nnbd88($this) {
- return $this;
- }
-
- function ULong__toFloat_impl_kebp7h($this) {
- // Inline function 'kotlin.ULong.toDouble' call
- return ulongToDouble(_ULong___get_data__impl__fggpzb($this));
- }
-
- function ULong__toDouble_impl_dhcxbk($this) {
- return ulongToDouble(_ULong___get_data__impl__fggpzb($this));
- }
-
- function ULong__toString_impl_f9au7k($this) {
- return ulongToString(_ULong___get_data__impl__fggpzb($this));
- }
-
- function ULong__hashCode_impl_6hv2lb($this) {
- return $this.hashCode();
- }
-
- function ULong__equals_impl_o0gnyb($this, other) {
- if (!(other instanceof ULong))
- return false;
- var tmp0_other_with_cast = other instanceof ULong ? other.data_1 : THROW_CCE();
- if (!$this.equals(tmp0_other_with_cast))
- return false;
- return true;
- }
-
- function ULong(data) {
- Companion_getInstance_21();
- this.data_1 = data;
- }
-
- protoOf(ULong).compareTo_zaxduj_k$ = function (other) {
- return ULong__compareTo_impl_38i7tu_2(this.data_1, other);
- };
- protoOf(ULong).compareTo_hpufkf_k$ = function (other) {
- return ULong__compareTo_impl_38i7tu_3(this, other);
- };
- protoOf(ULong).toString = function () {
- return ULong__toString_impl_f9au7k(this.data_1);
- };
- protoOf(ULong).hashCode = function () {
- return ULong__hashCode_impl_6hv2lb(this.data_1);
- };
- protoOf(ULong).equals = function (other) {
- return ULong__equals_impl_o0gnyb(this.data_1, other);
- };
-
- function toULong(_this__u8e3s4) {
- return _ULong___init__impl__c78o9k(_this__u8e3s4);
- }
-
- function toULong_0(_this__u8e3s4) {
- return _ULong___init__impl__c78o9k(toLong(_this__u8e3s4));
- }
-
- function toULong_1(_this__u8e3s4) {
- return doubleToULong(_this__u8e3s4);
- }
-
- function toULong_2(_this__u8e3s4) {
- return doubleToULong(_this__u8e3s4);
- }
-
- function toULong_3(_this__u8e3s4) {
- return _ULong___init__impl__c78o9k(toLong(_this__u8e3s4));
- }
-
- function toULong_4(_this__u8e3s4) {
- return _ULong___init__impl__c78o9k(toLong(_this__u8e3s4));
- }
-
- function _get_array__jslnqg_2($this) {
- return $this.array_1;
- }
-
- function _set_index__fyfqnn_2($this, _set____db54di) {
- $this.index_1 = _set____db54di;
- }
-
- function _get_index__g2optt_3($this) {
- return $this.index_1;
- }
-
- function _ULongArray___init__impl__twm1l3(storage) {
- return storage;
- }
-
- function _ULongArray___get_storage__impl__28e64j($this) {
- return $this;
- }
-
- function _ULongArray___init__impl__twm1l3_0(size) {
- return _ULongArray___init__impl__twm1l3(longArray(size));
- }
-
- function ULongArray__get_impl_pr71q9($this, index) {
- // Inline function 'kotlin.toULong' call
- var this_0 = _ULongArray___get_storage__impl__28e64j($this)[index];
- return _ULong___init__impl__c78o9k(this_0);
- }
-
- function ULongArray__set_impl_z19mvh($this, index, value) {
- var tmp = _ULongArray___get_storage__impl__28e64j($this);
- // Inline function 'kotlin.ULong.toLong' call
- tmp[index] = _ULong___get_data__impl__fggpzb(value);
- }
-
- function _ULongArray___get_size__impl__ju6dtr($this) {
- return _ULongArray___get_storage__impl__28e64j($this).length;
- }
-
- function ULongArray__iterator_impl_cq4d2h($this) {
- return new Iterator_2(_ULongArray___get_storage__impl__28e64j($this));
- }
-
- function Iterator_2(array) {
- this.array_1 = array;
- this.index_1 = 0;
- }
-
- protoOf(Iterator_2).hasNext_bitz1p_k$ = function () {
- return this.index_1 < this.array_1.length;
- };
- protoOf(Iterator_2).next_mi4vn2_k$ = function () {
- var tmp;
- if (this.index_1 < this.array_1.length) {
- // Inline function 'kotlin.toULong' call
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- var this_0 = this.array_1[tmp1];
- tmp = _ULong___init__impl__c78o9k(this_0);
- } else {
- throw NoSuchElementException_init_$Create$_0(this.index_1.toString());
- }
- return tmp;
- };
- protoOf(Iterator_2).next_20eer_k$ = function () {
- return new ULong(this.next_mi4vn2_k$());
- };
-
- function ULongArray__contains_impl_v9bgai($this, element) {
- var tmp = !(new ULong(element) == null) ? new ULong(element) : THROW_CCE();
- if (!(tmp instanceof ULong))
- return false;
- var tmp_0 = _ULongArray___get_storage__impl__28e64j($this);
- // Inline function 'kotlin.ULong.toLong' call
- var tmp$ret$0 = _ULong___get_data__impl__fggpzb(element);
- return contains_6(tmp_0, tmp$ret$0);
- }
-
- function ULongArray__contains_impl_v9bgai_0($this, element) {
- if (!(element instanceof ULong))
- return false;
- return ULongArray__contains_impl_v9bgai($this.storage_1, element instanceof ULong ? element.data_1 : THROW_CCE());
- }
-
- function ULongArray__containsAll_impl_xx8ztf($this, elements) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.all' call
- var this_0 = isInterface(elements, Collection) ? elements : THROW_CCE();
- var tmp;
- if (isInterface(this_0, Collection)) {
- tmp = this_0.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- var tmp0_iterator = this_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.ULongArray.containsAll.' call
- var tmp_0;
- if (element instanceof ULong) {
- var tmp_1 = _ULongArray___get_storage__impl__28e64j($this);
- // Inline function 'kotlin.ULong.toLong' call
- var this_1 = element.data_1;
- var tmp$ret$1 = _ULong___get_data__impl__fggpzb(this_1);
- tmp_0 = contains_6(tmp_1, tmp$ret$1);
- } else {
- tmp_0 = false;
- }
- if (!tmp_0) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- }
- tmp$ret$0 = true;
- }
- return tmp$ret$0;
- }
-
- function ULongArray__containsAll_impl_xx8ztf_0($this, elements) {
- return ULongArray__containsAll_impl_xx8ztf($this.storage_1, elements);
- }
-
- function ULongArray__isEmpty_impl_c3yngu($this) {
- return _ULongArray___get_storage__impl__28e64j($this).length === 0;
- }
-
- function ULongArray__toString_impl_wqk1p5($this) {
- return 'ULongArray(storage=' + toString_1($this) + ')';
- }
-
- function ULongArray__hashCode_impl_aze4wa($this) {
- return hashCode($this);
- }
-
- function ULongArray__equals_impl_vwitwa($this, other) {
- if (!(other instanceof ULongArray))
- return false;
- var tmp0_other_with_cast = other instanceof ULongArray ? other.storage_1 : THROW_CCE();
- if (!equals($this, tmp0_other_with_cast))
- return false;
- return true;
- }
-
- function ULongArray(storage) {
- this.storage_1 = storage;
- }
-
- protoOf(ULongArray).get_size_woubt6_k$ = function () {
- return _ULongArray___get_size__impl__ju6dtr(this.storage_1);
- };
- protoOf(ULongArray).iterator_jk1svi_k$ = function () {
- return ULongArray__iterator_impl_cq4d2h(this.storage_1);
- };
- protoOf(ULongArray).contains_mfvh9i_k$ = function (element) {
- return ULongArray__contains_impl_v9bgai(this.storage_1, element);
- };
- protoOf(ULongArray).contains_aljjnj_k$ = function (element) {
- return ULongArray__contains_impl_v9bgai_0(this, element);
- };
- protoOf(ULongArray).containsAll_ks3xcn_k$ = function (elements) {
- return ULongArray__containsAll_impl_xx8ztf(this.storage_1, elements);
- };
- protoOf(ULongArray).containsAll_xk45sd_k$ = function (elements) {
- return ULongArray__containsAll_impl_xx8ztf_0(this, elements);
- };
- protoOf(ULongArray).isEmpty_y1axqb_k$ = function () {
- return ULongArray__isEmpty_impl_c3yngu(this.storage_1);
- };
- protoOf(ULongArray).toString = function () {
- return ULongArray__toString_impl_wqk1p5(this.storage_1);
- };
- protoOf(ULongArray).hashCode = function () {
- return ULongArray__hashCode_impl_aze4wa(this.storage_1);
- };
- protoOf(ULongArray).equals = function (other) {
- return ULongArray__equals_impl_vwitwa(this.storage_1, other);
- };
-
- function Companion_22() {
- Companion_instance_22 = this;
- this.EMPTY_1 = new ULongRange(Companion_getInstance_21().get_MAX_VALUE_53xrtk_k$(), Companion_getInstance_21().get_MIN_VALUE_phlf8q_k$());
- }
-
- protoOf(Companion_22).get_EMPTY_i8q41w_k$ = function () {
- return this.EMPTY_1;
- };
- var Companion_instance_22;
-
- function Companion_getInstance_22() {
- if (Companion_instance_22 == null)
- new Companion_22();
- return Companion_instance_22;
- }
-
- function ULongRange(start, endInclusive) {
- Companion_getInstance_22();
- ULongProgression.call(this, start, endInclusive, new Long(1, 0));
- }
-
- protoOf(ULongRange).get_start_t8fb1w_k$ = function () {
- return this.first_1;
- };
- protoOf(ULongRange).get_start_iypx6h_k$ = function () {
- return new ULong(this.get_start_t8fb1w_k$());
- };
- protoOf(ULongRange).get_endInclusive_h0ahvv_k$ = function () {
- return this.last_1;
- };
- protoOf(ULongRange).get_endInclusive_r07xpi_k$ = function () {
- return new ULong(this.get_endInclusive_h0ahvv_k$());
- };
- protoOf(ULongRange).get_endExclusive_qkt9qx_k$ = function () {
- if (equals(this.last_1, Companion_getInstance_21().get_MAX_VALUE_53xrtk_k$())) {
- // Inline function 'kotlin.error' call
- var message = 'Cannot return the exclusive upper bound of a range that includes MAX_VALUE.';
- throw IllegalStateException_init_$Create$_0(toString_1(message));
- }
- // Inline function 'kotlin.ULong.plus' call
- var this_0 = this.last_1;
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_1 = _UInt___init__impl__l7qpdl(1);
- var other = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(this_1)).and_4spn93_k$(new Long(-1, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other)));
- };
- protoOf(ULongRange).get_endExclusive_pmwm6k_k$ = function () {
- return new ULong(this.get_endExclusive_qkt9qx_k$());
- };
- protoOf(ULongRange).contains_mfvh9i_k$ = function (value) {
- var tmp;
- // Inline function 'kotlin.ULong.compareTo' call
- var this_0 = this.first_1;
- if (ulongCompare(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(value)) <= 0) {
- // Inline function 'kotlin.ULong.compareTo' call
- var other = this.last_1;
- tmp = ulongCompare(_ULong___get_data__impl__fggpzb(value), _ULong___get_data__impl__fggpzb(other)) <= 0;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(ULongRange).contains_3tkdvy_k$ = function (value) {
- return this.contains_mfvh9i_k$(value instanceof ULong ? value.data_1 : THROW_CCE());
- };
- protoOf(ULongRange).isEmpty_y1axqb_k$ = function () {
- // Inline function 'kotlin.ULong.compareTo' call
- var this_0 = this.first_1;
- var other = this.last_1;
- return ulongCompare(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(other)) > 0;
- };
- protoOf(ULongRange).equals = function (other) {
- var tmp;
- if (other instanceof ULongRange) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : equals(this.first_1, other.first_1) ? equals(this.last_1, other.last_1) : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(ULongRange).hashCode = function () {
- var tmp;
- if (this.isEmpty_y1axqb_k$()) {
- tmp = -1;
- } else {
- // Inline function 'kotlin.ULong.toInt' call
- // Inline function 'kotlin.ULong.xor' call
- var this_0 = this.first_1;
- // Inline function 'kotlin.ULong.shr' call
- var this_1 = this.first_1;
- var other = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_1).ushr_z7nmq8_k$(32));
- var this_2 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).xor_qzz94j_k$(_ULong___get_data__impl__fggpzb(other)));
- var tmp$ret$2 = _ULong___get_data__impl__fggpzb(this_2).toInt_1tsl84_k$();
- var tmp_0 = imul(31, tmp$ret$2);
- // Inline function 'kotlin.ULong.toInt' call
- // Inline function 'kotlin.ULong.xor' call
- var this_3 = this.last_1;
- // Inline function 'kotlin.ULong.shr' call
- var this_4 = this.last_1;
- var other_0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_4).ushr_z7nmq8_k$(32));
- var this_5 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_3).xor_qzz94j_k$(_ULong___get_data__impl__fggpzb(other_0)));
- tmp = tmp_0 + _ULong___get_data__impl__fggpzb(this_5).toInt_1tsl84_k$() | 0;
- }
- return tmp;
- };
- protoOf(ULongRange).toString = function () {
- return '' + new ULong(this.first_1) + '..' + new ULong(this.last_1);
- };
-
- function Companion_23() {
- Companion_instance_23 = this;
- }
-
- protoOf(Companion_23).fromClosedRange_e578op_k$ = function (rangeStart, rangeEnd, step) {
- return new ULongProgression(rangeStart, rangeEnd, step);
- };
- var Companion_instance_23;
-
- function Companion_getInstance_23() {
- if (Companion_instance_23 == null)
- new Companion_23();
- return Companion_instance_23;
- }
-
- function ULongProgression(start, endInclusive, step) {
- Companion_getInstance_23();
- if (step.equals(new Long(0, 0)))
- throw IllegalArgumentException_init_$Create$_0('Step must be non-zero.');
- if (step.equals(Companion_getInstance_1().get_MIN_VALUE_7nmmor_k$()))
- throw IllegalArgumentException_init_$Create$_0('Step must be greater than Long.MIN_VALUE to avoid overflow on negation.');
- this.first_1 = start;
- this.last_1 = getProgressionLastElement_2(start, endInclusive, step);
- this.step_1 = step;
- }
-
- protoOf(ULongProgression).get_first_shpxa6_k$ = function () {
- return this.first_1;
- };
- protoOf(ULongProgression).get_last_6xn0iu_k$ = function () {
- return this.last_1;
- };
- protoOf(ULongProgression).get_step_woujh1_k$ = function () {
- return this.step_1;
- };
- protoOf(ULongProgression).iterator_jk1svi_k$ = function () {
- return new ULongProgressionIterator(this.first_1, this.last_1, this.step_1);
- };
- protoOf(ULongProgression).isEmpty_y1axqb_k$ = function () {
- var tmp;
- if (this.step_1.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- // Inline function 'kotlin.ULong.compareTo' call
- var this_0 = this.first_1;
- var other = this.last_1;
- tmp = ulongCompare(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(other)) > 0;
- } else {
- // Inline function 'kotlin.ULong.compareTo' call
- var this_1 = this.first_1;
- var other_0 = this.last_1;
- tmp = ulongCompare(_ULong___get_data__impl__fggpzb(this_1), _ULong___get_data__impl__fggpzb(other_0)) < 0;
- }
- return tmp;
- };
- protoOf(ULongProgression).equals = function (other) {
- var tmp;
- if (other instanceof ULongProgression) {
- tmp = (this.isEmpty_y1axqb_k$() ? other.isEmpty_y1axqb_k$() : false) ? true : (equals(this.first_1, other.first_1) ? equals(this.last_1, other.last_1) : false) ? this.step_1.equals(other.step_1) : false;
- } else {
- tmp = false;
- }
- return tmp;
- };
- protoOf(ULongProgression).hashCode = function () {
- var tmp;
- if (this.isEmpty_y1axqb_k$()) {
- tmp = -1;
- } else {
- // Inline function 'kotlin.ULong.toInt' call
- // Inline function 'kotlin.ULong.xor' call
- var this_0 = this.first_1;
- // Inline function 'kotlin.ULong.shr' call
- var this_1 = this.first_1;
- var other = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_1).ushr_z7nmq8_k$(32));
- var this_2 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).xor_qzz94j_k$(_ULong___get_data__impl__fggpzb(other)));
- var tmp$ret$2 = _ULong___get_data__impl__fggpzb(this_2).toInt_1tsl84_k$();
- var tmp_0 = imul(31, tmp$ret$2);
- // Inline function 'kotlin.ULong.toInt' call
- // Inline function 'kotlin.ULong.xor' call
- var this_3 = this.last_1;
- // Inline function 'kotlin.ULong.shr' call
- var this_4 = this.last_1;
- var other_0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_4).ushr_z7nmq8_k$(32));
- var this_5 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_3).xor_qzz94j_k$(_ULong___get_data__impl__fggpzb(other_0)));
- var tmp$ret$5 = _ULong___get_data__impl__fggpzb(this_5).toInt_1tsl84_k$();
- tmp = imul(31, tmp_0 + tmp$ret$5 | 0) + this.step_1.xor_qzz94j_k$(this.step_1.ushr_z7nmq8_k$(32)).toInt_1tsl84_k$() | 0;
- }
- return tmp;
- };
- protoOf(ULongProgression).toString = function () {
- return this.step_1.compareTo_9jj042_k$(new Long(0, 0)) > 0 ? '' + new ULong(this.first_1) + '..' + new ULong(this.last_1) + ' step ' + this.step_1.toString() : '' + new ULong(this.first_1) + ' downTo ' + new ULong(this.last_1) + ' step ' + this.step_1.unaryMinus_6uz0qp_k$().toString();
- };
-
- function _get_finalElement__gc6m3p_3($this) {
- return $this.finalElement_1;
- }
-
- function _set_hasNext__86v2bs_3($this, _set____db54di) {
- $this.hasNext_1 = _set____db54di;
- }
-
- function _get_hasNext__xt3cos_3($this) {
- return $this.hasNext_1;
- }
-
- function _get_step__ddv2tb_0($this) {
- return $this.step_1;
- }
-
- function _set_next__9r2xms_3($this, _set____db54di) {
- $this.next_1 = _set____db54di;
- }
-
- function _get_next__daux88_3($this) {
- return $this.next_1;
- }
-
- function ULongProgressionIterator(first, last, step) {
- this.finalElement_1 = last;
- var tmp = this;
- var tmp_0;
- if (step.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- // Inline function 'kotlin.ULong.compareTo' call
- tmp_0 = ulongCompare(_ULong___get_data__impl__fggpzb(first), _ULong___get_data__impl__fggpzb(last)) <= 0;
- } else {
- // Inline function 'kotlin.ULong.compareTo' call
- tmp_0 = ulongCompare(_ULong___get_data__impl__fggpzb(first), _ULong___get_data__impl__fggpzb(last)) >= 0;
- }
- tmp.hasNext_1 = tmp_0;
- var tmp_1 = this;
- // Inline function 'kotlin.toULong' call
- tmp_1.step_1 = _ULong___init__impl__c78o9k(step);
- this.next_1 = this.hasNext_1 ? first : this.finalElement_1;
- }
-
- protoOf(ULongProgressionIterator).hasNext_bitz1p_k$ = function () {
- return this.hasNext_1;
- };
- protoOf(ULongProgressionIterator).next_mi4vn2_k$ = function () {
- var value = this.next_1;
- if (equals(value, this.finalElement_1)) {
- if (!this.hasNext_1)
- throw NoSuchElementException_init_$Create$();
- this.hasNext_1 = false;
- } else {
- var tmp = this;
- // Inline function 'kotlin.ULong.plus' call
- var this_0 = this.next_1;
- var other = this.step_1;
- tmp.next_1 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other)));
- }
- return value;
- };
- protoOf(ULongProgressionIterator).next_20eer_k$ = function () {
- return new ULong(this.next_mi4vn2_k$());
- };
-
- function getProgressionLastElement_1(start, end, step) {
- var tmp;
- if (step > 0) {
- var tmp_0;
- // Inline function 'kotlin.UInt.compareTo' call
- if (uintCompare(_UInt___get_data__impl__f0vqqw(start), _UInt___get_data__impl__f0vqqw(end)) >= 0) {
- tmp_0 = end;
- } else {
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.toUInt' call
- var tmp$ret$1 = _UInt___init__impl__l7qpdl(step);
- var other = differenceModulo_1(end, start, tmp$ret$1);
- tmp_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(end) - _UInt___get_data__impl__f0vqqw(other) | 0);
- }
- tmp = tmp_0;
- } else if (step < 0) {
- var tmp_1;
- // Inline function 'kotlin.UInt.compareTo' call
- if (uintCompare(_UInt___get_data__impl__f0vqqw(start), _UInt___get_data__impl__f0vqqw(end)) <= 0) {
- tmp_1 = end;
- } else {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.toUInt' call
- var this_0 = -step | 0;
- var tmp$ret$4 = _UInt___init__impl__l7qpdl(this_0);
- var other_0 = differenceModulo_1(start, end, tmp$ret$4);
- tmp_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(end) + _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
- tmp = tmp_1;
- } else {
- throw IllegalArgumentException_init_$Create$_0('Step is zero.');
- }
- return tmp;
- }
-
- function getProgressionLastElement_2(start, end, step) {
- var tmp;
- if (step.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- var tmp_0;
- // Inline function 'kotlin.ULong.compareTo' call
- if (ulongCompare(_ULong___get_data__impl__fggpzb(start), _ULong___get_data__impl__fggpzb(end)) >= 0) {
- tmp_0 = end;
- } else {
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.toULong' call
- var tmp$ret$1 = _ULong___init__impl__c78o9k(step);
- var other = differenceModulo_2(end, start, tmp$ret$1);
- tmp_0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(end).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- }
- tmp = tmp_0;
- } else if (step.compareTo_9jj042_k$(new Long(0, 0)) < 0) {
- var tmp_1;
- // Inline function 'kotlin.ULong.compareTo' call
- if (ulongCompare(_ULong___get_data__impl__fggpzb(start), _ULong___get_data__impl__fggpzb(end)) <= 0) {
- tmp_1 = end;
- } else {
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.toULong' call
- var this_0 = step.unaryMinus_6uz0qp_k$();
- var tmp$ret$4 = _ULong___init__impl__c78o9k(this_0);
- var other_0 = differenceModulo_2(start, end, tmp$ret$4);
- tmp_1 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(end).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other_0)));
- }
- tmp = tmp_1;
- } else {
- throw IllegalArgumentException_init_$Create$_0('Step is zero.');
- }
- return tmp;
- }
-
- function differenceModulo_1(a, b, c) {
- // Inline function 'kotlin.UInt.rem' call
- var ac = uintRemainder(a, c);
- // Inline function 'kotlin.UInt.rem' call
- var bc = uintRemainder(b, c);
- var tmp;
- // Inline function 'kotlin.UInt.compareTo' call
- if (uintCompare(_UInt___get_data__impl__f0vqqw(ac), _UInt___get_data__impl__f0vqqw(bc)) >= 0) {
- // Inline function 'kotlin.UInt.minus' call
- tmp = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(ac) - _UInt___get_data__impl__f0vqqw(bc) | 0);
- } else {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.UInt.minus' call
- var this_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(ac) - _UInt___get_data__impl__f0vqqw(bc) | 0);
- tmp = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) + _UInt___get_data__impl__f0vqqw(c) | 0);
- }
- return tmp;
- }
-
- function differenceModulo_2(a, b, c) {
- // Inline function 'kotlin.ULong.rem' call
- var ac = ulongRemainder(a, c);
- // Inline function 'kotlin.ULong.rem' call
- var bc = ulongRemainder(b, c);
- var tmp;
- // Inline function 'kotlin.ULong.compareTo' call
- if (ulongCompare(_ULong___get_data__impl__fggpzb(ac), _ULong___get_data__impl__fggpzb(bc)) >= 0) {
- // Inline function 'kotlin.ULong.minus' call
- tmp = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(ac).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(bc)));
- } else {
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.ULong.minus' call
- var this_0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(ac).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(bc)));
- tmp = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(c)));
- }
- return tmp;
- }
-
- function _UShort___init__impl__jigrne(data) {
- return data;
- }
-
- function _UShort___get_data__impl__g0245($this) {
- return $this;
- }
-
- function Companion_24() {
- Companion_instance_24 = this;
- this.MIN_VALUE_1 = _UShort___init__impl__jigrne(0);
- this.MAX_VALUE_1 = _UShort___init__impl__jigrne(-1);
- this.SIZE_BYTES_1 = 2;
- this.SIZE_BITS_1 = 16;
- }
-
- protoOf(Companion_24).get_MIN_VALUE_8wxn4e_k$ = function () {
- return this.MIN_VALUE_1;
- };
- protoOf(Companion_24).get_MAX_VALUE_gfkyu8_k$ = function () {
- return this.MAX_VALUE_1;
- };
- protoOf(Companion_24).get_SIZE_BYTES_qphg4q_k$ = function () {
- return this.SIZE_BYTES_1;
- };
- protoOf(Companion_24).get_SIZE_BITS_7qhjj9_k$ = function () {
- return this.SIZE_BITS_1;
- };
- var Companion_instance_24;
-
- function Companion_getInstance_24() {
- if (Companion_instance_24 == null)
- new Companion_24();
- return Companion_instance_24;
- }
-
- function UShort__compareTo_impl_1pfgyc($this, other) {
- // Inline function 'kotlin.UShort.toInt' call
- var tmp = _UShort___get_data__impl__g0245($this) & 65535;
- // Inline function 'kotlin.UByte.toInt' call
- var tmp$ret$1 = _UByte___get_data__impl__jof9qr(other) & 255;
- return compareTo(tmp, tmp$ret$1);
- }
-
- function UShort__compareTo_impl_1pfgyc_0($this, other) {
- // Inline function 'kotlin.UShort.toInt' call
- var tmp = _UShort___get_data__impl__g0245($this) & 65535;
- // Inline function 'kotlin.UShort.toInt' call
- var tmp$ret$1 = _UShort___get_data__impl__g0245(other) & 65535;
- return compareTo(tmp, tmp$ret$1);
- }
-
- function UShort__compareTo_impl_1pfgyc_1($this, other) {
- return UShort__compareTo_impl_1pfgyc_0($this.data_1, other instanceof UShort ? other.data_1 : THROW_CCE());
- }
-
- function UShort__compareTo_impl_1pfgyc_2($this, other) {
- // Inline function 'kotlin.UInt.compareTo' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- return uintCompare(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other));
- }
-
- function UShort__compareTo_impl_1pfgyc_3($this, other) {
- // Inline function 'kotlin.ULong.compareTo' call
- // Inline function 'kotlin.UShort.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0)));
- return ulongCompare(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(other));
- }
-
- function UShort__plus_impl_s0k2d0($this, other) {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) + _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UShort__plus_impl_s0k2d0_0($this, other) {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) + _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UShort__plus_impl_s0k2d0_1($this, other) {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) + _UInt___get_data__impl__f0vqqw(other) | 0);
- }
-
- function UShort__plus_impl_s0k2d0_2($this, other) {
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.UShort.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function UShort__minus_impl_e61690($this, other) {
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) - _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UShort__minus_impl_e61690_0($this, other) {
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) - _UInt___get_data__impl__f0vqqw(other_0) | 0);
- }
-
- function UShort__minus_impl_e61690_1($this, other) {
- // Inline function 'kotlin.UInt.minus' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- return _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) - _UInt___get_data__impl__f0vqqw(other) | 0);
- }
-
- function UShort__minus_impl_e61690_2($this, other) {
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UShort.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function UShort__times_impl_bvilzi($this, other) {
- // Inline function 'kotlin.UInt.times' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other_0)));
- }
-
- function UShort__times_impl_bvilzi_0($this, other) {
- // Inline function 'kotlin.UInt.times' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other_0)));
- }
-
- function UShort__times_impl_bvilzi_1($this, other) {
- // Inline function 'kotlin.UInt.times' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- return _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(other)));
- }
-
- function UShort__times_impl_bvilzi_2($this, other) {
- // Inline function 'kotlin.ULong.times' call
- // Inline function 'kotlin.UShort.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0)));
- return _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).times_nfzjiw_k$(_ULong___get_data__impl__fggpzb(other)));
- }
-
- function UShort__div_impl_b0o0rh($this, other) {
- // Inline function 'kotlin.UInt.div' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintDivide(this_0, other_0);
- }
-
- function UShort__div_impl_b0o0rh_0($this, other) {
- // Inline function 'kotlin.UInt.div' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintDivide(this_0, other_0);
- }
-
- function UShort__div_impl_b0o0rh_1($this, other) {
- // Inline function 'kotlin.UInt.div' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- return uintDivide(this_0, other);
- }
-
- function UShort__div_impl_b0o0rh_2($this, other) {
- // Inline function 'kotlin.ULong.div' call
- // Inline function 'kotlin.UShort.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0)));
- return ulongDivide(this_0, other);
- }
-
- function UShort__rem_impl_pmhe86($this, other) {
- // Inline function 'kotlin.UInt.rem' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UByte.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintRemainder(this_0, other_0);
- }
-
- function UShort__rem_impl_pmhe86_0($this, other) {
- // Inline function 'kotlin.UInt.rem' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UShort.toUInt' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintRemainder(this_0, other_0);
- }
-
- function UShort__rem_impl_pmhe86_1($this, other) {
- // Inline function 'kotlin.UInt.rem' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- return uintRemainder(this_0, other);
- }
-
- function UShort__rem_impl_pmhe86_2($this, other) {
- // Inline function 'kotlin.ULong.rem' call
- // Inline function 'kotlin.UShort.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0)));
- return ulongRemainder(this_0, other);
- }
-
- function UShort__floorDiv_impl_gebnkx($this, other) {
- // Inline function 'kotlin.UInt.floorDiv' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UByte.toUInt' call
- // Inline function 'kotlin.UInt.div' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- return uintDivide(this_0, other_0);
- }
-
- function UShort__floorDiv_impl_gebnkx_0($this, other) {
- // Inline function 'kotlin.UInt.floorDiv' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UShort.toUInt' call
- // Inline function 'kotlin.UInt.div' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return uintDivide(this_0, other_0);
- }
-
- function UShort__floorDiv_impl_gebnkx_1($this, other) {
- // Inline function 'kotlin.UInt.floorDiv' call
- // Inline function 'kotlin.UShort.toUInt' call
- // Inline function 'kotlin.UInt.div' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- return uintDivide(this_0, other);
- }
-
- function UShort__floorDiv_impl_gebnkx_2($this, other) {
- // Inline function 'kotlin.ULong.floorDiv' call
- // Inline function 'kotlin.UShort.toULong' call
- // Inline function 'kotlin.ULong.div' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0)));
- return ulongDivide(this_0, other);
- }
-
- function UShort__mod_impl_r81ium($this, other) {
- // Inline function 'kotlin.UInt.toUByte' call
- // Inline function 'kotlin.UInt.mod' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UByte.toUInt' call
- // Inline function 'kotlin.UInt.rem' call
- var other_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
- var this_1 = uintRemainder(this_0, other_0);
- // Inline function 'kotlin.toUByte' call
- var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
- return _UByte___init__impl__g9hnc4(toByte(this_2));
- }
-
- function UShort__mod_impl_r81ium_0($this, other) {
- // Inline function 'kotlin.UInt.toUShort' call
- // Inline function 'kotlin.UInt.mod' call
- // Inline function 'kotlin.UShort.toUInt' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UShort.toUInt' call
- // Inline function 'kotlin.UInt.rem' call
- var other_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- var this_1 = uintRemainder(this_0, other_0);
- // Inline function 'kotlin.toUShort' call
- var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
- return _UShort___init__impl__jigrne(toShort(this_2));
- }
-
- function UShort__mod_impl_r81ium_1($this, other) {
- // Inline function 'kotlin.UInt.mod' call
- // Inline function 'kotlin.UShort.toUInt' call
- // Inline function 'kotlin.UInt.rem' call
- var this_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- return uintRemainder(this_0, other);
- }
-
- function UShort__mod_impl_r81ium_2($this, other) {
- // Inline function 'kotlin.ULong.mod' call
- // Inline function 'kotlin.UShort.toULong' call
- // Inline function 'kotlin.ULong.rem' call
- var this_0 = _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0)));
- return ulongRemainder(this_0, other);
- }
-
- function UShort__inc_impl_flr7re($this) {
- return _UShort___init__impl__jigrne(numberToShort(_UShort___get_data__impl__g0245($this) + 1));
- }
-
- function UShort__dec_impl_7ozx66($this) {
- return _UShort___init__impl__jigrne(numberToShort(_UShort___get_data__impl__g0245($this) - 1));
- }
-
- function UShort__rangeTo_impl_xfunss($this, other) {
- // Inline function 'kotlin.UShort.toUInt' call
- var tmp = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UShort.toUInt' call
- var tmp$ret$1 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return new UIntRange(tmp, tmp$ret$1);
- }
-
- function UShort__rangeUntil_impl_nxhs85($this, other) {
- // Inline function 'kotlin.UShort.toUInt' call
- var tmp = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- // Inline function 'kotlin.UShort.toUInt' call
- var tmp$ret$1 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
- return until_16(tmp, tmp$ret$1);
- }
-
- function UShort__and_impl_wmd7xf($this, other) {
- // Inline function 'kotlin.experimental.and' call
- var this_0 = _UShort___get_data__impl__g0245($this);
- var other_0 = _UShort___get_data__impl__g0245(other);
- var tmp$ret$0 = toShort(this_0 & other_0);
- return _UShort___init__impl__jigrne(tmp$ret$0);
- }
-
- function UShort__or_impl_uhj9st($this, other) {
- // Inline function 'kotlin.experimental.or' call
- var this_0 = _UShort___get_data__impl__g0245($this);
- var other_0 = _UShort___get_data__impl__g0245(other);
- var tmp$ret$0 = toShort(this_0 | other_0);
- return _UShort___init__impl__jigrne(tmp$ret$0);
- }
-
- function UShort__xor_impl_cc06ft($this, other) {
- // Inline function 'kotlin.experimental.xor' call
- var this_0 = _UShort___get_data__impl__g0245($this);
- var other_0 = _UShort___get_data__impl__g0245(other);
- var tmp$ret$0 = toShort(this_0 ^ other_0);
- return _UShort___init__impl__jigrne(tmp$ret$0);
- }
-
- function UShort__inv_impl_6lwe9p($this) {
- // Inline function 'kotlin.experimental.inv' call
- var this_0 = _UShort___get_data__impl__g0245($this);
- var tmp$ret$0 = toShort(~this_0);
- return _UShort___init__impl__jigrne(tmp$ret$0);
- }
-
- function UShort__toByte_impl_m9fcil($this) {
- return toByte(_UShort___get_data__impl__g0245($this));
- }
-
- function UShort__toShort_impl_fqwi31($this) {
- return _UShort___get_data__impl__g0245($this);
- }
-
- function UShort__toInt_impl_72bkww($this) {
- return _UShort___get_data__impl__g0245($this) & 65535;
- }
-
- function UShort__toLong_impl_ds1s6n($this) {
- return toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0));
- }
-
- function UShort__toUByte_impl_3ig9yq($this) {
- // Inline function 'kotlin.toUByte' call
- var this_0 = _UShort___get_data__impl__g0245($this);
- return _UByte___init__impl__g9hnc4(toByte(this_0));
- }
-
- function UShort__toUShort_impl_1x3938($this) {
- return $this;
- }
-
- function UShort__toUInt_impl_581pf5($this) {
- return _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245($this) & 65535);
- }
-
- function UShort__toULong_impl_vh6nb6($this) {
- return _ULong___init__impl__c78o9k(toLong(_UShort___get_data__impl__g0245($this)).and_4spn93_k$(new Long(65535, 0)));
- }
-
- function UShort__toFloat_impl_ckgf4j($this) {
- // Inline function 'kotlin.UShort.toInt' call
- return _UShort___get_data__impl__g0245($this) & 65535;
- }
-
- function UShort__toDouble_impl_g58lae($this) {
- // Inline function 'kotlin.UShort.toInt' call
- return _UShort___get_data__impl__g0245($this) & 65535;
- }
-
- function UShort__toString_impl_edaoee($this) {
- // Inline function 'kotlin.UShort.toInt' call
- return (_UShort___get_data__impl__g0245($this) & 65535).toString();
- }
-
- function UShort__hashCode_impl_ywngrv($this) {
- return $this;
- }
-
- function UShort__equals_impl_7t9pdz($this, other) {
- if (!(other instanceof UShort))
- return false;
- if (!($this === (other instanceof UShort ? other.data_1 : THROW_CCE())))
- return false;
- return true;
- }
-
- function UShort(data) {
- Companion_getInstance_24();
- this.data_1 = data;
- }
-
- protoOf(UShort).compareTo_k5z7qt_k$ = function (other) {
- return UShort__compareTo_impl_1pfgyc_0(this.data_1, other);
- };
- protoOf(UShort).compareTo_hpufkf_k$ = function (other) {
- return UShort__compareTo_impl_1pfgyc_1(this, other);
- };
- protoOf(UShort).toString = function () {
- return UShort__toString_impl_edaoee(this.data_1);
- };
- protoOf(UShort).hashCode = function () {
- return UShort__hashCode_impl_ywngrv(this.data_1);
- };
- protoOf(UShort).equals = function (other) {
- return UShort__equals_impl_7t9pdz(this.data_1, other);
- };
-
- function toUShort(_this__u8e3s4) {
- return _UShort___init__impl__jigrne(toShort(_this__u8e3s4));
- }
-
- function toUShort_0(_this__u8e3s4) {
- return _UShort___init__impl__jigrne(_this__u8e3s4.toShort_ja8oqn_k$());
- }
-
- function toUShort_1(_this__u8e3s4) {
- return _UShort___init__impl__jigrne(_this__u8e3s4);
- }
-
- function _get_array__jslnqg_3($this) {
- return $this.array_1;
- }
-
- function _set_index__fyfqnn_3($this, _set____db54di) {
- $this.index_1 = _set____db54di;
- }
-
- function _get_index__g2optt_4($this) {
- return $this.index_1;
- }
-
- function _UShortArray___init__impl__9b26ef(storage) {
- return storage;
- }
-
- function _UShortArray___get_storage__impl__t2jpv5($this) {
- return $this;
- }
-
- function _UShortArray___init__impl__9b26ef_0(size) {
- return _UShortArray___init__impl__9b26ef(new Int16Array(size));
- }
-
- function UShortArray__get_impl_fnbhmx($this, index) {
- // Inline function 'kotlin.toUShort' call
- var this_0 = _UShortArray___get_storage__impl__t2jpv5($this)[index];
- return _UShort___init__impl__jigrne(this_0);
- }
-
- function UShortArray__set_impl_6d8whp($this, index, value) {
- var tmp = _UShortArray___get_storage__impl__t2jpv5($this);
- // Inline function 'kotlin.UShort.toShort' call
- tmp[index] = _UShort___get_data__impl__g0245(value);
- }
-
- function _UShortArray___get_size__impl__jqto1b($this) {
- return _UShortArray___get_storage__impl__t2jpv5($this).length;
- }
-
- function UShortArray__iterator_impl_ktpenn($this) {
- return new Iterator_3(_UShortArray___get_storage__impl__t2jpv5($this));
- }
-
- function Iterator_3(array) {
- this.array_1 = array;
- this.index_1 = 0;
- }
-
- protoOf(Iterator_3).hasNext_bitz1p_k$ = function () {
- return this.index_1 < this.array_1.length;
- };
- protoOf(Iterator_3).next_csnf8m_k$ = function () {
- var tmp;
- if (this.index_1 < this.array_1.length) {
- // Inline function 'kotlin.toUShort' call
- var tmp1 = this.index_1;
- this.index_1 = tmp1 + 1 | 0;
- var this_0 = this.array_1[tmp1];
- tmp = _UShort___init__impl__jigrne(this_0);
- } else {
- throw NoSuchElementException_init_$Create$_0(this.index_1.toString());
- }
- return tmp;
- };
- protoOf(Iterator_3).next_20eer_k$ = function () {
- return new UShort(this.next_csnf8m_k$());
- };
-
- function UShortArray__contains_impl_vo7k3g($this, element) {
- var tmp = !(new UShort(element) == null) ? new UShort(element) : THROW_CCE();
- if (!(tmp instanceof UShort))
- return false;
- var tmp_0 = _UShortArray___get_storage__impl__t2jpv5($this);
- // Inline function 'kotlin.UShort.toShort' call
- var tmp$ret$0 = _UShort___get_data__impl__g0245(element);
- return contains_4(tmp_0, tmp$ret$0);
- }
-
- function UShortArray__contains_impl_vo7k3g_0($this, element) {
- if (!(element instanceof UShort))
- return false;
- return UShortArray__contains_impl_vo7k3g($this.storage_1, element instanceof UShort ? element.data_1 : THROW_CCE());
- }
-
- function UShortArray__containsAll_impl_vlaaxp($this, elements) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.all' call
- var this_0 = isInterface(elements, Collection) ? elements : THROW_CCE();
- var tmp;
- if (isInterface(this_0, Collection)) {
- tmp = this_0.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- var tmp0_iterator = this_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlin.UShortArray.containsAll.' call
- var tmp_0;
- if (element instanceof UShort) {
- var tmp_1 = _UShortArray___get_storage__impl__t2jpv5($this);
- // Inline function 'kotlin.UShort.toShort' call
- var this_1 = element.data_1;
- var tmp$ret$1 = _UShort___get_data__impl__g0245(this_1);
- tmp_0 = contains_4(tmp_1, tmp$ret$1);
- } else {
- tmp_0 = false;
- }
- if (!tmp_0) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- }
- tmp$ret$0 = true;
- }
- return tmp$ret$0;
- }
-
- function UShortArray__containsAll_impl_vlaaxp_0($this, elements) {
- return UShortArray__containsAll_impl_vlaaxp($this.storage_1, elements);
- }
-
- function UShortArray__isEmpty_impl_cdd9l0($this) {
- return _UShortArray___get_storage__impl__t2jpv5($this).length === 0;
- }
-
- function UShortArray__toString_impl_omz03z($this) {
- return 'UShortArray(storage=' + toString_1($this) + ')';
- }
-
- function UShortArray__hashCode_impl_2vt3b4($this) {
- return hashCode($this);
- }
-
- function UShortArray__equals_impl_tyc3mk($this, other) {
- if (!(other instanceof UShortArray))
- return false;
- var tmp0_other_with_cast = other instanceof UShortArray ? other.storage_1 : THROW_CCE();
- if (!equals($this, tmp0_other_with_cast))
- return false;
- return true;
- }
-
- function UShortArray(storage) {
- this.storage_1 = storage;
- }
-
- protoOf(UShortArray).get_size_woubt6_k$ = function () {
- return _UShortArray___get_size__impl__jqto1b(this.storage_1);
- };
- protoOf(UShortArray).iterator_jk1svi_k$ = function () {
- return UShortArray__iterator_impl_ktpenn(this.storage_1);
- };
- protoOf(UShortArray).contains_2ufjxw_k$ = function (element) {
- return UShortArray__contains_impl_vo7k3g(this.storage_1, element);
- };
- protoOf(UShortArray).contains_aljjnj_k$ = function (element) {
- return UShortArray__contains_impl_vo7k3g_0(this, element);
- };
- protoOf(UShortArray).containsAll_e9sgm5_k$ = function (elements) {
- return UShortArray__containsAll_impl_vlaaxp(this.storage_1, elements);
- };
- protoOf(UShortArray).containsAll_xk45sd_k$ = function (elements) {
- return UShortArray__containsAll_impl_vlaaxp_0(this, elements);
- };
- protoOf(UShortArray).isEmpty_y1axqb_k$ = function () {
- return UShortArray__isEmpty_impl_cdd9l0(this.storage_1);
- };
- protoOf(UShortArray).toString = function () {
- return UShortArray__toString_impl_omz03z(this.storage_1);
- };
- protoOf(UShortArray).hashCode = function () {
- return UShortArray__hashCode_impl_2vt3b4(this.storage_1);
- };
- protoOf(UShortArray).equals = function (other) {
- return UShortArray__equals_impl_tyc3mk(this.storage_1, other);
- };
-
- function uintCompare(v1, v2) {
- return compareTo(v1 ^ IntCompanionObject_getInstance().get_MIN_VALUE_7nmmor_k$(), v2 ^ IntCompanionObject_getInstance().get_MIN_VALUE_7nmmor_k$());
- }
-
- function uintDivide(v1, v2) {
- // Inline function 'kotlin.toUInt' call
- // Inline function 'kotlin.UInt.toLong' call
- var tmp = toLong(_UInt___get_data__impl__f0vqqw(v1)).and_4spn93_k$(new Long(-1, 0));
- // Inline function 'kotlin.UInt.toLong' call
- var tmp$ret$1 = toLong(_UInt___get_data__impl__f0vqqw(v2)).and_4spn93_k$(new Long(-1, 0));
- var this_0 = tmp.div_jun7gj_k$(tmp$ret$1);
- return _UInt___init__impl__l7qpdl(this_0.toInt_1tsl84_k$());
- }
-
- function uintRemainder(v1, v2) {
- // Inline function 'kotlin.toUInt' call
- // Inline function 'kotlin.UInt.toLong' call
- var tmp = toLong(_UInt___get_data__impl__f0vqqw(v1)).and_4spn93_k$(new Long(-1, 0));
- // Inline function 'kotlin.UInt.toLong' call
- var tmp$ret$1 = toLong(_UInt___get_data__impl__f0vqqw(v2)).and_4spn93_k$(new Long(-1, 0));
- var this_0 = tmp.rem_bsnl9o_k$(tmp$ret$1);
- return _UInt___init__impl__l7qpdl(this_0.toInt_1tsl84_k$());
- }
-
- function uintToDouble(v) {
- return (v & IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$()) + ((v >>> 31 | 0) << 30) * 2;
- }
-
- function ulongCompare(v1, v2) {
- return v1.xor_qzz94j_k$(Companion_getInstance_1().get_MIN_VALUE_7nmmor_k$()).compareTo_9jj042_k$(v2.xor_qzz94j_k$(Companion_getInstance_1().get_MIN_VALUE_7nmmor_k$()));
- }
-
- function ulongDivide(v1, v2) {
- // Inline function 'kotlin.ULong.toLong' call
- var dividend = _ULong___get_data__impl__fggpzb(v1);
- // Inline function 'kotlin.ULong.toLong' call
- var divisor = _ULong___get_data__impl__fggpzb(v2);
- if (divisor.compareTo_9jj042_k$(new Long(0, 0)) < 0) {
- var tmp;
- // Inline function 'kotlin.ULong.compareTo' call
- if (ulongCompare(_ULong___get_data__impl__fggpzb(v1), _ULong___get_data__impl__fggpzb(v2)) < 0) {
- tmp = _ULong___init__impl__c78o9k(new Long(0, 0));
- } else {
- tmp = _ULong___init__impl__c78o9k(new Long(1, 0));
- }
- return tmp;
- }
- if (dividend.compareTo_9jj042_k$(new Long(0, 0)) >= 0) {
- return _ULong___init__impl__c78o9k(dividend.div_jun7gj_k$(divisor));
- }
- var quotient = dividend.ushr_z7nmq8_k$(1).div_jun7gj_k$(divisor).shl_bg8if3_k$(1);
- var rem = dividend.minus_mfbszm_k$(quotient.times_nfzjiw_k$(divisor));
- // Inline function 'kotlin.Long.plus' call
- var tmp_0;
- // Inline function 'kotlin.ULong.compareTo' call
- var this_0 = _ULong___init__impl__c78o9k(rem);
- var other = _ULong___init__impl__c78o9k(divisor);
- if (ulongCompare(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(other)) >= 0) {
- tmp_0 = 1;
- } else {
- tmp_0 = 0;
- }
- var other_0 = tmp_0;
- var tmp$ret$4 = quotient.plus_r93sks_k$(toLong(other_0));
- return _ULong___init__impl__c78o9k(tmp$ret$4);
- }
-
- function ulongRemainder(v1, v2) {
- // Inline function 'kotlin.ULong.toLong' call
- var dividend = _ULong___get_data__impl__fggpzb(v1);
- // Inline function 'kotlin.ULong.toLong' call
- var divisor = _ULong___get_data__impl__fggpzb(v2);
- if (divisor.compareTo_9jj042_k$(new Long(0, 0)) < 0) {
- var tmp;
- // Inline function 'kotlin.ULong.compareTo' call
- if (ulongCompare(_ULong___get_data__impl__fggpzb(v1), _ULong___get_data__impl__fggpzb(v2)) < 0) {
- tmp = v1;
- } else {
- // Inline function 'kotlin.ULong.minus' call
- tmp = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(v1).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(v2)));
- }
- return tmp;
- }
- if (dividend.compareTo_9jj042_k$(new Long(0, 0)) >= 0) {
- return _ULong___init__impl__c78o9k(dividend.rem_bsnl9o_k$(divisor));
- }
- var quotient = dividend.ushr_z7nmq8_k$(1).div_jun7gj_k$(divisor).shl_bg8if3_k$(1);
- var rem = dividend.minus_mfbszm_k$(quotient.times_nfzjiw_k$(divisor));
- var tmp_0;
- // Inline function 'kotlin.ULong.compareTo' call
- var this_0 = _ULong___init__impl__c78o9k(rem);
- var other = _ULong___init__impl__c78o9k(divisor);
- if (ulongCompare(_ULong___get_data__impl__fggpzb(this_0), _ULong___get_data__impl__fggpzb(other)) >= 0) {
- tmp_0 = divisor;
- } else {
- tmp_0 = new Long(0, 0);
- }
- return _ULong___init__impl__c78o9k(rem.minus_mfbszm_k$(tmp_0));
- }
-
- function ulongToDouble(v) {
- return v.ushr_z7nmq8_k$(11).toDouble_ygsx0s_k$() * 2048 + v.and_4spn93_k$(new Long(2047, 0)).toDouble_ygsx0s_k$();
- }
-
- function ulongToString(v) {
- return ulongToString_0(v, 10);
- }
-
- function ulongToString_0(v, base) {
- if (v.compareTo_9jj042_k$(new Long(0, 0)) >= 0)
- return toString_2(v, base);
- // Inline function 'kotlin.Long.div' call
- var quotient = v.ushr_z7nmq8_k$(1).div_jun7gj_k$(toLong(base)).shl_bg8if3_k$(1);
- // Inline function 'kotlin.Long.times' call
- var tmp$ret$1 = quotient.times_nfzjiw_k$(toLong(base));
- var rem = v.minus_mfbszm_k$(tmp$ret$1);
- if (rem.compareTo_9jj042_k$(toLong(base)) >= 0) {
- // Inline function 'kotlin.Long.minus' call
- rem = rem.minus_mfbszm_k$(toLong(base));
- // Inline function 'kotlin.Long.plus' call
- quotient = quotient.plus_r93sks_k$(toLong(1));
- }
- return toString_2(quotient, base) + toString_2(rem, base);
- }
-
- function doubleToUInt(v) {
- var tmp;
- if (isNaN_0(v)) {
- tmp = _UInt___init__impl__l7qpdl(0);
- } else {
- // Inline function 'kotlin.UInt.toDouble' call
- var this_0 = Companion_getInstance_18().get_MIN_VALUE_9zjqdd_k$();
- if (v <= uintToDouble(_UInt___get_data__impl__f0vqqw(this_0))) {
- tmp = Companion_getInstance_18().get_MIN_VALUE_9zjqdd_k$();
- } else {
- // Inline function 'kotlin.UInt.toDouble' call
- var this_1 = Companion_getInstance_18().get_MAX_VALUE_bmdakz_k$();
- if (v >= uintToDouble(_UInt___get_data__impl__f0vqqw(this_1))) {
- tmp = Companion_getInstance_18().get_MAX_VALUE_bmdakz_k$();
- } else {
- if (v <= IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$()) {
- // Inline function 'kotlin.toUInt' call
- var this_2 = numberToInt(v);
- tmp = _UInt___init__impl__l7qpdl(this_2);
- } else {
- // Inline function 'kotlin.UInt.plus' call
- // Inline function 'kotlin.toUInt' call
- var this_3 = numberToInt(v - IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$());
- var this_4 = _UInt___init__impl__l7qpdl(this_3);
- // Inline function 'kotlin.toUInt' call
- var this_5 = IntCompanionObject_getInstance().get_MAX_VALUE_54a9lf_k$();
- var other = _UInt___init__impl__l7qpdl(this_5);
- tmp = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_4) + _UInt___get_data__impl__f0vqqw(other) | 0);
- }
- }
- }
- }
- return tmp;
- }
-
- function doubleToULong(v) {
- var tmp;
- if (isNaN_0(v)) {
- tmp = _ULong___init__impl__c78o9k(new Long(0, 0));
- } else {
- // Inline function 'kotlin.ULong.toDouble' call
- var this_0 = Companion_getInstance_21().get_MIN_VALUE_phlf8q_k$();
- if (v <= ulongToDouble(_ULong___get_data__impl__fggpzb(this_0))) {
- tmp = Companion_getInstance_21().get_MIN_VALUE_phlf8q_k$();
- } else {
- // Inline function 'kotlin.ULong.toDouble' call
- var this_1 = Companion_getInstance_21().get_MAX_VALUE_53xrtk_k$();
- if (v >= ulongToDouble(_ULong___get_data__impl__fggpzb(this_1))) {
- tmp = Companion_getInstance_21().get_MAX_VALUE_53xrtk_k$();
- } else {
- if (v < Companion_getInstance_1().get_MAX_VALUE_54a9lf_k$().toDouble_ygsx0s_k$()) {
- // Inline function 'kotlin.toULong' call
- var this_2 = numberToLong(v);
- tmp = _ULong___init__impl__c78o9k(this_2);
- } else {
- // Inline function 'kotlin.ULong.plus' call
- // Inline function 'kotlin.toULong' call
- var this_3 = numberToLong(v - 9.223372036854776E18);
- var this_4 = _ULong___init__impl__c78o9k(this_3);
- var other = _ULong___init__impl__c78o9k(new Long(0, -2147483648));
- tmp = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_4).plus_r93sks_k$(_ULong___get_data__impl__fggpzb(other)));
- }
- }
- }
- }
- return tmp;
- }
-
- function ExperimentalUnsignedTypes() {
- }
-
- protoOf(ExperimentalUnsignedTypes).equals = function (other) {
- if (!(other instanceof ExperimentalUnsignedTypes))
- return false;
- other instanceof ExperimentalUnsignedTypes || THROW_CCE();
- return true;
- };
- protoOf(ExperimentalUnsignedTypes).hashCode = function () {
- return 0;
- };
- protoOf(ExperimentalUnsignedTypes).toString = function () {
- return '@kotlin.ExperimentalUnsignedTypes()';
- };
- //region block: post-declaration
- protoOf(InternalHashMap).containsAllEntries_5fw0no_k$ = containsAllEntries;
- protoOf(findNext$1).get_destructured_a9abdx_k$ = get_destructured;
- protoOf(CombinedContext).plus_s13ygv_k$ = plus;
- //endregion
- //region block: init
- OBJECT_HASH_CODE_PROPERTY_NAME = 'kotlinHashCodeValue$';
- POW_2_32 = 4.294967296E9;
- TWO_PWR_32_DBL_ = 4.294967296E9;
- TWO_PWR_63_DBL_ = 9.223372036854776E18;
- _stableSortingIsSupported = null;
- MAX_BYTES_PER_CHAR = 3;
- State_NotReady = 0;
- State_ManyNotReady = 1;
- State_ManyReady = 2;
- State_Done = 4;
- State_Ready = 3;
- State_Failed = 5;
- LOWER_CASE_HEX_DIGITS = '0123456789abcdef';
- UPPER_CASE_HEX_DIGITS = '0123456789ABCDEF';
- //endregion
- //region block: exports
- _.$_$ = _.$_$ || {};
- _.$_$.a = VOID;
- _.$_$.b = RegexOption_IGNORE_CASE_getInstance;
- _.$_$.c = LazyThreadSafetyMode_PUBLICATION_getInstance;
- _.$_$.d = returnIfSuspended;
- _.$_$.e = ArrayList_init_$Create$_0;
- _.$_$.f = ArrayList_init_$Create$;
- _.$_$.g = HashMap_init_$Create$_0;
- _.$_$.h = HashSet_init_$Create$_0;
- _.$_$.i = LinkedHashMap_init_$Create$_0;
- _.$_$.j = LinkedHashMap_init_$Create$;
- _.$_$.k = Regex_init_$Create$_0;
- _.$_$.l = StringBuilder_init_$Create$;
- _.$_$.m = StringBuilder_init_$Create$_1;
- _.$_$.n = Exception_init_$Init$;
- _.$_$.o = Exception_init_$Init$_0;
- _.$_$.p = Exception_init_$Init$_1;
- _.$_$.q = IllegalArgumentException_init_$Create$;
- _.$_$.r = IllegalArgumentException_init_$Create$_0;
- _.$_$.s = IllegalStateException_init_$Create$_0;
- _.$_$.t = IndexOutOfBoundsException_init_$Create$_0;
- _.$_$.u = _Char___init__impl__6a9atx;
- _.$_$.v = Char__compareTo_impl_ypi4mb;
- _.$_$.w = Char__inc_impl_6e1wmz;
- _.$_$.x = Char__rangeTo_impl_tkncvp;
- _.$_$.y = Char__toInt_impl_vasixd;
- _.$_$.z = toString;
- _.$_$.a1 = _Result___init__impl__xyqfz8;
- _.$_$.b1 = _Result___get_isSuccess__impl__sndoy8;
- _.$_$.c1 = _Result___get_value__impl__bjfvqg;
- _.$_$.d1 = _UByte___init__impl__g9hnc4;
- _.$_$.e1 = _UByte___get_data__impl__jof9qr;
- _.$_$.f1 = _UInt___init__impl__l7qpdl;
- _.$_$.g1 = _UInt___get_data__impl__f0vqqw;
- _.$_$.h1 = _UIntArray___init__impl__ghjpc6_0;
- _.$_$.i1 = UIntArray__get_impl_gp5kza;
- _.$_$.j1 = UIntArray__set_impl_7f2zu2;
- _.$_$.k1 = _UIntArray___get_storage__impl__92a0v0;
- _.$_$.l1 = _ULong___init__impl__c78o9k;
- _.$_$.m1 = _ULong___get_data__impl__fggpzb;
- _.$_$.n1 = EmptyCoroutineContext_getInstance;
- _.$_$.o1 = IntCompanionObject_getInstance;
- _.$_$.p1 = Companion_getInstance_16;
- _.$_$.q1 = Unit_getInstance;
- _.$_$.r1 = Collection;
- _.$_$.s1 = Iterable;
- _.$_$.t1 = Set;
- _.$_$.u1 = addAll_0;
- _.$_$.v1 = arrayCopy;
- _.$_$.w1 = asReversed;
- _.$_$.x1 = checkCountOverflow;
- _.$_$.y1 = checkIndexOverflow;
- _.$_$.z1 = collectionSizeOrDefault;
- _.$_$.a2 = copyOf;
- _.$_$.b2 = emptyList;
- _.$_$.c2 = emptyMap;
- _.$_$.d2 = emptySet;
- _.$_$.e2 = firstOrNull_0;
- _.$_$.f2 = firstOrNull_1;
- _.$_$.g2 = first;
- _.$_$.h2 = getOrNull_0;
- _.$_$.i2 = get_indices;
- _.$_$.j2 = joinToString_0;
- _.$_$.k2 = get_lastIndex_5;
- _.$_$.l2 = last;
- _.$_$.m2 = listOf;
- _.$_$.n2 = listOf_0;
- _.$_$.o2 = mapCapacity;
- _.$_$.p2 = mapOf_0;
- _.$_$.q2 = maxOrNull;
- _.$_$.r2 = plus_2;
- _.$_$.s2 = plus_3;
- _.$_$.t2 = plus_1;
- _.$_$.u2 = plus_0;
- _.$_$.v2 = removeLast;
- _.$_$.w2 = setOf;
- _.$_$.x2 = sortedWith;
- _.$_$.y2 = toList;
- _.$_$.z2 = toMap;
- _.$_$.a3 = toMutableList_0;
- _.$_$.b3 = toSet;
- _.$_$.c3 = compareValues;
- _.$_$.d3 = get_COROUTINE_SUSPENDED;
- _.$_$.e3 = createCoroutineUnintercepted;
- _.$_$.f3 = Continuation;
- _.$_$.g3 = CoroutineImpl;
- _.$_$.h3 = SuspendFunction1;
- _.$_$.i3 = enumEntries;
- _.$_$.j3 = anyToString;
- _.$_$.k3 = captureStack;
- _.$_$.l3 = charArrayOf_0;
- _.$_$.m3 = charSequenceGet;
- _.$_$.n3 = charSequenceLength;
- _.$_$.o3 = classMeta;
- _.$_$.p3 = equals;
- _.$_$.q3 = fillArrayVal;
- _.$_$.r3 = getBooleanHashCode;
- _.$_$.s3 = getPropertyCallableRef;
- _.$_$.t3 = getStringHashCode;
- _.$_$.u3 = hashCode;
- _.$_$.v3 = interfaceMeta;
- _.$_$.w3 = isInterface;
- _.$_$.x3 = numberToChar;
- _.$_$.y3 = numberToLong;
- _.$_$.z3 = objectCreate;
- _.$_$.a4 = objectMeta;
- _.$_$.b4 = protoOf;
- _.$_$.c4 = setMetadataFor;
- _.$_$.d4 = toByte;
- _.$_$.e4 = toLong;
- _.$_$.f4 = toShort;
- _.$_$.g4 = toString_1;
- _.$_$.h4 = coerceAtLeast;
- _.$_$.i4 = coerceAtMost;
- _.$_$.j4 = KProperty0;
- _.$_$.k4 = KProperty1;
- _.$_$.l4 = Appendable;
- _.$_$.m4 = Regex;
- _.$_$.n4 = contains_8;
- _.$_$.o4 = encodeToByteArray;
- _.$_$.p4 = isBlank;
- _.$_$.q4 = isLowerCase;
- _.$_$.r4 = get_lastIndex_6;
- _.$_$.s4 = lines;
- _.$_$.t4 = repeat;
- _.$_$.u4 = startsWith_0;
- _.$_$.v4 = startsWith_1;
- _.$_$.w4 = toInt;
- _.$_$.x4 = Annotation;
- _.$_$.y4 = AutoCloseable;
- _.$_$.z4 = Char;
- _.$_$.a5 = Comparator;
- _.$_$.b5 = Enum;
- _.$_$.c5 = Exception;
- _.$_$.d5 = Long;
- _.$_$.e5 = NotImplementedError;
- _.$_$.f5 = Result;
- _.$_$.g5 = THROW_CCE;
- _.$_$.h5 = THROW_IAE;
- _.$_$.i5 = UIntArray;
- _.$_$.j5 = countTrailingZeroBits;
- _.$_$.k5 = ensureNotNull;
- _.$_$.l5 = lazy_0;
- _.$_$.m5 = lazy;
- _.$_$.n5 = noWhenBranchMatchedException;
- _.$_$.o5 = stackTraceToString;
- _.$_$.p5 = throwKotlinNothingValueException;
- _.$_$.q5 = throwOnFailure;
- _.$_$.r5 = throwUninitializedPropertyAccessException;
- _.$_$.s5 = to;
- _.$_$.t5 = uintRemainder;
- //endregion
- return _;
-}));
-
-//# sourceMappingURL=kotlin-kotlin-stdlib.js.map
diff --git a/js/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js b/js/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js
deleted file mode 100644
index c2e1c28..0000000
--- a/js/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js
+++ /dev/null
@@ -1,15 +0,0 @@
-(function (root, factory) {
- if (typeof define === 'function' && define.amd)
- define(['exports'], factory);
- else if (typeof exports === 'object')
- factory(module.exports);
- else
- root.kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat = factory(typeof kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat === 'undefined' ? {} : kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat);
-}(this, function (_) {
- 'use strict';
- //region block: pre-declaration
- //endregion
- return _;
-}));
-
-//# sourceMappingURL=kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map
diff --git a/js/kotlin_org_jetbrains_kotlinx_kotlinx_html.js b/js/kotlin_org_jetbrains_kotlinx_kotlinx_html.js
deleted file mode 100644
index bc5d5b1..0000000
--- a/js/kotlin_org_jetbrains_kotlinx_kotlinx_html.js
+++ /dev/null
@@ -1,3152 +0,0 @@
-(function (root, factory) {
- if (typeof define === 'function' && define.amd)
- define(['exports', './kotlin-kotlin-stdlib.js'], factory);
- else if (typeof exports === 'object')
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
- else {
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
- throw new Error("Error loading module 'kotlin_org_jetbrains_kotlinx_kotlinx_html'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlin_org_jetbrains_kotlinx_kotlinx_html'.");
- }
- root.kotlin_org_jetbrains_kotlinx_kotlinx_html = factory(typeof kotlin_org_jetbrains_kotlinx_kotlinx_html === 'undefined' ? {} : kotlin_org_jetbrains_kotlinx_kotlinx_html, this['kotlin-kotlin-stdlib']);
- }
-}(this, function (_, kotlin_kotlin) {
- 'use strict';
- //region block: imports
- var protoOf = kotlin_kotlin.$_$.b4;
- var interfaceMeta = kotlin_kotlin.$_$.v3;
- var setMetadataFor = kotlin_kotlin.$_$.c4;
- var toString = kotlin_kotlin.$_$.g4;
- var THROW_CCE = kotlin_kotlin.$_$.g5;
- var Annotation = kotlin_kotlin.$_$.x4;
- var classMeta = kotlin_kotlin.$_$.o3;
- var VOID = kotlin_kotlin.$_$.a;
- var emptyMap = kotlin_kotlin.$_$.c2;
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s;
- var objectMeta = kotlin_kotlin.$_$.a4;
- var joinToString = kotlin_kotlin.$_$.j2;
- var Set = kotlin_kotlin.$_$.t1;
- var isInterface = kotlin_kotlin.$_$.w3;
- var ensureNotNull = kotlin_kotlin.$_$.k5;
- var emptySet = kotlin_kotlin.$_$.d2;
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.r;
- var Regex_init_$Create$ = kotlin_kotlin.$_$.k;
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
- var charSequenceLength = kotlin_kotlin.$_$.n3;
- var toSet = kotlin_kotlin.$_$.b3;
- var THROW_IAE = kotlin_kotlin.$_$.h5;
- var Unit_getInstance = kotlin_kotlin.$_$.q1;
- var Enum = kotlin_kotlin.$_$.b5;
- var mapCapacity = kotlin_kotlin.$_$.o2;
- var coerceAtLeast = kotlin_kotlin.$_$.h4;
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.i;
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.u;
- var Char = kotlin_kotlin.$_$.z4;
- var to = kotlin_kotlin.$_$.s5;
- var mapOf = kotlin_kotlin.$_$.p2;
- var collectionSizeOrDefault = kotlin_kotlin.$_$.z1;
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
- var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.y;
- var maxOrNull = kotlin_kotlin.$_$.q2;
- var fillArrayVal = kotlin_kotlin.$_$.q3;
- var numberToChar = kotlin_kotlin.$_$.x3;
- var Char__rangeTo_impl_tkncvp = kotlin_kotlin.$_$.x;
- //endregion
- //region block: pre-declaration
- setMetadataFor(AttributeEnum, 'AttributeEnum', interfaceMeta);
-
- function unaryPlus(_this__u8e3s4) {
- this.entity_bflo73_k$(_this__u8e3s4);
- }
-
- function unaryPlus_0(_this__u8e3s4) {
- this.text_x72pul_k$(_this__u8e3s4);
- }
-
- function text(s) {
- this.get_consumer_tu5133_k$().onTagContent_2kl4kx_k$(s);
- }
-
- function text_0(n) {
- this.text_x72pul_k$(toString(n));
- }
-
- function entity(e) {
- this.get_consumer_tu5133_k$().onTagContentEntity_oz4jvn_k$(e);
- }
-
- function comment(s) {
- this.get_consumer_tu5133_k$().onTagComment_4f0g7r_k$(s);
- }
-
- setMetadataFor(Tag, 'Tag', interfaceMeta);
-
- function onTagError(tag, exception) {
- throw exception;
- }
-
- setMetadataFor(TagConsumer, 'TagConsumer', interfaceMeta);
- setMetadataFor(HtmlTagMarker, 'HtmlTagMarker', classMeta, VOID, [Annotation]);
-
- function unaryPlus_1(_this__u8e3s4) {
- return this.unaryPlus_76unot_k$(_this__u8e3s4.get_text_wouvsm_k$());
- }
-
- function raw(s) {
- this.unaryPlus_76unot_k$(s);
- }
-
- function raw_0(entity) {
- this.unaryPlus_gpth4d_k$(entity);
- }
-
- function raw_1(n) {
- this.unaryPlus_76unot_k$(toString(n));
- }
-
- setMetadataFor(Unsafe, 'Unsafe', interfaceMeta);
- setMetadataFor(Attribute, 'Attribute', classMeta);
- setMetadataFor(StringAttribute, 'StringAttribute', classMeta, Attribute, VOID, StringAttribute);
- setMetadataFor(StringSetAttribute, 'StringSetAttribute', classMeta, Attribute, VOID, StringSetAttribute);
- setMetadataFor(BooleanAttribute, 'BooleanAttribute', classMeta, Attribute, VOID, BooleanAttribute);
- setMetadataFor(TickerAttribute, 'TickerAttribute', classMeta, Attribute, VOID, TickerAttribute);
- setMetadataFor(EnumAttribute, 'EnumAttribute', classMeta, Attribute);
-
- function empty(attributeName, tag) {
- throw IllegalStateException_init_$Create$('Attribute ' + attributeName + ' is not yet defined for tag ' + tag.get_tagName_ocsgis_k$());
- }
-
- setMetadataFor(AttributeEncoder, 'AttributeEncoder', interfaceMeta);
- setMetadataFor(StringEncoder, 'StringEncoder', objectMeta, VOID, [AttributeEncoder]);
- setMetadataFor(StringSetEncoder, 'StringSetEncoder', objectMeta, VOID, [AttributeEncoder]);
- setMetadataFor(BooleanEncoder, 'BooleanEncoder', classMeta, VOID, [AttributeEncoder], BooleanEncoder);
- setMetadataFor(TickerEncoder, 'TickerEncoder', objectMeta, VOID, [AttributeEncoder]);
- setMetadataFor(EnumEncoder, 'EnumEncoder', classMeta, VOID, [AttributeEncoder]);
- setMetadataFor(Entities, 'Entities', classMeta, Enum);
- setMetadataFor(ButtonFormEncType, 'ButtonFormEncType', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(ButtonFormMethod, 'ButtonFormMethod', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(ButtonType, 'ButtonType', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(CommandType, 'CommandType', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(Dir, 'Dir', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(Draggable, 'Draggable', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(FormEncType, 'FormEncType', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(FormMethod, 'FormMethod', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(IframeSandbox, 'IframeSandbox', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(InputFormEncType, 'InputFormEncType', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(InputFormMethod, 'InputFormMethod', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(InputType, 'InputType', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(KeyGenKeyType, 'KeyGenKeyType', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(RunAt, 'RunAt', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(TextAreaWrap, 'TextAreaWrap', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(ThScope, 'ThScope', classMeta, Enum, [Enum, AttributeEnum]);
- setMetadataFor(AreaShape, 'AreaShape', classMeta, Enum, [Enum, AttributeEnum]);
-
- //endregion
- function get_emptyMap() {
- _init_properties_api_kt__c2p01k();
- return emptyMap_0;
- }
-
- var emptyMap_0;
-
- function AttributeEnum() {
- }
-
- function Tag() {
- }
-
- function TagConsumer() {
- }
-
- function HtmlTagMarker() {
- }
-
- protoOf(HtmlTagMarker).equals = function (other) {
- if (!(other instanceof HtmlTagMarker))
- return false;
- other instanceof HtmlTagMarker || THROW_CCE();
- return true;
- };
- protoOf(HtmlTagMarker).hashCode = function () {
- return 0;
- };
- protoOf(HtmlTagMarker).toString = function () {
- return '@kotlinx.html.HtmlTagMarker()';
- };
-
- function Unsafe() {
- }
-
- var properties_initialized_api_kt_zfwuc6;
-
- function _init_properties_api_kt__c2p01k() {
- if (!properties_initialized_api_kt_zfwuc6) {
- properties_initialized_api_kt_zfwuc6 = true;
- emptyMap_0 = emptyMap();
- }
- }
-
- function Attribute(encoder) {
- this.encoder_1 = encoder;
- }
-
- protoOf(Attribute).get_encoder_pbfikt_k$ = function () {
- return this.encoder_1;
- };
- protoOf(Attribute).get_s0texe_k$ = function (thisRef, attributeName) {
- var tmp0_safe_receiver = thisRef.get_attributes_dgqof4_k$().get_wei43m_k$(attributeName);
- var tmp;
- if (tmp0_safe_receiver == null) {
- tmp = null;
- } else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlinx.html.attributes.Attribute.get.' call
- tmp = this.encoder_1.decode_jqvzu6_k$(attributeName, tmp0_safe_receiver);
- }
- var tmp1_elvis_lhs = tmp;
- return tmp1_elvis_lhs == null ? this.encoder_1.empty_x7etxf_k$(attributeName, thisRef) : tmp1_elvis_lhs;
- };
- protoOf(Attribute).set_3wsa4d_k$ = function (thisRef, attributeName, value) {
- thisRef.get_attributes_dgqof4_k$().put_4fpzoq_k$(attributeName, this.encoder_1.encode_ppeyad_k$(attributeName, value));
- };
-
- function StringAttribute() {
- Attribute.call(this, StringEncoder_getInstance());
- }
-
- function StringSetAttribute() {
- Attribute.call(this, StringSetEncoder_getInstance());
- }
-
- function BooleanAttribute(trueValue, falseValue) {
- trueValue = trueValue === VOID ? 'true' : trueValue;
- falseValue = falseValue === VOID ? 'false' : falseValue;
- Attribute.call(this, new BooleanEncoder(trueValue, falseValue));
- }
-
- function TickerAttribute() {
- Attribute.call(this, TickerEncoder_getInstance());
- }
-
- protoOf(TickerAttribute).set_esnq7n_k$ = function (thisRef, attributeName, value) {
- if (value) {
- thisRef.get_attributes_dgqof4_k$().put_4fpzoq_k$(attributeName, attributeName);
- } else {
- thisRef.get_attributes_dgqof4_k$().remove_gppy8k_k$(attributeName);
- }
- };
- protoOf(TickerAttribute).set_3wsa4d_k$ = function (thisRef, attributeName, value) {
- return this.set_esnq7n_k$(thisRef, attributeName, (!(value == null) ? typeof value === 'boolean' : false) ? value : THROW_CCE());
- };
-
- function EnumAttribute(values) {
- Attribute.call(this, new EnumEncoder(values));
- this.values_1 = values;
- }
-
- protoOf(EnumAttribute).get_values_ksazhn_k$ = function () {
- return this.values_1;
- };
-
- function AttributeEncoder() {
- }
-
- function StringEncoder() {
- StringEncoder_instance = this;
- }
-
- protoOf(StringEncoder).encode_3d8o16_k$ = function (attributeName, value) {
- return value;
- };
- protoOf(StringEncoder).encode_ppeyad_k$ = function (attributeName, value) {
- return this.encode_3d8o16_k$(attributeName, (!(value == null) ? typeof value === 'string' : false) ? value : THROW_CCE());
- };
- protoOf(StringEncoder).decode_jqvzu6_k$ = function (attributeName, value) {
- return value;
- };
- var StringEncoder_instance;
-
- function StringEncoder_getInstance() {
- if (StringEncoder_instance == null)
- new StringEncoder();
- return StringEncoder_instance;
- }
-
- function StringSetEncoder() {
- StringSetEncoder_instance = this;
- }
-
- protoOf(StringSetEncoder).encode_te1sbw_k$ = function (attributeName, value) {
- return joinToString(value, ' ');
- };
- protoOf(StringSetEncoder).encode_ppeyad_k$ = function (attributeName, value) {
- return this.encode_te1sbw_k$(attributeName, (!(value == null) ? isInterface(value, Set) : false) ? value : THROW_CCE());
- };
- protoOf(StringSetEncoder).decode_jqvzu6_k$ = function (attributeName, value) {
- return ensureNotNull(stringSetDecode(value));
- };
- protoOf(StringSetEncoder).empty_x7etxf_k$ = function (attributeName, tag) {
- return emptySet();
- };
- var StringSetEncoder_instance;
-
- function StringSetEncoder_getInstance() {
- if (StringSetEncoder_instance == null)
- new StringSetEncoder();
- return StringSetEncoder_instance;
- }
-
- function BooleanEncoder(trueValue, falseValue) {
- trueValue = trueValue === VOID ? 'true' : trueValue;
- falseValue = falseValue === VOID ? 'false' : falseValue;
- this.trueValue_1 = trueValue;
- this.falseValue_1 = falseValue;
- }
-
- protoOf(BooleanEncoder).get_trueValue_unaore_k$ = function () {
- return this.trueValue_1;
- };
- protoOf(BooleanEncoder).get_falseValue_ywwtih_k$ = function () {
- return this.falseValue_1;
- };
- protoOf(BooleanEncoder).encode_cp31j3_k$ = function (attributeName, value) {
- return value ? this.trueValue_1 : this.falseValue_1;
- };
- protoOf(BooleanEncoder).encode_ppeyad_k$ = function (attributeName, value) {
- return this.encode_cp31j3_k$(attributeName, (!(value == null) ? typeof value === 'boolean' : false) ? value : THROW_CCE());
- };
- protoOf(BooleanEncoder).decode_jqvzu6_k$ = function (attributeName, value) {
- var tmp;
- if (value === this.trueValue_1) {
- tmp = true;
- } else if (value === this.falseValue_1) {
- tmp = false;
- } else {
- throw IllegalArgumentException_init_$Create$('Unknown value ' + value + ' for ' + attributeName);
- }
- return tmp;
- };
-
- function TickerEncoder() {
- TickerEncoder_instance = this;
- }
-
- protoOf(TickerEncoder).encode_cp31j3_k$ = function (attributeName, value) {
- return tickerEncode(value, attributeName);
- };
- protoOf(TickerEncoder).encode_ppeyad_k$ = function (attributeName, value) {
- return this.encode_cp31j3_k$(attributeName, (!(value == null) ? typeof value === 'boolean' : false) ? value : THROW_CCE());
- };
- protoOf(TickerEncoder).decode_jqvzu6_k$ = function (attributeName, value) {
- return value === attributeName;
- };
- var TickerEncoder_instance;
-
- function TickerEncoder_getInstance() {
- if (TickerEncoder_instance == null)
- new TickerEncoder();
- return TickerEncoder_instance;
- }
-
- function EnumEncoder(valuesMap) {
- this.valuesMap_1 = valuesMap;
- }
-
- protoOf(EnumEncoder).get_valuesMap_44trkf_k$ = function () {
- return this.valuesMap_1;
- };
- protoOf(EnumEncoder).encode_vikw90_k$ = function (attributeName, value) {
- return value.get_realValue_69bbcm_k$();
- };
- protoOf(EnumEncoder).encode_ppeyad_k$ = function (attributeName, value) {
- return this.encode_vikw90_k$(attributeName, (!(value == null) ? isInterface(value, AttributeEnum) : false) ? value : THROW_CCE());
- };
- protoOf(EnumEncoder).decode_jqvzu6_k$ = function (attributeName, value) {
- var tmp0_elvis_lhs = this.valuesMap_1.get_wei43m_k$(value);
- var tmp;
- if (tmp0_elvis_lhs == null) {
- throw IllegalArgumentException_init_$Create$('Unknown value ' + value + ' for ' + attributeName);
- } else {
- tmp = tmp0_elvis_lhs;
- }
- return tmp;
- };
-
- function stringSetDecode(value) {
- var tmp;
- if (value == null) {
- tmp = null;
- } else {
- // Inline function 'kotlin.text.split' call
- // Inline function 'kotlin.text.toRegex' call
- tmp = Regex_init_$Create$('\\s+').split_p7ck23_k$(value, 0);
- }
- var tmp1_safe_receiver = tmp;
- var tmp_0;
- if (tmp1_safe_receiver == null) {
- tmp_0 = null;
- } else {
- // Inline function 'kotlin.collections.filterNot' call
- // Inline function 'kotlin.collections.filterNotTo' call
- var destination = ArrayList_init_$Create$();
- var tmp0_iterator = tmp1_safe_receiver.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlinx.html.attributes.stringSetDecode.' call
- // Inline function 'kotlin.text.isEmpty' call
- if (!(charSequenceLength(element) === 0)) {
- destination.add_utx5q5_k$(element);
- }
- }
- tmp_0 = destination;
- }
- var tmp2_safe_receiver = tmp_0;
- return tmp2_safe_receiver == null ? null : toSet(tmp2_safe_receiver);
- }
-
- function tickerEncode(_this__u8e3s4, attributeName) {
- return _this__u8e3s4 ? attributeName : '';
- }
-
- function get_attributeStringString() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeStringString;
- }
-
- var attributeStringString;
-
- function get_attributeSetStringStringSet() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeSetStringStringSet;
- }
-
- var attributeSetStringStringSet;
-
- function get_attributeBooleanBoolean() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeBooleanBoolean;
- }
-
- var attributeBooleanBoolean;
-
- function get_attributeBooleanBooleanOnOff() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeBooleanBooleanOnOff;
- }
-
- var attributeBooleanBooleanOnOff;
-
- function get_attributeBooleanTicker() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeBooleanTicker;
- }
-
- var attributeBooleanTicker;
-
- function get_attributeButtonFormEncTypeEnumButtonFormEncTypeValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeButtonFormEncTypeEnumButtonFormEncTypeValues;
- }
-
- var attributeButtonFormEncTypeEnumButtonFormEncTypeValues;
-
- function get_attributeButtonFormMethodEnumButtonFormMethodValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeButtonFormMethodEnumButtonFormMethodValues;
- }
-
- var attributeButtonFormMethodEnumButtonFormMethodValues;
-
- function get_attributeButtonTypeEnumButtonTypeValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeButtonTypeEnumButtonTypeValues;
- }
-
- var attributeButtonTypeEnumButtonTypeValues;
-
- function get_attributeCommandTypeEnumCommandTypeValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeCommandTypeEnumCommandTypeValues;
- }
-
- var attributeCommandTypeEnumCommandTypeValues;
-
- function get_attributeDirEnumDirValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeDirEnumDirValues;
- }
-
- var attributeDirEnumDirValues;
-
- function get_attributeDraggableEnumDraggableValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeDraggableEnumDraggableValues;
- }
-
- var attributeDraggableEnumDraggableValues;
-
- function get_attributeFormEncTypeEnumFormEncTypeValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeFormEncTypeEnumFormEncTypeValues;
- }
-
- var attributeFormEncTypeEnumFormEncTypeValues;
-
- function get_attributeFormMethodEnumFormMethodValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeFormMethodEnumFormMethodValues;
- }
-
- var attributeFormMethodEnumFormMethodValues;
-
- function get_attributeIframeSandboxEnumIframeSandboxValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeIframeSandboxEnumIframeSandboxValues;
- }
-
- var attributeIframeSandboxEnumIframeSandboxValues;
-
- function get_attributeInputFormEncTypeEnumInputFormEncTypeValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeInputFormEncTypeEnumInputFormEncTypeValues;
- }
-
- var attributeInputFormEncTypeEnumInputFormEncTypeValues;
-
- function get_attributeInputFormMethodEnumInputFormMethodValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeInputFormMethodEnumInputFormMethodValues;
- }
-
- var attributeInputFormMethodEnumInputFormMethodValues;
-
- function get_attributeInputTypeEnumInputTypeValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeInputTypeEnumInputTypeValues;
- }
-
- var attributeInputTypeEnumInputTypeValues;
-
- function get_attributeKeyGenKeyTypeEnumKeyGenKeyTypeValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeKeyGenKeyTypeEnumKeyGenKeyTypeValues;
- }
-
- var attributeKeyGenKeyTypeEnumKeyGenKeyTypeValues;
-
- function get_attributeRunAtEnumRunAtValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeRunAtEnumRunAtValues;
- }
-
- var attributeRunAtEnumRunAtValues;
-
- function get_attributeTextAreaWrapEnumTextAreaWrapValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeTextAreaWrapEnumTextAreaWrapValues;
- }
-
- var attributeTextAreaWrapEnumTextAreaWrapValues;
-
- function get_attributeThScopeEnumThScopeValues() {
- _init_properties_gen_attributes_kt__jy8yj0();
- return attributeThScopeEnumThScopeValues;
- }
-
- var attributeThScopeEnumThScopeValues;
- var properties_initialized_gen_attributes_kt_jgv7sa;
-
- function _init_properties_gen_attributes_kt__jy8yj0() {
- if (!properties_initialized_gen_attributes_kt_jgv7sa) {
- properties_initialized_gen_attributes_kt_jgv7sa = true;
- attributeStringString = new StringAttribute();
- attributeSetStringStringSet = new StringSetAttribute();
- attributeBooleanBoolean = new BooleanAttribute();
- attributeBooleanBooleanOnOff = new BooleanAttribute('on', 'off');
- attributeBooleanTicker = new TickerAttribute();
- attributeButtonFormEncTypeEnumButtonFormEncTypeValues = new EnumAttribute(get_buttonFormEncTypeValues());
- attributeButtonFormMethodEnumButtonFormMethodValues = new EnumAttribute(get_buttonFormMethodValues());
- attributeButtonTypeEnumButtonTypeValues = new EnumAttribute(get_buttonTypeValues());
- attributeCommandTypeEnumCommandTypeValues = new EnumAttribute(get_commandTypeValues());
- attributeDirEnumDirValues = new EnumAttribute(get_dirValues());
- attributeDraggableEnumDraggableValues = new EnumAttribute(get_draggableValues());
- attributeFormEncTypeEnumFormEncTypeValues = new EnumAttribute(get_formEncTypeValues());
- attributeFormMethodEnumFormMethodValues = new EnumAttribute(get_formMethodValues());
- attributeIframeSandboxEnumIframeSandboxValues = new EnumAttribute(get_iframeSandboxValues());
- attributeInputFormEncTypeEnumInputFormEncTypeValues = new EnumAttribute(get_inputFormEncTypeValues());
- attributeInputFormMethodEnumInputFormMethodValues = new EnumAttribute(get_inputFormMethodValues());
- attributeInputTypeEnumInputTypeValues = new EnumAttribute(get_inputTypeValues());
- attributeKeyGenKeyTypeEnumKeyGenKeyTypeValues = new EnumAttribute(get_keyGenKeyTypeValues());
- attributeRunAtEnumRunAtValues = new EnumAttribute(get_runAtValues());
- attributeTextAreaWrapEnumTextAreaWrapValues = new EnumAttribute(get_textAreaWrapValues());
- attributeThScopeEnumThScopeValues = new EnumAttribute(get_thScopeValues());
- }
- }
-
- var Entities_nbsp_instance;
- var Entities_lt_instance;
- var Entities_gt_instance;
- var Entities_quot_instance;
- var Entities_amp_instance;
- var Entities_apos_instance;
- var Entities_iexcl_instance;
- var Entities_cent_instance;
- var Entities_pound_instance;
- var Entities_curren_instance;
- var Entities_yen_instance;
- var Entities_brvbar_instance;
- var Entities_sect_instance;
- var Entities_uml_instance;
- var Entities_copy_instance;
- var Entities_ordf_instance;
- var Entities_laquo_instance;
- var Entities_not_instance;
- var Entities_shy_instance;
- var Entities_reg_instance;
- var Entities_macr_instance;
- var Entities_deg_instance;
- var Entities_plusmn_instance;
- var Entities_sup2_instance;
- var Entities_sup3_instance;
- var Entities_acute_instance;
- var Entities_micro_instance;
- var Entities_para_instance;
- var Entities_middot_instance;
- var Entities_cedil_instance;
- var Entities_sup1_instance;
- var Entities_ordm_instance;
- var Entities_raquo_instance;
- var Entities_frac14_instance;
- var Entities_frac12_instance;
- var Entities_frac34_instance;
- var Entities_iquest_instance;
- var Entities_Agrave_instance;
- var Entities_Aacute_instance;
- var Entities_Acirc_instance;
- var Entities_Atilde_instance;
- var Entities_Auml_instance;
- var Entities_Aring_instance;
- var Entities_AElig_instance;
- var Entities_Ccedil_instance;
- var Entities_Egrave_instance;
- var Entities_Eacute_instance;
- var Entities_Ecirc_instance;
- var Entities_Euml_instance;
- var Entities_Igrave_instance;
- var Entities_Iacute_instance;
- var Entities_Icirc_instance;
- var Entities_Iuml_instance;
- var Entities_ETH_instance;
- var Entities_Ntilde_instance;
- var Entities_Ograve_instance;
- var Entities_Oacute_instance;
- var Entities_Ocirc_instance;
- var Entities_Otilde_instance;
- var Entities_Ouml_instance;
- var Entities_times_instance;
- var Entities_Oslash_instance;
- var Entities_Ugrave_instance;
- var Entities_Uacute_instance;
- var Entities_Ucirc_instance;
- var Entities_Uuml_instance;
- var Entities_Yacute_instance;
- var Entities_THORN_instance;
- var Entities_szlig_instance;
- var Entities_agrave_instance;
- var Entities_aacute_instance;
- var Entities_acirc_instance;
- var Entities_atilde_instance;
- var Entities_auml_instance;
- var Entities_aring_instance;
- var Entities_aelig_instance;
- var Entities_ccedil_instance;
- var Entities_egrave_instance;
- var Entities_eacute_instance;
- var Entities_ecirc_instance;
- var Entities_euml_instance;
- var Entities_igrave_instance;
- var Entities_iacute_instance;
- var Entities_icirc_instance;
- var Entities_iuml_instance;
- var Entities_eth_instance;
- var Entities_ntilde_instance;
- var Entities_ograve_instance;
- var Entities_oacute_instance;
- var Entities_ocirc_instance;
- var Entities_otilde_instance;
- var Entities_ouml_instance;
- var Entities_divide_instance;
- var Entities_oslash_instance;
- var Entities_ugrave_instance;
- var Entities_uacute_instance;
- var Entities_ucirc_instance;
- var Entities_uuml_instance;
- var Entities_yacute_instance;
- var Entities_thorn_instance;
- var Entities_yuml_instance;
-
- function values() {
- return [Entities_nbsp_getInstance(), Entities_lt_getInstance(), Entities_gt_getInstance(), Entities_quot_getInstance(), Entities_amp_getInstance(), Entities_apos_getInstance(), Entities_iexcl_getInstance(), Entities_cent_getInstance(), Entities_pound_getInstance(), Entities_curren_getInstance(), Entities_yen_getInstance(), Entities_brvbar_getInstance(), Entities_sect_getInstance(), Entities_uml_getInstance(), Entities_copy_getInstance(), Entities_ordf_getInstance(), Entities_laquo_getInstance(), Entities_not_getInstance(), Entities_shy_getInstance(), Entities_reg_getInstance(), Entities_macr_getInstance(), Entities_deg_getInstance(), Entities_plusmn_getInstance(), Entities_sup2_getInstance(), Entities_sup3_getInstance(), Entities_acute_getInstance(), Entities_micro_getInstance(), Entities_para_getInstance(), Entities_middot_getInstance(), Entities_cedil_getInstance(), Entities_sup1_getInstance(), Entities_ordm_getInstance(), Entities_raquo_getInstance(), Entities_frac14_getInstance(), Entities_frac12_getInstance(), Entities_frac34_getInstance(), Entities_iquest_getInstance(), Entities_Agrave_getInstance(), Entities_Aacute_getInstance(), Entities_Acirc_getInstance(), Entities_Atilde_getInstance(), Entities_Auml_getInstance(), Entities_Aring_getInstance(), Entities_AElig_getInstance(), Entities_Ccedil_getInstance(), Entities_Egrave_getInstance(), Entities_Eacute_getInstance(), Entities_Ecirc_getInstance(), Entities_Euml_getInstance(), Entities_Igrave_getInstance(), Entities_Iacute_getInstance(), Entities_Icirc_getInstance(), Entities_Iuml_getInstance(), Entities_ETH_getInstance(), Entities_Ntilde_getInstance(), Entities_Ograve_getInstance(), Entities_Oacute_getInstance(), Entities_Ocirc_getInstance(), Entities_Otilde_getInstance(), Entities_Ouml_getInstance(), Entities_times_getInstance(), Entities_Oslash_getInstance(), Entities_Ugrave_getInstance(), Entities_Uacute_getInstance(), Entities_Ucirc_getInstance(), Entities_Uuml_getInstance(), Entities_Yacute_getInstance(), Entities_THORN_getInstance(), Entities_szlig_getInstance(), Entities_agrave_getInstance(), Entities_aacute_getInstance(), Entities_acirc_getInstance(), Entities_atilde_getInstance(), Entities_auml_getInstance(), Entities_aring_getInstance(), Entities_aelig_getInstance(), Entities_ccedil_getInstance(), Entities_egrave_getInstance(), Entities_eacute_getInstance(), Entities_ecirc_getInstance(), Entities_euml_getInstance(), Entities_igrave_getInstance(), Entities_iacute_getInstance(), Entities_icirc_getInstance(), Entities_iuml_getInstance(), Entities_eth_getInstance(), Entities_ntilde_getInstance(), Entities_ograve_getInstance(), Entities_oacute_getInstance(), Entities_ocirc_getInstance(), Entities_otilde_getInstance(), Entities_ouml_getInstance(), Entities_divide_getInstance(), Entities_oslash_getInstance(), Entities_ugrave_getInstance(), Entities_uacute_getInstance(), Entities_ucirc_getInstance(), Entities_uuml_getInstance(), Entities_yacute_getInstance(), Entities_thorn_getInstance(), Entities_yuml_getInstance()];
- }
-
- function valueOf(value) {
- switch (value) {
- case 'nbsp':
- return Entities_nbsp_getInstance();
- case 'lt':
- return Entities_lt_getInstance();
- case 'gt':
- return Entities_gt_getInstance();
- case 'quot':
- return Entities_quot_getInstance();
- case 'amp':
- return Entities_amp_getInstance();
- case 'apos':
- return Entities_apos_getInstance();
- case 'iexcl':
- return Entities_iexcl_getInstance();
- case 'cent':
- return Entities_cent_getInstance();
- case 'pound':
- return Entities_pound_getInstance();
- case 'curren':
- return Entities_curren_getInstance();
- case 'yen':
- return Entities_yen_getInstance();
- case 'brvbar':
- return Entities_brvbar_getInstance();
- case 'sect':
- return Entities_sect_getInstance();
- case 'uml':
- return Entities_uml_getInstance();
- case 'copy':
- return Entities_copy_getInstance();
- case 'ordf':
- return Entities_ordf_getInstance();
- case 'laquo':
- return Entities_laquo_getInstance();
- case 'not':
- return Entities_not_getInstance();
- case 'shy':
- return Entities_shy_getInstance();
- case 'reg':
- return Entities_reg_getInstance();
- case 'macr':
- return Entities_macr_getInstance();
- case 'deg':
- return Entities_deg_getInstance();
- case 'plusmn':
- return Entities_plusmn_getInstance();
- case 'sup2':
- return Entities_sup2_getInstance();
- case 'sup3':
- return Entities_sup3_getInstance();
- case 'acute':
- return Entities_acute_getInstance();
- case 'micro':
- return Entities_micro_getInstance();
- case 'para':
- return Entities_para_getInstance();
- case 'middot':
- return Entities_middot_getInstance();
- case 'cedil':
- return Entities_cedil_getInstance();
- case 'sup1':
- return Entities_sup1_getInstance();
- case 'ordm':
- return Entities_ordm_getInstance();
- case 'raquo':
- return Entities_raquo_getInstance();
- case 'frac14':
- return Entities_frac14_getInstance();
- case 'frac12':
- return Entities_frac12_getInstance();
- case 'frac34':
- return Entities_frac34_getInstance();
- case 'iquest':
- return Entities_iquest_getInstance();
- case 'Agrave':
- return Entities_Agrave_getInstance();
- case 'Aacute':
- return Entities_Aacute_getInstance();
- case 'Acirc':
- return Entities_Acirc_getInstance();
- case 'Atilde':
- return Entities_Atilde_getInstance();
- case 'Auml':
- return Entities_Auml_getInstance();
- case 'Aring':
- return Entities_Aring_getInstance();
- case 'AElig':
- return Entities_AElig_getInstance();
- case 'Ccedil':
- return Entities_Ccedil_getInstance();
- case 'Egrave':
- return Entities_Egrave_getInstance();
- case 'Eacute':
- return Entities_Eacute_getInstance();
- case 'Ecirc':
- return Entities_Ecirc_getInstance();
- case 'Euml':
- return Entities_Euml_getInstance();
- case 'Igrave':
- return Entities_Igrave_getInstance();
- case 'Iacute':
- return Entities_Iacute_getInstance();
- case 'Icirc':
- return Entities_Icirc_getInstance();
- case 'Iuml':
- return Entities_Iuml_getInstance();
- case 'ETH':
- return Entities_ETH_getInstance();
- case 'Ntilde':
- return Entities_Ntilde_getInstance();
- case 'Ograve':
- return Entities_Ograve_getInstance();
- case 'Oacute':
- return Entities_Oacute_getInstance();
- case 'Ocirc':
- return Entities_Ocirc_getInstance();
- case 'Otilde':
- return Entities_Otilde_getInstance();
- case 'Ouml':
- return Entities_Ouml_getInstance();
- case 'times':
- return Entities_times_getInstance();
- case 'Oslash':
- return Entities_Oslash_getInstance();
- case 'Ugrave':
- return Entities_Ugrave_getInstance();
- case 'Uacute':
- return Entities_Uacute_getInstance();
- case 'Ucirc':
- return Entities_Ucirc_getInstance();
- case 'Uuml':
- return Entities_Uuml_getInstance();
- case 'Yacute':
- return Entities_Yacute_getInstance();
- case 'THORN':
- return Entities_THORN_getInstance();
- case 'szlig':
- return Entities_szlig_getInstance();
- case 'agrave':
- return Entities_agrave_getInstance();
- case 'aacute':
- return Entities_aacute_getInstance();
- case 'acirc':
- return Entities_acirc_getInstance();
- case 'atilde':
- return Entities_atilde_getInstance();
- case 'auml':
- return Entities_auml_getInstance();
- case 'aring':
- return Entities_aring_getInstance();
- case 'aelig':
- return Entities_aelig_getInstance();
- case 'ccedil':
- return Entities_ccedil_getInstance();
- case 'egrave':
- return Entities_egrave_getInstance();
- case 'eacute':
- return Entities_eacute_getInstance();
- case 'ecirc':
- return Entities_ecirc_getInstance();
- case 'euml':
- return Entities_euml_getInstance();
- case 'igrave':
- return Entities_igrave_getInstance();
- case 'iacute':
- return Entities_iacute_getInstance();
- case 'icirc':
- return Entities_icirc_getInstance();
- case 'iuml':
- return Entities_iuml_getInstance();
- case 'eth':
- return Entities_eth_getInstance();
- case 'ntilde':
- return Entities_ntilde_getInstance();
- case 'ograve':
- return Entities_ograve_getInstance();
- case 'oacute':
- return Entities_oacute_getInstance();
- case 'ocirc':
- return Entities_ocirc_getInstance();
- case 'otilde':
- return Entities_otilde_getInstance();
- case 'ouml':
- return Entities_ouml_getInstance();
- case 'divide':
- return Entities_divide_getInstance();
- case 'oslash':
- return Entities_oslash_getInstance();
- case 'ugrave':
- return Entities_ugrave_getInstance();
- case 'uacute':
- return Entities_uacute_getInstance();
- case 'ucirc':
- return Entities_ucirc_getInstance();
- case 'uuml':
- return Entities_uuml_getInstance();
- case 'yacute':
- return Entities_yacute_getInstance();
- case 'thorn':
- return Entities_thorn_getInstance();
- case 'yuml':
- return Entities_yuml_getInstance();
- default:
- Entities_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var Entities_entriesInitialized;
-
- function Entities_initEntries() {
- if (Entities_entriesInitialized)
- return Unit_getInstance();
- Entities_entriesInitialized = true;
- Entities_nbsp_instance = new Entities('nbsp', 0);
- Entities_lt_instance = new Entities('lt', 1);
- Entities_gt_instance = new Entities('gt', 2);
- Entities_quot_instance = new Entities('quot', 3);
- Entities_amp_instance = new Entities('amp', 4);
- Entities_apos_instance = new Entities('apos', 5);
- Entities_iexcl_instance = new Entities('iexcl', 6);
- Entities_cent_instance = new Entities('cent', 7);
- Entities_pound_instance = new Entities('pound', 8);
- Entities_curren_instance = new Entities('curren', 9);
- Entities_yen_instance = new Entities('yen', 10);
- Entities_brvbar_instance = new Entities('brvbar', 11);
- Entities_sect_instance = new Entities('sect', 12);
- Entities_uml_instance = new Entities('uml', 13);
- Entities_copy_instance = new Entities('copy', 14);
- Entities_ordf_instance = new Entities('ordf', 15);
- Entities_laquo_instance = new Entities('laquo', 16);
- Entities_not_instance = new Entities('not', 17);
- Entities_shy_instance = new Entities('shy', 18);
- Entities_reg_instance = new Entities('reg', 19);
- Entities_macr_instance = new Entities('macr', 20);
- Entities_deg_instance = new Entities('deg', 21);
- Entities_plusmn_instance = new Entities('plusmn', 22);
- Entities_sup2_instance = new Entities('sup2', 23);
- Entities_sup3_instance = new Entities('sup3', 24);
- Entities_acute_instance = new Entities('acute', 25);
- Entities_micro_instance = new Entities('micro', 26);
- Entities_para_instance = new Entities('para', 27);
- Entities_middot_instance = new Entities('middot', 28);
- Entities_cedil_instance = new Entities('cedil', 29);
- Entities_sup1_instance = new Entities('sup1', 30);
- Entities_ordm_instance = new Entities('ordm', 31);
- Entities_raquo_instance = new Entities('raquo', 32);
- Entities_frac14_instance = new Entities('frac14', 33);
- Entities_frac12_instance = new Entities('frac12', 34);
- Entities_frac34_instance = new Entities('frac34', 35);
- Entities_iquest_instance = new Entities('iquest', 36);
- Entities_Agrave_instance = new Entities('Agrave', 37);
- Entities_Aacute_instance = new Entities('Aacute', 38);
- Entities_Acirc_instance = new Entities('Acirc', 39);
- Entities_Atilde_instance = new Entities('Atilde', 40);
- Entities_Auml_instance = new Entities('Auml', 41);
- Entities_Aring_instance = new Entities('Aring', 42);
- Entities_AElig_instance = new Entities('AElig', 43);
- Entities_Ccedil_instance = new Entities('Ccedil', 44);
- Entities_Egrave_instance = new Entities('Egrave', 45);
- Entities_Eacute_instance = new Entities('Eacute', 46);
- Entities_Ecirc_instance = new Entities('Ecirc', 47);
- Entities_Euml_instance = new Entities('Euml', 48);
- Entities_Igrave_instance = new Entities('Igrave', 49);
- Entities_Iacute_instance = new Entities('Iacute', 50);
- Entities_Icirc_instance = new Entities('Icirc', 51);
- Entities_Iuml_instance = new Entities('Iuml', 52);
- Entities_ETH_instance = new Entities('ETH', 53);
- Entities_Ntilde_instance = new Entities('Ntilde', 54);
- Entities_Ograve_instance = new Entities('Ograve', 55);
- Entities_Oacute_instance = new Entities('Oacute', 56);
- Entities_Ocirc_instance = new Entities('Ocirc', 57);
- Entities_Otilde_instance = new Entities('Otilde', 58);
- Entities_Ouml_instance = new Entities('Ouml', 59);
- Entities_times_instance = new Entities('times', 60);
- Entities_Oslash_instance = new Entities('Oslash', 61);
- Entities_Ugrave_instance = new Entities('Ugrave', 62);
- Entities_Uacute_instance = new Entities('Uacute', 63);
- Entities_Ucirc_instance = new Entities('Ucirc', 64);
- Entities_Uuml_instance = new Entities('Uuml', 65);
- Entities_Yacute_instance = new Entities('Yacute', 66);
- Entities_THORN_instance = new Entities('THORN', 67);
- Entities_szlig_instance = new Entities('szlig', 68);
- Entities_agrave_instance = new Entities('agrave', 69);
- Entities_aacute_instance = new Entities('aacute', 70);
- Entities_acirc_instance = new Entities('acirc', 71);
- Entities_atilde_instance = new Entities('atilde', 72);
- Entities_auml_instance = new Entities('auml', 73);
- Entities_aring_instance = new Entities('aring', 74);
- Entities_aelig_instance = new Entities('aelig', 75);
- Entities_ccedil_instance = new Entities('ccedil', 76);
- Entities_egrave_instance = new Entities('egrave', 77);
- Entities_eacute_instance = new Entities('eacute', 78);
- Entities_ecirc_instance = new Entities('ecirc', 79);
- Entities_euml_instance = new Entities('euml', 80);
- Entities_igrave_instance = new Entities('igrave', 81);
- Entities_iacute_instance = new Entities('iacute', 82);
- Entities_icirc_instance = new Entities('icirc', 83);
- Entities_iuml_instance = new Entities('iuml', 84);
- Entities_eth_instance = new Entities('eth', 85);
- Entities_ntilde_instance = new Entities('ntilde', 86);
- Entities_ograve_instance = new Entities('ograve', 87);
- Entities_oacute_instance = new Entities('oacute', 88);
- Entities_ocirc_instance = new Entities('ocirc', 89);
- Entities_otilde_instance = new Entities('otilde', 90);
- Entities_ouml_instance = new Entities('ouml', 91);
- Entities_divide_instance = new Entities('divide', 92);
- Entities_oslash_instance = new Entities('oslash', 93);
- Entities_ugrave_instance = new Entities('ugrave', 94);
- Entities_uacute_instance = new Entities('uacute', 95);
- Entities_ucirc_instance = new Entities('ucirc', 96);
- Entities_uuml_instance = new Entities('uuml', 97);
- Entities_yacute_instance = new Entities('yacute', 98);
- Entities_thorn_instance = new Entities('thorn', 99);
- Entities_yuml_instance = new Entities('yuml', 100);
- }
-
- function Entities(name, ordinal) {
- Enum.call(this, name, ordinal);
- }
-
- protoOf(Entities).get_text_wouvsm_k$ = function () {
- return '&' + this.toString() + ';';
- };
-
- function Entities_nbsp_getInstance() {
- Entities_initEntries();
- return Entities_nbsp_instance;
- }
-
- function Entities_lt_getInstance() {
- Entities_initEntries();
- return Entities_lt_instance;
- }
-
- function Entities_gt_getInstance() {
- Entities_initEntries();
- return Entities_gt_instance;
- }
-
- function Entities_quot_getInstance() {
- Entities_initEntries();
- return Entities_quot_instance;
- }
-
- function Entities_amp_getInstance() {
- Entities_initEntries();
- return Entities_amp_instance;
- }
-
- function Entities_apos_getInstance() {
- Entities_initEntries();
- return Entities_apos_instance;
- }
-
- function Entities_iexcl_getInstance() {
- Entities_initEntries();
- return Entities_iexcl_instance;
- }
-
- function Entities_cent_getInstance() {
- Entities_initEntries();
- return Entities_cent_instance;
- }
-
- function Entities_pound_getInstance() {
- Entities_initEntries();
- return Entities_pound_instance;
- }
-
- function Entities_curren_getInstance() {
- Entities_initEntries();
- return Entities_curren_instance;
- }
-
- function Entities_yen_getInstance() {
- Entities_initEntries();
- return Entities_yen_instance;
- }
-
- function Entities_brvbar_getInstance() {
- Entities_initEntries();
- return Entities_brvbar_instance;
- }
-
- function Entities_sect_getInstance() {
- Entities_initEntries();
- return Entities_sect_instance;
- }
-
- function Entities_uml_getInstance() {
- Entities_initEntries();
- return Entities_uml_instance;
- }
-
- function Entities_copy_getInstance() {
- Entities_initEntries();
- return Entities_copy_instance;
- }
-
- function Entities_ordf_getInstance() {
- Entities_initEntries();
- return Entities_ordf_instance;
- }
-
- function Entities_laquo_getInstance() {
- Entities_initEntries();
- return Entities_laquo_instance;
- }
-
- function Entities_not_getInstance() {
- Entities_initEntries();
- return Entities_not_instance;
- }
-
- function Entities_shy_getInstance() {
- Entities_initEntries();
- return Entities_shy_instance;
- }
-
- function Entities_reg_getInstance() {
- Entities_initEntries();
- return Entities_reg_instance;
- }
-
- function Entities_macr_getInstance() {
- Entities_initEntries();
- return Entities_macr_instance;
- }
-
- function Entities_deg_getInstance() {
- Entities_initEntries();
- return Entities_deg_instance;
- }
-
- function Entities_plusmn_getInstance() {
- Entities_initEntries();
- return Entities_plusmn_instance;
- }
-
- function Entities_sup2_getInstance() {
- Entities_initEntries();
- return Entities_sup2_instance;
- }
-
- function Entities_sup3_getInstance() {
- Entities_initEntries();
- return Entities_sup3_instance;
- }
-
- function Entities_acute_getInstance() {
- Entities_initEntries();
- return Entities_acute_instance;
- }
-
- function Entities_micro_getInstance() {
- Entities_initEntries();
- return Entities_micro_instance;
- }
-
- function Entities_para_getInstance() {
- Entities_initEntries();
- return Entities_para_instance;
- }
-
- function Entities_middot_getInstance() {
- Entities_initEntries();
- return Entities_middot_instance;
- }
-
- function Entities_cedil_getInstance() {
- Entities_initEntries();
- return Entities_cedil_instance;
- }
-
- function Entities_sup1_getInstance() {
- Entities_initEntries();
- return Entities_sup1_instance;
- }
-
- function Entities_ordm_getInstance() {
- Entities_initEntries();
- return Entities_ordm_instance;
- }
-
- function Entities_raquo_getInstance() {
- Entities_initEntries();
- return Entities_raquo_instance;
- }
-
- function Entities_frac14_getInstance() {
- Entities_initEntries();
- return Entities_frac14_instance;
- }
-
- function Entities_frac12_getInstance() {
- Entities_initEntries();
- return Entities_frac12_instance;
- }
-
- function Entities_frac34_getInstance() {
- Entities_initEntries();
- return Entities_frac34_instance;
- }
-
- function Entities_iquest_getInstance() {
- Entities_initEntries();
- return Entities_iquest_instance;
- }
-
- function Entities_Agrave_getInstance() {
- Entities_initEntries();
- return Entities_Agrave_instance;
- }
-
- function Entities_Aacute_getInstance() {
- Entities_initEntries();
- return Entities_Aacute_instance;
- }
-
- function Entities_Acirc_getInstance() {
- Entities_initEntries();
- return Entities_Acirc_instance;
- }
-
- function Entities_Atilde_getInstance() {
- Entities_initEntries();
- return Entities_Atilde_instance;
- }
-
- function Entities_Auml_getInstance() {
- Entities_initEntries();
- return Entities_Auml_instance;
- }
-
- function Entities_Aring_getInstance() {
- Entities_initEntries();
- return Entities_Aring_instance;
- }
-
- function Entities_AElig_getInstance() {
- Entities_initEntries();
- return Entities_AElig_instance;
- }
-
- function Entities_Ccedil_getInstance() {
- Entities_initEntries();
- return Entities_Ccedil_instance;
- }
-
- function Entities_Egrave_getInstance() {
- Entities_initEntries();
- return Entities_Egrave_instance;
- }
-
- function Entities_Eacute_getInstance() {
- Entities_initEntries();
- return Entities_Eacute_instance;
- }
-
- function Entities_Ecirc_getInstance() {
- Entities_initEntries();
- return Entities_Ecirc_instance;
- }
-
- function Entities_Euml_getInstance() {
- Entities_initEntries();
- return Entities_Euml_instance;
- }
-
- function Entities_Igrave_getInstance() {
- Entities_initEntries();
- return Entities_Igrave_instance;
- }
-
- function Entities_Iacute_getInstance() {
- Entities_initEntries();
- return Entities_Iacute_instance;
- }
-
- function Entities_Icirc_getInstance() {
- Entities_initEntries();
- return Entities_Icirc_instance;
- }
-
- function Entities_Iuml_getInstance() {
- Entities_initEntries();
- return Entities_Iuml_instance;
- }
-
- function Entities_ETH_getInstance() {
- Entities_initEntries();
- return Entities_ETH_instance;
- }
-
- function Entities_Ntilde_getInstance() {
- Entities_initEntries();
- return Entities_Ntilde_instance;
- }
-
- function Entities_Ograve_getInstance() {
- Entities_initEntries();
- return Entities_Ograve_instance;
- }
-
- function Entities_Oacute_getInstance() {
- Entities_initEntries();
- return Entities_Oacute_instance;
- }
-
- function Entities_Ocirc_getInstance() {
- Entities_initEntries();
- return Entities_Ocirc_instance;
- }
-
- function Entities_Otilde_getInstance() {
- Entities_initEntries();
- return Entities_Otilde_instance;
- }
-
- function Entities_Ouml_getInstance() {
- Entities_initEntries();
- return Entities_Ouml_instance;
- }
-
- function Entities_times_getInstance() {
- Entities_initEntries();
- return Entities_times_instance;
- }
-
- function Entities_Oslash_getInstance() {
- Entities_initEntries();
- return Entities_Oslash_instance;
- }
-
- function Entities_Ugrave_getInstance() {
- Entities_initEntries();
- return Entities_Ugrave_instance;
- }
-
- function Entities_Uacute_getInstance() {
- Entities_initEntries();
- return Entities_Uacute_instance;
- }
-
- function Entities_Ucirc_getInstance() {
- Entities_initEntries();
- return Entities_Ucirc_instance;
- }
-
- function Entities_Uuml_getInstance() {
- Entities_initEntries();
- return Entities_Uuml_instance;
- }
-
- function Entities_Yacute_getInstance() {
- Entities_initEntries();
- return Entities_Yacute_instance;
- }
-
- function Entities_THORN_getInstance() {
- Entities_initEntries();
- return Entities_THORN_instance;
- }
-
- function Entities_szlig_getInstance() {
- Entities_initEntries();
- return Entities_szlig_instance;
- }
-
- function Entities_agrave_getInstance() {
- Entities_initEntries();
- return Entities_agrave_instance;
- }
-
- function Entities_aacute_getInstance() {
- Entities_initEntries();
- return Entities_aacute_instance;
- }
-
- function Entities_acirc_getInstance() {
- Entities_initEntries();
- return Entities_acirc_instance;
- }
-
- function Entities_atilde_getInstance() {
- Entities_initEntries();
- return Entities_atilde_instance;
- }
-
- function Entities_auml_getInstance() {
- Entities_initEntries();
- return Entities_auml_instance;
- }
-
- function Entities_aring_getInstance() {
- Entities_initEntries();
- return Entities_aring_instance;
- }
-
- function Entities_aelig_getInstance() {
- Entities_initEntries();
- return Entities_aelig_instance;
- }
-
- function Entities_ccedil_getInstance() {
- Entities_initEntries();
- return Entities_ccedil_instance;
- }
-
- function Entities_egrave_getInstance() {
- Entities_initEntries();
- return Entities_egrave_instance;
- }
-
- function Entities_eacute_getInstance() {
- Entities_initEntries();
- return Entities_eacute_instance;
- }
-
- function Entities_ecirc_getInstance() {
- Entities_initEntries();
- return Entities_ecirc_instance;
- }
-
- function Entities_euml_getInstance() {
- Entities_initEntries();
- return Entities_euml_instance;
- }
-
- function Entities_igrave_getInstance() {
- Entities_initEntries();
- return Entities_igrave_instance;
- }
-
- function Entities_iacute_getInstance() {
- Entities_initEntries();
- return Entities_iacute_instance;
- }
-
- function Entities_icirc_getInstance() {
- Entities_initEntries();
- return Entities_icirc_instance;
- }
-
- function Entities_iuml_getInstance() {
- Entities_initEntries();
- return Entities_iuml_instance;
- }
-
- function Entities_eth_getInstance() {
- Entities_initEntries();
- return Entities_eth_instance;
- }
-
- function Entities_ntilde_getInstance() {
- Entities_initEntries();
- return Entities_ntilde_instance;
- }
-
- function Entities_ograve_getInstance() {
- Entities_initEntries();
- return Entities_ograve_instance;
- }
-
- function Entities_oacute_getInstance() {
- Entities_initEntries();
- return Entities_oacute_instance;
- }
-
- function Entities_ocirc_getInstance() {
- Entities_initEntries();
- return Entities_ocirc_instance;
- }
-
- function Entities_otilde_getInstance() {
- Entities_initEntries();
- return Entities_otilde_instance;
- }
-
- function Entities_ouml_getInstance() {
- Entities_initEntries();
- return Entities_ouml_instance;
- }
-
- function Entities_divide_getInstance() {
- Entities_initEntries();
- return Entities_divide_instance;
- }
-
- function Entities_oslash_getInstance() {
- Entities_initEntries();
- return Entities_oslash_instance;
- }
-
- function Entities_ugrave_getInstance() {
- Entities_initEntries();
- return Entities_ugrave_instance;
- }
-
- function Entities_uacute_getInstance() {
- Entities_initEntries();
- return Entities_uacute_instance;
- }
-
- function Entities_ucirc_getInstance() {
- Entities_initEntries();
- return Entities_ucirc_instance;
- }
-
- function Entities_uuml_getInstance() {
- Entities_initEntries();
- return Entities_uuml_instance;
- }
-
- function Entities_yacute_getInstance() {
- Entities_initEntries();
- return Entities_yacute_instance;
- }
-
- function Entities_thorn_getInstance() {
- Entities_initEntries();
- return Entities_thorn_instance;
- }
-
- function Entities_yuml_getInstance() {
- Entities_initEntries();
- return Entities_yuml_instance;
- }
-
- function get_dirValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return dirValues;
- }
-
- var dirValues;
-
- function get_draggableValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return draggableValues;
- }
-
- var draggableValues;
-
- function get_runAtValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return runAtValues;
- }
-
- var runAtValues;
-
- function get_areaShapeValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return areaShapeValues;
- }
-
- var areaShapeValues;
-
- function get_buttonFormEncTypeValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return buttonFormEncTypeValues;
- }
-
- var buttonFormEncTypeValues;
-
- function get_buttonFormMethodValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return buttonFormMethodValues;
- }
-
- var buttonFormMethodValues;
-
- function get_buttonTypeValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return buttonTypeValues;
- }
-
- var buttonTypeValues;
-
- function get_commandTypeValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return commandTypeValues;
- }
-
- var commandTypeValues;
-
- function get_formEncTypeValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return formEncTypeValues;
- }
-
- var formEncTypeValues;
-
- function get_formMethodValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return formMethodValues;
- }
-
- var formMethodValues;
-
- function get_iframeSandboxValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return iframeSandboxValues;
- }
-
- var iframeSandboxValues;
-
- function get_inputTypeValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return inputTypeValues;
- }
-
- var inputTypeValues;
-
- function get_inputFormEncTypeValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return inputFormEncTypeValues;
- }
-
- var inputFormEncTypeValues;
-
- function get_inputFormMethodValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return inputFormMethodValues;
- }
-
- var inputFormMethodValues;
-
- function get_keyGenKeyTypeValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return keyGenKeyTypeValues;
- }
-
- var keyGenKeyTypeValues;
-
- function get_textAreaWrapValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return textAreaWrapValues;
- }
-
- var textAreaWrapValues;
-
- function get_thScopeValues() {
- _init_properties_gen_enums_kt__jr8w3n();
- return thScopeValues;
- }
-
- var thScopeValues;
- var ButtonFormEncType_multipartFormData_instance;
- var ButtonFormEncType_applicationXWwwFormUrlEncoded_instance;
- var ButtonFormEncType_textPlain_instance;
-
- function values_0() {
- return [ButtonFormEncType_multipartFormData_getInstance(), ButtonFormEncType_applicationXWwwFormUrlEncoded_getInstance(), ButtonFormEncType_textPlain_getInstance()];
- }
-
- function valueOf_0(value) {
- switch (value) {
- case 'multipartFormData':
- return ButtonFormEncType_multipartFormData_getInstance();
- case 'applicationXWwwFormUrlEncoded':
- return ButtonFormEncType_applicationXWwwFormUrlEncoded_getInstance();
- case 'textPlain':
- return ButtonFormEncType_textPlain_getInstance();
- default:
- ButtonFormEncType_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var ButtonFormEncType_entriesInitialized;
-
- function ButtonFormEncType_initEntries() {
- if (ButtonFormEncType_entriesInitialized)
- return Unit_getInstance();
- ButtonFormEncType_entriesInitialized = true;
- ButtonFormEncType_multipartFormData_instance = new ButtonFormEncType('multipartFormData', 0, 'multipart/form-data');
- ButtonFormEncType_applicationXWwwFormUrlEncoded_instance = new ButtonFormEncType('applicationXWwwFormUrlEncoded', 1, 'application/x-www-form-urlencoded');
- ButtonFormEncType_textPlain_instance = new ButtonFormEncType('textPlain', 2, 'text/plain');
- }
-
- function ButtonFormEncType(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(ButtonFormEncType).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var ButtonFormMethod_get_instance;
- var ButtonFormMethod_post_instance;
- var ButtonFormMethod_put_instance;
- var ButtonFormMethod_delete_instance;
- var ButtonFormMethod_patch_instance;
-
- function values_1() {
- return [ButtonFormMethod_get_getInstance(), ButtonFormMethod_post_getInstance(), ButtonFormMethod_put_getInstance(), ButtonFormMethod_delete_getInstance(), ButtonFormMethod_patch_getInstance()];
- }
-
- function valueOf_1(value) {
- switch (value) {
- case 'get':
- return ButtonFormMethod_get_getInstance();
- case 'post':
- return ButtonFormMethod_post_getInstance();
- case 'put':
- return ButtonFormMethod_put_getInstance();
- case 'delete':
- return ButtonFormMethod_delete_getInstance();
- case 'patch':
- return ButtonFormMethod_patch_getInstance();
- default:
- ButtonFormMethod_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var ButtonFormMethod_entriesInitialized;
-
- function ButtonFormMethod_initEntries() {
- if (ButtonFormMethod_entriesInitialized)
- return Unit_getInstance();
- ButtonFormMethod_entriesInitialized = true;
- ButtonFormMethod_get_instance = new ButtonFormMethod('get', 0, 'get');
- ButtonFormMethod_post_instance = new ButtonFormMethod('post', 1, 'post');
- ButtonFormMethod_put_instance = new ButtonFormMethod('put', 2, 'put');
- ButtonFormMethod_delete_instance = new ButtonFormMethod('delete', 3, 'delete');
- ButtonFormMethod_patch_instance = new ButtonFormMethod('patch', 4, 'patch');
- }
-
- function ButtonFormMethod(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(ButtonFormMethod).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var ButtonType_button_instance;
- var ButtonType_reset_instance;
- var ButtonType_submit_instance;
-
- function values_2() {
- return [ButtonType_button_getInstance(), ButtonType_reset_getInstance(), ButtonType_submit_getInstance()];
- }
-
- function valueOf_2(value) {
- switch (value) {
- case 'button':
- return ButtonType_button_getInstance();
- case 'reset':
- return ButtonType_reset_getInstance();
- case 'submit':
- return ButtonType_submit_getInstance();
- default:
- ButtonType_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var ButtonType_entriesInitialized;
-
- function ButtonType_initEntries() {
- if (ButtonType_entriesInitialized)
- return Unit_getInstance();
- ButtonType_entriesInitialized = true;
- ButtonType_button_instance = new ButtonType('button', 0, 'button');
- ButtonType_reset_instance = new ButtonType('reset', 1, 'reset');
- ButtonType_submit_instance = new ButtonType('submit', 2, 'submit');
- }
-
- function ButtonType(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(ButtonType).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var CommandType_command_instance;
- var CommandType_checkBox_instance;
- var CommandType_radio_instance;
-
- function values_3() {
- return [CommandType_command_getInstance(), CommandType_checkBox_getInstance(), CommandType_radio_getInstance()];
- }
-
- function valueOf_3(value) {
- switch (value) {
- case 'command':
- return CommandType_command_getInstance();
- case 'checkBox':
- return CommandType_checkBox_getInstance();
- case 'radio':
- return CommandType_radio_getInstance();
- default:
- CommandType_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var CommandType_entriesInitialized;
-
- function CommandType_initEntries() {
- if (CommandType_entriesInitialized)
- return Unit_getInstance();
- CommandType_entriesInitialized = true;
- CommandType_command_instance = new CommandType('command', 0, 'command');
- CommandType_checkBox_instance = new CommandType('checkBox', 1, 'checkbox');
- CommandType_radio_instance = new CommandType('radio', 2, 'radio');
- }
-
- function CommandType(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(CommandType).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var Dir_ltr_instance;
- var Dir_rtl_instance;
-
- function values_4() {
- return [Dir_ltr_getInstance(), Dir_rtl_getInstance()];
- }
-
- function valueOf_4(value) {
- switch (value) {
- case 'ltr':
- return Dir_ltr_getInstance();
- case 'rtl':
- return Dir_rtl_getInstance();
- default:
- Dir_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var Dir_entriesInitialized;
-
- function Dir_initEntries() {
- if (Dir_entriesInitialized)
- return Unit_getInstance();
- Dir_entriesInitialized = true;
- Dir_ltr_instance = new Dir('ltr', 0, 'ltr');
- Dir_rtl_instance = new Dir('rtl', 1, 'rtl');
- }
-
- function Dir(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(Dir).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var Draggable_htmlTrue_instance;
- var Draggable_htmlFalse_instance;
- var Draggable_auto_instance;
-
- function values_5() {
- return [Draggable_htmlTrue_getInstance(), Draggable_htmlFalse_getInstance(), Draggable_auto_getInstance()];
- }
-
- function valueOf_5(value) {
- switch (value) {
- case 'htmlTrue':
- return Draggable_htmlTrue_getInstance();
- case 'htmlFalse':
- return Draggable_htmlFalse_getInstance();
- case 'auto':
- return Draggable_auto_getInstance();
- default:
- Draggable_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var Draggable_entriesInitialized;
-
- function Draggable_initEntries() {
- if (Draggable_entriesInitialized)
- return Unit_getInstance();
- Draggable_entriesInitialized = true;
- Draggable_htmlTrue_instance = new Draggable('htmlTrue', 0, 'true');
- Draggable_htmlFalse_instance = new Draggable('htmlFalse', 1, 'false');
- Draggable_auto_instance = new Draggable('auto', 2, 'auto');
- }
-
- function Draggable(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(Draggable).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var FormEncType_multipartFormData_instance;
- var FormEncType_applicationXWwwFormUrlEncoded_instance;
- var FormEncType_textPlain_instance;
-
- function values_6() {
- return [FormEncType_multipartFormData_getInstance(), FormEncType_applicationXWwwFormUrlEncoded_getInstance(), FormEncType_textPlain_getInstance()];
- }
-
- function valueOf_6(value) {
- switch (value) {
- case 'multipartFormData':
- return FormEncType_multipartFormData_getInstance();
- case 'applicationXWwwFormUrlEncoded':
- return FormEncType_applicationXWwwFormUrlEncoded_getInstance();
- case 'textPlain':
- return FormEncType_textPlain_getInstance();
- default:
- FormEncType_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var FormEncType_entriesInitialized;
-
- function FormEncType_initEntries() {
- if (FormEncType_entriesInitialized)
- return Unit_getInstance();
- FormEncType_entriesInitialized = true;
- FormEncType_multipartFormData_instance = new FormEncType('multipartFormData', 0, 'multipart/form-data');
- FormEncType_applicationXWwwFormUrlEncoded_instance = new FormEncType('applicationXWwwFormUrlEncoded', 1, 'application/x-www-form-urlencoded');
- FormEncType_textPlain_instance = new FormEncType('textPlain', 2, 'text/plain');
- }
-
- function FormEncType(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(FormEncType).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var FormMethod_get_instance;
- var FormMethod_post_instance;
- var FormMethod_put_instance;
- var FormMethod_delete_instance;
- var FormMethod_patch_instance;
-
- function values_7() {
- return [FormMethod_get_getInstance(), FormMethod_post_getInstance(), FormMethod_put_getInstance(), FormMethod_delete_getInstance(), FormMethod_patch_getInstance()];
- }
-
- function valueOf_7(value) {
- switch (value) {
- case 'get':
- return FormMethod_get_getInstance();
- case 'post':
- return FormMethod_post_getInstance();
- case 'put':
- return FormMethod_put_getInstance();
- case 'delete':
- return FormMethod_delete_getInstance();
- case 'patch':
- return FormMethod_patch_getInstance();
- default:
- FormMethod_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var FormMethod_entriesInitialized;
-
- function FormMethod_initEntries() {
- if (FormMethod_entriesInitialized)
- return Unit_getInstance();
- FormMethod_entriesInitialized = true;
- FormMethod_get_instance = new FormMethod('get', 0, 'get');
- FormMethod_post_instance = new FormMethod('post', 1, 'post');
- FormMethod_put_instance = new FormMethod('put', 2, 'put');
- FormMethod_delete_instance = new FormMethod('delete', 3, 'delete');
- FormMethod_patch_instance = new FormMethod('patch', 4, 'patch');
- }
-
- function FormMethod(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(FormMethod).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var IframeSandbox_allowSameOrigin_instance;
- var IframeSandbox_allowFormS_instance;
- var IframeSandbox_allowScripts_instance;
-
- function values_8() {
- return [IframeSandbox_allowSameOrigin_getInstance(), IframeSandbox_allowFormS_getInstance(), IframeSandbox_allowScripts_getInstance()];
- }
-
- function valueOf_8(value) {
- switch (value) {
- case 'allowSameOrigin':
- return IframeSandbox_allowSameOrigin_getInstance();
- case 'allowFormS':
- return IframeSandbox_allowFormS_getInstance();
- case 'allowScripts':
- return IframeSandbox_allowScripts_getInstance();
- default:
- IframeSandbox_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var IframeSandbox_entriesInitialized;
-
- function IframeSandbox_initEntries() {
- if (IframeSandbox_entriesInitialized)
- return Unit_getInstance();
- IframeSandbox_entriesInitialized = true;
- IframeSandbox_allowSameOrigin_instance = new IframeSandbox('allowSameOrigin', 0, 'allow-same-origin');
- IframeSandbox_allowFormS_instance = new IframeSandbox('allowFormS', 1, 'allow-forms');
- IframeSandbox_allowScripts_instance = new IframeSandbox('allowScripts', 2, 'allow-scripts');
- }
-
- function IframeSandbox(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(IframeSandbox).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var InputFormEncType_multipartFormData_instance;
- var InputFormEncType_applicationXWwwFormUrlEncoded_instance;
- var InputFormEncType_textPlain_instance;
-
- function values_9() {
- return [InputFormEncType_multipartFormData_getInstance(), InputFormEncType_applicationXWwwFormUrlEncoded_getInstance(), InputFormEncType_textPlain_getInstance()];
- }
-
- function valueOf_9(value) {
- switch (value) {
- case 'multipartFormData':
- return InputFormEncType_multipartFormData_getInstance();
- case 'applicationXWwwFormUrlEncoded':
- return InputFormEncType_applicationXWwwFormUrlEncoded_getInstance();
- case 'textPlain':
- return InputFormEncType_textPlain_getInstance();
- default:
- InputFormEncType_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var InputFormEncType_entriesInitialized;
-
- function InputFormEncType_initEntries() {
- if (InputFormEncType_entriesInitialized)
- return Unit_getInstance();
- InputFormEncType_entriesInitialized = true;
- InputFormEncType_multipartFormData_instance = new InputFormEncType('multipartFormData', 0, 'multipart/form-data');
- InputFormEncType_applicationXWwwFormUrlEncoded_instance = new InputFormEncType('applicationXWwwFormUrlEncoded', 1, 'application/x-www-form-urlencoded');
- InputFormEncType_textPlain_instance = new InputFormEncType('textPlain', 2, 'text/plain');
- }
-
- function InputFormEncType(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(InputFormEncType).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var InputFormMethod_get_instance;
- var InputFormMethod_post_instance;
- var InputFormMethod_put_instance;
- var InputFormMethod_delete_instance;
- var InputFormMethod_patch_instance;
-
- function values_10() {
- return [InputFormMethod_get_getInstance(), InputFormMethod_post_getInstance(), InputFormMethod_put_getInstance(), InputFormMethod_delete_getInstance(), InputFormMethod_patch_getInstance()];
- }
-
- function valueOf_10(value) {
- switch (value) {
- case 'get':
- return InputFormMethod_get_getInstance();
- case 'post':
- return InputFormMethod_post_getInstance();
- case 'put':
- return InputFormMethod_put_getInstance();
- case 'delete':
- return InputFormMethod_delete_getInstance();
- case 'patch':
- return InputFormMethod_patch_getInstance();
- default:
- InputFormMethod_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var InputFormMethod_entriesInitialized;
-
- function InputFormMethod_initEntries() {
- if (InputFormMethod_entriesInitialized)
- return Unit_getInstance();
- InputFormMethod_entriesInitialized = true;
- InputFormMethod_get_instance = new InputFormMethod('get', 0, 'get');
- InputFormMethod_post_instance = new InputFormMethod('post', 1, 'post');
- InputFormMethod_put_instance = new InputFormMethod('put', 2, 'put');
- InputFormMethod_delete_instance = new InputFormMethod('delete', 3, 'delete');
- InputFormMethod_patch_instance = new InputFormMethod('patch', 4, 'patch');
- }
-
- function InputFormMethod(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(InputFormMethod).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var InputType_button_instance;
- var InputType_checkBox_instance;
- var InputType_color_instance;
- var InputType_date_instance;
- var InputType_dateTime_instance;
- var InputType_dateTimeLocal_instance;
- var InputType_email_instance;
- var InputType_file_instance;
- var InputType_hidden_instance;
- var InputType_image_instance;
- var InputType_month_instance;
- var InputType_number_instance;
- var InputType_password_instance;
- var InputType_radio_instance;
- var InputType_range_instance;
- var InputType_reset_instance;
- var InputType_search_instance;
- var InputType_submit_instance;
- var InputType_text_instance;
- var InputType_tel_instance;
- var InputType_time_instance;
- var InputType_url_instance;
- var InputType_week_instance;
-
- function values_11() {
- return [InputType_button_getInstance(), InputType_checkBox_getInstance(), InputType_color_getInstance(), InputType_date_getInstance(), InputType_dateTime_getInstance(), InputType_dateTimeLocal_getInstance(), InputType_email_getInstance(), InputType_file_getInstance(), InputType_hidden_getInstance(), InputType_image_getInstance(), InputType_month_getInstance(), InputType_number_getInstance(), InputType_password_getInstance(), InputType_radio_getInstance(), InputType_range_getInstance(), InputType_reset_getInstance(), InputType_search_getInstance(), InputType_submit_getInstance(), InputType_text_getInstance(), InputType_tel_getInstance(), InputType_time_getInstance(), InputType_url_getInstance(), InputType_week_getInstance()];
- }
-
- function valueOf_11(value) {
- switch (value) {
- case 'button':
- return InputType_button_getInstance();
- case 'checkBox':
- return InputType_checkBox_getInstance();
- case 'color':
- return InputType_color_getInstance();
- case 'date':
- return InputType_date_getInstance();
- case 'dateTime':
- return InputType_dateTime_getInstance();
- case 'dateTimeLocal':
- return InputType_dateTimeLocal_getInstance();
- case 'email':
- return InputType_email_getInstance();
- case 'file':
- return InputType_file_getInstance();
- case 'hidden':
- return InputType_hidden_getInstance();
- case 'image':
- return InputType_image_getInstance();
- case 'month':
- return InputType_month_getInstance();
- case 'number':
- return InputType_number_getInstance();
- case 'password':
- return InputType_password_getInstance();
- case 'radio':
- return InputType_radio_getInstance();
- case 'range':
- return InputType_range_getInstance();
- case 'reset':
- return InputType_reset_getInstance();
- case 'search':
- return InputType_search_getInstance();
- case 'submit':
- return InputType_submit_getInstance();
- case 'text':
- return InputType_text_getInstance();
- case 'tel':
- return InputType_tel_getInstance();
- case 'time':
- return InputType_time_getInstance();
- case 'url':
- return InputType_url_getInstance();
- case 'week':
- return InputType_week_getInstance();
- default:
- InputType_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var InputType_entriesInitialized;
-
- function InputType_initEntries() {
- if (InputType_entriesInitialized)
- return Unit_getInstance();
- InputType_entriesInitialized = true;
- InputType_button_instance = new InputType('button', 0, 'button');
- InputType_checkBox_instance = new InputType('checkBox', 1, 'checkbox');
- InputType_color_instance = new InputType('color', 2, 'color');
- InputType_date_instance = new InputType('date', 3, 'date');
- InputType_dateTime_instance = new InputType('dateTime', 4, 'datetime');
- InputType_dateTimeLocal_instance = new InputType('dateTimeLocal', 5, 'datetime-local');
- InputType_email_instance = new InputType('email', 6, 'email');
- InputType_file_instance = new InputType('file', 7, 'file');
- InputType_hidden_instance = new InputType('hidden', 8, 'hidden');
- InputType_image_instance = new InputType('image', 9, 'image');
- InputType_month_instance = new InputType('month', 10, 'month');
- InputType_number_instance = new InputType('number', 11, 'number');
- InputType_password_instance = new InputType('password', 12, 'password');
- InputType_radio_instance = new InputType('radio', 13, 'radio');
- InputType_range_instance = new InputType('range', 14, 'range');
- InputType_reset_instance = new InputType('reset', 15, 'reset');
- InputType_search_instance = new InputType('search', 16, 'search');
- InputType_submit_instance = new InputType('submit', 17, 'submit');
- InputType_text_instance = new InputType('text', 18, 'text');
- InputType_tel_instance = new InputType('tel', 19, 'tel');
- InputType_time_instance = new InputType('time', 20, 'time');
- InputType_url_instance = new InputType('url', 21, 'url');
- InputType_week_instance = new InputType('week', 22, 'week');
- }
-
- function InputType(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(InputType).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var KeyGenKeyType_rsa_instance;
-
- function values_12() {
- return [KeyGenKeyType_rsa_getInstance()];
- }
-
- function valueOf_12(value) {
- if (value === 'rsa')
- return KeyGenKeyType_rsa_getInstance();
- else {
- KeyGenKeyType_initEntries();
- THROW_IAE('No enum constant value.');
- }
- }
-
- var KeyGenKeyType_entriesInitialized;
-
- function KeyGenKeyType_initEntries() {
- if (KeyGenKeyType_entriesInitialized)
- return Unit_getInstance();
- KeyGenKeyType_entriesInitialized = true;
- KeyGenKeyType_rsa_instance = new KeyGenKeyType('rsa', 0, 'rsa');
- }
-
- function KeyGenKeyType(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(KeyGenKeyType).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var RunAt_server_instance;
-
- function values_13() {
- return [RunAt_server_getInstance()];
- }
-
- function valueOf_13(value) {
- if (value === 'server')
- return RunAt_server_getInstance();
- else {
- RunAt_initEntries();
- THROW_IAE('No enum constant value.');
- }
- }
-
- var RunAt_entriesInitialized;
-
- function RunAt_initEntries() {
- if (RunAt_entriesInitialized)
- return Unit_getInstance();
- RunAt_entriesInitialized = true;
- RunAt_server_instance = new RunAt('server', 0, 'server');
- }
-
- function RunAt(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(RunAt).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var TextAreaWrap_hard_instance;
- var TextAreaWrap_soft_instance;
-
- function values_14() {
- return [TextAreaWrap_hard_getInstance(), TextAreaWrap_soft_getInstance()];
- }
-
- function valueOf_14(value) {
- switch (value) {
- case 'hard':
- return TextAreaWrap_hard_getInstance();
- case 'soft':
- return TextAreaWrap_soft_getInstance();
- default:
- TextAreaWrap_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var TextAreaWrap_entriesInitialized;
-
- function TextAreaWrap_initEntries() {
- if (TextAreaWrap_entriesInitialized)
- return Unit_getInstance();
- TextAreaWrap_entriesInitialized = true;
- TextAreaWrap_hard_instance = new TextAreaWrap('hard', 0, 'hard');
- TextAreaWrap_soft_instance = new TextAreaWrap('soft', 1, 'soft');
- }
-
- function TextAreaWrap(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(TextAreaWrap).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var ThScope_col_instance;
- var ThScope_colGroup_instance;
- var ThScope_row_instance;
- var ThScope_rowGroup_instance;
-
- function values_15() {
- return [ThScope_col_getInstance(), ThScope_colGroup_getInstance(), ThScope_row_getInstance(), ThScope_rowGroup_getInstance()];
- }
-
- function valueOf_15(value) {
- switch (value) {
- case 'col':
- return ThScope_col_getInstance();
- case 'colGroup':
- return ThScope_colGroup_getInstance();
- case 'row':
- return ThScope_row_getInstance();
- case 'rowGroup':
- return ThScope_rowGroup_getInstance();
- default:
- ThScope_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var ThScope_entriesInitialized;
-
- function ThScope_initEntries() {
- if (ThScope_entriesInitialized)
- return Unit_getInstance();
- ThScope_entriesInitialized = true;
- ThScope_col_instance = new ThScope('col', 0, 'col');
- ThScope_colGroup_instance = new ThScope('colGroup', 1, 'colgroup');
- ThScope_row_instance = new ThScope('row', 2, 'row');
- ThScope_rowGroup_instance = new ThScope('rowGroup', 3, 'rowgroup');
- }
-
- function ThScope(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(ThScope).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
- var AreaShape_rect_instance;
- var AreaShape_circle_instance;
- var AreaShape_poly_instance;
- var AreaShape_default_instance;
-
- function values_16() {
- return [AreaShape_rect_getInstance(), AreaShape_circle_getInstance(), AreaShape_poly_getInstance(), AreaShape_default_getInstance()];
- }
-
- function valueOf_16(value) {
- switch (value) {
- case 'rect':
- return AreaShape_rect_getInstance();
- case 'circle':
- return AreaShape_circle_getInstance();
- case 'poly':
- return AreaShape_poly_getInstance();
- case 'default':
- return AreaShape_default_getInstance();
- default:
- AreaShape_initEntries();
- THROW_IAE('No enum constant value.');
- break;
- }
- }
-
- var AreaShape_entriesInitialized;
-
- function AreaShape_initEntries() {
- if (AreaShape_entriesInitialized)
- return Unit_getInstance();
- AreaShape_entriesInitialized = true;
- AreaShape_rect_instance = new AreaShape('rect', 0, 'rect');
- AreaShape_circle_instance = new AreaShape('circle', 1, 'circle');
- AreaShape_poly_instance = new AreaShape('poly', 2, 'poly');
- AreaShape_default_instance = new AreaShape('default', 3, 'default');
- }
-
- function AreaShape(name, ordinal, realValue) {
- Enum.call(this, name, ordinal);
- this.realValue_1 = realValue;
- }
-
- protoOf(AreaShape).get_realValue_69bbcm_k$ = function () {
- return this.realValue_1;
- };
-
- function ButtonFormEncType_multipartFormData_getInstance() {
- ButtonFormEncType_initEntries();
- return ButtonFormEncType_multipartFormData_instance;
- }
-
- function ButtonFormEncType_applicationXWwwFormUrlEncoded_getInstance() {
- ButtonFormEncType_initEntries();
- return ButtonFormEncType_applicationXWwwFormUrlEncoded_instance;
- }
-
- function ButtonFormEncType_textPlain_getInstance() {
- ButtonFormEncType_initEntries();
- return ButtonFormEncType_textPlain_instance;
- }
-
- function ButtonFormMethod_get_getInstance() {
- ButtonFormMethod_initEntries();
- return ButtonFormMethod_get_instance;
- }
-
- function ButtonFormMethod_post_getInstance() {
- ButtonFormMethod_initEntries();
- return ButtonFormMethod_post_instance;
- }
-
- function ButtonFormMethod_put_getInstance() {
- ButtonFormMethod_initEntries();
- return ButtonFormMethod_put_instance;
- }
-
- function ButtonFormMethod_delete_getInstance() {
- ButtonFormMethod_initEntries();
- return ButtonFormMethod_delete_instance;
- }
-
- function ButtonFormMethod_patch_getInstance() {
- ButtonFormMethod_initEntries();
- return ButtonFormMethod_patch_instance;
- }
-
- function ButtonType_button_getInstance() {
- ButtonType_initEntries();
- return ButtonType_button_instance;
- }
-
- function ButtonType_reset_getInstance() {
- ButtonType_initEntries();
- return ButtonType_reset_instance;
- }
-
- function ButtonType_submit_getInstance() {
- ButtonType_initEntries();
- return ButtonType_submit_instance;
- }
-
- function CommandType_command_getInstance() {
- CommandType_initEntries();
- return CommandType_command_instance;
- }
-
- function CommandType_checkBox_getInstance() {
- CommandType_initEntries();
- return CommandType_checkBox_instance;
- }
-
- function CommandType_radio_getInstance() {
- CommandType_initEntries();
- return CommandType_radio_instance;
- }
-
- function Dir_ltr_getInstance() {
- Dir_initEntries();
- return Dir_ltr_instance;
- }
-
- function Dir_rtl_getInstance() {
- Dir_initEntries();
- return Dir_rtl_instance;
- }
-
- function Draggable_htmlTrue_getInstance() {
- Draggable_initEntries();
- return Draggable_htmlTrue_instance;
- }
-
- function Draggable_htmlFalse_getInstance() {
- Draggable_initEntries();
- return Draggable_htmlFalse_instance;
- }
-
- function Draggable_auto_getInstance() {
- Draggable_initEntries();
- return Draggable_auto_instance;
- }
-
- function FormEncType_multipartFormData_getInstance() {
- FormEncType_initEntries();
- return FormEncType_multipartFormData_instance;
- }
-
- function FormEncType_applicationXWwwFormUrlEncoded_getInstance() {
- FormEncType_initEntries();
- return FormEncType_applicationXWwwFormUrlEncoded_instance;
- }
-
- function FormEncType_textPlain_getInstance() {
- FormEncType_initEntries();
- return FormEncType_textPlain_instance;
- }
-
- function FormMethod_get_getInstance() {
- FormMethod_initEntries();
- return FormMethod_get_instance;
- }
-
- function FormMethod_post_getInstance() {
- FormMethod_initEntries();
- return FormMethod_post_instance;
- }
-
- function FormMethod_put_getInstance() {
- FormMethod_initEntries();
- return FormMethod_put_instance;
- }
-
- function FormMethod_delete_getInstance() {
- FormMethod_initEntries();
- return FormMethod_delete_instance;
- }
-
- function FormMethod_patch_getInstance() {
- FormMethod_initEntries();
- return FormMethod_patch_instance;
- }
-
- function IframeSandbox_allowSameOrigin_getInstance() {
- IframeSandbox_initEntries();
- return IframeSandbox_allowSameOrigin_instance;
- }
-
- function IframeSandbox_allowFormS_getInstance() {
- IframeSandbox_initEntries();
- return IframeSandbox_allowFormS_instance;
- }
-
- function IframeSandbox_allowScripts_getInstance() {
- IframeSandbox_initEntries();
- return IframeSandbox_allowScripts_instance;
- }
-
- function InputFormEncType_multipartFormData_getInstance() {
- InputFormEncType_initEntries();
- return InputFormEncType_multipartFormData_instance;
- }
-
- function InputFormEncType_applicationXWwwFormUrlEncoded_getInstance() {
- InputFormEncType_initEntries();
- return InputFormEncType_applicationXWwwFormUrlEncoded_instance;
- }
-
- function InputFormEncType_textPlain_getInstance() {
- InputFormEncType_initEntries();
- return InputFormEncType_textPlain_instance;
- }
-
- function InputFormMethod_get_getInstance() {
- InputFormMethod_initEntries();
- return InputFormMethod_get_instance;
- }
-
- function InputFormMethod_post_getInstance() {
- InputFormMethod_initEntries();
- return InputFormMethod_post_instance;
- }
-
- function InputFormMethod_put_getInstance() {
- InputFormMethod_initEntries();
- return InputFormMethod_put_instance;
- }
-
- function InputFormMethod_delete_getInstance() {
- InputFormMethod_initEntries();
- return InputFormMethod_delete_instance;
- }
-
- function InputFormMethod_patch_getInstance() {
- InputFormMethod_initEntries();
- return InputFormMethod_patch_instance;
- }
-
- function InputType_button_getInstance() {
- InputType_initEntries();
- return InputType_button_instance;
- }
-
- function InputType_checkBox_getInstance() {
- InputType_initEntries();
- return InputType_checkBox_instance;
- }
-
- function InputType_color_getInstance() {
- InputType_initEntries();
- return InputType_color_instance;
- }
-
- function InputType_date_getInstance() {
- InputType_initEntries();
- return InputType_date_instance;
- }
-
- function InputType_dateTime_getInstance() {
- InputType_initEntries();
- return InputType_dateTime_instance;
- }
-
- function InputType_dateTimeLocal_getInstance() {
- InputType_initEntries();
- return InputType_dateTimeLocal_instance;
- }
-
- function InputType_email_getInstance() {
- InputType_initEntries();
- return InputType_email_instance;
- }
-
- function InputType_file_getInstance() {
- InputType_initEntries();
- return InputType_file_instance;
- }
-
- function InputType_hidden_getInstance() {
- InputType_initEntries();
- return InputType_hidden_instance;
- }
-
- function InputType_image_getInstance() {
- InputType_initEntries();
- return InputType_image_instance;
- }
-
- function InputType_month_getInstance() {
- InputType_initEntries();
- return InputType_month_instance;
- }
-
- function InputType_number_getInstance() {
- InputType_initEntries();
- return InputType_number_instance;
- }
-
- function InputType_password_getInstance() {
- InputType_initEntries();
- return InputType_password_instance;
- }
-
- function InputType_radio_getInstance() {
- InputType_initEntries();
- return InputType_radio_instance;
- }
-
- function InputType_range_getInstance() {
- InputType_initEntries();
- return InputType_range_instance;
- }
-
- function InputType_reset_getInstance() {
- InputType_initEntries();
- return InputType_reset_instance;
- }
-
- function InputType_search_getInstance() {
- InputType_initEntries();
- return InputType_search_instance;
- }
-
- function InputType_submit_getInstance() {
- InputType_initEntries();
- return InputType_submit_instance;
- }
-
- function InputType_text_getInstance() {
- InputType_initEntries();
- return InputType_text_instance;
- }
-
- function InputType_tel_getInstance() {
- InputType_initEntries();
- return InputType_tel_instance;
- }
-
- function InputType_time_getInstance() {
- InputType_initEntries();
- return InputType_time_instance;
- }
-
- function InputType_url_getInstance() {
- InputType_initEntries();
- return InputType_url_instance;
- }
-
- function InputType_week_getInstance() {
- InputType_initEntries();
- return InputType_week_instance;
- }
-
- function KeyGenKeyType_rsa_getInstance() {
- KeyGenKeyType_initEntries();
- return KeyGenKeyType_rsa_instance;
- }
-
- function RunAt_server_getInstance() {
- RunAt_initEntries();
- return RunAt_server_instance;
- }
-
- function TextAreaWrap_hard_getInstance() {
- TextAreaWrap_initEntries();
- return TextAreaWrap_hard_instance;
- }
-
- function TextAreaWrap_soft_getInstance() {
- TextAreaWrap_initEntries();
- return TextAreaWrap_soft_instance;
- }
-
- function ThScope_col_getInstance() {
- ThScope_initEntries();
- return ThScope_col_instance;
- }
-
- function ThScope_colGroup_getInstance() {
- ThScope_initEntries();
- return ThScope_colGroup_instance;
- }
-
- function ThScope_row_getInstance() {
- ThScope_initEntries();
- return ThScope_row_instance;
- }
-
- function ThScope_rowGroup_getInstance() {
- ThScope_initEntries();
- return ThScope_rowGroup_instance;
- }
-
- function AreaShape_rect_getInstance() {
- AreaShape_initEntries();
- return AreaShape_rect_instance;
- }
-
- function AreaShape_circle_getInstance() {
- AreaShape_initEntries();
- return AreaShape_circle_instance;
- }
-
- function AreaShape_poly_getInstance() {
- AreaShape_initEntries();
- return AreaShape_poly_instance;
- }
-
- function AreaShape_default_getInstance() {
- AreaShape_initEntries();
- return AreaShape_default_instance;
- }
-
- var properties_initialized_gen_enums_kt_cpcrt1;
-
- function _init_properties_gen_enums_kt__jr8w3n() {
- if (!properties_initialized_gen_enums_kt_cpcrt1) {
- properties_initialized_gen_enums_kt_cpcrt1 = true;
- // Inline function 'kotlin.collections.associateBy' call
- var this_0 = values_4();
- var capacity = coerceAtLeast(mapCapacity(this_0.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination = LinkedHashMap_init_$Create$(capacity);
- var inductionVariable = 0;
- var last = this_0.length;
- while (inductionVariable < last) {
- var element = this_0[inductionVariable];
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlinx.html.dirValues.' call
- var tmp$ret$0 = element.realValue_1;
- destination.put_4fpzoq_k$(tmp$ret$0, element);
- }
- dirValues = destination;
- // Inline function 'kotlin.collections.associateBy' call
- var this_1 = values_5();
- var capacity_0 = coerceAtLeast(mapCapacity(this_1.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_0 = LinkedHashMap_init_$Create$(capacity_0);
- var inductionVariable_0 = 0;
- var last_0 = this_1.length;
- while (inductionVariable_0 < last_0) {
- var element_0 = this_1[inductionVariable_0];
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- // Inline function 'kotlinx.html.draggableValues.' call
- var tmp$ret$0_0 = element_0.realValue_1;
- destination_0.put_4fpzoq_k$(tmp$ret$0_0, element_0);
- }
- draggableValues = destination_0;
- // Inline function 'kotlin.collections.associateBy' call
- var this_2 = values_13();
- var capacity_1 = coerceAtLeast(mapCapacity(this_2.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_1 = LinkedHashMap_init_$Create$(capacity_1);
- var inductionVariable_1 = 0;
- var last_1 = this_2.length;
- while (inductionVariable_1 < last_1) {
- var element_1 = this_2[inductionVariable_1];
- inductionVariable_1 = inductionVariable_1 + 1 | 0;
- // Inline function 'kotlinx.html.runAtValues.' call
- var tmp$ret$0_1 = element_1.realValue_1;
- destination_1.put_4fpzoq_k$(tmp$ret$0_1, element_1);
- }
- runAtValues = destination_1;
- // Inline function 'kotlin.collections.associateBy' call
- var this_3 = values_16();
- var capacity_2 = coerceAtLeast(mapCapacity(this_3.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_2 = LinkedHashMap_init_$Create$(capacity_2);
- var inductionVariable_2 = 0;
- var last_2 = this_3.length;
- while (inductionVariable_2 < last_2) {
- var element_2 = this_3[inductionVariable_2];
- inductionVariable_2 = inductionVariable_2 + 1 | 0;
- // Inline function 'kotlinx.html.areaShapeValues.' call
- var tmp$ret$0_2 = element_2.realValue_1;
- destination_2.put_4fpzoq_k$(tmp$ret$0_2, element_2);
- }
- areaShapeValues = destination_2;
- // Inline function 'kotlin.collections.associateBy' call
- var this_4 = values_0();
- var capacity_3 = coerceAtLeast(mapCapacity(this_4.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_3 = LinkedHashMap_init_$Create$(capacity_3);
- var inductionVariable_3 = 0;
- var last_3 = this_4.length;
- while (inductionVariable_3 < last_3) {
- var element_3 = this_4[inductionVariable_3];
- inductionVariable_3 = inductionVariable_3 + 1 | 0;
- // Inline function 'kotlinx.html.buttonFormEncTypeValues.' call
- var tmp$ret$0_3 = element_3.realValue_1;
- destination_3.put_4fpzoq_k$(tmp$ret$0_3, element_3);
- }
- buttonFormEncTypeValues = destination_3;
- // Inline function 'kotlin.collections.associateBy' call
- var this_5 = values_1();
- var capacity_4 = coerceAtLeast(mapCapacity(this_5.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_4 = LinkedHashMap_init_$Create$(capacity_4);
- var inductionVariable_4 = 0;
- var last_4 = this_5.length;
- while (inductionVariable_4 < last_4) {
- var element_4 = this_5[inductionVariable_4];
- inductionVariable_4 = inductionVariable_4 + 1 | 0;
- // Inline function 'kotlinx.html.buttonFormMethodValues.' call
- var tmp$ret$0_4 = element_4.realValue_1;
- destination_4.put_4fpzoq_k$(tmp$ret$0_4, element_4);
- }
- buttonFormMethodValues = destination_4;
- // Inline function 'kotlin.collections.associateBy' call
- var this_6 = values_2();
- var capacity_5 = coerceAtLeast(mapCapacity(this_6.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_5 = LinkedHashMap_init_$Create$(capacity_5);
- var inductionVariable_5 = 0;
- var last_5 = this_6.length;
- while (inductionVariable_5 < last_5) {
- var element_5 = this_6[inductionVariable_5];
- inductionVariable_5 = inductionVariable_5 + 1 | 0;
- // Inline function 'kotlinx.html.buttonTypeValues.' call
- var tmp$ret$0_5 = element_5.realValue_1;
- destination_5.put_4fpzoq_k$(tmp$ret$0_5, element_5);
- }
- buttonTypeValues = destination_5;
- // Inline function 'kotlin.collections.associateBy' call
- var this_7 = values_3();
- var capacity_6 = coerceAtLeast(mapCapacity(this_7.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_6 = LinkedHashMap_init_$Create$(capacity_6);
- var inductionVariable_6 = 0;
- var last_6 = this_7.length;
- while (inductionVariable_6 < last_6) {
- var element_6 = this_7[inductionVariable_6];
- inductionVariable_6 = inductionVariable_6 + 1 | 0;
- // Inline function 'kotlinx.html.commandTypeValues.' call
- var tmp$ret$0_6 = element_6.realValue_1;
- destination_6.put_4fpzoq_k$(tmp$ret$0_6, element_6);
- }
- commandTypeValues = destination_6;
- // Inline function 'kotlin.collections.associateBy' call
- var this_8 = values_6();
- var capacity_7 = coerceAtLeast(mapCapacity(this_8.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_7 = LinkedHashMap_init_$Create$(capacity_7);
- var inductionVariable_7 = 0;
- var last_7 = this_8.length;
- while (inductionVariable_7 < last_7) {
- var element_7 = this_8[inductionVariable_7];
- inductionVariable_7 = inductionVariable_7 + 1 | 0;
- // Inline function 'kotlinx.html.formEncTypeValues.' call
- var tmp$ret$0_7 = element_7.realValue_1;
- destination_7.put_4fpzoq_k$(tmp$ret$0_7, element_7);
- }
- formEncTypeValues = destination_7;
- // Inline function 'kotlin.collections.associateBy' call
- var this_9 = values_7();
- var capacity_8 = coerceAtLeast(mapCapacity(this_9.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_8 = LinkedHashMap_init_$Create$(capacity_8);
- var inductionVariable_8 = 0;
- var last_8 = this_9.length;
- while (inductionVariable_8 < last_8) {
- var element_8 = this_9[inductionVariable_8];
- inductionVariable_8 = inductionVariable_8 + 1 | 0;
- // Inline function 'kotlinx.html.formMethodValues.' call
- var tmp$ret$0_8 = element_8.realValue_1;
- destination_8.put_4fpzoq_k$(tmp$ret$0_8, element_8);
- }
- formMethodValues = destination_8;
- // Inline function 'kotlin.collections.associateBy' call
- var this_10 = values_8();
- var capacity_9 = coerceAtLeast(mapCapacity(this_10.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_9 = LinkedHashMap_init_$Create$(capacity_9);
- var inductionVariable_9 = 0;
- var last_9 = this_10.length;
- while (inductionVariable_9 < last_9) {
- var element_9 = this_10[inductionVariable_9];
- inductionVariable_9 = inductionVariable_9 + 1 | 0;
- // Inline function 'kotlinx.html.iframeSandboxValues.' call
- var tmp$ret$0_9 = element_9.realValue_1;
- destination_9.put_4fpzoq_k$(tmp$ret$0_9, element_9);
- }
- iframeSandboxValues = destination_9;
- // Inline function 'kotlin.collections.associateBy' call
- var this_11 = values_11();
- var capacity_10 = coerceAtLeast(mapCapacity(this_11.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_10 = LinkedHashMap_init_$Create$(capacity_10);
- var inductionVariable_10 = 0;
- var last_10 = this_11.length;
- while (inductionVariable_10 < last_10) {
- var element_10 = this_11[inductionVariable_10];
- inductionVariable_10 = inductionVariable_10 + 1 | 0;
- // Inline function 'kotlinx.html.inputTypeValues.' call
- var tmp$ret$0_10 = element_10.realValue_1;
- destination_10.put_4fpzoq_k$(tmp$ret$0_10, element_10);
- }
- inputTypeValues = destination_10;
- // Inline function 'kotlin.collections.associateBy' call
- var this_12 = values_9();
- var capacity_11 = coerceAtLeast(mapCapacity(this_12.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_11 = LinkedHashMap_init_$Create$(capacity_11);
- var inductionVariable_11 = 0;
- var last_11 = this_12.length;
- while (inductionVariable_11 < last_11) {
- var element_11 = this_12[inductionVariable_11];
- inductionVariable_11 = inductionVariable_11 + 1 | 0;
- // Inline function 'kotlinx.html.inputFormEncTypeValues.' call
- var tmp$ret$0_11 = element_11.realValue_1;
- destination_11.put_4fpzoq_k$(tmp$ret$0_11, element_11);
- }
- inputFormEncTypeValues = destination_11;
- // Inline function 'kotlin.collections.associateBy' call
- var this_13 = values_10();
- var capacity_12 = coerceAtLeast(mapCapacity(this_13.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_12 = LinkedHashMap_init_$Create$(capacity_12);
- var inductionVariable_12 = 0;
- var last_12 = this_13.length;
- while (inductionVariable_12 < last_12) {
- var element_12 = this_13[inductionVariable_12];
- inductionVariable_12 = inductionVariable_12 + 1 | 0;
- // Inline function 'kotlinx.html.inputFormMethodValues.' call
- var tmp$ret$0_12 = element_12.realValue_1;
- destination_12.put_4fpzoq_k$(tmp$ret$0_12, element_12);
- }
- inputFormMethodValues = destination_12;
- // Inline function 'kotlin.collections.associateBy' call
- var this_14 = values_12();
- var capacity_13 = coerceAtLeast(mapCapacity(this_14.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_13 = LinkedHashMap_init_$Create$(capacity_13);
- var inductionVariable_13 = 0;
- var last_13 = this_14.length;
- while (inductionVariable_13 < last_13) {
- var element_13 = this_14[inductionVariable_13];
- inductionVariable_13 = inductionVariable_13 + 1 | 0;
- // Inline function 'kotlinx.html.keyGenKeyTypeValues.' call
- var tmp$ret$0_13 = element_13.realValue_1;
- destination_13.put_4fpzoq_k$(tmp$ret$0_13, element_13);
- }
- keyGenKeyTypeValues = destination_13;
- // Inline function 'kotlin.collections.associateBy' call
- var this_15 = values_14();
- var capacity_14 = coerceAtLeast(mapCapacity(this_15.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_14 = LinkedHashMap_init_$Create$(capacity_14);
- var inductionVariable_14 = 0;
- var last_14 = this_15.length;
- while (inductionVariable_14 < last_14) {
- var element_14 = this_15[inductionVariable_14];
- inductionVariable_14 = inductionVariable_14 + 1 | 0;
- // Inline function 'kotlinx.html.textAreaWrapValues.' call
- var tmp$ret$0_14 = element_14.realValue_1;
- destination_14.put_4fpzoq_k$(tmp$ret$0_14, element_14);
- }
- textAreaWrapValues = destination_14;
- // Inline function 'kotlin.collections.associateBy' call
- var this_16 = values_15();
- var capacity_15 = coerceAtLeast(mapCapacity(this_16.length), 16);
- // Inline function 'kotlin.collections.associateByTo' call
- var destination_15 = LinkedHashMap_init_$Create$(capacity_15);
- var inductionVariable_15 = 0;
- var last_15 = this_16.length;
- while (inductionVariable_15 < last_15) {
- var element_15 = this_16[inductionVariable_15];
- inductionVariable_15 = inductionVariable_15 + 1 | 0;
- // Inline function 'kotlinx.html.thScopeValues.' call
- var tmp$ret$0_15 = element_15.realValue_1;
- destination_15.put_4fpzoq_k$(tmp$ret$0_15, element_15);
- }
- thScopeValues = destination_15;
- }
- }
-
- function get_AVERAGE_PAGE_SIZE() {
- _init_properties_stream_kt__a5c4ow();
- return AVERAGE_PAGE_SIZE;
- }
-
- var AVERAGE_PAGE_SIZE;
-
- function get_escapeMap() {
- _init_properties_stream_kt__a5c4ow();
- return escapeMap;
- }
-
- var escapeMap;
-
- function get_letterRangeLowerCase() {
- _init_properties_stream_kt__a5c4ow();
- return letterRangeLowerCase;
- }
-
- var letterRangeLowerCase;
-
- function get_letterRangeUpperCase() {
- _init_properties_stream_kt__a5c4ow();
- return letterRangeUpperCase;
- }
-
- var letterRangeUpperCase;
-
- function get_digitRange() {
- _init_properties_stream_kt__a5c4ow();
- return digitRange;
- }
-
- var digitRange;
- var properties_initialized_stream_kt_27o15u;
-
- function _init_properties_stream_kt__a5c4ow() {
- if (!properties_initialized_stream_kt_27o15u) {
- properties_initialized_stream_kt_27o15u = true;
- AVERAGE_PAGE_SIZE = 32768;
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlinx.html.stream.escapeMap.' call
- var mappings = mapOf([to(new Char(_Char___init__impl__6a9atx(60)), '<'), to(new Char(_Char___init__impl__6a9atx(62)), '>'), to(new Char(_Char___init__impl__6a9atx(38)), '&'), to(new Char(_Char___init__impl__6a9atx(34)), '"')]);
- // Inline function 'kotlin.collections.map' call
- var this_0 = mappings.get_keys_wop4xp_k$();
- // Inline function 'kotlin.collections.mapTo' call
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
- var tmp0_iterator = this_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var item = tmp0_iterator.next_20eer_k$().value_1;
- // Inline function 'kotlinx.html.stream.escapeMap..' call
- var tmp$ret$0 = Char__toInt_impl_vasixd(item);
- destination.add_utx5q5_k$(tmp$ret$0);
- }
- var tmp0_elvis_lhs = maxOrNull(destination);
- var maxCode = tmp0_elvis_lhs == null ? -1 : tmp0_elvis_lhs;
- var tmp = 0;
- var tmp_0 = maxCode + 1 | 0;
- // Inline function 'kotlin.arrayOfNulls' call
- var tmp_1 = fillArrayVal(Array(tmp_0), null);
- while (tmp < tmp_0) {
- var tmp_2 = tmp;
- tmp_1[tmp_2] = mappings.get_wei43m_k$(new Char(numberToChar(tmp_2)));
- tmp = tmp + 1 | 0;
- }
- escapeMap = tmp_1;
- letterRangeLowerCase = Char__rangeTo_impl_tkncvp(_Char___init__impl__6a9atx(97), _Char___init__impl__6a9atx(122));
- letterRangeUpperCase = Char__rangeTo_impl_tkncvp(_Char___init__impl__6a9atx(65), _Char___init__impl__6a9atx(90));
- digitRange = Char__rangeTo_impl_tkncvp(_Char___init__impl__6a9atx(48), _Char___init__impl__6a9atx(57));
- }
- }
-
- //region block: post-declaration
- protoOf(StringEncoder).empty_x7etxf_k$ = empty;
- protoOf(BooleanEncoder).empty_x7etxf_k$ = empty;
- protoOf(TickerEncoder).empty_x7etxf_k$ = empty;
- protoOf(EnumEncoder).empty_x7etxf_k$ = empty;
- //endregion
- return _;
-}));
-
-//# sourceMappingURL=kotlin_org_jetbrains_kotlinx_kotlinx_html.js.map
diff --git a/js/kotlinx-crypto-kotlinx-crypto-crc32.js b/js/kotlinx-crypto-kotlinx-crypto-crc32.js
deleted file mode 100644
index d28ef54..0000000
--- a/js/kotlinx-crypto-kotlinx-crypto-crc32.js
+++ /dev/null
@@ -1,304 +0,0 @@
-(function (root, factory) {
- if (typeof define === 'function' && define.amd)
- define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-io-kotlinx-io-core.js', './kotlinx-crypto-kotlinx-crypto-digest.js'], factory);
- else if (typeof exports === 'object')
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./kotlinx-crypto-kotlinx-crypto-digest.js'));
- else {
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
- throw new Error("Error loading module 'kotlinx-crypto-kotlinx-crypto-crc32'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlinx-crypto-kotlinx-crypto-crc32'.");
- }
- if (typeof this['kotlinx-io-kotlinx-io-core'] === 'undefined') {
- throw new Error("Error loading module 'kotlinx-crypto-kotlinx-crypto-crc32'. Its dependency 'kotlinx-io-kotlinx-io-core' was not found. Please, check whether 'kotlinx-io-kotlinx-io-core' is loaded prior to 'kotlinx-crypto-kotlinx-crypto-crc32'.");
- }
- if (typeof this['kotlinx-crypto-kotlinx-crypto-digest'] === 'undefined') {
- throw new Error("Error loading module 'kotlinx-crypto-kotlinx-crypto-crc32'. Its dependency 'kotlinx-crypto-kotlinx-crypto-digest' was not found. Please, check whether 'kotlinx-crypto-kotlinx-crypto-digest' is loaded prior to 'kotlinx-crypto-kotlinx-crypto-crc32'.");
- }
- root['kotlinx-crypto-kotlinx-crypto-crc32'] = factory(typeof this['kotlinx-crypto-kotlinx-crypto-crc32'] === 'undefined' ? {} : this['kotlinx-crypto-kotlinx-crypto-crc32'], this['kotlin-kotlin-stdlib'], this['kotlinx-io-kotlinx-io-core'], this['kotlinx-crypto-kotlinx-crypto-digest']);
- }
-}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_io_github_andreypfau_kotlinx_crypto_digest) {
- 'use strict';
- //region block: imports
- var Unit_getInstance = kotlin_kotlin.$_$.q1;
- var protoOf = kotlin_kotlin.$_$.b4;
- var objectCreate = kotlin_kotlin.$_$.z3;
- var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.g1;
- var toByte = kotlin_kotlin.$_$.d4;
- var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.d1;
- var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.e1;
- var UIntArray__get_impl_gp5kza = kotlin_kotlin.$_$.i1;
- var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.f1;
- var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
- var Long = kotlin_kotlin.$_$.d5;
- var write$default = kotlin_io_github_andreypfau_kotlinx_crypto_digest.$_$.b;
- var digest$default = kotlin_io_github_andreypfau_kotlinx_crypto_digest.$_$.a;
- var toLong = kotlin_kotlin.$_$.e4;
- var get_digestSize = kotlin_io_github_andreypfau_kotlinx_crypto_digest.$_$.g;
- var writeByte = kotlin_io_github_andreypfau_kotlinx_crypto_digest.$_$.f;
- var digest = kotlin_io_github_andreypfau_kotlinx_crypto_digest.$_$.d;
- var flush = kotlin_io_github_andreypfau_kotlinx_crypto_digest.$_$.e;
- var close = kotlin_io_github_andreypfau_kotlinx_crypto_digest.$_$.c;
- var IntDigest = kotlin_io_github_andreypfau_kotlinx_crypto_digest.$_$.h;
- var classMeta = kotlin_kotlin.$_$.o3;
- var setMetadataFor = kotlin_kotlin.$_$.c4;
- var VOID = kotlin_kotlin.$_$.a;
- var _UIntArray___init__impl__ghjpc6 = kotlin_kotlin.$_$.h1;
- var _UIntArray___get_storage__impl__92a0v0 = kotlin_kotlin.$_$.k1;
- var get_indices = kotlin_kotlin.$_$.i2;
- var UIntArray__set_impl_7f2zu2 = kotlin_kotlin.$_$.j1;
- var uintRemainder = kotlin_kotlin.$_$.t5;
- var UIntArray = kotlin_kotlin.$_$.i5;
- var KProperty0 = kotlin_kotlin.$_$.j4;
- var getPropertyCallableRef = kotlin_kotlin.$_$.s3;
- var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.c;
- var lazy = kotlin_kotlin.$_$.l5;
- //endregion
- //region block: pre-declaration
- setMetadataFor(CRC32Pure, 'CRC32Pure', classMeta, VOID, [IntDigest], CRC32Pure_init_$Create$);
-
- //endregion
- function crc32(bytes) {
- var crc32 = CRC32Pure_init_$Create$();
- // Inline function 'io.github.andreypfau.kotlinx.crypto.digest.plusAssign' call
- crc32.write$default_x02oae_k$(bytes);
- return crc32.intDigest_7g5z71_k$();
- }
-
- function _get_table__b2dcfx($this) {
- return $this.table_1;
- }
-
- function CRC32Pure_init_$Init$($this) {
- CRC32Pure.call($this, get_IEEE_TABLE());
- return $this;
- }
-
- function CRC32Pure_init_$Create$() {
- return CRC32Pure_init_$Init$(objectCreate(protoOf(CRC32Pure)));
- }
-
- function _set_crc32__d6bgxe($this, _set____db54di) {
- $this.crc32__1 = _set____db54di;
- }
-
- function _get_crc32__iuszk2($this) {
- return $this.crc32__1;
- }
-
- function update($this, value) {
- // Inline function 'kotlin.toUByte' call
- // Inline function 'kotlin.experimental.xor' call
- // Inline function 'kotlin.UInt.toByte' call
- var this_0 = $this.crc32__1;
- var other = toByte(_UInt___get_data__impl__f0vqqw(this_0));
- var this_1 = toByte(value ^ other);
- var index = _UByte___init__impl__g9hnc4(this_1);
- var tmp = $this;
- // Inline function 'kotlin.UInt.xor' call
- // Inline function 'kotlin.UByte.toInt' call
- var tmp$ret$3 = _UByte___get_data__impl__jof9qr(index) & 255;
- var this_2 = UIntArray__get_impl_gp5kza($this.table_1, tmp$ret$3);
- // Inline function 'kotlin.UInt.shr' call
- var this_3 = $this.crc32__1;
- var other_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_3) >>> 8 | 0);
- tmp.crc32__1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_2) ^ _UInt___get_data__impl__f0vqqw(other_0));
- }
-
- function CRC32Pure(table) {
- this.table_1 = table;
- this.crc32__1 = _UInt___init__impl__l7qpdl(-1);
- }
-
- protoOf(CRC32Pure).write_yvqjfp_k$ = function (source, byteCount) {
- var tempBuffer = new Buffer();
- source.copyTo_f80oje_k$(tempBuffer, new Long(0, 0), byteCount);
- while (!tempBuffer.exhausted_p1jt55_k$()) {
- // Inline function 'io.github.andreypfau.kotlinx.crypto.crc32.CRC32Pure.update' call
- // Inline function 'kotlin.toUByte' call
- // Inline function 'kotlin.experimental.xor' call
- var this_0 = tempBuffer.readByte_ectjk2_k$();
- // Inline function 'kotlin.UInt.toByte' call
- var this_1 = this.crc32__1;
- var other = toByte(_UInt___get_data__impl__f0vqqw(this_1));
- var this_2 = toByte(this_0 ^ other);
- var index = _UByte___init__impl__g9hnc4(this_2);
- var tmp = this;
- // Inline function 'kotlin.UInt.xor' call
- // Inline function 'kotlin.UByte.toInt' call
- var tmp$ret$3 = _UByte___get_data__impl__jof9qr(index) & 255;
- var this_3 = UIntArray__get_impl_gp5kza(this.table_1, tmp$ret$3);
- // Inline function 'kotlin.UInt.shr' call
- var this_4 = this.crc32__1;
- var other_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_4) >>> 8 | 0);
- tmp.crc32__1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_3) ^ _UInt___get_data__impl__f0vqqw(other_0));
- }
- };
- protoOf(CRC32Pure).write_ti570x_k$ = function (source, startIndex, endIndex) {
- var inductionVariable = startIndex;
- if (inductionVariable < endIndex)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'io.github.andreypfau.kotlinx.crypto.crc32.CRC32Pure.update' call
- // Inline function 'kotlin.toUByte' call
- // Inline function 'kotlin.experimental.xor' call
- var this_0 = source[i];
- // Inline function 'kotlin.UInt.toByte' call
- var this_1 = this.crc32__1;
- var other = toByte(_UInt___get_data__impl__f0vqqw(this_1));
- var this_2 = toByte(this_0 ^ other);
- var index = _UByte___init__impl__g9hnc4(this_2);
- var tmp = this;
- // Inline function 'kotlin.UInt.xor' call
- // Inline function 'kotlin.UByte.toInt' call
- var tmp$ret$3 = _UByte___get_data__impl__jof9qr(index) & 255;
- var this_3 = UIntArray__get_impl_gp5kza(this.table_1, tmp$ret$3);
- // Inline function 'kotlin.UInt.shr' call
- var this_4 = this.crc32__1;
- var other_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_4) >>> 8 | 0);
- tmp.crc32__1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_3) ^ _UInt___get_data__impl__f0vqqw(other_0));
- }
- while (inductionVariable < endIndex);
- };
- protoOf(CRC32Pure).digest_56095w_k$ = function (destination, destinationOffset) {
- var intDigest = this.intDigest_7g5z71_k$();
- destination[destinationOffset] = toByte(intDigest >> 24 & 255);
- destination[destinationOffset + 1 | 0] = toByte(intDigest >> 16 & 255);
- destination[destinationOffset + 2 | 0] = toByte(intDigest >> 8 & 255);
- destination[destinationOffset + 3 | 0] = toByte(intDigest & 255);
- };
- protoOf(CRC32Pure).digest_zf5404_k$ = function (sink) {
- var intDigest = this.intDigest_7g5z71_k$();
- if (sink instanceof Buffer) {
- sink.writeInt_i8xgjs_k$(intDigest);
- } else {
- var buffer = new Buffer();
- buffer.writeInt_i8xgjs_k$(intDigest);
- sink.write_yvqjfp_k$(buffer, toLong(this.get_digestSize_t7emi6_k$()));
- }
- };
- protoOf(CRC32Pure).reset_5u6xz3_k$ = function () {
- this.crc32__1 = _UInt___init__impl__l7qpdl(-1);
- };
- protoOf(CRC32Pure).intDigest_7g5z71_k$ = function () {
- // Inline function 'kotlin.UInt.toInt' call
- // Inline function 'kotlin.UInt.xor' call
- var this_0 = this.crc32__1;
- var other = _UInt___init__impl__l7qpdl(-1);
- var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) ^ _UInt___get_data__impl__f0vqqw(other));
- return _UInt___get_data__impl__f0vqqw(this_1);
- };
-
- function get_IEEE_TABLE() {
- _init_properties_constants_kt__o0zklf();
- // Inline function 'kotlin.getValue' call
- var this_0 = IEEE_TABLE$delegate;
- IEEE_TABLE$factory();
- return this_0.get_value_j01efc_k$().storage_1;
- }
-
- var IEEE_TABLE$delegate;
-
- function get_CASTAGNOLI_TABLE() {
- _init_properties_constants_kt__o0zklf();
- // Inline function 'kotlin.getValue' call
- var this_0 = CASTAGNOLI_TABLE$delegate;
- CASTAGNOLI_TABLE$factory();
- return this_0.get_value_j01efc_k$().storage_1;
- }
-
- var CASTAGNOLI_TABLE$delegate;
-
- function generateCrc32Table(poly) {
- _init_properties_constants_kt__o0zklf();
- var table = _UIntArray___init__impl__ghjpc6(256);
- // Inline function 'kotlin.collections.indices' call
- var progression = get_indices(_UIntArray___get_storage__impl__92a0v0(table));
- var inductionVariable = progression.get_first_irdx8n_k$();
- var last = progression.get_last_wopotb_k$();
- if (inductionVariable <= last)
- do {
- var idx = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.toUInt' call
- var this_0 = idx;
- var tmp$ret$1 = _UInt___init__impl__l7qpdl(this_0);
- UIntArray__set_impl_7f2zu2(table, idx, tmp$ret$1);
- var inductionVariable_0 = 8;
- if (1 <= inductionVariable_0)
- do {
- var bit = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + -1 | 0;
- var tmp;
- // Inline function 'kotlin.UInt.rem' call
- var this_1 = UIntArray__get_impl_gp5kza(table, idx);
- var other = _UInt___init__impl__l7qpdl(2);
- if (uintRemainder(this_1, other) === _UInt___init__impl__l7qpdl(0)) {
- // Inline function 'kotlin.UInt.shr' call
- var this_2 = UIntArray__get_impl_gp5kza(table, idx);
- tmp = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_2) >>> 1 | 0);
- } else {
- // Inline function 'kotlin.UInt.xor' call
- // Inline function 'kotlin.UInt.shr' call
- var this_3 = UIntArray__get_impl_gp5kza(table, idx);
- var this_4 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_3) >>> 1 | 0);
- tmp = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_4) ^ _UInt___get_data__impl__f0vqqw(poly));
- }
- UIntArray__set_impl_7f2zu2(table, idx, tmp);
- }
- while (1 <= inductionVariable_0);
- }
- while (!(idx === last));
- return table;
- }
-
- function IEEE_TABLE$delegate$lambda() {
- _init_properties_constants_kt__o0zklf();
- return new UIntArray(generateCrc32Table(_UInt___init__impl__l7qpdl(-306674912)));
- }
-
- function CASTAGNOLI_TABLE$delegate$lambda() {
- _init_properties_constants_kt__o0zklf();
- return new UIntArray(generateCrc32Table(_UInt___init__impl__l7qpdl(-2097792136)));
- }
-
- function IEEE_TABLE$factory() {
- return getPropertyCallableRef('IEEE_TABLE', 0, KProperty0, function () {
- return new UIntArray(get_IEEE_TABLE());
- }, null);
- }
-
- function CASTAGNOLI_TABLE$factory() {
- return getPropertyCallableRef('CASTAGNOLI_TABLE', 0, KProperty0, function () {
- return new UIntArray(get_CASTAGNOLI_TABLE());
- }, null);
- }
-
- var properties_initialized_constants_kt_tf27pd;
-
- function _init_properties_constants_kt__o0zklf() {
- if (!properties_initialized_constants_kt_tf27pd) {
- properties_initialized_constants_kt_tf27pd = true;
- var tmp = LazyThreadSafetyMode_PUBLICATION_getInstance();
- IEEE_TABLE$delegate = lazy(tmp, IEEE_TABLE$delegate$lambda);
- var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
- CASTAGNOLI_TABLE$delegate = lazy(tmp_0, CASTAGNOLI_TABLE$delegate$lambda);
- }
- }
-
- //region block: post-declaration
- protoOf(CRC32Pure).write$default_x02oae_k$ = write$default;
- protoOf(CRC32Pure).digest$default_mw4tcc_k$ = digest$default;
- protoOf(CRC32Pure).get_digestSize_t7emi6_k$ = get_digestSize;
- protoOf(CRC32Pure).writeByte_9ih3z3_k$ = writeByte;
- protoOf(CRC32Pure).digest_m0ziv0_k$ = digest;
- protoOf(CRC32Pure).flush_shahbo_k$ = flush;
- protoOf(CRC32Pure).close_yn9xrc_k$ = close;
- //endregion
- //region block: exports
- _.$_$ = _.$_$ || {};
- _.$_$.a = crc32;
- //endregion
- return _;
-}));
-
-//# sourceMappingURL=kotlinx-crypto-kotlinx-crypto-crc32.js.map
diff --git a/js/kotlinx-crypto-kotlinx-crypto-digest.js b/js/kotlinx-crypto-kotlinx-crypto-digest.js
deleted file mode 100644
index d090acf..0000000
--- a/js/kotlinx-crypto-kotlinx-crypto-digest.js
+++ /dev/null
@@ -1,107 +0,0 @@
-(function (root, factory) {
- if (typeof define === 'function' && define.amd)
- define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-io-kotlinx-io-core.js'], factory);
- else if (typeof exports === 'object')
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-io-kotlinx-io-core.js'));
- else {
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
- throw new Error("Error loading module 'kotlinx-crypto-kotlinx-crypto-digest'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlinx-crypto-kotlinx-crypto-digest'.");
- }
- if (typeof this['kotlinx-io-kotlinx-io-core'] === 'undefined') {
- throw new Error("Error loading module 'kotlinx-crypto-kotlinx-crypto-digest'. Its dependency 'kotlinx-io-kotlinx-io-core' was not found. Please, check whether 'kotlinx-io-kotlinx-io-core' is loaded prior to 'kotlinx-crypto-kotlinx-crypto-digest'.");
- }
- root['kotlinx-crypto-kotlinx-crypto-digest'] = factory(typeof this['kotlinx-crypto-kotlinx-crypto-digest'] === 'undefined' ? {} : this['kotlinx-crypto-kotlinx-crypto-digest'], this['kotlin-kotlin-stdlib'], this['kotlinx-io-kotlinx-io-core']);
- }
-}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_io_core) {
- 'use strict';
- //region block: imports
- var protoOf = kotlin_kotlin.$_$.b4;
- var VOID = kotlin_kotlin.$_$.a;
- var Unit_getInstance = kotlin_kotlin.$_$.q1;
- var RawSink = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
- var interfaceMeta = kotlin_kotlin.$_$.v3;
- var setMetadataFor = kotlin_kotlin.$_$.c4;
- var IntCompanionObject_getInstance = kotlin_kotlin.$_$.o1;
- //endregion
- //region block: pre-declaration
- function writeByte(byte) {
- // Inline function 'kotlin.byteArrayOf' call
- var tmp$ret$0 = new Int8Array([byte]);
- this.write$default_x02oae_k$(tmp$ret$0);
- }
-
- function write$default(source, startIndex, endIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? source.length : endIndex;
- var tmp;
- if ($super === VOID) {
- this.write_ti570x_k$(source, startIndex, endIndex);
- tmp = Unit_getInstance();
- } else {
- tmp = $super.write_ti570x_k$.call(this, source, startIndex, endIndex);
- }
- return tmp;
- }
-
- function digest() {
- // Inline function 'kotlin.apply' call
- var this_0 = new Int8Array(this.get_digestSize_t7emi6_k$());
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'io.github.andreypfau.kotlinx.crypto.digest.Digest.digest.' call
- this.digest$default_mw4tcc_k$(this_0);
- return this_0;
- }
-
- function digest$default(destination, destinationOffset, $super) {
- destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
- var tmp;
- if ($super === VOID) {
- this.digest_56095w_k$(destination, destinationOffset);
- tmp = Unit_getInstance();
- } else {
- tmp = $super.digest_56095w_k$.call(this, destination, destinationOffset);
- }
- return tmp;
- }
-
- function flush() {
- }
-
- function close() {
- this.reset_5u6xz3_k$();
- }
-
- setMetadataFor(Digest, 'Digest', interfaceMeta, VOID, [RawSink]);
-
- function get_digestSize() {
- return IntCompanionObject_getInstance().get_SIZE_BYTES_qphg4q_k$();
- }
-
- setMetadataFor(IntDigest, 'IntDigest', interfaceMeta, VOID, [Digest]);
-
- //endregion
- function plusAssign(_this__u8e3s4, byteArray) {
- return _this__u8e3s4.write$default_x02oae_k$(byteArray);
- }
-
- function Digest() {
- }
-
- function IntDigest() {
- }
-
- //region block: exports
- _.$_$ = _.$_$ || {};
- _.$_$.a = digest$default;
- _.$_$.b = write$default;
- _.$_$.c = close;
- _.$_$.d = digest;
- _.$_$.e = flush;
- _.$_$.f = writeByte;
- _.$_$.g = get_digestSize;
- _.$_$.h = IntDigest;
- //endregion
- return _;
-}));
-
-//# sourceMappingURL=kotlinx-crypto-kotlinx-crypto-digest.js.map
diff --git a/js/kotlinx-io-kotlinx-io-bytestring.js b/js/kotlinx-io-kotlinx-io-bytestring.js
deleted file mode 100644
index b2dad1d..0000000
--- a/js/kotlinx-io-kotlinx-io-bytestring.js
+++ /dev/null
@@ -1,15 +0,0 @@
-(function (root, factory) {
- if (typeof define === 'function' && define.amd)
- define(['exports'], factory);
- else if (typeof exports === 'object')
- factory(module.exports);
- else
- root['kotlinx-io-kotlinx-io-bytestring'] = factory(typeof this['kotlinx-io-kotlinx-io-bytestring'] === 'undefined' ? {} : this['kotlinx-io-kotlinx-io-bytestring']);
-}(this, function (_) {
- 'use strict';
- //region block: pre-declaration
- //endregion
- return _;
-}));
-
-//# sourceMappingURL=kotlinx-io-kotlinx-io-bytestring.js.map
diff --git a/js/kotlinx-io-kotlinx-io-core.js b/js/kotlinx-io-kotlinx-io-core.js
deleted file mode 100644
index fd48d46..0000000
--- a/js/kotlinx-io-kotlinx-io-core.js
+++ /dev/null
@@ -1,2309 +0,0 @@
-(function (root, factory) {
- if (typeof define === 'function' && define.amd)
- define(['exports', './kotlin-kotlin-stdlib.js'], factory);
- else if (typeof exports === 'object')
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
- else {
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
- throw new Error("Error loading module 'kotlinx-io-kotlinx-io-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlinx-io-kotlinx-io-core'.");
- }
- root['kotlinx-io-kotlinx-io-core'] = factory(typeof this['kotlinx-io-kotlinx-io-core'] === 'undefined' ? {} : this['kotlinx-io-kotlinx-io-core'], this['kotlin-kotlin-stdlib']);
- }
-}(this, function (_, kotlin_kotlin) {
- 'use strict';
- //region block: imports
- var imul = Math.imul;
- var toLong = kotlin_kotlin.$_$.e4;
- var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.t;
- var Long = kotlin_kotlin.$_$.d5;
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.r;
- var toString = kotlin_kotlin.$_$.g4;
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.u;
- var charArrayOf = kotlin_kotlin.$_$.l3;
- var protoOf = kotlin_kotlin.$_$.b4;
- var THROW_CCE = kotlin_kotlin.$_$.g5;
- var Annotation = kotlin_kotlin.$_$.x4;
- var classMeta = kotlin_kotlin.$_$.o3;
- var setMetadataFor = kotlin_kotlin.$_$.c4;
- var VOID = kotlin_kotlin.$_$.a;
- var ensureNotNull = kotlin_kotlin.$_$.k5;
- var toShort = kotlin_kotlin.$_$.f4;
- var Unit_getInstance = kotlin_kotlin.$_$.q1;
- var numberToLong = kotlin_kotlin.$_$.y3;
- var arrayCopy = kotlin_kotlin.$_$.v1;
- var toByte = kotlin_kotlin.$_$.d4;
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.l;
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s;
- var AutoCloseable = kotlin_kotlin.$_$.y4;
- var interfaceMeta = kotlin_kotlin.$_$.v3;
- var objectCreate = kotlin_kotlin.$_$.z3;
- var objectMeta = kotlin_kotlin.$_$.a4;
- var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.q;
- var charSequenceLength = kotlin_kotlin.$_$.n3;
- var charSequenceGet = kotlin_kotlin.$_$.m3;
- var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.v;
- var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.y;
- var copyOf = kotlin_kotlin.$_$.a2;
- var captureStack = kotlin_kotlin.$_$.k3;
- var Exception = kotlin_kotlin.$_$.c5;
- var Exception_init_$Init$ = kotlin_kotlin.$_$.p;
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
- var asReversed = kotlin_kotlin.$_$.w1;
- var equals = kotlin_kotlin.$_$.p3;
- var contains = kotlin_kotlin.$_$.n4;
- var isBlank = kotlin_kotlin.$_$.p4;
- var getStringHashCode = kotlin_kotlin.$_$.t3;
- var Char = kotlin_kotlin.$_$.z4;
- var KProperty0 = kotlin_kotlin.$_$.j4;
- var getPropertyCallableRef = kotlin_kotlin.$_$.s3;
- var lazy = kotlin_kotlin.$_$.m5;
- //endregion
- //region block: pre-declaration
- setMetadataFor(InternalIoApi, 'InternalIoApi', classMeta, VOID, [Annotation]);
- setMetadataFor(RawSource, 'RawSource', interfaceMeta, VOID, [AutoCloseable]);
-
- function readAtMostTo$default(sink, startIndex, endIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? sink.length : endIndex;
- return $super === VOID ? this.readAtMostTo_kub29z_k$(sink, startIndex, endIndex) : $super.readAtMostTo_kub29z_k$.call(this, sink, startIndex, endIndex);
- }
-
- setMetadataFor(Source, 'Source', interfaceMeta, VOID, [RawSource]);
- setMetadataFor(RawSink, 'RawSink', interfaceMeta, VOID, [AutoCloseable]);
-
- function write$default(source, startIndex, endIndex, $super) {
- startIndex = startIndex === VOID ? 0 : startIndex;
- endIndex = endIndex === VOID ? source.length : endIndex;
- var tmp;
- if ($super === VOID) {
- this.write_ti570x_k$(source, startIndex, endIndex);
- tmp = Unit_getInstance();
- } else {
- tmp = $super.write_ti570x_k$.call(this, source, startIndex, endIndex);
- }
- return tmp;
- }
-
- setMetadataFor(Sink, 'Sink', interfaceMeta, VOID, [RawSink]);
- setMetadataFor(Buffer, 'Buffer', classMeta, VOID, [Source, Sink], Buffer);
- setMetadataFor(PeekSource, 'PeekSource', classMeta, VOID, [RawSource]);
- setMetadataFor(RealSource, 'RealSource', classMeta, VOID, [Source]);
- setMetadataFor(Companion, 'Companion', objectMeta);
- setMetadataFor(Segment, 'Segment', classMeta, VOID, VOID, Segment_init_$Create$);
-
- function delete$default(path, mustExist, $super) {
- mustExist = mustExist === VOID ? true : mustExist;
- var tmp;
- if ($super === VOID) {
- this.delete_wo7h84_k$(path, mustExist);
- tmp = Unit_getInstance();
- } else {
- tmp = $super.delete_wo7h84_k$.call(this, path, mustExist);
- }
- return tmp;
- }
-
- function createDirectories$default(path, mustCreate, $super) {
- mustCreate = mustCreate === VOID ? false : mustCreate;
- var tmp;
- if ($super === VOID) {
- this.createDirectories_7nzr80_k$(path, mustCreate);
- tmp = Unit_getInstance();
- } else {
- tmp = $super.createDirectories_7nzr80_k$.call(this, path, mustCreate);
- }
- return tmp;
- }
-
- function sink$default(path, append, $super) {
- append = append === VOID ? false : append;
- return $super === VOID ? this.sink_ed8sos_k$(path, append) : $super.sink_ed8sos_k$.call(this, path, append);
- }
-
- setMetadataFor(FileSystem, 'FileSystem', interfaceMeta);
- setMetadataFor(SystemFileSystemImpl, 'SystemFileSystemImpl', classMeta, VOID, [FileSystem]);
- setMetadataFor(FileMetadata, 'FileMetadata', classMeta, VOID, VOID, FileMetadata);
- setMetadataFor(IOException, 'IOException', classMeta, Exception, VOID, IOException_init_$Create$);
- setMetadataFor(EOFException, 'EOFException', classMeta, IOException, VOID, EOFException);
- setMetadataFor(SegmentPool, 'SegmentPool', objectMeta);
- setMetadataFor(FileNotFoundException, 'FileNotFoundException', classMeta, IOException);
- setMetadataFor(SystemFileSystem$1, VOID, classMeta, SystemFileSystemImpl);
- setMetadataFor(Path, 'Path', classMeta);
- setMetadataFor(FileSource, 'FileSource', classMeta, VOID, [RawSource]);
- setMetadataFor(FileSink, 'FileSink', classMeta, VOID, [RawSink]);
-
- //endregion
- function get_HEX_DIGIT_CHARS() {
- _init_properties__Util_kt__g8tcl9();
- return HEX_DIGIT_CHARS;
- }
-
- var HEX_DIGIT_CHARS;
-
- function minOf(a, b) {
- _init_properties__Util_kt__g8tcl9();
- // Inline function 'kotlin.comparisons.minOf' call
- var b_0 = toLong(b);
- return a.compareTo_9jj042_k$(b_0) <= 0 ? a : b_0;
- }
-
- function and(_this__u8e3s4, other) {
- _init_properties__Util_kt__g8tcl9();
- return _this__u8e3s4 & other;
- }
-
- function and_0(_this__u8e3s4, other) {
- _init_properties__Util_kt__g8tcl9();
- return toLong(_this__u8e3s4).and_4spn93_k$(other);
- }
-
- function and_1(_this__u8e3s4, other) {
- _init_properties__Util_kt__g8tcl9();
- return toLong(_this__u8e3s4).and_4spn93_k$(other);
- }
-
- function checkBounds(size, startIndex, endIndex) {
- _init_properties__Util_kt__g8tcl9();
- if (startIndex.compareTo_9jj042_k$(new Long(0, 0)) < 0 ? true : endIndex.compareTo_9jj042_k$(size) > 0) {
- throw IndexOutOfBoundsException_init_$Create$('startIndex (' + startIndex.toString() + ') and endIndex (' + endIndex.toString() + ') are not within the range [0..size(' + size.toString() + '))');
- }
- if (startIndex.compareTo_9jj042_k$(endIndex) > 0) {
- throw IllegalArgumentException_init_$Create$('startIndex (' + startIndex.toString() + ') > endIndex (' + endIndex.toString() + ')');
- }
- }
-
- function checkByteCount(byteCount) {
- _init_properties__Util_kt__g8tcl9();
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.checkByteCount.' call
- var message = 'byteCount (' + byteCount.toString() + ') < 0';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- }
-
- function checkBounds_0(size, startIndex, endIndex) {
- _init_properties__Util_kt__g8tcl9();
- return checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
- }
-
- function checkOffsetAndCount(size, offset, byteCount) {
- _init_properties__Util_kt__g8tcl9();
- if (((offset.compareTo_9jj042_k$(new Long(0, 0)) < 0 ? true : offset.compareTo_9jj042_k$(size) > 0) ? true : size.minus_mfbszm_k$(offset).compareTo_9jj042_k$(byteCount) < 0) ? true : byteCount.compareTo_9jj042_k$(new Long(0, 0)) < 0) {
- throw IllegalArgumentException_init_$Create$('offset (' + offset.toString() + ') and byteCount (' + byteCount.toString() + ') are not within the range [0..size(' + size.toString() + '))');
- }
- }
-
- function minOf_0(a, b) {
- _init_properties__Util_kt__g8tcl9();
- // Inline function 'kotlin.comparisons.minOf' call
- var a_0 = toLong(a);
- return a_0.compareTo_9jj042_k$(b) <= 0 ? a_0 : b;
- }
-
- var properties_initialized__Util_kt_67kc5b;
-
- function _init_properties__Util_kt__g8tcl9() {
- if (!properties_initialized__Util_kt_67kc5b) {
- properties_initialized__Util_kt_67kc5b = true;
- // Inline function 'kotlin.charArrayOf' call
- HEX_DIGIT_CHARS = charArrayOf([_Char___init__impl__6a9atx(48), _Char___init__impl__6a9atx(49), _Char___init__impl__6a9atx(50), _Char___init__impl__6a9atx(51), _Char___init__impl__6a9atx(52), _Char___init__impl__6a9atx(53), _Char___init__impl__6a9atx(54), _Char___init__impl__6a9atx(55), _Char___init__impl__6a9atx(56), _Char___init__impl__6a9atx(57), _Char___init__impl__6a9atx(97), _Char___init__impl__6a9atx(98), _Char___init__impl__6a9atx(99), _Char___init__impl__6a9atx(100), _Char___init__impl__6a9atx(101), _Char___init__impl__6a9atx(102)]);
- }
- }
-
- function InternalIoApi() {
- }
-
- protoOf(InternalIoApi).equals = function (other) {
- if (!(other instanceof InternalIoApi))
- return false;
- other instanceof InternalIoApi || THROW_CCE();
- return true;
- };
- protoOf(InternalIoApi).hashCode = function () {
- return 0;
- };
- protoOf(InternalIoApi).toString = function () {
- return '@kotlinx.io.InternalIoApi()';
- };
-
- function Buffer() {
- this.head_1 = null;
- this.size_1 = new Long(0, 0);
- this.buffer_1 = this;
- }
-
- protoOf(Buffer).set_head_6iwqe0_k$ = function (_set____db54di) {
- this.head_1 = _set____db54di;
- };
- protoOf(Buffer).get_head_won7e1_k$ = function () {
- return this.head_1;
- };
- protoOf(Buffer).set_size_9bzqhs_k$ = function (_set____db54di) {
- this.size_1 = _set____db54di;
- };
- protoOf(Buffer).get_size_woubt6_k$ = function () {
- return this.size_1;
- };
- protoOf(Buffer).get_buffer_bmaafd_k$ = function () {
- return this.buffer_1;
- };
- protoOf(Buffer).exhausted_p1jt55_k$ = function () {
- return this.size_1.equals(new Long(0, 0));
- };
- protoOf(Buffer).require_28r0pl_k$ = function (byteCount) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.Buffer.require.' call
- var message = 'byteCount: ' + byteCount.toString();
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- if (this.size_1.compareTo_9jj042_k$(byteCount) < 0) {
- throw new EOFException("Buffer doesn't contain required number of bytes (size: " + this.size_1.toString() + ', required: ' + byteCount.toString() + ')');
- }
- };
- protoOf(Buffer).request_mpoy7z_k$ = function (byteCount) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.Buffer.request.' call
- var message = 'byteCount: ' + byteCount.toString() + ' < 0';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- return this.size_1.compareTo_9jj042_k$(byteCount) >= 0;
- };
- protoOf(Buffer).readByte_ectjk2_k$ = function () {
- this.require_28r0pl_k$(new Long(1, 0));
- var segment = ensureNotNull(this.head_1);
- var pos = segment.get_pos_18iyad_k$();
- var limit = segment.get_limit_iuokuq_k$();
- var data = segment.get_data_wokkxf_k$();
- var tmp0 = pos;
- pos = tmp0 + 1 | 0;
- var b = data[tmp0];
- this.size_1 = this.size_1.minus_mfbszm_k$(new Long(1, 0));
- if (pos === limit) {
- this.head_1 = segment.pop_2dsh_k$();
- SegmentPool_getInstance().recycle_3mobff_k$(segment);
- } else {
- segment.set_pos_tfwdvz_k$(pos);
- }
- return b;
- };
- protoOf(Buffer).readShort_ilpyey_k$ = function () {
- this.require_28r0pl_k$(new Long(2, 0));
- var segment = ensureNotNull(this.head_1);
- var pos = segment.get_pos_18iyad_k$();
- var limit = segment.get_limit_iuokuq_k$();
- if ((limit - pos | 0) < 2) {
- // Inline function 'kotlinx.io.and' call
- var tmp = (this.readByte_ectjk2_k$() & 255) << 8;
- // Inline function 'kotlinx.io.and' call
- var s = tmp | this.readByte_ectjk2_k$() & 255;
- return toShort(s);
- }
- var data = segment.get_data_wokkxf_k$();
- // Inline function 'kotlinx.io.and' call
- var tmp1 = pos;
- pos = tmp1 + 1 | 0;
- var tmp_0 = (data[tmp1] & 255) << 8;
- // Inline function 'kotlinx.io.and' call
- var tmp0 = pos;
- pos = tmp0 + 1 | 0;
- var s_0 = tmp_0 | data[tmp0] & 255;
- this.size_1 = this.size_1.minus_mfbszm_k$(new Long(2, 0));
- if (pos === limit) {
- this.head_1 = segment.pop_2dsh_k$();
- SegmentPool_getInstance().recycle_3mobff_k$(segment);
- } else {
- segment.set_pos_tfwdvz_k$(pos);
- }
- return toShort(s_0);
- };
- protoOf(Buffer).readInt_hv8cxl_k$ = function () {
- this.require_28r0pl_k$(new Long(4, 0));
- var segment = ensureNotNull(this.head_1);
- var pos = segment.get_pos_18iyad_k$();
- var limit = segment.get_limit_iuokuq_k$();
- if (toLong(limit - pos | 0).compareTo_9jj042_k$(new Long(4, 0)) < 0) {
- // Inline function 'kotlinx.io.and' call
- var tmp = (this.readByte_ectjk2_k$() & 255) << 24;
- // Inline function 'kotlinx.io.and' call
- var tmp_0 = tmp | (this.readByte_ectjk2_k$() & 255) << 16;
- // Inline function 'kotlinx.io.and' call
- var tmp_1 = tmp_0 | (this.readByte_ectjk2_k$() & 255) << 8;
- // Inline function 'kotlinx.io.and' call
- return tmp_1 | this.readByte_ectjk2_k$() & 255;
- }
- var data = segment.get_data_wokkxf_k$();
- // Inline function 'kotlinx.io.and' call
- var tmp3 = pos;
- pos = tmp3 + 1 | 0;
- var tmp_2 = (data[tmp3] & 255) << 24;
- // Inline function 'kotlinx.io.and' call
- var tmp2 = pos;
- pos = tmp2 + 1 | 0;
- var tmp_3 = tmp_2 | (data[tmp2] & 255) << 16;
- // Inline function 'kotlinx.io.and' call
- var tmp1 = pos;
- pos = tmp1 + 1 | 0;
- var tmp_4 = tmp_3 | (data[tmp1] & 255) << 8;
- // Inline function 'kotlinx.io.and' call
- var tmp0 = pos;
- pos = tmp0 + 1 | 0;
- var i = tmp_4 | data[tmp0] & 255;
- this.size_1 = this.size_1.minus_mfbszm_k$(new Long(4, 0));
- if (pos === limit) {
- this.head_1 = segment.pop_2dsh_k$();
- SegmentPool_getInstance().recycle_3mobff_k$(segment);
- } else {
- segment.set_pos_tfwdvz_k$(pos);
- }
- return i;
- };
- protoOf(Buffer).readLong_ecnd8u_k$ = function () {
- this.require_28r0pl_k$(new Long(8, 0));
- var segment = ensureNotNull(this.head_1);
- var pos = segment.get_pos_18iyad_k$();
- var limit = segment.get_limit_iuokuq_k$();
- if (toLong(limit - pos | 0).compareTo_9jj042_k$(new Long(8, 0)) < 0) {
- // Inline function 'kotlinx.io.and' call
- var this_0 = this.readInt_hv8cxl_k$();
- var other = new Long(-1, 0);
- var tmp = toLong(this_0).and_4spn93_k$(other).shl_bg8if3_k$(32);
- // Inline function 'kotlinx.io.and' call
- var this_1 = this.readInt_hv8cxl_k$();
- var other_0 = new Long(-1, 0);
- var tmp$ret$1 = toLong(this_1).and_4spn93_k$(other_0);
- return tmp.or_v7fvkl_k$(tmp$ret$1);
- }
- var data = segment.get_data_wokkxf_k$();
- // Inline function 'kotlinx.io.and' call
- var tmp7 = pos;
- pos = tmp7 + 1 | 0;
- var this_2 = data[tmp7];
- var other_1 = new Long(255, 0);
- var tmp_0 = toLong(this_2).and_4spn93_k$(other_1).shl_bg8if3_k$(56);
- // Inline function 'kotlinx.io.and' call
- var tmp6 = pos;
- pos = tmp6 + 1 | 0;
- var this_3 = data[tmp6];
- var other_2 = new Long(255, 0);
- var tmp$ret$3 = toLong(this_3).and_4spn93_k$(other_2);
- var tmp_1 = tmp_0.or_v7fvkl_k$(tmp$ret$3.shl_bg8if3_k$(48));
- // Inline function 'kotlinx.io.and' call
- var tmp5 = pos;
- pos = tmp5 + 1 | 0;
- var this_4 = data[tmp5];
- var other_3 = new Long(255, 0);
- var tmp$ret$4 = toLong(this_4).and_4spn93_k$(other_3);
- var tmp_2 = tmp_1.or_v7fvkl_k$(tmp$ret$4.shl_bg8if3_k$(40));
- // Inline function 'kotlinx.io.and' call
- var tmp4 = pos;
- pos = tmp4 + 1 | 0;
- var this_5 = data[tmp4];
- var other_4 = new Long(255, 0);
- var tmp$ret$5 = toLong(this_5).and_4spn93_k$(other_4);
- var tmp_3 = tmp_2.or_v7fvkl_k$(tmp$ret$5.shl_bg8if3_k$(32));
- // Inline function 'kotlinx.io.and' call
- var tmp3 = pos;
- pos = tmp3 + 1 | 0;
- var this_6 = data[tmp3];
- var other_5 = new Long(255, 0);
- var tmp$ret$6 = toLong(this_6).and_4spn93_k$(other_5);
- var tmp_4 = tmp_3.or_v7fvkl_k$(tmp$ret$6.shl_bg8if3_k$(24));
- // Inline function 'kotlinx.io.and' call
- var tmp2 = pos;
- pos = tmp2 + 1 | 0;
- var this_7 = data[tmp2];
- var other_6 = new Long(255, 0);
- var tmp$ret$7 = toLong(this_7).and_4spn93_k$(other_6);
- var tmp_5 = tmp_4.or_v7fvkl_k$(tmp$ret$7.shl_bg8if3_k$(16));
- // Inline function 'kotlinx.io.and' call
- var tmp1 = pos;
- pos = tmp1 + 1 | 0;
- var this_8 = data[tmp1];
- var other_7 = new Long(255, 0);
- var tmp$ret$8 = toLong(this_8).and_4spn93_k$(other_7);
- var tmp_6 = tmp_5.or_v7fvkl_k$(tmp$ret$8.shl_bg8if3_k$(8));
- // Inline function 'kotlinx.io.and' call
- var tmp0 = pos;
- pos = tmp0 + 1 | 0;
- var this_9 = data[tmp0];
- var other_8 = new Long(255, 0);
- var tmp$ret$9 = toLong(this_9).and_4spn93_k$(other_8);
- var v = tmp_6.or_v7fvkl_k$(tmp$ret$9);
- this.size_1 = this.size_1.minus_mfbszm_k$(new Long(8, 0));
- if (pos === limit) {
- this.head_1 = segment.pop_2dsh_k$();
- SegmentPool_getInstance().recycle_3mobff_k$(segment);
- } else {
- segment.set_pos_tfwdvz_k$(pos);
- }
- return v;
- };
- protoOf(Buffer).hintEmit_6b2e5m_k$ = function () {
- return Unit_getInstance();
- };
- protoOf(Buffer).emit_jn20hp_k$ = function () {
- return Unit_getInstance();
- };
- protoOf(Buffer).flush_shahbo_k$ = function () {
- return Unit_getInstance();
- };
- protoOf(Buffer).copyTo_f80oje_k$ = function (out, startIndex, endIndex) {
- checkBounds(this.size_1, startIndex, endIndex);
- if (startIndex.equals(endIndex))
- return Unit_getInstance();
- var currentOffset = startIndex;
- var remainingByteCount = endIndex.minus_mfbszm_k$(startIndex);
- out.size_1 = out.size_1.plus_r93sks_k$(remainingByteCount);
- var s = this.head_1;
- while (currentOffset.compareTo_9jj042_k$(toLong(ensureNotNull(s).get_limit_iuokuq_k$() - s.get_pos_18iyad_k$() | 0)) >= 0) {
- currentOffset = currentOffset.minus_mfbszm_k$(toLong(s.get_limit_iuokuq_k$() - s.get_pos_18iyad_k$() | 0));
- s = s.get_next_wor1vg_k$();
- }
- while (remainingByteCount.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- var copy = ensureNotNull(s).sharedCopy_timhza_k$();
- copy.set_pos_tfwdvz_k$(copy.get_pos_18iyad_k$() + currentOffset.toInt_1tsl84_k$() | 0);
- // Inline function 'kotlin.comparisons.minOf' call
- var a = copy.get_pos_18iyad_k$() + remainingByteCount.toInt_1tsl84_k$() | 0;
- var b = copy.get_limit_iuokuq_k$();
- var tmp$ret$0 = Math.min(a, b);
- copy.set_limit_mo5fx2_k$(tmp$ret$0);
- if (out.head_1 == null) {
- copy.set_prev_xbvcpn_k$(copy);
- copy.set_next_hfcco5_k$(copy.get_prev_wosl18_k$());
- out.head_1 = copy.get_next_wor1vg_k$();
- } else {
- ensureNotNull(ensureNotNull(out.head_1).get_prev_wosl18_k$()).push_3ggrb0_k$(copy);
- }
- remainingByteCount = remainingByteCount.minus_mfbszm_k$(toLong(copy.get_limit_iuokuq_k$() - copy.get_pos_18iyad_k$() | 0));
- currentOffset = new Long(0, 0);
- s = s.get_next_wor1vg_k$();
- }
- };
- protoOf(Buffer).copyTo$default_txus2s_k$ = function (out, startIndex, endIndex, $super) {
- startIndex = startIndex === VOID ? new Long(0, 0) : startIndex;
- endIndex = endIndex === VOID ? this.size_1 : endIndex;
- var tmp;
- if ($super === VOID) {
- this.copyTo_f80oje_k$(out, startIndex, endIndex);
- tmp = Unit_getInstance();
- } else {
- tmp = $super.copyTo_f80oje_k$.call(this, out, startIndex, endIndex);
- }
- return tmp;
- };
- protoOf(Buffer).completeSegmentByteCount_8y8ucz_k$ = function () {
- var result = this.size_1;
- if (result.equals(new Long(0, 0)))
- return new Long(0, 0);
- var tail = ensureNotNull(ensureNotNull(this.head_1).get_prev_wosl18_k$());
- if (tail.get_limit_iuokuq_k$() < Companion_getInstance().get_SIZE_wo97pm_k$() ? tail.get_owner_iwkx3e_k$() : false) {
- result = result.minus_mfbszm_k$(toLong(tail.get_limit_iuokuq_k$() - tail.get_pos_18iyad_k$() | 0));
- }
- return result;
- };
- protoOf(Buffer).get_ugtq3c_k$ = function (position) {
- if (position.compareTo_9jj042_k$(new Long(0, 0)) < 0 ? true : position.compareTo_9jj042_k$(this.size_1) >= 0) {
- throw IndexOutOfBoundsException_init_$Create$('position (' + position.toString() + ') is not within the range [0..size(' + this.size_1.toString() + '))');
- }
- // Inline function 'kotlinx.io.seek' call
- var tmp0_elvis_lhs = this.head_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- var offset = new Long(-1, -1);
- return ensureNotNull(null).get_data_wokkxf_k$()[numberToLong(null.get_pos_18iyad_k$()).plus_r93sks_k$(position).minus_mfbszm_k$(offset).toInt_1tsl84_k$()];
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var s = tmp;
- if (this.size_1.minus_mfbszm_k$(position).compareTo_9jj042_k$(position) < 0) {
- var offset_0 = this.size_1;
- while (offset_0.compareTo_9jj042_k$(position) > 0) {
- s = ensureNotNull(s.get_prev_wosl18_k$());
- offset_0 = offset_0.minus_mfbszm_k$(toLong(s.get_limit_iuokuq_k$() - s.get_pos_18iyad_k$() | 0));
- }
- var s_0 = s;
- var offset_1 = offset_0;
- return ensureNotNull(s_0).get_data_wokkxf_k$()[numberToLong(s_0.get_pos_18iyad_k$()).plus_r93sks_k$(position).minus_mfbszm_k$(offset_1).toInt_1tsl84_k$()];
- } else {
- var offset_2 = new Long(0, 0);
- $l$loop: while (true) {
- // Inline function 'kotlin.Long.plus' call
- var this_0 = offset_2;
- var other = s.get_limit_iuokuq_k$() - s.get_pos_18iyad_k$() | 0;
- var nextOffset = this_0.plus_r93sks_k$(toLong(other));
- if (nextOffset.compareTo_9jj042_k$(position) > 0)
- break $l$loop;
- s = ensureNotNull(s.get_next_wor1vg_k$());
- offset_2 = nextOffset;
- }
- var s_1 = s;
- var offset_3 = offset_2;
- return ensureNotNull(s_1).get_data_wokkxf_k$()[numberToLong(s_1.get_pos_18iyad_k$()).plus_r93sks_k$(position).minus_mfbszm_k$(offset_3).toInt_1tsl84_k$()];
- }
- };
- protoOf(Buffer).clear_j9egeb_k$ = function () {
- return this.skip_bgd4sf_k$(this.size_1);
- };
- protoOf(Buffer).skip_bgd4sf_k$ = function (byteCount) {
- // Inline function 'kotlinx.io.checkByteCount' call
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.checkByteCount.' call
- var message = 'byteCount (' + byteCount.toString() + ') < 0';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- var remainingByteCount = byteCount;
- while (remainingByteCount.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- var tmp0_elvis_lhs = this.head_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- throw new EOFException('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var head = tmp;
- // Inline function 'kotlinx.io.minOf' call
- var a = remainingByteCount;
- var b = head.get_limit_iuokuq_k$() - head.get_pos_18iyad_k$() | 0;
- // Inline function 'kotlin.comparisons.minOf' call
- var b_0 = toLong(b);
- var toSkip = (a.compareTo_9jj042_k$(b_0) <= 0 ? a : b_0).toInt_1tsl84_k$();
- this.size_1 = this.size_1.minus_mfbszm_k$(toLong(toSkip));
- remainingByteCount = remainingByteCount.minus_mfbszm_k$(toLong(toSkip));
- head.set_pos_tfwdvz_k$(head.get_pos_18iyad_k$() + toSkip | 0);
- if (head.get_pos_18iyad_k$() === head.get_limit_iuokuq_k$()) {
- this.head_1 = head.pop_2dsh_k$();
- SegmentPool_getInstance().recycle_3mobff_k$(head);
- }
- }
- };
- protoOf(Buffer).readAtMostTo_kub29z_k$ = function (sink, startIndex, endIndex) {
- // Inline function 'kotlinx.io.checkBounds' call
- var size = sink.length;
- checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
- var tmp0_elvis_lhs = this.head_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- return -1;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var s = tmp;
- // Inline function 'kotlin.comparisons.minOf' call
- var a = endIndex - startIndex | 0;
- var b = s.get_limit_iuokuq_k$() - s.get_pos_18iyad_k$() | 0;
- var toCopy = Math.min(a, b);
- // Inline function 'kotlin.collections.copyInto' call
- var this_0 = s.get_data_wokkxf_k$();
- var startIndex_0 = s.get_pos_18iyad_k$();
- var endIndex_0 = s.get_pos_18iyad_k$() + toCopy | 0;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this_0;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- arrayCopy(tmp_0, sink, startIndex, startIndex_0, endIndex_0);
- s.set_pos_tfwdvz_k$(s.get_pos_18iyad_k$() + toCopy | 0);
- this.size_1 = this.size_1.minus_mfbszm_k$(toLong(toCopy));
- if (s.get_pos_18iyad_k$() === s.get_limit_iuokuq_k$()) {
- this.head_1 = s.pop_2dsh_k$();
- SegmentPool_getInstance().recycle_3mobff_k$(s);
- }
- return toCopy;
- };
- protoOf(Buffer).readAtMostTo_nyls31_k$ = function (sink, byteCount) {
- // Inline function 'kotlinx.io.checkByteCount' call
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.checkByteCount.' call
- var message = 'byteCount (' + byteCount.toString() + ') < 0';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- if (this.size_1.equals(new Long(0, 0)))
- return new Long(-1, -1);
- var bytesWritten = byteCount.compareTo_9jj042_k$(this.size_1) > 0 ? this.size_1 : byteCount;
- sink.write_yvqjfp_k$(this, bytesWritten);
- return bytesWritten;
- };
- protoOf(Buffer).readTo_rtq83_k$ = function (sink, byteCount) {
- // Inline function 'kotlinx.io.checkByteCount' call
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.checkByteCount.' call
- var message = 'byteCount (' + byteCount.toString() + ') < 0';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- if (this.size_1.compareTo_9jj042_k$(byteCount) < 0) {
- sink.write_yvqjfp_k$(this, this.size_1);
- throw new EOFException('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.size_1.toString() + ' bytes were written.');
- }
- sink.write_yvqjfp_k$(this, byteCount);
- };
- protoOf(Buffer).transferTo_lu4ka2_k$ = function (sink) {
- var byteCount = this.size_1;
- if (byteCount.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- sink.write_yvqjfp_k$(this, byteCount);
- }
- return byteCount;
- };
- protoOf(Buffer).peek_21nx7_k$ = function () {
- return buffered(new PeekSource(this));
- };
- protoOf(Buffer).writableSegment_i90lmt_k$ = function (minimumCapacity) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(minimumCapacity >= 1 ? minimumCapacity <= Companion_getInstance().get_SIZE_wo97pm_k$() : false)) {
- // Inline function 'kotlinx.io.Buffer.writableSegment.' call
- var message = 'unexpected capacity';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- if (this.head_1 == null) {
- var result = SegmentPool_getInstance().take_2451j_k$();
- this.head_1 = result;
- result.set_prev_xbvcpn_k$(result);
- result.set_next_hfcco5_k$(result);
- return result;
- }
- var tail = ensureNotNull(this.head_1).get_prev_wosl18_k$();
- if ((ensureNotNull(tail).get_limit_iuokuq_k$() + minimumCapacity | 0) > Companion_getInstance().get_SIZE_wo97pm_k$() ? true : !tail.get_owner_iwkx3e_k$()) {
- tail = tail.push_3ggrb0_k$(SegmentPool_getInstance().take_2451j_k$());
- }
- return tail;
- };
- protoOf(Buffer).write_ti570x_k$ = function (source, startIndex, endIndex) {
- // Inline function 'kotlinx.io.checkBounds' call
- var size = source.length;
- checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
- var currentOffset = startIndex;
- while (currentOffset < endIndex) {
- var tail = this.writableSegment_i90lmt_k$(1);
- // Inline function 'kotlin.comparisons.minOf' call
- var a = endIndex - currentOffset | 0;
- var b = Companion_getInstance().get_SIZE_wo97pm_k$() - tail.get_limit_iuokuq_k$() | 0;
- var toCopy = Math.min(a, b);
- // Inline function 'kotlin.collections.copyInto' call
- var destination = tail.get_data_wokkxf_k$();
- var destinationOffset = tail.get_limit_iuokuq_k$();
- var startIndex_0 = currentOffset;
- var endIndex_0 = currentOffset + toCopy | 0;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp = source;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- arrayCopy(tmp, destination, destinationOffset, startIndex_0, endIndex_0);
- currentOffset = currentOffset + toCopy | 0;
- tail.set_limit_mo5fx2_k$(tail.get_limit_iuokuq_k$() + toCopy | 0);
- }
- var tmp_0 = this;
- // Inline function 'kotlin.Long.plus' call
- var this_0 = this.size_1;
- var other = endIndex - startIndex | 0;
- tmp_0.size_1 = this_0.plus_r93sks_k$(toLong(other));
- };
- protoOf(Buffer).write_nimze1_k$ = function (source, byteCount) {
- // Inline function 'kotlinx.io.checkByteCount' call
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.checkByteCount.' call
- var message = 'byteCount (' + byteCount.toString() + ') < 0';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- var remainingByteCount = byteCount;
- while (remainingByteCount.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- var read = source.readAtMostTo_nyls31_k$(this, remainingByteCount);
- if (read.equals(new Long(-1, -1))) {
- throw new EOFException('Source exhausted before reading ' + byteCount.toString() + ' bytes. ' + ('Only ' + byteCount.minus_mfbszm_k$(remainingByteCount).toString() + ' were read.'));
- }
- remainingByteCount = remainingByteCount.minus_mfbszm_k$(read);
- }
- };
- protoOf(Buffer).write_yvqjfp_k$ = function (source, byteCount) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!(source === this)) {
- // Inline function 'kotlinx.io.Buffer.write.' call
- var message = 'source == this';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- checkOffsetAndCount(source.size_1, new Long(0, 0), byteCount);
- var remainingByteCount = byteCount;
- while (remainingByteCount.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- if (remainingByteCount.compareTo_9jj042_k$(toLong(ensureNotNull(source.head_1).get_limit_iuokuq_k$() - ensureNotNull(source.head_1).get_pos_18iyad_k$() | 0)) < 0) {
- var tail = !(this.head_1 == null) ? ensureNotNull(this.head_1).get_prev_wosl18_k$() : null;
- var tmp;
- if (!(tail == null) ? tail.get_owner_iwkx3e_k$() : false) {
- // Inline function 'kotlin.Long.minus' call
- // Inline function 'kotlin.Long.plus' call
- var this_0 = remainingByteCount;
- var other = tail.get_limit_iuokuq_k$();
- var this_1 = this_0.plus_r93sks_k$(toLong(other));
- var other_0 = tail.get_shared_jgtlda_k$() ? 0 : tail.get_pos_18iyad_k$();
- tmp = this_1.minus_mfbszm_k$(toLong(other_0)).compareTo_9jj042_k$(toLong(Companion_getInstance().get_SIZE_wo97pm_k$())) <= 0;
- } else {
- tmp = false;
- }
- if (tmp) {
- ensureNotNull(source.head_1).writeTo_ozg1f0_k$(tail, remainingByteCount.toInt_1tsl84_k$());
- source.size_1 = source.size_1.minus_mfbszm_k$(remainingByteCount);
- this.size_1 = this.size_1.plus_r93sks_k$(remainingByteCount);
- return Unit_getInstance();
- } else {
- source.head_1 = ensureNotNull(source.head_1).split_cz4av2_k$(remainingByteCount.toInt_1tsl84_k$());
- }
- }
- var segmentToMove = source.head_1;
- var movedByteCount = toLong(ensureNotNull(segmentToMove).get_limit_iuokuq_k$() - segmentToMove.get_pos_18iyad_k$() | 0);
- source.head_1 = segmentToMove.pop_2dsh_k$();
- if (this.head_1 == null) {
- this.head_1 = segmentToMove;
- segmentToMove.set_prev_xbvcpn_k$(segmentToMove);
- segmentToMove.set_next_hfcco5_k$(segmentToMove.get_prev_wosl18_k$());
- } else {
- var tail_0 = ensureNotNull(this.head_1).get_prev_wosl18_k$();
- tail_0 = ensureNotNull(tail_0).push_3ggrb0_k$(segmentToMove);
- tail_0.compact_dawvql_k$();
- }
- source.size_1 = source.size_1.minus_mfbszm_k$(movedByteCount);
- this.size_1 = this.size_1.plus_r93sks_k$(movedByteCount);
- remainingByteCount = remainingByteCount.minus_mfbszm_k$(movedByteCount);
- }
- };
- protoOf(Buffer).transferFrom_v29myr_k$ = function (source) {
- var totalBytesRead = new Long(0, 0);
- $l$loop: while (true) {
- var readCount = source.readAtMostTo_nyls31_k$(this, toLong(Companion_getInstance().get_SIZE_wo97pm_k$()));
- if (readCount.equals(new Long(-1, -1)))
- break $l$loop;
- totalBytesRead = totalBytesRead.plus_r93sks_k$(readCount);
- }
- return totalBytesRead;
- };
- protoOf(Buffer).writeByte_9ih3z3_k$ = function (byte) {
- var tail = this.writableSegment_i90lmt_k$(1);
- var tmp = tail.get_data_wokkxf_k$();
- var tmp1 = tail.get_limit_iuokuq_k$();
- tail.set_limit_mo5fx2_k$(tmp1 + 1 | 0);
- tmp[tmp1] = byte;
- this.size_1 = this.size_1.plus_r93sks_k$(new Long(1, 0));
- };
- protoOf(Buffer).writeShort_vn2jsb_k$ = function (short) {
- var tail = this.writableSegment_i90lmt_k$(2);
- var data = tail.get_data_wokkxf_k$();
- var limit = tail.get_limit_iuokuq_k$();
- var tmp0 = limit;
- limit = tmp0 + 1 | 0;
- data[tmp0] = toByte((short >>> 8 | 0) & 255);
- var tmp1 = limit;
- limit = tmp1 + 1 | 0;
- data[tmp1] = toByte(short & 255);
- tail.set_limit_mo5fx2_k$(limit);
- this.size_1 = this.size_1.plus_r93sks_k$(new Long(2, 0));
- };
- protoOf(Buffer).writeInt_i8xgjs_k$ = function (int) {
- var tail = this.writableSegment_i90lmt_k$(4);
- var data = tail.get_data_wokkxf_k$();
- var limit = tail.get_limit_iuokuq_k$();
- var tmp0 = limit;
- limit = tmp0 + 1 | 0;
- data[tmp0] = toByte((int >>> 24 | 0) & 255);
- var tmp1 = limit;
- limit = tmp1 + 1 | 0;
- data[tmp1] = toByte((int >>> 16 | 0) & 255);
- var tmp2 = limit;
- limit = tmp2 + 1 | 0;
- data[tmp2] = toByte((int >>> 8 | 0) & 255);
- var tmp3 = limit;
- limit = tmp3 + 1 | 0;
- data[tmp3] = toByte(int & 255);
- tail.set_limit_mo5fx2_k$(limit);
- this.size_1 = this.size_1.plus_r93sks_k$(new Long(4, 0));
- };
- protoOf(Buffer).writeLong_2rx6yl_k$ = function (long) {
- var tail = this.writableSegment_i90lmt_k$(8);
- var data = tail.get_data_wokkxf_k$();
- var limit = tail.get_limit_iuokuq_k$();
- var tmp0 = limit;
- limit = tmp0 + 1 | 0;
- data[tmp0] = long.ushr_z7nmq8_k$(56).and_4spn93_k$(new Long(255, 0)).toByte_edm0nx_k$();
- var tmp1 = limit;
- limit = tmp1 + 1 | 0;
- data[tmp1] = long.ushr_z7nmq8_k$(48).and_4spn93_k$(new Long(255, 0)).toByte_edm0nx_k$();
- var tmp2 = limit;
- limit = tmp2 + 1 | 0;
- data[tmp2] = long.ushr_z7nmq8_k$(40).and_4spn93_k$(new Long(255, 0)).toByte_edm0nx_k$();
- var tmp3 = limit;
- limit = tmp3 + 1 | 0;
- data[tmp3] = long.ushr_z7nmq8_k$(32).and_4spn93_k$(new Long(255, 0)).toByte_edm0nx_k$();
- var tmp4 = limit;
- limit = tmp4 + 1 | 0;
- data[tmp4] = long.ushr_z7nmq8_k$(24).and_4spn93_k$(new Long(255, 0)).toByte_edm0nx_k$();
- var tmp5 = limit;
- limit = tmp5 + 1 | 0;
- data[tmp5] = long.ushr_z7nmq8_k$(16).and_4spn93_k$(new Long(255, 0)).toByte_edm0nx_k$();
- var tmp6 = limit;
- limit = tmp6 + 1 | 0;
- data[tmp6] = long.ushr_z7nmq8_k$(8).and_4spn93_k$(new Long(255, 0)).toByte_edm0nx_k$();
- var tmp7 = limit;
- limit = tmp7 + 1 | 0;
- data[tmp7] = long.and_4spn93_k$(new Long(255, 0)).toByte_edm0nx_k$();
- tail.set_limit_mo5fx2_k$(limit);
- this.size_1 = this.size_1.plus_r93sks_k$(new Long(8, 0));
- };
- protoOf(Buffer).copy_1tks5_k$ = function () {
- var result = new Buffer();
- if (this.size_1.equals(new Long(0, 0)))
- return result;
- var head = ensureNotNull(this.head_1);
- var headCopy = head.sharedCopy_timhza_k$();
- result.head_1 = headCopy;
- headCopy.set_prev_xbvcpn_k$(result.head_1);
- headCopy.set_next_hfcco5_k$(headCopy.get_prev_wosl18_k$());
- var s = head.get_next_wor1vg_k$();
- while (!(s === head)) {
- ensureNotNull(headCopy.get_prev_wosl18_k$()).push_3ggrb0_k$(ensureNotNull(s).sharedCopy_timhza_k$());
- s = s.get_next_wor1vg_k$();
- }
- result.size_1 = this.size_1;
- return result;
- };
- protoOf(Buffer).close_yn9xrc_k$ = function () {
- return Unit_getInstance();
- };
- protoOf(Buffer).toString = function () {
- if (this.size_1.equals(new Long(0, 0)))
- return 'Buffer(size=0)';
- var maxPrintableBytes = 64;
- // Inline function 'kotlinx.io.minOf' call
- var b = this.size_1;
- // Inline function 'kotlin.comparisons.minOf' call
- var a = toLong(maxPrintableBytes);
- var len = (a.compareTo_9jj042_k$(b) <= 0 ? a : b).toInt_1tsl84_k$();
- var builder = StringBuilder_init_$Create$(imul(len, 2) + (this.size_1.compareTo_9jj042_k$(toLong(maxPrintableBytes)) > 0 ? 1 : 0) | 0);
- var curr = ensureNotNull(this.head_1);
- var bytesWritten = 0;
- var pos = curr.get_pos_18iyad_k$();
- while (bytesWritten < len) {
- if (pos === curr.get_limit_iuokuq_k$()) {
- curr = ensureNotNull(curr.get_next_wor1vg_k$());
- pos = curr.get_pos_18iyad_k$();
- }
- var tmp = curr.get_data_wokkxf_k$();
- var tmp0 = pos;
- pos = tmp0 + 1 | 0;
- var b_0 = tmp[tmp0];
- bytesWritten = bytesWritten + 1 | 0;
- builder.append_am5a4z_k$(get_HEX_DIGIT_CHARS()[b_0 >> 4 & 15]).append_am5a4z_k$(get_HEX_DIGIT_CHARS()[b_0 & 15]);
- }
- if (this.size_1.compareTo_9jj042_k$(toLong(maxPrintableBytes)) > 0) {
- builder.append_am5a4z_k$(_Char___init__impl__6a9atx(8230));
- }
- return 'Buffer(size=' + this.size_1.toString() + ' hex=' + builder + ')';
- };
-
- function seek(_this__u8e3s4, fromIndex, lambda) {
- var tmp0_elvis_lhs = _this__u8e3s4.head_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- return lambda(null, new Long(-1, -1));
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var s = tmp;
- if (_this__u8e3s4.size_1.minus_mfbszm_k$(fromIndex).compareTo_9jj042_k$(fromIndex) < 0) {
- var offset = _this__u8e3s4.size_1;
- while (offset.compareTo_9jj042_k$(fromIndex) > 0) {
- s = ensureNotNull(s.get_prev_wosl18_k$());
- offset = offset.minus_mfbszm_k$(toLong(s.get_limit_iuokuq_k$() - s.get_pos_18iyad_k$() | 0));
- }
- return lambda(s, offset);
- } else {
- var offset_0 = new Long(0, 0);
- $l$loop: while (true) {
- // Inline function 'kotlin.Long.plus' call
- var this_0 = offset_0;
- var other = s.get_limit_iuokuq_k$() - s.get_pos_18iyad_k$() | 0;
- var nextOffset = this_0.plus_r93sks_k$(toLong(other));
- if (nextOffset.compareTo_9jj042_k$(fromIndex) > 0)
- break $l$loop;
- s = ensureNotNull(s.get_next_wor1vg_k$());
- offset_0 = nextOffset;
- }
- return lambda(s, offset_0);
- }
- }
-
- function buffered(_this__u8e3s4) {
- return new RealSource(_this__u8e3s4);
- }
-
- function _get_upstream__8b4500($this) {
- return $this.upstream_1;
- }
-
- function _get_buffer__tgqkad($this) {
- return $this.buffer_1;
- }
-
- function _set_expectedSegment__ufl0ui($this, _set____db54di) {
- $this.expectedSegment_1 = _set____db54di;
- }
-
- function _get_expectedSegment__uhstm2($this) {
- return $this.expectedSegment_1;
- }
-
- function _set_expectedPos__7eepj($this, _set____db54di) {
- $this.expectedPos_1 = _set____db54di;
- }
-
- function _get_expectedPos__u2zrmd($this) {
- return $this.expectedPos_1;
- }
-
- function _set_closed__kdb0et($this, _set____db54di) {
- $this.closed_1 = _set____db54di;
- }
-
- function _get_closed__iwkfs1($this) {
- return $this.closed_1;
- }
-
- function _set_pos__4wcab5($this, _set____db54di) {
- $this.pos_1 = _set____db54di;
- }
-
- function _get_pos__e6evgd($this) {
- return $this.pos_1;
- }
-
- function PeekSource(upstream) {
- this.upstream_1 = upstream;
- this.buffer_1 = this.upstream_1.get_buffer_bmaafd_k$();
- this.expectedSegment_1 = this.buffer_1.get_head_won7e1_k$();
- var tmp = this;
- var tmp0_safe_receiver = this.buffer_1.get_head_won7e1_k$();
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.get_pos_18iyad_k$();
- tmp.expectedPos_1 = tmp1_elvis_lhs == null ? -1 : tmp1_elvis_lhs;
- this.closed_1 = false;
- this.pos_1 = new Long(0, 0);
- }
-
- protoOf(PeekSource).readAtMostTo_nyls31_k$ = function (sink, byteCount) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this.closed_1) {
- // Inline function 'kotlinx.io.PeekSource.readAtMostTo.' call
- var message = 'Source is closed.';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- // Inline function 'kotlinx.io.checkByteCount' call
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.checkByteCount.' call
- var message_0 = 'byteCount (' + byteCount.toString() + ') < 0';
- throw IllegalArgumentException_init_$Create$(toString(message_0));
- }
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(this.expectedSegment_1 == null ? true : this.expectedSegment_1 === this.buffer_1.get_head_won7e1_k$() ? this.expectedPos_1 === ensureNotNull(this.buffer_1.get_head_won7e1_k$()).get_pos_18iyad_k$() : false)) {
- // Inline function 'kotlinx.io.PeekSource.readAtMostTo.' call
- var message_1 = 'Peek source is invalid because upstream source was used';
- throw IllegalStateException_init_$Create$(toString(message_1));
- }
- if (byteCount.equals(new Long(0, 0)))
- return new Long(0, 0);
- // Inline function 'kotlin.Long.plus' call
- var tmp$ret$3 = this.pos_1.plus_r93sks_k$(toLong(1));
- if (!this.upstream_1.request_mpoy7z_k$(tmp$ret$3))
- return new Long(-1, -1);
- if (this.expectedSegment_1 == null ? !(this.buffer_1.get_head_won7e1_k$() == null) : false) {
- this.expectedSegment_1 = this.buffer_1.get_head_won7e1_k$();
- this.expectedPos_1 = ensureNotNull(this.buffer_1.get_head_won7e1_k$()).get_pos_18iyad_k$();
- }
- // Inline function 'kotlin.comparisons.minOf' call
- var b = this.buffer_1.get_size_woubt6_k$().minus_mfbszm_k$(this.pos_1);
- var toCopy = byteCount.compareTo_9jj042_k$(b) <= 0 ? byteCount : b;
- this.buffer_1.copyTo_f80oje_k$(sink, this.pos_1, this.pos_1.plus_r93sks_k$(toCopy));
- this.pos_1 = this.pos_1.plus_r93sks_k$(toCopy);
- return toCopy;
- };
- protoOf(PeekSource).close_yn9xrc_k$ = function () {
- this.closed_1 = true;
- };
-
- function RawSource() {
- }
-
- function _get_bufferField__cx5nm1($this) {
- return $this.bufferField_1;
- }
-
- function checkNotClosed($this) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!$this.closed_1) {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed.' call
- var message = 'Source is closed.';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- }
-
- function RealSource(source) {
- this.source_1 = source;
- this.closed_1 = false;
- this.bufferField_1 = new Buffer();
- }
-
- protoOf(RealSource).get_source_jl0x7o_k$ = function () {
- return this.source_1;
- };
- protoOf(RealSource).set_closed_z8zuoc_k$ = function (_set____db54di) {
- this.closed_1 = _set____db54di;
- };
- protoOf(RealSource).get_closed_byjrzp_k$ = function () {
- return this.closed_1;
- };
- protoOf(RealSource).get_buffer_bmaafd_k$ = function () {
- return this.bufferField_1;
- };
- protoOf(RealSource).readAtMostTo_nyls31_k$ = function (sink, byteCount) {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this.closed_1) {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed.' call
- var message = 'Source is closed.';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.RealSource.readAtMostTo.' call
- var message_0 = 'byteCount: ' + byteCount.toString();
- throw IllegalArgumentException_init_$Create$(toString(message_0));
- }
- if (this.bufferField_1.get_size_woubt6_k$().equals(new Long(0, 0))) {
- var read = this.source_1.readAtMostTo_nyls31_k$(this.bufferField_1, toLong(Companion_getInstance().get_SIZE_wo97pm_k$()));
- if (read.equals(new Long(-1, -1)))
- return new Long(-1, -1);
- }
- // Inline function 'kotlin.comparisons.minOf' call
- var b = this.bufferField_1.get_size_woubt6_k$();
- var toRead = byteCount.compareTo_9jj042_k$(b) <= 0 ? byteCount : b;
- return this.bufferField_1.readAtMostTo_nyls31_k$(sink, toRead);
- };
- protoOf(RealSource).exhausted_p1jt55_k$ = function () {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this.closed_1) {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed.' call
- var message = 'Source is closed.';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- return this.bufferField_1.exhausted_p1jt55_k$() ? this.source_1.readAtMostTo_nyls31_k$(this.bufferField_1, toLong(Companion_getInstance().get_SIZE_wo97pm_k$())).equals(new Long(-1, -1)) : false;
- };
- protoOf(RealSource).require_28r0pl_k$ = function (byteCount) {
- if (!this.request_mpoy7z_k$(byteCount))
- throw new EOFException("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
- };
- protoOf(RealSource).request_mpoy7z_k$ = function (byteCount) {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this.closed_1) {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed.' call
- var message = 'Source is closed.';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.RealSource.request.' call
- var message_0 = 'byteCount: ' + byteCount.toString();
- throw IllegalArgumentException_init_$Create$(toString(message_0));
- }
- while (this.bufferField_1.get_size_woubt6_k$().compareTo_9jj042_k$(byteCount) < 0) {
- if (this.source_1.readAtMostTo_nyls31_k$(this.bufferField_1, toLong(Companion_getInstance().get_SIZE_wo97pm_k$())).equals(new Long(-1, -1)))
- return false;
- }
- return true;
- };
- protoOf(RealSource).readByte_ectjk2_k$ = function () {
- this.require_28r0pl_k$(new Long(1, 0));
- return this.bufferField_1.readByte_ectjk2_k$();
- };
- protoOf(RealSource).readAtMostTo_kub29z_k$ = function (sink, startIndex, endIndex) {
- // Inline function 'kotlinx.io.checkBounds' call
- var size = sink.length;
- checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
- if (this.bufferField_1.get_size_woubt6_k$().equals(new Long(0, 0))) {
- var read = this.source_1.readAtMostTo_nyls31_k$(this.bufferField_1, toLong(Companion_getInstance().get_SIZE_wo97pm_k$()));
- if (read.equals(new Long(-1, -1)))
- return -1;
- }
- // Inline function 'kotlinx.io.minOf' call
- var a = endIndex - startIndex | 0;
- var b = this.bufferField_1.get_size_woubt6_k$();
- // Inline function 'kotlin.comparisons.minOf' call
- var a_0 = toLong(a);
- var toRead = (a_0.compareTo_9jj042_k$(b) <= 0 ? a_0 : b).toInt_1tsl84_k$();
- return this.bufferField_1.readAtMostTo_kub29z_k$(sink, startIndex, startIndex + toRead | 0);
- };
- protoOf(RealSource).readTo_rtq83_k$ = function (sink, byteCount) {
- try {
- this.require_28r0pl_k$(byteCount);
- } catch ($p) {
- if ($p instanceof EOFException) {
- var e = $p;
- sink.write_yvqjfp_k$(this.bufferField_1, this.bufferField_1.get_size_woubt6_k$());
- throw e;
- } else {
- throw $p;
- }
- }
- this.bufferField_1.readTo_rtq83_k$(sink, byteCount);
- };
- protoOf(RealSource).transferTo_lu4ka2_k$ = function (sink) {
- var totalBytesWritten = new Long(0, 0);
- while (!this.source_1.readAtMostTo_nyls31_k$(this.bufferField_1, toLong(Companion_getInstance().get_SIZE_wo97pm_k$())).equals(new Long(-1, -1))) {
- var emitByteCount = this.bufferField_1.completeSegmentByteCount_8y8ucz_k$();
- if (emitByteCount.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- totalBytesWritten = totalBytesWritten.plus_r93sks_k$(emitByteCount);
- sink.write_yvqjfp_k$(this.bufferField_1, emitByteCount);
- }
- }
- if (this.bufferField_1.get_size_woubt6_k$().compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- totalBytesWritten = totalBytesWritten.plus_r93sks_k$(this.bufferField_1.get_size_woubt6_k$());
- sink.write_yvqjfp_k$(this.bufferField_1, this.bufferField_1.get_size_woubt6_k$());
- }
- return totalBytesWritten;
- };
- protoOf(RealSource).readShort_ilpyey_k$ = function () {
- this.require_28r0pl_k$(new Long(2, 0));
- return this.bufferField_1.readShort_ilpyey_k$();
- };
- protoOf(RealSource).readInt_hv8cxl_k$ = function () {
- this.require_28r0pl_k$(new Long(4, 0));
- return this.bufferField_1.readInt_hv8cxl_k$();
- };
- protoOf(RealSource).readLong_ecnd8u_k$ = function () {
- this.require_28r0pl_k$(new Long(8, 0));
- return this.bufferField_1.readLong_ecnd8u_k$();
- };
- protoOf(RealSource).skip_bgd4sf_k$ = function (byteCount) {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this.closed_1) {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed.' call
- var message = 'Source is closed.';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount.compareTo_9jj042_k$(new Long(0, 0)) >= 0)) {
- // Inline function 'kotlinx.io.RealSource.skip.' call
- var message_0 = 'byteCount: ' + byteCount.toString();
- throw IllegalArgumentException_init_$Create$(toString(message_0));
- }
- var remainingByteCount = byteCount;
- while (remainingByteCount.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- if (this.bufferField_1.get_size_woubt6_k$().equals(new Long(0, 0)) ? this.source_1.readAtMostTo_nyls31_k$(this.bufferField_1, toLong(Companion_getInstance().get_SIZE_wo97pm_k$())).equals(new Long(-1, -1)) : false) {
- throw new EOFException('Source exhausted before skipping ' + byteCount.toString() + ' bytes ' + ('(only ' + remainingByteCount.minus_mfbszm_k$(byteCount).toString() + ' bytes were skipped).'));
- }
- // Inline function 'kotlin.comparisons.minOf' call
- var a = remainingByteCount;
- var b = this.bufferField_1.get_size_woubt6_k$();
- var toSkip = a.compareTo_9jj042_k$(b) <= 0 ? a : b;
- this.bufferField_1.skip_bgd4sf_k$(toSkip);
- remainingByteCount = remainingByteCount.minus_mfbszm_k$(toSkip);
- }
- };
- protoOf(RealSource).peek_21nx7_k$ = function () {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this.closed_1) {
- // Inline function 'kotlinx.io.RealSource.checkNotClosed.' call
- var message = 'Source is closed.';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- return buffered(new PeekSource(this));
- };
- protoOf(RealSource).close_yn9xrc_k$ = function () {
- if (this.closed_1)
- return Unit_getInstance();
- this.closed_1 = true;
- this.source_1.close_yn9xrc_k$();
- this.bufferField_1.clear_j9egeb_k$();
- };
- protoOf(RealSource).toString = function () {
- return 'buffered(' + this.source_1 + ')';
- };
-
- function Segment_init_$Init$($this) {
- Segment.call($this);
- $this.data_1 = new Int8Array(8192);
- $this.owner_1 = true;
- $this.shared_1 = false;
- return $this;
- }
-
- function Segment_init_$Create$() {
- return Segment_init_$Init$(objectCreate(protoOf(Segment)));
- }
-
- function Segment_init_$Init$_0(data, pos, limit, shared, owner, $this) {
- Segment.call($this);
- $this.data_1 = data;
- $this.pos_1 = pos;
- $this.limit_1 = limit;
- $this.shared_1 = shared;
- $this.owner_1 = owner;
- return $this;
- }
-
- function Segment_init_$Create$_0(data, pos, limit, shared, owner) {
- return Segment_init_$Init$_0(data, pos, limit, shared, owner, objectCreate(protoOf(Segment)));
- }
-
- function Companion() {
- Companion_instance = this;
- this.SIZE_1 = 8192;
- this.SHARE_MINIMUM_1 = 1024;
- }
-
- protoOf(Companion).get_SIZE_wo97pm_k$ = function () {
- return this.SIZE_1;
- };
- protoOf(Companion).get_SHARE_MINIMUM_wfrtqd_k$ = function () {
- return this.SHARE_MINIMUM_1;
- };
- var Companion_instance;
-
- function Companion_getInstance() {
- if (Companion_instance == null)
- new Companion();
- return Companion_instance;
- }
-
- protoOf(Segment).get_data_wokkxf_k$ = function () {
- return this.data_1;
- };
- protoOf(Segment).set_pos_tfwdvz_k$ = function (_set____db54di) {
- this.pos_1 = _set____db54di;
- };
- protoOf(Segment).get_pos_18iyad_k$ = function () {
- return this.pos_1;
- };
- protoOf(Segment).set_limit_mo5fx2_k$ = function (_set____db54di) {
- this.limit_1 = _set____db54di;
- };
- protoOf(Segment).get_limit_iuokuq_k$ = function () {
- return this.limit_1;
- };
- protoOf(Segment).set_shared_67kjx_k$ = function (_set____db54di) {
- this.shared_1 = _set____db54di;
- };
- protoOf(Segment).get_shared_jgtlda_k$ = function () {
- return this.shared_1;
- };
- protoOf(Segment).set_owner_bh4mbj_k$ = function (_set____db54di) {
- this.owner_1 = _set____db54di;
- };
- protoOf(Segment).get_owner_iwkx3e_k$ = function () {
- return this.owner_1;
- };
- protoOf(Segment).set_next_hfcco5_k$ = function (_set____db54di) {
- this.next_1 = _set____db54di;
- };
- protoOf(Segment).get_next_wor1vg_k$ = function () {
- return this.next_1;
- };
- protoOf(Segment).set_prev_xbvcpn_k$ = function (_set____db54di) {
- this.prev_1 = _set____db54di;
- };
- protoOf(Segment).get_prev_wosl18_k$ = function () {
- return this.prev_1;
- };
- protoOf(Segment).sharedCopy_timhza_k$ = function () {
- this.shared_1 = true;
- return Segment_init_$Create$_0(this.data_1, this.pos_1, this.limit_1, true, false);
- };
- protoOf(Segment).unsharedCopy_5kj8b7_k$ = function () {
- // Inline function 'kotlin.collections.copyOf' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp$ret$1 = this.data_1.slice();
- return Segment_init_$Create$_0(tmp$ret$1, this.pos_1, this.limit_1, false, true);
- };
- protoOf(Segment).pop_2dsh_k$ = function () {
- var result = !(this.next_1 === this) ? this.next_1 : null;
- ensureNotNull(this.prev_1).next_1 = this.next_1;
- ensureNotNull(this.next_1).prev_1 = this.prev_1;
- this.next_1 = null;
- this.prev_1 = null;
- return result;
- };
- protoOf(Segment).push_3ggrb0_k$ = function (segment) {
- segment.prev_1 = this;
- segment.next_1 = this.next_1;
- ensureNotNull(this.next_1).prev_1 = segment;
- this.next_1 = segment;
- return segment;
- };
- protoOf(Segment).split_cz4av2_k$ = function (byteCount) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(byteCount > 0 ? byteCount <= (this.limit_1 - this.pos_1 | 0) : false)) {
- // Inline function 'kotlinx.io.Segment.split.' call
- var message = 'byteCount out of range';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- var prefix;
- if (byteCount >= 1024) {
- prefix = this.sharedCopy_timhza_k$();
- } else {
- prefix = SegmentPool_getInstance().take_2451j_k$();
- // Inline function 'kotlin.collections.copyInto' call
- var this_0 = this.data_1;
- var destination = prefix.data_1;
- var startIndex = this.pos_1;
- var endIndex = this.pos_1 + byteCount | 0;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp = this_0;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- arrayCopy(tmp, destination, 0, startIndex, endIndex);
- }
- prefix.limit_1 = prefix.pos_1 + byteCount | 0;
- this.pos_1 = this.pos_1 + byteCount | 0;
- ensureNotNull(this.prev_1).push_3ggrb0_k$(prefix);
- return prefix;
- };
- protoOf(Segment).compact_dawvql_k$ = function () {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!(this.prev_1 === this)) {
- // Inline function 'kotlinx.io.Segment.compact.' call
- var message = 'cannot compact';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- if (!ensureNotNull(this.prev_1).owner_1)
- return Unit_getInstance();
- var byteCount = this.limit_1 - this.pos_1 | 0;
- var availableByteCount = (8192 - ensureNotNull(this.prev_1).limit_1 | 0) + (ensureNotNull(this.prev_1).shared_1 ? 0 : ensureNotNull(this.prev_1).pos_1) | 0;
- if (byteCount > availableByteCount)
- return Unit_getInstance();
- this.writeTo_ozg1f0_k$(ensureNotNull(this.prev_1), byteCount);
- this.pop_2dsh_k$();
- SegmentPool_getInstance().recycle_3mobff_k$(this);
- };
- protoOf(Segment).writeTo_ozg1f0_k$ = function (sink, byteCount) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!sink.owner_1) {
- // Inline function 'kotlinx.io.Segment.writeTo.' call
- var message = 'only owner can write';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- if ((sink.limit_1 + byteCount | 0) > 8192) {
- if (sink.shared_1)
- throw IllegalArgumentException_init_$Create$_0();
- if (((sink.limit_1 + byteCount | 0) - sink.pos_1 | 0) > 8192)
- throw IllegalArgumentException_init_$Create$_0();
- // Inline function 'kotlin.collections.copyInto' call
- var this_0 = sink.data_1;
- var destination = sink.data_1;
- var startIndex = sink.pos_1;
- var endIndex = sink.limit_1;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp = this_0;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- arrayCopy(tmp, destination, 0, startIndex, endIndex);
- sink.limit_1 = sink.limit_1 - sink.pos_1 | 0;
- sink.pos_1 = 0;
- }
- // Inline function 'kotlin.collections.copyInto' call
- var this_1 = this.data_1;
- var destination_0 = sink.data_1;
- var destinationOffset = sink.limit_1;
- var startIndex_0 = this.pos_1;
- var endIndex_0 = this.pos_1 + byteCount | 0;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- var tmp_0 = this_1;
- // Inline function 'kotlin.js.unsafeCast' call
- // Inline function 'kotlin.js.asDynamic' call
- arrayCopy(tmp_0, destination_0, destinationOffset, startIndex_0, endIndex_0);
- sink.limit_1 = sink.limit_1 + byteCount | 0;
- this.pos_1 = this.pos_1 + byteCount | 0;
- };
- protoOf(Segment).get_size_woubt6_k$ = function () {
- return this.limit_1 - this.pos_1 | 0;
- };
-
- function Segment() {
- Companion_getInstance();
- this.pos_1 = 0;
- this.limit_1 = 0;
- this.shared_1 = false;
- this.owner_1 = false;
- this.next_1 = null;
- this.prev_1 = null;
- }
-
- function Sink() {
- }
-
- function get_HEX_DIGIT_BYTES() {
- _init_properties_Sinks_kt__92ml72();
- return HEX_DIGIT_BYTES;
- }
-
- var HEX_DIGIT_BYTES;
- var properties_initialized_Sinks_kt_u7wmts;
-
- function _init_properties_Sinks_kt__92ml72() {
- if (!properties_initialized_Sinks_kt_u7wmts) {
- properties_initialized_Sinks_kt_u7wmts = true;
- HEX_DIGIT_BYTES = asUtf8ToByteArray('0123456789abcdef');
- }
- }
-
- function Source() {
- }
-
- function FileSystem() {
- }
-
- function SystemFileSystemImpl() {
- }
-
- function FileMetadata(isRegularFile, isDirectory, size) {
- isRegularFile = isRegularFile === VOID ? false : isRegularFile;
- isDirectory = isDirectory === VOID ? false : isDirectory;
- size = size === VOID ? new Long(0, 0) : size;
- this.isRegularFile_1 = isRegularFile;
- this.isDirectory_1 = isDirectory;
- this.size_1 = size;
- }
-
- protoOf(FileMetadata).get_isRegularFile_wfnog5_k$ = function () {
- return this.isRegularFile_1;
- };
- protoOf(FileMetadata).get_isDirectory_hgpbzu_k$ = function () {
- return this.isDirectory_1;
- };
- protoOf(FileMetadata).get_size_woubt6_k$ = function () {
- return this.size_1;
- };
-
- function commonAsUtf8ToByteArray(_this__u8e3s4) {
- var bytes = new Int8Array(imul(4, _this__u8e3s4.length));
- var inductionVariable = 0;
- var last = charSequenceLength(_this__u8e3s4) - 1 | 0;
- if (inductionVariable <= last)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var b0 = charSequenceGet(_this__u8e3s4, index);
- if (Char__compareTo_impl_ypi4mb(b0, _Char___init__impl__6a9atx(128)) >= 0) {
- var size = index;
- // Inline function 'kotlinx.io.internal.processUtf8Bytes' call
- var endIndex = _this__u8e3s4.length;
- var index_0 = index;
- while (index_0 < endIndex) {
- var c = charSequenceGet(_this__u8e3s4, index_0);
- if (Char__compareTo_impl_ypi4mb(c, _Char___init__impl__6a9atx(128)) < 0) {
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- // Inline function 'kotlin.code' call
- var tmp$ret$0 = Char__toInt_impl_vasixd(c);
- var tmp0 = size;
- size = tmp0 + 1 | 0;
- bytes[tmp0] = toByte(tmp$ret$0);
- index_0 = index_0 + 1 | 0;
- while (index_0 < endIndex ? Char__compareTo_impl_ypi4mb(charSequenceGet(_this__u8e3s4, index_0), _Char___init__impl__6a9atx(128)) < 0 : false) {
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- // Inline function 'kotlin.code' call
- var tmp1 = index_0;
- index_0 = tmp1 + 1 | 0;
- var this_0 = charSequenceGet(_this__u8e3s4, tmp1);
- var tmp$ret$1 = Char__toInt_impl_vasixd(this_0);
- var tmp0_0 = size;
- size = tmp0_0 + 1 | 0;
- bytes[tmp0_0] = toByte(tmp$ret$1);
- }
- } else if (Char__compareTo_impl_ypi4mb(c, _Char___init__impl__6a9atx(2048)) < 0) {
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- // Inline function 'kotlin.code' call
- var tmp$ret$2 = Char__toInt_impl_vasixd(c);
- var tmp0_1 = size;
- size = tmp0_1 + 1 | 0;
- bytes[tmp0_1] = toByte(tmp$ret$2 >> 6 | 192);
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- // Inline function 'kotlin.code' call
- var tmp$ret$3 = Char__toInt_impl_vasixd(c);
- var tmp0_2 = size;
- size = tmp0_2 + 1 | 0;
- bytes[tmp0_2] = toByte(tmp$ret$3 & 63 | 128);
- index_0 = index_0 + 1 | 0;
- } else if (!(_Char___init__impl__6a9atx(55296) <= c ? c <= _Char___init__impl__6a9atx(57343) : false)) {
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- // Inline function 'kotlin.code' call
- var tmp$ret$4 = Char__toInt_impl_vasixd(c);
- var tmp0_3 = size;
- size = tmp0_3 + 1 | 0;
- bytes[tmp0_3] = toByte(tmp$ret$4 >> 12 | 224);
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- // Inline function 'kotlin.code' call
- var tmp$ret$5 = Char__toInt_impl_vasixd(c);
- var tmp0_4 = size;
- size = tmp0_4 + 1 | 0;
- bytes[tmp0_4] = toByte(tmp$ret$5 >> 6 & 63 | 128);
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- // Inline function 'kotlin.code' call
- var tmp$ret$6 = Char__toInt_impl_vasixd(c);
- var tmp0_5 = size;
- size = tmp0_5 + 1 | 0;
- bytes[tmp0_5] = toByte(tmp$ret$6 & 63 | 128);
- index_0 = index_0 + 1 | 0;
- } else {
- var tmp;
- if (Char__compareTo_impl_ypi4mb(c, _Char___init__impl__6a9atx(56319)) > 0 ? true : endIndex <= (index_0 + 1 | 0)) {
- tmp = true;
- } else {
- var containsArg = charSequenceGet(_this__u8e3s4, index_0 + 1 | 0);
- tmp = !(_Char___init__impl__6a9atx(56320) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57343) : false);
- }
- if (tmp) {
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- var tmp0_6 = size;
- size = tmp0_6 + 1 | 0;
- bytes[tmp0_6] = 63;
- index_0 = index_0 + 1 | 0;
- } else {
- // Inline function 'kotlin.code' call
- var tmp_0 = Char__toInt_impl_vasixd(c) << 10;
- // Inline function 'kotlin.code' call
- var this_1 = charSequenceGet(_this__u8e3s4, index_0 + 1 | 0);
- var codePoint = (tmp_0 + Char__toInt_impl_vasixd(this_1) | 0) + -56613888 | 0;
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- var tmp0_7 = size;
- size = tmp0_7 + 1 | 0;
- bytes[tmp0_7] = toByte(codePoint >> 18 | 240);
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- var tmp0_8 = size;
- size = tmp0_8 + 1 | 0;
- bytes[tmp0_8] = toByte(codePoint >> 12 & 63 | 128);
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- var tmp0_9 = size;
- size = tmp0_9 + 1 | 0;
- bytes[tmp0_9] = toByte(codePoint >> 6 & 63 | 128);
- // Inline function 'kotlinx.io.internal.commonAsUtf8ToByteArray.' call
- var tmp0_10 = size;
- size = tmp0_10 + 1 | 0;
- bytes[tmp0_10] = toByte(codePoint & 63 | 128);
- index_0 = index_0 + 2 | 0;
- }
- }
- }
- return copyOf(bytes, size);
- }
- // Inline function 'kotlin.code' call
- var tmp$ret$9 = Char__toInt_impl_vasixd(b0);
- bytes[index] = toByte(tmp$ret$9);
- }
- while (inductionVariable <= last);
- return copyOf(bytes, _this__u8e3s4.length);
- }
-
- function processUtf8Bytes(_this__u8e3s4, beginIndex, endIndex, yield_0) {
- var index = beginIndex;
- while (index < endIndex) {
- var c = charSequenceGet(_this__u8e3s4, index);
- if (Char__compareTo_impl_ypi4mb(c, _Char___init__impl__6a9atx(128)) < 0) {
- // Inline function 'kotlin.code' call
- var tmp$ret$0 = Char__toInt_impl_vasixd(c);
- yield_0(toByte(tmp$ret$0));
- index = index + 1 | 0;
- while (index < endIndex ? Char__compareTo_impl_ypi4mb(charSequenceGet(_this__u8e3s4, index), _Char___init__impl__6a9atx(128)) < 0 : false) {
- // Inline function 'kotlin.code' call
- var tmp1 = index;
- index = tmp1 + 1 | 0;
- var this_0 = charSequenceGet(_this__u8e3s4, tmp1);
- var tmp$ret$1 = Char__toInt_impl_vasixd(this_0);
- yield_0(toByte(tmp$ret$1));
- }
- } else if (Char__compareTo_impl_ypi4mb(c, _Char___init__impl__6a9atx(2048)) < 0) {
- // Inline function 'kotlin.code' call
- var tmp$ret$2 = Char__toInt_impl_vasixd(c);
- yield_0(toByte(tmp$ret$2 >> 6 | 192));
- // Inline function 'kotlin.code' call
- var tmp$ret$3 = Char__toInt_impl_vasixd(c);
- yield_0(toByte(tmp$ret$3 & 63 | 128));
- index = index + 1 | 0;
- } else if (!(_Char___init__impl__6a9atx(55296) <= c ? c <= _Char___init__impl__6a9atx(57343) : false)) {
- // Inline function 'kotlin.code' call
- var tmp$ret$4 = Char__toInt_impl_vasixd(c);
- yield_0(toByte(tmp$ret$4 >> 12 | 224));
- // Inline function 'kotlin.code' call
- var tmp$ret$5 = Char__toInt_impl_vasixd(c);
- yield_0(toByte(tmp$ret$5 >> 6 & 63 | 128));
- // Inline function 'kotlin.code' call
- var tmp$ret$6 = Char__toInt_impl_vasixd(c);
- yield_0(toByte(tmp$ret$6 & 63 | 128));
- index = index + 1 | 0;
- } else {
- var tmp;
- if (Char__compareTo_impl_ypi4mb(c, _Char___init__impl__6a9atx(56319)) > 0 ? true : endIndex <= (index + 1 | 0)) {
- tmp = true;
- } else {
- var containsArg = charSequenceGet(_this__u8e3s4, index + 1 | 0);
- tmp = !(_Char___init__impl__6a9atx(56320) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57343) : false);
- }
- if (tmp) {
- yield_0(63);
- index = index + 1 | 0;
- } else {
- // Inline function 'kotlin.code' call
- var tmp_0 = Char__toInt_impl_vasixd(c) << 10;
- // Inline function 'kotlin.code' call
- var this_1 = charSequenceGet(_this__u8e3s4, index + 1 | 0);
- var codePoint = (tmp_0 + Char__toInt_impl_vasixd(this_1) | 0) + -56613888 | 0;
- yield_0(toByte(codePoint >> 18 | 240));
- yield_0(toByte(codePoint >> 12 & 63 | 128));
- yield_0(toByte(codePoint >> 6 & 63 | 128));
- yield_0(toByte(codePoint & 63 | 128));
- index = index + 2 | 0;
- }
- }
- }
- }
-
- function get_REPLACEMENT_BYTE() {
- return REPLACEMENT_BYTE;
- }
-
- var REPLACEMENT_BYTE;
-
- function asUtf8ToByteArray(_this__u8e3s4) {
- return commonAsUtf8ToByteArray(_this__u8e3s4);
- }
-
- function IOException_init_$Init$(message, $this) {
- message = message === VOID ? null : message;
- IOException.call($this, message, null);
- return $this;
- }
-
- function IOException_init_$Create$(message) {
- var tmp = IOException_init_$Init$(message, objectCreate(protoOf(IOException)));
- captureStack(tmp, IOException_init_$Create$);
- return tmp;
- }
-
- function IOException(message, cause) {
- Exception_init_$Init$(message, cause, this);
- captureStack(this, IOException);
- }
-
- function EOFException(message) {
- message = message === VOID ? null : message;
- IOException_init_$Init$(message, this);
- captureStack(this, EOFException);
- }
-
- function RawSink() {
- }
-
- function SegmentPool() {
- SegmentPool_instance = this;
- this.MAX_SIZE_1 = 0;
- this.byteCount_1 = 0;
- }
-
- protoOf(SegmentPool).get_MAX_SIZE_bmfi1n_k$ = function () {
- return this.MAX_SIZE_1;
- };
- protoOf(SegmentPool).get_byteCount_pu5ghu_k$ = function () {
- return this.byteCount_1;
- };
- protoOf(SegmentPool).take_2451j_k$ = function () {
- return Segment_init_$Create$();
- };
- protoOf(SegmentPool).recycle_3mobff_k$ = function (segment) {
- };
- var SegmentPool_instance;
-
- function SegmentPool_getInstance() {
- if (SegmentPool_instance == null)
- new SegmentPool();
- return SegmentPool_instance;
- }
-
- function get_SystemFileSystem() {
- _init_properties_FileSystemJs_kt__4boaac();
- return SystemFileSystem;
- }
-
- var SystemFileSystem;
-
- function get_fs() {
- _init_properties_FileSystemJs_kt__4boaac();
- var tmp;
- try {
- tmp = require('fs');
- } catch ($p) {
- var tmp_0;
- if ($p instanceof Error) {
- var t = $p;
- tmp_0 = null;
- } else {
- throw $p;
- }
- tmp = tmp_0;
- }
- return tmp;
- }
-
- function FileNotFoundException(message) {
- IOException_init_$Init$(message, this);
- captureStack(this, FileNotFoundException);
- }
-
- function SystemFileSystem$1() {
- SystemFileSystemImpl.call(this);
- }
-
- protoOf(SystemFileSystem$1).exists_hs0cko_k$ = function (path) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_fs() !== null)) {
- // Inline function 'kotlinx.io.files..exists.' call
- var message = "Module 'fs' was not found";
- throw IllegalStateException_init_$Create$(toString(message));
- }
- var tmp = get_fs().existsSync(path.get_path_wos8ry_k$());
- return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
- };
- protoOf(SystemFileSystem$1).delete_wo7h84_k$ = function (path, mustExist) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_fs() !== null)) {
- // Inline function 'kotlinx.io.files..delete.' call
- var message = "Module 'fs' was not found";
- throw IllegalStateException_init_$Create$(toString(message));
- }
- if (!this.exists_hs0cko_k$(path)) {
- if (mustExist) {
- throw new FileNotFoundException('File does not exist: ' + path.get_path_wos8ry_k$());
- }
- return Unit_getInstance();
- }
- try {
- var stats = get_fs().statSync(path.get_path_wos8ry_k$());
- var tmp = stats.isDirectory();
- if ((!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE()) {
- get_fs().rmdirSync(path.get_path_wos8ry_k$());
- } else {
- get_fs().rmSync(path.get_path_wos8ry_k$());
- }
- } catch ($p) {
- if ($p instanceof Error) {
- var t = $p;
- throw new IOException('Delete failed for ' + path, t);
- } else {
- throw $p;
- }
- }
- };
- protoOf(SystemFileSystem$1).createDirectories_7nzr80_k$ = function (path, mustCreate) {
- var metadata = this.metadataOrNull_ojv48r_k$(path);
- if (!(metadata == null)) {
- if (mustCreate) {
- throw IOException_init_$Create$('Path already exists: ' + path);
- }
- if (metadata.get_isRegularFile_wfnog5_k$()) {
- throw IOException_init_$Create$("Path already exists and it's a file: " + path);
- }
- return Unit_getInstance();
- }
- // Inline function 'kotlin.collections.arrayListOf' call
- var parts = ArrayList_init_$Create$();
- var p = path;
- while (!(p == null) ? !this.exists_hs0cko_k$(p) : false) {
- parts.add_utx5q5_k$(p.toString());
- p = p.get_parent_hy4reb_k$();
- }
- // Inline function 'kotlin.collections.forEach' call
- var tmp0_iterator = asReversed(parts).iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'kotlinx.io.files..createDirectories.' call
- get_fs().mkdirSync(element);
- }
- };
- protoOf(SystemFileSystem$1).atomicMove_uo79h0_k$ = function (source, destination) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_fs() !== null)) {
- // Inline function 'kotlinx.io.files..atomicMove.' call
- var message = "Module 'fs' was not found";
- throw IllegalStateException_init_$Create$(toString(message));
- }
- if (!this.exists_hs0cko_k$(source)) {
- throw new FileNotFoundException('Source does not exist: ' + source.get_path_wos8ry_k$());
- }
- try {
- get_fs().renameSync(source.get_path_wos8ry_k$(), destination.get_path_wos8ry_k$());
- } catch ($p) {
- if ($p instanceof Error) {
- var t = $p;
- throw new IOException('Move failed from ' + source + ' to ' + destination, t);
- } else {
- throw $p;
- }
- }
- };
- protoOf(SystemFileSystem$1).metadataOrNull_ojv48r_k$ = function (path) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_fs() !== null)) {
- // Inline function 'kotlinx.io.files..metadataOrNull.' call
- var message = "Module 'fs' was not found";
- throw IllegalStateException_init_$Create$(toString(message));
- }
- var tmp;
- try {
- var stat = get_fs().statSync(path.get_path_wos8ry_k$());
- var tmp_0 = stat.mode;
- var mode = (!(tmp_0 == null) ? typeof tmp_0 === 'number' : false) ? tmp_0 : THROW_CCE();
- var tmp_1 = get_fs().constants.S_IFMT;
- var isFile = equals(mode & ((!(tmp_1 == null) ? typeof tmp_1 === 'number' : false) ? tmp_1 : THROW_CCE()), get_fs().constants.S_IFREG);
- var tmp_2 = get_fs().constants.S_IFMT;
- var tmp_3 = equals(mode & ((!(tmp_2 == null) ? typeof tmp_2 === 'number' : false) ? tmp_2 : THROW_CCE()), get_fs().constants.S_IFDIR);
- var tmp_4;
- if (isFile) {
- var tmp_5 = stat.size;
- tmp_4 = toLong((!(tmp_5 == null) ? typeof tmp_5 === 'number' : false) ? tmp_5 : THROW_CCE());
- } else {
- tmp_4 = new Long(-1, -1);
- }
- tmp = new FileMetadata(isFile, tmp_3, tmp_4);
- } catch ($p) {
- var tmp_6;
- if ($p instanceof Error) {
- var t = $p;
- if (this.exists_hs0cko_k$(path))
- throw new IOException('Stat failed for ' + path, t);
- return null;
- } else {
- throw $p;
- }
- }
- return tmp;
- };
- protoOf(SystemFileSystem$1).source_rb8tqf_k$ = function (path) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_fs() !== null)) {
- // Inline function 'kotlinx.io.files..source.' call
- var message = "Module 'fs' was not found";
- throw IllegalStateException_init_$Create$(toString(message));
- }
- return new FileSource(path);
- };
- protoOf(SystemFileSystem$1).sink_ed8sos_k$ = function (path, append) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_fs() !== null)) {
- // Inline function 'kotlinx.io.files..sink.' call
- var message = "Module 'fs' was not found";
- throw IllegalStateException_init_$Create$(toString(message));
- }
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_buffer() !== null)) {
- // Inline function 'kotlinx.io.files..sink.' call
- var message_0 = "Module 'buffer' was not found";
- throw IllegalStateException_init_$Create$(toString(message_0));
- }
- return new FileSink(path, append);
- };
- var properties_initialized_FileSystemJs_kt_lg8f5i;
-
- function _init_properties_FileSystemJs_kt__4boaac() {
- if (!properties_initialized_FileSystemJs_kt_lg8f5i) {
- properties_initialized_FileSystemJs_kt_lg8f5i = true;
- SystemFileSystem = new SystemFileSystem$1();
- }
- }
-
- function get_SystemPathSeparator() {
- _init_properties_PathsJs_kt__cx5uqj();
- // Inline function 'kotlin.getValue' call
- var this_0 = SystemPathSeparator$delegate;
- SystemPathSeparator$factory();
- return this_0.get_value_j01efc_k$().value_1;
- }
-
- var SystemPathSeparator$delegate;
-
- function Path(path, any) {
- this.path_1 = path;
- }
-
- protoOf(Path).get_path_wos8ry_k$ = function () {
- return this.path_1;
- };
- protoOf(Path).get_parent_hy4reb_k$ = function () {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_pathLib() !== null)) {
- // Inline function 'kotlinx.io.files.Path..' call
- var message = 'Path module not found';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- if (isBlank(this.path_1))
- return null;
- else if (!contains(this.path_1, get_SystemPathSeparator()))
- return null;
- var tmp = get_pathLib().dirname(this.path_1);
- var p = (tmp == null ? true : typeof tmp === 'string') ? tmp : THROW_CCE();
- var tmp_0;
- // Inline function 'kotlin.text.isNullOrBlank' call
- // Inline function 'kotlin.contracts.contract' call
- if (p == null ? true : isBlank(p)) {
- tmp_0 = null;
- } else {
- if (p === this.path_1) {
- tmp_0 = null;
- } else {
- tmp_0 = Path_0(p);
- }
- }
- return tmp_0;
- };
- protoOf(Path).get_isAbsolute_4pnyd2_k$ = function () {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_pathLib() !== null)) {
- // Inline function 'kotlinx.io.files.Path..' call
- var message = 'Path module not found';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- var tmp = get_pathLib().isAbsolute(this.path_1);
- return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
- };
- protoOf(Path).get_name_woqyms_k$ = function () {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_pathLib() !== null)) {
- // Inline function 'kotlinx.io.files.Path..' call
- var message = 'Path module not found';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- if (isBlank(this.path_1))
- return '';
- var tmp = get_pathLib().basename(this.path_1);
- var p = (tmp == null ? true : typeof tmp === 'string') ? tmp : THROW_CCE();
- var tmp_0;
- // Inline function 'kotlin.text.isNullOrBlank' call
- // Inline function 'kotlin.contracts.contract' call
- if (p == null ? true : isBlank(p)) {
- tmp_0 = '';
- } else {
- tmp_0 = p;
- }
- return tmp_0;
- };
- protoOf(Path).toString = function () {
- return this.path_1;
- };
- protoOf(Path).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof Path))
- return false;
- return this.path_1 === other.path_1;
- };
- protoOf(Path).hashCode = function () {
- return getStringHashCode(this.path_1);
- };
-
- function _get_path__dbvv7q($this) {
- return $this.path_1;
- }
-
- function _set_buffer__uxh4x5($this, _set____db54di) {
- $this.buffer_1 = _set____db54di;
- }
-
- function _get_buffer__tgqkad_0($this) {
- return $this.buffer_1;
- }
-
- function _set_closed__kdb0et_0($this, _set____db54di) {
- $this.closed_1 = _set____db54di;
- }
-
- function _get_closed__iwkfs1_0($this) {
- return $this.closed_1;
- }
-
- function _set_offset__aq0ezo($this, _set____db54di) {
- $this.offset_1 = _set____db54di;
- }
-
- function _get_offset__c6qzmg($this) {
- return $this.offset_1;
- }
-
- function FileSource(path) {
- this.path_1 = path;
- this.buffer_1 = null;
- this.closed_1 = false;
- this.offset_1 = 0;
- }
-
- protoOf(FileSource).readAtMostTo_nyls31_k$ = function (sink, byteCount) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this.closed_1) {
- // Inline function 'kotlinx.io.files.FileSource.readAtMostTo.' call
- var message = 'Source is closed.';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- if (byteCount.equals(new Long(0, 0))) {
- return new Long(0, 0);
- }
- if (this.buffer_1 === null) {
- try {
- this.buffer_1 = get_fs().readFileSync(this.path_1.toString(), null);
- } catch ($p) {
- if ($p instanceof Error) {
- var t = $p;
- var tmp = get_fs().existsSync(this.path_1.path_1);
- if ((!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE()) {
- throw new IOException('Failed to read data from ' + this.path_1, t);
- }
- throw new FileNotFoundException('File does not exist: ' + this.path_1);
- } else {
- throw $p;
- }
- }
- }
- var tmp_0 = this.buffer_1.length;
- var len = (!(tmp_0 == null) ? typeof tmp_0 === 'number' : false) ? tmp_0 : THROW_CCE();
- if (this.offset_1 >= len) {
- return new Long(-1, -1);
- }
- // Inline function 'kotlinx.io.minOf' call
- var b = len - this.offset_1 | 0;
- // Inline function 'kotlin.comparisons.minOf' call
- var b_0 = toLong(b);
- var bytesToRead = byteCount.compareTo_9jj042_k$(b_0) <= 0 ? byteCount : b_0;
- var inductionVariable = new Long(0, 0);
- if (inductionVariable.compareTo_9jj042_k$(bytesToRead) < 0)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable.plus_r93sks_k$(new Long(1, 0));
- var tmp2 = this.offset_1;
- this.offset_1 = tmp2 + 1 | 0;
- var tmp_1 = this.buffer_1.readInt8(tmp2);
- sink.writeByte_9ih3z3_k$((!(tmp_1 == null) ? typeof tmp_1 === 'number' : false) ? tmp_1 : THROW_CCE());
- }
- while (inductionVariable.compareTo_9jj042_k$(bytesToRead) < 0);
- return bytesToRead;
- };
- protoOf(FileSource).close_yn9xrc_k$ = function () {
- this.closed_1 = true;
- };
-
- function get_buffer() {
- _init_properties_PathsJs_kt__cx5uqj();
- var tmp;
- try {
- tmp = require('buffer');
- } catch ($p) {
- var tmp_0;
- if ($p instanceof Error) {
- var t = $p;
- tmp_0 = null;
- } else {
- throw $p;
- }
- tmp = tmp_0;
- }
- return tmp;
- }
-
- function _get_path__dbvv7q_0($this) {
- return $this.path_1;
- }
-
- function _set_append__n7i059($this, _set____db54di) {
- $this.append_1 = _set____db54di;
- }
-
- function _get_append__oo8ks1($this) {
- return $this.append_1;
- }
-
- function _set_closed__kdb0et_1($this, _set____db54di) {
- $this.closed_1 = _set____db54di;
- }
-
- function _get_closed__iwkfs1_1($this) {
- return $this.closed_1;
- }
-
- function FileSink(path, append) {
- this.path_1 = path;
- this.append_1 = append;
- this.closed_1 = false;
- }
-
- protoOf(FileSink).write_yvqjfp_k$ = function (source, byteCount) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this.closed_1) {
- // Inline function 'kotlinx.io.files.FileSink.write.' call
- var message = 'Sink is closed.';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- if (byteCount.equals(new Long(0, 0))) {
- return Unit_getInstance();
- }
- // Inline function 'kotlin.comparisons.minOf' call
- var b = source.get_size_woubt6_k$();
- var remainingBytes = byteCount.compareTo_9jj042_k$(b) <= 0 ? byteCount : b;
- while (remainingBytes.compareTo_9jj042_k$(new Long(0, 0)) > 0) {
- var head = ensureNotNull(source.get_head_won7e1_k$());
- var segmentBytes = head.get_limit_iuokuq_k$() - head.get_pos_18iyad_k$() | 0;
- var buf = get_buffer().Buffer.allocUnsafe(segmentBytes);
- buf.fill(head.get_data_wokkxf_k$(), head.get_pos_18iyad_k$(), segmentBytes);
- try {
- if (this.append_1) {
- get_fs().appendFileSync(this.path_1.toString(), buf);
- } else {
- get_fs().writeFileSync(this.path_1.toString(), buf);
- this.append_1 = true;
- }
- } catch ($p) {
- if ($p instanceof Error) {
- var e = $p;
- throw new IOException('Write failed', e);
- } else {
- throw $p;
- }
- }
- source.skip_bgd4sf_k$(toLong(segmentBytes));
- // Inline function 'kotlin.Long.minus' call
- remainingBytes = remainingBytes.minus_mfbszm_k$(toLong(segmentBytes));
- }
- };
- protoOf(FileSink).flush_shahbo_k$ = function () {
- return Unit_getInstance();
- };
- protoOf(FileSink).close_yn9xrc_k$ = function () {
- this.closed_1 = true;
- };
-
- function get_pathLib() {
- _init_properties_PathsJs_kt__cx5uqj();
- var tmp;
- try {
- tmp = require('path');
- } catch ($p) {
- var tmp_0;
- if ($p instanceof Error) {
- var t = $p;
- tmp_0 = null;
- } else {
- throw $p;
- }
- tmp = tmp_0;
- }
- return tmp;
- }
-
- function Path_0(path) {
- _init_properties_PathsJs_kt__cx5uqj();
- return new Path(path, null);
- }
-
- function SystemPathSeparator$delegate$lambda() {
- _init_properties_PathsJs_kt__cx5uqj();
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(get_pathLib() != null)) {
- // Inline function 'kotlinx.io.files.SystemPathSeparator$delegate..' call
- var message = 'Path module not found';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- var tmp = get_pathLib().sep;
- var sep = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE();
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(sep.length === 1)) {
- // Inline function 'kotlin.check.' call
- var message_0 = 'Check failed.';
- throw IllegalStateException_init_$Create$(toString(message_0));
- }
- return new Char(charSequenceGet(sep, 0));
- }
-
- function SystemPathSeparator$factory() {
- return getPropertyCallableRef('SystemPathSeparator', 0, KProperty0, function () {
- return new Char(get_SystemPathSeparator());
- }, null);
- }
-
- var properties_initialized_PathsJs_kt_chgord;
-
- function _init_properties_PathsJs_kt__cx5uqj() {
- if (!properties_initialized_PathsJs_kt_chgord) {
- properties_initialized_PathsJs_kt_chgord = true;
- SystemPathSeparator$delegate = lazy(SystemPathSeparator$delegate$lambda);
- }
- }
-
- //region block: post-declaration
- protoOf(Buffer).readAtMostTo$default_wtrooa_k$ = readAtMostTo$default;
- protoOf(Buffer).write$default_h97jte_k$ = write$default;
- protoOf(RealSource).readAtMostTo$default_wtrooa_k$ = readAtMostTo$default;
- protoOf(SystemFileSystemImpl).delete$default_6ix9e7_k$ = delete$default;
- protoOf(SystemFileSystemImpl).createDirectories$default_dm5znv_k$ = createDirectories$default;
- protoOf(SystemFileSystemImpl).sink$default_v7kfux_k$ = sink$default;
- //endregion
- //region block: init
- REPLACEMENT_BYTE = 63;
- //endregion
- //region block: exports
- _.$_$ = _.$_$ || {};
- _.$_$.a = Buffer;
- _.$_$.b = RawSink;
- //endregion
- return _;
-}));
-
-//# sourceMappingURL=kotlinx-io-kotlinx-io-core.js.map
diff --git a/js/package.json b/js/package.json
deleted file mode 100644
index e94f711..0000000
--- a/js/package.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "name": "tlb",
- "version": "0.0.0-unspecified",
- "main": "tlb.js",
- "types": "tlb.d.ts",
- "devDependencies": {
- "typescript": "5.0.4"
- },
- "dependencies": {
- "format-util": "^1.0.5"
- },
- "peerDependencies": {},
- "optionalDependencies": {},
- "bundledDependencies": []
-}
\ No newline at end of file
diff --git a/js/parsus.js b/js/parsus.js
deleted file mode 100644
index def15da..0000000
--- a/js/parsus.js
+++ /dev/null
@@ -1,3039 +0,0 @@
-(function (root, factory) {
- if (typeof define === 'function' && define.amd)
- define(['exports', './kotlin-kotlin-stdlib.js'], factory);
- else if (typeof exports === 'object')
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
- else {
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
- throw new Error("Error loading module 'parsus'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'parsus'.");
- }
- root.parsus = factory(typeof parsus === 'undefined' ? {} : parsus, this['kotlin-kotlin-stdlib']);
- }
-}(this, function (_, kotlin_kotlin) {
- 'use strict';
- //region block: imports
- var imul = Math.imul;
- var protoOf = kotlin_kotlin.$_$.b4;
- var THROW_CCE = kotlin_kotlin.$_$.g5;
- var Annotation = kotlin_kotlin.$_$.x4;
- var classMeta = kotlin_kotlin.$_$.o3;
- var setMetadataFor = kotlin_kotlin.$_$.c4;
- var VOID = kotlin_kotlin.$_$.a;
- var getStringHashCode = kotlin_kotlin.$_$.t3;
- var listOf = kotlin_kotlin.$_$.n2;
- var listOf_0 = kotlin_kotlin.$_$.m2;
- var plus = kotlin_kotlin.$_$.t2;
- var plus_0 = kotlin_kotlin.$_$.u2;
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
- var addAll = kotlin_kotlin.$_$.u1;
- var toSet = kotlin_kotlin.$_$.b3;
- var emptySet = kotlin_kotlin.$_$.d2;
- var CoroutineImpl = kotlin_kotlin.$_$.g3;
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.d3;
- var throwKotlinNothingValueException = kotlin_kotlin.$_$.p5;
- var Unit_getInstance = kotlin_kotlin.$_$.q1;
- var Collection = kotlin_kotlin.$_$.r1;
- var isInterface = kotlin_kotlin.$_$.w3;
- var toString = kotlin_kotlin.$_$.g4;
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s;
- var interfaceMeta = kotlin_kotlin.$_$.v3;
- var objectMeta = kotlin_kotlin.$_$.a4;
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.n5;
- var Exception = kotlin_kotlin.$_$.c5;
- var Exception_init_$Init$ = kotlin_kotlin.$_$.n;
- var captureStack = kotlin_kotlin.$_$.k3;
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.m;
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.u;
- var repeat = kotlin_kotlin.$_$.t4;
- var coerceAtLeast = kotlin_kotlin.$_$.h4;
- var hashCode = kotlin_kotlin.$_$.u3;
- var equals = kotlin_kotlin.$_$.p3;
- var anyToString = kotlin_kotlin.$_$.j3;
- var lazy = kotlin_kotlin.$_$.m5;
- var KProperty1 = kotlin_kotlin.$_$.k4;
- var getPropertyCallableRef = kotlin_kotlin.$_$.s3;
- var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.n1;
- var Result = kotlin_kotlin.$_$.f5;
- var Continuation = kotlin_kotlin.$_$.f3;
- var Companion_getInstance = kotlin_kotlin.$_$.p1;
- var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.a1;
- var createCoroutineUnintercepted = kotlin_kotlin.$_$.e3;
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.c1;
- var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.b1;
- var returnIfSuspended = kotlin_kotlin.$_$.d;
- var throwOnFailure = kotlin_kotlin.$_$.q5;
- var coerceAtMost = kotlin_kotlin.$_$.i4;
- var SuspendFunction1 = kotlin_kotlin.$_$.h3;
- var first = kotlin_kotlin.$_$.g2;
- var checkCountOverflow = kotlin_kotlin.$_$.x1;
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.r;
- var charSequenceLength = kotlin_kotlin.$_$.n3;
- var charSequenceGet = kotlin_kotlin.$_$.m3;
- var toString_0 = kotlin_kotlin.$_$.z;
- var startsWith = kotlin_kotlin.$_$.v4;
- var Regex_init_$Create$ = kotlin_kotlin.$_$.k;
- var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.b;
- var plus_1 = kotlin_kotlin.$_$.s2;
- var Regex = kotlin_kotlin.$_$.m4;
- var setOf = kotlin_kotlin.$_$.w2;
- //endregion
- //region block: pre-declaration
- setMetadataFor(ExperimentalParsusApi, 'ExperimentalParsusApi', classMeta, VOID, [Annotation]);
- setMetadataFor(Language, 'Language', classMeta, VOID, [Annotation]);
-
- function get_firstTokens() {
- return emptySet();
- }
-
- setMetadataFor(Parser, 'Parser', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(ParserImpl, 'ParserImpl', classMeta, VOID, [Parser], VOID, VOID, VOID, [0]);
- setMetadataFor(AbstractChoiceParser, 'AbstractChoiceParser', classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor($parseCOROUTINE$0, '$parseCOROUTINE$0', classMeta, CoroutineImpl);
- setMetadataFor(ScannerlessChoiceParser, 'ScannerlessChoiceParser', classMeta, AbstractChoiceParser, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor($parseCOROUTINE$1, '$parseCOROUTINE$1', classMeta, CoroutineImpl);
- setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(GrammarContext, 'GrammarContext', interfaceMeta);
- setMetadataFor(Grammar, 'Grammar', classMeta, VOID, [GrammarContext]);
- setMetadataFor(IgnoredValue, 'IgnoredValue', objectMeta);
- setMetadataFor(ParseResult, 'ParseResult', classMeta);
- setMetadataFor(ParseException, 'ParseException', classMeta, Exception);
- setMetadataFor(ParseError, 'ParseError', classMeta, ParseResult);
- setMetadataFor(ParsedValue, 'ParsedValue', classMeta, ParseResult);
- setMetadataFor(NoViableAlternative, 'NoViableAlternative', classMeta, ParseError);
- setMetadataFor(ParseErrorContextProvider, 'ParseErrorContextProvider', interfaceMeta);
- setMetadataFor(ParseErrorContext, 'ParseErrorContext', classMeta);
- setMetadataFor(UnmatchedToken, 'UnmatchedToken', classMeta, ParseError);
- setMetadataFor(MismatchedToken, 'MismatchedToken', classMeta, ParseError);
- setMetadataFor(NotEnoughRepetition, 'NotEnoughRepetition', classMeta, ParseError);
- setMetadataFor(ref$1, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_0, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_1, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(_no_name_provided__qut3iv_2, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(Companion, 'Companion', objectMeta);
- setMetadataFor(_no_name_provided__qut3iv_3, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(_no_name_provided__qut3iv_4, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(_no_name_provided__qut3iv_5, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(_no_name_provided__qut3iv_6, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(_no_name_provided__qut3iv_7, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(_no_name_provided__qut3iv_8, VOID, classMeta, VOID, [Continuation]);
- setMetadataFor(ParsingContext$createParserCoroutine$slambda, 'ParsingContext$createParserCoroutine$slambda', classMeta, CoroutineImpl, [CoroutineImpl], VOID, VOID, VOID, [1]);
- setMetadataFor($failCOROUTINE$2, '$failCOROUTINE$2', classMeta, CoroutineImpl);
-
- function unaryMinus(_this__u8e3s4, $completion) {
- return skip(this, _this__u8e3s4, $completion);
- }
-
- function unaryPlus(_this__u8e3s4, $completion) {
- return has(this, _this__u8e3s4, $completion);
- }
-
- setMetadataFor(ParsingScope, 'ParsingScope', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [0, 1]);
- setMetadataFor(ParsingContext, 'ParsingContext', classMeta, VOID, [ParsingScope], VOID, VOID, VOID, [0, 1]);
- setMetadataFor(LastTokenMatchContext, 'LastTokenMatchContext', classMeta, VOID, [ParseErrorContextProvider]);
- setMetadataFor($parseCOROUTINE$3, '$parseCOROUTINE$3', classMeta, CoroutineImpl);
- setMetadataFor(TupleParser, 'TupleParser', classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor($parseCOROUTINE$4, '$parseCOROUTINE$4', classMeta, CoroutineImpl);
- setMetadataFor(_no_name_provided__qut3iv_9, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor($parseCOROUTINE$5, '$parseCOROUTINE$5', classMeta, CoroutineImpl);
- setMetadataFor(_no_name_provided__qut3iv_10, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor($repeatCOROUTINE$6, '$repeatCOROUTINE$6', classMeta, CoroutineImpl);
- setMetadataFor($checkPresentCOROUTINE$7, '$checkPresentCOROUTINE$7', classMeta, CoroutineImpl);
- setMetadataFor(Companion_0, 'Companion', objectMeta);
- setMetadataFor($parseCOROUTINE$10, '$parseCOROUTINE$10', classMeta, CoroutineImpl);
- setMetadataFor(SkipParser, 'SkipParser', classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor($skipCOROUTINE$8, '$skipCOROUTINE$8', classMeta, CoroutineImpl);
- setMetadataFor($tryOrNullCOROUTINE$9, '$tryOrNullCOROUTINE$9', classMeta, CoroutineImpl);
- setMetadataFor(Token, 'Token', classMeta, VOID, [Parser], VOID, VOID, VOID, [0]);
- setMetadataFor(EofToken, 'EofToken', objectMeta, Token, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(LiteralToken, 'LiteralToken', classMeta, Token, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(RegexToken, 'RegexToken', classMeta, Token, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor($parseCOROUTINE$11, '$parseCOROUTINE$11', classMeta, CoroutineImpl);
- setMetadataFor(TokenMatch, 'TokenMatch', classMeta);
- setMetadataFor(Tokenizer, 'Tokenizer', interfaceMeta);
- setMetadataFor(AbstractTokenizer, 'AbstractTokenizer', classMeta, VOID, [Tokenizer]);
- setMetadataFor(ScannerlessTokenizer, 'ScannerlessTokenizer', classMeta, AbstractTokenizer);
- setMetadataFor(TokenMatchingTrace, 'TokenMatchingTrace', classMeta);
- setMetadataFor(TokenMatchingEvent, 'TokenMatchingEvent', classMeta);
- setMetadataFor(TracedParseResult, 'TracedParseResult', classMeta);
-
- //endregion
- function ExperimentalParsusApi() {
- }
-
- protoOf(ExperimentalParsusApi).equals = function (other) {
- if (!(other instanceof ExperimentalParsusApi))
- return false;
- other instanceof ExperimentalParsusApi || THROW_CCE();
- return true;
- };
- protoOf(ExperimentalParsusApi).hashCode = function () {
- return 0;
- };
- protoOf(ExperimentalParsusApi).toString = function () {
- return '@me.alllex.parsus.annotations.ExperimentalParsusApi()';
- };
-
- function Language(value, prefix, suffix) {
- prefix = prefix === VOID ? '' : prefix;
- suffix = suffix === VOID ? '' : suffix;
- this.value_1 = value;
- this.prefix_1 = prefix;
- this.suffix_1 = suffix;
- }
-
- protoOf(Language).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- protoOf(Language).get_prefix_i78za3_k$ = function () {
- return this.prefix_1;
- };
- protoOf(Language).get_suffix_jo1v8a_k$ = function () {
- return this.suffix_1;
- };
- protoOf(Language).equals = function (other) {
- if (!(other instanceof Language))
- return false;
- var tmp0_other_with_cast = other instanceof Language ? other : THROW_CCE();
- if (!(this.value_1 === tmp0_other_with_cast.value_1))
- return false;
- if (!(this.prefix_1 === tmp0_other_with_cast.prefix_1))
- return false;
- if (!(this.suffix_1 === tmp0_other_with_cast.suffix_1))
- return false;
- return true;
- };
- protoOf(Language).hashCode = function () {
- var result = imul(getStringHashCode('value'), 127) ^ getStringHashCode(this.value_1);
- result = result + (imul(getStringHashCode('prefix'), 127) ^ getStringHashCode(this.prefix_1)) | 0;
- result = result + (imul(getStringHashCode('suffix'), 127) ^ getStringHashCode(this.suffix_1)) | 0;
- return result;
- };
- protoOf(Language).toString = function () {
- return '@org.intellij.lang.annotations.Language(value=' + this.value_1 + ', prefix=' + this.prefix_1 + ', suffix=' + this.suffix_1 + ')';
- };
-
- function or(_this__u8e3s4, p) {
- var tmp;
- var tmp_0;
- if (_this__u8e3s4 instanceof AbstractChoiceParser) {
- tmp_0 = p instanceof AbstractChoiceParser;
- } else {
- tmp_0 = false;
- }
- if (tmp_0) {
- tmp = ChoiceParser(plus(_this__u8e3s4.parsers_1, p.parsers_1));
- } else {
- if (_this__u8e3s4 instanceof AbstractChoiceParser) {
- tmp = ChoiceParser(plus_0(_this__u8e3s4.parsers_1, p));
- } else {
- if (p instanceof AbstractChoiceParser) {
- tmp = ChoiceParser(plus(listOf_0(_this__u8e3s4), p.parsers_1));
- } else {
- tmp = ChoiceParser(listOf([_this__u8e3s4, p]));
- }
- }
- }
- return tmp;
- }
-
- function AbstractChoiceParser(parsers) {
- var tmp;
- if (hasUnknownFirstTokens(parsers)) {
- tmp = emptySet();
- } else {
- // Inline function 'kotlin.collections.flatMap' call
- // Inline function 'kotlin.collections.flatMapTo' call
- var destination = ArrayList_init_$Create$();
- var tmp0_iterator = parsers.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'me.alllex.parsus.parser.AbstractChoiceParser..' call
- var list = element.get_firstTokens_2spa0v_k$();
- addAll(destination, list);
- }
- tmp = toSet(destination);
- }
- ParserImpl.call(this, null, tmp);
- this.parsers_1 = parsers;
- }
-
- protoOf(AbstractChoiceParser).get_parsers_buk3at_k$ = function () {
- return this.parsers_1;
- };
-
- function $parseCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this._this__u8e3s4__2 = _this__u8e3s4_0;
- }
-
- protoOf($parseCOROUTINE$0).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(5);
- this.tmp0_iterator0__1 = this._this__u8e3s4__1.parsers_1.iterator_jk1svi_k$();
- this.set_state_rjd8d0_k$(1);
- continue $sm;
- case 1:
- if (!this.tmp0_iterator0__1.hasNext_bitz1p_k$()) {
- this.set_state_rjd8d0_k$(3);
- continue $sm;
- }
-
- this.parser1__1 = this.tmp0_iterator0__1.next_20eer_k$();
- this.set_state_rjd8d0_k$(2);
- suspendResult = this._this__u8e3s4__2.tryParse_5qpzu_k$(this.parser1__1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 2:
- this.r2__1 = suspendResult;
- var tmp_0 = this.r2__1;
- if (tmp_0 instanceof ParsedValue)
- return this.r2__1.get_value_j01efc_k$();
- this.set_state_rjd8d0_k$(1);
- continue $sm;
- case 3:
- this.set_state_rjd8d0_k$(4);
- suspendResult = this._this__u8e3s4__2.fail_gyoc2x_k$(new NoViableAlternative(this._this__u8e3s4__2.get_currentOffset_xrs403_k$()), this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 4:
- throwKotlinNothingValueException();
- break;
- case 5:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 5) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function ScannerlessChoiceParser(parsers) {
- AbstractChoiceParser.call(this, parsers);
- }
-
- protoOf(ScannerlessChoiceParser).parse_anlqtf_k$ = function (_this__u8e3s4, $completion) {
- var tmp = new $parseCOROUTINE$0(this, _this__u8e3s4, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
-
- function ChoiceParser(parsers) {
- return new ScannerlessChoiceParser(parsers);
- }
-
- function hasUnknownFirstTokens(_this__u8e3s4) {
- var tmp$ret$0;
- $l$block_0: {
- // Inline function 'kotlin.collections.any' call
- var tmp;
- if (isInterface(_this__u8e3s4, Collection)) {
- tmp = _this__u8e3s4.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = false;
- break $l$block_0;
- }
- var tmp0_iterator = _this__u8e3s4.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'me.alllex.parsus.parser.hasUnknownFirstTokens.' call
- if (hasUnknownFirstTokens_0(element)) {
- tmp$ret$0 = true;
- break $l$block_0;
- }
- }
- tmp$ret$0 = false;
- }
- return tmp$ret$0;
- }
-
- function hasUnknownFirstTokens_0(_this__u8e3s4) {
- return _this__u8e3s4.get_firstTokens_2spa0v_k$().isEmpty_y1axqb_k$();
- }
-
- function $parseCOROUTINE$1(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this._this__u8e3s4__2 = _this__u8e3s4_0;
- }
-
- protoOf($parseCOROUTINE$1).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(3);
- var tmp_0 = this;
- tmp_0.$this$parser0__1 = this._this__u8e3s4__2;
- this.set_state_rjd8d0_k$(1);
- suspendResult = this.$this$parser0__1.invoke_58si3r_k$(this._this__u8e3s4__1.$parser_1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 1:
- this.r1__1 = suspendResult;
- this.set_state_rjd8d0_k$(2);
- suspendResult = this.$this$parser0__1.invoke_58si3r_k$(EofToken_getInstance(), this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 2:
- return this.r1__1;
- case 3:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 3) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function _get_debugMode__iovywr($this) {
- return $this.debugMode_1;
- }
-
- function _get__tokens__fsevt4($this) {
- return $this._tokens_1;
- }
-
- function _set_freezeTokens__4kepgm($this, _set____db54di) {
- $this.freezeTokens_1 = _set____db54di;
- }
-
- function _get_freezeTokens__k45g0q($this) {
- return $this.freezeTokens_1;
- }
-
- function checkRegistered($this, token) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!$this._tokens_1.contains_aljjnj_k$(token)) {
- // Inline function 'me.alllex.parsus.parser.Grammar.checkRegistered.' call
- var message = 'Token ' + token + ' is not registered';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- }
-
- function parseEntire($this, parser, input) {
- beforeParsing($this);
- var tokenizer = new ScannerlessTokenizer(input, $this._tokens_1);
- var parsingContext = new ParsingContext(tokenizer, $this.debugMode_1);
- return parsingContext.runParser_9ezv2o_k$(createUntilEofParser($this, parser));
- }
-
- function parseTracingEntire($this, parser, input) {
- beforeParsing($this);
- var tokenizer = new ScannerlessTokenizer(input, $this._tokens_1, true);
- var parsingContext = new ParsingContext(tokenizer, $this.debugMode_1);
- var result = parsingContext.runParser_9ezv2o_k$(createUntilEofParser($this, parser));
- var tmp0_elvis_lhs = tokenizer.getTokenMatchingTrace_fziywr_k$();
- var tmp;
- if (tmp0_elvis_lhs == null) {
- var message = 'Token matching trace is not available';
- throw IllegalStateException_init_$Create$(toString(message));
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var trace = tmp;
- return new TracedParseResult(result, trace);
- }
-
- function beforeParsing($this) {
- $this.freezeTokens_1 = true;
- }
-
- function createUntilEofParser($this, parser) {
- // Inline function 'me.alllex.parsus.parser.parser' call
- var firstTokens = emptySet();
- var untilEofParser = new _no_name_provided__qut3iv(firstTokens, parser);
- return untilEofParser;
- }
-
- function _no_name_provided__qut3iv($firstTokens, $parser) {
- this.$parser_1 = $parser;
- ParserImpl.call(this, VOID, $firstTokens);
- }
-
- protoOf(_no_name_provided__qut3iv).parse_anlqtf_k$ = function (_this__u8e3s4, $completion) {
- var tmp = new $parseCOROUTINE$1(this, _this__u8e3s4, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
-
- function Grammar(ignoreCase, debugMode) {
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- debugMode = debugMode === VOID ? false : debugMode;
- this.ignoreCase_1 = ignoreCase;
- this.debugMode_1 = debugMode;
- var tmp = this;
- // Inline function 'kotlin.collections.mutableListOf' call
- tmp._tokens_1 = ArrayList_init_$Create$();
- this.freezeTokens_1 = false;
- this.register_loi3ch_k$(EofToken_getInstance());
- }
-
- protoOf(Grammar).get_ignoreCase_5ma991_k$ = function () {
- return this.ignoreCase_1;
- };
- protoOf(Grammar).parse_pc1q8p_k$ = function (input) {
- return parseEntire(this, this.get_root_wott0r_k$(), input);
- };
- protoOf(Grammar).parseOrThrow_n30fme_k$ = function (input) {
- return getOrThrow(this.parse_pc1q8p_k$(input));
- };
- protoOf(Grammar).parse_ad8pz3_k$ = function (parser, input) {
- return parseEntire(this, parser, input);
- };
- protoOf(Grammar).parseOrThrow_73okzo_k$ = function (parser, input) {
- return getOrThrow(this.parse_ad8pz3_k$(parser, input));
- };
- protoOf(Grammar).parseEntire_ybkg8a_k$ = function (input) {
- return this.parse_pc1q8p_k$(input);
- };
- protoOf(Grammar).parseEntireOrThrow_8o3aw5_k$ = function (input) {
- return this.parseOrThrow_n30fme_k$(input);
- };
- protoOf(Grammar).parseTracingTokenMatching_sonmwd_k$ = function (input) {
- return parseTracingEntire(this, this.get_root_wott0r_k$(), input);
- };
- protoOf(Grammar).toString = function () {
- return 'Grammar(' + this._tokens_1.get_size_woubt6_k$() + ' tokens, root = ' + this.get_root_wott0r_k$() + ')';
- };
- protoOf(Grammar).register_loi3ch_k$ = function (token) {
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this.freezeTokens_1) {
- // Inline function 'me.alllex.parsus.parser.Grammar.register.' call
- var message = 'Tokens must be registered before parsing';
- throw IllegalStateException_init_$Create$(toString(message));
- }
- // Inline function 'kotlin.check' call
- // Inline function 'kotlin.contracts.contract' call
- if (!!this._tokens_1.contains_aljjnj_k$(token)) {
- // Inline function 'me.alllex.parsus.parser.Grammar.register.' call
- var message_0 = 'Token ' + token + ' is already registered';
- throw IllegalStateException_init_$Create$(toString(message_0));
- }
- // Inline function 'kotlin.collections.plusAssign' call
- this._tokens_1.add_utx5q5_k$(token);
- };
- protoOf(Grammar).provideDelegate_2uubsd_k$ = function (_this__u8e3s4, thisRef, property) {
- // Inline function 'kotlin.also' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'me.alllex.parsus.parser.Grammar.provideDelegate.' call
- if (_this__u8e3s4.get_name_woqyms_k$() == null) {
- _this__u8e3s4.set_name_wkmnld_k$(property.callableName);
- }
- checkRegistered(this, _this__u8e3s4);
- return _this__u8e3s4;
- };
- protoOf(Grammar).getValue_d0vnq0_k$ = function (_this__u8e3s4, thisRef, property) {
- return _this__u8e3s4;
- };
- protoOf(Grammar).provideDelegate_xw2634_k$ = function (_this__u8e3s4, thisRef, property) {
- // Inline function 'kotlin.also' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'me.alllex.parsus.parser.Grammar.provideDelegate.' call
- var tmp;
- if (_this__u8e3s4 instanceof ParserImpl) {
- tmp = _this__u8e3s4.get_name_woqyms_k$() == null;
- } else {
- tmp = false;
- }
- if (tmp) {
- _this__u8e3s4.set_name_wkmnld_k$(property.callableName);
- }
- return _this__u8e3s4;
- };
- protoOf(Grammar).getValue_eqshh7_k$ = function (_this__u8e3s4, thisRef, property) {
- return _this__u8e3s4;
- };
-
- function GrammarContext() {
- }
-
- function IgnoredValue() {
- IgnoredValue_instance = this;
- }
-
- var IgnoredValue_instance;
-
- function IgnoredValue_getInstance() {
- if (IgnoredValue_instance == null)
- new IgnoredValue();
- return IgnoredValue_instance;
- }
-
- function ParseResult() {
- }
-
- function getOrThrow(_this__u8e3s4) {
- var tmp;
- if (_this__u8e3s4 instanceof ParsedValue) {
- tmp = _this__u8e3s4.value_1;
- } else {
- if (_this__u8e3s4 instanceof ParseError) {
- throw new ParseException(_this__u8e3s4);
- } else {
- noWhenBranchMatchedException();
- }
- }
- return tmp;
- }
-
- function ParseException(error) {
- Exception_init_$Init$(this);
- captureStack(this, ParseException);
- this.error_1 = error;
- }
-
- protoOf(ParseException).get_error_iqzvfj_k$ = function () {
- return this.error_1;
- };
- protoOf(ParseException).toString = function () {
- return 'ParseException: ' + this.error_1.describe_gu7v0r_k$();
- };
-
- function ParseError() {
- ParseResult.call(this);
- }
-
- protoOf(ParseError).get_contextProvider_uzjb2v_k$ = function () {
- return null;
- };
- protoOf(ParseError).toString = function () {
- return this.describe_gu7v0r_k$();
- };
- protoOf(ParseError).format_odpit3_k$ = function (message, messageAtOffset) {
- // Inline function 'kotlin.text.buildString' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.apply' call
- var this_0 = StringBuilder_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'me.alllex.parsus.parser.ParseError.format.' call
- this_0.append_22ad7x_k$(message);
- var tmp0_safe_receiver = this.get_contextProvider_uzjb2v_k$();
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.getParseErrorContext_qs1i9g_k$(this.get_offset_hjmqak_k$());
- if (tmp1_safe_receiver == null)
- null;
- else {
- // Inline function 'kotlin.run' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.text.appendLine' call
- this_0.append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- this_0.append_22ad7x_k$(repeat(' ', tmp1_safe_receiver.lookBehind_1)).append_22ad7x_k$(messageAtOffset);
- // Inline function 'kotlin.text.appendLine' call
- this_0.append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- this_0.append_22ad7x_k$(repeat(' ', tmp1_safe_receiver.lookBehind_1)).append_22ad7x_k$('\u2193 offset=' + this.get_offset_hjmqak_k$() + ' (or after ignored tokens)');
- // Inline function 'kotlin.text.appendLine' call
- this_0.append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- // Inline function 'kotlin.text.appendLine' call
- var value = replaceNonPrintable(tmp1_safe_receiver.inputSection_1);
- // Inline function 'kotlin.text.appendLine' call
- this_0.append_22ad7x_k$(value).append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- var tmp;
- if (!(tmp1_safe_receiver.previousTokenMatch_1 == null)) {
- this_0.append_22ad7x_k$(repeat('\u2191', coerceAtLeast(tmp1_safe_receiver.previousTokenMatch_1.get_length_g42xv3_k$(), 1)));
- this_0.append_22ad7x_k$(' Previous token: ' + tmp1_safe_receiver.previousTokenMatch_1.get_token_iz6pxs_k$() + ' at offset=' + tmp1_safe_receiver.previousTokenMatch_1.get_offset_hjmqak_k$());
- // Inline function 'kotlin.text.appendLine' call
- this_0.append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- tmp = Unit_getInstance();
- }
- }
- return this_0.toString();
- };
-
- function ParsedValue(value) {
- ParseResult.call(this);
- this.value_1 = value;
- }
-
- protoOf(ParsedValue).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- protoOf(ParsedValue).component1_7eebsc_k$ = function () {
- return this.value_1;
- };
- protoOf(ParsedValue).copy_62qimy_k$ = function (value) {
- return new ParsedValue(value);
- };
- protoOf(ParsedValue).copy$default_2ciass_k$ = function (value, $super) {
- value = value === VOID ? this.value_1 : value;
- return $super === VOID ? this.copy_62qimy_k$(value) : $super.copy_62qimy_k$.call(this, value);
- };
- protoOf(ParsedValue).toString = function () {
- return 'ParsedValue(value=' + this.value_1 + ')';
- };
- protoOf(ParsedValue).hashCode = function () {
- return this.value_1 == null ? 0 : hashCode(this.value_1);
- };
- protoOf(ParsedValue).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof ParsedValue))
- return false;
- var tmp0_other_with_cast = other instanceof ParsedValue ? other : THROW_CCE();
- if (!equals(this.value_1, tmp0_other_with_cast.value_1))
- return false;
- return true;
- };
-
- function NoViableAlternative(offset) {
- ParseError.call(this);
- this.offset_1 = offset;
- }
-
- protoOf(NoViableAlternative).get_offset_hjmqak_k$ = function () {
- return this.offset_1;
- };
- protoOf(NoViableAlternative).toString = function () {
- return this.describe_gu7v0r_k$();
- };
- protoOf(NoViableAlternative).describe_gu7v0r_k$ = function () {
- return this.format_odpit3_k$('None of the alternatives succeeded at offset=' + this.offset_1, 'None of the alternatives succeeded');
- };
- protoOf(NoViableAlternative).component1_7eebsc_k$ = function () {
- return this.offset_1;
- };
- protoOf(NoViableAlternative).copy_ns6qmb_k$ = function (offset) {
- return new NoViableAlternative(offset);
- };
- protoOf(NoViableAlternative).copy$default_2yda99_k$ = function (offset, $super) {
- offset = offset === VOID ? this.offset_1 : offset;
- return $super === VOID ? this.copy_ns6qmb_k$(offset) : $super.copy_ns6qmb_k$.call(this, offset);
- };
- protoOf(NoViableAlternative).hashCode = function () {
- return this.offset_1;
- };
- protoOf(NoViableAlternative).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof NoViableAlternative))
- return false;
- var tmp0_other_with_cast = other instanceof NoViableAlternative ? other : THROW_CCE();
- if (!(this.offset_1 === tmp0_other_with_cast.offset_1))
- return false;
- return true;
- };
-
- function getOrElse(_this__u8e3s4, f) {
- var tmp;
- if (_this__u8e3s4 instanceof ParsedValue) {
- tmp = _this__u8e3s4.value_1;
- } else {
- if (_this__u8e3s4 instanceof ParseError) {
- tmp = f(_this__u8e3s4);
- } else {
- noWhenBranchMatchedException();
- }
- }
- return tmp;
- }
-
- function ParseErrorContextProvider() {
- }
-
- function ParseErrorContext(inputSection, lookBehind, lookAhead, previousTokenMatch) {
- this.inputSection_1 = inputSection;
- this.lookBehind_1 = lookBehind;
- this.lookAhead_1 = lookAhead;
- this.previousTokenMatch_1 = previousTokenMatch;
- }
-
- protoOf(ParseErrorContext).get_inputSection_hl9csc_k$ = function () {
- return this.inputSection_1;
- };
- protoOf(ParseErrorContext).get_lookBehind_mz6ugu_k$ = function () {
- return this.lookBehind_1;
- };
- protoOf(ParseErrorContext).get_lookAhead_qqo1q1_k$ = function () {
- return this.lookAhead_1;
- };
- protoOf(ParseErrorContext).get_previousTokenMatch_outyok_k$ = function () {
- return this.previousTokenMatch_1;
- };
- protoOf(ParseErrorContext).component1_7eebsc_k$ = function () {
- return this.inputSection_1;
- };
- protoOf(ParseErrorContext).component2_7eebsb_k$ = function () {
- return this.lookBehind_1;
- };
- protoOf(ParseErrorContext).component3_7eebsa_k$ = function () {
- return this.lookAhead_1;
- };
- protoOf(ParseErrorContext).component4_7eebs9_k$ = function () {
- return this.previousTokenMatch_1;
- };
- protoOf(ParseErrorContext).copy_5qesep_k$ = function (inputSection, lookBehind, lookAhead, previousTokenMatch) {
- return new ParseErrorContext(inputSection, lookBehind, lookAhead, previousTokenMatch);
- };
- protoOf(ParseErrorContext).copy$default_8v4vcu_k$ = function (inputSection, lookBehind, lookAhead, previousTokenMatch, $super) {
- inputSection = inputSection === VOID ? this.inputSection_1 : inputSection;
- lookBehind = lookBehind === VOID ? this.lookBehind_1 : lookBehind;
- lookAhead = lookAhead === VOID ? this.lookAhead_1 : lookAhead;
- previousTokenMatch = previousTokenMatch === VOID ? this.previousTokenMatch_1 : previousTokenMatch;
- return $super === VOID ? this.copy_5qesep_k$(inputSection, lookBehind, lookAhead, previousTokenMatch) : $super.copy_5qesep_k$.call(this, inputSection, lookBehind, lookAhead, previousTokenMatch);
- };
- protoOf(ParseErrorContext).toString = function () {
- return 'ParseErrorContext(inputSection=' + this.inputSection_1 + ', lookBehind=' + this.lookBehind_1 + ', lookAhead=' + this.lookAhead_1 + ', previousTokenMatch=' + this.previousTokenMatch_1 + ')';
- };
- protoOf(ParseErrorContext).hashCode = function () {
- var result = getStringHashCode(this.inputSection_1);
- result = imul(result, 31) + this.lookBehind_1 | 0;
- result = imul(result, 31) + this.lookAhead_1 | 0;
- result = imul(result, 31) + (this.previousTokenMatch_1 == null ? 0 : this.previousTokenMatch_1.hashCode()) | 0;
- return result;
- };
- protoOf(ParseErrorContext).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof ParseErrorContext))
- return false;
- var tmp0_other_with_cast = other instanceof ParseErrorContext ? other : THROW_CCE();
- if (!(this.inputSection_1 === tmp0_other_with_cast.inputSection_1))
- return false;
- if (!(this.lookBehind_1 === tmp0_other_with_cast.lookBehind_1))
- return false;
- if (!(this.lookAhead_1 === tmp0_other_with_cast.lookAhead_1))
- return false;
- if (!equals(this.previousTokenMatch_1, tmp0_other_with_cast.previousTokenMatch_1))
- return false;
- return true;
- };
-
- function get_arrowDown() {
- return arrowDown;
- }
-
- var arrowDown;
-
- function get_arrowUp() {
- return arrowUp;
- }
-
- var arrowUp;
-
- function UnmatchedToken(expected, offset, contextProvider) {
- contextProvider = contextProvider === VOID ? null : contextProvider;
- ParseError.call(this);
- this.expected_1 = expected;
- this.offset_1 = offset;
- this.contextProvider_1 = contextProvider;
- }
-
- protoOf(UnmatchedToken).get_expected_77p56p_k$ = function () {
- return this.expected_1;
- };
- protoOf(UnmatchedToken).get_offset_hjmqak_k$ = function () {
- return this.offset_1;
- };
- protoOf(UnmatchedToken).get_contextProvider_uzjb2v_k$ = function () {
- return this.contextProvider_1;
- };
- protoOf(UnmatchedToken).toString = function () {
- return this.describe_gu7v0r_k$();
- };
- protoOf(UnmatchedToken).describe_gu7v0r_k$ = function () {
- return this.format_odpit3_k$('Unmatched token at offset=' + this.offset_1 + ', when expected: ' + toPrintableString(this.expected_1), 'Expected token: ' + toPrintableString(this.expected_1));
- };
- protoOf(UnmatchedToken).component1_7eebsc_k$ = function () {
- return this.expected_1;
- };
- protoOf(UnmatchedToken).component2_7eebsb_k$ = function () {
- return this.offset_1;
- };
- protoOf(UnmatchedToken).component3_7eebsa_k$ = function () {
- return this.contextProvider_1;
- };
- protoOf(UnmatchedToken).copy_zhi3tc_k$ = function (expected, offset, contextProvider) {
- return new UnmatchedToken(expected, offset, contextProvider);
- };
- protoOf(UnmatchedToken).copy$default_ypzu8p_k$ = function (expected, offset, contextProvider, $super) {
- expected = expected === VOID ? this.expected_1 : expected;
- offset = offset === VOID ? this.offset_1 : offset;
- contextProvider = contextProvider === VOID ? this.contextProvider_1 : contextProvider;
- return $super === VOID ? this.copy_zhi3tc_k$(expected, offset, contextProvider) : $super.copy_zhi3tc_k$.call(this, expected, offset, contextProvider);
- };
- protoOf(UnmatchedToken).hashCode = function () {
- var result = hashCode(this.expected_1);
- result = imul(result, 31) + this.offset_1 | 0;
- result = imul(result, 31) + (this.contextProvider_1 == null ? 0 : hashCode(this.contextProvider_1)) | 0;
- return result;
- };
- protoOf(UnmatchedToken).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof UnmatchedToken))
- return false;
- var tmp0_other_with_cast = other instanceof UnmatchedToken ? other : THROW_CCE();
- if (!equals(this.expected_1, tmp0_other_with_cast.expected_1))
- return false;
- if (!(this.offset_1 === tmp0_other_with_cast.offset_1))
- return false;
- if (!equals(this.contextProvider_1, tmp0_other_with_cast.contextProvider_1))
- return false;
- return true;
- };
-
- function MismatchedToken(expected, found, contextProvider) {
- contextProvider = contextProvider === VOID ? null : contextProvider;
- ParseError.call(this);
- this.expected_1 = expected;
- this.found_1 = found;
- this.contextProvider_1 = contextProvider;
- }
-
- protoOf(MismatchedToken).get_expected_77p56p_k$ = function () {
- return this.expected_1;
- };
- protoOf(MismatchedToken).get_found_irht95_k$ = function () {
- return this.found_1;
- };
- protoOf(MismatchedToken).get_contextProvider_uzjb2v_k$ = function () {
- return this.contextProvider_1;
- };
- protoOf(MismatchedToken).get_offset_hjmqak_k$ = function () {
- return this.found_1.get_offset_hjmqak_k$();
- };
- protoOf(MismatchedToken).toString = function () {
- return this.describe_gu7v0r_k$();
- };
- protoOf(MismatchedToken).describe_gu7v0r_k$ = function () {
- return this.format_odpit3_k$('Mismatched token at offset=' + this.get_offset_hjmqak_k$() + ', when expected: ' + toPrintableString(this.expected_1) + ', got: ' + toPrintableString(this.found_1.get_token_iz6pxs_k$()), 'Expected token: ' + toPrintableString(this.expected_1) + ' at offset=' + this.get_offset_hjmqak_k$() + ', got: ' + toPrintableString(this.found_1.get_token_iz6pxs_k$()));
- };
- protoOf(MismatchedToken).component1_7eebsc_k$ = function () {
- return this.expected_1;
- };
- protoOf(MismatchedToken).component2_7eebsb_k$ = function () {
- return this.found_1;
- };
- protoOf(MismatchedToken).component3_7eebsa_k$ = function () {
- return this.contextProvider_1;
- };
- protoOf(MismatchedToken).copy_cy71nx_k$ = function (expected, found, contextProvider) {
- return new MismatchedToken(expected, found, contextProvider);
- };
- protoOf(MismatchedToken).copy$default_xj13ji_k$ = function (expected, found, contextProvider, $super) {
- expected = expected === VOID ? this.expected_1 : expected;
- found = found === VOID ? this.found_1 : found;
- contextProvider = contextProvider === VOID ? this.contextProvider_1 : contextProvider;
- return $super === VOID ? this.copy_cy71nx_k$(expected, found, contextProvider) : $super.copy_cy71nx_k$.call(this, expected, found, contextProvider);
- };
- protoOf(MismatchedToken).hashCode = function () {
- var result = hashCode(this.expected_1);
- result = imul(result, 31) + this.found_1.hashCode() | 0;
- result = imul(result, 31) + (this.contextProvider_1 == null ? 0 : hashCode(this.contextProvider_1)) | 0;
- return result;
- };
- protoOf(MismatchedToken).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof MismatchedToken))
- return false;
- var tmp0_other_with_cast = other instanceof MismatchedToken ? other : THROW_CCE();
- if (!equals(this.expected_1, tmp0_other_with_cast.expected_1))
- return false;
- if (!this.found_1.equals(tmp0_other_with_cast.found_1))
- return false;
- if (!equals(this.contextProvider_1, tmp0_other_with_cast.contextProvider_1))
- return false;
- return true;
- };
-
- function NotEnoughRepetition(offset, expectedAtLeast, actualCount) {
- ParseError.call(this);
- this.offset_1 = offset;
- this.expectedAtLeast_1 = expectedAtLeast;
- this.actualCount_1 = actualCount;
- }
-
- protoOf(NotEnoughRepetition).get_offset_hjmqak_k$ = function () {
- return this.offset_1;
- };
- protoOf(NotEnoughRepetition).get_expectedAtLeast_bhjnij_k$ = function () {
- return this.expectedAtLeast_1;
- };
- protoOf(NotEnoughRepetition).get_actualCount_xzuj48_k$ = function () {
- return this.actualCount_1;
- };
- protoOf(NotEnoughRepetition).toString = function () {
- return this.describe_gu7v0r_k$();
- };
- protoOf(NotEnoughRepetition).describe_gu7v0r_k$ = function () {
- return 'Expected at least ' + this.expectedAtLeast_1 + ', found ' + this.actualCount_1;
- };
- protoOf(NotEnoughRepetition).component1_7eebsc_k$ = function () {
- return this.offset_1;
- };
- protoOf(NotEnoughRepetition).component2_7eebsb_k$ = function () {
- return this.expectedAtLeast_1;
- };
- protoOf(NotEnoughRepetition).component3_7eebsa_k$ = function () {
- return this.actualCount_1;
- };
- protoOf(NotEnoughRepetition).copy_6of2tf_k$ = function (offset, expectedAtLeast, actualCount) {
- return new NotEnoughRepetition(offset, expectedAtLeast, actualCount);
- };
- protoOf(NotEnoughRepetition).copy$default_18aq5y_k$ = function (offset, expectedAtLeast, actualCount, $super) {
- offset = offset === VOID ? this.offset_1 : offset;
- expectedAtLeast = expectedAtLeast === VOID ? this.expectedAtLeast_1 : expectedAtLeast;
- actualCount = actualCount === VOID ? this.actualCount_1 : actualCount;
- return $super === VOID ? this.copy_6of2tf_k$(offset, expectedAtLeast, actualCount) : $super.copy_6of2tf_k$.call(this, offset, expectedAtLeast, actualCount);
- };
- protoOf(NotEnoughRepetition).hashCode = function () {
- var result = this.offset_1;
- result = imul(result, 31) + this.expectedAtLeast_1 | 0;
- result = imul(result, 31) + this.actualCount_1 | 0;
- return result;
- };
- protoOf(NotEnoughRepetition).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof NotEnoughRepetition))
- return false;
- var tmp0_other_with_cast = other instanceof NotEnoughRepetition ? other : THROW_CCE();
- if (!(this.offset_1 === tmp0_other_with_cast.offset_1))
- return false;
- if (!(this.expectedAtLeast_1 === tmp0_other_with_cast.expectedAtLeast_1))
- return false;
- if (!(this.actualCount_1 === tmp0_other_with_cast.actualCount_1))
- return false;
- return true;
- };
-
- function Parser() {
- }
-
- function ref(parserProperty) {
- return new ref$1(parserProperty);
- }
-
- function parser(firstTokens, block) {
- firstTokens = firstTokens === VOID ? emptySet() : firstTokens;
- return new _no_name_provided__qut3iv_0(firstTokens, block);
- }
-
- function ParserImpl(name, firstTokens) {
- name = name === VOID ? null : name;
- firstTokens = firstTokens === VOID ? emptySet() : firstTokens;
- this.name_1 = name;
- this.firstTokens_1 = firstTokens;
- }
-
- protoOf(ParserImpl).set_name_wkmnld_k$ = function (_set____db54di) {
- this.name_1 = _set____db54di;
- };
- protoOf(ParserImpl).get_name_woqyms_k$ = function () {
- return this.name_1;
- };
- protoOf(ParserImpl).get_firstTokens_2spa0v_k$ = function () {
- return this.firstTokens_1;
- };
- protoOf(ParserImpl).toString = function () {
- var tmp0_elvis_lhs = this.name_1;
- return tmp0_elvis_lhs == null ? anyToString(this) : tmp0_elvis_lhs;
- };
-
- function _get_parser__ooioy4($this) {
- // Inline function 'kotlin.getValue' call
- var this_0 = $this.parser$delegate_1;
- parser$factory();
- return this_0.get_value_j01efc_k$();
- }
-
- function ref$o$parser$delegate$lambda($parserProperty) {
- return function () {
- return $parserProperty();
- };
- }
-
- function ref$1($parserProperty) {
- ParserImpl.call(this, $parserProperty.callableName, emptySet());
- var tmp = this;
- tmp.parser$delegate_1 = lazy(ref$o$parser$delegate$lambda($parserProperty));
- }
-
- protoOf(ref$1).parse_anlqtf_k$ = function (_this__u8e3s4, $completion) {
- return _this__u8e3s4.invoke_58si3r_k$(_get_parser__ooioy4(this), $completion);
- };
- protoOf(ref$1).toString = function () {
- var tmp0_elvis_lhs = this.name_1;
- return 'ref(' + (tmp0_elvis_lhs == null ? toString(_get_parser__ooioy4(this)) : tmp0_elvis_lhs) + ')';
- };
-
- function _no_name_provided__qut3iv_0($firstTokens, $block) {
- this.$block_1 = $block;
- ParserImpl.call(this, VOID, $firstTokens);
- }
-
- protoOf(_no_name_provided__qut3iv_0).parse_anlqtf_k$ = function (_this__u8e3s4, $completion) {
- return this.$block_1(_this__u8e3s4, $completion);
- };
-
- function parser$factory() {
- return getPropertyCallableRef('parser', 1, KProperty1, function (receiver) {
- return _get_parser__ooioy4(receiver);
- }, null);
- }
-
- function _get_PENDING_RESULT__vr7xza($this) {
- return $this.PENDING_RESULT_1;
- }
-
- function continuingWith($this, debugName, resumeWith) {
- var tmp;
- if (debugName == null) {
- // Inline function 'kotlin.coroutines.Continuation' call
- var context = EmptyCoroutineContext_getInstance();
- tmp = new _no_name_provided__qut3iv_1(context, resumeWith);
- } else {
- tmp = new _no_name_provided__qut3iv_2(resumeWith, debugName);
- }
- return tmp;
- }
-
- function _no_name_provided__qut3iv_1($context, $resumeWith) {
- this.$context_1 = $context;
- this.$resumeWith_1 = $resumeWith;
- }
-
- protoOf(_no_name_provided__qut3iv_1).get_context_h02k06_k$ = function () {
- return this.$context_1;
- };
- protoOf(_no_name_provided__qut3iv_1).resumeWith_dtxwbr_k$ = function (result) {
- return this.$resumeWith_1(new Result(result));
- };
-
- function _no_name_provided__qut3iv_2($resumeWith, $debugName) {
- this.$resumeWith_1 = $resumeWith;
- this.$debugName_1 = $debugName;
- }
-
- protoOf(_no_name_provided__qut3iv_2).get_context_h02k06_k$ = function () {
- return EmptyCoroutineContext_getInstance();
- };
- protoOf(_no_name_provided__qut3iv_2).resumeWith_dtxwbr_k$ = function (result) {
- return this.$resumeWith_1(new Result(result));
- };
- protoOf(_no_name_provided__qut3iv_2).toString = function () {
- return this.$debugName_1;
- };
-
- function _get_tokenizer__jsl4h2($this) {
- return $this.tokenizer_1;
- }
-
- function _get_debugMode__iovywr_0($this) {
- return $this.debugMode_1;
- }
-
- function _get_inputLength__qbt70f($this) {
- return $this.inputLength_1;
- }
-
- function _set_backtrackCont__p38iz5($this, _set____db54di) {
- $this.backtrackCont_1 = _set____db54di;
- }
-
- function _get_backtrackCont__uq40hn($this) {
- return $this.backtrackCont_1;
- }
-
- function _set_cont__9l7dk5($this, _set____db54di) {
- $this.cont_1 = _set____db54di;
- }
-
- function _get_cont__d4zd5l($this) {
- return $this.cont_1;
- }
-
- function _set_position__5hlfea($this, _set____db54di) {
- $this.position_1 = _set____db54di;
- }
-
- function _get_position__iahqv2($this) {
- return $this.position_1;
- }
-
- function _set_lastTokenMatchContext__rk6vbs($this, _set____db54di) {
- $this.lastTokenMatchContext_1 = _set____db54di;
- }
-
- function _get_lastTokenMatchContext__lekiw4($this) {
- return $this.lastTokenMatchContext_1;
- }
-
- function _set_result__gjrnty($this, _set____db54di) {
- $this.result_1 = _set____db54di;
- }
-
- function _get_result__f31376($this) {
- return $this.result_1;
- }
-
- function getParseErrorContextProviderOrNull($this) {
- return $this.lastTokenMatchContext_1;
- }
-
- function tryParseImpl($this, parser, $completion) {
- // Inline function 'me.alllex.parsus.parser.ParsingContext.tryParseImpl.' call
- var prevBacktrack = $this.backtrackCont_1;
- var curPosition = $this.position_1;
- // Inline function 'me.alllex.parsus.parser.Companion.continuingWith' call
- Companion_getInstance_0();
- // Inline function 'me.alllex.parsus.parser.ParsingContext.debugName' call
- var tmp;
- if ($this.debugMode_1) {
- // Inline function 'me.alllex.parsus.parser.ParsingContext.tryParseImpl..' call
- tmp = 'Forward ' + parser;
- } else {
- tmp = null;
- }
- var debugName = tmp;
- var tmp_0;
- if (debugName == null) {
- // Inline function 'kotlin.coroutines.Continuation' call
- var context = EmptyCoroutineContext_getInstance();
- tmp_0 = new _no_name_provided__qut3iv_5(context, $this, prevBacktrack, $completion);
- } else {
- tmp_0 = new _no_name_provided__qut3iv_6($this, prevBacktrack, $completion, debugName);
- }
- var backtrackRestoringCont = tmp_0;
- var newCont = createParserCoroutine($this, parser, backtrackRestoringCont);
- // Inline function 'me.alllex.parsus.parser.Companion.continuingWith' call
- Companion_getInstance_0();
- // Inline function 'me.alllex.parsus.parser.ParsingContext.debugName' call
- var tmp_1;
- if ($this.debugMode_1) {
- // Inline function 'me.alllex.parsus.parser.ParsingContext.tryParseImpl..' call
- tmp_1 = 'Backtrack[' + curPosition + '] ' + parser;
- } else {
- tmp_1 = null;
- }
- var debugName_0 = tmp_1;
- var tmp_2;
- if (debugName_0 == null) {
- // Inline function 'kotlin.coroutines.Continuation' call
- var context_0 = EmptyCoroutineContext_getInstance();
- tmp_2 = new _no_name_provided__qut3iv_7(context_0, $this, prevBacktrack, curPosition, $completion);
- } else {
- tmp_2 = new _no_name_provided__qut3iv_8($this, prevBacktrack, curPosition, $completion, debugName_0);
- }
- var newBacktrack = tmp_2;
- var tmp_3 = $this;
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance();
- tmp_3.result_1 = _Result___init__impl__xyqfz8(Unit_getInstance());
- withCont($this, newCont);
- $this.backtrackCont_1 = newBacktrack;
- return get_COROUTINE_SUSPENDED();
- }
-
- function runParseLoop($this) {
- $l$loop: while (true) {
- var tmp0_elvis_lhs = $this.cont_1;
- var tmp;
- if (tmp0_elvis_lhs == null) {
- break $l$loop;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var cont = tmp;
- var resumeValue = $this.result_1;
- $this.cont_1 = null;
- $this.result_1 = Companion_getInstance_0().PENDING_RESULT_1;
- cont.resumeWith_dtxwbr_k$(resumeValue);
- }
- }
-
- function createParserCoroutine($this, parser, then) {
- var doParse = ParsingContext$createParserCoroutine$slambda_0(parser, null);
- return createCoroutineUnintercepted(doParse, $this, then);
- }
-
- function withCont($this, continuation) {
- var tmp = $this;
- tmp.cont_1 = (continuation == null ? true : isInterface(continuation, Continuation)) ? continuation : THROW_CCE();
- }
-
- function debugName($this, block) {
- return $this.debugMode_1 ? block() : null;
- }
-
- function Companion() {
- Companion_instance = this;
- var tmp = this;
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance();
- var value = get_COROUTINE_SUSPENDED();
- tmp.PENDING_RESULT_1 = _Result___init__impl__xyqfz8(value);
- }
-
- var Companion_instance;
-
- function Companion_getInstance_0() {
- if (Companion_instance == null)
- new Companion();
- return Companion_instance;
- }
-
- function _no_name_provided__qut3iv_3($context, this$0) {
- this.$context_1 = $context;
- this.this$0__1 = this$0;
- }
-
- protoOf(_no_name_provided__qut3iv_3).get_context_h02k06_k$ = function () {
- return this.$context_1;
- };
- protoOf(_no_name_provided__qut3iv_3).resumeWith_dtxwbr_k$ = function (result) {
- this.this$0__1.backtrackCont_1 = null;
- this.this$0__1.cont_1 = null;
- var tmp = this.this$0__1;
- // Inline function 'kotlin.map' call
- // Inline function 'kotlin.contracts.contract' call
- var tmp_0;
- if (_Result___get_isSuccess__impl__sndoy8(result)) {
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance();
- var tmp_1 = _Result___get_value__impl__bjfvqg(result);
- var value = new ParsedValue((tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE());
- tmp_0 = _Result___init__impl__xyqfz8(value);
- } else {
- tmp_0 = _Result___init__impl__xyqfz8(_Result___get_value__impl__bjfvqg(result));
- }
- tmp.result_1 = tmp_0;
- return Unit_getInstance();
- };
-
- function _no_name_provided__qut3iv_4(this$0, $debugName) {
- this.this$0__1 = this$0;
- this.$debugName_1 = $debugName;
- }
-
- protoOf(_no_name_provided__qut3iv_4).get_context_h02k06_k$ = function () {
- return EmptyCoroutineContext_getInstance();
- };
- protoOf(_no_name_provided__qut3iv_4).resumeWith_dtxwbr_k$ = function (result) {
- this.this$0__1.backtrackCont_1 = null;
- this.this$0__1.cont_1 = null;
- var tmp = this.this$0__1;
- // Inline function 'kotlin.map' call
- // Inline function 'kotlin.contracts.contract' call
- var tmp_0;
- if (_Result___get_isSuccess__impl__sndoy8(result)) {
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance();
- var tmp_1 = _Result___get_value__impl__bjfvqg(result);
- var value = new ParsedValue((tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE());
- tmp_0 = _Result___init__impl__xyqfz8(value);
- } else {
- tmp_0 = _Result___init__impl__xyqfz8(_Result___get_value__impl__bjfvqg(result));
- }
- tmp.result_1 = tmp_0;
- return Unit_getInstance();
- };
- protoOf(_no_name_provided__qut3iv_4).toString = function () {
- return this.$debugName_1;
- };
-
- function _no_name_provided__qut3iv_5($context, this$0, $prevBacktrack, $mergeCont) {
- this.$context_1 = $context;
- this.this$0__1 = this$0;
- this.$prevBacktrack_1 = $prevBacktrack;
- this.$mergeCont_1 = $mergeCont;
- }
-
- protoOf(_no_name_provided__qut3iv_5).get_context_h02k06_k$ = function () {
- return this.$context_1;
- };
- protoOf(_no_name_provided__qut3iv_5).resumeWith_dtxwbr_k$ = function (result) {
- this.this$0__1.backtrackCont_1 = this.$prevBacktrack_1;
- withCont(this.this$0__1, this.$mergeCont_1);
- var tmp = this.this$0__1;
- // Inline function 'kotlin.map' call
- // Inline function 'kotlin.contracts.contract' call
- var tmp_0;
- if (_Result___get_isSuccess__impl__sndoy8(result)) {
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance();
- // Inline function 'me.alllex.parsus.parser.ParsingContext.tryParseImpl...' call
- var tmp_1 = _Result___get_value__impl__bjfvqg(result);
- var it = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
- var value = new ParsedValue(it);
- tmp_0 = _Result___init__impl__xyqfz8(value);
- } else {
- tmp_0 = _Result___init__impl__xyqfz8(_Result___get_value__impl__bjfvqg(result));
- }
- tmp.result_1 = tmp_0;
- return Unit_getInstance();
- };
-
- function _no_name_provided__qut3iv_6(this$0, $prevBacktrack, $mergeCont, $debugName) {
- this.this$0__1 = this$0;
- this.$prevBacktrack_1 = $prevBacktrack;
- this.$mergeCont_1 = $mergeCont;
- this.$debugName_1 = $debugName;
- }
-
- protoOf(_no_name_provided__qut3iv_6).get_context_h02k06_k$ = function () {
- return EmptyCoroutineContext_getInstance();
- };
- protoOf(_no_name_provided__qut3iv_6).resumeWith_dtxwbr_k$ = function (result) {
- this.this$0__1.backtrackCont_1 = this.$prevBacktrack_1;
- withCont(this.this$0__1, this.$mergeCont_1);
- var tmp = this.this$0__1;
- // Inline function 'kotlin.map' call
- // Inline function 'kotlin.contracts.contract' call
- var tmp_0;
- if (_Result___get_isSuccess__impl__sndoy8(result)) {
- // Inline function 'kotlin.Companion.success' call
- Companion_getInstance();
- // Inline function 'me.alllex.parsus.parser.ParsingContext.tryParseImpl...' call
- var tmp_1 = _Result___get_value__impl__bjfvqg(result);
- var it = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
- var value = new ParsedValue(it);
- tmp_0 = _Result___init__impl__xyqfz8(value);
- } else {
- tmp_0 = _Result___init__impl__xyqfz8(_Result___get_value__impl__bjfvqg(result));
- }
- tmp.result_1 = tmp_0;
- return Unit_getInstance();
- };
- protoOf(_no_name_provided__qut3iv_6).toString = function () {
- return this.$debugName_1;
- };
-
- function _no_name_provided__qut3iv_7($context, this$0, $prevBacktrack, $curPosition, $mergeCont) {
- this.$context_1 = $context;
- this.this$0__1 = this$0;
- this.$prevBacktrack_1 = $prevBacktrack;
- this.$curPosition_1 = $curPosition;
- this.$mergeCont_1 = $mergeCont;
- }
-
- protoOf(_no_name_provided__qut3iv_7).get_context_h02k06_k$ = function () {
- return this.$context_1;
- };
- protoOf(_no_name_provided__qut3iv_7).resumeWith_w5bfsd_k$ = function (result) {
- this.this$0__1.backtrackCont_1 = this.$prevBacktrack_1;
- this.this$0__1.position_1 = this.$curPosition_1;
- withCont(this.this$0__1, this.$mergeCont_1);
- this.this$0__1.result_1 = result;
- return Unit_getInstance();
- };
- protoOf(_no_name_provided__qut3iv_7).resumeWith_dtxwbr_k$ = function (result) {
- return this.resumeWith_w5bfsd_k$(result);
- };
-
- function _no_name_provided__qut3iv_8(this$0, $prevBacktrack, $curPosition, $mergeCont, $debugName) {
- this.this$0__1 = this$0;
- this.$prevBacktrack_1 = $prevBacktrack;
- this.$curPosition_1 = $curPosition;
- this.$mergeCont_1 = $mergeCont;
- this.$debugName_1 = $debugName;
- }
-
- protoOf(_no_name_provided__qut3iv_8).get_context_h02k06_k$ = function () {
- return EmptyCoroutineContext_getInstance();
- };
- protoOf(_no_name_provided__qut3iv_8).resumeWith_w5bfsd_k$ = function (result) {
- this.this$0__1.backtrackCont_1 = this.$prevBacktrack_1;
- this.this$0__1.position_1 = this.$curPosition_1;
- withCont(this.this$0__1, this.$mergeCont_1);
- this.this$0__1.result_1 = result;
- return Unit_getInstance();
- };
- protoOf(_no_name_provided__qut3iv_8).resumeWith_dtxwbr_k$ = function (result) {
- return this.resumeWith_w5bfsd_k$(result);
- };
- protoOf(_no_name_provided__qut3iv_8).toString = function () {
- return this.$debugName_1;
- };
-
- function ParsingContext$createParserCoroutine$slambda($parser, resultContinuation) {
- this.$parser_1 = $parser;
- CoroutineImpl.call(this, resultContinuation);
- }
-
- protoOf(ParsingContext$createParserCoroutine$slambda).invoke_a83s7o_k$ = function ($this$null, $completion) {
- var tmp = this.create_662q7y_k$($this$null, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
- protoOf(ParsingContext$createParserCoroutine$slambda).invoke_qns8j1_k$ = function (p1, $completion) {
- return this.invoke_a83s7o_k$((!(p1 == null) ? isInterface(p1, ParsingScope) : false) ? p1 : THROW_CCE(), $completion);
- };
- protoOf(ParsingContext$createParserCoroutine$slambda).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(2);
- var tmp_0 = this;
- tmp_0.this0__1 = this.$parser_1;
- var tmp_1 = this;
- tmp_1.$this$run1__1 = this.this0__1;
- this.set_state_rjd8d0_k$(1);
- suspendResult = this.$this$run1__1.parse_anlqtf_k$(this.$this$null_1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 1:
- return suspendResult;
- case 2:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 2) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
- protoOf(ParsingContext$createParserCoroutine$slambda).create_662q7y_k$ = function ($this$null, completion) {
- var i = new ParsingContext$createParserCoroutine$slambda(this.$parser_1, completion);
- i.$this$null_1 = $this$null;
- return i;
- };
- protoOf(ParsingContext$createParserCoroutine$slambda).create_wyq9v6_k$ = function (value, completion) {
- return this.create_662q7y_k$((!(value == null) ? isInterface(value, ParsingScope) : false) ? value : THROW_CCE(), completion);
- };
-
- function ParsingContext$createParserCoroutine$slambda_0($parser, resultContinuation) {
- var i = new ParsingContext$createParserCoroutine$slambda($parser, resultContinuation);
- var l = function ($this$null, $completion) {
- return i.invoke_a83s7o_k$($this$null, $completion);
- };
- l.$arity = 1;
- return l;
- }
-
- function $failCOROUTINE$2(_this__u8e3s4, error, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this.error_1 = error;
- }
-
- protoOf($failCOROUTINE$2).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(2);
- this.set_state_rjd8d0_k$(1);
- withCont(this._this__u8e3s4__1, this._this__u8e3s4__1.backtrackCont_1);
- var tmp_0 = this._this__u8e3s4__1;
- Companion_getInstance();
- var value = this.error_1;
- tmp_0.result_1 = _Result___init__impl__xyqfz8(value);
- suspendResult = returnIfSuspended(get_COROUTINE_SUSPENDED(), this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 1:
- var message = 'the coroutine must have been cancelled';
- throw IllegalStateException_init_$Create$(toString(message));
- case 2:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 2) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function ParsingContext(tokenizer, debugMode) {
- Companion_getInstance_0();
- debugMode = debugMode === VOID ? false : debugMode;
- this.tokenizer_1 = tokenizer;
- this.debugMode_1 = debugMode;
- this.inputLength_1 = this.tokenizer_1.get_input_it4gip_k$().length;
- this.backtrackCont_1 = null;
- this.cont_1 = null;
- this.position_1 = 0;
- this.lastTokenMatchContext_1 = new LastTokenMatchContext(this.tokenizer_1.get_input_it4gip_k$(), 0);
- this.result_1 = Companion_getInstance_0().PENDING_RESULT_1;
- }
-
- protoOf(ParsingContext).runParser_9ezv2o_k$ = function (parser) {
- // Inline function 'me.alllex.parsus.parser.Companion.continuingWith' call
- Companion_getInstance_0();
- // Inline function 'me.alllex.parsus.parser.ParsingContext.debugName' call
- var tmp;
- if (this.debugMode_1) {
- // Inline function 'me.alllex.parsus.parser.ParsingContext.runParser.' call
- tmp = 'Root ' + parser;
- } else {
- tmp = null;
- }
- var debugName = tmp;
- var tmp_0;
- if (debugName == null) {
- // Inline function 'kotlin.coroutines.Continuation' call
- var context = EmptyCoroutineContext_getInstance();
- tmp_0 = new _no_name_provided__qut3iv_3(context, this);
- } else {
- tmp_0 = new _no_name_provided__qut3iv_4(this, debugName);
- }
- var tmp$ret$3 = tmp_0;
- withCont(this, createParserCoroutine(this, parser, tmp$ret$3));
- runParseLoop(this);
- // Inline function 'kotlin.getOrThrow' call
- var this_0 = this.result_1;
- throwOnFailure(this_0);
- var tmp_1 = _Result___get_value__impl__bjfvqg(this_0);
- var tmp_2 = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
- return tmp_2 instanceof ParseResult ? tmp_2 : THROW_CCE();
- };
- protoOf(ParsingContext).get_text_2n4w3t_k$ = function (_this__u8e3s4) {
- // Inline function 'kotlin.text.substring' call
- var this_0 = this.tokenizer_1.get_input_it4gip_k$();
- var startIndex = _this__u8e3s4.get_offset_hjmqak_k$();
- var endIndex = _this__u8e3s4.get_offset_hjmqak_k$() + _this__u8e3s4.get_length_g42xv3_k$() | 0;
- // Inline function 'kotlin.js.asDynamic' call
- return this_0.substring(startIndex, endIndex);
- };
- protoOf(ParsingContext).get_currentOffset_xrs403_k$ = function () {
- return this.position_1;
- };
- protoOf(ParsingContext).get_currentToken_snzadl_k$ = function () {
- return this.tokenizer_1.findContextFreeMatch_721179_k$(this.position_1);
- };
- protoOf(ParsingContext).invoke_58si3r_k$ = function (_this__u8e3s4, $completion) {
- return _this__u8e3s4.parse_anlqtf_k$(this, $completion);
- };
- protoOf(ParsingContext).tryParse_5qpzu_k$ = function (p, $completion) {
- if (p instanceof Token) {
- var tr = this.tryParse_5yqy52_k$(p);
- return tr instanceof ParseResult ? tr : THROW_CCE();
- }
- return tryParseImpl(this, p, $completion);
- };
- protoOf(ParsingContext).tryParse_5yqy52_k$ = function (token) {
- var fromIndex = this.position_1;
- var tmp0_elvis_lhs = this.tokenizer_1.findMatchOf_wmljd9_k$(fromIndex, token);
- var tmp;
- if (tmp0_elvis_lhs == null) {
- return new UnmatchedToken(token, fromIndex, getParseErrorContextProviderOrNull(this));
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var match = tmp;
- if (!equals(match.get_token_iz6pxs_k$(), token))
- return new MismatchedToken(token, match, getParseErrorContextProviderOrNull(this));
- var newPosition = coerceAtMost(match.get_nextOffset_ru7kkv_k$(), this.inputLength_1);
- this.position_1 = newPosition;
- this.lastTokenMatchContext_1.currentOffset_1 = newPosition;
- this.lastTokenMatchContext_1.lastMatch_1 = match;
- return new ParsedValue(match);
- };
- protoOf(ParsingContext).fail_gyoc2x_k$ = function (error, $completion) {
- var tmp = new $failCOROUTINE$2(this, error, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
- protoOf(ParsingContext).toString = function () {
- return 'ParsingContext(position=' + this.position_1 + ', result=' + new Result(this.result_1) + ')';
- };
-
- function getInputSection($this, inputSectionStart, inputSectionStop) {
- // Inline function 'kotlin.text.substring' call
- var this_0 = $this.input_1;
- var endIndex = coerceAtMost(inputSectionStop, $this.input_1.length);
- // Inline function 'kotlin.js.asDynamic' call
- return this_0.substring(inputSectionStart, endIndex);
- }
-
- function LastTokenMatchContext(input, currentOffset, lastMatch) {
- lastMatch = lastMatch === VOID ? null : lastMatch;
- this.input_1 = input;
- this.currentOffset_1 = currentOffset;
- this.lastMatch_1 = lastMatch;
- }
-
- protoOf(LastTokenMatchContext).get_input_it4gip_k$ = function () {
- return this.input_1;
- };
- protoOf(LastTokenMatchContext).set_currentOffset_bphsx3_k$ = function (_set____db54di) {
- this.currentOffset_1 = _set____db54di;
- };
- protoOf(LastTokenMatchContext).get_currentOffset_xrs403_k$ = function () {
- return this.currentOffset_1;
- };
- protoOf(LastTokenMatchContext).set_lastMatch_yll58u_k$ = function (_set____db54di) {
- this.lastMatch_1 = _set____db54di;
- };
- protoOf(LastTokenMatchContext).get_lastMatch_ti59ei_k$ = function () {
- return this.lastMatch_1;
- };
- protoOf(LastTokenMatchContext).toString = function () {
- return 'LastTokenMatchContext(currentOffset=' + this.currentOffset_1 + ', lastMatch=' + this.lastMatch_1 + ')';
- };
- protoOf(LastTokenMatchContext).getParseErrorContext_qs1i9g_k$ = function (offset) {
- if (!(offset === this.currentOffset_1)) {
- return null;
- }
- var lastMatch = this.lastMatch_1;
- var lookAhead = 20;
- var tmp;
- if (lastMatch == null ? true : !(lastMatch.get_nextOffset_ru7kkv_k$() === offset)) {
- tmp = new ParseErrorContext(getInputSection(this, offset, offset + lookAhead | 0), 0, lookAhead, null);
- } else {
- tmp = new ParseErrorContext(getInputSection(this, lastMatch.get_offset_hjmqak_k$(), lastMatch.get_nextOffset_ru7kkv_k$() + lookAhead | 0), lastMatch.get_length_g42xv3_k$(), lookAhead, lastMatch);
- }
- return tmp;
- };
-
- function ParsingScope() {
- }
-
- function $parseCOROUTINE$3(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this._this__u8e3s4__2 = _this__u8e3s4_0;
- }
-
- protoOf($parseCOROUTINE$3).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(6);
- var tmp_0 = this;
- tmp_0.this0__1 = ArrayList_init_$Create$();
- var tmp_1 = this;
- tmp_1.$this$buildList1__1 = this.this0__1;
- this.tmp0_iterator2__1 = this._this__u8e3s4__1.parsers_1.iterator_jk1svi_k$();
- this.set_state_rjd8d0_k$(1);
- continue $sm;
- case 1:
- if (!this.tmp0_iterator2__1.hasNext_bitz1p_k$()) {
- this.set_state_rjd8d0_k$(5);
- continue $sm;
- }
-
- this.parser3__1 = this.tmp0_iterator2__1.next_20eer_k$();
- var tmp_2 = this.parser3__1;
- if (tmp_2 instanceof SkipParser) {
- this.set_state_rjd8d0_k$(3);
- suspendResult = this._this__u8e3s4__2.invoke_58si3r_k$(this.parser3__1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
- continue $sm;
- } else {
- this.set_state_rjd8d0_k$(2);
- suspendResult = this._this__u8e3s4__2.invoke_58si3r_k$(this.parser3__1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
- continue $sm;
- }
-
- case 2:
- var item = suspendResult;
- this.$this$buildList1__1.add_utx5q5_k$(item);
- this.set_state_rjd8d0_k$(4);
- continue $sm;
- case 3:
- this.set_state_rjd8d0_k$(4);
- continue $sm;
- case 4:
- this.set_state_rjd8d0_k$(1);
- continue $sm;
- case 5:
- var ARGUMENT = this.this0__1;
- var items = ARGUMENT.build_1k0s4u_k$();
- return this._this__u8e3s4__1.transform_1(items);
- case 6:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 6) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function TupleParser(parsers, transform) {
- ParserImpl.call(this, null, first(parsers).get_firstTokens_2spa0v_k$());
- this.parsers_1 = parsers;
- this.transform_1 = transform;
- }
-
- protoOf(TupleParser).get_parsers_buk3at_k$ = function () {
- return this.parsers_1;
- };
- protoOf(TupleParser).get_transform_px941v_k$ = function () {
- return this.transform_1;
- };
- protoOf(TupleParser).get_arity_iosiic_k$ = function () {
- var tmp$ret$0;
- $l$block: {
- // Inline function 'kotlin.collections.count' call
- var this_0 = this.parsers_1;
- var tmp;
- if (isInterface(this_0, Collection)) {
- tmp = this_0.isEmpty_y1axqb_k$();
- } else {
- tmp = false;
- }
- if (tmp) {
- tmp$ret$0 = 0;
- break $l$block;
- }
- var count = 0;
- var tmp0_iterator = this_0.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'me.alllex.parsus.parser.TupleParser..' call
- if (!(element instanceof SkipParser)) {
- count = count + 1 | 0;
- checkCountOverflow(count);
- }
- }
- tmp$ret$0 = count;
- }
- return tmp$ret$0;
- };
- protoOf(TupleParser).parse_anlqtf_k$ = function (_this__u8e3s4, $completion) {
- var tmp = new $parseCOROUTINE$3(this, _this__u8e3s4, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
- protoOf(TupleParser).toString = function () {
- return 'TupleParser(parsers=' + this.parsers_1 + ')';
- };
-
- function retuple(parser1, parser2, transform) {
- var newParsers = plus_0(tryUnwrapTupleParsers(parser1), parser2);
- return new TupleParser(newParsers, transform);
- }
-
- function tryUnwrapTupleParsers(_this__u8e3s4) {
- var tmp;
- if (_this__u8e3s4 instanceof TupleParser) {
- tmp = _this__u8e3s4.parsers_1;
- } else {
- tmp = listOf_0(_this__u8e3s4);
- }
- return tmp;
- }
-
- function map(_this__u8e3s4, f) {
- // Inline function 'me.alllex.parsus.parser.parser' call
- var firstTokens = _this__u8e3s4.get_firstTokens_2spa0v_k$();
- return new _no_name_provided__qut3iv_9(firstTokens, f, _this__u8e3s4);
- }
-
- function zeroOrMore(p) {
- return repeated(p, 0);
- }
-
- function oneOrMore(p) {
- return repeated(p, 1);
- }
-
- function repeated(p, atLeast, atMost) {
- atMost = atMost === VOID ? -1 : atMost;
- // Inline function 'me.alllex.parsus.parser.parser' call
- var firstTokens = atLeast > 0 ? p.get_firstTokens_2spa0v_k$() : emptySet();
- return new _no_name_provided__qut3iv_10(firstTokens, p, atLeast, atMost);
- }
-
- function $parseCOROUTINE$4(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this._this__u8e3s4__2 = _this__u8e3s4_0;
- }
-
- protoOf($parseCOROUTINE$4).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(2);
- var tmp_0 = this;
- tmp_0.$this$parser0__1 = this._this__u8e3s4__2;
- this.set_state_rjd8d0_k$(1);
- suspendResult = this._this__u8e3s4__1.$this_map_1.parse_anlqtf_k$(this.$this$parser0__1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 1:
- var ARGUMENT = suspendResult;
- return this._this__u8e3s4__1.$f_1(this.$this$parser0__1, ARGUMENT);
- case 2:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 2) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function _no_name_provided__qut3iv_9($firstTokens, $f, $this_map) {
- this.$f_1 = $f;
- this.$this_map_1 = $this_map;
- ParserImpl.call(this, VOID, $firstTokens);
- }
-
- protoOf(_no_name_provided__qut3iv_9).parse_kcz18h_k$ = function (_this__u8e3s4, $completion) {
- var tmp = new $parseCOROUTINE$4(this, _this__u8e3s4, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
- protoOf(_no_name_provided__qut3iv_9).parse_anlqtf_k$ = function (_this__u8e3s4, $completion) {
- return this.parse_kcz18h_k$(_this__u8e3s4, $completion);
- };
-
- function $parseCOROUTINE$5(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this._this__u8e3s4__2 = _this__u8e3s4_0;
- }
-
- protoOf($parseCOROUTINE$5).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(2);
- var tmp_0 = this;
- tmp_0.$this$parser0__1 = this._this__u8e3s4__2;
- this.set_state_rjd8d0_k$(1);
- suspendResult = repeat_0(this.$this$parser0__1, this._this__u8e3s4__1.$p_1, this._this__u8e3s4__1.$atLeast_1, this._this__u8e3s4__1.$atMost_1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 1:
- return suspendResult;
- case 2:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 2) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function _no_name_provided__qut3iv_10($firstTokens, $p, $atLeast, $atMost) {
- this.$p_1 = $p;
- this.$atLeast_1 = $atLeast;
- this.$atMost_1 = $atMost;
- ParserImpl.call(this, VOID, $firstTokens);
- }
-
- protoOf(_no_name_provided__qut3iv_10).parse_w64piz_k$ = function (_this__u8e3s4, $completion) {
- var tmp = new $parseCOROUTINE$5(this, _this__u8e3s4, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
- protoOf(_no_name_provided__qut3iv_10).parse_anlqtf_k$ = function (_this__u8e3s4, $completion) {
- return this.parse_w64piz_k$(_this__u8e3s4, $completion);
- };
-
- function repeat_0(_this__u8e3s4, p, atLeast, atMost, $completion) {
- atMost = atMost === VOID ? -1 : atMost;
- var tmp = new $repeatCOROUTINE$6(_this__u8e3s4, p, atLeast, atMost, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- }
-
- function has(_this__u8e3s4, p, $completion) {
- return checkPresent(_this__u8e3s4, p, $completion);
- }
-
- function checkPresent(_this__u8e3s4, p, $completion) {
- var tmp = new $checkPresentCOROUTINE$7(_this__u8e3s4, p, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- }
-
- function $repeatCOROUTINE$6(_this__u8e3s4, p, atLeast, atMost, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this.p_1 = p;
- this.atLeast_1 = atLeast;
- this.atMost_1 = atMost;
- }
-
- protoOf($repeatCOROUTINE$6).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(7);
- if (!(this.atLeast_1 >= 0)) {
- var message = 'atLeast must not be negative';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
-
- if (!(this.atMost_1 === -1 ? true : this.atLeast_1 <= this.atMost_1)) {
- var message_0 = 'atMost has invalid value';
- throw IllegalArgumentException_init_$Create$(toString(message_0));
- }
-
- this.startOffset0__1 = this._this__u8e3s4__1.get_currentOffset_xrs403_k$();
- var tmp_0 = this;
- tmp_0.results1__1 = ArrayList_init_$Create$();
- this.repetition2__1 = 0;
- this.set_state_rjd8d0_k$(1);
- continue $sm;
- case 1:
- if (!(this.atMost_1 === -1 ? true : this.repetition2__1 < this.atMost_1)) {
- this.set_state_rjd8d0_k$(4);
- continue $sm;
- }
-
- var tmp_1 = this;
- tmp_1.this3__1 = this.results1__1;
- this.set_state_rjd8d0_k$(2);
- suspendResult = poll(this._this__u8e3s4__1, this.p_1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 2:
- this.tmp0_elvis_lhs4__1 = suspendResult;
- if (this.tmp0_elvis_lhs4__1 == null) {
- this.set_state_rjd8d0_k$(4);
- var tmp_2 = this;
- continue $sm;
- } else {
- this.WHEN_RESULT5__1 = this.tmp0_elvis_lhs4__1;
- this.set_state_rjd8d0_k$(3);
- continue $sm;
- }
-
- case 3:
- this.element6__1 = this.WHEN_RESULT5__1;
- this.this3__1.add_utx5q5_k$(this.element6__1);
- this.repetition2__1 = this.repetition2__1 + 1 | 0;
- this.set_state_rjd8d0_k$(1);
- continue $sm;
- case 4:
- if (this.repetition2__1 < this.atLeast_1) {
- this.set_state_rjd8d0_k$(6);
- suspendResult = this._this__u8e3s4__1.fail_gyoc2x_k$(new NotEnoughRepetition(this.startOffset0__1, this.atLeast_1, this.repetition2__1), this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
- continue $sm;
- } else {
- this.set_state_rjd8d0_k$(5);
- continue $sm;
- }
-
- case 5:
- return this.results1__1;
- case 6:
- throwKotlinNothingValueException();
- break;
- case 7:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 7) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function $checkPresentCOROUTINE$7(_this__u8e3s4, p, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this.p_1 = p;
- }
-
- protoOf($checkPresentCOROUTINE$7).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(2);
- this.set_state_rjd8d0_k$(1);
- suspendResult = tryOrNull(this._this__u8e3s4__1, this.p_1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 1:
- var ARGUMENT = suspendResult;
- var ARGUMENT_0 = ARGUMENT == null;
- return !ARGUMENT_0;
- case 2:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 2) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function unaryMinus_0(_this__u8e3s4) {
- return ignored(_this__u8e3s4);
- }
-
- function poll(_this__u8e3s4, parser, $completion) {
- return tryOrNull(_this__u8e3s4, parser, $completion);
- }
-
- function skip(_this__u8e3s4, p, $completion) {
- var tmp = new $skipCOROUTINE$8(_this__u8e3s4, p, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- }
-
- function ignored(parser) {
- return Companion_getInstance_1().of_cjlh19_k$(parser);
- }
-
- function tryOrNull(_this__u8e3s4, parser, $completion) {
- var tmp = new $tryOrNullCOROUTINE$9(_this__u8e3s4, parser, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- }
-
- function _get_parser__ooioy4_0($this) {
- return $this.parser_1;
- }
-
- function Companion_0() {
- Companion_instance_0 = this;
- }
-
- protoOf(Companion_0).of_cjlh19_k$ = function (parser) {
- var tmp;
- if (parser instanceof SkipParser) {
- tmp = parser instanceof SkipParser ? parser : THROW_CCE();
- } else {
- tmp = new SkipParser(parser);
- }
- return tmp;
- };
- var Companion_instance_0;
-
- function Companion_getInstance_1() {
- if (Companion_instance_0 == null)
- new Companion_0();
- return Companion_instance_0;
- }
-
- function $parseCOROUTINE$10(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this._this__u8e3s4__2 = _this__u8e3s4_0;
- }
-
- protoOf($parseCOROUTINE$10).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(2);
- this.set_state_rjd8d0_k$(1);
- suspendResult = this._this__u8e3s4__2.invoke_58si3r_k$(this._this__u8e3s4__1.parser_1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 1:
- var ignored = suspendResult;
- return Unit_getInstance();
- case 2:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 2) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function SkipParser(parser) {
- Companion_getInstance_1();
- ParserImpl.call(this, VOID, parser.get_firstTokens_2spa0v_k$());
- this.parser_1 = parser;
- }
-
- protoOf(SkipParser).parse_7fqjtr_k$ = function (_this__u8e3s4, $completion) {
- var tmp = new $parseCOROUTINE$10(this, _this__u8e3s4, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
- protoOf(SkipParser).parse_anlqtf_k$ = function (_this__u8e3s4, $completion) {
- return this.parse_7fqjtr_k$(_this__u8e3s4, $completion);
- };
- protoOf(SkipParser).toString = function () {
- return 'SkipParser(parser=' + this.parser_1 + ')';
- };
-
- function $skipCOROUTINE$8(_this__u8e3s4, p, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this.p_1 = p;
- }
-
- protoOf($skipCOROUTINE$8).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(2);
- this.set_state_rjd8d0_k$(1);
- suspendResult = this._this__u8e3s4__1.invoke_58si3r_k$(this.p_1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 1:
- return IgnoredValue_getInstance();
- case 2:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 2) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function $tryOrNullCOROUTINE$9(_this__u8e3s4, parser, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this.parser_1 = parser;
- }
-
- protoOf($tryOrNullCOROUTINE$9).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(2);
- this.set_state_rjd8d0_k$(1);
- suspendResult = this._this__u8e3s4__1.tryParse_5qpzu_k$(this.parser_1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
-
- continue $sm;
- case 1:
- var this_0 = suspendResult;
- var tmp_0;
- if (this_0 instanceof ParsedValue) {
- tmp_0 = this_0.get_value_j01efc_k$();
- } else {
- if (this_0 instanceof ParseError) {
- tmp_0 = null;
- } else {
- noWhenBranchMatchedException();
- }
- }
-
- return tmp_0;
- case 2:
- throw this.get_exception_x0n6w6_k$();
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 2) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function times(_this__u8e3s4, p) {
- return and(_this__u8e3s4, p);
- }
-
- function times_0(_this__u8e3s4, p) {
- return and_0(_this__u8e3s4, p);
- }
-
- function and(_this__u8e3s4, p) {
- var tmp = ignored(p);
- return retuple(_this__u8e3s4, tmp, and$lambda);
- }
-
- function and_0(_this__u8e3s4, p) {
- var tmp = ignored(_this__u8e3s4);
- return retuple(tmp, p, and$lambda_0);
- }
-
- function and$lambda(it) {
- var tmp = it.get_c1px32_k$(0);
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
- }
-
- function and$lambda_0(it) {
- var tmp = it.get_c1px32_k$(0);
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
- }
-
- function EofToken() {
- EofToken_instance = this;
- Token.call(this, 'EOF');
- }
-
- protoOf(EofToken).match_y6bacg_k$ = function (input, fromIndex) {
- return fromIndex >= charSequenceLength(input) ? 1 : 0;
- };
- var EofToken_instance;
-
- function EofToken_getInstance() {
- if (EofToken_instance == null)
- new EofToken();
- return EofToken_instance;
- }
-
- function LiteralToken(string, name, ignored, ignoreCase) {
- name = name === VOID ? null : name;
- ignored = ignored === VOID ? false : ignored;
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
- Token.call(this, name, ignored);
- this.string_1 = string;
- this.ignoreCase_1 = ignoreCase;
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.text.isNotEmpty' call
- var this_0 = this.string_1;
- // Inline function 'kotlin.contracts.contract' call
- if (!(charSequenceLength(this_0) > 0)) {
- // Inline function 'me.alllex.parsus.token.LiteralToken.' call
- var message = 'text must not be empty';
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- this.firstChars_1 = toString_0(charSequenceGet(this.string_1, 0));
- }
-
- protoOf(LiteralToken).get_string_jnpst6_k$ = function () {
- return this.string_1;
- };
- protoOf(LiteralToken).get_ignoreCase_5ma991_k$ = function () {
- return this.ignoreCase_1;
- };
- protoOf(LiteralToken).match_y6bacg_k$ = function (input, fromIndex) {
- if (startsWith(input, this.string_1, fromIndex, this.ignoreCase_1)) {
- return this.string_1.length;
- }
- return 0;
- };
- protoOf(LiteralToken).get_firstChars_n9lm5m_k$ = function () {
- return this.firstChars_1;
- };
- protoOf(LiteralToken).toString = function () {
- return "LiteralToken('" + this.string_1 + "')";
- };
-
- function literalToken(_this__u8e3s4, text, name, ignored, ignoreCase) {
- name = name === VOID ? null : name;
- ignored = ignored === VOID ? false : ignored;
- ignoreCase = ignoreCase === VOID ? _this__u8e3s4.get_ignoreCase_5ma991_k$() : ignoreCase;
- // Inline function 'kotlin.also' call
- var this_0 = new LiteralToken(text, name, ignored, ignoreCase);
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'me.alllex.parsus.token.literalToken.' call
- _this__u8e3s4.register_loi3ch_k$(this_0);
- return this_0;
- }
-
- function _get_regex__by6cnq($this) {
- return $this.regex_1;
- }
-
- function _get_pattern__f9i1rz($this) {
- return $this.regex_1.get_pattern_btfv4p_k$();
- }
-
- function RegexToken(regex, name, ignored) {
- name = name === VOID ? null : name;
- ignored = ignored === VOID ? false : ignored;
- Token.call(this, name, ignored);
- this.regex_1 = regex;
- }
-
- protoOf(RegexToken).match_y6bacg_k$ = function (input, fromIndex) {
- var tmp0_elvis_lhs = this.regex_1.matchAt_2l29wz_k$(input, fromIndex);
- var tmp;
- if (tmp0_elvis_lhs == null) {
- return 0;
- } else {
- tmp = tmp0_elvis_lhs;
- }
- var match = tmp;
- return match.get_value_j01efc_k$().length;
- };
- protoOf(RegexToken).toString = function () {
- var tmp0_safe_receiver = this.get_name_woqyms_k$();
- var tmp;
- if (tmp0_safe_receiver == null) {
- tmp = null;
- } else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'me.alllex.parsus.token.RegexToken.toString.' call
- tmp = tmp0_safe_receiver + ' ';
- }
- var tmp1_elvis_lhs = tmp;
- return 'RegexToken(' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '[' + _get_pattern__f9i1rz(this) + ']' + (this.get_ignored_u8wag9_k$() ? ' [ignored]' : '') + ')';
- };
-
- function regexToken(_this__u8e3s4, pattern, name, ignored, ignoreCase) {
- name = name === VOID ? null : name;
- ignored = ignored === VOID ? false : ignored;
- ignoreCase = ignoreCase === VOID ? _this__u8e3s4.get_ignoreCase_5ma991_k$() : ignoreCase;
- return regexToken_0(_this__u8e3s4, Regex_init_$Create$(pattern), name, ignored, ignoreCase);
- }
-
- function regexToken_0(_this__u8e3s4, regex, name, ignored, ignoreCase) {
- name = name === VOID ? null : name;
- ignored = ignored === VOID ? false : ignored;
- ignoreCase = ignoreCase === VOID ? _this__u8e3s4.get_ignoreCase_5ma991_k$() : ignoreCase;
- // Inline function 'kotlin.also' call
- var this_0 = new RegexToken(withIgnoreCase(regex, ignoreCase), name, ignored);
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'me.alllex.parsus.token.regexToken.' call
- _this__u8e3s4.register_loi3ch_k$(this_0);
- return this_0;
- }
-
- function withIgnoreCase(_this__u8e3s4, ignoreCase) {
- return (!ignoreCase ? true : _this__u8e3s4.get_options_jecmyz_k$().contains_aljjnj_k$(RegexOption_IGNORE_CASE_getInstance())) ? _this__u8e3s4 : new Regex(_this__u8e3s4.get_pattern_btfv4p_k$(), plus_1(_this__u8e3s4.get_options_jecmyz_k$(), RegexOption_IGNORE_CASE_getInstance()));
- }
-
- function $parseCOROUTINE$11(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
- CoroutineImpl.call(this, resultContinuation);
- this._this__u8e3s4__1 = _this__u8e3s4;
- this._this__u8e3s4__2 = _this__u8e3s4_0;
- }
-
- protoOf($parseCOROUTINE$11).doResume_5yljmg_k$ = function () {
- var suspendResult = this.get_result_iyg5d2_k$();
- $sm: do
- try {
- var tmp = this.get_state_iypx7s_k$();
- switch (tmp) {
- case 0:
- this.set_exceptionState_fex74n_k$(2);
- var tmp_0 = this;
- tmp_0.this0__1 = this._this__u8e3s4__2.tryParse_5yqy52_k$(this._this__u8e3s4__1);
- this.tmp0_subject1__1 = this.this0__1;
- var tmp_1 = this.tmp0_subject1__1;
- if (tmp_1 instanceof ParsedValue) {
- this.WHEN_RESULT2__1 = this.this0__1.get_value_j01efc_k$();
- this.set_state_rjd8d0_k$(3);
- continue $sm;
- } else {
- var tmp_2 = this.tmp0_subject1__1;
- if (tmp_2 instanceof ParseError) {
- var tmp_3 = this;
- tmp_3.it3__1 = this.this0__1;
- this.set_state_rjd8d0_k$(1);
- suspendResult = this._this__u8e3s4__2.fail_gyoc2x_k$(this.it3__1, this);
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
- return suspendResult;
- }
- continue $sm;
- } else {
- var tmp_4 = this;
- noWhenBranchMatchedException();
- }
- }
-
- break;
- case 1:
- this.WHEN_RESULT2__1 = throwKotlinNothingValueException();
- this.set_state_rjd8d0_k$(3);
- continue $sm;
- case 2:
- throw this.get_exception_x0n6w6_k$();
- case 3:
- return this.WHEN_RESULT2__1;
- }
- } catch ($p) {
- var e = $p;
- if (this.get_exceptionState_wflpxn_k$() === 2) {
- throw e;
- } else {
- this.set_state_rjd8d0_k$(this.get_exceptionState_wflpxn_k$());
- this.set_exception_px07aa_k$(e);
- }
- }
- while (true);
- };
-
- function Token(name, ignored) {
- name = name === VOID ? null : name;
- ignored = ignored === VOID ? false : ignored;
- this.name_1 = name;
- this.ignored_1 = ignored;
- this.firstTokens_1 = setOf(this);
- }
-
- protoOf(Token).set_name_wkmnld_k$ = function (_set____db54di) {
- this.name_1 = _set____db54di;
- };
- protoOf(Token).get_name_woqyms_k$ = function () {
- return this.name_1;
- };
- protoOf(Token).get_ignored_u8wag9_k$ = function () {
- return this.ignored_1;
- };
- protoOf(Token).parse_tz1j62_k$ = function (_this__u8e3s4, $completion) {
- var tmp = new $parseCOROUTINE$11(this, _this__u8e3s4, $completion);
- tmp.set_result_xj64lm_k$(Unit_getInstance());
- tmp.set_exception_px07aa_k$(null);
- return tmp.doResume_5yljmg_k$();
- };
- protoOf(Token).parse_anlqtf_k$ = function (_this__u8e3s4, $completion) {
- return this.parse_tz1j62_k$(_this__u8e3s4, $completion);
- };
- protoOf(Token).get_firstTokens_2spa0v_k$ = function () {
- return this.firstTokens_1;
- };
- protoOf(Token).get_firstChars_n9lm5m_k$ = function () {
- return '';
- };
- protoOf(Token).toString = function () {
- if (!(this.name_1 == null))
- return 'Token(' + this.name_1 + ')' + (this.ignored_1 ? ' [ignored]' : '');
- return anyToString(this);
- };
-
- function TokenMatch(token, offset, length) {
- this.token_1 = token;
- this.offset_1 = offset;
- this.length_1 = length;
- }
-
- protoOf(TokenMatch).get_token_iz6pxs_k$ = function () {
- return this.token_1;
- };
- protoOf(TokenMatch).get_offset_hjmqak_k$ = function () {
- return this.offset_1;
- };
- protoOf(TokenMatch).get_length_g42xv3_k$ = function () {
- return this.length_1;
- };
- protoOf(TokenMatch).get_nextOffset_ru7kkv_k$ = function () {
- return this.offset_1 + this.length_1 | 0;
- };
- protoOf(TokenMatch).component1_7eebsc_k$ = function () {
- return this.token_1;
- };
- protoOf(TokenMatch).component2_7eebsb_k$ = function () {
- return this.offset_1;
- };
- protoOf(TokenMatch).component3_7eebsa_k$ = function () {
- return this.length_1;
- };
- protoOf(TokenMatch).copy_5kd959_k$ = function (token, offset, length) {
- return new TokenMatch(token, offset, length);
- };
- protoOf(TokenMatch).copy$default_uc9brr_k$ = function (token, offset, length, $super) {
- token = token === VOID ? this.token_1 : token;
- offset = offset === VOID ? this.offset_1 : offset;
- length = length === VOID ? this.length_1 : length;
- return $super === VOID ? this.copy_5kd959_k$(token, offset, length) : $super.copy_5kd959_k$.call(this, token, offset, length);
- };
- protoOf(TokenMatch).toString = function () {
- return 'TokenMatch(token=' + this.token_1 + ', offset=' + this.offset_1 + ', length=' + this.length_1 + ')';
- };
- protoOf(TokenMatch).hashCode = function () {
- var result = hashCode(this.token_1);
- result = imul(result, 31) + this.offset_1 | 0;
- result = imul(result, 31) + this.length_1 | 0;
- return result;
- };
- protoOf(TokenMatch).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof TokenMatch))
- return false;
- var tmp0_other_with_cast = other instanceof TokenMatch ? other : THROW_CCE();
- if (!equals(this.token_1, tmp0_other_with_cast.token_1))
- return false;
- if (!(this.offset_1 === tmp0_other_with_cast.offset_1))
- return false;
- if (!(this.length_1 === tmp0_other_with_cast.length_1))
- return false;
- return true;
- };
-
- function _get_traceEvents__8y1jf7($this) {
- return $this.traceEvents_1;
- }
-
- function traceMismatch($this, token, offset) {
- var tmp0_safe_receiver = $this.traceEvents_1;
- if (tmp0_safe_receiver == null)
- null;
- else
- tmp0_safe_receiver.add_utx5q5_k$(new TokenMatchingEvent(token, offset, null));
- }
-
- function traceMatch($this, token, match) {
- var tmp0_safe_receiver = $this.traceEvents_1;
- if (tmp0_safe_receiver == null)
- null;
- else
- tmp0_safe_receiver.add_utx5q5_k$(new TokenMatchingEvent(token, match.get_offset_hjmqak_k$(), match));
- }
-
- function AbstractTokenizer(input, tokens, traceTokenMatching) {
- traceTokenMatching = traceTokenMatching === VOID ? false : traceTokenMatching;
- this.input_1 = input;
- this.tokens_1 = tokens;
- var tmp = this;
- var tmp_0;
- if (traceTokenMatching) {
- // Inline function 'kotlin.collections.mutableListOf' call
- tmp_0 = ArrayList_init_$Create$();
- } else {
- tmp_0 = null;
- }
- tmp.traceEvents_1 = tmp_0;
- }
-
- protoOf(AbstractTokenizer).get_input_it4gip_k$ = function () {
- return this.input_1;
- };
- protoOf(AbstractTokenizer).get_tokens_k1vwdf_k$ = function () {
- return this.tokens_1;
- };
- protoOf(AbstractTokenizer).getTokenMatchingTrace_fziywr_k$ = function () {
- var tmp0_safe_receiver = this.traceEvents_1;
- var tmp;
- if (tmp0_safe_receiver == null) {
- tmp = null;
- } else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'me.alllex.parsus.tokenizer.AbstractTokenizer.getTokenMatchingTrace.' call
- tmp = new TokenMatchingTrace(this.get_input_it4gip_k$(), tmp0_safe_receiver);
- }
- return tmp;
- };
- protoOf(AbstractTokenizer).matchImpl_najwvl_k$ = function (fromIndex, token) {
- var length = token.match_y6bacg_k$(this.get_input_it4gip_k$(), fromIndex);
- if (length === 0) {
- traceMismatch(this, token, fromIndex);
- return null;
- }
- var match = new TokenMatch(token, fromIndex, length);
- traceMatch(this, token, match);
- return match;
- };
-
- function _get_ignoredTokens__ugvv0b($this) {
- return $this.ignoredTokens_1;
- }
-
- function _set_cacheIgnoredMismatchFromIndex__7aie0r($this, _set____db54di) {
- $this.cacheIgnoredMismatchFromIndex_1 = _set____db54di;
- }
-
- function _get_cacheIgnoredMismatchFromIndex__gv8bnr($this) {
- return $this.cacheIgnoredMismatchFromIndex_1;
- }
-
- function _set_cachedIgnoredFromIndex__kfilof($this, _set____db54di) {
- $this.cachedIgnoredFromIndex_1 = _set____db54di;
- }
-
- function _get_cachedIgnoredFromIndex__schzv1($this) {
- return $this.cachedIgnoredFromIndex_1;
- }
-
- function _set_cachedIgnoredTokenMatch__468hft($this, _set____db54di) {
- $this.cachedIgnoredTokenMatch_1 = _set____db54di;
- }
-
- function _get_cachedIgnoredTokenMatch__gawwtn($this) {
- return $this.cachedIgnoredTokenMatch_1;
- }
-
- function matchIgnored($this, fromIndex) {
- // Inline function 'kotlin.require' call
- // Inline function 'kotlin.contracts.contract' call
- if (!(fromIndex >= 0)) {
- // Inline function 'me.alllex.parsus.tokenizer.ScannerlessTokenizer.matchIgnored.' call
- var message = 'fromIndex must be non-negative, but was ' + fromIndex;
- throw IllegalArgumentException_init_$Create$(toString(message));
- }
- if (fromIndex === $this.cacheIgnoredMismatchFromIndex_1) {
- return null;
- }
- if (fromIndex === $this.cachedIgnoredFromIndex_1) {
- return $this.cachedIgnoredTokenMatch_1;
- }
- var match = null;
- var tmp0_iterator = $this.ignoredTokens_1.iterator_jk1svi_k$();
- $l$loop: while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var ignoredToken = tmp0_iterator.next_20eer_k$();
- match = $this.matchImpl_najwvl_k$(fromIndex, ignoredToken);
- if (!(match == null)) {
- break $l$loop;
- }
- }
- if (match == null) {
- $this.cacheIgnoredMismatchFromIndex_1 = fromIndex;
- } else {
- $this.cachedIgnoredFromIndex_1 = fromIndex;
- $this.cachedIgnoredTokenMatch_1 = match;
- }
- return match;
- }
-
- function matchTarget($this, pos, targetToken) {
- return $this.matchImpl_najwvl_k$(pos, targetToken);
- }
-
- function ScannerlessTokenizer(input, tokens, traceTokenMatching) {
- traceTokenMatching = traceTokenMatching === VOID ? false : traceTokenMatching;
- AbstractTokenizer.call(this, input, tokens, traceTokenMatching);
- var tmp = this;
- // Inline function 'kotlin.collections.filter' call
- // Inline function 'kotlin.collections.filterTo' call
- var destination = ArrayList_init_$Create$();
- var tmp0_iterator = tokens.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var element = tmp0_iterator.next_20eer_k$();
- // Inline function 'me.alllex.parsus.tokenizer.ScannerlessTokenizer.ignoredTokens.' call
- if (element.get_ignored_u8wag9_k$()) {
- destination.add_utx5q5_k$(element);
- }
- }
- tmp.ignoredTokens_1 = destination;
- this.cacheIgnoredMismatchFromIndex_1 = -1;
- this.cachedIgnoredFromIndex_1 = -1;
- this.cachedIgnoredTokenMatch_1 = null;
- }
-
- protoOf(ScannerlessTokenizer).findContextFreeMatch_721179_k$ = function (fromIndex) {
- return null;
- };
- protoOf(ScannerlessTokenizer).findMatchOf_wmljd9_k$ = function (fromIndex, targetToken) {
- var pos = fromIndex;
- $l$loop: while (true) {
- var tmp0_safe_receiver = matchTarget(this, pos, targetToken);
- if (tmp0_safe_receiver == null)
- null;
- else {
- // Inline function 'kotlin.let' call
- // Inline function 'kotlin.contracts.contract' call
- return tmp0_safe_receiver;
- }
- var ignoredMatch = matchIgnored(this, pos);
- if (!(ignoredMatch == null)) {
- var posAfterIgnored = ignoredMatch.get_offset_hjmqak_k$() + ignoredMatch.get_length_g42xv3_k$() | 0;
- if (posAfterIgnored > pos) {
- pos = posAfterIgnored;
- continue $l$loop;
- } else {
- return null;
- }
- } else {
- return null;
- }
- }
- };
-
- function Tokenizer() {
- }
-
- function TokenMatchingTrace(input, events) {
- this.input_1 = input;
- this.events_1 = events;
- }
-
- protoOf(TokenMatchingTrace).get_input_it4gip_k$ = function () {
- return this.input_1;
- };
- protoOf(TokenMatchingTrace).get_events_d1yhia_k$ = function () {
- return this.events_1;
- };
- protoOf(TokenMatchingTrace).component1_7eebsc_k$ = function () {
- return this.input_1;
- };
- protoOf(TokenMatchingTrace).component2_7eebsb_k$ = function () {
- return this.events_1;
- };
- protoOf(TokenMatchingTrace).copy_8a9fg8_k$ = function (input, events) {
- return new TokenMatchingTrace(input, events);
- };
- protoOf(TokenMatchingTrace).copy$default_uysfug_k$ = function (input, events, $super) {
- input = input === VOID ? this.input_1 : input;
- events = events === VOID ? this.events_1 : events;
- return $super === VOID ? this.copy_8a9fg8_k$(input, events) : $super.copy_8a9fg8_k$.call(this, input, events);
- };
- protoOf(TokenMatchingTrace).toString = function () {
- return 'TokenMatchingTrace(input=' + this.input_1 + ', events=' + this.events_1 + ')';
- };
- protoOf(TokenMatchingTrace).hashCode = function () {
- var result = getStringHashCode(this.input_1);
- result = imul(result, 31) + hashCode(this.events_1) | 0;
- return result;
- };
- protoOf(TokenMatchingTrace).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof TokenMatchingTrace))
- return false;
- var tmp0_other_with_cast = other instanceof TokenMatchingTrace ? other : THROW_CCE();
- if (!(this.input_1 === tmp0_other_with_cast.input_1))
- return false;
- if (!equals(this.events_1, tmp0_other_with_cast.events_1))
- return false;
- return true;
- };
-
- function TokenMatchingEvent(token, offset, match) {
- this.token_1 = token;
- this.offset_1 = offset;
- this.match_1 = match;
- }
-
- protoOf(TokenMatchingEvent).get_token_iz6pxs_k$ = function () {
- return this.token_1;
- };
- protoOf(TokenMatchingEvent).get_offset_hjmqak_k$ = function () {
- return this.offset_1;
- };
- protoOf(TokenMatchingEvent).get_match_iv3el8_k$ = function () {
- return this.match_1;
- };
- protoOf(TokenMatchingEvent).component1_7eebsc_k$ = function () {
- return this.token_1;
- };
- protoOf(TokenMatchingEvent).component2_7eebsb_k$ = function () {
- return this.offset_1;
- };
- protoOf(TokenMatchingEvent).component3_7eebsa_k$ = function () {
- return this.match_1;
- };
- protoOf(TokenMatchingEvent).copy_lo8jxl_k$ = function (token, offset, match) {
- return new TokenMatchingEvent(token, offset, match);
- };
- protoOf(TokenMatchingEvent).copy$default_vib1e3_k$ = function (token, offset, match, $super) {
- token = token === VOID ? this.token_1 : token;
- offset = offset === VOID ? this.offset_1 : offset;
- match = match === VOID ? this.match_1 : match;
- return $super === VOID ? this.copy_lo8jxl_k$(token, offset, match) : $super.copy_lo8jxl_k$.call(this, token, offset, match);
- };
- protoOf(TokenMatchingEvent).toString = function () {
- return 'TokenMatchingEvent(token=' + this.token_1 + ', offset=' + this.offset_1 + ', match=' + this.match_1 + ')';
- };
- protoOf(TokenMatchingEvent).hashCode = function () {
- var result = hashCode(this.token_1);
- result = imul(result, 31) + this.offset_1 | 0;
- result = imul(result, 31) + (this.match_1 == null ? 0 : this.match_1.hashCode()) | 0;
- return result;
- };
- protoOf(TokenMatchingEvent).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof TokenMatchingEvent))
- return false;
- var tmp0_other_with_cast = other instanceof TokenMatchingEvent ? other : THROW_CCE();
- if (!equals(this.token_1, tmp0_other_with_cast.token_1))
- return false;
- if (!(this.offset_1 === tmp0_other_with_cast.offset_1))
- return false;
- if (!equals(this.match_1, tmp0_other_with_cast.match_1))
- return false;
- return true;
- };
-
- function TracedParseResult(result, trace) {
- this.result_1 = result;
- this.trace_1 = trace;
- }
-
- protoOf(TracedParseResult).get_result_iyg5d2_k$ = function () {
- return this.result_1;
- };
- protoOf(TracedParseResult).get_trace_iz8ffg_k$ = function () {
- return this.trace_1;
- };
-
- function replaceNonPrintable(string) {
- // Inline function 'kotlin.text.buildString' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.apply' call
- var this_0 = StringBuilder_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'me.alllex.parsus.util.replaceNonPrintable.' call
- var inductionVariable = 0;
- var last = string.length;
- while (inductionVariable < last) {
- var char = charSequenceGet(string, inductionVariable);
- inductionVariable = inductionVariable + 1 | 0;
- this_0.append_am5a4z_k$(replaceNonPrintable_0(char));
- }
- return this_0.toString();
- }
-
- function replaceNonPrintable_0(char) {
- return char === _Char___init__impl__6a9atx(32) ? _Char___init__impl__6a9atx(9251) : char === _Char___init__impl__6a9atx(10) ? _Char___init__impl__6a9atx(9252) : char === _Char___init__impl__6a9atx(13) ? _Char___init__impl__6a9atx(9229) : char === _Char___init__impl__6a9atx(9) ? _Char___init__impl__6a9atx(9225) : char;
- }
-
- function toPrintableString(_this__u8e3s4) {
- return replaceNonPrintable(toString(_this__u8e3s4));
- }
-
- //region block: post-declaration
- protoOf(ParsingContext).unaryMinus_3umwxo_k$ = unaryMinus;
- protoOf(ParsingContext).unaryPlus_tnr8ky_k$ = unaryPlus;
- //endregion
- //region block: init
- arrowDown = '\u2193';
- arrowUp = '\u2191';
- //endregion
- //region block: exports
- _.$_$ = _.$_$ || {};
- _.$_$.a = poll;
- _.$_$.b = Grammar;
- _.$_$.c = ParserImpl;
- _.$_$.d = oneOrMore;
- _.$_$.e = or;
- _.$_$.f = ref;
- _.$_$.g = times_0;
- _.$_$.h = times;
- _.$_$.i = unaryMinus_0;
- _.$_$.j = zeroOrMore;
- _.$_$.k = literalToken;
- _.$_$.l = regexToken;
- //endregion
- return _;
-}));
-
-//# sourceMappingURL=parsus.js.map
diff --git a/js/tlb.d.ts b/js/tlb.d.ts
deleted file mode 100644
index 3d0d1fd..0000000
--- a/js/tlb.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-type Nullable = T | null | undefined
-
-export as namespace tlb;
\ No newline at end of file
diff --git a/js/tlb.js b/js/tlb.js
deleted file mode 100644
index 83648b6..0000000
--- a/js/tlb.js
+++ /dev/null
@@ -1,8702 +0,0 @@
-(function (root, factory) {
- if (typeof define === 'function' && define.amd)
- define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-crypto-kotlinx-crypto-crc32.js', './parsus.js'], factory);
- else if (typeof exports === 'object')
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-crypto-kotlinx-crypto-crc32.js'), require('./parsus.js'));
- else {
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
- throw new Error("Error loading module 'tlb'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'tlb'.");
- }
- if (typeof this['kotlinx-crypto-kotlinx-crypto-crc32'] === 'undefined') {
- throw new Error("Error loading module 'tlb'. Its dependency 'kotlinx-crypto-kotlinx-crypto-crc32' was not found. Please, check whether 'kotlinx-crypto-kotlinx-crypto-crc32' is loaded prior to 'tlb'.");
- }
- if (typeof parsus === 'undefined') {
- throw new Error("Error loading module 'tlb'. Its dependency 'parsus' was not found. Please, check whether 'parsus' is loaded prior to 'tlb'.");
- }
- root.tlb = factory(typeof tlb === 'undefined' ? {} : tlb, this['kotlin-kotlin-stdlib'], this['kotlinx-crypto-kotlinx-crypto-crc32'], parsus);
- }
-}(this, function (_, kotlin_kotlin, kotlin_io_github_andreypfau_kotlinx_crypto_crc32, kotlin_me_alllex_parsus_parsus) {
- 'use strict';
- //region block: imports
- var imul = Math.imul;
- var clz32 = Math.clz32;
- var Long = kotlin_kotlin.$_$.d5;
- var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.l1;
- var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.m1;
- var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.f1;
- var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.g1;
- var toLong = kotlin_kotlin.$_$.e4;
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.u;
- var Unit_getInstance = kotlin_kotlin.$_$.q1;
- var VOID = kotlin_kotlin.$_$.a;
- var equals = kotlin_kotlin.$_$.p3;
- var protoOf = kotlin_kotlin.$_$.b4;
- var objectMeta = kotlin_kotlin.$_$.a4;
- var setMetadataFor = kotlin_kotlin.$_$.c4;
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.m;
- var THROW_CCE = kotlin_kotlin.$_$.g5;
- var classMeta = kotlin_kotlin.$_$.o3;
- var objectCreate = kotlin_kotlin.$_$.z3;
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
- var countTrailingZeroBits = kotlin_kotlin.$_$.j5;
- var last = kotlin_kotlin.$_$.l2;
- var removeLast = kotlin_kotlin.$_$.v2;
- var Iterable = kotlin_kotlin.$_$.s1;
- var isBlank = kotlin_kotlin.$_$.p4;
- var charSequenceGet = kotlin_kotlin.$_$.m3;
- var get_lastIndex = kotlin_kotlin.$_$.r4;
- var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.y;
- var fillArrayVal = kotlin_kotlin.$_$.q3;
- var toByte = kotlin_kotlin.$_$.d4;
- var charSequenceLength = kotlin_kotlin.$_$.n3;
- var listOf = kotlin_kotlin.$_$.m2;
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.j;
- var collectionSizeOrDefault = kotlin_kotlin.$_$.z1;
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.n5;
- var toString = kotlin_kotlin.$_$.g4;
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s;
- var isInterface = kotlin_kotlin.$_$.w3;
- var isLowerCase = kotlin_kotlin.$_$.q4;
- var emptyList = kotlin_kotlin.$_$.b2;
- var Collection = kotlin_kotlin.$_$.r1;
- var encodeToByteArray = kotlin_kotlin.$_$.o4;
- var crc32 = kotlin_io_github_andreypfau_kotlinx_crypto_crc32.$_$.a;
- var hashCode = kotlin_kotlin.$_$.u3;
- var getStringHashCode = kotlin_kotlin.$_$.t3;
- var toMutableList = kotlin_kotlin.$_$.a3;
- var lines = kotlin_kotlin.$_$.s4;
- var toList = kotlin_kotlin.$_$.y2;
- var getBooleanHashCode = kotlin_kotlin.$_$.r3;
- var getOrNull = kotlin_kotlin.$_$.h2;
- var interfaceMeta = kotlin_kotlin.$_$.v3;
- var Exception = kotlin_kotlin.$_$.c5;
- var Exception_init_$Init$ = kotlin_kotlin.$_$.o;
- var captureStack = kotlin_kotlin.$_$.k3;
- var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.r5;
- var NotImplementedError = kotlin_kotlin.$_$.e5;
- var mapCapacity = kotlin_kotlin.$_$.o2;
- var coerceAtLeast = kotlin_kotlin.$_$.h4;
- var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.i;
- var toString_0 = kotlin_kotlin.$_$.z;
- var Char__inc_impl_6e1wmz = kotlin_kotlin.$_$.w;
- var firstOrNull = kotlin_kotlin.$_$.f2;
- var to = kotlin_kotlin.$_$.s5;
- var sortedWith = kotlin_kotlin.$_$.x2;
- var checkIndexOverflow = kotlin_kotlin.$_$.y1;
- var toMap = kotlin_kotlin.$_$.z2;
- var first = kotlin_kotlin.$_$.g2;
- var startsWith = kotlin_kotlin.$_$.u4;
- var HashMap_init_$Create$ = kotlin_kotlin.$_$.g;
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.r;
- var Appendable = kotlin_kotlin.$_$.l4;
- var get_lastIndex_0 = kotlin_kotlin.$_$.k2;
- var repeat = kotlin_kotlin.$_$.t4;
- var Comparator = kotlin_kotlin.$_$.a5;
- var compareValues = kotlin_kotlin.$_$.c3;
- var firstOrNull_0 = kotlin_kotlin.$_$.e2;
- var HashSet_init_$Create$ = kotlin_kotlin.$_$.h;
- var THROW_IAE = kotlin_kotlin.$_$.h5;
- var enumEntries = kotlin_kotlin.$_$.i3;
- var Enum = kotlin_kotlin.$_$.b5;
- var plus = kotlin_kotlin.$_$.r2;
- var plus_0 = kotlin_kotlin.$_$.u2;
- var CoroutineImpl = kotlin_kotlin.$_$.g3;
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.d3;
- var toInt = kotlin_kotlin.$_$.w4;
- var ref = kotlin_me_alllex_parsus_parsus.$_$.f;
- var poll = kotlin_me_alllex_parsus_parsus.$_$.a;
- var listOf_0 = kotlin_kotlin.$_$.n2;
- var ParserImpl = kotlin_me_alllex_parsus_parsus.$_$.c;
- var Grammar = kotlin_me_alllex_parsus_parsus.$_$.b;
- var regexToken = kotlin_me_alllex_parsus_parsus.$_$.l;
- var literalToken = kotlin_me_alllex_parsus_parsus.$_$.k;
- var or = kotlin_me_alllex_parsus_parsus.$_$.e;
- var unaryMinus = kotlin_me_alllex_parsus_parsus.$_$.i;
- var times = kotlin_me_alllex_parsus_parsus.$_$.g;
- var times_0 = kotlin_me_alllex_parsus_parsus.$_$.h;
- var emptySet = kotlin_kotlin.$_$.d2;
- var zeroOrMore = kotlin_me_alllex_parsus_parsus.$_$.j;
- var oneOrMore = kotlin_me_alllex_parsus_parsus.$_$.d;
- var KProperty1 = kotlin_kotlin.$_$.k4;
- var getPropertyCallableRef = kotlin_kotlin.$_$.s3;
- var KProperty0 = kotlin_kotlin.$_$.j4;
- var stackTraceToString = kotlin_kotlin.$_$.o5;
- //endregion
- //region block: pre-declaration
- setMetadataFor(Companion, 'Companion', objectMeta);
- setMetadataFor(BinTrie, 'BinTrie', classMeta, VOID, VOID, BinTrie);
- setMetadataFor(Interval, 'Interval', classMeta);
- setMetadataFor(Companion_0, 'Companion', objectMeta);
- setMetadataFor(BitPfxCollection, 'BitPfxCollection', classMeta, VOID, [Iterable], BitPfxCollection_init_$Create$);
- setMetadataFor(Companion_1, 'Companion', objectMeta);
- setMetadataFor(ConstructorTag, 'ConstructorTag', classMeta);
- setMetadataFor(Companion_2, 'Companion', objectMeta);
- setMetadataFor(MinMaxSize, 'MinMaxSize', classMeta);
- setMetadataFor(Companion_3, 'Companion', objectMeta);
- setMetadataFor(TlbCompiler, 'TlbCompiler', classMeta, VOID, VOID, TlbCompiler);
- setMetadataFor(TlbConstructor, 'TlbConstructor', classMeta);
- setMetadataFor(TlbField, 'TlbField', classMeta);
- setMetadataFor(TlbType, 'TlbType', classMeta);
-
- function get_intSign() {
- return 0;
- }
-
- function get_isInt() {
- return !(this.get_intSign_xn0cir_k$() === 0);
- }
-
- function get_isAnon() {
- return false;
- }
-
- function get_isNatural() {
- return false;
- }
-
- setMetadataFor(TlbTypeExpression, 'TlbTypeExpression', interfaceMeta);
- setMetadataFor(Type, 'Type', objectMeta, VOID, [TlbTypeExpression]);
- setMetadataFor(TlbParamExpression, 'TlbParamExpression', interfaceMeta, VOID, [TlbTypeExpression]);
- setMetadataFor(TypeParam, 'TypeParam', classMeta, VOID, [TlbParamExpression]);
-
- function get_size() {
- return Companion_getInstance_2().fixedSize_141yqr_k$(0);
- }
-
- function get_isAnyBits() {
- return true;
- }
-
- setMetadataFor(TlbNatExpression, 'TlbNatExpression', interfaceMeta, VOID, [TlbTypeExpression]);
- setMetadataFor(NaturalParam, 'NaturalParam', classMeta, VOID, [TlbNatExpression, TlbParamExpression]);
- setMetadataFor(Apply, 'Apply', classMeta, VOID, [TlbTypeExpression]);
- setMetadataFor(Add, 'Add', classMeta, VOID, [TlbNatExpression]);
- setMetadataFor(GetBit, 'GetBit', classMeta, VOID, [TlbNatExpression]);
- setMetadataFor(Multiply, 'Multiply', classMeta, VOID, [TlbNatExpression]);
- setMetadataFor(IntConstant, 'IntConstant', classMeta, VOID, [TlbNatExpression]);
- setMetadataFor(Tuple, 'Tuple', classMeta, VOID, [TlbTypeExpression]);
- setMetadataFor(CellRef, 'CellRef', classMeta, VOID, [TlbTypeExpression]);
- setMetadataFor(Conditional, 'Conditional', classMeta, VOID, [TlbTypeExpression]);
- setMetadataFor(ConstructorTypeLowerCaseException, 'ConstructorTypeLowerCaseException', classMeta, Exception);
- setMetadataFor(InvalidConstructorTagException, 'InvalidConstructorTagException', classMeta, Exception);
- setMetadataFor(TypeAlreadyDefinedException, 'TypeAlreadyDefinedException', classMeta, Exception);
- setMetadataFor(UndefinedTypeException, 'UndefinedTypeException', classMeta, Exception);
- setMetadataFor(UndefinedFieldException, 'UndefinedFieldException', classMeta, Exception);
- setMetadataFor(CantApplyNonNatTypeException, 'CantApplyNonNatTypeException', classMeta, Exception, VOID, CantApplyNonNatTypeException);
- setMetadataFor(LocalContext, 'LocalContext', classMeta, VOID, [Appendable]);
- setMetadataFor(ConsField, 'ConsField', classMeta);
- setMetadataFor(ConsRecord, 'ConsRecord', classMeta);
- setMetadataFor(Action, 'Action', classMeta);
- setMetadataFor(Companion_4, 'Companion', objectMeta);
- setMetadataFor(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', classMeta, VOID, [Comparator]);
- setMetadataFor(FuncCodeGen, 'FuncCodeGen', classMeta);
- setMetadataFor(Companion_5, 'Companion', objectMeta);
- setMetadataFor(IdentScope, 'IdentScope', classMeta, VOID, [Collection], IdentScope);
- setMetadataFor(TlbPrimitiveType, 'TlbPrimitiveType', classMeta, Enum);
- setMetadataFor(Companion_6, 'Companion', objectMeta);
- setMetadataFor(AST, 'AST', interfaceMeta);
- setMetadataFor(TypeExpression, 'TypeExpression', interfaceMeta, VOID, [AST]);
- setMetadataFor(NaturalTypExpression, 'NaturalTypExpression', interfaceMeta, VOID, [TypeExpression]);
- setMetadataFor(TypeApply, 'TypeApply', classMeta, VOID, [TypeExpression]);
- setMetadataFor(Apply_0, 'Apply', classMeta, VOID, [TypeExpression]);
- setMetadataFor(Add_0, 'Add', classMeta, VOID, [NaturalTypExpression]);
- setMetadataFor(GetBit_0, 'GetBit', classMeta, VOID, [NaturalTypExpression]);
- setMetadataFor(Multiply_0, 'Multiply', classMeta, VOID, [NaturalTypExpression]);
- setMetadataFor(IntConstant_0, 'IntConstant', classMeta, VOID, [NaturalTypExpression]);
- setMetadataFor(Tuple_0, 'Tuple', classMeta, VOID, [TypeExpression]);
- setMetadataFor(CellRef_0, 'CellRef', classMeta, VOID, [TypeExpression]);
- setMetadataFor(Conditional_0, 'Conditional', classMeta, VOID, [TypeExpression]);
- setMetadataFor(AnonymousConstructor, 'AnonymousConstructor', classMeta, VOID, [TypeExpression]);
- setMetadataFor(Field, 'Field', classMeta, VOID, [AST]);
- setMetadataFor(ConstructorArg, 'ConstructorArg', classMeta, VOID, [AST]);
- setMetadataFor(Constructor, 'Constructor', classMeta, VOID, [AST]);
- setMetadataFor($parseCOROUTINE$0, '$parseCOROUTINE$0', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$1, '$parseCOROUTINE$1', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$2, '$parseCOROUTINE$2', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$3, '$parseCOROUTINE$3', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$4, '$parseCOROUTINE$4', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$5, '$parseCOROUTINE$5', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$6, '$parseCOROUTINE$6', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$7, '$parseCOROUTINE$7', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$8, '$parseCOROUTINE$8', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$9, '$parseCOROUTINE$9', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$10, '$parseCOROUTINE$10', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$11, '$parseCOROUTINE$11', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$12, '$parseCOROUTINE$12', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$13, '$parseCOROUTINE$13', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$14, '$parseCOROUTINE$14', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$15, '$parseCOROUTINE$15', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$16, '$parseCOROUTINE$16', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$17, '$parseCOROUTINE$17', classMeta, CoroutineImpl);
- setMetadataFor($parseCOROUTINE$18, '$parseCOROUTINE$18', classMeta, CoroutineImpl);
- setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_0, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_1, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_2, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_3, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_4, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_5, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_6, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_7, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_8, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_9, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_10, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_11, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_12, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_13, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_14, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_15, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_16, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(_no_name_provided__qut3iv_17, VOID, classMeta, ParserImpl, VOID, VOID, VOID, VOID, [0]);
- setMetadataFor(TlbGrammar, 'TlbGrammar', classMeta, Grammar, VOID, TlbGrammar);
- setMetadataFor(SrcLocation, 'SrcLocation', classMeta);
-
- //endregion
- function appendTo($this, appendable, prefix) {
- // Inline function 'kotlin.with' call
- // Inline function 'kotlin.contracts.contract' call
- var x = prefix;
- var u = lowerBit(x).ushr_z7nmq8_k$(1);
- $l$loop: while (true) {
- var tmp = x;
- // Inline function 'kotlin.ULong.toLong' call
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.ULong.shl' call
- var this_0 = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_1 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).shl_bg8if3_k$(63));
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_2 = _UInt___init__impl__l7qpdl(1);
- var other = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(this_2)).and_4spn93_k$(new Long(-1, 0)));
- var this_3 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_1).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- var tmp$ret$6 = _ULong___get_data__impl__fggpzb(this_3);
- if (!!tmp.and_4spn93_k$(tmp$ret$6).equals(new Long(0, 0))) {
- break $l$loop;
- }
- appendable.append_jgojdo_k$(x.ushr_z7nmq8_k$(63).toString());
- x = x.shl_bg8if3_k$(1);
- }
- appendable.append_jgojdo_k$(' t=').append_jgojdo_k$($this.tag_1.toString());
- appendable.append_jgojdo_k$('; dt=').append_jgojdo_k$($this.downTag_1.toString());
- appendable.append_jgojdo_k$('; ud=').append_jgojdo_k$($this.usefulDeath_1.toString());
- // Inline function 'kotlin.text.appendLine' call
- appendable.append_am5a4z_k$(_Char___init__impl__6a9atx(10));
- var tmp0_safe_receiver = $this.left_1;
- if (tmp0_safe_receiver == null)
- null;
- else {
- appendTo(tmp0_safe_receiver, appendable, prefix.minus_mfbszm_k$(u));
- }
- var tmp1_safe_receiver = $this.right_1;
- if (tmp1_safe_receiver == null)
- null;
- else {
- appendTo(tmp1_safe_receiver, appendable, prefix.plus_r93sks_k$(u));
- }
- return Unit_getInstance();
- }
-
- function appendTo$default($this, appendable, prefix, $super) {
- var tmp;
- if (prefix === VOID) {
- // Inline function 'kotlin.ULong.toLong' call
- // Inline function 'kotlin.ULong.shl' call
- var this_0 = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_1 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).shl_bg8if3_k$(63));
- tmp = _ULong___get_data__impl__fggpzb(this_1);
- } else {
- tmp = prefix;
- }
- prefix = tmp;
- return appendTo($this, appendable, prefix);
- }
-
- function Companion() {
- Companion_instance = this;
- }
-
- protoOf(Companion).insertPath_6s79qg_k$ = function (root, path, tag) {
- var tmp;
- if (path.equals(new Long(0, 0)) ? true : tag.equals(new Long(0, 0))) {
- tmp = root;
- } else {
- if (!(root == null)) {
- tmp = root.set_3v7r1e_k$(path, tag);
- } else {
- // Inline function 'kotlin.ULong.and' call
- // Inline function 'kotlin.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(path);
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.ULong.shl' call
- var this_1 = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_2 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_1).shl_bg8if3_k$(63));
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_3 = _UInt___init__impl__l7qpdl(1);
- var other = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(this_3)).and_4spn93_k$(new Long(-1, 0)));
- var other_0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_2).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- var tmp$ret$5 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).and_4spn93_k$(_ULong___get_data__impl__fggpzb(other_0)));
- if (equals(tmp$ret$5, _ULong___init__impl__c78o9k(new Long(0, 0)))) {
- tmp = new BinTrie(tag);
- } else {
- if (path.compareTo_9jj042_k$(new Long(0, 0)) >= 0) {
- tmp = new BinTrie(VOID, this.insertPath_6s79qg_k$(null, path.shl_bg8if3_k$(1), tag));
- } else {
- tmp = new BinTrie(VOID, VOID, this.insertPath_6s79qg_k$(null, path.shl_bg8if3_k$(1), tag));
- }
- }
- }
- }
- return tmp;
- };
- protoOf(Companion).insertPaths_b2a69v_k$ = function (root, paths, tag) {
- var result = root;
- if (!tag.equals(new Long(0, 0))) {
- var tmp0_iterator = paths.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var x = tmp0_iterator.next_20eer_k$();
- result = this.insertPath_6s79qg_k$(result, x, tag);
- }
- }
- return result;
- };
- var Companion_instance;
-
- function Companion_getInstance() {
- if (Companion_instance == null)
- new Companion();
- return Companion_instance;
- }
-
- function BinTrie(tag, left, right) {
- Companion_getInstance();
- tag = tag === VOID ? new Long(0, 0) : tag;
- left = left === VOID ? null : left;
- right = right === VOID ? null : right;
- this.tag_1 = tag;
- this.left_1 = left;
- this.right_1 = right;
- var tmp = this;
- // Inline function 'kotlin.run' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'org.ton.tlb.BinTrie.downTag.' call
- var result = this.tag_1;
- if (!(this.left_1 == null)) {
- result = result.or_v7fvkl_k$(this.left_1.downTag_1);
- }
- if (!(this.right_1 == null)) {
- result = result.or_v7fvkl_k$(this.right_1.downTag_1);
- }
- tmp.downTag_1 = result;
- var tmp_0 = this;
- // Inline function 'kotlin.run' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'org.ton.tlb.BinTrie.usefulDeath.' call
- // Inline function 'kotlin.math.max' call
- var tmp0_safe_receiver = this.left_1;
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.usefulDeath_1;
- var a = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
- var tmp2_safe_receiver = this.right_1;
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.usefulDeath_1;
- var b = tmp3_elvis_lhs == null ? 0 : tmp3_elvis_lhs;
- var child = Math.max(a, b);
- var tmp_1;
- if (child > 0) {
- tmp_1 = child + 1 | 0;
- } else {
- var tmp_2;
- if (((!(this.left_1 == null) ? !(this.right_1 == null) : false) ? !this.left_1.downTag_1.and_4spn93_k$(this.right_1.downTag_1.inv_28kx_k$()).equals(new Long(0, 0)) : false) ? !this.right_1.downTag_1.and_4spn93_k$(this.left_1.downTag_1.inv_28kx_k$()).equals(new Long(0, 0)) : false) {
- tmp_2 = 1;
- } else {
- tmp_2 = 0;
- }
- tmp_1 = tmp_2;
- }
- tmp_0.usefulDeath_1 = tmp_1;
- }
-
- protoOf(BinTrie).get_tag_18ivnz_k$ = function () {
- return this.tag_1;
- };
- protoOf(BinTrie).get_left_woprgw_k$ = function () {
- return this.left_1;
- };
- protoOf(BinTrie).get_right_ixz7xv_k$ = function () {
- return this.right_1;
- };
- protoOf(BinTrie).get_downTag_vtashb_k$ = function () {
- return this.downTag_1;
- };
- protoOf(BinTrie).get_usefulDeath_fltwbv_k$ = function () {
- return this.usefulDeath_1;
- };
- protoOf(BinTrie).set_3v7r1e_k$ = function (path, newTag) {
- if (path.equals(new Long(0, 0)) ? true : newTag.equals(new Long(0, 0)))
- return this;
- var left = this.left_1;
- var right = this.right_1;
- var tag = this.tag_1;
- // Inline function 'kotlin.ULong.and' call
- // Inline function 'kotlin.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(path);
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.ULong.shl' call
- var this_1 = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_2 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_1).shl_bg8if3_k$(63));
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_3 = _UInt___init__impl__l7qpdl(1);
- var other = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(this_3)).and_4spn93_k$(new Long(-1, 0)));
- var other_0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_2).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- var tmp$ret$5 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).and_4spn93_k$(_ULong___get_data__impl__fggpzb(other_0)));
- if (equals(tmp$ret$5, _ULong___init__impl__c78o9k(new Long(0, 0)))) {
- tag = tag.or_v7fvkl_k$(newTag);
- return new BinTrie(tag, left, right);
- } else {
- if (path.compareTo_9jj042_k$(new Long(0, 0)) >= 0) {
- left = Companion_getInstance().insertPath_6s79qg_k$(left, path.shl_bg8if3_k$(1), newTag);
- } else {
- right = Companion_getInstance().insertPath_6s79qg_k$(right, path.shl_bg8if3_k$(1), newTag);
- }
- }
- if (!(left == null) ? !(right == null) : false) {
- tag = tag.or_v7fvkl_k$(left.tag_1.and_4spn93_k$(right.tag_1));
- }
- return new BinTrie(tag, left, right);
- };
- protoOf(BinTrie).get_ugtq3c_k$ = function (path) {
- var tmp;
- if (path.equals(new Long(0, 0))) {
- tmp = null;
- } else {
- // Inline function 'kotlin.ULong.and' call
- // Inline function 'kotlin.toULong' call
- var this_0 = _ULong___init__impl__c78o9k(path);
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.ULong.shl' call
- var this_1 = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_2 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_1).shl_bg8if3_k$(63));
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_3 = _UInt___init__impl__l7qpdl(1);
- var other = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(this_3)).and_4spn93_k$(new Long(-1, 0)));
- var other_0 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_2).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- var tmp$ret$5 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).and_4spn93_k$(_ULong___get_data__impl__fggpzb(other_0)));
- if (equals(tmp$ret$5, _ULong___init__impl__c78o9k(new Long(0, 0)))) {
- tmp = this;
- } else {
- if (path.compareTo_9jj042_k$(new Long(0, 0)) >= 0) {
- var tmp0_safe_receiver = this.left_1;
- tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.get_ugtq3c_k$(path.shl_bg8if3_k$(1));
- } else {
- var tmp1_safe_receiver = this.right_1;
- tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.get_ugtq3c_k$(path.shl_bg8if3_k$(1));
- }
- }
- }
- return tmp;
- };
- protoOf(BinTrie).findConflictPath_j0gi0g_k$ = function (colors, mask) {
- var c = colors.or_v7fvkl_k$(this.tag_1.and_4spn93_k$(mask));
- var tmp;
- if (this.left_1 == null ? this.right_1 == null : false) {
- var tmp_0;
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = c.minus_mfbszm_k$(toLong(1));
- if (!c.and_4spn93_k$(tmp$ret$0).equals(new Long(0, 0))) {
- // Inline function 'kotlin.ULong.toLong' call
- // Inline function 'kotlin.ULong.shl' call
- var this_0 = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_1 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_0).shl_bg8if3_k$(63));
- tmp_0 = _ULong___get_data__impl__fggpzb(this_1);
- } else {
- tmp_0 = new Long(0, 0);
- }
- tmp = tmp_0;
- } else if (this.left_1 == null) {
- var tmp_1;
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$3 = c.minus_mfbszm_k$(toLong(1));
- if (!c.and_4spn93_k$(tmp$ret$3).equals(new Long(0, 0))) {
- tmp_1 = new Long(0, 1073741824);
- } else {
- var tmp0_safe_receiver = this.right_1;
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.findConflictPath_j0gi0g_k$(c, mask);
- var x = tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs;
- tmp_1 = !x.equals(new Long(0, 0)) ? x.ushr_z7nmq8_k$(1).or_v7fvkl_k$(new Long(0, -2147483648)) : new Long(0, 0);
- }
- tmp = tmp_1;
- } else if (this.right_1 == null) {
- var tmp_2;
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$4 = c.minus_mfbszm_k$(toLong(1));
- if (!c.and_4spn93_k$(tmp$ret$4).equals(new Long(0, 0))) {
- tmp_2 = new Long(0, -1073741824);
- } else {
- tmp_2 = this.left_1.findConflictPath_j0gi0g_k$(c, mask).ushr_z7nmq8_k$(1);
- }
- tmp = tmp_2;
- } else {
- var x_0 = this.left_1.findConflictPath_j0gi0g_k$(c, mask);
- var y = this.right_1.findConflictPath_j0gi0g_k$(c, mask);
- var tmp_3;
- if (lowerBit(y).compareTo_9jj042_k$(lowerBit(x_0)) > 0) {
- tmp_3 = y.ushr_z7nmq8_k$(1).or_v7fvkl_k$(new Long(0, -2147483648));
- } else {
- tmp_3 = x_0.ushr_z7nmq8_k$(1);
- }
- tmp = tmp_3;
- }
- return tmp;
- };
- protoOf(BinTrie).findConflictPath$default_tcesif_k$ = function (colors, mask, $super) {
- colors = colors === VOID ? new Long(0, 0) : colors;
- mask = mask === VOID ? new Long(-1, -1) : mask;
- return $super === VOID ? this.findConflictPath_j0gi0g_k$(colors, mask) : $super.findConflictPath_j0gi0g_k$.call(this, colors, mask);
- };
- protoOf(BinTrie).toString = function () {
- // Inline function 'kotlin.text.buildString' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.apply' call
- var this_0 = StringBuilder_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'org.ton.tlb.BinTrie.toString.' call
- appendTo$default(this, this_0);
- return this_0.toString();
- };
- protoOf(BinTrie).component1_7eebsc_k$ = function () {
- return this.tag_1;
- };
- protoOf(BinTrie).component2_7eebsb_k$ = function () {
- return this.left_1;
- };
- protoOf(BinTrie).component3_7eebsa_k$ = function () {
- return this.right_1;
- };
- protoOf(BinTrie).copy_an8dbn_k$ = function (tag, left, right) {
- return new BinTrie(tag, left, right);
- };
- protoOf(BinTrie).copy$default_rn764j_k$ = function (tag, left, right, $super) {
- tag = tag === VOID ? this.tag_1 : tag;
- left = left === VOID ? this.left_1 : left;
- right = right === VOID ? this.right_1 : right;
- return $super === VOID ? this.copy_an8dbn_k$(tag, left, right) : $super.copy_an8dbn_k$.call(this, tag, left, right);
- };
- protoOf(BinTrie).hashCode = function () {
- var result = this.tag_1.hashCode();
- result = imul(result, 31) + (this.left_1 == null ? 0 : this.left_1.hashCode()) | 0;
- result = imul(result, 31) + (this.right_1 == null ? 0 : this.right_1.hashCode()) | 0;
- return result;
- };
- protoOf(BinTrie).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof BinTrie))
- return false;
- var tmp0_other_with_cast = other instanceof BinTrie ? other : THROW_CCE();
- if (!this.tag_1.equals(tmp0_other_with_cast.tag_1))
- return false;
- if (!equals(this.left_1, tmp0_other_with_cast.left_1))
- return false;
- if (!equals(this.right_1, tmp0_other_with_cast.right_1))
- return false;
- return true;
- };
-
- function get_ALL() {
- return ALL;
- }
-
- var ALL;
-
- function Interval_init_$Init$(z, $this) {
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = z.minus_mfbszm_k$(toLong(1));
- var tmp = z.and_4spn93_k$(tmp$ret$0);
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$1 = z.minus_mfbszm_k$(toLong(1));
- Interval.call($this, z, tmp, z.or_v7fvkl_k$(tmp$ret$1));
- return $this;
- }
-
- function Interval_init_$Create$(z) {
- return Interval_init_$Init$(z, objectCreate(protoOf(Interval)));
- }
-
- function _get_pfx__e6eowf($this) {
- return $this.pfx_1;
- }
-
- function BitPfxCollection_init_$Init$($this) {
- BitPfxCollection.call($this, ArrayList_init_$Create$());
- return $this;
- }
-
- function BitPfxCollection_init_$Create$() {
- return BitPfxCollection_init_$Init$(objectCreate(protoOf(BitPfxCollection)));
- }
-
- function BitPfxCollection_init_$Init$_0(pfx, $this) {
- // Inline function 'kotlin.apply' call
- var this_0 = ArrayList_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'org.ton.tlb.BitPfxCollection..' call
- this_0.add_utx5q5_k$(pfx);
- BitPfxCollection.call($this, this_0);
- return $this;
- }
-
- function BitPfxCollection_init_$Create$_0(pfx) {
- return BitPfxCollection_init_$Init$_0(pfx, objectCreate(protoOf(BitPfxCollection)));
- }
-
- function Interval(z, a, b) {
- this.z_1 = z;
- this.a_1 = a;
- this.b_1 = b;
- }
-
- protoOf(Interval).get_z_1mhr69_k$ = function () {
- return this.z_1;
- };
- protoOf(Interval).get_a_1mhr5k_k$ = function () {
- return this.a_1;
- };
- protoOf(Interval).get_b_1mhr5l_k$ = function () {
- return this.b_1;
- };
- protoOf(Interval).contains_s5chu7_k$ = function (other) {
- return this.a_1.compareTo_9jj042_k$(other.a_1) <= 0 ? other.b_1.compareTo_9jj042_k$(this.b_1) <= 0 : false;
- };
- protoOf(Interval).component1_7eebsc_k$ = function () {
- return this.z_1;
- };
- protoOf(Interval).component2_7eebsb_k$ = function () {
- return this.a_1;
- };
- protoOf(Interval).component3_7eebsa_k$ = function () {
- return this.b_1;
- };
- protoOf(Interval).copy_irvfc7_k$ = function (z, a, b) {
- return new Interval(z, a, b);
- };
- protoOf(Interval).copy$default_kgp7um_k$ = function (z, a, b, $super) {
- z = z === VOID ? this.z_1 : z;
- a = a === VOID ? this.a_1 : a;
- b = b === VOID ? this.b_1 : b;
- return $super === VOID ? this.copy_irvfc7_k$(z, a, b) : $super.copy_irvfc7_k$.call(this, z, a, b);
- };
- protoOf(Interval).toString = function () {
- return 'Interval(z=' + this.z_1.toString() + ', a=' + this.a_1.toString() + ', b=' + this.b_1.toString() + ')';
- };
- protoOf(Interval).hashCode = function () {
- var result = this.z_1.hashCode();
- result = imul(result, 31) + this.a_1.hashCode() | 0;
- result = imul(result, 31) + this.b_1.hashCode() | 0;
- return result;
- };
- protoOf(Interval).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof Interval))
- return false;
- var tmp0_other_with_cast = other instanceof Interval ? other : THROW_CCE();
- if (!this.z_1.equals(tmp0_other_with_cast.z_1))
- return false;
- if (!this.a_1.equals(tmp0_other_with_cast.a_1))
- return false;
- if (!this.b_1.equals(tmp0_other_with_cast.b_1))
- return false;
- return true;
- };
-
- function Companion_0() {
- Companion_instance_0 = this;
- }
-
- protoOf(Companion_0).all_22ld_k$ = function () {
- return BitPfxCollection_init_$Create$_0(new Long(0, -2147483648));
- };
- var Companion_instance_0;
-
- function Companion_getInstance_0() {
- if (Companion_instance_0 == null)
- new Companion_0();
- return Companion_instance_0;
- }
-
- function BitPfxCollection(pfx) {
- Companion_getInstance_0();
- this.pfx_1 = pfx;
- }
-
- protoOf(BitPfxCollection).isEmpty_y1axqb_k$ = function () {
- return this.pfx_1.isEmpty_y1axqb_k$();
- };
- protoOf(BitPfxCollection).iterator_jk1svi_k$ = function () {
- return this.pfx_1.iterator_jk1svi_k$();
- };
- protoOf(BitPfxCollection).toString = function () {
- // Inline function 'kotlin.text.buildString' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.apply' call
- var this_0 = StringBuilder_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'org.ton.tlb.BitPfxCollection.toString.' call
- var first = _Char___init__impl__6a9atx(123);
- var tmp0_iterator = this.pfx_1.iterator_jk1svi_k$();
- while (tmp0_iterator.hasNext_bitz1p_k$()) {
- var value = tmp0_iterator.next_20eer_k$();
- this_0.append_am5a4z_k$(first);
- var v = value;
- $l$loop: while (true) {
- var tmp = v;
- // Inline function 'kotlin.ULong.toLong' call
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.toULong' call
- var this_1 = new Long(0, -2147483648);
- var this_2 = _ULong___init__impl__c78o9k(this_1);
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.UInt.toULong' call
- var this_3 = _UInt___init__impl__l7qpdl(1);
- var other = _ULong___init__impl__c78o9k(toLong(_UInt___get_data__impl__f0vqqw(this_3)).and_4spn93_k$(new Long(-1, 0)));
- var this_4 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_2).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- var tmp$ret$4 = _ULong___get_data__impl__fggpzb(this_4);
- if (!!tmp.and_4spn93_k$(tmp$ret$4).equals(new Long(0, 0))) {
- break $l$loop;
- }
- this_0.append_8gl4h8_k$(v.ushr_z7nmq8_k$(63));
- v = v.shl_bg8if3_k$(1);
- }
- this_0.append_22ad7x_k$('*');
- first = _Char___init__impl__6a9atx(44);
- }
- if (first === _Char___init__impl__6a9atx(123)) {
- this_0.append_am5a4z_k$(_Char___init__impl__6a9atx(123));
- }
- this_0.append_am5a4z_k$(_Char___init__impl__6a9atx(125));
- return this_0.toString();
- };
- protoOf(BitPfxCollection).times_nfzjiw_k$ = function (prepend) {
- var p = prepend;
- if (p.equals(new Long(0, 0))) {
- return BitPfxCollection_init_$Create$();
- }
- if (p.equals(new Long(0, -2147483648))) {
- return this;
- }
- var result = new BitPfxCollection(ArrayList_init_$Create$_0(this.pfx_1.get_size_woubt6_k$()));
- var l = 63 - countTrailingZeroBits(prepend) | 0;
- var tmp = p;
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = p.minus_mfbszm_k$(toLong(1));
- p = tmp.and_4spn93_k$(tmp$ret$0);
- var inductionVariable = 0;
- var last = this.pfx_1.get_size_woubt6_k$();
- if (inductionVariable < last)
- do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- var z = this.pfx_1.get_c1px32_k$(i);
- var zw = lowerBit(z);
- z = z.ushr_z7nmq8_k$(l);
- z = z.or_v7fvkl_k$(p);
- if (zw.ushr_z7nmq8_k$(l).equals(new Long(0, 0))) {
- z = z.or_v7fvkl_k$(new Long(1, 0));
- }
- result.plus_a407us_k$(z);
- }
- while (inductionVariable < last);
- return result;
- };
- protoOf(BitPfxCollection).plus_a407us_k$ = function (prefix) {
- var z = prefix;
- if (this.pfx_1.isEmpty_y1axqb_k$()) {
- this.pfx_1.add_utx5q5_k$(z);
- return Unit_getInstance();
- }
- var w = lowerBit(z);
- $l$loop: while (!(this.pfx_1.get_size_woubt6_k$() === 0)) {
- var b = last(this.pfx_1);
- var t = z.xor_qzz94j_k$(b);
- if (t.equals(new Long(0, 0))) {
- return Unit_getInstance();
- }
- if (!t.equals(w.shl_bg8if3_k$(1))) {
- break $l$loop;
- }
- z = z.minus_mfbszm_k$(w);
- w = w.shl_bg8if3_k$(1);
- removeLast(this.pfx_1);
- }
- this.pfx_1.add_utx5q5_k$(z);
- };
- protoOf(BitPfxCollection).plus_1ucpai_k$ = function (other) {
- if (other.isEmpty_y1axqb_k$()) {
- return this;
- }
- if (this.isEmpty_y1axqb_k$()) {
- return other;
- }
- var i = 0;
- var j = 0;
- var m = this.pfx_1.get_size_woubt6_k$();
- var n = other.pfx_1.get_size_woubt6_k$();
- var result = new BitPfxCollection(ArrayList_init_$Create$_0(m + n | 0));
- var u = Interval_init_$Create$(this.pfx_1.get_c1px32_k$(0));
- var v = Interval_init_$Create$(other.pfx_1.get_c1px32_k$(0));
- $l$loop_0: while (i < m ? j < n : false) {
- if (u.b_1.compareTo_9jj042_k$(v.b_1) < 0 ? true : u.b_1.equals(v.b_1) ? u.a_1.compareTo_9jj042_k$(v.a_1) >= 0 : false) {
- if (u.a_1.compareTo_9jj042_k$(v.a_1) < 0) {
- result.plus_a407us_k$(u.z_1);
- }
- i = i + 1 | 0;
- if (i === m) {
- break $l$loop_0;
- }
- u = Interval_init_$Create$(this.pfx_1.get_c1px32_k$(i));
- } else {
- if (v.a_1.compareTo_9jj042_k$(u.a_1) < 0) {
- result.plus_a407us_k$(v.z_1);
- }
- j = j + 1 | 0;
- if (j === n) {
- break $l$loop_0;
- }
- v = Interval_init_$Create$(other.pfx_1.get_c1px32_k$(j));
- }
- }
- while (i < m) {
- var tmp0 = i;
- i = tmp0 + 1 | 0;
- result.plus_a407us_k$(this.pfx_1.get_c1px32_k$(tmp0));
- }
- while (j < n) {
- var tmp1 = j;
- j = tmp1 + 1 | 0;
- result.plus_a407us_k$(other.pfx_1.get_c1px32_k$(tmp1));
- }
- return result;
- };
-
- function get_HEX_DIGITS() {
- return HEX_DIGITS;
- }
-
- var HEX_DIGITS;
-
- function Companion_1() {
- Companion_instance_1 = this;
- }
-
- protoOf(Companion_1).parse_3soltv_k$ = function (string) {
- return new ConstructorTag(this.parseValue_1llirs_k$(string));
- };
- protoOf(Companion_1).parseValue_1llirs_k$ = function (string) {
- // Inline function 'kotlin.text.isNullOrBlank' call
- // Inline function 'kotlin.contracts.contract' call
- if (string == null ? true : isBlank(string)) {
- return new Long(0, 0);
- }
- var value = new Long(0, 0);
- var bits = 0;
- var chars = 1;
- var tmp0_subject = charSequenceGet(string, 0);
- if (tmp0_subject === _Char___init__impl__6a9atx(35)) {
- var inductionVariable = 1;
- var last = get_lastIndex(string);
- if (inductionVariable <= last)
- $l$loop: do {
- var i = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'kotlin.code' call
- var this_0 = charSequenceGet(string, i);
- var c = Char__toInt_impl_vasixd(this_0);
- var tmp = c;
- // Inline function 'kotlin.code' call
- var this_1 = _Char___init__impl__6a9atx(95);
- if (tmp === Char__toInt_impl_vasixd(this_1)) {
- break $l$loop;
- }
- var tmp_0 = c;
- var tmp2_subject = c;
- var tmp_1;
- // Inline function 'kotlin.code' call
- var this_2 = _Char___init__impl__6a9atx(48);
- var containsLower = Char__toInt_impl_vasixd(this_2);
- var tmp_2;
- // Inline function 'kotlin.code' call
- var this_3 = _Char___init__impl__6a9atx(57);
- if (tmp2_subject <= Char__toInt_impl_vasixd(this_3)) {
- tmp_2 = containsLower <= tmp2_subject;
- } else {
- tmp_2 = false;
- }
- if (tmp_2) {
- // Inline function 'kotlin.code' call
- var this_4 = _Char___init__impl__6a9atx(48);
- tmp_1 = Char__toInt_impl_vasixd(this_4);
- } else {
- // Inline function 'kotlin.code' call
- var this_5 = _Char___init__impl__6a9atx(65);
- var containsLower_0 = Char__toInt_impl_vasixd(this_5);
- var tmp_3;
- // Inline function 'kotlin.code' call
- var this_6 = _Char___init__impl__6a9atx(70);
- if (tmp2_subject <= Char__toInt_impl_vasixd(this_6)) {
- tmp_3 = containsLower_0 <= tmp2_subject;
- } else {
- tmp_3 = false;
- }
- if (tmp_3) {
- tmp_1 = 55;
- } else {
- // Inline function 'kotlin.code' call
- var this_7 = _Char___init__impl__6a9atx(97);
- var containsLower_1 = Char__toInt_impl_vasixd(this_7);
- var tmp_4;
- // Inline function 'kotlin.code' call
- var this_8 = _Char___init__impl__6a9atx(102);
- if (tmp2_subject <= Char__toInt_impl_vasixd(this_8)) {
- tmp_4 = containsLower_1 <= tmp2_subject;
- } else {
- tmp_4 = false;
- }
- if (tmp_4) {
- tmp_1 = 87;
- } else {
- return new Long(0, 0);
- }
- }
- }
- c = tmp_0 - tmp_1 | 0;
- if (bits > 60) {
- return new Long(0, 0);
- }
- value = value.or_v7fvkl_k$(toLong(c).shl_bg8if3_k$(60 - bits | 0));
- bits = bits + 4 | 0;
- chars = chars + 1 | 0;
- }
- while (!(i === last));
- } else if (tmp0_subject === _Char___init__impl__6a9atx(36)) {
- if (!(charSequenceGet(string, 1) === _Char___init__impl__6a9atx(95))) {
- var inductionVariable_0 = 1;
- var last_0 = get_lastIndex(string);
- if (inductionVariable_0 <= last_0)
- do {
- var i_0 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- // Inline function 'kotlin.code' call
- var this_9 = charSequenceGet(string, i_0);
- var tmp_5 = Char__toInt_impl_vasixd(this_9);
- // Inline function 'kotlin.code' call
- var this_10 = _Char___init__impl__6a9atx(48);
- var c_0 = tmp_5 - Char__toInt_impl_vasixd(this_10) | 0;
- if (!((c_0 & -2) === 0)) {
- return new Long(0, 0);
- }
- if (bits > 63) {
- return new Long(0, 0);
- }
- value = value.or_v7fvkl_k$(toLong(c_0).shl_bg8if3_k$(63 - bits | 0));
- bits = bits + 1 | 0;
- chars = chars + 1 | 0;
- }
- while (!(i_0 === last_0));
- }
- } else
- return new Long(0, 0);
- if (chars < get_lastIndex(string)) {
- return new Long(0, 0);
- }
- if (chars === (get_lastIndex(string) & bits)) {
- while (!(bits === 0) ? value.ushr_z7nmq8_k$(64 - bits | 0).and_4spn93_k$(new Long(1, 0)).equals(new Long(0, 0)) : false) {
- bits = bits - 1 | 0;
- }
- if (!(bits === 0)) {
- bits = bits - 1 | 0;
- }
- }
- if (bits === 64) {
- return new Long(0, 0);
- }
- value = value.or_v7fvkl_k$((new Long(1, 0)).shl_bg8if3_k$(63 - bits | 0));
- return value;
- };
- var Companion_instance_1;
-
- function Companion_getInstance_1() {
- if (Companion_instance_1 == null)
- new Companion_1();
- return Companion_instance_1;
- }
-
- function ConstructorTag(value) {
- Companion_getInstance_1();
- this.value_1 = value;
- }
-
- protoOf(ConstructorTag).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- protoOf(ConstructorTag).get_size_woubt6_k$ = function () {
- var tmp;
- if (!this.value_1.equals(new Long(0, 0))) {
- tmp = Companion_getInstance_2().fixedSize_141yqr_k$(63 - countTrailingZeroBits(this.value_1) | 0);
- } else {
- tmp = Companion_getInstance_2().fixedSize_141yqr_k$(0);
- }
- return tmp;
- };
- protoOf(ConstructorTag).isEmpty_y1axqb_k$ = function () {
- return this.value_1.equals(new Long(0, 0));
- };
- protoOf(ConstructorTag).toString = function () {
- if (this.isEmpty_y1axqb_k$()) {
- return '';
- }
- var tmp;
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = (new Long(0, 134217728)).minus_mfbszm_k$(toLong(1));
- if (this.value_1.and_4spn93_k$(tmp$ret$0).equals(new Long(0, 0))) {
- tmp = '$' + this.toBinary_xfaf6k_k$();
- } else {
- tmp = '#' + this.toHex_1tsk9s_k$();
- }
- return tmp;
- };
- protoOf(ConstructorTag).toBinary_xfaf6k_k$ = function () {
- if (this.isEmpty_y1axqb_k$()) {
- return '';
- }
- // Inline function 'kotlin.text.buildString' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.apply' call
- var this_0 = StringBuilder_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'org.ton.tlb.ConstructorTag.toBinary.' call
- var c = 0;
- var tag = this.value_1;
- $l$loop: while (true) {
- var tmp = tag;
- // Inline function 'kotlin.ULong.toLong' call
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.ULong.shl' call
- var this_1 = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_2 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_1).shl_bg8if3_k$(63));
- var other = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_3 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_2).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- var tmp$ret$2 = _ULong___get_data__impl__fggpzb(this_3);
- if (!!tmp.and_4spn93_k$(tmp$ret$2).equals(new Long(0, 0))) {
- break $l$loop;
- }
- this_0.append_8gl4h8_k$(tag.ushr_z7nmq8_k$(63));
- tag = tag.shl_bg8if3_k$(1);
- c = c + 1 | 0;
- }
- if (c === 0) {
- this_0.append_22ad7x_k$('_');
- }
- return this_0.toString();
- };
- protoOf(ConstructorTag).toHex_1tsk9s_k$ = function () {
- if (this.isEmpty_y1axqb_k$()) {
- return '';
- }
- // Inline function 'kotlin.text.buildString' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.apply' call
- var this_0 = StringBuilder_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'org.ton.tlb.ConstructorTag.toHex.' call
- var tag = this.value_1;
- $l$loop: while (true) {
- var tmp = tag;
- // Inline function 'kotlin.ULong.toLong' call
- // Inline function 'kotlin.ULong.minus' call
- // Inline function 'kotlin.ULong.shl' call
- var this_1 = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_2 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_1).shl_bg8if3_k$(63));
- var other = _ULong___init__impl__c78o9k(new Long(1, 0));
- var this_3 = _ULong___init__impl__c78o9k(_ULong___get_data__impl__fggpzb(this_2).minus_mfbszm_k$(_ULong___get_data__impl__fggpzb(other)));
- var tmp$ret$2 = _ULong___get_data__impl__fggpzb(this_3);
- if (!!tmp.and_4spn93_k$(tmp$ret$2).equals(new Long(0, 0))) {
- break $l$loop;
- }
- this_0.append_am5a4z_k$(charSequenceGet(HEX_DIGITS, tag.ushr_z7nmq8_k$(60).toInt_1tsl84_k$()));
- tag = tag.shl_bg8if3_k$(4);
- }
- if (tag.equals(new Long(0, 0))) {
- this_0.append_22ad7x_k$('_');
- }
- return this_0.toString();
- };
-
- function isNullOrEmpty(_this__u8e3s4) {
- // Inline function 'kotlin.contracts.contract' call
- return _this__u8e3s4 == null ? true : _this__u8e3s4.value_1.equals(new Long(0, 0));
- }
-
- function get_size_0(_this__u8e3s4) {
- var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.get_size_woubt6_k$();
- return tmp1_elvis_lhs == null ? Companion_getInstance_2().fixedSize_141yqr_k$(0) : tmp1_elvis_lhs;
- }
-
- function bitsNegate(_this__u8e3s4) {
- // Inline function 'kotlin.Long.plus' call
- return _this__u8e3s4.inv_28kx_k$().plus_r93sks_k$(toLong(1));
- }
-
- function lowerBit(_this__u8e3s4) {
- return _this__u8e3s4.and_4spn93_k$(bitsNegate(_this__u8e3s4));
- }
-
- function isPossible($this, maxSize, minSize) {
- return toLong(maxSize - minSize | 0).and_4spn93_k$(new Long(-2147483520, 0)).equals(new Long(0, 0));
- }
-
- function normalize($this, value) {
- var v = value;
- v = normalize_0($this, v, new Long(248, 0), new Long(7, 0));
- v = normalize_0($this, v, new Long(-524288, 0), new Long(524032, 0));
- v = normalize_0($this, v, new Long(0, 248), new Long(0, 7));
- v = normalize_0($this, v, new Long(0, -524288), new Long(0, 524032));
- return v;
- }
-
- function normalize_0($this, value, a, b) {
- if (!value.and_4spn93_k$(a).equals(new Long(0, 0))) {
- return value.or_v7fvkl_k$(a.or_v7fvkl_k$(b)).minus_mfbszm_k$(a);
- }
- return value;
- }
-
- function MinMaxSize_init_$Init$(minRefs, minBits, maxRefs, maxBits, $this) {
- // Inline function 'kotlin.Long.times' call
- var tmp = toLong(minBits).times_nfzjiw_k$(toLong(256)).plus_r93sks_k$(toLong(minRefs)).shl_bg8if3_k$(32);
- // Inline function 'kotlin.Long.times' call
- var tmp$ret$1 = toLong(maxBits).times_nfzjiw_k$(toLong(256));
- MinMaxSize.call($this, tmp.plus_r93sks_k$(tmp$ret$1.plus_r93sks_k$(toLong(maxRefs))));
- return $this;
- }
-
- function MinMaxSize_init_$Create$(minRefs, minBits, maxRefs, maxBits) {
- return MinMaxSize_init_$Init$(minRefs, minBits, maxRefs, maxBits, objectCreate(protoOf(MinMaxSize)));
- }
-
- function Companion_2() {
- Companion_instance_2 = this;
- this.MAX_SIZE_CELL_1 = 261892;
- this.BITS_MASK_1 = new Long(2047, 0);
- this.MAX_REFS_MASK_1 = new Long(7, 0);
- this.ONE_REF_1 = new MinMaxSize(new Long(1, 1));
- this.ANY_1 = new MinMaxSize(new Long(524039, 0));
- this.IMPOSSIBLE_1 = new MinMaxSize(new Long(0, 524039));
- }
-
- protoOf(Companion_2).get_MAX_SIZE_CELL_k3kol8_k$ = function () {
- return this.MAX_SIZE_CELL_1;
- };
- protoOf(Companion_2).get_BITS_MASK_76tmw4_k$ = function () {
- return this.BITS_MASK_1;
- };
- protoOf(Companion_2).get_MAX_REFS_MASK_2xmf53_k$ = function () {
- return this.MAX_REFS_MASK_1;
- };
- protoOf(Companion_2).get_ONE_REF_8ottyn_k$ = function () {
- return this.ONE_REF_1;
- };
- protoOf(Companion_2).get_ANY_18jxy5_k$ = function () {
- return this.ANY_1;
- };
- protoOf(Companion_2).get_IMPOSSIBLE_ngqwim_k$ = function () {
- return this.IMPOSSIBLE_1;
- };
- protoOf(Companion_2).convertSize_3is96k_k$ = function (z) {
- return (z & 255) << 16 | (z >>> 8 | 0);
- };
- protoOf(Companion_2).fixedSize_141yqr_k$ = function (size) {
- return new MinMaxSize(toLong(size).times_nfzjiw_k$(new Long(256, 256)));
- };
- protoOf(Companion_2).range_gh83gj_k$ = function (minSize, maxSize) {
- // Inline function 'kotlin.Long.plus' call
- var tmp$ret$0 = toLong(minSize).shl_bg8if3_k$(32).plus_r93sks_k$(toLong(maxSize));
- return new MinMaxSize(tmp$ret$0.shl_bg8if3_k$(8));
- };
- var Companion_instance_2;
-
- function Companion_getInstance_2() {
- if (Companion_instance_2 == null)
- new Companion_2();
- return Companion_instance_2;
- }
-
- function toString$_anonymous_$appendSize_x4gjbe($this_buildString, bits, refs) {
- if (bits >= 1024 ? refs >= 7 : false) {
- $this_buildString.append_22ad7x_k$('Inf');
- } else {
- $this_buildString.append_uppzia_k$(bits);
- if (refs > 0) {
- $this_buildString.append_22ad7x_k$('+');
- $this_buildString.append_uppzia_k$(refs);
- $this_buildString.append_22ad7x_k$('R');
- }
- }
- }
-
- function MinMaxSize(value) {
- Companion_getInstance_2();
- this.value_1 = value;
- }
-
- protoOf(MinMaxSize).get_value_j01efc_k$ = function () {
- return this.value_1;
- };
- protoOf(MinMaxSize).get_minSize_iuykcq_k$ = function () {
- return this.value_1.ushr_z7nmq8_k$(32).toInt_1tsl84_k$();
- };
- protoOf(MinMaxSize).get_maxSize_f83j4s_k$ = function () {
- return this.value_1.and_4spn93_k$(new Long(-1, 0)).toInt_1tsl84_k$();
- };
- protoOf(MinMaxSize).get_maxRefs_f82spn_k$ = function () {
- return this.value_1.and_4spn93_k$(new Long(255, 0)).toInt_1tsl84_k$();
- };
- protoOf(MinMaxSize).get_maxBits_f7so81_k$ = function () {
- return this.value_1.ushr_z7nmq8_k$(8).and_4spn93_k$(new Long(2047, 0)).toInt_1tsl84_k$();
- };
- protoOf(MinMaxSize).get_minRefs_iuxtxl_k$ = function () {
- return this.value_1.ushr_z7nmq8_k$(32).and_4spn93_k$(new Long(255, 0)).toInt_1tsl84_k$();
- };
- protoOf(MinMaxSize).get_minBits_iunpfz_k$ = function () {
- return this.value_1.ushr_z7nmq8_k$(40).and_4spn93_k$(new Long(2047, 0)).toInt_1tsl84_k$();
- };
- protoOf(MinMaxSize).isFixed_y1sbxm_k$ = function () {
- return this.get_minSize_iuykcq_k$() === this.get_maxSize_f83j4s_k$();
- };
- protoOf(MinMaxSize).fitsIntoCell_tpkr5o_k$ = function () {
- return isPossible(Companion_getInstance_2(), 261892, this.get_minSize_iuykcq_k$());
- };
- protoOf(MinMaxSize).isPossible_lrpl1_k$ = function () {
- return isPossible(Companion_getInstance_2(), this.get_maxSize_f83j4s_k$(), this.get_minSize_iuykcq_k$());
- };
- protoOf(MinMaxSize).normalize_3wvcwd_k$ = function () {
- return new MinMaxSize(normalize(Companion_getInstance_2(), this.value_1));
- };
- protoOf(MinMaxSize).withoutMin_lor6vq_k$ = function () {
- // Inline function 'kotlin.Long.minus' call
- var tmp$ret$0 = (new Long(0, 1)).minus_mfbszm_k$(toLong(1));
- return new MinMaxSize(this.value_1.and_4spn93_k$(tmp$ret$0));
- };
- protoOf(MinMaxSize).plus_vnukzl_k$ = function (other) {
- return new MinMaxSize(normalize(Companion_getInstance_2(), this.value_1.plus_r93sks_k$(other.value_1)));
- };
- protoOf(MinMaxSize).or_vgl29k_k$ = function (other) {
- // Inline function 'kotlin.math.min' call
- var a = this.get_minRefs_iuxtxl_k$();
- var b = other.get_minRefs_iuxtxl_k$();
- var tmp = Math.min(a, b);
- // Inline function 'kotlin.math.min' call
- var a_0 = this.get_minBits_iunpfz_k$();
- var b_0 = other.get_minBits_iunpfz_k$();
- var tmp_0 = Math.min(a_0, b_0);
- // Inline function 'kotlin.math.max' call
- var a_1 = this.get_maxRefs_f82spn_k$();
- var b_1 = other.get_maxRefs_f82spn_k$();
- var tmp_1 = Math.max(a_1, b_1);
- // Inline function 'kotlin.math.max' call
- var a_2 = this.get_maxBits_f7so81_k$();
- var b_2 = other.get_maxBits_f7so81_k$();
- var tmp$ret$3 = Math.max(a_2, b_2);
- return MinMaxSize_init_$Create$(tmp, tmp_0, tmp_1, tmp$ret$3);
- };
- protoOf(MinMaxSize).times_kr2a3y_k$ = function (count) {
- var tmp;
- switch (count) {
- case 0:
- tmp = new MinMaxSize(new Long(0, 0));
- break;
- case 1:
- tmp = this;
- break;
- default:
- // Inline function 'kotlin.math.min' call
-
- var a = imul(this.get_minRefs_iuxtxl_k$(), count);
- var tmp_0 = Math.min(a, 7);
- // Inline function 'kotlin.math.min' call
-
- var a_0 = imul(this.get_minBits_iunpfz_k$(), count);
- var tmp_1 = Math.min(a_0, 2047);
- // Inline function 'kotlin.math.min' call
-
- var a_1 = imul(this.get_maxRefs_f82spn_k$(), count);
- var tmp_2 = Math.min(a_1, 7);
- // Inline function 'kotlin.math.min' call
-
- var a_2 = imul(this.get_maxBits_f7so81_k$(), count);
- var tmp$ret$3 = Math.min(a_2, 2047);
- tmp = MinMaxSize_init_$Create$(tmp_0, tmp_1, tmp_2, tmp$ret$3);
- break;
- }
- return tmp;
- };
- protoOf(MinMaxSize).timesAtLeast_sp8ewo_k$ = function (count) {
- // Inline function 'kotlin.math.min' call
- // Inline function 'kotlin.math.max' call
- var a = Math.max(count, 0);
- var clampedCount = Math.min(a, 1024);
- // Inline function 'kotlin.math.min' call
- var a_0 = imul(this.get_minRefs_iuxtxl_k$(), clampedCount);
- var tmp = Math.min(a_0, 7);
- // Inline function 'kotlin.math.min' call
- var a_1 = imul(this.get_minBits_iunpfz_k$(), clampedCount);
- var tmp$ret$3 = Math.min(a_1, 2047);
- return MinMaxSize_init_$Create$(tmp, tmp$ret$3, !(this.get_maxRefs_f82spn_k$() === 0) ? 7 : 0, !(this.get_maxBits_f7so81_k$() === 0) ? 2047 : 0);
- };
- protoOf(MinMaxSize).toString = function () {
- // Inline function 'kotlin.text.buildString' call
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'kotlin.apply' call
- var this_0 = StringBuilder_init_$Create$();
- // Inline function 'kotlin.contracts.contract' call
- // Inline function 'org.ton.tlb.MinMaxSize.toString.' call
- var fixed = this.isFixed_y1sbxm_k$();
- if (fixed) {
- this_0.append_22ad7x_k$('=');
- }
- toString$_anonymous_$appendSize_x4gjbe(this_0, this.get_minBits_iunpfz_k$(), this.get_minRefs_iuxtxl_k$());
- if (!fixed) {
- this_0.append_22ad7x_k$('..');
- toString$_anonymous_$appendSize_x4gjbe(this_0, this.get_maxBits_f7so81_k$(), this.get_maxRefs_f82spn_k$());
- }
- return this_0.toString();
- };
- protoOf(MinMaxSize).equals = function (other) {
- if (this === other)
- return true;
- if (!(other instanceof MinMaxSize))
- return false;
- if (!this.value_1.equals(other.value_1))
- return false;
- return true;
- };
- protoOf(MinMaxSize).hashCode = function () {
- return this.value_1.hashCode();
- };
-
- function get_ADD_TABLE() {
- _init_properties_SizeTables_kt__7z0k7u();
- return ADD_TABLE;
- }
-
- var ADD_TABLE;
-
- function get_MUL_TABLE() {
- _init_properties_SizeTables_kt__7z0k7u();
- return MUL_TABLE;
- }
-
- var MUL_TABLE;
-
- function get_GET_BIT_TABLE() {
- _init_properties_SizeTables_kt__7z0k7u();
- return GET_BIT_TABLE;
- }
-
- var GET_BIT_TABLE;
-
- function abstractAdd(x, y) {
- _init_properties_SizeTables_kt__7z0k7u();
- return get_ADD_TABLE()[x & 15][y & 15];
- }
-
- function abstractMul(x, y) {
- _init_properties_SizeTables_kt__7z0k7u();
- return get_MUL_TABLE()[x & 15][y & 15];
- }
-
- function abstractGetBit(x, y) {
- _init_properties_SizeTables_kt__7z0k7u();
- return get_GET_BIT_TABLE()[x & 15][y & 15];
- }
-
- function abstractNatConst(value) {
- _init_properties_SizeTables_kt__7z0k7u();
- return 1 << ((value & 1) + (value >= 2 ? 2 : 0) | 0);
- }
-
- function computeSemilatTable(baseTable) {
- _init_properties_SizeTables_kt__7z0k7u();
- var tmp = 0;
- // Inline function 'kotlin.arrayOfNulls' call
- var tmp_0 = fillArrayVal(Array(16), null);
- while (tmp < 16) {
- tmp_0[tmp] = new Int8Array(16);
- tmp = tmp + 1 | 0;
- }
- var table = tmp_0;
- // Inline function 'kotlin.repeat' call
- // Inline function 'kotlin.contracts.contract' call
- var inductionVariable = 0;
- if (inductionVariable < 16)
- do {
- var index = inductionVariable;
- inductionVariable = inductionVariable + 1 | 0;
- // Inline function 'org.ton.tlb.computeSemilatTable.' call
- // Inline function 'kotlin.repeat' call
- // Inline function 'kotlin.contracts.contract' call
- var inductionVariable_0 = 0;
- if (inductionVariable_0 < 16)
- do {
- var index_0 = inductionVariable_0;
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
- // Inline function 'org.ton.tlb.computeSemilatTable..' call
- var res = 0;
- // Inline function 'kotlin.repeat' call
- // Inline function 'kotlin.contracts.contract' call
- var inductionVariable_1 = 0;
- if (inductionVariable_1 < 4)
- do {
- var index_1 = inductionVariable_1;
- inductionVariable_1 = inductionVariable_1 + 1 | 0;
- // Inline function 'org.ton.tlb.computeSemilatTable...' call
- if (!(((index >>> index_1 | 0) & 1) === 0)) {
- // Inline function 'kotlin.repeat' call
- // Inline function 'kotlin.contracts.contract' call
- var inductionVariable_2 = 0;
- if (inductionVariable_2 < 4)
- do {
- var index_2 = inductionVariable_2;
- inductionVariable_2 = inductionVariable_2 + 1 | 0;
- // Inline function 'org.ton.tlb.computeSemilatTable...