@kform/core
Version:
JavaScript bindings for KForm.
1,648 lines • 69.2 kB
JavaScript
import {
initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
Unit_instance14hm69wy3kr8u as Unit_instance,
StringCompanionObject_instance2iflbktk67pca as StringCompanionObject_instance,
THROW_CCE2g6jy02ryeudk as THROW_CCE,
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
emptyList1g2z5xcrvp2zy as emptyList,
LazyThreadSafetyMode_PUBLICATION_getInstance2l411fkf5jrbp as LazyThreadSafetyMode_PUBLICATION_getInstance,
lazy1261dae0bgscp as lazy,
IllegalArgumentException2asla15b5jaob as IllegalArgumentException,
zip2suipyqmdw72q as zip,
toMap1vec9topfei08 as toMap,
LinkedHashMap1zhqxkxv3xnkl as LinkedHashMap,
toString1pkumu07cwy4m as toString,
IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
mapCapacity1h45rc3eh9p2l as mapCapacity,
asList2ho2pewtsfvv as asList,
KProperty1ca4yb4wlo496 as KProperty1,
getPropertyCallableRef1ajb9in178r5r as getPropertyCallableRef,
isInterface3d6p8outrmvmk as isInterface,
Iterable1y3qizuf89iou as Iterable,
VOID7hggqo3abtya as VOID,
isBlank1dvkhjjvox3p0 as isBlank,
equals2au1ep9vhcato as equals,
toList383f556t1dixk as toList,
ArrayList3it5z8td81qkl as ArrayList,
HashSet2dzve9y63nf0v as HashSet,
toHashSet1qrcsl3g8ugc8 as toHashSet,
copyToArray2j022khrow2yi as copyToArray,
toBooleanArray2u3qw7fjwsmuh as toBooleanArray,
withIndex3s8q7w1g0hyfn as withIndex,
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
to2cs3ny02qtbcb as to,
lazy2hsh8ze7j6ikd as lazy_0,
contentEqualsaf55p28mnw74 as contentEquals,
until1jbpn0z3f8lbg as until,
joinToString1cxrrlmo0chqs as joinToString,
protoOf180f3jzyo7rfj as protoOf,
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
getKClassFromExpression3vpejubogshaw as getKClassFromExpression,
ensureNotNull1e947j3ixpazm as ensureNotNull,
getStringHashCode26igk1bx568vk as getStringHashCode,
createThis2j2avj17cvnv2 as createThis,
hashCodeq5arwsb9dgti as hashCode,
contentHashCode2i020q5tbeh2s as contentHashCode,
HashMap1a0ld5kgwhmhv as HashMap,
fillArrayVali8eppxapiek4 as fillArrayVal,
booleanArray2jdug9b51huk7 as booleanArray,
emptyMapr06gerzljqtm as emptyMap,
Companion_getInstance36uki9uc3fsps as Companion_getInstance,
DoubleCompanionObject_instanceciblawwgcicl as DoubleCompanionObject_instance,
FloatCompanionObject_instance3pcatcooqioqk as FloatCompanionObject_instance,
Companion_getInstance2vaobcepcnf7z as Companion_getInstance_0,
Companion_getInstance1mvktysd7mugj as Companion_getInstance_1,
IntCompanionObject_instance1a9qdfxmssxfv as IntCompanionObject_instance,
Companion_getInstance13gx1njt9e9uj as Companion_getInstance_2,
ShortCompanionObject_instance2jwrskkmak9m1 as ShortCompanionObject_instance,
Companion_getInstance12z43b8xpc5ug as Companion_getInstance_3,
ByteCompanionObject_instance2n6kdzwwtagd9 as ByteCompanionObject_instance,
Companion_getInstance2ojplvvf2x2v2 as Companion_getInstance_4,
BooleanCompanionObject_instance2vl2vvm82he0e as BooleanCompanionObject_instance,
trimIndent1qytc1wvt8suh as trimIndent,
PrimitiveClasses_getInstance2khhb8173vcfl as PrimitiveClasses_getInstance,
Char19o2r8palgjof as Char,
getKClass1s3j9wy1cofik as getKClass,
Long2qws0ah9gnpki as Long,
ULong3f9k7s38t3rfp as ULong,
ULongArray3nd0d80mdwjj8 as ULongArray,
UInt1hthisrv6cndi as UInt,
UIntArrayrp6cv44n5v4y as UIntArray,
UShort26xnqty60t7le as UShort,
UShortArray11avpmknxdgvv as UShortArray,
UBytep4j7r1t64gz1 as UByte,
UByteArray2qu4d6gwssdf9 as UByteArray,
Unitkvevlwgzwiuc as Unit,
Duration5ynfiptaqcrg as Duration,
Companion_getInstance1mc3g3aij23my as Companion_getInstance_5,
Uuid1zxgztb7abqxx as Uuid,
Companion_getInstance31zkbd7u6qrr4 as Companion_getInstance_6,
mapOf1xd03cq9cnmy8 as mapOf,
IndexOutOfBoundsException1qfr429iumro0 as IndexOutOfBoundsException,
get_indicesc04v40g017hw as get_indices,
} from './kotlin-kotlin-stdlib.mjs';
//region block: imports
var imul = Math.imul;
//endregion
//region block: pre-declaration
class KSerializer {}
class SealedClassSerializer$$inlined$groupingBy$1 {
constructor($this) {
this.b1p_1 = $this;
}
c1p() {
return this.b1p_1.y();
}
d1p(element) {
// Inline function 'kotlinx.serialization.SealedClassSerializer.<anonymous>' call
return element.z2().m1o().e1p();
}
f1p(element) {
return this.d1p((element == null ? true : !(element == null)) ? element : THROW_CCE());
}
}
class AbstractPolymorphicSerializer {
static h1p() {
return createThis(this);
}
}
class SealedClassSerializer extends AbstractPolymorphicSerializer {
static g1p(serialName, baseClass, subclasses, subclassSerializers) {
var $this = this.h1p();
$this.n1o_1 = baseClass;
$this.o1o_1 = emptyList();
var tmp = $this;
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
tmp.p1o_1 = lazy(tmp_0, SealedClassSerializer$descriptor$delegate$lambda(serialName, $this));
if (!(subclasses.length === subclassSerializers.length)) {
throw IllegalArgumentException.h('All subclasses of sealed class ' + $this.n1o_1.cg() + ' should be marked @Serializable');
}
$this.q1o_1 = toMap(zip(subclasses, subclassSerializers));
var tmp_1 = $this;
// Inline function 'kotlin.collections.groupingBy' call
var this_0 = $this.q1o_1.f3();
// Inline function 'kotlin.collections.aggregate' call
var tmp0 = new SealedClassSerializer$$inlined$groupingBy$1(this_0);
// Inline function 'kotlin.collections.mutableMapOf' call
// Inline function 'kotlin.collections.aggregateTo' call
var destination = LinkedHashMap.v5();
// Inline function 'kotlin.collections.iterator' call
var _iterator__ex2g4s = tmp0.c1p();
while (_iterator__ex2g4s.z()) {
var e = _iterator__ex2g4s.a1();
var key = tmp0.f1p(e);
var accumulator = destination.c3(key);
// Inline function 'kotlinx.serialization.SealedClassSerializer.<anonymous>' call
accumulator == null && !destination.a3(key);
if (!(accumulator == null)) {
// Inline function 'kotlin.error' call
var message = "Multiple sealed subclasses of '" + toString($this.n1o_1) + "' have the same serial name '" + key + "':" + (" '" + toString(accumulator.y2()) + "', '" + toString(e.y2()) + "'");
throw IllegalStateException.b6(toString(message));
}
// Inline function 'kotlin.collections.set' call
destination.x5(key, e);
}
// Inline function 'kotlin.collections.mapValues' call
// Inline function 'kotlin.collections.mapValuesTo' call
var destination_0 = LinkedHashMap.fd(mapCapacity(destination.b1()));
// Inline function 'kotlin.collections.associateByTo' call
var _iterator__ex2g4s_0 = destination.f3().y();
while (_iterator__ex2g4s_0.z()) {
var element = _iterator__ex2g4s_0.a1();
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
var tmp_2 = element.y2();
// Inline function 'kotlinx.serialization.SealedClassSerializer.<anonymous>' call
var tmp$ret$7 = element.z2().z2();
destination_0.x5(tmp_2, tmp$ret$7);
}
tmp_1.r1o_1 = destination_0;
return $this;
}
static i1p(serialName, baseClass, subclasses, subclassSerializers, classAnnotations) {
var $this = this.g1p(serialName, baseClass, subclasses, subclassSerializers);
$this.o1o_1 = asList(classAnnotations);
return $this;
}
m1o() {
var tmp0 = this.p1o_1;
// Inline function 'kotlin.getValue' call
descriptor$factory();
return tmp0.z2();
}
}
class SerialDescriptor {}
function get_isNullable() {
return false;
}
class elementDescriptors$1 {
constructor($this_elementDescriptors) {
this.p1p_1 = $this_elementDescriptors;
this.o1p_1 = $this_elementDescriptors.l1p();
}
z() {
return this.o1p_1 > 0;
}
a1() {
var tmp = this.p1p_1.l1p();
var _unary__edvuaz = this.o1p_1;
this.o1p_1 = _unary__edvuaz - 1 | 0;
return this.p1p_1.n1p(tmp - _unary__edvuaz | 0);
}
}
class elementDescriptors$$inlined$Iterable$1 {
constructor($this_elementDescriptors) {
this.q1p_1 = $this_elementDescriptors;
}
y() {
// Inline function 'kotlinx.serialization.descriptors.<get-elementDescriptors>.<anonymous>' call
return new elementDescriptors$1(this.q1p_1);
}
}
class ClassSerialDescriptorBuilder {
constructor(serialName) {
this.s1o_1 = serialName;
this.t1o_1 = false;
this.u1o_1 = emptyList();
this.v1o_1 = ArrayList.h1();
this.w1o_1 = HashSet.kb();
this.x1o_1 = ArrayList.h1();
this.y1o_1 = ArrayList.h1();
this.z1o_1 = ArrayList.h1();
}
r1p(elementName, descriptor, annotations, isOptional) {
// Inline function 'kotlin.require' call
if (!this.w1o_1.s(elementName)) {
// Inline function 'kotlinx.serialization.descriptors.ClassSerialDescriptorBuilder.element.<anonymous>' call
var message = "Element with name '" + elementName + "' is already registered in " + this.s1o_1;
throw IllegalArgumentException.h(toString(message));
}
// Inline function 'kotlin.collections.plusAssign' call
this.v1o_1.s(elementName);
// Inline function 'kotlin.collections.plusAssign' call
this.x1o_1.s(descriptor);
// Inline function 'kotlin.collections.plusAssign' call
this.y1o_1.s(annotations);
// Inline function 'kotlin.collections.plusAssign' call
this.z1o_1.s(isOptional);
}
a1p(elementName, descriptor, annotations, isOptional, $super) {
annotations = annotations === VOID ? emptyList() : annotations;
isOptional = isOptional === VOID ? false : isOptional;
var tmp;
if ($super === VOID) {
this.r1p(elementName, descriptor, annotations, isOptional);
tmp = Unit_instance;
} else {
tmp = $super.r1p.call(this, elementName, descriptor, annotations, isOptional);
}
return tmp;
}
}
class CachedNames {}
class SerialDescriptorImpl {
constructor(serialName, kind, elementsCount, typeParameters, builder) {
this.s1p_1 = serialName;
this.t1p_1 = kind;
this.u1p_1 = elementsCount;
this.v1p_1 = builder.u1o_1;
this.w1p_1 = toHashSet(builder.v1o_1);
var tmp = this;
// Inline function 'kotlin.collections.toTypedArray' call
var this_0 = builder.v1o_1;
tmp.x1p_1 = copyToArray(this_0);
this.y1p_1 = compactArray(builder.x1o_1);
var tmp_0 = this;
// Inline function 'kotlin.collections.toTypedArray' call
var this_1 = builder.y1o_1;
tmp_0.z1p_1 = copyToArray(this_1);
this.a1q_1 = toBooleanArray(builder.z1o_1);
var tmp_1 = this;
// Inline function 'kotlin.collections.map' call
var this_2 = withIndex(this.x1p_1);
// Inline function 'kotlin.collections.mapTo' call
var destination = ArrayList.w(collectionSizeOrDefault(this_2, 10));
var _iterator__ex2g4s = this_2.y();
while (_iterator__ex2g4s.z()) {
var item = _iterator__ex2g4s.a1();
// Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.name2Index.<anonymous>' call
var tmp$ret$2 = to(item.rl_1, item.ql_1);
destination.s(tmp$ret$2);
}
tmp_1.b1q_1 = toMap(destination);
this.c1q_1 = compactArray(typeParameters);
var tmp_2 = this;
tmp_2.d1q_1 = lazy_0(SerialDescriptorImpl$_hashCode$delegate$lambda(this));
}
e1p() {
return this.s1p_1;
}
k1p() {
return this.t1p_1;
}
l1p() {
return this.u1p_1;
}
e1q() {
return this.w1p_1;
}
m1p(index) {
return getChecked(this.x1p_1, index);
}
n1p(index) {
return getChecked(this.y1p_1, index);
}
equals(other) {
var tmp$ret$0;
$l$block_5: {
// Inline function 'kotlinx.serialization.internal.equalsImpl' call
if (this === other) {
tmp$ret$0 = true;
break $l$block_5;
}
if (!(other instanceof SerialDescriptorImpl)) {
tmp$ret$0 = false;
break $l$block_5;
}
if (!(this.e1p() === other.e1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
// Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.equals.<anonymous>' call
if (!contentEquals(this.c1q_1, other.c1q_1)) {
tmp$ret$0 = false;
break $l$block_5;
}
if (!(this.l1p() === other.l1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
var inductionVariable = 0;
var last = this.l1p();
if (inductionVariable < last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (!(this.n1p(index).e1p() === other.n1p(index).e1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
if (!equals(this.n1p(index).k1p(), other.n1p(index).k1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
}
while (inductionVariable < last);
tmp$ret$0 = true;
}
return tmp$ret$0;
}
hashCode() {
return _get__hashCode__tgwhef(this);
}
toString() {
var tmp = until(0, this.u1p_1);
var tmp_0 = this.s1p_1 + '(';
return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, SerialDescriptorImpl$toString$lambda(this));
}
}
class SerialKind {
toString() {
return ensureNotNull(getKClassFromExpression(this).cg());
}
hashCode() {
return getStringHashCode(this.toString());
}
}
class CONTEXTUAL extends SerialKind {
constructor() {
CONTEXTUAL_instance = null;
super();
CONTEXTUAL_instance = this;
}
}
class PolymorphicKind extends SerialKind {}
class SEALED extends PolymorphicKind {
constructor() {
SEALED_instance = null;
super();
SEALED_instance = this;
}
}
class PrimitiveKind extends SerialKind {}
class BOOLEAN extends PrimitiveKind {
constructor() {
BOOLEAN_instance = null;
super();
BOOLEAN_instance = this;
}
}
class BYTE extends PrimitiveKind {
constructor() {
BYTE_instance = null;
super();
BYTE_instance = this;
}
}
class CHAR extends PrimitiveKind {
constructor() {
CHAR_instance = null;
super();
CHAR_instance = this;
}
}
class SHORT extends PrimitiveKind {
constructor() {
SHORT_instance = null;
super();
SHORT_instance = this;
}
}
class INT extends PrimitiveKind {
constructor() {
INT_instance = null;
super();
INT_instance = this;
}
}
class LONG extends PrimitiveKind {
constructor() {
LONG_instance = null;
super();
LONG_instance = this;
}
}
class FLOAT extends PrimitiveKind {
constructor() {
FLOAT_instance = null;
super();
FLOAT_instance = this;
}
}
class DOUBLE extends PrimitiveKind {
constructor() {
DOUBLE_instance = null;
super();
DOUBLE_instance = this;
}
}
class STRING extends PrimitiveKind {
constructor() {
STRING_instance = null;
super();
STRING_instance = this;
}
}
class StructureKind extends SerialKind {}
class CLASS extends StructureKind {
constructor() {
CLASS_instance = null;
super();
CLASS_instance = this;
}
}
class LIST extends StructureKind {
constructor() {
LIST_instance = null;
super();
LIST_instance = this;
}
}
class MAP extends StructureKind {
constructor() {
MAP_instance = null;
super();
MAP_instance = this;
}
}
class OBJECT extends StructureKind {
constructor() {
OBJECT_instance = null;
super();
OBJECT_instance = this;
}
}
class NothingSerializer {
constructor() {
NothingSerializer_instance = this;
this.f1q_1 = NothingSerialDescriptor_getInstance();
}
m1o() {
return this.f1q_1;
}
}
class DurationSerializer {
constructor() {
DurationSerializer_instance = this;
this.g1q_1 = new PrimitiveSerialDescriptor('kotlin.time.Duration', STRING_getInstance());
}
m1o() {
return this.g1q_1;
}
}
class UuidSerializer {
constructor() {
UuidSerializer_instance = this;
this.h1q_1 = new PrimitiveSerialDescriptor('kotlin.uuid.Uuid', STRING_getInstance());
}
m1o() {
return this.h1q_1;
}
}
class ListLikeDescriptor {
constructor(elementDescriptor) {
this.k1q_1 = elementDescriptor;
this.l1q_1 = 1;
}
k1p() {
return LIST_getInstance();
}
l1p() {
return this.l1q_1;
}
m1p(index) {
return index.toString();
}
n1p(index) {
// Inline function 'kotlin.require' call
if (!(index >= 0)) {
// Inline function 'kotlinx.serialization.internal.ListLikeDescriptor.getElementDescriptor.<anonymous>' call
var message = 'Illegal index ' + index + ', ' + this.e1p() + ' expects only non-negative indices';
throw IllegalArgumentException.h(toString(message));
}
return this.k1q_1;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof ListLikeDescriptor))
return false;
if (equals(this.k1q_1, other.k1q_1) && this.e1p() === other.e1p())
return true;
return false;
}
hashCode() {
return imul(hashCode(this.k1q_1), 31) + getStringHashCode(this.e1p()) | 0;
}
toString() {
return this.e1p() + '(' + toString(this.k1q_1) + ')';
}
}
class LinkedHashSetClassDesc extends ListLikeDescriptor {
e1p() {
return 'kotlin.collections.LinkedHashSet';
}
}
class MapLikeDescriptor {
constructor(serialName, keyDescriptor, valueDescriptor) {
this.m1q_1 = serialName;
this.n1q_1 = keyDescriptor;
this.o1q_1 = valueDescriptor;
this.p1q_1 = 2;
}
e1p() {
return this.m1q_1;
}
k1p() {
return MAP_getInstance();
}
l1p() {
return this.p1q_1;
}
m1p(index) {
return index.toString();
}
n1p(index) {
// Inline function 'kotlin.require' call
if (!(index >= 0)) {
// Inline function 'kotlinx.serialization.internal.MapLikeDescriptor.getElementDescriptor.<anonymous>' call
var message = 'Illegal index ' + index + ', ' + this.e1p() + ' expects only non-negative indices';
throw IllegalArgumentException.h(toString(message));
}
var tmp;
switch (index % 2 | 0) {
case 0:
tmp = this.n1q_1;
break;
case 1:
tmp = this.o1q_1;
break;
default:
var message_0 = 'Unreached';
throw IllegalStateException.b6(toString(message_0));
}
return tmp;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof MapLikeDescriptor))
return false;
if (!(this.e1p() === other.e1p()))
return false;
if (!equals(this.n1q_1, other.n1q_1))
return false;
if (!equals(this.o1q_1, other.o1q_1))
return false;
return true;
}
hashCode() {
var result = getStringHashCode(this.e1p());
result = imul(31, result) + hashCode(this.n1q_1) | 0;
result = imul(31, result) + hashCode(this.o1q_1) | 0;
return result;
}
toString() {
return this.e1p() + '(' + toString(this.n1q_1) + ', ' + toString(this.o1q_1) + ')';
}
}
class LinkedHashMapClassDesc extends MapLikeDescriptor {
constructor(keyDesc, valueDesc) {
super('kotlin.collections.LinkedHashMap', keyDesc, valueDesc);
}
}
class PrimitiveArrayDescriptor extends ListLikeDescriptor {
constructor(primitive) {
super(primitive);
this.s1q_1 = primitive.e1p() + 'Array';
}
e1p() {
return this.s1q_1;
}
}
class AbstractCollectionSerializer {}
class CollectionLikeSerializer extends AbstractCollectionSerializer {
constructor(elementSerializer) {
super();
this.y1q_1 = elementSerializer;
}
}
class CollectionSerializer extends CollectionLikeSerializer {}
class LinkedHashSetSerializer extends CollectionSerializer {
constructor(eSerializer) {
super(eSerializer);
this.u1q_1 = new LinkedHashSetClassDesc(eSerializer.m1o());
}
m1o() {
return this.u1q_1;
}
}
class MapLikeSerializer extends AbstractCollectionSerializer {
constructor(keySerializer, valueSerializer) {
super();
this.z1q_1 = keySerializer;
this.a1r_1 = valueSerializer;
}
}
class LinkedHashMapSerializer extends MapLikeSerializer {
constructor(kSerializer, vSerializer) {
super(kSerializer, vSerializer);
this.x1q_1 = new LinkedHashMapClassDesc(kSerializer.m1o(), vSerializer.m1o());
}
m1o() {
return this.x1q_1;
}
}
class PrimitiveArraySerializer extends CollectionLikeSerializer {
constructor(primitiveSerializer) {
super(primitiveSerializer);
this.c1r_1 = new PrimitiveArrayDescriptor(primitiveSerializer.m1o());
}
m1o() {
return this.c1r_1;
}
}
class PluginGeneratedSerialDescriptor {
constructor(serialName, generatedSerializer, elementsCount) {
generatedSerializer = generatedSerializer === VOID ? null : generatedSerializer;
this.q1r_1 = serialName;
this.r1r_1 = generatedSerializer;
this.s1r_1 = elementsCount;
this.t1r_1 = -1;
var tmp = this;
var tmp_0 = 0;
var tmp_1 = this.s1r_1;
// Inline function 'kotlin.arrayOfNulls' call
var tmp_2 = fillArrayVal(Array(tmp_1), null);
while (tmp_0 < tmp_1) {
tmp_2[tmp_0] = '[UNINITIALIZED]';
tmp_0 = tmp_0 + 1 | 0;
}
tmp.u1r_1 = tmp_2;
var tmp_3 = this;
// Inline function 'kotlin.arrayOfNulls' call
var size = this.s1r_1;
tmp_3.v1r_1 = fillArrayVal(Array(size), null);
this.w1r_1 = null;
this.x1r_1 = booleanArray(this.s1r_1);
this.y1r_1 = emptyMap();
var tmp_4 = this;
var tmp_5 = LazyThreadSafetyMode_PUBLICATION_getInstance();
tmp_4.z1r_1 = lazy(tmp_5, PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this));
var tmp_6 = this;
var tmp_7 = LazyThreadSafetyMode_PUBLICATION_getInstance();
tmp_6.a1s_1 = lazy(tmp_7, PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this));
var tmp_8 = this;
var tmp_9 = LazyThreadSafetyMode_PUBLICATION_getInstance();
tmp_8.b1s_1 = lazy(tmp_9, PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this));
}
e1p() {
return this.q1r_1;
}
l1p() {
return this.s1r_1;
}
k1p() {
return CLASS_getInstance();
}
e1q() {
return this.y1r_1.d3();
}
c1s() {
var tmp0 = this.a1s_1;
// Inline function 'kotlin.getValue' call
typeParameterDescriptors$factory();
return tmp0.z2();
}
d1s(name, isOptional) {
this.t1r_1 = this.t1r_1 + 1 | 0;
this.u1r_1[this.t1r_1] = name;
this.x1r_1[this.t1r_1] = isOptional;
this.v1r_1[this.t1r_1] = null;
if (this.t1r_1 === (this.s1r_1 - 1 | 0)) {
this.y1r_1 = buildIndices(this);
}
}
n1p(index) {
return getChecked(_get_childSerializers__7vnyfa(this), index).m1o();
}
m1p(index) {
return getChecked(this.u1r_1, index);
}
equals(other) {
var tmp$ret$0;
$l$block_5: {
// Inline function 'kotlinx.serialization.internal.equalsImpl' call
if (this === other) {
tmp$ret$0 = true;
break $l$block_5;
}
if (!(other instanceof PluginGeneratedSerialDescriptor)) {
tmp$ret$0 = false;
break $l$block_5;
}
if (!(this.e1p() === other.e1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
// Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.equals.<anonymous>' call
if (!contentEquals(this.c1s(), other.c1s())) {
tmp$ret$0 = false;
break $l$block_5;
}
if (!(this.l1p() === other.l1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
var inductionVariable = 0;
var last = this.l1p();
if (inductionVariable < last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (!(this.n1p(index).e1p() === other.n1p(index).e1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
if (!equals(this.n1p(index).k1p(), other.n1p(index).k1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
}
while (inductionVariable < last);
tmp$ret$0 = true;
}
return tmp$ret$0;
}
hashCode() {
return _get__hashCode__tgwhef_0(this);
}
toString() {
var tmp = until(0, this.s1r_1);
var tmp_0 = this.e1p() + '(';
return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, PluginGeneratedSerialDescriptor$toString$lambda(this));
}
}
class InlineClassDescriptor extends PluginGeneratedSerialDescriptor {
constructor(name, generatedSerializer) {
super(name, generatedSerializer, 1);
this.p1r_1 = true;
}
hashCode() {
return imul(super.hashCode(), 31);
}
equals(other) {
var tmp$ret$0;
$l$block_5: {
// Inline function 'kotlinx.serialization.internal.equalsImpl' call
if (this === other) {
tmp$ret$0 = true;
break $l$block_5;
}
if (!(other instanceof InlineClassDescriptor)) {
tmp$ret$0 = false;
break $l$block_5;
}
if (!(this.e1p() === other.e1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
// Inline function 'kotlinx.serialization.internal.InlineClassDescriptor.equals.<anonymous>' call
if (!(other.p1r_1 && contentEquals(this.c1s(), other.c1s()))) {
tmp$ret$0 = false;
break $l$block_5;
}
if (!(this.l1p() === other.l1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
var inductionVariable = 0;
var last = this.l1p();
if (inductionVariable < last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (!(this.n1p(index).e1p() === other.n1p(index).e1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
if (!equals(this.n1p(index).k1p(), other.n1p(index).k1p())) {
tmp$ret$0 = false;
break $l$block_5;
}
}
while (inductionVariable < last);
tmp$ret$0 = true;
}
return tmp$ret$0;
}
}
class GeneratedSerializer {}
function typeParametersSerializers() {
return get_EMPTY_SERIALIZER_ARRAY();
}
class InlinePrimitiveDescriptor$1 {
constructor($primitiveSerializer) {
this.e1s_1 = $primitiveSerializer;
}
f1s() {
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
return [this.e1s_1];
}
m1o() {
var message = 'unsupported';
throw IllegalStateException.b6(toString(message));
}
}
class NothingSerialDescriptor {
constructor() {
NothingSerialDescriptor_instance = this;
this.h1s_1 = OBJECT_getInstance();
this.i1s_1 = 'kotlin.Nothing';
}
k1p() {
return this.h1s_1;
}
e1p() {
return this.i1s_1;
}
l1p() {
return 0;
}
m1p(index) {
error(this);
}
n1p(index) {
error(this);
}
toString() {
return 'NothingSerialDescriptor';
}
equals(other) {
return this === other;
}
hashCode() {
return getStringHashCode(this.i1s_1) + imul(31, this.h1s_1.hashCode()) | 0;
}
}
class NullableSerializer {
constructor(serializer) {
this.j1s_1 = serializer;
this.k1s_1 = new SerialDescriptorForNullable(this.j1s_1.m1o());
}
m1o() {
return this.k1s_1;
}
equals(other) {
if (this === other)
return true;
if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
return false;
if (!(other instanceof NullableSerializer))
THROW_CCE();
if (!equals(this.j1s_1, other.j1s_1))
return false;
return true;
}
hashCode() {
return hashCode(this.j1s_1);
}
}
class SerialDescriptorForNullable {
constructor(original) {
this.l1s_1 = original;
this.m1s_1 = this.l1s_1.e1p() + '?';
this.n1s_1 = cachedSerialNames(this.l1s_1);
}
e1p() {
return this.m1s_1;
}
e1q() {
return this.n1s_1;
}
j1p() {
return true;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof SerialDescriptorForNullable))
return false;
if (!equals(this.l1s_1, other.l1s_1))
return false;
return true;
}
toString() {
return toString(this.l1s_1) + '?';
}
hashCode() {
return imul(hashCode(this.l1s_1), 31);
}
k1p() {
return this.l1s_1.k1p();
}
l1p() {
return this.l1s_1.l1p();
}
m1p(index) {
return this.l1s_1.m1p(index);
}
n1p(index) {
return this.l1s_1.n1p(index);
}
}
class ObjectSerializer {
constructor(serialName, objectInstance) {
this.o1s_1 = objectInstance;
this.p1s_1 = emptyList();
var tmp = this;
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
tmp.q1s_1 = lazy(tmp_0, ObjectSerializer$descriptor$delegate$lambda(serialName, this));
}
m1o() {
var tmp0 = this.q1s_1;
// Inline function 'kotlin.getValue' call
descriptor$factory_0();
return tmp0.z2();
}
}
class CharArraySerializer extends PrimitiveArraySerializer {
constructor() {
CharArraySerializer_instance = null;
super(serializer_0(Companion_getInstance()));
CharArraySerializer_instance = this;
}
}
class DoubleArraySerializer extends PrimitiveArraySerializer {
constructor() {
DoubleArraySerializer_instance = null;
super(serializer_1(DoubleCompanionObject_instance));
DoubleArraySerializer_instance = this;
}
}
class FloatArraySerializer extends PrimitiveArraySerializer {
constructor() {
FloatArraySerializer_instance = null;
super(serializer_2(FloatCompanionObject_instance));
FloatArraySerializer_instance = this;
}
}
class LongArraySerializer extends PrimitiveArraySerializer {
constructor() {
LongArraySerializer_instance = null;
super(serializer_3(Companion_getInstance_0()));
LongArraySerializer_instance = this;
}
}
class ULongArraySerializer extends PrimitiveArraySerializer {
constructor() {
ULongArraySerializer_instance = null;
super(serializer_4(Companion_getInstance_1()));
ULongArraySerializer_instance = this;
}
}
class IntArraySerializer extends PrimitiveArraySerializer {
constructor() {
IntArraySerializer_instance = null;
super(serializer_5(IntCompanionObject_instance));
IntArraySerializer_instance = this;
}
}
class UIntArraySerializer extends PrimitiveArraySerializer {
constructor() {
UIntArraySerializer_instance = null;
super(serializer_6(Companion_getInstance_2()));
UIntArraySerializer_instance = this;
}
}
class ShortArraySerializer extends PrimitiveArraySerializer {
constructor() {
ShortArraySerializer_instance = null;
super(serializer_7(ShortCompanionObject_instance));
ShortArraySerializer_instance = this;
}
}
class UShortArraySerializer extends PrimitiveArraySerializer {
constructor() {
UShortArraySerializer_instance = null;
super(serializer_8(Companion_getInstance_3()));
UShortArraySerializer_instance = this;
}
}
class ByteArraySerializer extends PrimitiveArraySerializer {
constructor() {
ByteArraySerializer_instance = null;
super(serializer_9(ByteCompanionObject_instance));
ByteArraySerializer_instance = this;
}
}
class UByteArraySerializer extends PrimitiveArraySerializer {
constructor() {
UByteArraySerializer_instance = null;
super(serializer_10(Companion_getInstance_4()));
UByteArraySerializer_instance = this;
}
}
class BooleanArraySerializer extends PrimitiveArraySerializer {
constructor() {
BooleanArraySerializer_instance = null;
super(serializer_11(BooleanCompanionObject_instance));
BooleanArraySerializer_instance = this;
}
}
class StringSerializer {
constructor() {
StringSerializer_instance = this;
this.r1s_1 = new PrimitiveSerialDescriptor('kotlin.String', STRING_getInstance());
}
m1o() {
return this.r1s_1;
}
}
class CharSerializer {
constructor() {
CharSerializer_instance = this;
this.s1s_1 = new PrimitiveSerialDescriptor('kotlin.Char', CHAR_getInstance());
}
m1o() {
return this.s1s_1;
}
}
class DoubleSerializer {
constructor() {
DoubleSerializer_instance = this;
this.t1s_1 = new PrimitiveSerialDescriptor('kotlin.Double', DOUBLE_getInstance());
}
m1o() {
return this.t1s_1;
}
}
class FloatSerializer {
constructor() {
FloatSerializer_instance = this;
this.u1s_1 = new PrimitiveSerialDescriptor('kotlin.Float', FLOAT_getInstance());
}
m1o() {
return this.u1s_1;
}
}
class LongSerializer {
constructor() {
LongSerializer_instance = this;
this.v1s_1 = new PrimitiveSerialDescriptor('kotlin.Long', LONG_getInstance());
}
m1o() {
return this.v1s_1;
}
}
class IntSerializer {
constructor() {
IntSerializer_instance = this;
this.w1s_1 = new PrimitiveSerialDescriptor('kotlin.Int', INT_getInstance());
}
m1o() {
return this.w1s_1;
}
}
class ShortSerializer {
constructor() {
ShortSerializer_instance = this;
this.x1s_1 = new PrimitiveSerialDescriptor('kotlin.Short', SHORT_getInstance());
}
m1o() {
return this.x1s_1;
}
}
class ByteSerializer {
constructor() {
ByteSerializer_instance = this;
this.y1s_1 = new PrimitiveSerialDescriptor('kotlin.Byte', BYTE_getInstance());
}
m1o() {
return this.y1s_1;
}
}
class BooleanSerializer {
constructor() {
BooleanSerializer_instance = this;
this.z1s_1 = new PrimitiveSerialDescriptor('kotlin.Boolean', BOOLEAN_getInstance());
}
m1o() {
return this.z1s_1;
}
}
class UnitSerializer {
constructor() {
UnitSerializer_instance = this;
this.a1t_1 = new ObjectSerializer('kotlin.Unit', Unit_instance);
}
m1o() {
return this.a1t_1.m1o();
}
}
class PrimitiveSerialDescriptor {
constructor(serialName, kind) {
this.b1t_1 = serialName;
this.c1t_1 = kind;
}
e1p() {
return this.b1t_1;
}
k1p() {
return this.c1t_1;
}
l1p() {
return 0;
}
m1p(index) {
error_0(this);
}
n1p(index) {
error_0(this);
}
toString() {
return 'PrimitiveDescriptor(' + this.b1t_1 + ')';
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof PrimitiveSerialDescriptor))
return false;
if (this.b1t_1 === other.b1t_1 && equals(this.c1t_1, other.c1t_1))
return true;
return false;
}
hashCode() {
return getStringHashCode(this.b1t_1) + imul(31, this.c1t_1.hashCode()) | 0;
}
}
class ULongSerializer {
constructor() {
ULongSerializer_instance = this;
this.d1t_1 = InlinePrimitiveDescriptor('kotlin.ULong', serializer_3(Companion_getInstance_0()));
}
m1o() {
return this.d1t_1;
}
}
class UIntSerializer {
constructor() {
UIntSerializer_instance = this;
this.e1t_1 = InlinePrimitiveDescriptor('kotlin.UInt', serializer_5(IntCompanionObject_instance));
}
m1o() {
return this.e1t_1;
}
}
class UShortSerializer {
constructor() {
UShortSerializer_instance = this;
this.f1t_1 = InlinePrimitiveDescriptor('kotlin.UShort', serializer_7(ShortCompanionObject_instance));
}
m1o() {
return this.f1t_1;
}
}
class UByteSerializer {
constructor() {
UByteSerializer_instance = this;
this.g1t_1 = InlinePrimitiveDescriptor('kotlin.UByte', serializer_9(ByteCompanionObject_instance));
}
m1o() {
return this.g1t_1;
}
}
class SerializableWith {}
//endregion
function SealedClassSerializer$descriptor$delegate$lambda$lambda$lambda(this$0) {
return ($this$buildSerialDescriptor) => {
// Inline function 'kotlin.collections.iterator' call
var _iterator__ex2g4s = this$0.r1o_1.f3().y();
while (_iterator__ex2g4s.z()) {
var element = _iterator__ex2g4s.a1();
// Inline function 'kotlinx.serialization.SealedClassSerializer.descriptor$delegate.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
// Inline function 'kotlin.collections.component1' call
var name = element.y2();
// Inline function 'kotlin.collections.component2' call
var serializer = element.z2();
$this$buildSerialDescriptor.a1p(name, serializer.m1o());
}
return Unit_instance;
};
}
function SealedClassSerializer$descriptor$delegate$lambda$lambda(this$0) {
return ($this$buildSerialDescriptor) => {
$this$buildSerialDescriptor.a1p('type', serializer(StringCompanionObject_instance).m1o());
var tmp = 'kotlinx.serialization.Sealed<' + this$0.n1o_1.cg() + '>';
var tmp_0 = CONTEXTUAL_getInstance();
var elementDescriptor = buildSerialDescriptor(tmp, tmp_0, [], SealedClassSerializer$descriptor$delegate$lambda$lambda$lambda(this$0));
$this$buildSerialDescriptor.a1p('value', elementDescriptor);
$this$buildSerialDescriptor.u1o_1 = this$0.o1o_1;
return Unit_instance;
};
}
function SealedClassSerializer$descriptor$delegate$lambda($serialName, this$0) {
return () => {
var tmp = SEALED_getInstance();
return buildSerialDescriptor($serialName, tmp, [], SealedClassSerializer$descriptor$delegate$lambda$lambda(this$0));
};
}
function descriptor$factory() {
return getPropertyCallableRef('descriptor', 1, KProperty1, (receiver) => receiver.m1o(), null);
}
function get_nullable(_this__u8e3s4) {
var tmp;
if (_this__u8e3s4.m1o().j1p()) {
tmp = isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
} else {
tmp = new NullableSerializer(_this__u8e3s4);
}
return tmp;
}
function serializer(_this__u8e3s4) {
return StringSerializer_getInstance();
}
function serializer_0(_this__u8e3s4) {
return CharSerializer_getInstance();
}
function CharArraySerializer_0() {
return CharArraySerializer_getInstance();
}
function serializer_1(_this__u8e3s4) {
return DoubleSerializer_getInstance();
}
function DoubleArraySerializer_0() {
return DoubleArraySerializer_getInstance();
}
function serializer_2(_this__u8e3s4) {
return FloatSerializer_getInstance();
}
function FloatArraySerializer_0() {
return FloatArraySerializer_getInstance();
}
function serializer_3(_this__u8e3s4) {
return LongSerializer_getInstance();
}
function LongArraySerializer_0() {
return LongArraySerializer_getInstance();
}
function serializer_4(_this__u8e3s4) {
return ULongSerializer_getInstance();
}
function ULongArraySerializer_0() {
return ULongArraySerializer_getInstance();
}
function serializer_5(_this__u8e3s4) {
return IntSerializer_getInstance();
}
function IntArraySerializer_0() {
return IntArraySerializer_getInstance();
}
function serializer_6(_this__u8e3s4) {
return UIntSerializer_getInstance();
}
function UIntArraySerializer_0() {
return UIntArraySerializer_getInstance();
}
function serializer_7(_this__u8e3s4) {
return ShortSerializer_getInstance();
}
function ShortArraySerializer_0() {
return ShortArraySerializer_getInstance();
}
function serializer_8(_this__u8e3s4) {
return UShortSerializer_getInstance();
}
function UShortArraySerializer_0() {
return UShortArraySerializer_getInstance();
}
function serializer_9(_this__u8e3s4) {
return ByteSerializer_getInstance();
}
function ByteArraySerializer_0() {
return ByteArraySerializer_getInstance();
}
function serializer_10(_this__u8e3s4) {
return UByteSerializer_getInstance();
}
function UByteArraySerializer_0() {
return UByteArraySerializer_getInstance();
}
function serializer_11(_this__u8e3s4) {
return BooleanSerializer_getInstance();
}
function BooleanArraySerializer_0() {
return BooleanArraySerializer_getInstance();
}
function serializer_12(_this__u8e3s4) {
return UnitSerializer_getInstance();
}
function NothingSerializer_0() {
return NothingSerializer_getInstance();
}
function serializer_13(_this__u8e3s4) {
return DurationSerializer_getInstance();
}
function serializer_14(_this__u8e3s4) {
return UuidSerializer_getInstance();
}
function get_elementDescriptors(_this__u8e3s4) {
// Inline function 'kotlin.collections.Iterable' call
return new elementDescriptors$$inlined$Iterable$1(_this__u8e3s4);
}
function buildSerialDescriptor(serialName, kind, typeParameters, builder) {
var tmp;
if (builder === VOID) {
tmp = buildSerialDescriptor$lambda;
} else {
tmp = builder;
}
builder = tmp;
// Inline function 'kotlin.text.isNotBlank' call
// Inline function 'kotlin.require' call
if (!!isBlank(serialName)) {
// Inline function 'kotlinx.serialization.descriptors.buildSerialDescriptor.<anonymous>' call
var message = 'Blank serial names are prohibited';
throw IllegalArgumentException.h(toString(message));
}
// Inline function 'kotlin.require' call
if (!!equals(kind, CLASS_getInstance())) {
// Inline function 'kotlinx.serialization.descriptors.buildSerialDescriptor.<anonymous>' call
var message_0 = "For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead";
throw IllegalArgumentException.h(toString(message_0));
}
var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
builder(sdBuilder);
return new SerialDescriptorImpl(serialName, kind, sdBuilder.v1o_1.b1(), toList(typeParameters), sdBuilder);
}
function _get__hashCode__tgwhef($this) {
var tmp0 = $this.d1q_1;
// Inline function 'kotlin.getValue' call
_hashCode$factory();
return tmp0.z2();
}
function SerialDescriptorImpl$_hashCode$delegate$lambda(this$0) {
return () => hashCodeImpl(this$0, this$0.c1q_1);
}
function SerialDescriptorImpl$toString$lambda(this$0) {
return (it) => this$0.m1p(it) + ': ' + this$0.n1p(it).e1p();
}
function PrimitiveSerialDescriptor_0(serialName, kind) {
// Inline function 'kotlin.text.isNotBlank' call
// Inline function 'kotlin.require' call
if (!!isBlank(serialName)) {
// Inline function 'kotlinx.serialization.descriptors.PrimitiveSerialDescriptor.<anonymous>' call
var message = 'Blank serial names are prohibited';
throw IllegalArgumentException.h(toString(message));
}
return PrimitiveDescriptorSafe(serialName, kind);
}
function buildSerialDescriptor$lambda(_this__u8e3s4) {
return Unit_instance;
}
function _hashCode$factory() {
return getPropertyCallableRef('_hashCode', 1, KProperty1, (receiver) => _get__hashCode__tgwhef(receiver), null);
}
var CONTEXTUAL_instance;
function CONTEXTUAL_getInstance() {
if (CONTEXTUAL_instance === VOID)
new CONTEXTUAL();
return CONTEXTUAL_instance;
}
var SEALED_instance;
function SEALED_getInstance() {
if (SEALED_instance === VOID)
new SEALED();
return SEALED_instance;
}
var BOOLEAN_instance;
function BOOLEAN_getInstance() {
if (BOOLEAN_instance === VOID)
new BOOLEAN();
return BOOLEAN_instance;
}
var BYTE_instance;
function BYTE_getInstance() {
if (BYTE_instance === VOID)
new BYTE();
return BYTE_instance;
}
var CHAR_instance;
function CHAR_getInstance() {
if (CHAR_instance === VOID)
new CHAR();
return CHAR_instance;
}
var SHORT_instance;
function SHORT_getInstance() {
if (SHORT_instance === VOID)
new SHORT();
return SHORT_instance;
}
var INT_instance;
function INT_getInstance() {
if (INT_instance === VOID)
new INT();
return INT_instance;
}
var LONG_instance;
function LONG_getInstance() {
if (LONG_instance === VOID)
new LONG();
return LONG_instance;
}
var FLOAT_instance;
function FLOAT_getInstance() {
if (FLOAT_instance === VOID)
new FLOAT();
return FLOAT_instance;
}
var DOUBLE_instance;
function DOUBLE_getInstance() {
if (DOUBLE_instance === VOID)
new DOUBLE();
return DOUBLE_instance;
}
var STRING_instance;
function STRING_getInstance() {
if (STRING_instance === VOID)
new STRING();
return STRING_instance;
}
var CLASS_instance;
function CLASS_getInstance() {
if (CLASS_instance === VOID)
new CLASS();
return CLASS_instance;
}
var LIST_instance;
function LIST_getInstance() {
if (LIST_instance === VOID)
new LIST();
return LIST_instance;
}
var MAP_instance;
function MAP_getInstance() {
if (MAP_instance === VOID)
new MAP();
return MAP_instance;
}
var OBJECT_instance;
function OBJECT_getInstance() {
if (OBJECT_instance === VOID)
new OBJECT();
return OBJECT_instance;
}
var NothingSerializer_instance;
function NothingSerializer_getInstance() {
if (NothingSerializer_instance === VOID)
new NothingSerializer();
return NothingSerializer_instance;
}
var DurationSerializer_instance;
function DurationSerializer_getInstance() {
if (DurationSerializer_instance === VOID)
new DurationSerializer();
return DurationSerializer_instance;
}
var UuidSerializer_instance;
function UuidSerializer_getInstance() {
if (UuidSerializer_instance === VOID)
new UuidSerializer();
return UuidSerializer_instance;
}
function InlinePrimitiveDescriptor(name, primitiveSerializer) {
return new InlineClassDescriptor(name, new InlinePrimitiveDescriptor$1(primitiveSerializer));
}
function error($this) {
throw IllegalStateException.b6('Descriptor for type `kotlin.Nothing` does not have elements');
}
var NothingSerialDescriptor_instance;
function NothingSerialDescriptor_getInstance() {
if (NothingSerialDescriptor_instance === VOID)
new NothingSerialDescriptor();
return NothingSerialDescriptor_instance;
}
function ObjectSerializer$descriptor$delegate$lambda$lambda(this$0) {
return ($this$buildSerialDescriptor) => {
$this$buildSerialDescriptor.u1o_1 = this$0.p1s_1;
return Unit_instance;
};
}
function ObjectSerializer$descriptor$delegate$lambda($serialName, this$0) {
return () => {
var tmp = OBJECT_getInstance();
return buildSerialDescriptor($serialName, tmp, [], ObjectSerializer$descriptor$delegate$lambda$lambda(this$0));
};
}
function descriptor$factory_0() {
return getPropertyCallableRef('descriptor', 1, KProperty1, (receiver) => receiver.m1o(), null);
}
function get_EMPTY_DESCRIPTOR_ARRAY() {
_init_properties_Platform_common_kt__3qzecs();
return EMPTY_DESCRIPTOR_ARRAY;
}
var EMPTY_DESCRIPTOR_ARRAY;
function cachedSerialNames(_this__u8e3s4) {
_init_properties_Platform_common_kt__3qzecs();
if (isInterface(_this__u8e3s4, CachedNames))
return _this__u8e3s4.e1q();
var result = HashSet.e1(_this__u8e3s4.l1p());
var inductionVariable = 0;
var last = _this__u8e3s4.l1p();
if (inductionVariable < last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'kotlin.collections.plusAssign' call
var element = _this__u8e3s4.m1p(i);
result.s(element);
}
while (inductionVariable < last);
return result;
}
function compactArray(_this__u8e3s4) {
_init_properties_Platform_common_kt__3qzecs();
// Inline function 'kotlin.takeUnless' call
var tmp;
// Inline function 'kotlinx.serialization.internal.compactArray.<anonymous>' call
// Inline function 'kotlin.collections.isNullOrEmpty' call
if (!(_this__u8e3s4 == null || _this__u8e3s4.f1())) {
tmp = _this__u8e3s4;
} else {
tmp = null;
}
var tmp0_safe_receiver = tmp;
var tmp_0;
if (tmp0_safe_receiver == null) {
tmp_0 = null;
} else {
// Inline function 'kotlin.collections.toTypedArray' call
tmp_0 = copyToArray(tmp0_safe_receiver);
}
var tmp1_elvis_lhs = tmp_0;
return tmp1_elvis_lhs == null ? get_EMPTY_DESCRIPTOR_ARRAY() : tmp1_elvis_lhs;
}
var properties_initialized_Platform_common_kt_i7q4ty;
function _init_properties_Platform_common_kt__3qzecs() {
if (!properties_initialized_Platform_common_kt_i7q4ty) {
properties_initialized_Platform_common_kt_i7q4ty = true;
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
EMPTY_DESCRIPTOR_ARRAY = [];
}
}
function hashCodeImpl(_this__u8e3s4, typeParams) {
var result = getStringHashCode(_this__u8e3s4.e1p());
result = imul(31, result) + contentHashCode(typeParams) | 0;
var elementDescriptors = get_elementDescriptors(_this__u8e3s4);
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
// Inline function 'kotlin.collections.fold' call
var accumulator = 1;
var _iterator__ex2g4s = elementDescriptors.y();
while (_iterator__ex2g4s.z()) {
var element = _iterator__ex2g4s.a1();
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
var hash = accumulator;
var tmp = imul(31, hash);
// Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
// Inline function 'kotlin.hashCode' call
var tmp0_safe_receiver = element.e1p();
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
}
var namesHash = accumulator;
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
// Inline function 'kotlin.collections.fold' call
var accumulator_0 = 1;
var _iterator__ex2g4s_0 = elementDescriptors.y();
while (_iterator__ex2g4s_0.z()) {
var element_0 = _iterator__ex2g4s_0.a1();
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
var hash_0 = accumulator_0;
var tmp_0 = imul(31, hash_0);
// Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
// Inline function 'kotlin.hashCode' call
var tmp0_safe_receiver_0 = element_0.k1p();
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
accumulator_0 = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
}
var kindHash = accumulator_0;
result = imul(31, result) + namesHash | 0;
result = imul(31, result) + kindHash | 0;
return result;
}
function _get_childSerializers__7vnyfa($this) {
var tmp0 = $this.z1r_1;
// Inline function 'kotlin.getValue' call
childSerializers$factory();
return tmp0.z2();
}
function _get__hashCode__tgwhef_0($this) {
var tmp0 = $this.b1s_1;
// Inline function 'kotlin.getValue' call
_hashCode$factory_0();
return tmp0.z2();
}
function buildIndices($this) {
var indices = HashMap.p9();
var inductionVariable = 0;
var last = $this.u1r_1.length - 1 | 0;
if (inductionVariable <= last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'kotlin.collections.set' call
va